apiclient

package
v0.7.9-dev.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 8, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Package apiclient provides primitives to interact with the openapi HTTP API.

Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.8.1 DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAcceptInvitationRequest

func NewAcceptInvitationRequest(server string, token string) (*http.Request, error)

NewAcceptInvitationRequest constructs an http.Request for the AcceptInvitation method

func NewAddSshKeyRequest

func NewAddSshKeyRequest(server string, body AddSshKeyJSONRequestBody) (*http.Request, error)

NewAddSshKeyRequest calls the generic AddSshKey builder with application/json body

func NewAddSshKeyRequestWithBody

func NewAddSshKeyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewAddSshKeyRequestWithBody constructs an http.Request for the AddSshKey method, with any body, and a specified content type

func NewAddTeamMemberRequest

func NewAddTeamMemberRequest(server string, org OrgHandle, team TeamSlug, handle Handle) (*http.Request, error)

NewAddTeamMemberRequest constructs an http.Request for the AddTeamMember method

func NewApproveOrgMemberRequest

func NewApproveOrgMemberRequest(server string, org OrgHandle, handle Handle, body ApproveOrgMemberJSONRequestBody) (*http.Request, error)

NewApproveOrgMemberRequest calls the generic ApproveOrgMember builder with application/json body

func NewApproveOrgMemberRequestWithBody

func NewApproveOrgMemberRequestWithBody(server string, org OrgHandle, handle Handle, contentType string, body io.Reader) (*http.Request, error)

NewApproveOrgMemberRequestWithBody constructs an http.Request for the ApproveOrgMember method, with any body, and a specified content type

func NewCheckDraftRequest

func NewCheckDraftRequest(server string, body CheckDraftJSONRequestBody) (*http.Request, error)

NewCheckDraftRequest calls the generic CheckDraft builder with application/json body

func NewCheckDraftRequestWithBody

func NewCheckDraftRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewCheckDraftRequestWithBody constructs an http.Request for the CheckDraft method, with any body, and a specified content type

func NewClearCurrentUserDataRequest

func NewClearCurrentUserDataRequest(server string) (*http.Request, error)

NewClearCurrentUserDataRequest constructs an http.Request for the ClearCurrentUserData method

func NewClearTrustedDevicesRequest

func NewClearTrustedDevicesRequest(server string) (*http.Request, error)

NewClearTrustedDevicesRequest constructs an http.Request for the ClearTrustedDevices method

func NewCountTrustedDevicesRequest

func NewCountTrustedDevicesRequest(server string) (*http.Request, error)

NewCountTrustedDevicesRequest constructs an http.Request for the CountTrustedDevices method

func NewCreateAgentRequest

func NewCreateAgentRequest(server string, body CreateAgentJSONRequestBody) (*http.Request, error)

NewCreateAgentRequest calls the generic CreateAgent builder with application/json body

func NewCreateAgentRequestWithBody

func NewCreateAgentRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewCreateAgentRequestWithBody constructs an http.Request for the CreateAgent method, with any body, and a specified content type

func NewCreateAuditExportRequest

func NewCreateAuditExportRequest(server string, org OrgHandle, body CreateAuditExportJSONRequestBody) (*http.Request, error)

NewCreateAuditExportRequest calls the generic CreateAuditExport builder with application/json body

func NewCreateAuditExportRequestWithBody

func NewCreateAuditExportRequestWithBody(server string, org OrgHandle, contentType string, body io.Reader) (*http.Request, error)

NewCreateAuditExportRequestWithBody constructs an http.Request for the CreateAuditExport method, with any body, and a specified content type

func NewCreateDesktopGrantRequest

func NewCreateDesktopGrantRequest(server string, body CreateDesktopGrantJSONRequestBody) (*http.Request, error)

NewCreateDesktopGrantRequest calls the generic CreateDesktopGrant builder with application/json body

func NewCreateDesktopGrantRequestWithBody

func NewCreateDesktopGrantRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewCreateDesktopGrantRequestWithBody constructs an http.Request for the CreateDesktopGrant method, with any body, and a specified content type

func NewCreateDomainClaimRequest

func NewCreateDomainClaimRequest(server string, org OrgHandle, body CreateDomainClaimJSONRequestBody) (*http.Request, error)

NewCreateDomainClaimRequest calls the generic CreateDomainClaim builder with application/json body

func NewCreateDomainClaimRequestWithBody

func NewCreateDomainClaimRequestWithBody(server string, org OrgHandle, contentType string, body io.Reader) (*http.Request, error)

NewCreateDomainClaimRequestWithBody constructs an http.Request for the CreateDomainClaim method, with any body, and a specified content type

func NewCreateInvitationRequest

func NewCreateInvitationRequest(server string, org OrgHandle, body CreateInvitationJSONRequestBody) (*http.Request, error)

NewCreateInvitationRequest calls the generic CreateInvitation builder with application/json body

func NewCreateInvitationRequestWithBody

func NewCreateInvitationRequestWithBody(server string, org OrgHandle, contentType string, body io.Reader) (*http.Request, error)

NewCreateInvitationRequestWithBody constructs an http.Request for the CreateInvitation method, with any body, and a specified content type

func NewCreateKnowledgePackRequest

func NewCreateKnowledgePackRequest(server string, body CreateKnowledgePackJSONRequestBody) (*http.Request, error)

NewCreateKnowledgePackRequest calls the generic CreateKnowledgePack builder with application/json body

func NewCreateKnowledgePackRequestWithBody

func NewCreateKnowledgePackRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewCreateKnowledgePackRequestWithBody constructs an http.Request for the CreateKnowledgePack method, with any body, and a specified content type

func NewCreateOrgKnowledgePackRequest

func NewCreateOrgKnowledgePackRequest(server string, org OrgHandle, body CreateOrgKnowledgePackJSONRequestBody) (*http.Request, error)

NewCreateOrgKnowledgePackRequest calls the generic CreateOrgKnowledgePack builder with application/json body

func NewCreateOrgKnowledgePackRequestWithBody

func NewCreateOrgKnowledgePackRequestWithBody(server string, org OrgHandle, contentType string, body io.Reader) (*http.Request, error)

NewCreateOrgKnowledgePackRequestWithBody constructs an http.Request for the CreateOrgKnowledgePack method, with any body, and a specified content type

func NewCreateOrgReportDesignRequest added in v0.7.5

func NewCreateOrgReportDesignRequest(server string, org OrgHandle, params *CreateOrgReportDesignParams, body CreateOrgReportDesignJSONRequestBody) (*http.Request, error)

NewCreateOrgReportDesignRequest calls the generic CreateOrgReportDesign builder with application/json body

func NewCreateOrgReportDesignRequestWithBody added in v0.7.5

func NewCreateOrgReportDesignRequestWithBody(server string, org OrgHandle, params *CreateOrgReportDesignParams, contentType string, body io.Reader) (*http.Request, error)

NewCreateOrgReportDesignRequestWithBody constructs an http.Request for the CreateOrgReportDesign method, with any body, and a specified content type

func NewCreateOrgRequest

func NewCreateOrgRequest(server string, body CreateOrgJSONRequestBody) (*http.Request, error)

NewCreateOrgRequest calls the generic CreateOrg builder with application/json body

func NewCreateOrgRequestWithBody

func NewCreateOrgRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewCreateOrgRequestWithBody constructs an http.Request for the CreateOrg method, with any body, and a specified content type

func NewCreateRulesetReleaseRequest

func NewCreateRulesetReleaseRequest(server string, body CreateRulesetReleaseJSONRequestBody) (*http.Request, error)

NewCreateRulesetReleaseRequest calls the generic CreateRulesetRelease builder with application/json body

func NewCreateRulesetReleaseRequestWithBody

func NewCreateRulesetReleaseRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewCreateRulesetReleaseRequestWithBody constructs an http.Request for the CreateRulesetRelease method, with any body, and a specified content type

func NewCreateTeamRequest

func NewCreateTeamRequest(server string, org OrgHandle, body CreateTeamJSONRequestBody) (*http.Request, error)

NewCreateTeamRequest calls the generic CreateTeam builder with application/json body

func NewCreateTeamRequestWithBody

func NewCreateTeamRequestWithBody(server string, org OrgHandle, contentType string, body io.Reader) (*http.Request, error)

NewCreateTeamRequestWithBody constructs an http.Request for the CreateTeam method, with any body, and a specified content type

func NewCreateTokenRequest

func NewCreateTokenRequest(server string, body CreateTokenJSONRequestBody) (*http.Request, error)

NewCreateTokenRequest calls the generic CreateToken builder with application/json body

func NewCreateTokenRequestWithBody

func NewCreateTokenRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewCreateTokenRequestWithBody constructs an http.Request for the CreateToken method, with any body, and a specified content type

func NewCreateUserReportDesignRequest added in v0.7.4

func NewCreateUserReportDesignRequest(server string, params *CreateUserReportDesignParams, body CreateUserReportDesignJSONRequestBody) (*http.Request, error)

NewCreateUserReportDesignRequest calls the generic CreateUserReportDesign builder with application/json body

func NewCreateUserReportDesignRequestWithBody added in v0.7.4

func NewCreateUserReportDesignRequestWithBody(server string, params *CreateUserReportDesignParams, contentType string, body io.Reader) (*http.Request, error)

NewCreateUserReportDesignRequestWithBody constructs an http.Request for the CreateUserReportDesign method, with any body, and a specified content type

func NewCreateWebhookRequest

func NewCreateWebhookRequest(server string, org OrgHandle, body CreateWebhookJSONRequestBody) (*http.Request, error)

NewCreateWebhookRequest calls the generic CreateWebhook builder with application/json body

func NewCreateWebhookRequestWithBody

func NewCreateWebhookRequestWithBody(server string, org OrgHandle, contentType string, body io.Reader) (*http.Request, error)

NewCreateWebhookRequestWithBody constructs an http.Request for the CreateWebhook method, with any body, and a specified content type

func NewDecideReviewItemRequest

func NewDecideReviewItemRequest(server string, id openapi_types.UUID, body DecideReviewItemJSONRequestBody) (*http.Request, error)

NewDecideReviewItemRequest calls the generic DecideReviewItem builder with application/json body

func NewDecideReviewItemRequestWithBody

func NewDecideReviewItemRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)

NewDecideReviewItemRequestWithBody constructs an http.Request for the DecideReviewItem method, with any body, and a specified content type

func NewDeclineOrgMemberRequest

func NewDeclineOrgMemberRequest(server string, org OrgHandle, handle Handle) (*http.Request, error)

NewDeclineOrgMemberRequest constructs an http.Request for the DeclineOrgMember method

func NewDecommissionOrgRequest

func NewDecommissionOrgRequest(server string, org OrgHandle, body DecommissionOrgJSONRequestBody) (*http.Request, error)

NewDecommissionOrgRequest calls the generic DecommissionOrg builder with application/json body

func NewDecommissionOrgRequestWithBody

func NewDecommissionOrgRequestWithBody(server string, org OrgHandle, contentType string, body io.Reader) (*http.Request, error)

NewDecommissionOrgRequestWithBody constructs an http.Request for the DecommissionOrg method, with any body, and a specified content type

func NewDeleteAccountInstallRequest

func NewDeleteAccountInstallRequest(server string, ns Namespace, name AgentName) (*http.Request, error)

NewDeleteAccountInstallRequest constructs an http.Request for the DeleteAccountInstall method

func NewDeleteAgentRequest

func NewDeleteAgentRequest(server string, ns Namespace, name AgentName, params *DeleteAgentParams) (*http.Request, error)

NewDeleteAgentRequest constructs an http.Request for the DeleteAgent method

func NewDeleteCurrentUserRequest

func NewDeleteCurrentUserRequest(server string, params *DeleteCurrentUserParams) (*http.Request, error)

NewDeleteCurrentUserRequest constructs an http.Request for the DeleteCurrentUser method

func NewDeleteKnowledgePackRequest

func NewDeleteKnowledgePackRequest(server string, packId KnowledgePackId) (*http.Request, error)

NewDeleteKnowledgePackRequest constructs an http.Request for the DeleteKnowledgePack method

func NewDeleteOrgKnowledgePackRequest

func NewDeleteOrgKnowledgePackRequest(server string, org OrgHandle, packId KnowledgePackId) (*http.Request, error)

NewDeleteOrgKnowledgePackRequest constructs an http.Request for the DeleteOrgKnowledgePack method

func NewDeleteOrgLogoRequest

func NewDeleteOrgLogoRequest(server string, org OrgHandle) (*http.Request, error)

NewDeleteOrgLogoRequest constructs an http.Request for the DeleteOrgLogo method

func NewDeleteOrgReportDesignCoverImageRequest added in v0.7.5

func NewDeleteOrgReportDesignCoverImageRequest(server string, org OrgHandle, designId ReportDesignId) (*http.Request, error)

NewDeleteOrgReportDesignCoverImageRequest constructs an http.Request for the DeleteOrgReportDesignCoverImage method

func NewDeleteOrgReportDesignCustomCoverRequest added in v0.7.5

func NewDeleteOrgReportDesignCustomCoverRequest(server string, org OrgHandle, designId ReportDesignId) (*http.Request, error)

NewDeleteOrgReportDesignCustomCoverRequest constructs an http.Request for the DeleteOrgReportDesignCustomCover method

func NewDeleteOrgReportDesignLogoRequest added in v0.7.5

func NewDeleteOrgReportDesignLogoRequest(server string, org OrgHandle, designId ReportDesignId) (*http.Request, error)

NewDeleteOrgReportDesignLogoRequest constructs an http.Request for the DeleteOrgReportDesignLogo method

func NewDeleteOrgReportDesignRequest added in v0.7.5

func NewDeleteOrgReportDesignRequest(server string, org OrgHandle, designId ReportDesignId) (*http.Request, error)

NewDeleteOrgReportDesignRequest constructs an http.Request for the DeleteOrgReportDesign method

func NewDeleteTeamRequest

func NewDeleteTeamRequest(server string, org OrgHandle, team TeamSlug) (*http.Request, error)

NewDeleteTeamRequest constructs an http.Request for the DeleteTeam method

func NewDeleteUserReportDesignCoverImageRequest added in v0.7.4

func NewDeleteUserReportDesignCoverImageRequest(server string, designId ReportDesignId) (*http.Request, error)

NewDeleteUserReportDesignCoverImageRequest constructs an http.Request for the DeleteUserReportDesignCoverImage method

func NewDeleteUserReportDesignCustomCoverRequest added in v0.7.4

func NewDeleteUserReportDesignCustomCoverRequest(server string, designId ReportDesignId) (*http.Request, error)

NewDeleteUserReportDesignCustomCoverRequest constructs an http.Request for the DeleteUserReportDesignCustomCover method

func NewDeleteUserReportDesignLogoRequest added in v0.7.4

func NewDeleteUserReportDesignLogoRequest(server string, designId ReportDesignId) (*http.Request, error)

NewDeleteUserReportDesignLogoRequest constructs an http.Request for the DeleteUserReportDesignLogo method

func NewDeleteUserReportDesignRequest added in v0.7.4

func NewDeleteUserReportDesignRequest(server string, designId ReportDesignId) (*http.Request, error)

NewDeleteUserReportDesignRequest constructs an http.Request for the DeleteUserReportDesign method

func NewDeleteVoiceRequest

func NewDeleteVoiceRequest(server string) (*http.Request, error)

NewDeleteVoiceRequest constructs an http.Request for the DeleteVoice method

func NewDeleteWebhookRequest

func NewDeleteWebhookRequest(server string, org OrgHandle, id WebhookID) (*http.Request, error)

NewDeleteWebhookRequest constructs an http.Request for the DeleteWebhook method

func NewDiscardVoicePendingRequest

func NewDiscardVoicePendingRequest(server string) (*http.Request, error)

NewDiscardVoicePendingRequest constructs an http.Request for the DiscardVoicePending method

func NewDownloadKnowledgeTreeRequest

func NewDownloadKnowledgeTreeRequest(server string, packId KnowledgePackId) (*http.Request, error)

NewDownloadKnowledgeTreeRequest constructs an http.Request for the DownloadKnowledgeTree method

func NewDownloadOrgKnowledgeTreeRequest

func NewDownloadOrgKnowledgeTreeRequest(server string, org OrgHandle, packId KnowledgePackId) (*http.Request, error)

NewDownloadOrgKnowledgeTreeRequest constructs an http.Request for the DownloadOrgKnowledgeTree method

func NewDownloadVersionRequest

func NewDownloadVersionRequest(server string, ns Namespace, name AgentName, version VersionString) (*http.Request, error)

NewDownloadVersionRequest constructs an http.Request for the DownloadVersion method

func NewExchangeDesktopCodeRequest

func NewExchangeDesktopCodeRequest(server string, body ExchangeDesktopCodeJSONRequestBody) (*http.Request, error)

NewExchangeDesktopCodeRequest calls the generic ExchangeDesktopCode builder with application/json body

func NewExchangeDesktopCodeRequestWithBody

func NewExchangeDesktopCodeRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewExchangeDesktopCodeRequestWithBody constructs an http.Request for the ExchangeDesktopCode method, with any body, and a specified content type

func NewExportKnowledgePackRequest

func NewExportKnowledgePackRequest(server string, packId KnowledgePackId) (*http.Request, error)

NewExportKnowledgePackRequest constructs an http.Request for the ExportKnowledgePack method

func NewExportOrgKnowledgePackRequest

func NewExportOrgKnowledgePackRequest(server string, org OrgHandle, packId KnowledgePackId) (*http.Request, error)

NewExportOrgKnowledgePackRequest constructs an http.Request for the ExportOrgKnowledgePack method

func NewForkAgentRequest

func NewForkAgentRequest(server string, ns Namespace, name AgentName, body ForkAgentJSONRequestBody) (*http.Request, error)

NewForkAgentRequest calls the generic ForkAgent builder with application/json body

func NewForkAgentRequestWithBody

func NewForkAgentRequestWithBody(server string, ns Namespace, name AgentName, contentType string, body io.Reader) (*http.Request, error)

NewForkAgentRequestWithBody constructs an http.Request for the ForkAgent method, with any body, and a specified content type

func NewGetAdvisoryRequest

func NewGetAdvisoryRequest(server string, advisoryId openapi_types.UUID) (*http.Request, error)

NewGetAdvisoryRequest constructs an http.Request for the GetAdvisory method

func NewGetAgentReadmeRequest

func NewGetAgentReadmeRequest(server string, ns Namespace, name AgentName, params *GetAgentReadmeParams) (*http.Request, error)

NewGetAgentReadmeRequest constructs an http.Request for the GetAgentReadme method

func NewGetAgentRequest

func NewGetAgentRequest(server string, ns Namespace, name AgentName) (*http.Request, error)

NewGetAgentRequest constructs an http.Request for the GetAgent method

func NewGetAgentStatsRequest

func NewGetAgentStatsRequest(server string, ns Namespace, name AgentName) (*http.Request, error)

NewGetAgentStatsRequest constructs an http.Request for the GetAgentStats method

func NewGetAuditExportRequest

func NewGetAuditExportRequest(server string, org OrgHandle, id openapi_types.UUID) (*http.Request, error)

NewGetAuditExportRequest constructs an http.Request for the GetAuditExport method

func NewGetConnectorsRequest

func NewGetConnectorsRequest(server string) (*http.Request, error)

NewGetConnectorsRequest constructs an http.Request for the GetConnectors method

func NewGetCurrentUserRequest

func NewGetCurrentUserRequest(server string) (*http.Request, error)

NewGetCurrentUserRequest constructs an http.Request for the GetCurrentUser method

func NewGetDesktopAppsRequest added in v0.7.7

func NewGetDesktopAppsRequest(server string) (*http.Request, error)

NewGetDesktopAppsRequest constructs an http.Request for the GetDesktopApps method

func NewGetDomainOrgRequest

func NewGetDomainOrgRequest(server string) (*http.Request, error)

NewGetDomainOrgRequest constructs an http.Request for the GetDomainOrg method

func NewGetInvitationRequest

func NewGetInvitationRequest(server string, token string) (*http.Request, error)

NewGetInvitationRequest constructs an http.Request for the GetInvitation method

func NewGetKnowledgePackRequest

func NewGetKnowledgePackRequest(server string, packId KnowledgePackId) (*http.Request, error)

NewGetKnowledgePackRequest constructs an http.Request for the GetKnowledgePack method

func NewGetKnowledgeUsageRequest

func NewGetKnowledgeUsageRequest(server string) (*http.Request, error)

NewGetKnowledgeUsageRequest constructs an http.Request for the GetKnowledgeUsage method

func NewGetLatestRulesetAttestationRequest

func NewGetLatestRulesetAttestationRequest(server string) (*http.Request, error)

NewGetLatestRulesetAttestationRequest constructs an http.Request for the GetLatestRulesetAttestation method

func NewGetLatestRulesetBundleRequest

func NewGetLatestRulesetBundleRequest(server string) (*http.Request, error)

NewGetLatestRulesetBundleRequest constructs an http.Request for the GetLatestRulesetBundle method

func NewGetMcpServerScanRequest

func NewGetMcpServerScanRequest(server string, params *GetMcpServerScanParams) (*http.Request, error)

NewGetMcpServerScanRequest constructs an http.Request for the GetMcpServerScan method

func NewGetMetaRequest

func NewGetMetaRequest(server string) (*http.Request, error)

NewGetMetaRequest constructs an http.Request for the GetMeta method

func NewGetOrgKnowledgePackRequest

func NewGetOrgKnowledgePackRequest(server string, org OrgHandle, packId KnowledgePackId) (*http.Request, error)

NewGetOrgKnowledgePackRequest constructs an http.Request for the GetOrgKnowledgePack method

func NewGetOrgKnowledgeUsageRequest

func NewGetOrgKnowledgeUsageRequest(server string, org OrgHandle) (*http.Request, error)

NewGetOrgKnowledgeUsageRequest constructs an http.Request for the GetOrgKnowledgeUsage method

func NewGetOrgLogoRequest

func NewGetOrgLogoRequest(server string, org OrgHandle) (*http.Request, error)

NewGetOrgLogoRequest constructs an http.Request for the GetOrgLogo method

func NewGetOrgPolicyRequest

func NewGetOrgPolicyRequest(server string, org OrgHandle) (*http.Request, error)

NewGetOrgPolicyRequest constructs an http.Request for the GetOrgPolicy method

func NewGetOrgReportDesignRequest added in v0.7.5

func NewGetOrgReportDesignRequest(server string, org OrgHandle, designId ReportDesignId, params *GetOrgReportDesignParams) (*http.Request, error)

NewGetOrgReportDesignRequest constructs an http.Request for the GetOrgReportDesign method

func NewGetOrgRequest

func NewGetOrgRequest(server string, org OrgHandle) (*http.Request, error)

NewGetOrgRequest constructs an http.Request for the GetOrg method

func NewGetPlatformPolicyRequest

func NewGetPlatformPolicyRequest(server string) (*http.Request, error)

NewGetPlatformPolicyRequest constructs an http.Request for the GetPlatformPolicy method

func NewGetReviewFileRequest

func NewGetReviewFileRequest(server string, id openapi_types.UUID, params *GetReviewFileParams) (*http.Request, error)

NewGetReviewFileRequest constructs an http.Request for the GetReviewFile method

func NewGetReviewItemRequest

func NewGetReviewItemRequest(server string, id openapi_types.UUID) (*http.Request, error)

NewGetReviewItemRequest constructs an http.Request for the GetReviewItem method

func NewGetUserManagedSettingsRequest added in v0.7.9

func NewGetUserManagedSettingsRequest(server string) (*http.Request, error)

NewGetUserManagedSettingsRequest constructs an http.Request for the GetUserManagedSettings method

func NewGetUserNotificationSettingsRequest

func NewGetUserNotificationSettingsRequest(server string) (*http.Request, error)

NewGetUserNotificationSettingsRequest constructs an http.Request for the GetUserNotificationSettings method

func NewGetUserProfileRequest

func NewGetUserProfileRequest(server string, handle Handle) (*http.Request, error)

NewGetUserProfileRequest constructs an http.Request for the GetUserProfile method

func NewGetUserReportDesignRequest added in v0.7.4

func NewGetUserReportDesignRequest(server string, designId ReportDesignId, params *GetUserReportDesignParams) (*http.Request, error)

NewGetUserReportDesignRequest constructs an http.Request for the GetUserReportDesign method

func NewGetVersionAttestationRequest

func NewGetVersionAttestationRequest(server string, ns Namespace, name AgentName, version VersionString) (*http.Request, error)

NewGetVersionAttestationRequest constructs an http.Request for the GetVersionAttestation method

func NewGetVersionFileRequest

func NewGetVersionFileRequest(server string, ns Namespace, name AgentName, version VersionString, params *GetVersionFileParams) (*http.Request, error)

NewGetVersionFileRequest constructs an http.Request for the GetVersionFile method

func NewGetVersionInfoRequest

func NewGetVersionInfoRequest(server string, ns Namespace, name AgentName, version VersionString) (*http.Request, error)

NewGetVersionInfoRequest constructs an http.Request for the GetVersionInfo method

func NewGetVersionManifestRequest

func NewGetVersionManifestRequest(server string, ns Namespace, name AgentName, version VersionString) (*http.Request, error)

NewGetVersionManifestRequest constructs an http.Request for the GetVersionManifest method

func NewGetVersionReportRequest

func NewGetVersionReportRequest(server string, ns Namespace, name AgentName, version VersionString) (*http.Request, error)

NewGetVersionReportRequest constructs an http.Request for the GetVersionReport method

func NewGetVoiceRequest

func NewGetVoiceRequest(server string) (*http.Request, error)

NewGetVoiceRequest constructs an http.Request for the GetVoice method

func NewGetWebhookRequest

func NewGetWebhookRequest(server string, org OrgHandle, id WebhookID) (*http.Request, error)

NewGetWebhookRequest constructs an http.Request for the GetWebhook method

func NewListAbuseReportsRequest

func NewListAbuseReportsRequest(server string, params *ListAbuseReportsParams) (*http.Request, error)

NewListAbuseReportsRequest constructs an http.Request for the ListAbuseReports method

func NewListAccountInstallsRequest

func NewListAccountInstallsRequest(server string) (*http.Request, error)

NewListAccountInstallsRequest constructs an http.Request for the ListAccountInstalls method

func NewListAdvisoriesRequest

func NewListAdvisoriesRequest(server string, params *ListAdvisoriesParams) (*http.Request, error)

NewListAdvisoriesRequest constructs an http.Request for the ListAdvisories method

func NewListAgentActivityRequest

func NewListAgentActivityRequest(server string, ns Namespace, name AgentName, params *ListAgentActivityParams) (*http.Request, error)

NewListAgentActivityRequest constructs an http.Request for the ListAgentActivity method

func NewListAgentGrantsRequest

func NewListAgentGrantsRequest(server string, ns Namespace, name AgentName) (*http.Request, error)

NewListAgentGrantsRequest constructs an http.Request for the ListAgentGrants method

func NewListAgentsByTagRequest

func NewListAgentsByTagRequest(server string, tag string, params *ListAgentsByTagParams) (*http.Request, error)

NewListAgentsByTagRequest constructs an http.Request for the ListAgentsByTag method

func NewListAgentsRequest

func NewListAgentsRequest(server string, params *ListAgentsParams) (*http.Request, error)

NewListAgentsRequest constructs an http.Request for the ListAgents method

func NewListDomainClaimsRequest

func NewListDomainClaimsRequest(server string, org OrgHandle) (*http.Request, error)

NewListDomainClaimsRequest constructs an http.Request for the ListDomainClaims method

func NewListInvitationsRequest

func NewListInvitationsRequest(server string, org OrgHandle) (*http.Request, error)

NewListInvitationsRequest constructs an http.Request for the ListInvitations method

func NewListKnowledgePackSizesRequest

func NewListKnowledgePackSizesRequest(server string, params *ListKnowledgePackSizesParams) (*http.Request, error)

NewListKnowledgePackSizesRequest constructs an http.Request for the ListKnowledgePackSizes method

func NewListKnowledgePacksRequest

func NewListKnowledgePacksRequest(server string) (*http.Request, error)

NewListKnowledgePacksRequest constructs an http.Request for the ListKnowledgePacks method

func NewListOrgAuditRequest

func NewListOrgAuditRequest(server string, org OrgHandle, params *ListOrgAuditParams) (*http.Request, error)

NewListOrgAuditRequest constructs an http.Request for the ListOrgAudit method

func NewListOrgKnowledgePacksRequest

func NewListOrgKnowledgePacksRequest(server string, org OrgHandle) (*http.Request, error)

NewListOrgKnowledgePacksRequest constructs an http.Request for the ListOrgKnowledgePacks method

func NewListOrgMembersRequest

func NewListOrgMembersRequest(server string, org OrgHandle) (*http.Request, error)

NewListOrgMembersRequest constructs an http.Request for the ListOrgMembers method

func NewListOrgReportDesignsRequest added in v0.7.5

func NewListOrgReportDesignsRequest(server string, org OrgHandle) (*http.Request, error)

NewListOrgReportDesignsRequest constructs an http.Request for the ListOrgReportDesigns method

func NewListPlatformAuditRequest

func NewListPlatformAuditRequest(server string, params *ListPlatformAuditParams) (*http.Request, error)

NewListPlatformAuditRequest constructs an http.Request for the ListPlatformAudit method

func NewListRedTeamReportsRequest

func NewListRedTeamReportsRequest(server string, params *ListRedTeamReportsParams) (*http.Request, error)

NewListRedTeamReportsRequest constructs an http.Request for the ListRedTeamReports method

func NewListReviewFilesRequest

func NewListReviewFilesRequest(server string, id openapi_types.UUID) (*http.Request, error)

NewListReviewFilesRequest constructs an http.Request for the ListReviewFiles method

func NewListReviewQueueRequest

func NewListReviewQueueRequest(server string, params *ListReviewQueueParams) (*http.Request, error)

NewListReviewQueueRequest constructs an http.Request for the ListReviewQueue method

func NewListRulesetReleasesRequest

func NewListRulesetReleasesRequest(server string) (*http.Request, error)

NewListRulesetReleasesRequest constructs an http.Request for the ListRulesetReleases method

func NewListSshKeysRequest

func NewListSshKeysRequest(server string) (*http.Request, error)

NewListSshKeysRequest constructs an http.Request for the ListSshKeys method

func NewListTeamMembersRequest

func NewListTeamMembersRequest(server string, org OrgHandle, team TeamSlug) (*http.Request, error)

NewListTeamMembersRequest constructs an http.Request for the ListTeamMembers method

func NewListTeamsRequest

func NewListTeamsRequest(server string, org OrgHandle) (*http.Request, error)

NewListTeamsRequest constructs an http.Request for the ListTeams method

func NewListTokensRequest

func NewListTokensRequest(server string) (*http.Request, error)

NewListTokensRequest constructs an http.Request for the ListTokens method

func NewListUserActivityRequest

func NewListUserActivityRequest(server string, params *ListUserActivityParams) (*http.Request, error)

NewListUserActivityRequest constructs an http.Request for the ListUserActivity method

func NewListUserDependencyAlertsRequest

func NewListUserDependencyAlertsRequest(server string) (*http.Request, error)

NewListUserDependencyAlertsRequest constructs an http.Request for the ListUserDependencyAlerts method

func NewListUserReportDesignsRequest added in v0.7.4

func NewListUserReportDesignsRequest(server string) (*http.Request, error)

NewListUserReportDesignsRequest constructs an http.Request for the ListUserReportDesigns method

func NewListUserSessionsRequest

func NewListUserSessionsRequest(server string) (*http.Request, error)

NewListUserSessionsRequest constructs an http.Request for the ListUserSessions method

func NewListVersionFilesRequest

func NewListVersionFilesRequest(server string, ns Namespace, name AgentName, version VersionString) (*http.Request, error)

NewListVersionFilesRequest constructs an http.Request for the ListVersionFiles method

func NewListVersionsRequest

func NewListVersionsRequest(server string, ns Namespace, name AgentName) (*http.Request, error)

NewListVersionsRequest constructs an http.Request for the ListVersions method

func NewListWebhookDeliveriesRequest

func NewListWebhookDeliveriesRequest(server string, org OrgHandle, id WebhookID, params *ListWebhookDeliveriesParams) (*http.Request, error)

NewListWebhookDeliveriesRequest constructs an http.Request for the ListWebhookDeliveries method

func NewListWebhooksRequest

func NewListWebhooksRequest(server string, org OrgHandle) (*http.Request, error)

NewListWebhooksRequest constructs an http.Request for the ListWebhooks method

func NewLogoutRequest

func NewLogoutRequest(server string) (*http.Request, error)

NewLogoutRequest constructs an http.Request for the Logout method

func NewPingWebhookRequest

func NewPingWebhookRequest(server string, org OrgHandle, id WebhookID) (*http.Request, error)

NewPingWebhookRequest constructs an http.Request for the PingWebhook method

func NewPlatformAgentActionRequest

func NewPlatformAgentActionRequest(server string, ns Namespace, name AgentName, action PlatformAgentActionParamsAction, body PlatformAgentActionJSONRequestBody) (*http.Request, error)

NewPlatformAgentActionRequest calls the generic PlatformAgentAction builder with application/json body

func NewPlatformAgentActionRequestWithBody

func NewPlatformAgentActionRequestWithBody(server string, ns Namespace, name AgentName, action PlatformAgentActionParamsAction, contentType string, body io.Reader) (*http.Request, error)

NewPlatformAgentActionRequestWithBody constructs an http.Request for the PlatformAgentAction method, with any body, and a specified content type

func NewPutAccountInstallRequest

func NewPutAccountInstallRequest(server string, ns Namespace, name AgentName, body PutAccountInstallJSONRequestBody) (*http.Request, error)

NewPutAccountInstallRequest calls the generic PutAccountInstall builder with application/json body

func NewPutAccountInstallRequestWithBody

func NewPutAccountInstallRequestWithBody(server string, ns Namespace, name AgentName, contentType string, body io.Reader) (*http.Request, error)

NewPutAccountInstallRequestWithBody constructs an http.Request for the PutAccountInstall method, with any body, and a specified content type

func NewPutOrgLogoRequestWithBody

func NewPutOrgLogoRequestWithBody(server string, org OrgHandle, contentType string, body io.Reader) (*http.Request, error)

NewPutOrgLogoRequestWithBody constructs an http.Request for the PutOrgLogo method, with any body, and a specified content type

func NewPutOrgReportDesignCoverImageRequestWithBody added in v0.7.5

func NewPutOrgReportDesignCoverImageRequestWithBody(server string, org OrgHandle, designId ReportDesignId, contentType string, body io.Reader) (*http.Request, error)

NewPutOrgReportDesignCoverImageRequestWithBody constructs an http.Request for the PutOrgReportDesignCoverImage method, with any body, and a specified content type

func NewPutOrgReportDesignCustomCoverRequest added in v0.7.5

func NewPutOrgReportDesignCustomCoverRequest(server string, org OrgHandle, designId ReportDesignId, body PutOrgReportDesignCustomCoverJSONRequestBody) (*http.Request, error)

NewPutOrgReportDesignCustomCoverRequest calls the generic PutOrgReportDesignCustomCover builder with application/json body

func NewPutOrgReportDesignCustomCoverRequestWithBody added in v0.7.5

func NewPutOrgReportDesignCustomCoverRequestWithBody(server string, org OrgHandle, designId ReportDesignId, contentType string, body io.Reader) (*http.Request, error)

NewPutOrgReportDesignCustomCoverRequestWithBody constructs an http.Request for the PutOrgReportDesignCustomCover method, with any body, and a specified content type

func NewPutOrgReportDesignLogoRequestWithBody added in v0.7.5

func NewPutOrgReportDesignLogoRequestWithBody(server string, org OrgHandle, designId ReportDesignId, contentType string, body io.Reader) (*http.Request, error)

NewPutOrgReportDesignLogoRequestWithBody constructs an http.Request for the PutOrgReportDesignLogo method, with any body, and a specified content type

func NewPutUserReportDesignCoverImageRequestWithBody added in v0.7.4

func NewPutUserReportDesignCoverImageRequestWithBody(server string, designId ReportDesignId, contentType string, body io.Reader) (*http.Request, error)

NewPutUserReportDesignCoverImageRequestWithBody constructs an http.Request for the PutUserReportDesignCoverImage method, with any body, and a specified content type

func NewPutUserReportDesignCustomCoverRequest added in v0.7.4

func NewPutUserReportDesignCustomCoverRequest(server string, designId ReportDesignId, body PutUserReportDesignCustomCoverJSONRequestBody) (*http.Request, error)

NewPutUserReportDesignCustomCoverRequest calls the generic PutUserReportDesignCustomCover builder with application/json body

func NewPutUserReportDesignCustomCoverRequestWithBody added in v0.7.4

func NewPutUserReportDesignCustomCoverRequestWithBody(server string, designId ReportDesignId, contentType string, body io.Reader) (*http.Request, error)

NewPutUserReportDesignCustomCoverRequestWithBody constructs an http.Request for the PutUserReportDesignCustomCover method, with any body, and a specified content type

func NewPutUserReportDesignLogoRequestWithBody added in v0.7.4

func NewPutUserReportDesignLogoRequestWithBody(server string, designId ReportDesignId, contentType string, body io.Reader) (*http.Request, error)

NewPutUserReportDesignLogoRequestWithBody constructs an http.Request for the PutUserReportDesignLogo method, with any body, and a specified content type

func NewPutVoiceRequest

func NewPutVoiceRequest(server string, body PutVoiceJSONRequestBody) (*http.Request, error)

NewPutVoiceRequest calls the generic PutVoice builder with application/json body

func NewPutVoiceRequestWithBody

func NewPutVoiceRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPutVoiceRequestWithBody constructs an http.Request for the PutVoice method, with any body, and a specified content type

func NewReinstateOrgRequest

func NewReinstateOrgRequest(server string, org OrgHandle) (*http.Request, error)

NewReinstateOrgRequest constructs an http.Request for the ReinstateOrg method

func NewRemoveAgentTeamGrantRequest

func NewRemoveAgentTeamGrantRequest(server string, ns Namespace, name AgentName, team TeamSlug) (*http.Request, error)

NewRemoveAgentTeamGrantRequest constructs an http.Request for the RemoveAgentTeamGrant method

func NewRemoveAgentUserGrantRequest

func NewRemoveAgentUserGrantRequest(server string, ns Namespace, name AgentName, handle Handle) (*http.Request, error)

NewRemoveAgentUserGrantRequest constructs an http.Request for the RemoveAgentUserGrant method

func NewRemoveOrgMemberRequest

func NewRemoveOrgMemberRequest(server string, org OrgHandle, handle Handle) (*http.Request, error)

NewRemoveOrgMemberRequest constructs an http.Request for the RemoveOrgMember method

func NewRemoveSshKeyRequest

func NewRemoveSshKeyRequest(server string, keyId openapi_types.UUID) (*http.Request, error)

NewRemoveSshKeyRequest constructs an http.Request for the RemoveSshKey method

func NewRemoveTeamMemberRequest

func NewRemoveTeamMemberRequest(server string, org OrgHandle, team TeamSlug, handle Handle) (*http.Request, error)

NewRemoveTeamMemberRequest constructs an http.Request for the RemoveTeamMember method

func NewReportAbuseRequest

func NewReportAbuseRequest(server string, ns Namespace, name AgentName, body ReportAbuseJSONRequestBody) (*http.Request, error)

NewReportAbuseRequest calls the generic ReportAbuse builder with application/json body

func NewReportAbuseRequestWithBody

func NewReportAbuseRequestWithBody(server string, ns Namespace, name AgentName, contentType string, body io.Reader) (*http.Request, error)

NewReportAbuseRequestWithBody constructs an http.Request for the ReportAbuse method, with any body, and a specified content type

func NewRequestDomainOrgAccessRequest

func NewRequestDomainOrgAccessRequest(server string) (*http.Request, error)

NewRequestDomainOrgAccessRequest constructs an http.Request for the RequestDomainOrgAccess method

func NewResolveRefRequest

func NewResolveRefRequest(server string, params *ResolveRefParams) (*http.Request, error)

NewResolveRefRequest constructs an http.Request for the ResolveRef method

func NewRestoreAgentRequest

func NewRestoreAgentRequest(server string, ns Namespace, name AgentName) (*http.Request, error)

NewRestoreAgentRequest constructs an http.Request for the RestoreAgent method

func NewRestoreVoiceRequest

func NewRestoreVoiceRequest(server string) (*http.Request, error)

NewRestoreVoiceRequest constructs an http.Request for the RestoreVoice method

func NewRetireAgentRequest

func NewRetireAgentRequest(server string, ns Namespace, name AgentName) (*http.Request, error)

NewRetireAgentRequest constructs an http.Request for the RetireAgent method

func NewRevokeInvitationRequest

func NewRevokeInvitationRequest(server string, org OrgHandle, id openapi_types.UUID) (*http.Request, error)

NewRevokeInvitationRequest constructs an http.Request for the RevokeInvitation method

func NewRevokeOtherUserSessionsRequest

func NewRevokeOtherUserSessionsRequest(server string) (*http.Request, error)

NewRevokeOtherUserSessionsRequest constructs an http.Request for the RevokeOtherUserSessions method

func NewRevokeTokenRequest

func NewRevokeTokenRequest(server string, tokenId openapi_types.UUID) (*http.Request, error)

NewRevokeTokenRequest constructs an http.Request for the RevokeToken method

func NewRevokeUserSessionRequest

func NewRevokeUserSessionRequest(server string, sessionId openapi_types.UUID) (*http.Request, error)

NewRevokeUserSessionRequest constructs an http.Request for the RevokeUserSession method

func NewScanModelInputRequest

func NewScanModelInputRequest(server string, body ScanModelInputJSONRequestBody) (*http.Request, error)

NewScanModelInputRequest calls the generic ScanModelInput builder with application/json body

func NewScanModelInputRequestWithBody

func NewScanModelInputRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewScanModelInputRequestWithBody constructs an http.Request for the ScanModelInput method, with any body, and a specified content type

func NewSearchAgentsRequest

func NewSearchAgentsRequest(server string, params *SearchAgentsParams) (*http.Request, error)

NewSearchAgentsRequest constructs an http.Request for the SearchAgents method

func NewSearchModelInputRequest

func NewSearchModelInputRequest(server string, body SearchModelInputJSONRequestBody) (*http.Request, error)

NewSearchModelInputRequest calls the generic SearchModelInput builder with application/json body

func NewSearchModelInputRequestWithBody

func NewSearchModelInputRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewSearchModelInputRequestWithBody constructs an http.Request for the SearchModelInput method, with any body, and a specified content type

func NewSendEmailVerificationRequest

func NewSendEmailVerificationRequest(server string) (*http.Request, error)

NewSendEmailVerificationRequest constructs an http.Request for the SendEmailVerification method

func NewSetAgentTeamGrantRequest

func NewSetAgentTeamGrantRequest(server string, ns Namespace, name AgentName, team TeamSlug, body SetAgentTeamGrantJSONRequestBody) (*http.Request, error)

NewSetAgentTeamGrantRequest calls the generic SetAgentTeamGrant builder with application/json body

func NewSetAgentTeamGrantRequestWithBody

func NewSetAgentTeamGrantRequestWithBody(server string, ns Namespace, name AgentName, team TeamSlug, contentType string, body io.Reader) (*http.Request, error)

NewSetAgentTeamGrantRequestWithBody constructs an http.Request for the SetAgentTeamGrant method, with any body, and a specified content type

func NewSetAgentUserGrantRequest

func NewSetAgentUserGrantRequest(server string, ns Namespace, name AgentName, handle Handle, body SetAgentUserGrantJSONRequestBody) (*http.Request, error)

NewSetAgentUserGrantRequest calls the generic SetAgentUserGrant builder with application/json body

func NewSetAgentUserGrantRequestWithBody

func NewSetAgentUserGrantRequestWithBody(server string, ns Namespace, name AgentName, handle Handle, contentType string, body io.Reader) (*http.Request, error)

NewSetAgentUserGrantRequestWithBody constructs an http.Request for the SetAgentUserGrant method, with any body, and a specified content type

func NewSetFindingVerdictRequest

func NewSetFindingVerdictRequest(server string, id openapi_types.UUID, body SetFindingVerdictJSONRequestBody) (*http.Request, error)

NewSetFindingVerdictRequest calls the generic SetFindingVerdict builder with application/json body

func NewSetFindingVerdictRequestWithBody

func NewSetFindingVerdictRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)

NewSetFindingVerdictRequestWithBody constructs an http.Request for the SetFindingVerdict method, with any body, and a specified content type

func NewSetOrgMemberRequest

func NewSetOrgMemberRequest(server string, org OrgHandle, handle Handle, body SetOrgMemberJSONRequestBody) (*http.Request, error)

NewSetOrgMemberRequest calls the generic SetOrgMember builder with application/json body

func NewSetOrgMemberRequestWithBody

func NewSetOrgMemberRequestWithBody(server string, org OrgHandle, handle Handle, contentType string, body io.Reader) (*http.Request, error)

NewSetOrgMemberRequestWithBody constructs an http.Request for the SetOrgMember method, with any body, and a specified content type

func NewSetOrgPolicyRequest

func NewSetOrgPolicyRequest(server string, org OrgHandle, body SetOrgPolicyJSONRequestBody) (*http.Request, error)

NewSetOrgPolicyRequest calls the generic SetOrgPolicy builder with application/json body

func NewSetOrgPolicyRequestWithBody

func NewSetOrgPolicyRequestWithBody(server string, org OrgHandle, contentType string, body io.Reader) (*http.Request, error)

NewSetOrgPolicyRequestWithBody constructs an http.Request for the SetOrgPolicy method, with any body, and a specified content type

func NewSetUserReportDesignDefaultRequest added in v0.7.4

func NewSetUserReportDesignDefaultRequest(server string, body SetUserReportDesignDefaultJSONRequestBody) (*http.Request, error)

NewSetUserReportDesignDefaultRequest calls the generic SetUserReportDesignDefault builder with application/json body

func NewSetUserReportDesignDefaultRequestWithBody added in v0.7.4

func NewSetUserReportDesignDefaultRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewSetUserReportDesignDefaultRequestWithBody constructs an http.Request for the SetUserReportDesignDefault method, with any body, and a specified content type

func NewSocialOidcCallbackRequest

func NewSocialOidcCallbackRequest(server string, provider SocialOidcCallbackParamsProvider, params *SocialOidcCallbackParams) (*http.Request, error)

NewSocialOidcCallbackRequest constructs an http.Request for the SocialOidcCallback method

func NewSocialOidcStartRequest

func NewSocialOidcStartRequest(server string, provider SocialOidcStartParamsProvider, params *SocialOidcStartParams) (*http.Request, error)

NewSocialOidcStartRequest constructs an http.Request for the SocialOidcStart method

func NewStarAgentRequest

func NewStarAgentRequest(server string, ns Namespace, name AgentName) (*http.Request, error)

NewStarAgentRequest constructs an http.Request for the StarAgent method

func NewStreamVersionEventsRequest

func NewStreamVersionEventsRequest(server string, ns Namespace, name AgentName, version VersionString) (*http.Request, error)

NewStreamVersionEventsRequest constructs an http.Request for the StreamVersionEvents method

func NewSubmitVersionRequest

func NewSubmitVersionRequest(server string, ns Namespace, name AgentName, body SubmitVersionJSONRequestBody) (*http.Request, error)

NewSubmitVersionRequest calls the generic SubmitVersion builder with application/json body

func NewSubmitVersionRequestWithBody

func NewSubmitVersionRequestWithBody(server string, ns Namespace, name AgentName, contentType string, body io.Reader) (*http.Request, error)

NewSubmitVersionRequestWithBody constructs an http.Request for the SubmitVersion method, with any body, and a specified content type

func NewSuspendOrgRequest

func NewSuspendOrgRequest(server string, org OrgHandle, body SuspendOrgJSONRequestBody) (*http.Request, error)

NewSuspendOrgRequest calls the generic SuspendOrg builder with application/json body

func NewSuspendOrgRequestWithBody

func NewSuspendOrgRequestWithBody(server string, org OrgHandle, contentType string, body io.Reader) (*http.Request, error)

NewSuspendOrgRequestWithBody constructs an http.Request for the SuspendOrg method, with any body, and a specified content type

func NewTriageAbuseReportRequest

func NewTriageAbuseReportRequest(server string, id openapi_types.UUID, body TriageAbuseReportJSONRequestBody) (*http.Request, error)

NewTriageAbuseReportRequest calls the generic TriageAbuseReport builder with application/json body

func NewTriageAbuseReportRequestWithBody

func NewTriageAbuseReportRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)

NewTriageAbuseReportRequestWithBody constructs an http.Request for the TriageAbuseReport method, with any body, and a specified content type

func NewUnstarAgentRequest

func NewUnstarAgentRequest(server string, ns Namespace, name AgentName) (*http.Request, error)

NewUnstarAgentRequest constructs an http.Request for the UnstarAgent method

func NewUnwrapKnowledgeKeyRequest

func NewUnwrapKnowledgeKeyRequest(server string, body UnwrapKnowledgeKeyJSONRequestBody) (*http.Request, error)

NewUnwrapKnowledgeKeyRequest calls the generic UnwrapKnowledgeKey builder with application/json body

func NewUnwrapKnowledgeKeyRequestWithBody

func NewUnwrapKnowledgeKeyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewUnwrapKnowledgeKeyRequestWithBody constructs an http.Request for the UnwrapKnowledgeKey method, with any body, and a specified content type

func NewUnwrapOrgKnowledgeKeyRequest

func NewUnwrapOrgKnowledgeKeyRequest(server string, org OrgHandle, body UnwrapOrgKnowledgeKeyJSONRequestBody) (*http.Request, error)

NewUnwrapOrgKnowledgeKeyRequest calls the generic UnwrapOrgKnowledgeKey builder with application/json body

func NewUnwrapOrgKnowledgeKeyRequestWithBody

func NewUnwrapOrgKnowledgeKeyRequestWithBody(server string, org OrgHandle, contentType string, body io.Reader) (*http.Request, error)

NewUnwrapOrgKnowledgeKeyRequestWithBody constructs an http.Request for the UnwrapOrgKnowledgeKey method, with any body, and a specified content type

func NewUpdateAgentRequest

func NewUpdateAgentRequest(server string, ns Namespace, name AgentName, body UpdateAgentJSONRequestBody) (*http.Request, error)

NewUpdateAgentRequest calls the generic UpdateAgent builder with application/json body

func NewUpdateAgentRequestWithBody

func NewUpdateAgentRequestWithBody(server string, ns Namespace, name AgentName, contentType string, body io.Reader) (*http.Request, error)

NewUpdateAgentRequestWithBody constructs an http.Request for the UpdateAgent method, with any body, and a specified content type

func NewUpdateCurrentUserRequest

func NewUpdateCurrentUserRequest(server string, body UpdateCurrentUserJSONRequestBody) (*http.Request, error)

NewUpdateCurrentUserRequest calls the generic UpdateCurrentUser builder with application/json body

func NewUpdateCurrentUserRequestWithBody

func NewUpdateCurrentUserRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewUpdateCurrentUserRequestWithBody constructs an http.Request for the UpdateCurrentUser method, with any body, and a specified content type

func NewUpdateOrgKnowledgePackRequest

func NewUpdateOrgKnowledgePackRequest(server string, org OrgHandle, packId KnowledgePackId, body UpdateOrgKnowledgePackJSONRequestBody) (*http.Request, error)

NewUpdateOrgKnowledgePackRequest calls the generic UpdateOrgKnowledgePack builder with application/json body

func NewUpdateOrgKnowledgePackRequestWithBody

func NewUpdateOrgKnowledgePackRequestWithBody(server string, org OrgHandle, packId KnowledgePackId, contentType string, body io.Reader) (*http.Request, error)

NewUpdateOrgKnowledgePackRequestWithBody constructs an http.Request for the UpdateOrgKnowledgePack method, with any body, and a specified content type

func NewUpdateOrgReportDesignRequest added in v0.7.5

func NewUpdateOrgReportDesignRequest(server string, org OrgHandle, designId ReportDesignId, params *UpdateOrgReportDesignParams, body UpdateOrgReportDesignJSONRequestBody) (*http.Request, error)

NewUpdateOrgReportDesignRequest calls the generic UpdateOrgReportDesign builder with application/json body

func NewUpdateOrgReportDesignRequestWithBody added in v0.7.5

func NewUpdateOrgReportDesignRequestWithBody(server string, org OrgHandle, designId ReportDesignId, params *UpdateOrgReportDesignParams, contentType string, body io.Reader) (*http.Request, error)

NewUpdateOrgReportDesignRequestWithBody constructs an http.Request for the UpdateOrgReportDesign method, with any body, and a specified content type

func NewUpdateOrgRequest

func NewUpdateOrgRequest(server string, org OrgHandle, body UpdateOrgJSONRequestBody) (*http.Request, error)

NewUpdateOrgRequest calls the generic UpdateOrg builder with application/json body

func NewUpdateOrgRequestWithBody

func NewUpdateOrgRequestWithBody(server string, org OrgHandle, contentType string, body io.Reader) (*http.Request, error)

NewUpdateOrgRequestWithBody constructs an http.Request for the UpdateOrg method, with any body, and a specified content type

func NewUpdateUserNotificationSettingsRequest

func NewUpdateUserNotificationSettingsRequest(server string, body UpdateUserNotificationSettingsJSONRequestBody) (*http.Request, error)

NewUpdateUserNotificationSettingsRequest calls the generic UpdateUserNotificationSettings builder with application/json body

func NewUpdateUserNotificationSettingsRequestWithBody

func NewUpdateUserNotificationSettingsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewUpdateUserNotificationSettingsRequestWithBody constructs an http.Request for the UpdateUserNotificationSettings method, with any body, and a specified content type

func NewUpdateUserReportDesignRequest added in v0.7.4

func NewUpdateUserReportDesignRequest(server string, designId ReportDesignId, params *UpdateUserReportDesignParams, body UpdateUserReportDesignJSONRequestBody) (*http.Request, error)

NewUpdateUserReportDesignRequest calls the generic UpdateUserReportDesign builder with application/json body

func NewUpdateUserReportDesignRequestWithBody added in v0.7.4

func NewUpdateUserReportDesignRequestWithBody(server string, designId ReportDesignId, params *UpdateUserReportDesignParams, contentType string, body io.Reader) (*http.Request, error)

NewUpdateUserReportDesignRequestWithBody constructs an http.Request for the UpdateUserReportDesign method, with any body, and a specified content type

func NewUpdateVoiceSettingsRequest

func NewUpdateVoiceSettingsRequest(server string, body UpdateVoiceSettingsJSONRequestBody) (*http.Request, error)

NewUpdateVoiceSettingsRequest calls the generic UpdateVoiceSettings builder with application/json body

func NewUpdateVoiceSettingsRequestWithBody

func NewUpdateVoiceSettingsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewUpdateVoiceSettingsRequestWithBody constructs an http.Request for the UpdateVoiceSettings method, with any body, and a specified content type

func NewUpdateWebhookRequest

func NewUpdateWebhookRequest(server string, org OrgHandle, id WebhookID, body UpdateWebhookJSONRequestBody) (*http.Request, error)

NewUpdateWebhookRequest calls the generic UpdateWebhook builder with application/json body

func NewUpdateWebhookRequestWithBody

func NewUpdateWebhookRequestWithBody(server string, org OrgHandle, id WebhookID, contentType string, body io.Reader) (*http.Request, error)

NewUpdateWebhookRequestWithBody constructs an http.Request for the UpdateWebhook method, with any body, and a specified content type

func NewUploadKnowledgeTreeRequestWithBody

func NewUploadKnowledgeTreeRequestWithBody(server string, packId KnowledgePackId, contentType string, body io.Reader) (*http.Request, error)

NewUploadKnowledgeTreeRequestWithBody constructs an http.Request for the UploadKnowledgeTree method, with any body, and a specified content type

func NewUploadOrgKnowledgeTreeRequestWithBody

func NewUploadOrgKnowledgeTreeRequestWithBody(server string, org OrgHandle, packId KnowledgePackId, contentType string, body io.Reader) (*http.Request, error)

NewUploadOrgKnowledgeTreeRequestWithBody constructs an http.Request for the UploadOrgKnowledgeTree method, with any body, and a specified content type

func NewVerifyDomainClaimRequest

func NewVerifyDomainClaimRequest(server string, org OrgHandle, body VerifyDomainClaimJSONRequestBody) (*http.Request, error)

NewVerifyDomainClaimRequest calls the generic VerifyDomainClaim builder with application/json body

func NewVerifyDomainClaimRequestWithBody

func NewVerifyDomainClaimRequestWithBody(server string, org OrgHandle, contentType string, body io.Reader) (*http.Request, error)

NewVerifyDomainClaimRequestWithBody constructs an http.Request for the VerifyDomainClaim method, with any body, and a specified content type

func NewVerifyEmailRequest

func NewVerifyEmailRequest(server string, body VerifyEmailJSONRequestBody) (*http.Request, error)

NewVerifyEmailRequest calls the generic VerifyEmail builder with application/json body

func NewVerifyEmailRequestWithBody

func NewVerifyEmailRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewVerifyEmailRequestWithBody constructs an http.Request for the VerifyEmail method, with any body, and a specified content type

func NewWrapKnowledgeKeyRequest

func NewWrapKnowledgeKeyRequest(server string, body WrapKnowledgeKeyJSONRequestBody) (*http.Request, error)

NewWrapKnowledgeKeyRequest calls the generic WrapKnowledgeKey builder with application/json body

func NewWrapKnowledgeKeyRequestWithBody

func NewWrapKnowledgeKeyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewWrapKnowledgeKeyRequestWithBody constructs an http.Request for the WrapKnowledgeKey method, with any body, and a specified content type

func NewWrapOrgKnowledgeKeyRequest

func NewWrapOrgKnowledgeKeyRequest(server string, org OrgHandle, body WrapOrgKnowledgeKeyJSONRequestBody) (*http.Request, error)

NewWrapOrgKnowledgeKeyRequest calls the generic WrapOrgKnowledgeKey builder with application/json body

func NewWrapOrgKnowledgeKeyRequestWithBody

func NewWrapOrgKnowledgeKeyRequestWithBody(server string, org OrgHandle, contentType string, body io.Reader) (*http.Request, error)

NewWrapOrgKnowledgeKeyRequestWithBody constructs an http.Request for the WrapOrgKnowledgeKey method, with any body, and a specified content type

func NewYankVersionRequest

func NewYankVersionRequest(server string, ns Namespace, name AgentName, version VersionString, body YankVersionJSONRequestBody) (*http.Request, error)

NewYankVersionRequest calls the generic YankVersion builder with application/json body

func NewYankVersionRequestWithBody

func NewYankVersionRequestWithBody(server string, ns Namespace, name AgentName, version VersionString, contentType string, body io.Reader) (*http.Request, error)

NewYankVersionRequestWithBody constructs an http.Request for the YankVersion method, with any body, and a specified content type

Types

type AbuseReport

type AbuseReport struct {
	Agent     string             `json:"agent"`
	Category  string             `json:"category"`
	CreatedAt time.Time          `json:"createdAt"`
	Detail    string             `json:"detail"`
	Id        openapi_types.UUID `json:"id"`
	Namespace string             `json:"namespace"`
	State     AbuseReportState   `json:"state"`
	Version   *string            `json:"version,omitempty"`
}

AbuseReport defines model for AbuseReport.

type AbuseReportState

type AbuseReportState string

AbuseReportState defines model for AbuseReport.State.

const (
	AbuseReportStateActioned  AbuseReportState = "actioned"
	AbuseReportStateDismissed AbuseReportState = "dismissed"
	AbuseReportStateOpen      AbuseReportState = "open"
	AbuseReportStateTriaged   AbuseReportState = "triaged"
)

Defines values for AbuseReportState.

func (AbuseReportState) Valid

func (e AbuseReportState) Valid() bool

Valid indicates whether the value is a known member of the AbuseReportState enum.

type AcceptInvitationResponse

type AcceptInvitationResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Membership
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseAcceptInvitationResponse

func ParseAcceptInvitationResponse(rsp *http.Response) (*AcceptInvitationResponse, error)

ParseAcceptInvitationResponse parses an HTTP response from a AcceptInvitationWithResponse call

func (AcceptInvitationResponse) ContentType

func (r AcceptInvitationResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (AcceptInvitationResponse) GetApplicationproblemJSONDefault

func (r AcceptInvitationResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (AcceptInvitationResponse) GetBody

func (r AcceptInvitationResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (AcceptInvitationResponse) GetJSON200

func (r AcceptInvitationResponse) GetJSON200() *Membership

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (AcceptInvitationResponse) Status

func (r AcceptInvitationResponse) Status() string

Status returns HTTPResponse.Status

func (AcceptInvitationResponse) StatusCode

func (r AcceptInvitationResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AccessRequestResult

type AccessRequestResult struct {
	// MailedAdmins How many of the organization's admins were mailed. Zero when none has a verified address that accepts organization mail; the request is still audited.
	MailedAdmins int    `json:"mailedAdmins"`
	Org          string `json:"org"`
}

AccessRequestResult defines model for AccessRequestResult.

type AccountInstall

type AccountInstall struct {
	// AcceptedUnscanned The release was admitted without a scan and the caller accepted that.
	AcceptedUnscanned *bool `json:"acceptedUnscanned,omitempty"`

	// AcceptedUnsigned The release carried no attestation and the caller accepted that.
	AcceptedUnsigned *bool `json:"acceptedUnsigned,omitempty"`

	// Capabilities The declared capability block the caller accepted, as the version declared it.
	Capabilities *map[string]interface{} `json:"capabilities,omitempty"`

	// FindingCounts The installed version's finding counts by severity; present with a `scanned` verdict.
	FindingCounts    *map[string]int `json:"findingCounts,omitempty"`
	InstalledAt      *time.Time      `json:"installedAt,omitempty"`
	InstalledVersion *string         `json:"installedVersion,omitempty"`

	// LatestVersion The newest published version; absent when none is.
	LatestVersion   *string                        `json:"latestVersion,omitempty"`
	QuarantineState *AccountInstallQuarantineState `json:"quarantineState,omitempty"`

	// Readable Whether the caller can read the QuickAgent today.
	Readable bool `json:"readable"`

	// Ref `ns/name`.
	Ref string `json:"ref"`

	// Signed Whether the installed version carries an attestation.
	Signed    *bool      `json:"signed,omitempty"`
	UpdatedAt *time.Time `json:"updatedAt,omitempty"`

	// Verdict What a report is: `scanned` when a scan run stands behind it (the findings say the rest), `unscanned` when the version was admitted without one — never conflated with "scanned with a known gap". Absent while a scan is still pending.
	Verdict *ReportVerdict `json:"verdict,omitempty"`
}

AccountInstall One account install, composed for a list. Only `ref` and `readable` are always present: a record whose QuickAgent the caller can no longer read carries nothing else.

type AccountInstallQuarantineState

type AccountInstallQuarantineState string

AccountInstallQuarantineState defines model for AccountInstall.QuarantineState.

const (
	AccountInstallQuarantineStateBlocked     AccountInstallQuarantineState = "blocked"
	AccountInstallQuarantineStateNone        AccountInstallQuarantineState = "none"
	AccountInstallQuarantineStateQuarantined AccountInstallQuarantineState = "quarantined"
)

Defines values for AccountInstallQuarantineState.

func (AccountInstallQuarantineState) Valid

Valid indicates whether the value is a known member of the AccountInstallQuarantineState enum.

type AccountInstallRequest

type AccountInstallRequest struct {
	// AcceptCapabilities The caller accepts the declared capabilities of this version. Required true on a first install and on an update whose capabilities widened; not read otherwise.
	AcceptCapabilities *bool `json:"acceptCapabilities,omitempty"`

	// AcceptUnscanned Required true when the release was admitted without a scan.
	AcceptUnscanned *bool `json:"acceptUnscanned,omitempty"`

	// AcceptUnsigned Required true when the release carries no attestation.
	AcceptUnsigned *bool `json:"acceptUnsigned,omitempty"`

	// Version The published version to record, exactly (no range).
	Version string `json:"version"`
}

AccountInstallRequest defines model for AccountInstallRequest.

type ActivityEvent

type ActivityEvent struct {
	// Action Registered action id (internal/audit/actions.go).
	Action string `json:"action"`

	// ActorHandle Absent on the public-safe subset and for system actors.
	ActorHandle *string `json:"actorHandle,omitempty"`

	// Detail Present only for callers with read access.
	Detail *map[string]interface{} `json:"detail,omitempty"`
	Id     openapi_types.UUID      `json:"id"`

	// Ip The address the action was performed from; on the caller's own feed.
	Ip         *string   `json:"ip,omitempty"`
	OccurredAt time.Time `json:"occurredAt"`

	// TargetKind What the entry acted on (agent, agent_version, pat, ssh_key, session, user…); on the caller's own feed.
	TargetKind *string `json:"targetKind,omitempty"`

	// UserAgent The client that performed it; on the caller's own feed.
	UserAgent *string `json:"userAgent,omitempty"`

	// Version The version this entry concerns, when it names one.
	Version *string `json:"version,omitempty"`
}

ActivityEvent One agent-scoped entry from the audit log.

type ActivityPage

type ActivityPage struct {
	Events []ActivityEvent `json:"events"`

	// NextCursor Opaque; absent on the last page.
	NextCursor *string `json:"nextCursor,omitempty"`
}

ActivityPage defines model for ActivityPage.

type AddSshKeyJSONRequestBody

type AddSshKeyJSONRequestBody = AddSshKeyRequest

AddSshKeyJSONRequestBody defines body for AddSshKey for application/json ContentType.

type AddSshKeyRequest

type AddSshKeyRequest struct {
	// PublicKey One authorized_keys line ("ssh-ed25519 AAAA… comment").
	PublicKey string `json:"publicKey"`
	Title     string `json:"title"`
}

AddSshKeyRequest defines model for AddSshKeyRequest.

type AddSshKeyResponse

type AddSshKeyResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *SshKey
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseAddSshKeyResponse

func ParseAddSshKeyResponse(rsp *http.Response) (*AddSshKeyResponse, error)

ParseAddSshKeyResponse parses an HTTP response from a AddSshKeyWithResponse call

func (AddSshKeyResponse) ContentType

func (r AddSshKeyResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (AddSshKeyResponse) GetApplicationproblemJSONDefault

func (r AddSshKeyResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (AddSshKeyResponse) GetBody

func (r AddSshKeyResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (AddSshKeyResponse) GetJSON201

func (r AddSshKeyResponse) GetJSON201() *SshKey

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (AddSshKeyResponse) Status

func (r AddSshKeyResponse) Status() string

Status returns HTTPResponse.Status

func (AddSshKeyResponse) StatusCode

func (r AddSshKeyResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AddTeamMemberResponse

type AddTeamMemberResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseAddTeamMemberResponse

func ParseAddTeamMemberResponse(rsp *http.Response) (*AddTeamMemberResponse, error)

ParseAddTeamMemberResponse parses an HTTP response from a AddTeamMemberWithResponse call

func (AddTeamMemberResponse) ContentType

func (r AddTeamMemberResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (AddTeamMemberResponse) GetApplicationproblemJSONDefault

func (r AddTeamMemberResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (AddTeamMemberResponse) GetBody

func (r AddTeamMemberResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (AddTeamMemberResponse) Status

func (r AddTeamMemberResponse) Status() string

Status returns HTTPResponse.Status

func (AddTeamMemberResponse) StatusCode

func (r AddTeamMemberResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Advisory

type Advisory struct {
	AffectedVersions string `json:"affectedVersions"`

	// Agent The affected agent as `ns/name`. Present on feed and permalink responses.
	Agent       *string            `json:"agent,omitempty"`
	Detail      *string            `json:"detail,omitempty"`
	Id          openapi_types.UUID `json:"id"`
	PublishedAt *time.Time         `json:"publishedAt,omitempty"`
	Severity    string             `json:"severity"`
	Summary     string             `json:"summary"`
}

Advisory defines model for Advisory.

type Agent

type Agent struct {
	// AllowForcePush Present for callers with maintain; whether force-push to the default branch is allowed.
	AllowForcePush *bool `json:"allowForcePush,omitempty"`

	// AutoPublishTags Present for callers with maintain.
	AutoPublishTags *bool `json:"autoPublishTags,omitempty"`

	// Builtin Whether this is a built-in agent: one of the packages the Agentry CLI embeds and runs as part of the application, published here for reading. A client labels it Built-in in place of its run modes. Only platform staff set it, on an agent of a first-party namespace. Not the runner's attestation state `builtin`, which only the CLI's embedded copy of a package runs under; an install of this agent from the registry is an ordinary release.
	Builtin bool `json:"builtin"`

	// CanPublish Present, and true, on GET /agents/{ns}/{name} when the caller may add a version to this agent: the publish role over the namespace or a grant, and a token's `agent:publish`. Absent otherwise. A client offers Edit on it where the caller's token carries no `org:admin` and so never reads `autoPublishTags` (the desktop's sign-in grant). The upload decides again; the organization's gate for a write is not applied here.
	CanPublish    *bool     `json:"canPublish,omitempty"`
	CreatedAt     time.Time `json:"createdAt"`
	DefaultBranch string    `json:"defaultBranch"`

	// DependencyAlerts Open dependency alerts on this agent's published versions. Present on GET /agents/{ns}/{name}.
	DependencyAlerts *[]DependencyAlert `json:"dependencyAlerts,omitempty"`

	// ForkCount Present on a public agent: how many forks of it exist. A count only; no read names a fork to the origin's publisher.
	ForkCount *int `json:"forkCount,omitempty"`

	// ForkDetail Present on a fork whose copy failed, saying why in words.
	ForkDetail *string `json:"forkDetail,omitempty"`

	// ForkState Present on a fork: `copying` until a worker has copied the repository and submitted the first version, `ready` after, `failed` with `forkDetail`.
	ForkState *AgentForkState `json:"forkState,omitempty"`

	// ForkedFrom What a fork was taken from. Kept for good: there is no detach.
	ForkedFrom *ForkOrigin `json:"forkedFrom,omitempty"`

	// GitHttpUrl Clone URL for the hosted repository.
	GitHttpUrl string `json:"gitHttpUrl"`

	// GitSshUrl SSH clone URL, present when the deployment serves the SSH transport.
	GitSshUrl *string            `json:"gitSshUrl,omitempty"`
	Id        openapi_types.UUID `json:"id"`

	// Installs30d Installs over the last 30 days. Present on `GET /agents?namespace=`.
	Installs30d *int `json:"installs30d,omitempty"`

	// LastSubmittedAt When a version of this agent was last submitted, whatever became of it. Present on `GET /agents?namespace=` for an agent with at least one version.
	LastSubmittedAt *time.Time `json:"lastSubmittedAt,omitempty"`

	// Modes The run modes a release supports; at least one.
	Modes     AgentModes `json:"modes"`
	Name      string     `json:"name"`
	Namespace string     `json:"namespace"`

	// PipelineSkip Present for callers with maintain; whether submissions are admitted without a scan (an organization's private agent only). A version so admitted is served with `scanStatus: skipped` and the report's verdict `unscanned`.
	PipelineSkip    *bool                `json:"pipelineSkip,omitempty"`
	QuarantineState AgentQuarantineState `json:"quarantineState"`

	// RetiredAt When the agent was retired: it is private, takes no submission, and `POST …/restore` returns the visibility it had. Absent on an agent that is not retired.
	RetiredAt  *time.Time      `json:"retiredAt,omitempty"`
	Summary    string          `json:"summary"`
	Visibility AgentVisibility `json:"visibility"`
}

Agent defines model for Agent.

type AgentForkState

type AgentForkState string

AgentForkState Present on a fork: `copying` until a worker has copied the repository and submitted the first version, `ready` after, `failed` with `forkDetail`.

const (
	AgentForkStateCopying AgentForkState = "copying"
	AgentForkStateFailed  AgentForkState = "failed"
	AgentForkStateReady   AgentForkState = "ready"
)

Defines values for AgentForkState.

func (AgentForkState) Valid

func (e AgentForkState) Valid() bool

Valid indicates whether the value is a known member of the AgentForkState enum.

type AgentGrant

type AgentGrant struct {
	// Grantee User handle or team slug.
	Grantee string         `json:"grantee"`
	Kind    AgentGrantKind `json:"kind"`

	// Role Per-agent grant levels, read < write < maintain < publish.
	Role AgentRole `json:"role"`
}

AgentGrant defines model for AgentGrant.

type AgentGrantKind

type AgentGrantKind string

AgentGrantKind defines model for AgentGrant.Kind.

const (
	AgentGrantKindTeam AgentGrantKind = "team"
	AgentGrantKindUser AgentGrantKind = "user"
)

Defines values for AgentGrantKind.

func (AgentGrantKind) Valid

func (e AgentGrantKind) Valid() bool

Valid indicates whether the value is a known member of the AgentGrantKind enum.

type AgentMode

type AgentMode string

AgentMode A run mode a release supports. `autonomous` runs from its source files, writes its output and receipts, and ends; `interactive` starts from the same plan and controls but the run is a conversation with the user in the CLI or the desktop; `persistent` is a conversation the runner keeps between sessions, and is run only for the runner's own built-in agents, so a client withholds Run for a release that supports no other mode. A release declares at least one.

const (
	Autonomous  AgentMode = "autonomous"
	Interactive AgentMode = "interactive"
	Persistent  AgentMode = "persistent"
)

Defines values for AgentMode.

func (AgentMode) Valid

func (e AgentMode) Valid() bool

Valid indicates whether the value is a known member of the AgentMode enum.

type AgentModes

type AgentModes = []AgentMode

AgentModes The run modes a release supports; at least one.

type AgentName

type AgentName = string

AgentName defines model for AgentName.

type AgentQuarantineState

type AgentQuarantineState string

AgentQuarantineState defines model for Agent.QuarantineState.

const (
	AgentQuarantineStateBlocked     AgentQuarantineState = "blocked"
	AgentQuarantineStateNone        AgentQuarantineState = "none"
	AgentQuarantineStateQuarantined AgentQuarantineState = "quarantined"
)

Defines values for AgentQuarantineState.

func (AgentQuarantineState) Valid

func (e AgentQuarantineState) Valid() bool

Valid indicates whether the value is a known member of the AgentQuarantineState enum.

type AgentRole

type AgentRole string

AgentRole Per-agent grant levels, read < write < maintain < publish.

const (
	AgentRoleMaintain AgentRole = "maintain"
	AgentRolePublish  AgentRole = "publish"
	AgentRoleRead     AgentRole = "read"
	AgentRoleWrite    AgentRole = "write"
)

Defines values for AgentRole.

func (AgentRole) Valid

func (e AgentRole) Valid() bool

Valid indicates whether the value is a known member of the AgentRole enum.

type AgentStats

type AgentStats struct {
	Installs30d   int64 `json:"installs30d"`
	InstallsTotal int64 `json:"installsTotal"`

	// Starred Whether the calling user has starred it (authed only).
	Starred *bool `json:"starred,omitempty"`
	Stars   int64 `json:"stars"`
}

AgentStats defines model for AgentStats.

type AgentVersion

type AgentVersion struct {
	// ArchiveDigest sha256:<hex>, the release identity.
	ArchiveDigest *string `json:"archiveDigest,omitempty"`
	ArchiveSize   *int64  `json:"archiveSize,omitempty"`

	// Capabilities The capability contract: the declared capability block, and under `knowledge` the names of the knowledge packs the release ships (the manifest's `knowledge.ships`), so a release shipping one more than an installed one asks for consent again.
	Capabilities *map[string]interface{} `json:"capabilities,omitempty"`
	Channel      AgentVersionChannel     `json:"channel"`
	CommitSha    *string                 `json:"commitSha,omitempty"`
	CreatedAt    time.Time               `json:"createdAt"`
	Id           openapi_types.UUID      `json:"id"`

	// KnowledgeShipping Who confirmed that the version's shipped packs become readable with it, and how it was published. Served only to those who manage the QuickAgent. A version that has no record serves none.
	KnowledgeShipping *ShippedKnowledgeRecord `json:"knowledgeShipping,omitempty"`

	// ManifestSchemaVersion Schema major of the manifest snapshot this version carries: 1 (kind-classified, read through the v1 mapping) or 2 (modes). Clients that show a version's manifest read it accordingly.
	ManifestSchemaVersion *AgentVersionManifestSchemaVersion `json:"manifestSchemaVersion,omitempty"`
	PublishedAt           *time.Time                         `json:"publishedAt,omitempty"`

	// ScanStatus How the version was admitted: through the pipeline, or skipped — no scan run, no findings, no attestation, the report's verdict `unscanned`. A skipped version is a private organization agent's; a client that installs or runs one asks for consent first.
	ScanStatus *AgentVersionScanStatus `json:"scanStatus,omitempty"`

	// Source Where the version came from: a repository tag, an uploaded package, or an uploaded package the scan proved was a hosted Drafter revision of the agent's current release (`drafter-revision`), which S9 scans with the benefit of the doubt. The set grows by addition, so it is declared extensible: a client keeps a source it does not know as the string it is rather than failing on it.
	Source string `json:"source"`

	// Status Publication state machine states. `approved` is reserved and never produced: a reviewer's approval publishes directly (needs_review → published), so clients will not observe it; it is kept because removing an enum value is a breaking change.
	Status       VersionStatus `json:"status"`
	StatusReason *string       `json:"statusReason,omitempty"`
	Version      string        `json:"version"`
	YankReason   *string       `json:"yankReason,omitempty"`
	YankedAt     *time.Time    `json:"yankedAt,omitempty"`
}

AgentVersion defines model for AgentVersion.

type AgentVersionChannel

type AgentVersionChannel string

AgentVersionChannel defines model for AgentVersion.Channel.

const (
	AgentVersionChannelBeta   AgentVersionChannel = "beta"
	AgentVersionChannelStable AgentVersionChannel = "stable"
)

Defines values for AgentVersionChannel.

func (AgentVersionChannel) Valid

func (e AgentVersionChannel) Valid() bool

Valid indicates whether the value is a known member of the AgentVersionChannel enum.

type AgentVersionManifestSchemaVersion

type AgentVersionManifestSchemaVersion int

AgentVersionManifestSchemaVersion Schema major of the manifest snapshot this version carries: 1 (kind-classified, read through the v1 mapping) or 2 (modes). Clients that show a version's manifest read it accordingly.

Defines values for AgentVersionManifestSchemaVersion.

func (AgentVersionManifestSchemaVersion) Valid

Valid indicates whether the value is a known member of the AgentVersionManifestSchemaVersion enum.

type AgentVersionScanStatus

type AgentVersionScanStatus string

AgentVersionScanStatus How the version was admitted: through the pipeline, or skipped — no scan run, no findings, no attestation, the report's verdict `unscanned`. A skipped version is a private organization agent's; a client that installs or runs one asks for consent first.

const (
	AgentVersionScanStatusPipeline AgentVersionScanStatus = "pipeline"
	AgentVersionScanStatusSkipped  AgentVersionScanStatus = "skipped"
)

Defines values for AgentVersionScanStatus.

func (AgentVersionScanStatus) Valid

func (e AgentVersionScanStatus) Valid() bool

Valid indicates whether the value is a known member of the AgentVersionScanStatus enum.

type AgentVisibility

type AgentVisibility string

AgentVisibility defines model for Agent.Visibility.

const (
	AgentVisibilityPrivate AgentVisibility = "private"
	AgentVisibilityPublic  AgentVisibility = "public"
)

Defines values for AgentVisibility.

func (AgentVisibility) Valid

func (e AgentVisibility) Valid() bool

Valid indicates whether the value is a known member of the AgentVisibility enum.

type ApproveOrgMemberJSONBody

type ApproveOrgMemberJSONBody struct {
	// Role The role a PUT assigns. security_reviewer is refused outside a first-party organization. `owner` is accepted by the schema but refused with a 422 that names the roles that exist.
	Role *OrgRoleAssignment `json:"role,omitempty"`
}

ApproveOrgMemberJSONBody defines parameters for ApproveOrgMember.

type ApproveOrgMemberJSONRequestBody

type ApproveOrgMemberJSONRequestBody ApproveOrgMemberJSONBody

ApproveOrgMemberJSONRequestBody defines body for ApproveOrgMember for application/json ContentType.

type ApproveOrgMemberResponse

type ApproveOrgMemberResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Membership
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseApproveOrgMemberResponse

func ParseApproveOrgMemberResponse(rsp *http.Response) (*ApproveOrgMemberResponse, error)

ParseApproveOrgMemberResponse parses an HTTP response from a ApproveOrgMemberWithResponse call

func (ApproveOrgMemberResponse) ContentType

func (r ApproveOrgMemberResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ApproveOrgMemberResponse) GetApplicationproblemJSONDefault

func (r ApproveOrgMemberResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (ApproveOrgMemberResponse) GetBody

func (r ApproveOrgMemberResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ApproveOrgMemberResponse) GetJSON200

func (r ApproveOrgMemberResponse) GetJSON200() *Membership

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ApproveOrgMemberResponse) Status

func (r ApproveOrgMemberResponse) Status() string

Status returns HTTPResponse.Status

func (ApproveOrgMemberResponse) StatusCode

func (r ApproveOrgMemberResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AuditEvent

type AuditEvent struct {
	// Action Registered action id (internal/audit/actions.go).
	Action      string                  `json:"action"`
	ActorHandle *string                 `json:"actorHandle,omitempty"`
	ActorKind   AuditEventActorKind     `json:"actorKind"`
	Detail      *map[string]interface{} `json:"detail,omitempty"`
	Id          openapi_types.UUID      `json:"id"`
	OccurredAt  time.Time               `json:"occurredAt"`
	TargetId    *openapi_types.UUID     `json:"targetId,omitempty"`
	TargetKind  *string                 `json:"targetKind,omitempty"`
}

AuditEvent defines model for AuditEvent.

type AuditEventActorKind

type AuditEventActorKind string

AuditEventActorKind defines model for AuditEvent.ActorKind.

const (
	AuditEventActorKindPat    AuditEventActorKind = "pat"
	AuditEventActorKindScim   AuditEventActorKind = "scim"
	AuditEventActorKindSystem AuditEventActorKind = "system"
	AuditEventActorKindUser   AuditEventActorKind = "user"
)

Defines values for AuditEventActorKind.

func (AuditEventActorKind) Valid

func (e AuditEventActorKind) Valid() bool

Valid indicates whether the value is a known member of the AuditEventActorKind enum.

type AuditExport

type AuditExport struct {
	CreatedAt *time.Time `json:"createdAt,omitempty"`

	// DownloadPath Blob-store reference; presign is a deployment concern.
	DownloadPath *string            `json:"downloadPath,omitempty"`
	Error        *string            `json:"error,omitempty"`
	EventCount   *int               `json:"eventCount,omitempty"`
	Id           openapi_types.UUID `json:"id"`
	Status       AuditExportStatus  `json:"status"`
}

AuditExport defines model for AuditExport.

type AuditExportStatus

type AuditExportStatus string

AuditExportStatus defines model for AuditExport.Status.

const (
	AuditExportStatusCompleted AuditExportStatus = "completed"
	AuditExportStatusFailed    AuditExportStatus = "failed"
	AuditExportStatusPending   AuditExportStatus = "pending"
	AuditExportStatusRunning   AuditExportStatus = "running"
)

Defines values for AuditExportStatus.

func (AuditExportStatus) Valid

func (e AuditExportStatus) Valid() bool

Valid indicates whether the value is a known member of the AuditExportStatus enum.

type AuditPage

type AuditPage struct {
	Events []AuditEvent `json:"events"`

	// NextCursor Opaque; absent on the last page.
	NextCursor *string `json:"nextCursor,omitempty"`
}

AuditPage defines model for AuditPage.

type BrandInfo

type BrandInfo struct {
	LogoUrl *string `json:"logoUrl,omitempty"`

	// Name Example: Agentry
	Name         string  `json:"name"`
	SupportEmail *string `json:"supportEmail,omitempty"`
}

BrandInfo What this deployment calls itself (config `brand.*`): the name for prompts and titles, and optional logo and support address.

type CheckDraftJSONRequestBody

type CheckDraftJSONRequestBody = DraftCheckRequest

CheckDraftJSONRequestBody defines body for CheckDraft for application/json ContentType.

type CheckDraftResponse

type CheckDraftResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *DraftCheck
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseCheckDraftResponse

func ParseCheckDraftResponse(rsp *http.Response) (*CheckDraftResponse, error)

ParseCheckDraftResponse parses an HTTP response from a CheckDraftWithResponse call

func (CheckDraftResponse) ContentType

func (r CheckDraftResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CheckDraftResponse) GetApplicationproblemJSONDefault

func (r CheckDraftResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (CheckDraftResponse) GetBody

func (r CheckDraftResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (CheckDraftResponse) GetJSON200

func (r CheckDraftResponse) GetJSON200() *DraftCheck

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (CheckDraftResponse) Status

func (r CheckDraftResponse) Status() string

Status returns HTTPResponse.Status

func (CheckDraftResponse) StatusCode

func (r CheckDraftResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ClearCurrentUserDataResponse

type ClearCurrentUserDataResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseClearCurrentUserDataResponse

func ParseClearCurrentUserDataResponse(rsp *http.Response) (*ClearCurrentUserDataResponse, error)

ParseClearCurrentUserDataResponse parses an HTTP response from a ClearCurrentUserDataWithResponse call

func (ClearCurrentUserDataResponse) ContentType

func (r ClearCurrentUserDataResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ClearCurrentUserDataResponse) GetApplicationproblemJSONDefault

func (r ClearCurrentUserDataResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (ClearCurrentUserDataResponse) GetBody

func (r ClearCurrentUserDataResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ClearCurrentUserDataResponse) Status

Status returns HTTPResponse.Status

func (ClearCurrentUserDataResponse) StatusCode

func (r ClearCurrentUserDataResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ClearTrustedDevicesResponse

type ClearTrustedDevicesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *TrustedDevicesCleared
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseClearTrustedDevicesResponse

func ParseClearTrustedDevicesResponse(rsp *http.Response) (*ClearTrustedDevicesResponse, error)

ParseClearTrustedDevicesResponse parses an HTTP response from a ClearTrustedDevicesWithResponse call

func (ClearTrustedDevicesResponse) ContentType

func (r ClearTrustedDevicesResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ClearTrustedDevicesResponse) GetApplicationproblemJSONDefault

func (r ClearTrustedDevicesResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (ClearTrustedDevicesResponse) GetBody

func (r ClearTrustedDevicesResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ClearTrustedDevicesResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ClearTrustedDevicesResponse) Status

Status returns HTTPResponse.Status

func (ClearTrustedDevicesResponse) StatusCode

func (r ClearTrustedDevicesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Client

type Client struct {
	// The endpoint of the server conforming to this interface, with scheme,
	// https://api.deepmap.com for example. This can contain a path relative
	// to the server, such as https://api.deepmap.com/dev-test, and all the
	// paths in the swagger spec will be appended to the server.
	Server string

	// Doer for performing requests, typically a *http.Client with any
	// customized settings, such as certificate chains.
	Client HttpRequestDoer

	// A list of callbacks for modifying requests which are generated before sending over
	// the network.
	RequestEditors []RequestEditorFn
}

Client which conforms to the OpenAPI3 specification for this service.

func NewClient

func NewClient(server string, opts ...ClientOption) (*Client, error)

Creates a new Client, with reasonable defaults

func (*Client) AcceptInvitation

func (c *Client) AcceptInvitation(ctx context.Context, token string, reqEditors ...RequestEditorFn) (*http.Response, error)

AcceptInvitation Accept an invitation (session only). Refused unless the session's verified email is the invited address; single use.

Corresponds with POST /invitations/{token} (the `AcceptInvitation` operationId).

func (*Client) AddSshKey

func (c *Client) AddSshKey(ctx context.Context, body AddSshKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

AddSshKey Register an SSH public key for ssh://git@…/{ns}/{name}.git (session-only).

Refused with `403 feature-not-included` where the caller's subscription does not include adding SSH keys; a self-hosted registry includes it. Keys already held keep working and can be listed and removed on every subscription.

Takes a body of the `application/json` content type.

Corresponds with POST /user/ssh-keys (the `AddSshKey` operationId).

func (*Client) AddSshKeyWithBody

func (c *Client) AddSshKeyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

AddSshKeyWithBody Register an SSH public key for ssh://git@…/{ns}/{name}.git (session-only).

Refused with `403 feature-not-included` where the caller's subscription does not include adding SSH keys; a self-hosted registry includes it. Keys already held keep working and can be listed and removed on every subscription.

Takes any type of body and a specified content type.

Corresponds with POST /user/ssh-keys (the `AddSshKey` operationId).

func (*Client) AddTeamMember

func (c *Client) AddTeamMember(ctx context.Context, org OrgHandle, team TeamSlug, handle Handle, reqEditors ...RequestEditorFn) (*http.Response, error)

AddTeamMember Add an org member to a team (admin+).

Corresponds with PUT /orgs/{org}/teams/{team}/members/{handle} (the `AddTeamMember` operationId).

func (*Client) ApproveOrgMember

func (c *Client) ApproveOrgMember(ctx context.Context, org OrgHandle, handle Handle, body ApproveOrgMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

ApproveOrgMember Approve a pending member (admin). The seat check fires here: a person provisioned by the organization's identity provider, or folded in from the organization's domain, holds no seat until an admin approves them.

Takes a body of the `application/json` content type.

Corresponds with POST /orgs/{org}/members/{handle}/approve (the `ApproveOrgMember` operationId).

func (*Client) ApproveOrgMemberWithBody

func (c *Client) ApproveOrgMemberWithBody(ctx context.Context, org OrgHandle, handle Handle, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

ApproveOrgMemberWithBody Approve a pending member (admin). The seat check fires here: a person provisioned by the organization's identity provider, or folded in from the organization's domain, holds no seat until an admin approves them.

Takes any type of body and a specified content type.

Corresponds with POST /orgs/{org}/members/{handle}/approve (the `ApproveOrgMember` operationId).

func (*Client) CheckDraft

func (c *Client) CheckDraft(ctx context.Context, body CheckDraftJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

CheckDraft AI Review of a finished draft before it is submitted.

Reads a finished QuickAgent draft's rendered package the two ways AI Review will: with the release rubric that stage S5 of the pipeline asks at publish (the manifest as its canonical JSON and every text file, in the same chunks, state and request shape, under the same rubric hash), so the person knows before Submit what AI Review will flag; and with the draft question set, which asks whether the draft's instruction does the task its description asks for. Beside them, with no judge, `ungranted` lists each runner tool the instruction calls for that the manifest does not grant (a browser tool with no `capabilities.browser`, `run_command` with no exec commands, `fetch` with no egress host, a host tool with no target host, a workspace file tool with no filesystem access, a `<server>__<tool>` of a server not declared), which stage S6 sends to a person at publish. A rubric question at 2 or more (the gate's medium) is a finding and `flagged`; so is a draft question at 2 or more. A half the judge could not answer for is `not_scanned`. This is not the publication scan: a submitted version is scanned in full whatever this said. Nothing of the package is kept or logged. `usage` is for the record, never a price (AI Review is 1 credit for a whole draft). Callers as for `POST /model-input/scan`. 422 `draft-unreadable` for a package with no `agent.yaml`, one that does not parse, or no instruction file; 413 `draft-too-large` past 32 files or 65,536 bytes of text; 503 `model-input-unavailable` when the deployment's judge is not TypeSafe's Jev.

Takes a body of the `application/json` content type.

Corresponds with POST /model-input/check (the `CheckDraft` operationId).

func (*Client) CheckDraftWithBody

func (c *Client) CheckDraftWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

CheckDraftWithBody AI Review of a finished draft before it is submitted.

Reads a finished QuickAgent draft's rendered package the two ways AI Review will: with the release rubric that stage S5 of the pipeline asks at publish (the manifest as its canonical JSON and every text file, in the same chunks, state and request shape, under the same rubric hash), so the person knows before Submit what AI Review will flag; and with the draft question set, which asks whether the draft's instruction does the task its description asks for. Beside them, with no judge, `ungranted` lists each runner tool the instruction calls for that the manifest does not grant (a browser tool with no `capabilities.browser`, `run_command` with no exec commands, `fetch` with no egress host, a host tool with no target host, a workspace file tool with no filesystem access, a `<server>__<tool>` of a server not declared), which stage S6 sends to a person at publish. A rubric question at 2 or more (the gate's medium) is a finding and `flagged`; so is a draft question at 2 or more. A half the judge could not answer for is `not_scanned`. This is not the publication scan: a submitted version is scanned in full whatever this said. Nothing of the package is kept or logged. `usage` is for the record, never a price (AI Review is 1 credit for a whole draft). Callers as for `POST /model-input/scan`. 422 `draft-unreadable` for a package with no `agent.yaml`, one that does not parse, or no instruction file; 413 `draft-too-large` past 32 files or 65,536 bytes of text; 503 `model-input-unavailable` when the deployment's judge is not TypeSafe's Jev.

Takes any type of body and a specified content type.

Corresponds with POST /model-input/check (the `CheckDraft` operationId).

func (*Client) ClearCurrentUserData

func (c *Client) ClearCurrentUserData(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

ClearCurrentUserData Clear the caller's credentials, installs and settings, and keep the account (session only).

Revokes every personal access token and SSH key, deletes every remembered browser (the ones that skip the second factor), consumes every pending desktop sign-in code, ends every session but the caller's, removes every account install, and resets the display name and the notification settings to their defaults (every switch on; mail still goes only to a verified address). The account itself stays: the handle, the email, the sign-in account at the directory, organization memberships, QuickAgents with their versions and repositories, stars, the subscription and credits are untouched. Audited as `user.data_clear` with the count of each class; after the commit an extension event `user.data_cleared` carries the user id, so an extension clears what it holds for the account (hosted run history). Session only: a token is refused, and so is a request without the session's CSRF token.

Corresponds with POST /user/clear-data (the `ClearCurrentUserData` operationId).

func (*Client) ClearTrustedDevices

func (c *Client) ClearTrustedDevices(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

ClearTrustedDevices Clear every remembered browser of the caller's account.

Revokes all of the caller's remembered browsers, this one included: each is asked for the second factor at its next sign-in, since the directory that set its cookie finds no record behind it. Sessions and authenticators are untouched. Session-only: a PAT is refused (403), as on the session-revoking routes.

Corresponds with DELETE /user/trusted-devices (the `ClearTrustedDevices` operationId).

func (*Client) CountTrustedDevices

func (c *Client) CountTrustedDevices(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

CountTrustedDevices How many browsers skip the caller's second factor.

The number of the caller's live remembered browsers: browsers where "Remember this device for 30 days" was ticked and whose record has not expired or been revoked. There is no list: the account's control is one button that clears them all. A PAT-authenticated caller gets 0, as it gets an empty session list: a token is not a way to take an inventory of someone's browsers.

Corresponds with GET /user/trusted-devices (the `CountTrustedDevices` operationId).

func (*Client) CreateAgent

func (c *Client) CreateAgent(ctx context.Context, body CreateAgentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateAgent Create an agent and its hosted git repository.

A private agent counts against the namespace's private-agent cap when the deployment's entitlements set one (the hosted product's subscription tiers): at the cap the answer is `422` with the problem type `private-agent-cap`, and the same on `PATCH` when an agent is turned private. A core registry caps nothing. A cap never deletes or hides an agent that is already private.

Takes a body of the `application/json` content type.

Corresponds with POST /agents (the `CreateAgent` operationId).

func (*Client) CreateAgentWithBody

func (c *Client) CreateAgentWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateAgentWithBody Create an agent and its hosted git repository.

A private agent counts against the namespace's private-agent cap when the deployment's entitlements set one (the hosted product's subscription tiers): at the cap the answer is `422` with the problem type `private-agent-cap`, and the same on `PATCH` when an agent is turned private. A core registry caps nothing. A cap never deletes or hides an agent that is already private.

Takes any type of body and a specified content type.

Corresponds with POST /agents (the `CreateAgent` operationId).

func (*Client) CreateAuditExport

func (c *Client) CreateAuditExport(ctx context.Context, org OrgHandle, body CreateAuditExportJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateAuditExport Start an async NDJSON audit export (admin+).

Takes a body of the `application/json` content type.

Corresponds with POST /orgs/{org}/audit/exports (the `CreateAuditExport` operationId).

func (*Client) CreateAuditExportWithBody

func (c *Client) CreateAuditExportWithBody(ctx context.Context, org OrgHandle, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateAuditExportWithBody Start an async NDJSON audit export (admin+).

Takes any type of body and a specified content type.

Corresponds with POST /orgs/{org}/audit/exports (the `CreateAuditExport` operationId).

func (*Client) CreateDesktopGrant

func (c *Client) CreateDesktopGrant(ctx context.Context, body CreateDesktopGrantJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateDesktopGrant Record a one-time grant for the desktop app's browser sign-in.

Session-only. The server's own `/ui/authorize` page calls this after the user consents; the response is a short-lived, single-use `code` bound to the app's `state` nonce. No token is minted here — the desktop app exchanges the code at `POST /auth/desktop/exchange` from its own process, so the PAT never travels in a URL. The grant's scopes are fixed to the desktop set (agent:read, agent:publish, repo:read, repo:write, user:profile, run:read, run:write). With `runhost`, the grant is for a remote runhost instead: its token carries `credits:session` alone and is named `Runhost <name> (credits only)`.

Takes a body of the `application/json` content type.

Corresponds with POST /user/tokens/desktop-grant (the `CreateDesktopGrant` operationId).

func (*Client) CreateDesktopGrantWithBody

func (c *Client) CreateDesktopGrantWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateDesktopGrantWithBody Record a one-time grant for the desktop app's browser sign-in.

Session-only. The server's own `/ui/authorize` page calls this after the user consents; the response is a short-lived, single-use `code` bound to the app's `state` nonce. No token is minted here — the desktop app exchanges the code at `POST /auth/desktop/exchange` from its own process, so the PAT never travels in a URL. The grant's scopes are fixed to the desktop set (agent:read, agent:publish, repo:read, repo:write, user:profile, run:read, run:write). With `runhost`, the grant is for a remote runhost instead: its token carries `credits:session` alone and is named `Runhost <name> (credits only)`.

Takes any type of body and a specified content type.

Corresponds with POST /user/tokens/desktop-grant (the `CreateDesktopGrant` operationId).

func (*Client) CreateDomainClaim

func (c *Client) CreateDomainClaim(ctx context.Context, org OrgHandle, body CreateDomainClaimJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateDomainClaim Start a domain claim; returns the DNS TXT challenge (admin+).

Takes a body of the `application/json` content type.

Corresponds with POST /orgs/{org}/domain-claims (the `CreateDomainClaim` operationId).

func (*Client) CreateDomainClaimWithBody

func (c *Client) CreateDomainClaimWithBody(ctx context.Context, org OrgHandle, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateDomainClaimWithBody Start a domain claim; returns the DNS TXT challenge (admin+).

Takes any type of body and a specified content type.

Corresponds with POST /orgs/{org}/domain-claims (the `CreateDomainClaim` operationId).

func (*Client) CreateInvitation

func (c *Client) CreateInvitation(ctx context.Context, org OrgHandle, body CreateInvitationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateInvitation Invite someone by email (admin). The invitation reserves a seat when it is sent and expires in seven days. Its token is a credential shown once in this response and stored only as a hash. It is also mailed to the address when the registry may write there: an address at the organization's own verified domain always, and any other address only when it belongs to an account whose address the registry has confirmed. Accepting an invitation sent to the organization's verified domain also confirms the accepting account's address, because the organization proved it controls that domain.

Takes a body of the `application/json` content type.

Corresponds with POST /orgs/{org}/invitations (the `CreateInvitation` operationId).

func (*Client) CreateInvitationWithBody

func (c *Client) CreateInvitationWithBody(ctx context.Context, org OrgHandle, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateInvitationWithBody Invite someone by email (admin). The invitation reserves a seat when it is sent and expires in seven days. Its token is a credential shown once in this response and stored only as a hash. It is also mailed to the address when the registry may write there: an address at the organization's own verified domain always, and any other address only when it belongs to an account whose address the registry has confirmed. Accepting an invitation sent to the organization's verified domain also confirms the accepting account's address, because the organization proved it controls that domain.

Takes any type of body and a specified content type.

Corresponds with POST /orgs/{org}/invitations (the `CreateInvitation` operationId).

func (*Client) CreateKnowledgePack

func (c *Client) CreateKnowledgePack(ctx context.Context, body CreateKnowledgePackJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateKnowledgePack Create a knowledge pack, empty, with its data key as the caller's wrapper wrapped it.

The client makes the pack's data key, has it wrapped (`POST /knowledge/keys/wrap`), and names it here; the registry checks that the wrapped key opens for the caller and keeps it beside the pack. The tree follows with `PUT /knowledge/packs/{packId}/tree`. A name is the pack's directory name: 1-64 lowercase letters, digits, `.`, `-` or `_`, starting with a letter or a digit, one per owner (409 `knowledge-name-taken`).

Takes a body of the `application/json` content type.

Corresponds with POST /knowledge/packs (the `CreateKnowledgePack` operationId).

func (*Client) CreateKnowledgePackWithBody

func (c *Client) CreateKnowledgePackWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateKnowledgePackWithBody Create a knowledge pack, empty, with its data key as the caller's wrapper wrapped it.

The client makes the pack's data key, has it wrapped (`POST /knowledge/keys/wrap`), and names it here; the registry checks that the wrapped key opens for the caller and keeps it beside the pack. The tree follows with `PUT /knowledge/packs/{packId}/tree`. A name is the pack's directory name: 1-64 lowercase letters, digits, `.`, `-` or `_`, starting with a letter or a digit, one per owner (409 `knowledge-name-taken`).

Takes any type of body and a specified content type.

Corresponds with POST /knowledge/packs (the `CreateKnowledgePack` operationId).

func (*Client) CreateOrg

func (c *Client) CreateOrg(ctx context.Context, body CreateOrgJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateOrg Create an organization; the caller becomes its first admin.

Takes a body of the `application/json` content type.

Corresponds with POST /orgs (the `CreateOrg` operationId).

func (*Client) CreateOrgKnowledgePack

func (c *Client) CreateOrgKnowledgePack(ctx context.Context, org OrgHandle, body CreateOrgKnowledgePackJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateOrgKnowledgePack Create a shared pack, empty, with its data key wrapped for the organization (admins).

As `POST /knowledge/packs`, with the data key wrapped by `POST /orgs/{org}/knowledge/keys/wrap`: the registry checks that it opens for the organization. The pack is not exportable by members until an admin marks it. Recorded in the organization's audit log (`org.knowledge_create`).

Takes a body of the `application/json` content type.

Corresponds with POST /orgs/{org}/knowledge/packs (the `CreateOrgKnowledgePack` operationId).

func (*Client) CreateOrgKnowledgePackWithBody

func (c *Client) CreateOrgKnowledgePackWithBody(ctx context.Context, org OrgHandle, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateOrgKnowledgePackWithBody Create a shared pack, empty, with its data key wrapped for the organization (admins).

As `POST /knowledge/packs`, with the data key wrapped by `POST /orgs/{org}/knowledge/keys/wrap`: the registry checks that it opens for the organization. The pack is not exportable by members until an admin marks it. Recorded in the organization's audit log (`org.knowledge_create`).

Takes any type of body and a specified content type.

Corresponds with POST /orgs/{org}/knowledge/packs (the `CreateOrgKnowledgePack` operationId).

func (*Client) CreateOrgReportDesign added in v0.7.5

func (c *Client) CreateOrgReportDesign(ctx context.Context, org OrgHandle, params *CreateOrgReportDesignParams, body CreateOrgReportDesignJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateOrgReportDesign Add a house report design to the organization's library (admins).

As `POST /user/report-designs`, validated by the core's pkg/reportdesign the same way and refused 422 the same way, with two rules of the organization's own: the library holds ten designs, an eleventh is 409 `conflict`; and a design's name is unique within the organization, compared without regard to case, since a run names one, so a second of a name is 409 `conflict`. A document that carries `logo`, `coverImage` or `customCover` stores each as the core's own re-encoding of it. Recorded in the organization's audit log (`org.report_design_create`). The answer carries the design in its canonical form, its images only on `include=assets`.

Takes a body of the `application/json` content type.

Corresponds with POST /orgs/{org}/report-designs (the `CreateOrgReportDesign` operationId).

func (*Client) CreateOrgReportDesignWithBody added in v0.7.5

func (c *Client) CreateOrgReportDesignWithBody(ctx context.Context, org OrgHandle, params *CreateOrgReportDesignParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateOrgReportDesignWithBody Add a house report design to the organization's library (admins).

As `POST /user/report-designs`, validated by the core's pkg/reportdesign the same way and refused 422 the same way, with two rules of the organization's own: the library holds ten designs, an eleventh is 409 `conflict`; and a design's name is unique within the organization, compared without regard to case, since a run names one, so a second of a name is 409 `conflict`. A document that carries `logo`, `coverImage` or `customCover` stores each as the core's own re-encoding of it. Recorded in the organization's audit log (`org.report_design_create`). The answer carries the design in its canonical form, its images only on `include=assets`.

Takes any type of body and a specified content type.

Corresponds with POST /orgs/{org}/report-designs (the `CreateOrgReportDesign` operationId).

func (*Client) CreateOrgWithBody

func (c *Client) CreateOrgWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateOrgWithBody Create an organization; the caller becomes its first admin.

Takes any type of body and a specified content type.

Corresponds with POST /orgs (the `CreateOrg` operationId).

func (*Client) CreateRulesetRelease

func (c *Client) CreateRulesetRelease(ctx context.Context, body CreateRulesetReleaseJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateRulesetRelease Register a ruleset release (platform staff).

Records the versioned scanner bundle a deployment is running, so scan runs can name it. Omitting the body registers the server's own embedded bundle. Honours `Idempotency-Key`; re-registering the same semver returns the existing row.

Takes a body of the `application/json` content type.

Corresponds with POST /platform/ruleset-releases (the `CreateRulesetRelease` operationId).

func (*Client) CreateRulesetReleaseWithBody

func (c *Client) CreateRulesetReleaseWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateRulesetReleaseWithBody Register a ruleset release (platform staff).

Records the versioned scanner bundle a deployment is running, so scan runs can name it. Omitting the body registers the server's own embedded bundle. Honours `Idempotency-Key`; re-registering the same semver returns the existing row.

Takes any type of body and a specified content type.

Corresponds with POST /platform/ruleset-releases (the `CreateRulesetRelease` operationId).

func (*Client) CreateTeam

func (c *Client) CreateTeam(ctx context.Context, org OrgHandle, body CreateTeamJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateTeam Create a team (admin+).

Takes a body of the `application/json` content type.

Corresponds with POST /orgs/{org}/teams (the `CreateTeam` operationId).

func (*Client) CreateTeamWithBody

func (c *Client) CreateTeamWithBody(ctx context.Context, org OrgHandle, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateTeamWithBody Create a team (admin+).

Takes any type of body and a specified content type.

Corresponds with POST /orgs/{org}/teams (the `CreateTeam` operationId).

func (*Client) CreateToken

func (c *Client) CreateToken(ctx context.Context, body CreateTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateToken Mint a PAT. The secret is returned exactly once.

Takes a body of the `application/json` content type.

Corresponds with POST /user/tokens (the `CreateToken` operationId).

func (*Client) CreateTokenWithBody

func (c *Client) CreateTokenWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateTokenWithBody Mint a PAT. The secret is returned exactly once.

Takes any type of body and a specified content type.

Corresponds with POST /user/tokens (the `CreateToken` operationId).

func (*Client) CreateUserReportDesign added in v0.7.4

func (c *Client) CreateUserReportDesign(ctx context.Context, params *CreateUserReportDesignParams, body CreateUserReportDesignJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateUserReportDesign Add a report design to the caller's library.

The design is validated by the core's pkg/reportdesign before it is stored: a document that breaks a rule (an unknown key, a name off a closed list, a font in a role it cannot take, a colour that is not `#rrggbb` or whose contrast on white is too low for where it goes, a text that is not one line, a cover fact twice, an image or a custom cover over its bounds, over 24 KB without them) is refused 422 (`validation`), the field named `design.<path>`. A version-2 document is refused the same way, with no mapping. The library holds ten designs: an eleventh is 409 `conflict`. `default` makes the new design the default, and the previous default an ordinary design of the library; without it the default is unchanged. A document that carries `logo`, `coverImage` or `customCover` stores each as the core's own re-encoding of it. The answer carries the design in its canonical form, its images only on `include=assets`.

Takes a body of the `application/json` content type.

Corresponds with POST /user/report-designs (the `CreateUserReportDesign` operationId).

func (*Client) CreateUserReportDesignWithBody added in v0.7.4

func (c *Client) CreateUserReportDesignWithBody(ctx context.Context, params *CreateUserReportDesignParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateUserReportDesignWithBody Add a report design to the caller's library.

The design is validated by the core's pkg/reportdesign before it is stored: a document that breaks a rule (an unknown key, a name off a closed list, a font in a role it cannot take, a colour that is not `#rrggbb` or whose contrast on white is too low for where it goes, a text that is not one line, a cover fact twice, an image or a custom cover over its bounds, over 24 KB without them) is refused 422 (`validation`), the field named `design.<path>`. A version-2 document is refused the same way, with no mapping. The library holds ten designs: an eleventh is 409 `conflict`. `default` makes the new design the default, and the previous default an ordinary design of the library; without it the default is unchanged. A document that carries `logo`, `coverImage` or `customCover` stores each as the core's own re-encoding of it. The answer carries the design in its canonical form, its images only on `include=assets`.

Takes any type of body and a specified content type.

Corresponds with POST /user/report-designs (the `CreateUserReportDesign` operationId).

func (*Client) CreateWebhook

func (c *Client) CreateWebhook(ctx context.Context, org OrgHandle, body CreateWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateWebhook Create a webhook endpoint (admin+).

Takes a body of the `application/json` content type.

Corresponds with POST /orgs/{org}/webhooks (the `CreateWebhook` operationId).

func (*Client) CreateWebhookWithBody

func (c *Client) CreateWebhookWithBody(ctx context.Context, org OrgHandle, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateWebhookWithBody Create a webhook endpoint (admin+).

Takes any type of body and a specified content type.

Corresponds with POST /orgs/{org}/webhooks (the `CreateWebhook` operationId).

func (*Client) DecideReviewItem

func (c *Client) DecideReviewItem(ctx context.Context, id openapi_types.UUID, body DecideReviewItemJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

DecideReviewItem Approve or reject a version under review (not its author, unless platform staff).

An author cannot decide their own version (403), whatever their organization role. Platform staff may decide any item, their own versions included; the decision's audit event then carries `self_decision: true`.

Takes a body of the `application/json` content type.

Corresponds with POST /review-items/{id}/decision (the `DecideReviewItem` operationId).

func (*Client) DecideReviewItemWithBody

func (c *Client) DecideReviewItemWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

DecideReviewItemWithBody Approve or reject a version under review (not its author, unless platform staff).

An author cannot decide their own version (403), whatever their organization role. Platform staff may decide any item, their own versions included; the decision's audit event then carries `self_decision: true`.

Takes any type of body and a specified content type.

Corresponds with POST /review-items/{id}/decision (the `DecideReviewItem` operationId).

func (*Client) DeclineOrgMember

func (c *Client) DeclineOrgMember(ctx context.Context, org OrgHandle, handle Handle, reqEditors ...RequestEditorFn) (*http.Response, error)

DeclineOrgMember Decline a pending member (admin): the pending membership is removed and no seat is consumed. An active member is removed with DELETE instead.

Corresponds with POST /orgs/{org}/members/{handle}/decline (the `DeclineOrgMember` operationId).

func (*Client) DecommissionOrg

func (c *Client) DecommissionOrg(ctx context.Context, org OrgHandle, body DecommissionOrgJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

DecommissionOrg Decommission the organization (admin; session only). It enters a read-only hold — members keep read and export — and at the end of the hold its agents, repositories, blobs and invitations are erased, its handle and domain released. The body must repeat the organization's handle. The last admin goes with it: this is the one way an organization loses its last admin (409 last-admin everywhere else).

Takes a body of the `application/json` content type.

Corresponds with POST /orgs/{org}/decommission (the `DecommissionOrg` operationId).

func (*Client) DecommissionOrgWithBody

func (c *Client) DecommissionOrgWithBody(ctx context.Context, org OrgHandle, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

DecommissionOrgWithBody Decommission the organization (admin; session only). It enters a read-only hold — members keep read and export — and at the end of the hold its agents, repositories, blobs and invitations are erased, its handle and domain released. The body must repeat the organization's handle. The last admin goes with it: this is the one way an organization loses its last admin (409 last-admin everywhere else).

Takes any type of body and a specified content type.

Corresponds with POST /orgs/{org}/decommission (the `DecommissionOrg` operationId).

func (*Client) DeleteAccountInstall

func (c *Client) DeleteAccountInstall(ctx context.Context, ns Namespace, name AgentName, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteAccountInstall Remove the caller's record for a QuickAgent (idempotent).

204 whether or not a record existed, and whether or not the name resolves: the row is the caller's own, so no QuickAgent is read and nothing is learned about one — a record whose QuickAgent the caller can no longer read is removed by the ref the list shows for it. Audited as `agent.uninstall` when a record went. A PAT needs `user:profile`.

Corresponds with DELETE /user/installs/{ns}/{name} (the `DeleteAccountInstall` operationId).

func (*Client) DeleteAgent

func (c *Client) DeleteAgent(ctx context.Context, ns Namespace, name AgentName, params *DeleteAgentParams, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteAgent Delete an agent (the namespace's administrators).

A token needs `agent:manage` or `org:admin`. An agent with no version row is deleted outright, with its hosted repository. An agent with version history is deleted as a tombstone: every published or quarantined version is yanked, the agent becomes private, and every route by name, the git transport and hosted runs answer the 404 a missing name gets, to everyone. Nothing is removed — version rows are kept forever, and the archives, receipts and audit trail stay — and the name stays held in its namespace: creating it again answers `409 name-held`. It cannot be undone. A tombstone needs `confirm` set to the agent's name (`422 confirm-name` otherwise). Refused with `409` while a version is still in the pipeline or in review, and while the agent carries trust & safety records (advisories, abuse reports, a quarantine or a block), which outlive the publisher's wish to remove it.

Corresponds with DELETE /agents/{ns}/{name} (the `DeleteAgent` operationId).

func (*Client) DeleteCurrentUser

func (c *Client) DeleteCurrentUser(ctx context.Context, params *DeleteCurrentUserParams, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteCurrentUser Erase the caller's account (GDPR flow).

Purges personal data and pseudonymizes the account. Published public versions are never deleted: they are either yanked, so already-installed copies keep verifying, or the personal-namespace agents are transferred to an organization the caller administers. When the account has published public versions the choice is explicit: omitting `publishedContent` is a 400, never a silent yank. When the deployment holds credentials in a directory service that an extension of the server reaches, the sign-in account there is deleted in the same step; the outcome is audited as `user.directory_erase` and returned in the `X-Agentry-Directory-Erasure` header. A failed directory attempt does not undo the registry's erasure: the directory retries it where it can (`pending`), and one that does not complete is raised to the operator. An account that is an organization's last admin is refused (409 last-admin) until another admin is in place; a transfer that would put the organization over its private-agent cap is refused (422 private-agent-cap) with nothing erased. The erased account's memberships go with it.

Corresponds with POST /user/delete (the `DeleteCurrentUser` operationId).

func (*Client) DeleteKnowledgePack

func (c *Client) DeleteKnowledgePack(ctx context.Context, packId KnowledgePackId, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteKnowledgePack Delete one of the caller's packs, its stored trees and its wrapped key.

Corresponds with DELETE /knowledge/packs/{packId} (the `DeleteKnowledgePack` operationId).

func (*Client) DeleteOrgKnowledgePack

func (c *Client) DeleteOrgKnowledgePack(ctx context.Context, org OrgHandle, packId KnowledgePackId, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteOrgKnowledgePack Delete a shared pack, its stored trees and its wrapped key (admins).

Recorded in the organization's audit log (`org.knowledge_delete`). A member's downloaded copy stays sealed under a data key only the organization's unwrap opens.

Corresponds with DELETE /orgs/{org}/knowledge/packs/{packId} (the `DeleteOrgKnowledgePack` operationId).

func (c *Client) DeleteOrgLogo(ctx context.Context, org OrgHandle, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteOrgLogo Remove the organization's logo (admin).

Corresponds with DELETE /orgs/{org}/logo (the `DeleteOrgLogo` operationId).

func (*Client) DeleteOrgReportDesign added in v0.7.5

func (c *Client) DeleteOrgReportDesign(ctx context.Context, org OrgHandle, designId ReportDesignId, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteOrgReportDesign Remove one of the organization's house report designs, images included (admins).

Another organization's design, or one already gone, is 404. Recorded in the organization's audit log (`org.report_design_delete`).

Corresponds with DELETE /orgs/{org}/report-designs/{designId} (the `DeleteOrgReportDesign` operationId).

func (*Client) DeleteOrgReportDesignCoverImage added in v0.7.5

func (c *Client) DeleteOrgReportDesignCoverImage(ctx context.Context, org OrgHandle, designId ReportDesignId, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteOrgReportDesignCoverImage Remove the cover image from one of the organization's house report designs (admins).

The design stays. Removing a cover image that is not there is not an error. The answer carries the design with its images.

Corresponds with DELETE /orgs/{org}/report-designs/{designId}/cover-image (the `DeleteOrgReportDesignCoverImage` operationId).

func (*Client) DeleteOrgReportDesignCustomCover added in v0.7.5

func (c *Client) DeleteOrgReportDesignCustomCover(ctx context.Context, org OrgHandle, designId ReportDesignId, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteOrgReportDesignCustomCover Remove the custom cover from one of the organization's house report designs (admins).

The design stays, its cover style included. Removing a custom cover that is not there is not an error. The answer carries the design with its images.

Corresponds with DELETE /orgs/{org}/report-designs/{designId}/custom-cover (the `DeleteOrgReportDesignCustomCover` operationId).

func (c *Client) DeleteOrgReportDesignLogo(ctx context.Context, org OrgHandle, designId ReportDesignId, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteOrgReportDesignLogo Remove the logo from one of the organization's house report designs (admins).

The design stays. Removing a logo that is not there is not an error. The answer carries the design with its images.

Corresponds with DELETE /orgs/{org}/report-designs/{designId}/logo (the `DeleteOrgReportDesignLogo` operationId).

func (*Client) DeleteTeam

func (c *Client) DeleteTeam(ctx context.Context, org OrgHandle, team TeamSlug, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteTeam Delete a team (admin+).

Corresponds with DELETE /orgs/{org}/teams/{team} (the `DeleteTeam` operationId).

func (*Client) DeleteUserReportDesign added in v0.7.4

func (c *Client) DeleteUserReportDesign(ctx context.Context, designId ReportDesignId, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteUserReportDesign Remove one of the caller's report designs, images included.

Removing the default leaves the account with no default. Another account's design, or one already gone, is 404.

Corresponds with DELETE /user/report-designs/{designId} (the `DeleteUserReportDesign` operationId).

func (*Client) DeleteUserReportDesignCoverImage added in v0.7.4

func (c *Client) DeleteUserReportDesignCoverImage(ctx context.Context, designId ReportDesignId, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteUserReportDesignCoverImage Remove the cover image from one of the caller's report designs.

The design stays. Removing a cover image that is not there is not an error. The answer carries the design with its images.

Corresponds with DELETE /user/report-designs/{designId}/cover-image (the `DeleteUserReportDesignCoverImage` operationId).

func (*Client) DeleteUserReportDesignCustomCover added in v0.7.4

func (c *Client) DeleteUserReportDesignCustomCover(ctx context.Context, designId ReportDesignId, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteUserReportDesignCustomCover Remove the custom cover from one of the caller's report designs.

The design stays, its cover style included: a `custom` style with no custom cover draws the band style. Removing a custom cover that is not there is not an error. The answer carries the design with its images.

Corresponds with DELETE /user/report-designs/{designId}/custom-cover (the `DeleteUserReportDesignCustomCover` operationId).

func (c *Client) DeleteUserReportDesignLogo(ctx context.Context, designId ReportDesignId, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteUserReportDesignLogo Remove the logo from one of the caller's report designs.

The design stays. Removing a logo that is not there is not an error. The answer carries the design with its images.

Corresponds with DELETE /user/report-designs/{designId}/logo (the `DeleteUserReportDesignLogo` operationId).

func (*Client) DeleteVoice

func (c *Client) DeleteVoice(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteVoice Delete the caller's voice, every version of it and its data key.

Corresponds with DELETE /voice (the `DeleteVoice` operationId).

func (*Client) DeleteWebhook

func (c *Client) DeleteWebhook(ctx context.Context, org OrgHandle, id WebhookID, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteWebhook Delete a webhook endpoint (admin+).

Corresponds with DELETE /orgs/{org}/webhooks/{id} (the `DeleteWebhook` operationId).

func (*Client) DiscardVoicePending

func (c *Client) DiscardVoicePending(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

DiscardVoicePending Drop the caller's pending version, in review or flagged.

Corresponds with DELETE /voice/pending (the `DiscardVoicePending` operationId).

func (*Client) DownloadKnowledgeTree

func (c *Client) DownloadKnowledgeTree(ctx context.Context, packId KnowledgePackId, reqEditors ...RequestEditorFn) (*http.Response, error)

DownloadKnowledgeTree The pack's sealed tree, as stored; the client opens it with the unwrapped data key (409 `knowledge-scanning` while it is scanned).

Corresponds with GET /knowledge/packs/{packId}/tree (the `DownloadKnowledgeTree` operationId).

func (*Client) DownloadOrgKnowledgeTree

func (c *Client) DownloadOrgKnowledgeTree(ctx context.Context, org OrgHandle, packId KnowledgePackId, reqEditors ...RequestEditorFn) (*http.Response, error)

DownloadOrgKnowledgeTree A shared pack's sealed tree, as stored, for any active member (409 `knowledge-scanning` while it is scanned).

Corresponds with GET /orgs/{org}/knowledge/packs/{packId}/tree (the `DownloadOrgKnowledgeTree` operationId).

func (*Client) DownloadVersion

func (c *Client) DownloadVersion(ctx context.Context, ns Namespace, name AgentName, version VersionString, reqEditors ...RequestEditorFn) (*http.Response, error)

DownloadVersion Download the release archive (counts an install).

Corresponds with GET /agents/{ns}/{name}/versions/{version}/download (the `DownloadVersion` operationId).

func (*Client) ExchangeDesktopCode

func (c *Client) ExchangeDesktopCode(ctx context.Context, body ExchangeDesktopCodeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

ExchangeDesktopCode Exchange a desktop sign-in code for the PAT it granted.

Unauthenticated; the code is the credential. Single use, bound to the `state` nonce the desktop app generated, and valid for 60 seconds from the grant. The PAT is minted at this moment and returned exactly once, like `createToken`. Rate-limited with the login class.

Takes a body of the `application/json` content type.

Corresponds with POST /auth/desktop/exchange (the `ExchangeDesktopCode` operationId).

func (*Client) ExchangeDesktopCodeWithBody

func (c *Client) ExchangeDesktopCodeWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

ExchangeDesktopCodeWithBody Exchange a desktop sign-in code for the PAT it granted.

Unauthenticated; the code is the credential. Single use, bound to the `state` nonce the desktop app generated, and valid for 60 seconds from the grant. The PAT is minted at this moment and returned exactly once, like `createToken`. Rate-limited with the login class.

Takes any type of body and a specified content type.

Corresponds with POST /auth/desktop/exchange (the `ExchangeDesktopCode` operationId).

func (*Client) ExportKnowledgePack

func (c *Client) ExportKnowledgePack(ctx context.Context, packId KnowledgePackId, reqEditors ...RequestEditorFn) (*http.Response, error)

ExportKnowledgePack The pack's tree, decrypted as it streams, to its owner alone.

The canonical tar of the pack's `wiki/` and `sources/`, whose SHA-256 is the pack's digest; `Cache-Control: no-store`; 404 to anyone but the owner; 409 `knowledge-scanning` while the pack is scanned.

Corresponds with GET /knowledge/packs/{packId}/export (the `ExportKnowledgePack` operationId).

func (*Client) ExportOrgKnowledgePack

func (c *Client) ExportOrgKnowledgePack(ctx context.Context, org OrgHandle, packId KnowledgePackId, reqEditors ...RequestEditorFn) (*http.Response, error)

ExportOrgKnowledgePack A shared pack's tree, decrypted as it streams, to an admin, or to a member once the pack is marked exportable.

As `GET /knowledge/packs/{packId}/export`. A member's export of a pack not marked exportable is 403 `knowledge-not-exportable`. Recorded in the organization's audit log (`org.knowledge_export`).

Corresponds with GET /orgs/{org}/knowledge/packs/{packId}/export (the `ExportOrgKnowledgePack` operationId).

func (*Client) ForkAgent

func (c *Client) ForkAgent(ctx context.Context, ns Namespace, name AgentName, body ForkAgentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

ForkAgent Fork a public agent into a namespace the caller may create in.

Makes a private copy of a public agent: a new agent in `namespace`, under the origin's name unless `name` gives another, that records the origin and the published version it was taken from, for good. A fork is never public (`PATCH` to public answers `409 fork-stays-private`). The fork is answered `202` with `forkState: copying`: a worker then copies from the origin's repository the forked release's commit and its history, when the release was tagged and scanned, and nothing else (no other branch or tag; objects copied rather than shared), writes one commit, "Fork of ns/name@version", on top of it or, with nothing copied, from the release's archive, that renames the manifest into the fork's namespace, tags it with the origin's version and submits it through the pipeline like any submission, charged like one. `forkState` is then `ready`, or `failed` with `forkDetail` saying why. The origin must be readable, public, neither quarantined nor blocked, and have a published version; the caller must be able to create a private agent in `namespace` (its owner, or an active member of the organization), within its agent quota and private-agent cap. A name the namespace already has answers `409 name-taken`; one a deleted agent holds, `409 name-held`.

Takes a body of the `application/json` content type.

Corresponds with POST /agents/{ns}/{name}/fork (the `ForkAgent` operationId).

func (*Client) ForkAgentWithBody

func (c *Client) ForkAgentWithBody(ctx context.Context, ns Namespace, name AgentName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

ForkAgentWithBody Fork a public agent into a namespace the caller may create in.

Makes a private copy of a public agent: a new agent in `namespace`, under the origin's name unless `name` gives another, that records the origin and the published version it was taken from, for good. A fork is never public (`PATCH` to public answers `409 fork-stays-private`). The fork is answered `202` with `forkState: copying`: a worker then copies from the origin's repository the forked release's commit and its history, when the release was tagged and scanned, and nothing else (no other branch or tag; objects copied rather than shared), writes one commit, "Fork of ns/name@version", on top of it or, with nothing copied, from the release's archive, that renames the manifest into the fork's namespace, tags it with the origin's version and submits it through the pipeline like any submission, charged like one. `forkState` is then `ready`, or `failed` with `forkDetail` saying why. The origin must be readable, public, neither quarantined nor blocked, and have a published version; the caller must be able to create a private agent in `namespace` (its owner, or an active member of the organization), within its agent quota and private-agent cap. A name the namespace already has answers `409 name-taken`; one a deleted agent holds, `409 name-held`.

Takes any type of body and a specified content type.

Corresponds with POST /agents/{ns}/{name}/fork (the `ForkAgent` operationId).

func (*Client) GetAdvisory

func (c *Client) GetAdvisory(ctx context.Context, advisoryId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

GetAdvisory One published advisory (permalink); public agents only.

Only an advisory against a public agent resolves; any other id is a 404, so a private agent's advisory is not discoverable by id. A holder of the agent's release reads it through `affecting`.

Corresponds with GET /advisories/{advisoryId} (the `GetAdvisory` operationId).

func (*Client) GetAgent

func (c *Client) GetAgent(ctx context.Context, ns Namespace, name AgentName, reqEditors ...RequestEditorFn) (*http.Response, error)

GetAgent Agent metadata (public agents readable by anyone).

A public agent is readable by anyone. A private agent is readable by its owner, the owning org's admins, and anyone holding a grant on it; every other caller, anonymous included, gets the 404 a missing name gets — never a 401 or 403 that would confirm the name exists. The same rule holds on every route under `/agents/{ns}/{name}`.

Corresponds with GET /agents/{ns}/{name} (the `GetAgent` operationId).

func (*Client) GetAgentReadme

func (c *Client) GetAgentReadme(ctx context.Context, ns Namespace, name AgentName, params *GetAgentReadmeParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetAgentReadme The agent README rendered to sanitized HTML.

Markdown is rendered server-side through a strict allowlist: no raw HTML, no user styles, no SVG, external links rewritten, and invisible or bidi Unicode replaced with visible placeholders.

Corresponds with GET /agents/{ns}/{name}/readme (the `GetAgentReadme` operationId).

func (*Client) GetAgentStats

func (c *Client) GetAgentStats(ctx context.Context, ns Namespace, name AgentName, reqEditors ...RequestEditorFn) (*http.Response, error)

GetAgentStats Star count and install counts for an agent.

Corresponds with GET /agents/{ns}/{name}/stats (the `GetAgentStats` operationId).

func (*Client) GetAuditExport

func (c *Client) GetAuditExport(ctx context.Context, org OrgHandle, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

GetAuditExport Poll an audit export's status and download reference (admin+).

Corresponds with GET /orgs/{org}/audit/exports/{id} (the `GetAuditExport` operationId).

func (*Client) GetConnectors

func (c *Client) GetConnectors(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

GetConnectors Agentry's connectors and this deployment's public client ids.

Every connector this build's catalogue holds: the vendor products whose servers Agentry has vetted. A connector whose app is a public client carries the `publicClientId` this deployment registered for it, which a client uses for a local sign-in to that connector's servers; it is absent where the deployment has configured none. No client secret is ever listed.

Corresponds with GET /connectors (the `GetConnectors` operationId).

func (*Client) GetCurrentUser

func (c *Client) GetCurrentUser(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

GetCurrentUser The authenticated user.

Corresponds with GET /user (the `GetCurrentUser` operationId).

func (*Client) GetDesktopApps added in v0.7.7

func (c *Client) GetDesktopApps(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

GetDesktopApps Agentry's catalogue of application servers.

Every entry of this build's catalogue of application servers: for each application a QuickAgent may use on the person's own computer (`capabilities.desktop.servers` names an entry by its id), the MCP server Agentry has vetted for it, pinned to one exact release; how Agentry Desktop launches or reaches it; the loopback port the application listens on; every tool a run may call, with its class (`read`, `act` or `exec`, which asks the person before each call); the tools no run is given; and the hosts the server is known to reach from the person's computer, which no run can hold it to. Clients carry the same catalogue from their build; this route lets a page or a script read it.

Corresponds with GET /desktop-apps (the `GetDesktopApps` operationId).

func (*Client) GetDomainOrg

func (c *Client) GetDomainOrg(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

GetDomainOrg Which organization the caller's verified email domain belongs to. 403 email-unverified until the address is verified.

Corresponds with GET /user/domain-org (the `GetDomainOrg` operationId).

func (*Client) GetInvitation

func (c *Client) GetInvitation(ctx context.Context, token string, reqEditors ...RequestEditorFn) (*http.Response, error)

GetInvitation Read an invitation by its token (session only). Says which organization and role it offers and whether the signed-in account may accept it.

Corresponds with GET /invitations/{token} (the `GetInvitation` operationId).

func (*Client) GetKnowledgePack

func (c *Client) GetKnowledgePack(ctx context.Context, packId KnowledgePackId, reqEditors ...RequestEditorFn) (*http.Response, error)

GetKnowledgePack One of the caller's packs with its scan report; 404 to anyone else.

Corresponds with GET /knowledge/packs/{packId} (the `GetKnowledgePack` operationId).

func (*Client) GetKnowledgeUsage

func (c *Client) GetKnowledgeUsage(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

GetKnowledgeUsage What the caller keeps in the registry against their allocation.

Corresponds with GET /knowledge/usage (the `GetKnowledgeUsage` operationId).

func (*Client) GetLatestRulesetAttestation

func (c *Client) GetLatestRulesetAttestation(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

GetLatestRulesetAttestation DSSE attestation over the bundle `…/latest/bundle` serves.

An in-toto statement (predicate `https://agentry.dev/attestation/ruleset/v1`) whose subject digest is the bundle's content digest, signed with the registry's release-signing key (`/.well-known/agentry/signing-keys.json`). Lets `agentry validate --rules-update` verify a fetched bundle by signature rather than only by the digest the same server advertised. The worker signs it at start and stores it, so every replica serves the same envelope. 404 when the registry does not sign (`signing.kind: none`), or when no process holding the signing key has started with this bundle yet (a rolling deploy).

Corresponds with GET /ruleset-releases/latest/attestation (the `GetLatestRulesetAttestation` operationId).

func (*Client) GetLatestRulesetBundle

func (c *Client) GetLatestRulesetBundle(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

GetLatestRulesetBundle The newest published S3/S4 rule bundle, for `agentry validate --rules-update`.

Returns the deployment's rule bundle as an uncompressed tar of the bundle directory (`bundle.yaml` plus the family YAML files), exactly the bytes `pkg/rules.LoadBundle` reads. The advertised identity travels in headers so a client can check what it got without unpacking first:

`X-Agentry-Bundle-Semver`: the ruleset release semver; `X-Agentry-Bundle-Digest`: the `sha256:<hex>` content digest recorded on the `ruleset_releases` row; `ETag`: the same digest.

The digest is the pin: a client MUST recompute it over the received bundle and refuse a mismatch. Bundle-level *signatures* do not exist yet; this endpoint pins by digest only.

Corresponds with GET /ruleset-releases/latest/bundle (the `GetLatestRulesetBundle` operationId).

func (*Client) GetMcpServerScan

func (c *Client) GetMcpServerScan(ctx context.Context, params *GetMcpServerScanParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetMcpServerScan The registry's last vulnerability check of one MCP server package version.

What S7 recorded for the exact package version: `safe` means no known advisories at `lastCheckedAt`, `vulnerable` lists them, `error` means the last lookup failed and the advisories are the last known. Each advisory carries its own `severity` and the gate's rating of it, `gateSeverity`. 404 when no manifest has ever declared this version. The runner asks here before installing a declared server.

Corresponds with GET /mcp-servers/scan (the `GetMcpServerScan` operationId).

func (*Client) GetMeta

func (c *Client) GetMeta(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

GetMeta Server version and self-host feature flags.

Corresponds with GET /meta (the `GetMeta` operationId).

func (*Client) GetOrg

func (c *Client) GetOrg(ctx context.Context, org OrgHandle, reqEditors ...RequestEditorFn) (*http.Response, error)

GetOrg Organization profile (public fields; settings for admins).

Corresponds with GET /orgs/{org} (the `GetOrg` operationId).

func (*Client) GetOrgKnowledgePack

func (c *Client) GetOrgKnowledgePack(ctx context.Context, org OrgHandle, packId KnowledgePackId, reqEditors ...RequestEditorFn) (*http.Response, error)

GetOrgKnowledgePack One of the organization's shared packs with its scan report.

Corresponds with GET /orgs/{org}/knowledge/packs/{packId} (the `GetOrgKnowledgePack` operationId).

func (*Client) GetOrgKnowledgeUsage

func (c *Client) GetOrgKnowledgeUsage(ctx context.Context, org OrgHandle, reqEditors ...RequestEditorFn) (*http.Response, error)

GetOrgKnowledgeUsage What the organization keeps in the registry against the allocation its packs draw on.

Corresponds with GET /orgs/{org}/knowledge/usage (the `GetOrgKnowledgeUsage` operationId).

func (c *Client) GetOrgLogo(ctx context.Context, org OrgHandle, reqEditors ...RequestEditorFn) (*http.Response, error)

GetOrgLogo The organization's logo, as this registry re-encoded it.

A raster the core decoded and encoded again from the pixels: the bytes an admin uploaded are never what is served. The type is pinned and not sniffed. The URL an organization's resource carries (`logoUrl`) names the content by its `v`, and that URL is served as immutable for a year; the bare path, or one whose `v` is no longer the logo served, answers the current logo with `no-cache`. Clients render `logoUrl` as given and never build the path. 404 when the organization has none, or is not one the caller may see.

Corresponds with GET /orgs/{org}/logo (the `GetOrgLogo` operationId).

func (*Client) GetOrgPolicy

func (c *Client) GetOrgPolicy(ctx context.Context, org OrgHandle, reqEditors ...RequestEditorFn) (*http.Response, error)

GetOrgPolicy The org policy overlay (admin+).

Corresponds with GET /orgs/{org}/policy (the `GetOrgPolicy` operationId).

func (*Client) GetOrgReportDesign added in v0.7.5

func (c *Client) GetOrgReportDesign(ctx context.Context, org OrgHandle, designId ReportDesignId, params *GetOrgReportDesignParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetOrgReportDesign One of the organization's house report designs, for any active member.

The design in its canonical form. Its images (`logo`, `coverImage`, `customCover`) come only with `include=assets`: a run that draws them asks for them, a console that lists them does not. Another organization's design is 404.

Corresponds with GET /orgs/{org}/report-designs/{designId} (the `GetOrgReportDesign` operationId).

func (*Client) GetPlatformPolicy

func (c *Client) GetPlatformPolicy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

GetPlatformPolicy The read-only platform baseline policy.

Corresponds with GET /platform/policy (the `GetPlatformPolicy` operationId).

func (*Client) GetReviewFile

func (c *Client) GetReviewFile(ctx context.Context, id openapi_types.UUID, params *GetReviewFileParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetReviewFile One file's content from the archive under review (reviewer/staff).

Corresponds with GET /review-items/{id}/file (the `GetReviewFile` operationId).

func (*Client) GetReviewItem

func (c *Client) GetReviewItem(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

GetReviewItem One review item with its findings bundle.

Corresponds with GET /review-items/{id} (the `GetReviewItem` operationId).

func (*Client) GetUserManagedSettings added in v0.7.9

func (c *Client) GetUserManagedSettings(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

GetUserManagedSettings The managed settings the caller's organization set for them, signed.

The values an organization's admins set for this member's Agentry clients, as a DSSE envelope of payload type `application/vnd.agentry.managed-settings+json` signed with the registry's release-signing key (the keys at `/.well-known/agentry/signing-keys.json`). The payload is described by `schemas/managed-settings-1.schema.json`. The registry sets its `registry` and `account` fields, and a client accepts a document only from the registry and for the account it is signed in to. A locked setting is one the member cannot change; one that is not locked is an organization default. The answer is 204 when no settings apply to the caller, and 503 when the registry has no signing key or no base URL, since an unsigned or unbound document is never served.

Corresponds with GET /user/managed-settings (the `GetUserManagedSettings` operationId).

func (*Client) GetUserNotificationSettings

func (c *Client) GetUserNotificationSettings(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

GetUserNotificationSettings How the registry's alerts reach the caller.

Email per kind of notification, and whether the dependency-alert banner shows in a front end (the site reads it). An account that never changed anything reads back with everything on.

Corresponds with GET /user/notifications (the `GetUserNotificationSettings` operationId).

func (*Client) GetUserProfile

func (c *Client) GetUserProfile(ctx context.Context, handle Handle, reqEditors ...RequestEditorFn) (*http.Response, error)

GetUserProfile Public profile for a user handle.

Corresponds with GET /users/{handle} (the `GetUserProfile` operationId).

func (*Client) GetUserReportDesign added in v0.7.4

func (c *Client) GetUserReportDesign(ctx context.Context, designId ReportDesignId, params *GetUserReportDesignParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetUserReportDesign One of the caller's report designs.

The design in its canonical form. Its images (`logo`, `coverImage`, `customCover`) come only with `include=assets`: a client that does not draw them reads the document without them. Another account's design is 404.

Corresponds with GET /user/report-designs/{designId} (the `GetUserReportDesign` operationId).

func (*Client) GetVersionAttestation

func (c *Client) GetVersionAttestation(ctx context.Context, ns Namespace, name AgentName, version VersionString, reqEditors ...RequestEditorFn) (*http.Response, error)

GetVersionAttestation The signed DSSE attestation, verbatim.

Corresponds with GET /agents/{ns}/{name}/versions/{version}/attestation (the `GetVersionAttestation` operationId).

func (*Client) GetVersionFile

func (c *Client) GetVersionFile(ctx context.Context, ns Namespace, name AgentName, version VersionString, params *GetVersionFileParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetVersionFile Read one file from the version's release archive.

Text files return UTF-8 content up to the display cap with a truncation flag; binary files return metadata only (binary true), never raw bytes. Same access gate as listVersionFiles.

Corresponds with GET /agents/{ns}/{name}/versions/{version}/file (the `GetVersionFile` operationId).

func (*Client) GetVersionInfo

func (c *Client) GetVersionInfo(ctx context.Context, ns Namespace, name AgentName, version VersionString, reqEditors ...RequestEditorFn) (*http.Response, error)

GetVersionInfo One version with its state and archive identity.

Corresponds with GET /agents/{ns}/{name}/versions/{version} (the `GetVersionInfo` operationId).

func (*Client) GetVersionManifest

func (c *Client) GetVersionManifest(ctx context.Context, ns Namespace, name AgentName, version VersionString, reqEditors ...RequestEditorFn) (*http.Response, error)

GetVersionManifest The validated manifest (canonical JSON).

Corresponds with GET /agents/{ns}/{name}/versions/{version}/manifest (the `GetVersionManifest` operationId).

func (*Client) GetVersionReport

func (c *Client) GetVersionReport(ctx context.Context, ns Namespace, name AgentName, version VersionString, reqEditors ...RequestEditorFn) (*http.Response, error)

GetVersionReport The scan report for a version (findings, ruleset, verdict).

Corresponds with GET /agents/{ns}/{name}/versions/{version}/report (the `GetVersionReport` operationId).

func (*Client) GetVoice

func (c *Client) GetVoice(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

GetVoice The caller's Writing Voice, every version's text with its review.

Corresponds with GET /voice (the `GetVoice` operationId).

func (*Client) GetWebhook

func (c *Client) GetWebhook(ctx context.Context, org OrgHandle, id WebhookID, reqEditors ...RequestEditorFn) (*http.Response, error)

GetWebhook Get a webhook endpoint (admin+).

Corresponds with GET /orgs/{org}/webhooks/{id} (the `GetWebhook` operationId).

func (*Client) ListAbuseReports

func (c *Client) ListAbuseReports(ctx context.Context, params *ListAbuseReportsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

ListAbuseReports Abuse reports for triage (platform staff).

Corresponds with GET /platform/abuse-reports (the `ListAbuseReports` operationId).

func (*Client) ListAccountInstalls

func (c *Client) ListAccountInstalls(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

ListAccountInstalls The caller's account installs, composed for a list.

Every record the caller holds, newest change first. A record whose QuickAgent the caller can no longer read — made private to them, its organization suspended — is listed as the bare `ref` with `readable: false` and nothing else, so the list tells a former reader nothing they did not already know. A PAT needs `user:profile`.

Corresponds with GET /user/installs (the `ListAccountInstalls` operationId).

func (*Client) ListAdvisories

func (c *Client) ListAdvisories(ctx context.Context, params *ListAdvisoriesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

ListAdvisories Published advisories — for one agent, or the global feed.

With `affecting`, the advisories against that agent (newest first), under the agent's own read rule: a private agent's advisories are its readers' (the owning user, the owning org's admins, and anyone holding a grant on the agent), and anyone else — anonymous or signed in — gets the 404 a missing name gets, so the agent's existence is not discoverable here. The one exception is a holder of one of its releases: a signed-in caller whose account install names the agent, or any caller presenting with `digest` the archive digest of a version of it that was ever published, gets its advisories whatever its visibility, retired or deleted state now, so the people who installed it while it was public still learn of an advisory published after it went private. Without it, the global feed: every published advisory against a public agent, newest first, keyset-paged with `cursor`/`limit` and a `Link: rel="next"` header. Each item carries `agent` (`ns/name`) so a feed reader can find the affected QuickAgent.

Corresponds with GET /advisories (the `ListAdvisories` operationId).

func (*Client) ListAgentActivity

func (c *Client) ListAgentActivity(ctx context.Context, ns Namespace, name AgentName, params *ListAgentActivityParams, reqEditors ...RequestEditorFn) (*http.Response, error)

ListAgentActivity Recent activity for an agent.

Drawn from the audit log. Anyone who can see a public agent gets the public-safe subset: publishes and yanks; callers with an explicit read grant (or namespace-derived read) see the fuller stream including submissions, settings changes, and grant changes.

Corresponds with GET /agents/{ns}/{name}/activity (the `ListAgentActivity` operationId).

func (*Client) ListAgentGrants

func (c *Client) ListAgentGrants(ctx context.Context, ns Namespace, name AgentName, reqEditors ...RequestEditorFn) (*http.Response, error)

ListAgentGrants List explicit grants (maintain).

Corresponds with GET /agents/{ns}/{name}/grants (the `ListAgentGrants` operationId).

func (*Client) ListAgents

func (c *Client) ListAgents(ctx context.Context, params *ListAgentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

ListAgents List agents in a namespace (public ones for everyone).

Public agents for everyone; the private ones too for the namespace's owner and the active members of its organization. A deleted agent is never listed. The publisher's page narrows and orders the list with `q`, `state`, `forks` and `sort`, and each agent carries `installs30d`, `lastSubmittedAt`, `forkCount` on a public agent, `forkedFrom` and `forkState` on a fork and, when it is retired, `retiredAt`.

Corresponds with GET /agents (the `ListAgents` operationId).

func (*Client) ListAgentsByTag

func (c *Client) ListAgentsByTag(ctx context.Context, tag string, params *ListAgentsByTagParams, reqEditors ...RequestEditorFn) (*http.Response, error)

ListAgentsByTag Public agents tagged with {tag}.

Matches the tag list of each agent's latest published manifest (`manifest.tags`, V8). Blocked agents never appear.

Corresponds with GET /tags/{tag} (the `ListAgentsByTag` operationId).

func (*Client) ListDomainClaims

func (c *Client) ListDomainClaims(ctx context.Context, org OrgHandle, reqEditors ...RequestEditorFn) (*http.Response, error)

ListDomainClaims List domain claims (admin+).

Corresponds with GET /orgs/{org}/domain-claims (the `ListDomainClaims` operationId).

func (*Client) ListInvitations

func (c *Client) ListInvitations(ctx context.Context, org OrgHandle, reqEditors ...RequestEditorFn) (*http.Response, error)

ListInvitations List the organization's open invitations (admin).

Corresponds with GET /orgs/{org}/invitations (the `ListInvitations` operationId).

func (*Client) ListKnowledgePackSizes

func (c *Client) ListKnowledgePackSizes(ctx context.Context, params *ListKnowledgePackSizesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

ListKnowledgePackSizes An account's or an organization's packs by name and size, for support (platform staff).

Names, states and sizes only: never a byte of content, a digest, a scan report or a key.

Corresponds with GET /platform/knowledge (the `ListKnowledgePackSizes` operationId).

func (*Client) ListKnowledgePacks

func (c *Client) ListKnowledgePacks(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

ListKnowledgePacks The caller's knowledge packs, by name.

Corresponds with GET /knowledge/packs (the `ListKnowledgePacks` operationId).

func (*Client) ListOrgAudit

func (c *Client) ListOrgAudit(ctx context.Context, org OrgHandle, params *ListOrgAuditParams, reqEditors ...RequestEditorFn) (*http.Response, error)

ListOrgAudit Org audit events, newest first (admin+; cursor paged).

Corresponds with GET /orgs/{org}/audit (the `ListOrgAudit` operationId).

func (*Client) ListOrgKnowledgePacks

func (c *Client) ListOrgKnowledgePacks(ctx context.Context, org OrgHandle, reqEditors ...RequestEditorFn) (*http.Response, error)

ListOrgKnowledgePacks The organization's shared packs, by name, for any active member.

Corresponds with GET /orgs/{org}/knowledge/packs (the `ListOrgKnowledgePacks` operationId).

func (*Client) ListOrgMembers

func (c *Client) ListOrgMembers(ctx context.Context, org OrgHandle, reqEditors ...RequestEditorFn) (*http.Response, error)

ListOrgMembers List members with roles (members can view).

Corresponds with GET /orgs/{org}/members (the `ListOrgMembers` operationId).

func (*Client) ListOrgReportDesigns added in v0.7.5

func (c *Client) ListOrgReportDesigns(ctx context.Context, org OrgHandle, reqEditors ...RequestEditorFn) (*http.Response, error)

ListOrgReportDesigns The organization's house report designs, for any active member.

Up to ten named report designs the organization's admins keep, oldest first, which a member picks for a run by the organization's handle and the design's name. There is no default: a run that picks none takes the person's own default. Membership is read at every call, and a signed-in caller who is not an active member of the organization is answered 404, so the route says nothing of what an organization keeps to anyone outside it. The images are not listed; each entry says which it has.

Corresponds with GET /orgs/{org}/report-designs (the `ListOrgReportDesigns` operationId).

func (*Client) ListPlatformAudit

func (c *Client) ListPlatformAudit(ctx context.Context, params *ListPlatformAuditParams, reqEditors ...RequestEditorFn) (*http.Response, error)

ListPlatformAudit Audit events across every org (platform staff).

The staff-wide slice of the audit log, newest first. Staff access to it is itself audited, one event per call.

Corresponds with GET /platform/audit (the `ListPlatformAudit` operationId).

func (*Client) ListRedTeamReports

func (c *Client) ListRedTeamReports(ctx context.Context, params *ListRedTeamReportsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

ListRedTeamReports Reports of the scheduled red-team job against the S3/S4 gate (platform staff).

Newest first. Each report is one run of the attack corpus's rewrites (paraphrase, encoding, unicode and obfuscation mutators) scanned with the rule bundle in service, and lists the rewrites an expected rule no longer caught. Report-only: nothing on the publish path reads these.

Corresponds with GET /platform/redteam/reports (the `ListRedTeamReports` operationId).

func (*Client) ListReviewFiles

func (c *Client) ListReviewFiles(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

ListReviewFiles File inventory of the archive under review (reviewer/staff).

Corresponds with GET /review-items/{id}/files (the `ListReviewFiles` operationId).

func (*Client) ListReviewQueue

func (c *Client) ListReviewQueue(ctx context.Context, params *ListReviewQueueParams, reqEditors ...RequestEditorFn) (*http.Response, error)

ListReviewQueue Pending review items (platform staff, or an org's security_reviewer for its queue).

The platform queue is platform staff's. An org queue is that organization's reviewers' and platform staff's; staff may leave `org` out to list every organization's pending items, and anyone else must name it (422).

Corresponds with GET /review-queue (the `ListReviewQueue` operationId).

func (*Client) ListRulesetReleases

func (c *Client) ListRulesetReleases(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

ListRulesetReleases Ruleset releases, newest first (platform staff).

Corresponds with GET /platform/ruleset-releases (the `ListRulesetReleases` operationId).

func (*Client) ListSshKeys

func (c *Client) ListSshKeys(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

ListSshKeys List the caller's SSH public keys for the git transport.

Corresponds with GET /user/ssh-keys (the `ListSshKeys` operationId).

func (*Client) ListTeamMembers

func (c *Client) ListTeamMembers(ctx context.Context, org OrgHandle, team TeamSlug, reqEditors ...RequestEditorFn) (*http.Response, error)

ListTeamMembers List team members (org members can view).

Corresponds with GET /orgs/{org}/teams/{team}/members (the `ListTeamMembers` operationId).

func (*Client) ListTeams

func (c *Client) ListTeams(ctx context.Context, org OrgHandle, reqEditors ...RequestEditorFn) (*http.Response, error)

ListTeams List teams (members can view).

Corresponds with GET /orgs/{org}/teams (the `ListTeams` operationId).

func (*Client) ListTokens

func (c *Client) ListTokens(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

ListTokens List the caller's personal access tokens (metadata only).

Corresponds with GET /user/tokens (the `ListTokens` operationId).

func (*Client) ListUserActivity

func (c *Client) ListUserActivity(ctx context.Context, params *ListUserActivityParams, reqEditors ...RequestEditorFn) (*http.Response, error)

ListUserActivity The caller's own activity — the audit events they performed.

Sign-ins, tokens and SSH keys created or revoked, profile and notification changes, publishes and reviews, newest first, with the address and user agent each was performed from. Keyset-paged like the agent activity feed.

Corresponds with GET /user/activity (the `ListUserActivity` operationId).

func (*Client) ListUserDependencyAlerts

func (c *Client) ListUserDependencyAlerts(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

ListUserDependencyAlerts Open dependency alerts on published versions the caller submitted.

A dependency alert says a published version declares an MCP server version that the daily sweep found to carry a newly known high or critical vulnerability. It closes on its own when the version is yanked, quarantined or blocked, or when the advisory is withdrawn; publishing a fixed version does not close the old version's alert. A front end shows these; the site renders them as the banner after sign-in and on the dashboard.

Corresponds with GET /user/dependency-alerts (the `ListUserDependencyAlerts` operationId).

func (*Client) ListUserReportDesigns added in v0.7.4

func (c *Client) ListUserReportDesigns(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

ListUserReportDesigns The caller's report design library.

Up to ten named report designs, oldest first, and which one is the default: the design `export_pdf` renders with in the caller's runs when the run picks none. The model never chooses a design. An account with no designs, or none as the default, reads back with no `default`, which is not the same as Plain: a signed-in client then falls to its own configuration, else Plain. The images are not listed; each entry says which it has.

Corresponds with GET /user/report-designs (the `ListUserReportDesigns` operationId).

func (*Client) ListUserSessions

func (c *Client) ListUserSessions(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

ListUserSessions List the caller's active browser sessions.

Sessions are cookie sessions. A PAT-authenticated caller has no sessions of its own, so the list is empty (200, not an error). A PAT is not a way to enumerate someone's browser sessions.

Corresponds with GET /user/sessions (the `ListUserSessions` operationId).

func (*Client) ListVersionFiles

func (c *Client) ListVersionFiles(ctx context.Context, ns Namespace, name AgentName, version VersionString, reqEditors ...RequestEditorFn) (*http.Response, error)

ListVersionFiles List the files inside the version's release archive.

The same inventory a reviewer sees, opened under the download access gate: published and yanked versions list, blocked versions return 410, quarantined versions 409. Browsing does not count an install.

Corresponds with GET /agents/{ns}/{name}/versions/{version}/files (the `ListVersionFiles` operationId).

func (*Client) ListVersions

func (c *Client) ListVersions(ctx context.Context, ns Namespace, name AgentName, reqEditors ...RequestEditorFn) (*http.Response, error)

ListVersions Version history, newest first.

Corresponds with GET /agents/{ns}/{name}/versions (the `ListVersions` operationId).

func (*Client) ListWebhookDeliveries

func (c *Client) ListWebhookDeliveries(ctx context.Context, org OrgHandle, id WebhookID, params *ListWebhookDeliveriesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

ListWebhookDeliveries Recent delivery attempts for an endpoint (admin+).

Corresponds with GET /orgs/{org}/webhooks/{id}/deliveries (the `ListWebhookDeliveries` operationId).

func (*Client) ListWebhooks

func (c *Client) ListWebhooks(ctx context.Context, org OrgHandle, reqEditors ...RequestEditorFn) (*http.Response, error)

ListWebhooks List webhook endpoints (admin+).

Corresponds with GET /orgs/{org}/webhooks (the `ListWebhooks` operationId).

func (*Client) Logout

func (c *Client) Logout(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

Logout Revoke the current session.

Corresponds with POST /auth/logout (the `Logout` operationId).

func (*Client) PingWebhook

func (c *Client) PingWebhook(ctx context.Context, org OrgHandle, id WebhookID, reqEditors ...RequestEditorFn) (*http.Response, error)

PingWebhook Send a test delivery to an endpoint (admin+).

Enqueues a signed `ping` delivery through the ordinary webhook machinery (same signature header, same SSRF guard, same retry schedule), so the recorded attempt appears in `GET …/{id}/deliveries`. Honours `Idempotency-Key`.

Corresponds with POST /orgs/{org}/webhooks/{id}/ping (the `PingWebhook` operationId).

func (*Client) PlatformAgentAction

func (c *Client) PlatformAgentAction(ctx context.Context, ns Namespace, name AgentName, action PlatformAgentActionParamsAction, body PlatformAgentActionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PlatformAgentAction Quarantine, block, or reinstate an agent (platform staff).

Quarantine and block take effect before the response. Reinstate clears the agent's flag and asks for a fresh scan of each of its blocked and quarantined versions, then returns; it publishes nothing itself. A version is published again, signed as any publication is, only when the gate's verdict on its new scan is publish, and its open review item is closed with the reinstate's reason. Every other version stays held: a blocked one becomes quarantined once its verdict exists, and each has an open platform review item for a person to decide against the new scan. A version admitted without a scan has no scan to judge and stays as it is.

Takes a body of the `application/json` content type.

Corresponds with POST /platform/agents/{ns}/{name}/{action} (the `PlatformAgentAction` operationId).

func (*Client) PlatformAgentActionWithBody

func (c *Client) PlatformAgentActionWithBody(ctx context.Context, ns Namespace, name AgentName, action PlatformAgentActionParamsAction, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

PlatformAgentActionWithBody Quarantine, block, or reinstate an agent (platform staff).

Quarantine and block take effect before the response. Reinstate clears the agent's flag and asks for a fresh scan of each of its blocked and quarantined versions, then returns; it publishes nothing itself. A version is published again, signed as any publication is, only when the gate's verdict on its new scan is publish, and its open review item is closed with the reinstate's reason. Every other version stays held: a blocked one becomes quarantined once its verdict exists, and each has an open platform review item for a person to decide against the new scan. A version admitted without a scan has no scan to judge and stays as it is.

Takes any type of body and a specified content type.

Corresponds with POST /platform/agents/{ns}/{name}/{action} (the `PlatformAgentAction` operationId).

func (*Client) PutAccountInstall

func (c *Client) PutAccountInstall(ctx context.Context, ns Namespace, name AgentName, body PutAccountInstallJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PutAccountInstall Record a QuickAgent release as installed to the account, or move the record to another version.

The version must be a published release the caller can read: a non-reader gets the missing name's 404, an unpublished version `409 version-not-published`, a blocked QuickAgent `410 blocked`. The request carries the acceptances the release needs and is refused with `409 install-consent-required`, naming the missing ones in `missing`, when it lacks any: `capabilities` on a first install and, on an update, when the new version's declared capabilities widened against the accepted snapshot (`widened` lists what did); `unsigned` whenever the release carries no attestation; `unscanned` whenever it was admitted without a scan. A PUT on an existing record is the update, to any published version, an older one included: the version moves and the snapshot follows it. The action is audited as `agent.install`; no download counter moves. A PAT needs `user:profile`, and `agent:read` for a private QuickAgent.

Takes a body of the `application/json` content type.

Corresponds with PUT /user/installs/{ns}/{name} (the `PutAccountInstall` operationId).

func (*Client) PutAccountInstallWithBody

func (c *Client) PutAccountInstallWithBody(ctx context.Context, ns Namespace, name AgentName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

PutAccountInstallWithBody Record a QuickAgent release as installed to the account, or move the record to another version.

The version must be a published release the caller can read: a non-reader gets the missing name's 404, an unpublished version `409 version-not-published`, a blocked QuickAgent `410 blocked`. The request carries the acceptances the release needs and is refused with `409 install-consent-required`, naming the missing ones in `missing`, when it lacks any: `capabilities` on a first install and, on an update, when the new version's declared capabilities widened against the accepted snapshot (`widened` lists what did); `unsigned` whenever the release carries no attestation; `unscanned` whenever it was admitted without a scan. A PUT on an existing record is the update, to any published version, an older one included: the version moves and the snapshot follows it. The action is audited as `agent.install`; no download counter moves. A PAT needs `user:profile`, and `agent:read` for a private QuickAgent.

Takes any type of body and a specified content type.

Corresponds with PUT /user/installs/{ns}/{name} (the `PutAccountInstall` operationId).

func (*Client) PutOrgLogoWithBody

func (c *Client) PutOrgLogoWithBody(ctx context.Context, org OrgHandle, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

PutOrgLogoWithBody Set the organization's logo (admin; the subscription must include branding).

Multipart, one part named `file`: PNG or JPEG, at most 256 KB. Anything else is 415 `unsupported-image` — SVG in particular, for which this registry has no sanitiser. Over the cap, over 16 million pixels, or larger re-encoded than a logo may be, is 413 `upload-too-large`. The core decodes it and encodes it again; the pixels are kept, the bytes are not. Replaces any logo the organization had. 403 `feature-not-included` while the subscription does not include branding.

Takes any type of body and a specified content type.

Corresponds with PUT /orgs/{org}/logo (the `PutOrgLogo` operationId).

func (*Client) PutOrgReportDesignCoverImageWithBody added in v0.7.5

func (c *Client) PutOrgReportDesignCoverImageWithBody(ctx context.Context, org OrgHandle, designId ReportDesignId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

PutOrgReportDesignCoverImageWithBody Set the cover image of one of the organization's house report designs (admins).

As `PUT /user/report-designs/{designId}/cover-image`: multipart, one part named `file`, a PNG or a JPEG of at most 2 MB, kept only as the core's own re-encoding of its pixels in the format it came in. Recorded in the organization's audit log (`org.report_design_update`). The answer carries the design with its images.

Takes any type of body and a specified content type.

Corresponds with PUT /orgs/{org}/report-designs/{designId}/cover-image (the `PutOrgReportDesignCoverImage` operationId).

func (*Client) PutOrgReportDesignCustomCover added in v0.7.5

func (c *Client) PutOrgReportDesignCustomCover(ctx context.Context, org OrgHandle, designId ReportDesignId, body PutOrgReportDesignCustomCoverJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PutOrgReportDesignCustomCover Set the custom cover of one of the organization's house report designs (admins).

As `PUT /user/report-designs/{designId}/custom-cover`: the custom cover whole, its source held to its bounds and never read, each image and the thumbnail encoded again by the core. Recorded in the organization's audit log (`org.report_design_update`). The answer carries the design with its images.

Takes a body of the `application/json` content type.

Corresponds with PUT /orgs/{org}/report-designs/{designId}/custom-cover (the `PutOrgReportDesignCustomCover` operationId).

func (*Client) PutOrgReportDesignCustomCoverWithBody added in v0.7.5

func (c *Client) PutOrgReportDesignCustomCoverWithBody(ctx context.Context, org OrgHandle, designId ReportDesignId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

PutOrgReportDesignCustomCoverWithBody Set the custom cover of one of the organization's house report designs (admins).

As `PUT /user/report-designs/{designId}/custom-cover`: the custom cover whole, its source held to its bounds and never read, each image and the thumbnail encoded again by the core. Recorded in the organization's audit log (`org.report_design_update`). The answer carries the design with its images.

Takes any type of body and a specified content type.

Corresponds with PUT /orgs/{org}/report-designs/{designId}/custom-cover (the `PutOrgReportDesignCustomCover` operationId).

func (*Client) PutOrgReportDesignLogoWithBody added in v0.7.5

func (c *Client) PutOrgReportDesignLogoWithBody(ctx context.Context, org OrgHandle, designId ReportDesignId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

PutOrgReportDesignLogoWithBody Set the logo of one of the organization's house report designs (admins).

As `PUT /user/report-designs/{designId}/logo`: multipart, one part named `file`, a PNG or a JPEG of at most 512 KB, kept only as the core's own re-encoding of its pixels. Recorded in the organization's audit log (`org.report_design_update`). The answer carries the design with its images.

Takes any type of body and a specified content type.

Corresponds with PUT /orgs/{org}/report-designs/{designId}/logo (the `PutOrgReportDesignLogo` operationId).

func (*Client) PutUserReportDesignCoverImageWithBody added in v0.7.4

func (c *Client) PutUserReportDesignCoverImageWithBody(ctx context.Context, designId ReportDesignId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

PutUserReportDesignCoverImageWithBody Set the cover image of one of the caller's report designs.

Multipart, one part named `file`: PNG or JPEG, at most 2 MB. The core decodes it, scales it down to fit 2048 pixels each way and encodes it again from the pixels in the format it came in (a photograph stays a JPEG), so nothing of the upload but its pixels is kept; the runner draws it across the top of a plate cover and offers it to a custom cover, and it never comes from the model or a URL. Anything but a PNG or a JPEG is 415 `unsupported-image`; over 2 MB, over 16 million pixels, or over 2 MB encoded again is 413 `upload-too-large`. Replaces any cover image the design had. The answer carries the design with its images.

Takes any type of body and a specified content type.

Corresponds with PUT /user/report-designs/{designId}/cover-image (the `PutUserReportDesignCoverImage` operationId).

func (*Client) PutUserReportDesignCustomCover added in v0.7.4

func (c *Client) PutUserReportDesignCustomCover(ctx context.Context, designId ReportDesignId, body PutUserReportDesignCustomCoverJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PutUserReportDesignCustomCover Set the custom cover of one of the caller's report designs.

The custom cover whole: its Typst source (at most 32 KiB of text), its images (at most six, each a PNG or a JPEG in base64 that the core decodes, pixel-caps and encodes again in its format, 2 MB in all as stored) and, optionally, a PNG thumbnail of its last render (at most 300 KB). The source is code the runner compiles only under the confinement every export runs in, with the render root as its whole world; it is held to its bounds here, not read. A cover over a bound is 422 (`validation`) naming `customCover.<path>`; an image in no format the core reads is 415 `unsupported-image`. Replaces any custom cover the design had. The design draws it only while its cover style is `custom`. The answer carries the design with its images.

Takes a body of the `application/json` content type.

Corresponds with PUT /user/report-designs/{designId}/custom-cover (the `PutUserReportDesignCustomCover` operationId).

func (*Client) PutUserReportDesignCustomCoverWithBody added in v0.7.4

func (c *Client) PutUserReportDesignCustomCoverWithBody(ctx context.Context, designId ReportDesignId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

PutUserReportDesignCustomCoverWithBody Set the custom cover of one of the caller's report designs.

The custom cover whole: its Typst source (at most 32 KiB of text), its images (at most six, each a PNG or a JPEG in base64 that the core decodes, pixel-caps and encodes again in its format, 2 MB in all as stored) and, optionally, a PNG thumbnail of its last render (at most 300 KB). The source is code the runner compiles only under the confinement every export runs in, with the render root as its whole world; it is held to its bounds here, not read. A cover over a bound is 422 (`validation`) naming `customCover.<path>`; an image in no format the core reads is 415 `unsupported-image`. Replaces any custom cover the design had. The design draws it only while its cover style is `custom`. The answer carries the design with its images.

Takes any type of body and a specified content type.

Corresponds with PUT /user/report-designs/{designId}/custom-cover (the `PutUserReportDesignCustomCover` operationId).

func (*Client) PutUserReportDesignLogoWithBody added in v0.7.4

func (c *Client) PutUserReportDesignLogoWithBody(ctx context.Context, designId ReportDesignId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

PutUserReportDesignLogoWithBody Set the logo of one of the caller's report designs.

Multipart, one part named `file`: PNG or JPEG, at most 512 KB. The core decodes it, scales it down to fit 1024 pixels each way and encodes it again as PNG from the pixels, so nothing of the upload but its pixels is kept; the runner draws it in the title block, on a cover whose facts include it and in a logoLeft header, and it never comes from the model or a URL. Anything but a PNG or a JPEG (SVG and GIF included) is 415 `unsupported-image`; over 512 KB, over 16 million pixels, or over 512 KB as a PNG is 413 `upload-too-large`. Replaces any logo the design had. The answer carries the design with its images.

Takes any type of body and a specified content type.

Corresponds with PUT /user/report-designs/{designId}/logo (the `PutUserReportDesignLogo` operationId).

func (*Client) PutVoice

func (c *Client) PutVoice(ctx context.Context, body PutVoiceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PutVoice Put a new version of the caller's voice, to be reviewed before it is live.

The text becomes the pending version, replacing any pending one, and its review is queued; the live version stays live until this one passes. `source` is `edit` for text saved on the web and `upload` for a voice sent from a client. A deployment whose extension charges for the review may refuse the call in its own status and words (a balance, say) before anything is stored.

Takes a body of the `application/json` content type.

Corresponds with PUT /voice (the `PutVoice` operationId).

func (*Client) PutVoiceWithBody

func (c *Client) PutVoiceWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

PutVoiceWithBody Put a new version of the caller's voice, to be reviewed before it is live.

The text becomes the pending version, replacing any pending one, and its review is queued; the live version stays live until this one passes. `source` is `edit` for text saved on the web and `upload` for a voice sent from a client. A deployment whose extension charges for the review may refuse the call in its own status and words (a balance, say) before anything is stored.

Takes any type of body and a specified content type.

Corresponds with PUT /voice (the `PutVoice` operationId).

func (*Client) ReinstateOrg

func (c *Client) ReinstateOrg(ctx context.Context, org OrgHandle, reqEditors ...RequestEditorFn) (*http.Response, error)

ReinstateOrg Reinstate a suspended organization, or cancel a decommission hold before its erasure runs (platform staff). An organization already erased cannot come back (409).

Corresponds with POST /orgs/{org}/reinstate (the `ReinstateOrg` operationId).

func (*Client) RemoveAgentTeamGrant

func (c *Client) RemoveAgentTeamGrant(ctx context.Context, ns Namespace, name AgentName, team TeamSlug, reqEditors ...RequestEditorFn) (*http.Response, error)

RemoveAgentTeamGrant Remove a team grant (maintain).

Corresponds with DELETE /agents/{ns}/{name}/grants/team/{team} (the `RemoveAgentTeamGrant` operationId).

func (*Client) RemoveAgentUserGrant

func (c *Client) RemoveAgentUserGrant(ctx context.Context, ns Namespace, name AgentName, handle Handle, reqEditors ...RequestEditorFn) (*http.Response, error)

RemoveAgentUserGrant Remove a user grant (maintain).

Corresponds with DELETE /agents/{ns}/{name}/grants/user/{handle} (the `RemoveAgentUserGrant` operationId).

func (*Client) RemoveOrgMember

func (c *Client) RemoveOrgMember(ctx context.Context, org OrgHandle, handle Handle, reqEditors ...RequestEditorFn) (*http.Response, error)

RemoveOrgMember Remove a member (admin), or leave: any active member may remove themselves, since a person belongs to one organization at a time and must be able to leave it. Removing a pending member is how an admin declines them; the last admin cannot be removed or leave (409 last-admin) — only a decommission removes them.

Corresponds with DELETE /orgs/{org}/members/{handle} (the `RemoveOrgMember` operationId).

func (*Client) RemoveSshKey

func (c *Client) RemoveSshKey(ctx context.Context, keyId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

RemoveSshKey Remove an SSH public key (session-only).

Corresponds with DELETE /user/ssh-keys/{keyId} (the `RemoveSshKey` operationId).

func (*Client) RemoveTeamMember

func (c *Client) RemoveTeamMember(ctx context.Context, org OrgHandle, team TeamSlug, handle Handle, reqEditors ...RequestEditorFn) (*http.Response, error)

RemoveTeamMember Remove a member from a team (admin+).

Corresponds with DELETE /orgs/{org}/teams/{team}/members/{handle} (the `RemoveTeamMember` operationId).

func (*Client) ReportAbuse

func (c *Client) ReportAbuse(ctx context.Context, ns Namespace, name AgentName, body ReportAbuseJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

ReportAbuse Report malicious or abusive content (authed, rate-limited).

Takes a body of the `application/json` content type.

Corresponds with POST /agents/{ns}/{name}/abuse-reports (the `ReportAbuse` operationId).

func (*Client) ReportAbuseWithBody

func (c *Client) ReportAbuseWithBody(ctx context.Context, ns Namespace, name AgentName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

ReportAbuseWithBody Report malicious or abusive content (authed, rate-limited).

Takes any type of body and a specified content type.

Corresponds with POST /agents/{ns}/{name}/abuse-reports (the `ReportAbuse` operationId).

func (*Client) RequestDomainOrgAccess

func (c *Client) RequestDomainOrgAccess(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

RequestDomainOrgAccess Ask the administrators of the organization that holds the caller's email domain to add them (session only). Mails the admins, once a day per person (429 rate-limited afterwards), audited as `org.access_request`. 404 when no organization holds the domain; 409 when the caller is already a member there.

Corresponds with POST /user/domain-org/request-access (the `RequestDomainOrgAccess` operationId).

func (*Client) ResolveRef

func (c *Client) ResolveRef(ctx context.Context, params *ResolveRefParams, reqEditors ...RequestEditorFn) (*http.Response, error)

ResolveRef Resolve ns/name@range to a concrete version.

Corresponds with GET /resolve (the `ResolveRef` operationId).

func (*Client) RestoreAgent

func (c *Client) RestoreAgent(ctx context.Context, ns Namespace, name AgentName, reqEditors ...RequestEditorFn) (*http.Response, error)

RestoreAgent Restore a retired agent (the namespace's administrators).

Returns a retired agent to the visibility it had. A token needs `agent:manage` or `org:admin`. Back to public it meets the rules of any agent becoming public (`409 agent-unscanned`, also when pipeline: skip was set while it was retired); back to private it takes a place under the private-agent cap again (`422 private-agent-cap`). `409 agent-not-retired` when it is not retired.

Corresponds with POST /agents/{ns}/{name}/restore (the `RestoreAgent` operationId).

func (*Client) RestoreVoice

func (c *Client) RestoreVoice(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

RestoreVoice Put the previous version back.

A previous version reviewed under the question set in use now trades places with the live one at once (200). One reviewed under another set becomes the pending version, source `restore`, and is reviewed like any other (202); a deployment that charges for a review may refuse that call first.

Corresponds with POST /voice/restore (the `RestoreVoice` operationId).

func (*Client) RetireAgent

func (c *Client) RetireAgent(ctx context.Context, ns Namespace, name AgentName, reqEditors ...RequestEditorFn) (*http.Response, error)

RetireAgent Retire an agent (the namespace's administrators).

Makes the agent private and labels it retired, keeping the visibility it had for Restore. A token needs `agent:manage` or `org:admin`. A retired agent takes no submission (`409 agent-retired`), is in no public listing, and holds no place under the private-agent cap. Its versions are untouched. Retiring a retired agent changes nothing.

Corresponds with POST /agents/{ns}/{name}/retire (the `RetireAgent` operationId).

func (*Client) RevokeInvitation

func (c *Client) RevokeInvitation(ctx context.Context, org OrgHandle, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

RevokeInvitation Revoke an open invitation (admin); its seat is released.

Corresponds with DELETE /orgs/{org}/invitations/{id} (the `RevokeInvitation` operationId).

func (*Client) RevokeOtherUserSessions

func (c *Client) RevokeOtherUserSessions(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

RevokeOtherUserSessions Revoke every session except the calling one ("sign out everywhere else").

The calling session survives, so the caller is not logged out of the browser they are using. Session-only: a PAT cannot revoke sessions (403), for the same reason it cannot list them.

Corresponds with DELETE /user/sessions (the `RevokeOtherUserSessions` operationId).

func (*Client) RevokeToken

func (c *Client) RevokeToken(ctx context.Context, tokenId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

RevokeToken Revoke a PAT immediately.

Session-only, except that a PAT may revoke itself, whatever its scopes, `credits:session` included.

Corresponds with DELETE /user/tokens/{tokenId} (the `RevokeToken` operationId).

func (*Client) RevokeUserSession

func (c *Client) RevokeUserSession(ctx context.Context, sessionId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

RevokeUserSession Revoke one of the caller's own sessions.

Own sessions only. An id that is not one of the caller's live sessions answers 404 whether it does not exist or belongs to somebody else. The two are deliberately indistinguishable. Session-only: a PAT cannot revoke sessions (403).

Corresponds with DELETE /user/sessions/{sessionId} (the `RevokeUserSession` operationId).

func (*Client) ScanModelInput

func (c *Client) ScanModelInput(ctx context.Context, body ScanModelInputJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

ScanModelInput AI Review of text a model is about to read.

Scans pushed text as model input: the deployment's judge is asked the model-input question set (injection, exfiltration, user deception, obfuscation), in 8 KiB chunks asked in parallel, and answers per chunk with scores. The text's score is the highest over its chunks and questions; 2 or more (the gate's medium) is `withheld`, and a chunk the judge could not answer (an error, a timeout, an answer out of shape) makes the text `not_scanned`, which a caller treats as withheld. Nothing of the text is kept or logged. `usage` counts the judge's requests and tokens for the record; it is never a price (AI Review is charged per operation, not per scan). Open to platform staff by session, and to a hosted job's credential in `X-Agentry-Job-Token` where an extension admits it; a token is refused whatever its scopes. 503 `model-input-unavailable` when the deployment's judge is not TypeSafe's Jev.

Takes a body of the `application/json` content type.

Corresponds with POST /model-input/scan (the `ScanModelInput` operationId).

func (*Client) ScanModelInputWithBody

func (c *Client) ScanModelInputWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

ScanModelInputWithBody AI Review of text a model is about to read.

Scans pushed text as model input: the deployment's judge is asked the model-input question set (injection, exfiltration, user deception, obfuscation), in 8 KiB chunks asked in parallel, and answers per chunk with scores. The text's score is the highest over its chunks and questions; 2 or more (the gate's medium) is `withheld`, and a chunk the judge could not answer (an error, a timeout, an answer out of shape) makes the text `not_scanned`, which a caller treats as withheld. Nothing of the text is kept or logged. `usage` counts the judge's requests and tokens for the record; it is never a price (AI Review is charged per operation, not per scan). Open to platform staff by session, and to a hosted job's credential in `X-Agentry-Job-Token` where an extension admits it; a token is refused whatever its scopes. 503 `model-input-unavailable` when the deployment's judge is not TypeSafe's Jev.

Takes any type of body and a specified content type.

Corresponds with POST /model-input/scan (the `ScanModelInput` operationId).

func (*Client) SearchAgents

func (c *Client) SearchAgents(ctx context.Context, params *SearchAgentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

SearchAgents Full-text search over public agents with facets.

Corresponds with GET /search (the `SearchAgents` operationId).

func (*Client) SearchModelInput

func (c *Client) SearchModelInput(ctx context.Context, body SearchModelInputJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

SearchModelInput Web search through the deployment's provider, every result scanned.

Searches the web through the deployment's search provider with the registry's own key, then scans each result (its title, address and snippet) as model input, as `POST /model-input/scan` does. Only scanned results come back: a `withheld` or `not_scanned` result carries its origin (scheme and host), verdict and scores, never its title, its snippet or the rest of its address. The query goes to the search provider and is neither kept nor logged. Callers as for `POST /model-input/scan`. 503 `web-search-unavailable` when no provider is configured, 503 `model-input-unavailable` when there is no judge to scan the results, 502 `web-search-failed` when the provider did not answer.

Takes a body of the `application/json` content type.

Corresponds with POST /model-input/search (the `SearchModelInput` operationId).

func (*Client) SearchModelInputWithBody

func (c *Client) SearchModelInputWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

SearchModelInputWithBody Web search through the deployment's provider, every result scanned.

Searches the web through the deployment's search provider with the registry's own key, then scans each result (its title, address and snippet) as model input, as `POST /model-input/scan` does. Only scanned results come back: a `withheld` or `not_scanned` result carries its origin (scheme and host), verdict and scores, never its title, its snippet or the rest of its address. The query goes to the search provider and is neither kept nor logged. Callers as for `POST /model-input/scan`. 503 `web-search-unavailable` when no provider is configured, 503 `model-input-unavailable` when there is no judge to scan the results, 502 `web-search-failed` when the provider did not answer.

Takes any type of body and a specified content type.

Corresponds with POST /model-input/search (the `SearchModelInput` operationId).

func (*Client) SendEmailVerification

func (c *Client) SendEmailVerification(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

SendEmailVerification Send the caller a new activation link.

Mails a new link that confirms the account's address and so activates it. An unactivated account (an address not yet confirmed) can read but not write; this is one of the few writes it may make. At most one mail per account every five minutes, counted from the last one sent, the one sent at the first sign-in included: sooner is a 429 with `Retry-After` and `resendAfter`. A link works once and for 24 hours, and an earlier unexpired link keeps working. An account whose address is already confirmed, or that has no address a link can reach, is a 409.

Corresponds with POST /user/email-verification (the `SendEmailVerification` operationId).

func (*Client) SetAgentTeamGrant

func (c *Client) SetAgentTeamGrant(ctx context.Context, ns Namespace, name AgentName, team TeamSlug, body SetAgentTeamGrantJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

SetAgentTeamGrant Grant an org team a per-agent role (maintain; org agents only).

Takes a body of the `application/json` content type.

Corresponds with PUT /agents/{ns}/{name}/grants/team/{team} (the `SetAgentTeamGrant` operationId).

func (*Client) SetAgentTeamGrantWithBody

func (c *Client) SetAgentTeamGrantWithBody(ctx context.Context, ns Namespace, name AgentName, team TeamSlug, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

SetAgentTeamGrantWithBody Grant an org team a per-agent role (maintain; org agents only).

Takes any type of body and a specified content type.

Corresponds with PUT /agents/{ns}/{name}/grants/team/{team} (the `SetAgentTeamGrant` operationId).

func (*Client) SetAgentUserGrant

func (c *Client) SetAgentUserGrant(ctx context.Context, ns Namespace, name AgentName, handle Handle, body SetAgentUserGrantJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

SetAgentUserGrant Grant a user a per-agent role (maintain).

Takes a body of the `application/json` content type.

Corresponds with PUT /agents/{ns}/{name}/grants/user/{handle} (the `SetAgentUserGrant` operationId).

func (*Client) SetAgentUserGrantWithBody

func (c *Client) SetAgentUserGrantWithBody(ctx context.Context, ns Namespace, name AgentName, handle Handle, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

SetAgentUserGrantWithBody Grant a user a per-agent role (maintain).

Takes any type of body and a specified content type.

Corresponds with PUT /agents/{ns}/{name}/grants/user/{handle} (the `SetAgentUserGrant` operationId).

func (*Client) SetFindingVerdict

func (c *Client) SetFindingVerdict(ctx context.Context, id openapi_types.UUID, body SetFindingVerdictJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

SetFindingVerdict Confirm or dismiss a finding (not on the caller's own version, unless platform staff).

An author cannot set a verdict on a finding of their own version (403), whatever their organization role, as with a review decision. Platform staff may, their own versions included; the verdict's audit event then carries `self_decision: true`.

Takes a body of the `application/json` content type.

Corresponds with POST /findings/{id}/verdict (the `SetFindingVerdict` operationId).

func (*Client) SetFindingVerdictWithBody

func (c *Client) SetFindingVerdictWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

SetFindingVerdictWithBody Confirm or dismiss a finding (not on the caller's own version, unless platform staff).

An author cannot set a verdict on a finding of their own version (403), whatever their organization role, as with a review decision. Platform staff may, their own versions included; the verdict's audit event then carries `self_decision: true`.

Takes any type of body and a specified content type.

Corresponds with POST /findings/{id}/verdict (the `SetFindingVerdict` operationId).

func (*Client) SetOrgMember

func (c *Client) SetOrgMember(ctx context.Context, org OrgHandle, handle Handle, body SetOrgMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

SetOrgMember Change a member's role (admin). This route does not add members: an organization is joined by accepting an invitation, or by an admin approving someone the IdP provisioned, and a PUT for a handle that holds no membership answers 422 naming those doors.

Takes a body of the `application/json` content type.

Corresponds with PUT /orgs/{org}/members/{handle} (the `SetOrgMember` operationId).

func (*Client) SetOrgMemberWithBody

func (c *Client) SetOrgMemberWithBody(ctx context.Context, org OrgHandle, handle Handle, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

SetOrgMemberWithBody Change a member's role (admin). This route does not add members: an organization is joined by accepting an invitation, or by an admin approving someone the IdP provisioned, and a PUT for a handle that holds no membership answers 422 naming those doors.

Takes any type of body and a specified content type.

Corresponds with PUT /orgs/{org}/members/{handle} (the `SetOrgMember` operationId).

func (*Client) SetOrgPolicy

func (c *Client) SetOrgPolicy(ctx context.Context, org OrgHandle, body SetOrgPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

SetOrgPolicy Set the org policy overlay (admin; tighten-only).

Takes a body of the `application/json` content type.

Corresponds with PUT /orgs/{org}/policy (the `SetOrgPolicy` operationId).

func (*Client) SetOrgPolicyWithBody

func (c *Client) SetOrgPolicyWithBody(ctx context.Context, org OrgHandle, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

SetOrgPolicyWithBody Set the org policy overlay (admin; tighten-only).

Takes any type of body and a specified content type.

Corresponds with PUT /orgs/{org}/policy (the `SetOrgPolicy` operationId).

func (*Client) SetUserReportDesignDefault added in v0.7.4

func (c *Client) SetUserReportDesignDefault(ctx context.Context, body SetUserReportDesignDefaultJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

SetUserReportDesignDefault Set which of the caller's designs their runs take by default.

An id of one of the caller's designs makes it the default; another account's id, or none the caller has, is 404. No id, or null, makes no design the default, so a run falls to the client's own choice. The answer is the library as it now is.

Takes a body of the `application/json` content type.

Corresponds with PUT /user/report-designs/default (the `SetUserReportDesignDefault` operationId).

func (*Client) SetUserReportDesignDefaultWithBody added in v0.7.4

func (c *Client) SetUserReportDesignDefaultWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

SetUserReportDesignDefaultWithBody Set which of the caller's designs their runs take by default.

An id of one of the caller's designs makes it the default; another account's id, or none the caller has, is 404. No id, or null, makes no design the default, so a run falls to the client's own choice. The answer is the library as it now is.

Takes any type of body and a specified content type.

Corresponds with PUT /user/report-designs/default (the `SetUserReportDesignDefault` operationId).

func (*Client) SocialOidcCallback

func (c *Client) SocialOidcCallback(ctx context.Context, provider SocialOidcCallbackParamsProvider, params *SocialOidcCallbackParams, reqEditors ...RequestEditorFn) (*http.Response, error)

SocialOidcCallback Sign-in redirect URI: establish a session.

Exchanges the code, verifies the identity, then links or JIT-creates an individual account (`identities.provider_kind='social'`). Auto-linking to an existing account happens only when the provider asserts a verified email that matches a verified account email; otherwise the response is 409 and the accounts must be linked explicitly. A login begun with `next` (browser mode) answers 303 to that in-app path once the session cookie is set, or to `/login?error=…` on failure; the JSON result is the API mode, used when `next` was absent.

Corresponds with GET /auth/oidc/{provider}/callback (the `SocialOidcCallback` operationId).

func (*Client) SocialOidcStart

func (c *Client) SocialOidcStart(ctx context.Context, provider SocialOidcStartParamsProvider, params *SocialOidcStartParams, reqEditors ...RequestEditorFn) (*http.Response, error)

SocialOidcStart Begin sign-in with the deployment's OpenID provider.

Individual-account sign-in through the OpenID provider the server is configured with (`auth.oidc`: discovery, issuer pinning, PKCE and a verified ID token). A provider id the server does not serve answers 404. This is individual sign-in and never grants org membership.

Corresponds with GET /auth/oidc/{provider}/start (the `SocialOidcStart` operationId).

func (*Client) StarAgent

func (c *Client) StarAgent(ctx context.Context, ns Namespace, name AgentName, reqEditors ...RequestEditorFn) (*http.Response, error)

StarAgent Star an agent (idempotent).

Corresponds with PUT /user/stars/{ns}/{name} (the `StarAgent` operationId).

func (*Client) StreamVersionEvents

func (c *Client) StreamVersionEvents(ctx context.Context, ns Namespace, name AgentName, version VersionString, reqEditors ...RequestEditorFn) (*http.Response, error)

StreamVersionEvents Server-sent events for a version's pipeline progress.

Streams `event: status` messages (JSON: status, statusReason, the scan stages completed so far, done) whenever something changes, about once a second while a scan runs, and closes after the terminal state — published, rejected, needs_review, quarantined — or after five minutes, whichever comes first. Same visibility rules as the version itself. Clients that cannot consume SSE poll the version resource instead.

Corresponds with GET /agents/{ns}/{name}/versions/{version}/events (the `StreamVersionEvents` operationId).

func (*Client) SubmitVersion

func (c *Client) SubmitVersion(ctx context.Context, ns Namespace, name AgentName, body SubmitVersionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

SubmitVersion Submit a version for publication.

Two sources: JSON {tag} submits an existing repo tag (git-tag source); multipart/form-data with an `archive` part (tar.zst) submits a client-built package (cli-upload source; the server re-validates, re-packs deterministically, and compares digests: client packing is never trusted). A package that ships knowledge packs (the manifest's `knowledge.ships`) makes their contents readable by everyone who can download the release, so the upload must confirm it: the `knowledgeShipping` part, one entry for each pack shipped. Without it the upload is refused `422 knowledge-shipping-unacknowledged`, naming the packs. An entry may claim where the pack was laid down from (`origin`); a claim that is not true is refused `422 knowledge-shipping-invalid`, naming the pack. A tag submission (JSON {tag}) and a tag push carry no confirmation, and the version's record says it was published that way. A deployment with an admission extension (the hosted product's subscription tiers) may refuse a submission after every core check has passed and before anything is stored: `402` with the problem type `credits-exhausted` carries `balance`, `resetsAt` and `account` — the handle whose balance is short, which is the submitter's own or, for a member of a paid organization, the organization's — at the top level of the problem body. `402 subscription-inactive` refuses one whose payer is an organization that is awaiting payment or has lapsed, and carries `account` the same way. `503 admission-unavailable` means the check could not be reached and nothing was recorded. A core registry never answers any of them. The gate's verdict never depends on admission.

Takes a body of the `application/json` content type.

Corresponds with POST /agents/{ns}/{name}/versions (the `SubmitVersion` operationId).

func (*Client) SubmitVersionWithBody

func (c *Client) SubmitVersionWithBody(ctx context.Context, ns Namespace, name AgentName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

SubmitVersionWithBody Submit a version for publication.

Two sources: JSON {tag} submits an existing repo tag (git-tag source); multipart/form-data with an `archive` part (tar.zst) submits a client-built package (cli-upload source; the server re-validates, re-packs deterministically, and compares digests: client packing is never trusted). A package that ships knowledge packs (the manifest's `knowledge.ships`) makes their contents readable by everyone who can download the release, so the upload must confirm it: the `knowledgeShipping` part, one entry for each pack shipped. Without it the upload is refused `422 knowledge-shipping-unacknowledged`, naming the packs. An entry may claim where the pack was laid down from (`origin`); a claim that is not true is refused `422 knowledge-shipping-invalid`, naming the pack. A tag submission (JSON {tag}) and a tag push carry no confirmation, and the version's record says it was published that way. A deployment with an admission extension (the hosted product's subscription tiers) may refuse a submission after every core check has passed and before anything is stored: `402` with the problem type `credits-exhausted` carries `balance`, `resetsAt` and `account` — the handle whose balance is short, which is the submitter's own or, for a member of a paid organization, the organization's — at the top level of the problem body. `402 subscription-inactive` refuses one whose payer is an organization that is awaiting payment or has lapsed, and carries `account` the same way. `503 admission-unavailable` means the check could not be reached and nothing was recorded. A core registry never answers any of them. The gate's verdict never depends on admission.

Takes any type of body and a specified content type.

Corresponds with POST /agents/{ns}/{name}/versions (the `SubmitVersion` operationId).

func (*Client) SuspendOrg

func (c *Client) SuspendOrg(ctx context.Context, org OrgHandle, body SuspendOrgJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

SuspendOrg Suspend the organization (platform staff). It and everything under it answer 404 to everyone, over the API and over git, until it is reinstated. Nothing is deleted.

Takes a body of the `application/json` content type.

Corresponds with POST /orgs/{org}/suspend (the `SuspendOrg` operationId).

func (*Client) SuspendOrgWithBody

func (c *Client) SuspendOrgWithBody(ctx context.Context, org OrgHandle, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

SuspendOrgWithBody Suspend the organization (platform staff). It and everything under it answer 404 to everyone, over the API and over git, until it is reinstated. Nothing is deleted.

Takes any type of body and a specified content type.

Corresponds with POST /orgs/{org}/suspend (the `SuspendOrg` operationId).

func (*Client) TriageAbuseReport

func (c *Client) TriageAbuseReport(ctx context.Context, id openapi_types.UUID, body TriageAbuseReportJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

TriageAbuseReport Record a triage outcome for an abuse report (platform staff).

Takes a body of the `application/json` content type.

Corresponds with POST /platform/abuse-reports/{id} (the `TriageAbuseReport` operationId).

func (*Client) TriageAbuseReportWithBody

func (c *Client) TriageAbuseReportWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

TriageAbuseReportWithBody Record a triage outcome for an abuse report (platform staff).

Takes any type of body and a specified content type.

Corresponds with POST /platform/abuse-reports/{id} (the `TriageAbuseReport` operationId).

func (*Client) UnstarAgent

func (c *Client) UnstarAgent(ctx context.Context, ns Namespace, name AgentName, reqEditors ...RequestEditorFn) (*http.Response, error)

UnstarAgent Remove a star (idempotent).

Corresponds with DELETE /user/stars/{ns}/{name} (the `UnstarAgent` operationId).

func (*Client) UnwrapKnowledgeKey

func (c *Client) UnwrapKnowledgeKey(ctx context.Context, body UnwrapKnowledgeKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

UnwrapKnowledgeKey Unwrap a data key wrapped for the caller; refused for anyone else's.

Answers the data key over TLS, never what wraps it. A wrapped key that does not open for the caller — wrapped for someone else, under a key since destroyed, or altered — is 404 `knowledge-key-not-found`.

Takes a body of the `application/json` content type.

Corresponds with POST /knowledge/keys/unwrap (the `UnwrapKnowledgeKey` operationId).

func (*Client) UnwrapKnowledgeKeyWithBody

func (c *Client) UnwrapKnowledgeKeyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

UnwrapKnowledgeKeyWithBody Unwrap a data key wrapped for the caller; refused for anyone else's.

Answers the data key over TLS, never what wraps it. A wrapped key that does not open for the caller — wrapped for someone else, under a key since destroyed, or altered — is 404 `knowledge-key-not-found`.

Takes any type of body and a specified content type.

Corresponds with POST /knowledge/keys/unwrap (the `UnwrapKnowledgeKey` operationId).

func (*Client) UnwrapOrgKnowledgeKey

func (c *Client) UnwrapOrgKnowledgeKey(ctx context.Context, org OrgHandle, body UnwrapOrgKnowledgeKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

UnwrapOrgKnowledgeKey Unwrap a data key wrapped for the organization, for any active member; refused once they are not one.

The one door to a shared pack's words on a member's machine: the client keeps the answer in memory and asks again next time, so a member who is removed keeps sealed bytes they can no longer open. A wrapped key that does not open for the organization is 404 `knowledge-key-not-found`.

Takes a body of the `application/json` content type.

Corresponds with POST /orgs/{org}/knowledge/keys/unwrap (the `UnwrapOrgKnowledgeKey` operationId).

func (*Client) UnwrapOrgKnowledgeKeyWithBody

func (c *Client) UnwrapOrgKnowledgeKeyWithBody(ctx context.Context, org OrgHandle, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

UnwrapOrgKnowledgeKeyWithBody Unwrap a data key wrapped for the organization, for any active member; refused once they are not one.

The one door to a shared pack's words on a member's machine: the client keeps the answer in memory and asks again next time, so a member who is removed keeps sealed bytes they can no longer open. A wrapped key that does not open for the organization is 404 `knowledge-key-not-found`.

Takes any type of body and a specified content type.

Corresponds with POST /orgs/{org}/knowledge/keys/unwrap (the `UnwrapOrgKnowledgeKey` operationId).

func (*Client) UpdateAgent

func (c *Client) UpdateAgent(ctx context.Context, ns Namespace, name AgentName, body UpdateAgentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateAgent Update agent settings (maintain).

Takes a body of the `application/json` content type.

Corresponds with PATCH /agents/{ns}/{name} (the `UpdateAgent` operationId).

func (*Client) UpdateAgentWithBody

func (c *Client) UpdateAgentWithBody(ctx context.Context, ns Namespace, name AgentName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateAgentWithBody Update agent settings (maintain).

Takes any type of body and a specified content type.

Corresponds with PATCH /agents/{ns}/{name} (the `UpdateAgent` operationId).

func (*Client) UpdateCurrentUser

func (c *Client) UpdateCurrentUser(ctx context.Context, body UpdateCurrentUserJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateCurrentUser Update profile fields.

Takes a body of the `application/json` content type.

Corresponds with PATCH /user (the `UpdateCurrentUser` operationId).

func (*Client) UpdateCurrentUserWithBody

func (c *Client) UpdateCurrentUserWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateCurrentUserWithBody Update profile fields.

Takes any type of body and a specified content type.

Corresponds with PATCH /user (the `UpdateCurrentUser` operationId).

func (*Client) UpdateOrg

func (c *Client) UpdateOrg(ctx context.Context, org OrgHandle, body UpdateOrgJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateOrg Update org settings (admin+).

Takes a body of the `application/json` content type.

Corresponds with PATCH /orgs/{org} (the `UpdateOrg` operationId).

func (*Client) UpdateOrgKnowledgePack

func (c *Client) UpdateOrgKnowledgePack(ctx context.Context, org OrgHandle, packId KnowledgePackId, body UpdateOrgKnowledgePackJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateOrgKnowledgePack Mark a shared pack exportable by the organization's members, or not (admins).

Recorded in the organization's audit log (`org.knowledge_update`, with `exportable`).

Takes a body of the `application/json` content type.

Corresponds with PATCH /orgs/{org}/knowledge/packs/{packId} (the `UpdateOrgKnowledgePack` operationId).

func (*Client) UpdateOrgKnowledgePackWithBody

func (c *Client) UpdateOrgKnowledgePackWithBody(ctx context.Context, org OrgHandle, packId KnowledgePackId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateOrgKnowledgePackWithBody Mark a shared pack exportable by the organization's members, or not (admins).

Recorded in the organization's audit log (`org.knowledge_update`, with `exportable`).

Takes any type of body and a specified content type.

Corresponds with PATCH /orgs/{org}/knowledge/packs/{packId} (the `UpdateOrgKnowledgePack` operationId).

func (*Client) UpdateOrgReportDesign added in v0.7.5

func (c *Client) UpdateOrgReportDesign(ctx context.Context, org OrgHandle, designId ReportDesignId, params *UpdateOrgReportDesignParams, body UpdateOrgReportDesignJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateOrgReportDesign Replace one of the organization's house report designs (admins).

A full replace of the document, validated as a create is, the field named `design.<path>` on a refusal, and the stored design standing. A name another of the organization's designs holds is 409 `conflict`. The images stay as they are unless the document carries them, as for a person's own design. An admin's change reaches a member's next run. Recorded in the organization's audit log (`org.report_design_update`).

Takes a body of the `application/json` content type.

Corresponds with PUT /orgs/{org}/report-designs/{designId} (the `UpdateOrgReportDesign` operationId).

func (*Client) UpdateOrgReportDesignWithBody added in v0.7.5

func (c *Client) UpdateOrgReportDesignWithBody(ctx context.Context, org OrgHandle, designId ReportDesignId, params *UpdateOrgReportDesignParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateOrgReportDesignWithBody Replace one of the organization's house report designs (admins).

A full replace of the document, validated as a create is, the field named `design.<path>` on a refusal, and the stored design standing. A name another of the organization's designs holds is 409 `conflict`. The images stay as they are unless the document carries them, as for a person's own design. An admin's change reaches a member's next run. Recorded in the organization's audit log (`org.report_design_update`).

Takes any type of body and a specified content type.

Corresponds with PUT /orgs/{org}/report-designs/{designId} (the `UpdateOrgReportDesign` operationId).

func (*Client) UpdateOrgWithBody

func (c *Client) UpdateOrgWithBody(ctx context.Context, org OrgHandle, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateOrgWithBody Update org settings (admin+).

Takes any type of body and a specified content type.

Corresponds with PATCH /orgs/{org} (the `UpdateOrg` operationId).

func (*Client) UpdateUserNotificationSettings

func (c *Client) UpdateUserNotificationSettings(ctx context.Context, body UpdateUserNotificationSettingsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateUserNotificationSettings Replace the caller's notification settings.

Every required switch is sent, on or off. A write that leaves one out answers 422 naming it and changes nothing. An optional switch that is left out keeps its stored value.

Takes a body of the `application/json` content type.

Corresponds with PUT /user/notifications (the `UpdateUserNotificationSettings` operationId).

func (*Client) UpdateUserNotificationSettingsWithBody

func (c *Client) UpdateUserNotificationSettingsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateUserNotificationSettingsWithBody Replace the caller's notification settings.

Every required switch is sent, on or off. A write that leaves one out answers 422 naming it and changes nothing. An optional switch that is left out keeps its stored value.

Takes any type of body and a specified content type.

Corresponds with PUT /user/notifications (the `UpdateUserNotificationSettings` operationId).

func (*Client) UpdateUserReportDesign added in v0.7.4

func (c *Client) UpdateUserReportDesign(ctx context.Context, designId ReportDesignId, params *UpdateUserReportDesignParams, body UpdateUserReportDesignJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateUserReportDesign Replace one of the caller's report designs.

A full replace of the document, validated as a create is, the field named `design.<path>` on a refusal, and the stored design standing. The images stay as they are unless the document carries them: a `logo`, `coverImage` or `customCover` in the document replaces the stored one with the core's own re-encoding of it, and a document without them leaves them, so a client that does not know an image never drops one by saving (remove one with its DELETE route). Whether the design is the default is not changed here.

Takes a body of the `application/json` content type.

Corresponds with PUT /user/report-designs/{designId} (the `UpdateUserReportDesign` operationId).

func (*Client) UpdateUserReportDesignWithBody added in v0.7.4

func (c *Client) UpdateUserReportDesignWithBody(ctx context.Context, designId ReportDesignId, params *UpdateUserReportDesignParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateUserReportDesignWithBody Replace one of the caller's report designs.

A full replace of the document, validated as a create is, the field named `design.<path>` on a refusal, and the stored design standing. The images stay as they are unless the document carries them: a `logo`, `coverImage` or `customCover` in the document replaces the stored one with the core's own re-encoding of it, and a document without them leaves them, so a client that does not know an image never drops one by saving (remove one with its DELETE route). Whether the design is the default is not changed here.

Takes any type of body and a specified content type.

Corresponds with PUT /user/report-designs/{designId} (the `UpdateUserReportDesign` operationId).

func (*Client) UpdateVoiceSettings

func (c *Client) UpdateVoiceSettings(ctx context.Context, body UpdateVoiceSettingsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateVoiceSettings Set whether runs In Agentry attach the caller's live voice by default.

The flag comes on when a voice first goes live; a field not sent keeps its value.

Takes a body of the `application/json` content type.

Corresponds with PUT /voice/settings (the `UpdateVoiceSettings` operationId).

func (*Client) UpdateVoiceSettingsWithBody

func (c *Client) UpdateVoiceSettingsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateVoiceSettingsWithBody Set whether runs In Agentry attach the caller's live voice by default.

The flag comes on when a voice first goes live; a field not sent keeps its value.

Takes any type of body and a specified content type.

Corresponds with PUT /voice/settings (the `UpdateVoiceSettings` operationId).

func (*Client) UpdateWebhook

func (c *Client) UpdateWebhook(ctx context.Context, org OrgHandle, id WebhookID, body UpdateWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateWebhook Update a webhook endpoint (admin+).

Takes a body of the `application/json` content type.

Corresponds with PATCH /orgs/{org}/webhooks/{id} (the `UpdateWebhook` operationId).

func (*Client) UpdateWebhookWithBody

func (c *Client) UpdateWebhookWithBody(ctx context.Context, org OrgHandle, id WebhookID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateWebhookWithBody Update a webhook endpoint (admin+).

Takes any type of body and a specified content type.

Corresponds with PATCH /orgs/{org}/webhooks/{id} (the `UpdateWebhook` operationId).

func (*Client) UploadKnowledgeTreeWithBody

func (c *Client) UploadKnowledgeTreeWithBody(ctx context.Context, packId KnowledgePackId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

UploadKnowledgeTreeWithBody Upload a pack's sealed tree, which replaces the one before and is scanned.

One PUT of the sealed tree (`pkg/packseal`: the pack's canonical tar sealed under its data key), at most a 10 MB pack; past that 413 `upload-too-large`, a tree past the pack's caps 413 `knowledge-too-large`, a tree that is not the digest its header names 422 `knowledge-digest-mismatch`, and a tree past the owner's allocation 413 `knowledge-allocation` with `bytes` and `max`. The registry opens it to check it before it keeps it, stores it sealed, and queues its scan: the pack is `scanning` until the scan ends and `ready` after, findings or not.

Takes any type of body and a specified content type.

Corresponds with PUT /knowledge/packs/{packId}/tree (the `UploadKnowledgeTree` operationId).

func (*Client) UploadOrgKnowledgeTreeWithBody

func (c *Client) UploadOrgKnowledgeTreeWithBody(ctx context.Context, org OrgHandle, packId KnowledgePackId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

UploadOrgKnowledgeTreeWithBody Upload a shared pack's sealed tree, which replaces the one before and is scanned (admins).

As `PUT /knowledge/packs/{packId}/tree`, counted against the allocation the organization's packs draw on.

Takes any type of body and a specified content type.

Corresponds with PUT /orgs/{org}/knowledge/packs/{packId}/tree (the `UploadOrgKnowledgeTree` operationId).

func (*Client) VerifyDomainClaim

func (c *Client) VerifyDomainClaim(ctx context.Context, org OrgHandle, body VerifyDomainClaimJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

VerifyDomainClaim Check the DNS TXT record and mark verified (admin+).

Takes a body of the `application/json` content type.

Corresponds with POST /orgs/{org}/domain-claims/verify (the `VerifyDomainClaim` operationId).

func (*Client) VerifyDomainClaimWithBody

func (c *Client) VerifyDomainClaimWithBody(ctx context.Context, org OrgHandle, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

VerifyDomainClaimWithBody Check the DNS TXT record and mark verified (admin+).

Takes any type of body and a specified content type.

Corresponds with POST /orgs/{org}/domain-claims/verify (the `VerifyDomainClaim` operationId).

func (*Client) VerifyEmail

func (c *Client) VerifyEmail(ctx context.Context, body VerifyEmailJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

VerifyEmail Confirm an email address with the mailed token.

Activates the account whose address the mailed link was sent to (POST /user/email-verification sends it).

Takes a body of the `application/json` content type.

Corresponds with POST /auth/verify-email (the `VerifyEmail` operationId).

func (*Client) VerifyEmailWithBody

func (c *Client) VerifyEmailWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

VerifyEmailWithBody Confirm an email address with the mailed token.

Activates the account whose address the mailed link was sent to (POST /user/email-verification sends it).

Takes any type of body and a specified content type.

Corresponds with POST /auth/verify-email (the `VerifyEmail` operationId).

func (*Client) WrapKnowledgeKey

func (c *Client) WrapKnowledgeKey(ctx context.Context, body WrapKnowledgeKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

WrapKnowledgeKey Wrap a pack's data key for the caller.

The caller's wrapper seals the 32-byte data key; the answer is what a client keeps beside a sealed pack. On a core registry the wrapper is the deployment's knowledge sealing key; an extension may wrap to the account's own key instead.

Takes a body of the `application/json` content type.

Corresponds with POST /knowledge/keys/wrap (the `WrapKnowledgeKey` operationId).

func (*Client) WrapKnowledgeKeyWithBody

func (c *Client) WrapKnowledgeKeyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

WrapKnowledgeKeyWithBody Wrap a pack's data key for the caller.

The caller's wrapper seals the 32-byte data key; the answer is what a client keeps beside a sealed pack. On a core registry the wrapper is the deployment's knowledge sealing key; an extension may wrap to the account's own key instead.

Takes any type of body and a specified content type.

Corresponds with POST /knowledge/keys/wrap (the `WrapKnowledgeKey` operationId).

func (*Client) WrapOrgKnowledgeKey

func (c *Client) WrapOrgKnowledgeKey(ctx context.Context, org OrgHandle, body WrapOrgKnowledgeKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

WrapOrgKnowledgeKey Wrap a data key for the organization (admins).

The wrapper seals the 32-byte data key for the organization: on a core registry under the deployment's knowledge sealing key, on an extension's to the organization's own key.

Takes a body of the `application/json` content type.

Corresponds with POST /orgs/{org}/knowledge/keys/wrap (the `WrapOrgKnowledgeKey` operationId).

func (*Client) WrapOrgKnowledgeKeyWithBody

func (c *Client) WrapOrgKnowledgeKeyWithBody(ctx context.Context, org OrgHandle, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

WrapOrgKnowledgeKeyWithBody Wrap a data key for the organization (admins).

The wrapper seals the 32-byte data key for the organization: on a core registry under the deployment's knowledge sealing key, on an extension's to the organization's own key.

Takes any type of body and a specified content type.

Corresponds with POST /orgs/{org}/knowledge/keys/wrap (the `WrapOrgKnowledgeKey` operationId).

func (*Client) YankVersion

func (c *Client) YankVersion(ctx context.Context, ns Namespace, name AgentName, version VersionString, body YankVersionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

YankVersion Yank a published version (publish permission).

Takes a body of the `application/json` content type.

Corresponds with POST /agents/{ns}/{name}/versions/{version}/yank (the `YankVersion` operationId).

func (*Client) YankVersionWithBody

func (c *Client) YankVersionWithBody(ctx context.Context, ns Namespace, name AgentName, version VersionString, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

YankVersionWithBody Yank a published version (publish permission).

Takes any type of body and a specified content type.

Corresponds with POST /agents/{ns}/{name}/versions/{version}/yank (the `YankVersion` operationId).

type ClientInterface

type ClientInterface interface {

	// ListAdvisories Published advisories — for one agent, or the global feed.
	//
	// With `affecting`, the advisories against that agent (newest first), under the agent's own read rule: a private agent's advisories are its readers' (the owning user, the owning org's admins, and anyone holding a grant on the agent), and anyone else — anonymous or signed in — gets the 404 a missing name gets, so the agent's existence is not discoverable here. The one exception is a holder of one of its releases: a signed-in caller whose account install names the agent, or any caller presenting with `digest` the archive digest of a version of it that was ever published, gets its advisories whatever its visibility, retired or deleted state now, so the people who installed it while it was public still learn of an advisory published after it went private. Without it, the global feed: every published advisory against a public agent, newest first, keyset-paged with `cursor`/`limit` and a `Link: rel="next"` header. Each item carries `agent` (`ns/name`) so a feed reader can find the affected QuickAgent.
	//
	// Corresponds with GET /advisories (the `ListAdvisories` operationId).
	ListAdvisories(ctx context.Context, params *ListAdvisoriesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetAdvisory One published advisory (permalink); public agents only.
	//
	// Only an advisory against a public agent resolves; any other id is a 404, so a private agent's advisory is not discoverable by id. A holder of the agent's release reads it through `affecting`.
	//
	// Corresponds with GET /advisories/{advisoryId} (the `GetAdvisory` operationId).
	GetAdvisory(ctx context.Context, advisoryId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListAgents List agents in a namespace (public ones for everyone).
	//
	// Public agents for everyone; the private ones too for the namespace's owner and the active members of its organization. A deleted agent is never listed. The publisher's page narrows and orders the list with `q`, `state`, `forks` and `sort`, and each agent carries `installs30d`, `lastSubmittedAt`, `forkCount` on a public agent, `forkedFrom` and `forkState` on a fork and, when it is retired, `retiredAt`.
	//
	// Corresponds with GET /agents (the `ListAgents` operationId).
	ListAgents(ctx context.Context, params *ListAgentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateAgentWithBody Create an agent and its hosted git repository.
	//
	// A private agent counts against the namespace's private-agent cap when the deployment's entitlements set one (the hosted product's subscription tiers): at the cap the answer is `422` with the problem type `private-agent-cap`, and the same on `PATCH` when an agent is turned private. A core registry caps nothing. A cap never deletes or hides an agent that is already private.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /agents (the `CreateAgent` operationId).
	CreateAgentWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateAgent Create an agent and its hosted git repository.
	//
	// A private agent counts against the namespace's private-agent cap when the deployment's entitlements set one (the hosted product's subscription tiers): at the cap the answer is `422` with the problem type `private-agent-cap`, and the same on `PATCH` when an agent is turned private. A core registry caps nothing. A cap never deletes or hides an agent that is already private.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /agents (the `CreateAgent` operationId).
	CreateAgent(ctx context.Context, body CreateAgentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteAgent Delete an agent (the namespace's administrators).
	//
	// A token needs `agent:manage` or `org:admin`. An agent with no version row is deleted outright, with its hosted repository. An agent with version history is deleted as a tombstone: every published or quarantined version is yanked, the agent becomes private, and every route by name, the git transport and hosted runs answer the 404 a missing name gets, to everyone. Nothing is removed — version rows are kept forever, and the archives, receipts and audit trail stay — and the name stays held in its namespace: creating it again answers `409 name-held`. It cannot be undone. A tombstone needs `confirm` set to the agent's name (`422 confirm-name` otherwise). Refused with `409` while a version is still in the pipeline or in review, and while the agent carries trust & safety records (advisories, abuse reports, a quarantine or a block), which outlive the publisher's wish to remove it.
	//
	// Corresponds with DELETE /agents/{ns}/{name} (the `DeleteAgent` operationId).
	DeleteAgent(ctx context.Context, ns Namespace, name AgentName, params *DeleteAgentParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetAgent Agent metadata (public agents readable by anyone).
	//
	// A public agent is readable by anyone. A private agent is readable by its owner, the owning org's admins, and anyone holding a grant on it; every other caller, anonymous included, gets the 404 a missing name gets — never a 401 or 403 that would confirm the name exists. The same rule holds on every route under `/agents/{ns}/{name}`.
	//
	// Corresponds with GET /agents/{ns}/{name} (the `GetAgent` operationId).
	GetAgent(ctx context.Context, ns Namespace, name AgentName, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateAgentWithBody Update agent settings (maintain).
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PATCH /agents/{ns}/{name} (the `UpdateAgent` operationId).
	UpdateAgentWithBody(ctx context.Context, ns Namespace, name AgentName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateAgent Update agent settings (maintain).
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PATCH /agents/{ns}/{name} (the `UpdateAgent` operationId).
	UpdateAgent(ctx context.Context, ns Namespace, name AgentName, body UpdateAgentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ReportAbuseWithBody Report malicious or abusive content (authed, rate-limited).
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /agents/{ns}/{name}/abuse-reports (the `ReportAbuse` operationId).
	ReportAbuseWithBody(ctx context.Context, ns Namespace, name AgentName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ReportAbuse Report malicious or abusive content (authed, rate-limited).
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /agents/{ns}/{name}/abuse-reports (the `ReportAbuse` operationId).
	ReportAbuse(ctx context.Context, ns Namespace, name AgentName, body ReportAbuseJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListAgentActivity Recent activity for an agent.
	//
	// Drawn from the audit log. Anyone who can see a public agent gets the public-safe subset: publishes and yanks; callers with an explicit read grant (or namespace-derived read) see the fuller stream including submissions, settings changes, and grant changes.
	//
	// Corresponds with GET /agents/{ns}/{name}/activity (the `ListAgentActivity` operationId).
	ListAgentActivity(ctx context.Context, ns Namespace, name AgentName, params *ListAgentActivityParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ForkAgentWithBody Fork a public agent into a namespace the caller may create in.
	//
	// Makes a private copy of a public agent: a new agent in `namespace`, under the origin's name unless `name` gives another, that records the origin and the published version it was taken from, for good. A fork is never public (`PATCH` to public answers `409 fork-stays-private`). The fork is answered `202` with `forkState: copying`: a worker then copies from the origin's repository the forked release's commit and its history, when the release was tagged and scanned, and nothing else (no other branch or tag; objects copied rather than shared), writes one commit, "Fork of ns/name@version", on top of it or, with nothing copied, from the release's archive, that renames the manifest into the fork's namespace, tags it with the origin's version and submits it through the pipeline like any submission, charged like one. `forkState` is then `ready`, or `failed` with `forkDetail` saying why. The origin must be readable, public, neither quarantined nor blocked, and have a published version; the caller must be able to create a private agent in `namespace` (its owner, or an active member of the organization), within its agent quota and private-agent cap. A name the namespace already has answers `409 name-taken`; one a deleted agent holds, `409 name-held`.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /agents/{ns}/{name}/fork (the `ForkAgent` operationId).
	ForkAgentWithBody(ctx context.Context, ns Namespace, name AgentName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ForkAgent Fork a public agent into a namespace the caller may create in.
	//
	// Makes a private copy of a public agent: a new agent in `namespace`, under the origin's name unless `name` gives another, that records the origin and the published version it was taken from, for good. A fork is never public (`PATCH` to public answers `409 fork-stays-private`). The fork is answered `202` with `forkState: copying`: a worker then copies from the origin's repository the forked release's commit and its history, when the release was tagged and scanned, and nothing else (no other branch or tag; objects copied rather than shared), writes one commit, "Fork of ns/name@version", on top of it or, with nothing copied, from the release's archive, that renames the manifest into the fork's namespace, tags it with the origin's version and submits it through the pipeline like any submission, charged like one. `forkState` is then `ready`, or `failed` with `forkDetail` saying why. The origin must be readable, public, neither quarantined nor blocked, and have a published version; the caller must be able to create a private agent in `namespace` (its owner, or an active member of the organization), within its agent quota and private-agent cap. A name the namespace already has answers `409 name-taken`; one a deleted agent holds, `409 name-held`.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /agents/{ns}/{name}/fork (the `ForkAgent` operationId).
	ForkAgent(ctx context.Context, ns Namespace, name AgentName, body ForkAgentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListAgentGrants List explicit grants (maintain).
	//
	// Corresponds with GET /agents/{ns}/{name}/grants (the `ListAgentGrants` operationId).
	ListAgentGrants(ctx context.Context, ns Namespace, name AgentName, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RemoveAgentTeamGrant Remove a team grant (maintain).
	//
	// Corresponds with DELETE /agents/{ns}/{name}/grants/team/{team} (the `RemoveAgentTeamGrant` operationId).
	RemoveAgentTeamGrant(ctx context.Context, ns Namespace, name AgentName, team TeamSlug, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetAgentTeamGrantWithBody Grant an org team a per-agent role (maintain; org agents only).
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /agents/{ns}/{name}/grants/team/{team} (the `SetAgentTeamGrant` operationId).
	SetAgentTeamGrantWithBody(ctx context.Context, ns Namespace, name AgentName, team TeamSlug, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetAgentTeamGrant Grant an org team a per-agent role (maintain; org agents only).
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /agents/{ns}/{name}/grants/team/{team} (the `SetAgentTeamGrant` operationId).
	SetAgentTeamGrant(ctx context.Context, ns Namespace, name AgentName, team TeamSlug, body SetAgentTeamGrantJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RemoveAgentUserGrant Remove a user grant (maintain).
	//
	// Corresponds with DELETE /agents/{ns}/{name}/grants/user/{handle} (the `RemoveAgentUserGrant` operationId).
	RemoveAgentUserGrant(ctx context.Context, ns Namespace, name AgentName, handle Handle, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetAgentUserGrantWithBody Grant a user a per-agent role (maintain).
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /agents/{ns}/{name}/grants/user/{handle} (the `SetAgentUserGrant` operationId).
	SetAgentUserGrantWithBody(ctx context.Context, ns Namespace, name AgentName, handle Handle, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetAgentUserGrant Grant a user a per-agent role (maintain).
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /agents/{ns}/{name}/grants/user/{handle} (the `SetAgentUserGrant` operationId).
	SetAgentUserGrant(ctx context.Context, ns Namespace, name AgentName, handle Handle, body SetAgentUserGrantJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetAgentReadme The agent README rendered to sanitized HTML.
	//
	// Markdown is rendered server-side through a strict allowlist: no raw HTML, no user styles, no SVG, external links rewritten, and invisible or bidi Unicode replaced with visible placeholders.
	//
	// Corresponds with GET /agents/{ns}/{name}/readme (the `GetAgentReadme` operationId).
	GetAgentReadme(ctx context.Context, ns Namespace, name AgentName, params *GetAgentReadmeParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RestoreAgent Restore a retired agent (the namespace's administrators).
	//
	// Returns a retired agent to the visibility it had. A token needs `agent:manage` or `org:admin`. Back to public it meets the rules of any agent becoming public (`409 agent-unscanned`, also when pipeline: skip was set while it was retired); back to private it takes a place under the private-agent cap again (`422 private-agent-cap`). `409 agent-not-retired` when it is not retired.
	//
	// Corresponds with POST /agents/{ns}/{name}/restore (the `RestoreAgent` operationId).
	RestoreAgent(ctx context.Context, ns Namespace, name AgentName, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RetireAgent Retire an agent (the namespace's administrators).
	//
	// Makes the agent private and labels it retired, keeping the visibility it had for Restore. A token needs `agent:manage` or `org:admin`. A retired agent takes no submission (`409 agent-retired`), is in no public listing, and holds no place under the private-agent cap. Its versions are untouched. Retiring a retired agent changes nothing.
	//
	// Corresponds with POST /agents/{ns}/{name}/retire (the `RetireAgent` operationId).
	RetireAgent(ctx context.Context, ns Namespace, name AgentName, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetAgentStats Star count and install counts for an agent.
	//
	// Corresponds with GET /agents/{ns}/{name}/stats (the `GetAgentStats` operationId).
	GetAgentStats(ctx context.Context, ns Namespace, name AgentName, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListVersions Version history, newest first.
	//
	// Corresponds with GET /agents/{ns}/{name}/versions (the `ListVersions` operationId).
	ListVersions(ctx context.Context, ns Namespace, name AgentName, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SubmitVersionWithBody Submit a version for publication.
	//
	// Two sources: JSON {tag} submits an existing repo tag (git-tag source); multipart/form-data with an `archive` part (tar.zst) submits a client-built package (cli-upload source; the server re-validates, re-packs deterministically, and compares digests: client packing is never trusted).
	// A package that ships knowledge packs (the manifest's `knowledge.ships`) makes their contents readable by everyone who can download the release, so the upload must confirm it: the `knowledgeShipping` part, one entry for each pack shipped. Without it the upload is refused `422 knowledge-shipping-unacknowledged`, naming the packs. An entry may claim where the pack was laid down from (`origin`); a claim that is not true is refused `422 knowledge-shipping-invalid`, naming the pack. A tag submission (JSON {tag}) and a tag push carry no confirmation, and the version's record says it was published that way.
	// A deployment with an admission extension (the hosted product's subscription tiers) may refuse a submission after every core check has passed and before anything is stored: `402` with the problem type `credits-exhausted` carries `balance`, `resetsAt` and `account` — the handle whose balance is short, which is the submitter's own or, for a member of a paid organization, the organization's — at the top level of the problem body. `402 subscription-inactive` refuses one whose payer is an organization that is awaiting payment or has lapsed, and carries `account` the same way. `503 admission-unavailable` means the check could not be reached and nothing was recorded. A core registry never answers any of them. The gate's verdict never depends on admission.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /agents/{ns}/{name}/versions (the `SubmitVersion` operationId).
	SubmitVersionWithBody(ctx context.Context, ns Namespace, name AgentName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SubmitVersion Submit a version for publication.
	//
	// Two sources: JSON {tag} submits an existing repo tag (git-tag source); multipart/form-data with an `archive` part (tar.zst) submits a client-built package (cli-upload source; the server re-validates, re-packs deterministically, and compares digests: client packing is never trusted).
	// A package that ships knowledge packs (the manifest's `knowledge.ships`) makes their contents readable by everyone who can download the release, so the upload must confirm it: the `knowledgeShipping` part, one entry for each pack shipped. Without it the upload is refused `422 knowledge-shipping-unacknowledged`, naming the packs. An entry may claim where the pack was laid down from (`origin`); a claim that is not true is refused `422 knowledge-shipping-invalid`, naming the pack. A tag submission (JSON {tag}) and a tag push carry no confirmation, and the version's record says it was published that way.
	// A deployment with an admission extension (the hosted product's subscription tiers) may refuse a submission after every core check has passed and before anything is stored: `402` with the problem type `credits-exhausted` carries `balance`, `resetsAt` and `account` — the handle whose balance is short, which is the submitter's own or, for a member of a paid organization, the organization's — at the top level of the problem body. `402 subscription-inactive` refuses one whose payer is an organization that is awaiting payment or has lapsed, and carries `account` the same way. `503 admission-unavailable` means the check could not be reached and nothing was recorded. A core registry never answers any of them. The gate's verdict never depends on admission.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /agents/{ns}/{name}/versions (the `SubmitVersion` operationId).
	SubmitVersion(ctx context.Context, ns Namespace, name AgentName, body SubmitVersionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetVersionInfo One version with its state and archive identity.
	//
	// Corresponds with GET /agents/{ns}/{name}/versions/{version} (the `GetVersionInfo` operationId).
	GetVersionInfo(ctx context.Context, ns Namespace, name AgentName, version VersionString, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetVersionAttestation The signed DSSE attestation, verbatim.
	//
	// Corresponds with GET /agents/{ns}/{name}/versions/{version}/attestation (the `GetVersionAttestation` operationId).
	GetVersionAttestation(ctx context.Context, ns Namespace, name AgentName, version VersionString, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DownloadVersion Download the release archive (counts an install).
	//
	// Corresponds with GET /agents/{ns}/{name}/versions/{version}/download (the `DownloadVersion` operationId).
	DownloadVersion(ctx context.Context, ns Namespace, name AgentName, version VersionString, reqEditors ...RequestEditorFn) (*http.Response, error)

	// StreamVersionEvents Server-sent events for a version's pipeline progress.
	//
	// Streams `event: status` messages (JSON: status, statusReason, the scan stages completed so far, done) whenever something changes, about once a second while a scan runs, and closes after the terminal state — published, rejected, needs_review, quarantined — or after five minutes, whichever comes first. Same visibility rules as the version itself. Clients that cannot consume SSE poll the version resource instead.
	//
	// Corresponds with GET /agents/{ns}/{name}/versions/{version}/events (the `StreamVersionEvents` operationId).
	StreamVersionEvents(ctx context.Context, ns Namespace, name AgentName, version VersionString, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetVersionFile Read one file from the version's release archive.
	//
	// Text files return UTF-8 content up to the display cap with a truncation flag; binary files return metadata only (binary true), never raw bytes. Same access gate as listVersionFiles.
	//
	// Corresponds with GET /agents/{ns}/{name}/versions/{version}/file (the `GetVersionFile` operationId).
	GetVersionFile(ctx context.Context, ns Namespace, name AgentName, version VersionString, params *GetVersionFileParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListVersionFiles List the files inside the version's release archive.
	//
	// The same inventory a reviewer sees, opened under the download access gate: published and yanked versions list, blocked versions return 410, quarantined versions 409. Browsing does not count an install.
	//
	// Corresponds with GET /agents/{ns}/{name}/versions/{version}/files (the `ListVersionFiles` operationId).
	ListVersionFiles(ctx context.Context, ns Namespace, name AgentName, version VersionString, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetVersionManifest The validated manifest (canonical JSON).
	//
	// Corresponds with GET /agents/{ns}/{name}/versions/{version}/manifest (the `GetVersionManifest` operationId).
	GetVersionManifest(ctx context.Context, ns Namespace, name AgentName, version VersionString, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetVersionReport The scan report for a version (findings, ruleset, verdict).
	//
	// Corresponds with GET /agents/{ns}/{name}/versions/{version}/report (the `GetVersionReport` operationId).
	GetVersionReport(ctx context.Context, ns Namespace, name AgentName, version VersionString, reqEditors ...RequestEditorFn) (*http.Response, error)

	// YankVersionWithBody Yank a published version (publish permission).
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /agents/{ns}/{name}/versions/{version}/yank (the `YankVersion` operationId).
	YankVersionWithBody(ctx context.Context, ns Namespace, name AgentName, version VersionString, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// YankVersion Yank a published version (publish permission).
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /agents/{ns}/{name}/versions/{version}/yank (the `YankVersion` operationId).
	YankVersion(ctx context.Context, ns Namespace, name AgentName, version VersionString, body YankVersionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ExchangeDesktopCodeWithBody Exchange a desktop sign-in code for the PAT it granted.
	//
	// Unauthenticated; the code is the credential. Single use, bound to the `state` nonce the desktop app generated, and valid for 60 seconds from the grant. The PAT is minted at this moment and returned exactly once, like `createToken`. Rate-limited with the login class.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /auth/desktop/exchange (the `ExchangeDesktopCode` operationId).
	ExchangeDesktopCodeWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ExchangeDesktopCode Exchange a desktop sign-in code for the PAT it granted.
	//
	// Unauthenticated; the code is the credential. Single use, bound to the `state` nonce the desktop app generated, and valid for 60 seconds from the grant. The PAT is minted at this moment and returned exactly once, like `createToken`. Rate-limited with the login class.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /auth/desktop/exchange (the `ExchangeDesktopCode` operationId).
	ExchangeDesktopCode(ctx context.Context, body ExchangeDesktopCodeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// Logout Revoke the current session.
	//
	// Corresponds with POST /auth/logout (the `Logout` operationId).
	Logout(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SocialOidcCallback Sign-in redirect URI: establish a session.
	//
	// Exchanges the code, verifies the identity, then links or JIT-creates an individual account (`identities.provider_kind='social'`). Auto-linking to an existing account happens only when the provider asserts a verified email that matches a verified account email; otherwise the response is 409 and the accounts must be linked explicitly. A login begun with `next` (browser mode) answers 303 to that in-app path once the session cookie is set, or to `/login?error=…` on failure; the JSON result is the API mode, used when `next` was absent.
	//
	// Corresponds with GET /auth/oidc/{provider}/callback (the `SocialOidcCallback` operationId).
	SocialOidcCallback(ctx context.Context, provider SocialOidcCallbackParamsProvider, params *SocialOidcCallbackParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SocialOidcStart Begin sign-in with the deployment's OpenID provider.
	//
	// Individual-account sign-in through the OpenID provider the server is configured with (`auth.oidc`: discovery, issuer pinning, PKCE and a verified ID token). A provider id the server does not serve answers 404. This is individual sign-in and never grants org membership.
	//
	// Corresponds with GET /auth/oidc/{provider}/start (the `SocialOidcStart` operationId).
	SocialOidcStart(ctx context.Context, provider SocialOidcStartParamsProvider, params *SocialOidcStartParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// VerifyEmailWithBody Confirm an email address with the mailed token.
	//
	// Activates the account whose address the mailed link was sent to (POST /user/email-verification sends it).
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /auth/verify-email (the `VerifyEmail` operationId).
	VerifyEmailWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// VerifyEmail Confirm an email address with the mailed token.
	//
	// Activates the account whose address the mailed link was sent to (POST /user/email-verification sends it).
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /auth/verify-email (the `VerifyEmail` operationId).
	VerifyEmail(ctx context.Context, body VerifyEmailJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetConnectors Agentry's connectors and this deployment's public client ids.
	//
	// Every connector this build's catalogue holds: the vendor products whose servers Agentry has vetted. A connector whose app is a public client carries the `publicClientId` this deployment registered for it, which a client uses for a local sign-in to that connector's servers; it is absent where the deployment has configured none. No client secret is ever listed.
	//
	// Corresponds with GET /connectors (the `GetConnectors` operationId).
	GetConnectors(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetDesktopApps Agentry's catalogue of application servers.
	//
	// Every entry of this build's catalogue of application servers: for each application a QuickAgent may use on the person's own computer (`capabilities.desktop.servers` names an entry by its id), the MCP server Agentry has vetted for it, pinned to one exact release; how Agentry Desktop launches or reaches it; the loopback port the application listens on; every tool a run may call, with its class (`read`, `act` or `exec`, which asks the person before each call); the tools no run is given; and the hosts the server is known to reach from the person's computer, which no run can hold it to. Clients carry the same catalogue from their build; this route lets a page or a script read it.
	//
	// Corresponds with GET /desktop-apps (the `GetDesktopApps` operationId).
	GetDesktopApps(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetFindingVerdictWithBody Confirm or dismiss a finding (not on the caller's own version, unless platform staff).
	//
	// An author cannot set a verdict on a finding of their own version (403), whatever their organization role, as with a review decision. Platform staff may, their own versions included; the verdict's audit event then carries `self_decision: true`.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /findings/{id}/verdict (the `SetFindingVerdict` operationId).
	SetFindingVerdictWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetFindingVerdict Confirm or dismiss a finding (not on the caller's own version, unless platform staff).
	//
	// An author cannot set a verdict on a finding of their own version (403), whatever their organization role, as with a review decision. Platform staff may, their own versions included; the verdict's audit event then carries `self_decision: true`.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /findings/{id}/verdict (the `SetFindingVerdict` operationId).
	SetFindingVerdict(ctx context.Context, id openapi_types.UUID, body SetFindingVerdictJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetInvitation Read an invitation by its token (session only). Says which organization and role it offers and whether the signed-in account may accept it.
	//
	// Corresponds with GET /invitations/{token} (the `GetInvitation` operationId).
	GetInvitation(ctx context.Context, token string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AcceptInvitation Accept an invitation (session only). Refused unless the session's verified email is the invited address; single use.
	//
	// Corresponds with POST /invitations/{token} (the `AcceptInvitation` operationId).
	AcceptInvitation(ctx context.Context, token string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UnwrapKnowledgeKeyWithBody Unwrap a data key wrapped for the caller; refused for anyone else's.
	//
	// Answers the data key over TLS, never what wraps it. A wrapped key that does not open for the caller — wrapped for someone else, under a key since destroyed, or altered — is 404 `knowledge-key-not-found`.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /knowledge/keys/unwrap (the `UnwrapKnowledgeKey` operationId).
	UnwrapKnowledgeKeyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UnwrapKnowledgeKey Unwrap a data key wrapped for the caller; refused for anyone else's.
	//
	// Answers the data key over TLS, never what wraps it. A wrapped key that does not open for the caller — wrapped for someone else, under a key since destroyed, or altered — is 404 `knowledge-key-not-found`.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /knowledge/keys/unwrap (the `UnwrapKnowledgeKey` operationId).
	UnwrapKnowledgeKey(ctx context.Context, body UnwrapKnowledgeKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// WrapKnowledgeKeyWithBody Wrap a pack's data key for the caller.
	//
	// The caller's wrapper seals the 32-byte data key; the answer is what a client keeps beside a sealed pack. On a core registry the wrapper is the deployment's knowledge sealing key; an extension may wrap to the account's own key instead.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /knowledge/keys/wrap (the `WrapKnowledgeKey` operationId).
	WrapKnowledgeKeyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// WrapKnowledgeKey Wrap a pack's data key for the caller.
	//
	// The caller's wrapper seals the 32-byte data key; the answer is what a client keeps beside a sealed pack. On a core registry the wrapper is the deployment's knowledge sealing key; an extension may wrap to the account's own key instead.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /knowledge/keys/wrap (the `WrapKnowledgeKey` operationId).
	WrapKnowledgeKey(ctx context.Context, body WrapKnowledgeKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListKnowledgePacks The caller's knowledge packs, by name.
	//
	// Corresponds with GET /knowledge/packs (the `ListKnowledgePacks` operationId).
	ListKnowledgePacks(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateKnowledgePackWithBody Create a knowledge pack, empty, with its data key as the caller's wrapper wrapped it.
	//
	// The client makes the pack's data key, has it wrapped (`POST /knowledge/keys/wrap`), and names it here; the registry checks that the wrapped key opens for the caller and keeps it beside the pack. The tree follows with `PUT /knowledge/packs/{packId}/tree`. A name is the pack's directory name: 1-64 lowercase letters, digits, `.`, `-` or `_`, starting with a letter or a digit, one per owner (409 `knowledge-name-taken`).
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /knowledge/packs (the `CreateKnowledgePack` operationId).
	CreateKnowledgePackWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateKnowledgePack Create a knowledge pack, empty, with its data key as the caller's wrapper wrapped it.
	//
	// The client makes the pack's data key, has it wrapped (`POST /knowledge/keys/wrap`), and names it here; the registry checks that the wrapped key opens for the caller and keeps it beside the pack. The tree follows with `PUT /knowledge/packs/{packId}/tree`. A name is the pack's directory name: 1-64 lowercase letters, digits, `.`, `-` or `_`, starting with a letter or a digit, one per owner (409 `knowledge-name-taken`).
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /knowledge/packs (the `CreateKnowledgePack` operationId).
	CreateKnowledgePack(ctx context.Context, body CreateKnowledgePackJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteKnowledgePack Delete one of the caller's packs, its stored trees and its wrapped key.
	//
	// Corresponds with DELETE /knowledge/packs/{packId} (the `DeleteKnowledgePack` operationId).
	DeleteKnowledgePack(ctx context.Context, packId KnowledgePackId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetKnowledgePack One of the caller's packs with its scan report; 404 to anyone else.
	//
	// Corresponds with GET /knowledge/packs/{packId} (the `GetKnowledgePack` operationId).
	GetKnowledgePack(ctx context.Context, packId KnowledgePackId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ExportKnowledgePack The pack's tree, decrypted as it streams, to its owner alone.
	//
	// The canonical tar of the pack's `wiki/` and `sources/`, whose SHA-256 is the pack's digest; `Cache-Control: no-store`; 404 to anyone but the owner; 409 `knowledge-scanning` while the pack is scanned.
	//
	// Corresponds with GET /knowledge/packs/{packId}/export (the `ExportKnowledgePack` operationId).
	ExportKnowledgePack(ctx context.Context, packId KnowledgePackId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DownloadKnowledgeTree The pack's sealed tree, as stored; the client opens it with the unwrapped data key (409 `knowledge-scanning` while it is scanned).
	//
	// Corresponds with GET /knowledge/packs/{packId}/tree (the `DownloadKnowledgeTree` operationId).
	DownloadKnowledgeTree(ctx context.Context, packId KnowledgePackId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UploadKnowledgeTreeWithBody Upload a pack's sealed tree, which replaces the one before and is scanned.
	//
	// One PUT of the sealed tree (`pkg/packseal`: the pack's canonical tar sealed under its data key), at most a 10 MB pack; past that 413 `upload-too-large`, a tree past the pack's caps 413 `knowledge-too-large`, a tree that is not the digest its header names 422 `knowledge-digest-mismatch`, and a tree past the owner's allocation 413 `knowledge-allocation` with `bytes` and `max`. The registry opens it to check it before it keeps it, stores it sealed, and queues its scan: the pack is `scanning` until the scan ends and `ready` after, findings or not.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /knowledge/packs/{packId}/tree (the `UploadKnowledgeTree` operationId).
	UploadKnowledgeTreeWithBody(ctx context.Context, packId KnowledgePackId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetKnowledgeUsage What the caller keeps in the registry against their allocation.
	//
	// Corresponds with GET /knowledge/usage (the `GetKnowledgeUsage` operationId).
	GetKnowledgeUsage(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetMcpServerScan The registry's last vulnerability check of one MCP server package version.
	//
	// What S7 recorded for the exact package version: `safe` means no known advisories at `lastCheckedAt`, `vulnerable` lists them, `error` means the last lookup failed and the advisories are the last known. Each advisory carries its own `severity` and the gate's rating of it, `gateSeverity`. 404 when no manifest has ever declared this version. The runner asks here before installing a declared server.
	//
	// Corresponds with GET /mcp-servers/scan (the `GetMcpServerScan` operationId).
	GetMcpServerScan(ctx context.Context, params *GetMcpServerScanParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetMeta Server version and self-host feature flags.
	//
	// Corresponds with GET /meta (the `GetMeta` operationId).
	GetMeta(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CheckDraftWithBody AI Review of a finished draft before it is submitted.
	//
	// Reads a finished QuickAgent draft's rendered package the two ways AI Review will: with the release rubric that stage S5 of the pipeline asks at publish (the manifest as its canonical JSON and every text file, in the same chunks, state and request shape, under the same rubric hash), so the person knows before Submit what AI Review will flag; and with the draft question set, which asks whether the draft's instruction does the task its description asks for. Beside them, with no judge, `ungranted` lists each runner tool the instruction calls for that the manifest does not grant (a browser tool with no `capabilities.browser`, `run_command` with no exec commands, `fetch` with no egress host, a host tool with no target host, a workspace file tool with no filesystem access, a `<server>__<tool>` of a server not declared), which stage S6 sends to a person at publish. A rubric question at 2 or more (the gate's medium) is a finding and `flagged`; so is a draft question at 2 or more. A half the judge could not answer for is `not_scanned`. This is not the publication scan: a submitted version is scanned in full whatever this said. Nothing of the package is kept or logged. `usage` is for the record, never a price (AI Review is 1 credit for a whole draft). Callers as for `POST /model-input/scan`. 422 `draft-unreadable` for a package with no `agent.yaml`, one that does not parse, or no instruction file; 413 `draft-too-large` past 32 files or 65,536 bytes of text; 503 `model-input-unavailable` when the deployment's judge is not TypeSafe's Jev.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /model-input/check (the `CheckDraft` operationId).
	CheckDraftWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CheckDraft AI Review of a finished draft before it is submitted.
	//
	// Reads a finished QuickAgent draft's rendered package the two ways AI Review will: with the release rubric that stage S5 of the pipeline asks at publish (the manifest as its canonical JSON and every text file, in the same chunks, state and request shape, under the same rubric hash), so the person knows before Submit what AI Review will flag; and with the draft question set, which asks whether the draft's instruction does the task its description asks for. Beside them, with no judge, `ungranted` lists each runner tool the instruction calls for that the manifest does not grant (a browser tool with no `capabilities.browser`, `run_command` with no exec commands, `fetch` with no egress host, a host tool with no target host, a workspace file tool with no filesystem access, a `<server>__<tool>` of a server not declared), which stage S6 sends to a person at publish. A rubric question at 2 or more (the gate's medium) is a finding and `flagged`; so is a draft question at 2 or more. A half the judge could not answer for is `not_scanned`. This is not the publication scan: a submitted version is scanned in full whatever this said. Nothing of the package is kept or logged. `usage` is for the record, never a price (AI Review is 1 credit for a whole draft). Callers as for `POST /model-input/scan`. 422 `draft-unreadable` for a package with no `agent.yaml`, one that does not parse, or no instruction file; 413 `draft-too-large` past 32 files or 65,536 bytes of text; 503 `model-input-unavailable` when the deployment's judge is not TypeSafe's Jev.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /model-input/check (the `CheckDraft` operationId).
	CheckDraft(ctx context.Context, body CheckDraftJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ScanModelInputWithBody AI Review of text a model is about to read.
	//
	// Scans pushed text as model input: the deployment's judge is asked the model-input question set (injection, exfiltration, user deception, obfuscation), in 8 KiB chunks asked in parallel, and answers per chunk with scores. The text's score is the highest over its chunks and questions; 2 or more (the gate's medium) is `withheld`, and a chunk the judge could not answer (an error, a timeout, an answer out of shape) makes the text `not_scanned`, which a caller treats as withheld. Nothing of the text is kept or logged. `usage` counts the judge's requests and tokens for the record; it is never a price (AI Review is charged per operation, not per scan). Open to platform staff by session, and to a hosted job's credential in `X-Agentry-Job-Token` where an extension admits it; a token is refused whatever its scopes. 503 `model-input-unavailable` when the deployment's judge is not TypeSafe's Jev.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /model-input/scan (the `ScanModelInput` operationId).
	ScanModelInputWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ScanModelInput AI Review of text a model is about to read.
	//
	// Scans pushed text as model input: the deployment's judge is asked the model-input question set (injection, exfiltration, user deception, obfuscation), in 8 KiB chunks asked in parallel, and answers per chunk with scores. The text's score is the highest over its chunks and questions; 2 or more (the gate's medium) is `withheld`, and a chunk the judge could not answer (an error, a timeout, an answer out of shape) makes the text `not_scanned`, which a caller treats as withheld. Nothing of the text is kept or logged. `usage` counts the judge's requests and tokens for the record; it is never a price (AI Review is charged per operation, not per scan). Open to platform staff by session, and to a hosted job's credential in `X-Agentry-Job-Token` where an extension admits it; a token is refused whatever its scopes. 503 `model-input-unavailable` when the deployment's judge is not TypeSafe's Jev.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /model-input/scan (the `ScanModelInput` operationId).
	ScanModelInput(ctx context.Context, body ScanModelInputJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SearchModelInputWithBody Web search through the deployment's provider, every result scanned.
	//
	// Searches the web through the deployment's search provider with the registry's own key, then scans each result (its title, address and snippet) as model input, as `POST /model-input/scan` does. Only scanned results come back: a `withheld` or `not_scanned` result carries its origin (scheme and host), verdict and scores, never its title, its snippet or the rest of its address. The query goes to the search provider and is neither kept nor logged. Callers as for `POST /model-input/scan`. 503 `web-search-unavailable` when no provider is configured, 503 `model-input-unavailable` when there is no judge to scan the results, 502 `web-search-failed` when the provider did not answer.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /model-input/search (the `SearchModelInput` operationId).
	SearchModelInputWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SearchModelInput Web search through the deployment's provider, every result scanned.
	//
	// Searches the web through the deployment's search provider with the registry's own key, then scans each result (its title, address and snippet) as model input, as `POST /model-input/scan` does. Only scanned results come back: a `withheld` or `not_scanned` result carries its origin (scheme and host), verdict and scores, never its title, its snippet or the rest of its address. The query goes to the search provider and is neither kept nor logged. Callers as for `POST /model-input/scan`. 503 `web-search-unavailable` when no provider is configured, 503 `model-input-unavailable` when there is no judge to scan the results, 502 `web-search-failed` when the provider did not answer.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /model-input/search (the `SearchModelInput` operationId).
	SearchModelInput(ctx context.Context, body SearchModelInputJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateOrgWithBody Create an organization; the caller becomes its first admin.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /orgs (the `CreateOrg` operationId).
	CreateOrgWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateOrg Create an organization; the caller becomes its first admin.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /orgs (the `CreateOrg` operationId).
	CreateOrg(ctx context.Context, body CreateOrgJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetOrg Organization profile (public fields; settings for admins).
	//
	// Corresponds with GET /orgs/{org} (the `GetOrg` operationId).
	GetOrg(ctx context.Context, org OrgHandle, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateOrgWithBody Update org settings (admin+).
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PATCH /orgs/{org} (the `UpdateOrg` operationId).
	UpdateOrgWithBody(ctx context.Context, org OrgHandle, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateOrg Update org settings (admin+).
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PATCH /orgs/{org} (the `UpdateOrg` operationId).
	UpdateOrg(ctx context.Context, org OrgHandle, body UpdateOrgJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListOrgAudit Org audit events, newest first (admin+; cursor paged).
	//
	// Corresponds with GET /orgs/{org}/audit (the `ListOrgAudit` operationId).
	ListOrgAudit(ctx context.Context, org OrgHandle, params *ListOrgAuditParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateAuditExportWithBody Start an async NDJSON audit export (admin+).
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /orgs/{org}/audit/exports (the `CreateAuditExport` operationId).
	CreateAuditExportWithBody(ctx context.Context, org OrgHandle, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateAuditExport Start an async NDJSON audit export (admin+).
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /orgs/{org}/audit/exports (the `CreateAuditExport` operationId).
	CreateAuditExport(ctx context.Context, org OrgHandle, body CreateAuditExportJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetAuditExport Poll an audit export's status and download reference (admin+).
	//
	// Corresponds with GET /orgs/{org}/audit/exports/{id} (the `GetAuditExport` operationId).
	GetAuditExport(ctx context.Context, org OrgHandle, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DecommissionOrgWithBody Decommission the organization (admin; session only). It enters a read-only hold — members keep read and export — and at the end of the hold its agents, repositories, blobs and invitations are erased, its handle and domain released. The body must repeat the organization's handle. The last admin goes with it: this is the one way an organization loses its last admin (409 last-admin everywhere else).
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /orgs/{org}/decommission (the `DecommissionOrg` operationId).
	DecommissionOrgWithBody(ctx context.Context, org OrgHandle, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DecommissionOrg Decommission the organization (admin; session only). It enters a read-only hold — members keep read and export — and at the end of the hold its agents, repositories, blobs and invitations are erased, its handle and domain released. The body must repeat the organization's handle. The last admin goes with it: this is the one way an organization loses its last admin (409 last-admin everywhere else).
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /orgs/{org}/decommission (the `DecommissionOrg` operationId).
	DecommissionOrg(ctx context.Context, org OrgHandle, body DecommissionOrgJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListDomainClaims List domain claims (admin+).
	//
	// Corresponds with GET /orgs/{org}/domain-claims (the `ListDomainClaims` operationId).
	ListDomainClaims(ctx context.Context, org OrgHandle, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateDomainClaimWithBody Start a domain claim; returns the DNS TXT challenge (admin+).
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /orgs/{org}/domain-claims (the `CreateDomainClaim` operationId).
	CreateDomainClaimWithBody(ctx context.Context, org OrgHandle, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateDomainClaim Start a domain claim; returns the DNS TXT challenge (admin+).
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /orgs/{org}/domain-claims (the `CreateDomainClaim` operationId).
	CreateDomainClaim(ctx context.Context, org OrgHandle, body CreateDomainClaimJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// VerifyDomainClaimWithBody Check the DNS TXT record and mark verified (admin+).
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /orgs/{org}/domain-claims/verify (the `VerifyDomainClaim` operationId).
	VerifyDomainClaimWithBody(ctx context.Context, org OrgHandle, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// VerifyDomainClaim Check the DNS TXT record and mark verified (admin+).
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /orgs/{org}/domain-claims/verify (the `VerifyDomainClaim` operationId).
	VerifyDomainClaim(ctx context.Context, org OrgHandle, body VerifyDomainClaimJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListInvitations List the organization's open invitations (admin).
	//
	// Corresponds with GET /orgs/{org}/invitations (the `ListInvitations` operationId).
	ListInvitations(ctx context.Context, org OrgHandle, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateInvitationWithBody Invite someone by email (admin). The invitation reserves a seat when it is sent and expires in seven days. Its token is a credential shown once in this response and stored only as a hash. It is also mailed to the address when the registry may write there: an address at the organization's own verified domain always, and any other address only when it belongs to an account whose address the registry has confirmed. Accepting an invitation sent to the organization's verified domain also confirms the accepting account's address, because the organization proved it controls that domain.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /orgs/{org}/invitations (the `CreateInvitation` operationId).
	CreateInvitationWithBody(ctx context.Context, org OrgHandle, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateInvitation Invite someone by email (admin). The invitation reserves a seat when it is sent and expires in seven days. Its token is a credential shown once in this response and stored only as a hash. It is also mailed to the address when the registry may write there: an address at the organization's own verified domain always, and any other address only when it belongs to an account whose address the registry has confirmed. Accepting an invitation sent to the organization's verified domain also confirms the accepting account's address, because the organization proved it controls that domain.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /orgs/{org}/invitations (the `CreateInvitation` operationId).
	CreateInvitation(ctx context.Context, org OrgHandle, body CreateInvitationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RevokeInvitation Revoke an open invitation (admin); its seat is released.
	//
	// Corresponds with DELETE /orgs/{org}/invitations/{id} (the `RevokeInvitation` operationId).
	RevokeInvitation(ctx context.Context, org OrgHandle, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UnwrapOrgKnowledgeKeyWithBody Unwrap a data key wrapped for the organization, for any active member; refused once they are not one.
	//
	// The one door to a shared pack's words on a member's machine: the client keeps the answer in memory and asks again next time, so a member who is removed keeps sealed bytes they can no longer open. A wrapped key that does not open for the organization is 404 `knowledge-key-not-found`.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /orgs/{org}/knowledge/keys/unwrap (the `UnwrapOrgKnowledgeKey` operationId).
	UnwrapOrgKnowledgeKeyWithBody(ctx context.Context, org OrgHandle, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UnwrapOrgKnowledgeKey Unwrap a data key wrapped for the organization, for any active member; refused once they are not one.
	//
	// The one door to a shared pack's words on a member's machine: the client keeps the answer in memory and asks again next time, so a member who is removed keeps sealed bytes they can no longer open. A wrapped key that does not open for the organization is 404 `knowledge-key-not-found`.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /orgs/{org}/knowledge/keys/unwrap (the `UnwrapOrgKnowledgeKey` operationId).
	UnwrapOrgKnowledgeKey(ctx context.Context, org OrgHandle, body UnwrapOrgKnowledgeKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// WrapOrgKnowledgeKeyWithBody Wrap a data key for the organization (admins).
	//
	// The wrapper seals the 32-byte data key for the organization: on a core registry under the deployment's knowledge sealing key, on an extension's to the organization's own key.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /orgs/{org}/knowledge/keys/wrap (the `WrapOrgKnowledgeKey` operationId).
	WrapOrgKnowledgeKeyWithBody(ctx context.Context, org OrgHandle, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// WrapOrgKnowledgeKey Wrap a data key for the organization (admins).
	//
	// The wrapper seals the 32-byte data key for the organization: on a core registry under the deployment's knowledge sealing key, on an extension's to the organization's own key.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /orgs/{org}/knowledge/keys/wrap (the `WrapOrgKnowledgeKey` operationId).
	WrapOrgKnowledgeKey(ctx context.Context, org OrgHandle, body WrapOrgKnowledgeKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListOrgKnowledgePacks The organization's shared packs, by name, for any active member.
	//
	// Corresponds with GET /orgs/{org}/knowledge/packs (the `ListOrgKnowledgePacks` operationId).
	ListOrgKnowledgePacks(ctx context.Context, org OrgHandle, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateOrgKnowledgePackWithBody Create a shared pack, empty, with its data key wrapped for the organization (admins).
	//
	// As `POST /knowledge/packs`, with the data key wrapped by `POST /orgs/{org}/knowledge/keys/wrap`: the registry checks that it opens for the organization. The pack is not exportable by members until an admin marks it. Recorded in the organization's audit log (`org.knowledge_create`).
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /orgs/{org}/knowledge/packs (the `CreateOrgKnowledgePack` operationId).
	CreateOrgKnowledgePackWithBody(ctx context.Context, org OrgHandle, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateOrgKnowledgePack Create a shared pack, empty, with its data key wrapped for the organization (admins).
	//
	// As `POST /knowledge/packs`, with the data key wrapped by `POST /orgs/{org}/knowledge/keys/wrap`: the registry checks that it opens for the organization. The pack is not exportable by members until an admin marks it. Recorded in the organization's audit log (`org.knowledge_create`).
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /orgs/{org}/knowledge/packs (the `CreateOrgKnowledgePack` operationId).
	CreateOrgKnowledgePack(ctx context.Context, org OrgHandle, body CreateOrgKnowledgePackJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteOrgKnowledgePack Delete a shared pack, its stored trees and its wrapped key (admins).
	//
	// Recorded in the organization's audit log (`org.knowledge_delete`). A member's downloaded copy stays sealed under a data key only the organization's unwrap opens.
	//
	// Corresponds with DELETE /orgs/{org}/knowledge/packs/{packId} (the `DeleteOrgKnowledgePack` operationId).
	DeleteOrgKnowledgePack(ctx context.Context, org OrgHandle, packId KnowledgePackId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetOrgKnowledgePack One of the organization's shared packs with its scan report.
	//
	// Corresponds with GET /orgs/{org}/knowledge/packs/{packId} (the `GetOrgKnowledgePack` operationId).
	GetOrgKnowledgePack(ctx context.Context, org OrgHandle, packId KnowledgePackId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateOrgKnowledgePackWithBody Mark a shared pack exportable by the organization's members, or not (admins).
	//
	// Recorded in the organization's audit log (`org.knowledge_update`, with `exportable`).
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PATCH /orgs/{org}/knowledge/packs/{packId} (the `UpdateOrgKnowledgePack` operationId).
	UpdateOrgKnowledgePackWithBody(ctx context.Context, org OrgHandle, packId KnowledgePackId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateOrgKnowledgePack Mark a shared pack exportable by the organization's members, or not (admins).
	//
	// Recorded in the organization's audit log (`org.knowledge_update`, with `exportable`).
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PATCH /orgs/{org}/knowledge/packs/{packId} (the `UpdateOrgKnowledgePack` operationId).
	UpdateOrgKnowledgePack(ctx context.Context, org OrgHandle, packId KnowledgePackId, body UpdateOrgKnowledgePackJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ExportOrgKnowledgePack A shared pack's tree, decrypted as it streams, to an admin, or to a member once the pack is marked exportable.
	//
	// As `GET /knowledge/packs/{packId}/export`. A member's export of a pack not marked exportable is 403 `knowledge-not-exportable`. Recorded in the organization's audit log (`org.knowledge_export`).
	//
	// Corresponds with GET /orgs/{org}/knowledge/packs/{packId}/export (the `ExportOrgKnowledgePack` operationId).
	ExportOrgKnowledgePack(ctx context.Context, org OrgHandle, packId KnowledgePackId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DownloadOrgKnowledgeTree A shared pack's sealed tree, as stored, for any active member (409 `knowledge-scanning` while it is scanned).
	//
	// Corresponds with GET /orgs/{org}/knowledge/packs/{packId}/tree (the `DownloadOrgKnowledgeTree` operationId).
	DownloadOrgKnowledgeTree(ctx context.Context, org OrgHandle, packId KnowledgePackId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UploadOrgKnowledgeTreeWithBody Upload a shared pack's sealed tree, which replaces the one before and is scanned (admins).
	//
	// As `PUT /knowledge/packs/{packId}/tree`, counted against the allocation the organization's packs draw on.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /orgs/{org}/knowledge/packs/{packId}/tree (the `UploadOrgKnowledgeTree` operationId).
	UploadOrgKnowledgeTreeWithBody(ctx context.Context, org OrgHandle, packId KnowledgePackId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetOrgKnowledgeUsage What the organization keeps in the registry against the allocation its packs draw on.
	//
	// Corresponds with GET /orgs/{org}/knowledge/usage (the `GetOrgKnowledgeUsage` operationId).
	GetOrgKnowledgeUsage(ctx context.Context, org OrgHandle, reqEditors ...RequestEditorFn) (*http.Response, error)

	//
	// Corresponds with DELETE /orgs/{org}/logo (the `DeleteOrgLogo` operationId).
	DeleteOrgLogo(ctx context.Context, org OrgHandle, reqEditors ...RequestEditorFn) (*http.Response, error)

	//
	// A raster the core decoded and encoded again from the pixels: the bytes an admin uploaded are never what is served. The type is pinned and not sniffed. The URL an organization's resource carries (`logoUrl`) names the content by its `v`, and that URL is served as immutable for a year; the bare path, or one whose `v` is no longer the logo served, answers the current logo with `no-cache`. Clients render `logoUrl` as given and never build the path. 404 when the organization has none, or is not one the caller may see.
	//
	// Corresponds with GET /orgs/{org}/logo (the `GetOrgLogo` operationId).
	GetOrgLogo(ctx context.Context, org OrgHandle, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutOrgLogoWithBody Set the organization's logo (admin; the subscription must include branding).
	//
	// Multipart, one part named `file`: PNG or JPEG, at most 256 KB. Anything else is 415 `unsupported-image` — SVG in particular, for which this registry has no sanitiser. Over the cap, over 16 million pixels, or larger re-encoded than a logo may be, is 413 `upload-too-large`. The core decodes it and encodes it again; the pixels are kept, the bytes are not. Replaces any logo the organization had. 403 `feature-not-included` while the subscription does not include branding.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /orgs/{org}/logo (the `PutOrgLogo` operationId).
	PutOrgLogoWithBody(ctx context.Context, org OrgHandle, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListOrgMembers List members with roles (members can view).
	//
	// Corresponds with GET /orgs/{org}/members (the `ListOrgMembers` operationId).
	ListOrgMembers(ctx context.Context, org OrgHandle, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RemoveOrgMember Remove a member (admin), or leave: any active member may remove themselves, since a person belongs to one organization at a time and must be able to leave it. Removing a pending member is how an admin declines them; the last admin cannot be removed or leave (409 last-admin) — only a decommission removes them.
	//
	// Corresponds with DELETE /orgs/{org}/members/{handle} (the `RemoveOrgMember` operationId).
	RemoveOrgMember(ctx context.Context, org OrgHandle, handle Handle, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetOrgMemberWithBody Change a member's role (admin). This route does not add members: an organization is joined by accepting an invitation, or by an admin approving someone the IdP provisioned, and a PUT for a handle that holds no membership answers 422 naming those doors.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /orgs/{org}/members/{handle} (the `SetOrgMember` operationId).
	SetOrgMemberWithBody(ctx context.Context, org OrgHandle, handle Handle, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetOrgMember Change a member's role (admin). This route does not add members: an organization is joined by accepting an invitation, or by an admin approving someone the IdP provisioned, and a PUT for a handle that holds no membership answers 422 naming those doors.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /orgs/{org}/members/{handle} (the `SetOrgMember` operationId).
	SetOrgMember(ctx context.Context, org OrgHandle, handle Handle, body SetOrgMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ApproveOrgMemberWithBody Approve a pending member (admin). The seat check fires here: a person provisioned by the organization's identity provider, or folded in from the organization's domain, holds no seat until an admin approves them.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /orgs/{org}/members/{handle}/approve (the `ApproveOrgMember` operationId).
	ApproveOrgMemberWithBody(ctx context.Context, org OrgHandle, handle Handle, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ApproveOrgMember Approve a pending member (admin). The seat check fires here: a person provisioned by the organization's identity provider, or folded in from the organization's domain, holds no seat until an admin approves them.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /orgs/{org}/members/{handle}/approve (the `ApproveOrgMember` operationId).
	ApproveOrgMember(ctx context.Context, org OrgHandle, handle Handle, body ApproveOrgMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeclineOrgMember Decline a pending member (admin): the pending membership is removed and no seat is consumed. An active member is removed with DELETE instead.
	//
	// Corresponds with POST /orgs/{org}/members/{handle}/decline (the `DeclineOrgMember` operationId).
	DeclineOrgMember(ctx context.Context, org OrgHandle, handle Handle, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetOrgPolicy The org policy overlay (admin+).
	//
	// Corresponds with GET /orgs/{org}/policy (the `GetOrgPolicy` operationId).
	GetOrgPolicy(ctx context.Context, org OrgHandle, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetOrgPolicyWithBody Set the org policy overlay (admin; tighten-only).
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /orgs/{org}/policy (the `SetOrgPolicy` operationId).
	SetOrgPolicyWithBody(ctx context.Context, org OrgHandle, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetOrgPolicy Set the org policy overlay (admin; tighten-only).
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /orgs/{org}/policy (the `SetOrgPolicy` operationId).
	SetOrgPolicy(ctx context.Context, org OrgHandle, body SetOrgPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ReinstateOrg Reinstate a suspended organization, or cancel a decommission hold before its erasure runs (platform staff). An organization already erased cannot come back (409).
	//
	// Corresponds with POST /orgs/{org}/reinstate (the `ReinstateOrg` operationId).
	ReinstateOrg(ctx context.Context, org OrgHandle, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListOrgReportDesigns The organization's house report designs, for any active member.
	//
	// Up to ten named report designs the organization's admins keep, oldest first, which a member picks for a run by the organization's handle and the design's name. There is no default: a run that picks none takes the person's own default. Membership is read at every call, and a signed-in caller who is not an active member of the organization is answered 404, so the route says nothing of what an organization keeps to anyone outside it. The images are not listed; each entry says which it has.
	//
	// Corresponds with GET /orgs/{org}/report-designs (the `ListOrgReportDesigns` operationId).
	ListOrgReportDesigns(ctx context.Context, org OrgHandle, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateOrgReportDesignWithBody Add a house report design to the organization's library (admins).
	//
	// As `POST /user/report-designs`, validated by the core's pkg/reportdesign the same way and refused 422 the same way, with two rules of the organization's own: the library holds ten designs, an eleventh is 409 `conflict`; and a design's name is unique within the organization, compared without regard to case, since a run names one, so a second of a name is 409 `conflict`. A document that carries `logo`, `coverImage` or `customCover` stores each as the core's own re-encoding of it. Recorded in the organization's audit log (`org.report_design_create`). The answer carries the design in its canonical form, its images only on `include=assets`.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /orgs/{org}/report-designs (the `CreateOrgReportDesign` operationId).
	CreateOrgReportDesignWithBody(ctx context.Context, org OrgHandle, params *CreateOrgReportDesignParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateOrgReportDesign Add a house report design to the organization's library (admins).
	//
	// As `POST /user/report-designs`, validated by the core's pkg/reportdesign the same way and refused 422 the same way, with two rules of the organization's own: the library holds ten designs, an eleventh is 409 `conflict`; and a design's name is unique within the organization, compared without regard to case, since a run names one, so a second of a name is 409 `conflict`. A document that carries `logo`, `coverImage` or `customCover` stores each as the core's own re-encoding of it. Recorded in the organization's audit log (`org.report_design_create`). The answer carries the design in its canonical form, its images only on `include=assets`.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /orgs/{org}/report-designs (the `CreateOrgReportDesign` operationId).
	CreateOrgReportDesign(ctx context.Context, org OrgHandle, params *CreateOrgReportDesignParams, body CreateOrgReportDesignJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteOrgReportDesign Remove one of the organization's house report designs, images included (admins).
	//
	// Another organization's design, or one already gone, is 404. Recorded in the organization's audit log (`org.report_design_delete`).
	//
	// Corresponds with DELETE /orgs/{org}/report-designs/{designId} (the `DeleteOrgReportDesign` operationId).
	DeleteOrgReportDesign(ctx context.Context, org OrgHandle, designId ReportDesignId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetOrgReportDesign One of the organization's house report designs, for any active member.
	//
	// The design in its canonical form. Its images (`logo`, `coverImage`, `customCover`) come only with `include=assets`: a run that draws them asks for them, a console that lists them does not. Another organization's design is 404.
	//
	// Corresponds with GET /orgs/{org}/report-designs/{designId} (the `GetOrgReportDesign` operationId).
	GetOrgReportDesign(ctx context.Context, org OrgHandle, designId ReportDesignId, params *GetOrgReportDesignParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateOrgReportDesignWithBody Replace one of the organization's house report designs (admins).
	//
	// A full replace of the document, validated as a create is, the field named `design.<path>` on a refusal, and the stored design standing. A name another of the organization's designs holds is 409 `conflict`. The images stay as they are unless the document carries them, as for a person's own design. An admin's change reaches a member's next run. Recorded in the organization's audit log (`org.report_design_update`).
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /orgs/{org}/report-designs/{designId} (the `UpdateOrgReportDesign` operationId).
	UpdateOrgReportDesignWithBody(ctx context.Context, org OrgHandle, designId ReportDesignId, params *UpdateOrgReportDesignParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateOrgReportDesign Replace one of the organization's house report designs (admins).
	//
	// A full replace of the document, validated as a create is, the field named `design.<path>` on a refusal, and the stored design standing. A name another of the organization's designs holds is 409 `conflict`. The images stay as they are unless the document carries them, as for a person's own design. An admin's change reaches a member's next run. Recorded in the organization's audit log (`org.report_design_update`).
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /orgs/{org}/report-designs/{designId} (the `UpdateOrgReportDesign` operationId).
	UpdateOrgReportDesign(ctx context.Context, org OrgHandle, designId ReportDesignId, params *UpdateOrgReportDesignParams, body UpdateOrgReportDesignJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteOrgReportDesignCoverImage Remove the cover image from one of the organization's house report designs (admins).
	//
	// The design stays. Removing a cover image that is not there is not an error. The answer carries the design with its images.
	//
	// Corresponds with DELETE /orgs/{org}/report-designs/{designId}/cover-image (the `DeleteOrgReportDesignCoverImage` operationId).
	DeleteOrgReportDesignCoverImage(ctx context.Context, org OrgHandle, designId ReportDesignId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutOrgReportDesignCoverImageWithBody Set the cover image of one of the organization's house report designs (admins).
	//
	// As `PUT /user/report-designs/{designId}/cover-image`: multipart, one part named `file`, a PNG or a JPEG of at most 2 MB, kept only as the core's own re-encoding of its pixels in the format it came in. Recorded in the organization's audit log (`org.report_design_update`). The answer carries the design with its images.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /orgs/{org}/report-designs/{designId}/cover-image (the `PutOrgReportDesignCoverImage` operationId).
	PutOrgReportDesignCoverImageWithBody(ctx context.Context, org OrgHandle, designId ReportDesignId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteOrgReportDesignCustomCover Remove the custom cover from one of the organization's house report designs (admins).
	//
	// The design stays, its cover style included. Removing a custom cover that is not there is not an error. The answer carries the design with its images.
	//
	// Corresponds with DELETE /orgs/{org}/report-designs/{designId}/custom-cover (the `DeleteOrgReportDesignCustomCover` operationId).
	DeleteOrgReportDesignCustomCover(ctx context.Context, org OrgHandle, designId ReportDesignId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutOrgReportDesignCustomCoverWithBody Set the custom cover of one of the organization's house report designs (admins).
	//
	// As `PUT /user/report-designs/{designId}/custom-cover`: the custom cover whole, its source held to its bounds and never read, each image and the thumbnail encoded again by the core. Recorded in the organization's audit log (`org.report_design_update`). The answer carries the design with its images.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /orgs/{org}/report-designs/{designId}/custom-cover (the `PutOrgReportDesignCustomCover` operationId).
	PutOrgReportDesignCustomCoverWithBody(ctx context.Context, org OrgHandle, designId ReportDesignId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutOrgReportDesignCustomCover Set the custom cover of one of the organization's house report designs (admins).
	//
	// As `PUT /user/report-designs/{designId}/custom-cover`: the custom cover whole, its source held to its bounds and never read, each image and the thumbnail encoded again by the core. Recorded in the organization's audit log (`org.report_design_update`). The answer carries the design with its images.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /orgs/{org}/report-designs/{designId}/custom-cover (the `PutOrgReportDesignCustomCover` operationId).
	PutOrgReportDesignCustomCover(ctx context.Context, org OrgHandle, designId ReportDesignId, body PutOrgReportDesignCustomCoverJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	//
	// The design stays. Removing a logo that is not there is not an error. The answer carries the design with its images.
	//
	// Corresponds with DELETE /orgs/{org}/report-designs/{designId}/logo (the `DeleteOrgReportDesignLogo` operationId).
	DeleteOrgReportDesignLogo(ctx context.Context, org OrgHandle, designId ReportDesignId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutOrgReportDesignLogoWithBody Set the logo of one of the organization's house report designs (admins).
	//
	// As `PUT /user/report-designs/{designId}/logo`: multipart, one part named `file`, a PNG or a JPEG of at most 512 KB, kept only as the core's own re-encoding of its pixels. Recorded in the organization's audit log (`org.report_design_update`). The answer carries the design with its images.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /orgs/{org}/report-designs/{designId}/logo (the `PutOrgReportDesignLogo` operationId).
	PutOrgReportDesignLogoWithBody(ctx context.Context, org OrgHandle, designId ReportDesignId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SuspendOrgWithBody Suspend the organization (platform staff). It and everything under it answer 404 to everyone, over the API and over git, until it is reinstated. Nothing is deleted.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /orgs/{org}/suspend (the `SuspendOrg` operationId).
	SuspendOrgWithBody(ctx context.Context, org OrgHandle, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SuspendOrg Suspend the organization (platform staff). It and everything under it answer 404 to everyone, over the API and over git, until it is reinstated. Nothing is deleted.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /orgs/{org}/suspend (the `SuspendOrg` operationId).
	SuspendOrg(ctx context.Context, org OrgHandle, body SuspendOrgJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListTeams List teams (members can view).
	//
	// Corresponds with GET /orgs/{org}/teams (the `ListTeams` operationId).
	ListTeams(ctx context.Context, org OrgHandle, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateTeamWithBody Create a team (admin+).
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /orgs/{org}/teams (the `CreateTeam` operationId).
	CreateTeamWithBody(ctx context.Context, org OrgHandle, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateTeam Create a team (admin+).
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /orgs/{org}/teams (the `CreateTeam` operationId).
	CreateTeam(ctx context.Context, org OrgHandle, body CreateTeamJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteTeam Delete a team (admin+).
	//
	// Corresponds with DELETE /orgs/{org}/teams/{team} (the `DeleteTeam` operationId).
	DeleteTeam(ctx context.Context, org OrgHandle, team TeamSlug, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListTeamMembers List team members (org members can view).
	//
	// Corresponds with GET /orgs/{org}/teams/{team}/members (the `ListTeamMembers` operationId).
	ListTeamMembers(ctx context.Context, org OrgHandle, team TeamSlug, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RemoveTeamMember Remove a member from a team (admin+).
	//
	// Corresponds with DELETE /orgs/{org}/teams/{team}/members/{handle} (the `RemoveTeamMember` operationId).
	RemoveTeamMember(ctx context.Context, org OrgHandle, team TeamSlug, handle Handle, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AddTeamMember Add an org member to a team (admin+).
	//
	// Corresponds with PUT /orgs/{org}/teams/{team}/members/{handle} (the `AddTeamMember` operationId).
	AddTeamMember(ctx context.Context, org OrgHandle, team TeamSlug, handle Handle, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListWebhooks List webhook endpoints (admin+).
	//
	// Corresponds with GET /orgs/{org}/webhooks (the `ListWebhooks` operationId).
	ListWebhooks(ctx context.Context, org OrgHandle, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateWebhookWithBody Create a webhook endpoint (admin+).
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /orgs/{org}/webhooks (the `CreateWebhook` operationId).
	CreateWebhookWithBody(ctx context.Context, org OrgHandle, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateWebhook Create a webhook endpoint (admin+).
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /orgs/{org}/webhooks (the `CreateWebhook` operationId).
	CreateWebhook(ctx context.Context, org OrgHandle, body CreateWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteWebhook Delete a webhook endpoint (admin+).
	//
	// Corresponds with DELETE /orgs/{org}/webhooks/{id} (the `DeleteWebhook` operationId).
	DeleteWebhook(ctx context.Context, org OrgHandle, id WebhookID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetWebhook Get a webhook endpoint (admin+).
	//
	// Corresponds with GET /orgs/{org}/webhooks/{id} (the `GetWebhook` operationId).
	GetWebhook(ctx context.Context, org OrgHandle, id WebhookID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateWebhookWithBody Update a webhook endpoint (admin+).
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PATCH /orgs/{org}/webhooks/{id} (the `UpdateWebhook` operationId).
	UpdateWebhookWithBody(ctx context.Context, org OrgHandle, id WebhookID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateWebhook Update a webhook endpoint (admin+).
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PATCH /orgs/{org}/webhooks/{id} (the `UpdateWebhook` operationId).
	UpdateWebhook(ctx context.Context, org OrgHandle, id WebhookID, body UpdateWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListWebhookDeliveries Recent delivery attempts for an endpoint (admin+).
	//
	// Corresponds with GET /orgs/{org}/webhooks/{id}/deliveries (the `ListWebhookDeliveries` operationId).
	ListWebhookDeliveries(ctx context.Context, org OrgHandle, id WebhookID, params *ListWebhookDeliveriesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PingWebhook Send a test delivery to an endpoint (admin+).
	//
	// Enqueues a signed `ping` delivery through the ordinary webhook machinery (same signature header, same SSRF guard, same retry schedule), so the recorded attempt appears in `GET …/{id}/deliveries`. Honours `Idempotency-Key`.
	//
	// Corresponds with POST /orgs/{org}/webhooks/{id}/ping (the `PingWebhook` operationId).
	PingWebhook(ctx context.Context, org OrgHandle, id WebhookID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListAbuseReports Abuse reports for triage (platform staff).
	//
	// Corresponds with GET /platform/abuse-reports (the `ListAbuseReports` operationId).
	ListAbuseReports(ctx context.Context, params *ListAbuseReportsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// TriageAbuseReportWithBody Record a triage outcome for an abuse report (platform staff).
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /platform/abuse-reports/{id} (the `TriageAbuseReport` operationId).
	TriageAbuseReportWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// TriageAbuseReport Record a triage outcome for an abuse report (platform staff).
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /platform/abuse-reports/{id} (the `TriageAbuseReport` operationId).
	TriageAbuseReport(ctx context.Context, id openapi_types.UUID, body TriageAbuseReportJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PlatformAgentActionWithBody Quarantine, block, or reinstate an agent (platform staff).
	//
	// Quarantine and block take effect before the response. Reinstate clears
	// the agent's flag and asks for a fresh scan of each of its blocked and
	// quarantined versions, then returns; it publishes nothing itself. A
	// version is published again, signed as any publication is, only when the
	// gate's verdict on its new scan is publish, and its open review item is
	// closed with the reinstate's reason. Every other version stays held: a
	// blocked one becomes quarantined once its verdict exists, and each has an
	// open platform review item for a person to decide against the new scan.
	// A version admitted without a scan has no scan to judge and stays as it is.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /platform/agents/{ns}/{name}/{action} (the `PlatformAgentAction` operationId).
	PlatformAgentActionWithBody(ctx context.Context, ns Namespace, name AgentName, action PlatformAgentActionParamsAction, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PlatformAgentAction Quarantine, block, or reinstate an agent (platform staff).
	//
	// Quarantine and block take effect before the response. Reinstate clears
	// the agent's flag and asks for a fresh scan of each of its blocked and
	// quarantined versions, then returns; it publishes nothing itself. A
	// version is published again, signed as any publication is, only when the
	// gate's verdict on its new scan is publish, and its open review item is
	// closed with the reinstate's reason. Every other version stays held: a
	// blocked one becomes quarantined once its verdict exists, and each has an
	// open platform review item for a person to decide against the new scan.
	// A version admitted without a scan has no scan to judge and stays as it is.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /platform/agents/{ns}/{name}/{action} (the `PlatformAgentAction` operationId).
	PlatformAgentAction(ctx context.Context, ns Namespace, name AgentName, action PlatformAgentActionParamsAction, body PlatformAgentActionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListPlatformAudit Audit events across every org (platform staff).
	//
	// The staff-wide slice of the audit log, newest first. Staff access to it is itself audited, one event per call.
	//
	// Corresponds with GET /platform/audit (the `ListPlatformAudit` operationId).
	ListPlatformAudit(ctx context.Context, params *ListPlatformAuditParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListKnowledgePackSizes An account's or an organization's packs by name and size, for support (platform staff).
	//
	// Names, states and sizes only: never a byte of content, a digest, a scan report or a key.
	//
	// Corresponds with GET /platform/knowledge (the `ListKnowledgePackSizes` operationId).
	ListKnowledgePackSizes(ctx context.Context, params *ListKnowledgePackSizesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetPlatformPolicy The read-only platform baseline policy.
	//
	// Corresponds with GET /platform/policy (the `GetPlatformPolicy` operationId).
	GetPlatformPolicy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListRedTeamReports Reports of the scheduled red-team job against the S3/S4 gate (platform staff).
	//
	// Newest first. Each report is one run of the attack corpus's rewrites (paraphrase, encoding, unicode and obfuscation mutators) scanned with the rule bundle in service, and lists the rewrites an expected rule no longer caught. Report-only: nothing on the publish path reads these.
	//
	// Corresponds with GET /platform/redteam/reports (the `ListRedTeamReports` operationId).
	ListRedTeamReports(ctx context.Context, params *ListRedTeamReportsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListRulesetReleases Ruleset releases, newest first (platform staff).
	//
	// Corresponds with GET /platform/ruleset-releases (the `ListRulesetReleases` operationId).
	ListRulesetReleases(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateRulesetReleaseWithBody Register a ruleset release (platform staff).
	//
	// Records the versioned scanner bundle a deployment is running, so scan runs can name it. Omitting the body registers the server's own embedded bundle. Honours `Idempotency-Key`; re-registering the same semver returns the existing row.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /platform/ruleset-releases (the `CreateRulesetRelease` operationId).
	CreateRulesetReleaseWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateRulesetRelease Register a ruleset release (platform staff).
	//
	// Records the versioned scanner bundle a deployment is running, so scan runs can name it. Omitting the body registers the server's own embedded bundle. Honours `Idempotency-Key`; re-registering the same semver returns the existing row.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /platform/ruleset-releases (the `CreateRulesetRelease` operationId).
	CreateRulesetRelease(ctx context.Context, body CreateRulesetReleaseJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ResolveRef Resolve ns/name@range to a concrete version.
	//
	// Corresponds with GET /resolve (the `ResolveRef` operationId).
	ResolveRef(ctx context.Context, params *ResolveRefParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetReviewItem One review item with its findings bundle.
	//
	// Corresponds with GET /review-items/{id} (the `GetReviewItem` operationId).
	GetReviewItem(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DecideReviewItemWithBody Approve or reject a version under review (not its author, unless platform staff).
	//
	// An author cannot decide their own version (403), whatever their organization role. Platform staff may decide any item, their own versions included; the decision's audit event then carries `self_decision: true`.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /review-items/{id}/decision (the `DecideReviewItem` operationId).
	DecideReviewItemWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DecideReviewItem Approve or reject a version under review (not its author, unless platform staff).
	//
	// An author cannot decide their own version (403), whatever their organization role. Platform staff may decide any item, their own versions included; the decision's audit event then carries `self_decision: true`.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /review-items/{id}/decision (the `DecideReviewItem` operationId).
	DecideReviewItem(ctx context.Context, id openapi_types.UUID, body DecideReviewItemJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetReviewFile One file's content from the archive under review (reviewer/staff).
	//
	// Corresponds with GET /review-items/{id}/file (the `GetReviewFile` operationId).
	GetReviewFile(ctx context.Context, id openapi_types.UUID, params *GetReviewFileParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListReviewFiles File inventory of the archive under review (reviewer/staff).
	//
	// Corresponds with GET /review-items/{id}/files (the `ListReviewFiles` operationId).
	ListReviewFiles(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListReviewQueue Pending review items (platform staff, or an org's security_reviewer for its queue).
	//
	// The platform queue is platform staff's. An org queue is that organization's reviewers' and platform staff's; staff may leave `org` out to list every organization's pending items, and anyone else must name it (422).
	//
	// Corresponds with GET /review-queue (the `ListReviewQueue` operationId).
	ListReviewQueue(ctx context.Context, params *ListReviewQueueParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetLatestRulesetAttestation DSSE attestation over the bundle `…/latest/bundle` serves.
	//
	// An in-toto statement (predicate `https://agentry.dev/attestation/ruleset/v1`) whose subject digest is the bundle's content digest, signed with the registry's release-signing key (`/.well-known/agentry/signing-keys.json`). Lets `agentry validate --rules-update` verify a fetched bundle by signature rather than only by the digest the same server advertised. The worker signs it at start and stores it, so every replica serves the same envelope. 404 when the registry does not sign (`signing.kind: none`), or when no process holding the signing key has started with this bundle yet (a rolling deploy).
	//
	// Corresponds with GET /ruleset-releases/latest/attestation (the `GetLatestRulesetAttestation` operationId).
	GetLatestRulesetAttestation(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetLatestRulesetBundle The newest published S3/S4 rule bundle, for `agentry validate --rules-update`.
	//
	// Returns the deployment's rule bundle as an uncompressed tar of the bundle directory (`bundle.yaml` plus the family YAML files), exactly the bytes `pkg/rules.LoadBundle` reads. The advertised identity travels in headers so a client can check what it got without unpacking first:
	//
	// `X-Agentry-Bundle-Semver`: the ruleset release semver; `X-Agentry-Bundle-Digest`: the `sha256:<hex>` content digest recorded on the `ruleset_releases` row; `ETag`: the same digest.
	//
	// The digest is the pin: a client MUST recompute it over the received bundle and refuse a mismatch. Bundle-level *signatures* do not exist yet; this endpoint pins by digest only.
	//
	// Corresponds with GET /ruleset-releases/latest/bundle (the `GetLatestRulesetBundle` operationId).
	GetLatestRulesetBundle(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SearchAgents Full-text search over public agents with facets.
	//
	// Corresponds with GET /search (the `SearchAgents` operationId).
	SearchAgents(ctx context.Context, params *SearchAgentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListAgentsByTag Public agents tagged with {tag}.
	//
	// Matches the tag list of each agent's latest published manifest (`manifest.tags`, V8). Blocked agents never appear.
	//
	// Corresponds with GET /tags/{tag} (the `ListAgentsByTag` operationId).
	ListAgentsByTag(ctx context.Context, tag string, params *ListAgentsByTagParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetCurrentUser The authenticated user.
	//
	// Corresponds with GET /user (the `GetCurrentUser` operationId).
	GetCurrentUser(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateCurrentUserWithBody Update profile fields.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PATCH /user (the `UpdateCurrentUser` operationId).
	UpdateCurrentUserWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateCurrentUser Update profile fields.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PATCH /user (the `UpdateCurrentUser` operationId).
	UpdateCurrentUser(ctx context.Context, body UpdateCurrentUserJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListUserActivity The caller's own activity — the audit events they performed.
	//
	// Sign-ins, tokens and SSH keys created or revoked, profile and notification changes, publishes and reviews, newest first, with the address and user agent each was performed from. Keyset-paged like the agent activity feed.
	//
	// Corresponds with GET /user/activity (the `ListUserActivity` operationId).
	ListUserActivity(ctx context.Context, params *ListUserActivityParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ClearCurrentUserData Clear the caller's credentials, installs and settings, and keep the account (session only).
	//
	// Revokes every personal access token and SSH key, deletes every remembered browser (the ones that skip the second factor), consumes every pending desktop sign-in code, ends every session but the caller's, removes every account install, and resets the display name and the notification settings to their defaults (every switch on; mail still goes only to a verified address). The account itself stays: the handle, the email, the sign-in account at the directory, organization memberships, QuickAgents with their versions and repositories, stars, the subscription and credits are untouched. Audited as `user.data_clear` with the count of each class; after the commit an extension event `user.data_cleared` carries the user id, so an extension clears what it holds for the account (hosted run history). Session only: a token is refused, and so is a request without the session's CSRF token.
	//
	// Corresponds with POST /user/clear-data (the `ClearCurrentUserData` operationId).
	ClearCurrentUserData(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteCurrentUser Erase the caller's account (GDPR flow).
	//
	// Purges personal data and pseudonymizes the account. Published public versions are never deleted: they are either yanked, so already-installed copies keep verifying, or the personal-namespace agents are transferred to an organization the caller administers. When the account has published public versions the choice is explicit: omitting `publishedContent` is a 400, never a silent yank. When the deployment holds credentials in a directory service that an extension of the server reaches, the sign-in account there is deleted in the same step; the outcome is audited as `user.directory_erase` and returned in the `X-Agentry-Directory-Erasure` header. A failed directory attempt does not undo the registry's erasure: the directory retries it where it can (`pending`), and one that does not complete is raised to the operator. An account that is an organization's last admin is refused (409 last-admin) until another admin is in place; a transfer that would put the organization over its private-agent cap is refused (422 private-agent-cap) with nothing erased. The erased account's memberships go with it.
	//
	// Corresponds with POST /user/delete (the `DeleteCurrentUser` operationId).
	DeleteCurrentUser(ctx context.Context, params *DeleteCurrentUserParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListUserDependencyAlerts Open dependency alerts on published versions the caller submitted.
	//
	// A dependency alert says a published version declares an MCP server version that the daily sweep found to carry a newly known high or critical vulnerability. It closes on its own when the version is yanked, quarantined or blocked, or when the advisory is withdrawn; publishing a fixed version does not close the old version's alert. A front end shows these; the site renders them as the banner after sign-in and on the dashboard.
	//
	// Corresponds with GET /user/dependency-alerts (the `ListUserDependencyAlerts` operationId).
	ListUserDependencyAlerts(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetDomainOrg Which organization the caller's verified email domain belongs to. 403 email-unverified until the address is verified.
	//
	// Corresponds with GET /user/domain-org (the `GetDomainOrg` operationId).
	GetDomainOrg(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RequestDomainOrgAccess Ask the administrators of the organization that holds the caller's email domain to add them (session only). Mails the admins, once a day per person (429 rate-limited afterwards), audited as `org.access_request`. 404 when no organization holds the domain; 409 when the caller is already a member there.
	//
	// Corresponds with POST /user/domain-org/request-access (the `RequestDomainOrgAccess` operationId).
	RequestDomainOrgAccess(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SendEmailVerification Send the caller a new activation link.
	//
	// Mails a new link that confirms the account's address and so activates it. An unactivated account (an address not yet confirmed) can read but not write; this is one of the few writes it may make. At most one mail per account every five minutes, counted from the last one sent, the one sent at the first sign-in included: sooner is a 429 with `Retry-After` and `resendAfter`. A link works once and for 24 hours, and an earlier unexpired link keeps working. An account whose address is already confirmed, or that has no address a link can reach, is a 409.
	//
	// Corresponds with POST /user/email-verification (the `SendEmailVerification` operationId).
	SendEmailVerification(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListAccountInstalls The caller's account installs, composed for a list.
	//
	// Every record the caller holds, newest change first. A record whose QuickAgent the caller can no longer read — made private to them, its organization suspended — is listed as the bare `ref` with `readable: false` and nothing else, so the list tells a former reader nothing they did not already know. A PAT needs `user:profile`.
	//
	// Corresponds with GET /user/installs (the `ListAccountInstalls` operationId).
	ListAccountInstalls(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteAccountInstall Remove the caller's record for a QuickAgent (idempotent).
	//
	// 204 whether or not a record existed, and whether or not the name resolves: the row is the caller's own, so no QuickAgent is read and nothing is learned about one — a record whose QuickAgent the caller can no longer read is removed by the ref the list shows for it. Audited as `agent.uninstall` when a record went. A PAT needs `user:profile`.
	//
	// Corresponds with DELETE /user/installs/{ns}/{name} (the `DeleteAccountInstall` operationId).
	DeleteAccountInstall(ctx context.Context, ns Namespace, name AgentName, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutAccountInstallWithBody Record a QuickAgent release as installed to the account, or move the record to another version.
	//
	// The version must be a published release the caller can read: a non-reader gets the missing name's 404, an unpublished version `409 version-not-published`, a blocked QuickAgent `410 blocked`. The request carries the acceptances the release needs and is refused with `409 install-consent-required`, naming the missing ones in `missing`, when it lacks any: `capabilities` on a first install and, on an update, when the new version's declared capabilities widened against the accepted snapshot (`widened` lists what did); `unsigned` whenever the release carries no attestation; `unscanned` whenever it was admitted without a scan. A PUT on an existing record is the update, to any published version, an older one included: the version moves and the snapshot follows it. The action is audited as `agent.install`; no download counter moves. A PAT needs `user:profile`, and `agent:read` for a private QuickAgent.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /user/installs/{ns}/{name} (the `PutAccountInstall` operationId).
	PutAccountInstallWithBody(ctx context.Context, ns Namespace, name AgentName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutAccountInstall Record a QuickAgent release as installed to the account, or move the record to another version.
	//
	// The version must be a published release the caller can read: a non-reader gets the missing name's 404, an unpublished version `409 version-not-published`, a blocked QuickAgent `410 blocked`. The request carries the acceptances the release needs and is refused with `409 install-consent-required`, naming the missing ones in `missing`, when it lacks any: `capabilities` on a first install and, on an update, when the new version's declared capabilities widened against the accepted snapshot (`widened` lists what did); `unsigned` whenever the release carries no attestation; `unscanned` whenever it was admitted without a scan. A PUT on an existing record is the update, to any published version, an older one included: the version moves and the snapshot follows it. The action is audited as `agent.install`; no download counter moves. A PAT needs `user:profile`, and `agent:read` for a private QuickAgent.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /user/installs/{ns}/{name} (the `PutAccountInstall` operationId).
	PutAccountInstall(ctx context.Context, ns Namespace, name AgentName, body PutAccountInstallJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetUserManagedSettings The managed settings the caller's organization set for them, signed.
	//
	// The values an organization's admins set for this member's Agentry clients, as a DSSE envelope of payload type `application/vnd.agentry.managed-settings+json` signed with the registry's release-signing key (the keys at `/.well-known/agentry/signing-keys.json`). The payload is described by `schemas/managed-settings-1.schema.json`. The registry sets its `registry` and `account` fields, and a client accepts a document only from the registry and for the account it is signed in to. A locked setting is one the member cannot change; one that is not locked is an organization default. The answer is 204 when no settings apply to the caller, and 503 when the registry has no signing key or no base URL, since an unsigned or unbound document is never served.
	//
	// Corresponds with GET /user/managed-settings (the `GetUserManagedSettings` operationId).
	GetUserManagedSettings(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetUserNotificationSettings How the registry's alerts reach the caller.
	//
	// Email per kind of notification, and whether the dependency-alert banner shows in a front end (the site reads it). An account that never changed anything reads back with everything on.
	//
	// Corresponds with GET /user/notifications (the `GetUserNotificationSettings` operationId).
	GetUserNotificationSettings(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateUserNotificationSettingsWithBody Replace the caller's notification settings.
	//
	// Every required switch is sent, on or off. A write that leaves one out answers 422 naming it and changes nothing. An optional switch that is left out keeps its stored value.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /user/notifications (the `UpdateUserNotificationSettings` operationId).
	UpdateUserNotificationSettingsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateUserNotificationSettings Replace the caller's notification settings.
	//
	// Every required switch is sent, on or off. A write that leaves one out answers 422 naming it and changes nothing. An optional switch that is left out keeps its stored value.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /user/notifications (the `UpdateUserNotificationSettings` operationId).
	UpdateUserNotificationSettings(ctx context.Context, body UpdateUserNotificationSettingsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListUserReportDesigns The caller's report design library.
	//
	// Up to ten named report designs, oldest first, and which one is the default: the design `export_pdf` renders with in the caller's runs when the run picks none. The model never chooses a design. An account with no designs, or none as the default, reads back with no `default`, which is not the same as Plain: a signed-in client then falls to its own configuration, else Plain. The images are not listed; each entry says which it has.
	//
	// Corresponds with GET /user/report-designs (the `ListUserReportDesigns` operationId).
	ListUserReportDesigns(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateUserReportDesignWithBody Add a report design to the caller's library.
	//
	// The design is validated by the core's pkg/reportdesign before it is stored: a document that breaks a rule (an unknown key, a name off a closed list, a font in a role it cannot take, a colour that is not `#rrggbb` or whose contrast on white is too low for where it goes, a text that is not one line, a cover fact twice, an image or a custom cover over its bounds, over 24 KB without them) is refused 422 (`validation`), the field named `design.<path>`. A version-2 document is refused the same way, with no mapping. The library holds ten designs: an eleventh is 409 `conflict`. `default` makes the new design the default, and the previous default an ordinary design of the library; without it the default is unchanged. A document that carries `logo`, `coverImage` or `customCover` stores each as the core's own re-encoding of it. The answer carries the design in its canonical form, its images only on `include=assets`.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /user/report-designs (the `CreateUserReportDesign` operationId).
	CreateUserReportDesignWithBody(ctx context.Context, params *CreateUserReportDesignParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateUserReportDesign Add a report design to the caller's library.
	//
	// The design is validated by the core's pkg/reportdesign before it is stored: a document that breaks a rule (an unknown key, a name off a closed list, a font in a role it cannot take, a colour that is not `#rrggbb` or whose contrast on white is too low for where it goes, a text that is not one line, a cover fact twice, an image or a custom cover over its bounds, over 24 KB without them) is refused 422 (`validation`), the field named `design.<path>`. A version-2 document is refused the same way, with no mapping. The library holds ten designs: an eleventh is 409 `conflict`. `default` makes the new design the default, and the previous default an ordinary design of the library; without it the default is unchanged. A document that carries `logo`, `coverImage` or `customCover` stores each as the core's own re-encoding of it. The answer carries the design in its canonical form, its images only on `include=assets`.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /user/report-designs (the `CreateUserReportDesign` operationId).
	CreateUserReportDesign(ctx context.Context, params *CreateUserReportDesignParams, body CreateUserReportDesignJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetUserReportDesignDefaultWithBody Set which of the caller's designs their runs take by default.
	//
	// An id of one of the caller's designs makes it the default; another account's id, or none the caller has, is 404. No id, or null, makes no design the default, so a run falls to the client's own choice. The answer is the library as it now is.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /user/report-designs/default (the `SetUserReportDesignDefault` operationId).
	SetUserReportDesignDefaultWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetUserReportDesignDefault Set which of the caller's designs their runs take by default.
	//
	// An id of one of the caller's designs makes it the default; another account's id, or none the caller has, is 404. No id, or null, makes no design the default, so a run falls to the client's own choice. The answer is the library as it now is.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /user/report-designs/default (the `SetUserReportDesignDefault` operationId).
	SetUserReportDesignDefault(ctx context.Context, body SetUserReportDesignDefaultJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteUserReportDesign Remove one of the caller's report designs, images included.
	//
	// Removing the default leaves the account with no default. Another account's design, or one already gone, is 404.
	//
	// Corresponds with DELETE /user/report-designs/{designId} (the `DeleteUserReportDesign` operationId).
	DeleteUserReportDesign(ctx context.Context, designId ReportDesignId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetUserReportDesign One of the caller's report designs.
	//
	// The design in its canonical form. Its images (`logo`, `coverImage`, `customCover`) come only with `include=assets`: a client that does not draw them reads the document without them. Another account's design is 404.
	//
	// Corresponds with GET /user/report-designs/{designId} (the `GetUserReportDesign` operationId).
	GetUserReportDesign(ctx context.Context, designId ReportDesignId, params *GetUserReportDesignParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateUserReportDesignWithBody Replace one of the caller's report designs.
	//
	// A full replace of the document, validated as a create is, the field named `design.<path>` on a refusal, and the stored design standing. The images stay as they are unless the document carries them: a `logo`, `coverImage` or `customCover` in the document replaces the stored one with the core's own re-encoding of it, and a document without them leaves them, so a client that does not know an image never drops one by saving (remove one with its DELETE route). Whether the design is the default is not changed here.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /user/report-designs/{designId} (the `UpdateUserReportDesign` operationId).
	UpdateUserReportDesignWithBody(ctx context.Context, designId ReportDesignId, params *UpdateUserReportDesignParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateUserReportDesign Replace one of the caller's report designs.
	//
	// A full replace of the document, validated as a create is, the field named `design.<path>` on a refusal, and the stored design standing. The images stay as they are unless the document carries them: a `logo`, `coverImage` or `customCover` in the document replaces the stored one with the core's own re-encoding of it, and a document without them leaves them, so a client that does not know an image never drops one by saving (remove one with its DELETE route). Whether the design is the default is not changed here.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /user/report-designs/{designId} (the `UpdateUserReportDesign` operationId).
	UpdateUserReportDesign(ctx context.Context, designId ReportDesignId, params *UpdateUserReportDesignParams, body UpdateUserReportDesignJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteUserReportDesignCoverImage Remove the cover image from one of the caller's report designs.
	//
	// The design stays. Removing a cover image that is not there is not an error. The answer carries the design with its images.
	//
	// Corresponds with DELETE /user/report-designs/{designId}/cover-image (the `DeleteUserReportDesignCoverImage` operationId).
	DeleteUserReportDesignCoverImage(ctx context.Context, designId ReportDesignId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutUserReportDesignCoverImageWithBody Set the cover image of one of the caller's report designs.
	//
	// Multipart, one part named `file`: PNG or JPEG, at most 2 MB. The core decodes it, scales it down to fit 2048 pixels each way and encodes it again from the pixels in the format it came in (a photograph stays a JPEG), so nothing of the upload but its pixels is kept; the runner draws it across the top of a plate cover and offers it to a custom cover, and it never comes from the model or a URL. Anything but a PNG or a JPEG is 415 `unsupported-image`; over 2 MB, over 16 million pixels, or over 2 MB encoded again is 413 `upload-too-large`. Replaces any cover image the design had. The answer carries the design with its images.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /user/report-designs/{designId}/cover-image (the `PutUserReportDesignCoverImage` operationId).
	PutUserReportDesignCoverImageWithBody(ctx context.Context, designId ReportDesignId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteUserReportDesignCustomCover Remove the custom cover from one of the caller's report designs.
	//
	// The design stays, its cover style included: a `custom` style with no custom cover draws the band style. Removing a custom cover that is not there is not an error. The answer carries the design with its images.
	//
	// Corresponds with DELETE /user/report-designs/{designId}/custom-cover (the `DeleteUserReportDesignCustomCover` operationId).
	DeleteUserReportDesignCustomCover(ctx context.Context, designId ReportDesignId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutUserReportDesignCustomCoverWithBody Set the custom cover of one of the caller's report designs.
	//
	// The custom cover whole: its Typst source (at most 32 KiB of text), its images (at most six, each a PNG or a JPEG in base64 that the core decodes, pixel-caps and encodes again in its format, 2 MB in all as stored) and, optionally, a PNG thumbnail of its last render (at most 300 KB). The source is code the runner compiles only under the confinement every export runs in, with the render root as its whole world; it is held to its bounds here, not read. A cover over a bound is 422 (`validation`) naming `customCover.<path>`; an image in no format the core reads is 415 `unsupported-image`. Replaces any custom cover the design had. The design draws it only while its cover style is `custom`. The answer carries the design with its images.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /user/report-designs/{designId}/custom-cover (the `PutUserReportDesignCustomCover` operationId).
	PutUserReportDesignCustomCoverWithBody(ctx context.Context, designId ReportDesignId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutUserReportDesignCustomCover Set the custom cover of one of the caller's report designs.
	//
	// The custom cover whole: its Typst source (at most 32 KiB of text), its images (at most six, each a PNG or a JPEG in base64 that the core decodes, pixel-caps and encodes again in its format, 2 MB in all as stored) and, optionally, a PNG thumbnail of its last render (at most 300 KB). The source is code the runner compiles only under the confinement every export runs in, with the render root as its whole world; it is held to its bounds here, not read. A cover over a bound is 422 (`validation`) naming `customCover.<path>`; an image in no format the core reads is 415 `unsupported-image`. Replaces any custom cover the design had. The design draws it only while its cover style is `custom`. The answer carries the design with its images.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /user/report-designs/{designId}/custom-cover (the `PutUserReportDesignCustomCover` operationId).
	PutUserReportDesignCustomCover(ctx context.Context, designId ReportDesignId, body PutUserReportDesignCustomCoverJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	//
	// The design stays. Removing a logo that is not there is not an error. The answer carries the design with its images.
	//
	// Corresponds with DELETE /user/report-designs/{designId}/logo (the `DeleteUserReportDesignLogo` operationId).
	DeleteUserReportDesignLogo(ctx context.Context, designId ReportDesignId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutUserReportDesignLogoWithBody Set the logo of one of the caller's report designs.
	//
	// Multipart, one part named `file`: PNG or JPEG, at most 512 KB. The core decodes it, scales it down to fit 1024 pixels each way and encodes it again as PNG from the pixels, so nothing of the upload but its pixels is kept; the runner draws it in the title block, on a cover whose facts include it and in a logoLeft header, and it never comes from the model or a URL. Anything but a PNG or a JPEG (SVG and GIF included) is 415 `unsupported-image`; over 512 KB, over 16 million pixels, or over 512 KB as a PNG is 413 `upload-too-large`. Replaces any logo the design had. The answer carries the design with its images.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /user/report-designs/{designId}/logo (the `PutUserReportDesignLogo` operationId).
	PutUserReportDesignLogoWithBody(ctx context.Context, designId ReportDesignId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RevokeOtherUserSessions Revoke every session except the calling one ("sign out everywhere else").
	//
	// The calling session survives, so the caller is not logged out of the browser they are using. Session-only: a PAT cannot revoke sessions (403), for the same reason it cannot list them.
	//
	// Corresponds with DELETE /user/sessions (the `RevokeOtherUserSessions` operationId).
	RevokeOtherUserSessions(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListUserSessions List the caller's active browser sessions.
	//
	// Sessions are cookie sessions. A PAT-authenticated caller has no sessions of its own, so the list is empty (200, not an error). A PAT is not a way to enumerate someone's browser sessions.
	//
	// Corresponds with GET /user/sessions (the `ListUserSessions` operationId).
	ListUserSessions(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RevokeUserSession Revoke one of the caller's own sessions.
	//
	// Own sessions only. An id that is not one of the caller's live sessions answers 404 whether it does not exist or belongs to somebody else. The two are deliberately indistinguishable. Session-only: a PAT cannot revoke sessions (403).
	//
	// Corresponds with DELETE /user/sessions/{sessionId} (the `RevokeUserSession` operationId).
	RevokeUserSession(ctx context.Context, sessionId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListSshKeys List the caller's SSH public keys for the git transport.
	//
	// Corresponds with GET /user/ssh-keys (the `ListSshKeys` operationId).
	ListSshKeys(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AddSshKeyWithBody Register an SSH public key for ssh://git@…/{ns}/{name}.git (session-only).
	//
	// Refused with `403 feature-not-included` where the caller's subscription does not include adding SSH keys; a self-hosted registry includes it. Keys already held keep working and can be listed and removed on every subscription.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /user/ssh-keys (the `AddSshKey` operationId).
	AddSshKeyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AddSshKey Register an SSH public key for ssh://git@…/{ns}/{name}.git (session-only).
	//
	// Refused with `403 feature-not-included` where the caller's subscription does not include adding SSH keys; a self-hosted registry includes it. Keys already held keep working and can be listed and removed on every subscription.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /user/ssh-keys (the `AddSshKey` operationId).
	AddSshKey(ctx context.Context, body AddSshKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RemoveSshKey Remove an SSH public key (session-only).
	//
	// Corresponds with DELETE /user/ssh-keys/{keyId} (the `RemoveSshKey` operationId).
	RemoveSshKey(ctx context.Context, keyId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UnstarAgent Remove a star (idempotent).
	//
	// Corresponds with DELETE /user/stars/{ns}/{name} (the `UnstarAgent` operationId).
	UnstarAgent(ctx context.Context, ns Namespace, name AgentName, reqEditors ...RequestEditorFn) (*http.Response, error)

	// StarAgent Star an agent (idempotent).
	//
	// Corresponds with PUT /user/stars/{ns}/{name} (the `StarAgent` operationId).
	StarAgent(ctx context.Context, ns Namespace, name AgentName, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListTokens List the caller's personal access tokens (metadata only).
	//
	// Corresponds with GET /user/tokens (the `ListTokens` operationId).
	ListTokens(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateTokenWithBody Mint a PAT. The secret is returned exactly once.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /user/tokens (the `CreateToken` operationId).
	CreateTokenWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateToken Mint a PAT. The secret is returned exactly once.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /user/tokens (the `CreateToken` operationId).
	CreateToken(ctx context.Context, body CreateTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateDesktopGrantWithBody Record a one-time grant for the desktop app's browser sign-in.
	//
	// Session-only. The server's own `/ui/authorize` page calls this after the user consents; the response is a short-lived, single-use `code` bound to the app's `state` nonce. No token is minted here — the desktop app exchanges the code at `POST /auth/desktop/exchange` from its own process, so the PAT never travels in a URL. The grant's scopes are fixed to the desktop set (agent:read, agent:publish, repo:read, repo:write, user:profile, run:read, run:write). With `runhost`, the grant is for a remote runhost instead: its token carries `credits:session` alone and is named `Runhost <name> (credits only)`.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /user/tokens/desktop-grant (the `CreateDesktopGrant` operationId).
	CreateDesktopGrantWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateDesktopGrant Record a one-time grant for the desktop app's browser sign-in.
	//
	// Session-only. The server's own `/ui/authorize` page calls this after the user consents; the response is a short-lived, single-use `code` bound to the app's `state` nonce. No token is minted here — the desktop app exchanges the code at `POST /auth/desktop/exchange` from its own process, so the PAT never travels in a URL. The grant's scopes are fixed to the desktop set (agent:read, agent:publish, repo:read, repo:write, user:profile, run:read, run:write). With `runhost`, the grant is for a remote runhost instead: its token carries `credits:session` alone and is named `Runhost <name> (credits only)`.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /user/tokens/desktop-grant (the `CreateDesktopGrant` operationId).
	CreateDesktopGrant(ctx context.Context, body CreateDesktopGrantJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RevokeToken Revoke a PAT immediately.
	//
	// Session-only, except that a PAT may revoke itself, whatever its scopes, `credits:session` included.
	//
	// Corresponds with DELETE /user/tokens/{tokenId} (the `RevokeToken` operationId).
	RevokeToken(ctx context.Context, tokenId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ClearTrustedDevices Clear every remembered browser of the caller's account.
	//
	// Revokes all of the caller's remembered browsers, this one included: each is asked for the second factor at its next sign-in, since the directory that set its cookie finds no record behind it. Sessions and authenticators are untouched. Session-only: a PAT is refused (403), as on the session-revoking routes.
	//
	// Corresponds with DELETE /user/trusted-devices (the `ClearTrustedDevices` operationId).
	ClearTrustedDevices(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CountTrustedDevices How many browsers skip the caller's second factor.
	//
	// The number of the caller's live remembered browsers: browsers where "Remember this device for 30 days" was ticked and whose record has not expired or been revoked. There is no list: the account's control is one button that clears them all. A PAT-authenticated caller gets 0, as it gets an empty session list: a token is not a way to take an inventory of someone's browsers.
	//
	// Corresponds with GET /user/trusted-devices (the `CountTrustedDevices` operationId).
	CountTrustedDevices(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetUserProfile Public profile for a user handle.
	//
	// Corresponds with GET /users/{handle} (the `GetUserProfile` operationId).
	GetUserProfile(ctx context.Context, handle Handle, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteVoice Delete the caller's voice, every version of it and its data key.
	//
	// Corresponds with DELETE /voice (the `DeleteVoice` operationId).
	DeleteVoice(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetVoice The caller's Writing Voice, every version's text with its review.
	//
	// Corresponds with GET /voice (the `GetVoice` operationId).
	GetVoice(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutVoiceWithBody Put a new version of the caller's voice, to be reviewed before it is live.
	//
	// The text becomes the pending version, replacing any pending one, and its review is queued; the live version stays live until this one passes. `source` is `edit` for text saved on the web and `upload` for a voice sent from a client. A deployment whose extension charges for the review may refuse the call in its own status and words (a balance, say) before anything is stored.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /voice (the `PutVoice` operationId).
	PutVoiceWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutVoice Put a new version of the caller's voice, to be reviewed before it is live.
	//
	// The text becomes the pending version, replacing any pending one, and its review is queued; the live version stays live until this one passes. `source` is `edit` for text saved on the web and `upload` for a voice sent from a client. A deployment whose extension charges for the review may refuse the call in its own status and words (a balance, say) before anything is stored.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /voice (the `PutVoice` operationId).
	PutVoice(ctx context.Context, body PutVoiceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DiscardVoicePending Drop the caller's pending version, in review or flagged.
	//
	// Corresponds with DELETE /voice/pending (the `DiscardVoicePending` operationId).
	DiscardVoicePending(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RestoreVoice Put the previous version back.
	//
	// A previous version reviewed under the question set in use now trades places with the live one at once (200). One reviewed under another set becomes the pending version, source `restore`, and is reviewed like any other (202); a deployment that charges for a review may refuse that call first.
	//
	// Corresponds with POST /voice/restore (the `RestoreVoice` operationId).
	RestoreVoice(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateVoiceSettingsWithBody Set whether runs In Agentry attach the caller's live voice by default.
	//
	// The flag comes on when a voice first goes live; a field not sent keeps its value.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /voice/settings (the `UpdateVoiceSettings` operationId).
	UpdateVoiceSettingsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateVoiceSettings Set whether runs In Agentry attach the caller's live voice by default.
	//
	// The flag comes on when a voice first goes live; a field not sent keeps its value.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /voice/settings (the `UpdateVoiceSettings` operationId).
	UpdateVoiceSettings(ctx context.Context, body UpdateVoiceSettingsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
}

The interface specification for the client above.

type ClientOption

type ClientOption func(*Client) error

ClientOption allows setting custom parameters during construction

func WithBaseURL

func WithBaseURL(baseURL string) ClientOption

WithBaseURL overrides the baseURL.

func WithHTTPClient

func WithHTTPClient(doer HttpRequestDoer) ClientOption

WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.

func WithRequestEditorFn

func WithRequestEditorFn(fn RequestEditorFn) ClientOption

WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.

type ClientWithResponses

type ClientWithResponses struct {
	ClientInterface
}

ClientWithResponses builds on ClientInterface to offer response payloads

func NewClientWithResponses

func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)

NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling

func (*ClientWithResponses) AcceptInvitationWithResponse

func (c *ClientWithResponses) AcceptInvitationWithResponse(ctx context.Context, token string, reqEditors ...RequestEditorFn) (*AcceptInvitationResponse, error)

AcceptInvitationWithResponse Accept an invitation (session only). Refused unless the session's verified email is the invited address; single use.

Returns a wrapper object for the known response body format(s).

Corresponds with POST /invitations/{token} (the `AcceptInvitation` operationId).

func (*ClientWithResponses) AddSshKeyWithBodyWithResponse

func (c *ClientWithResponses) AddSshKeyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddSshKeyResponse, error)

AddSshKeyWithBodyWithResponse Register an SSH public key for ssh://git@…/{ns}/{name}.git (session-only).

Refused with `403 feature-not-included` where the caller's subscription does not include adding SSH keys; a self-hosted registry includes it. Keys already held keep working and can be listed and removed on every subscription.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /user/ssh-keys (the `AddSshKey` operationId).

func (*ClientWithResponses) AddSshKeyWithResponse

func (c *ClientWithResponses) AddSshKeyWithResponse(ctx context.Context, body AddSshKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*AddSshKeyResponse, error)

AddSshKeyWithResponse Register an SSH public key for ssh://git@…/{ns}/{name}.git (session-only).

Refused with `403 feature-not-included` where the caller's subscription does not include adding SSH keys; a self-hosted registry includes it. Keys already held keep working and can be listed and removed on every subscription.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /user/ssh-keys (the `AddSshKey` operationId).

func (*ClientWithResponses) AddTeamMemberWithResponse

func (c *ClientWithResponses) AddTeamMemberWithResponse(ctx context.Context, org OrgHandle, team TeamSlug, handle Handle, reqEditors ...RequestEditorFn) (*AddTeamMemberResponse, error)

AddTeamMemberWithResponse Add an org member to a team (admin+).

Returns a wrapper object for the known response body format(s).

Corresponds with PUT /orgs/{org}/teams/{team}/members/{handle} (the `AddTeamMember` operationId).

func (*ClientWithResponses) ApproveOrgMemberWithBodyWithResponse

func (c *ClientWithResponses) ApproveOrgMemberWithBodyWithResponse(ctx context.Context, org OrgHandle, handle Handle, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ApproveOrgMemberResponse, error)

ApproveOrgMemberWithBodyWithResponse Approve a pending member (admin). The seat check fires here: a person provisioned by the organization's identity provider, or folded in from the organization's domain, holds no seat until an admin approves them.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /orgs/{org}/members/{handle}/approve (the `ApproveOrgMember` operationId).

func (*ClientWithResponses) ApproveOrgMemberWithResponse

func (c *ClientWithResponses) ApproveOrgMemberWithResponse(ctx context.Context, org OrgHandle, handle Handle, body ApproveOrgMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*ApproveOrgMemberResponse, error)

ApproveOrgMemberWithResponse Approve a pending member (admin). The seat check fires here: a person provisioned by the organization's identity provider, or folded in from the organization's domain, holds no seat until an admin approves them.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /orgs/{org}/members/{handle}/approve (the `ApproveOrgMember` operationId).

func (*ClientWithResponses) CheckDraftWithBodyWithResponse

func (c *ClientWithResponses) CheckDraftWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CheckDraftResponse, error)

CheckDraftWithBodyWithResponse AI Review of a finished draft before it is submitted.

Reads a finished QuickAgent draft's rendered package the two ways AI Review will: with the release rubric that stage S5 of the pipeline asks at publish (the manifest as its canonical JSON and every text file, in the same chunks, state and request shape, under the same rubric hash), so the person knows before Submit what AI Review will flag; and with the draft question set, which asks whether the draft's instruction does the task its description asks for. Beside them, with no judge, `ungranted` lists each runner tool the instruction calls for that the manifest does not grant (a browser tool with no `capabilities.browser`, `run_command` with no exec commands, `fetch` with no egress host, a host tool with no target host, a workspace file tool with no filesystem access, a `<server>__<tool>` of a server not declared), which stage S6 sends to a person at publish. A rubric question at 2 or more (the gate's medium) is a finding and `flagged`; so is a draft question at 2 or more. A half the judge could not answer for is `not_scanned`. This is not the publication scan: a submitted version is scanned in full whatever this said. Nothing of the package is kept or logged. `usage` is for the record, never a price (AI Review is 1 credit for a whole draft). Callers as for `POST /model-input/scan`. 422 `draft-unreadable` for a package with no `agent.yaml`, one that does not parse, or no instruction file; 413 `draft-too-large` past 32 files or 65,536 bytes of text; 503 `model-input-unavailable` when the deployment's judge is not TypeSafe's Jev.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /model-input/check (the `CheckDraft` operationId).

func (*ClientWithResponses) CheckDraftWithResponse

func (c *ClientWithResponses) CheckDraftWithResponse(ctx context.Context, body CheckDraftJSONRequestBody, reqEditors ...RequestEditorFn) (*CheckDraftResponse, error)

CheckDraftWithResponse AI Review of a finished draft before it is submitted.

Reads a finished QuickAgent draft's rendered package the two ways AI Review will: with the release rubric that stage S5 of the pipeline asks at publish (the manifest as its canonical JSON and every text file, in the same chunks, state and request shape, under the same rubric hash), so the person knows before Submit what AI Review will flag; and with the draft question set, which asks whether the draft's instruction does the task its description asks for. Beside them, with no judge, `ungranted` lists each runner tool the instruction calls for that the manifest does not grant (a browser tool with no `capabilities.browser`, `run_command` with no exec commands, `fetch` with no egress host, a host tool with no target host, a workspace file tool with no filesystem access, a `<server>__<tool>` of a server not declared), which stage S6 sends to a person at publish. A rubric question at 2 or more (the gate's medium) is a finding and `flagged`; so is a draft question at 2 or more. A half the judge could not answer for is `not_scanned`. This is not the publication scan: a submitted version is scanned in full whatever this said. Nothing of the package is kept or logged. `usage` is for the record, never a price (AI Review is 1 credit for a whole draft). Callers as for `POST /model-input/scan`. 422 `draft-unreadable` for a package with no `agent.yaml`, one that does not parse, or no instruction file; 413 `draft-too-large` past 32 files or 65,536 bytes of text; 503 `model-input-unavailable` when the deployment's judge is not TypeSafe's Jev.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /model-input/check (the `CheckDraft` operationId).

func (*ClientWithResponses) ClearCurrentUserDataWithResponse

func (c *ClientWithResponses) ClearCurrentUserDataWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ClearCurrentUserDataResponse, error)

ClearCurrentUserDataWithResponse Clear the caller's credentials, installs and settings, and keep the account (session only).

Revokes every personal access token and SSH key, deletes every remembered browser (the ones that skip the second factor), consumes every pending desktop sign-in code, ends every session but the caller's, removes every account install, and resets the display name and the notification settings to their defaults (every switch on; mail still goes only to a verified address). The account itself stays: the handle, the email, the sign-in account at the directory, organization memberships, QuickAgents with their versions and repositories, stars, the subscription and credits are untouched. Audited as `user.data_clear` with the count of each class; after the commit an extension event `user.data_cleared` carries the user id, so an extension clears what it holds for the account (hosted run history). Session only: a token is refused, and so is a request without the session's CSRF token.

Returns a wrapper object for the known response body format(s).

Corresponds with POST /user/clear-data (the `ClearCurrentUserData` operationId).

func (*ClientWithResponses) ClearTrustedDevicesWithResponse

func (c *ClientWithResponses) ClearTrustedDevicesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ClearTrustedDevicesResponse, error)

ClearTrustedDevicesWithResponse Clear every remembered browser of the caller's account.

Revokes all of the caller's remembered browsers, this one included: each is asked for the second factor at its next sign-in, since the directory that set its cookie finds no record behind it. Sessions and authenticators are untouched. Session-only: a PAT is refused (403), as on the session-revoking routes.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /user/trusted-devices (the `ClearTrustedDevices` operationId).

func (*ClientWithResponses) CountTrustedDevicesWithResponse

func (c *ClientWithResponses) CountTrustedDevicesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*CountTrustedDevicesResponse, error)

CountTrustedDevicesWithResponse How many browsers skip the caller's second factor.

The number of the caller's live remembered browsers: browsers where "Remember this device for 30 days" was ticked and whose record has not expired or been revoked. There is no list: the account's control is one button that clears them all. A PAT-authenticated caller gets 0, as it gets an empty session list: a token is not a way to take an inventory of someone's browsers.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /user/trusted-devices (the `CountTrustedDevices` operationId).

func (*ClientWithResponses) CreateAgentWithBodyWithResponse

func (c *ClientWithResponses) CreateAgentWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateAgentResponse, error)

CreateAgentWithBodyWithResponse Create an agent and its hosted git repository.

A private agent counts against the namespace's private-agent cap when the deployment's entitlements set one (the hosted product's subscription tiers): at the cap the answer is `422` with the problem type `private-agent-cap`, and the same on `PATCH` when an agent is turned private. A core registry caps nothing. A cap never deletes or hides an agent that is already private.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /agents (the `CreateAgent` operationId).

func (*ClientWithResponses) CreateAgentWithResponse

func (c *ClientWithResponses) CreateAgentWithResponse(ctx context.Context, body CreateAgentJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateAgentResponse, error)

CreateAgentWithResponse Create an agent and its hosted git repository.

A private agent counts against the namespace's private-agent cap when the deployment's entitlements set one (the hosted product's subscription tiers): at the cap the answer is `422` with the problem type `private-agent-cap`, and the same on `PATCH` when an agent is turned private. A core registry caps nothing. A cap never deletes or hides an agent that is already private.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /agents (the `CreateAgent` operationId).

func (*ClientWithResponses) CreateAuditExportWithBodyWithResponse

func (c *ClientWithResponses) CreateAuditExportWithBodyWithResponse(ctx context.Context, org OrgHandle, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateAuditExportResponse, error)

CreateAuditExportWithBodyWithResponse Start an async NDJSON audit export (admin+).

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /orgs/{org}/audit/exports (the `CreateAuditExport` operationId).

func (*ClientWithResponses) CreateAuditExportWithResponse

func (c *ClientWithResponses) CreateAuditExportWithResponse(ctx context.Context, org OrgHandle, body CreateAuditExportJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateAuditExportResponse, error)

CreateAuditExportWithResponse Start an async NDJSON audit export (admin+).

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /orgs/{org}/audit/exports (the `CreateAuditExport` operationId).

func (*ClientWithResponses) CreateDesktopGrantWithBodyWithResponse

func (c *ClientWithResponses) CreateDesktopGrantWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateDesktopGrantResponse, error)

CreateDesktopGrantWithBodyWithResponse Record a one-time grant for the desktop app's browser sign-in.

Session-only. The server's own `/ui/authorize` page calls this after the user consents; the response is a short-lived, single-use `code` bound to the app's `state` nonce. No token is minted here — the desktop app exchanges the code at `POST /auth/desktop/exchange` from its own process, so the PAT never travels in a URL. The grant's scopes are fixed to the desktop set (agent:read, agent:publish, repo:read, repo:write, user:profile, run:read, run:write). With `runhost`, the grant is for a remote runhost instead: its token carries `credits:session` alone and is named `Runhost <name> (credits only)`.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /user/tokens/desktop-grant (the `CreateDesktopGrant` operationId).

func (*ClientWithResponses) CreateDesktopGrantWithResponse

func (c *ClientWithResponses) CreateDesktopGrantWithResponse(ctx context.Context, body CreateDesktopGrantJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateDesktopGrantResponse, error)

CreateDesktopGrantWithResponse Record a one-time grant for the desktop app's browser sign-in.

Session-only. The server's own `/ui/authorize` page calls this after the user consents; the response is a short-lived, single-use `code` bound to the app's `state` nonce. No token is minted here — the desktop app exchanges the code at `POST /auth/desktop/exchange` from its own process, so the PAT never travels in a URL. The grant's scopes are fixed to the desktop set (agent:read, agent:publish, repo:read, repo:write, user:profile, run:read, run:write). With `runhost`, the grant is for a remote runhost instead: its token carries `credits:session` alone and is named `Runhost <name> (credits only)`.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /user/tokens/desktop-grant (the `CreateDesktopGrant` operationId).

func (*ClientWithResponses) CreateDomainClaimWithBodyWithResponse

func (c *ClientWithResponses) CreateDomainClaimWithBodyWithResponse(ctx context.Context, org OrgHandle, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateDomainClaimResponse, error)

CreateDomainClaimWithBodyWithResponse Start a domain claim; returns the DNS TXT challenge (admin+).

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /orgs/{org}/domain-claims (the `CreateDomainClaim` operationId).

func (*ClientWithResponses) CreateDomainClaimWithResponse

func (c *ClientWithResponses) CreateDomainClaimWithResponse(ctx context.Context, org OrgHandle, body CreateDomainClaimJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateDomainClaimResponse, error)

CreateDomainClaimWithResponse Start a domain claim; returns the DNS TXT challenge (admin+).

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /orgs/{org}/domain-claims (the `CreateDomainClaim` operationId).

func (*ClientWithResponses) CreateInvitationWithBodyWithResponse

func (c *ClientWithResponses) CreateInvitationWithBodyWithResponse(ctx context.Context, org OrgHandle, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateInvitationResponse, error)

CreateInvitationWithBodyWithResponse Invite someone by email (admin). The invitation reserves a seat when it is sent and expires in seven days. Its token is a credential shown once in this response and stored only as a hash. It is also mailed to the address when the registry may write there: an address at the organization's own verified domain always, and any other address only when it belongs to an account whose address the registry has confirmed. Accepting an invitation sent to the organization's verified domain also confirms the accepting account's address, because the organization proved it controls that domain.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /orgs/{org}/invitations (the `CreateInvitation` operationId).

func (*ClientWithResponses) CreateInvitationWithResponse

func (c *ClientWithResponses) CreateInvitationWithResponse(ctx context.Context, org OrgHandle, body CreateInvitationJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateInvitationResponse, error)

CreateInvitationWithResponse Invite someone by email (admin). The invitation reserves a seat when it is sent and expires in seven days. Its token is a credential shown once in this response and stored only as a hash. It is also mailed to the address when the registry may write there: an address at the organization's own verified domain always, and any other address only when it belongs to an account whose address the registry has confirmed. Accepting an invitation sent to the organization's verified domain also confirms the accepting account's address, because the organization proved it controls that domain.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /orgs/{org}/invitations (the `CreateInvitation` operationId).

func (*ClientWithResponses) CreateKnowledgePackWithBodyWithResponse

func (c *ClientWithResponses) CreateKnowledgePackWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateKnowledgePackResponse, error)

CreateKnowledgePackWithBodyWithResponse Create a knowledge pack, empty, with its data key as the caller's wrapper wrapped it.

The client makes the pack's data key, has it wrapped (`POST /knowledge/keys/wrap`), and names it here; the registry checks that the wrapped key opens for the caller and keeps it beside the pack. The tree follows with `PUT /knowledge/packs/{packId}/tree`. A name is the pack's directory name: 1-64 lowercase letters, digits, `.`, `-` or `_`, starting with a letter or a digit, one per owner (409 `knowledge-name-taken`).

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /knowledge/packs (the `CreateKnowledgePack` operationId).

func (*ClientWithResponses) CreateKnowledgePackWithResponse

func (c *ClientWithResponses) CreateKnowledgePackWithResponse(ctx context.Context, body CreateKnowledgePackJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateKnowledgePackResponse, error)

CreateKnowledgePackWithResponse Create a knowledge pack, empty, with its data key as the caller's wrapper wrapped it.

The client makes the pack's data key, has it wrapped (`POST /knowledge/keys/wrap`), and names it here; the registry checks that the wrapped key opens for the caller and keeps it beside the pack. The tree follows with `PUT /knowledge/packs/{packId}/tree`. A name is the pack's directory name: 1-64 lowercase letters, digits, `.`, `-` or `_`, starting with a letter or a digit, one per owner (409 `knowledge-name-taken`).

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /knowledge/packs (the `CreateKnowledgePack` operationId).

func (*ClientWithResponses) CreateOrgKnowledgePackWithBodyWithResponse

func (c *ClientWithResponses) CreateOrgKnowledgePackWithBodyWithResponse(ctx context.Context, org OrgHandle, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateOrgKnowledgePackResponse, error)

CreateOrgKnowledgePackWithBodyWithResponse Create a shared pack, empty, with its data key wrapped for the organization (admins).

As `POST /knowledge/packs`, with the data key wrapped by `POST /orgs/{org}/knowledge/keys/wrap`: the registry checks that it opens for the organization. The pack is not exportable by members until an admin marks it. Recorded in the organization's audit log (`org.knowledge_create`).

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /orgs/{org}/knowledge/packs (the `CreateOrgKnowledgePack` operationId).

func (*ClientWithResponses) CreateOrgKnowledgePackWithResponse

func (c *ClientWithResponses) CreateOrgKnowledgePackWithResponse(ctx context.Context, org OrgHandle, body CreateOrgKnowledgePackJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateOrgKnowledgePackResponse, error)

CreateOrgKnowledgePackWithResponse Create a shared pack, empty, with its data key wrapped for the organization (admins).

As `POST /knowledge/packs`, with the data key wrapped by `POST /orgs/{org}/knowledge/keys/wrap`: the registry checks that it opens for the organization. The pack is not exportable by members until an admin marks it. Recorded in the organization's audit log (`org.knowledge_create`).

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /orgs/{org}/knowledge/packs (the `CreateOrgKnowledgePack` operationId).

func (*ClientWithResponses) CreateOrgReportDesignWithBodyWithResponse added in v0.7.5

func (c *ClientWithResponses) CreateOrgReportDesignWithBodyWithResponse(ctx context.Context, org OrgHandle, params *CreateOrgReportDesignParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateOrgReportDesignResponse, error)

CreateOrgReportDesignWithBodyWithResponse Add a house report design to the organization's library (admins).

As `POST /user/report-designs`, validated by the core's pkg/reportdesign the same way and refused 422 the same way, with two rules of the organization's own: the library holds ten designs, an eleventh is 409 `conflict`; and a design's name is unique within the organization, compared without regard to case, since a run names one, so a second of a name is 409 `conflict`. A document that carries `logo`, `coverImage` or `customCover` stores each as the core's own re-encoding of it. Recorded in the organization's audit log (`org.report_design_create`). The answer carries the design in its canonical form, its images only on `include=assets`.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /orgs/{org}/report-designs (the `CreateOrgReportDesign` operationId).

func (*ClientWithResponses) CreateOrgReportDesignWithResponse added in v0.7.5

CreateOrgReportDesignWithResponse Add a house report design to the organization's library (admins).

As `POST /user/report-designs`, validated by the core's pkg/reportdesign the same way and refused 422 the same way, with two rules of the organization's own: the library holds ten designs, an eleventh is 409 `conflict`; and a design's name is unique within the organization, compared without regard to case, since a run names one, so a second of a name is 409 `conflict`. A document that carries `logo`, `coverImage` or `customCover` stores each as the core's own re-encoding of it. Recorded in the organization's audit log (`org.report_design_create`). The answer carries the design in its canonical form, its images only on `include=assets`.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /orgs/{org}/report-designs (the `CreateOrgReportDesign` operationId).

func (*ClientWithResponses) CreateOrgWithBodyWithResponse

func (c *ClientWithResponses) CreateOrgWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateOrgResponse, error)

CreateOrgWithBodyWithResponse Create an organization; the caller becomes its first admin.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /orgs (the `CreateOrg` operationId).

func (*ClientWithResponses) CreateOrgWithResponse

func (c *ClientWithResponses) CreateOrgWithResponse(ctx context.Context, body CreateOrgJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateOrgResponse, error)

CreateOrgWithResponse Create an organization; the caller becomes its first admin.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /orgs (the `CreateOrg` operationId).

func (*ClientWithResponses) CreateRulesetReleaseWithBodyWithResponse

func (c *ClientWithResponses) CreateRulesetReleaseWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateRulesetReleaseResponse, error)

CreateRulesetReleaseWithBodyWithResponse Register a ruleset release (platform staff).

Records the versioned scanner bundle a deployment is running, so scan runs can name it. Omitting the body registers the server's own embedded bundle. Honours `Idempotency-Key`; re-registering the same semver returns the existing row.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /platform/ruleset-releases (the `CreateRulesetRelease` operationId).

func (*ClientWithResponses) CreateRulesetReleaseWithResponse

func (c *ClientWithResponses) CreateRulesetReleaseWithResponse(ctx context.Context, body CreateRulesetReleaseJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateRulesetReleaseResponse, error)

CreateRulesetReleaseWithResponse Register a ruleset release (platform staff).

Records the versioned scanner bundle a deployment is running, so scan runs can name it. Omitting the body registers the server's own embedded bundle. Honours `Idempotency-Key`; re-registering the same semver returns the existing row.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /platform/ruleset-releases (the `CreateRulesetRelease` operationId).

func (*ClientWithResponses) CreateTeamWithBodyWithResponse

func (c *ClientWithResponses) CreateTeamWithBodyWithResponse(ctx context.Context, org OrgHandle, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateTeamResponse, error)

CreateTeamWithBodyWithResponse Create a team (admin+).

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /orgs/{org}/teams (the `CreateTeam` operationId).

func (*ClientWithResponses) CreateTeamWithResponse

func (c *ClientWithResponses) CreateTeamWithResponse(ctx context.Context, org OrgHandle, body CreateTeamJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateTeamResponse, error)

CreateTeamWithResponse Create a team (admin+).

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /orgs/{org}/teams (the `CreateTeam` operationId).

func (*ClientWithResponses) CreateTokenWithBodyWithResponse

func (c *ClientWithResponses) CreateTokenWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateTokenResponse, error)

CreateTokenWithBodyWithResponse Mint a PAT. The secret is returned exactly once.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /user/tokens (the `CreateToken` operationId).

func (*ClientWithResponses) CreateTokenWithResponse

func (c *ClientWithResponses) CreateTokenWithResponse(ctx context.Context, body CreateTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateTokenResponse, error)

CreateTokenWithResponse Mint a PAT. The secret is returned exactly once.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /user/tokens (the `CreateToken` operationId).

func (*ClientWithResponses) CreateUserReportDesignWithBodyWithResponse added in v0.7.4

func (c *ClientWithResponses) CreateUserReportDesignWithBodyWithResponse(ctx context.Context, params *CreateUserReportDesignParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateUserReportDesignResponse, error)

CreateUserReportDesignWithBodyWithResponse Add a report design to the caller's library.

The design is validated by the core's pkg/reportdesign before it is stored: a document that breaks a rule (an unknown key, a name off a closed list, a font in a role it cannot take, a colour that is not `#rrggbb` or whose contrast on white is too low for where it goes, a text that is not one line, a cover fact twice, an image or a custom cover over its bounds, over 24 KB without them) is refused 422 (`validation`), the field named `design.<path>`. A version-2 document is refused the same way, with no mapping. The library holds ten designs: an eleventh is 409 `conflict`. `default` makes the new design the default, and the previous default an ordinary design of the library; without it the default is unchanged. A document that carries `logo`, `coverImage` or `customCover` stores each as the core's own re-encoding of it. The answer carries the design in its canonical form, its images only on `include=assets`.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /user/report-designs (the `CreateUserReportDesign` operationId).

func (*ClientWithResponses) CreateUserReportDesignWithResponse added in v0.7.4

CreateUserReportDesignWithResponse Add a report design to the caller's library.

The design is validated by the core's pkg/reportdesign before it is stored: a document that breaks a rule (an unknown key, a name off a closed list, a font in a role it cannot take, a colour that is not `#rrggbb` or whose contrast on white is too low for where it goes, a text that is not one line, a cover fact twice, an image or a custom cover over its bounds, over 24 KB without them) is refused 422 (`validation`), the field named `design.<path>`. A version-2 document is refused the same way, with no mapping. The library holds ten designs: an eleventh is 409 `conflict`. `default` makes the new design the default, and the previous default an ordinary design of the library; without it the default is unchanged. A document that carries `logo`, `coverImage` or `customCover` stores each as the core's own re-encoding of it. The answer carries the design in its canonical form, its images only on `include=assets`.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /user/report-designs (the `CreateUserReportDesign` operationId).

func (*ClientWithResponses) CreateWebhookWithBodyWithResponse

func (c *ClientWithResponses) CreateWebhookWithBodyWithResponse(ctx context.Context, org OrgHandle, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateWebhookResponse, error)

CreateWebhookWithBodyWithResponse Create a webhook endpoint (admin+).

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /orgs/{org}/webhooks (the `CreateWebhook` operationId).

func (*ClientWithResponses) CreateWebhookWithResponse

func (c *ClientWithResponses) CreateWebhookWithResponse(ctx context.Context, org OrgHandle, body CreateWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateWebhookResponse, error)

CreateWebhookWithResponse Create a webhook endpoint (admin+).

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /orgs/{org}/webhooks (the `CreateWebhook` operationId).

func (*ClientWithResponses) DecideReviewItemWithBodyWithResponse

func (c *ClientWithResponses) DecideReviewItemWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DecideReviewItemResponse, error)

DecideReviewItemWithBodyWithResponse Approve or reject a version under review (not its author, unless platform staff).

An author cannot decide their own version (403), whatever their organization role. Platform staff may decide any item, their own versions included; the decision's audit event then carries `self_decision: true`.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /review-items/{id}/decision (the `DecideReviewItem` operationId).

func (*ClientWithResponses) DecideReviewItemWithResponse

DecideReviewItemWithResponse Approve or reject a version under review (not its author, unless platform staff).

An author cannot decide their own version (403), whatever their organization role. Platform staff may decide any item, their own versions included; the decision's audit event then carries `self_decision: true`.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /review-items/{id}/decision (the `DecideReviewItem` operationId).

func (*ClientWithResponses) DeclineOrgMemberWithResponse

func (c *ClientWithResponses) DeclineOrgMemberWithResponse(ctx context.Context, org OrgHandle, handle Handle, reqEditors ...RequestEditorFn) (*DeclineOrgMemberResponse, error)

DeclineOrgMemberWithResponse Decline a pending member (admin): the pending membership is removed and no seat is consumed. An active member is removed with DELETE instead.

Returns a wrapper object for the known response body format(s).

Corresponds with POST /orgs/{org}/members/{handle}/decline (the `DeclineOrgMember` operationId).

func (*ClientWithResponses) DecommissionOrgWithBodyWithResponse

func (c *ClientWithResponses) DecommissionOrgWithBodyWithResponse(ctx context.Context, org OrgHandle, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DecommissionOrgResponse, error)

DecommissionOrgWithBodyWithResponse Decommission the organization (admin; session only). It enters a read-only hold — members keep read and export — and at the end of the hold its agents, repositories, blobs and invitations are erased, its handle and domain released. The body must repeat the organization's handle. The last admin goes with it: this is the one way an organization loses its last admin (409 last-admin everywhere else).

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /orgs/{org}/decommission (the `DecommissionOrg` operationId).

func (*ClientWithResponses) DecommissionOrgWithResponse

func (c *ClientWithResponses) DecommissionOrgWithResponse(ctx context.Context, org OrgHandle, body DecommissionOrgJSONRequestBody, reqEditors ...RequestEditorFn) (*DecommissionOrgResponse, error)

DecommissionOrgWithResponse Decommission the organization (admin; session only). It enters a read-only hold — members keep read and export — and at the end of the hold its agents, repositories, blobs and invitations are erased, its handle and domain released. The body must repeat the organization's handle. The last admin goes with it: this is the one way an organization loses its last admin (409 last-admin everywhere else).

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /orgs/{org}/decommission (the `DecommissionOrg` operationId).

func (*ClientWithResponses) DeleteAccountInstallWithResponse

func (c *ClientWithResponses) DeleteAccountInstallWithResponse(ctx context.Context, ns Namespace, name AgentName, reqEditors ...RequestEditorFn) (*DeleteAccountInstallResponse, error)

DeleteAccountInstallWithResponse Remove the caller's record for a QuickAgent (idempotent).

204 whether or not a record existed, and whether or not the name resolves: the row is the caller's own, so no QuickAgent is read and nothing is learned about one — a record whose QuickAgent the caller can no longer read is removed by the ref the list shows for it. Audited as `agent.uninstall` when a record went. A PAT needs `user:profile`.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /user/installs/{ns}/{name} (the `DeleteAccountInstall` operationId).

func (*ClientWithResponses) DeleteAgentWithResponse

func (c *ClientWithResponses) DeleteAgentWithResponse(ctx context.Context, ns Namespace, name AgentName, params *DeleteAgentParams, reqEditors ...RequestEditorFn) (*DeleteAgentResponse, error)

DeleteAgentWithResponse Delete an agent (the namespace's administrators).

A token needs `agent:manage` or `org:admin`. An agent with no version row is deleted outright, with its hosted repository. An agent with version history is deleted as a tombstone: every published or quarantined version is yanked, the agent becomes private, and every route by name, the git transport and hosted runs answer the 404 a missing name gets, to everyone. Nothing is removed — version rows are kept forever, and the archives, receipts and audit trail stay — and the name stays held in its namespace: creating it again answers `409 name-held`. It cannot be undone. A tombstone needs `confirm` set to the agent's name (`422 confirm-name` otherwise). Refused with `409` while a version is still in the pipeline or in review, and while the agent carries trust & safety records (advisories, abuse reports, a quarantine or a block), which outlive the publisher's wish to remove it.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /agents/{ns}/{name} (the `DeleteAgent` operationId).

func (*ClientWithResponses) DeleteCurrentUserWithResponse

func (c *ClientWithResponses) DeleteCurrentUserWithResponse(ctx context.Context, params *DeleteCurrentUserParams, reqEditors ...RequestEditorFn) (*DeleteCurrentUserResponse, error)

DeleteCurrentUserWithResponse Erase the caller's account (GDPR flow).

Purges personal data and pseudonymizes the account. Published public versions are never deleted: they are either yanked, so already-installed copies keep verifying, or the personal-namespace agents are transferred to an organization the caller administers. When the account has published public versions the choice is explicit: omitting `publishedContent` is a 400, never a silent yank. When the deployment holds credentials in a directory service that an extension of the server reaches, the sign-in account there is deleted in the same step; the outcome is audited as `user.directory_erase` and returned in the `X-Agentry-Directory-Erasure` header. A failed directory attempt does not undo the registry's erasure: the directory retries it where it can (`pending`), and one that does not complete is raised to the operator. An account that is an organization's last admin is refused (409 last-admin) until another admin is in place; a transfer that would put the organization over its private-agent cap is refused (422 private-agent-cap) with nothing erased. The erased account's memberships go with it.

Returns a wrapper object for the known response body format(s).

Corresponds with POST /user/delete (the `DeleteCurrentUser` operationId).

func (*ClientWithResponses) DeleteKnowledgePackWithResponse

func (c *ClientWithResponses) DeleteKnowledgePackWithResponse(ctx context.Context, packId KnowledgePackId, reqEditors ...RequestEditorFn) (*DeleteKnowledgePackResponse, error)

DeleteKnowledgePackWithResponse Delete one of the caller's packs, its stored trees and its wrapped key.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /knowledge/packs/{packId} (the `DeleteKnowledgePack` operationId).

func (*ClientWithResponses) DeleteOrgKnowledgePackWithResponse

func (c *ClientWithResponses) DeleteOrgKnowledgePackWithResponse(ctx context.Context, org OrgHandle, packId KnowledgePackId, reqEditors ...RequestEditorFn) (*DeleteOrgKnowledgePackResponse, error)

DeleteOrgKnowledgePackWithResponse Delete a shared pack, its stored trees and its wrapped key (admins).

Recorded in the organization's audit log (`org.knowledge_delete`). A member's downloaded copy stays sealed under a data key only the organization's unwrap opens.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /orgs/{org}/knowledge/packs/{packId} (the `DeleteOrgKnowledgePack` operationId).

func (*ClientWithResponses) DeleteOrgLogoWithResponse

func (c *ClientWithResponses) DeleteOrgLogoWithResponse(ctx context.Context, org OrgHandle, reqEditors ...RequestEditorFn) (*DeleteOrgLogoResponse, error)

DeleteOrgLogoWithResponse Remove the organization's logo (admin).

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /orgs/{org}/logo (the `DeleteOrgLogo` operationId).

func (*ClientWithResponses) DeleteOrgReportDesignCoverImageWithResponse added in v0.7.5

func (c *ClientWithResponses) DeleteOrgReportDesignCoverImageWithResponse(ctx context.Context, org OrgHandle, designId ReportDesignId, reqEditors ...RequestEditorFn) (*DeleteOrgReportDesignCoverImageResponse, error)

DeleteOrgReportDesignCoverImageWithResponse Remove the cover image from one of the organization's house report designs (admins).

The design stays. Removing a cover image that is not there is not an error. The answer carries the design with its images.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /orgs/{org}/report-designs/{designId}/cover-image (the `DeleteOrgReportDesignCoverImage` operationId).

func (*ClientWithResponses) DeleteOrgReportDesignCustomCoverWithResponse added in v0.7.5

func (c *ClientWithResponses) DeleteOrgReportDesignCustomCoverWithResponse(ctx context.Context, org OrgHandle, designId ReportDesignId, reqEditors ...RequestEditorFn) (*DeleteOrgReportDesignCustomCoverResponse, error)

DeleteOrgReportDesignCustomCoverWithResponse Remove the custom cover from one of the organization's house report designs (admins).

The design stays, its cover style included. Removing a custom cover that is not there is not an error. The answer carries the design with its images.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /orgs/{org}/report-designs/{designId}/custom-cover (the `DeleteOrgReportDesignCustomCover` operationId).

func (*ClientWithResponses) DeleteOrgReportDesignLogoWithResponse added in v0.7.5

func (c *ClientWithResponses) DeleteOrgReportDesignLogoWithResponse(ctx context.Context, org OrgHandle, designId ReportDesignId, reqEditors ...RequestEditorFn) (*DeleteOrgReportDesignLogoResponse, error)

DeleteOrgReportDesignLogoWithResponse Remove the logo from one of the organization's house report designs (admins).

The design stays. Removing a logo that is not there is not an error. The answer carries the design with its images.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /orgs/{org}/report-designs/{designId}/logo (the `DeleteOrgReportDesignLogo` operationId).

func (*ClientWithResponses) DeleteOrgReportDesignWithResponse added in v0.7.5

func (c *ClientWithResponses) DeleteOrgReportDesignWithResponse(ctx context.Context, org OrgHandle, designId ReportDesignId, reqEditors ...RequestEditorFn) (*DeleteOrgReportDesignResponse, error)

DeleteOrgReportDesignWithResponse Remove one of the organization's house report designs, images included (admins).

Another organization's design, or one already gone, is 404. Recorded in the organization's audit log (`org.report_design_delete`).

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /orgs/{org}/report-designs/{designId} (the `DeleteOrgReportDesign` operationId).

func (*ClientWithResponses) DeleteTeamWithResponse

func (c *ClientWithResponses) DeleteTeamWithResponse(ctx context.Context, org OrgHandle, team TeamSlug, reqEditors ...RequestEditorFn) (*DeleteTeamResponse, error)

DeleteTeamWithResponse Delete a team (admin+).

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /orgs/{org}/teams/{team} (the `DeleteTeam` operationId).

func (*ClientWithResponses) DeleteUserReportDesignCoverImageWithResponse added in v0.7.4

func (c *ClientWithResponses) DeleteUserReportDesignCoverImageWithResponse(ctx context.Context, designId ReportDesignId, reqEditors ...RequestEditorFn) (*DeleteUserReportDesignCoverImageResponse, error)

DeleteUserReportDesignCoverImageWithResponse Remove the cover image from one of the caller's report designs.

The design stays. Removing a cover image that is not there is not an error. The answer carries the design with its images.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /user/report-designs/{designId}/cover-image (the `DeleteUserReportDesignCoverImage` operationId).

func (*ClientWithResponses) DeleteUserReportDesignCustomCoverWithResponse added in v0.7.4

func (c *ClientWithResponses) DeleteUserReportDesignCustomCoverWithResponse(ctx context.Context, designId ReportDesignId, reqEditors ...RequestEditorFn) (*DeleteUserReportDesignCustomCoverResponse, error)

DeleteUserReportDesignCustomCoverWithResponse Remove the custom cover from one of the caller's report designs.

The design stays, its cover style included: a `custom` style with no custom cover draws the band style. Removing a custom cover that is not there is not an error. The answer carries the design with its images.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /user/report-designs/{designId}/custom-cover (the `DeleteUserReportDesignCustomCover` operationId).

func (*ClientWithResponses) DeleteUserReportDesignLogoWithResponse added in v0.7.4

func (c *ClientWithResponses) DeleteUserReportDesignLogoWithResponse(ctx context.Context, designId ReportDesignId, reqEditors ...RequestEditorFn) (*DeleteUserReportDesignLogoResponse, error)

DeleteUserReportDesignLogoWithResponse Remove the logo from one of the caller's report designs.

The design stays. Removing a logo that is not there is not an error. The answer carries the design with its images.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /user/report-designs/{designId}/logo (the `DeleteUserReportDesignLogo` operationId).

func (*ClientWithResponses) DeleteUserReportDesignWithResponse added in v0.7.4

func (c *ClientWithResponses) DeleteUserReportDesignWithResponse(ctx context.Context, designId ReportDesignId, reqEditors ...RequestEditorFn) (*DeleteUserReportDesignResponse, error)

DeleteUserReportDesignWithResponse Remove one of the caller's report designs, images included.

Removing the default leaves the account with no default. Another account's design, or one already gone, is 404.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /user/report-designs/{designId} (the `DeleteUserReportDesign` operationId).

func (*ClientWithResponses) DeleteVoiceWithResponse

func (c *ClientWithResponses) DeleteVoiceWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DeleteVoiceResponse, error)

DeleteVoiceWithResponse Delete the caller's voice, every version of it and its data key.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /voice (the `DeleteVoice` operationId).

func (*ClientWithResponses) DeleteWebhookWithResponse

func (c *ClientWithResponses) DeleteWebhookWithResponse(ctx context.Context, org OrgHandle, id WebhookID, reqEditors ...RequestEditorFn) (*DeleteWebhookResponse, error)

DeleteWebhookWithResponse Delete a webhook endpoint (admin+).

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /orgs/{org}/webhooks/{id} (the `DeleteWebhook` operationId).

func (*ClientWithResponses) DiscardVoicePendingWithResponse

func (c *ClientWithResponses) DiscardVoicePendingWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DiscardVoicePendingResponse, error)

DiscardVoicePendingWithResponse Drop the caller's pending version, in review or flagged.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /voice/pending (the `DiscardVoicePending` operationId).

func (*ClientWithResponses) DownloadKnowledgeTreeWithResponse

func (c *ClientWithResponses) DownloadKnowledgeTreeWithResponse(ctx context.Context, packId KnowledgePackId, reqEditors ...RequestEditorFn) (*DownloadKnowledgeTreeResponse, error)

DownloadKnowledgeTreeWithResponse The pack's sealed tree, as stored; the client opens it with the unwrapped data key (409 `knowledge-scanning` while it is scanned).

Returns a wrapper object for the known response body format(s).

Corresponds with GET /knowledge/packs/{packId}/tree (the `DownloadKnowledgeTree` operationId).

func (*ClientWithResponses) DownloadOrgKnowledgeTreeWithResponse

func (c *ClientWithResponses) DownloadOrgKnowledgeTreeWithResponse(ctx context.Context, org OrgHandle, packId KnowledgePackId, reqEditors ...RequestEditorFn) (*DownloadOrgKnowledgeTreeResponse, error)

DownloadOrgKnowledgeTreeWithResponse A shared pack's sealed tree, as stored, for any active member (409 `knowledge-scanning` while it is scanned).

Returns a wrapper object for the known response body format(s).

Corresponds with GET /orgs/{org}/knowledge/packs/{packId}/tree (the `DownloadOrgKnowledgeTree` operationId).

func (*ClientWithResponses) DownloadVersionWithResponse

func (c *ClientWithResponses) DownloadVersionWithResponse(ctx context.Context, ns Namespace, name AgentName, version VersionString, reqEditors ...RequestEditorFn) (*DownloadVersionResponse, error)

DownloadVersionWithResponse Download the release archive (counts an install).

Returns a wrapper object for the known response body format(s).

Corresponds with GET /agents/{ns}/{name}/versions/{version}/download (the `DownloadVersion` operationId).

func (*ClientWithResponses) ExchangeDesktopCodeWithBodyWithResponse

func (c *ClientWithResponses) ExchangeDesktopCodeWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExchangeDesktopCodeResponse, error)

ExchangeDesktopCodeWithBodyWithResponse Exchange a desktop sign-in code for the PAT it granted.

Unauthenticated; the code is the credential. Single use, bound to the `state` nonce the desktop app generated, and valid for 60 seconds from the grant. The PAT is minted at this moment and returned exactly once, like `createToken`. Rate-limited with the login class.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /auth/desktop/exchange (the `ExchangeDesktopCode` operationId).

func (*ClientWithResponses) ExchangeDesktopCodeWithResponse

func (c *ClientWithResponses) ExchangeDesktopCodeWithResponse(ctx context.Context, body ExchangeDesktopCodeJSONRequestBody, reqEditors ...RequestEditorFn) (*ExchangeDesktopCodeResponse, error)

ExchangeDesktopCodeWithResponse Exchange a desktop sign-in code for the PAT it granted.

Unauthenticated; the code is the credential. Single use, bound to the `state` nonce the desktop app generated, and valid for 60 seconds from the grant. The PAT is minted at this moment and returned exactly once, like `createToken`. Rate-limited with the login class.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /auth/desktop/exchange (the `ExchangeDesktopCode` operationId).

func (*ClientWithResponses) ExportKnowledgePackWithResponse

func (c *ClientWithResponses) ExportKnowledgePackWithResponse(ctx context.Context, packId KnowledgePackId, reqEditors ...RequestEditorFn) (*ExportKnowledgePackResponse, error)

ExportKnowledgePackWithResponse The pack's tree, decrypted as it streams, to its owner alone.

The canonical tar of the pack's `wiki/` and `sources/`, whose SHA-256 is the pack's digest; `Cache-Control: no-store`; 404 to anyone but the owner; 409 `knowledge-scanning` while the pack is scanned.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /knowledge/packs/{packId}/export (the `ExportKnowledgePack` operationId).

func (*ClientWithResponses) ExportOrgKnowledgePackWithResponse

func (c *ClientWithResponses) ExportOrgKnowledgePackWithResponse(ctx context.Context, org OrgHandle, packId KnowledgePackId, reqEditors ...RequestEditorFn) (*ExportOrgKnowledgePackResponse, error)

ExportOrgKnowledgePackWithResponse A shared pack's tree, decrypted as it streams, to an admin, or to a member once the pack is marked exportable.

As `GET /knowledge/packs/{packId}/export`. A member's export of a pack not marked exportable is 403 `knowledge-not-exportable`. Recorded in the organization's audit log (`org.knowledge_export`).

Returns a wrapper object for the known response body format(s).

Corresponds with GET /orgs/{org}/knowledge/packs/{packId}/export (the `ExportOrgKnowledgePack` operationId).

func (*ClientWithResponses) ForkAgentWithBodyWithResponse

func (c *ClientWithResponses) ForkAgentWithBodyWithResponse(ctx context.Context, ns Namespace, name AgentName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ForkAgentResponse, error)

ForkAgentWithBodyWithResponse Fork a public agent into a namespace the caller may create in.

Makes a private copy of a public agent: a new agent in `namespace`, under the origin's name unless `name` gives another, that records the origin and the published version it was taken from, for good. A fork is never public (`PATCH` to public answers `409 fork-stays-private`). The fork is answered `202` with `forkState: copying`: a worker then copies from the origin's repository the forked release's commit and its history, when the release was tagged and scanned, and nothing else (no other branch or tag; objects copied rather than shared), writes one commit, "Fork of ns/name@version", on top of it or, with nothing copied, from the release's archive, that renames the manifest into the fork's namespace, tags it with the origin's version and submits it through the pipeline like any submission, charged like one. `forkState` is then `ready`, or `failed` with `forkDetail` saying why. The origin must be readable, public, neither quarantined nor blocked, and have a published version; the caller must be able to create a private agent in `namespace` (its owner, or an active member of the organization), within its agent quota and private-agent cap. A name the namespace already has answers `409 name-taken`; one a deleted agent holds, `409 name-held`.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /agents/{ns}/{name}/fork (the `ForkAgent` operationId).

func (*ClientWithResponses) ForkAgentWithResponse

func (c *ClientWithResponses) ForkAgentWithResponse(ctx context.Context, ns Namespace, name AgentName, body ForkAgentJSONRequestBody, reqEditors ...RequestEditorFn) (*ForkAgentResponse, error)

ForkAgentWithResponse Fork a public agent into a namespace the caller may create in.

Makes a private copy of a public agent: a new agent in `namespace`, under the origin's name unless `name` gives another, that records the origin and the published version it was taken from, for good. A fork is never public (`PATCH` to public answers `409 fork-stays-private`). The fork is answered `202` with `forkState: copying`: a worker then copies from the origin's repository the forked release's commit and its history, when the release was tagged and scanned, and nothing else (no other branch or tag; objects copied rather than shared), writes one commit, "Fork of ns/name@version", on top of it or, with nothing copied, from the release's archive, that renames the manifest into the fork's namespace, tags it with the origin's version and submits it through the pipeline like any submission, charged like one. `forkState` is then `ready`, or `failed` with `forkDetail` saying why. The origin must be readable, public, neither quarantined nor blocked, and have a published version; the caller must be able to create a private agent in `namespace` (its owner, or an active member of the organization), within its agent quota and private-agent cap. A name the namespace already has answers `409 name-taken`; one a deleted agent holds, `409 name-held`.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /agents/{ns}/{name}/fork (the `ForkAgent` operationId).

func (*ClientWithResponses) GetAdvisoryWithResponse

func (c *ClientWithResponses) GetAdvisoryWithResponse(ctx context.Context, advisoryId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetAdvisoryResponse, error)

GetAdvisoryWithResponse One published advisory (permalink); public agents only.

Only an advisory against a public agent resolves; any other id is a 404, so a private agent's advisory is not discoverable by id. A holder of the agent's release reads it through `affecting`.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /advisories/{advisoryId} (the `GetAdvisory` operationId).

func (*ClientWithResponses) GetAgentReadmeWithResponse

func (c *ClientWithResponses) GetAgentReadmeWithResponse(ctx context.Context, ns Namespace, name AgentName, params *GetAgentReadmeParams, reqEditors ...RequestEditorFn) (*GetAgentReadmeResponse, error)

GetAgentReadmeWithResponse The agent README rendered to sanitized HTML.

Markdown is rendered server-side through a strict allowlist: no raw HTML, no user styles, no SVG, external links rewritten, and invisible or bidi Unicode replaced with visible placeholders.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /agents/{ns}/{name}/readme (the `GetAgentReadme` operationId).

func (*ClientWithResponses) GetAgentStatsWithResponse

func (c *ClientWithResponses) GetAgentStatsWithResponse(ctx context.Context, ns Namespace, name AgentName, reqEditors ...RequestEditorFn) (*GetAgentStatsResponse, error)

GetAgentStatsWithResponse Star count and install counts for an agent.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /agents/{ns}/{name}/stats (the `GetAgentStats` operationId).

func (*ClientWithResponses) GetAgentWithResponse

func (c *ClientWithResponses) GetAgentWithResponse(ctx context.Context, ns Namespace, name AgentName, reqEditors ...RequestEditorFn) (*GetAgentResponse, error)

GetAgentWithResponse Agent metadata (public agents readable by anyone).

A public agent is readable by anyone. A private agent is readable by its owner, the owning org's admins, and anyone holding a grant on it; every other caller, anonymous included, gets the 404 a missing name gets — never a 401 or 403 that would confirm the name exists. The same rule holds on every route under `/agents/{ns}/{name}`.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /agents/{ns}/{name} (the `GetAgent` operationId).

func (*ClientWithResponses) GetAuditExportWithResponse

func (c *ClientWithResponses) GetAuditExportWithResponse(ctx context.Context, org OrgHandle, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetAuditExportResponse, error)

GetAuditExportWithResponse Poll an audit export's status and download reference (admin+).

Returns a wrapper object for the known response body format(s).

Corresponds with GET /orgs/{org}/audit/exports/{id} (the `GetAuditExport` operationId).

func (*ClientWithResponses) GetConnectorsWithResponse

func (c *ClientWithResponses) GetConnectorsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetConnectorsResponse, error)

GetConnectorsWithResponse Agentry's connectors and this deployment's public client ids.

Every connector this build's catalogue holds: the vendor products whose servers Agentry has vetted. A connector whose app is a public client carries the `publicClientId` this deployment registered for it, which a client uses for a local sign-in to that connector's servers; it is absent where the deployment has configured none. No client secret is ever listed.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /connectors (the `GetConnectors` operationId).

func (*ClientWithResponses) GetCurrentUserWithResponse

func (c *ClientWithResponses) GetCurrentUserWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetCurrentUserResponse, error)

GetCurrentUserWithResponse The authenticated user.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /user (the `GetCurrentUser` operationId).

func (*ClientWithResponses) GetDesktopAppsWithResponse added in v0.7.7

func (c *ClientWithResponses) GetDesktopAppsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetDesktopAppsResponse, error)

GetDesktopAppsWithResponse Agentry's catalogue of application servers.

Every entry of this build's catalogue of application servers: for each application a QuickAgent may use on the person's own computer (`capabilities.desktop.servers` names an entry by its id), the MCP server Agentry has vetted for it, pinned to one exact release; how Agentry Desktop launches or reaches it; the loopback port the application listens on; every tool a run may call, with its class (`read`, `act` or `exec`, which asks the person before each call); the tools no run is given; and the hosts the server is known to reach from the person's computer, which no run can hold it to. Clients carry the same catalogue from their build; this route lets a page or a script read it.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /desktop-apps (the `GetDesktopApps` operationId).

func (*ClientWithResponses) GetDomainOrgWithResponse

func (c *ClientWithResponses) GetDomainOrgWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetDomainOrgResponse, error)

GetDomainOrgWithResponse Which organization the caller's verified email domain belongs to. 403 email-unverified until the address is verified.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /user/domain-org (the `GetDomainOrg` operationId).

func (*ClientWithResponses) GetInvitationWithResponse

func (c *ClientWithResponses) GetInvitationWithResponse(ctx context.Context, token string, reqEditors ...RequestEditorFn) (*GetInvitationResponse, error)

GetInvitationWithResponse Read an invitation by its token (session only). Says which organization and role it offers and whether the signed-in account may accept it.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /invitations/{token} (the `GetInvitation` operationId).

func (*ClientWithResponses) GetKnowledgePackWithResponse

func (c *ClientWithResponses) GetKnowledgePackWithResponse(ctx context.Context, packId KnowledgePackId, reqEditors ...RequestEditorFn) (*GetKnowledgePackResponse, error)

GetKnowledgePackWithResponse One of the caller's packs with its scan report; 404 to anyone else.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /knowledge/packs/{packId} (the `GetKnowledgePack` operationId).

func (*ClientWithResponses) GetKnowledgeUsageWithResponse

func (c *ClientWithResponses) GetKnowledgeUsageWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetKnowledgeUsageResponse, error)

GetKnowledgeUsageWithResponse What the caller keeps in the registry against their allocation.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /knowledge/usage (the `GetKnowledgeUsage` operationId).

func (*ClientWithResponses) GetLatestRulesetAttestationWithResponse

func (c *ClientWithResponses) GetLatestRulesetAttestationWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetLatestRulesetAttestationResponse, error)

GetLatestRulesetAttestationWithResponse DSSE attestation over the bundle `…/latest/bundle` serves.

An in-toto statement (predicate `https://agentry.dev/attestation/ruleset/v1`) whose subject digest is the bundle's content digest, signed with the registry's release-signing key (`/.well-known/agentry/signing-keys.json`). Lets `agentry validate --rules-update` verify a fetched bundle by signature rather than only by the digest the same server advertised. The worker signs it at start and stores it, so every replica serves the same envelope. 404 when the registry does not sign (`signing.kind: none`), or when no process holding the signing key has started with this bundle yet (a rolling deploy).

Returns a wrapper object for the known response body format(s).

Corresponds with GET /ruleset-releases/latest/attestation (the `GetLatestRulesetAttestation` operationId).

func (*ClientWithResponses) GetLatestRulesetBundleWithResponse

func (c *ClientWithResponses) GetLatestRulesetBundleWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetLatestRulesetBundleResponse, error)

GetLatestRulesetBundleWithResponse The newest published S3/S4 rule bundle, for `agentry validate --rules-update`.

Returns the deployment's rule bundle as an uncompressed tar of the bundle directory (`bundle.yaml` plus the family YAML files), exactly the bytes `pkg/rules.LoadBundle` reads. The advertised identity travels in headers so a client can check what it got without unpacking first:

`X-Agentry-Bundle-Semver`: the ruleset release semver; `X-Agentry-Bundle-Digest`: the `sha256:<hex>` content digest recorded on the `ruleset_releases` row; `ETag`: the same digest.

The digest is the pin: a client MUST recompute it over the received bundle and refuse a mismatch. Bundle-level *signatures* do not exist yet; this endpoint pins by digest only.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /ruleset-releases/latest/bundle (the `GetLatestRulesetBundle` operationId).

func (*ClientWithResponses) GetMcpServerScanWithResponse

func (c *ClientWithResponses) GetMcpServerScanWithResponse(ctx context.Context, params *GetMcpServerScanParams, reqEditors ...RequestEditorFn) (*GetMcpServerScanResponse, error)

GetMcpServerScanWithResponse The registry's last vulnerability check of one MCP server package version.

What S7 recorded for the exact package version: `safe` means no known advisories at `lastCheckedAt`, `vulnerable` lists them, `error` means the last lookup failed and the advisories are the last known. Each advisory carries its own `severity` and the gate's rating of it, `gateSeverity`. 404 when no manifest has ever declared this version. The runner asks here before installing a declared server.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /mcp-servers/scan (the `GetMcpServerScan` operationId).

func (*ClientWithResponses) GetMetaWithResponse

func (c *ClientWithResponses) GetMetaWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetMetaResponse, error)

GetMetaWithResponse Server version and self-host feature flags.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /meta (the `GetMeta` operationId).

func (*ClientWithResponses) GetOrgKnowledgePackWithResponse

func (c *ClientWithResponses) GetOrgKnowledgePackWithResponse(ctx context.Context, org OrgHandle, packId KnowledgePackId, reqEditors ...RequestEditorFn) (*GetOrgKnowledgePackResponse, error)

GetOrgKnowledgePackWithResponse One of the organization's shared packs with its scan report.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /orgs/{org}/knowledge/packs/{packId} (the `GetOrgKnowledgePack` operationId).

func (*ClientWithResponses) GetOrgKnowledgeUsageWithResponse

func (c *ClientWithResponses) GetOrgKnowledgeUsageWithResponse(ctx context.Context, org OrgHandle, reqEditors ...RequestEditorFn) (*GetOrgKnowledgeUsageResponse, error)

GetOrgKnowledgeUsageWithResponse What the organization keeps in the registry against the allocation its packs draw on.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /orgs/{org}/knowledge/usage (the `GetOrgKnowledgeUsage` operationId).

func (*ClientWithResponses) GetOrgLogoWithResponse

func (c *ClientWithResponses) GetOrgLogoWithResponse(ctx context.Context, org OrgHandle, reqEditors ...RequestEditorFn) (*GetOrgLogoResponse, error)

GetOrgLogoWithResponse The organization's logo, as this registry re-encoded it.

A raster the core decoded and encoded again from the pixels: the bytes an admin uploaded are never what is served. The type is pinned and not sniffed. The URL an organization's resource carries (`logoUrl`) names the content by its `v`, and that URL is served as immutable for a year; the bare path, or one whose `v` is no longer the logo served, answers the current logo with `no-cache`. Clients render `logoUrl` as given and never build the path. 404 when the organization has none, or is not one the caller may see.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /orgs/{org}/logo (the `GetOrgLogo` operationId).

func (*ClientWithResponses) GetOrgPolicyWithResponse

func (c *ClientWithResponses) GetOrgPolicyWithResponse(ctx context.Context, org OrgHandle, reqEditors ...RequestEditorFn) (*GetOrgPolicyResponse, error)

GetOrgPolicyWithResponse The org policy overlay (admin+).

Returns a wrapper object for the known response body format(s).

Corresponds with GET /orgs/{org}/policy (the `GetOrgPolicy` operationId).

func (*ClientWithResponses) GetOrgReportDesignWithResponse added in v0.7.5

func (c *ClientWithResponses) GetOrgReportDesignWithResponse(ctx context.Context, org OrgHandle, designId ReportDesignId, params *GetOrgReportDesignParams, reqEditors ...RequestEditorFn) (*GetOrgReportDesignResponse, error)

GetOrgReportDesignWithResponse One of the organization's house report designs, for any active member.

The design in its canonical form. Its images (`logo`, `coverImage`, `customCover`) come only with `include=assets`: a run that draws them asks for them, a console that lists them does not. Another organization's design is 404.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /orgs/{org}/report-designs/{designId} (the `GetOrgReportDesign` operationId).

func (*ClientWithResponses) GetOrgWithResponse

func (c *ClientWithResponses) GetOrgWithResponse(ctx context.Context, org OrgHandle, reqEditors ...RequestEditorFn) (*GetOrgResponse, error)

GetOrgWithResponse Organization profile (public fields; settings for admins).

Returns a wrapper object for the known response body format(s).

Corresponds with GET /orgs/{org} (the `GetOrg` operationId).

func (*ClientWithResponses) GetPlatformPolicyWithResponse

func (c *ClientWithResponses) GetPlatformPolicyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetPlatformPolicyResponse, error)

GetPlatformPolicyWithResponse The read-only platform baseline policy.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /platform/policy (the `GetPlatformPolicy` operationId).

func (*ClientWithResponses) GetReviewFileWithResponse

func (c *ClientWithResponses) GetReviewFileWithResponse(ctx context.Context, id openapi_types.UUID, params *GetReviewFileParams, reqEditors ...RequestEditorFn) (*GetReviewFileResponse, error)

GetReviewFileWithResponse One file's content from the archive under review (reviewer/staff).

Returns a wrapper object for the known response body format(s).

Corresponds with GET /review-items/{id}/file (the `GetReviewFile` operationId).

func (*ClientWithResponses) GetReviewItemWithResponse

func (c *ClientWithResponses) GetReviewItemWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetReviewItemResponse, error)

GetReviewItemWithResponse One review item with its findings bundle.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /review-items/{id} (the `GetReviewItem` operationId).

func (*ClientWithResponses) GetUserManagedSettingsWithResponse added in v0.7.9

func (c *ClientWithResponses) GetUserManagedSettingsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetUserManagedSettingsResponse, error)

GetUserManagedSettingsWithResponse The managed settings the caller's organization set for them, signed.

The values an organization's admins set for this member's Agentry clients, as a DSSE envelope of payload type `application/vnd.agentry.managed-settings+json` signed with the registry's release-signing key (the keys at `/.well-known/agentry/signing-keys.json`). The payload is described by `schemas/managed-settings-1.schema.json`. The registry sets its `registry` and `account` fields, and a client accepts a document only from the registry and for the account it is signed in to. A locked setting is one the member cannot change; one that is not locked is an organization default. The answer is 204 when no settings apply to the caller, and 503 when the registry has no signing key or no base URL, since an unsigned or unbound document is never served.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /user/managed-settings (the `GetUserManagedSettings` operationId).

func (*ClientWithResponses) GetUserNotificationSettingsWithResponse

func (c *ClientWithResponses) GetUserNotificationSettingsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetUserNotificationSettingsResponse, error)

GetUserNotificationSettingsWithResponse How the registry's alerts reach the caller.

Email per kind of notification, and whether the dependency-alert banner shows in a front end (the site reads it). An account that never changed anything reads back with everything on.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /user/notifications (the `GetUserNotificationSettings` operationId).

func (*ClientWithResponses) GetUserProfileWithResponse

func (c *ClientWithResponses) GetUserProfileWithResponse(ctx context.Context, handle Handle, reqEditors ...RequestEditorFn) (*GetUserProfileResponse, error)

GetUserProfileWithResponse Public profile for a user handle.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /users/{handle} (the `GetUserProfile` operationId).

func (*ClientWithResponses) GetUserReportDesignWithResponse added in v0.7.4

func (c *ClientWithResponses) GetUserReportDesignWithResponse(ctx context.Context, designId ReportDesignId, params *GetUserReportDesignParams, reqEditors ...RequestEditorFn) (*GetUserReportDesignResponse, error)

GetUserReportDesignWithResponse One of the caller's report designs.

The design in its canonical form. Its images (`logo`, `coverImage`, `customCover`) come only with `include=assets`: a client that does not draw them reads the document without them. Another account's design is 404.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /user/report-designs/{designId} (the `GetUserReportDesign` operationId).

func (*ClientWithResponses) GetVersionAttestationWithResponse

func (c *ClientWithResponses) GetVersionAttestationWithResponse(ctx context.Context, ns Namespace, name AgentName, version VersionString, reqEditors ...RequestEditorFn) (*GetVersionAttestationResponse, error)

GetVersionAttestationWithResponse The signed DSSE attestation, verbatim.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /agents/{ns}/{name}/versions/{version}/attestation (the `GetVersionAttestation` operationId).

func (*ClientWithResponses) GetVersionFileWithResponse

func (c *ClientWithResponses) GetVersionFileWithResponse(ctx context.Context, ns Namespace, name AgentName, version VersionString, params *GetVersionFileParams, reqEditors ...RequestEditorFn) (*GetVersionFileResponse, error)

GetVersionFileWithResponse Read one file from the version's release archive.

Text files return UTF-8 content up to the display cap with a truncation flag; binary files return metadata only (binary true), never raw bytes. Same access gate as listVersionFiles.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /agents/{ns}/{name}/versions/{version}/file (the `GetVersionFile` operationId).

func (*ClientWithResponses) GetVersionInfoWithResponse

func (c *ClientWithResponses) GetVersionInfoWithResponse(ctx context.Context, ns Namespace, name AgentName, version VersionString, reqEditors ...RequestEditorFn) (*GetVersionInfoResponse, error)

GetVersionInfoWithResponse One version with its state and archive identity.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /agents/{ns}/{name}/versions/{version} (the `GetVersionInfo` operationId).

func (*ClientWithResponses) GetVersionManifestWithResponse

func (c *ClientWithResponses) GetVersionManifestWithResponse(ctx context.Context, ns Namespace, name AgentName, version VersionString, reqEditors ...RequestEditorFn) (*GetVersionManifestResponse, error)

GetVersionManifestWithResponse The validated manifest (canonical JSON).

Returns a wrapper object for the known response body format(s).

Corresponds with GET /agents/{ns}/{name}/versions/{version}/manifest (the `GetVersionManifest` operationId).

func (*ClientWithResponses) GetVersionReportWithResponse

func (c *ClientWithResponses) GetVersionReportWithResponse(ctx context.Context, ns Namespace, name AgentName, version VersionString, reqEditors ...RequestEditorFn) (*GetVersionReportResponse, error)

GetVersionReportWithResponse The scan report for a version (findings, ruleset, verdict).

Returns a wrapper object for the known response body format(s).

Corresponds with GET /agents/{ns}/{name}/versions/{version}/report (the `GetVersionReport` operationId).

func (*ClientWithResponses) GetVoiceWithResponse

func (c *ClientWithResponses) GetVoiceWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetVoiceResponse, error)

GetVoiceWithResponse The caller's Writing Voice, every version's text with its review.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /voice (the `GetVoice` operationId).

func (*ClientWithResponses) GetWebhookWithResponse

func (c *ClientWithResponses) GetWebhookWithResponse(ctx context.Context, org OrgHandle, id WebhookID, reqEditors ...RequestEditorFn) (*GetWebhookResponse, error)

GetWebhookWithResponse Get a webhook endpoint (admin+).

Returns a wrapper object for the known response body format(s).

Corresponds with GET /orgs/{org}/webhooks/{id} (the `GetWebhook` operationId).

func (*ClientWithResponses) ListAbuseReportsWithResponse

func (c *ClientWithResponses) ListAbuseReportsWithResponse(ctx context.Context, params *ListAbuseReportsParams, reqEditors ...RequestEditorFn) (*ListAbuseReportsResponse, error)

ListAbuseReportsWithResponse Abuse reports for triage (platform staff).

Returns a wrapper object for the known response body format(s).

Corresponds with GET /platform/abuse-reports (the `ListAbuseReports` operationId).

func (*ClientWithResponses) ListAccountInstallsWithResponse

func (c *ClientWithResponses) ListAccountInstallsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListAccountInstallsResponse, error)

ListAccountInstallsWithResponse The caller's account installs, composed for a list.

Every record the caller holds, newest change first. A record whose QuickAgent the caller can no longer read — made private to them, its organization suspended — is listed as the bare `ref` with `readable: false` and nothing else, so the list tells a former reader nothing they did not already know. A PAT needs `user:profile`.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /user/installs (the `ListAccountInstalls` operationId).

func (*ClientWithResponses) ListAdvisoriesWithResponse

func (c *ClientWithResponses) ListAdvisoriesWithResponse(ctx context.Context, params *ListAdvisoriesParams, reqEditors ...RequestEditorFn) (*ListAdvisoriesResponse, error)

ListAdvisoriesWithResponse Published advisories — for one agent, or the global feed.

With `affecting`, the advisories against that agent (newest first), under the agent's own read rule: a private agent's advisories are its readers' (the owning user, the owning org's admins, and anyone holding a grant on the agent), and anyone else — anonymous or signed in — gets the 404 a missing name gets, so the agent's existence is not discoverable here. The one exception is a holder of one of its releases: a signed-in caller whose account install names the agent, or any caller presenting with `digest` the archive digest of a version of it that was ever published, gets its advisories whatever its visibility, retired or deleted state now, so the people who installed it while it was public still learn of an advisory published after it went private. Without it, the global feed: every published advisory against a public agent, newest first, keyset-paged with `cursor`/`limit` and a `Link: rel="next"` header. Each item carries `agent` (`ns/name`) so a feed reader can find the affected QuickAgent.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /advisories (the `ListAdvisories` operationId).

func (*ClientWithResponses) ListAgentActivityWithResponse

func (c *ClientWithResponses) ListAgentActivityWithResponse(ctx context.Context, ns Namespace, name AgentName, params *ListAgentActivityParams, reqEditors ...RequestEditorFn) (*ListAgentActivityResponse, error)

ListAgentActivityWithResponse Recent activity for an agent.

Drawn from the audit log. Anyone who can see a public agent gets the public-safe subset: publishes and yanks; callers with an explicit read grant (or namespace-derived read) see the fuller stream including submissions, settings changes, and grant changes.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /agents/{ns}/{name}/activity (the `ListAgentActivity` operationId).

func (*ClientWithResponses) ListAgentGrantsWithResponse

func (c *ClientWithResponses) ListAgentGrantsWithResponse(ctx context.Context, ns Namespace, name AgentName, reqEditors ...RequestEditorFn) (*ListAgentGrantsResponse, error)

ListAgentGrantsWithResponse List explicit grants (maintain).

Returns a wrapper object for the known response body format(s).

Corresponds with GET /agents/{ns}/{name}/grants (the `ListAgentGrants` operationId).

func (*ClientWithResponses) ListAgentsByTagWithResponse

func (c *ClientWithResponses) ListAgentsByTagWithResponse(ctx context.Context, tag string, params *ListAgentsByTagParams, reqEditors ...RequestEditorFn) (*ListAgentsByTagResponse, error)

ListAgentsByTagWithResponse Public agents tagged with {tag}.

Matches the tag list of each agent's latest published manifest (`manifest.tags`, V8). Blocked agents never appear.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /tags/{tag} (the `ListAgentsByTag` operationId).

func (*ClientWithResponses) ListAgentsWithResponse

func (c *ClientWithResponses) ListAgentsWithResponse(ctx context.Context, params *ListAgentsParams, reqEditors ...RequestEditorFn) (*ListAgentsResponse, error)

ListAgentsWithResponse List agents in a namespace (public ones for everyone).

Public agents for everyone; the private ones too for the namespace's owner and the active members of its organization. A deleted agent is never listed. The publisher's page narrows and orders the list with `q`, `state`, `forks` and `sort`, and each agent carries `installs30d`, `lastSubmittedAt`, `forkCount` on a public agent, `forkedFrom` and `forkState` on a fork and, when it is retired, `retiredAt`.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /agents (the `ListAgents` operationId).

func (*ClientWithResponses) ListDomainClaimsWithResponse

func (c *ClientWithResponses) ListDomainClaimsWithResponse(ctx context.Context, org OrgHandle, reqEditors ...RequestEditorFn) (*ListDomainClaimsResponse, error)

ListDomainClaimsWithResponse List domain claims (admin+).

Returns a wrapper object for the known response body format(s).

Corresponds with GET /orgs/{org}/domain-claims (the `ListDomainClaims` operationId).

func (*ClientWithResponses) ListInvitationsWithResponse

func (c *ClientWithResponses) ListInvitationsWithResponse(ctx context.Context, org OrgHandle, reqEditors ...RequestEditorFn) (*ListInvitationsResponse, error)

ListInvitationsWithResponse List the organization's open invitations (admin).

Returns a wrapper object for the known response body format(s).

Corresponds with GET /orgs/{org}/invitations (the `ListInvitations` operationId).

func (*ClientWithResponses) ListKnowledgePackSizesWithResponse

func (c *ClientWithResponses) ListKnowledgePackSizesWithResponse(ctx context.Context, params *ListKnowledgePackSizesParams, reqEditors ...RequestEditorFn) (*ListKnowledgePackSizesResponse, error)

ListKnowledgePackSizesWithResponse An account's or an organization's packs by name and size, for support (platform staff).

Names, states and sizes only: never a byte of content, a digest, a scan report or a key.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /platform/knowledge (the `ListKnowledgePackSizes` operationId).

func (*ClientWithResponses) ListKnowledgePacksWithResponse

func (c *ClientWithResponses) ListKnowledgePacksWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListKnowledgePacksResponse, error)

ListKnowledgePacksWithResponse The caller's knowledge packs, by name.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /knowledge/packs (the `ListKnowledgePacks` operationId).

func (*ClientWithResponses) ListOrgAuditWithResponse

func (c *ClientWithResponses) ListOrgAuditWithResponse(ctx context.Context, org OrgHandle, params *ListOrgAuditParams, reqEditors ...RequestEditorFn) (*ListOrgAuditResponse, error)

ListOrgAuditWithResponse Org audit events, newest first (admin+; cursor paged).

Returns a wrapper object for the known response body format(s).

Corresponds with GET /orgs/{org}/audit (the `ListOrgAudit` operationId).

func (*ClientWithResponses) ListOrgKnowledgePacksWithResponse

func (c *ClientWithResponses) ListOrgKnowledgePacksWithResponse(ctx context.Context, org OrgHandle, reqEditors ...RequestEditorFn) (*ListOrgKnowledgePacksResponse, error)

ListOrgKnowledgePacksWithResponse The organization's shared packs, by name, for any active member.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /orgs/{org}/knowledge/packs (the `ListOrgKnowledgePacks` operationId).

func (*ClientWithResponses) ListOrgMembersWithResponse

func (c *ClientWithResponses) ListOrgMembersWithResponse(ctx context.Context, org OrgHandle, reqEditors ...RequestEditorFn) (*ListOrgMembersResponse, error)

ListOrgMembersWithResponse List members with roles (members can view).

Returns a wrapper object for the known response body format(s).

Corresponds with GET /orgs/{org}/members (the `ListOrgMembers` operationId).

func (*ClientWithResponses) ListOrgReportDesignsWithResponse added in v0.7.5

func (c *ClientWithResponses) ListOrgReportDesignsWithResponse(ctx context.Context, org OrgHandle, reqEditors ...RequestEditorFn) (*ListOrgReportDesignsResponse, error)

ListOrgReportDesignsWithResponse The organization's house report designs, for any active member.

Up to ten named report designs the organization's admins keep, oldest first, which a member picks for a run by the organization's handle and the design's name. There is no default: a run that picks none takes the person's own default. Membership is read at every call, and a signed-in caller who is not an active member of the organization is answered 404, so the route says nothing of what an organization keeps to anyone outside it. The images are not listed; each entry says which it has.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /orgs/{org}/report-designs (the `ListOrgReportDesigns` operationId).

func (*ClientWithResponses) ListPlatformAuditWithResponse

func (c *ClientWithResponses) ListPlatformAuditWithResponse(ctx context.Context, params *ListPlatformAuditParams, reqEditors ...RequestEditorFn) (*ListPlatformAuditResponse, error)

ListPlatformAuditWithResponse Audit events across every org (platform staff).

The staff-wide slice of the audit log, newest first. Staff access to it is itself audited, one event per call.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /platform/audit (the `ListPlatformAudit` operationId).

func (*ClientWithResponses) ListRedTeamReportsWithResponse

func (c *ClientWithResponses) ListRedTeamReportsWithResponse(ctx context.Context, params *ListRedTeamReportsParams, reqEditors ...RequestEditorFn) (*ListRedTeamReportsResponse, error)

ListRedTeamReportsWithResponse Reports of the scheduled red-team job against the S3/S4 gate (platform staff).

Newest first. Each report is one run of the attack corpus's rewrites (paraphrase, encoding, unicode and obfuscation mutators) scanned with the rule bundle in service, and lists the rewrites an expected rule no longer caught. Report-only: nothing on the publish path reads these.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /platform/redteam/reports (the `ListRedTeamReports` operationId).

func (*ClientWithResponses) ListReviewFilesWithResponse

func (c *ClientWithResponses) ListReviewFilesWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ListReviewFilesResponse, error)

ListReviewFilesWithResponse File inventory of the archive under review (reviewer/staff).

Returns a wrapper object for the known response body format(s).

Corresponds with GET /review-items/{id}/files (the `ListReviewFiles` operationId).

func (*ClientWithResponses) ListReviewQueueWithResponse

func (c *ClientWithResponses) ListReviewQueueWithResponse(ctx context.Context, params *ListReviewQueueParams, reqEditors ...RequestEditorFn) (*ListReviewQueueResponse, error)

ListReviewQueueWithResponse Pending review items (platform staff, or an org's security_reviewer for its queue).

The platform queue is platform staff's. An org queue is that organization's reviewers' and platform staff's; staff may leave `org` out to list every organization's pending items, and anyone else must name it (422).

Returns a wrapper object for the known response body format(s).

Corresponds with GET /review-queue (the `ListReviewQueue` operationId).

func (*ClientWithResponses) ListRulesetReleasesWithResponse

func (c *ClientWithResponses) ListRulesetReleasesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListRulesetReleasesResponse, error)

ListRulesetReleasesWithResponse Ruleset releases, newest first (platform staff).

Returns a wrapper object for the known response body format(s).

Corresponds with GET /platform/ruleset-releases (the `ListRulesetReleases` operationId).

func (*ClientWithResponses) ListSshKeysWithResponse

func (c *ClientWithResponses) ListSshKeysWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListSshKeysResponse, error)

ListSshKeysWithResponse List the caller's SSH public keys for the git transport.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /user/ssh-keys (the `ListSshKeys` operationId).

func (*ClientWithResponses) ListTeamMembersWithResponse

func (c *ClientWithResponses) ListTeamMembersWithResponse(ctx context.Context, org OrgHandle, team TeamSlug, reqEditors ...RequestEditorFn) (*ListTeamMembersResponse, error)

ListTeamMembersWithResponse List team members (org members can view).

Returns a wrapper object for the known response body format(s).

Corresponds with GET /orgs/{org}/teams/{team}/members (the `ListTeamMembers` operationId).

func (*ClientWithResponses) ListTeamsWithResponse

func (c *ClientWithResponses) ListTeamsWithResponse(ctx context.Context, org OrgHandle, reqEditors ...RequestEditorFn) (*ListTeamsResponse, error)

ListTeamsWithResponse List teams (members can view).

Returns a wrapper object for the known response body format(s).

Corresponds with GET /orgs/{org}/teams (the `ListTeams` operationId).

func (*ClientWithResponses) ListTokensWithResponse

func (c *ClientWithResponses) ListTokensWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListTokensResponse, error)

ListTokensWithResponse List the caller's personal access tokens (metadata only).

Returns a wrapper object for the known response body format(s).

Corresponds with GET /user/tokens (the `ListTokens` operationId).

func (*ClientWithResponses) ListUserActivityWithResponse

func (c *ClientWithResponses) ListUserActivityWithResponse(ctx context.Context, params *ListUserActivityParams, reqEditors ...RequestEditorFn) (*ListUserActivityResponse, error)

ListUserActivityWithResponse The caller's own activity — the audit events they performed.

Sign-ins, tokens and SSH keys created or revoked, profile and notification changes, publishes and reviews, newest first, with the address and user agent each was performed from. Keyset-paged like the agent activity feed.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /user/activity (the `ListUserActivity` operationId).

func (*ClientWithResponses) ListUserDependencyAlertsWithResponse

func (c *ClientWithResponses) ListUserDependencyAlertsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListUserDependencyAlertsResponse, error)

ListUserDependencyAlertsWithResponse Open dependency alerts on published versions the caller submitted.

A dependency alert says a published version declares an MCP server version that the daily sweep found to carry a newly known high or critical vulnerability. It closes on its own when the version is yanked, quarantined or blocked, or when the advisory is withdrawn; publishing a fixed version does not close the old version's alert. A front end shows these; the site renders them as the banner after sign-in and on the dashboard.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /user/dependency-alerts (the `ListUserDependencyAlerts` operationId).

func (*ClientWithResponses) ListUserReportDesignsWithResponse added in v0.7.4

func (c *ClientWithResponses) ListUserReportDesignsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListUserReportDesignsResponse, error)

ListUserReportDesignsWithResponse The caller's report design library.

Up to ten named report designs, oldest first, and which one is the default: the design `export_pdf` renders with in the caller's runs when the run picks none. The model never chooses a design. An account with no designs, or none as the default, reads back with no `default`, which is not the same as Plain: a signed-in client then falls to its own configuration, else Plain. The images are not listed; each entry says which it has.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /user/report-designs (the `ListUserReportDesigns` operationId).

func (*ClientWithResponses) ListUserSessionsWithResponse

func (c *ClientWithResponses) ListUserSessionsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListUserSessionsResponse, error)

ListUserSessionsWithResponse List the caller's active browser sessions.

Sessions are cookie sessions. A PAT-authenticated caller has no sessions of its own, so the list is empty (200, not an error). A PAT is not a way to enumerate someone's browser sessions.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /user/sessions (the `ListUserSessions` operationId).

func (*ClientWithResponses) ListVersionFilesWithResponse

func (c *ClientWithResponses) ListVersionFilesWithResponse(ctx context.Context, ns Namespace, name AgentName, version VersionString, reqEditors ...RequestEditorFn) (*ListVersionFilesResponse, error)

ListVersionFilesWithResponse List the files inside the version's release archive.

The same inventory a reviewer sees, opened under the download access gate: published and yanked versions list, blocked versions return 410, quarantined versions 409. Browsing does not count an install.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /agents/{ns}/{name}/versions/{version}/files (the `ListVersionFiles` operationId).

func (*ClientWithResponses) ListVersionsWithResponse

func (c *ClientWithResponses) ListVersionsWithResponse(ctx context.Context, ns Namespace, name AgentName, reqEditors ...RequestEditorFn) (*ListVersionsResponse, error)

ListVersionsWithResponse Version history, newest first.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /agents/{ns}/{name}/versions (the `ListVersions` operationId).

func (*ClientWithResponses) ListWebhookDeliveriesWithResponse

func (c *ClientWithResponses) ListWebhookDeliveriesWithResponse(ctx context.Context, org OrgHandle, id WebhookID, params *ListWebhookDeliveriesParams, reqEditors ...RequestEditorFn) (*ListWebhookDeliveriesResponse, error)

ListWebhookDeliveriesWithResponse Recent delivery attempts for an endpoint (admin+).

Returns a wrapper object for the known response body format(s).

Corresponds with GET /orgs/{org}/webhooks/{id}/deliveries (the `ListWebhookDeliveries` operationId).

func (*ClientWithResponses) ListWebhooksWithResponse

func (c *ClientWithResponses) ListWebhooksWithResponse(ctx context.Context, org OrgHandle, reqEditors ...RequestEditorFn) (*ListWebhooksResponse, error)

ListWebhooksWithResponse List webhook endpoints (admin+).

Returns a wrapper object for the known response body format(s).

Corresponds with GET /orgs/{org}/webhooks (the `ListWebhooks` operationId).

func (*ClientWithResponses) LogoutWithResponse

func (c *ClientWithResponses) LogoutWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*LogoutResponse, error)

LogoutWithResponse Revoke the current session.

Returns a wrapper object for the known response body format(s).

Corresponds with POST /auth/logout (the `Logout` operationId).

func (*ClientWithResponses) PingWebhookWithResponse

func (c *ClientWithResponses) PingWebhookWithResponse(ctx context.Context, org OrgHandle, id WebhookID, reqEditors ...RequestEditorFn) (*PingWebhookResponse, error)

PingWebhookWithResponse Send a test delivery to an endpoint (admin+).

Enqueues a signed `ping` delivery through the ordinary webhook machinery (same signature header, same SSRF guard, same retry schedule), so the recorded attempt appears in `GET …/{id}/deliveries`. Honours `Idempotency-Key`.

Returns a wrapper object for the known response body format(s).

Corresponds with POST /orgs/{org}/webhooks/{id}/ping (the `PingWebhook` operationId).

func (*ClientWithResponses) PlatformAgentActionWithBodyWithResponse

func (c *ClientWithResponses) PlatformAgentActionWithBodyWithResponse(ctx context.Context, ns Namespace, name AgentName, action PlatformAgentActionParamsAction, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PlatformAgentActionResponse, error)

PlatformAgentActionWithBodyWithResponse Quarantine, block, or reinstate an agent (platform staff).

Quarantine and block take effect before the response. Reinstate clears the agent's flag and asks for a fresh scan of each of its blocked and quarantined versions, then returns; it publishes nothing itself. A version is published again, signed as any publication is, only when the gate's verdict on its new scan is publish, and its open review item is closed with the reinstate's reason. Every other version stays held: a blocked one becomes quarantined once its verdict exists, and each has an open platform review item for a person to decide against the new scan. A version admitted without a scan has no scan to judge and stays as it is.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /platform/agents/{ns}/{name}/{action} (the `PlatformAgentAction` operationId).

func (*ClientWithResponses) PlatformAgentActionWithResponse

PlatformAgentActionWithResponse Quarantine, block, or reinstate an agent (platform staff).

Quarantine and block take effect before the response. Reinstate clears the agent's flag and asks for a fresh scan of each of its blocked and quarantined versions, then returns; it publishes nothing itself. A version is published again, signed as any publication is, only when the gate's verdict on its new scan is publish, and its open review item is closed with the reinstate's reason. Every other version stays held: a blocked one becomes quarantined once its verdict exists, and each has an open platform review item for a person to decide against the new scan. A version admitted without a scan has no scan to judge and stays as it is.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /platform/agents/{ns}/{name}/{action} (the `PlatformAgentAction` operationId).

func (*ClientWithResponses) PutAccountInstallWithBodyWithResponse

func (c *ClientWithResponses) PutAccountInstallWithBodyWithResponse(ctx context.Context, ns Namespace, name AgentName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutAccountInstallResponse, error)

PutAccountInstallWithBodyWithResponse Record a QuickAgent release as installed to the account, or move the record to another version.

The version must be a published release the caller can read: a non-reader gets the missing name's 404, an unpublished version `409 version-not-published`, a blocked QuickAgent `410 blocked`. The request carries the acceptances the release needs and is refused with `409 install-consent-required`, naming the missing ones in `missing`, when it lacks any: `capabilities` on a first install and, on an update, when the new version's declared capabilities widened against the accepted snapshot (`widened` lists what did); `unsigned` whenever the release carries no attestation; `unscanned` whenever it was admitted without a scan. A PUT on an existing record is the update, to any published version, an older one included: the version moves and the snapshot follows it. The action is audited as `agent.install`; no download counter moves. A PAT needs `user:profile`, and `agent:read` for a private QuickAgent.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /user/installs/{ns}/{name} (the `PutAccountInstall` operationId).

func (*ClientWithResponses) PutAccountInstallWithResponse

func (c *ClientWithResponses) PutAccountInstallWithResponse(ctx context.Context, ns Namespace, name AgentName, body PutAccountInstallJSONRequestBody, reqEditors ...RequestEditorFn) (*PutAccountInstallResponse, error)

PutAccountInstallWithResponse Record a QuickAgent release as installed to the account, or move the record to another version.

The version must be a published release the caller can read: a non-reader gets the missing name's 404, an unpublished version `409 version-not-published`, a blocked QuickAgent `410 blocked`. The request carries the acceptances the release needs and is refused with `409 install-consent-required`, naming the missing ones in `missing`, when it lacks any: `capabilities` on a first install and, on an update, when the new version's declared capabilities widened against the accepted snapshot (`widened` lists what did); `unsigned` whenever the release carries no attestation; `unscanned` whenever it was admitted without a scan. A PUT on an existing record is the update, to any published version, an older one included: the version moves and the snapshot follows it. The action is audited as `agent.install`; no download counter moves. A PAT needs `user:profile`, and `agent:read` for a private QuickAgent.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /user/installs/{ns}/{name} (the `PutAccountInstall` operationId).

func (*ClientWithResponses) PutOrgLogoWithBodyWithResponse

func (c *ClientWithResponses) PutOrgLogoWithBodyWithResponse(ctx context.Context, org OrgHandle, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutOrgLogoResponse, error)

PutOrgLogoWithBodyWithResponse Set the organization's logo (admin; the subscription must include branding).

Multipart, one part named `file`: PNG or JPEG, at most 256 KB. Anything else is 415 `unsupported-image` — SVG in particular, for which this registry has no sanitiser. Over the cap, over 16 million pixels, or larger re-encoded than a logo may be, is 413 `upload-too-large`. The core decodes it and encodes it again; the pixels are kept, the bytes are not. Replaces any logo the organization had. 403 `feature-not-included` while the subscription does not include branding.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /orgs/{org}/logo (the `PutOrgLogo` operationId).

func (*ClientWithResponses) PutOrgReportDesignCoverImageWithBodyWithResponse added in v0.7.5

func (c *ClientWithResponses) PutOrgReportDesignCoverImageWithBodyWithResponse(ctx context.Context, org OrgHandle, designId ReportDesignId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutOrgReportDesignCoverImageResponse, error)

PutOrgReportDesignCoverImageWithBodyWithResponse Set the cover image of one of the organization's house report designs (admins).

As `PUT /user/report-designs/{designId}/cover-image`: multipart, one part named `file`, a PNG or a JPEG of at most 2 MB, kept only as the core's own re-encoding of its pixels in the format it came in. Recorded in the organization's audit log (`org.report_design_update`). The answer carries the design with its images.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /orgs/{org}/report-designs/{designId}/cover-image (the `PutOrgReportDesignCoverImage` operationId).

func (*ClientWithResponses) PutOrgReportDesignCustomCoverWithBodyWithResponse added in v0.7.5

func (c *ClientWithResponses) PutOrgReportDesignCustomCoverWithBodyWithResponse(ctx context.Context, org OrgHandle, designId ReportDesignId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutOrgReportDesignCustomCoverResponse, error)

PutOrgReportDesignCustomCoverWithBodyWithResponse Set the custom cover of one of the organization's house report designs (admins).

As `PUT /user/report-designs/{designId}/custom-cover`: the custom cover whole, its source held to its bounds and never read, each image and the thumbnail encoded again by the core. Recorded in the organization's audit log (`org.report_design_update`). The answer carries the design with its images.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /orgs/{org}/report-designs/{designId}/custom-cover (the `PutOrgReportDesignCustomCover` operationId).

func (*ClientWithResponses) PutOrgReportDesignCustomCoverWithResponse added in v0.7.5

func (c *ClientWithResponses) PutOrgReportDesignCustomCoverWithResponse(ctx context.Context, org OrgHandle, designId ReportDesignId, body PutOrgReportDesignCustomCoverJSONRequestBody, reqEditors ...RequestEditorFn) (*PutOrgReportDesignCustomCoverResponse, error)

PutOrgReportDesignCustomCoverWithResponse Set the custom cover of one of the organization's house report designs (admins).

As `PUT /user/report-designs/{designId}/custom-cover`: the custom cover whole, its source held to its bounds and never read, each image and the thumbnail encoded again by the core. Recorded in the organization's audit log (`org.report_design_update`). The answer carries the design with its images.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /orgs/{org}/report-designs/{designId}/custom-cover (the `PutOrgReportDesignCustomCover` operationId).

func (*ClientWithResponses) PutOrgReportDesignLogoWithBodyWithResponse added in v0.7.5

func (c *ClientWithResponses) PutOrgReportDesignLogoWithBodyWithResponse(ctx context.Context, org OrgHandle, designId ReportDesignId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutOrgReportDesignLogoResponse, error)

PutOrgReportDesignLogoWithBodyWithResponse Set the logo of one of the organization's house report designs (admins).

As `PUT /user/report-designs/{designId}/logo`: multipart, one part named `file`, a PNG or a JPEG of at most 512 KB, kept only as the core's own re-encoding of its pixels. Recorded in the organization's audit log (`org.report_design_update`). The answer carries the design with its images.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /orgs/{org}/report-designs/{designId}/logo (the `PutOrgReportDesignLogo` operationId).

func (*ClientWithResponses) PutUserReportDesignCoverImageWithBodyWithResponse added in v0.7.4

func (c *ClientWithResponses) PutUserReportDesignCoverImageWithBodyWithResponse(ctx context.Context, designId ReportDesignId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutUserReportDesignCoverImageResponse, error)

PutUserReportDesignCoverImageWithBodyWithResponse Set the cover image of one of the caller's report designs.

Multipart, one part named `file`: PNG or JPEG, at most 2 MB. The core decodes it, scales it down to fit 2048 pixels each way and encodes it again from the pixels in the format it came in (a photograph stays a JPEG), so nothing of the upload but its pixels is kept; the runner draws it across the top of a plate cover and offers it to a custom cover, and it never comes from the model or a URL. Anything but a PNG or a JPEG is 415 `unsupported-image`; over 2 MB, over 16 million pixels, or over 2 MB encoded again is 413 `upload-too-large`. Replaces any cover image the design had. The answer carries the design with its images.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /user/report-designs/{designId}/cover-image (the `PutUserReportDesignCoverImage` operationId).

func (*ClientWithResponses) PutUserReportDesignCustomCoverWithBodyWithResponse added in v0.7.4

func (c *ClientWithResponses) PutUserReportDesignCustomCoverWithBodyWithResponse(ctx context.Context, designId ReportDesignId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutUserReportDesignCustomCoverResponse, error)

PutUserReportDesignCustomCoverWithBodyWithResponse Set the custom cover of one of the caller's report designs.

The custom cover whole: its Typst source (at most 32 KiB of text), its images (at most six, each a PNG or a JPEG in base64 that the core decodes, pixel-caps and encodes again in its format, 2 MB in all as stored) and, optionally, a PNG thumbnail of its last render (at most 300 KB). The source is code the runner compiles only under the confinement every export runs in, with the render root as its whole world; it is held to its bounds here, not read. A cover over a bound is 422 (`validation`) naming `customCover.<path>`; an image in no format the core reads is 415 `unsupported-image`. Replaces any custom cover the design had. The design draws it only while its cover style is `custom`. The answer carries the design with its images.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /user/report-designs/{designId}/custom-cover (the `PutUserReportDesignCustomCover` operationId).

func (*ClientWithResponses) PutUserReportDesignCustomCoverWithResponse added in v0.7.4

func (c *ClientWithResponses) PutUserReportDesignCustomCoverWithResponse(ctx context.Context, designId ReportDesignId, body PutUserReportDesignCustomCoverJSONRequestBody, reqEditors ...RequestEditorFn) (*PutUserReportDesignCustomCoverResponse, error)

PutUserReportDesignCustomCoverWithResponse Set the custom cover of one of the caller's report designs.

The custom cover whole: its Typst source (at most 32 KiB of text), its images (at most six, each a PNG or a JPEG in base64 that the core decodes, pixel-caps and encodes again in its format, 2 MB in all as stored) and, optionally, a PNG thumbnail of its last render (at most 300 KB). The source is code the runner compiles only under the confinement every export runs in, with the render root as its whole world; it is held to its bounds here, not read. A cover over a bound is 422 (`validation`) naming `customCover.<path>`; an image in no format the core reads is 415 `unsupported-image`. Replaces any custom cover the design had. The design draws it only while its cover style is `custom`. The answer carries the design with its images.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /user/report-designs/{designId}/custom-cover (the `PutUserReportDesignCustomCover` operationId).

func (*ClientWithResponses) PutUserReportDesignLogoWithBodyWithResponse added in v0.7.4

func (c *ClientWithResponses) PutUserReportDesignLogoWithBodyWithResponse(ctx context.Context, designId ReportDesignId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutUserReportDesignLogoResponse, error)

PutUserReportDesignLogoWithBodyWithResponse Set the logo of one of the caller's report designs.

Multipart, one part named `file`: PNG or JPEG, at most 512 KB. The core decodes it, scales it down to fit 1024 pixels each way and encodes it again as PNG from the pixels, so nothing of the upload but its pixels is kept; the runner draws it in the title block, on a cover whose facts include it and in a logoLeft header, and it never comes from the model or a URL. Anything but a PNG or a JPEG (SVG and GIF included) is 415 `unsupported-image`; over 512 KB, over 16 million pixels, or over 512 KB as a PNG is 413 `upload-too-large`. Replaces any logo the design had. The answer carries the design with its images.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /user/report-designs/{designId}/logo (the `PutUserReportDesignLogo` operationId).

func (*ClientWithResponses) PutVoiceWithBodyWithResponse

func (c *ClientWithResponses) PutVoiceWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutVoiceResponse, error)

PutVoiceWithBodyWithResponse Put a new version of the caller's voice, to be reviewed before it is live.

The text becomes the pending version, replacing any pending one, and its review is queued; the live version stays live until this one passes. `source` is `edit` for text saved on the web and `upload` for a voice sent from a client. A deployment whose extension charges for the review may refuse the call in its own status and words (a balance, say) before anything is stored.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /voice (the `PutVoice` operationId).

func (*ClientWithResponses) PutVoiceWithResponse

func (c *ClientWithResponses) PutVoiceWithResponse(ctx context.Context, body PutVoiceJSONRequestBody, reqEditors ...RequestEditorFn) (*PutVoiceResponse, error)

PutVoiceWithResponse Put a new version of the caller's voice, to be reviewed before it is live.

The text becomes the pending version, replacing any pending one, and its review is queued; the live version stays live until this one passes. `source` is `edit` for text saved on the web and `upload` for a voice sent from a client. A deployment whose extension charges for the review may refuse the call in its own status and words (a balance, say) before anything is stored.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /voice (the `PutVoice` operationId).

func (*ClientWithResponses) ReinstateOrgWithResponse

func (c *ClientWithResponses) ReinstateOrgWithResponse(ctx context.Context, org OrgHandle, reqEditors ...RequestEditorFn) (*ReinstateOrgResponse, error)

ReinstateOrgWithResponse Reinstate a suspended organization, or cancel a decommission hold before its erasure runs (platform staff). An organization already erased cannot come back (409).

Returns a wrapper object for the known response body format(s).

Corresponds with POST /orgs/{org}/reinstate (the `ReinstateOrg` operationId).

func (*ClientWithResponses) RemoveAgentTeamGrantWithResponse

func (c *ClientWithResponses) RemoveAgentTeamGrantWithResponse(ctx context.Context, ns Namespace, name AgentName, team TeamSlug, reqEditors ...RequestEditorFn) (*RemoveAgentTeamGrantResponse, error)

RemoveAgentTeamGrantWithResponse Remove a team grant (maintain).

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /agents/{ns}/{name}/grants/team/{team} (the `RemoveAgentTeamGrant` operationId).

func (*ClientWithResponses) RemoveAgentUserGrantWithResponse

func (c *ClientWithResponses) RemoveAgentUserGrantWithResponse(ctx context.Context, ns Namespace, name AgentName, handle Handle, reqEditors ...RequestEditorFn) (*RemoveAgentUserGrantResponse, error)

RemoveAgentUserGrantWithResponse Remove a user grant (maintain).

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /agents/{ns}/{name}/grants/user/{handle} (the `RemoveAgentUserGrant` operationId).

func (*ClientWithResponses) RemoveOrgMemberWithResponse

func (c *ClientWithResponses) RemoveOrgMemberWithResponse(ctx context.Context, org OrgHandle, handle Handle, reqEditors ...RequestEditorFn) (*RemoveOrgMemberResponse, error)

RemoveOrgMemberWithResponse Remove a member (admin), or leave: any active member may remove themselves, since a person belongs to one organization at a time and must be able to leave it. Removing a pending member is how an admin declines them; the last admin cannot be removed or leave (409 last-admin) — only a decommission removes them.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /orgs/{org}/members/{handle} (the `RemoveOrgMember` operationId).

func (*ClientWithResponses) RemoveSshKeyWithResponse

func (c *ClientWithResponses) RemoveSshKeyWithResponse(ctx context.Context, keyId openapi_types.UUID, reqEditors ...RequestEditorFn) (*RemoveSshKeyResponse, error)

RemoveSshKeyWithResponse Remove an SSH public key (session-only).

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /user/ssh-keys/{keyId} (the `RemoveSshKey` operationId).

func (*ClientWithResponses) RemoveTeamMemberWithResponse

func (c *ClientWithResponses) RemoveTeamMemberWithResponse(ctx context.Context, org OrgHandle, team TeamSlug, handle Handle, reqEditors ...RequestEditorFn) (*RemoveTeamMemberResponse, error)

RemoveTeamMemberWithResponse Remove a member from a team (admin+).

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /orgs/{org}/teams/{team}/members/{handle} (the `RemoveTeamMember` operationId).

func (*ClientWithResponses) ReportAbuseWithBodyWithResponse

func (c *ClientWithResponses) ReportAbuseWithBodyWithResponse(ctx context.Context, ns Namespace, name AgentName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ReportAbuseResponse, error)

ReportAbuseWithBodyWithResponse Report malicious or abusive content (authed, rate-limited).

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /agents/{ns}/{name}/abuse-reports (the `ReportAbuse` operationId).

func (*ClientWithResponses) ReportAbuseWithResponse

func (c *ClientWithResponses) ReportAbuseWithResponse(ctx context.Context, ns Namespace, name AgentName, body ReportAbuseJSONRequestBody, reqEditors ...RequestEditorFn) (*ReportAbuseResponse, error)

ReportAbuseWithResponse Report malicious or abusive content (authed, rate-limited).

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /agents/{ns}/{name}/abuse-reports (the `ReportAbuse` operationId).

func (*ClientWithResponses) RequestDomainOrgAccessWithResponse

func (c *ClientWithResponses) RequestDomainOrgAccessWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*RequestDomainOrgAccessResponse, error)

RequestDomainOrgAccessWithResponse Ask the administrators of the organization that holds the caller's email domain to add them (session only). Mails the admins, once a day per person (429 rate-limited afterwards), audited as `org.access_request`. 404 when no organization holds the domain; 409 when the caller is already a member there.

Returns a wrapper object for the known response body format(s).

Corresponds with POST /user/domain-org/request-access (the `RequestDomainOrgAccess` operationId).

func (*ClientWithResponses) ResolveRefWithResponse

func (c *ClientWithResponses) ResolveRefWithResponse(ctx context.Context, params *ResolveRefParams, reqEditors ...RequestEditorFn) (*ResolveRefResponse, error)

ResolveRefWithResponse Resolve ns/name@range to a concrete version.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /resolve (the `ResolveRef` operationId).

func (*ClientWithResponses) RestoreAgentWithResponse

func (c *ClientWithResponses) RestoreAgentWithResponse(ctx context.Context, ns Namespace, name AgentName, reqEditors ...RequestEditorFn) (*RestoreAgentResponse, error)

RestoreAgentWithResponse Restore a retired agent (the namespace's administrators).

Returns a retired agent to the visibility it had. A token needs `agent:manage` or `org:admin`. Back to public it meets the rules of any agent becoming public (`409 agent-unscanned`, also when pipeline: skip was set while it was retired); back to private it takes a place under the private-agent cap again (`422 private-agent-cap`). `409 agent-not-retired` when it is not retired.

Returns a wrapper object for the known response body format(s).

Corresponds with POST /agents/{ns}/{name}/restore (the `RestoreAgent` operationId).

func (*ClientWithResponses) RestoreVoiceWithResponse

func (c *ClientWithResponses) RestoreVoiceWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*RestoreVoiceResponse, error)

RestoreVoiceWithResponse Put the previous version back.

A previous version reviewed under the question set in use now trades places with the live one at once (200). One reviewed under another set becomes the pending version, source `restore`, and is reviewed like any other (202); a deployment that charges for a review may refuse that call first.

Returns a wrapper object for the known response body format(s).

Corresponds with POST /voice/restore (the `RestoreVoice` operationId).

func (*ClientWithResponses) RetireAgentWithResponse

func (c *ClientWithResponses) RetireAgentWithResponse(ctx context.Context, ns Namespace, name AgentName, reqEditors ...RequestEditorFn) (*RetireAgentResponse, error)

RetireAgentWithResponse Retire an agent (the namespace's administrators).

Makes the agent private and labels it retired, keeping the visibility it had for Restore. A token needs `agent:manage` or `org:admin`. A retired agent takes no submission (`409 agent-retired`), is in no public listing, and holds no place under the private-agent cap. Its versions are untouched. Retiring a retired agent changes nothing.

Returns a wrapper object for the known response body format(s).

Corresponds with POST /agents/{ns}/{name}/retire (the `RetireAgent` operationId).

func (*ClientWithResponses) RevokeInvitationWithResponse

func (c *ClientWithResponses) RevokeInvitationWithResponse(ctx context.Context, org OrgHandle, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*RevokeInvitationResponse, error)

RevokeInvitationWithResponse Revoke an open invitation (admin); its seat is released.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /orgs/{org}/invitations/{id} (the `RevokeInvitation` operationId).

func (*ClientWithResponses) RevokeOtherUserSessionsWithResponse

func (c *ClientWithResponses) RevokeOtherUserSessionsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*RevokeOtherUserSessionsResponse, error)

RevokeOtherUserSessionsWithResponse Revoke every session except the calling one ("sign out everywhere else").

The calling session survives, so the caller is not logged out of the browser they are using. Session-only: a PAT cannot revoke sessions (403), for the same reason it cannot list them.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /user/sessions (the `RevokeOtherUserSessions` operationId).

func (*ClientWithResponses) RevokeTokenWithResponse

func (c *ClientWithResponses) RevokeTokenWithResponse(ctx context.Context, tokenId openapi_types.UUID, reqEditors ...RequestEditorFn) (*RevokeTokenResponse, error)

RevokeTokenWithResponse Revoke a PAT immediately.

Session-only, except that a PAT may revoke itself, whatever its scopes, `credits:session` included.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /user/tokens/{tokenId} (the `RevokeToken` operationId).

func (*ClientWithResponses) RevokeUserSessionWithResponse

func (c *ClientWithResponses) RevokeUserSessionWithResponse(ctx context.Context, sessionId openapi_types.UUID, reqEditors ...RequestEditorFn) (*RevokeUserSessionResponse, error)

RevokeUserSessionWithResponse Revoke one of the caller's own sessions.

Own sessions only. An id that is not one of the caller's live sessions answers 404 whether it does not exist or belongs to somebody else. The two are deliberately indistinguishable. Session-only: a PAT cannot revoke sessions (403).

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /user/sessions/{sessionId} (the `RevokeUserSession` operationId).

func (*ClientWithResponses) ScanModelInputWithBodyWithResponse

func (c *ClientWithResponses) ScanModelInputWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ScanModelInputResponse, error)

ScanModelInputWithBodyWithResponse AI Review of text a model is about to read.

Scans pushed text as model input: the deployment's judge is asked the model-input question set (injection, exfiltration, user deception, obfuscation), in 8 KiB chunks asked in parallel, and answers per chunk with scores. The text's score is the highest over its chunks and questions; 2 or more (the gate's medium) is `withheld`, and a chunk the judge could not answer (an error, a timeout, an answer out of shape) makes the text `not_scanned`, which a caller treats as withheld. Nothing of the text is kept or logged. `usage` counts the judge's requests and tokens for the record; it is never a price (AI Review is charged per operation, not per scan). Open to platform staff by session, and to a hosted job's credential in `X-Agentry-Job-Token` where an extension admits it; a token is refused whatever its scopes. 503 `model-input-unavailable` when the deployment's judge is not TypeSafe's Jev.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /model-input/scan (the `ScanModelInput` operationId).

func (*ClientWithResponses) ScanModelInputWithResponse

func (c *ClientWithResponses) ScanModelInputWithResponse(ctx context.Context, body ScanModelInputJSONRequestBody, reqEditors ...RequestEditorFn) (*ScanModelInputResponse, error)

ScanModelInputWithResponse AI Review of text a model is about to read.

Scans pushed text as model input: the deployment's judge is asked the model-input question set (injection, exfiltration, user deception, obfuscation), in 8 KiB chunks asked in parallel, and answers per chunk with scores. The text's score is the highest over its chunks and questions; 2 or more (the gate's medium) is `withheld`, and a chunk the judge could not answer (an error, a timeout, an answer out of shape) makes the text `not_scanned`, which a caller treats as withheld. Nothing of the text is kept or logged. `usage` counts the judge's requests and tokens for the record; it is never a price (AI Review is charged per operation, not per scan). Open to platform staff by session, and to a hosted job's credential in `X-Agentry-Job-Token` where an extension admits it; a token is refused whatever its scopes. 503 `model-input-unavailable` when the deployment's judge is not TypeSafe's Jev.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /model-input/scan (the `ScanModelInput` operationId).

func (*ClientWithResponses) SearchAgentsWithResponse

func (c *ClientWithResponses) SearchAgentsWithResponse(ctx context.Context, params *SearchAgentsParams, reqEditors ...RequestEditorFn) (*SearchAgentsResponse, error)

SearchAgentsWithResponse Full-text search over public agents with facets.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /search (the `SearchAgents` operationId).

func (*ClientWithResponses) SearchModelInputWithBodyWithResponse

func (c *ClientWithResponses) SearchModelInputWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SearchModelInputResponse, error)

SearchModelInputWithBodyWithResponse Web search through the deployment's provider, every result scanned.

Searches the web through the deployment's search provider with the registry's own key, then scans each result (its title, address and snippet) as model input, as `POST /model-input/scan` does. Only scanned results come back: a `withheld` or `not_scanned` result carries its origin (scheme and host), verdict and scores, never its title, its snippet or the rest of its address. The query goes to the search provider and is neither kept nor logged. Callers as for `POST /model-input/scan`. 503 `web-search-unavailable` when no provider is configured, 503 `model-input-unavailable` when there is no judge to scan the results, 502 `web-search-failed` when the provider did not answer.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /model-input/search (the `SearchModelInput` operationId).

func (*ClientWithResponses) SearchModelInputWithResponse

func (c *ClientWithResponses) SearchModelInputWithResponse(ctx context.Context, body SearchModelInputJSONRequestBody, reqEditors ...RequestEditorFn) (*SearchModelInputResponse, error)

SearchModelInputWithResponse Web search through the deployment's provider, every result scanned.

Searches the web through the deployment's search provider with the registry's own key, then scans each result (its title, address and snippet) as model input, as `POST /model-input/scan` does. Only scanned results come back: a `withheld` or `not_scanned` result carries its origin (scheme and host), verdict and scores, never its title, its snippet or the rest of its address. The query goes to the search provider and is neither kept nor logged. Callers as for `POST /model-input/scan`. 503 `web-search-unavailable` when no provider is configured, 503 `model-input-unavailable` when there is no judge to scan the results, 502 `web-search-failed` when the provider did not answer.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /model-input/search (the `SearchModelInput` operationId).

func (*ClientWithResponses) SendEmailVerificationWithResponse

func (c *ClientWithResponses) SendEmailVerificationWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*SendEmailVerificationResponse, error)

SendEmailVerificationWithResponse Send the caller a new activation link.

Mails a new link that confirms the account's address and so activates it. An unactivated account (an address not yet confirmed) can read but not write; this is one of the few writes it may make. At most one mail per account every five minutes, counted from the last one sent, the one sent at the first sign-in included: sooner is a 429 with `Retry-After` and `resendAfter`. A link works once and for 24 hours, and an earlier unexpired link keeps working. An account whose address is already confirmed, or that has no address a link can reach, is a 409.

Returns a wrapper object for the known response body format(s).

Corresponds with POST /user/email-verification (the `SendEmailVerification` operationId).

func (*ClientWithResponses) SetAgentTeamGrantWithBodyWithResponse

func (c *ClientWithResponses) SetAgentTeamGrantWithBodyWithResponse(ctx context.Context, ns Namespace, name AgentName, team TeamSlug, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetAgentTeamGrantResponse, error)

SetAgentTeamGrantWithBodyWithResponse Grant an org team a per-agent role (maintain; org agents only).

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /agents/{ns}/{name}/grants/team/{team} (the `SetAgentTeamGrant` operationId).

func (*ClientWithResponses) SetAgentTeamGrantWithResponse

func (c *ClientWithResponses) SetAgentTeamGrantWithResponse(ctx context.Context, ns Namespace, name AgentName, team TeamSlug, body SetAgentTeamGrantJSONRequestBody, reqEditors ...RequestEditorFn) (*SetAgentTeamGrantResponse, error)

SetAgentTeamGrantWithResponse Grant an org team a per-agent role (maintain; org agents only).

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /agents/{ns}/{name}/grants/team/{team} (the `SetAgentTeamGrant` operationId).

func (*ClientWithResponses) SetAgentUserGrantWithBodyWithResponse

func (c *ClientWithResponses) SetAgentUserGrantWithBodyWithResponse(ctx context.Context, ns Namespace, name AgentName, handle Handle, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetAgentUserGrantResponse, error)

SetAgentUserGrantWithBodyWithResponse Grant a user a per-agent role (maintain).

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /agents/{ns}/{name}/grants/user/{handle} (the `SetAgentUserGrant` operationId).

func (*ClientWithResponses) SetAgentUserGrantWithResponse

func (c *ClientWithResponses) SetAgentUserGrantWithResponse(ctx context.Context, ns Namespace, name AgentName, handle Handle, body SetAgentUserGrantJSONRequestBody, reqEditors ...RequestEditorFn) (*SetAgentUserGrantResponse, error)

SetAgentUserGrantWithResponse Grant a user a per-agent role (maintain).

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /agents/{ns}/{name}/grants/user/{handle} (the `SetAgentUserGrant` operationId).

func (*ClientWithResponses) SetFindingVerdictWithBodyWithResponse

func (c *ClientWithResponses) SetFindingVerdictWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetFindingVerdictResponse, error)

SetFindingVerdictWithBodyWithResponse Confirm or dismiss a finding (not on the caller's own version, unless platform staff).

An author cannot set a verdict on a finding of their own version (403), whatever their organization role, as with a review decision. Platform staff may, their own versions included; the verdict's audit event then carries `self_decision: true`.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /findings/{id}/verdict (the `SetFindingVerdict` operationId).

func (*ClientWithResponses) SetFindingVerdictWithResponse

SetFindingVerdictWithResponse Confirm or dismiss a finding (not on the caller's own version, unless platform staff).

An author cannot set a verdict on a finding of their own version (403), whatever their organization role, as with a review decision. Platform staff may, their own versions included; the verdict's audit event then carries `self_decision: true`.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /findings/{id}/verdict (the `SetFindingVerdict` operationId).

func (*ClientWithResponses) SetOrgMemberWithBodyWithResponse

func (c *ClientWithResponses) SetOrgMemberWithBodyWithResponse(ctx context.Context, org OrgHandle, handle Handle, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetOrgMemberResponse, error)

SetOrgMemberWithBodyWithResponse Change a member's role (admin). This route does not add members: an organization is joined by accepting an invitation, or by an admin approving someone the IdP provisioned, and a PUT for a handle that holds no membership answers 422 naming those doors.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /orgs/{org}/members/{handle} (the `SetOrgMember` operationId).

func (*ClientWithResponses) SetOrgMemberWithResponse

func (c *ClientWithResponses) SetOrgMemberWithResponse(ctx context.Context, org OrgHandle, handle Handle, body SetOrgMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*SetOrgMemberResponse, error)

SetOrgMemberWithResponse Change a member's role (admin). This route does not add members: an organization is joined by accepting an invitation, or by an admin approving someone the IdP provisioned, and a PUT for a handle that holds no membership answers 422 naming those doors.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /orgs/{org}/members/{handle} (the `SetOrgMember` operationId).

func (*ClientWithResponses) SetOrgPolicyWithBodyWithResponse

func (c *ClientWithResponses) SetOrgPolicyWithBodyWithResponse(ctx context.Context, org OrgHandle, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetOrgPolicyResponse, error)

SetOrgPolicyWithBodyWithResponse Set the org policy overlay (admin; tighten-only).

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /orgs/{org}/policy (the `SetOrgPolicy` operationId).

func (*ClientWithResponses) SetOrgPolicyWithResponse

func (c *ClientWithResponses) SetOrgPolicyWithResponse(ctx context.Context, org OrgHandle, body SetOrgPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*SetOrgPolicyResponse, error)

SetOrgPolicyWithResponse Set the org policy overlay (admin; tighten-only).

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /orgs/{org}/policy (the `SetOrgPolicy` operationId).

func (*ClientWithResponses) SetUserReportDesignDefaultWithBodyWithResponse added in v0.7.4

func (c *ClientWithResponses) SetUserReportDesignDefaultWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetUserReportDesignDefaultResponse, error)

SetUserReportDesignDefaultWithBodyWithResponse Set which of the caller's designs their runs take by default.

An id of one of the caller's designs makes it the default; another account's id, or none the caller has, is 404. No id, or null, makes no design the default, so a run falls to the client's own choice. The answer is the library as it now is.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /user/report-designs/default (the `SetUserReportDesignDefault` operationId).

func (*ClientWithResponses) SetUserReportDesignDefaultWithResponse added in v0.7.4

func (c *ClientWithResponses) SetUserReportDesignDefaultWithResponse(ctx context.Context, body SetUserReportDesignDefaultJSONRequestBody, reqEditors ...RequestEditorFn) (*SetUserReportDesignDefaultResponse, error)

SetUserReportDesignDefaultWithResponse Set which of the caller's designs their runs take by default.

An id of one of the caller's designs makes it the default; another account's id, or none the caller has, is 404. No id, or null, makes no design the default, so a run falls to the client's own choice. The answer is the library as it now is.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /user/report-designs/default (the `SetUserReportDesignDefault` operationId).

func (*ClientWithResponses) SocialOidcCallbackWithResponse

func (c *ClientWithResponses) SocialOidcCallbackWithResponse(ctx context.Context, provider SocialOidcCallbackParamsProvider, params *SocialOidcCallbackParams, reqEditors ...RequestEditorFn) (*SocialOidcCallbackResponse, error)

SocialOidcCallbackWithResponse Sign-in redirect URI: establish a session.

Exchanges the code, verifies the identity, then links or JIT-creates an individual account (`identities.provider_kind='social'`). Auto-linking to an existing account happens only when the provider asserts a verified email that matches a verified account email; otherwise the response is 409 and the accounts must be linked explicitly. A login begun with `next` (browser mode) answers 303 to that in-app path once the session cookie is set, or to `/login?error=…` on failure; the JSON result is the API mode, used when `next` was absent.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /auth/oidc/{provider}/callback (the `SocialOidcCallback` operationId).

func (*ClientWithResponses) SocialOidcStartWithResponse

func (c *ClientWithResponses) SocialOidcStartWithResponse(ctx context.Context, provider SocialOidcStartParamsProvider, params *SocialOidcStartParams, reqEditors ...RequestEditorFn) (*SocialOidcStartResponse, error)

SocialOidcStartWithResponse Begin sign-in with the deployment's OpenID provider.

Individual-account sign-in through the OpenID provider the server is configured with (`auth.oidc`: discovery, issuer pinning, PKCE and a verified ID token). A provider id the server does not serve answers 404. This is individual sign-in and never grants org membership.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /auth/oidc/{provider}/start (the `SocialOidcStart` operationId).

func (*ClientWithResponses) StarAgentWithResponse

func (c *ClientWithResponses) StarAgentWithResponse(ctx context.Context, ns Namespace, name AgentName, reqEditors ...RequestEditorFn) (*StarAgentResponse, error)

StarAgentWithResponse Star an agent (idempotent).

Returns a wrapper object for the known response body format(s).

Corresponds with PUT /user/stars/{ns}/{name} (the `StarAgent` operationId).

func (*ClientWithResponses) StreamVersionEventsWithResponse

func (c *ClientWithResponses) StreamVersionEventsWithResponse(ctx context.Context, ns Namespace, name AgentName, version VersionString, reqEditors ...RequestEditorFn) (*StreamVersionEventsResponse, error)

StreamVersionEventsWithResponse Server-sent events for a version's pipeline progress.

Streams `event: status` messages (JSON: status, statusReason, the scan stages completed so far, done) whenever something changes, about once a second while a scan runs, and closes after the terminal state — published, rejected, needs_review, quarantined — or after five minutes, whichever comes first. Same visibility rules as the version itself. Clients that cannot consume SSE poll the version resource instead.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /agents/{ns}/{name}/versions/{version}/events (the `StreamVersionEvents` operationId).

func (*ClientWithResponses) SubmitVersionWithBodyWithResponse

func (c *ClientWithResponses) SubmitVersionWithBodyWithResponse(ctx context.Context, ns Namespace, name AgentName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SubmitVersionResponse, error)

SubmitVersionWithBodyWithResponse Submit a version for publication.

Two sources: JSON {tag} submits an existing repo tag (git-tag source); multipart/form-data with an `archive` part (tar.zst) submits a client-built package (cli-upload source; the server re-validates, re-packs deterministically, and compares digests: client packing is never trusted). A package that ships knowledge packs (the manifest's `knowledge.ships`) makes their contents readable by everyone who can download the release, so the upload must confirm it: the `knowledgeShipping` part, one entry for each pack shipped. Without it the upload is refused `422 knowledge-shipping-unacknowledged`, naming the packs. An entry may claim where the pack was laid down from (`origin`); a claim that is not true is refused `422 knowledge-shipping-invalid`, naming the pack. A tag submission (JSON {tag}) and a tag push carry no confirmation, and the version's record says it was published that way. A deployment with an admission extension (the hosted product's subscription tiers) may refuse a submission after every core check has passed and before anything is stored: `402` with the problem type `credits-exhausted` carries `balance`, `resetsAt` and `account` — the handle whose balance is short, which is the submitter's own or, for a member of a paid organization, the organization's — at the top level of the problem body. `402 subscription-inactive` refuses one whose payer is an organization that is awaiting payment or has lapsed, and carries `account` the same way. `503 admission-unavailable` means the check could not be reached and nothing was recorded. A core registry never answers any of them. The gate's verdict never depends on admission.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /agents/{ns}/{name}/versions (the `SubmitVersion` operationId).

func (*ClientWithResponses) SubmitVersionWithResponse

func (c *ClientWithResponses) SubmitVersionWithResponse(ctx context.Context, ns Namespace, name AgentName, body SubmitVersionJSONRequestBody, reqEditors ...RequestEditorFn) (*SubmitVersionResponse, error)

SubmitVersionWithResponse Submit a version for publication.

Two sources: JSON {tag} submits an existing repo tag (git-tag source); multipart/form-data with an `archive` part (tar.zst) submits a client-built package (cli-upload source; the server re-validates, re-packs deterministically, and compares digests: client packing is never trusted). A package that ships knowledge packs (the manifest's `knowledge.ships`) makes their contents readable by everyone who can download the release, so the upload must confirm it: the `knowledgeShipping` part, one entry for each pack shipped. Without it the upload is refused `422 knowledge-shipping-unacknowledged`, naming the packs. An entry may claim where the pack was laid down from (`origin`); a claim that is not true is refused `422 knowledge-shipping-invalid`, naming the pack. A tag submission (JSON {tag}) and a tag push carry no confirmation, and the version's record says it was published that way. A deployment with an admission extension (the hosted product's subscription tiers) may refuse a submission after every core check has passed and before anything is stored: `402` with the problem type `credits-exhausted` carries `balance`, `resetsAt` and `account` — the handle whose balance is short, which is the submitter's own or, for a member of a paid organization, the organization's — at the top level of the problem body. `402 subscription-inactive` refuses one whose payer is an organization that is awaiting payment or has lapsed, and carries `account` the same way. `503 admission-unavailable` means the check could not be reached and nothing was recorded. A core registry never answers any of them. The gate's verdict never depends on admission.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /agents/{ns}/{name}/versions (the `SubmitVersion` operationId).

func (*ClientWithResponses) SuspendOrgWithBodyWithResponse

func (c *ClientWithResponses) SuspendOrgWithBodyWithResponse(ctx context.Context, org OrgHandle, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SuspendOrgResponse, error)

SuspendOrgWithBodyWithResponse Suspend the organization (platform staff). It and everything under it answer 404 to everyone, over the API and over git, until it is reinstated. Nothing is deleted.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /orgs/{org}/suspend (the `SuspendOrg` operationId).

func (*ClientWithResponses) SuspendOrgWithResponse

func (c *ClientWithResponses) SuspendOrgWithResponse(ctx context.Context, org OrgHandle, body SuspendOrgJSONRequestBody, reqEditors ...RequestEditorFn) (*SuspendOrgResponse, error)

SuspendOrgWithResponse Suspend the organization (platform staff). It and everything under it answer 404 to everyone, over the API and over git, until it is reinstated. Nothing is deleted.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /orgs/{org}/suspend (the `SuspendOrg` operationId).

func (*ClientWithResponses) TriageAbuseReportWithBodyWithResponse

func (c *ClientWithResponses) TriageAbuseReportWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TriageAbuseReportResponse, error)

TriageAbuseReportWithBodyWithResponse Record a triage outcome for an abuse report (platform staff).

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /platform/abuse-reports/{id} (the `TriageAbuseReport` operationId).

func (*ClientWithResponses) TriageAbuseReportWithResponse

TriageAbuseReportWithResponse Record a triage outcome for an abuse report (platform staff).

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /platform/abuse-reports/{id} (the `TriageAbuseReport` operationId).

func (*ClientWithResponses) UnstarAgentWithResponse

func (c *ClientWithResponses) UnstarAgentWithResponse(ctx context.Context, ns Namespace, name AgentName, reqEditors ...RequestEditorFn) (*UnstarAgentResponse, error)

UnstarAgentWithResponse Remove a star (idempotent).

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /user/stars/{ns}/{name} (the `UnstarAgent` operationId).

func (*ClientWithResponses) UnwrapKnowledgeKeyWithBodyWithResponse

func (c *ClientWithResponses) UnwrapKnowledgeKeyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UnwrapKnowledgeKeyResponse, error)

UnwrapKnowledgeKeyWithBodyWithResponse Unwrap a data key wrapped for the caller; refused for anyone else's.

Answers the data key over TLS, never what wraps it. A wrapped key that does not open for the caller — wrapped for someone else, under a key since destroyed, or altered — is 404 `knowledge-key-not-found`.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /knowledge/keys/unwrap (the `UnwrapKnowledgeKey` operationId).

func (*ClientWithResponses) UnwrapKnowledgeKeyWithResponse

func (c *ClientWithResponses) UnwrapKnowledgeKeyWithResponse(ctx context.Context, body UnwrapKnowledgeKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*UnwrapKnowledgeKeyResponse, error)

UnwrapKnowledgeKeyWithResponse Unwrap a data key wrapped for the caller; refused for anyone else's.

Answers the data key over TLS, never what wraps it. A wrapped key that does not open for the caller — wrapped for someone else, under a key since destroyed, or altered — is 404 `knowledge-key-not-found`.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /knowledge/keys/unwrap (the `UnwrapKnowledgeKey` operationId).

func (*ClientWithResponses) UnwrapOrgKnowledgeKeyWithBodyWithResponse

func (c *ClientWithResponses) UnwrapOrgKnowledgeKeyWithBodyWithResponse(ctx context.Context, org OrgHandle, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UnwrapOrgKnowledgeKeyResponse, error)

UnwrapOrgKnowledgeKeyWithBodyWithResponse Unwrap a data key wrapped for the organization, for any active member; refused once they are not one.

The one door to a shared pack's words on a member's machine: the client keeps the answer in memory and asks again next time, so a member who is removed keeps sealed bytes they can no longer open. A wrapped key that does not open for the organization is 404 `knowledge-key-not-found`.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /orgs/{org}/knowledge/keys/unwrap (the `UnwrapOrgKnowledgeKey` operationId).

func (*ClientWithResponses) UnwrapOrgKnowledgeKeyWithResponse

func (c *ClientWithResponses) UnwrapOrgKnowledgeKeyWithResponse(ctx context.Context, org OrgHandle, body UnwrapOrgKnowledgeKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*UnwrapOrgKnowledgeKeyResponse, error)

UnwrapOrgKnowledgeKeyWithResponse Unwrap a data key wrapped for the organization, for any active member; refused once they are not one.

The one door to a shared pack's words on a member's machine: the client keeps the answer in memory and asks again next time, so a member who is removed keeps sealed bytes they can no longer open. A wrapped key that does not open for the organization is 404 `knowledge-key-not-found`.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /orgs/{org}/knowledge/keys/unwrap (the `UnwrapOrgKnowledgeKey` operationId).

func (*ClientWithResponses) UpdateAgentWithBodyWithResponse

func (c *ClientWithResponses) UpdateAgentWithBodyWithResponse(ctx context.Context, ns Namespace, name AgentName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateAgentResponse, error)

UpdateAgentWithBodyWithResponse Update agent settings (maintain).

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /agents/{ns}/{name} (the `UpdateAgent` operationId).

func (*ClientWithResponses) UpdateAgentWithResponse

func (c *ClientWithResponses) UpdateAgentWithResponse(ctx context.Context, ns Namespace, name AgentName, body UpdateAgentJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateAgentResponse, error)

UpdateAgentWithResponse Update agent settings (maintain).

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /agents/{ns}/{name} (the `UpdateAgent` operationId).

func (*ClientWithResponses) UpdateCurrentUserWithBodyWithResponse

func (c *ClientWithResponses) UpdateCurrentUserWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateCurrentUserResponse, error)

UpdateCurrentUserWithBodyWithResponse Update profile fields.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /user (the `UpdateCurrentUser` operationId).

func (*ClientWithResponses) UpdateCurrentUserWithResponse

func (c *ClientWithResponses) UpdateCurrentUserWithResponse(ctx context.Context, body UpdateCurrentUserJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateCurrentUserResponse, error)

UpdateCurrentUserWithResponse Update profile fields.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /user (the `UpdateCurrentUser` operationId).

func (*ClientWithResponses) UpdateOrgKnowledgePackWithBodyWithResponse

func (c *ClientWithResponses) UpdateOrgKnowledgePackWithBodyWithResponse(ctx context.Context, org OrgHandle, packId KnowledgePackId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateOrgKnowledgePackResponse, error)

UpdateOrgKnowledgePackWithBodyWithResponse Mark a shared pack exportable by the organization's members, or not (admins).

Recorded in the organization's audit log (`org.knowledge_update`, with `exportable`).

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /orgs/{org}/knowledge/packs/{packId} (the `UpdateOrgKnowledgePack` operationId).

func (*ClientWithResponses) UpdateOrgKnowledgePackWithResponse

func (c *ClientWithResponses) UpdateOrgKnowledgePackWithResponse(ctx context.Context, org OrgHandle, packId KnowledgePackId, body UpdateOrgKnowledgePackJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateOrgKnowledgePackResponse, error)

UpdateOrgKnowledgePackWithResponse Mark a shared pack exportable by the organization's members, or not (admins).

Recorded in the organization's audit log (`org.knowledge_update`, with `exportable`).

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /orgs/{org}/knowledge/packs/{packId} (the `UpdateOrgKnowledgePack` operationId).

func (*ClientWithResponses) UpdateOrgReportDesignWithBodyWithResponse added in v0.7.5

func (c *ClientWithResponses) UpdateOrgReportDesignWithBodyWithResponse(ctx context.Context, org OrgHandle, designId ReportDesignId, params *UpdateOrgReportDesignParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateOrgReportDesignResponse, error)

UpdateOrgReportDesignWithBodyWithResponse Replace one of the organization's house report designs (admins).

A full replace of the document, validated as a create is, the field named `design.<path>` on a refusal, and the stored design standing. A name another of the organization's designs holds is 409 `conflict`. The images stay as they are unless the document carries them, as for a person's own design. An admin's change reaches a member's next run. Recorded in the organization's audit log (`org.report_design_update`).

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /orgs/{org}/report-designs/{designId} (the `UpdateOrgReportDesign` operationId).

func (*ClientWithResponses) UpdateOrgReportDesignWithResponse added in v0.7.5

UpdateOrgReportDesignWithResponse Replace one of the organization's house report designs (admins).

A full replace of the document, validated as a create is, the field named `design.<path>` on a refusal, and the stored design standing. A name another of the organization's designs holds is 409 `conflict`. The images stay as they are unless the document carries them, as for a person's own design. An admin's change reaches a member's next run. Recorded in the organization's audit log (`org.report_design_update`).

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /orgs/{org}/report-designs/{designId} (the `UpdateOrgReportDesign` operationId).

func (*ClientWithResponses) UpdateOrgWithBodyWithResponse

func (c *ClientWithResponses) UpdateOrgWithBodyWithResponse(ctx context.Context, org OrgHandle, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateOrgResponse, error)

UpdateOrgWithBodyWithResponse Update org settings (admin+).

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /orgs/{org} (the `UpdateOrg` operationId).

func (*ClientWithResponses) UpdateOrgWithResponse

func (c *ClientWithResponses) UpdateOrgWithResponse(ctx context.Context, org OrgHandle, body UpdateOrgJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateOrgResponse, error)

UpdateOrgWithResponse Update org settings (admin+).

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /orgs/{org} (the `UpdateOrg` operationId).

func (*ClientWithResponses) UpdateUserNotificationSettingsWithBodyWithResponse

func (c *ClientWithResponses) UpdateUserNotificationSettingsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateUserNotificationSettingsResponse, error)

UpdateUserNotificationSettingsWithBodyWithResponse Replace the caller's notification settings.

Every required switch is sent, on or off. A write that leaves one out answers 422 naming it and changes nothing. An optional switch that is left out keeps its stored value.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /user/notifications (the `UpdateUserNotificationSettings` operationId).

func (*ClientWithResponses) UpdateUserNotificationSettingsWithResponse

func (c *ClientWithResponses) UpdateUserNotificationSettingsWithResponse(ctx context.Context, body UpdateUserNotificationSettingsJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateUserNotificationSettingsResponse, error)

UpdateUserNotificationSettingsWithResponse Replace the caller's notification settings.

Every required switch is sent, on or off. A write that leaves one out answers 422 naming it and changes nothing. An optional switch that is left out keeps its stored value.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /user/notifications (the `UpdateUserNotificationSettings` operationId).

func (*ClientWithResponses) UpdateUserReportDesignWithBodyWithResponse added in v0.7.4

func (c *ClientWithResponses) UpdateUserReportDesignWithBodyWithResponse(ctx context.Context, designId ReportDesignId, params *UpdateUserReportDesignParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateUserReportDesignResponse, error)

UpdateUserReportDesignWithBodyWithResponse Replace one of the caller's report designs.

A full replace of the document, validated as a create is, the field named `design.<path>` on a refusal, and the stored design standing. The images stay as they are unless the document carries them: a `logo`, `coverImage` or `customCover` in the document replaces the stored one with the core's own re-encoding of it, and a document without them leaves them, so a client that does not know an image never drops one by saving (remove one with its DELETE route). Whether the design is the default is not changed here.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /user/report-designs/{designId} (the `UpdateUserReportDesign` operationId).

func (*ClientWithResponses) UpdateUserReportDesignWithResponse added in v0.7.4

UpdateUserReportDesignWithResponse Replace one of the caller's report designs.

A full replace of the document, validated as a create is, the field named `design.<path>` on a refusal, and the stored design standing. The images stay as they are unless the document carries them: a `logo`, `coverImage` or `customCover` in the document replaces the stored one with the core's own re-encoding of it, and a document without them leaves them, so a client that does not know an image never drops one by saving (remove one with its DELETE route). Whether the design is the default is not changed here.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /user/report-designs/{designId} (the `UpdateUserReportDesign` operationId).

func (*ClientWithResponses) UpdateVoiceSettingsWithBodyWithResponse

func (c *ClientWithResponses) UpdateVoiceSettingsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateVoiceSettingsResponse, error)

UpdateVoiceSettingsWithBodyWithResponse Set whether runs In Agentry attach the caller's live voice by default.

The flag comes on when a voice first goes live; a field not sent keeps its value.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /voice/settings (the `UpdateVoiceSettings` operationId).

func (*ClientWithResponses) UpdateVoiceSettingsWithResponse

func (c *ClientWithResponses) UpdateVoiceSettingsWithResponse(ctx context.Context, body UpdateVoiceSettingsJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateVoiceSettingsResponse, error)

UpdateVoiceSettingsWithResponse Set whether runs In Agentry attach the caller's live voice by default.

The flag comes on when a voice first goes live; a field not sent keeps its value.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /voice/settings (the `UpdateVoiceSettings` operationId).

func (*ClientWithResponses) UpdateWebhookWithBodyWithResponse

func (c *ClientWithResponses) UpdateWebhookWithBodyWithResponse(ctx context.Context, org OrgHandle, id WebhookID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateWebhookResponse, error)

UpdateWebhookWithBodyWithResponse Update a webhook endpoint (admin+).

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /orgs/{org}/webhooks/{id} (the `UpdateWebhook` operationId).

func (*ClientWithResponses) UpdateWebhookWithResponse

func (c *ClientWithResponses) UpdateWebhookWithResponse(ctx context.Context, org OrgHandle, id WebhookID, body UpdateWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateWebhookResponse, error)

UpdateWebhookWithResponse Update a webhook endpoint (admin+).

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /orgs/{org}/webhooks/{id} (the `UpdateWebhook` operationId).

func (*ClientWithResponses) UploadKnowledgeTreeWithBodyWithResponse

func (c *ClientWithResponses) UploadKnowledgeTreeWithBodyWithResponse(ctx context.Context, packId KnowledgePackId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UploadKnowledgeTreeResponse, error)

UploadKnowledgeTreeWithBodyWithResponse Upload a pack's sealed tree, which replaces the one before and is scanned.

One PUT of the sealed tree (`pkg/packseal`: the pack's canonical tar sealed under its data key), at most a 10 MB pack; past that 413 `upload-too-large`, a tree past the pack's caps 413 `knowledge-too-large`, a tree that is not the digest its header names 422 `knowledge-digest-mismatch`, and a tree past the owner's allocation 413 `knowledge-allocation` with `bytes` and `max`. The registry opens it to check it before it keeps it, stores it sealed, and queues its scan: the pack is `scanning` until the scan ends and `ready` after, findings or not.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /knowledge/packs/{packId}/tree (the `UploadKnowledgeTree` operationId).

func (*ClientWithResponses) UploadOrgKnowledgeTreeWithBodyWithResponse

func (c *ClientWithResponses) UploadOrgKnowledgeTreeWithBodyWithResponse(ctx context.Context, org OrgHandle, packId KnowledgePackId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UploadOrgKnowledgeTreeResponse, error)

UploadOrgKnowledgeTreeWithBodyWithResponse Upload a shared pack's sealed tree, which replaces the one before and is scanned (admins).

As `PUT /knowledge/packs/{packId}/tree`, counted against the allocation the organization's packs draw on.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /orgs/{org}/knowledge/packs/{packId}/tree (the `UploadOrgKnowledgeTree` operationId).

func (*ClientWithResponses) VerifyDomainClaimWithBodyWithResponse

func (c *ClientWithResponses) VerifyDomainClaimWithBodyWithResponse(ctx context.Context, org OrgHandle, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VerifyDomainClaimResponse, error)

VerifyDomainClaimWithBodyWithResponse Check the DNS TXT record and mark verified (admin+).

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /orgs/{org}/domain-claims/verify (the `VerifyDomainClaim` operationId).

func (*ClientWithResponses) VerifyDomainClaimWithResponse

func (c *ClientWithResponses) VerifyDomainClaimWithResponse(ctx context.Context, org OrgHandle, body VerifyDomainClaimJSONRequestBody, reqEditors ...RequestEditorFn) (*VerifyDomainClaimResponse, error)

VerifyDomainClaimWithResponse Check the DNS TXT record and mark verified (admin+).

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /orgs/{org}/domain-claims/verify (the `VerifyDomainClaim` operationId).

func (*ClientWithResponses) VerifyEmailWithBodyWithResponse

func (c *ClientWithResponses) VerifyEmailWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VerifyEmailResponse, error)

VerifyEmailWithBodyWithResponse Confirm an email address with the mailed token.

Activates the account whose address the mailed link was sent to (POST /user/email-verification sends it).

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /auth/verify-email (the `VerifyEmail` operationId).

func (*ClientWithResponses) VerifyEmailWithResponse

func (c *ClientWithResponses) VerifyEmailWithResponse(ctx context.Context, body VerifyEmailJSONRequestBody, reqEditors ...RequestEditorFn) (*VerifyEmailResponse, error)

VerifyEmailWithResponse Confirm an email address with the mailed token.

Activates the account whose address the mailed link was sent to (POST /user/email-verification sends it).

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /auth/verify-email (the `VerifyEmail` operationId).

func (*ClientWithResponses) WrapKnowledgeKeyWithBodyWithResponse

func (c *ClientWithResponses) WrapKnowledgeKeyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WrapKnowledgeKeyResponse, error)

WrapKnowledgeKeyWithBodyWithResponse Wrap a pack's data key for the caller.

The caller's wrapper seals the 32-byte data key; the answer is what a client keeps beside a sealed pack. On a core registry the wrapper is the deployment's knowledge sealing key; an extension may wrap to the account's own key instead.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /knowledge/keys/wrap (the `WrapKnowledgeKey` operationId).

func (*ClientWithResponses) WrapKnowledgeKeyWithResponse

func (c *ClientWithResponses) WrapKnowledgeKeyWithResponse(ctx context.Context, body WrapKnowledgeKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*WrapKnowledgeKeyResponse, error)

WrapKnowledgeKeyWithResponse Wrap a pack's data key for the caller.

The caller's wrapper seals the 32-byte data key; the answer is what a client keeps beside a sealed pack. On a core registry the wrapper is the deployment's knowledge sealing key; an extension may wrap to the account's own key instead.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /knowledge/keys/wrap (the `WrapKnowledgeKey` operationId).

func (*ClientWithResponses) WrapOrgKnowledgeKeyWithBodyWithResponse

func (c *ClientWithResponses) WrapOrgKnowledgeKeyWithBodyWithResponse(ctx context.Context, org OrgHandle, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WrapOrgKnowledgeKeyResponse, error)

WrapOrgKnowledgeKeyWithBodyWithResponse Wrap a data key for the organization (admins).

The wrapper seals the 32-byte data key for the organization: on a core registry under the deployment's knowledge sealing key, on an extension's to the organization's own key.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /orgs/{org}/knowledge/keys/wrap (the `WrapOrgKnowledgeKey` operationId).

func (*ClientWithResponses) WrapOrgKnowledgeKeyWithResponse

func (c *ClientWithResponses) WrapOrgKnowledgeKeyWithResponse(ctx context.Context, org OrgHandle, body WrapOrgKnowledgeKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*WrapOrgKnowledgeKeyResponse, error)

WrapOrgKnowledgeKeyWithResponse Wrap a data key for the organization (admins).

The wrapper seals the 32-byte data key for the organization: on a core registry under the deployment's knowledge sealing key, on an extension's to the organization's own key.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /orgs/{org}/knowledge/keys/wrap (the `WrapOrgKnowledgeKey` operationId).

func (*ClientWithResponses) YankVersionWithBodyWithResponse

func (c *ClientWithResponses) YankVersionWithBodyWithResponse(ctx context.Context, ns Namespace, name AgentName, version VersionString, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*YankVersionResponse, error)

YankVersionWithBodyWithResponse Yank a published version (publish permission).

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /agents/{ns}/{name}/versions/{version}/yank (the `YankVersion` operationId).

func (*ClientWithResponses) YankVersionWithResponse

func (c *ClientWithResponses) YankVersionWithResponse(ctx context.Context, ns Namespace, name AgentName, version VersionString, body YankVersionJSONRequestBody, reqEditors ...RequestEditorFn) (*YankVersionResponse, error)

YankVersionWithResponse Yank a published version (publish permission).

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /agents/{ns}/{name}/versions/{version}/yank (the `YankVersion` operationId).

type ClientWithResponsesInterface

type ClientWithResponsesInterface interface {

	// ListAdvisoriesWithResponse Published advisories — for one agent, or the global feed.
	//
	// With `affecting`, the advisories against that agent (newest first), under the agent's own read rule: a private agent's advisories are its readers' (the owning user, the owning org's admins, and anyone holding a grant on the agent), and anyone else — anonymous or signed in — gets the 404 a missing name gets, so the agent's existence is not discoverable here. The one exception is a holder of one of its releases: a signed-in caller whose account install names the agent, or any caller presenting with `digest` the archive digest of a version of it that was ever published, gets its advisories whatever its visibility, retired or deleted state now, so the people who installed it while it was public still learn of an advisory published after it went private. Without it, the global feed: every published advisory against a public agent, newest first, keyset-paged with `cursor`/`limit` and a `Link: rel="next"` header. Each item carries `agent` (`ns/name`) so a feed reader can find the affected QuickAgent.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /advisories (the `ListAdvisories` operationId).
	ListAdvisoriesWithResponse(ctx context.Context, params *ListAdvisoriesParams, reqEditors ...RequestEditorFn) (*ListAdvisoriesResponse, error)

	// GetAdvisoryWithResponse One published advisory (permalink); public agents only.
	//
	// Only an advisory against a public agent resolves; any other id is a 404, so a private agent's advisory is not discoverable by id. A holder of the agent's release reads it through `affecting`.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /advisories/{advisoryId} (the `GetAdvisory` operationId).
	GetAdvisoryWithResponse(ctx context.Context, advisoryId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetAdvisoryResponse, error)

	// ListAgentsWithResponse List agents in a namespace (public ones for everyone).
	//
	// Public agents for everyone; the private ones too for the namespace's owner and the active members of its organization. A deleted agent is never listed. The publisher's page narrows and orders the list with `q`, `state`, `forks` and `sort`, and each agent carries `installs30d`, `lastSubmittedAt`, `forkCount` on a public agent, `forkedFrom` and `forkState` on a fork and, when it is retired, `retiredAt`.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /agents (the `ListAgents` operationId).
	ListAgentsWithResponse(ctx context.Context, params *ListAgentsParams, reqEditors ...RequestEditorFn) (*ListAgentsResponse, error)

	// CreateAgentWithBodyWithResponse Create an agent and its hosted git repository.
	//
	// A private agent counts against the namespace's private-agent cap when the deployment's entitlements set one (the hosted product's subscription tiers): at the cap the answer is `422` with the problem type `private-agent-cap`, and the same on `PATCH` when an agent is turned private. A core registry caps nothing. A cap never deletes or hides an agent that is already private.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /agents (the `CreateAgent` operationId).
	CreateAgentWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateAgentResponse, error)

	// CreateAgentWithResponse Create an agent and its hosted git repository.
	//
	// A private agent counts against the namespace's private-agent cap when the deployment's entitlements set one (the hosted product's subscription tiers): at the cap the answer is `422` with the problem type `private-agent-cap`, and the same on `PATCH` when an agent is turned private. A core registry caps nothing. A cap never deletes or hides an agent that is already private.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /agents (the `CreateAgent` operationId).
	CreateAgentWithResponse(ctx context.Context, body CreateAgentJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateAgentResponse, error)

	// DeleteAgentWithResponse Delete an agent (the namespace's administrators).
	//
	// A token needs `agent:manage` or `org:admin`. An agent with no version row is deleted outright, with its hosted repository. An agent with version history is deleted as a tombstone: every published or quarantined version is yanked, the agent becomes private, and every route by name, the git transport and hosted runs answer the 404 a missing name gets, to everyone. Nothing is removed — version rows are kept forever, and the archives, receipts and audit trail stay — and the name stays held in its namespace: creating it again answers `409 name-held`. It cannot be undone. A tombstone needs `confirm` set to the agent's name (`422 confirm-name` otherwise). Refused with `409` while a version is still in the pipeline or in review, and while the agent carries trust & safety records (advisories, abuse reports, a quarantine or a block), which outlive the publisher's wish to remove it.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /agents/{ns}/{name} (the `DeleteAgent` operationId).
	DeleteAgentWithResponse(ctx context.Context, ns Namespace, name AgentName, params *DeleteAgentParams, reqEditors ...RequestEditorFn) (*DeleteAgentResponse, error)

	// GetAgentWithResponse Agent metadata (public agents readable by anyone).
	//
	// A public agent is readable by anyone. A private agent is readable by its owner, the owning org's admins, and anyone holding a grant on it; every other caller, anonymous included, gets the 404 a missing name gets — never a 401 or 403 that would confirm the name exists. The same rule holds on every route under `/agents/{ns}/{name}`.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /agents/{ns}/{name} (the `GetAgent` operationId).
	GetAgentWithResponse(ctx context.Context, ns Namespace, name AgentName, reqEditors ...RequestEditorFn) (*GetAgentResponse, error)

	// UpdateAgentWithBodyWithResponse Update agent settings (maintain).
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /agents/{ns}/{name} (the `UpdateAgent` operationId).
	UpdateAgentWithBodyWithResponse(ctx context.Context, ns Namespace, name AgentName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateAgentResponse, error)

	// UpdateAgentWithResponse Update agent settings (maintain).
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /agents/{ns}/{name} (the `UpdateAgent` operationId).
	UpdateAgentWithResponse(ctx context.Context, ns Namespace, name AgentName, body UpdateAgentJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateAgentResponse, error)

	// ReportAbuseWithBodyWithResponse Report malicious or abusive content (authed, rate-limited).
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /agents/{ns}/{name}/abuse-reports (the `ReportAbuse` operationId).
	ReportAbuseWithBodyWithResponse(ctx context.Context, ns Namespace, name AgentName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ReportAbuseResponse, error)

	// ReportAbuseWithResponse Report malicious or abusive content (authed, rate-limited).
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /agents/{ns}/{name}/abuse-reports (the `ReportAbuse` operationId).
	ReportAbuseWithResponse(ctx context.Context, ns Namespace, name AgentName, body ReportAbuseJSONRequestBody, reqEditors ...RequestEditorFn) (*ReportAbuseResponse, error)

	// ListAgentActivityWithResponse Recent activity for an agent.
	//
	// Drawn from the audit log. Anyone who can see a public agent gets the public-safe subset: publishes and yanks; callers with an explicit read grant (or namespace-derived read) see the fuller stream including submissions, settings changes, and grant changes.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /agents/{ns}/{name}/activity (the `ListAgentActivity` operationId).
	ListAgentActivityWithResponse(ctx context.Context, ns Namespace, name AgentName, params *ListAgentActivityParams, reqEditors ...RequestEditorFn) (*ListAgentActivityResponse, error)

	// ForkAgentWithBodyWithResponse Fork a public agent into a namespace the caller may create in.
	//
	// Makes a private copy of a public agent: a new agent in `namespace`, under the origin's name unless `name` gives another, that records the origin and the published version it was taken from, for good. A fork is never public (`PATCH` to public answers `409 fork-stays-private`). The fork is answered `202` with `forkState: copying`: a worker then copies from the origin's repository the forked release's commit and its history, when the release was tagged and scanned, and nothing else (no other branch or tag; objects copied rather than shared), writes one commit, "Fork of ns/name@version", on top of it or, with nothing copied, from the release's archive, that renames the manifest into the fork's namespace, tags it with the origin's version and submits it through the pipeline like any submission, charged like one. `forkState` is then `ready`, or `failed` with `forkDetail` saying why. The origin must be readable, public, neither quarantined nor blocked, and have a published version; the caller must be able to create a private agent in `namespace` (its owner, or an active member of the organization), within its agent quota and private-agent cap. A name the namespace already has answers `409 name-taken`; one a deleted agent holds, `409 name-held`.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /agents/{ns}/{name}/fork (the `ForkAgent` operationId).
	ForkAgentWithBodyWithResponse(ctx context.Context, ns Namespace, name AgentName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ForkAgentResponse, error)

	// ForkAgentWithResponse Fork a public agent into a namespace the caller may create in.
	//
	// Makes a private copy of a public agent: a new agent in `namespace`, under the origin's name unless `name` gives another, that records the origin and the published version it was taken from, for good. A fork is never public (`PATCH` to public answers `409 fork-stays-private`). The fork is answered `202` with `forkState: copying`: a worker then copies from the origin's repository the forked release's commit and its history, when the release was tagged and scanned, and nothing else (no other branch or tag; objects copied rather than shared), writes one commit, "Fork of ns/name@version", on top of it or, with nothing copied, from the release's archive, that renames the manifest into the fork's namespace, tags it with the origin's version and submits it through the pipeline like any submission, charged like one. `forkState` is then `ready`, or `failed` with `forkDetail` saying why. The origin must be readable, public, neither quarantined nor blocked, and have a published version; the caller must be able to create a private agent in `namespace` (its owner, or an active member of the organization), within its agent quota and private-agent cap. A name the namespace already has answers `409 name-taken`; one a deleted agent holds, `409 name-held`.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /agents/{ns}/{name}/fork (the `ForkAgent` operationId).
	ForkAgentWithResponse(ctx context.Context, ns Namespace, name AgentName, body ForkAgentJSONRequestBody, reqEditors ...RequestEditorFn) (*ForkAgentResponse, error)

	// ListAgentGrantsWithResponse List explicit grants (maintain).
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /agents/{ns}/{name}/grants (the `ListAgentGrants` operationId).
	ListAgentGrantsWithResponse(ctx context.Context, ns Namespace, name AgentName, reqEditors ...RequestEditorFn) (*ListAgentGrantsResponse, error)

	// RemoveAgentTeamGrantWithResponse Remove a team grant (maintain).
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /agents/{ns}/{name}/grants/team/{team} (the `RemoveAgentTeamGrant` operationId).
	RemoveAgentTeamGrantWithResponse(ctx context.Context, ns Namespace, name AgentName, team TeamSlug, reqEditors ...RequestEditorFn) (*RemoveAgentTeamGrantResponse, error)

	// SetAgentTeamGrantWithBodyWithResponse Grant an org team a per-agent role (maintain; org agents only).
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /agents/{ns}/{name}/grants/team/{team} (the `SetAgentTeamGrant` operationId).
	SetAgentTeamGrantWithBodyWithResponse(ctx context.Context, ns Namespace, name AgentName, team TeamSlug, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetAgentTeamGrantResponse, error)

	// SetAgentTeamGrantWithResponse Grant an org team a per-agent role (maintain; org agents only).
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /agents/{ns}/{name}/grants/team/{team} (the `SetAgentTeamGrant` operationId).
	SetAgentTeamGrantWithResponse(ctx context.Context, ns Namespace, name AgentName, team TeamSlug, body SetAgentTeamGrantJSONRequestBody, reqEditors ...RequestEditorFn) (*SetAgentTeamGrantResponse, error)

	// RemoveAgentUserGrantWithResponse Remove a user grant (maintain).
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /agents/{ns}/{name}/grants/user/{handle} (the `RemoveAgentUserGrant` operationId).
	RemoveAgentUserGrantWithResponse(ctx context.Context, ns Namespace, name AgentName, handle Handle, reqEditors ...RequestEditorFn) (*RemoveAgentUserGrantResponse, error)

	// SetAgentUserGrantWithBodyWithResponse Grant a user a per-agent role (maintain).
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /agents/{ns}/{name}/grants/user/{handle} (the `SetAgentUserGrant` operationId).
	SetAgentUserGrantWithBodyWithResponse(ctx context.Context, ns Namespace, name AgentName, handle Handle, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetAgentUserGrantResponse, error)

	// SetAgentUserGrantWithResponse Grant a user a per-agent role (maintain).
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /agents/{ns}/{name}/grants/user/{handle} (the `SetAgentUserGrant` operationId).
	SetAgentUserGrantWithResponse(ctx context.Context, ns Namespace, name AgentName, handle Handle, body SetAgentUserGrantJSONRequestBody, reqEditors ...RequestEditorFn) (*SetAgentUserGrantResponse, error)

	// GetAgentReadmeWithResponse The agent README rendered to sanitized HTML.
	//
	// Markdown is rendered server-side through a strict allowlist: no raw HTML, no user styles, no SVG, external links rewritten, and invisible or bidi Unicode replaced with visible placeholders.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /agents/{ns}/{name}/readme (the `GetAgentReadme` operationId).
	GetAgentReadmeWithResponse(ctx context.Context, ns Namespace, name AgentName, params *GetAgentReadmeParams, reqEditors ...RequestEditorFn) (*GetAgentReadmeResponse, error)

	// RestoreAgentWithResponse Restore a retired agent (the namespace's administrators).
	//
	// Returns a retired agent to the visibility it had. A token needs `agent:manage` or `org:admin`. Back to public it meets the rules of any agent becoming public (`409 agent-unscanned`, also when pipeline: skip was set while it was retired); back to private it takes a place under the private-agent cap again (`422 private-agent-cap`). `409 agent-not-retired` when it is not retired.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /agents/{ns}/{name}/restore (the `RestoreAgent` operationId).
	RestoreAgentWithResponse(ctx context.Context, ns Namespace, name AgentName, reqEditors ...RequestEditorFn) (*RestoreAgentResponse, error)

	// RetireAgentWithResponse Retire an agent (the namespace's administrators).
	//
	// Makes the agent private and labels it retired, keeping the visibility it had for Restore. A token needs `agent:manage` or `org:admin`. A retired agent takes no submission (`409 agent-retired`), is in no public listing, and holds no place under the private-agent cap. Its versions are untouched. Retiring a retired agent changes nothing.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /agents/{ns}/{name}/retire (the `RetireAgent` operationId).
	RetireAgentWithResponse(ctx context.Context, ns Namespace, name AgentName, reqEditors ...RequestEditorFn) (*RetireAgentResponse, error)

	// GetAgentStatsWithResponse Star count and install counts for an agent.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /agents/{ns}/{name}/stats (the `GetAgentStats` operationId).
	GetAgentStatsWithResponse(ctx context.Context, ns Namespace, name AgentName, reqEditors ...RequestEditorFn) (*GetAgentStatsResponse, error)

	// ListVersionsWithResponse Version history, newest first.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /agents/{ns}/{name}/versions (the `ListVersions` operationId).
	ListVersionsWithResponse(ctx context.Context, ns Namespace, name AgentName, reqEditors ...RequestEditorFn) (*ListVersionsResponse, error)

	// SubmitVersionWithBodyWithResponse Submit a version for publication.
	//
	// Two sources: JSON {tag} submits an existing repo tag (git-tag source); multipart/form-data with an `archive` part (tar.zst) submits a client-built package (cli-upload source; the server re-validates, re-packs deterministically, and compares digests: client packing is never trusted).
	// A package that ships knowledge packs (the manifest's `knowledge.ships`) makes their contents readable by everyone who can download the release, so the upload must confirm it: the `knowledgeShipping` part, one entry for each pack shipped. Without it the upload is refused `422 knowledge-shipping-unacknowledged`, naming the packs. An entry may claim where the pack was laid down from (`origin`); a claim that is not true is refused `422 knowledge-shipping-invalid`, naming the pack. A tag submission (JSON {tag}) and a tag push carry no confirmation, and the version's record says it was published that way.
	// A deployment with an admission extension (the hosted product's subscription tiers) may refuse a submission after every core check has passed and before anything is stored: `402` with the problem type `credits-exhausted` carries `balance`, `resetsAt` and `account` — the handle whose balance is short, which is the submitter's own or, for a member of a paid organization, the organization's — at the top level of the problem body. `402 subscription-inactive` refuses one whose payer is an organization that is awaiting payment or has lapsed, and carries `account` the same way. `503 admission-unavailable` means the check could not be reached and nothing was recorded. A core registry never answers any of them. The gate's verdict never depends on admission.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /agents/{ns}/{name}/versions (the `SubmitVersion` operationId).
	SubmitVersionWithBodyWithResponse(ctx context.Context, ns Namespace, name AgentName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SubmitVersionResponse, error)

	// SubmitVersionWithResponse Submit a version for publication.
	//
	// Two sources: JSON {tag} submits an existing repo tag (git-tag source); multipart/form-data with an `archive` part (tar.zst) submits a client-built package (cli-upload source; the server re-validates, re-packs deterministically, and compares digests: client packing is never trusted).
	// A package that ships knowledge packs (the manifest's `knowledge.ships`) makes their contents readable by everyone who can download the release, so the upload must confirm it: the `knowledgeShipping` part, one entry for each pack shipped. Without it the upload is refused `422 knowledge-shipping-unacknowledged`, naming the packs. An entry may claim where the pack was laid down from (`origin`); a claim that is not true is refused `422 knowledge-shipping-invalid`, naming the pack. A tag submission (JSON {tag}) and a tag push carry no confirmation, and the version's record says it was published that way.
	// A deployment with an admission extension (the hosted product's subscription tiers) may refuse a submission after every core check has passed and before anything is stored: `402` with the problem type `credits-exhausted` carries `balance`, `resetsAt` and `account` — the handle whose balance is short, which is the submitter's own or, for a member of a paid organization, the organization's — at the top level of the problem body. `402 subscription-inactive` refuses one whose payer is an organization that is awaiting payment or has lapsed, and carries `account` the same way. `503 admission-unavailable` means the check could not be reached and nothing was recorded. A core registry never answers any of them. The gate's verdict never depends on admission.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /agents/{ns}/{name}/versions (the `SubmitVersion` operationId).
	SubmitVersionWithResponse(ctx context.Context, ns Namespace, name AgentName, body SubmitVersionJSONRequestBody, reqEditors ...RequestEditorFn) (*SubmitVersionResponse, error)

	// GetVersionInfoWithResponse One version with its state and archive identity.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /agents/{ns}/{name}/versions/{version} (the `GetVersionInfo` operationId).
	GetVersionInfoWithResponse(ctx context.Context, ns Namespace, name AgentName, version VersionString, reqEditors ...RequestEditorFn) (*GetVersionInfoResponse, error)

	// GetVersionAttestationWithResponse The signed DSSE attestation, verbatim.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /agents/{ns}/{name}/versions/{version}/attestation (the `GetVersionAttestation` operationId).
	GetVersionAttestationWithResponse(ctx context.Context, ns Namespace, name AgentName, version VersionString, reqEditors ...RequestEditorFn) (*GetVersionAttestationResponse, error)

	// DownloadVersionWithResponse Download the release archive (counts an install).
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /agents/{ns}/{name}/versions/{version}/download (the `DownloadVersion` operationId).
	DownloadVersionWithResponse(ctx context.Context, ns Namespace, name AgentName, version VersionString, reqEditors ...RequestEditorFn) (*DownloadVersionResponse, error)

	// StreamVersionEventsWithResponse Server-sent events for a version's pipeline progress.
	//
	// Streams `event: status` messages (JSON: status, statusReason, the scan stages completed so far, done) whenever something changes, about once a second while a scan runs, and closes after the terminal state — published, rejected, needs_review, quarantined — or after five minutes, whichever comes first. Same visibility rules as the version itself. Clients that cannot consume SSE poll the version resource instead.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /agents/{ns}/{name}/versions/{version}/events (the `StreamVersionEvents` operationId).
	StreamVersionEventsWithResponse(ctx context.Context, ns Namespace, name AgentName, version VersionString, reqEditors ...RequestEditorFn) (*StreamVersionEventsResponse, error)

	// GetVersionFileWithResponse Read one file from the version's release archive.
	//
	// Text files return UTF-8 content up to the display cap with a truncation flag; binary files return metadata only (binary true), never raw bytes. Same access gate as listVersionFiles.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /agents/{ns}/{name}/versions/{version}/file (the `GetVersionFile` operationId).
	GetVersionFileWithResponse(ctx context.Context, ns Namespace, name AgentName, version VersionString, params *GetVersionFileParams, reqEditors ...RequestEditorFn) (*GetVersionFileResponse, error)

	// ListVersionFilesWithResponse List the files inside the version's release archive.
	//
	// The same inventory a reviewer sees, opened under the download access gate: published and yanked versions list, blocked versions return 410, quarantined versions 409. Browsing does not count an install.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /agents/{ns}/{name}/versions/{version}/files (the `ListVersionFiles` operationId).
	ListVersionFilesWithResponse(ctx context.Context, ns Namespace, name AgentName, version VersionString, reqEditors ...RequestEditorFn) (*ListVersionFilesResponse, error)

	// GetVersionManifestWithResponse The validated manifest (canonical JSON).
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /agents/{ns}/{name}/versions/{version}/manifest (the `GetVersionManifest` operationId).
	GetVersionManifestWithResponse(ctx context.Context, ns Namespace, name AgentName, version VersionString, reqEditors ...RequestEditorFn) (*GetVersionManifestResponse, error)

	// GetVersionReportWithResponse The scan report for a version (findings, ruleset, verdict).
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /agents/{ns}/{name}/versions/{version}/report (the `GetVersionReport` operationId).
	GetVersionReportWithResponse(ctx context.Context, ns Namespace, name AgentName, version VersionString, reqEditors ...RequestEditorFn) (*GetVersionReportResponse, error)

	// YankVersionWithBodyWithResponse Yank a published version (publish permission).
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /agents/{ns}/{name}/versions/{version}/yank (the `YankVersion` operationId).
	YankVersionWithBodyWithResponse(ctx context.Context, ns Namespace, name AgentName, version VersionString, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*YankVersionResponse, error)

	// YankVersionWithResponse Yank a published version (publish permission).
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /agents/{ns}/{name}/versions/{version}/yank (the `YankVersion` operationId).
	YankVersionWithResponse(ctx context.Context, ns Namespace, name AgentName, version VersionString, body YankVersionJSONRequestBody, reqEditors ...RequestEditorFn) (*YankVersionResponse, error)

	// ExchangeDesktopCodeWithBodyWithResponse Exchange a desktop sign-in code for the PAT it granted.
	//
	// Unauthenticated; the code is the credential. Single use, bound to the `state` nonce the desktop app generated, and valid for 60 seconds from the grant. The PAT is minted at this moment and returned exactly once, like `createToken`. Rate-limited with the login class.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /auth/desktop/exchange (the `ExchangeDesktopCode` operationId).
	ExchangeDesktopCodeWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExchangeDesktopCodeResponse, error)

	// ExchangeDesktopCodeWithResponse Exchange a desktop sign-in code for the PAT it granted.
	//
	// Unauthenticated; the code is the credential. Single use, bound to the `state` nonce the desktop app generated, and valid for 60 seconds from the grant. The PAT is minted at this moment and returned exactly once, like `createToken`. Rate-limited with the login class.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /auth/desktop/exchange (the `ExchangeDesktopCode` operationId).
	ExchangeDesktopCodeWithResponse(ctx context.Context, body ExchangeDesktopCodeJSONRequestBody, reqEditors ...RequestEditorFn) (*ExchangeDesktopCodeResponse, error)

	// LogoutWithResponse Revoke the current session.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /auth/logout (the `Logout` operationId).
	LogoutWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*LogoutResponse, error)

	// SocialOidcCallbackWithResponse Sign-in redirect URI: establish a session.
	//
	// Exchanges the code, verifies the identity, then links or JIT-creates an individual account (`identities.provider_kind='social'`). Auto-linking to an existing account happens only when the provider asserts a verified email that matches a verified account email; otherwise the response is 409 and the accounts must be linked explicitly. A login begun with `next` (browser mode) answers 303 to that in-app path once the session cookie is set, or to `/login?error=…` on failure; the JSON result is the API mode, used when `next` was absent.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /auth/oidc/{provider}/callback (the `SocialOidcCallback` operationId).
	SocialOidcCallbackWithResponse(ctx context.Context, provider SocialOidcCallbackParamsProvider, params *SocialOidcCallbackParams, reqEditors ...RequestEditorFn) (*SocialOidcCallbackResponse, error)

	// SocialOidcStartWithResponse Begin sign-in with the deployment's OpenID provider.
	//
	// Individual-account sign-in through the OpenID provider the server is configured with (`auth.oidc`: discovery, issuer pinning, PKCE and a verified ID token). A provider id the server does not serve answers 404. This is individual sign-in and never grants org membership.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /auth/oidc/{provider}/start (the `SocialOidcStart` operationId).
	SocialOidcStartWithResponse(ctx context.Context, provider SocialOidcStartParamsProvider, params *SocialOidcStartParams, reqEditors ...RequestEditorFn) (*SocialOidcStartResponse, error)

	// VerifyEmailWithBodyWithResponse Confirm an email address with the mailed token.
	//
	// Activates the account whose address the mailed link was sent to (POST /user/email-verification sends it).
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /auth/verify-email (the `VerifyEmail` operationId).
	VerifyEmailWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VerifyEmailResponse, error)

	// VerifyEmailWithResponse Confirm an email address with the mailed token.
	//
	// Activates the account whose address the mailed link was sent to (POST /user/email-verification sends it).
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /auth/verify-email (the `VerifyEmail` operationId).
	VerifyEmailWithResponse(ctx context.Context, body VerifyEmailJSONRequestBody, reqEditors ...RequestEditorFn) (*VerifyEmailResponse, error)

	// GetConnectorsWithResponse Agentry's connectors and this deployment's public client ids.
	//
	// Every connector this build's catalogue holds: the vendor products whose servers Agentry has vetted. A connector whose app is a public client carries the `publicClientId` this deployment registered for it, which a client uses for a local sign-in to that connector's servers; it is absent where the deployment has configured none. No client secret is ever listed.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /connectors (the `GetConnectors` operationId).
	GetConnectorsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetConnectorsResponse, error)

	// GetDesktopAppsWithResponse Agentry's catalogue of application servers.
	//
	// Every entry of this build's catalogue of application servers: for each application a QuickAgent may use on the person's own computer (`capabilities.desktop.servers` names an entry by its id), the MCP server Agentry has vetted for it, pinned to one exact release; how Agentry Desktop launches or reaches it; the loopback port the application listens on; every tool a run may call, with its class (`read`, `act` or `exec`, which asks the person before each call); the tools no run is given; and the hosts the server is known to reach from the person's computer, which no run can hold it to. Clients carry the same catalogue from their build; this route lets a page or a script read it.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /desktop-apps (the `GetDesktopApps` operationId).
	GetDesktopAppsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetDesktopAppsResponse, error)

	// SetFindingVerdictWithBodyWithResponse Confirm or dismiss a finding (not on the caller's own version, unless platform staff).
	//
	// An author cannot set a verdict on a finding of their own version (403), whatever their organization role, as with a review decision. Platform staff may, their own versions included; the verdict's audit event then carries `self_decision: true`.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /findings/{id}/verdict (the `SetFindingVerdict` operationId).
	SetFindingVerdictWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetFindingVerdictResponse, error)

	// SetFindingVerdictWithResponse Confirm or dismiss a finding (not on the caller's own version, unless platform staff).
	//
	// An author cannot set a verdict on a finding of their own version (403), whatever their organization role, as with a review decision. Platform staff may, their own versions included; the verdict's audit event then carries `self_decision: true`.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /findings/{id}/verdict (the `SetFindingVerdict` operationId).
	SetFindingVerdictWithResponse(ctx context.Context, id openapi_types.UUID, body SetFindingVerdictJSONRequestBody, reqEditors ...RequestEditorFn) (*SetFindingVerdictResponse, error)

	// GetInvitationWithResponse Read an invitation by its token (session only). Says which organization and role it offers and whether the signed-in account may accept it.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /invitations/{token} (the `GetInvitation` operationId).
	GetInvitationWithResponse(ctx context.Context, token string, reqEditors ...RequestEditorFn) (*GetInvitationResponse, error)

	// AcceptInvitationWithResponse Accept an invitation (session only). Refused unless the session's verified email is the invited address; single use.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /invitations/{token} (the `AcceptInvitation` operationId).
	AcceptInvitationWithResponse(ctx context.Context, token string, reqEditors ...RequestEditorFn) (*AcceptInvitationResponse, error)

	// UnwrapKnowledgeKeyWithBodyWithResponse Unwrap a data key wrapped for the caller; refused for anyone else's.
	//
	// Answers the data key over TLS, never what wraps it. A wrapped key that does not open for the caller — wrapped for someone else, under a key since destroyed, or altered — is 404 `knowledge-key-not-found`.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /knowledge/keys/unwrap (the `UnwrapKnowledgeKey` operationId).
	UnwrapKnowledgeKeyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UnwrapKnowledgeKeyResponse, error)

	// UnwrapKnowledgeKeyWithResponse Unwrap a data key wrapped for the caller; refused for anyone else's.
	//
	// Answers the data key over TLS, never what wraps it. A wrapped key that does not open for the caller — wrapped for someone else, under a key since destroyed, or altered — is 404 `knowledge-key-not-found`.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /knowledge/keys/unwrap (the `UnwrapKnowledgeKey` operationId).
	UnwrapKnowledgeKeyWithResponse(ctx context.Context, body UnwrapKnowledgeKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*UnwrapKnowledgeKeyResponse, error)

	// WrapKnowledgeKeyWithBodyWithResponse Wrap a pack's data key for the caller.
	//
	// The caller's wrapper seals the 32-byte data key; the answer is what a client keeps beside a sealed pack. On a core registry the wrapper is the deployment's knowledge sealing key; an extension may wrap to the account's own key instead.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /knowledge/keys/wrap (the `WrapKnowledgeKey` operationId).
	WrapKnowledgeKeyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WrapKnowledgeKeyResponse, error)

	// WrapKnowledgeKeyWithResponse Wrap a pack's data key for the caller.
	//
	// The caller's wrapper seals the 32-byte data key; the answer is what a client keeps beside a sealed pack. On a core registry the wrapper is the deployment's knowledge sealing key; an extension may wrap to the account's own key instead.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /knowledge/keys/wrap (the `WrapKnowledgeKey` operationId).
	WrapKnowledgeKeyWithResponse(ctx context.Context, body WrapKnowledgeKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*WrapKnowledgeKeyResponse, error)

	// ListKnowledgePacksWithResponse The caller's knowledge packs, by name.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /knowledge/packs (the `ListKnowledgePacks` operationId).
	ListKnowledgePacksWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListKnowledgePacksResponse, error)

	// CreateKnowledgePackWithBodyWithResponse Create a knowledge pack, empty, with its data key as the caller's wrapper wrapped it.
	//
	// The client makes the pack's data key, has it wrapped (`POST /knowledge/keys/wrap`), and names it here; the registry checks that the wrapped key opens for the caller and keeps it beside the pack. The tree follows with `PUT /knowledge/packs/{packId}/tree`. A name is the pack's directory name: 1-64 lowercase letters, digits, `.`, `-` or `_`, starting with a letter or a digit, one per owner (409 `knowledge-name-taken`).
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /knowledge/packs (the `CreateKnowledgePack` operationId).
	CreateKnowledgePackWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateKnowledgePackResponse, error)

	// CreateKnowledgePackWithResponse Create a knowledge pack, empty, with its data key as the caller's wrapper wrapped it.
	//
	// The client makes the pack's data key, has it wrapped (`POST /knowledge/keys/wrap`), and names it here; the registry checks that the wrapped key opens for the caller and keeps it beside the pack. The tree follows with `PUT /knowledge/packs/{packId}/tree`. A name is the pack's directory name: 1-64 lowercase letters, digits, `.`, `-` or `_`, starting with a letter or a digit, one per owner (409 `knowledge-name-taken`).
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /knowledge/packs (the `CreateKnowledgePack` operationId).
	CreateKnowledgePackWithResponse(ctx context.Context, body CreateKnowledgePackJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateKnowledgePackResponse, error)

	// DeleteKnowledgePackWithResponse Delete one of the caller's packs, its stored trees and its wrapped key.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /knowledge/packs/{packId} (the `DeleteKnowledgePack` operationId).
	DeleteKnowledgePackWithResponse(ctx context.Context, packId KnowledgePackId, reqEditors ...RequestEditorFn) (*DeleteKnowledgePackResponse, error)

	// GetKnowledgePackWithResponse One of the caller's packs with its scan report; 404 to anyone else.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /knowledge/packs/{packId} (the `GetKnowledgePack` operationId).
	GetKnowledgePackWithResponse(ctx context.Context, packId KnowledgePackId, reqEditors ...RequestEditorFn) (*GetKnowledgePackResponse, error)

	// ExportKnowledgePackWithResponse The pack's tree, decrypted as it streams, to its owner alone.
	//
	// The canonical tar of the pack's `wiki/` and `sources/`, whose SHA-256 is the pack's digest; `Cache-Control: no-store`; 404 to anyone but the owner; 409 `knowledge-scanning` while the pack is scanned.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /knowledge/packs/{packId}/export (the `ExportKnowledgePack` operationId).
	ExportKnowledgePackWithResponse(ctx context.Context, packId KnowledgePackId, reqEditors ...RequestEditorFn) (*ExportKnowledgePackResponse, error)

	// DownloadKnowledgeTreeWithResponse The pack's sealed tree, as stored; the client opens it with the unwrapped data key (409 `knowledge-scanning` while it is scanned).
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /knowledge/packs/{packId}/tree (the `DownloadKnowledgeTree` operationId).
	DownloadKnowledgeTreeWithResponse(ctx context.Context, packId KnowledgePackId, reqEditors ...RequestEditorFn) (*DownloadKnowledgeTreeResponse, error)

	// UploadKnowledgeTreeWithBodyWithResponse Upload a pack's sealed tree, which replaces the one before and is scanned.
	//
	// One PUT of the sealed tree (`pkg/packseal`: the pack's canonical tar sealed under its data key), at most a 10 MB pack; past that 413 `upload-too-large`, a tree past the pack's caps 413 `knowledge-too-large`, a tree that is not the digest its header names 422 `knowledge-digest-mismatch`, and a tree past the owner's allocation 413 `knowledge-allocation` with `bytes` and `max`. The registry opens it to check it before it keeps it, stores it sealed, and queues its scan: the pack is `scanning` until the scan ends and `ready` after, findings or not.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /knowledge/packs/{packId}/tree (the `UploadKnowledgeTree` operationId).
	UploadKnowledgeTreeWithBodyWithResponse(ctx context.Context, packId KnowledgePackId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UploadKnowledgeTreeResponse, error)

	// GetKnowledgeUsageWithResponse What the caller keeps in the registry against their allocation.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /knowledge/usage (the `GetKnowledgeUsage` operationId).
	GetKnowledgeUsageWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetKnowledgeUsageResponse, error)

	// GetMcpServerScanWithResponse The registry's last vulnerability check of one MCP server package version.
	//
	// What S7 recorded for the exact package version: `safe` means no known advisories at `lastCheckedAt`, `vulnerable` lists them, `error` means the last lookup failed and the advisories are the last known. Each advisory carries its own `severity` and the gate's rating of it, `gateSeverity`. 404 when no manifest has ever declared this version. The runner asks here before installing a declared server.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /mcp-servers/scan (the `GetMcpServerScan` operationId).
	GetMcpServerScanWithResponse(ctx context.Context, params *GetMcpServerScanParams, reqEditors ...RequestEditorFn) (*GetMcpServerScanResponse, error)

	// GetMetaWithResponse Server version and self-host feature flags.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /meta (the `GetMeta` operationId).
	GetMetaWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetMetaResponse, error)

	// CheckDraftWithBodyWithResponse AI Review of a finished draft before it is submitted.
	//
	// Reads a finished QuickAgent draft's rendered package the two ways AI Review will: with the release rubric that stage S5 of the pipeline asks at publish (the manifest as its canonical JSON and every text file, in the same chunks, state and request shape, under the same rubric hash), so the person knows before Submit what AI Review will flag; and with the draft question set, which asks whether the draft's instruction does the task its description asks for. Beside them, with no judge, `ungranted` lists each runner tool the instruction calls for that the manifest does not grant (a browser tool with no `capabilities.browser`, `run_command` with no exec commands, `fetch` with no egress host, a host tool with no target host, a workspace file tool with no filesystem access, a `<server>__<tool>` of a server not declared), which stage S6 sends to a person at publish. A rubric question at 2 or more (the gate's medium) is a finding and `flagged`; so is a draft question at 2 or more. A half the judge could not answer for is `not_scanned`. This is not the publication scan: a submitted version is scanned in full whatever this said. Nothing of the package is kept or logged. `usage` is for the record, never a price (AI Review is 1 credit for a whole draft). Callers as for `POST /model-input/scan`. 422 `draft-unreadable` for a package with no `agent.yaml`, one that does not parse, or no instruction file; 413 `draft-too-large` past 32 files or 65,536 bytes of text; 503 `model-input-unavailable` when the deployment's judge is not TypeSafe's Jev.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /model-input/check (the `CheckDraft` operationId).
	CheckDraftWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CheckDraftResponse, error)

	// CheckDraftWithResponse AI Review of a finished draft before it is submitted.
	//
	// Reads a finished QuickAgent draft's rendered package the two ways AI Review will: with the release rubric that stage S5 of the pipeline asks at publish (the manifest as its canonical JSON and every text file, in the same chunks, state and request shape, under the same rubric hash), so the person knows before Submit what AI Review will flag; and with the draft question set, which asks whether the draft's instruction does the task its description asks for. Beside them, with no judge, `ungranted` lists each runner tool the instruction calls for that the manifest does not grant (a browser tool with no `capabilities.browser`, `run_command` with no exec commands, `fetch` with no egress host, a host tool with no target host, a workspace file tool with no filesystem access, a `<server>__<tool>` of a server not declared), which stage S6 sends to a person at publish. A rubric question at 2 or more (the gate's medium) is a finding and `flagged`; so is a draft question at 2 or more. A half the judge could not answer for is `not_scanned`. This is not the publication scan: a submitted version is scanned in full whatever this said. Nothing of the package is kept or logged. `usage` is for the record, never a price (AI Review is 1 credit for a whole draft). Callers as for `POST /model-input/scan`. 422 `draft-unreadable` for a package with no `agent.yaml`, one that does not parse, or no instruction file; 413 `draft-too-large` past 32 files or 65,536 bytes of text; 503 `model-input-unavailable` when the deployment's judge is not TypeSafe's Jev.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /model-input/check (the `CheckDraft` operationId).
	CheckDraftWithResponse(ctx context.Context, body CheckDraftJSONRequestBody, reqEditors ...RequestEditorFn) (*CheckDraftResponse, error)

	// ScanModelInputWithBodyWithResponse AI Review of text a model is about to read.
	//
	// Scans pushed text as model input: the deployment's judge is asked the model-input question set (injection, exfiltration, user deception, obfuscation), in 8 KiB chunks asked in parallel, and answers per chunk with scores. The text's score is the highest over its chunks and questions; 2 or more (the gate's medium) is `withheld`, and a chunk the judge could not answer (an error, a timeout, an answer out of shape) makes the text `not_scanned`, which a caller treats as withheld. Nothing of the text is kept or logged. `usage` counts the judge's requests and tokens for the record; it is never a price (AI Review is charged per operation, not per scan). Open to platform staff by session, and to a hosted job's credential in `X-Agentry-Job-Token` where an extension admits it; a token is refused whatever its scopes. 503 `model-input-unavailable` when the deployment's judge is not TypeSafe's Jev.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /model-input/scan (the `ScanModelInput` operationId).
	ScanModelInputWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ScanModelInputResponse, error)

	// ScanModelInputWithResponse AI Review of text a model is about to read.
	//
	// Scans pushed text as model input: the deployment's judge is asked the model-input question set (injection, exfiltration, user deception, obfuscation), in 8 KiB chunks asked in parallel, and answers per chunk with scores. The text's score is the highest over its chunks and questions; 2 or more (the gate's medium) is `withheld`, and a chunk the judge could not answer (an error, a timeout, an answer out of shape) makes the text `not_scanned`, which a caller treats as withheld. Nothing of the text is kept or logged. `usage` counts the judge's requests and tokens for the record; it is never a price (AI Review is charged per operation, not per scan). Open to platform staff by session, and to a hosted job's credential in `X-Agentry-Job-Token` where an extension admits it; a token is refused whatever its scopes. 503 `model-input-unavailable` when the deployment's judge is not TypeSafe's Jev.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /model-input/scan (the `ScanModelInput` operationId).
	ScanModelInputWithResponse(ctx context.Context, body ScanModelInputJSONRequestBody, reqEditors ...RequestEditorFn) (*ScanModelInputResponse, error)

	// SearchModelInputWithBodyWithResponse Web search through the deployment's provider, every result scanned.
	//
	// Searches the web through the deployment's search provider with the registry's own key, then scans each result (its title, address and snippet) as model input, as `POST /model-input/scan` does. Only scanned results come back: a `withheld` or `not_scanned` result carries its origin (scheme and host), verdict and scores, never its title, its snippet or the rest of its address. The query goes to the search provider and is neither kept nor logged. Callers as for `POST /model-input/scan`. 503 `web-search-unavailable` when no provider is configured, 503 `model-input-unavailable` when there is no judge to scan the results, 502 `web-search-failed` when the provider did not answer.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /model-input/search (the `SearchModelInput` operationId).
	SearchModelInputWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SearchModelInputResponse, error)

	// SearchModelInputWithResponse Web search through the deployment's provider, every result scanned.
	//
	// Searches the web through the deployment's search provider with the registry's own key, then scans each result (its title, address and snippet) as model input, as `POST /model-input/scan` does. Only scanned results come back: a `withheld` or `not_scanned` result carries its origin (scheme and host), verdict and scores, never its title, its snippet or the rest of its address. The query goes to the search provider and is neither kept nor logged. Callers as for `POST /model-input/scan`. 503 `web-search-unavailable` when no provider is configured, 503 `model-input-unavailable` when there is no judge to scan the results, 502 `web-search-failed` when the provider did not answer.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /model-input/search (the `SearchModelInput` operationId).
	SearchModelInputWithResponse(ctx context.Context, body SearchModelInputJSONRequestBody, reqEditors ...RequestEditorFn) (*SearchModelInputResponse, error)

	// CreateOrgWithBodyWithResponse Create an organization; the caller becomes its first admin.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /orgs (the `CreateOrg` operationId).
	CreateOrgWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateOrgResponse, error)

	// CreateOrgWithResponse Create an organization; the caller becomes its first admin.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /orgs (the `CreateOrg` operationId).
	CreateOrgWithResponse(ctx context.Context, body CreateOrgJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateOrgResponse, error)

	// GetOrgWithResponse Organization profile (public fields; settings for admins).
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /orgs/{org} (the `GetOrg` operationId).
	GetOrgWithResponse(ctx context.Context, org OrgHandle, reqEditors ...RequestEditorFn) (*GetOrgResponse, error)

	// UpdateOrgWithBodyWithResponse Update org settings (admin+).
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /orgs/{org} (the `UpdateOrg` operationId).
	UpdateOrgWithBodyWithResponse(ctx context.Context, org OrgHandle, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateOrgResponse, error)

	// UpdateOrgWithResponse Update org settings (admin+).
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /orgs/{org} (the `UpdateOrg` operationId).
	UpdateOrgWithResponse(ctx context.Context, org OrgHandle, body UpdateOrgJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateOrgResponse, error)

	// ListOrgAuditWithResponse Org audit events, newest first (admin+; cursor paged).
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /orgs/{org}/audit (the `ListOrgAudit` operationId).
	ListOrgAuditWithResponse(ctx context.Context, org OrgHandle, params *ListOrgAuditParams, reqEditors ...RequestEditorFn) (*ListOrgAuditResponse, error)

	// CreateAuditExportWithBodyWithResponse Start an async NDJSON audit export (admin+).
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /orgs/{org}/audit/exports (the `CreateAuditExport` operationId).
	CreateAuditExportWithBodyWithResponse(ctx context.Context, org OrgHandle, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateAuditExportResponse, error)

	// CreateAuditExportWithResponse Start an async NDJSON audit export (admin+).
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /orgs/{org}/audit/exports (the `CreateAuditExport` operationId).
	CreateAuditExportWithResponse(ctx context.Context, org OrgHandle, body CreateAuditExportJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateAuditExportResponse, error)

	// GetAuditExportWithResponse Poll an audit export's status and download reference (admin+).
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /orgs/{org}/audit/exports/{id} (the `GetAuditExport` operationId).
	GetAuditExportWithResponse(ctx context.Context, org OrgHandle, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetAuditExportResponse, error)

	// DecommissionOrgWithBodyWithResponse Decommission the organization (admin; session only). It enters a read-only hold — members keep read and export — and at the end of the hold its agents, repositories, blobs and invitations are erased, its handle and domain released. The body must repeat the organization's handle. The last admin goes with it: this is the one way an organization loses its last admin (409 last-admin everywhere else).
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /orgs/{org}/decommission (the `DecommissionOrg` operationId).
	DecommissionOrgWithBodyWithResponse(ctx context.Context, org OrgHandle, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DecommissionOrgResponse, error)

	// DecommissionOrgWithResponse Decommission the organization (admin; session only). It enters a read-only hold — members keep read and export — and at the end of the hold its agents, repositories, blobs and invitations are erased, its handle and domain released. The body must repeat the organization's handle. The last admin goes with it: this is the one way an organization loses its last admin (409 last-admin everywhere else).
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /orgs/{org}/decommission (the `DecommissionOrg` operationId).
	DecommissionOrgWithResponse(ctx context.Context, org OrgHandle, body DecommissionOrgJSONRequestBody, reqEditors ...RequestEditorFn) (*DecommissionOrgResponse, error)

	// ListDomainClaimsWithResponse List domain claims (admin+).
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /orgs/{org}/domain-claims (the `ListDomainClaims` operationId).
	ListDomainClaimsWithResponse(ctx context.Context, org OrgHandle, reqEditors ...RequestEditorFn) (*ListDomainClaimsResponse, error)

	// CreateDomainClaimWithBodyWithResponse Start a domain claim; returns the DNS TXT challenge (admin+).
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /orgs/{org}/domain-claims (the `CreateDomainClaim` operationId).
	CreateDomainClaimWithBodyWithResponse(ctx context.Context, org OrgHandle, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateDomainClaimResponse, error)

	// CreateDomainClaimWithResponse Start a domain claim; returns the DNS TXT challenge (admin+).
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /orgs/{org}/domain-claims (the `CreateDomainClaim` operationId).
	CreateDomainClaimWithResponse(ctx context.Context, org OrgHandle, body CreateDomainClaimJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateDomainClaimResponse, error)

	// VerifyDomainClaimWithBodyWithResponse Check the DNS TXT record and mark verified (admin+).
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /orgs/{org}/domain-claims/verify (the `VerifyDomainClaim` operationId).
	VerifyDomainClaimWithBodyWithResponse(ctx context.Context, org OrgHandle, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VerifyDomainClaimResponse, error)

	// VerifyDomainClaimWithResponse Check the DNS TXT record and mark verified (admin+).
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /orgs/{org}/domain-claims/verify (the `VerifyDomainClaim` operationId).
	VerifyDomainClaimWithResponse(ctx context.Context, org OrgHandle, body VerifyDomainClaimJSONRequestBody, reqEditors ...RequestEditorFn) (*VerifyDomainClaimResponse, error)

	// ListInvitationsWithResponse List the organization's open invitations (admin).
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /orgs/{org}/invitations (the `ListInvitations` operationId).
	ListInvitationsWithResponse(ctx context.Context, org OrgHandle, reqEditors ...RequestEditorFn) (*ListInvitationsResponse, error)

	// CreateInvitationWithBodyWithResponse Invite someone by email (admin). The invitation reserves a seat when it is sent and expires in seven days. Its token is a credential shown once in this response and stored only as a hash. It is also mailed to the address when the registry may write there: an address at the organization's own verified domain always, and any other address only when it belongs to an account whose address the registry has confirmed. Accepting an invitation sent to the organization's verified domain also confirms the accepting account's address, because the organization proved it controls that domain.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /orgs/{org}/invitations (the `CreateInvitation` operationId).
	CreateInvitationWithBodyWithResponse(ctx context.Context, org OrgHandle, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateInvitationResponse, error)

	// CreateInvitationWithResponse Invite someone by email (admin). The invitation reserves a seat when it is sent and expires in seven days. Its token is a credential shown once in this response and stored only as a hash. It is also mailed to the address when the registry may write there: an address at the organization's own verified domain always, and any other address only when it belongs to an account whose address the registry has confirmed. Accepting an invitation sent to the organization's verified domain also confirms the accepting account's address, because the organization proved it controls that domain.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /orgs/{org}/invitations (the `CreateInvitation` operationId).
	CreateInvitationWithResponse(ctx context.Context, org OrgHandle, body CreateInvitationJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateInvitationResponse, error)

	// RevokeInvitationWithResponse Revoke an open invitation (admin); its seat is released.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /orgs/{org}/invitations/{id} (the `RevokeInvitation` operationId).
	RevokeInvitationWithResponse(ctx context.Context, org OrgHandle, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*RevokeInvitationResponse, error)

	// UnwrapOrgKnowledgeKeyWithBodyWithResponse Unwrap a data key wrapped for the organization, for any active member; refused once they are not one.
	//
	// The one door to a shared pack's words on a member's machine: the client keeps the answer in memory and asks again next time, so a member who is removed keeps sealed bytes they can no longer open. A wrapped key that does not open for the organization is 404 `knowledge-key-not-found`.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /orgs/{org}/knowledge/keys/unwrap (the `UnwrapOrgKnowledgeKey` operationId).
	UnwrapOrgKnowledgeKeyWithBodyWithResponse(ctx context.Context, org OrgHandle, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UnwrapOrgKnowledgeKeyResponse, error)

	// UnwrapOrgKnowledgeKeyWithResponse Unwrap a data key wrapped for the organization, for any active member; refused once they are not one.
	//
	// The one door to a shared pack's words on a member's machine: the client keeps the answer in memory and asks again next time, so a member who is removed keeps sealed bytes they can no longer open. A wrapped key that does not open for the organization is 404 `knowledge-key-not-found`.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /orgs/{org}/knowledge/keys/unwrap (the `UnwrapOrgKnowledgeKey` operationId).
	UnwrapOrgKnowledgeKeyWithResponse(ctx context.Context, org OrgHandle, body UnwrapOrgKnowledgeKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*UnwrapOrgKnowledgeKeyResponse, error)

	// WrapOrgKnowledgeKeyWithBodyWithResponse Wrap a data key for the organization (admins).
	//
	// The wrapper seals the 32-byte data key for the organization: on a core registry under the deployment's knowledge sealing key, on an extension's to the organization's own key.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /orgs/{org}/knowledge/keys/wrap (the `WrapOrgKnowledgeKey` operationId).
	WrapOrgKnowledgeKeyWithBodyWithResponse(ctx context.Context, org OrgHandle, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WrapOrgKnowledgeKeyResponse, error)

	// WrapOrgKnowledgeKeyWithResponse Wrap a data key for the organization (admins).
	//
	// The wrapper seals the 32-byte data key for the organization: on a core registry under the deployment's knowledge sealing key, on an extension's to the organization's own key.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /orgs/{org}/knowledge/keys/wrap (the `WrapOrgKnowledgeKey` operationId).
	WrapOrgKnowledgeKeyWithResponse(ctx context.Context, org OrgHandle, body WrapOrgKnowledgeKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*WrapOrgKnowledgeKeyResponse, error)

	// ListOrgKnowledgePacksWithResponse The organization's shared packs, by name, for any active member.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /orgs/{org}/knowledge/packs (the `ListOrgKnowledgePacks` operationId).
	ListOrgKnowledgePacksWithResponse(ctx context.Context, org OrgHandle, reqEditors ...RequestEditorFn) (*ListOrgKnowledgePacksResponse, error)

	// CreateOrgKnowledgePackWithBodyWithResponse Create a shared pack, empty, with its data key wrapped for the organization (admins).
	//
	// As `POST /knowledge/packs`, with the data key wrapped by `POST /orgs/{org}/knowledge/keys/wrap`: the registry checks that it opens for the organization. The pack is not exportable by members until an admin marks it. Recorded in the organization's audit log (`org.knowledge_create`).
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /orgs/{org}/knowledge/packs (the `CreateOrgKnowledgePack` operationId).
	CreateOrgKnowledgePackWithBodyWithResponse(ctx context.Context, org OrgHandle, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateOrgKnowledgePackResponse, error)

	// CreateOrgKnowledgePackWithResponse Create a shared pack, empty, with its data key wrapped for the organization (admins).
	//
	// As `POST /knowledge/packs`, with the data key wrapped by `POST /orgs/{org}/knowledge/keys/wrap`: the registry checks that it opens for the organization. The pack is not exportable by members until an admin marks it. Recorded in the organization's audit log (`org.knowledge_create`).
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /orgs/{org}/knowledge/packs (the `CreateOrgKnowledgePack` operationId).
	CreateOrgKnowledgePackWithResponse(ctx context.Context, org OrgHandle, body CreateOrgKnowledgePackJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateOrgKnowledgePackResponse, error)

	// DeleteOrgKnowledgePackWithResponse Delete a shared pack, its stored trees and its wrapped key (admins).
	//
	// Recorded in the organization's audit log (`org.knowledge_delete`). A member's downloaded copy stays sealed under a data key only the organization's unwrap opens.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /orgs/{org}/knowledge/packs/{packId} (the `DeleteOrgKnowledgePack` operationId).
	DeleteOrgKnowledgePackWithResponse(ctx context.Context, org OrgHandle, packId KnowledgePackId, reqEditors ...RequestEditorFn) (*DeleteOrgKnowledgePackResponse, error)

	// GetOrgKnowledgePackWithResponse One of the organization's shared packs with its scan report.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /orgs/{org}/knowledge/packs/{packId} (the `GetOrgKnowledgePack` operationId).
	GetOrgKnowledgePackWithResponse(ctx context.Context, org OrgHandle, packId KnowledgePackId, reqEditors ...RequestEditorFn) (*GetOrgKnowledgePackResponse, error)

	// UpdateOrgKnowledgePackWithBodyWithResponse Mark a shared pack exportable by the organization's members, or not (admins).
	//
	// Recorded in the organization's audit log (`org.knowledge_update`, with `exportable`).
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /orgs/{org}/knowledge/packs/{packId} (the `UpdateOrgKnowledgePack` operationId).
	UpdateOrgKnowledgePackWithBodyWithResponse(ctx context.Context, org OrgHandle, packId KnowledgePackId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateOrgKnowledgePackResponse, error)

	// UpdateOrgKnowledgePackWithResponse Mark a shared pack exportable by the organization's members, or not (admins).
	//
	// Recorded in the organization's audit log (`org.knowledge_update`, with `exportable`).
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /orgs/{org}/knowledge/packs/{packId} (the `UpdateOrgKnowledgePack` operationId).
	UpdateOrgKnowledgePackWithResponse(ctx context.Context, org OrgHandle, packId KnowledgePackId, body UpdateOrgKnowledgePackJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateOrgKnowledgePackResponse, error)

	// ExportOrgKnowledgePackWithResponse A shared pack's tree, decrypted as it streams, to an admin, or to a member once the pack is marked exportable.
	//
	// As `GET /knowledge/packs/{packId}/export`. A member's export of a pack not marked exportable is 403 `knowledge-not-exportable`. Recorded in the organization's audit log (`org.knowledge_export`).
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /orgs/{org}/knowledge/packs/{packId}/export (the `ExportOrgKnowledgePack` operationId).
	ExportOrgKnowledgePackWithResponse(ctx context.Context, org OrgHandle, packId KnowledgePackId, reqEditors ...RequestEditorFn) (*ExportOrgKnowledgePackResponse, error)

	// DownloadOrgKnowledgeTreeWithResponse A shared pack's sealed tree, as stored, for any active member (409 `knowledge-scanning` while it is scanned).
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /orgs/{org}/knowledge/packs/{packId}/tree (the `DownloadOrgKnowledgeTree` operationId).
	DownloadOrgKnowledgeTreeWithResponse(ctx context.Context, org OrgHandle, packId KnowledgePackId, reqEditors ...RequestEditorFn) (*DownloadOrgKnowledgeTreeResponse, error)

	// UploadOrgKnowledgeTreeWithBodyWithResponse Upload a shared pack's sealed tree, which replaces the one before and is scanned (admins).
	//
	// As `PUT /knowledge/packs/{packId}/tree`, counted against the allocation the organization's packs draw on.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /orgs/{org}/knowledge/packs/{packId}/tree (the `UploadOrgKnowledgeTree` operationId).
	UploadOrgKnowledgeTreeWithBodyWithResponse(ctx context.Context, org OrgHandle, packId KnowledgePackId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UploadOrgKnowledgeTreeResponse, error)

	// GetOrgKnowledgeUsageWithResponse What the organization keeps in the registry against the allocation its packs draw on.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /orgs/{org}/knowledge/usage (the `GetOrgKnowledgeUsage` operationId).
	GetOrgKnowledgeUsageWithResponse(ctx context.Context, org OrgHandle, reqEditors ...RequestEditorFn) (*GetOrgKnowledgeUsageResponse, error)

	// DeleteOrgLogoWithResponse Remove the organization's logo (admin).
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /orgs/{org}/logo (the `DeleteOrgLogo` operationId).
	DeleteOrgLogoWithResponse(ctx context.Context, org OrgHandle, reqEditors ...RequestEditorFn) (*DeleteOrgLogoResponse, error)

	// GetOrgLogoWithResponse The organization's logo, as this registry re-encoded it.
	//
	// A raster the core decoded and encoded again from the pixels: the bytes an admin uploaded are never what is served. The type is pinned and not sniffed. The URL an organization's resource carries (`logoUrl`) names the content by its `v`, and that URL is served as immutable for a year; the bare path, or one whose `v` is no longer the logo served, answers the current logo with `no-cache`. Clients render `logoUrl` as given and never build the path. 404 when the organization has none, or is not one the caller may see.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /orgs/{org}/logo (the `GetOrgLogo` operationId).
	GetOrgLogoWithResponse(ctx context.Context, org OrgHandle, reqEditors ...RequestEditorFn) (*GetOrgLogoResponse, error)

	// PutOrgLogoWithBodyWithResponse Set the organization's logo (admin; the subscription must include branding).
	//
	// Multipart, one part named `file`: PNG or JPEG, at most 256 KB. Anything else is 415 `unsupported-image` — SVG in particular, for which this registry has no sanitiser. Over the cap, over 16 million pixels, or larger re-encoded than a logo may be, is 413 `upload-too-large`. The core decodes it and encodes it again; the pixels are kept, the bytes are not. Replaces any logo the organization had. 403 `feature-not-included` while the subscription does not include branding.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /orgs/{org}/logo (the `PutOrgLogo` operationId).
	PutOrgLogoWithBodyWithResponse(ctx context.Context, org OrgHandle, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutOrgLogoResponse, error)

	// ListOrgMembersWithResponse List members with roles (members can view).
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /orgs/{org}/members (the `ListOrgMembers` operationId).
	ListOrgMembersWithResponse(ctx context.Context, org OrgHandle, reqEditors ...RequestEditorFn) (*ListOrgMembersResponse, error)

	// RemoveOrgMemberWithResponse Remove a member (admin), or leave: any active member may remove themselves, since a person belongs to one organization at a time and must be able to leave it. Removing a pending member is how an admin declines them; the last admin cannot be removed or leave (409 last-admin) — only a decommission removes them.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /orgs/{org}/members/{handle} (the `RemoveOrgMember` operationId).
	RemoveOrgMemberWithResponse(ctx context.Context, org OrgHandle, handle Handle, reqEditors ...RequestEditorFn) (*RemoveOrgMemberResponse, error)

	// SetOrgMemberWithBodyWithResponse Change a member's role (admin). This route does not add members: an organization is joined by accepting an invitation, or by an admin approving someone the IdP provisioned, and a PUT for a handle that holds no membership answers 422 naming those doors.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /orgs/{org}/members/{handle} (the `SetOrgMember` operationId).
	SetOrgMemberWithBodyWithResponse(ctx context.Context, org OrgHandle, handle Handle, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetOrgMemberResponse, error)

	// SetOrgMemberWithResponse Change a member's role (admin). This route does not add members: an organization is joined by accepting an invitation, or by an admin approving someone the IdP provisioned, and a PUT for a handle that holds no membership answers 422 naming those doors.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /orgs/{org}/members/{handle} (the `SetOrgMember` operationId).
	SetOrgMemberWithResponse(ctx context.Context, org OrgHandle, handle Handle, body SetOrgMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*SetOrgMemberResponse, error)

	// ApproveOrgMemberWithBodyWithResponse Approve a pending member (admin). The seat check fires here: a person provisioned by the organization's identity provider, or folded in from the organization's domain, holds no seat until an admin approves them.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /orgs/{org}/members/{handle}/approve (the `ApproveOrgMember` operationId).
	ApproveOrgMemberWithBodyWithResponse(ctx context.Context, org OrgHandle, handle Handle, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ApproveOrgMemberResponse, error)

	// ApproveOrgMemberWithResponse Approve a pending member (admin). The seat check fires here: a person provisioned by the organization's identity provider, or folded in from the organization's domain, holds no seat until an admin approves them.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /orgs/{org}/members/{handle}/approve (the `ApproveOrgMember` operationId).
	ApproveOrgMemberWithResponse(ctx context.Context, org OrgHandle, handle Handle, body ApproveOrgMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*ApproveOrgMemberResponse, error)

	// DeclineOrgMemberWithResponse Decline a pending member (admin): the pending membership is removed and no seat is consumed. An active member is removed with DELETE instead.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /orgs/{org}/members/{handle}/decline (the `DeclineOrgMember` operationId).
	DeclineOrgMemberWithResponse(ctx context.Context, org OrgHandle, handle Handle, reqEditors ...RequestEditorFn) (*DeclineOrgMemberResponse, error)

	// GetOrgPolicyWithResponse The org policy overlay (admin+).
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /orgs/{org}/policy (the `GetOrgPolicy` operationId).
	GetOrgPolicyWithResponse(ctx context.Context, org OrgHandle, reqEditors ...RequestEditorFn) (*GetOrgPolicyResponse, error)

	// SetOrgPolicyWithBodyWithResponse Set the org policy overlay (admin; tighten-only).
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /orgs/{org}/policy (the `SetOrgPolicy` operationId).
	SetOrgPolicyWithBodyWithResponse(ctx context.Context, org OrgHandle, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetOrgPolicyResponse, error)

	// SetOrgPolicyWithResponse Set the org policy overlay (admin; tighten-only).
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /orgs/{org}/policy (the `SetOrgPolicy` operationId).
	SetOrgPolicyWithResponse(ctx context.Context, org OrgHandle, body SetOrgPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*SetOrgPolicyResponse, error)

	// ReinstateOrgWithResponse Reinstate a suspended organization, or cancel a decommission hold before its erasure runs (platform staff). An organization already erased cannot come back (409).
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /orgs/{org}/reinstate (the `ReinstateOrg` operationId).
	ReinstateOrgWithResponse(ctx context.Context, org OrgHandle, reqEditors ...RequestEditorFn) (*ReinstateOrgResponse, error)

	// ListOrgReportDesignsWithResponse The organization's house report designs, for any active member.
	//
	// Up to ten named report designs the organization's admins keep, oldest first, which a member picks for a run by the organization's handle and the design's name. There is no default: a run that picks none takes the person's own default. Membership is read at every call, and a signed-in caller who is not an active member of the organization is answered 404, so the route says nothing of what an organization keeps to anyone outside it. The images are not listed; each entry says which it has.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /orgs/{org}/report-designs (the `ListOrgReportDesigns` operationId).
	ListOrgReportDesignsWithResponse(ctx context.Context, org OrgHandle, reqEditors ...RequestEditorFn) (*ListOrgReportDesignsResponse, error)

	// CreateOrgReportDesignWithBodyWithResponse Add a house report design to the organization's library (admins).
	//
	// As `POST /user/report-designs`, validated by the core's pkg/reportdesign the same way and refused 422 the same way, with two rules of the organization's own: the library holds ten designs, an eleventh is 409 `conflict`; and a design's name is unique within the organization, compared without regard to case, since a run names one, so a second of a name is 409 `conflict`. A document that carries `logo`, `coverImage` or `customCover` stores each as the core's own re-encoding of it. Recorded in the organization's audit log (`org.report_design_create`). The answer carries the design in its canonical form, its images only on `include=assets`.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /orgs/{org}/report-designs (the `CreateOrgReportDesign` operationId).
	CreateOrgReportDesignWithBodyWithResponse(ctx context.Context, org OrgHandle, params *CreateOrgReportDesignParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateOrgReportDesignResponse, error)

	// CreateOrgReportDesignWithResponse Add a house report design to the organization's library (admins).
	//
	// As `POST /user/report-designs`, validated by the core's pkg/reportdesign the same way and refused 422 the same way, with two rules of the organization's own: the library holds ten designs, an eleventh is 409 `conflict`; and a design's name is unique within the organization, compared without regard to case, since a run names one, so a second of a name is 409 `conflict`. A document that carries `logo`, `coverImage` or `customCover` stores each as the core's own re-encoding of it. Recorded in the organization's audit log (`org.report_design_create`). The answer carries the design in its canonical form, its images only on `include=assets`.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /orgs/{org}/report-designs (the `CreateOrgReportDesign` operationId).
	CreateOrgReportDesignWithResponse(ctx context.Context, org OrgHandle, params *CreateOrgReportDesignParams, body CreateOrgReportDesignJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateOrgReportDesignResponse, error)

	// DeleteOrgReportDesignWithResponse Remove one of the organization's house report designs, images included (admins).
	//
	// Another organization's design, or one already gone, is 404. Recorded in the organization's audit log (`org.report_design_delete`).
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /orgs/{org}/report-designs/{designId} (the `DeleteOrgReportDesign` operationId).
	DeleteOrgReportDesignWithResponse(ctx context.Context, org OrgHandle, designId ReportDesignId, reqEditors ...RequestEditorFn) (*DeleteOrgReportDesignResponse, error)

	// GetOrgReportDesignWithResponse One of the organization's house report designs, for any active member.
	//
	// The design in its canonical form. Its images (`logo`, `coverImage`, `customCover`) come only with `include=assets`: a run that draws them asks for them, a console that lists them does not. Another organization's design is 404.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /orgs/{org}/report-designs/{designId} (the `GetOrgReportDesign` operationId).
	GetOrgReportDesignWithResponse(ctx context.Context, org OrgHandle, designId ReportDesignId, params *GetOrgReportDesignParams, reqEditors ...RequestEditorFn) (*GetOrgReportDesignResponse, error)

	// UpdateOrgReportDesignWithBodyWithResponse Replace one of the organization's house report designs (admins).
	//
	// A full replace of the document, validated as a create is, the field named `design.<path>` on a refusal, and the stored design standing. A name another of the organization's designs holds is 409 `conflict`. The images stay as they are unless the document carries them, as for a person's own design. An admin's change reaches a member's next run. Recorded in the organization's audit log (`org.report_design_update`).
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /orgs/{org}/report-designs/{designId} (the `UpdateOrgReportDesign` operationId).
	UpdateOrgReportDesignWithBodyWithResponse(ctx context.Context, org OrgHandle, designId ReportDesignId, params *UpdateOrgReportDesignParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateOrgReportDesignResponse, error)

	// UpdateOrgReportDesignWithResponse Replace one of the organization's house report designs (admins).
	//
	// A full replace of the document, validated as a create is, the field named `design.<path>` on a refusal, and the stored design standing. A name another of the organization's designs holds is 409 `conflict`. The images stay as they are unless the document carries them, as for a person's own design. An admin's change reaches a member's next run. Recorded in the organization's audit log (`org.report_design_update`).
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /orgs/{org}/report-designs/{designId} (the `UpdateOrgReportDesign` operationId).
	UpdateOrgReportDesignWithResponse(ctx context.Context, org OrgHandle, designId ReportDesignId, params *UpdateOrgReportDesignParams, body UpdateOrgReportDesignJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateOrgReportDesignResponse, error)

	// DeleteOrgReportDesignCoverImageWithResponse Remove the cover image from one of the organization's house report designs (admins).
	//
	// The design stays. Removing a cover image that is not there is not an error. The answer carries the design with its images.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /orgs/{org}/report-designs/{designId}/cover-image (the `DeleteOrgReportDesignCoverImage` operationId).
	DeleteOrgReportDesignCoverImageWithResponse(ctx context.Context, org OrgHandle, designId ReportDesignId, reqEditors ...RequestEditorFn) (*DeleteOrgReportDesignCoverImageResponse, error)

	// PutOrgReportDesignCoverImageWithBodyWithResponse Set the cover image of one of the organization's house report designs (admins).
	//
	// As `PUT /user/report-designs/{designId}/cover-image`: multipart, one part named `file`, a PNG or a JPEG of at most 2 MB, kept only as the core's own re-encoding of its pixels in the format it came in. Recorded in the organization's audit log (`org.report_design_update`). The answer carries the design with its images.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /orgs/{org}/report-designs/{designId}/cover-image (the `PutOrgReportDesignCoverImage` operationId).
	PutOrgReportDesignCoverImageWithBodyWithResponse(ctx context.Context, org OrgHandle, designId ReportDesignId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutOrgReportDesignCoverImageResponse, error)

	// DeleteOrgReportDesignCustomCoverWithResponse Remove the custom cover from one of the organization's house report designs (admins).
	//
	// The design stays, its cover style included. Removing a custom cover that is not there is not an error. The answer carries the design with its images.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /orgs/{org}/report-designs/{designId}/custom-cover (the `DeleteOrgReportDesignCustomCover` operationId).
	DeleteOrgReportDesignCustomCoverWithResponse(ctx context.Context, org OrgHandle, designId ReportDesignId, reqEditors ...RequestEditorFn) (*DeleteOrgReportDesignCustomCoverResponse, error)

	// PutOrgReportDesignCustomCoverWithBodyWithResponse Set the custom cover of one of the organization's house report designs (admins).
	//
	// As `PUT /user/report-designs/{designId}/custom-cover`: the custom cover whole, its source held to its bounds and never read, each image and the thumbnail encoded again by the core. Recorded in the organization's audit log (`org.report_design_update`). The answer carries the design with its images.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /orgs/{org}/report-designs/{designId}/custom-cover (the `PutOrgReportDesignCustomCover` operationId).
	PutOrgReportDesignCustomCoverWithBodyWithResponse(ctx context.Context, org OrgHandle, designId ReportDesignId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutOrgReportDesignCustomCoverResponse, error)

	// PutOrgReportDesignCustomCoverWithResponse Set the custom cover of one of the organization's house report designs (admins).
	//
	// As `PUT /user/report-designs/{designId}/custom-cover`: the custom cover whole, its source held to its bounds and never read, each image and the thumbnail encoded again by the core. Recorded in the organization's audit log (`org.report_design_update`). The answer carries the design with its images.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /orgs/{org}/report-designs/{designId}/custom-cover (the `PutOrgReportDesignCustomCover` operationId).
	PutOrgReportDesignCustomCoverWithResponse(ctx context.Context, org OrgHandle, designId ReportDesignId, body PutOrgReportDesignCustomCoverJSONRequestBody, reqEditors ...RequestEditorFn) (*PutOrgReportDesignCustomCoverResponse, error)

	// DeleteOrgReportDesignLogoWithResponse Remove the logo from one of the organization's house report designs (admins).
	//
	// The design stays. Removing a logo that is not there is not an error. The answer carries the design with its images.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /orgs/{org}/report-designs/{designId}/logo (the `DeleteOrgReportDesignLogo` operationId).
	DeleteOrgReportDesignLogoWithResponse(ctx context.Context, org OrgHandle, designId ReportDesignId, reqEditors ...RequestEditorFn) (*DeleteOrgReportDesignLogoResponse, error)

	// PutOrgReportDesignLogoWithBodyWithResponse Set the logo of one of the organization's house report designs (admins).
	//
	// As `PUT /user/report-designs/{designId}/logo`: multipart, one part named `file`, a PNG or a JPEG of at most 512 KB, kept only as the core's own re-encoding of its pixels. Recorded in the organization's audit log (`org.report_design_update`). The answer carries the design with its images.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /orgs/{org}/report-designs/{designId}/logo (the `PutOrgReportDesignLogo` operationId).
	PutOrgReportDesignLogoWithBodyWithResponse(ctx context.Context, org OrgHandle, designId ReportDesignId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutOrgReportDesignLogoResponse, error)

	// SuspendOrgWithBodyWithResponse Suspend the organization (platform staff). It and everything under it answer 404 to everyone, over the API and over git, until it is reinstated. Nothing is deleted.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /orgs/{org}/suspend (the `SuspendOrg` operationId).
	SuspendOrgWithBodyWithResponse(ctx context.Context, org OrgHandle, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SuspendOrgResponse, error)

	// SuspendOrgWithResponse Suspend the organization (platform staff). It and everything under it answer 404 to everyone, over the API and over git, until it is reinstated. Nothing is deleted.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /orgs/{org}/suspend (the `SuspendOrg` operationId).
	SuspendOrgWithResponse(ctx context.Context, org OrgHandle, body SuspendOrgJSONRequestBody, reqEditors ...RequestEditorFn) (*SuspendOrgResponse, error)

	// ListTeamsWithResponse List teams (members can view).
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /orgs/{org}/teams (the `ListTeams` operationId).
	ListTeamsWithResponse(ctx context.Context, org OrgHandle, reqEditors ...RequestEditorFn) (*ListTeamsResponse, error)

	// CreateTeamWithBodyWithResponse Create a team (admin+).
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /orgs/{org}/teams (the `CreateTeam` operationId).
	CreateTeamWithBodyWithResponse(ctx context.Context, org OrgHandle, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateTeamResponse, error)

	// CreateTeamWithResponse Create a team (admin+).
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /orgs/{org}/teams (the `CreateTeam` operationId).
	CreateTeamWithResponse(ctx context.Context, org OrgHandle, body CreateTeamJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateTeamResponse, error)

	// DeleteTeamWithResponse Delete a team (admin+).
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /orgs/{org}/teams/{team} (the `DeleteTeam` operationId).
	DeleteTeamWithResponse(ctx context.Context, org OrgHandle, team TeamSlug, reqEditors ...RequestEditorFn) (*DeleteTeamResponse, error)

	// ListTeamMembersWithResponse List team members (org members can view).
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /orgs/{org}/teams/{team}/members (the `ListTeamMembers` operationId).
	ListTeamMembersWithResponse(ctx context.Context, org OrgHandle, team TeamSlug, reqEditors ...RequestEditorFn) (*ListTeamMembersResponse, error)

	// RemoveTeamMemberWithResponse Remove a member from a team (admin+).
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /orgs/{org}/teams/{team}/members/{handle} (the `RemoveTeamMember` operationId).
	RemoveTeamMemberWithResponse(ctx context.Context, org OrgHandle, team TeamSlug, handle Handle, reqEditors ...RequestEditorFn) (*RemoveTeamMemberResponse, error)

	// AddTeamMemberWithResponse Add an org member to a team (admin+).
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /orgs/{org}/teams/{team}/members/{handle} (the `AddTeamMember` operationId).
	AddTeamMemberWithResponse(ctx context.Context, org OrgHandle, team TeamSlug, handle Handle, reqEditors ...RequestEditorFn) (*AddTeamMemberResponse, error)

	// ListWebhooksWithResponse List webhook endpoints (admin+).
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /orgs/{org}/webhooks (the `ListWebhooks` operationId).
	ListWebhooksWithResponse(ctx context.Context, org OrgHandle, reqEditors ...RequestEditorFn) (*ListWebhooksResponse, error)

	// CreateWebhookWithBodyWithResponse Create a webhook endpoint (admin+).
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /orgs/{org}/webhooks (the `CreateWebhook` operationId).
	CreateWebhookWithBodyWithResponse(ctx context.Context, org OrgHandle, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateWebhookResponse, error)

	// CreateWebhookWithResponse Create a webhook endpoint (admin+).
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /orgs/{org}/webhooks (the `CreateWebhook` operationId).
	CreateWebhookWithResponse(ctx context.Context, org OrgHandle, body CreateWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateWebhookResponse, error)

	// DeleteWebhookWithResponse Delete a webhook endpoint (admin+).
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /orgs/{org}/webhooks/{id} (the `DeleteWebhook` operationId).
	DeleteWebhookWithResponse(ctx context.Context, org OrgHandle, id WebhookID, reqEditors ...RequestEditorFn) (*DeleteWebhookResponse, error)

	// GetWebhookWithResponse Get a webhook endpoint (admin+).
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /orgs/{org}/webhooks/{id} (the `GetWebhook` operationId).
	GetWebhookWithResponse(ctx context.Context, org OrgHandle, id WebhookID, reqEditors ...RequestEditorFn) (*GetWebhookResponse, error)

	// UpdateWebhookWithBodyWithResponse Update a webhook endpoint (admin+).
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /orgs/{org}/webhooks/{id} (the `UpdateWebhook` operationId).
	UpdateWebhookWithBodyWithResponse(ctx context.Context, org OrgHandle, id WebhookID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateWebhookResponse, error)

	// UpdateWebhookWithResponse Update a webhook endpoint (admin+).
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /orgs/{org}/webhooks/{id} (the `UpdateWebhook` operationId).
	UpdateWebhookWithResponse(ctx context.Context, org OrgHandle, id WebhookID, body UpdateWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateWebhookResponse, error)

	// ListWebhookDeliveriesWithResponse Recent delivery attempts for an endpoint (admin+).
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /orgs/{org}/webhooks/{id}/deliveries (the `ListWebhookDeliveries` operationId).
	ListWebhookDeliveriesWithResponse(ctx context.Context, org OrgHandle, id WebhookID, params *ListWebhookDeliveriesParams, reqEditors ...RequestEditorFn) (*ListWebhookDeliveriesResponse, error)

	// PingWebhookWithResponse Send a test delivery to an endpoint (admin+).
	//
	// Enqueues a signed `ping` delivery through the ordinary webhook machinery (same signature header, same SSRF guard, same retry schedule), so the recorded attempt appears in `GET …/{id}/deliveries`. Honours `Idempotency-Key`.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /orgs/{org}/webhooks/{id}/ping (the `PingWebhook` operationId).
	PingWebhookWithResponse(ctx context.Context, org OrgHandle, id WebhookID, reqEditors ...RequestEditorFn) (*PingWebhookResponse, error)

	// ListAbuseReportsWithResponse Abuse reports for triage (platform staff).
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /platform/abuse-reports (the `ListAbuseReports` operationId).
	ListAbuseReportsWithResponse(ctx context.Context, params *ListAbuseReportsParams, reqEditors ...RequestEditorFn) (*ListAbuseReportsResponse, error)

	// TriageAbuseReportWithBodyWithResponse Record a triage outcome for an abuse report (platform staff).
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /platform/abuse-reports/{id} (the `TriageAbuseReport` operationId).
	TriageAbuseReportWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TriageAbuseReportResponse, error)

	// TriageAbuseReportWithResponse Record a triage outcome for an abuse report (platform staff).
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /platform/abuse-reports/{id} (the `TriageAbuseReport` operationId).
	TriageAbuseReportWithResponse(ctx context.Context, id openapi_types.UUID, body TriageAbuseReportJSONRequestBody, reqEditors ...RequestEditorFn) (*TriageAbuseReportResponse, error)

	// PlatformAgentActionWithBodyWithResponse Quarantine, block, or reinstate an agent (platform staff).
	//
	// Quarantine and block take effect before the response. Reinstate clears
	// the agent's flag and asks for a fresh scan of each of its blocked and
	// quarantined versions, then returns; it publishes nothing itself. A
	// version is published again, signed as any publication is, only when the
	// gate's verdict on its new scan is publish, and its open review item is
	// closed with the reinstate's reason. Every other version stays held: a
	// blocked one becomes quarantined once its verdict exists, and each has an
	// open platform review item for a person to decide against the new scan.
	// A version admitted without a scan has no scan to judge and stays as it is.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /platform/agents/{ns}/{name}/{action} (the `PlatformAgentAction` operationId).
	PlatformAgentActionWithBodyWithResponse(ctx context.Context, ns Namespace, name AgentName, action PlatformAgentActionParamsAction, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PlatformAgentActionResponse, error)

	// PlatformAgentActionWithResponse Quarantine, block, or reinstate an agent (platform staff).
	//
	// Quarantine and block take effect before the response. Reinstate clears
	// the agent's flag and asks for a fresh scan of each of its blocked and
	// quarantined versions, then returns; it publishes nothing itself. A
	// version is published again, signed as any publication is, only when the
	// gate's verdict on its new scan is publish, and its open review item is
	// closed with the reinstate's reason. Every other version stays held: a
	// blocked one becomes quarantined once its verdict exists, and each has an
	// open platform review item for a person to decide against the new scan.
	// A version admitted without a scan has no scan to judge and stays as it is.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /platform/agents/{ns}/{name}/{action} (the `PlatformAgentAction` operationId).
	PlatformAgentActionWithResponse(ctx context.Context, ns Namespace, name AgentName, action PlatformAgentActionParamsAction, body PlatformAgentActionJSONRequestBody, reqEditors ...RequestEditorFn) (*PlatformAgentActionResponse, error)

	// ListPlatformAuditWithResponse Audit events across every org (platform staff).
	//
	// The staff-wide slice of the audit log, newest first. Staff access to it is itself audited, one event per call.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /platform/audit (the `ListPlatformAudit` operationId).
	ListPlatformAuditWithResponse(ctx context.Context, params *ListPlatformAuditParams, reqEditors ...RequestEditorFn) (*ListPlatformAuditResponse, error)

	// ListKnowledgePackSizesWithResponse An account's or an organization's packs by name and size, for support (platform staff).
	//
	// Names, states and sizes only: never a byte of content, a digest, a scan report or a key.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /platform/knowledge (the `ListKnowledgePackSizes` operationId).
	ListKnowledgePackSizesWithResponse(ctx context.Context, params *ListKnowledgePackSizesParams, reqEditors ...RequestEditorFn) (*ListKnowledgePackSizesResponse, error)

	// GetPlatformPolicyWithResponse The read-only platform baseline policy.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /platform/policy (the `GetPlatformPolicy` operationId).
	GetPlatformPolicyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetPlatformPolicyResponse, error)

	// ListRedTeamReportsWithResponse Reports of the scheduled red-team job against the S3/S4 gate (platform staff).
	//
	// Newest first. Each report is one run of the attack corpus's rewrites (paraphrase, encoding, unicode and obfuscation mutators) scanned with the rule bundle in service, and lists the rewrites an expected rule no longer caught. Report-only: nothing on the publish path reads these.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /platform/redteam/reports (the `ListRedTeamReports` operationId).
	ListRedTeamReportsWithResponse(ctx context.Context, params *ListRedTeamReportsParams, reqEditors ...RequestEditorFn) (*ListRedTeamReportsResponse, error)

	// ListRulesetReleasesWithResponse Ruleset releases, newest first (platform staff).
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /platform/ruleset-releases (the `ListRulesetReleases` operationId).
	ListRulesetReleasesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListRulesetReleasesResponse, error)

	// CreateRulesetReleaseWithBodyWithResponse Register a ruleset release (platform staff).
	//
	// Records the versioned scanner bundle a deployment is running, so scan runs can name it. Omitting the body registers the server's own embedded bundle. Honours `Idempotency-Key`; re-registering the same semver returns the existing row.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /platform/ruleset-releases (the `CreateRulesetRelease` operationId).
	CreateRulesetReleaseWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateRulesetReleaseResponse, error)

	// CreateRulesetReleaseWithResponse Register a ruleset release (platform staff).
	//
	// Records the versioned scanner bundle a deployment is running, so scan runs can name it. Omitting the body registers the server's own embedded bundle. Honours `Idempotency-Key`; re-registering the same semver returns the existing row.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /platform/ruleset-releases (the `CreateRulesetRelease` operationId).
	CreateRulesetReleaseWithResponse(ctx context.Context, body CreateRulesetReleaseJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateRulesetReleaseResponse, error)

	// ResolveRefWithResponse Resolve ns/name@range to a concrete version.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /resolve (the `ResolveRef` operationId).
	ResolveRefWithResponse(ctx context.Context, params *ResolveRefParams, reqEditors ...RequestEditorFn) (*ResolveRefResponse, error)

	// GetReviewItemWithResponse One review item with its findings bundle.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /review-items/{id} (the `GetReviewItem` operationId).
	GetReviewItemWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetReviewItemResponse, error)

	// DecideReviewItemWithBodyWithResponse Approve or reject a version under review (not its author, unless platform staff).
	//
	// An author cannot decide their own version (403), whatever their organization role. Platform staff may decide any item, their own versions included; the decision's audit event then carries `self_decision: true`.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /review-items/{id}/decision (the `DecideReviewItem` operationId).
	DecideReviewItemWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DecideReviewItemResponse, error)

	// DecideReviewItemWithResponse Approve or reject a version under review (not its author, unless platform staff).
	//
	// An author cannot decide their own version (403), whatever their organization role. Platform staff may decide any item, their own versions included; the decision's audit event then carries `self_decision: true`.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /review-items/{id}/decision (the `DecideReviewItem` operationId).
	DecideReviewItemWithResponse(ctx context.Context, id openapi_types.UUID, body DecideReviewItemJSONRequestBody, reqEditors ...RequestEditorFn) (*DecideReviewItemResponse, error)

	// GetReviewFileWithResponse One file's content from the archive under review (reviewer/staff).
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /review-items/{id}/file (the `GetReviewFile` operationId).
	GetReviewFileWithResponse(ctx context.Context, id openapi_types.UUID, params *GetReviewFileParams, reqEditors ...RequestEditorFn) (*GetReviewFileResponse, error)

	// ListReviewFilesWithResponse File inventory of the archive under review (reviewer/staff).
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /review-items/{id}/files (the `ListReviewFiles` operationId).
	ListReviewFilesWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ListReviewFilesResponse, error)

	// ListReviewQueueWithResponse Pending review items (platform staff, or an org's security_reviewer for its queue).
	//
	// The platform queue is platform staff's. An org queue is that organization's reviewers' and platform staff's; staff may leave `org` out to list every organization's pending items, and anyone else must name it (422).
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /review-queue (the `ListReviewQueue` operationId).
	ListReviewQueueWithResponse(ctx context.Context, params *ListReviewQueueParams, reqEditors ...RequestEditorFn) (*ListReviewQueueResponse, error)

	// GetLatestRulesetAttestationWithResponse DSSE attestation over the bundle `…/latest/bundle` serves.
	//
	// An in-toto statement (predicate `https://agentry.dev/attestation/ruleset/v1`) whose subject digest is the bundle's content digest, signed with the registry's release-signing key (`/.well-known/agentry/signing-keys.json`). Lets `agentry validate --rules-update` verify a fetched bundle by signature rather than only by the digest the same server advertised. The worker signs it at start and stores it, so every replica serves the same envelope. 404 when the registry does not sign (`signing.kind: none`), or when no process holding the signing key has started with this bundle yet (a rolling deploy).
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /ruleset-releases/latest/attestation (the `GetLatestRulesetAttestation` operationId).
	GetLatestRulesetAttestationWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetLatestRulesetAttestationResponse, error)

	// GetLatestRulesetBundleWithResponse The newest published S3/S4 rule bundle, for `agentry validate --rules-update`.
	//
	// Returns the deployment's rule bundle as an uncompressed tar of the bundle directory (`bundle.yaml` plus the family YAML files), exactly the bytes `pkg/rules.LoadBundle` reads. The advertised identity travels in headers so a client can check what it got without unpacking first:
	//
	// `X-Agentry-Bundle-Semver`: the ruleset release semver; `X-Agentry-Bundle-Digest`: the `sha256:<hex>` content digest recorded on the `ruleset_releases` row; `ETag`: the same digest.
	//
	// The digest is the pin: a client MUST recompute it over the received bundle and refuse a mismatch. Bundle-level *signatures* do not exist yet; this endpoint pins by digest only.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /ruleset-releases/latest/bundle (the `GetLatestRulesetBundle` operationId).
	GetLatestRulesetBundleWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetLatestRulesetBundleResponse, error)

	// SearchAgentsWithResponse Full-text search over public agents with facets.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /search (the `SearchAgents` operationId).
	SearchAgentsWithResponse(ctx context.Context, params *SearchAgentsParams, reqEditors ...RequestEditorFn) (*SearchAgentsResponse, error)

	// ListAgentsByTagWithResponse Public agents tagged with {tag}.
	//
	// Matches the tag list of each agent's latest published manifest (`manifest.tags`, V8). Blocked agents never appear.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /tags/{tag} (the `ListAgentsByTag` operationId).
	ListAgentsByTagWithResponse(ctx context.Context, tag string, params *ListAgentsByTagParams, reqEditors ...RequestEditorFn) (*ListAgentsByTagResponse, error)

	// GetCurrentUserWithResponse The authenticated user.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /user (the `GetCurrentUser` operationId).
	GetCurrentUserWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetCurrentUserResponse, error)

	// UpdateCurrentUserWithBodyWithResponse Update profile fields.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /user (the `UpdateCurrentUser` operationId).
	UpdateCurrentUserWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateCurrentUserResponse, error)

	// UpdateCurrentUserWithResponse Update profile fields.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /user (the `UpdateCurrentUser` operationId).
	UpdateCurrentUserWithResponse(ctx context.Context, body UpdateCurrentUserJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateCurrentUserResponse, error)

	// ListUserActivityWithResponse The caller's own activity — the audit events they performed.
	//
	// Sign-ins, tokens and SSH keys created or revoked, profile and notification changes, publishes and reviews, newest first, with the address and user agent each was performed from. Keyset-paged like the agent activity feed.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /user/activity (the `ListUserActivity` operationId).
	ListUserActivityWithResponse(ctx context.Context, params *ListUserActivityParams, reqEditors ...RequestEditorFn) (*ListUserActivityResponse, error)

	// ClearCurrentUserDataWithResponse Clear the caller's credentials, installs and settings, and keep the account (session only).
	//
	// Revokes every personal access token and SSH key, deletes every remembered browser (the ones that skip the second factor), consumes every pending desktop sign-in code, ends every session but the caller's, removes every account install, and resets the display name and the notification settings to their defaults (every switch on; mail still goes only to a verified address). The account itself stays: the handle, the email, the sign-in account at the directory, organization memberships, QuickAgents with their versions and repositories, stars, the subscription and credits are untouched. Audited as `user.data_clear` with the count of each class; after the commit an extension event `user.data_cleared` carries the user id, so an extension clears what it holds for the account (hosted run history). Session only: a token is refused, and so is a request without the session's CSRF token.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /user/clear-data (the `ClearCurrentUserData` operationId).
	ClearCurrentUserDataWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ClearCurrentUserDataResponse, error)

	// DeleteCurrentUserWithResponse Erase the caller's account (GDPR flow).
	//
	// Purges personal data and pseudonymizes the account. Published public versions are never deleted: they are either yanked, so already-installed copies keep verifying, or the personal-namespace agents are transferred to an organization the caller administers. When the account has published public versions the choice is explicit: omitting `publishedContent` is a 400, never a silent yank. When the deployment holds credentials in a directory service that an extension of the server reaches, the sign-in account there is deleted in the same step; the outcome is audited as `user.directory_erase` and returned in the `X-Agentry-Directory-Erasure` header. A failed directory attempt does not undo the registry's erasure: the directory retries it where it can (`pending`), and one that does not complete is raised to the operator. An account that is an organization's last admin is refused (409 last-admin) until another admin is in place; a transfer that would put the organization over its private-agent cap is refused (422 private-agent-cap) with nothing erased. The erased account's memberships go with it.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /user/delete (the `DeleteCurrentUser` operationId).
	DeleteCurrentUserWithResponse(ctx context.Context, params *DeleteCurrentUserParams, reqEditors ...RequestEditorFn) (*DeleteCurrentUserResponse, error)

	// ListUserDependencyAlertsWithResponse Open dependency alerts on published versions the caller submitted.
	//
	// A dependency alert says a published version declares an MCP server version that the daily sweep found to carry a newly known high or critical vulnerability. It closes on its own when the version is yanked, quarantined or blocked, or when the advisory is withdrawn; publishing a fixed version does not close the old version's alert. A front end shows these; the site renders them as the banner after sign-in and on the dashboard.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /user/dependency-alerts (the `ListUserDependencyAlerts` operationId).
	ListUserDependencyAlertsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListUserDependencyAlertsResponse, error)

	// GetDomainOrgWithResponse Which organization the caller's verified email domain belongs to. 403 email-unverified until the address is verified.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /user/domain-org (the `GetDomainOrg` operationId).
	GetDomainOrgWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetDomainOrgResponse, error)

	// RequestDomainOrgAccessWithResponse Ask the administrators of the organization that holds the caller's email domain to add them (session only). Mails the admins, once a day per person (429 rate-limited afterwards), audited as `org.access_request`. 404 when no organization holds the domain; 409 when the caller is already a member there.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /user/domain-org/request-access (the `RequestDomainOrgAccess` operationId).
	RequestDomainOrgAccessWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*RequestDomainOrgAccessResponse, error)

	// SendEmailVerificationWithResponse Send the caller a new activation link.
	//
	// Mails a new link that confirms the account's address and so activates it. An unactivated account (an address not yet confirmed) can read but not write; this is one of the few writes it may make. At most one mail per account every five minutes, counted from the last one sent, the one sent at the first sign-in included: sooner is a 429 with `Retry-After` and `resendAfter`. A link works once and for 24 hours, and an earlier unexpired link keeps working. An account whose address is already confirmed, or that has no address a link can reach, is a 409.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /user/email-verification (the `SendEmailVerification` operationId).
	SendEmailVerificationWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*SendEmailVerificationResponse, error)

	// ListAccountInstallsWithResponse The caller's account installs, composed for a list.
	//
	// Every record the caller holds, newest change first. A record whose QuickAgent the caller can no longer read — made private to them, its organization suspended — is listed as the bare `ref` with `readable: false` and nothing else, so the list tells a former reader nothing they did not already know. A PAT needs `user:profile`.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /user/installs (the `ListAccountInstalls` operationId).
	ListAccountInstallsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListAccountInstallsResponse, error)

	// DeleteAccountInstallWithResponse Remove the caller's record for a QuickAgent (idempotent).
	//
	// 204 whether or not a record existed, and whether or not the name resolves: the row is the caller's own, so no QuickAgent is read and nothing is learned about one — a record whose QuickAgent the caller can no longer read is removed by the ref the list shows for it. Audited as `agent.uninstall` when a record went. A PAT needs `user:profile`.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /user/installs/{ns}/{name} (the `DeleteAccountInstall` operationId).
	DeleteAccountInstallWithResponse(ctx context.Context, ns Namespace, name AgentName, reqEditors ...RequestEditorFn) (*DeleteAccountInstallResponse, error)

	// PutAccountInstallWithBodyWithResponse Record a QuickAgent release as installed to the account, or move the record to another version.
	//
	// The version must be a published release the caller can read: a non-reader gets the missing name's 404, an unpublished version `409 version-not-published`, a blocked QuickAgent `410 blocked`. The request carries the acceptances the release needs and is refused with `409 install-consent-required`, naming the missing ones in `missing`, when it lacks any: `capabilities` on a first install and, on an update, when the new version's declared capabilities widened against the accepted snapshot (`widened` lists what did); `unsigned` whenever the release carries no attestation; `unscanned` whenever it was admitted without a scan. A PUT on an existing record is the update, to any published version, an older one included: the version moves and the snapshot follows it. The action is audited as `agent.install`; no download counter moves. A PAT needs `user:profile`, and `agent:read` for a private QuickAgent.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /user/installs/{ns}/{name} (the `PutAccountInstall` operationId).
	PutAccountInstallWithBodyWithResponse(ctx context.Context, ns Namespace, name AgentName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutAccountInstallResponse, error)

	// PutAccountInstallWithResponse Record a QuickAgent release as installed to the account, or move the record to another version.
	//
	// The version must be a published release the caller can read: a non-reader gets the missing name's 404, an unpublished version `409 version-not-published`, a blocked QuickAgent `410 blocked`. The request carries the acceptances the release needs and is refused with `409 install-consent-required`, naming the missing ones in `missing`, when it lacks any: `capabilities` on a first install and, on an update, when the new version's declared capabilities widened against the accepted snapshot (`widened` lists what did); `unsigned` whenever the release carries no attestation; `unscanned` whenever it was admitted without a scan. A PUT on an existing record is the update, to any published version, an older one included: the version moves and the snapshot follows it. The action is audited as `agent.install`; no download counter moves. A PAT needs `user:profile`, and `agent:read` for a private QuickAgent.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /user/installs/{ns}/{name} (the `PutAccountInstall` operationId).
	PutAccountInstallWithResponse(ctx context.Context, ns Namespace, name AgentName, body PutAccountInstallJSONRequestBody, reqEditors ...RequestEditorFn) (*PutAccountInstallResponse, error)

	// GetUserManagedSettingsWithResponse The managed settings the caller's organization set for them, signed.
	//
	// The values an organization's admins set for this member's Agentry clients, as a DSSE envelope of payload type `application/vnd.agentry.managed-settings+json` signed with the registry's release-signing key (the keys at `/.well-known/agentry/signing-keys.json`). The payload is described by `schemas/managed-settings-1.schema.json`. The registry sets its `registry` and `account` fields, and a client accepts a document only from the registry and for the account it is signed in to. A locked setting is one the member cannot change; one that is not locked is an organization default. The answer is 204 when no settings apply to the caller, and 503 when the registry has no signing key or no base URL, since an unsigned or unbound document is never served.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /user/managed-settings (the `GetUserManagedSettings` operationId).
	GetUserManagedSettingsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetUserManagedSettingsResponse, error)

	// GetUserNotificationSettingsWithResponse How the registry's alerts reach the caller.
	//
	// Email per kind of notification, and whether the dependency-alert banner shows in a front end (the site reads it). An account that never changed anything reads back with everything on.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /user/notifications (the `GetUserNotificationSettings` operationId).
	GetUserNotificationSettingsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetUserNotificationSettingsResponse, error)

	// UpdateUserNotificationSettingsWithBodyWithResponse Replace the caller's notification settings.
	//
	// Every required switch is sent, on or off. A write that leaves one out answers 422 naming it and changes nothing. An optional switch that is left out keeps its stored value.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /user/notifications (the `UpdateUserNotificationSettings` operationId).
	UpdateUserNotificationSettingsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateUserNotificationSettingsResponse, error)

	// UpdateUserNotificationSettingsWithResponse Replace the caller's notification settings.
	//
	// Every required switch is sent, on or off. A write that leaves one out answers 422 naming it and changes nothing. An optional switch that is left out keeps its stored value.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /user/notifications (the `UpdateUserNotificationSettings` operationId).
	UpdateUserNotificationSettingsWithResponse(ctx context.Context, body UpdateUserNotificationSettingsJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateUserNotificationSettingsResponse, error)

	// ListUserReportDesignsWithResponse The caller's report design library.
	//
	// Up to ten named report designs, oldest first, and which one is the default: the design `export_pdf` renders with in the caller's runs when the run picks none. The model never chooses a design. An account with no designs, or none as the default, reads back with no `default`, which is not the same as Plain: a signed-in client then falls to its own configuration, else Plain. The images are not listed; each entry says which it has.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /user/report-designs (the `ListUserReportDesigns` operationId).
	ListUserReportDesignsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListUserReportDesignsResponse, error)

	// CreateUserReportDesignWithBodyWithResponse Add a report design to the caller's library.
	//
	// The design is validated by the core's pkg/reportdesign before it is stored: a document that breaks a rule (an unknown key, a name off a closed list, a font in a role it cannot take, a colour that is not `#rrggbb` or whose contrast on white is too low for where it goes, a text that is not one line, a cover fact twice, an image or a custom cover over its bounds, over 24 KB without them) is refused 422 (`validation`), the field named `design.<path>`. A version-2 document is refused the same way, with no mapping. The library holds ten designs: an eleventh is 409 `conflict`. `default` makes the new design the default, and the previous default an ordinary design of the library; without it the default is unchanged. A document that carries `logo`, `coverImage` or `customCover` stores each as the core's own re-encoding of it. The answer carries the design in its canonical form, its images only on `include=assets`.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /user/report-designs (the `CreateUserReportDesign` operationId).
	CreateUserReportDesignWithBodyWithResponse(ctx context.Context, params *CreateUserReportDesignParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateUserReportDesignResponse, error)

	// CreateUserReportDesignWithResponse Add a report design to the caller's library.
	//
	// The design is validated by the core's pkg/reportdesign before it is stored: a document that breaks a rule (an unknown key, a name off a closed list, a font in a role it cannot take, a colour that is not `#rrggbb` or whose contrast on white is too low for where it goes, a text that is not one line, a cover fact twice, an image or a custom cover over its bounds, over 24 KB without them) is refused 422 (`validation`), the field named `design.<path>`. A version-2 document is refused the same way, with no mapping. The library holds ten designs: an eleventh is 409 `conflict`. `default` makes the new design the default, and the previous default an ordinary design of the library; without it the default is unchanged. A document that carries `logo`, `coverImage` or `customCover` stores each as the core's own re-encoding of it. The answer carries the design in its canonical form, its images only on `include=assets`.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /user/report-designs (the `CreateUserReportDesign` operationId).
	CreateUserReportDesignWithResponse(ctx context.Context, params *CreateUserReportDesignParams, body CreateUserReportDesignJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateUserReportDesignResponse, error)

	// SetUserReportDesignDefaultWithBodyWithResponse Set which of the caller's designs their runs take by default.
	//
	// An id of one of the caller's designs makes it the default; another account's id, or none the caller has, is 404. No id, or null, makes no design the default, so a run falls to the client's own choice. The answer is the library as it now is.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /user/report-designs/default (the `SetUserReportDesignDefault` operationId).
	SetUserReportDesignDefaultWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetUserReportDesignDefaultResponse, error)

	// SetUserReportDesignDefaultWithResponse Set which of the caller's designs their runs take by default.
	//
	// An id of one of the caller's designs makes it the default; another account's id, or none the caller has, is 404. No id, or null, makes no design the default, so a run falls to the client's own choice. The answer is the library as it now is.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /user/report-designs/default (the `SetUserReportDesignDefault` operationId).
	SetUserReportDesignDefaultWithResponse(ctx context.Context, body SetUserReportDesignDefaultJSONRequestBody, reqEditors ...RequestEditorFn) (*SetUserReportDesignDefaultResponse, error)

	// DeleteUserReportDesignWithResponse Remove one of the caller's report designs, images included.
	//
	// Removing the default leaves the account with no default. Another account's design, or one already gone, is 404.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /user/report-designs/{designId} (the `DeleteUserReportDesign` operationId).
	DeleteUserReportDesignWithResponse(ctx context.Context, designId ReportDesignId, reqEditors ...RequestEditorFn) (*DeleteUserReportDesignResponse, error)

	// GetUserReportDesignWithResponse One of the caller's report designs.
	//
	// The design in its canonical form. Its images (`logo`, `coverImage`, `customCover`) come only with `include=assets`: a client that does not draw them reads the document without them. Another account's design is 404.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /user/report-designs/{designId} (the `GetUserReportDesign` operationId).
	GetUserReportDesignWithResponse(ctx context.Context, designId ReportDesignId, params *GetUserReportDesignParams, reqEditors ...RequestEditorFn) (*GetUserReportDesignResponse, error)

	// UpdateUserReportDesignWithBodyWithResponse Replace one of the caller's report designs.
	//
	// A full replace of the document, validated as a create is, the field named `design.<path>` on a refusal, and the stored design standing. The images stay as they are unless the document carries them: a `logo`, `coverImage` or `customCover` in the document replaces the stored one with the core's own re-encoding of it, and a document without them leaves them, so a client that does not know an image never drops one by saving (remove one with its DELETE route). Whether the design is the default is not changed here.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /user/report-designs/{designId} (the `UpdateUserReportDesign` operationId).
	UpdateUserReportDesignWithBodyWithResponse(ctx context.Context, designId ReportDesignId, params *UpdateUserReportDesignParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateUserReportDesignResponse, error)

	// UpdateUserReportDesignWithResponse Replace one of the caller's report designs.
	//
	// A full replace of the document, validated as a create is, the field named `design.<path>` on a refusal, and the stored design standing. The images stay as they are unless the document carries them: a `logo`, `coverImage` or `customCover` in the document replaces the stored one with the core's own re-encoding of it, and a document without them leaves them, so a client that does not know an image never drops one by saving (remove one with its DELETE route). Whether the design is the default is not changed here.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /user/report-designs/{designId} (the `UpdateUserReportDesign` operationId).
	UpdateUserReportDesignWithResponse(ctx context.Context, designId ReportDesignId, params *UpdateUserReportDesignParams, body UpdateUserReportDesignJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateUserReportDesignResponse, error)

	// DeleteUserReportDesignCoverImageWithResponse Remove the cover image from one of the caller's report designs.
	//
	// The design stays. Removing a cover image that is not there is not an error. The answer carries the design with its images.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /user/report-designs/{designId}/cover-image (the `DeleteUserReportDesignCoverImage` operationId).
	DeleteUserReportDesignCoverImageWithResponse(ctx context.Context, designId ReportDesignId, reqEditors ...RequestEditorFn) (*DeleteUserReportDesignCoverImageResponse, error)

	// PutUserReportDesignCoverImageWithBodyWithResponse Set the cover image of one of the caller's report designs.
	//
	// Multipart, one part named `file`: PNG or JPEG, at most 2 MB. The core decodes it, scales it down to fit 2048 pixels each way and encodes it again from the pixels in the format it came in (a photograph stays a JPEG), so nothing of the upload but its pixels is kept; the runner draws it across the top of a plate cover and offers it to a custom cover, and it never comes from the model or a URL. Anything but a PNG or a JPEG is 415 `unsupported-image`; over 2 MB, over 16 million pixels, or over 2 MB encoded again is 413 `upload-too-large`. Replaces any cover image the design had. The answer carries the design with its images.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /user/report-designs/{designId}/cover-image (the `PutUserReportDesignCoverImage` operationId).
	PutUserReportDesignCoverImageWithBodyWithResponse(ctx context.Context, designId ReportDesignId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutUserReportDesignCoverImageResponse, error)

	// DeleteUserReportDesignCustomCoverWithResponse Remove the custom cover from one of the caller's report designs.
	//
	// The design stays, its cover style included: a `custom` style with no custom cover draws the band style. Removing a custom cover that is not there is not an error. The answer carries the design with its images.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /user/report-designs/{designId}/custom-cover (the `DeleteUserReportDesignCustomCover` operationId).
	DeleteUserReportDesignCustomCoverWithResponse(ctx context.Context, designId ReportDesignId, reqEditors ...RequestEditorFn) (*DeleteUserReportDesignCustomCoverResponse, error)

	// PutUserReportDesignCustomCoverWithBodyWithResponse Set the custom cover of one of the caller's report designs.
	//
	// The custom cover whole: its Typst source (at most 32 KiB of text), its images (at most six, each a PNG or a JPEG in base64 that the core decodes, pixel-caps and encodes again in its format, 2 MB in all as stored) and, optionally, a PNG thumbnail of its last render (at most 300 KB). The source is code the runner compiles only under the confinement every export runs in, with the render root as its whole world; it is held to its bounds here, not read. A cover over a bound is 422 (`validation`) naming `customCover.<path>`; an image in no format the core reads is 415 `unsupported-image`. Replaces any custom cover the design had. The design draws it only while its cover style is `custom`. The answer carries the design with its images.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /user/report-designs/{designId}/custom-cover (the `PutUserReportDesignCustomCover` operationId).
	PutUserReportDesignCustomCoverWithBodyWithResponse(ctx context.Context, designId ReportDesignId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutUserReportDesignCustomCoverResponse, error)

	// PutUserReportDesignCustomCoverWithResponse Set the custom cover of one of the caller's report designs.
	//
	// The custom cover whole: its Typst source (at most 32 KiB of text), its images (at most six, each a PNG or a JPEG in base64 that the core decodes, pixel-caps and encodes again in its format, 2 MB in all as stored) and, optionally, a PNG thumbnail of its last render (at most 300 KB). The source is code the runner compiles only under the confinement every export runs in, with the render root as its whole world; it is held to its bounds here, not read. A cover over a bound is 422 (`validation`) naming `customCover.<path>`; an image in no format the core reads is 415 `unsupported-image`. Replaces any custom cover the design had. The design draws it only while its cover style is `custom`. The answer carries the design with its images.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /user/report-designs/{designId}/custom-cover (the `PutUserReportDesignCustomCover` operationId).
	PutUserReportDesignCustomCoverWithResponse(ctx context.Context, designId ReportDesignId, body PutUserReportDesignCustomCoverJSONRequestBody, reqEditors ...RequestEditorFn) (*PutUserReportDesignCustomCoverResponse, error)

	// DeleteUserReportDesignLogoWithResponse Remove the logo from one of the caller's report designs.
	//
	// The design stays. Removing a logo that is not there is not an error. The answer carries the design with its images.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /user/report-designs/{designId}/logo (the `DeleteUserReportDesignLogo` operationId).
	DeleteUserReportDesignLogoWithResponse(ctx context.Context, designId ReportDesignId, reqEditors ...RequestEditorFn) (*DeleteUserReportDesignLogoResponse, error)

	// PutUserReportDesignLogoWithBodyWithResponse Set the logo of one of the caller's report designs.
	//
	// Multipart, one part named `file`: PNG or JPEG, at most 512 KB. The core decodes it, scales it down to fit 1024 pixels each way and encodes it again as PNG from the pixels, so nothing of the upload but its pixels is kept; the runner draws it in the title block, on a cover whose facts include it and in a logoLeft header, and it never comes from the model or a URL. Anything but a PNG or a JPEG (SVG and GIF included) is 415 `unsupported-image`; over 512 KB, over 16 million pixels, or over 512 KB as a PNG is 413 `upload-too-large`. Replaces any logo the design had. The answer carries the design with its images.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /user/report-designs/{designId}/logo (the `PutUserReportDesignLogo` operationId).
	PutUserReportDesignLogoWithBodyWithResponse(ctx context.Context, designId ReportDesignId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutUserReportDesignLogoResponse, error)

	// RevokeOtherUserSessionsWithResponse Revoke every session except the calling one ("sign out everywhere else").
	//
	// The calling session survives, so the caller is not logged out of the browser they are using. Session-only: a PAT cannot revoke sessions (403), for the same reason it cannot list them.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /user/sessions (the `RevokeOtherUserSessions` operationId).
	RevokeOtherUserSessionsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*RevokeOtherUserSessionsResponse, error)

	// ListUserSessionsWithResponse List the caller's active browser sessions.
	//
	// Sessions are cookie sessions. A PAT-authenticated caller has no sessions of its own, so the list is empty (200, not an error). A PAT is not a way to enumerate someone's browser sessions.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /user/sessions (the `ListUserSessions` operationId).
	ListUserSessionsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListUserSessionsResponse, error)

	// RevokeUserSessionWithResponse Revoke one of the caller's own sessions.
	//
	// Own sessions only. An id that is not one of the caller's live sessions answers 404 whether it does not exist or belongs to somebody else. The two are deliberately indistinguishable. Session-only: a PAT cannot revoke sessions (403).
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /user/sessions/{sessionId} (the `RevokeUserSession` operationId).
	RevokeUserSessionWithResponse(ctx context.Context, sessionId openapi_types.UUID, reqEditors ...RequestEditorFn) (*RevokeUserSessionResponse, error)

	// ListSshKeysWithResponse List the caller's SSH public keys for the git transport.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /user/ssh-keys (the `ListSshKeys` operationId).
	ListSshKeysWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListSshKeysResponse, error)

	// AddSshKeyWithBodyWithResponse Register an SSH public key for ssh://git@…/{ns}/{name}.git (session-only).
	//
	// Refused with `403 feature-not-included` where the caller's subscription does not include adding SSH keys; a self-hosted registry includes it. Keys already held keep working and can be listed and removed on every subscription.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /user/ssh-keys (the `AddSshKey` operationId).
	AddSshKeyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddSshKeyResponse, error)

	// AddSshKeyWithResponse Register an SSH public key for ssh://git@…/{ns}/{name}.git (session-only).
	//
	// Refused with `403 feature-not-included` where the caller's subscription does not include adding SSH keys; a self-hosted registry includes it. Keys already held keep working and can be listed and removed on every subscription.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /user/ssh-keys (the `AddSshKey` operationId).
	AddSshKeyWithResponse(ctx context.Context, body AddSshKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*AddSshKeyResponse, error)

	// RemoveSshKeyWithResponse Remove an SSH public key (session-only).
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /user/ssh-keys/{keyId} (the `RemoveSshKey` operationId).
	RemoveSshKeyWithResponse(ctx context.Context, keyId openapi_types.UUID, reqEditors ...RequestEditorFn) (*RemoveSshKeyResponse, error)

	// UnstarAgentWithResponse Remove a star (idempotent).
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /user/stars/{ns}/{name} (the `UnstarAgent` operationId).
	UnstarAgentWithResponse(ctx context.Context, ns Namespace, name AgentName, reqEditors ...RequestEditorFn) (*UnstarAgentResponse, error)

	// StarAgentWithResponse Star an agent (idempotent).
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /user/stars/{ns}/{name} (the `StarAgent` operationId).
	StarAgentWithResponse(ctx context.Context, ns Namespace, name AgentName, reqEditors ...RequestEditorFn) (*StarAgentResponse, error)

	// ListTokensWithResponse List the caller's personal access tokens (metadata only).
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /user/tokens (the `ListTokens` operationId).
	ListTokensWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListTokensResponse, error)

	// CreateTokenWithBodyWithResponse Mint a PAT. The secret is returned exactly once.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /user/tokens (the `CreateToken` operationId).
	CreateTokenWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateTokenResponse, error)

	// CreateTokenWithResponse Mint a PAT. The secret is returned exactly once.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /user/tokens (the `CreateToken` operationId).
	CreateTokenWithResponse(ctx context.Context, body CreateTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateTokenResponse, error)

	// CreateDesktopGrantWithBodyWithResponse Record a one-time grant for the desktop app's browser sign-in.
	//
	// Session-only. The server's own `/ui/authorize` page calls this after the user consents; the response is a short-lived, single-use `code` bound to the app's `state` nonce. No token is minted here — the desktop app exchanges the code at `POST /auth/desktop/exchange` from its own process, so the PAT never travels in a URL. The grant's scopes are fixed to the desktop set (agent:read, agent:publish, repo:read, repo:write, user:profile, run:read, run:write). With `runhost`, the grant is for a remote runhost instead: its token carries `credits:session` alone and is named `Runhost <name> (credits only)`.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /user/tokens/desktop-grant (the `CreateDesktopGrant` operationId).
	CreateDesktopGrantWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateDesktopGrantResponse, error)

	// CreateDesktopGrantWithResponse Record a one-time grant for the desktop app's browser sign-in.
	//
	// Session-only. The server's own `/ui/authorize` page calls this after the user consents; the response is a short-lived, single-use `code` bound to the app's `state` nonce. No token is minted here — the desktop app exchanges the code at `POST /auth/desktop/exchange` from its own process, so the PAT never travels in a URL. The grant's scopes are fixed to the desktop set (agent:read, agent:publish, repo:read, repo:write, user:profile, run:read, run:write). With `runhost`, the grant is for a remote runhost instead: its token carries `credits:session` alone and is named `Runhost <name> (credits only)`.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /user/tokens/desktop-grant (the `CreateDesktopGrant` operationId).
	CreateDesktopGrantWithResponse(ctx context.Context, body CreateDesktopGrantJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateDesktopGrantResponse, error)

	// RevokeTokenWithResponse Revoke a PAT immediately.
	//
	// Session-only, except that a PAT may revoke itself, whatever its scopes, `credits:session` included.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /user/tokens/{tokenId} (the `RevokeToken` operationId).
	RevokeTokenWithResponse(ctx context.Context, tokenId openapi_types.UUID, reqEditors ...RequestEditorFn) (*RevokeTokenResponse, error)

	// ClearTrustedDevicesWithResponse Clear every remembered browser of the caller's account.
	//
	// Revokes all of the caller's remembered browsers, this one included: each is asked for the second factor at its next sign-in, since the directory that set its cookie finds no record behind it. Sessions and authenticators are untouched. Session-only: a PAT is refused (403), as on the session-revoking routes.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /user/trusted-devices (the `ClearTrustedDevices` operationId).
	ClearTrustedDevicesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ClearTrustedDevicesResponse, error)

	// CountTrustedDevicesWithResponse How many browsers skip the caller's second factor.
	//
	// The number of the caller's live remembered browsers: browsers where "Remember this device for 30 days" was ticked and whose record has not expired or been revoked. There is no list: the account's control is one button that clears them all. A PAT-authenticated caller gets 0, as it gets an empty session list: a token is not a way to take an inventory of someone's browsers.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /user/trusted-devices (the `CountTrustedDevices` operationId).
	CountTrustedDevicesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*CountTrustedDevicesResponse, error)

	// GetUserProfileWithResponse Public profile for a user handle.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /users/{handle} (the `GetUserProfile` operationId).
	GetUserProfileWithResponse(ctx context.Context, handle Handle, reqEditors ...RequestEditorFn) (*GetUserProfileResponse, error)

	// DeleteVoiceWithResponse Delete the caller's voice, every version of it and its data key.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /voice (the `DeleteVoice` operationId).
	DeleteVoiceWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DeleteVoiceResponse, error)

	// GetVoiceWithResponse The caller's Writing Voice, every version's text with its review.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /voice (the `GetVoice` operationId).
	GetVoiceWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetVoiceResponse, error)

	// PutVoiceWithBodyWithResponse Put a new version of the caller's voice, to be reviewed before it is live.
	//
	// The text becomes the pending version, replacing any pending one, and its review is queued; the live version stays live until this one passes. `source` is `edit` for text saved on the web and `upload` for a voice sent from a client. A deployment whose extension charges for the review may refuse the call in its own status and words (a balance, say) before anything is stored.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /voice (the `PutVoice` operationId).
	PutVoiceWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutVoiceResponse, error)

	// PutVoiceWithResponse Put a new version of the caller's voice, to be reviewed before it is live.
	//
	// The text becomes the pending version, replacing any pending one, and its review is queued; the live version stays live until this one passes. `source` is `edit` for text saved on the web and `upload` for a voice sent from a client. A deployment whose extension charges for the review may refuse the call in its own status and words (a balance, say) before anything is stored.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /voice (the `PutVoice` operationId).
	PutVoiceWithResponse(ctx context.Context, body PutVoiceJSONRequestBody, reqEditors ...RequestEditorFn) (*PutVoiceResponse, error)

	// DiscardVoicePendingWithResponse Drop the caller's pending version, in review or flagged.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /voice/pending (the `DiscardVoicePending` operationId).
	DiscardVoicePendingWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DiscardVoicePendingResponse, error)

	// RestoreVoiceWithResponse Put the previous version back.
	//
	// A previous version reviewed under the question set in use now trades places with the live one at once (200). One reviewed under another set becomes the pending version, source `restore`, and is reviewed like any other (202); a deployment that charges for a review may refuse that call first.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /voice/restore (the `RestoreVoice` operationId).
	RestoreVoiceWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*RestoreVoiceResponse, error)

	// UpdateVoiceSettingsWithBodyWithResponse Set whether runs In Agentry attach the caller's live voice by default.
	//
	// The flag comes on when a voice first goes live; a field not sent keeps its value.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /voice/settings (the `UpdateVoiceSettings` operationId).
	UpdateVoiceSettingsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateVoiceSettingsResponse, error)

	// UpdateVoiceSettingsWithResponse Set whether runs In Agentry attach the caller's live voice by default.
	//
	// The flag comes on when a voice first goes live; a field not sent keeps its value.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /voice/settings (the `UpdateVoiceSettings` operationId).
	UpdateVoiceSettingsWithResponse(ctx context.Context, body UpdateVoiceSettingsJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateVoiceSettingsResponse, error)
}

ClientWithResponsesInterface is the interface specification for the client with responses above.

type ConnectorInfo

type ConnectorInfo struct {
	// Id Stable id, such as `github` or `microsoft-365`.
	//
	// Example: microsoft-365
	Id string `json:"id"`

	// Name Example: Microsoft 365
	Name string `json:"name"`

	// PublicClientId The public client id this deployment registered for the connector (configuration `connectors.publicClients`); absent where none is configured or the strategy takes none.
	PublicClientId *string `json:"publicClientId,omitempty"`

	// Strategy How the connector's app signs a person in: `agentry-confidential` (Agentry's web client, whose secret stays with the deployment) or `agentry-public` (a public client id with no secret, listed here when configured).
	Strategy ConnectorInfoStrategy `json:"strategy"`

	// Vendor Example: Microsoft
	Vendor string `json:"vendor"`
}

ConnectorInfo One connector of Agentry's catalogue. A declared server gets the connector's app only when it is one of the connector's vetted servers, matched by the client from the catalogue it is built with.

type ConnectorInfoStrategy

type ConnectorInfoStrategy string

ConnectorInfoStrategy How the connector's app signs a person in: `agentry-confidential` (Agentry's web client, whose secret stays with the deployment) or `agentry-public` (a public client id with no secret, listed here when configured).

const (
	AgentryConfidential ConnectorInfoStrategy = "agentry-confidential"
	AgentryPublic       ConnectorInfoStrategy = "agentry-public"
)

Defines values for ConnectorInfoStrategy.

func (ConnectorInfoStrategy) Valid

func (e ConnectorInfoStrategy) Valid() bool

Valid indicates whether the value is a known member of the ConnectorInfoStrategy enum.

type ConnectorList

type ConnectorList struct {
	Connectors []ConnectorInfo `json:"connectors"`
}

ConnectorList defines model for ConnectorList.

type CountTrustedDevicesResponse

type CountTrustedDevicesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *TrustedDevicesCount
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseCountTrustedDevicesResponse

func ParseCountTrustedDevicesResponse(rsp *http.Response) (*CountTrustedDevicesResponse, error)

ParseCountTrustedDevicesResponse parses an HTTP response from a CountTrustedDevicesWithResponse call

func (CountTrustedDevicesResponse) ContentType

func (r CountTrustedDevicesResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CountTrustedDevicesResponse) GetApplicationproblemJSONDefault

func (r CountTrustedDevicesResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (CountTrustedDevicesResponse) GetBody

func (r CountTrustedDevicesResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (CountTrustedDevicesResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (CountTrustedDevicesResponse) Status

Status returns HTTPResponse.Status

func (CountTrustedDevicesResponse) StatusCode

func (r CountTrustedDevicesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateAgentJSONRequestBody

type CreateAgentJSONRequestBody = CreateAgentRequest

CreateAgentJSONRequestBody defines body for CreateAgent for application/json ContentType.

type CreateAgentRequest

type CreateAgentRequest struct {
	// Modes The run modes a release supports; at least one.
	Modes AgentModes `json:"modes"`
	Name  string     `json:"name"`

	// Namespace User or org handle owning the agent.
	Namespace  string                        `json:"namespace"`
	Summary    *string                       `json:"summary,omitempty"`
	Visibility *CreateAgentRequestVisibility `json:"visibility,omitempty"`
}

CreateAgentRequest defines model for CreateAgentRequest.

type CreateAgentRequestVisibility

type CreateAgentRequestVisibility string

CreateAgentRequestVisibility defines model for CreateAgentRequest.Visibility.

const (
	CreateAgentRequestVisibilityPrivate CreateAgentRequestVisibility = "private"
	CreateAgentRequestVisibilityPublic  CreateAgentRequestVisibility = "public"
)

Defines values for CreateAgentRequestVisibility.

func (CreateAgentRequestVisibility) Valid

Valid indicates whether the value is a known member of the CreateAgentRequestVisibility enum.

type CreateAgentResponse

type CreateAgentResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *Agent
	// ApplicationproblemJSON422 the response for an HTTP 422 `application/problem+json` response
	ApplicationproblemJSON422 *Problem
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseCreateAgentResponse

func ParseCreateAgentResponse(rsp *http.Response) (*CreateAgentResponse, error)

ParseCreateAgentResponse parses an HTTP response from a CreateAgentWithResponse call

func (CreateAgentResponse) ContentType

func (r CreateAgentResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreateAgentResponse) GetApplicationproblemJSON422

func (r CreateAgentResponse) GetApplicationproblemJSON422() *Problem

GetApplicationproblemJSON422 returns the response for an HTTP 422 `application/problem+json` response

func (CreateAgentResponse) GetApplicationproblemJSONDefault

func (r CreateAgentResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (CreateAgentResponse) GetBody

func (r CreateAgentResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (CreateAgentResponse) GetJSON201

func (r CreateAgentResponse) GetJSON201() *Agent

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (CreateAgentResponse) Status

func (r CreateAgentResponse) Status() string

Status returns HTTPResponse.Status

func (CreateAgentResponse) StatusCode

func (r CreateAgentResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateAuditExportJSONBody

type CreateAuditExportJSONBody struct {
	// Action Optional action filter.
	Action *string `json:"action,omitempty"`
}

CreateAuditExportJSONBody defines parameters for CreateAuditExport.

type CreateAuditExportJSONRequestBody

type CreateAuditExportJSONRequestBody CreateAuditExportJSONBody

CreateAuditExportJSONRequestBody defines body for CreateAuditExport for application/json ContentType.

type CreateAuditExportResponse

type CreateAuditExportResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON202 the response for an HTTP 202 `application/json` response
	JSON202 *AuditExport
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseCreateAuditExportResponse

func ParseCreateAuditExportResponse(rsp *http.Response) (*CreateAuditExportResponse, error)

ParseCreateAuditExportResponse parses an HTTP response from a CreateAuditExportWithResponse call

func (CreateAuditExportResponse) ContentType

func (r CreateAuditExportResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreateAuditExportResponse) GetApplicationproblemJSONDefault

func (r CreateAuditExportResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (CreateAuditExportResponse) GetBody

func (r CreateAuditExportResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (CreateAuditExportResponse) GetJSON202

func (r CreateAuditExportResponse) GetJSON202() *AuditExport

GetJSON202 returns the response for an HTTP 202 `application/json` response

func (CreateAuditExportResponse) Status

func (r CreateAuditExportResponse) Status() string

Status returns HTTPResponse.Status

func (CreateAuditExportResponse) StatusCode

func (r CreateAuditExportResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateDesktopGrantJSONRequestBody

type CreateDesktopGrantJSONRequestBody = DesktopGrantRequest

CreateDesktopGrantJSONRequestBody defines body for CreateDesktopGrant for application/json ContentType.

type CreateDesktopGrantResponse

type CreateDesktopGrantResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *DesktopGrant
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseCreateDesktopGrantResponse

func ParseCreateDesktopGrantResponse(rsp *http.Response) (*CreateDesktopGrantResponse, error)

ParseCreateDesktopGrantResponse parses an HTTP response from a CreateDesktopGrantWithResponse call

func (CreateDesktopGrantResponse) ContentType

func (r CreateDesktopGrantResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreateDesktopGrantResponse) GetApplicationproblemJSONDefault

func (r CreateDesktopGrantResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (CreateDesktopGrantResponse) GetBody

func (r CreateDesktopGrantResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (CreateDesktopGrantResponse) GetJSON201

func (r CreateDesktopGrantResponse) GetJSON201() *DesktopGrant

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (CreateDesktopGrantResponse) Status

Status returns HTTPResponse.Status

func (CreateDesktopGrantResponse) StatusCode

func (r CreateDesktopGrantResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateDomainClaimJSONBody

type CreateDomainClaimJSONBody struct {
	Domain string `json:"domain"`
}

CreateDomainClaimJSONBody defines parameters for CreateDomainClaim.

type CreateDomainClaimJSONRequestBody

type CreateDomainClaimJSONRequestBody CreateDomainClaimJSONBody

CreateDomainClaimJSONRequestBody defines body for CreateDomainClaim for application/json ContentType.

type CreateDomainClaimResponse

type CreateDomainClaimResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *DomainClaim
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseCreateDomainClaimResponse

func ParseCreateDomainClaimResponse(rsp *http.Response) (*CreateDomainClaimResponse, error)

ParseCreateDomainClaimResponse parses an HTTP response from a CreateDomainClaimWithResponse call

func (CreateDomainClaimResponse) ContentType

func (r CreateDomainClaimResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreateDomainClaimResponse) GetApplicationproblemJSONDefault

func (r CreateDomainClaimResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (CreateDomainClaimResponse) GetBody

func (r CreateDomainClaimResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (CreateDomainClaimResponse) GetJSON201

func (r CreateDomainClaimResponse) GetJSON201() *DomainClaim

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (CreateDomainClaimResponse) Status

func (r CreateDomainClaimResponse) Status() string

Status returns HTTPResponse.Status

func (CreateDomainClaimResponse) StatusCode

func (r CreateDomainClaimResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateInvitationJSONRequestBody

type CreateInvitationJSONRequestBody = CreateInvitationRequest

CreateInvitationJSONRequestBody defines body for CreateInvitation for application/json ContentType.

type CreateInvitationRequest

type CreateInvitationRequest struct {
	Email string `json:"email"`

	// Role The role a PUT assigns. security_reviewer is refused outside a first-party organization. `owner` is accepted by the schema but refused with a 422 that names the roles that exist.
	Role *OrgRoleAssignment `json:"role,omitempty"`
}

CreateInvitationRequest defines model for CreateInvitationRequest.

type CreateInvitationResponse

type CreateInvitationResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *CreatedInvitation
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseCreateInvitationResponse

func ParseCreateInvitationResponse(rsp *http.Response) (*CreateInvitationResponse, error)

ParseCreateInvitationResponse parses an HTTP response from a CreateInvitationWithResponse call

func (CreateInvitationResponse) ContentType

func (r CreateInvitationResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreateInvitationResponse) GetApplicationproblemJSONDefault

func (r CreateInvitationResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (CreateInvitationResponse) GetBody

func (r CreateInvitationResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (CreateInvitationResponse) GetJSON201

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (CreateInvitationResponse) Status

func (r CreateInvitationResponse) Status() string

Status returns HTTPResponse.Status

func (CreateInvitationResponse) StatusCode

func (r CreateInvitationResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateKnowledgePackJSONRequestBody

type CreateKnowledgePackJSONRequestBody = CreateKnowledgePackRequest

CreateKnowledgePackJSONRequestBody defines body for CreateKnowledgePack for application/json ContentType.

type CreateKnowledgePackRequest

type CreateKnowledgePackRequest struct {
	Name string `json:"name"`

	// WrappedKey A pack's data key as a wrapper sealed it: the wrapper's `kind` (`deployment` on a core registry), the `recipient` it is wrapped to (a key's id, never a key), and the sealed bytes.
	WrappedKey KnowledgeWrappedKey `json:"wrappedKey"`
}

CreateKnowledgePackRequest defines model for CreateKnowledgePackRequest.

type CreateKnowledgePackResponse

type CreateKnowledgePackResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *KnowledgePack
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseCreateKnowledgePackResponse

func ParseCreateKnowledgePackResponse(rsp *http.Response) (*CreateKnowledgePackResponse, error)

ParseCreateKnowledgePackResponse parses an HTTP response from a CreateKnowledgePackWithResponse call

func (CreateKnowledgePackResponse) ContentType

func (r CreateKnowledgePackResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreateKnowledgePackResponse) GetApplicationproblemJSONDefault

func (r CreateKnowledgePackResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (CreateKnowledgePackResponse) GetBody

func (r CreateKnowledgePackResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (CreateKnowledgePackResponse) GetJSON201

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (CreateKnowledgePackResponse) Status

Status returns HTTPResponse.Status

func (CreateKnowledgePackResponse) StatusCode

func (r CreateKnowledgePackResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateOrgJSONRequestBody

type CreateOrgJSONRequestBody = CreateOrgRequest

CreateOrgJSONRequestBody defines body for CreateOrg for application/json ContentType.

type CreateOrgKnowledgePackJSONRequestBody

type CreateOrgKnowledgePackJSONRequestBody = CreateKnowledgePackRequest

CreateOrgKnowledgePackJSONRequestBody defines body for CreateOrgKnowledgePack for application/json ContentType.

type CreateOrgKnowledgePackResponse

type CreateOrgKnowledgePackResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *KnowledgePack
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseCreateOrgKnowledgePackResponse

func ParseCreateOrgKnowledgePackResponse(rsp *http.Response) (*CreateOrgKnowledgePackResponse, error)

ParseCreateOrgKnowledgePackResponse parses an HTTP response from a CreateOrgKnowledgePackWithResponse call

func (CreateOrgKnowledgePackResponse) ContentType

func (r CreateOrgKnowledgePackResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreateOrgKnowledgePackResponse) GetApplicationproblemJSONDefault

func (r CreateOrgKnowledgePackResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (CreateOrgKnowledgePackResponse) GetBody

func (r CreateOrgKnowledgePackResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (CreateOrgKnowledgePackResponse) GetJSON201

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (CreateOrgKnowledgePackResponse) Status

Status returns HTTPResponse.Status

func (CreateOrgKnowledgePackResponse) StatusCode

func (r CreateOrgKnowledgePackResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateOrgReportDesignJSONRequestBody added in v0.7.5

type CreateOrgReportDesignJSONRequestBody = OrgReportDesignCreate

CreateOrgReportDesignJSONRequestBody defines body for CreateOrgReportDesign for application/json ContentType.

type CreateOrgReportDesignParams added in v0.7.5

type CreateOrgReportDesignParams struct {
	// Include `assets` answers the design with its images (`logo`, `coverImage`, `customCover`), if it has them. Without it the document comes without those keys, so a client that does not draw them reads it whole and small.
	Include *ReportDesignInclude `form:"include,omitempty" json:"include,omitempty"`
}

CreateOrgReportDesignParams defines parameters for CreateOrgReportDesign.

type CreateOrgReportDesignResponse added in v0.7.5

type CreateOrgReportDesignResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *OrgReportDesignRecord
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseCreateOrgReportDesignResponse added in v0.7.5

func ParseCreateOrgReportDesignResponse(rsp *http.Response) (*CreateOrgReportDesignResponse, error)

ParseCreateOrgReportDesignResponse parses an HTTP response from a CreateOrgReportDesignWithResponse call

func (CreateOrgReportDesignResponse) ContentType added in v0.7.5

func (r CreateOrgReportDesignResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreateOrgReportDesignResponse) GetApplicationproblemJSONDefault added in v0.7.5

func (r CreateOrgReportDesignResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (CreateOrgReportDesignResponse) GetBody added in v0.7.5

func (r CreateOrgReportDesignResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (CreateOrgReportDesignResponse) GetJSON201 added in v0.7.5

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (CreateOrgReportDesignResponse) Status added in v0.7.5

Status returns HTTPResponse.Status

func (CreateOrgReportDesignResponse) StatusCode added in v0.7.5

func (r CreateOrgReportDesignResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateOrgRequest

type CreateOrgRequest struct {
	DisplayName string `json:"displayName"`

	// Domain The domain the organization is keyed on. Omitted, it is the domain of the creator's verified email address; `none` records no domain; the creator's own domain, spelled out, is accepted. Any other value is 422 — a further domain is claimed over DNS (`POST /orgs/{org}/domain-claims`). A domain no single organization owns (a public mail provider, a reserved name) is recorded as none whatever is sent. A domain that already belongs to an organization is `409 domain-claimed`.
	Domain *string `json:"domain,omitempty"`
	Handle string  `json:"handle"`
}

CreateOrgRequest defines model for CreateOrgRequest.

type CreateOrgResponse

type CreateOrgResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *Org
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseCreateOrgResponse

func ParseCreateOrgResponse(rsp *http.Response) (*CreateOrgResponse, error)

ParseCreateOrgResponse parses an HTTP response from a CreateOrgWithResponse call

func (CreateOrgResponse) ContentType

func (r CreateOrgResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreateOrgResponse) GetApplicationproblemJSONDefault

func (r CreateOrgResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (CreateOrgResponse) GetBody

func (r CreateOrgResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (CreateOrgResponse) GetJSON201

func (r CreateOrgResponse) GetJSON201() *Org

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (CreateOrgResponse) Status

func (r CreateOrgResponse) Status() string

Status returns HTTPResponse.Status

func (CreateOrgResponse) StatusCode

func (r CreateOrgResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateRulesetReleaseJSONBody

type CreateRulesetReleaseJSONBody struct {
	// BundleDigest sha256:<hex> of the bundle.
	BundleDigest *string `json:"bundleDigest,omitempty"`
	Notes        *string `json:"notes,omitempty"`
	Semver       *string `json:"semver,omitempty"`
}

CreateRulesetReleaseJSONBody defines parameters for CreateRulesetRelease.

type CreateRulesetReleaseJSONRequestBody

type CreateRulesetReleaseJSONRequestBody CreateRulesetReleaseJSONBody

CreateRulesetReleaseJSONRequestBody defines body for CreateRulesetRelease for application/json ContentType.

type CreateRulesetReleaseResponse

type CreateRulesetReleaseResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *RulesetRelease
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *RulesetRelease
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseCreateRulesetReleaseResponse

func ParseCreateRulesetReleaseResponse(rsp *http.Response) (*CreateRulesetReleaseResponse, error)

ParseCreateRulesetReleaseResponse parses an HTTP response from a CreateRulesetReleaseWithResponse call

func (CreateRulesetReleaseResponse) ContentType

func (r CreateRulesetReleaseResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreateRulesetReleaseResponse) GetApplicationproblemJSONDefault

func (r CreateRulesetReleaseResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (CreateRulesetReleaseResponse) GetBody

func (r CreateRulesetReleaseResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (CreateRulesetReleaseResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (CreateRulesetReleaseResponse) GetJSON201

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (CreateRulesetReleaseResponse) Status

Status returns HTTPResponse.Status

func (CreateRulesetReleaseResponse) StatusCode

func (r CreateRulesetReleaseResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateTeamJSONBody

type CreateTeamJSONBody struct {
	Slug string `json:"slug"`
}

CreateTeamJSONBody defines parameters for CreateTeam.

type CreateTeamJSONRequestBody

type CreateTeamJSONRequestBody CreateTeamJSONBody

CreateTeamJSONRequestBody defines body for CreateTeam for application/json ContentType.

type CreateTeamResponse

type CreateTeamResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *Team
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseCreateTeamResponse

func ParseCreateTeamResponse(rsp *http.Response) (*CreateTeamResponse, error)

ParseCreateTeamResponse parses an HTTP response from a CreateTeamWithResponse call

func (CreateTeamResponse) ContentType

func (r CreateTeamResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreateTeamResponse) GetApplicationproblemJSONDefault

func (r CreateTeamResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (CreateTeamResponse) GetBody

func (r CreateTeamResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (CreateTeamResponse) GetJSON201

func (r CreateTeamResponse) GetJSON201() *Team

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (CreateTeamResponse) Status

func (r CreateTeamResponse) Status() string

Status returns HTTPResponse.Status

func (CreateTeamResponse) StatusCode

func (r CreateTeamResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateTokenJSONRequestBody

type CreateTokenJSONRequestBody = CreateTokenRequest

CreateTokenJSONRequestBody defines body for CreateToken for application/json ContentType.

type CreateTokenRequest

type CreateTokenRequest struct {
	// ExpiresAt Defaults to the max PAT lifetime; a later value is refused with 422, not clamped.
	ExpiresAt *time.Time `json:"expiresAt,omitempty"`
	Name      string     `json:"name"`

	// OrgHandle Bind the token to this org. Requires the current session to be SSO-fresh for the org; org-bound tokens live at most 90 days (a later expiresAt is refused with 422) and are the only tokens accepted against an enforced-SSO org's resources.
	OrgHandle *string `json:"orgHandle,omitempty"`
	Scopes    []Scope `json:"scopes"`
}

CreateTokenRequest defines model for CreateTokenRequest.

type CreateTokenResponse

type CreateTokenResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *PatCreated
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseCreateTokenResponse

func ParseCreateTokenResponse(rsp *http.Response) (*CreateTokenResponse, error)

ParseCreateTokenResponse parses an HTTP response from a CreateTokenWithResponse call

func (CreateTokenResponse) ContentType

func (r CreateTokenResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreateTokenResponse) GetApplicationproblemJSONDefault

func (r CreateTokenResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (CreateTokenResponse) GetBody

func (r CreateTokenResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (CreateTokenResponse) GetJSON201

func (r CreateTokenResponse) GetJSON201() *PatCreated

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (CreateTokenResponse) Status

func (r CreateTokenResponse) Status() string

Status returns HTTPResponse.Status

func (CreateTokenResponse) StatusCode

func (r CreateTokenResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateUserReportDesignJSONRequestBody added in v0.7.4

type CreateUserReportDesignJSONRequestBody = ReportDesignCreate

CreateUserReportDesignJSONRequestBody defines body for CreateUserReportDesign for application/json ContentType.

type CreateUserReportDesignParams added in v0.7.4

type CreateUserReportDesignParams struct {
	// Include `assets` answers the design with its images (`logo`, `coverImage`, `customCover`), if it has them. Without it the document comes without those keys, so a client that does not draw them reads it whole and small.
	Include *ReportDesignInclude `form:"include,omitempty" json:"include,omitempty"`
}

CreateUserReportDesignParams defines parameters for CreateUserReportDesign.

type CreateUserReportDesignResponse added in v0.7.4

type CreateUserReportDesignResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *ReportDesignRecord
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseCreateUserReportDesignResponse added in v0.7.4

func ParseCreateUserReportDesignResponse(rsp *http.Response) (*CreateUserReportDesignResponse, error)

ParseCreateUserReportDesignResponse parses an HTTP response from a CreateUserReportDesignWithResponse call

func (CreateUserReportDesignResponse) ContentType added in v0.7.4

func (r CreateUserReportDesignResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreateUserReportDesignResponse) GetApplicationproblemJSONDefault added in v0.7.4

func (r CreateUserReportDesignResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (CreateUserReportDesignResponse) GetBody added in v0.7.4

func (r CreateUserReportDesignResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (CreateUserReportDesignResponse) GetJSON201 added in v0.7.4

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (CreateUserReportDesignResponse) Status added in v0.7.4

Status returns HTTPResponse.Status

func (CreateUserReportDesignResponse) StatusCode added in v0.7.4

func (r CreateUserReportDesignResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateWebhookJSONRequestBody

type CreateWebhookJSONRequestBody = WebhookInput

CreateWebhookJSONRequestBody defines body for CreateWebhook for application/json ContentType.

type CreateWebhookResponse

type CreateWebhookResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *WebhookEndpointCreated
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseCreateWebhookResponse

func ParseCreateWebhookResponse(rsp *http.Response) (*CreateWebhookResponse, error)

ParseCreateWebhookResponse parses an HTTP response from a CreateWebhookWithResponse call

func (CreateWebhookResponse) ContentType

func (r CreateWebhookResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreateWebhookResponse) GetApplicationproblemJSONDefault

func (r CreateWebhookResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (CreateWebhookResponse) GetBody

func (r CreateWebhookResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (CreateWebhookResponse) GetJSON201

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (CreateWebhookResponse) Status

func (r CreateWebhookResponse) Status() string

Status returns HTTPResponse.Status

func (CreateWebhookResponse) StatusCode

func (r CreateWebhookResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreatedInvitation

type CreatedInvitation struct {
	// AcceptUrl Where the invited person accepts it.
	AcceptUrl string    `json:"acceptUrl"`
	CreatedAt time.Time `json:"createdAt"`
	Email     string    `json:"email"`

	// Expired An expired invitation holds no seat and cannot be accepted.
	Expired   *bool              `json:"expired,omitempty"`
	ExpiresAt time.Time          `json:"expiresAt"`
	Id        openapi_types.UUID `json:"id"`

	// InvitedBy The handle of the admin who sent it.
	InvitedBy *string `json:"invitedBy,omitempty"`

	// Mailed Whether the invitation was mailed. It is not when the address belongs to no account, to an account whose address the registry has not verified, or to someone who has turned organization-invitation mail off — the registry mails no address it has not confirmed.
	Mailed bool `json:"mailed"`

	// Role An organization role, ordered admin > security_reviewer | member. Admins manage the organization, its members, settings and sign-in policy, and hold the security reviewer's powers; security_reviewer is a platform-internal role that exists only inside a first-party organization; there is no owner role, only admins. An organization always keeps one admin: demoting or removing the last one is 409 last-admin.
	Role OrgRole `json:"role"`

	// Token The credential, shown once and never again: the registry keeps only its SHA-256. Give it to the person you invited if it was not mailed to them.
	Token string `json:"token"`
}

CreatedInvitation defines model for CreatedInvitation.

type Cursor

type Cursor = string

Cursor defines model for Cursor.

type DecideReviewItemJSONBody

type DecideReviewItemJSONBody struct {
	Decision  DecideReviewItemJSONBodyDecision `json:"decision"`
	Rationale string                           `json:"rationale"`
}

DecideReviewItemJSONBody defines parameters for DecideReviewItem.

type DecideReviewItemJSONBodyDecision

type DecideReviewItemJSONBodyDecision string

DecideReviewItemJSONBodyDecision defines parameters for DecideReviewItem.

const (
	Approve DecideReviewItemJSONBodyDecision = "approve"
	Reject  DecideReviewItemJSONBodyDecision = "reject"
)

Defines values for DecideReviewItemJSONBodyDecision.

func (DecideReviewItemJSONBodyDecision) Valid

Valid indicates whether the value is a known member of the DecideReviewItemJSONBodyDecision enum.

type DecideReviewItemJSONRequestBody

type DecideReviewItemJSONRequestBody DecideReviewItemJSONBody

DecideReviewItemJSONRequestBody defines body for DecideReviewItem for application/json ContentType.

type DecideReviewItemResponse

type DecideReviewItemResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseDecideReviewItemResponse

func ParseDecideReviewItemResponse(rsp *http.Response) (*DecideReviewItemResponse, error)

ParseDecideReviewItemResponse parses an HTTP response from a DecideReviewItemWithResponse call

func (DecideReviewItemResponse) ContentType

func (r DecideReviewItemResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DecideReviewItemResponse) GetApplicationproblemJSONDefault

func (r DecideReviewItemResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (DecideReviewItemResponse) GetBody

func (r DecideReviewItemResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DecideReviewItemResponse) Status

func (r DecideReviewItemResponse) Status() string

Status returns HTTPResponse.Status

func (DecideReviewItemResponse) StatusCode

func (r DecideReviewItemResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeclineOrgMemberResponse

type DeclineOrgMemberResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseDeclineOrgMemberResponse

func ParseDeclineOrgMemberResponse(rsp *http.Response) (*DeclineOrgMemberResponse, error)

ParseDeclineOrgMemberResponse parses an HTTP response from a DeclineOrgMemberWithResponse call

func (DeclineOrgMemberResponse) ContentType

func (r DeclineOrgMemberResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeclineOrgMemberResponse) GetApplicationproblemJSONDefault

func (r DeclineOrgMemberResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (DeclineOrgMemberResponse) GetBody

func (r DeclineOrgMemberResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DeclineOrgMemberResponse) Status

func (r DeclineOrgMemberResponse) Status() string

Status returns HTTPResponse.Status

func (DeclineOrgMemberResponse) StatusCode

func (r DeclineOrgMemberResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DecommissionOrgJSONBody

type DecommissionOrgJSONBody struct {
	// Confirm The organization's handle, typed again.
	Confirm string  `json:"confirm"`
	Reason  *string `json:"reason,omitempty"`
}

DecommissionOrgJSONBody defines parameters for DecommissionOrg.

type DecommissionOrgJSONRequestBody

type DecommissionOrgJSONRequestBody DecommissionOrgJSONBody

DecommissionOrgJSONRequestBody defines body for DecommissionOrg for application/json ContentType.

type DecommissionOrgResponse

type DecommissionOrgResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Org
	// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
	ApplicationproblemJSON409 *Problem
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseDecommissionOrgResponse

func ParseDecommissionOrgResponse(rsp *http.Response) (*DecommissionOrgResponse, error)

ParseDecommissionOrgResponse parses an HTTP response from a DecommissionOrgWithResponse call

func (DecommissionOrgResponse) ContentType

func (r DecommissionOrgResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DecommissionOrgResponse) GetApplicationproblemJSON409

func (r DecommissionOrgResponse) GetApplicationproblemJSON409() *Problem

GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response

func (DecommissionOrgResponse) GetApplicationproblemJSONDefault

func (r DecommissionOrgResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (DecommissionOrgResponse) GetBody

func (r DecommissionOrgResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DecommissionOrgResponse) GetJSON200

func (r DecommissionOrgResponse) GetJSON200() *Org

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (DecommissionOrgResponse) Status

func (r DecommissionOrgResponse) Status() string

Status returns HTTPResponse.Status

func (DecommissionOrgResponse) StatusCode

func (r DecommissionOrgResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteAccountInstallResponse

type DeleteAccountInstallResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseDeleteAccountInstallResponse

func ParseDeleteAccountInstallResponse(rsp *http.Response) (*DeleteAccountInstallResponse, error)

ParseDeleteAccountInstallResponse parses an HTTP response from a DeleteAccountInstallWithResponse call

func (DeleteAccountInstallResponse) ContentType

func (r DeleteAccountInstallResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteAccountInstallResponse) GetApplicationproblemJSONDefault

func (r DeleteAccountInstallResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (DeleteAccountInstallResponse) GetBody

func (r DeleteAccountInstallResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteAccountInstallResponse) Status

Status returns HTTPResponse.Status

func (DeleteAccountInstallResponse) StatusCode

func (r DeleteAccountInstallResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteAgentParams

type DeleteAgentParams struct {
	// Confirm The agent's name, required to delete an agent with version history.
	Confirm *string `form:"confirm,omitempty" json:"confirm,omitempty"`
}

DeleteAgentParams defines parameters for DeleteAgent.

type DeleteAgentResponse

type DeleteAgentResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseDeleteAgentResponse

func ParseDeleteAgentResponse(rsp *http.Response) (*DeleteAgentResponse, error)

ParseDeleteAgentResponse parses an HTTP response from a DeleteAgentWithResponse call

func (DeleteAgentResponse) ContentType

func (r DeleteAgentResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteAgentResponse) GetApplicationproblemJSONDefault

func (r DeleteAgentResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (DeleteAgentResponse) GetBody

func (r DeleteAgentResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteAgentResponse) Status

func (r DeleteAgentResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteAgentResponse) StatusCode

func (r DeleteAgentResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteCurrentUserParams

type DeleteCurrentUserParams struct {
	// PublishedContent What to do with published public versions. Required when the account has any; ignored (and defaulted to yank) when it has none.
	PublishedContent *DeleteCurrentUserParamsPublishedContent `form:"publishedContent,omitempty" json:"publishedContent,omitempty"`

	// TransferOrg Destination org handle, required with publishedContent=transfer. The caller must be an admin of that org.
	TransferOrg *string `form:"transferOrg,omitempty" json:"transferOrg,omitempty"`
}

DeleteCurrentUserParams defines parameters for DeleteCurrentUser.

type DeleteCurrentUserParamsPublishedContent

type DeleteCurrentUserParamsPublishedContent string

DeleteCurrentUserParamsPublishedContent defines parameters for DeleteCurrentUser.

Defines values for DeleteCurrentUserParamsPublishedContent.

func (DeleteCurrentUserParamsPublishedContent) Valid

Valid indicates whether the value is a known member of the DeleteCurrentUserParamsPublishedContent enum.

type DeleteCurrentUserResponse

type DeleteCurrentUserResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
	// Headers204 the parsed response headers for an HTTP 204 response
	Headers204 *DeleteCurrentUserResponse204Headers
}

func ParseDeleteCurrentUserResponse

func ParseDeleteCurrentUserResponse(rsp *http.Response) (*DeleteCurrentUserResponse, error)

ParseDeleteCurrentUserResponse parses an HTTP response from a DeleteCurrentUserWithResponse call

func (DeleteCurrentUserResponse) ContentType

func (r DeleteCurrentUserResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteCurrentUserResponse) GetApplicationproblemJSONDefault

func (r DeleteCurrentUserResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (DeleteCurrentUserResponse) GetBody

func (r DeleteCurrentUserResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteCurrentUserResponse) Status

func (r DeleteCurrentUserResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteCurrentUserResponse) StatusCode

func (r DeleteCurrentUserResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteCurrentUserResponse204Headers

type DeleteCurrentUserResponse204Headers struct {
	XAgentryDirectoryErasure *string
}

DeleteCurrentUserResponse204Headers the declared response headers of an HTTP 204 response for DeleteCurrentUser

type DeleteKnowledgePackResponse

type DeleteKnowledgePackResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseDeleteKnowledgePackResponse

func ParseDeleteKnowledgePackResponse(rsp *http.Response) (*DeleteKnowledgePackResponse, error)

ParseDeleteKnowledgePackResponse parses an HTTP response from a DeleteKnowledgePackWithResponse call

func (DeleteKnowledgePackResponse) ContentType

func (r DeleteKnowledgePackResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteKnowledgePackResponse) GetApplicationproblemJSONDefault

func (r DeleteKnowledgePackResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (DeleteKnowledgePackResponse) GetBody

func (r DeleteKnowledgePackResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteKnowledgePackResponse) Status

Status returns HTTPResponse.Status

func (DeleteKnowledgePackResponse) StatusCode

func (r DeleteKnowledgePackResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteOrgKnowledgePackResponse

type DeleteOrgKnowledgePackResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseDeleteOrgKnowledgePackResponse

func ParseDeleteOrgKnowledgePackResponse(rsp *http.Response) (*DeleteOrgKnowledgePackResponse, error)

ParseDeleteOrgKnowledgePackResponse parses an HTTP response from a DeleteOrgKnowledgePackWithResponse call

func (DeleteOrgKnowledgePackResponse) ContentType

func (r DeleteOrgKnowledgePackResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteOrgKnowledgePackResponse) GetApplicationproblemJSONDefault

func (r DeleteOrgKnowledgePackResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (DeleteOrgKnowledgePackResponse) GetBody

func (r DeleteOrgKnowledgePackResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteOrgKnowledgePackResponse) Status

Status returns HTTPResponse.Status

func (DeleteOrgKnowledgePackResponse) StatusCode

func (r DeleteOrgKnowledgePackResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteOrgLogoResponse

type DeleteOrgLogoResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseDeleteOrgLogoResponse

func ParseDeleteOrgLogoResponse(rsp *http.Response) (*DeleteOrgLogoResponse, error)

ParseDeleteOrgLogoResponse parses an HTTP response from a DeleteOrgLogoWithResponse call

func (DeleteOrgLogoResponse) ContentType

func (r DeleteOrgLogoResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteOrgLogoResponse) GetApplicationproblemJSONDefault

func (r DeleteOrgLogoResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (DeleteOrgLogoResponse) GetBody

func (r DeleteOrgLogoResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteOrgLogoResponse) Status

func (r DeleteOrgLogoResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteOrgLogoResponse) StatusCode

func (r DeleteOrgLogoResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteOrgReportDesignCoverImageResponse added in v0.7.5

type DeleteOrgReportDesignCoverImageResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *OrgReportDesignRecord
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseDeleteOrgReportDesignCoverImageResponse added in v0.7.5

func ParseDeleteOrgReportDesignCoverImageResponse(rsp *http.Response) (*DeleteOrgReportDesignCoverImageResponse, error)

ParseDeleteOrgReportDesignCoverImageResponse parses an HTTP response from a DeleteOrgReportDesignCoverImageWithResponse call

func (DeleteOrgReportDesignCoverImageResponse) ContentType added in v0.7.5

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteOrgReportDesignCoverImageResponse) GetApplicationproblemJSONDefault added in v0.7.5

func (r DeleteOrgReportDesignCoverImageResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (DeleteOrgReportDesignCoverImageResponse) GetBody added in v0.7.5

GetBody returns the raw response body bytes

func (DeleteOrgReportDesignCoverImageResponse) GetJSON200 added in v0.7.5

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (DeleteOrgReportDesignCoverImageResponse) Status added in v0.7.5

Status returns HTTPResponse.Status

func (DeleteOrgReportDesignCoverImageResponse) StatusCode added in v0.7.5

StatusCode returns HTTPResponse.StatusCode

type DeleteOrgReportDesignCustomCoverResponse added in v0.7.5

type DeleteOrgReportDesignCustomCoverResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *OrgReportDesignRecord
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseDeleteOrgReportDesignCustomCoverResponse added in v0.7.5

func ParseDeleteOrgReportDesignCustomCoverResponse(rsp *http.Response) (*DeleteOrgReportDesignCustomCoverResponse, error)

ParseDeleteOrgReportDesignCustomCoverResponse parses an HTTP response from a DeleteOrgReportDesignCustomCoverWithResponse call

func (DeleteOrgReportDesignCustomCoverResponse) ContentType added in v0.7.5

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteOrgReportDesignCustomCoverResponse) GetApplicationproblemJSONDefault added in v0.7.5

func (r DeleteOrgReportDesignCustomCoverResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (DeleteOrgReportDesignCustomCoverResponse) GetBody added in v0.7.5

GetBody returns the raw response body bytes

func (DeleteOrgReportDesignCustomCoverResponse) GetJSON200 added in v0.7.5

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (DeleteOrgReportDesignCustomCoverResponse) Status added in v0.7.5

Status returns HTTPResponse.Status

func (DeleteOrgReportDesignCustomCoverResponse) StatusCode added in v0.7.5

StatusCode returns HTTPResponse.StatusCode

type DeleteOrgReportDesignLogoResponse added in v0.7.5

type DeleteOrgReportDesignLogoResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *OrgReportDesignRecord
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseDeleteOrgReportDesignLogoResponse added in v0.7.5

func ParseDeleteOrgReportDesignLogoResponse(rsp *http.Response) (*DeleteOrgReportDesignLogoResponse, error)

ParseDeleteOrgReportDesignLogoResponse parses an HTTP response from a DeleteOrgReportDesignLogoWithResponse call

func (DeleteOrgReportDesignLogoResponse) ContentType added in v0.7.5

func (r DeleteOrgReportDesignLogoResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteOrgReportDesignLogoResponse) GetApplicationproblemJSONDefault added in v0.7.5

func (r DeleteOrgReportDesignLogoResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (DeleteOrgReportDesignLogoResponse) GetBody added in v0.7.5

GetBody returns the raw response body bytes

func (DeleteOrgReportDesignLogoResponse) GetJSON200 added in v0.7.5

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (DeleteOrgReportDesignLogoResponse) Status added in v0.7.5

Status returns HTTPResponse.Status

func (DeleteOrgReportDesignLogoResponse) StatusCode added in v0.7.5

func (r DeleteOrgReportDesignLogoResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteOrgReportDesignResponse added in v0.7.5

type DeleteOrgReportDesignResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseDeleteOrgReportDesignResponse added in v0.7.5

func ParseDeleteOrgReportDesignResponse(rsp *http.Response) (*DeleteOrgReportDesignResponse, error)

ParseDeleteOrgReportDesignResponse parses an HTTP response from a DeleteOrgReportDesignWithResponse call

func (DeleteOrgReportDesignResponse) ContentType added in v0.7.5

func (r DeleteOrgReportDesignResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteOrgReportDesignResponse) GetApplicationproblemJSONDefault added in v0.7.5

func (r DeleteOrgReportDesignResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (DeleteOrgReportDesignResponse) GetBody added in v0.7.5

func (r DeleteOrgReportDesignResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteOrgReportDesignResponse) Status added in v0.7.5

Status returns HTTPResponse.Status

func (DeleteOrgReportDesignResponse) StatusCode added in v0.7.5

func (r DeleteOrgReportDesignResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteTeamResponse

type DeleteTeamResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseDeleteTeamResponse

func ParseDeleteTeamResponse(rsp *http.Response) (*DeleteTeamResponse, error)

ParseDeleteTeamResponse parses an HTTP response from a DeleteTeamWithResponse call

func (DeleteTeamResponse) ContentType

func (r DeleteTeamResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteTeamResponse) GetApplicationproblemJSONDefault

func (r DeleteTeamResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (DeleteTeamResponse) GetBody

func (r DeleteTeamResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteTeamResponse) Status

func (r DeleteTeamResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteTeamResponse) StatusCode

func (r DeleteTeamResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteUserReportDesignCoverImageResponse added in v0.7.4

type DeleteUserReportDesignCoverImageResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ReportDesignRecord
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseDeleteUserReportDesignCoverImageResponse added in v0.7.4

func ParseDeleteUserReportDesignCoverImageResponse(rsp *http.Response) (*DeleteUserReportDesignCoverImageResponse, error)

ParseDeleteUserReportDesignCoverImageResponse parses an HTTP response from a DeleteUserReportDesignCoverImageWithResponse call

func (DeleteUserReportDesignCoverImageResponse) ContentType added in v0.7.4

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteUserReportDesignCoverImageResponse) GetApplicationproblemJSONDefault added in v0.7.4

func (r DeleteUserReportDesignCoverImageResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (DeleteUserReportDesignCoverImageResponse) GetBody added in v0.7.4

GetBody returns the raw response body bytes

func (DeleteUserReportDesignCoverImageResponse) GetJSON200 added in v0.7.4

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (DeleteUserReportDesignCoverImageResponse) Status added in v0.7.4

Status returns HTTPResponse.Status

func (DeleteUserReportDesignCoverImageResponse) StatusCode added in v0.7.4

StatusCode returns HTTPResponse.StatusCode

type DeleteUserReportDesignCustomCoverResponse added in v0.7.4

type DeleteUserReportDesignCustomCoverResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ReportDesignRecord
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseDeleteUserReportDesignCustomCoverResponse added in v0.7.4

func ParseDeleteUserReportDesignCustomCoverResponse(rsp *http.Response) (*DeleteUserReportDesignCustomCoverResponse, error)

ParseDeleteUserReportDesignCustomCoverResponse parses an HTTP response from a DeleteUserReportDesignCustomCoverWithResponse call

func (DeleteUserReportDesignCustomCoverResponse) ContentType added in v0.7.4

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteUserReportDesignCustomCoverResponse) GetApplicationproblemJSONDefault added in v0.7.4

func (r DeleteUserReportDesignCustomCoverResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (DeleteUserReportDesignCustomCoverResponse) GetBody added in v0.7.4

GetBody returns the raw response body bytes

func (DeleteUserReportDesignCustomCoverResponse) GetJSON200 added in v0.7.4

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (DeleteUserReportDesignCustomCoverResponse) Status added in v0.7.4

Status returns HTTPResponse.Status

func (DeleteUserReportDesignCustomCoverResponse) StatusCode added in v0.7.4

StatusCode returns HTTPResponse.StatusCode

type DeleteUserReportDesignLogoResponse added in v0.7.4

type DeleteUserReportDesignLogoResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ReportDesignRecord
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseDeleteUserReportDesignLogoResponse added in v0.7.4

func ParseDeleteUserReportDesignLogoResponse(rsp *http.Response) (*DeleteUserReportDesignLogoResponse, error)

ParseDeleteUserReportDesignLogoResponse parses an HTTP response from a DeleteUserReportDesignLogoWithResponse call

func (DeleteUserReportDesignLogoResponse) ContentType added in v0.7.4

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteUserReportDesignLogoResponse) GetApplicationproblemJSONDefault added in v0.7.4

func (r DeleteUserReportDesignLogoResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (DeleteUserReportDesignLogoResponse) GetBody added in v0.7.4

GetBody returns the raw response body bytes

func (DeleteUserReportDesignLogoResponse) GetJSON200 added in v0.7.4

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (DeleteUserReportDesignLogoResponse) Status added in v0.7.4

Status returns HTTPResponse.Status

func (DeleteUserReportDesignLogoResponse) StatusCode added in v0.7.4

func (r DeleteUserReportDesignLogoResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteUserReportDesignResponse added in v0.7.4

type DeleteUserReportDesignResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseDeleteUserReportDesignResponse added in v0.7.4

func ParseDeleteUserReportDesignResponse(rsp *http.Response) (*DeleteUserReportDesignResponse, error)

ParseDeleteUserReportDesignResponse parses an HTTP response from a DeleteUserReportDesignWithResponse call

func (DeleteUserReportDesignResponse) ContentType added in v0.7.4

func (r DeleteUserReportDesignResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteUserReportDesignResponse) GetApplicationproblemJSONDefault added in v0.7.4

func (r DeleteUserReportDesignResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (DeleteUserReportDesignResponse) GetBody added in v0.7.4

func (r DeleteUserReportDesignResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteUserReportDesignResponse) Status added in v0.7.4

Status returns HTTPResponse.Status

func (DeleteUserReportDesignResponse) StatusCode added in v0.7.4

func (r DeleteUserReportDesignResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteVoiceResponse

type DeleteVoiceResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseDeleteVoiceResponse

func ParseDeleteVoiceResponse(rsp *http.Response) (*DeleteVoiceResponse, error)

ParseDeleteVoiceResponse parses an HTTP response from a DeleteVoiceWithResponse call

func (DeleteVoiceResponse) ContentType

func (r DeleteVoiceResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteVoiceResponse) GetApplicationproblemJSONDefault

func (r DeleteVoiceResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (DeleteVoiceResponse) GetBody

func (r DeleteVoiceResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteVoiceResponse) Status

func (r DeleteVoiceResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteVoiceResponse) StatusCode

func (r DeleteVoiceResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteWebhookResponse

type DeleteWebhookResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseDeleteWebhookResponse

func ParseDeleteWebhookResponse(rsp *http.Response) (*DeleteWebhookResponse, error)

ParseDeleteWebhookResponse parses an HTTP response from a DeleteWebhookWithResponse call

func (DeleteWebhookResponse) ContentType

func (r DeleteWebhookResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteWebhookResponse) GetApplicationproblemJSONDefault

func (r DeleteWebhookResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (DeleteWebhookResponse) GetBody

func (r DeleteWebhookResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteWebhookResponse) Status

func (r DeleteWebhookResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteWebhookResponse) StatusCode

func (r DeleteWebhookResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DependencyAlert

type DependencyAlert struct {
	AdvisoryIds []string `json:"advisoryIds"`

	// Agent namespace/name
	Agent     string                   `json:"agent"`
	CreatedAt time.Time                `json:"createdAt"`
	Ecosystem DependencyAlertEcosystem `json:"ecosystem"`

	// FixedIn Server versions the advisories name as fixed.
	FixedIn        []string                `json:"fixedIn"`
	Id             openapi_types.UUID      `json:"id"`
	Package        string                  `json:"package"`
	PackageVersion string                  `json:"packageVersion"`
	Severity       DependencyAlertSeverity `json:"severity"`

	// Version The affected published version.
	Version string `json:"version"`
}

DependencyAlert A published version declares an MCP server version with a newly known high or critical vulnerability.

type DependencyAlertEcosystem

type DependencyAlertEcosystem string

DependencyAlertEcosystem defines model for DependencyAlert.Ecosystem.

const (
	DependencyAlertEcosystemNpm  DependencyAlertEcosystem = "npm"
	DependencyAlertEcosystemPypi DependencyAlertEcosystem = "pypi"
)

Defines values for DependencyAlertEcosystem.

func (DependencyAlertEcosystem) Valid

func (e DependencyAlertEcosystem) Valid() bool

Valid indicates whether the value is a known member of the DependencyAlertEcosystem enum.

type DependencyAlertSeverity

type DependencyAlertSeverity string

DependencyAlertSeverity defines model for DependencyAlert.Severity.

const (
	DependencyAlertSeverityCritical DependencyAlertSeverity = "critical"
	DependencyAlertSeverityHigh     DependencyAlertSeverity = "high"
)

Defines values for DependencyAlertSeverity.

func (DependencyAlertSeverity) Valid

func (e DependencyAlertSeverity) Valid() bool

Valid indicates whether the value is a known member of the DependencyAlertSeverity enum.

type DesktopApp added in v0.7.7

type DesktopApp struct {
	// Application Example: Blender
	Application string `json:"application"`

	// Attachment `stdio`: Agentry Desktop launches the server and speaks MCP over its standard input and output. `loopback-http`: the application serves MCP itself at `endpoint`, which Agentry Desktop connects to.
	Attachment DesktopAppAttachment `json:"attachment"`

	// Egress Hosts the server or the application's add-on is known to reach from the person's computer.
	Egress *[]string `json:"egress,omitempty"`

	// Endpoint A loopback-http server's http://127.0.0.1 address.
	Endpoint *string `json:"endpoint,omitempty"`

	// Id The id `capabilities.desktop.servers` names.
	//
	// Example: blender
	Id string `json:"id"`

	// Launch A stdio server's command line, which holds the pinned version, and its environment.
	Launch *struct {
		Command []string           `json:"command"`
		Env     *map[string]string `json:"env,omitempty"`
	} `json:"launch,omitempty"`

	// Listener The loopback port the application listens on for its server, checked before a run starts.
	Listener struct {
		Port int `json:"port"`
	} `json:"listener"`
	Platforms []DesktopAppPlatforms `json:"platforms"`
	Server    struct {
		// Ecosystem The package registry the server is published in, or `application` for a server the application ships itself as a plugin, which only a `loopback-http` entry names: then `name` is the plugin's, `version` the application's release that brought it, and `source` where it is documented.
		Ecosystem DesktopAppServerEcosystem `json:"ecosystem"`

		// Name Example: mcp-for-blender
		Name   string `json:"name"`
		Source string `json:"source"`

		// Version The one release vetted; a newer one is not until it is listed.
		//
		// Example: 2.2.7
		Version string `json:"version"`
	} `json:"server"`

	// Steps What the person does once before the first run.
	Steps []string `json:"steps"`

	// Tools Every tool a run may call.
	Tools []struct {
		// Class `read` reads the application's state; `act` changes it or works inside it; `exec` runs code or commands the application interprets, and each call asks the person first.
		Class DesktopAppToolsClass `json:"class"`

		// Egress The tool reaches the entry's egress hosts from the person's computer.
		Egress *bool  `json:"egress,omitempty"`
		Name   string `json:"name"`
	} `json:"tools"`

	// Withheld Tools the server offers that no run is given.
	Withheld *[]string `json:"withheld,omitempty"`
}

DesktopApp One application server: an application a QuickAgent may use on the person's own computer and the installed server Agentry has vetted for it. Agentry Desktop runs the server as the person from this entry alone; a release never names a command, a path or a port.

type DesktopAppAttachment added in v0.7.7

type DesktopAppAttachment string

DesktopAppAttachment `stdio`: Agentry Desktop launches the server and speaks MCP over its standard input and output. `loopback-http`: the application serves MCP itself at `endpoint`, which Agentry Desktop connects to.

const (
	LoopbackHttp DesktopAppAttachment = "loopback-http"
	Stdio        DesktopAppAttachment = "stdio"
)

Defines values for DesktopAppAttachment.

func (DesktopAppAttachment) Valid added in v0.7.7

func (e DesktopAppAttachment) Valid() bool

Valid indicates whether the value is a known member of the DesktopAppAttachment enum.

type DesktopAppCatalogue added in v0.7.7

type DesktopAppCatalogue struct {
	Servers []DesktopApp `json:"servers"`

	// Version The catalogue's version, raised on every change to it.
	Version int `json:"version"`
}

DesktopAppCatalogue defines model for DesktopAppCatalogue.

type DesktopAppPlatforms added in v0.7.7

type DesktopAppPlatforms string

DesktopAppPlatforms defines model for DesktopApp.Platforms.

const (
	Darwin  DesktopAppPlatforms = "darwin"
	Linux   DesktopAppPlatforms = "linux"
	Windows DesktopAppPlatforms = "windows"
)

Defines values for DesktopAppPlatforms.

func (DesktopAppPlatforms) Valid added in v0.7.7

func (e DesktopAppPlatforms) Valid() bool

Valid indicates whether the value is a known member of the DesktopAppPlatforms enum.

type DesktopAppServerEcosystem added in v0.7.7

type DesktopAppServerEcosystem string

DesktopAppServerEcosystem The package registry the server is published in, or `application` for a server the application ships itself as a plugin, which only a `loopback-http` entry names: then `name` is the plugin's, `version` the application's release that brought it, and `source` where it is documented.

const (
	DesktopAppServerEcosystemApplication DesktopAppServerEcosystem = "application"
	DesktopAppServerEcosystemNpm         DesktopAppServerEcosystem = "npm"
	DesktopAppServerEcosystemPypi        DesktopAppServerEcosystem = "pypi"
)

Defines values for DesktopAppServerEcosystem.

func (DesktopAppServerEcosystem) Valid added in v0.7.7

func (e DesktopAppServerEcosystem) Valid() bool

Valid indicates whether the value is a known member of the DesktopAppServerEcosystem enum.

type DesktopAppToolsClass added in v0.7.7

type DesktopAppToolsClass string

DesktopAppToolsClass `read` reads the application's state; `act` changes it or works inside it; `exec` runs code or commands the application interprets, and each call asks the person first.

const (
	DesktopAppToolsClassAct  DesktopAppToolsClass = "act"
	DesktopAppToolsClassExec DesktopAppToolsClass = "exec"
	DesktopAppToolsClassRead DesktopAppToolsClass = "read"
)

Defines values for DesktopAppToolsClass.

func (DesktopAppToolsClass) Valid added in v0.7.7

func (e DesktopAppToolsClass) Valid() bool

Valid indicates whether the value is a known member of the DesktopAppToolsClass enum.

type DesktopExchangeRequest

type DesktopExchangeRequest struct {
	Code  string `json:"code"`
	State string `json:"state"`
}

DesktopExchangeRequest defines model for DesktopExchangeRequest.

type DesktopGrant

type DesktopGrant struct {
	// Code Single-use exchange code. Appears only in this response.
	Code      string    `json:"code"`
	ExpiresAt time.Time `json:"expiresAt"`
}

DesktopGrant defines model for DesktopGrant.

type DesktopGrantRequest

type DesktopGrantRequest struct {
	// Runhost A remote runhost's name. The grant then mints a token that can only open a credits session, for that runhost to pay for its runs' models, in place of the sign-in set.
	Runhost *string `json:"runhost,omitempty"`

	// State The desktop app's nonce; the exchange must present the same value.
	State string `json:"state"`
}

DesktopGrantRequest defines model for DesktopGrantRequest.

type DiscardVoicePendingResponse

type DiscardVoicePendingResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Voice
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseDiscardVoicePendingResponse

func ParseDiscardVoicePendingResponse(rsp *http.Response) (*DiscardVoicePendingResponse, error)

ParseDiscardVoicePendingResponse parses an HTTP response from a DiscardVoicePendingWithResponse call

func (DiscardVoicePendingResponse) ContentType

func (r DiscardVoicePendingResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DiscardVoicePendingResponse) GetApplicationproblemJSONDefault

func (r DiscardVoicePendingResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (DiscardVoicePendingResponse) GetBody

func (r DiscardVoicePendingResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DiscardVoicePendingResponse) GetJSON200

func (r DiscardVoicePendingResponse) GetJSON200() *Voice

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (DiscardVoicePendingResponse) Status

Status returns HTTPResponse.Status

func (DiscardVoicePendingResponse) StatusCode

func (r DiscardVoicePendingResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DomainClaim

type DomainClaim struct {
	Domain string `json:"domain"`

	// RecordName The DNS TXT record name to create.
	RecordName *string `json:"recordName,omitempty"`

	// RecordValue The DNS TXT record value to publish.
	RecordValue       *string    `json:"recordValue,omitempty"`
	VerificationToken string     `json:"verificationToken"`
	Verified          bool       `json:"verified"`
	VerifiedAt        *time.Time `json:"verifiedAt,omitempty"`
}

DomainClaim defines model for DomainClaim.

type DomainOrg

type DomainOrg struct {
	// Domain The caller's verified email domain; empty for an address at a shared domain.
	Domain string `json:"domain"`

	// Member Whether the caller already holds a membership there, pending or active.
	Member *bool `json:"member,omitempty"`

	// Org Absent when no organization holds the domain.
	Org *struct {
		DisplayName string `json:"displayName"`
		Handle      string `json:"handle"`
	} `json:"org,omitempty"`

	// RequestedToday Whether the caller already asked its administrators for access in the last day.
	RequestedToday *bool `json:"requestedToday,omitempty"`
}

DomainOrg Which organization, if any, the caller's verified email domain belongs to — recorded at the organization's creation or verified over DNS by it. A domain no single organization owns (a public mail provider) belongs to nobody.

type DownloadKnowledgeTreeResponse

type DownloadKnowledgeTreeResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
	// Headers200 the parsed response headers for an HTTP 200 response
	Headers200 *DownloadKnowledgeTreeResponse200Headers
}

func ParseDownloadKnowledgeTreeResponse

func ParseDownloadKnowledgeTreeResponse(rsp *http.Response) (*DownloadKnowledgeTreeResponse, error)

ParseDownloadKnowledgeTreeResponse parses an HTTP response from a DownloadKnowledgeTreeWithResponse call

func (DownloadKnowledgeTreeResponse) ContentType

func (r DownloadKnowledgeTreeResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DownloadKnowledgeTreeResponse) GetApplicationproblemJSONDefault

func (r DownloadKnowledgeTreeResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (DownloadKnowledgeTreeResponse) GetBody

func (r DownloadKnowledgeTreeResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DownloadKnowledgeTreeResponse) Status

Status returns HTTPResponse.Status

func (DownloadKnowledgeTreeResponse) StatusCode

func (r DownloadKnowledgeTreeResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DownloadKnowledgeTreeResponse200Headers

type DownloadKnowledgeTreeResponse200Headers struct {
	XAgentryKnowledgeDigest *string
}

DownloadKnowledgeTreeResponse200Headers the declared response headers of an HTTP 200 response for DownloadKnowledgeTree

type DownloadOrgKnowledgeTreeResponse

type DownloadOrgKnowledgeTreeResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
	// Headers200 the parsed response headers for an HTTP 200 response
	Headers200 *DownloadOrgKnowledgeTreeResponse200Headers
}

func ParseDownloadOrgKnowledgeTreeResponse

func ParseDownloadOrgKnowledgeTreeResponse(rsp *http.Response) (*DownloadOrgKnowledgeTreeResponse, error)

ParseDownloadOrgKnowledgeTreeResponse parses an HTTP response from a DownloadOrgKnowledgeTreeWithResponse call

func (DownloadOrgKnowledgeTreeResponse) ContentType

func (r DownloadOrgKnowledgeTreeResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DownloadOrgKnowledgeTreeResponse) GetApplicationproblemJSONDefault

func (r DownloadOrgKnowledgeTreeResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (DownloadOrgKnowledgeTreeResponse) GetBody

func (r DownloadOrgKnowledgeTreeResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DownloadOrgKnowledgeTreeResponse) Status

Status returns HTTPResponse.Status

func (DownloadOrgKnowledgeTreeResponse) StatusCode

func (r DownloadOrgKnowledgeTreeResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DownloadOrgKnowledgeTreeResponse200Headers

type DownloadOrgKnowledgeTreeResponse200Headers struct {
	XAgentryKnowledgeDigest *string
}

DownloadOrgKnowledgeTreeResponse200Headers the declared response headers of an HTTP 200 response for DownloadOrgKnowledgeTree

type DownloadVersionResponse

type DownloadVersionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseDownloadVersionResponse

func ParseDownloadVersionResponse(rsp *http.Response) (*DownloadVersionResponse, error)

ParseDownloadVersionResponse parses an HTTP response from a DownloadVersionWithResponse call

func (DownloadVersionResponse) ContentType

func (r DownloadVersionResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DownloadVersionResponse) GetApplicationproblemJSONDefault

func (r DownloadVersionResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (DownloadVersionResponse) GetBody

func (r DownloadVersionResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DownloadVersionResponse) Status

func (r DownloadVersionResponse) Status() string

Status returns HTTPResponse.Status

func (DownloadVersionResponse) StatusCode

func (r DownloadVersionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DraftCheck

type DraftCheck struct {
	Draft DraftSetCheck `json:"draft"`

	// Model The pinned judge model, such as `jev-1.13.0`.
	Model  string           `json:"model"`
	Rubric DraftRubricCheck `json:"rubric"`

	// Ungranted Each runner tool the instruction calls for that the manifest does not grant, in the order the instruction first names them, at most 50; empty when every tool it names is granted. A word longer than 80 bytes is not read as a tool name. Any one sends the version to a person at publish (`S6/ungranted-tool`). A tool named only where the instruction turns it away ("not `browser_pdf_save`"), and one in a paragraph that speaks of another package as "a QuickAgent", is not listed. Read with no judge, so it is answered when both halves are `not_scanned`.
	Ungranted []DraftUngrantedTool `json:"ungranted"`

	// Usage The judge's requests and input tokens, for the record. Never a price: AI Review is charged per operation.
	Usage ModelInputUsage `json:"usage"`
}

DraftCheck defines model for DraftCheck.

type DraftCheckFailure

type DraftCheckFailure string

DraftCheckFailure Why a half was not scanned: the judge timed out, failed, or (the draft set only) a part of the draft is past its bound.

const (
	DraftCheckFailureJudgeError DraftCheckFailure = "judge-error"
	DraftCheckFailureTimeout    DraftCheckFailure = "timeout"
	DraftCheckFailureTooLarge   DraftCheckFailure = "too-large"
)

Defines values for DraftCheckFailure.

func (DraftCheckFailure) Valid

func (e DraftCheckFailure) Valid() bool

Valid indicates whether the value is a known member of the DraftCheckFailure enum.

type DraftCheckFile

type DraftCheckFile struct {
	// Content The file's text, UTF-8.
	Content string `json:"content"`

	// Path The file's path in the package, relative and clean.
	Path string `json:"path"`
}

DraftCheckFile defines model for DraftCheckFile.

type DraftCheckRequest

type DraftCheckRequest struct {
	// Description The person's description the draft was made from, as the Drafter read it. It is asked about as data, beside the draft.
	Description string `json:"description"`

	// Files Every text file of the rendered package, `agent.yaml` and the instruction file among them; at most 65,536 bytes in all.
	Files []DraftCheckFile `json:"files"`
}

DraftCheckRequest defines model for DraftCheckRequest.

type DraftCheckVerdict

type DraftCheckVerdict string

DraftCheckVerdict `flagged`: in the rubric half, a high finding (one the gate sends to a person); in the draft half, a question scored 2 or more. `pass`: neither, though the rubric half may list medium findings as notes. `not_scanned`: the judge could not answer for this half.

const (
	DraftCheckVerdictFlagged    DraftCheckVerdict = "flagged"
	DraftCheckVerdictNotScanned DraftCheckVerdict = "not_scanned"
	DraftCheckVerdictPass       DraftCheckVerdict = "pass"
)

Defines values for DraftCheckVerdict.

func (DraftCheckVerdict) Valid

func (e DraftCheckVerdict) Valid() bool

Valid indicates whether the value is a known member of the DraftCheckVerdict enum.

type DraftRubricCheck

type DraftRubricCheck struct {
	// Failure Why a half was not scanned: the judge timed out, failed, or (the draft set only) a part of the draft is past its bound.
	Failure *DraftCheckFailure `json:"failure,omitempty"`

	// Findings What S5 would record as findings. A high one sends the version to a person and makes the verdict `flagged`; a medium one is a note and leaves the verdict `pass`.
	Findings []DraftRubricFinding `json:"findings"`

	// RubricHash The rubric hash S5 records under the same model.
	RubricHash string `json:"rubricHash"`

	// Scores Per rubric question, 0 to 3, as S5 scores it.
	Scores *DraftRubricScores `json:"scores,omitempty"`

	// Verdict `flagged`: in the rubric half, a high finding (one the gate sends to a person); in the draft half, a question scored 2 or more. `pass`: neither, though the rubric half may list medium findings as notes. `not_scanned`: the judge could not answer for this half.
	Verdict DraftCheckVerdict `json:"verdict"`
}

DraftRubricCheck defines model for DraftRubricCheck.

type DraftRubricFinding

type DraftRubricFinding struct {
	Id DraftRubricFindingId `json:"id"`

	// Path The file whose part scored highest (`agent.yaml` for the manifest).
	Path  string `json:"path"`
	Score int    `json:"score"`

	// Severity The severity S5 would record. `high` (a score of 3, or 2 for `C1_injection` and `C3_undeclared_capability`) sends the version to a person; `medium` is shown on the report of a version that publishes (ruleset 0.3.0).
	Severity DraftRubricFindingSeverity `json:"severity"`
}

DraftRubricFinding defines model for DraftRubricFinding.

type DraftRubricFindingId

type DraftRubricFindingId string

DraftRubricFindingId defines model for DraftRubricFinding.Id.

const (
	C1Injection            DraftRubricFindingId = "C1_injection"
	C2Exfiltration         DraftRubricFindingId = "C2_exfiltration"
	C3UndeclaredCapability DraftRubricFindingId = "C3_undeclared_capability"
	C4UserDeception        DraftRubricFindingId = "C4_user_deception"
	C5Obfuscation          DraftRubricFindingId = "C5_obfuscation"
	C6DestructiveActions   DraftRubricFindingId = "C6_destructive_actions"
)

Defines values for DraftRubricFindingId.

func (DraftRubricFindingId) Valid

func (e DraftRubricFindingId) Valid() bool

Valid indicates whether the value is a known member of the DraftRubricFindingId enum.

type DraftRubricFindingSeverity

type DraftRubricFindingSeverity string

DraftRubricFindingSeverity The severity S5 would record. `high` (a score of 3, or 2 for `C1_injection` and `C3_undeclared_capability`) sends the version to a person; `medium` is shown on the report of a version that publishes (ruleset 0.3.0).

const (
	DraftRubricFindingSeverityHigh   DraftRubricFindingSeverity = "high"
	DraftRubricFindingSeverityMedium DraftRubricFindingSeverity = "medium"
)

Defines values for DraftRubricFindingSeverity.

func (DraftRubricFindingSeverity) Valid

func (e DraftRubricFindingSeverity) Valid() bool

Valid indicates whether the value is a known member of the DraftRubricFindingSeverity enum.

type DraftRubricScores

type DraftRubricScores struct {
	C1Injection            int `json:"C1_injection"`
	C2Exfiltration         int `json:"C2_exfiltration"`
	C3UndeclaredCapability int `json:"C3_undeclared_capability"`
	C4UserDeception        int `json:"C4_user_deception"`
	C5Obfuscation          int `json:"C5_obfuscation"`
	C6DestructiveActions   int `json:"C6_destructive_actions"`
}

DraftRubricScores Per rubric question, 0 to 3, as S5 scores it.

type DraftSetCheck

type DraftSetCheck struct {
	// Failure Why a half was not scanned: the judge timed out, failed, or (the draft set only) a part of the draft is past its bound.
	Failure *DraftCheckFailure     `json:"failure,omitempty"`
	Flagged []DraftSetCheckFlagged `json:"flagged"`

	// QuestionSet The hash of the draft question set and everything that changes its verdict.
	QuestionSet string `json:"questionSet"`
	Score       int    `json:"score"`

	// Scores Per draft question, 0 to 3. `off_task`: the instruction would not do the task the description asks for (a different task, a part left out, a different kind of result).
	Scores *DraftSetScores `json:"scores,omitempty"`

	// Verdict `flagged`: in the rubric half, a high finding (one the gate sends to a person); in the draft half, a question scored 2 or more. `pass`: neither, though the rubric half may list medium findings as notes. `not_scanned`: the judge could not answer for this half.
	Verdict DraftCheckVerdict `json:"verdict"`
}

DraftSetCheck defines model for DraftSetCheck.

type DraftSetCheckFlagged

type DraftSetCheckFlagged string

DraftSetCheckFlagged defines model for DraftSetCheck.Flagged.

const (
	OffTask DraftSetCheckFlagged = "off_task"
)

Defines values for DraftSetCheckFlagged.

func (DraftSetCheckFlagged) Valid

func (e DraftSetCheckFlagged) Valid() bool

Valid indicates whether the value is a known member of the DraftSetCheckFlagged enum.

type DraftSetScores

type DraftSetScores struct {
	OffTask int `json:"off_task"`
}

DraftSetScores Per draft question, 0 to 3. `off_task`: the instruction would not do the task the description asks for (a different task, a part left out, a different kind of result).

type DraftUngrantedTool

type DraftUngrantedTool struct {
	// Grant The line of the capability contract the tool needs.
	Grant DraftUngrantedToolGrant `json:"grant"`

	// Line The first line of the instruction that calls for the tool.
	Line int `json:"line"`

	// Path The manifest path that holds the grant, such as `capabilities.browser`.
	Path string `json:"path"`

	// Reason One sentence saying why, which quotes nothing of the instruction but the tool's name (and, for a server's tool, the server's).
	Reason string `json:"reason"`

	// Tool The tool as the instruction names it (`browser_click`, `run_command`, `fetch`), `browser_*` or `host_*` for a whole family, or `<server>__<tool>` for a declared server's tool or an application server's on the person's computer.
	Tool string `json:"tool"`
}

DraftUngrantedTool defines model for DraftUngrantedTool.

type DraftUngrantedToolGrant

type DraftUngrantedToolGrant string

DraftUngrantedToolGrant The line of the capability contract the tool needs.

const (
	DraftUngrantedToolGrantBrowser                 DraftUngrantedToolGrant = "browser"
	DraftUngrantedToolGrantComputerUse             DraftUngrantedToolGrant = "computerUse"
	DraftUngrantedToolGrantDesktop                 DraftUngrantedToolGrant = "desktop"
	DraftUngrantedToolGrantEgress                  DraftUngrantedToolGrant = "egress"
	DraftUngrantedToolGrantExec                    DraftUngrantedToolGrant = "exec"
	DraftUngrantedToolGrantFilesystemRead          DraftUngrantedToolGrant = "filesystem.read"
	DraftUngrantedToolGrantFilesystemWrite         DraftUngrantedToolGrant = "filesystem.write"
	DraftUngrantedToolGrantMcpServers              DraftUngrantedToolGrant = "mcpServers"
	DraftUngrantedToolGrantPersistentClock         DraftUngrantedToolGrant = "persistent.clock"
	DraftUngrantedToolGrantPersistentHelper        DraftUngrantedToolGrant = "persistent.helper"
	DraftUngrantedToolGrantPersistentMeetings      DraftUngrantedToolGrant = "persistent.meetings"
	DraftUngrantedToolGrantPersistentMemory        DraftUngrantedToolGrant = "persistent.memory"
	DraftUngrantedToolGrantPersistentReview        DraftUngrantedToolGrant = "persistent.review"
	DraftUngrantedToolGrantPersistentSelfConfigure DraftUngrantedToolGrant = "persistent.selfConfigure"
	DraftUngrantedToolGrantPersistentWeb           DraftUngrantedToolGrant = "persistent.web"
	DraftUngrantedToolGrantSubagents               DraftUngrantedToolGrant = "subagents"
	DraftUngrantedToolGrantTargetHosts             DraftUngrantedToolGrant = "targetHosts"
)

Defines values for DraftUngrantedToolGrant.

func (DraftUngrantedToolGrant) Valid

func (e DraftUngrantedToolGrant) Valid() bool

Valid indicates whether the value is a known member of the DraftUngrantedToolGrant enum.

type EmailNotificationSettings

type EmailNotificationSettings struct {
	// Advisories An advisory naming one of the person's QuickAgents was published.
	Advisories bool `json:"advisories"`

	// Billing The subscription that pays for the person's work: a checkout confirmed, a payment failed, an organization restricted, seats reached, "your organization covers you" (the hosted product's billing mail; a registry with no billing sends none). Not required on a write: a client that predates the switch leaves it as it was rather than turning it off by omission.
	Billing *bool `json:"billing,omitempty"`

	// BugReports Platform staff marked a bug report the person filed complete ("Reported bug fixed"; the hosted product's bug-report mail, and a registry without bug reports sends none). Not required on a write: a client that predates the switch leaves it as it was rather than turning it off by omission.
	BugReports *bool `json:"bugReports,omitempty"`

	// DependencyAlerts A published version declares an MCP server with a newly known vulnerability.
	DependencyAlerts bool `json:"dependencyAlerts"`

	// OrgInvites The person was added to an organization.
	OrgInvites bool `json:"orgInvites"`

	// Quarantine A published version was quarantined by a rescan.
	Quarantine bool `json:"quarantine"`

	// ReviewDecisions A reviewer decided one of the person's submissions, or the gate held one for review.
	ReviewDecisions bool `json:"reviewDecisions"`

	// RunFailures A run of a QuickAgent In Agentry failed after it started or was refused by the queue: a run, a draft, a knowledge build or a scheduled fire (the hosted product's mail; a registry that runs no QuickAgents sends none). Off until the person turns it on. Not required on a write: a client that predates the switch leaves it as it was rather than changing it by omission.
	RunFailures *bool `json:"runFailures,omitempty"`

	// RunFinished A run of a QuickAgent In Agentry completed (the hosted product's mail; a registry that runs no QuickAgents sends none). Off until the person turns it on. Not required on a write: a client that predates the switch leaves it as it was rather than changing it by omission.
	RunFinished *bool `json:"runFinished,omitempty"`

	// Schedules A scheduled run in Agentry failed, or one of the person's schedules paused (the hosted product's schedule mail; never a success, and a registry without hosted schedules sends none). Not required on a write: a client that predates the switch leaves it as it was rather than turning it off by omission.
	Schedules *bool `json:"schedules,omitempty"`
}

EmailNotificationSettings Which of the registry's mails the person receives.

type EmailVerificationSent

type EmailVerificationSent struct {
	// ResendAfter The earliest moment another link may be sent.
	ResendAfter time.Time `json:"resendAfter"`

	// SentTo The address the link went to.
	SentTo string `json:"sentTo"`
}

EmailVerificationSent defines model for EmailVerificationSent.

type ExchangeDesktopCodeJSONRequestBody

type ExchangeDesktopCodeJSONRequestBody = DesktopExchangeRequest

ExchangeDesktopCodeJSONRequestBody defines body for ExchangeDesktopCode for application/json ContentType.

type ExchangeDesktopCodeResponse

type ExchangeDesktopCodeResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *PatCreated
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseExchangeDesktopCodeResponse

func ParseExchangeDesktopCodeResponse(rsp *http.Response) (*ExchangeDesktopCodeResponse, error)

ParseExchangeDesktopCodeResponse parses an HTTP response from a ExchangeDesktopCodeWithResponse call

func (ExchangeDesktopCodeResponse) ContentType

func (r ExchangeDesktopCodeResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ExchangeDesktopCodeResponse) GetApplicationproblemJSONDefault

func (r ExchangeDesktopCodeResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (ExchangeDesktopCodeResponse) GetBody

func (r ExchangeDesktopCodeResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ExchangeDesktopCodeResponse) GetJSON201

func (r ExchangeDesktopCodeResponse) GetJSON201() *PatCreated

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (ExchangeDesktopCodeResponse) Status

Status returns HTTPResponse.Status

func (ExchangeDesktopCodeResponse) StatusCode

func (r ExchangeDesktopCodeResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ExportKnowledgePackResponse

type ExportKnowledgePackResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseExportKnowledgePackResponse

func ParseExportKnowledgePackResponse(rsp *http.Response) (*ExportKnowledgePackResponse, error)

ParseExportKnowledgePackResponse parses an HTTP response from a ExportKnowledgePackWithResponse call

func (ExportKnowledgePackResponse) ContentType

func (r ExportKnowledgePackResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ExportKnowledgePackResponse) GetApplicationproblemJSONDefault

func (r ExportKnowledgePackResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (ExportKnowledgePackResponse) GetBody

func (r ExportKnowledgePackResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ExportKnowledgePackResponse) Status

Status returns HTTPResponse.Status

func (ExportKnowledgePackResponse) StatusCode

func (r ExportKnowledgePackResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ExportOrgKnowledgePackResponse

type ExportOrgKnowledgePackResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseExportOrgKnowledgePackResponse

func ParseExportOrgKnowledgePackResponse(rsp *http.Response) (*ExportOrgKnowledgePackResponse, error)

ParseExportOrgKnowledgePackResponse parses an HTTP response from a ExportOrgKnowledgePackWithResponse call

func (ExportOrgKnowledgePackResponse) ContentType

func (r ExportOrgKnowledgePackResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ExportOrgKnowledgePackResponse) GetApplicationproblemJSONDefault

func (r ExportOrgKnowledgePackResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (ExportOrgKnowledgePackResponse) GetBody

func (r ExportOrgKnowledgePackResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ExportOrgKnowledgePackResponse) Status

Status returns HTTPResponse.Status

func (ExportOrgKnowledgePackResponse) StatusCode

func (r ExportOrgKnowledgePackResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ForkAgentJSONBody

type ForkAgentJSONBody struct {
	// Name The fork's name; the origin's when absent.
	Name *string `json:"name,omitempty"`

	// Namespace The namespace the fork goes into.
	Namespace string `json:"namespace"`
}

ForkAgentJSONBody defines parameters for ForkAgent.

type ForkAgentJSONRequestBody

type ForkAgentJSONRequestBody ForkAgentJSONBody

ForkAgentJSONRequestBody defines body for ForkAgent for application/json ContentType.

type ForkAgentResponse

type ForkAgentResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON202 the response for an HTTP 202 `application/json` response
	JSON202 *Agent
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseForkAgentResponse

func ParseForkAgentResponse(rsp *http.Response) (*ForkAgentResponse, error)

ParseForkAgentResponse parses an HTTP response from a ForkAgentWithResponse call

func (ForkAgentResponse) ContentType

func (r ForkAgentResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ForkAgentResponse) GetApplicationproblemJSONDefault

func (r ForkAgentResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (ForkAgentResponse) GetBody

func (r ForkAgentResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ForkAgentResponse) GetJSON202

func (r ForkAgentResponse) GetJSON202() *Agent

GetJSON202 returns the response for an HTTP 202 `application/json` response

func (ForkAgentResponse) Status

func (r ForkAgentResponse) Status() string

Status returns HTTPResponse.Status

func (ForkAgentResponse) StatusCode

func (r ForkAgentResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ForkOrigin

type ForkOrigin struct {
	// Available Whether the origin is still public, not deleted and not blocked, which is when a client may link it. A quarantined origin is available: its page says it is quarantined.
	Available bool   `json:"available"`
	Name      string `json:"name"`
	Namespace string `json:"namespace"`

	// Version The origin's published version the fork was taken from.
	Version string `json:"version"`
}

ForkOrigin What a fork was taken from. Kept for good: there is no detach.

type GetAdvisoryResponse

type GetAdvisoryResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Advisory
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseGetAdvisoryResponse

func ParseGetAdvisoryResponse(rsp *http.Response) (*GetAdvisoryResponse, error)

ParseGetAdvisoryResponse parses an HTTP response from a GetAdvisoryWithResponse call

func (GetAdvisoryResponse) ContentType

func (r GetAdvisoryResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetAdvisoryResponse) GetApplicationproblemJSONDefault

func (r GetAdvisoryResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (GetAdvisoryResponse) GetBody

func (r GetAdvisoryResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetAdvisoryResponse) GetJSON200

func (r GetAdvisoryResponse) GetJSON200() *Advisory

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetAdvisoryResponse) Status

func (r GetAdvisoryResponse) Status() string

Status returns HTTPResponse.Status

func (GetAdvisoryResponse) StatusCode

func (r GetAdvisoryResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetAgentReadmeParams

type GetAgentReadmeParams struct {
	// Version Version to render; defaults to the latest published.
	Version *string `form:"version,omitempty" json:"version,omitempty"`
}

GetAgentReadmeParams defines parameters for GetAgentReadme.

type GetAgentReadmeResponse

type GetAgentReadmeResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseGetAgentReadmeResponse

func ParseGetAgentReadmeResponse(rsp *http.Response) (*GetAgentReadmeResponse, error)

ParseGetAgentReadmeResponse parses an HTTP response from a GetAgentReadmeWithResponse call

func (GetAgentReadmeResponse) ContentType

func (r GetAgentReadmeResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetAgentReadmeResponse) GetApplicationproblemJSONDefault

func (r GetAgentReadmeResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (GetAgentReadmeResponse) GetBody

func (r GetAgentReadmeResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetAgentReadmeResponse) Status

func (r GetAgentReadmeResponse) Status() string

Status returns HTTPResponse.Status

func (GetAgentReadmeResponse) StatusCode

func (r GetAgentReadmeResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetAgentResponse

type GetAgentResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Agent
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseGetAgentResponse

func ParseGetAgentResponse(rsp *http.Response) (*GetAgentResponse, error)

ParseGetAgentResponse parses an HTTP response from a GetAgentWithResponse call

func (GetAgentResponse) ContentType

func (r GetAgentResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetAgentResponse) GetApplicationproblemJSONDefault

func (r GetAgentResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (GetAgentResponse) GetBody

func (r GetAgentResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetAgentResponse) GetJSON200

func (r GetAgentResponse) GetJSON200() *Agent

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetAgentResponse) Status

func (r GetAgentResponse) Status() string

Status returns HTTPResponse.Status

func (GetAgentResponse) StatusCode

func (r GetAgentResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetAgentStatsResponse

type GetAgentStatsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *AgentStats
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseGetAgentStatsResponse

func ParseGetAgentStatsResponse(rsp *http.Response) (*GetAgentStatsResponse, error)

ParseGetAgentStatsResponse parses an HTTP response from a GetAgentStatsWithResponse call

func (GetAgentStatsResponse) ContentType

func (r GetAgentStatsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetAgentStatsResponse) GetApplicationproblemJSONDefault

func (r GetAgentStatsResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (GetAgentStatsResponse) GetBody

func (r GetAgentStatsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetAgentStatsResponse) GetJSON200

func (r GetAgentStatsResponse) GetJSON200() *AgentStats

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetAgentStatsResponse) Status

func (r GetAgentStatsResponse) Status() string

Status returns HTTPResponse.Status

func (GetAgentStatsResponse) StatusCode

func (r GetAgentStatsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetAuditExportResponse

type GetAuditExportResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *AuditExport
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseGetAuditExportResponse

func ParseGetAuditExportResponse(rsp *http.Response) (*GetAuditExportResponse, error)

ParseGetAuditExportResponse parses an HTTP response from a GetAuditExportWithResponse call

func (GetAuditExportResponse) ContentType

func (r GetAuditExportResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetAuditExportResponse) GetApplicationproblemJSONDefault

func (r GetAuditExportResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (GetAuditExportResponse) GetBody

func (r GetAuditExportResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetAuditExportResponse) GetJSON200

func (r GetAuditExportResponse) GetJSON200() *AuditExport

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetAuditExportResponse) Status

func (r GetAuditExportResponse) Status() string

Status returns HTTPResponse.Status

func (GetAuditExportResponse) StatusCode

func (r GetAuditExportResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetConnectorsResponse

type GetConnectorsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ConnectorList
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseGetConnectorsResponse

func ParseGetConnectorsResponse(rsp *http.Response) (*GetConnectorsResponse, error)

ParseGetConnectorsResponse parses an HTTP response from a GetConnectorsWithResponse call

func (GetConnectorsResponse) ContentType

func (r GetConnectorsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetConnectorsResponse) GetApplicationproblemJSONDefault

func (r GetConnectorsResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (GetConnectorsResponse) GetBody

func (r GetConnectorsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetConnectorsResponse) GetJSON200

func (r GetConnectorsResponse) GetJSON200() *ConnectorList

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetConnectorsResponse) Status

func (r GetConnectorsResponse) Status() string

Status returns HTTPResponse.Status

func (GetConnectorsResponse) StatusCode

func (r GetConnectorsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetCurrentUserResponse

type GetCurrentUserResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *User
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseGetCurrentUserResponse

func ParseGetCurrentUserResponse(rsp *http.Response) (*GetCurrentUserResponse, error)

ParseGetCurrentUserResponse parses an HTTP response from a GetCurrentUserWithResponse call

func (GetCurrentUserResponse) ContentType

func (r GetCurrentUserResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetCurrentUserResponse) GetApplicationproblemJSONDefault

func (r GetCurrentUserResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (GetCurrentUserResponse) GetBody

func (r GetCurrentUserResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetCurrentUserResponse) GetJSON200

func (r GetCurrentUserResponse) GetJSON200() *User

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetCurrentUserResponse) Status

func (r GetCurrentUserResponse) Status() string

Status returns HTTPResponse.Status

func (GetCurrentUserResponse) StatusCode

func (r GetCurrentUserResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetDesktopAppsResponse added in v0.7.7

type GetDesktopAppsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *DesktopAppCatalogue
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseGetDesktopAppsResponse added in v0.7.7

func ParseGetDesktopAppsResponse(rsp *http.Response) (*GetDesktopAppsResponse, error)

ParseGetDesktopAppsResponse parses an HTTP response from a GetDesktopAppsWithResponse call

func (GetDesktopAppsResponse) ContentType added in v0.7.7

func (r GetDesktopAppsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetDesktopAppsResponse) GetApplicationproblemJSONDefault added in v0.7.7

func (r GetDesktopAppsResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (GetDesktopAppsResponse) GetBody added in v0.7.7

func (r GetDesktopAppsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetDesktopAppsResponse) GetJSON200 added in v0.7.7

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetDesktopAppsResponse) Status added in v0.7.7

func (r GetDesktopAppsResponse) Status() string

Status returns HTTPResponse.Status

func (GetDesktopAppsResponse) StatusCode added in v0.7.7

func (r GetDesktopAppsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetDomainOrgResponse

type GetDomainOrgResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *DomainOrg
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseGetDomainOrgResponse

func ParseGetDomainOrgResponse(rsp *http.Response) (*GetDomainOrgResponse, error)

ParseGetDomainOrgResponse parses an HTTP response from a GetDomainOrgWithResponse call

func (GetDomainOrgResponse) ContentType

func (r GetDomainOrgResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetDomainOrgResponse) GetApplicationproblemJSONDefault

func (r GetDomainOrgResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (GetDomainOrgResponse) GetBody

func (r GetDomainOrgResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetDomainOrgResponse) GetJSON200

func (r GetDomainOrgResponse) GetJSON200() *DomainOrg

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetDomainOrgResponse) Status

func (r GetDomainOrgResponse) Status() string

Status returns HTTPResponse.Status

func (GetDomainOrgResponse) StatusCode

func (r GetDomainOrgResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetInvitationResponse

type GetInvitationResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *InvitationOffer
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseGetInvitationResponse

func ParseGetInvitationResponse(rsp *http.Response) (*GetInvitationResponse, error)

ParseGetInvitationResponse parses an HTTP response from a GetInvitationWithResponse call

func (GetInvitationResponse) ContentType

func (r GetInvitationResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetInvitationResponse) GetApplicationproblemJSONDefault

func (r GetInvitationResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (GetInvitationResponse) GetBody

func (r GetInvitationResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetInvitationResponse) GetJSON200

func (r GetInvitationResponse) GetJSON200() *InvitationOffer

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetInvitationResponse) Status

func (r GetInvitationResponse) Status() string

Status returns HTTPResponse.Status

func (GetInvitationResponse) StatusCode

func (r GetInvitationResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetKnowledgePackResponse

type GetKnowledgePackResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *KnowledgePack
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseGetKnowledgePackResponse

func ParseGetKnowledgePackResponse(rsp *http.Response) (*GetKnowledgePackResponse, error)

ParseGetKnowledgePackResponse parses an HTTP response from a GetKnowledgePackWithResponse call

func (GetKnowledgePackResponse) ContentType

func (r GetKnowledgePackResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetKnowledgePackResponse) GetApplicationproblemJSONDefault

func (r GetKnowledgePackResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (GetKnowledgePackResponse) GetBody

func (r GetKnowledgePackResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetKnowledgePackResponse) GetJSON200

func (r GetKnowledgePackResponse) GetJSON200() *KnowledgePack

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetKnowledgePackResponse) Status

func (r GetKnowledgePackResponse) Status() string

Status returns HTTPResponse.Status

func (GetKnowledgePackResponse) StatusCode

func (r GetKnowledgePackResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetKnowledgeUsageResponse

type GetKnowledgeUsageResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *KnowledgeUsage
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseGetKnowledgeUsageResponse

func ParseGetKnowledgeUsageResponse(rsp *http.Response) (*GetKnowledgeUsageResponse, error)

ParseGetKnowledgeUsageResponse parses an HTTP response from a GetKnowledgeUsageWithResponse call

func (GetKnowledgeUsageResponse) ContentType

func (r GetKnowledgeUsageResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetKnowledgeUsageResponse) GetApplicationproblemJSONDefault

func (r GetKnowledgeUsageResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (GetKnowledgeUsageResponse) GetBody

func (r GetKnowledgeUsageResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetKnowledgeUsageResponse) GetJSON200

func (r GetKnowledgeUsageResponse) GetJSON200() *KnowledgeUsage

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetKnowledgeUsageResponse) Status

func (r GetKnowledgeUsageResponse) Status() string

Status returns HTTPResponse.Status

func (GetKnowledgeUsageResponse) StatusCode

func (r GetKnowledgeUsageResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetLatestRulesetAttestationResponse

type GetLatestRulesetAttestationResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *map[string]interface{}
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseGetLatestRulesetAttestationResponse

func ParseGetLatestRulesetAttestationResponse(rsp *http.Response) (*GetLatestRulesetAttestationResponse, error)

ParseGetLatestRulesetAttestationResponse parses an HTTP response from a GetLatestRulesetAttestationWithResponse call

func (GetLatestRulesetAttestationResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetLatestRulesetAttestationResponse) GetApplicationproblemJSONDefault

func (r GetLatestRulesetAttestationResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (GetLatestRulesetAttestationResponse) GetBody

GetBody returns the raw response body bytes

func (GetLatestRulesetAttestationResponse) GetJSON200

func (r GetLatestRulesetAttestationResponse) GetJSON200() *map[string]interface{}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetLatestRulesetAttestationResponse) Status

Status returns HTTPResponse.Status

func (GetLatestRulesetAttestationResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetLatestRulesetBundleResponse

type GetLatestRulesetBundleResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
	// Headers200 the parsed response headers for an HTTP 200 response
	Headers200 *GetLatestRulesetBundleResponse200Headers
}

func ParseGetLatestRulesetBundleResponse

func ParseGetLatestRulesetBundleResponse(rsp *http.Response) (*GetLatestRulesetBundleResponse, error)

ParseGetLatestRulesetBundleResponse parses an HTTP response from a GetLatestRulesetBundleWithResponse call

func (GetLatestRulesetBundleResponse) ContentType

func (r GetLatestRulesetBundleResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetLatestRulesetBundleResponse) GetApplicationproblemJSONDefault

func (r GetLatestRulesetBundleResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (GetLatestRulesetBundleResponse) GetBody

func (r GetLatestRulesetBundleResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetLatestRulesetBundleResponse) Status

Status returns HTTPResponse.Status

func (GetLatestRulesetBundleResponse) StatusCode

func (r GetLatestRulesetBundleResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetLatestRulesetBundleResponse200Headers

type GetLatestRulesetBundleResponse200Headers struct {
	ETag                 *string
	XAgentryBundleDigest *string
	XAgentryBundleSemver *string
}

GetLatestRulesetBundleResponse200Headers the declared response headers of an HTTP 200 response for GetLatestRulesetBundle

type GetMcpServerScanParams

type GetMcpServerScanParams struct {
	Ecosystem GetMcpServerScanParamsEcosystem `form:"ecosystem" json:"ecosystem"`
	Package   string                          `form:"package" json:"package"`
	Version   string                          `form:"version" json:"version"`
}

GetMcpServerScanParams defines parameters for GetMcpServerScan.

type GetMcpServerScanParamsEcosystem

type GetMcpServerScanParamsEcosystem string

GetMcpServerScanParamsEcosystem defines parameters for GetMcpServerScan.

const (
	GetMcpServerScanParamsEcosystemNpm  GetMcpServerScanParamsEcosystem = "npm"
	GetMcpServerScanParamsEcosystemPypi GetMcpServerScanParamsEcosystem = "pypi"
)

Defines values for GetMcpServerScanParamsEcosystem.

func (GetMcpServerScanParamsEcosystem) Valid

Valid indicates whether the value is a known member of the GetMcpServerScanParamsEcosystem enum.

type GetMcpServerScanResponse

type GetMcpServerScanResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *McpServerScan
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseGetMcpServerScanResponse

func ParseGetMcpServerScanResponse(rsp *http.Response) (*GetMcpServerScanResponse, error)

ParseGetMcpServerScanResponse parses an HTTP response from a GetMcpServerScanWithResponse call

func (GetMcpServerScanResponse) ContentType

func (r GetMcpServerScanResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetMcpServerScanResponse) GetApplicationproblemJSONDefault

func (r GetMcpServerScanResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (GetMcpServerScanResponse) GetBody

func (r GetMcpServerScanResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetMcpServerScanResponse) GetJSON200

func (r GetMcpServerScanResponse) GetJSON200() *McpServerScan

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetMcpServerScanResponse) Status

func (r GetMcpServerScanResponse) Status() string

Status returns HTTPResponse.Status

func (GetMcpServerScanResponse) StatusCode

func (r GetMcpServerScanResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetMetaResponse

type GetMetaResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Meta
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseGetMetaResponse

func ParseGetMetaResponse(rsp *http.Response) (*GetMetaResponse, error)

ParseGetMetaResponse parses an HTTP response from a GetMetaWithResponse call

func (GetMetaResponse) ContentType

func (r GetMetaResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetMetaResponse) GetApplicationproblemJSONDefault

func (r GetMetaResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (GetMetaResponse) GetBody

func (r GetMetaResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetMetaResponse) GetJSON200

func (r GetMetaResponse) GetJSON200() *Meta

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetMetaResponse) Status

func (r GetMetaResponse) Status() string

Status returns HTTPResponse.Status

func (GetMetaResponse) StatusCode

func (r GetMetaResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetOrgKnowledgePackResponse

type GetOrgKnowledgePackResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *KnowledgePack
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseGetOrgKnowledgePackResponse

func ParseGetOrgKnowledgePackResponse(rsp *http.Response) (*GetOrgKnowledgePackResponse, error)

ParseGetOrgKnowledgePackResponse parses an HTTP response from a GetOrgKnowledgePackWithResponse call

func (GetOrgKnowledgePackResponse) ContentType

func (r GetOrgKnowledgePackResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetOrgKnowledgePackResponse) GetApplicationproblemJSONDefault

func (r GetOrgKnowledgePackResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (GetOrgKnowledgePackResponse) GetBody

func (r GetOrgKnowledgePackResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetOrgKnowledgePackResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetOrgKnowledgePackResponse) Status

Status returns HTTPResponse.Status

func (GetOrgKnowledgePackResponse) StatusCode

func (r GetOrgKnowledgePackResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetOrgKnowledgeUsageResponse

type GetOrgKnowledgeUsageResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *KnowledgeUsage
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseGetOrgKnowledgeUsageResponse

func ParseGetOrgKnowledgeUsageResponse(rsp *http.Response) (*GetOrgKnowledgeUsageResponse, error)

ParseGetOrgKnowledgeUsageResponse parses an HTTP response from a GetOrgKnowledgeUsageWithResponse call

func (GetOrgKnowledgeUsageResponse) ContentType

func (r GetOrgKnowledgeUsageResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetOrgKnowledgeUsageResponse) GetApplicationproblemJSONDefault

func (r GetOrgKnowledgeUsageResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (GetOrgKnowledgeUsageResponse) GetBody

func (r GetOrgKnowledgeUsageResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetOrgKnowledgeUsageResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetOrgKnowledgeUsageResponse) Status

Status returns HTTPResponse.Status

func (GetOrgKnowledgeUsageResponse) StatusCode

func (r GetOrgKnowledgeUsageResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetOrgLogoResponse

type GetOrgLogoResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseGetOrgLogoResponse

func ParseGetOrgLogoResponse(rsp *http.Response) (*GetOrgLogoResponse, error)

ParseGetOrgLogoResponse parses an HTTP response from a GetOrgLogoWithResponse call

func (GetOrgLogoResponse) ContentType

func (r GetOrgLogoResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetOrgLogoResponse) GetApplicationproblemJSONDefault

func (r GetOrgLogoResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (GetOrgLogoResponse) GetBody

func (r GetOrgLogoResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetOrgLogoResponse) Status

func (r GetOrgLogoResponse) Status() string

Status returns HTTPResponse.Status

func (GetOrgLogoResponse) StatusCode

func (r GetOrgLogoResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetOrgPolicyResponse

type GetOrgPolicyResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *map[string]interface{}
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseGetOrgPolicyResponse

func ParseGetOrgPolicyResponse(rsp *http.Response) (*GetOrgPolicyResponse, error)

ParseGetOrgPolicyResponse parses an HTTP response from a GetOrgPolicyWithResponse call

func (GetOrgPolicyResponse) ContentType

func (r GetOrgPolicyResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetOrgPolicyResponse) GetApplicationproblemJSONDefault

func (r GetOrgPolicyResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (GetOrgPolicyResponse) GetBody

func (r GetOrgPolicyResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetOrgPolicyResponse) GetJSON200

func (r GetOrgPolicyResponse) GetJSON200() *map[string]interface{}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetOrgPolicyResponse) Status

func (r GetOrgPolicyResponse) Status() string

Status returns HTTPResponse.Status

func (GetOrgPolicyResponse) StatusCode

func (r GetOrgPolicyResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetOrgReportDesignParams added in v0.7.5

type GetOrgReportDesignParams struct {
	// Include `assets` answers the design with its images (`logo`, `coverImage`, `customCover`), if it has them. Without it the document comes without those keys, so a client that does not draw them reads it whole and small.
	Include *ReportDesignInclude `form:"include,omitempty" json:"include,omitempty"`
}

GetOrgReportDesignParams defines parameters for GetOrgReportDesign.

type GetOrgReportDesignResponse added in v0.7.5

type GetOrgReportDesignResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *OrgReportDesignRecord
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseGetOrgReportDesignResponse added in v0.7.5

func ParseGetOrgReportDesignResponse(rsp *http.Response) (*GetOrgReportDesignResponse, error)

ParseGetOrgReportDesignResponse parses an HTTP response from a GetOrgReportDesignWithResponse call

func (GetOrgReportDesignResponse) ContentType added in v0.7.5

func (r GetOrgReportDesignResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetOrgReportDesignResponse) GetApplicationproblemJSONDefault added in v0.7.5

func (r GetOrgReportDesignResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (GetOrgReportDesignResponse) GetBody added in v0.7.5

func (r GetOrgReportDesignResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetOrgReportDesignResponse) GetJSON200 added in v0.7.5

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetOrgReportDesignResponse) Status added in v0.7.5

Status returns HTTPResponse.Status

func (GetOrgReportDesignResponse) StatusCode added in v0.7.5

func (r GetOrgReportDesignResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetOrgResponse

type GetOrgResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Org
	// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
	ApplicationproblemJSON404 *Problem
	// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
	ApplicationproblemJSON500 *Problem
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseGetOrgResponse

func ParseGetOrgResponse(rsp *http.Response) (*GetOrgResponse, error)

ParseGetOrgResponse parses an HTTP response from a GetOrgWithResponse call

func (GetOrgResponse) ContentType

func (r GetOrgResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetOrgResponse) GetApplicationproblemJSON404

func (r GetOrgResponse) GetApplicationproblemJSON404() *Problem

GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response

func (GetOrgResponse) GetApplicationproblemJSON500

func (r GetOrgResponse) GetApplicationproblemJSON500() *Problem

GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response

func (GetOrgResponse) GetApplicationproblemJSONDefault

func (r GetOrgResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (GetOrgResponse) GetBody

func (r GetOrgResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetOrgResponse) GetJSON200

func (r GetOrgResponse) GetJSON200() *Org

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetOrgResponse) Status

func (r GetOrgResponse) Status() string

Status returns HTTPResponse.Status

func (GetOrgResponse) StatusCode

func (r GetOrgResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetPlatformPolicyResponse

type GetPlatformPolicyResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *map[string]interface{}
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseGetPlatformPolicyResponse

func ParseGetPlatformPolicyResponse(rsp *http.Response) (*GetPlatformPolicyResponse, error)

ParseGetPlatformPolicyResponse parses an HTTP response from a GetPlatformPolicyWithResponse call

func (GetPlatformPolicyResponse) ContentType

func (r GetPlatformPolicyResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetPlatformPolicyResponse) GetApplicationproblemJSONDefault

func (r GetPlatformPolicyResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (GetPlatformPolicyResponse) GetBody

func (r GetPlatformPolicyResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetPlatformPolicyResponse) GetJSON200

func (r GetPlatformPolicyResponse) GetJSON200() *map[string]interface{}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetPlatformPolicyResponse) Status

func (r GetPlatformPolicyResponse) Status() string

Status returns HTTPResponse.Status

func (GetPlatformPolicyResponse) StatusCode

func (r GetPlatformPolicyResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetReviewFileParams

type GetReviewFileParams struct {
	Path string `form:"path" json:"path"`
}

GetReviewFileParams defines parameters for GetReviewFile.

type GetReviewFileResponse

type GetReviewFileResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ReviewFileContent
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseGetReviewFileResponse

func ParseGetReviewFileResponse(rsp *http.Response) (*GetReviewFileResponse, error)

ParseGetReviewFileResponse parses an HTTP response from a GetReviewFileWithResponse call

func (GetReviewFileResponse) ContentType

func (r GetReviewFileResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetReviewFileResponse) GetApplicationproblemJSONDefault

func (r GetReviewFileResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (GetReviewFileResponse) GetBody

func (r GetReviewFileResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetReviewFileResponse) GetJSON200

func (r GetReviewFileResponse) GetJSON200() *ReviewFileContent

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetReviewFileResponse) Status

func (r GetReviewFileResponse) Status() string

Status returns HTTPResponse.Status

func (GetReviewFileResponse) StatusCode

func (r GetReviewFileResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetReviewItemResponse

type GetReviewItemResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ReviewBundle
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseGetReviewItemResponse

func ParseGetReviewItemResponse(rsp *http.Response) (*GetReviewItemResponse, error)

ParseGetReviewItemResponse parses an HTTP response from a GetReviewItemWithResponse call

func (GetReviewItemResponse) ContentType

func (r GetReviewItemResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetReviewItemResponse) GetApplicationproblemJSONDefault

func (r GetReviewItemResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (GetReviewItemResponse) GetBody

func (r GetReviewItemResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetReviewItemResponse) GetJSON200

func (r GetReviewItemResponse) GetJSON200() *ReviewBundle

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetReviewItemResponse) Status

func (r GetReviewItemResponse) Status() string

Status returns HTTPResponse.Status

func (GetReviewItemResponse) StatusCode

func (r GetReviewItemResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetUserManagedSettingsResponse added in v0.7.9

type GetUserManagedSettingsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ManagedSettingsEnvelope
	// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
	ApplicationproblemJSON503 *Problem
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseGetUserManagedSettingsResponse added in v0.7.9

func ParseGetUserManagedSettingsResponse(rsp *http.Response) (*GetUserManagedSettingsResponse, error)

ParseGetUserManagedSettingsResponse parses an HTTP response from a GetUserManagedSettingsWithResponse call

func (GetUserManagedSettingsResponse) ContentType added in v0.7.9

func (r GetUserManagedSettingsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetUserManagedSettingsResponse) GetApplicationproblemJSON503 added in v0.7.9

func (r GetUserManagedSettingsResponse) GetApplicationproblemJSON503() *Problem

GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response

func (GetUserManagedSettingsResponse) GetApplicationproblemJSONDefault added in v0.7.9

func (r GetUserManagedSettingsResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (GetUserManagedSettingsResponse) GetBody added in v0.7.9

func (r GetUserManagedSettingsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetUserManagedSettingsResponse) GetJSON200 added in v0.7.9

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetUserManagedSettingsResponse) Status added in v0.7.9

Status returns HTTPResponse.Status

func (GetUserManagedSettingsResponse) StatusCode added in v0.7.9

func (r GetUserManagedSettingsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetUserNotificationSettingsResponse

type GetUserNotificationSettingsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *NotificationSettings
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseGetUserNotificationSettingsResponse

func ParseGetUserNotificationSettingsResponse(rsp *http.Response) (*GetUserNotificationSettingsResponse, error)

ParseGetUserNotificationSettingsResponse parses an HTTP response from a GetUserNotificationSettingsWithResponse call

func (GetUserNotificationSettingsResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetUserNotificationSettingsResponse) GetApplicationproblemJSONDefault

func (r GetUserNotificationSettingsResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (GetUserNotificationSettingsResponse) GetBody

GetBody returns the raw response body bytes

func (GetUserNotificationSettingsResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetUserNotificationSettingsResponse) Status

Status returns HTTPResponse.Status

func (GetUserNotificationSettingsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetUserProfileResponse

type GetUserProfileResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *PublicUser
	// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
	ApplicationproblemJSON404 *Problem
	// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
	ApplicationproblemJSON500 *Problem
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseGetUserProfileResponse

func ParseGetUserProfileResponse(rsp *http.Response) (*GetUserProfileResponse, error)

ParseGetUserProfileResponse parses an HTTP response from a GetUserProfileWithResponse call

func (GetUserProfileResponse) ContentType

func (r GetUserProfileResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetUserProfileResponse) GetApplicationproblemJSON404

func (r GetUserProfileResponse) GetApplicationproblemJSON404() *Problem

GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response

func (GetUserProfileResponse) GetApplicationproblemJSON500

func (r GetUserProfileResponse) GetApplicationproblemJSON500() *Problem

GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response

func (GetUserProfileResponse) GetApplicationproblemJSONDefault

func (r GetUserProfileResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (GetUserProfileResponse) GetBody

func (r GetUserProfileResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetUserProfileResponse) GetJSON200

func (r GetUserProfileResponse) GetJSON200() *PublicUser

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetUserProfileResponse) Status

func (r GetUserProfileResponse) Status() string

Status returns HTTPResponse.Status

func (GetUserProfileResponse) StatusCode

func (r GetUserProfileResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetUserReportDesignParams added in v0.7.4

type GetUserReportDesignParams struct {
	// Include `assets` answers the design with its images (`logo`, `coverImage`, `customCover`), if it has them. Without it the document comes without those keys, so a client that does not draw them reads it whole and small.
	Include *ReportDesignInclude `form:"include,omitempty" json:"include,omitempty"`
}

GetUserReportDesignParams defines parameters for GetUserReportDesign.

type GetUserReportDesignResponse added in v0.7.4

type GetUserReportDesignResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ReportDesignRecord
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseGetUserReportDesignResponse added in v0.7.4

func ParseGetUserReportDesignResponse(rsp *http.Response) (*GetUserReportDesignResponse, error)

ParseGetUserReportDesignResponse parses an HTTP response from a GetUserReportDesignWithResponse call

func (GetUserReportDesignResponse) ContentType added in v0.7.4

func (r GetUserReportDesignResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetUserReportDesignResponse) GetApplicationproblemJSONDefault added in v0.7.4

func (r GetUserReportDesignResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (GetUserReportDesignResponse) GetBody added in v0.7.4

func (r GetUserReportDesignResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetUserReportDesignResponse) GetJSON200 added in v0.7.4

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetUserReportDesignResponse) Status added in v0.7.4

Status returns HTTPResponse.Status

func (GetUserReportDesignResponse) StatusCode added in v0.7.4

func (r GetUserReportDesignResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetVersionAttestationResponse

type GetVersionAttestationResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *map[string]interface{}
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseGetVersionAttestationResponse

func ParseGetVersionAttestationResponse(rsp *http.Response) (*GetVersionAttestationResponse, error)

ParseGetVersionAttestationResponse parses an HTTP response from a GetVersionAttestationWithResponse call

func (GetVersionAttestationResponse) ContentType

func (r GetVersionAttestationResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetVersionAttestationResponse) GetApplicationproblemJSONDefault

func (r GetVersionAttestationResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (GetVersionAttestationResponse) GetBody

func (r GetVersionAttestationResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetVersionAttestationResponse) GetJSON200

func (r GetVersionAttestationResponse) GetJSON200() *map[string]interface{}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetVersionAttestationResponse) Status

Status returns HTTPResponse.Status

func (GetVersionAttestationResponse) StatusCode

func (r GetVersionAttestationResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetVersionFileParams

type GetVersionFileParams struct {
	// Path Repo-relative file path exactly as listVersionFiles reports it.
	Path string `form:"path" json:"path"`
}

GetVersionFileParams defines parameters for GetVersionFile.

type GetVersionFileResponse

type GetVersionFileResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ReviewFileContent
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseGetVersionFileResponse

func ParseGetVersionFileResponse(rsp *http.Response) (*GetVersionFileResponse, error)

ParseGetVersionFileResponse parses an HTTP response from a GetVersionFileWithResponse call

func (GetVersionFileResponse) ContentType

func (r GetVersionFileResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetVersionFileResponse) GetApplicationproblemJSONDefault

func (r GetVersionFileResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (GetVersionFileResponse) GetBody

func (r GetVersionFileResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetVersionFileResponse) GetJSON200

func (r GetVersionFileResponse) GetJSON200() *ReviewFileContent

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetVersionFileResponse) Status

func (r GetVersionFileResponse) Status() string

Status returns HTTPResponse.Status

func (GetVersionFileResponse) StatusCode

func (r GetVersionFileResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetVersionInfoResponse

type GetVersionInfoResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *AgentVersion
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseGetVersionInfoResponse

func ParseGetVersionInfoResponse(rsp *http.Response) (*GetVersionInfoResponse, error)

ParseGetVersionInfoResponse parses an HTTP response from a GetVersionInfoWithResponse call

func (GetVersionInfoResponse) ContentType

func (r GetVersionInfoResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetVersionInfoResponse) GetApplicationproblemJSONDefault

func (r GetVersionInfoResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (GetVersionInfoResponse) GetBody

func (r GetVersionInfoResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetVersionInfoResponse) GetJSON200

func (r GetVersionInfoResponse) GetJSON200() *AgentVersion

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetVersionInfoResponse) Status

func (r GetVersionInfoResponse) Status() string

Status returns HTTPResponse.Status

func (GetVersionInfoResponse) StatusCode

func (r GetVersionInfoResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetVersionManifestResponse

type GetVersionManifestResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *map[string]interface{}
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseGetVersionManifestResponse

func ParseGetVersionManifestResponse(rsp *http.Response) (*GetVersionManifestResponse, error)

ParseGetVersionManifestResponse parses an HTTP response from a GetVersionManifestWithResponse call

func (GetVersionManifestResponse) ContentType

func (r GetVersionManifestResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetVersionManifestResponse) GetApplicationproblemJSONDefault

func (r GetVersionManifestResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (GetVersionManifestResponse) GetBody

func (r GetVersionManifestResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetVersionManifestResponse) GetJSON200

func (r GetVersionManifestResponse) GetJSON200() *map[string]interface{}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetVersionManifestResponse) Status

Status returns HTTPResponse.Status

func (GetVersionManifestResponse) StatusCode

func (r GetVersionManifestResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetVersionReportResponse

type GetVersionReportResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ScanReport
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseGetVersionReportResponse

func ParseGetVersionReportResponse(rsp *http.Response) (*GetVersionReportResponse, error)

ParseGetVersionReportResponse parses an HTTP response from a GetVersionReportWithResponse call

func (GetVersionReportResponse) ContentType

func (r GetVersionReportResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetVersionReportResponse) GetApplicationproblemJSONDefault

func (r GetVersionReportResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (GetVersionReportResponse) GetBody

func (r GetVersionReportResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetVersionReportResponse) GetJSON200

func (r GetVersionReportResponse) GetJSON200() *ScanReport

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetVersionReportResponse) Status

func (r GetVersionReportResponse) Status() string

Status returns HTTPResponse.Status

func (GetVersionReportResponse) StatusCode

func (r GetVersionReportResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetVoiceResponse

type GetVoiceResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Voice
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseGetVoiceResponse

func ParseGetVoiceResponse(rsp *http.Response) (*GetVoiceResponse, error)

ParseGetVoiceResponse parses an HTTP response from a GetVoiceWithResponse call

func (GetVoiceResponse) ContentType

func (r GetVoiceResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetVoiceResponse) GetApplicationproblemJSONDefault

func (r GetVoiceResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (GetVoiceResponse) GetBody

func (r GetVoiceResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetVoiceResponse) GetJSON200

func (r GetVoiceResponse) GetJSON200() *Voice

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetVoiceResponse) Status

func (r GetVoiceResponse) Status() string

Status returns HTTPResponse.Status

func (GetVoiceResponse) StatusCode

func (r GetVoiceResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetWebhookResponse

type GetWebhookResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *WebhookEndpoint
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseGetWebhookResponse

func ParseGetWebhookResponse(rsp *http.Response) (*GetWebhookResponse, error)

ParseGetWebhookResponse parses an HTTP response from a GetWebhookWithResponse call

func (GetWebhookResponse) ContentType

func (r GetWebhookResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetWebhookResponse) GetApplicationproblemJSONDefault

func (r GetWebhookResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (GetWebhookResponse) GetBody

func (r GetWebhookResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetWebhookResponse) GetJSON200

func (r GetWebhookResponse) GetJSON200() *WebhookEndpoint

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetWebhookResponse) Status

func (r GetWebhookResponse) Status() string

Status returns HTTPResponse.Status

func (GetWebhookResponse) StatusCode

func (r GetWebhookResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Handle

type Handle = string

Handle defines model for Handle.

type HttpRequestDoer

type HttpRequestDoer interface {
	Do(req *http.Request) (*http.Response, error)
}

Doer performs HTTP requests.

The standard http.Client implements this interface.

type Invitation

type Invitation struct {
	CreatedAt time.Time `json:"createdAt"`
	Email     string    `json:"email"`

	// Expired An expired invitation holds no seat and cannot be accepted.
	Expired   *bool              `json:"expired,omitempty"`
	ExpiresAt time.Time          `json:"expiresAt"`
	Id        openapi_types.UUID `json:"id"`

	// InvitedBy The handle of the admin who sent it.
	InvitedBy *string `json:"invitedBy,omitempty"`

	// Role An organization role, ordered admin > security_reviewer | member. Admins manage the organization, its members, settings and sign-in policy, and hold the security reviewer's powers; security_reviewer is a platform-internal role that exists only inside a first-party organization; there is no owner role, only admins. An organization always keeps one admin: demoting or removing the last one is 409 last-admin.
	Role OrgRole `json:"role"`
}

Invitation defines model for Invitation.

type InvitationOffer

type InvitationOffer struct {
	// Acceptable Whether the signed-in account may accept it now.
	Acceptable bool `json:"acceptable"`

	// Email The address the invitation is bound to.
	Email          string    `json:"email"`
	ExpiresAt      time.Time `json:"expiresAt"`
	Org            string    `json:"org"`
	OrgDisplayName string    `json:"orgDisplayName"`

	// Reason Why it cannot be accepted, when it cannot.
	Reason *string `json:"reason,omitempty"`

	// Role An organization role, ordered admin > security_reviewer | member. Admins manage the organization, its members, settings and sign-in policy, and hold the security reviewer's powers; security_reviewer is a platform-internal role that exists only inside a first-party organization; there is no owner role, only admins. An organization always keeps one admin: demoting or removing the last one is 409 last-admin.
	Role OrgRole `json:"role"`
}

InvitationOffer defines model for InvitationOffer.

type JudgeUsage

type JudgeUsage struct {
	CompletionTokens int `json:"completionTokens"`
	PromptTokens     int `json:"promptTokens"`
}

JudgeUsage The token use the AI Review model's provider reported for this scan run — what the review cost, as measured. Present for platform staff only, and absent when the provider reported none (the static and classifier judges, an endpoint without a usage block); absent means unknown, not zero. Not part of the signed report.

type KnowledgeDataKey

type KnowledgeDataKey struct {
	// Key A pack's 32-byte data key.
	Key []byte `json:"key"`
}

KnowledgeDataKey defines model for KnowledgeDataKey.

type KnowledgePack

type KnowledgePack struct {
	// Bytes The tree's files, in bytes, as the CLI counts them.
	Bytes     int64     `json:"bytes"`
	CreatedAt time.Time `json:"createdAt"`

	// Digest sha256:<hex> of the tree; empty before an upload.
	Digest string `json:"digest"`

	// Exportable On a shared pack: whether its members may export it, which an admin marks. Its admins export it either way; a person's own pack is theirs to export and carries no flag.
	Exportable *bool              `json:"exportable,omitempty"`
	Files      int                `json:"files"`
	Id         openapi_types.UUID `json:"id"`
	Name       string             `json:"name"`

	// Org The organization's handle, on a shared pack.
	Org *string `json:"org,omitempty"`

	// Pages The wiki's pages, the index and the log aside.
	Pages int `json:"pages"`

	// Scan What a pack's scan read and found: a record, never a gate. The stages that read prose over every text file, then AI Review over `sources/` and then `wiki/` in chunks no larger than the judge declares it reads.
	Scan      *KnowledgeScanReport `json:"scan,omitempty"`
	ScannedAt *time.Time           `json:"scannedAt,omitempty"`

	// Shared An organization's shared pack, read through `/orgs/{org}/knowledge/`; false for the caller's own.
	Shared bool `json:"shared"`

	// State `empty` until a tree is uploaded; `scanning` from each upload until its scan ends, when the pack cannot be downloaded or exported (409 `knowledge-scanning`); `ready` after it, findings or not; `failed` when the stored tree could not be read to scan.
	State     KnowledgePackState `json:"state"`
	UpdatedAt time.Time          `json:"updatedAt"`

	// WrappedKey A pack's data key as a wrapper sealed it: the wrapper's `kind` (`deployment` on a core registry), the `recipient` it is wrapped to (a key's id, never a key), and the sealed bytes.
	WrappedKey KnowledgeWrappedKey `json:"wrappedKey"`
}

KnowledgePack A knowledge pack the caller keeps in the registry: what may be read of it without its data key, and the key as the caller's wrapper wrapped it.

type KnowledgePackId

type KnowledgePackId = openapi_types.UUID

KnowledgePackId defines model for KnowledgePackId.

type KnowledgePackSize

type KnowledgePackSize struct {
	Bytes     int64              `json:"bytes"`
	CreatedAt time.Time          `json:"createdAt"`
	Id        openapi_types.UUID `json:"id"`
	Name      string             `json:"name"`

	// State `empty` until a tree is uploaded; `scanning` from each upload until its scan ends, when the pack cannot be downloaded or exported (409 `knowledge-scanning`); `ready` after it, findings or not; `failed` when the stored tree could not be read to scan.
	State     KnowledgePackState `json:"state"`
	UpdatedAt time.Time          `json:"updatedAt"`
}

KnowledgePackSize defines model for KnowledgePackSize.

type KnowledgePackState

type KnowledgePackState string

KnowledgePackState `empty` until a tree is uploaded; `scanning` from each upload until its scan ends, when the pack cannot be downloaded or exported (409 `knowledge-scanning`); `ready` after it, findings or not; `failed` when the stored tree could not be read to scan.

const (
	KnowledgePackStateEmpty    KnowledgePackState = "empty"
	KnowledgePackStateFailed   KnowledgePackState = "failed"
	KnowledgePackStateReady    KnowledgePackState = "ready"
	KnowledgePackStateScanning KnowledgePackState = "scanning"
)

Defines values for KnowledgePackState.

func (KnowledgePackState) Valid

func (e KnowledgePackState) Valid() bool

Valid indicates whether the value is a known member of the KnowledgePackState enum.

type KnowledgeScanReport

type KnowledgeScanReport struct {
	Findings []struct {
		Chunk      *int                                `json:"chunk,omitempty"`
		Confidence string                              `json:"confidence"`
		File       *string                             `json:"file,omitempty"`
		Line       *int                                `json:"line,omitempty"`
		Part       KnowledgeScanReportFindingsPart     `json:"part"`
		Scanner    string                              `json:"scanner"`
		Severity   KnowledgeScanReportFindingsSeverity `json:"severity"`
		Title      string                              `json:"title"`
	} `json:"findings"`
	Read struct {
		Bytes int64 `json:"bytes"`

		// NotRead Files not read as text — a source's original, whose extracted text beside it is read.
		NotRead []string `json:"notRead"`
		Sources int      `json:"sources"`
		Wiki    int      `json:"wiki"`
	} `json:"read"`
	Review struct {
		ChunkBytes *int    `json:"chunkBytes,omitempty"`
		Configured bool    `json:"configured"`
		Error      *string `json:"error,omitempty"`

		// Failed Chunks the judge failed on; the review is incomplete when it is not 0.
		Failed *int    `json:"failed,omitempty"`
		Model  *string `json:"model,omitempty"`

		// Note "AI Review not configured" on a registry whose judge provider is none.
		Note         *string `json:"note,omitempty"`
		Provider     string  `json:"provider"`
		RubricHash   *string `json:"rubricHash,omitempty"`
		SourceChunks int     `json:"sourceChunks"`

		// Usage The token use the AI Review model's provider reported for this scan run — what the review cost, as measured. Present for platform staff only, and absent when the provider reported none (the static and classifier judges, an endpoint without a usage block); absent means unknown, not zero. Not part of the signed report.
		Usage      *JudgeUsage `json:"usage,omitempty"`
		WikiChunks int         `json:"wikiChunks"`
	} `json:"review"`
	Schema string `json:"schema"`
	Stages []struct {
		// Failed The stage did not finish (a timeout, a panic); its findings are not all there are.
		Failed *bool  `json:"failed,omitempty"`
		Id     string `json:"id"`
		Name   string `json:"name"`
	} `json:"stages"`
}

KnowledgeScanReport What a pack's scan read and found: a record, never a gate. The stages that read prose over every text file, then AI Review over `sources/` and then `wiki/` in chunks no larger than the judge declares it reads.

type KnowledgeScanReportFindingsPart

type KnowledgeScanReportFindingsPart string

KnowledgeScanReportFindingsPart defines model for KnowledgeScanReport.Findings.Part.

const (
	Sources KnowledgeScanReportFindingsPart = "sources"
	Wiki    KnowledgeScanReportFindingsPart = "wiki"
)

Defines values for KnowledgeScanReportFindingsPart.

func (KnowledgeScanReportFindingsPart) Valid

Valid indicates whether the value is a known member of the KnowledgeScanReportFindingsPart enum.

type KnowledgeScanReportFindingsSeverity

type KnowledgeScanReportFindingsSeverity string

KnowledgeScanReportFindingsSeverity defines model for KnowledgeScanReport.Findings.Severity.

const (
	KnowledgeScanReportFindingsSeverityCritical KnowledgeScanReportFindingsSeverity = "critical"
	KnowledgeScanReportFindingsSeverityHigh     KnowledgeScanReportFindingsSeverity = "high"
	KnowledgeScanReportFindingsSeverityInfo     KnowledgeScanReportFindingsSeverity = "info"
	KnowledgeScanReportFindingsSeverityLow      KnowledgeScanReportFindingsSeverity = "low"
	KnowledgeScanReportFindingsSeverityMedium   KnowledgeScanReportFindingsSeverity = "medium"
)

Defines values for KnowledgeScanReportFindingsSeverity.

func (KnowledgeScanReportFindingsSeverity) Valid

Valid indicates whether the value is a known member of the KnowledgeScanReportFindingsSeverity enum.

type KnowledgeShipping

type KnowledgeShipping struct {
	Packs []ShippedPack `json:"packs"`
}

KnowledgeShipping A publisher's confirmation that the knowledge packs a release ships become readable by everyone who can download it: one entry for each pack the package's manifest ships (`knowledge.ships`), no more and no fewer.

type KnowledgeUsage

type KnowledgeUsage struct {
	// Bytes The bytes of every pack the caller keeps here.
	Bytes int64 `json:"bytes"`

	// Max The allocation; 0 is no cap.
	Max int64 `json:"max"`

	// Packs The packs the caller keeps here.
	Packs int `json:"packs"`

	// Pooled The allocation is shared with other owners.
	Pooled bool `json:"pooled"`

	// Used What counts against the allocation: `bytes`, or, when `pooled`, the pool's total — every pack of every owner who shares it (a paid organization's, and its members').
	Used int64 `json:"used"`
}

KnowledgeUsage defines model for KnowledgeUsage.

type KnowledgeWrappedKey

type KnowledgeWrappedKey struct {
	Key       []byte `json:"key"`
	Kind      string `json:"kind"`
	Recipient string `json:"recipient"`
}

KnowledgeWrappedKey A pack's data key as a wrapper sealed it: the wrapper's `kind` (`deployment` on a core registry), the `recipient` it is wrapped to (a key's id, never a key), and the sealed bytes.

type Limit100

type Limit100 = int

Limit100 defines model for Limit100.

type Limit200

type Limit200 = int

Limit200 defines model for Limit200.

type ListAbuseReportsParams

type ListAbuseReportsParams struct {
	// State Filter by triage state; defaults to open.
	State *ListAbuseReportsParamsState `form:"state,omitempty" json:"state,omitempty"`
	Limit *int                         `form:"limit,omitempty" json:"limit,omitempty"`
}

ListAbuseReportsParams defines parameters for ListAbuseReports.

type ListAbuseReportsParamsState

type ListAbuseReportsParamsState string

ListAbuseReportsParamsState defines parameters for ListAbuseReports.

const (
	ListAbuseReportsParamsStateActioned  ListAbuseReportsParamsState = "actioned"
	ListAbuseReportsParamsStateDismissed ListAbuseReportsParamsState = "dismissed"
	ListAbuseReportsParamsStateOpen      ListAbuseReportsParamsState = "open"
	ListAbuseReportsParamsStateTriaged   ListAbuseReportsParamsState = "triaged"
)

Defines values for ListAbuseReportsParamsState.

func (ListAbuseReportsParamsState) Valid

Valid indicates whether the value is a known member of the ListAbuseReportsParamsState enum.

type ListAbuseReportsResponse

type ListAbuseReportsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]AbuseReport
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseListAbuseReportsResponse

func ParseListAbuseReportsResponse(rsp *http.Response) (*ListAbuseReportsResponse, error)

ParseListAbuseReportsResponse parses an HTTP response from a ListAbuseReportsWithResponse call

func (ListAbuseReportsResponse) ContentType

func (r ListAbuseReportsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListAbuseReportsResponse) GetApplicationproblemJSONDefault

func (r ListAbuseReportsResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (ListAbuseReportsResponse) GetBody

func (r ListAbuseReportsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ListAbuseReportsResponse) GetJSON200

func (r ListAbuseReportsResponse) GetJSON200() *[]AbuseReport

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListAbuseReportsResponse) Status

func (r ListAbuseReportsResponse) Status() string

Status returns HTTPResponse.Status

func (ListAbuseReportsResponse) StatusCode

func (r ListAbuseReportsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListAccountInstallsResponse

type ListAccountInstallsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]AccountInstall
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseListAccountInstallsResponse

func ParseListAccountInstallsResponse(rsp *http.Response) (*ListAccountInstallsResponse, error)

ParseListAccountInstallsResponse parses an HTTP response from a ListAccountInstallsWithResponse call

func (ListAccountInstallsResponse) ContentType

func (r ListAccountInstallsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListAccountInstallsResponse) GetApplicationproblemJSONDefault

func (r ListAccountInstallsResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (ListAccountInstallsResponse) GetBody

func (r ListAccountInstallsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ListAccountInstallsResponse) GetJSON200

func (r ListAccountInstallsResponse) GetJSON200() *[]AccountInstall

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListAccountInstallsResponse) Status

Status returns HTTPResponse.Status

func (ListAccountInstallsResponse) StatusCode

func (r ListAccountInstallsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListAdvisoriesParams

type ListAdvisoriesParams struct {
	// Affecting ns/name. Omit for the global feed.
	Affecting *string `form:"affecting,omitempty" json:"affecting,omitempty"`

	// Digest With `affecting`: the `archiveDigest` of a release of that agent the caller holds. It proves the caller held the agent, so its advisories are served even when the agent is now private, retired or deleted. Ignored without `affecting` and when the caller can read the agent anyway.
	Digest *string `form:"digest,omitempty" json:"digest,omitempty"`

	// Cursor Opaque keyset cursor from the previous page's Link header (feed mode).
	Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`

	// Limit Page size (feed mode; clamped).
	Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}

ListAdvisoriesParams defines parameters for ListAdvisories.

type ListAdvisoriesResponse

type ListAdvisoriesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]Advisory
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseListAdvisoriesResponse

func ParseListAdvisoriesResponse(rsp *http.Response) (*ListAdvisoriesResponse, error)

ParseListAdvisoriesResponse parses an HTTP response from a ListAdvisoriesWithResponse call

func (ListAdvisoriesResponse) ContentType

func (r ListAdvisoriesResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListAdvisoriesResponse) GetApplicationproblemJSONDefault

func (r ListAdvisoriesResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (ListAdvisoriesResponse) GetBody

func (r ListAdvisoriesResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ListAdvisoriesResponse) GetJSON200

func (r ListAdvisoriesResponse) GetJSON200() *[]Advisory

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListAdvisoriesResponse) Status

func (r ListAdvisoriesResponse) Status() string

Status returns HTTPResponse.Status

func (ListAdvisoriesResponse) StatusCode

func (r ListAdvisoriesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListAgentActivityParams

type ListAgentActivityParams struct {
	// Cursor Opaque cursor from the previous page's `Link` header.
	Cursor *Cursor `form:"cursor,omitempty" json:"cursor,omitempty"`

	// Limit Page size; values outside the range are clamped, not rejected.
	Limit *Limit100 `form:"limit,omitempty" json:"limit,omitempty"`
}

ListAgentActivityParams defines parameters for ListAgentActivity.

type ListAgentActivityResponse

type ListAgentActivityResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ActivityPage
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseListAgentActivityResponse

func ParseListAgentActivityResponse(rsp *http.Response) (*ListAgentActivityResponse, error)

ParseListAgentActivityResponse parses an HTTP response from a ListAgentActivityWithResponse call

func (ListAgentActivityResponse) ContentType

func (r ListAgentActivityResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListAgentActivityResponse) GetApplicationproblemJSONDefault

func (r ListAgentActivityResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (ListAgentActivityResponse) GetBody

func (r ListAgentActivityResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ListAgentActivityResponse) GetJSON200

func (r ListAgentActivityResponse) GetJSON200() *ActivityPage

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListAgentActivityResponse) Status

func (r ListAgentActivityResponse) Status() string

Status returns HTTPResponse.Status

func (ListAgentActivityResponse) StatusCode

func (r ListAgentActivityResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListAgentGrantsResponse

type ListAgentGrantsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]AgentGrant
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseListAgentGrantsResponse

func ParseListAgentGrantsResponse(rsp *http.Response) (*ListAgentGrantsResponse, error)

ParseListAgentGrantsResponse parses an HTTP response from a ListAgentGrantsWithResponse call

func (ListAgentGrantsResponse) ContentType

func (r ListAgentGrantsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListAgentGrantsResponse) GetApplicationproblemJSONDefault

func (r ListAgentGrantsResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (ListAgentGrantsResponse) GetBody

func (r ListAgentGrantsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ListAgentGrantsResponse) GetJSON200

func (r ListAgentGrantsResponse) GetJSON200() *[]AgentGrant

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListAgentGrantsResponse) Status

func (r ListAgentGrantsResponse) Status() string

Status returns HTTPResponse.Status

func (ListAgentGrantsResponse) StatusCode

func (r ListAgentGrantsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListAgentsByTagParams

type ListAgentsByTagParams struct {
	// Cursor Opaque cursor from the previous page's `Link` header.
	Cursor *Cursor `form:"cursor,omitempty" json:"cursor,omitempty"`

	// Limit Page size; values outside the range are clamped, not rejected.
	Limit *Limit100 `form:"limit,omitempty" json:"limit,omitempty"`
}

ListAgentsByTagParams defines parameters for ListAgentsByTag.

type ListAgentsByTagResponse

type ListAgentsByTagResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *TagPage
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseListAgentsByTagResponse

func ParseListAgentsByTagResponse(rsp *http.Response) (*ListAgentsByTagResponse, error)

ParseListAgentsByTagResponse parses an HTTP response from a ListAgentsByTagWithResponse call

func (ListAgentsByTagResponse) ContentType

func (r ListAgentsByTagResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListAgentsByTagResponse) GetApplicationproblemJSONDefault

func (r ListAgentsByTagResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (ListAgentsByTagResponse) GetBody

func (r ListAgentsByTagResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ListAgentsByTagResponse) GetJSON200

func (r ListAgentsByTagResponse) GetJSON200() *TagPage

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListAgentsByTagResponse) Status

func (r ListAgentsByTagResponse) Status() string

Status returns HTTPResponse.Status

func (ListAgentsByTagResponse) StatusCode

func (r ListAgentsByTagResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListAgentsParams

type ListAgentsParams struct {
	Namespace string `form:"namespace" json:"namespace"`

	// Q Case-insensitive substring of the agent's name or summary.
	Q *string `form:"q,omitempty" json:"q,omitempty"`

	// State `active` lists agents that are not retired, `retired` only the retired ones; absent, both.
	State *ListAgentsParamsState `form:"state,omitempty" json:"state,omitempty"`

	// Forks `only` lists the namespace's forks, `none` the agents that are not forks; absent, both.
	Forks *ListAgentsParamsForks `form:"forks,omitempty" json:"forks,omitempty"`

	// Sort `name` (the default), `newest` (created), `installs` (the last 30 days) or `submitted` (the newest submission of any version).
	Sort *ListAgentsParamsSort `form:"sort,omitempty" json:"sort,omitempty"`
}

ListAgentsParams defines parameters for ListAgents.

type ListAgentsParamsForks

type ListAgentsParamsForks string

ListAgentsParamsForks defines parameters for ListAgents.

const (
	ListAgentsParamsForksNone ListAgentsParamsForks = "none"
	ListAgentsParamsForksOnly ListAgentsParamsForks = "only"
)

Defines values for ListAgentsParamsForks.

func (ListAgentsParamsForks) Valid

func (e ListAgentsParamsForks) Valid() bool

Valid indicates whether the value is a known member of the ListAgentsParamsForks enum.

type ListAgentsParamsSort

type ListAgentsParamsSort string

ListAgentsParamsSort defines parameters for ListAgents.

const (
	ListAgentsParamsSortInstalls  ListAgentsParamsSort = "installs"
	ListAgentsParamsSortName      ListAgentsParamsSort = "name"
	ListAgentsParamsSortNewest    ListAgentsParamsSort = "newest"
	ListAgentsParamsSortSubmitted ListAgentsParamsSort = "submitted"
)

Defines values for ListAgentsParamsSort.

func (ListAgentsParamsSort) Valid

func (e ListAgentsParamsSort) Valid() bool

Valid indicates whether the value is a known member of the ListAgentsParamsSort enum.

type ListAgentsParamsState

type ListAgentsParamsState string

ListAgentsParamsState defines parameters for ListAgents.

const (
	ListAgentsParamsStateActive  ListAgentsParamsState = "active"
	ListAgentsParamsStateRetired ListAgentsParamsState = "retired"
)

Defines values for ListAgentsParamsState.

func (ListAgentsParamsState) Valid

func (e ListAgentsParamsState) Valid() bool

Valid indicates whether the value is a known member of the ListAgentsParamsState enum.

type ListAgentsResponse

type ListAgentsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]Agent
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseListAgentsResponse

func ParseListAgentsResponse(rsp *http.Response) (*ListAgentsResponse, error)

ParseListAgentsResponse parses an HTTP response from a ListAgentsWithResponse call

func (ListAgentsResponse) ContentType

func (r ListAgentsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListAgentsResponse) GetApplicationproblemJSONDefault

func (r ListAgentsResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (ListAgentsResponse) GetBody

func (r ListAgentsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ListAgentsResponse) GetJSON200

func (r ListAgentsResponse) GetJSON200() *[]Agent

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListAgentsResponse) Status

func (r ListAgentsResponse) Status() string

Status returns HTTPResponse.Status

func (ListAgentsResponse) StatusCode

func (r ListAgentsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListDomainClaimsResponse

type ListDomainClaimsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]DomainClaim
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseListDomainClaimsResponse

func ParseListDomainClaimsResponse(rsp *http.Response) (*ListDomainClaimsResponse, error)

ParseListDomainClaimsResponse parses an HTTP response from a ListDomainClaimsWithResponse call

func (ListDomainClaimsResponse) ContentType

func (r ListDomainClaimsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListDomainClaimsResponse) GetApplicationproblemJSONDefault

func (r ListDomainClaimsResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (ListDomainClaimsResponse) GetBody

func (r ListDomainClaimsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ListDomainClaimsResponse) GetJSON200

func (r ListDomainClaimsResponse) GetJSON200() *[]DomainClaim

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListDomainClaimsResponse) Status

func (r ListDomainClaimsResponse) Status() string

Status returns HTTPResponse.Status

func (ListDomainClaimsResponse) StatusCode

func (r ListDomainClaimsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListInvitationsResponse

type ListInvitationsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]Invitation
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseListInvitationsResponse

func ParseListInvitationsResponse(rsp *http.Response) (*ListInvitationsResponse, error)

ParseListInvitationsResponse parses an HTTP response from a ListInvitationsWithResponse call

func (ListInvitationsResponse) ContentType

func (r ListInvitationsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListInvitationsResponse) GetApplicationproblemJSONDefault

func (r ListInvitationsResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (ListInvitationsResponse) GetBody

func (r ListInvitationsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ListInvitationsResponse) GetJSON200

func (r ListInvitationsResponse) GetJSON200() *[]Invitation

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListInvitationsResponse) Status

func (r ListInvitationsResponse) Status() string

Status returns HTTPResponse.Status

func (ListInvitationsResponse) StatusCode

func (r ListInvitationsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListKnowledgePackSizesParams

type ListKnowledgePackSizesParams struct {
	// Owner The account's or the organization's handle.
	Owner string `form:"owner" json:"owner"`
}

ListKnowledgePackSizesParams defines parameters for ListKnowledgePackSizes.

type ListKnowledgePackSizesResponse

type ListKnowledgePackSizesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]KnowledgePackSize
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseListKnowledgePackSizesResponse

func ParseListKnowledgePackSizesResponse(rsp *http.Response) (*ListKnowledgePackSizesResponse, error)

ParseListKnowledgePackSizesResponse parses an HTTP response from a ListKnowledgePackSizesWithResponse call

func (ListKnowledgePackSizesResponse) ContentType

func (r ListKnowledgePackSizesResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListKnowledgePackSizesResponse) GetApplicationproblemJSONDefault

func (r ListKnowledgePackSizesResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (ListKnowledgePackSizesResponse) GetBody

func (r ListKnowledgePackSizesResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ListKnowledgePackSizesResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListKnowledgePackSizesResponse) Status

Status returns HTTPResponse.Status

func (ListKnowledgePackSizesResponse) StatusCode

func (r ListKnowledgePackSizesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListKnowledgePacksResponse

type ListKnowledgePacksResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]KnowledgePack
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseListKnowledgePacksResponse

func ParseListKnowledgePacksResponse(rsp *http.Response) (*ListKnowledgePacksResponse, error)

ParseListKnowledgePacksResponse parses an HTTP response from a ListKnowledgePacksWithResponse call

func (ListKnowledgePacksResponse) ContentType

func (r ListKnowledgePacksResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListKnowledgePacksResponse) GetApplicationproblemJSONDefault

func (r ListKnowledgePacksResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (ListKnowledgePacksResponse) GetBody

func (r ListKnowledgePacksResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ListKnowledgePacksResponse) GetJSON200

func (r ListKnowledgePacksResponse) GetJSON200() *[]KnowledgePack

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListKnowledgePacksResponse) Status

Status returns HTTPResponse.Status

func (ListKnowledgePacksResponse) StatusCode

func (r ListKnowledgePacksResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListOrgAuditParams

type ListOrgAuditParams struct {
	Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
	Limit  *int    `form:"limit,omitempty" json:"limit,omitempty"`
	Action *string `form:"action,omitempty" json:"action,omitempty"`
}

ListOrgAuditParams defines parameters for ListOrgAudit.

type ListOrgAuditResponse

type ListOrgAuditResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *AuditPage
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseListOrgAuditResponse

func ParseListOrgAuditResponse(rsp *http.Response) (*ListOrgAuditResponse, error)

ParseListOrgAuditResponse parses an HTTP response from a ListOrgAuditWithResponse call

func (ListOrgAuditResponse) ContentType

func (r ListOrgAuditResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListOrgAuditResponse) GetApplicationproblemJSONDefault

func (r ListOrgAuditResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (ListOrgAuditResponse) GetBody

func (r ListOrgAuditResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ListOrgAuditResponse) GetJSON200

func (r ListOrgAuditResponse) GetJSON200() *AuditPage

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListOrgAuditResponse) Status

func (r ListOrgAuditResponse) Status() string

Status returns HTTPResponse.Status

func (ListOrgAuditResponse) StatusCode

func (r ListOrgAuditResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListOrgKnowledgePacksResponse

type ListOrgKnowledgePacksResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]KnowledgePack
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseListOrgKnowledgePacksResponse

func ParseListOrgKnowledgePacksResponse(rsp *http.Response) (*ListOrgKnowledgePacksResponse, error)

ParseListOrgKnowledgePacksResponse parses an HTTP response from a ListOrgKnowledgePacksWithResponse call

func (ListOrgKnowledgePacksResponse) ContentType

func (r ListOrgKnowledgePacksResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListOrgKnowledgePacksResponse) GetApplicationproblemJSONDefault

func (r ListOrgKnowledgePacksResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (ListOrgKnowledgePacksResponse) GetBody

func (r ListOrgKnowledgePacksResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ListOrgKnowledgePacksResponse) GetJSON200

func (r ListOrgKnowledgePacksResponse) GetJSON200() *[]KnowledgePack

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListOrgKnowledgePacksResponse) Status

Status returns HTTPResponse.Status

func (ListOrgKnowledgePacksResponse) StatusCode

func (r ListOrgKnowledgePacksResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListOrgMembersResponse

type ListOrgMembersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]Membership
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseListOrgMembersResponse

func ParseListOrgMembersResponse(rsp *http.Response) (*ListOrgMembersResponse, error)

ParseListOrgMembersResponse parses an HTTP response from a ListOrgMembersWithResponse call

func (ListOrgMembersResponse) ContentType

func (r ListOrgMembersResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListOrgMembersResponse) GetApplicationproblemJSONDefault

func (r ListOrgMembersResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (ListOrgMembersResponse) GetBody

func (r ListOrgMembersResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ListOrgMembersResponse) GetJSON200

func (r ListOrgMembersResponse) GetJSON200() *[]Membership

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListOrgMembersResponse) Status

func (r ListOrgMembersResponse) Status() string

Status returns HTTPResponse.Status

func (ListOrgMembersResponse) StatusCode

func (r ListOrgMembersResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListOrgReportDesignsResponse added in v0.7.5

type ListOrgReportDesignsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *OrgReportDesignList
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseListOrgReportDesignsResponse added in v0.7.5

func ParseListOrgReportDesignsResponse(rsp *http.Response) (*ListOrgReportDesignsResponse, error)

ParseListOrgReportDesignsResponse parses an HTTP response from a ListOrgReportDesignsWithResponse call

func (ListOrgReportDesignsResponse) ContentType added in v0.7.5

func (r ListOrgReportDesignsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListOrgReportDesignsResponse) GetApplicationproblemJSONDefault added in v0.7.5

func (r ListOrgReportDesignsResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (ListOrgReportDesignsResponse) GetBody added in v0.7.5

func (r ListOrgReportDesignsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ListOrgReportDesignsResponse) GetJSON200 added in v0.7.5

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListOrgReportDesignsResponse) Status added in v0.7.5

Status returns HTTPResponse.Status

func (ListOrgReportDesignsResponse) StatusCode added in v0.7.5

func (r ListOrgReportDesignsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListPlatformAuditParams

type ListPlatformAuditParams struct {
	// Cursor Opaque cursor from the previous page's `Link` header.
	Cursor *Cursor `form:"cursor,omitempty" json:"cursor,omitempty"`

	// Limit Page size; values outside the range are clamped, not rejected.
	Limit  *Limit200 `form:"limit,omitempty" json:"limit,omitempty"`
	Action *string   `form:"action,omitempty" json:"action,omitempty"`

	// Org Restrict to one org handle.
	Org *string `form:"org,omitempty" json:"org,omitempty"`
}

ListPlatformAuditParams defines parameters for ListPlatformAudit.

type ListPlatformAuditResponse

type ListPlatformAuditResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *AuditPage
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseListPlatformAuditResponse

func ParseListPlatformAuditResponse(rsp *http.Response) (*ListPlatformAuditResponse, error)

ParseListPlatformAuditResponse parses an HTTP response from a ListPlatformAuditWithResponse call

func (ListPlatformAuditResponse) ContentType

func (r ListPlatformAuditResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListPlatformAuditResponse) GetApplicationproblemJSONDefault

func (r ListPlatformAuditResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (ListPlatformAuditResponse) GetBody

func (r ListPlatformAuditResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ListPlatformAuditResponse) GetJSON200

func (r ListPlatformAuditResponse) GetJSON200() *AuditPage

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListPlatformAuditResponse) Status

func (r ListPlatformAuditResponse) Status() string

Status returns HTTPResponse.Status

func (ListPlatformAuditResponse) StatusCode

func (r ListPlatformAuditResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListRedTeamReportsParams

type ListRedTeamReportsParams struct {
	Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}

ListRedTeamReportsParams defines parameters for ListRedTeamReports.

type ListRedTeamReportsResponse

type ListRedTeamReportsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]RedTeamReport
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseListRedTeamReportsResponse

func ParseListRedTeamReportsResponse(rsp *http.Response) (*ListRedTeamReportsResponse, error)

ParseListRedTeamReportsResponse parses an HTTP response from a ListRedTeamReportsWithResponse call

func (ListRedTeamReportsResponse) ContentType

func (r ListRedTeamReportsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListRedTeamReportsResponse) GetApplicationproblemJSONDefault

func (r ListRedTeamReportsResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (ListRedTeamReportsResponse) GetBody

func (r ListRedTeamReportsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ListRedTeamReportsResponse) GetJSON200

func (r ListRedTeamReportsResponse) GetJSON200() *[]RedTeamReport

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListRedTeamReportsResponse) Status

Status returns HTTPResponse.Status

func (ListRedTeamReportsResponse) StatusCode

func (r ListRedTeamReportsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListReviewFilesResponse

type ListReviewFilesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ReviewFileList
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseListReviewFilesResponse

func ParseListReviewFilesResponse(rsp *http.Response) (*ListReviewFilesResponse, error)

ParseListReviewFilesResponse parses an HTTP response from a ListReviewFilesWithResponse call

func (ListReviewFilesResponse) ContentType

func (r ListReviewFilesResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListReviewFilesResponse) GetApplicationproblemJSONDefault

func (r ListReviewFilesResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (ListReviewFilesResponse) GetBody

func (r ListReviewFilesResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ListReviewFilesResponse) GetJSON200

func (r ListReviewFilesResponse) GetJSON200() *ReviewFileList

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListReviewFilesResponse) Status

func (r ListReviewFilesResponse) Status() string

Status returns HTTPResponse.Status

func (ListReviewFilesResponse) StatusCode

func (r ListReviewFilesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListReviewQueueParams

type ListReviewQueueParams struct {
	Queue ListReviewQueueParamsQueue `form:"queue" json:"queue"`

	// Org The organization of an org queue; optional for platform staff.
	Org   *string `form:"org,omitempty" json:"org,omitempty"`
	Limit *int    `form:"limit,omitempty" json:"limit,omitempty"`
}

ListReviewQueueParams defines parameters for ListReviewQueue.

type ListReviewQueueParamsQueue

type ListReviewQueueParamsQueue string

ListReviewQueueParamsQueue defines parameters for ListReviewQueue.

const (
	ListReviewQueueParamsQueueOrg      ListReviewQueueParamsQueue = "org"
	ListReviewQueueParamsQueuePlatform ListReviewQueueParamsQueue = "platform"
)

Defines values for ListReviewQueueParamsQueue.

func (ListReviewQueueParamsQueue) Valid

func (e ListReviewQueueParamsQueue) Valid() bool

Valid indicates whether the value is a known member of the ListReviewQueueParamsQueue enum.

type ListReviewQueueResponse

type ListReviewQueueResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]ReviewItem
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseListReviewQueueResponse

func ParseListReviewQueueResponse(rsp *http.Response) (*ListReviewQueueResponse, error)

ParseListReviewQueueResponse parses an HTTP response from a ListReviewQueueWithResponse call

func (ListReviewQueueResponse) ContentType

func (r ListReviewQueueResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListReviewQueueResponse) GetApplicationproblemJSONDefault

func (r ListReviewQueueResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (ListReviewQueueResponse) GetBody

func (r ListReviewQueueResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ListReviewQueueResponse) GetJSON200

func (r ListReviewQueueResponse) GetJSON200() *[]ReviewItem

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListReviewQueueResponse) Status

func (r ListReviewQueueResponse) Status() string

Status returns HTTPResponse.Status

func (ListReviewQueueResponse) StatusCode

func (r ListReviewQueueResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListRulesetReleasesResponse

type ListRulesetReleasesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]RulesetRelease
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseListRulesetReleasesResponse

func ParseListRulesetReleasesResponse(rsp *http.Response) (*ListRulesetReleasesResponse, error)

ParseListRulesetReleasesResponse parses an HTTP response from a ListRulesetReleasesWithResponse call

func (ListRulesetReleasesResponse) ContentType

func (r ListRulesetReleasesResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListRulesetReleasesResponse) GetApplicationproblemJSONDefault

func (r ListRulesetReleasesResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (ListRulesetReleasesResponse) GetBody

func (r ListRulesetReleasesResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ListRulesetReleasesResponse) GetJSON200

func (r ListRulesetReleasesResponse) GetJSON200() *[]RulesetRelease

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListRulesetReleasesResponse) Status

Status returns HTTPResponse.Status

func (ListRulesetReleasesResponse) StatusCode

func (r ListRulesetReleasesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListSshKeysResponse

type ListSshKeysResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]SshKey
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseListSshKeysResponse

func ParseListSshKeysResponse(rsp *http.Response) (*ListSshKeysResponse, error)

ParseListSshKeysResponse parses an HTTP response from a ListSshKeysWithResponse call

func (ListSshKeysResponse) ContentType

func (r ListSshKeysResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListSshKeysResponse) GetApplicationproblemJSONDefault

func (r ListSshKeysResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (ListSshKeysResponse) GetBody

func (r ListSshKeysResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ListSshKeysResponse) GetJSON200

func (r ListSshKeysResponse) GetJSON200() *[]SshKey

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListSshKeysResponse) Status

func (r ListSshKeysResponse) Status() string

Status returns HTTPResponse.Status

func (ListSshKeysResponse) StatusCode

func (r ListSshKeysResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListTeamMembersResponse

type ListTeamMembersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]PublicUser
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseListTeamMembersResponse

func ParseListTeamMembersResponse(rsp *http.Response) (*ListTeamMembersResponse, error)

ParseListTeamMembersResponse parses an HTTP response from a ListTeamMembersWithResponse call

func (ListTeamMembersResponse) ContentType

func (r ListTeamMembersResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListTeamMembersResponse) GetApplicationproblemJSONDefault

func (r ListTeamMembersResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (ListTeamMembersResponse) GetBody

func (r ListTeamMembersResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ListTeamMembersResponse) GetJSON200

func (r ListTeamMembersResponse) GetJSON200() *[]PublicUser

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListTeamMembersResponse) Status

func (r ListTeamMembersResponse) Status() string

Status returns HTTPResponse.Status

func (ListTeamMembersResponse) StatusCode

func (r ListTeamMembersResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListTeamsResponse

type ListTeamsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]Team
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseListTeamsResponse

func ParseListTeamsResponse(rsp *http.Response) (*ListTeamsResponse, error)

ParseListTeamsResponse parses an HTTP response from a ListTeamsWithResponse call

func (ListTeamsResponse) ContentType

func (r ListTeamsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListTeamsResponse) GetApplicationproblemJSONDefault

func (r ListTeamsResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (ListTeamsResponse) GetBody

func (r ListTeamsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ListTeamsResponse) GetJSON200

func (r ListTeamsResponse) GetJSON200() *[]Team

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListTeamsResponse) Status

func (r ListTeamsResponse) Status() string

Status returns HTTPResponse.Status

func (ListTeamsResponse) StatusCode

func (r ListTeamsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListTokensResponse

type ListTokensResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]Pat
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseListTokensResponse

func ParseListTokensResponse(rsp *http.Response) (*ListTokensResponse, error)

ParseListTokensResponse parses an HTTP response from a ListTokensWithResponse call

func (ListTokensResponse) ContentType

func (r ListTokensResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListTokensResponse) GetApplicationproblemJSONDefault

func (r ListTokensResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (ListTokensResponse) GetBody

func (r ListTokensResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ListTokensResponse) GetJSON200

func (r ListTokensResponse) GetJSON200() *[]Pat

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListTokensResponse) Status

func (r ListTokensResponse) Status() string

Status returns HTTPResponse.Status

func (ListTokensResponse) StatusCode

func (r ListTokensResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListUserActivityParams

type ListUserActivityParams struct {
	Limit  *int    `form:"limit,omitempty" json:"limit,omitempty"`
	Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
}

ListUserActivityParams defines parameters for ListUserActivity.

type ListUserActivityResponse

type ListUserActivityResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ActivityPage
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseListUserActivityResponse

func ParseListUserActivityResponse(rsp *http.Response) (*ListUserActivityResponse, error)

ParseListUserActivityResponse parses an HTTP response from a ListUserActivityWithResponse call

func (ListUserActivityResponse) ContentType

func (r ListUserActivityResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListUserActivityResponse) GetApplicationproblemJSONDefault

func (r ListUserActivityResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (ListUserActivityResponse) GetBody

func (r ListUserActivityResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ListUserActivityResponse) GetJSON200

func (r ListUserActivityResponse) GetJSON200() *ActivityPage

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListUserActivityResponse) Status

func (r ListUserActivityResponse) Status() string

Status returns HTTPResponse.Status

func (ListUserActivityResponse) StatusCode

func (r ListUserActivityResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListUserDependencyAlertsResponse

type ListUserDependencyAlertsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]DependencyAlert
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseListUserDependencyAlertsResponse

func ParseListUserDependencyAlertsResponse(rsp *http.Response) (*ListUserDependencyAlertsResponse, error)

ParseListUserDependencyAlertsResponse parses an HTTP response from a ListUserDependencyAlertsWithResponse call

func (ListUserDependencyAlertsResponse) ContentType

func (r ListUserDependencyAlertsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListUserDependencyAlertsResponse) GetApplicationproblemJSONDefault

func (r ListUserDependencyAlertsResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (ListUserDependencyAlertsResponse) GetBody

func (r ListUserDependencyAlertsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ListUserDependencyAlertsResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListUserDependencyAlertsResponse) Status

Status returns HTTPResponse.Status

func (ListUserDependencyAlertsResponse) StatusCode

func (r ListUserDependencyAlertsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListUserReportDesignsResponse added in v0.7.4

type ListUserReportDesignsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ReportDesignList
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseListUserReportDesignsResponse added in v0.7.4

func ParseListUserReportDesignsResponse(rsp *http.Response) (*ListUserReportDesignsResponse, error)

ParseListUserReportDesignsResponse parses an HTTP response from a ListUserReportDesignsWithResponse call

func (ListUserReportDesignsResponse) ContentType added in v0.7.4

func (r ListUserReportDesignsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListUserReportDesignsResponse) GetApplicationproblemJSONDefault added in v0.7.4

func (r ListUserReportDesignsResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (ListUserReportDesignsResponse) GetBody added in v0.7.4

func (r ListUserReportDesignsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ListUserReportDesignsResponse) GetJSON200 added in v0.7.4

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListUserReportDesignsResponse) Status added in v0.7.4

Status returns HTTPResponse.Status

func (ListUserReportDesignsResponse) StatusCode added in v0.7.4

func (r ListUserReportDesignsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListUserSessionsResponse

type ListUserSessionsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *SessionList
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseListUserSessionsResponse

func ParseListUserSessionsResponse(rsp *http.Response) (*ListUserSessionsResponse, error)

ParseListUserSessionsResponse parses an HTTP response from a ListUserSessionsWithResponse call

func (ListUserSessionsResponse) ContentType

func (r ListUserSessionsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListUserSessionsResponse) GetApplicationproblemJSONDefault

func (r ListUserSessionsResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (ListUserSessionsResponse) GetBody

func (r ListUserSessionsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ListUserSessionsResponse) GetJSON200

func (r ListUserSessionsResponse) GetJSON200() *SessionList

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListUserSessionsResponse) Status

func (r ListUserSessionsResponse) Status() string

Status returns HTTPResponse.Status

func (ListUserSessionsResponse) StatusCode

func (r ListUserSessionsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListVersionFilesResponse

type ListVersionFilesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ReviewFileList
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseListVersionFilesResponse

func ParseListVersionFilesResponse(rsp *http.Response) (*ListVersionFilesResponse, error)

ParseListVersionFilesResponse parses an HTTP response from a ListVersionFilesWithResponse call

func (ListVersionFilesResponse) ContentType

func (r ListVersionFilesResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListVersionFilesResponse) GetApplicationproblemJSONDefault

func (r ListVersionFilesResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (ListVersionFilesResponse) GetBody

func (r ListVersionFilesResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ListVersionFilesResponse) GetJSON200

func (r ListVersionFilesResponse) GetJSON200() *ReviewFileList

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListVersionFilesResponse) Status

func (r ListVersionFilesResponse) Status() string

Status returns HTTPResponse.Status

func (ListVersionFilesResponse) StatusCode

func (r ListVersionFilesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListVersionsResponse

type ListVersionsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]AgentVersion
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseListVersionsResponse

func ParseListVersionsResponse(rsp *http.Response) (*ListVersionsResponse, error)

ParseListVersionsResponse parses an HTTP response from a ListVersionsWithResponse call

func (ListVersionsResponse) ContentType

func (r ListVersionsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListVersionsResponse) GetApplicationproblemJSONDefault

func (r ListVersionsResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (ListVersionsResponse) GetBody

func (r ListVersionsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ListVersionsResponse) GetJSON200

func (r ListVersionsResponse) GetJSON200() *[]AgentVersion

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListVersionsResponse) Status

func (r ListVersionsResponse) Status() string

Status returns HTTPResponse.Status

func (ListVersionsResponse) StatusCode

func (r ListVersionsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListWebhookDeliveriesParams

type ListWebhookDeliveriesParams struct {
	// Cursor Opaque cursor from the previous page's `Link` header.
	Cursor *Cursor `form:"cursor,omitempty" json:"cursor,omitempty"`

	// Limit Page size; values outside the range are clamped, not rejected.
	Limit *Limit100 `form:"limit,omitempty" json:"limit,omitempty"`
}

ListWebhookDeliveriesParams defines parameters for ListWebhookDeliveries.

type ListWebhookDeliveriesResponse

type ListWebhookDeliveriesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]WebhookDelivery
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseListWebhookDeliveriesResponse

func ParseListWebhookDeliveriesResponse(rsp *http.Response) (*ListWebhookDeliveriesResponse, error)

ParseListWebhookDeliveriesResponse parses an HTTP response from a ListWebhookDeliveriesWithResponse call

func (ListWebhookDeliveriesResponse) ContentType

func (r ListWebhookDeliveriesResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListWebhookDeliveriesResponse) GetApplicationproblemJSONDefault

func (r ListWebhookDeliveriesResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (ListWebhookDeliveriesResponse) GetBody

func (r ListWebhookDeliveriesResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ListWebhookDeliveriesResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListWebhookDeliveriesResponse) Status

Status returns HTTPResponse.Status

func (ListWebhookDeliveriesResponse) StatusCode

func (r ListWebhookDeliveriesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListWebhooksResponse

type ListWebhooksResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]WebhookEndpoint
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseListWebhooksResponse

func ParseListWebhooksResponse(rsp *http.Response) (*ListWebhooksResponse, error)

ParseListWebhooksResponse parses an HTTP response from a ListWebhooksWithResponse call

func (ListWebhooksResponse) ContentType

func (r ListWebhooksResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListWebhooksResponse) GetApplicationproblemJSONDefault

func (r ListWebhooksResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (ListWebhooksResponse) GetBody

func (r ListWebhooksResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ListWebhooksResponse) GetJSON200

func (r ListWebhooksResponse) GetJSON200() *[]WebhookEndpoint

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListWebhooksResponse) Status

func (r ListWebhooksResponse) Status() string

Status returns HTTPResponse.Status

func (ListWebhooksResponse) StatusCode

func (r ListWebhooksResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type LoginResult

type LoginResult struct {
	// CsrfToken Echo in X-Agentry-CSRF on cookie-authenticated mutations.
	CsrfToken string `json:"csrfToken"`
	User      User   `json:"user"`
}

LoginResult defines model for LoginResult.

type LogoutResponse

type LogoutResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseLogoutResponse

func ParseLogoutResponse(rsp *http.Response) (*LogoutResponse, error)

ParseLogoutResponse parses an HTTP response from a LogoutWithResponse call

func (LogoutResponse) ContentType

func (r LogoutResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (LogoutResponse) GetApplicationproblemJSONDefault

func (r LogoutResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (LogoutResponse) GetBody

func (r LogoutResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (LogoutResponse) Status

func (r LogoutResponse) Status() string

Status returns HTTPResponse.Status

func (LogoutResponse) StatusCode

func (r LogoutResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ManagedSettingsEnvelope added in v0.7.9

type ManagedSettingsEnvelope struct {
	// Payload The document, base64.
	Payload     []byte                             `json:"payload"`
	PayloadType ManagedSettingsEnvelopePayloadType `json:"payloadType"`
	Signatures  []struct {
		// Keyid A label the signer attached. Never choose the verifying key by it.
		Keyid string `json:"keyid"`

		// Sig ECDSA P-256 over SHA-256 of the pre-authentication encoding, ASN.1, base64.
		Sig []byte `json:"sig"`
	} `json:"signatures"`
}

ManagedSettingsEnvelope A DSSE envelope over a managed settings document. Verify the signature over the DSSE pre-authentication encoding of `payloadType` and the decoded `payload` with a key the client already trusts for this registry, and refuse any other payload type.

type ManagedSettingsEnvelopePayloadType added in v0.7.9

type ManagedSettingsEnvelopePayloadType string

ManagedSettingsEnvelopePayloadType defines model for ManagedSettingsEnvelope.PayloadType.

const (
	ApplicationvndAgentryManagedSettingsJson ManagedSettingsEnvelopePayloadType = "application/vnd.agentry.managed-settings+json"
)

Defines values for ManagedSettingsEnvelopePayloadType.

func (ManagedSettingsEnvelopePayloadType) Valid added in v0.7.9

Valid indicates whether the value is a known member of the ManagedSettingsEnvelopePayloadType enum.

type McpAdvisory

type McpAdvisory struct {
	Aliases *[]string `json:"aliases,omitempty"`

	// CvssScore The highest CVSS base score among the advisory's CVSS v3.x and v4.0 vectors (or plain scores). Absent when it carries none, and on a record last checked before scores were read.
	CvssScore *float64  `json:"cvssScore,omitempty"`
	FixedIn   *[]string `json:"fixedIn,omitempty"`

	// GateSeverity The severity the gate gives the finding this advisory makes: a Critical advisory is critical and rejects the version; a High one is high from a CVSS base score of 8.5 and medium below it, and high when it carries no usable score; any other is its own severity. Served so the runner can apply the same rule.
	GateSeverity McpAdvisoryGateSeverity `json:"gateSeverity"`
	Id           string                  `json:"id"`
	References   *[]string               `json:"references,omitempty"`

	// Severity The advisory's own severity: the database's word, else the band of its CVSS base score. Dependency alerts are opened on it.
	Severity McpAdvisorySeverity `json:"severity"`
	Summary  string              `json:"summary"`
}

McpAdvisory defines model for McpAdvisory.

type McpAdvisoryGateSeverity

type McpAdvisoryGateSeverity string

McpAdvisoryGateSeverity The severity the gate gives the finding this advisory makes: a Critical advisory is critical and rejects the version; a High one is high from a CVSS base score of 8.5 and medium below it, and high when it carries no usable score; any other is its own severity. Served so the runner can apply the same rule.

const (
	McpAdvisoryGateSeverityCritical McpAdvisoryGateSeverity = "critical"
	McpAdvisoryGateSeverityHigh     McpAdvisoryGateSeverity = "high"
	McpAdvisoryGateSeverityInfo     McpAdvisoryGateSeverity = "info"
	McpAdvisoryGateSeverityLow      McpAdvisoryGateSeverity = "low"
	McpAdvisoryGateSeverityMedium   McpAdvisoryGateSeverity = "medium"
)

Defines values for McpAdvisoryGateSeverity.

func (McpAdvisoryGateSeverity) Valid

func (e McpAdvisoryGateSeverity) Valid() bool

Valid indicates whether the value is a known member of the McpAdvisoryGateSeverity enum.

type McpAdvisorySeverity

type McpAdvisorySeverity string

McpAdvisorySeverity The advisory's own severity: the database's word, else the band of its CVSS base score. Dependency alerts are opened on it.

const (
	McpAdvisorySeverityCritical McpAdvisorySeverity = "critical"
	McpAdvisorySeverityHigh     McpAdvisorySeverity = "high"
	McpAdvisorySeverityInfo     McpAdvisorySeverity = "info"
	McpAdvisorySeverityLow      McpAdvisorySeverity = "low"
	McpAdvisorySeverityMedium   McpAdvisorySeverity = "medium"
)

Defines values for McpAdvisorySeverity.

func (McpAdvisorySeverity) Valid

func (e McpAdvisorySeverity) Valid() bool

Valid indicates whether the value is a known member of the McpAdvisorySeverity enum.

type McpServerScan

type McpServerScan struct {
	Advisories    []McpAdvisory             `json:"advisories"`
	Ecosystem     McpServerScanEcosystem    `json:"ecosystem"`
	FirstSeenAt   time.Time                 `json:"firstSeenAt"`
	LastCheckedAt time.Time                 `json:"lastCheckedAt"`
	LastError     *string                   `json:"lastError,omitempty"`
	MaxSeverity   *McpServerScanMaxSeverity `json:"maxSeverity,omitempty"`
	Package       string                    `json:"package"`

	// Status safe means no known advisories when last checked (OSV), and nothing else about the server. A version its package registry does not publish is served as error, with lastError saying so, so no client meets a value the contract lacks.
	Status  McpServerScanStatus `json:"status"`
	Version string              `json:"version"`
}

McpServerScan defines model for McpServerScan.

type McpServerScanEcosystem

type McpServerScanEcosystem string

McpServerScanEcosystem defines model for McpServerScan.Ecosystem.

const (
	McpServerScanEcosystemNpm  McpServerScanEcosystem = "npm"
	McpServerScanEcosystemPypi McpServerScanEcosystem = "pypi"
)

Defines values for McpServerScanEcosystem.

func (McpServerScanEcosystem) Valid

func (e McpServerScanEcosystem) Valid() bool

Valid indicates whether the value is a known member of the McpServerScanEcosystem enum.

type McpServerScanMaxSeverity

type McpServerScanMaxSeverity string

McpServerScanMaxSeverity defines model for McpServerScan.MaxSeverity.

const (
	McpServerScanMaxSeverityCritical McpServerScanMaxSeverity = "critical"
	McpServerScanMaxSeverityHigh     McpServerScanMaxSeverity = "high"
	McpServerScanMaxSeverityInfo     McpServerScanMaxSeverity = "info"
	McpServerScanMaxSeverityLow      McpServerScanMaxSeverity = "low"
	McpServerScanMaxSeverityMedium   McpServerScanMaxSeverity = "medium"
)

Defines values for McpServerScanMaxSeverity.

func (McpServerScanMaxSeverity) Valid

func (e McpServerScanMaxSeverity) Valid() bool

Valid indicates whether the value is a known member of the McpServerScanMaxSeverity enum.

type McpServerScanStatus

type McpServerScanStatus string

McpServerScanStatus safe means no known advisories when last checked (OSV), and nothing else about the server. A version its package registry does not publish is served as error, with lastError saying so, so no client meets a value the contract lacks.

const (
	Error      McpServerScanStatus = "error"
	Safe       McpServerScanStatus = "safe"
	Vulnerable McpServerScanStatus = "vulnerable"
)

Defines values for McpServerScanStatus.

func (McpServerScanStatus) Valid

func (e McpServerScanStatus) Valid() bool

Valid indicates whether the value is a known member of the McpServerScanStatus enum.

type Membership

type Membership struct {
	// Role An organization role, ordered admin > security_reviewer | member. Admins manage the organization, its members, settings and sign-in policy, and hold the security reviewer's powers; security_reviewer is a platform-internal role that exists only inside a first-party organization; there is no owner role, only admins. An organization always keeps one admin: demoting or removing the last one is 409 last-admin.
	Role OrgRole `json:"role"`

	// State Whether the membership is in force. `pending` is someone the organization's IdP provisioned, or its domain folded in, who holds no seat and nothing of the organization until an admin approves them; `active` is a member. Declining a pending member removes them, and a decline is remembered: the domain does not fold that person in again unless an admin invites them.
	State *MembershipState `json:"state,omitempty"`
	User  PublicUser       `json:"user"`

	// ViaDomain The domain folded this person in: their verified address is at a domain the organization holds, and they became pending at a sign-in or by the sweep that runs when the organization gains the domain. An admin's approval keeps the flag; the console says how each member arrived.
	ViaDomain *bool `json:"viaDomain,omitempty"`
	ViaScim   *bool `json:"viaScim,omitempty"`
}

Membership defines model for Membership.

type MembershipState

type MembershipState string

MembershipState Whether the membership is in force. `pending` is someone the organization's IdP provisioned, or its domain folded in, who holds no seat and nothing of the organization until an admin approves them; `active` is a member. Declining a pending member removes them, and a decline is remembered: the domain does not fold that person in again unless an admin invites them.

const (
	MembershipStateActive  MembershipState = "active"
	MembershipStatePending MembershipState = "pending"
)

Defines values for MembershipState.

func (MembershipState) Valid

func (e MembershipState) Valid() bool

Valid indicates whether the value is a known member of the MembershipState enum.

type Meta

type Meta struct {
	// ApiVersion API surface major.
	//
	// Example: v1
	ApiVersion string `json:"apiVersion"`

	// Brand What this deployment calls itself (config `brand.*`): the name for prompts and titles, and optional logo and support address.
	Brand *BrandInfo `json:"brand,omitempty"`

	// Extensions Names of the extensions this build mounts under `/api/v1/x/<name>/` (registered through pkg/extension); absent on the core build.
	Extensions *[]string `json:"extensions,omitempty"`

	// Features Self-host feature flags: `judge`, `signing`, `redis`, `s3`, `publicPublish2FA` (the server refuses a public publish from an account it holds no second-factor evidence for, an OpenID provider sign-in whose `amr` named a factor; on only under `auth.requireIdpMFA` and never in dev mode, so a client states that requirement only when this is true), and `knowledge` (the store of knowledge packs is on: the registry has a knowledge sealing key or an extension that wraps keys, so `/knowledge/…` answers rather than 503).
	Features map[string]bool `json:"features"`

	// MinCLIVersion Oldest supported agentry CLI version.
	MinCLIVersion *string `json:"minCLIVersion,omitempty"`

	// SignInProviders The individual sign-in providers this registry has configured (the `provider` ids of `/auth/oidc/{provider}/start`, in that enum's order), so a front end can offer them without starting a flow to find out. Empty when none is configured. A provider is listed when its client id and secret are set, and an issuer where it has no default; a listed provider's start redirects and an unlisted one's answers 404. A listed provider whose issuer cannot be reached at that moment also answers 404 there, since its discovery fails.
	SignInProviders *[]string `json:"signInProviders,omitempty"`

	// Ui The server's own browser surface under `/ui/`. `mode` is `full` (device authorize, plus the sign-in hand-off to the OpenID provider, sign-out and the address-confirmation page), `authorize` (only the device-authorize page — a site fronts this server) or `off`. `authorizeUrl` is the absolute page a CLI or the desktop app opens for browser sign-in, when served.
	Ui *UIInfo `json:"ui,omitempty"`

	// Version agentryd semantic version (build-stamped).
	//
	// Example: 0.1.0
	Version string `json:"version"`
}

Meta defines model for Meta.

type ModelInputChunk

type ModelInputChunk struct {
	Bytes int `json:"bytes"`

	// Failure Why a chunk was not scanned.
	Failure *ModelInputChunkFailure `json:"failure,omitempty"`
	Index   int                     `json:"index"`

	// Scores Per question, 0 to 3 (0.5, 0.7 and 0.9 are 1, 2 and 3).
	Scores *ModelInputScores `json:"scores,omitempty"`

	// Verdict `pass`: no question scored 2 or more. `withheld`: one did; the model gets the source's address and the reason, never the text. `not_scanned`: the judge could not answer for part of the text; a caller treats it as withheld.
	Verdict ModelInputVerdict `json:"verdict"`
}

ModelInputChunk defines model for ModelInputChunk.

type ModelInputChunkFailure

type ModelInputChunkFailure string

ModelInputChunkFailure Why a chunk was not scanned.

const (
	ModelInputChunkFailureJudgeError ModelInputChunkFailure = "judge-error"
	ModelInputChunkFailureTimeout    ModelInputChunkFailure = "timeout"
)

Defines values for ModelInputChunkFailure.

func (ModelInputChunkFailure) Valid

func (e ModelInputChunkFailure) Valid() bool

Valid indicates whether the value is a known member of the ModelInputChunkFailure enum.

type ModelInputScan

type ModelInputScan struct {
	Chunks []ModelInputChunk `json:"chunks"`

	// Flagged The questions that scored 2 or more.
	Flagged []ModelInputScanFlagged `json:"flagged"`

	// Model The pinned judge model, such as `jev-1.13.0`.
	Model string `json:"model"`

	// QuestionSet The hash of the question set and everything else that changes a verdict (model, wording, chunk size, thresholds).
	QuestionSet string `json:"questionSet"`

	// Score The highest score over every chunk and question.
	Score int `json:"score"`

	// Scores Per question, 0 to 3 (0.5, 0.7 and 0.9 are 1, 2 and 3).
	Scores ModelInputScores `json:"scores"`

	// Usage The judge's requests and input tokens, for the record. Never a price: AI Review is charged per operation.
	Usage ModelInputUsage `json:"usage"`

	// Verdict `pass`: no question scored 2 or more. `withheld`: one did; the model gets the source's address and the reason, never the text. `not_scanned`: the judge could not answer for part of the text; a caller treats it as withheld.
	Verdict ModelInputVerdict `json:"verdict"`
}

ModelInputScan defines model for ModelInputScan.

type ModelInputScanFlagged

type ModelInputScanFlagged string

ModelInputScanFlagged defines model for ModelInputScan.Flagged.

const (
	ModelInputScanFlaggedDeception    ModelInputScanFlagged = "deception"
	ModelInputScanFlaggedExfiltration ModelInputScanFlagged = "exfiltration"
	ModelInputScanFlaggedInjection    ModelInputScanFlagged = "injection"
	ModelInputScanFlaggedObfuscation  ModelInputScanFlagged = "obfuscation"
)

Defines values for ModelInputScanFlagged.

func (ModelInputScanFlagged) Valid

func (e ModelInputScanFlagged) Valid() bool

Valid indicates whether the value is a known member of the ModelInputScanFlagged enum.

type ModelInputScanRequest

type ModelInputScanRequest struct {
	// Source What the text is: a person's description, one web search result, a web page's text, an answer from the registry's public API, or a hosted run's input file as decoded text. It rides beside the text in the judge's state; nothing of the text reaches a question.
	Source ModelInputSource `json:"source"`

	// Text The text as the model would read it, at most 65,536 bytes of UTF-8 (eight chunks); a longer text is sent in parts.
	Text string `json:"text"`
}

ModelInputScanRequest defines model for ModelInputScanRequest.

type ModelInputScores

type ModelInputScores struct {
	Deception    int `json:"deception"`
	Exfiltration int `json:"exfiltration"`
	Injection    int `json:"injection"`
	Obfuscation  int `json:"obfuscation"`
}

ModelInputScores Per question, 0 to 3 (0.5, 0.7 and 0.9 are 1, 2 and 3).

type ModelInputSource

type ModelInputSource string

ModelInputSource What the text is: a person's description, one web search result, a web page's text, an answer from the registry's public API, or a hosted run's input file as decoded text. It rides beside the text in the judge's state; nothing of the text reaches a question.

const (
	Description  ModelInputSource = "description"
	InputFile    ModelInputSource = "input_file"
	Page         ModelInputSource = "page"
	Registry     ModelInputSource = "registry"
	SearchResult ModelInputSource = "search_result"
)

Defines values for ModelInputSource.

func (ModelInputSource) Valid

func (e ModelInputSource) Valid() bool

Valid indicates whether the value is a known member of the ModelInputSource enum.

type ModelInputUsage

type ModelInputUsage struct {
	InputTokens int `json:"inputTokens"`
	Requests    int `json:"requests"`
}

ModelInputUsage The judge's requests and input tokens, for the record. Never a price: AI Review is charged per operation.

type ModelInputVerdict

type ModelInputVerdict string

ModelInputVerdict `pass`: no question scored 2 or more. `withheld`: one did; the model gets the source's address and the reason, never the text. `not_scanned`: the judge could not answer for part of the text; a caller treats it as withheld.

const (
	ModelInputVerdictNotScanned ModelInputVerdict = "not_scanned"
	ModelInputVerdictPass       ModelInputVerdict = "pass"
	ModelInputVerdictWithheld   ModelInputVerdict = "withheld"
)

Defines values for ModelInputVerdict.

func (ModelInputVerdict) Valid

func (e ModelInputVerdict) Valid() bool

Valid indicates whether the value is a known member of the ModelInputVerdict enum.

type Namespace

type Namespace = string

Namespace defines model for Namespace.

type NotificationSettings

type NotificationSettings struct {
	// Email Which of the registry's mails the person receives.
	Email EmailNotificationSettings `json:"email"`

	// Web In-app alerts.
	Web WebNotificationSettings `json:"web"`
}

NotificationSettings defines model for NotificationSettings.

type Org

type Org struct {
	CreatedAt time.Time `json:"createdAt"`

	// DecommissionAt While `state` is `decommissioning`: when the hold ends and the organization's agents, repositories, blobs and invitations are erased, its handle and domain released.
	DecommissionAt *time.Time `json:"decommissionAt,omitempty"`
	DisplayName    string     `json:"displayName"`

	// Domain The domain the organization was created at (its creator's verified email domain), which routes people at that domain to its administrators. Absent when none was recorded.
	Domain *string            `json:"domain,omitempty"`
	Handle string             `json:"handle"`
	Id     openapi_types.UUID `json:"id"`

	// LogoUrl Where the organization's logo is served, when it has one: a path on this registry, versioned by the logo's content so a replaced logo has a new URL. Absent when there is none.
	LogoUrl *string `json:"logoUrl,omitempty"`

	// Seats Present for the organization's members only.
	Seats *Seats `json:"seats,omitempty"`

	// SsoRequired Present for org admins only.
	SsoRequired *bool `json:"ssoRequired,omitempty"`

	// State Where the organization is in its life. `active` is the ordinary state. `suspended` (platform staff) makes the organization and everything under it answer as absent — 404 to every caller, git included — until it is reinstated. `decommissioning` is the read-only hold an admin, platform staff or the hosted product's pending-payment sweep started: members still read every agent and export the audit log, nothing under the organization can be changed, pushed or submitted (409 org-decommissioning), and at `decommissionAt` the erasure runs; staff may reinstate it before then. `decommissioned` is the row after the erasure; its handle is released, so no path names it.
	State *OrgState `json:"state,omitempty"`

	// VerifiedDomain The first domain the organization verified over DNS. Kept for older clients; `verifiedDomains` carries them all.
	VerifiedDomain *string `json:"verifiedDomain,omitempty"`

	// VerifiedDomains Every domain the organization proved control of over DNS, oldest first.
	VerifiedDomains *[]string `json:"verifiedDomains,omitempty"`
}

Org defines model for Org.

type OrgHandle

type OrgHandle = string

OrgHandle defines model for OrgHandle.

type OrgReportDesignCreate added in v0.7.5

type OrgReportDesignCreate struct {
	// Design A report design, the theme document version 3: a whole brand. Defined by the core's pkg/reportdesign, whose JSON Schema this mirrors (a core test holds them equal). Beyond what the schema says: the accent must reach 4.5:1 contrast on white where it carries text (titleBlock `band`, headings `smallcaps` or `numbered`, or a cover that is drawn in the `band`, `largeType` or `plate` style, or `split` with no secondary) and 3:1 otherwise; the secondary 4.5:1 where a drawn `split` cover puts the brand on it and 3:1 otherwise; every text (`name`, the brand's lines, each header and footer slot) is one line with no control, line-break, bidirectional formatting or other invisible format characters; `brand.website` is a host name or an https address, drawn as text; a cover fact is named once; the custom cover's source is at most 32 KiB of text, its images at most six and 2 MB in all as stored, its thumbnail a PNG of at most 300 KB; each image's base64 holds a PNG or a JPEG within its bounds. Each colour's tint is derived: 12% of it over white. The ten built-in themes are each a value of it. `logo`, `coverImage` and `customCover` are optional, not counted in the 24 KB, answered only on `include=assets`, and null reads as none.
	Design ReportDesign `json:"design"`
}

OrgReportDesignCreate defines model for OrgReportDesignCreate.

type OrgReportDesignList added in v0.7.5

type OrgReportDesignList struct {
	Designs []OrgReportDesignSummary `json:"designs"`

	// Org The organization's handle, which a run names a house design under.
	Org string `json:"org"`
}

OrgReportDesignList An organization's house designs, oldest first. There is no default: a member picks one per run, and a run that picks none takes the person's own default.

type OrgReportDesignRecord added in v0.7.5

type OrgReportDesignRecord struct {
	CreatedAt time.Time `json:"createdAt"`

	// Design A report design, the theme document version 3: a whole brand. Defined by the core's pkg/reportdesign, whose JSON Schema this mirrors (a core test holds them equal). Beyond what the schema says: the accent must reach 4.5:1 contrast on white where it carries text (titleBlock `band`, headings `smallcaps` or `numbered`, or a cover that is drawn in the `band`, `largeType` or `plate` style, or `split` with no secondary) and 3:1 otherwise; the secondary 4.5:1 where a drawn `split` cover puts the brand on it and 3:1 otherwise; every text (`name`, the brand's lines, each header and footer slot) is one line with no control, line-break, bidirectional formatting or other invisible format characters; `brand.website` is a host name or an https address, drawn as text; a cover fact is named once; the custom cover's source is at most 32 KiB of text, its images at most six and 2 MB in all as stored, its thumbnail a PNG of at most 300 KB; each image's base64 holds a PNG or a JPEG within its bounds. Each colour's tint is derived: 12% of it over white. The ten built-in themes are each a value of it. `logo`, `coverImage` and `customCover` are optional, not counted in the 24 KB, answered only on `include=assets`, and null reads as none.
	Design         ReportDesign       `json:"design"`
	HasCoverImage  bool               `json:"hasCoverImage"`
	HasCustomCover bool               `json:"hasCustomCover"`
	Id             openapi_types.UUID `json:"id"`

	// Org The organization's handle.
	Org       string    `json:"org"`
	UpdatedAt time.Time `json:"updatedAt"`
}

OrgReportDesignRecord One house design with its document in canonical form. The images are in the document only on `include=assets`; the three flags say which it has.

type OrgReportDesignSummary added in v0.7.5

type OrgReportDesignSummary struct {
	// BasedOn The built-in theme it started from.
	BasedOn        string             `json:"basedOn"`
	CreatedAt      time.Time          `json:"createdAt"`
	HasCoverImage  bool               `json:"hasCoverImage"`
	HasCustomCover bool               `json:"hasCustomCover"`
	Id             openapi_types.UUID `json:"id"`

	// Name The design's name, unique within the organization; what a run names it by.
	Name      string    `json:"name"`
	UpdatedAt time.Time `json:"updatedAt"`
	Version   int       `json:"version"`
}

OrgReportDesignSummary One house design of an organization's library, without its document's body or images.

type OrgRole

type OrgRole string

OrgRole An organization role, ordered admin > security_reviewer | member. Admins manage the organization, its members, settings and sign-in policy, and hold the security reviewer's powers; security_reviewer is a platform-internal role that exists only inside a first-party organization; there is no owner role, only admins. An organization always keeps one admin: demoting or removing the last one is 409 last-admin.

const (
	OrgRoleAdmin            OrgRole = "admin"
	OrgRoleMember           OrgRole = "member"
	OrgRoleSecurityReviewer OrgRole = "security_reviewer"
)

Defines values for OrgRole.

func (OrgRole) Valid

func (e OrgRole) Valid() bool

Valid indicates whether the value is a known member of the OrgRole enum.

type OrgRoleAssignment

type OrgRoleAssignment string

OrgRoleAssignment The role a PUT assigns. security_reviewer is refused outside a first-party organization. `owner` is accepted by the schema but refused with a 422 that names the roles that exist.

const (
	OrgRoleAssignmentAdmin            OrgRoleAssignment = "admin"
	OrgRoleAssignmentMember           OrgRoleAssignment = "member"
	OrgRoleAssignmentOwner            OrgRoleAssignment = "owner"
	OrgRoleAssignmentSecurityReviewer OrgRoleAssignment = "security_reviewer"
)

Defines values for OrgRoleAssignment.

func (OrgRoleAssignment) Valid

func (e OrgRoleAssignment) Valid() bool

Valid indicates whether the value is a known member of the OrgRoleAssignment enum.

type OrgState

type OrgState string

OrgState Where the organization is in its life. `active` is the ordinary state. `suspended` (platform staff) makes the organization and everything under it answer as absent — 404 to every caller, git included — until it is reinstated. `decommissioning` is the read-only hold an admin, platform staff or the hosted product's pending-payment sweep started: members still read every agent and export the audit log, nothing under the organization can be changed, pushed or submitted (409 org-decommissioning), and at `decommissionAt` the erasure runs; staff may reinstate it before then. `decommissioned` is the row after the erasure; its handle is released, so no path names it.

const (
	OrgStateActive          OrgState = "active"
	OrgStateDecommissioned  OrgState = "decommissioned"
	OrgStateDecommissioning OrgState = "decommissioning"
	OrgStateSuspended       OrgState = "suspended"
)

Defines values for OrgState.

func (OrgState) Valid

func (e OrgState) Valid() bool

Valid indicates whether the value is a known member of the OrgState enum.

type Pat

type Pat struct {
	CreatedAt  time.Time          `json:"createdAt"`
	ExpiresAt  time.Time          `json:"expiresAt"`
	Id         openapi_types.UUID `json:"id"`
	LastUsedAt *time.Time         `json:"lastUsedAt,omitempty"`
	Name       string             `json:"name"`

	// OrgHandle Set when org-bound (enforced SSO).
	OrgHandle *string `json:"orgHandle,omitempty"`

	// Prefix First 12 characters, for display and lookup.
	Prefix string         `json:"prefix"`
	Scopes []ScopeGranted `json:"scopes"`
}

Pat defines model for Pat.

type PatCreated

type PatCreated struct {
	CreatedAt  time.Time          `json:"createdAt"`
	ExpiresAt  time.Time          `json:"expiresAt"`
	Id         openapi_types.UUID `json:"id"`
	LastUsedAt *time.Time         `json:"lastUsedAt,omitempty"`
	Name       string             `json:"name"`

	// OrgHandle Set when org-bound (enforced SSO).
	OrgHandle *string `json:"orgHandle,omitempty"`

	// Prefix First 12 characters, for display and lookup.
	Prefix string         `json:"prefix"`
	Scopes []ScopeGranted `json:"scopes"`

	// Token The full secret. Shown exactly once.
	Token string `json:"token"`
}

PatCreated defines model for PatCreated.

type PendingOrg

type PendingOrg struct {
	DisplayName string `json:"displayName"`
	Handle      string `json:"handle"`

	// Via The door — `domain` (their verified address is at the organization's domain) or `scim` (the organization's identity provider provisioned them).
	Via PendingOrgVia `json:"via"`
}

PendingOrg The organization the caller is waiting to be approved by (present on GET /user only, and only while a pending membership exists): the domain folded them in at a sign-in, or the organization's IdP provisioned them. Every page and client can say it until an admin approves or declines them; until then they keep working on their own tier.

type PendingOrgVia

type PendingOrgVia string

PendingOrgVia The door — `domain` (their verified address is at the organization's domain) or `scim` (the organization's identity provider provisioned them).

const (
	PendingOrgViaDomain PendingOrgVia = "domain"
	PendingOrgViaScim   PendingOrgVia = "scim"
)

Defines values for PendingOrgVia.

func (PendingOrgVia) Valid

func (e PendingOrgVia) Valid() bool

Valid indicates whether the value is a known member of the PendingOrgVia enum.

type PingWebhookResponse

type PingWebhookResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON202 the response for an HTTP 202 `application/json` response
	JSON202 *WebhookDelivery
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParsePingWebhookResponse

func ParsePingWebhookResponse(rsp *http.Response) (*PingWebhookResponse, error)

ParsePingWebhookResponse parses an HTTP response from a PingWebhookWithResponse call

func (PingWebhookResponse) ContentType

func (r PingWebhookResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PingWebhookResponse) GetApplicationproblemJSONDefault

func (r PingWebhookResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (PingWebhookResponse) GetBody

func (r PingWebhookResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PingWebhookResponse) GetJSON202

func (r PingWebhookResponse) GetJSON202() *WebhookDelivery

GetJSON202 returns the response for an HTTP 202 `application/json` response

func (PingWebhookResponse) Status

func (r PingWebhookResponse) Status() string

Status returns HTTPResponse.Status

func (PingWebhookResponse) StatusCode

func (r PingWebhookResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PlatformAgentActionJSONBody

type PlatformAgentActionJSONBody struct {
	Reason string `json:"reason"`
}

PlatformAgentActionJSONBody defines parameters for PlatformAgentAction.

type PlatformAgentActionJSONRequestBody

type PlatformAgentActionJSONRequestBody PlatformAgentActionJSONBody

PlatformAgentActionJSONRequestBody defines body for PlatformAgentAction for application/json ContentType.

type PlatformAgentActionParamsAction

type PlatformAgentActionParamsAction string

PlatformAgentActionParamsAction defines parameters for PlatformAgentAction.

const (
	Block      PlatformAgentActionParamsAction = "block"
	Quarantine PlatformAgentActionParamsAction = "quarantine"
	Reinstate  PlatformAgentActionParamsAction = "reinstate"
)

Defines values for PlatformAgentActionParamsAction.

func (PlatformAgentActionParamsAction) Valid

Valid indicates whether the value is a known member of the PlatformAgentActionParamsAction enum.

type PlatformAgentActionResponse

type PlatformAgentActionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON202 the response for an HTTP 202 `application/json` response
	JSON202 *PlatformReinstateAccepted
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParsePlatformAgentActionResponse

func ParsePlatformAgentActionResponse(rsp *http.Response) (*PlatformAgentActionResponse, error)

ParsePlatformAgentActionResponse parses an HTTP response from a PlatformAgentActionWithResponse call

func (PlatformAgentActionResponse) ContentType

func (r PlatformAgentActionResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PlatformAgentActionResponse) GetApplicationproblemJSONDefault

func (r PlatformAgentActionResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (PlatformAgentActionResponse) GetBody

func (r PlatformAgentActionResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PlatformAgentActionResponse) GetJSON202

GetJSON202 returns the response for an HTTP 202 `application/json` response

func (PlatformAgentActionResponse) Status

Status returns HTTPResponse.Status

func (PlatformAgentActionResponse) StatusCode

func (r PlatformAgentActionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PlatformReinstateAccepted

type PlatformReinstateAccepted struct {
	// Queued How many blocked or quarantined versions have a scan queued.
	Queued int `json:"queued"`
}

PlatformReinstateAccepted defines model for PlatformReinstateAccepted.

type Problem

type Problem struct {
	Detail *string `json:"detail,omitempty"`

	// Errors Field-level validation errors when applicable.
	Errors *[]struct {
		Field   string `json:"field"`
		Message string `json:"message"`
	} `json:"errors,omitempty"`
	Instance *string `json:"instance,omitempty"`
	Status   int     `json:"status"`
	Title    string  `json:"title"`

	// Type Stable problem type URI.
	//
	// Example: https://agentry.dev/problems/validation
	Type string `json:"type"`
}

Problem RFC 9457 problem details.

type PublicUser

type PublicUser struct {
	DisplayName string `json:"displayName"`
	Handle      string `json:"handle"`
}

PublicUser defines model for PublicUser.

type PutAccountInstallJSONRequestBody

type PutAccountInstallJSONRequestBody = AccountInstallRequest

PutAccountInstallJSONRequestBody defines body for PutAccountInstall for application/json ContentType.

type PutAccountInstallResponse

type PutAccountInstallResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *AccountInstall
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParsePutAccountInstallResponse

func ParsePutAccountInstallResponse(rsp *http.Response) (*PutAccountInstallResponse, error)

ParsePutAccountInstallResponse parses an HTTP response from a PutAccountInstallWithResponse call

func (PutAccountInstallResponse) ContentType

func (r PutAccountInstallResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PutAccountInstallResponse) GetApplicationproblemJSONDefault

func (r PutAccountInstallResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (PutAccountInstallResponse) GetBody

func (r PutAccountInstallResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PutAccountInstallResponse) GetJSON200

func (r PutAccountInstallResponse) GetJSON200() *AccountInstall

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PutAccountInstallResponse) Status

func (r PutAccountInstallResponse) Status() string

Status returns HTTPResponse.Status

func (PutAccountInstallResponse) StatusCode

func (r PutAccountInstallResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PutOrgLogoMultipartBody

type PutOrgLogoMultipartBody struct {
	File openapi_types.File `json:"file"`
}

PutOrgLogoMultipartBody defines parameters for PutOrgLogo.

type PutOrgLogoMultipartRequestBody

type PutOrgLogoMultipartRequestBody PutOrgLogoMultipartBody

PutOrgLogoMultipartRequestBody defines body for PutOrgLogo for multipart/form-data ContentType.

type PutOrgLogoResponse

type PutOrgLogoResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		// LogoUrl Where the logo is served, versioned by its content.
		LogoUrl string `json:"logoUrl"`
	}
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParsePutOrgLogoResponse

func ParsePutOrgLogoResponse(rsp *http.Response) (*PutOrgLogoResponse, error)

ParsePutOrgLogoResponse parses an HTTP response from a PutOrgLogoWithResponse call

func (PutOrgLogoResponse) ContentType

func (r PutOrgLogoResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PutOrgLogoResponse) GetApplicationproblemJSONDefault

func (r PutOrgLogoResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (PutOrgLogoResponse) GetBody

func (r PutOrgLogoResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PutOrgLogoResponse) GetJSON200

func (r PutOrgLogoResponse) GetJSON200() *struct {
	// LogoUrl Where the logo is served, versioned by its content.
	LogoUrl string `json:"logoUrl"`
}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PutOrgLogoResponse) Status

func (r PutOrgLogoResponse) Status() string

Status returns HTTPResponse.Status

func (PutOrgLogoResponse) StatusCode

func (r PutOrgLogoResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PutOrgReportDesignCoverImageMultipartBody added in v0.7.5

type PutOrgReportDesignCoverImageMultipartBody struct {
	File openapi_types.File `json:"file"`
}

PutOrgReportDesignCoverImageMultipartBody defines parameters for PutOrgReportDesignCoverImage.

type PutOrgReportDesignCoverImageMultipartRequestBody added in v0.7.5

type PutOrgReportDesignCoverImageMultipartRequestBody PutOrgReportDesignCoverImageMultipartBody

PutOrgReportDesignCoverImageMultipartRequestBody defines body for PutOrgReportDesignCoverImage for multipart/form-data ContentType.

type PutOrgReportDesignCoverImageResponse added in v0.7.5

type PutOrgReportDesignCoverImageResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *OrgReportDesignRecord
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParsePutOrgReportDesignCoverImageResponse added in v0.7.5

func ParsePutOrgReportDesignCoverImageResponse(rsp *http.Response) (*PutOrgReportDesignCoverImageResponse, error)

ParsePutOrgReportDesignCoverImageResponse parses an HTTP response from a PutOrgReportDesignCoverImageWithResponse call

func (PutOrgReportDesignCoverImageResponse) ContentType added in v0.7.5

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PutOrgReportDesignCoverImageResponse) GetApplicationproblemJSONDefault added in v0.7.5

func (r PutOrgReportDesignCoverImageResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (PutOrgReportDesignCoverImageResponse) GetBody added in v0.7.5

GetBody returns the raw response body bytes

func (PutOrgReportDesignCoverImageResponse) GetJSON200 added in v0.7.5

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PutOrgReportDesignCoverImageResponse) Status added in v0.7.5

Status returns HTTPResponse.Status

func (PutOrgReportDesignCoverImageResponse) StatusCode added in v0.7.5

StatusCode returns HTTPResponse.StatusCode

type PutOrgReportDesignCustomCoverJSONRequestBody added in v0.7.5

type PutOrgReportDesignCustomCoverJSONRequestBody = ReportDesignCustomCover

PutOrgReportDesignCustomCoverJSONRequestBody defines body for PutOrgReportDesignCustomCover for application/json ContentType.

type PutOrgReportDesignCustomCoverResponse added in v0.7.5

type PutOrgReportDesignCustomCoverResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *OrgReportDesignRecord
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParsePutOrgReportDesignCustomCoverResponse added in v0.7.5

func ParsePutOrgReportDesignCustomCoverResponse(rsp *http.Response) (*PutOrgReportDesignCustomCoverResponse, error)

ParsePutOrgReportDesignCustomCoverResponse parses an HTTP response from a PutOrgReportDesignCustomCoverWithResponse call

func (PutOrgReportDesignCustomCoverResponse) ContentType added in v0.7.5

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PutOrgReportDesignCustomCoverResponse) GetApplicationproblemJSONDefault added in v0.7.5

func (r PutOrgReportDesignCustomCoverResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (PutOrgReportDesignCustomCoverResponse) GetBody added in v0.7.5

GetBody returns the raw response body bytes

func (PutOrgReportDesignCustomCoverResponse) GetJSON200 added in v0.7.5

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PutOrgReportDesignCustomCoverResponse) Status added in v0.7.5

Status returns HTTPResponse.Status

func (PutOrgReportDesignCustomCoverResponse) StatusCode added in v0.7.5

StatusCode returns HTTPResponse.StatusCode

type PutOrgReportDesignLogoMultipartBody added in v0.7.5

type PutOrgReportDesignLogoMultipartBody struct {
	File openapi_types.File `json:"file"`
}

PutOrgReportDesignLogoMultipartBody defines parameters for PutOrgReportDesignLogo.

type PutOrgReportDesignLogoMultipartRequestBody added in v0.7.5

type PutOrgReportDesignLogoMultipartRequestBody PutOrgReportDesignLogoMultipartBody

PutOrgReportDesignLogoMultipartRequestBody defines body for PutOrgReportDesignLogo for multipart/form-data ContentType.

type PutOrgReportDesignLogoResponse added in v0.7.5

type PutOrgReportDesignLogoResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *OrgReportDesignRecord
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParsePutOrgReportDesignLogoResponse added in v0.7.5

func ParsePutOrgReportDesignLogoResponse(rsp *http.Response) (*PutOrgReportDesignLogoResponse, error)

ParsePutOrgReportDesignLogoResponse parses an HTTP response from a PutOrgReportDesignLogoWithResponse call

func (PutOrgReportDesignLogoResponse) ContentType added in v0.7.5

func (r PutOrgReportDesignLogoResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PutOrgReportDesignLogoResponse) GetApplicationproblemJSONDefault added in v0.7.5

func (r PutOrgReportDesignLogoResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (PutOrgReportDesignLogoResponse) GetBody added in v0.7.5

func (r PutOrgReportDesignLogoResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PutOrgReportDesignLogoResponse) GetJSON200 added in v0.7.5

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PutOrgReportDesignLogoResponse) Status added in v0.7.5

Status returns HTTPResponse.Status

func (PutOrgReportDesignLogoResponse) StatusCode added in v0.7.5

func (r PutOrgReportDesignLogoResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PutUserReportDesignCoverImageMultipartBody added in v0.7.4

type PutUserReportDesignCoverImageMultipartBody struct {
	File openapi_types.File `json:"file"`
}

PutUserReportDesignCoverImageMultipartBody defines parameters for PutUserReportDesignCoverImage.

type PutUserReportDesignCoverImageMultipartRequestBody added in v0.7.4

type PutUserReportDesignCoverImageMultipartRequestBody PutUserReportDesignCoverImageMultipartBody

PutUserReportDesignCoverImageMultipartRequestBody defines body for PutUserReportDesignCoverImage for multipart/form-data ContentType.

type PutUserReportDesignCoverImageResponse added in v0.7.4

type PutUserReportDesignCoverImageResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ReportDesignRecord
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParsePutUserReportDesignCoverImageResponse added in v0.7.4

func ParsePutUserReportDesignCoverImageResponse(rsp *http.Response) (*PutUserReportDesignCoverImageResponse, error)

ParsePutUserReportDesignCoverImageResponse parses an HTTP response from a PutUserReportDesignCoverImageWithResponse call

func (PutUserReportDesignCoverImageResponse) ContentType added in v0.7.4

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PutUserReportDesignCoverImageResponse) GetApplicationproblemJSONDefault added in v0.7.4

func (r PutUserReportDesignCoverImageResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (PutUserReportDesignCoverImageResponse) GetBody added in v0.7.4

GetBody returns the raw response body bytes

func (PutUserReportDesignCoverImageResponse) GetJSON200 added in v0.7.4

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PutUserReportDesignCoverImageResponse) Status added in v0.7.4

Status returns HTTPResponse.Status

func (PutUserReportDesignCoverImageResponse) StatusCode added in v0.7.4

StatusCode returns HTTPResponse.StatusCode

type PutUserReportDesignCustomCoverJSONRequestBody added in v0.7.4

type PutUserReportDesignCustomCoverJSONRequestBody = ReportDesignCustomCover

PutUserReportDesignCustomCoverJSONRequestBody defines body for PutUserReportDesignCustomCover for application/json ContentType.

type PutUserReportDesignCustomCoverResponse added in v0.7.4

type PutUserReportDesignCustomCoverResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ReportDesignRecord
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParsePutUserReportDesignCustomCoverResponse added in v0.7.4

func ParsePutUserReportDesignCustomCoverResponse(rsp *http.Response) (*PutUserReportDesignCustomCoverResponse, error)

ParsePutUserReportDesignCustomCoverResponse parses an HTTP response from a PutUserReportDesignCustomCoverWithResponse call

func (PutUserReportDesignCustomCoverResponse) ContentType added in v0.7.4

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PutUserReportDesignCustomCoverResponse) GetApplicationproblemJSONDefault added in v0.7.4

func (r PutUserReportDesignCustomCoverResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (PutUserReportDesignCustomCoverResponse) GetBody added in v0.7.4

GetBody returns the raw response body bytes

func (PutUserReportDesignCustomCoverResponse) GetJSON200 added in v0.7.4

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PutUserReportDesignCustomCoverResponse) Status added in v0.7.4

Status returns HTTPResponse.Status

func (PutUserReportDesignCustomCoverResponse) StatusCode added in v0.7.4

StatusCode returns HTTPResponse.StatusCode

type PutUserReportDesignLogoMultipartBody added in v0.7.4

type PutUserReportDesignLogoMultipartBody struct {
	File openapi_types.File `json:"file"`
}

PutUserReportDesignLogoMultipartBody defines parameters for PutUserReportDesignLogo.

type PutUserReportDesignLogoMultipartRequestBody added in v0.7.4

type PutUserReportDesignLogoMultipartRequestBody PutUserReportDesignLogoMultipartBody

PutUserReportDesignLogoMultipartRequestBody defines body for PutUserReportDesignLogo for multipart/form-data ContentType.

type PutUserReportDesignLogoResponse added in v0.7.4

type PutUserReportDesignLogoResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ReportDesignRecord
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParsePutUserReportDesignLogoResponse added in v0.7.4

func ParsePutUserReportDesignLogoResponse(rsp *http.Response) (*PutUserReportDesignLogoResponse, error)

ParsePutUserReportDesignLogoResponse parses an HTTP response from a PutUserReportDesignLogoWithResponse call

func (PutUserReportDesignLogoResponse) ContentType added in v0.7.4

func (r PutUserReportDesignLogoResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PutUserReportDesignLogoResponse) GetApplicationproblemJSONDefault added in v0.7.4

func (r PutUserReportDesignLogoResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (PutUserReportDesignLogoResponse) GetBody added in v0.7.4

func (r PutUserReportDesignLogoResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PutUserReportDesignLogoResponse) GetJSON200 added in v0.7.4

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PutUserReportDesignLogoResponse) Status added in v0.7.4

Status returns HTTPResponse.Status

func (PutUserReportDesignLogoResponse) StatusCode added in v0.7.4

func (r PutUserReportDesignLogoResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PutVoiceJSONRequestBody

type PutVoiceJSONRequestBody = PutVoiceRequest

PutVoiceJSONRequestBody defines body for PutVoice for application/json ContentType.

type PutVoiceRequest

type PutVoiceRequest struct {
	Source PutVoiceRequestSource `json:"source"`

	// Text The VOICE.md, UTF-8, at most 32 KiB.
	Text string `json:"text"`
}

PutVoiceRequest defines model for PutVoiceRequest.

type PutVoiceRequestSource

type PutVoiceRequestSource string

PutVoiceRequestSource defines model for PutVoiceRequest.Source.

const (
	PutVoiceRequestSourceEdit   PutVoiceRequestSource = "edit"
	PutVoiceRequestSourceUpload PutVoiceRequestSource = "upload"
)

Defines values for PutVoiceRequestSource.

func (PutVoiceRequestSource) Valid

func (e PutVoiceRequestSource) Valid() bool

Valid indicates whether the value is a known member of the PutVoiceRequestSource enum.

type PutVoiceResponse

type PutVoiceResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON202 the response for an HTTP 202 `application/json` response
	JSON202 *Voice
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParsePutVoiceResponse

func ParsePutVoiceResponse(rsp *http.Response) (*PutVoiceResponse, error)

ParsePutVoiceResponse parses an HTTP response from a PutVoiceWithResponse call

func (PutVoiceResponse) ContentType

func (r PutVoiceResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PutVoiceResponse) GetApplicationproblemJSONDefault

func (r PutVoiceResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (PutVoiceResponse) GetBody

func (r PutVoiceResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PutVoiceResponse) GetJSON202

func (r PutVoiceResponse) GetJSON202() *Voice

GetJSON202 returns the response for an HTTP 202 `application/json` response

func (PutVoiceResponse) Status

func (r PutVoiceResponse) Status() string

Status returns HTTPResponse.Status

func (PutVoiceResponse) StatusCode

func (r PutVoiceResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RedTeamReport

type RedTeamReport struct {
	BundleDigest string `json:"bundleDigest"`

	// Cases Fixtures × applicable mutators.
	Cases     int       `json:"cases"`
	CreatedAt time.Time `json:"createdAt"`

	// Evaded Cases where at least one expected rule stopped firing.
	Evaded int `json:"evaded"`

	// Fixtures Attack fixtures with S3/S4 expectations that fired unmutated.
	Fixtures int                `json:"fixtures"`
	Id       openapi_types.UUID `json:"id"`

	// Report The full report (byMutator tallies and every evasion).
	Report        map[string]interface{} `json:"report"`
	RulesetSemver string                 `json:"rulesetSemver"`
}

RedTeamReport One run of the red-team job.

type ReinstateOrgResponse

type ReinstateOrgResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Org
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseReinstateOrgResponse

func ParseReinstateOrgResponse(rsp *http.Response) (*ReinstateOrgResponse, error)

ParseReinstateOrgResponse parses an HTTP response from a ReinstateOrgWithResponse call

func (ReinstateOrgResponse) ContentType

func (r ReinstateOrgResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ReinstateOrgResponse) GetApplicationproblemJSONDefault

func (r ReinstateOrgResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (ReinstateOrgResponse) GetBody

func (r ReinstateOrgResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ReinstateOrgResponse) GetJSON200

func (r ReinstateOrgResponse) GetJSON200() *Org

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ReinstateOrgResponse) Status

func (r ReinstateOrgResponse) Status() string

Status returns HTTPResponse.Status

func (ReinstateOrgResponse) StatusCode

func (r ReinstateOrgResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RemoveAgentTeamGrantResponse

type RemoveAgentTeamGrantResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseRemoveAgentTeamGrantResponse

func ParseRemoveAgentTeamGrantResponse(rsp *http.Response) (*RemoveAgentTeamGrantResponse, error)

ParseRemoveAgentTeamGrantResponse parses an HTTP response from a RemoveAgentTeamGrantWithResponse call

func (RemoveAgentTeamGrantResponse) ContentType

func (r RemoveAgentTeamGrantResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (RemoveAgentTeamGrantResponse) GetApplicationproblemJSONDefault

func (r RemoveAgentTeamGrantResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (RemoveAgentTeamGrantResponse) GetBody

func (r RemoveAgentTeamGrantResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (RemoveAgentTeamGrantResponse) Status

Status returns HTTPResponse.Status

func (RemoveAgentTeamGrantResponse) StatusCode

func (r RemoveAgentTeamGrantResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RemoveAgentUserGrantResponse

type RemoveAgentUserGrantResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseRemoveAgentUserGrantResponse

func ParseRemoveAgentUserGrantResponse(rsp *http.Response) (*RemoveAgentUserGrantResponse, error)

ParseRemoveAgentUserGrantResponse parses an HTTP response from a RemoveAgentUserGrantWithResponse call

func (RemoveAgentUserGrantResponse) ContentType

func (r RemoveAgentUserGrantResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (RemoveAgentUserGrantResponse) GetApplicationproblemJSONDefault

func (r RemoveAgentUserGrantResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (RemoveAgentUserGrantResponse) GetBody

func (r RemoveAgentUserGrantResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (RemoveAgentUserGrantResponse) Status

Status returns HTTPResponse.Status

func (RemoveAgentUserGrantResponse) StatusCode

func (r RemoveAgentUserGrantResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RemoveOrgMemberResponse

type RemoveOrgMemberResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseRemoveOrgMemberResponse

func ParseRemoveOrgMemberResponse(rsp *http.Response) (*RemoveOrgMemberResponse, error)

ParseRemoveOrgMemberResponse parses an HTTP response from a RemoveOrgMemberWithResponse call

func (RemoveOrgMemberResponse) ContentType

func (r RemoveOrgMemberResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (RemoveOrgMemberResponse) GetApplicationproblemJSONDefault

func (r RemoveOrgMemberResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (RemoveOrgMemberResponse) GetBody

func (r RemoveOrgMemberResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (RemoveOrgMemberResponse) Status

func (r RemoveOrgMemberResponse) Status() string

Status returns HTTPResponse.Status

func (RemoveOrgMemberResponse) StatusCode

func (r RemoveOrgMemberResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RemoveSshKeyResponse

type RemoveSshKeyResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseRemoveSshKeyResponse

func ParseRemoveSshKeyResponse(rsp *http.Response) (*RemoveSshKeyResponse, error)

ParseRemoveSshKeyResponse parses an HTTP response from a RemoveSshKeyWithResponse call

func (RemoveSshKeyResponse) ContentType

func (r RemoveSshKeyResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (RemoveSshKeyResponse) GetApplicationproblemJSONDefault

func (r RemoveSshKeyResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (RemoveSshKeyResponse) GetBody

func (r RemoveSshKeyResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (RemoveSshKeyResponse) Status

func (r RemoveSshKeyResponse) Status() string

Status returns HTTPResponse.Status

func (RemoveSshKeyResponse) StatusCode

func (r RemoveSshKeyResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RemoveTeamMemberResponse

type RemoveTeamMemberResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseRemoveTeamMemberResponse

func ParseRemoveTeamMemberResponse(rsp *http.Response) (*RemoveTeamMemberResponse, error)

ParseRemoveTeamMemberResponse parses an HTTP response from a RemoveTeamMemberWithResponse call

func (RemoveTeamMemberResponse) ContentType

func (r RemoveTeamMemberResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (RemoveTeamMemberResponse) GetApplicationproblemJSONDefault

func (r RemoveTeamMemberResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (RemoveTeamMemberResponse) GetBody

func (r RemoveTeamMemberResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (RemoveTeamMemberResponse) Status

func (r RemoveTeamMemberResponse) Status() string

Status returns HTTPResponse.Status

func (RemoveTeamMemberResponse) StatusCode

func (r RemoveTeamMemberResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ReportAbuseJSONBody

type ReportAbuseJSONBody struct {
	Category ReportAbuseJSONBodyCategory `json:"category"`
	Detail   string                      `json:"detail"`
	Version  *string                     `json:"version,omitempty"`
}

ReportAbuseJSONBody defines parameters for ReportAbuse.

type ReportAbuseJSONBodyCategory

type ReportAbuseJSONBodyCategory string

ReportAbuseJSONBodyCategory defines parameters for ReportAbuse.

const (
	CredentialTheft    ReportAbuseJSONBodyCategory = "credential_theft"
	HiddenInstructions ReportAbuseJSONBodyCategory = "hidden_instructions"
	License            ReportAbuseJSONBodyCategory = "license"
	MaliciousContent   ReportAbuseJSONBodyCategory = "malicious_content"
	Other              ReportAbuseJSONBodyCategory = "other"
	Spam               ReportAbuseJSONBodyCategory = "spam"
	Typosquat          ReportAbuseJSONBodyCategory = "typosquat"
)

Defines values for ReportAbuseJSONBodyCategory.

func (ReportAbuseJSONBodyCategory) Valid

Valid indicates whether the value is a known member of the ReportAbuseJSONBodyCategory enum.

type ReportAbuseJSONRequestBody

type ReportAbuseJSONRequestBody ReportAbuseJSONBody

ReportAbuseJSONRequestBody defines body for ReportAbuse for application/json ContentType.

type ReportAbuseResponse

type ReportAbuseResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseReportAbuseResponse

func ParseReportAbuseResponse(rsp *http.Response) (*ReportAbuseResponse, error)

ParseReportAbuseResponse parses an HTTP response from a ReportAbuseWithResponse call

func (ReportAbuseResponse) ContentType

func (r ReportAbuseResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ReportAbuseResponse) GetApplicationproblemJSONDefault

func (r ReportAbuseResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (ReportAbuseResponse) GetBody

func (r ReportAbuseResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ReportAbuseResponse) Status

func (r ReportAbuseResponse) Status() string

Status returns HTTPResponse.Status

func (ReportAbuseResponse) StatusCode

func (r ReportAbuseResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ReportDesign

type ReportDesign struct {
	// Accent The first colour, lower-case hex.
	Accent string `json:"accent"`

	// AgentryTheme The document version, always 3.
	AgentryTheme ReportDesignAgentryTheme `json:"agentryTheme"`

	// BasedOn The built-in theme the design started from.
	BasedOn ReportDesignBasedOn `json:"basedOn"`

	// Brand Who the report is from; every line optional and drawn as text where a header, a footer or a cover asks for it.
	Brand struct {
		// Confidentiality The {confidentiality} token.
		Confidentiality string   `json:"confidentiality"`
		Contact         []string `json:"contact"`

		// Name The {brand} token.
		Name      string `json:"name"`
		Strapline string `json:"strapline"`

		// Website A host name or an https address, drawn as text, never a link.
		Website string `json:"website"`
	} `json:"brand"`

	// Cover The cover page.
	Cover struct {
		// Shows The facts the cover carries, each once.
		Shows []ReportDesignCoverShows `json:"shows"`

		// Style A built-in layout, or custom for the design's custom cover, which falls back to band when it cannot be drawn.
		Style ReportDesignCoverStyle `json:"style"`

		// When long draws the cover for a titled report past the template's length threshold, always for every titled report, never for none.
		When ReportDesignCoverWhen `json:"when"`
	} `json:"cover"`

	// CoverImage The design's cover image, drawn by the plate style and offered to a custom cover: a PNG or a JPEG the core encoded from the upload, at most 2 MB and 2048 pixels each way, under the key that names its format.
	CoverImage *struct {
		Jpeg *string `json:"jpeg,omitempty"`
		Png  *string `json:"png,omitempty"`
	} `json:"coverImage,omitempty"`

	// CustomCover The design's custom cover, drawn when the cover style is custom: its Typst source, the images it may draw (each a PNG or a JPEG the core encoded, named by the renderer in this order) and a PNG thumbnail of its last render.
	CustomCover *struct {
		Images []struct {
			Jpeg *string `json:"jpeg,omitempty"`
			Png  *string `json:"png,omitempty"`
		} `json:"images"`
		Source    string `json:"source"`
		Thumbnail *struct {
			Png string `json:"png"`
		} `json:"thumbnail,omitempty"`
	} `json:"customCover,omitempty"`
	Fonts struct {
		Body     ReportDesignFontsBody     `json:"body"`
		Code     ReportDesignFontsCode     `json:"code"`
		Headings ReportDesignFontsHeadings `json:"headings"`
	} `json:"fonts"`
	Footer struct {
		PageNumbers ReportDesignFooterPageNumbers `json:"pageNumbers"`

		// Slots As the header's.
		Slots []string `json:"slots"`
	} `json:"footer"`

	// Header The running header: from page 2 on a report, every page of a memo, never on a letter.
	Header struct {
		// Slots Left, centre and right: literal text and tokens from the closed set {title}, {author}, {date}, {page}, {pages}, {brand}, {section}, {confidentiality}, which the template substitutes before it sets the text; anything else between braces is literal.
		Slots []string                `json:"slots"`
		Style ReportDesignHeaderStyle `json:"style"`
	} `json:"header"`

	// HeadingScale How much larger than the body each heading level is set.
	HeadingScale ReportDesignHeadingScale `json:"headingScale"`
	Headings     ReportDesignHeadings     `json:"headings"`

	Logo *struct {
		Png string `json:"png"`
	} `json:"logo,omitempty"`

	// Margins The page's margins.
	Margins ReportDesignMargins `json:"margins"`

	// Name The design's label, a built-in's own name or the person's.
	Name string `json:"name"`

	// Paper A4, or US Letter.
	Paper  ReportDesignPaper  `json:"paper"`
	Quotes ReportDesignQuotes `json:"quotes"`

	// Secondary The second colour, lower-case hex, or empty for none.
	Secondary string `json:"secondary"`
	Tables    struct {
		Banded bool `json:"banded"`
		Tinted bool `json:"tinted"`
	} `json:"tables"`
	TitleBlock ReportDesignTitleBlock `json:"titleBlock"`

	// Version The design's revision.
	Version int `json:"version"`
}

ReportDesign A report design, the theme document version 3: a whole brand. Defined by the core's pkg/reportdesign, whose JSON Schema this mirrors (a core test holds them equal). Beyond what the schema says: the accent must reach 4.5:1 contrast on white where it carries text (titleBlock `band`, headings `smallcaps` or `numbered`, or a cover that is drawn in the `band`, `largeType` or `plate` style, or `split` with no secondary) and 3:1 otherwise; the secondary 4.5:1 where a drawn `split` cover puts the brand on it and 3:1 otherwise; every text (`name`, the brand's lines, each header and footer slot) is one line with no control, line-break, bidirectional formatting or other invisible format characters; `brand.website` is a host name or an https address, drawn as text; a cover fact is named once; the custom cover's source is at most 32 KiB of text, its images at most six and 2 MB in all as stored, its thumbnail a PNG of at most 300 KB; each image's base64 holds a PNG or a JPEG within its bounds. Each colour's tint is derived: 12% of it over white. The ten built-in themes are each a value of it. `logo`, `coverImage` and `customCover` are optional, not counted in the 24 KB, answered only on `include=assets`, and null reads as none.

type ReportDesignAgentryTheme

type ReportDesignAgentryTheme int

ReportDesignAgentryTheme The document version, always 3.

const (
	ReportDesignVersion3 ReportDesignAgentryTheme = 3
)

Defines values for ReportDesignAgentryTheme.

func (ReportDesignAgentryTheme) Valid

func (e ReportDesignAgentryTheme) Valid() bool

Valid indicates whether the value is a known member of the ReportDesignAgentryTheme enum.

type ReportDesignBasedOn

type ReportDesignBasedOn string

ReportDesignBasedOn The built-in theme the design started from.

const (
	ReportDesignBasedOnBoardroom ReportDesignBasedOn = "boardroom"
	ReportDesignBasedOnCivic     ReportDesignBasedOn = "civic"
	ReportDesignBasedOnClassic   ReportDesignBasedOn = "classic"
	ReportDesignBasedOnEditorial ReportDesignBasedOn = "editorial"
	ReportDesignBasedOnField     ReportDesignBasedOn = "field"
	ReportDesignBasedOnLumen     ReportDesignBasedOn = "lumen"
	ReportDesignBasedOnModern    ReportDesignBasedOn = "modern"
	ReportDesignBasedOnPlain     ReportDesignBasedOn = "plain"
	ReportDesignBasedOnStudio    ReportDesignBasedOn = "studio"
	ReportDesignBasedOnTechnical ReportDesignBasedOn = "technical"
)

Defines values for ReportDesignBasedOn.

func (ReportDesignBasedOn) Valid

func (e ReportDesignBasedOn) Valid() bool

Valid indicates whether the value is a known member of the ReportDesignBasedOn enum.

type ReportDesignCoverShows added in v0.7.4

type ReportDesignCoverShows string

ReportDesignCoverShows defines model for ReportDesign.Cover.Shows.

const (
	Author          ReportDesignCoverShows = "author"
	Brand           ReportDesignCoverShows = "brand"
	Confidentiality ReportDesignCoverShows = "confidentiality"
	Date            ReportDesignCoverShows = "date"
	Subtitle        ReportDesignCoverShows = "subtitle"
	Title           ReportDesignCoverShows = "title"
)

Defines values for ReportDesignCoverShows.

func (ReportDesignCoverShows) Valid added in v0.7.4

func (e ReportDesignCoverShows) Valid() bool

Valid indicates whether the value is a known member of the ReportDesignCoverShows enum.

type ReportDesignCoverStyle added in v0.7.4

type ReportDesignCoverStyle string

ReportDesignCoverStyle A built-in layout, or custom for the design's custom cover, which falls back to band when it cannot be drawn.

const (
	ReportDesignCoverStyleBand      ReportDesignCoverStyle = "band"
	ReportDesignCoverStyleCustom    ReportDesignCoverStyle = "custom"
	ReportDesignCoverStyleFramed    ReportDesignCoverStyle = "framed"
	ReportDesignCoverStyleGeometric ReportDesignCoverStyle = "geometric"
	ReportDesignCoverStyleLargeType ReportDesignCoverStyle = "largeType"
	ReportDesignCoverStylePlate     ReportDesignCoverStyle = "plate"
	ReportDesignCoverStyleSplit     ReportDesignCoverStyle = "split"
)

Defines values for ReportDesignCoverStyle.

func (ReportDesignCoverStyle) Valid added in v0.7.4

func (e ReportDesignCoverStyle) Valid() bool

Valid indicates whether the value is a known member of the ReportDesignCoverStyle enum.

type ReportDesignCoverWhen added in v0.7.4

type ReportDesignCoverWhen string

ReportDesignCoverWhen long draws the cover for a titled report past the template's length threshold, always for every titled report, never for none.

const (
	Always ReportDesignCoverWhen = "always"
	Long   ReportDesignCoverWhen = "long"
	Never  ReportDesignCoverWhen = "never"
)

Defines values for ReportDesignCoverWhen.

func (ReportDesignCoverWhen) Valid added in v0.7.4

func (e ReportDesignCoverWhen) Valid() bool

Valid indicates whether the value is a known member of the ReportDesignCoverWhen enum.

type ReportDesignCreate added in v0.7.4

type ReportDesignCreate struct {
	// Default Make the new design the default. Off, the default is unchanged, so an account whose first design is added without it still has no default.
	Default *bool `json:"default,omitempty"`

	// Design A report design, the theme document version 3: a whole brand. Defined by the core's pkg/reportdesign, whose JSON Schema this mirrors (a core test holds them equal). Beyond what the schema says: the accent must reach 4.5:1 contrast on white where it carries text (titleBlock `band`, headings `smallcaps` or `numbered`, or a cover that is drawn in the `band`, `largeType` or `plate` style, or `split` with no secondary) and 3:1 otherwise; the secondary 4.5:1 where a drawn `split` cover puts the brand on it and 3:1 otherwise; every text (`name`, the brand's lines, each header and footer slot) is one line with no control, line-break, bidirectional formatting or other invisible format characters; `brand.website` is a host name or an https address, drawn as text; a cover fact is named once; the custom cover's source is at most 32 KiB of text, its images at most six and 2 MB in all as stored, its thumbnail a PNG of at most 300 KB; each image's base64 holds a PNG or a JPEG within its bounds. Each colour's tint is derived: 12% of it over white. The ten built-in themes are each a value of it. `logo`, `coverImage` and `customCover` are optional, not counted in the 24 KB, answered only on `include=assets`, and null reads as none.
	Design ReportDesign `json:"design"`
}

ReportDesignCreate defines model for ReportDesignCreate.

type ReportDesignCustomCover added in v0.7.4

type ReportDesignCustomCover struct {
	Images []struct {
		Jpeg *string `json:"jpeg,omitempty"`
		Png  *string `json:"png,omitempty"`
	} `json:"images"`
	Source    string `json:"source"`
	Thumbnail *struct {
		Png string `json:"png"`
	} `json:"thumbnail,omitempty"`
}

ReportDesignCustomCover A design's custom cover: its Typst source (at most 32 KiB of text), up to six images (each a PNG or a JPEG, 2 MB in all as stored; the core encodes each again) and a PNG thumbnail of its last render (at most 300 KB).

type ReportDesignDefault added in v0.7.4

type ReportDesignDefault struct {
	// Id The design to make the default; absent or null for none.
	Id *openapi_types.UUID `json:"id,omitempty"`
}

ReportDesignDefault Which design is the default: an id of the caller's, or none.

type ReportDesignFontsBody

type ReportDesignFontsBody string

ReportDesignFontsBody defines model for ReportDesign.Fonts.Body.

const (
	ReportDesignFontsBodyCrimsonPro       ReportDesignFontsBody = "Crimson Pro"
	ReportDesignFontsBodyDMSans           ReportDesignFontsBody = "DM Sans"
	ReportDesignFontsBodyEBGaramond       ReportDesignFontsBody = "EB Garamond"
	ReportDesignFontsBodyIBMPlexSans      ReportDesignFontsBody = "IBM Plex Sans"
	ReportDesignFontsBodyIBMPlexSerif     ReportDesignFontsBody = "IBM Plex Serif"
	ReportDesignFontsBodyInter            ReportDesignFontsBody = "Inter"
	ReportDesignFontsBodyLibreBaskerville ReportDesignFontsBody = "Libre Baskerville"
	ReportDesignFontsBodyLora             ReportDesignFontsBody = "Lora"
	ReportDesignFontsBodyMerriweather     ReportDesignFontsBody = "Merriweather"
	ReportDesignFontsBodyNunitoSans       ReportDesignFontsBody = "Nunito Sans"
	ReportDesignFontsBodyRaleway          ReportDesignFontsBody = "Raleway"
	ReportDesignFontsBodySourceSans3      ReportDesignFontsBody = "Source Sans 3"
	ReportDesignFontsBodySourceSerif4     ReportDesignFontsBody = "Source Serif 4"
	ReportDesignFontsBodySpaceGrotesk     ReportDesignFontsBody = "Space Grotesk"
	ReportDesignFontsBodyWorkSans         ReportDesignFontsBody = "Work Sans"
)

Defines values for ReportDesignFontsBody.

func (ReportDesignFontsBody) Valid

func (e ReportDesignFontsBody) Valid() bool

Valid indicates whether the value is a known member of the ReportDesignFontsBody enum.

type ReportDesignFontsCode

type ReportDesignFontsCode string

ReportDesignFontsCode defines model for ReportDesign.Fonts.Code.

const (
	ReportDesignFontsCodeFiraCode      ReportDesignFontsCode = "Fira Code"
	ReportDesignFontsCodeIBMPlexMono   ReportDesignFontsCode = "IBM Plex Mono"
	ReportDesignFontsCodeJetBrainsMono ReportDesignFontsCode = "JetBrains Mono"
	ReportDesignFontsCodeSourceCodePro ReportDesignFontsCode = "Source Code Pro"
)

Defines values for ReportDesignFontsCode.

func (ReportDesignFontsCode) Valid

func (e ReportDesignFontsCode) Valid() bool

Valid indicates whether the value is a known member of the ReportDesignFontsCode enum.

type ReportDesignFontsHeadings

type ReportDesignFontsHeadings string

ReportDesignFontsHeadings defines model for ReportDesign.Fonts.Headings.

const (
	ReportDesignFontsHeadingsCrimsonPro       ReportDesignFontsHeadings = "Crimson Pro"
	ReportDesignFontsHeadingsDMSans           ReportDesignFontsHeadings = "DM Sans"
	ReportDesignFontsHeadingsEBGaramond       ReportDesignFontsHeadings = "EB Garamond"
	ReportDesignFontsHeadingsFiraCode         ReportDesignFontsHeadings = "Fira Code"
	ReportDesignFontsHeadingsFraunces         ReportDesignFontsHeadings = "Fraunces"
	ReportDesignFontsHeadingsIBMPlexMono      ReportDesignFontsHeadings = "IBM Plex Mono"
	ReportDesignFontsHeadingsIBMPlexSans      ReportDesignFontsHeadings = "IBM Plex Sans"
	ReportDesignFontsHeadingsIBMPlexSerif     ReportDesignFontsHeadings = "IBM Plex Serif"
	ReportDesignFontsHeadingsInter            ReportDesignFontsHeadings = "Inter"
	ReportDesignFontsHeadingsJetBrainsMono    ReportDesignFontsHeadings = "JetBrains Mono"
	ReportDesignFontsHeadingsLibreBaskerville ReportDesignFontsHeadings = "Libre Baskerville"
	ReportDesignFontsHeadingsLora             ReportDesignFontsHeadings = "Lora"
	ReportDesignFontsHeadingsMerriweather     ReportDesignFontsHeadings = "Merriweather"
	ReportDesignFontsHeadingsMontserrat       ReportDesignFontsHeadings = "Montserrat"
	ReportDesignFontsHeadingsNunitoSans       ReportDesignFontsHeadings = "Nunito Sans"
	ReportDesignFontsHeadingsPlayfairDisplay  ReportDesignFontsHeadings = "Playfair Display"
	ReportDesignFontsHeadingsRaleway          ReportDesignFontsHeadings = "Raleway"
	ReportDesignFontsHeadingsSourceCodePro    ReportDesignFontsHeadings = "Source Code Pro"
	ReportDesignFontsHeadingsSourceSans3      ReportDesignFontsHeadings = "Source Sans 3"
	ReportDesignFontsHeadingsSourceSerif4     ReportDesignFontsHeadings = "Source Serif 4"
	ReportDesignFontsHeadingsSpaceGrotesk     ReportDesignFontsHeadings = "Space Grotesk"
	ReportDesignFontsHeadingsWorkSans         ReportDesignFontsHeadings = "Work Sans"
)

Defines values for ReportDesignFontsHeadings.

func (ReportDesignFontsHeadings) Valid

func (e ReportDesignFontsHeadings) Valid() bool

Valid indicates whether the value is a known member of the ReportDesignFontsHeadings enum.

type ReportDesignFooterPageNumbers

type ReportDesignFooterPageNumbers string

ReportDesignFooterPageNumbers defines model for ReportDesign.Footer.PageNumbers.

const (
	ReportDesignFooterPageNumbersN    ReportDesignFooterPageNumbers = "n"
	ReportDesignFooterPageNumbersNOfN ReportDesignFooterPageNumbers = "nOfN"
	ReportDesignFooterPageNumbersNone ReportDesignFooterPageNumbers = "none"
)

Defines values for ReportDesignFooterPageNumbers.

func (ReportDesignFooterPageNumbers) Valid

Valid indicates whether the value is a known member of the ReportDesignFooterPageNumbers enum.

type ReportDesignHeaderStyle added in v0.7.4

type ReportDesignHeaderStyle string

ReportDesignHeaderStyle defines model for ReportDesign.Header.Style.

const (
	ReportDesignHeaderStyleBrandLine    ReportDesignHeaderStyle = "brandLine"
	ReportDesignHeaderStyleLogoLeft     ReportDesignHeaderStyle = "logoLeft"
	ReportDesignHeaderStyleNone         ReportDesignHeaderStyle = "none"
	ReportDesignHeaderStyleRule         ReportDesignHeaderStyle = "rule"
	ReportDesignHeaderStyleTitleAndPage ReportDesignHeaderStyle = "titleAndPage"
)

Defines values for ReportDesignHeaderStyle.

func (ReportDesignHeaderStyle) Valid added in v0.7.4

func (e ReportDesignHeaderStyle) Valid() bool

Valid indicates whether the value is a known member of the ReportDesignHeaderStyle enum.

type ReportDesignHeadingScale added in v0.7.4

type ReportDesignHeadingScale string

ReportDesignHeadingScale How much larger than the body each heading level is set.

const (
	ReportDesignHeadingScaleCompact  ReportDesignHeadingScale = "compact"
	ReportDesignHeadingScaleGenerous ReportDesignHeadingScale = "generous"
	ReportDesignHeadingScaleRegular  ReportDesignHeadingScale = "regular"
)

Defines values for ReportDesignHeadingScale.

func (ReportDesignHeadingScale) Valid added in v0.7.4

func (e ReportDesignHeadingScale) Valid() bool

Valid indicates whether the value is a known member of the ReportDesignHeadingScale enum.

type ReportDesignHeadings

type ReportDesignHeadings string

ReportDesignHeadings defines model for ReportDesign.Headings.

const (
	ReportDesignHeadingsBar       ReportDesignHeadings = "bar"
	ReportDesignHeadingsNumbered  ReportDesignHeadings = "numbered"
	ReportDesignHeadingsPlain     ReportDesignHeadings = "plain"
	ReportDesignHeadingsRule      ReportDesignHeadings = "rule"
	ReportDesignHeadingsSmallcaps ReportDesignHeadings = "smallcaps"
)

Defines values for ReportDesignHeadings.

func (ReportDesignHeadings) Valid

func (e ReportDesignHeadings) Valid() bool

Valid indicates whether the value is a known member of the ReportDesignHeadings enum.

type ReportDesignId added in v0.7.4

type ReportDesignId = openapi_types.UUID

ReportDesignId defines model for ReportDesignId.

type ReportDesignInclude added in v0.7.4

type ReportDesignInclude string

ReportDesignInclude What a report design answer carries beyond the document.

const (
	ReportDesignIncludeAssets ReportDesignInclude = "assets"
)

Defines values for ReportDesignInclude.

func (ReportDesignInclude) Valid added in v0.7.4

func (e ReportDesignInclude) Valid() bool

Valid indicates whether the value is a known member of the ReportDesignInclude enum.

type ReportDesignList added in v0.7.4

type ReportDesignList struct {
	// Default The default design's id; absent when none is.
	Default *openapi_types.UUID   `json:"default,omitempty"`
	Designs []ReportDesignSummary `json:"designs"`
}

ReportDesignList The caller's library: the designs, oldest first, and which is the default. No `default` means no design is: a run then falls to the client's own choice, never Plain at the API.

type ReportDesignMargins added in v0.7.4

type ReportDesignMargins string

ReportDesignMargins The page's margins.

const (
	ReportDesignMarginsNarrow  ReportDesignMargins = "narrow"
	ReportDesignMarginsRegular ReportDesignMargins = "regular"
	ReportDesignMarginsWide    ReportDesignMargins = "wide"
)

Defines values for ReportDesignMargins.

func (ReportDesignMargins) Valid added in v0.7.4

func (e ReportDesignMargins) Valid() bool

Valid indicates whether the value is a known member of the ReportDesignMargins enum.

type ReportDesignPaper

type ReportDesignPaper string

ReportDesignPaper A4, or US Letter.

const (
	A4     ReportDesignPaper = "a4"
	Letter ReportDesignPaper = "letter"
)

Defines values for ReportDesignPaper.

func (ReportDesignPaper) Valid

func (e ReportDesignPaper) Valid() bool

Valid indicates whether the value is a known member of the ReportDesignPaper enum.

type ReportDesignQuotes

type ReportDesignQuotes string

ReportDesignQuotes defines model for ReportDesign.Quotes.

const (
	ReportDesignQuotesCallout ReportDesignQuotes = "callout"
	ReportDesignQuotesPlain   ReportDesignQuotes = "plain"
)

Defines values for ReportDesignQuotes.

func (ReportDesignQuotes) Valid

func (e ReportDesignQuotes) Valid() bool

Valid indicates whether the value is a known member of the ReportDesignQuotes enum.

type ReportDesignRecord added in v0.7.4

type ReportDesignRecord struct {
	CreatedAt time.Time `json:"createdAt"`
	Default   bool      `json:"default"`

	// Design A report design, the theme document version 3: a whole brand. Defined by the core's pkg/reportdesign, whose JSON Schema this mirrors (a core test holds them equal). Beyond what the schema says: the accent must reach 4.5:1 contrast on white where it carries text (titleBlock `band`, headings `smallcaps` or `numbered`, or a cover that is drawn in the `band`, `largeType` or `plate` style, or `split` with no secondary) and 3:1 otherwise; the secondary 4.5:1 where a drawn `split` cover puts the brand on it and 3:1 otherwise; every text (`name`, the brand's lines, each header and footer slot) is one line with no control, line-break, bidirectional formatting or other invisible format characters; `brand.website` is a host name or an https address, drawn as text; a cover fact is named once; the custom cover's source is at most 32 KiB of text, its images at most six and 2 MB in all as stored, its thumbnail a PNG of at most 300 KB; each image's base64 holds a PNG or a JPEG within its bounds. Each colour's tint is derived: 12% of it over white. The ten built-in themes are each a value of it. `logo`, `coverImage` and `customCover` are optional, not counted in the 24 KB, answered only on `include=assets`, and null reads as none.
	Design         ReportDesign       `json:"design"`
	HasCoverImage  bool               `json:"hasCoverImage"`
	HasCustomCover bool               `json:"hasCustomCover"`
	Id             openapi_types.UUID `json:"id"`
	UpdatedAt      time.Time          `json:"updatedAt"`
}

ReportDesignRecord One design with its document in canonical form. The images are in the document only on `include=assets`; the three flags say which it has.

type ReportDesignSummary added in v0.7.4

type ReportDesignSummary struct {
	// BasedOn The built-in theme it started from.
	BasedOn   string    `json:"basedOn"`
	CreatedAt time.Time `json:"createdAt"`

	// Default Whether a run takes this design when the person picks none.
	Default        bool               `json:"default"`
	HasCoverImage  bool               `json:"hasCoverImage"`
	HasCustomCover bool               `json:"hasCustomCover"`
	Id             openapi_types.UUID `json:"id"`
	Name           string             `json:"name"`
	UpdatedAt      time.Time          `json:"updatedAt"`
	Version        int                `json:"version"`
}

ReportDesignSummary One design of the library, without its document's body or images.

type ReportDesignTitleBlock

type ReportDesignTitleBlock string

ReportDesignTitleBlock defines model for ReportDesign.TitleBlock.

const (
	ReportDesignTitleBlockBand  ReportDesignTitleBlock = "band"
	ReportDesignTitleBlockBar   ReportDesignTitleBlock = "bar"
	ReportDesignTitleBlockNone  ReportDesignTitleBlock = "none"
	ReportDesignTitleBlockRuled ReportDesignTitleBlock = "ruled"
)

Defines values for ReportDesignTitleBlock.

func (ReportDesignTitleBlock) Valid

func (e ReportDesignTitleBlock) Valid() bool

Valid indicates whether the value is a known member of the ReportDesignTitleBlock enum.

type ReportDesignUpdate added in v0.7.4

type ReportDesignUpdate struct {
	// Design A report design, the theme document version 3: a whole brand. Defined by the core's pkg/reportdesign, whose JSON Schema this mirrors (a core test holds them equal). Beyond what the schema says: the accent must reach 4.5:1 contrast on white where it carries text (titleBlock `band`, headings `smallcaps` or `numbered`, or a cover that is drawn in the `band`, `largeType` or `plate` style, or `split` with no secondary) and 3:1 otherwise; the secondary 4.5:1 where a drawn `split` cover puts the brand on it and 3:1 otherwise; every text (`name`, the brand's lines, each header and footer slot) is one line with no control, line-break, bidirectional formatting or other invisible format characters; `brand.website` is a host name or an https address, drawn as text; a cover fact is named once; the custom cover's source is at most 32 KiB of text, its images at most six and 2 MB in all as stored, its thumbnail a PNG of at most 300 KB; each image's base64 holds a PNG or a JPEG within its bounds. Each colour's tint is derived: 12% of it over white. The ten built-in themes are each a value of it. `logo`, `coverImage` and `customCover` are optional, not counted in the 24 KB, answered only on `include=assets`, and null reads as none.
	Design ReportDesign `json:"design"`
}

ReportDesignUpdate defines model for ReportDesignUpdate.

type ReportVerdict

type ReportVerdict string

ReportVerdict What a report is: `scanned` when a scan run stands behind it (the findings say the rest), `unscanned` when the version was admitted without one — never conflated with "scanned with a known gap". Absent while a scan is still pending.

const (
	Scanned   ReportVerdict = "scanned"
	Unscanned ReportVerdict = "unscanned"
)

Defines values for ReportVerdict.

func (ReportVerdict) Valid

func (e ReportVerdict) Valid() bool

Valid indicates whether the value is a known member of the ReportVerdict enum.

type RequestDomainOrgAccessResponse

type RequestDomainOrgAccessResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON202 the response for an HTTP 202 `application/json` response
	JSON202 *AccessRequestResult
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseRequestDomainOrgAccessResponse

func ParseRequestDomainOrgAccessResponse(rsp *http.Response) (*RequestDomainOrgAccessResponse, error)

ParseRequestDomainOrgAccessResponse parses an HTTP response from a RequestDomainOrgAccessWithResponse call

func (RequestDomainOrgAccessResponse) ContentType

func (r RequestDomainOrgAccessResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (RequestDomainOrgAccessResponse) GetApplicationproblemJSONDefault

func (r RequestDomainOrgAccessResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (RequestDomainOrgAccessResponse) GetBody

func (r RequestDomainOrgAccessResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (RequestDomainOrgAccessResponse) GetJSON202

GetJSON202 returns the response for an HTTP 202 `application/json` response

func (RequestDomainOrgAccessResponse) Status

Status returns HTTPResponse.Status

func (RequestDomainOrgAccessResponse) StatusCode

func (r RequestDomainOrgAccessResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RequestEditorFn

type RequestEditorFn func(ctx context.Context, req *http.Request) error

RequestEditorFn is the function signature for the RequestEditor callback function

type RescanInFlight

type RescanInFlight struct {
	ScanRunId openapi_types.UUID `json:"scanRunId"`
	StartedAt time.Time          `json:"startedAt"`
}

RescanInFlight A later scan of this version still running (a ruleset or MCP rescan sweep, a manual rescan) while the report describes the latest run that finished. Present only when such a run exists: the verdict a release was published on stands until the rescan finishes, and the report says one is under way rather than going blank.

type ResolveRefParams

type ResolveRefParams struct {
	// Ref ns/name, ns/name@^1.2, ns/name@1.2.3, or ns/name@beta.
	Ref     string                   `form:"ref" json:"ref"`
	Channel *ResolveRefParamsChannel `form:"channel,omitempty" json:"channel,omitempty"`
}

ResolveRefParams defines parameters for ResolveRef.

type ResolveRefParamsChannel

type ResolveRefParamsChannel string

ResolveRefParamsChannel defines parameters for ResolveRef.

const (
	ResolveRefParamsChannelBeta   ResolveRefParamsChannel = "beta"
	ResolveRefParamsChannelStable ResolveRefParamsChannel = "stable"
)

Defines values for ResolveRefParamsChannel.

func (ResolveRefParamsChannel) Valid

func (e ResolveRefParamsChannel) Valid() bool

Valid indicates whether the value is a known member of the ResolveRefParamsChannel enum.

type ResolveRefResponse

type ResolveRefResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ResolveResult
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseResolveRefResponse

func ParseResolveRefResponse(rsp *http.Response) (*ResolveRefResponse, error)

ParseResolveRefResponse parses an HTTP response from a ResolveRefWithResponse call

func (ResolveRefResponse) ContentType

func (r ResolveRefResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ResolveRefResponse) GetApplicationproblemJSONDefault

func (r ResolveRefResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (ResolveRefResponse) GetBody

func (r ResolveRefResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ResolveRefResponse) GetJSON200

func (r ResolveRefResponse) GetJSON200() *ResolveResult

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ResolveRefResponse) Status

func (r ResolveRefResponse) Status() string

Status returns HTTPResponse.Status

func (ResolveRefResponse) StatusCode

func (r ResolveRefResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ResolveResult

type ResolveResult struct {
	// ArchiveUrl Where to fetch the archive (CDN on SaaS; API path self-host).
	ArchiveUrl string `json:"archiveUrl"`

	// AttestationUrl Where to fetch the DSSE attestation over this release. Present whenever the version has been signed: every version published by a signing-enabled deployment. Absent when the deployment runs `signing.kind: none` (dev/self-host opt-out) or the version predates signing.
	AttestationUrl *string                `json:"attestationUrl,omitempty"`
	Digest         string                 `json:"digest"`
	Manifest       map[string]interface{} `json:"manifest"`
	Name           string                 `json:"name"`
	Namespace      string                 `json:"namespace"`

	// ScanStatus How the resolved version was admitted: `skipped` is a version published without a scan — no attestation exists for it, which is not the same as an unsigned registry — and a client installs or runs it only with the person's consent.
	ScanStatus *ResolveResultScanStatus `json:"scanStatus,omitempty"`
	Version    string                   `json:"version"`

	// Yanked True only for exact pins of yanked versions.
	Yanked bool `json:"yanked"`
}

ResolveResult defines model for ResolveResult.

type ResolveResultScanStatus

type ResolveResultScanStatus string

ResolveResultScanStatus How the resolved version was admitted: `skipped` is a version published without a scan — no attestation exists for it, which is not the same as an unsigned registry — and a client installs or runs it only with the person's consent.

const (
	ResolveResultScanStatusPipeline ResolveResultScanStatus = "pipeline"
	ResolveResultScanStatusSkipped  ResolveResultScanStatus = "skipped"
)

Defines values for ResolveResultScanStatus.

func (ResolveResultScanStatus) Valid

func (e ResolveResultScanStatus) Valid() bool

Valid indicates whether the value is a known member of the ResolveResultScanStatus enum.

type RestoreAgentResponse

type RestoreAgentResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Agent
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseRestoreAgentResponse

func ParseRestoreAgentResponse(rsp *http.Response) (*RestoreAgentResponse, error)

ParseRestoreAgentResponse parses an HTTP response from a RestoreAgentWithResponse call

func (RestoreAgentResponse) ContentType

func (r RestoreAgentResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (RestoreAgentResponse) GetApplicationproblemJSONDefault

func (r RestoreAgentResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (RestoreAgentResponse) GetBody

func (r RestoreAgentResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (RestoreAgentResponse) GetJSON200

func (r RestoreAgentResponse) GetJSON200() *Agent

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (RestoreAgentResponse) Status

func (r RestoreAgentResponse) Status() string

Status returns HTTPResponse.Status

func (RestoreAgentResponse) StatusCode

func (r RestoreAgentResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RestoreVoiceResponse

type RestoreVoiceResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Voice
	// JSON202 the response for an HTTP 202 `application/json` response
	JSON202 *Voice
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseRestoreVoiceResponse

func ParseRestoreVoiceResponse(rsp *http.Response) (*RestoreVoiceResponse, error)

ParseRestoreVoiceResponse parses an HTTP response from a RestoreVoiceWithResponse call

func (RestoreVoiceResponse) ContentType

func (r RestoreVoiceResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (RestoreVoiceResponse) GetApplicationproblemJSONDefault

func (r RestoreVoiceResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (RestoreVoiceResponse) GetBody

func (r RestoreVoiceResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (RestoreVoiceResponse) GetJSON200

func (r RestoreVoiceResponse) GetJSON200() *Voice

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (RestoreVoiceResponse) GetJSON202

func (r RestoreVoiceResponse) GetJSON202() *Voice

GetJSON202 returns the response for an HTTP 202 `application/json` response

func (RestoreVoiceResponse) Status

func (r RestoreVoiceResponse) Status() string

Status returns HTTPResponse.Status

func (RestoreVoiceResponse) StatusCode

func (r RestoreVoiceResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RetireAgentResponse

type RetireAgentResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Agent
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseRetireAgentResponse

func ParseRetireAgentResponse(rsp *http.Response) (*RetireAgentResponse, error)

ParseRetireAgentResponse parses an HTTP response from a RetireAgentWithResponse call

func (RetireAgentResponse) ContentType

func (r RetireAgentResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (RetireAgentResponse) GetApplicationproblemJSONDefault

func (r RetireAgentResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (RetireAgentResponse) GetBody

func (r RetireAgentResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (RetireAgentResponse) GetJSON200

func (r RetireAgentResponse) GetJSON200() *Agent

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (RetireAgentResponse) Status

func (r RetireAgentResponse) Status() string

Status returns HTTPResponse.Status

func (RetireAgentResponse) StatusCode

func (r RetireAgentResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ReviewBundle

type ReviewBundle struct {
	Findings []ScanFinding `json:"findings"`
	Item     ReviewItem    `json:"item"`

	// Manifest The submitted manifest (canonical JSON form).
	Manifest      *map[string]interface{} `json:"manifest,omitempty"`
	Previous      *AgentVersion           `json:"previous,omitempty"`
	Report        *ScanReport             `json:"report,omitempty"`
	VersionDetail *AgentVersion           `json:"versionDetail,omitempty"`
}

ReviewBundle defines model for ReviewBundle.

type ReviewFileContent

type ReviewFileContent struct {
	Binary bool `json:"binary"`

	// Content UTF-8 text content; absent for binary files. Rendered by clients with invisible-character escaping.
	Content   *string `json:"content,omitempty"`
	Path      string  `json:"path"`
	Size      int64   `json:"size"`
	Truncated bool    `json:"truncated"`
}

ReviewFileContent defines model for ReviewFileContent.

type ReviewFileEntry

type ReviewFileEntry struct {
	Path string `json:"path"`
	Size int64  `json:"size"`
}

ReviewFileEntry defines model for ReviewFileEntry.

type ReviewFileList

type ReviewFileList struct {
	Files []ReviewFileEntry `json:"files"`
}

ReviewFileList defines model for ReviewFileList.

type ReviewItem

type ReviewItem struct {
	Agent     string             `json:"agent"`
	CreatedAt *time.Time         `json:"createdAt,omitempty"`
	Id        openapi_types.UUID `json:"id"`
	Namespace string             `json:"namespace"`
	Queue     ReviewItemQueue    `json:"queue"`

	// State Where the item stands. `superseded`: no person decided; the version was published by the gate when a new ruleset judged the review queue again and it passed. The set grows by addition, so it is declared extensible: a client keeps a state it does not know as the string it is rather than failing on it.
	State   string `json:"state"`
	Version string `json:"version"`

	// VersionStatus Publication state machine states. `approved` is reserved and never produced: a reviewer's approval publishes directly (needs_review → published), so clients will not observe it; it is kept because removing an enum value is a breaking change.
	VersionStatus *VersionStatus `json:"versionStatus,omitempty"`
}

ReviewItem defines model for ReviewItem.

type ReviewItemQueue

type ReviewItemQueue string

ReviewItemQueue defines model for ReviewItem.Queue.

const (
	ReviewItemQueueOrg      ReviewItemQueue = "org"
	ReviewItemQueuePlatform ReviewItemQueue = "platform"
)

Defines values for ReviewItemQueue.

func (ReviewItemQueue) Valid

func (e ReviewItemQueue) Valid() bool

Valid indicates whether the value is a known member of the ReviewItemQueue enum.

type RevokeInvitationResponse

type RevokeInvitationResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseRevokeInvitationResponse

func ParseRevokeInvitationResponse(rsp *http.Response) (*RevokeInvitationResponse, error)

ParseRevokeInvitationResponse parses an HTTP response from a RevokeInvitationWithResponse call

func (RevokeInvitationResponse) ContentType

func (r RevokeInvitationResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (RevokeInvitationResponse) GetApplicationproblemJSONDefault

func (r RevokeInvitationResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (RevokeInvitationResponse) GetBody

func (r RevokeInvitationResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (RevokeInvitationResponse) Status

func (r RevokeInvitationResponse) Status() string

Status returns HTTPResponse.Status

func (RevokeInvitationResponse) StatusCode

func (r RevokeInvitationResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RevokeOtherUserSessionsResponse

type RevokeOtherUserSessionsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseRevokeOtherUserSessionsResponse

func ParseRevokeOtherUserSessionsResponse(rsp *http.Response) (*RevokeOtherUserSessionsResponse, error)

ParseRevokeOtherUserSessionsResponse parses an HTTP response from a RevokeOtherUserSessionsWithResponse call

func (RevokeOtherUserSessionsResponse) ContentType

func (r RevokeOtherUserSessionsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (RevokeOtherUserSessionsResponse) GetApplicationproblemJSONDefault

func (r RevokeOtherUserSessionsResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (RevokeOtherUserSessionsResponse) GetBody

func (r RevokeOtherUserSessionsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (RevokeOtherUserSessionsResponse) Status

Status returns HTTPResponse.Status

func (RevokeOtherUserSessionsResponse) StatusCode

func (r RevokeOtherUserSessionsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RevokeTokenResponse

type RevokeTokenResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseRevokeTokenResponse

func ParseRevokeTokenResponse(rsp *http.Response) (*RevokeTokenResponse, error)

ParseRevokeTokenResponse parses an HTTP response from a RevokeTokenWithResponse call

func (RevokeTokenResponse) ContentType

func (r RevokeTokenResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (RevokeTokenResponse) GetApplicationproblemJSONDefault

func (r RevokeTokenResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (RevokeTokenResponse) GetBody

func (r RevokeTokenResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (RevokeTokenResponse) Status

func (r RevokeTokenResponse) Status() string

Status returns HTTPResponse.Status

func (RevokeTokenResponse) StatusCode

func (r RevokeTokenResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RevokeUserSessionResponse

type RevokeUserSessionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseRevokeUserSessionResponse

func ParseRevokeUserSessionResponse(rsp *http.Response) (*RevokeUserSessionResponse, error)

ParseRevokeUserSessionResponse parses an HTTP response from a RevokeUserSessionWithResponse call

func (RevokeUserSessionResponse) ContentType

func (r RevokeUserSessionResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (RevokeUserSessionResponse) GetApplicationproblemJSONDefault

func (r RevokeUserSessionResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (RevokeUserSessionResponse) GetBody

func (r RevokeUserSessionResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (RevokeUserSessionResponse) Status

func (r RevokeUserSessionResponse) Status() string

Status returns HTTPResponse.Status

func (RevokeUserSessionResponse) StatusCode

func (r RevokeUserSessionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RulesetRelease

type RulesetRelease struct {
	BundleDigest string             `json:"bundleDigest"`
	Id           openapi_types.UUID `json:"id"`
	Notes        *string            `json:"notes,omitempty"`
	PublishedAt  time.Time          `json:"publishedAt"`
	Semver       string             `json:"semver"`
}

RulesetRelease defines model for RulesetRelease.

type ScanFinding

type ScanFinding struct {
	Confidence ScanFindingConfidence `json:"confidence"`

	// Description What the finding's rule detects and why it matters, from the rule bundle this registry runs. Absent for a finding no bundle rule raised (a stage's own check, AI Review), or whose rule that bundle no longer holds.
	Description *string                 `json:"description,omitempty"`
	Detail      *map[string]interface{} `json:"detail,omitempty"`
	Excerpt     *string                 `json:"excerpt,omitempty"`
	FilePath    *string                 `json:"filePath,omitempty"`
	Id          *openapi_types.UUID     `json:"id,omitempty"`
	LineEnd     *int                    `json:"lineEnd,omitempty"`
	LineStart   *int                    `json:"lineStart,omitempty"`

	// References The rule's external references (OWASP ids, advisories, documentation), from the same bundle. Absent when the rule names none or no bundle rule raised the finding.
	References *[]string `json:"references,omitempty"`

	// Remediation What a publisher can change so the rule no longer fires, where the rule says. Null when the rule gives none.
	Remediation *string             `json:"remediation,omitempty"`
	Scanner     string              `json:"scanner"`
	Severity    ScanFindingSeverity `json:"severity"`
	Title       string              `json:"title"`
	Verdict     ScanFindingVerdict  `json:"verdict"`

	// VerdictReason Why a reviewer dismissed or confirmed this finding. Dismissed findings stay on the public report WITH their rationale. A finding that vanishes without explanation is exactly what the report exists to prevent.
	VerdictReason *string `json:"verdictReason,omitempty"`
}

ScanFinding defines model for ScanFinding.

type ScanFindingConfidence

type ScanFindingConfidence string

ScanFindingConfidence defines model for ScanFinding.Confidence.

const (
	ScanFindingConfidenceHigh   ScanFindingConfidence = "high"
	ScanFindingConfidenceLow    ScanFindingConfidence = "low"
	ScanFindingConfidenceMedium ScanFindingConfidence = "medium"
)

Defines values for ScanFindingConfidence.

func (ScanFindingConfidence) Valid

func (e ScanFindingConfidence) Valid() bool

Valid indicates whether the value is a known member of the ScanFindingConfidence enum.

type ScanFindingSeverity

type ScanFindingSeverity string

ScanFindingSeverity defines model for ScanFinding.Severity.

const (
	ScanFindingSeverityCritical ScanFindingSeverity = "critical"
	ScanFindingSeverityHigh     ScanFindingSeverity = "high"
	ScanFindingSeverityInfo     ScanFindingSeverity = "info"
	ScanFindingSeverityLow      ScanFindingSeverity = "low"
	ScanFindingSeverityMedium   ScanFindingSeverity = "medium"
)

Defines values for ScanFindingSeverity.

func (ScanFindingSeverity) Valid

func (e ScanFindingSeverity) Valid() bool

Valid indicates whether the value is a known member of the ScanFindingSeverity enum.

type ScanFindingVerdict

type ScanFindingVerdict string

ScanFindingVerdict defines model for ScanFinding.Verdict.

const (
	ScanFindingVerdictConfirmed              ScanFindingVerdict = "confirmed"
	ScanFindingVerdictDismissedAcceptedRisk  ScanFindingVerdict = "dismissed_accepted_risk"
	ScanFindingVerdictDismissedFalsePositive ScanFindingVerdict = "dismissed_false_positive"
	ScanFindingVerdictOpen                   ScanFindingVerdict = "open"
)

Defines values for ScanFindingVerdict.

func (ScanFindingVerdict) Valid

func (e ScanFindingVerdict) Valid() bool

Valid indicates whether the value is a known member of the ScanFindingVerdict enum.

type ScanModelInputJSONRequestBody

type ScanModelInputJSONRequestBody = ModelInputScanRequest

ScanModelInputJSONRequestBody defines body for ScanModelInput for application/json ContentType.

type ScanModelInputResponse

type ScanModelInputResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ModelInputScan
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseScanModelInputResponse

func ParseScanModelInputResponse(rsp *http.Response) (*ScanModelInputResponse, error)

ParseScanModelInputResponse parses an HTTP response from a ScanModelInputWithResponse call

func (ScanModelInputResponse) ContentType

func (r ScanModelInputResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ScanModelInputResponse) GetApplicationproblemJSONDefault

func (r ScanModelInputResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (ScanModelInputResponse) GetBody

func (r ScanModelInputResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ScanModelInputResponse) GetJSON200

func (r ScanModelInputResponse) GetJSON200() *ModelInputScan

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ScanModelInputResponse) Status

func (r ScanModelInputResponse) Status() string

Status returns HTTPResponse.Status

func (ScanModelInputResponse) StatusCode

func (r ScanModelInputResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ScanReport

type ScanReport struct {
	FindingCounts *map[string]int `json:"findingCounts,omitempty"`
	Findings      []ScanFinding   `json:"findings"`

	// FinishedAt When this scan run completed: the date the report describes.
	FinishedAt *time.Time `json:"finishedAt,omitempty"`

	// JudgeModel The judge that adjudicated this run — the AI Review model — as the attestation records it: the model id when the provider has one (typesafe, openai, anthropic, bedrock), else the provider's name (static, none, classifier). Recorded per run for reproducibility beside the rubric hash.
	JudgeModel *string `json:"judgeModel,omitempty"`

	// JudgeUsage The token use the AI Review model's provider reported for this scan run — what the review cost, as measured. Present for platform staff only, and absent when the provider reported none (the static and classifier judges, an endpoint without a usage block); absent means unknown, not zero. Not part of the signed report.
	JudgeUsage *JudgeUsage `json:"judgeUsage,omitempty"`

	// Knowledge What the scan read of each knowledge pack the release ships (the manifest's `knowledge.ships`): every rule stage over every page and source, then AI Review over the pack's `sources/` and its `wiki/` in chunks no larger than the judge reads, or "AI Review not configured". The pack's findings are also the version's, in `findings`, under scanner `SK/…` with a file path in `knowledge/<name>/`; the release's own stages, AI Review included, do not read a shipped pack's tree. Absent for a release that ships no pack.
	Knowledge    *[]ShippedKnowledgeScan `json:"knowledge,omitempty"`
	ReportDigest *string                 `json:"reportDigest,omitempty"`

	// RescanInFlight A later scan of this version still running (a ruleset or MCP rescan sweep, a manual rescan) while the report describes the latest run that finished. Present only when such a run exists: the verdict a release was published on stands until the rescan finishes, and the report says one is under way rather than going blank.
	RescanInFlight *RescanInFlight     `json:"rescanInFlight,omitempty"`
	RulesetVersion *string             `json:"rulesetVersion,omitempty"`
	ScanRunId      *openapi_types.UUID `json:"scanRunId,omitempty"`

	// ScanStatus The scan run's status; `skipped` for a version admitted without a scan, which has no run.
	ScanStatus *string `json:"scanStatus,omitempty"`

	// Subagents A persistent release's subagents (the manifest's `dependencies.agents`) as the scan resolved them against the registry, in the order the release declares them: the newest stable, published version each constraint admits that runs on its own and is not itself persistent, with what that version declares, or the reason none does. A subagent must be public, or, for a private release, private in the release's own organization; a private release the release may not use reads as one that is not in the registry. One that does not resolve is also a finding, `S7/subagent-unresolved`, which holds the version for a person. Absent for a release that declares none.
	Subagents *[]SubagentScan `json:"subagents,omitempty"`

	// Verdict What a report is: `scanned` when a scan run stands behind it (the findings say the rest), `unscanned` when the version was admitted without one — never conflated with "scanned with a known gap". Absent while a scan is still pending.
	Verdict *ReportVerdict `json:"verdict,omitempty"`

	// VersionStatus Publication state machine states. `approved` is reserved and never produced: a reviewer's approval publishes directly (needs_review → published), so clients will not observe it; it is kept because removing an enum value is a breaking change.
	VersionStatus VersionStatus `json:"versionStatus"`
}

ScanReport defines model for ScanReport.

type Scope

type Scope string

Scope PAT scopes. A token can do only what its scopes allow; a session acts with the account's full authority. `run:write` lets a token start, feed and cancel a hosted run of a QuickAgent and `run:read` lets it read a run, its log and its artefacts — both are consumed only by a registry that mounts the runs extension, and unlock nothing on one that does not. `agent:manage` takes the owner actions on a QuickAgent the caller administers (make it public or private, retire, restore, delete), which `org:admin` also covers, and reaches none of its other settings. `knowledge:read` and `knowledge:write` read and write the account's knowledge packs. `secret:write` sets and deletes the account's hosted-run secrets and never lists or reads one; it is consumed only by a registry that mounts the vault extension. `voice:read` reads the account's Writing Voice and `voice:write` puts, restores, sets and deletes it. `credits:session` opens, renews and ends a credits session, which pays for a run's model with the account's credits, and does nothing else: it is minted with no other scope, and every other route refuses a token carrying it, but for revoking itself. It is consumed only by a registry that mounts the credits extension.

const (
	AgentManage    Scope = "agent:manage"
	AgentPublish   Scope = "agent:publish"
	AgentRead      Scope = "agent:read"
	AuditRead      Scope = "audit:read"
	CreditsSession Scope = "credits:session"
	KnowledgeRead  Scope = "knowledge:read"
	KnowledgeWrite Scope = "knowledge:write"
	OrgAdmin       Scope = "org:admin"
	RepoRead       Scope = "repo:read"
	RepoWrite      Scope = "repo:write"
	ReviewAct      Scope = "review:act"
	RunRead        Scope = "run:read"
	RunWrite       Scope = "run:write"
	SecretWrite    Scope = "secret:write"
	UserProfile    Scope = "user:profile"
	VoiceRead      Scope = "voice:read"
	VoiceWrite     Scope = "voice:write"
)

Defines values for Scope.

func (Scope) Valid

func (e Scope) Valid() bool

Valid indicates whether the value is a known member of the Scope enum.

type ScopeGranted

type ScopeGranted = string

ScopeGranted A scope as it appears on a token the registry reports back (the token list, a newly minted token, the desktop exchange). The set is the one `Scope` accepts and grows by addition, so it is declared extensible: a client keeps a value it does not know as the string it is rather than failing on it.

type SearchAgentsParams

type SearchAgentsParams struct {
	// Q Free-text query; empty lists by popularity.
	Q *string `form:"q,omitempty" json:"q,omitempty"`

	// Mode Only agents that support this run mode.
	Mode *AgentMode `form:"mode,omitempty" json:"mode,omitempty"`

	// Capability Capability the latest published version actually asks for, e.g. `network`, `filesystem`, `exec`, `secrets`, `dataAccess`, or `targetHosts` (a machine the person names when the run starts), or `browser` (a headless browser for the sites the person names), or `desktop` (applications on the person's own computer, through Agentry Desktop). A capability declared as `none`, null, or empty does not match: `network: {egress: none}` is not a network agent.
	Capability *string `form:"capability,omitempty" json:"capability,omitempty"`

	// License SPDX identifier from the latest published manifest.
	License *string `form:"license,omitempty" json:"license,omitempty"`

	// Verified Only agents in an org namespace with a verified domain.
	Verified *bool                   `form:"verified,omitempty" json:"verified,omitempty"`
	Sort     *SearchAgentsParamsSort `form:"sort,omitempty" json:"sort,omitempty"`
	Limit    *int                    `form:"limit,omitempty" json:"limit,omitempty"`
	Offset   *int                    `form:"offset,omitempty" json:"offset,omitempty"`
}

SearchAgentsParams defines parameters for SearchAgents.

type SearchAgentsParamsSort

type SearchAgentsParamsSort string

SearchAgentsParamsSort defines parameters for SearchAgents.

const (
	SearchAgentsParamsSortInstalls  SearchAgentsParamsSort = "installs"
	SearchAgentsParamsSortNewest    SearchAgentsParamsSort = "newest"
	SearchAgentsParamsSortRelevance SearchAgentsParamsSort = "relevance"
)

Defines values for SearchAgentsParamsSort.

func (SearchAgentsParamsSort) Valid

func (e SearchAgentsParamsSort) Valid() bool

Valid indicates whether the value is a known member of the SearchAgentsParamsSort enum.

type SearchAgentsResponse

type SearchAgentsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *SearchResults
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseSearchAgentsResponse

func ParseSearchAgentsResponse(rsp *http.Response) (*SearchAgentsResponse, error)

ParseSearchAgentsResponse parses an HTTP response from a SearchAgentsWithResponse call

func (SearchAgentsResponse) ContentType

func (r SearchAgentsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (SearchAgentsResponse) GetApplicationproblemJSONDefault

func (r SearchAgentsResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (SearchAgentsResponse) GetBody

func (r SearchAgentsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (SearchAgentsResponse) GetJSON200

func (r SearchAgentsResponse) GetJSON200() *SearchResults

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (SearchAgentsResponse) Status

func (r SearchAgentsResponse) Status() string

Status returns HTTPResponse.Status

func (SearchAgentsResponse) StatusCode

func (r SearchAgentsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SearchHit

type SearchHit struct {
	// Builtin Whether this is a built-in agent (see `Agent.builtin`): a client labels it Built-in in place of its run modes.
	Builtin     bool `json:"builtin"`
	Installs30d *int `json:"installs30d,omitempty"`

	// LogoUrl The publishing organization's logo, when the namespace is an organization with one — beside the publisher's name, never in place of the verdict. Absent for a person's namespace and for an organization without one.
	LogoUrl *string `json:"logoUrl,omitempty"`

	// Modes The run modes a release supports; at least one.
	Modes           AgentModes                `json:"modes"`
	Name            string                    `json:"name"`
	Namespace       string                    `json:"namespace"`
	QuarantineState *SearchHitQuarantineState `json:"quarantineState,omitempty"`
	Summary         string                    `json:"summary"`
}

SearchHit defines model for SearchHit.

type SearchHitQuarantineState

type SearchHitQuarantineState string

SearchHitQuarantineState defines model for SearchHit.QuarantineState.

const (
	SearchHitQuarantineStateBlocked     SearchHitQuarantineState = "blocked"
	SearchHitQuarantineStateNone        SearchHitQuarantineState = "none"
	SearchHitQuarantineStateQuarantined SearchHitQuarantineState = "quarantined"
)

Defines values for SearchHitQuarantineState.

func (SearchHitQuarantineState) Valid

func (e SearchHitQuarantineState) Valid() bool

Valid indicates whether the value is a known member of the SearchHitQuarantineState enum.

type SearchModelInputJSONRequestBody

type SearchModelInputJSONRequestBody = WebSearchRequest

SearchModelInputJSONRequestBody defines body for SearchModelInput for application/json ContentType.

type SearchModelInputResponse

type SearchModelInputResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *WebSearchResults
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseSearchModelInputResponse

func ParseSearchModelInputResponse(rsp *http.Response) (*SearchModelInputResponse, error)

ParseSearchModelInputResponse parses an HTTP response from a SearchModelInputWithResponse call

func (SearchModelInputResponse) ContentType

func (r SearchModelInputResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (SearchModelInputResponse) GetApplicationproblemJSONDefault

func (r SearchModelInputResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (SearchModelInputResponse) GetBody

func (r SearchModelInputResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (SearchModelInputResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (SearchModelInputResponse) Status

func (r SearchModelInputResponse) Status() string

Status returns HTTPResponse.Status

func (SearchModelInputResponse) StatusCode

func (r SearchModelInputResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SearchResults

type SearchResults struct {
	// Facets Facet counts keyed by facet name then value.
	Facets  *map[string]map[string]int `json:"facets,omitempty"`
	Results []SearchHit                `json:"results"`

	// Total The number of hits for this request's predicate (query, mode, capability, license, verified) before limit and offset — what "2 of 8 results" counts. Blocked and never-published agents are outside it, as they are outside the results.
	Total *int `json:"total,omitempty"`
}

SearchResults defines model for SearchResults.

type Seats

type Seats struct {
	Invited int64 `json:"invited"`
	Max     int64 `json:"max"`
	Pending int64 `json:"pending"`
	Used    int64 `json:"used"`
}

Seats What the organization holds against its seat allowance. A seat is every active membership plus every open invitation; pending people hold none. `max` is the allowance, 0 meaning unbounded — what a registry with no billing extension answers.

type SendEmailVerificationResponse

type SendEmailVerificationResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *EmailVerificationSent
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseSendEmailVerificationResponse

func ParseSendEmailVerificationResponse(rsp *http.Response) (*SendEmailVerificationResponse, error)

ParseSendEmailVerificationResponse parses an HTTP response from a SendEmailVerificationWithResponse call

func (SendEmailVerificationResponse) ContentType

func (r SendEmailVerificationResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (SendEmailVerificationResponse) GetApplicationproblemJSONDefault

func (r SendEmailVerificationResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (SendEmailVerificationResponse) GetBody

func (r SendEmailVerificationResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (SendEmailVerificationResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (SendEmailVerificationResponse) Status

Status returns HTTPResponse.Status

func (SendEmailVerificationResponse) StatusCode

func (r SendEmailVerificationResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SessionInfo

type SessionInfo struct {
	CreatedAt time.Time `json:"createdAt"`

	// Current True for the session making this request.
	Current bool               `json:"current"`
	Id      openapi_types.UUID `json:"id"`

	// Ip Client address recorded at session creation.
	Ip         *string   `json:"ip,omitempty"`
	LastSeenAt time.Time `json:"lastSeenAt"`

	// UserAgent User-Agent recorded at session creation.
	UserAgent *string `json:"userAgent,omitempty"`
}

SessionInfo defines model for SessionInfo.

type SessionList

type SessionList struct {
	Sessions []SessionInfo `json:"sessions"`
}

SessionList defines model for SessionList.

type SetAgentTeamGrantJSONBody

type SetAgentTeamGrantJSONBody struct {
	// Role Per-agent grant levels, read < write < maintain < publish.
	Role AgentRole `json:"role"`
}

SetAgentTeamGrantJSONBody defines parameters for SetAgentTeamGrant.

type SetAgentTeamGrantJSONRequestBody

type SetAgentTeamGrantJSONRequestBody SetAgentTeamGrantJSONBody

SetAgentTeamGrantJSONRequestBody defines body for SetAgentTeamGrant for application/json ContentType.

type SetAgentTeamGrantResponse

type SetAgentTeamGrantResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseSetAgentTeamGrantResponse

func ParseSetAgentTeamGrantResponse(rsp *http.Response) (*SetAgentTeamGrantResponse, error)

ParseSetAgentTeamGrantResponse parses an HTTP response from a SetAgentTeamGrantWithResponse call

func (SetAgentTeamGrantResponse) ContentType

func (r SetAgentTeamGrantResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (SetAgentTeamGrantResponse) GetApplicationproblemJSONDefault

func (r SetAgentTeamGrantResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (SetAgentTeamGrantResponse) GetBody

func (r SetAgentTeamGrantResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (SetAgentTeamGrantResponse) Status

func (r SetAgentTeamGrantResponse) Status() string

Status returns HTTPResponse.Status

func (SetAgentTeamGrantResponse) StatusCode

func (r SetAgentTeamGrantResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SetAgentUserGrantJSONBody

type SetAgentUserGrantJSONBody struct {
	// Role Per-agent grant levels, read < write < maintain < publish.
	Role AgentRole `json:"role"`
}

SetAgentUserGrantJSONBody defines parameters for SetAgentUserGrant.

type SetAgentUserGrantJSONRequestBody

type SetAgentUserGrantJSONRequestBody SetAgentUserGrantJSONBody

SetAgentUserGrantJSONRequestBody defines body for SetAgentUserGrant for application/json ContentType.

type SetAgentUserGrantResponse

type SetAgentUserGrantResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseSetAgentUserGrantResponse

func ParseSetAgentUserGrantResponse(rsp *http.Response) (*SetAgentUserGrantResponse, error)

ParseSetAgentUserGrantResponse parses an HTTP response from a SetAgentUserGrantWithResponse call

func (SetAgentUserGrantResponse) ContentType

func (r SetAgentUserGrantResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (SetAgentUserGrantResponse) GetApplicationproblemJSONDefault

func (r SetAgentUserGrantResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (SetAgentUserGrantResponse) GetBody

func (r SetAgentUserGrantResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (SetAgentUserGrantResponse) Status

func (r SetAgentUserGrantResponse) Status() string

Status returns HTTPResponse.Status

func (SetAgentUserGrantResponse) StatusCode

func (r SetAgentUserGrantResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SetFindingVerdictJSONBody

type SetFindingVerdictJSONBody struct {
	Reason  string                           `json:"reason"`
	Verdict SetFindingVerdictJSONBodyVerdict `json:"verdict"`
}

SetFindingVerdictJSONBody defines parameters for SetFindingVerdict.

type SetFindingVerdictJSONBodyVerdict

type SetFindingVerdictJSONBodyVerdict string

SetFindingVerdictJSONBodyVerdict defines parameters for SetFindingVerdict.

const (
	SetFindingVerdictJSONBodyVerdictConfirmed              SetFindingVerdictJSONBodyVerdict = "confirmed"
	SetFindingVerdictJSONBodyVerdictDismissedAcceptedRisk  SetFindingVerdictJSONBodyVerdict = "dismissed_accepted_risk"
	SetFindingVerdictJSONBodyVerdictDismissedFalsePositive SetFindingVerdictJSONBodyVerdict = "dismissed_false_positive"
)

Defines values for SetFindingVerdictJSONBodyVerdict.

func (SetFindingVerdictJSONBodyVerdict) Valid

Valid indicates whether the value is a known member of the SetFindingVerdictJSONBodyVerdict enum.

type SetFindingVerdictJSONRequestBody

type SetFindingVerdictJSONRequestBody SetFindingVerdictJSONBody

SetFindingVerdictJSONRequestBody defines body for SetFindingVerdict for application/json ContentType.

type SetFindingVerdictResponse

type SetFindingVerdictResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseSetFindingVerdictResponse

func ParseSetFindingVerdictResponse(rsp *http.Response) (*SetFindingVerdictResponse, error)

ParseSetFindingVerdictResponse parses an HTTP response from a SetFindingVerdictWithResponse call

func (SetFindingVerdictResponse) ContentType

func (r SetFindingVerdictResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (SetFindingVerdictResponse) GetApplicationproblemJSONDefault

func (r SetFindingVerdictResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (SetFindingVerdictResponse) GetBody

func (r SetFindingVerdictResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (SetFindingVerdictResponse) Status

func (r SetFindingVerdictResponse) Status() string

Status returns HTTPResponse.Status

func (SetFindingVerdictResponse) StatusCode

func (r SetFindingVerdictResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SetOrgMemberJSONBody

type SetOrgMemberJSONBody struct {
	// Role The role a PUT assigns. security_reviewer is refused outside a first-party organization. `owner` is accepted by the schema but refused with a 422 that names the roles that exist.
	Role OrgRoleAssignment `json:"role"`
}

SetOrgMemberJSONBody defines parameters for SetOrgMember.

type SetOrgMemberJSONRequestBody

type SetOrgMemberJSONRequestBody SetOrgMemberJSONBody

SetOrgMemberJSONRequestBody defines body for SetOrgMember for application/json ContentType.

type SetOrgMemberResponse

type SetOrgMemberResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Membership
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseSetOrgMemberResponse

func ParseSetOrgMemberResponse(rsp *http.Response) (*SetOrgMemberResponse, error)

ParseSetOrgMemberResponse parses an HTTP response from a SetOrgMemberWithResponse call

func (SetOrgMemberResponse) ContentType

func (r SetOrgMemberResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (SetOrgMemberResponse) GetApplicationproblemJSONDefault

func (r SetOrgMemberResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (SetOrgMemberResponse) GetBody

func (r SetOrgMemberResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (SetOrgMemberResponse) GetJSON200

func (r SetOrgMemberResponse) GetJSON200() *Membership

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (SetOrgMemberResponse) Status

func (r SetOrgMemberResponse) Status() string

Status returns HTTPResponse.Status

func (SetOrgMemberResponse) StatusCode

func (r SetOrgMemberResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SetOrgPolicyJSONBody

type SetOrgPolicyJSONBody map[string]interface{}

SetOrgPolicyJSONBody defines parameters for SetOrgPolicy.

type SetOrgPolicyJSONRequestBody

type SetOrgPolicyJSONRequestBody SetOrgPolicyJSONBody

SetOrgPolicyJSONRequestBody defines body for SetOrgPolicy for application/json ContentType.

type SetOrgPolicyResponse

type SetOrgPolicyResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *map[string]interface{}
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseSetOrgPolicyResponse

func ParseSetOrgPolicyResponse(rsp *http.Response) (*SetOrgPolicyResponse, error)

ParseSetOrgPolicyResponse parses an HTTP response from a SetOrgPolicyWithResponse call

func (SetOrgPolicyResponse) ContentType

func (r SetOrgPolicyResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (SetOrgPolicyResponse) GetApplicationproblemJSONDefault

func (r SetOrgPolicyResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (SetOrgPolicyResponse) GetBody

func (r SetOrgPolicyResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (SetOrgPolicyResponse) GetJSON200

func (r SetOrgPolicyResponse) GetJSON200() *map[string]interface{}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (SetOrgPolicyResponse) Status

func (r SetOrgPolicyResponse) Status() string

Status returns HTTPResponse.Status

func (SetOrgPolicyResponse) StatusCode

func (r SetOrgPolicyResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SetUserReportDesignDefaultJSONRequestBody added in v0.7.4

type SetUserReportDesignDefaultJSONRequestBody = ReportDesignDefault

SetUserReportDesignDefaultJSONRequestBody defines body for SetUserReportDesignDefault for application/json ContentType.

type SetUserReportDesignDefaultResponse added in v0.7.4

type SetUserReportDesignDefaultResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ReportDesignList
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseSetUserReportDesignDefaultResponse added in v0.7.4

func ParseSetUserReportDesignDefaultResponse(rsp *http.Response) (*SetUserReportDesignDefaultResponse, error)

ParseSetUserReportDesignDefaultResponse parses an HTTP response from a SetUserReportDesignDefaultWithResponse call

func (SetUserReportDesignDefaultResponse) ContentType added in v0.7.4

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (SetUserReportDesignDefaultResponse) GetApplicationproblemJSONDefault added in v0.7.4

func (r SetUserReportDesignDefaultResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (SetUserReportDesignDefaultResponse) GetBody added in v0.7.4

GetBody returns the raw response body bytes

func (SetUserReportDesignDefaultResponse) GetJSON200 added in v0.7.4

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (SetUserReportDesignDefaultResponse) Status added in v0.7.4

Status returns HTTPResponse.Status

func (SetUserReportDesignDefaultResponse) StatusCode added in v0.7.4

func (r SetUserReportDesignDefaultResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ShippedKnowledgeRecord

type ShippedKnowledgeRecord struct {
	At time.Time `json:"at"`

	// By The handle of the account that confirmed it. Absent for a release published by a tag push, which carries no confirmation.
	By    *string       `json:"by,omitempty"`
	Packs []ShippedPack `json:"packs"`

	// Via `client`: the upload carried the publisher's confirmation. `tag-push`: the release was built from a tag and carried none. `fork`: the first version of a fork, copied from the release it forks.
	Via string `json:"via"`
}

ShippedKnowledgeRecord Who confirmed that the version's shipped packs become readable with it, and how it was published. Served only to those who manage the QuickAgent. A version that has no record serves none.

type ShippedKnowledgeScan

type ShippedKnowledgeScan struct {
	// Name The pack's name and its directory under `knowledge/` in the archive.
	Name string `json:"name"`

	// Report What a pack's scan read and found: a record, never a gate. The stages that read prose over every text file, then AI Review over `sources/` and then `wiki/` in chunks no larger than the judge declares it reads.
	Report KnowledgeScanReport `json:"report"`
}

ShippedKnowledgeScan defines model for ShippedKnowledgeScan.

type ShippedPack

type ShippedPack struct {
	// Name The pack's name, as the manifest ships it.
	Name string `json:"name"`

	// Origin The stored pack a shipped pack was laid down from. The registry holds the claim to the facts: the pack exists and is `ready`, it is the submitter's own (`own`) or the organization's (`org`), and its digest is the digest in the shipped pack's `manifest.json`. An organization's pack ships only from an administrator of the organization, and only into a QuickAgent in the organization's own namespace. A pack with no origin is the publisher's own files.
	Origin *ShippedPackOrigin `json:"origin,omitempty"`
}

ShippedPack defines model for ShippedPack.

type ShippedPackOrigin

type ShippedPackOrigin struct {
	Kind ShippedPackOriginKind `json:"kind"`

	// Org The organization's handle; present when `kind` is `org`.
	Org    *string            `json:"org,omitempty"`
	PackId openapi_types.UUID `json:"packId"`
}

ShippedPackOrigin The stored pack a shipped pack was laid down from. The registry holds the claim to the facts: the pack exists and is `ready`, it is the submitter's own (`own`) or the organization's (`org`), and its digest is the digest in the shipped pack's `manifest.json`. An organization's pack ships only from an administrator of the organization, and only into a QuickAgent in the organization's own namespace. A pack with no origin is the publisher's own files.

type ShippedPackOriginKind

type ShippedPackOriginKind string

ShippedPackOriginKind defines model for ShippedPackOrigin.Kind.

const (
	ShippedPackOriginKindOrg ShippedPackOriginKind = "org"
	ShippedPackOriginKindOwn ShippedPackOriginKind = "own"
)

Defines values for ShippedPackOriginKind.

func (ShippedPackOriginKind) Valid

func (e ShippedPackOriginKind) Valid() bool

Valid indicates whether the value is a known member of the ShippedPackOriginKind enum.

type SocialOidcCallbackParams

type SocialOidcCallbackParams struct {
	Code  *string `form:"code,omitempty" json:"code,omitempty"`
	State *string `form:"state,omitempty" json:"state,omitempty"`
}

SocialOidcCallbackParams defines parameters for SocialOidcCallback.

type SocialOidcCallbackParamsProvider

type SocialOidcCallbackParamsProvider string

SocialOidcCallbackParamsProvider defines parameters for SocialOidcCallback.

const (
	SocialOidcCallbackParamsProviderAuthentik SocialOidcCallbackParamsProvider = "authentik"
	SocialOidcCallbackParamsProviderOidc      SocialOidcCallbackParamsProvider = "oidc"
)

Defines values for SocialOidcCallbackParamsProvider.

func (SocialOidcCallbackParamsProvider) Valid

Valid indicates whether the value is a known member of the SocialOidcCallbackParamsProvider enum.

type SocialOidcCallbackResponse

type SocialOidcCallbackResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *LoginResult
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseSocialOidcCallbackResponse

func ParseSocialOidcCallbackResponse(rsp *http.Response) (*SocialOidcCallbackResponse, error)

ParseSocialOidcCallbackResponse parses an HTTP response from a SocialOidcCallbackWithResponse call

func (SocialOidcCallbackResponse) ContentType

func (r SocialOidcCallbackResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (SocialOidcCallbackResponse) GetApplicationproblemJSONDefault

func (r SocialOidcCallbackResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (SocialOidcCallbackResponse) GetBody

func (r SocialOidcCallbackResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (SocialOidcCallbackResponse) GetJSON200

func (r SocialOidcCallbackResponse) GetJSON200() *LoginResult

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (SocialOidcCallbackResponse) Status

Status returns HTTPResponse.Status

func (SocialOidcCallbackResponse) StatusCode

func (r SocialOidcCallbackResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SocialOidcStartParams

type SocialOidcStartParams struct {
	// Next Browser mode. An in-app, path-absolute return target (e.g. `/dashboard` on the site, `/ui/authorize?…` on the server's own pages). When present and valid, the callback answers the browser with a 303 to it instead of the JSON result, and a failed login 303s to the sign-in page with `?error=…` (the site's `/login`, or `/ui/login`). Anything that is not a single-slash path on this origin is ignored (open-redirect guard), which leaves the API behaviour unchanged.
	Next *string `form:"next,omitempty" json:"next,omitempty"`
}

SocialOidcStartParams defines parameters for SocialOidcStart.

type SocialOidcStartParamsProvider

type SocialOidcStartParamsProvider string

SocialOidcStartParamsProvider defines parameters for SocialOidcStart.

const (
	SocialOidcStartParamsProviderAuthentik SocialOidcStartParamsProvider = "authentik"
	SocialOidcStartParamsProviderOidc      SocialOidcStartParamsProvider = "oidc"
)

Defines values for SocialOidcStartParamsProvider.

func (SocialOidcStartParamsProvider) Valid

Valid indicates whether the value is a known member of the SocialOidcStartParamsProvider enum.

type SocialOidcStartResponse

type SocialOidcStartResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseSocialOidcStartResponse

func ParseSocialOidcStartResponse(rsp *http.Response) (*SocialOidcStartResponse, error)

ParseSocialOidcStartResponse parses an HTTP response from a SocialOidcStartWithResponse call

func (SocialOidcStartResponse) ContentType

func (r SocialOidcStartResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (SocialOidcStartResponse) GetApplicationproblemJSONDefault

func (r SocialOidcStartResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (SocialOidcStartResponse) GetBody

func (r SocialOidcStartResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (SocialOidcStartResponse) Status

func (r SocialOidcStartResponse) Status() string

Status returns HTTPResponse.Status

func (SocialOidcStartResponse) StatusCode

func (r SocialOidcStartResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SocialProvider

type SocialProvider string

SocialProvider defines model for SocialProvider.

const (
	SocialProviderAuthentik SocialProvider = "authentik"
	SocialProviderOidc      SocialProvider = "oidc"
)

Defines values for SocialProvider.

func (SocialProvider) Valid

func (e SocialProvider) Valid() bool

Valid indicates whether the value is a known member of the SocialProvider enum.

type SshKey

type SshKey struct {
	CreatedAt time.Time `json:"createdAt"`

	// Fingerprint SHA256 fingerprint as OpenSSH prints it.
	Fingerprint string             `json:"fingerprint"`
	Id          openapi_types.UUID `json:"id"`

	// KeyType ssh-ed25519, ecdsa-sha2-nistp256, ssh-rsa, …
	KeyType    string     `json:"keyType"`
	LastUsedAt *time.Time `json:"lastUsedAt,omitempty"`
	Title      string     `json:"title"`
}

SshKey defines model for SshKey.

type StarAgentResponse

type StarAgentResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseStarAgentResponse

func ParseStarAgentResponse(rsp *http.Response) (*StarAgentResponse, error)

ParseStarAgentResponse parses an HTTP response from a StarAgentWithResponse call

func (StarAgentResponse) ContentType

func (r StarAgentResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (StarAgentResponse) GetApplicationproblemJSONDefault

func (r StarAgentResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (StarAgentResponse) GetBody

func (r StarAgentResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (StarAgentResponse) Status

func (r StarAgentResponse) Status() string

Status returns HTTPResponse.Status

func (StarAgentResponse) StatusCode

func (r StarAgentResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type StreamVersionEventsResponse

type StreamVersionEventsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseStreamVersionEventsResponse

func ParseStreamVersionEventsResponse(rsp *http.Response) (*StreamVersionEventsResponse, error)

ParseStreamVersionEventsResponse parses an HTTP response from a StreamVersionEventsWithResponse call

func (StreamVersionEventsResponse) ContentType

func (r StreamVersionEventsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (StreamVersionEventsResponse) GetApplicationproblemJSONDefault

func (r StreamVersionEventsResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (StreamVersionEventsResponse) GetBody

func (r StreamVersionEventsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (StreamVersionEventsResponse) Status

Status returns HTTPResponse.Status

func (StreamVersionEventsResponse) StatusCode

func (r StreamVersionEventsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SubagentReach added in v0.6.1002

type SubagentReach struct {
	// Browser Its browser's scope; absent for none.
	Browser *SubagentReachBrowser `json:"browser,omitempty"`

	// Egress The hosts it may reach, its own and its servers' (`*` for any).
	Egress *[]string `json:"egress,omitempty"`

	// Exec The commands it may run.
	Exec *[]string `json:"exec,omitempty"`

	// Secrets The secrets it asks for, its own and its servers'.
	Secrets *[]string `json:"secrets,omitempty"`

	// Servers Its declared MCP servers, by source id.
	Servers *[]string `json:"servers,omitempty"`

	// TargetHosts How many target hosts it asks for.
	TargetHosts *int `json:"targetHosts,omitempty"`
}

SubagentReach What a subagent's resolved version declares.

type SubagentReachBrowser added in v0.6.1002

type SubagentReachBrowser string

SubagentReachBrowser Its browser's scope; absent for none.

const (
	SubagentReachBrowserPublic SubagentReachBrowser = "public"
	SubagentReachBrowserSite   SubagentReachBrowser = "site"
)

Defines values for SubagentReachBrowser.

func (SubagentReachBrowser) Valid added in v0.6.1002

func (e SubagentReachBrowser) Valid() bool

Valid indicates whether the value is a known member of the SubagentReachBrowser enum.

type SubagentScan added in v0.6.1002

type SubagentScan struct {
	// Constraint The semver constraint the release declares.
	Constraint string `json:"constraint"`

	// Problem Why it does not resolve; absent when it does.
	Problem *string `json:"problem,omitempty"`

	// Reach What a subagent's resolved version declares.
	Reach *SubagentReach `json:"reach,omitempty"`

	// Ref The subagent's `namespace/name`.
	Ref string `json:"ref"`

	// Version The version it resolved to; absent when none did.
	Version *string `json:"version,omitempty"`

	// Why The release's reason for it, shown when a person agrees.
	Why *string `json:"why,omitempty"`
}

SubagentScan defines model for SubagentScan.

type SubmitVersionJSONBody

type SubmitVersionJSONBody struct {
	// Tag Existing repo tag vX.Y.Z.
	Tag string `json:"tag"`
}

SubmitVersionJSONBody defines parameters for SubmitVersion.

type SubmitVersionJSONRequestBody

type SubmitVersionJSONRequestBody SubmitVersionJSONBody

SubmitVersionJSONRequestBody defines body for SubmitVersion for application/json ContentType.

type SubmitVersionMultipartBody

type SubmitVersionMultipartBody struct {
	Archive openapi_types.File `json:"archive"`

	// Digest Client-computed sha256 digest to cross-check.
	Digest *string `json:"digest,omitempty"`

	// DraftRun The hosted draft this package was published from (Edit with AI's Publish this version). A claim only: the scan asks the deployment's DraftProvenance whether the submitter ran that draft against the agent's current release and whether its recorded proof matches these files. When it does, the version's source becomes `drafter-revision` and S9 scans its manifest and instruction file as a first release's. Otherwise nothing changes. A core registry has no DraftProvenance and never grants it.
	DraftRun *openapi_types.UUID `json:"draftRun,omitempty"`

	// KnowledgeShipping A publisher's confirmation that the knowledge packs a release ships become readable by everyone who can download it: one entry for each pack the package's manifest ships (`knowledge.ships`), no more and no fewer.
	KnowledgeShipping *KnowledgeShipping `json:"knowledgeShipping,omitempty"`
}

SubmitVersionMultipartBody defines parameters for SubmitVersion.

type SubmitVersionMultipartRequestBody

type SubmitVersionMultipartRequestBody SubmitVersionMultipartBody

SubmitVersionMultipartRequestBody defines body for SubmitVersion for multipart/form-data ContentType.

type SubmitVersionResponse

type SubmitVersionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON202 the response for an HTTP 202 `application/json` response
	JSON202 *AgentVersion
	// ApplicationproblemJSON402 the response for an HTTP 402 `application/problem+json` response
	ApplicationproblemJSON402 *Problem
	// ApplicationproblemJSON422 the response for an HTTP 422 `application/problem+json` response
	ApplicationproblemJSON422 *Problem
	// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
	ApplicationproblemJSON503 *Problem
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseSubmitVersionResponse

func ParseSubmitVersionResponse(rsp *http.Response) (*SubmitVersionResponse, error)

ParseSubmitVersionResponse parses an HTTP response from a SubmitVersionWithResponse call

func (SubmitVersionResponse) ContentType

func (r SubmitVersionResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (SubmitVersionResponse) GetApplicationproblemJSON402

func (r SubmitVersionResponse) GetApplicationproblemJSON402() *Problem

GetApplicationproblemJSON402 returns the response for an HTTP 402 `application/problem+json` response

func (SubmitVersionResponse) GetApplicationproblemJSON422

func (r SubmitVersionResponse) GetApplicationproblemJSON422() *Problem

GetApplicationproblemJSON422 returns the response for an HTTP 422 `application/problem+json` response

func (SubmitVersionResponse) GetApplicationproblemJSON503

func (r SubmitVersionResponse) GetApplicationproblemJSON503() *Problem

GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response

func (SubmitVersionResponse) GetApplicationproblemJSONDefault

func (r SubmitVersionResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (SubmitVersionResponse) GetBody

func (r SubmitVersionResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (SubmitVersionResponse) GetJSON202

func (r SubmitVersionResponse) GetJSON202() *AgentVersion

GetJSON202 returns the response for an HTTP 202 `application/json` response

func (SubmitVersionResponse) Status

func (r SubmitVersionResponse) Status() string

Status returns HTTPResponse.Status

func (SubmitVersionResponse) StatusCode

func (r SubmitVersionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SuspendOrgJSONBody

type SuspendOrgJSONBody struct {
	Reason string `json:"reason"`
}

SuspendOrgJSONBody defines parameters for SuspendOrg.

type SuspendOrgJSONRequestBody

type SuspendOrgJSONRequestBody SuspendOrgJSONBody

SuspendOrgJSONRequestBody defines body for SuspendOrg for application/json ContentType.

type SuspendOrgResponse

type SuspendOrgResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Org
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseSuspendOrgResponse

func ParseSuspendOrgResponse(rsp *http.Response) (*SuspendOrgResponse, error)

ParseSuspendOrgResponse parses an HTTP response from a SuspendOrgWithResponse call

func (SuspendOrgResponse) ContentType

func (r SuspendOrgResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (SuspendOrgResponse) GetApplicationproblemJSONDefault

func (r SuspendOrgResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (SuspendOrgResponse) GetBody

func (r SuspendOrgResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (SuspendOrgResponse) GetJSON200

func (r SuspendOrgResponse) GetJSON200() *Org

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (SuspendOrgResponse) Status

func (r SuspendOrgResponse) Status() string

Status returns HTTPResponse.Status

func (SuspendOrgResponse) StatusCode

func (r SuspendOrgResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type TagPage

type TagPage struct {
	// NextCursor Opaque; absent on the last page.
	NextCursor *string     `json:"nextCursor,omitempty"`
	Results    []SearchHit `json:"results"`
	Tag        string      `json:"tag"`
}

TagPage defines model for TagPage.

type Team

type Team struct {
	Id   openapi_types.UUID `json:"id"`
	Slug string             `json:"slug"`
}

Team defines model for Team.

type TeamSlug

type TeamSlug = string

TeamSlug defines model for TeamSlug.

type TriageAbuseReportJSONBody

type TriageAbuseReportJSONBody struct {
	Resolution string                         `json:"resolution"`
	State      TriageAbuseReportJSONBodyState `json:"state"`
}

TriageAbuseReportJSONBody defines parameters for TriageAbuseReport.

type TriageAbuseReportJSONBodyState

type TriageAbuseReportJSONBodyState string

TriageAbuseReportJSONBodyState defines parameters for TriageAbuseReport.

const (
	TriageAbuseReportJSONBodyStateActioned  TriageAbuseReportJSONBodyState = "actioned"
	TriageAbuseReportJSONBodyStateDismissed TriageAbuseReportJSONBodyState = "dismissed"
	TriageAbuseReportJSONBodyStateTriaged   TriageAbuseReportJSONBodyState = "triaged"
)

Defines values for TriageAbuseReportJSONBodyState.

func (TriageAbuseReportJSONBodyState) Valid

Valid indicates whether the value is a known member of the TriageAbuseReportJSONBodyState enum.

type TriageAbuseReportJSONRequestBody

type TriageAbuseReportJSONRequestBody TriageAbuseReportJSONBody

TriageAbuseReportJSONRequestBody defines body for TriageAbuseReport for application/json ContentType.

type TriageAbuseReportResponse

type TriageAbuseReportResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseTriageAbuseReportResponse

func ParseTriageAbuseReportResponse(rsp *http.Response) (*TriageAbuseReportResponse, error)

ParseTriageAbuseReportResponse parses an HTTP response from a TriageAbuseReportWithResponse call

func (TriageAbuseReportResponse) ContentType

func (r TriageAbuseReportResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (TriageAbuseReportResponse) GetApplicationproblemJSONDefault

func (r TriageAbuseReportResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (TriageAbuseReportResponse) GetBody

func (r TriageAbuseReportResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (TriageAbuseReportResponse) Status

func (r TriageAbuseReportResponse) Status() string

Status returns HTTPResponse.Status

func (TriageAbuseReportResponse) StatusCode

func (r TriageAbuseReportResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type TrustedDevicesCleared

type TrustedDevicesCleared struct {
	// Cleared Remembered browsers revoked by this request.
	Cleared int `json:"cleared"`
}

TrustedDevicesCleared defines model for TrustedDevicesCleared.

type TrustedDevicesCount

type TrustedDevicesCount struct {
	// Count Live remembered browsers of the caller's account.
	Count int `json:"count"`
}

TrustedDevicesCount defines model for TrustedDevicesCount.

type UIInfo

type UIInfo struct {
	AuthorizeUrl *string    `json:"authorizeUrl,omitempty"`
	Mode         UIInfoMode `json:"mode"`
}

UIInfo The server's own browser surface under `/ui/`. `mode` is `full` (device authorize, plus the sign-in hand-off to the OpenID provider, sign-out and the address-confirmation page), `authorize` (only the device-authorize page — a site fronts this server) or `off`. `authorizeUrl` is the absolute page a CLI or the desktop app opens for browser sign-in, when served.

type UIInfoMode

type UIInfoMode string

UIInfoMode defines model for UIInfo.Mode.

const (
	Authorize UIInfoMode = "authorize"
	Full      UIInfoMode = "full"
	Off       UIInfoMode = "off"
)

Defines values for UIInfoMode.

func (UIInfoMode) Valid

func (e UIInfoMode) Valid() bool

Valid indicates whether the value is a known member of the UIInfoMode enum.

type UnstarAgentResponse

type UnstarAgentResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseUnstarAgentResponse

func ParseUnstarAgentResponse(rsp *http.Response) (*UnstarAgentResponse, error)

ParseUnstarAgentResponse parses an HTTP response from a UnstarAgentWithResponse call

func (UnstarAgentResponse) ContentType

func (r UnstarAgentResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UnstarAgentResponse) GetApplicationproblemJSONDefault

func (r UnstarAgentResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (UnstarAgentResponse) GetBody

func (r UnstarAgentResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (UnstarAgentResponse) Status

func (r UnstarAgentResponse) Status() string

Status returns HTTPResponse.Status

func (UnstarAgentResponse) StatusCode

func (r UnstarAgentResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UnwrapKnowledgeKeyJSONRequestBody

type UnwrapKnowledgeKeyJSONRequestBody = KnowledgeWrappedKey

UnwrapKnowledgeKeyJSONRequestBody defines body for UnwrapKnowledgeKey for application/json ContentType.

type UnwrapKnowledgeKeyResponse

type UnwrapKnowledgeKeyResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *KnowledgeDataKey
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
	// Headers200 the parsed response headers for an HTTP 200 response
	Headers200 *UnwrapKnowledgeKeyResponse200Headers
}

func ParseUnwrapKnowledgeKeyResponse

func ParseUnwrapKnowledgeKeyResponse(rsp *http.Response) (*UnwrapKnowledgeKeyResponse, error)

ParseUnwrapKnowledgeKeyResponse parses an HTTP response from a UnwrapKnowledgeKeyWithResponse call

func (UnwrapKnowledgeKeyResponse) ContentType

func (r UnwrapKnowledgeKeyResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UnwrapKnowledgeKeyResponse) GetApplicationproblemJSONDefault

func (r UnwrapKnowledgeKeyResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (UnwrapKnowledgeKeyResponse) GetBody

func (r UnwrapKnowledgeKeyResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (UnwrapKnowledgeKeyResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (UnwrapKnowledgeKeyResponse) Status

Status returns HTTPResponse.Status

func (UnwrapKnowledgeKeyResponse) StatusCode

func (r UnwrapKnowledgeKeyResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UnwrapKnowledgeKeyResponse200Headers

type UnwrapKnowledgeKeyResponse200Headers struct {
	CacheControl *string
}

UnwrapKnowledgeKeyResponse200Headers the declared response headers of an HTTP 200 response for UnwrapKnowledgeKey

type UnwrapOrgKnowledgeKeyJSONRequestBody

type UnwrapOrgKnowledgeKeyJSONRequestBody = KnowledgeWrappedKey

UnwrapOrgKnowledgeKeyJSONRequestBody defines body for UnwrapOrgKnowledgeKey for application/json ContentType.

type UnwrapOrgKnowledgeKeyResponse

type UnwrapOrgKnowledgeKeyResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *KnowledgeDataKey
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
	// Headers200 the parsed response headers for an HTTP 200 response
	Headers200 *UnwrapOrgKnowledgeKeyResponse200Headers
}

func ParseUnwrapOrgKnowledgeKeyResponse

func ParseUnwrapOrgKnowledgeKeyResponse(rsp *http.Response) (*UnwrapOrgKnowledgeKeyResponse, error)

ParseUnwrapOrgKnowledgeKeyResponse parses an HTTP response from a UnwrapOrgKnowledgeKeyWithResponse call

func (UnwrapOrgKnowledgeKeyResponse) ContentType

func (r UnwrapOrgKnowledgeKeyResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UnwrapOrgKnowledgeKeyResponse) GetApplicationproblemJSONDefault

func (r UnwrapOrgKnowledgeKeyResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (UnwrapOrgKnowledgeKeyResponse) GetBody

func (r UnwrapOrgKnowledgeKeyResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (UnwrapOrgKnowledgeKeyResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (UnwrapOrgKnowledgeKeyResponse) Status

Status returns HTTPResponse.Status

func (UnwrapOrgKnowledgeKeyResponse) StatusCode

func (r UnwrapOrgKnowledgeKeyResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UnwrapOrgKnowledgeKeyResponse200Headers

type UnwrapOrgKnowledgeKeyResponse200Headers struct {
	CacheControl *string
}

UnwrapOrgKnowledgeKeyResponse200Headers the declared response headers of an HTTP 200 response for UnwrapOrgKnowledgeKey

type UpdateAgentJSONBody

type UpdateAgentJSONBody struct {
	// AcknowledgeShippedKnowledge The publisher's confirmation that the knowledge packs the QuickAgent's versions ship become readable by everyone who can download them once it is public, and hold no private data. Read only when `visibility` is `public`; it is not a setting and changes nothing else.
	AcknowledgeShippedKnowledge *bool `json:"acknowledgeShippedKnowledge,omitempty"`

	// AllowForcePush Allow non-fast-forward pushes to the default branch. Off by default; maintain only.
	AllowForcePush  *bool `json:"allowForcePush,omitempty"`
	AutoPublishTags *bool `json:"autoPublishTags,omitempty"`

	// Builtin Mark or unmark the agent as built-in: a package the Agentry CLI embeds, published for reading, which clients label Built-in in place of its run modes. Platform staff only (403 for anyone else, the namespace's administrators included), and setting it only on an agent of a first-party namespace (`builtin-first-party`). Nothing but the label reads it.
	Builtin *bool `json:"builtin,omitempty"`

	// Modes The run modes a release supports; at least one.
	Modes *AgentModes `json:"modes,omitempty"`

	// PipelineSkip Admit submissions to this agent without a scan. Settable by the namespace's administrators on a private agent of an organization's whose subscription includes unscanned agents; refused on a public agent (`pipeline-skip-public`) and in a personal namespace (`pipeline-skip-personal`), and with `feature-not-included` where the tier lacks it. While it is set, and while a version published unscanned stands, the agent cannot be made public (`agent-unscanned`). Clearing it changes nothing already published; the next submission goes through the whole pipeline.
	PipelineSkip *bool   `json:"pipelineSkip,omitempty"`
	Summary      *string `json:"summary,omitempty"`

	// Visibility The namespace's administrators only. A token needs `org:admin`, or `agent:manage` when the body sets visibility and nothing else. `public` is refused on a retired agent (`409 agent-retired`): Restore is how a retired agent comes back. It is refused on a fork for good (`409 fork-stays-private`). Making a QuickAgent public while one of its versions, other than a yanked or rejected one, ships a knowledge pack needs `acknowledgeShippedKnowledge: true`, or the answer is `409 shipped-knowledge-unacknowledged`, which names the packs and the versions that ship them.
	Visibility *UpdateAgentJSONBodyVisibility `json:"visibility,omitempty"`
}

UpdateAgentJSONBody defines parameters for UpdateAgent.

type UpdateAgentJSONBodyVisibility

type UpdateAgentJSONBodyVisibility string

UpdateAgentJSONBodyVisibility defines parameters for UpdateAgent.

const (
	UpdateAgentJSONBodyVisibilityPrivate UpdateAgentJSONBodyVisibility = "private"
	UpdateAgentJSONBodyVisibilityPublic  UpdateAgentJSONBodyVisibility = "public"
)

Defines values for UpdateAgentJSONBodyVisibility.

func (UpdateAgentJSONBodyVisibility) Valid

Valid indicates whether the value is a known member of the UpdateAgentJSONBodyVisibility enum.

type UpdateAgentJSONRequestBody

type UpdateAgentJSONRequestBody UpdateAgentJSONBody

UpdateAgentJSONRequestBody defines body for UpdateAgent for application/json ContentType.

type UpdateAgentResponse

type UpdateAgentResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Agent
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseUpdateAgentResponse

func ParseUpdateAgentResponse(rsp *http.Response) (*UpdateAgentResponse, error)

ParseUpdateAgentResponse parses an HTTP response from a UpdateAgentWithResponse call

func (UpdateAgentResponse) ContentType

func (r UpdateAgentResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UpdateAgentResponse) GetApplicationproblemJSONDefault

func (r UpdateAgentResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (UpdateAgentResponse) GetBody

func (r UpdateAgentResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (UpdateAgentResponse) GetJSON200

func (r UpdateAgentResponse) GetJSON200() *Agent

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (UpdateAgentResponse) Status

func (r UpdateAgentResponse) Status() string

Status returns HTTPResponse.Status

func (UpdateAgentResponse) StatusCode

func (r UpdateAgentResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateCurrentUserJSONBody

type UpdateCurrentUserJSONBody struct {
	// CookieAck True records acceptance of the cookie notice on the account (write-once timestamp; false is ignored).
	CookieAck   *bool   `json:"cookieAck,omitempty"`
	DisplayName *string `json:"displayName,omitempty"`
}

UpdateCurrentUserJSONBody defines parameters for UpdateCurrentUser.

type UpdateCurrentUserJSONRequestBody

type UpdateCurrentUserJSONRequestBody UpdateCurrentUserJSONBody

UpdateCurrentUserJSONRequestBody defines body for UpdateCurrentUser for application/json ContentType.

type UpdateCurrentUserResponse

type UpdateCurrentUserResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *User
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseUpdateCurrentUserResponse

func ParseUpdateCurrentUserResponse(rsp *http.Response) (*UpdateCurrentUserResponse, error)

ParseUpdateCurrentUserResponse parses an HTTP response from a UpdateCurrentUserWithResponse call

func (UpdateCurrentUserResponse) ContentType

func (r UpdateCurrentUserResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UpdateCurrentUserResponse) GetApplicationproblemJSONDefault

func (r UpdateCurrentUserResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (UpdateCurrentUserResponse) GetBody

func (r UpdateCurrentUserResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (UpdateCurrentUserResponse) GetJSON200

func (r UpdateCurrentUserResponse) GetJSON200() *User

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (UpdateCurrentUserResponse) Status

func (r UpdateCurrentUserResponse) Status() string

Status returns HTTPResponse.Status

func (UpdateCurrentUserResponse) StatusCode

func (r UpdateCurrentUserResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateKnowledgePackRequest

type UpdateKnowledgePackRequest struct {
	Exportable bool `json:"exportable"`
}

UpdateKnowledgePackRequest defines model for UpdateKnowledgePackRequest.

type UpdateOrgJSONBody

type UpdateOrgJSONBody struct {
	DisplayName *string `json:"displayName,omitempty"`

	// SsoRequired Enforce SSO for org resources. Admin only.
	SsoRequired *bool `json:"ssoRequired,omitempty"`
}

UpdateOrgJSONBody defines parameters for UpdateOrg.

type UpdateOrgJSONRequestBody

type UpdateOrgJSONRequestBody UpdateOrgJSONBody

UpdateOrgJSONRequestBody defines body for UpdateOrg for application/json ContentType.

type UpdateOrgKnowledgePackJSONRequestBody

type UpdateOrgKnowledgePackJSONRequestBody = UpdateKnowledgePackRequest

UpdateOrgKnowledgePackJSONRequestBody defines body for UpdateOrgKnowledgePack for application/json ContentType.

type UpdateOrgKnowledgePackResponse

type UpdateOrgKnowledgePackResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *KnowledgePack
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseUpdateOrgKnowledgePackResponse

func ParseUpdateOrgKnowledgePackResponse(rsp *http.Response) (*UpdateOrgKnowledgePackResponse, error)

ParseUpdateOrgKnowledgePackResponse parses an HTTP response from a UpdateOrgKnowledgePackWithResponse call

func (UpdateOrgKnowledgePackResponse) ContentType

func (r UpdateOrgKnowledgePackResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UpdateOrgKnowledgePackResponse) GetApplicationproblemJSONDefault

func (r UpdateOrgKnowledgePackResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (UpdateOrgKnowledgePackResponse) GetBody

func (r UpdateOrgKnowledgePackResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (UpdateOrgKnowledgePackResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (UpdateOrgKnowledgePackResponse) Status

Status returns HTTPResponse.Status

func (UpdateOrgKnowledgePackResponse) StatusCode

func (r UpdateOrgKnowledgePackResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateOrgReportDesignJSONRequestBody added in v0.7.5

type UpdateOrgReportDesignJSONRequestBody = ReportDesignUpdate

UpdateOrgReportDesignJSONRequestBody defines body for UpdateOrgReportDesign for application/json ContentType.

type UpdateOrgReportDesignParams added in v0.7.5

type UpdateOrgReportDesignParams struct {
	// Include `assets` answers the design with its images (`logo`, `coverImage`, `customCover`), if it has them. Without it the document comes without those keys, so a client that does not draw them reads it whole and small.
	Include *ReportDesignInclude `form:"include,omitempty" json:"include,omitempty"`
}

UpdateOrgReportDesignParams defines parameters for UpdateOrgReportDesign.

type UpdateOrgReportDesignResponse added in v0.7.5

type UpdateOrgReportDesignResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *OrgReportDesignRecord
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseUpdateOrgReportDesignResponse added in v0.7.5

func ParseUpdateOrgReportDesignResponse(rsp *http.Response) (*UpdateOrgReportDesignResponse, error)

ParseUpdateOrgReportDesignResponse parses an HTTP response from a UpdateOrgReportDesignWithResponse call

func (UpdateOrgReportDesignResponse) ContentType added in v0.7.5

func (r UpdateOrgReportDesignResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UpdateOrgReportDesignResponse) GetApplicationproblemJSONDefault added in v0.7.5

func (r UpdateOrgReportDesignResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (UpdateOrgReportDesignResponse) GetBody added in v0.7.5

func (r UpdateOrgReportDesignResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (UpdateOrgReportDesignResponse) GetJSON200 added in v0.7.5

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (UpdateOrgReportDesignResponse) Status added in v0.7.5

Status returns HTTPResponse.Status

func (UpdateOrgReportDesignResponse) StatusCode added in v0.7.5

func (r UpdateOrgReportDesignResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateOrgResponse

type UpdateOrgResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Org
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseUpdateOrgResponse

func ParseUpdateOrgResponse(rsp *http.Response) (*UpdateOrgResponse, error)

ParseUpdateOrgResponse parses an HTTP response from a UpdateOrgWithResponse call

func (UpdateOrgResponse) ContentType

func (r UpdateOrgResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UpdateOrgResponse) GetApplicationproblemJSONDefault

func (r UpdateOrgResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (UpdateOrgResponse) GetBody

func (r UpdateOrgResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (UpdateOrgResponse) GetJSON200

func (r UpdateOrgResponse) GetJSON200() *Org

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (UpdateOrgResponse) Status

func (r UpdateOrgResponse) Status() string

Status returns HTTPResponse.Status

func (UpdateOrgResponse) StatusCode

func (r UpdateOrgResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateUserNotificationSettingsJSONRequestBody

type UpdateUserNotificationSettingsJSONRequestBody = NotificationSettings

UpdateUserNotificationSettingsJSONRequestBody defines body for UpdateUserNotificationSettings for application/json ContentType.

type UpdateUserNotificationSettingsResponse

type UpdateUserNotificationSettingsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *NotificationSettings
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseUpdateUserNotificationSettingsResponse

func ParseUpdateUserNotificationSettingsResponse(rsp *http.Response) (*UpdateUserNotificationSettingsResponse, error)

ParseUpdateUserNotificationSettingsResponse parses an HTTP response from a UpdateUserNotificationSettingsWithResponse call

func (UpdateUserNotificationSettingsResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UpdateUserNotificationSettingsResponse) GetApplicationproblemJSONDefault

func (r UpdateUserNotificationSettingsResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (UpdateUserNotificationSettingsResponse) GetBody

GetBody returns the raw response body bytes

func (UpdateUserNotificationSettingsResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (UpdateUserNotificationSettingsResponse) Status

Status returns HTTPResponse.Status

func (UpdateUserNotificationSettingsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type UpdateUserReportDesignJSONRequestBody added in v0.7.4

type UpdateUserReportDesignJSONRequestBody = ReportDesignUpdate

UpdateUserReportDesignJSONRequestBody defines body for UpdateUserReportDesign for application/json ContentType.

type UpdateUserReportDesignParams added in v0.7.4

type UpdateUserReportDesignParams struct {
	// Include `assets` answers the design with its images (`logo`, `coverImage`, `customCover`), if it has them. Without it the document comes without those keys, so a client that does not draw them reads it whole and small.
	Include *ReportDesignInclude `form:"include,omitempty" json:"include,omitempty"`
}

UpdateUserReportDesignParams defines parameters for UpdateUserReportDesign.

type UpdateUserReportDesignResponse added in v0.7.4

type UpdateUserReportDesignResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ReportDesignRecord
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseUpdateUserReportDesignResponse added in v0.7.4

func ParseUpdateUserReportDesignResponse(rsp *http.Response) (*UpdateUserReportDesignResponse, error)

ParseUpdateUserReportDesignResponse parses an HTTP response from a UpdateUserReportDesignWithResponse call

func (UpdateUserReportDesignResponse) ContentType added in v0.7.4

func (r UpdateUserReportDesignResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UpdateUserReportDesignResponse) GetApplicationproblemJSONDefault added in v0.7.4

func (r UpdateUserReportDesignResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (UpdateUserReportDesignResponse) GetBody added in v0.7.4

func (r UpdateUserReportDesignResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (UpdateUserReportDesignResponse) GetJSON200 added in v0.7.4

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (UpdateUserReportDesignResponse) Status added in v0.7.4

Status returns HTTPResponse.Status

func (UpdateUserReportDesignResponse) StatusCode added in v0.7.4

func (r UpdateUserReportDesignResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateVoiceSettingsJSONRequestBody

type UpdateVoiceSettingsJSONRequestBody = VoiceSettingsRequest

UpdateVoiceSettingsJSONRequestBody defines body for UpdateVoiceSettings for application/json ContentType.

type UpdateVoiceSettingsResponse

type UpdateVoiceSettingsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Voice
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseUpdateVoiceSettingsResponse

func ParseUpdateVoiceSettingsResponse(rsp *http.Response) (*UpdateVoiceSettingsResponse, error)

ParseUpdateVoiceSettingsResponse parses an HTTP response from a UpdateVoiceSettingsWithResponse call

func (UpdateVoiceSettingsResponse) ContentType

func (r UpdateVoiceSettingsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UpdateVoiceSettingsResponse) GetApplicationproblemJSONDefault

func (r UpdateVoiceSettingsResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (UpdateVoiceSettingsResponse) GetBody

func (r UpdateVoiceSettingsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (UpdateVoiceSettingsResponse) GetJSON200

func (r UpdateVoiceSettingsResponse) GetJSON200() *Voice

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (UpdateVoiceSettingsResponse) Status

Status returns HTTPResponse.Status

func (UpdateVoiceSettingsResponse) StatusCode

func (r UpdateVoiceSettingsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateWebhookJSONBody

type UpdateWebhookJSONBody struct {
	Active *bool     `json:"active,omitempty"`
	Events *[]string `json:"events,omitempty"`

	// Url An absolute https:// URL with a host, and a port from 1 to 65535 if it names one.
	Url *string `json:"url,omitempty"`
}

UpdateWebhookJSONBody defines parameters for UpdateWebhook.

type UpdateWebhookJSONRequestBody

type UpdateWebhookJSONRequestBody UpdateWebhookJSONBody

UpdateWebhookJSONRequestBody defines body for UpdateWebhook for application/json ContentType.

type UpdateWebhookResponse

type UpdateWebhookResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *WebhookEndpoint
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseUpdateWebhookResponse

func ParseUpdateWebhookResponse(rsp *http.Response) (*UpdateWebhookResponse, error)

ParseUpdateWebhookResponse parses an HTTP response from a UpdateWebhookWithResponse call

func (UpdateWebhookResponse) ContentType

func (r UpdateWebhookResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UpdateWebhookResponse) GetApplicationproblemJSONDefault

func (r UpdateWebhookResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (UpdateWebhookResponse) GetBody

func (r UpdateWebhookResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (UpdateWebhookResponse) GetJSON200

func (r UpdateWebhookResponse) GetJSON200() *WebhookEndpoint

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (UpdateWebhookResponse) Status

func (r UpdateWebhookResponse) Status() string

Status returns HTTPResponse.Status

func (UpdateWebhookResponse) StatusCode

func (r UpdateWebhookResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UploadKnowledgeTreeResponse

type UploadKnowledgeTreeResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON202 the response for an HTTP 202 `application/json` response
	JSON202 *KnowledgePack
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseUploadKnowledgeTreeResponse

func ParseUploadKnowledgeTreeResponse(rsp *http.Response) (*UploadKnowledgeTreeResponse, error)

ParseUploadKnowledgeTreeResponse parses an HTTP response from a UploadKnowledgeTreeWithResponse call

func (UploadKnowledgeTreeResponse) ContentType

func (r UploadKnowledgeTreeResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UploadKnowledgeTreeResponse) GetApplicationproblemJSONDefault

func (r UploadKnowledgeTreeResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (UploadKnowledgeTreeResponse) GetBody

func (r UploadKnowledgeTreeResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (UploadKnowledgeTreeResponse) GetJSON202

GetJSON202 returns the response for an HTTP 202 `application/json` response

func (UploadKnowledgeTreeResponse) Status

Status returns HTTPResponse.Status

func (UploadKnowledgeTreeResponse) StatusCode

func (r UploadKnowledgeTreeResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UploadOrgKnowledgeTreeResponse

type UploadOrgKnowledgeTreeResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON202 the response for an HTTP 202 `application/json` response
	JSON202 *KnowledgePack
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseUploadOrgKnowledgeTreeResponse

func ParseUploadOrgKnowledgeTreeResponse(rsp *http.Response) (*UploadOrgKnowledgeTreeResponse, error)

ParseUploadOrgKnowledgeTreeResponse parses an HTTP response from a UploadOrgKnowledgeTreeWithResponse call

func (UploadOrgKnowledgeTreeResponse) ContentType

func (r UploadOrgKnowledgeTreeResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UploadOrgKnowledgeTreeResponse) GetApplicationproblemJSONDefault

func (r UploadOrgKnowledgeTreeResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (UploadOrgKnowledgeTreeResponse) GetBody

func (r UploadOrgKnowledgeTreeResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (UploadOrgKnowledgeTreeResponse) GetJSON202

GetJSON202 returns the response for an HTTP 202 `application/json` response

func (UploadOrgKnowledgeTreeResponse) Status

Status returns HTTPResponse.Status

func (UploadOrgKnowledgeTreeResponse) StatusCode

func (r UploadOrgKnowledgeTreeResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type User

type User struct {
	// CookieAckAt When this account acknowledged the cookie notice.
	CookieAckAt *time.Time `json:"cookieAckAt,omitempty"`
	CreatedAt   time.Time  `json:"createdAt"`
	DisplayName string     `json:"displayName"`
	Email       string     `json:"email"`

	// EmailVerificationResendAfter GET /user only, while the address is unconfirmed: the earliest moment `POST /user/email-verification` will send another activation link. Absent when one may be sent now.
	EmailVerificationResendAfter *time.Time         `json:"emailVerificationResendAfter,omitempty"`
	EmailVerified                bool               `json:"emailVerified"`
	Handle                       string             `json:"handle"`
	Id                           openapi_types.UUID `json:"id"`

	// Orgs The caller's org memberships (present on GET /user only).
	Orgs *[]struct {
		Handle string `json:"handle"`
		Role   string `json:"role"`

		// State Whether the membership is in force. `pending` is someone the organization's IdP provisioned, or its domain folded in, who holds no seat and nothing of the organization until an admin approves them; `active` is a member. Declining a pending member removes them, and a decline is remembered: the domain does not fold that person in again unless an admin invites them.
		State *MembershipState `json:"state,omitempty"`
	} `json:"orgs,omitempty"`

	// PendingOrg The organization the caller is waiting to be approved by (present on GET /user only, and only while a pending membership exists): the domain folded them in at a sign-in, or the organization's IdP provisioned them. Every page and client can say it until an admin approves or declines them; until then they keep working on their own tier.
	PendingOrg    *PendingOrg `json:"pendingOrg,omitempty"`
	PlatformStaff *bool       `json:"platformStaff,omitempty"`
}

User defines model for User.

type VerifyDomainClaimJSONBody

type VerifyDomainClaimJSONBody struct {
	Domain string `json:"domain"`
}

VerifyDomainClaimJSONBody defines parameters for VerifyDomainClaim.

type VerifyDomainClaimJSONRequestBody

type VerifyDomainClaimJSONRequestBody VerifyDomainClaimJSONBody

VerifyDomainClaimJSONRequestBody defines body for VerifyDomainClaim for application/json ContentType.

type VerifyDomainClaimResponse

type VerifyDomainClaimResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *DomainClaim
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseVerifyDomainClaimResponse

func ParseVerifyDomainClaimResponse(rsp *http.Response) (*VerifyDomainClaimResponse, error)

ParseVerifyDomainClaimResponse parses an HTTP response from a VerifyDomainClaimWithResponse call

func (VerifyDomainClaimResponse) ContentType

func (r VerifyDomainClaimResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (VerifyDomainClaimResponse) GetApplicationproblemJSONDefault

func (r VerifyDomainClaimResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (VerifyDomainClaimResponse) GetBody

func (r VerifyDomainClaimResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (VerifyDomainClaimResponse) GetJSON200

func (r VerifyDomainClaimResponse) GetJSON200() *DomainClaim

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (VerifyDomainClaimResponse) Status

func (r VerifyDomainClaimResponse) Status() string

Status returns HTTPResponse.Status

func (VerifyDomainClaimResponse) StatusCode

func (r VerifyDomainClaimResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type VerifyEmailJSONBody

type VerifyEmailJSONBody struct {
	Token string `json:"token"`
}

VerifyEmailJSONBody defines parameters for VerifyEmail.

type VerifyEmailJSONRequestBody

type VerifyEmailJSONRequestBody VerifyEmailJSONBody

VerifyEmailJSONRequestBody defines body for VerifyEmail for application/json ContentType.

type VerifyEmailResponse

type VerifyEmailResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseVerifyEmailResponse

func ParseVerifyEmailResponse(rsp *http.Response) (*VerifyEmailResponse, error)

ParseVerifyEmailResponse parses an HTTP response from a VerifyEmailWithResponse call

func (VerifyEmailResponse) ContentType

func (r VerifyEmailResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (VerifyEmailResponse) GetApplicationproblemJSONDefault

func (r VerifyEmailResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (VerifyEmailResponse) GetBody

func (r VerifyEmailResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (VerifyEmailResponse) Status

func (r VerifyEmailResponse) Status() string

Status returns HTTPResponse.Status

func (VerifyEmailResponse) StatusCode

func (r VerifyEmailResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type VersionStatus

type VersionStatus string

VersionStatus Publication state machine states. `approved` is reserved and never produced: a reviewer's approval publishes directly (needs_review → published), so clients will not observe it; it is kept because removing an enum value is a breaking change.

const (
	VersionStatusApproved    VersionStatus = "approved"
	VersionStatusBlocked     VersionStatus = "blocked"
	VersionStatusNeedsReview VersionStatus = "needs_review"
	VersionStatusPublished   VersionStatus = "published"
	VersionStatusQuarantined VersionStatus = "quarantined"
	VersionStatusRejected    VersionStatus = "rejected"
	VersionStatusScanning    VersionStatus = "scanning"
	VersionStatusSubmitted   VersionStatus = "submitted"
	VersionStatusYanked      VersionStatus = "yanked"
)

Defines values for VersionStatus.

func (VersionStatus) Valid

func (e VersionStatus) Valid() bool

Valid indicates whether the value is a known member of the VersionStatus enum.

type VersionString

type VersionString = string

VersionString defines model for VersionString.

type Voice

type Voice struct {
	// AlwaysAttach Runs In Agentry attach the live voice by default; on when a voice first goes live.
	AlwaysAttach bool          `json:"alwaysAttach"`
	Live         *VoiceVersion `json:"live,omitempty"`
	Pending      *VoiceVersion `json:"pending,omitempty"`
	Previous     *VoiceVersion `json:"previous,omitempty"`

	// QuestionSet The hash of the voice question set a review asks now; a Restore of a version reviewed under another is reviewed again.
	QuestionSet string    `json:"questionSet"`
	UpdatedAt   time.Time `json:"updatedAt"`
}

Voice The caller's Writing Voice: at most a live version (the one runs attach), a pending one (in review, or flagged with its findings) and the previous one, for Restore.

type VoiceFinding

type VoiceFinding struct {
	// Flags This finding keeps the version from going live.
	Flags bool `json:"flags"`
	Line  *int `json:"line,omitempty"`

	// Question The voice question that scored, for an AI Review finding.
	Question *string `json:"question,omitempty"`
	Scanner  string  `json:"scanner"`
	Score    *int    `json:"score,omitempty"`
	Severity string  `json:"severity"`
	Title    string  `json:"title"`
}

VoiceFinding defines model for VoiceFinding.

type VoiceReviewReport

type VoiceReviewReport struct {
	AiReview struct {
		// Failure Why AI Review did not answer (`timeout`, `judge-error`).
		Failure     *string `json:"failure,omitempty"`
		InputTokens int     `json:"inputTokens"`
		Model       *string `json:"model,omitempty"`
		QuestionSet *string `json:"questionSet,omitempty"`
		Requests    int     `json:"requests"`

		// Scores Each question's score, 0 to 3; 2 or more flags the version.
		Scores *map[string]int `json:"scores,omitempty"`
	} `json:"aiReview"`
	Findings []VoiceFinding `json:"findings"`
	Schema   string         `json:"schema"`
	Stages   []struct {
		Failed *bool  `json:"failed,omitempty"`
		Id     string `json:"id"`
		Name   string `json:"name"`
	} `json:"stages"`
	Verdict VoiceReviewReportVerdict `json:"verdict"`
}

VoiceReviewReport What a version's review read and found: the pack scan's rule stages (S2, S3, S4, S8) over the text and Jev's voice question set. `incomplete` is a review that did not finish; the version stays in review and is tried again. The report keeps no excerpt.

type VoiceReviewReportVerdict

type VoiceReviewReportVerdict string

VoiceReviewReportVerdict defines model for VoiceReviewReport.Verdict.

const (
	VoiceReviewReportVerdictFlagged    VoiceReviewReportVerdict = "flagged"
	VoiceReviewReportVerdictIncomplete VoiceReviewReportVerdict = "incomplete"
	VoiceReviewReportVerdictPass       VoiceReviewReportVerdict = "pass"
)

Defines values for VoiceReviewReportVerdict.

func (VoiceReviewReportVerdict) Valid

func (e VoiceReviewReportVerdict) Valid() bool

Valid indicates whether the value is a known member of the VoiceReviewReportVerdict enum.

type VoiceSettingsRequest

type VoiceSettingsRequest struct {
	AlwaysAttach *bool `json:"alwaysAttach,omitempty"`
}

VoiceSettingsRequest defines model for VoiceSettingsRequest.

type VoiceVersion

type VoiceVersion struct {
	Bytes     int       `json:"bytes"`
	CreatedAt time.Time `json:"createdAt"`

	// Digest The SHA-256 of the text, `sha256:<hex>`.
	Digest string             `json:"digest"`
	Id     openapi_types.UUID `json:"id"`

	// QuestionSet The hash of the question set the version was reviewed under; empty until its review is decided.
	QuestionSet string `json:"questionSet"`

	// Report What a version's review read and found: the pack scan's rule stages (S2, S3, S4, S8) over the text and Jev's voice question set. `incomplete` is a review that did not finish; the version stays in review and is tried again. The report keeps no excerpt.
	Report *VoiceReviewReport `json:"report,omitempty"`

	// Review A pending version is `reviewing` or `flagged`; a live or previous one `passed`.
	Review     VoiceVersionReview `json:"review"`
	ReviewedAt *time.Time         `json:"reviewedAt,omitempty"`
	Slot       VoiceVersionSlot   `json:"slot"`
	Source     VoiceVersionSource `json:"source"`

	// Text The VOICE.md, at most 32 KiB.
	Text string `json:"text"`
}

VoiceVersion defines model for VoiceVersion.

type VoiceVersionReview

type VoiceVersionReview string

VoiceVersionReview A pending version is `reviewing` or `flagged`; a live or previous one `passed`.

const (
	VoiceVersionReviewFlagged   VoiceVersionReview = "flagged"
	VoiceVersionReviewPassed    VoiceVersionReview = "passed"
	VoiceVersionReviewReviewing VoiceVersionReview = "reviewing"
)

Defines values for VoiceVersionReview.

func (VoiceVersionReview) Valid

func (e VoiceVersionReview) Valid() bool

Valid indicates whether the value is a known member of the VoiceVersionReview enum.

type VoiceVersionSlot

type VoiceVersionSlot string

VoiceVersionSlot defines model for VoiceVersion.Slot.

const (
	VoiceVersionSlotLive     VoiceVersionSlot = "live"
	VoiceVersionSlotPending  VoiceVersionSlot = "pending"
	VoiceVersionSlotPrevious VoiceVersionSlot = "previous"
)

Defines values for VoiceVersionSlot.

func (VoiceVersionSlot) Valid

func (e VoiceVersionSlot) Valid() bool

Valid indicates whether the value is a known member of the VoiceVersionSlot enum.

type VoiceVersionSource

type VoiceVersionSource string

VoiceVersionSource defines model for VoiceVersion.Source.

const (
	VoiceVersionSourceAiEdit  VoiceVersionSource = "ai-edit"
	VoiceVersionSourceBuild   VoiceVersionSource = "build"
	VoiceVersionSourceEdit    VoiceVersionSource = "edit"
	VoiceVersionSourceRestore VoiceVersionSource = "restore"
	VoiceVersionSourceUpload  VoiceVersionSource = "upload"
)

Defines values for VoiceVersionSource.

func (VoiceVersionSource) Valid

func (e VoiceVersionSource) Valid() bool

Valid indicates whether the value is a known member of the VoiceVersionSource enum.

type WebNotificationSettings

type WebNotificationSettings struct {
	// DependencyAlerts Show the dependency-alert banner on every page while an alert is open (the dashboard lists alerts regardless).
	DependencyAlerts bool `json:"dependencyAlerts"`
}

WebNotificationSettings In-app alerts.

type WebSearchRequest

type WebSearchRequest struct {
	// Count How many results to ask the provider for; clamped to 1–10.
	Count *int   `json:"count,omitempty"`
	Query string `json:"query"`
}

WebSearchRequest defines model for WebSearchRequest.

type WebSearchResult

type WebSearchResult struct {
	Flagged *[]WebSearchResultFlagged `json:"flagged,omitempty"`
	Score   int                       `json:"score"`

	// Scores Per question, 0 to 3 (0.5, 0.7 and 0.9 are 1, 2 and 3).
	Scores *ModelInputScores `json:"scores,omitempty"`

	// Snippet Present only when the result passed.
	Snippet *string `json:"snippet,omitempty"`

	// Title Present only when the result passed.
	Title *string `json:"title,omitempty"`

	// Url The result's address when it passed; only its origin (scheme and host) when it was withheld or not scanned, since a path or a query can carry an instruction too.
	Url string `json:"url"`

	// Verdict `pass`: no question scored 2 or more. `withheld`: one did; the model gets the source's address and the reason, never the text. `not_scanned`: the judge could not answer for part of the text; a caller treats it as withheld.
	Verdict ModelInputVerdict `json:"verdict"`
}

WebSearchResult defines model for WebSearchResult.

type WebSearchResultFlagged

type WebSearchResultFlagged string

WebSearchResultFlagged defines model for WebSearchResult.Flagged.

const (
	WebSearchResultFlaggedDeception    WebSearchResultFlagged = "deception"
	WebSearchResultFlaggedExfiltration WebSearchResultFlagged = "exfiltration"
	WebSearchResultFlaggedInjection    WebSearchResultFlagged = "injection"
	WebSearchResultFlaggedObfuscation  WebSearchResultFlagged = "obfuscation"
)

Defines values for WebSearchResultFlagged.

func (WebSearchResultFlagged) Valid

func (e WebSearchResultFlagged) Valid() bool

Valid indicates whether the value is a known member of the WebSearchResultFlagged enum.

type WebSearchResults

type WebSearchResults struct {
	Model string `json:"model"`

	// Provider The search provider the deployment brokers.
	Provider    string            `json:"provider"`
	QuestionSet string            `json:"questionSet"`
	Results     []WebSearchResult `json:"results"`

	// Usage The judge's requests and input tokens, for the record. Never a price: AI Review is charged per operation.
	Usage ModelInputUsage `json:"usage"`

	// Withheld How many results were withheld or not scanned.
	Withheld int `json:"withheld"`
}

WebSearchResults defines model for WebSearchResults.

type WebhookDelivery

type WebhookDelivery struct {
	Attempt     int                `json:"attempt"`
	CreatedAt   time.Time          `json:"createdAt"`
	DeliveredAt *time.Time         `json:"deliveredAt,omitempty"`
	Error       *string            `json:"error,omitempty"`
	EventType   string             `json:"eventType"`
	Id          openapi_types.UUID `json:"id"`
	StatusCode  *int               `json:"statusCode,omitempty"`
}

WebhookDelivery defines model for WebhookDelivery.

type WebhookEndpoint

type WebhookEndpoint struct {
	Active    bool               `json:"active"`
	CreatedAt time.Time          `json:"createdAt"`
	Events    []string           `json:"events"`
	Id        openapi_types.UUID `json:"id"`
	Url       string             `json:"url"`
}

WebhookEndpoint defines model for WebhookEndpoint.

type WebhookEndpointCreated

type WebhookEndpointCreated struct {
	Active    bool               `json:"active"`
	CreatedAt time.Time          `json:"createdAt"`
	Events    []string           `json:"events"`
	Id        openapi_types.UUID `json:"id"`

	// Secret The HMAC signing secret; shown once.
	Secret string `json:"secret"`
	Url    string `json:"url"`
}

WebhookEndpointCreated defines model for WebhookEndpointCreated.

type WebhookID

type WebhookID = openapi_types.UUID

WebhookID defines model for WebhookID.

type WebhookInput

type WebhookInput struct {
	// Events The events the endpoint subscribes to, by name, from the closed catalogue: agent.created, version.submitted, version.published, version.rejected, version.needs_review, version.yanked, agent.quarantined, agent.reinstated, advisory.published, agent.dependency_alert, scan.completed, member.added, member.removed, policy.updated, run.ended (a run of one of the organization's QuickAgents In Agentry ended; delivered only where the registry runs QuickAgents) and managed.updated (the organization's admins changed its managed settings; delivered only where the registry keeps them). A name outside the catalogue is refused with 422.
	Events []string `json:"events"`

	// Url An absolute https:// URL with a host, and a port from 1 to 65535 if it names one.
	Url string `json:"url"`
}

WebhookInput defines model for WebhookInput.

type WrapKnowledgeKeyJSONRequestBody

type WrapKnowledgeKeyJSONRequestBody = KnowledgeDataKey

WrapKnowledgeKeyJSONRequestBody defines body for WrapKnowledgeKey for application/json ContentType.

type WrapKnowledgeKeyResponse

type WrapKnowledgeKeyResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *KnowledgeWrappedKey
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseWrapKnowledgeKeyResponse

func ParseWrapKnowledgeKeyResponse(rsp *http.Response) (*WrapKnowledgeKeyResponse, error)

ParseWrapKnowledgeKeyResponse parses an HTTP response from a WrapKnowledgeKeyWithResponse call

func (WrapKnowledgeKeyResponse) ContentType

func (r WrapKnowledgeKeyResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (WrapKnowledgeKeyResponse) GetApplicationproblemJSONDefault

func (r WrapKnowledgeKeyResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (WrapKnowledgeKeyResponse) GetBody

func (r WrapKnowledgeKeyResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (WrapKnowledgeKeyResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (WrapKnowledgeKeyResponse) Status

func (r WrapKnowledgeKeyResponse) Status() string

Status returns HTTPResponse.Status

func (WrapKnowledgeKeyResponse) StatusCode

func (r WrapKnowledgeKeyResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type WrapOrgKnowledgeKeyJSONRequestBody

type WrapOrgKnowledgeKeyJSONRequestBody = KnowledgeDataKey

WrapOrgKnowledgeKeyJSONRequestBody defines body for WrapOrgKnowledgeKey for application/json ContentType.

type WrapOrgKnowledgeKeyResponse

type WrapOrgKnowledgeKeyResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *KnowledgeWrappedKey
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseWrapOrgKnowledgeKeyResponse

func ParseWrapOrgKnowledgeKeyResponse(rsp *http.Response) (*WrapOrgKnowledgeKeyResponse, error)

ParseWrapOrgKnowledgeKeyResponse parses an HTTP response from a WrapOrgKnowledgeKeyWithResponse call

func (WrapOrgKnowledgeKeyResponse) ContentType

func (r WrapOrgKnowledgeKeyResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (WrapOrgKnowledgeKeyResponse) GetApplicationproblemJSONDefault

func (r WrapOrgKnowledgeKeyResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (WrapOrgKnowledgeKeyResponse) GetBody

func (r WrapOrgKnowledgeKeyResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (WrapOrgKnowledgeKeyResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (WrapOrgKnowledgeKeyResponse) Status

Status returns HTTPResponse.Status

func (WrapOrgKnowledgeKeyResponse) StatusCode

func (r WrapOrgKnowledgeKeyResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type YankVersionJSONBody

type YankVersionJSONBody struct {
	Reason string `json:"reason"`
}

YankVersionJSONBody defines parameters for YankVersion.

type YankVersionJSONRequestBody

type YankVersionJSONRequestBody YankVersionJSONBody

YankVersionJSONRequestBody defines body for YankVersion for application/json ContentType.

type YankVersionResponse

type YankVersionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseYankVersionResponse

func ParseYankVersionResponse(rsp *http.Response) (*YankVersionResponse, error)

ParseYankVersionResponse parses an HTTP response from a YankVersionWithResponse call

func (YankVersionResponse) ContentType

func (r YankVersionResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (YankVersionResponse) GetApplicationproblemJSONDefault

func (r YankVersionResponse) GetApplicationproblemJSONDefault() *Problem

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (YankVersionResponse) GetBody

func (r YankVersionResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (YankVersionResponse) Status

func (r YankVersionResponse) Status() string

Status returns HTTPResponse.Status

func (YankVersionResponse) StatusCode

func (r YankVersionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL