Help us shape the future of Go! Take the 2026 Go Developer Survey

authorityv1

package
v0.1.0-rc.41 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2026 License: BSD-3-Clause Imports: 13 Imported by: 0

Documentation

Overview

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

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Handler

func Handler(si ServerInterface) http.Handler

Handler creates http.Handler with routing matching OpenAPI spec.

func HandlerFromMux

func HandlerFromMux(si ServerInterface, m ServeMux) http.Handler

HandlerFromMux creates http.Handler with routing matching OpenAPI spec based on the provided mux.

func HandlerFromMuxWithBaseURL

func HandlerFromMuxWithBaseURL(si ServerInterface, m ServeMux, baseURL string) http.Handler

func HandlerWithOptions

func HandlerWithOptions(si ServerInterface, options StdHTTPServerOptions) http.Handler

HandlerWithOptions creates http.Handler with additional options

func NewAcceptInvitationRequest

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

NewAcceptInvitationRequest calls the generic AcceptInvitation builder with application/json body

func NewAcceptInvitationRequestWithBody

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

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

func NewAcceptServiceInvitationRequest

func NewAcceptServiceInvitationRequest(server string, body AcceptServiceInvitationJSONRequestBody) (*http.Request, error)

NewAcceptServiceInvitationRequest calls the generic AcceptServiceInvitation builder with application/json body

func NewAcceptServiceInvitationRequestWithBody

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

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

func NewAcceptWebsiteServiceInvitationRequest

func NewAcceptWebsiteServiceInvitationRequest(server string, params *AcceptWebsiteServiceInvitationParams, body AcceptWebsiteServiceInvitationJSONRequestBody) (*http.Request, error)

NewAcceptWebsiteServiceInvitationRequest calls the generic AcceptWebsiteServiceInvitation builder with application/json body

func NewAcceptWebsiteServiceInvitationRequestWithBody

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

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

func NewActivateIdentityConnectionRequest

func NewActivateIdentityConnectionRequest(server string, teamId string, identityConnectionId string, params *ActivateIdentityConnectionParams, body ActivateIdentityConnectionJSONRequestBody) (*http.Request, error)

NewActivateIdentityConnectionRequest calls the generic ActivateIdentityConnection builder with application/json body

func NewActivateIdentityConnectionRequestWithBody

func NewActivateIdentityConnectionRequestWithBody(server string, teamId string, identityConnectionId string, params *ActivateIdentityConnectionParams, contentType string, body io.Reader) (*http.Request, error)

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

func NewApproveDeviceBrowserRequestWithBody

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

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

func NewApproveDeviceBrowserRequestWithFormdataBody

func NewApproveDeviceBrowserRequestWithFormdataBody(server string, body ApproveDeviceBrowserFormdataRequestBody) (*http.Request, error)

NewApproveDeviceBrowserRequestWithFormdataBody calls the generic ApproveDeviceBrowser builder with application/x-www-form-urlencoded body

func NewAttachWorkloadAssertionRequest

func NewAttachWorkloadAssertionRequest(server string, sessionId string, body AttachWorkloadAssertionJSONRequestBody) (*http.Request, error)

NewAttachWorkloadAssertionRequest calls the generic AttachWorkloadAssertion builder with application/json body

func NewAttachWorkloadAssertionRequestWithBody

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

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

func NewAuthorizeWebsiteTeamUsageRequest

func NewAuthorizeWebsiteTeamUsageRequest(server string, teamId TeamID, params *AuthorizeWebsiteTeamUsageParams) (*http.Request, error)

NewAuthorizeWebsiteTeamUsageRequest constructs an http.Request for the AuthorizeWebsiteTeamUsage method

func NewBeginDeviceBrowserRequest

func NewBeginDeviceBrowserRequest(server string, params *BeginDeviceBrowserParams) (*http.Request, error)

NewBeginDeviceBrowserRequest constructs an http.Request for the BeginDeviceBrowser method

func NewBeginIdentityConnectionSetupRequest

func NewBeginIdentityConnectionSetupRequest(server string, teamId string, params *BeginIdentityConnectionSetupParams, body BeginIdentityConnectionSetupJSONRequestBody) (*http.Request, error)

NewBeginIdentityConnectionSetupRequest calls the generic BeginIdentityConnectionSetup builder with application/json body

func NewBeginIdentityConnectionSetupRequestWithBody

func NewBeginIdentityConnectionSetupRequestWithBody(server string, teamId string, params *BeginIdentityConnectionSetupParams, contentType string, body io.Reader) (*http.Request, error)

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

func NewCancelDeviceLoginRequest

func NewCancelDeviceLoginRequest(server string, body CancelDeviceLoginJSONRequestBody) (*http.Request, error)

NewCancelDeviceLoginRequest calls the generic CancelDeviceLogin builder with application/json body

func NewCancelDeviceLoginRequestWithBody

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

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

func NewClaimTeamDomainRequest

func NewClaimTeamDomainRequest(server string, teamId TeamID, params *ClaimTeamDomainParams, body ClaimTeamDomainJSONRequestBody) (*http.Request, error)

NewClaimTeamDomainRequest calls the generic ClaimTeamDomain builder with application/json body

func NewClaimTeamDomainRequestWithBody

func NewClaimTeamDomainRequestWithBody(server string, teamId TeamID, params *ClaimTeamDomainParams, contentType string, body io.Reader) (*http.Request, error)

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

func NewCompleteDeviceBrowserRequest

func NewCompleteDeviceBrowserRequest(server string, params *CompleteDeviceBrowserParams) (*http.Request, error)

NewCompleteDeviceBrowserRequest constructs an http.Request for the CompleteDeviceBrowser method

func NewCreateCompanyLoginIntentRequest

func NewCreateCompanyLoginIntentRequest(server string, body CreateCompanyLoginIntentJSONRequestBody) (*http.Request, error)

NewCreateCompanyLoginIntentRequest calls the generic CreateCompanyLoginIntent builder with application/json body

func NewCreateCompanyLoginIntentRequestWithBody

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

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

func NewCreateTeamInvitationRequest

func NewCreateTeamInvitationRequest(server string, teamId TeamID, params *CreateTeamInvitationParams, body CreateTeamInvitationJSONRequestBody) (*http.Request, error)

NewCreateTeamInvitationRequest calls the generic CreateTeamInvitation builder with application/json body

func NewCreateTeamInvitationRequestWithBody

func NewCreateTeamInvitationRequestWithBody(server string, teamId TeamID, params *CreateTeamInvitationParams, contentType string, body io.Reader) (*http.Request, error)

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

func NewCreateTeamRequest

func NewCreateTeamRequest(server string, params *CreateTeamParams, body CreateTeamJSONRequestBody) (*http.Request, error)

NewCreateTeamRequest calls the generic CreateTeam builder with application/json body

func NewCreateTeamRequestWithBody

func NewCreateTeamRequestWithBody(server string, params *CreateTeamParams, 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 NewCreateWebsiteServiceHTTPGrantRequest

func NewCreateWebsiteServiceHTTPGrantRequest(server string, serviceId ServiceID, params *CreateWebsiteServiceHTTPGrantParams, body CreateWebsiteServiceHTTPGrantJSONRequestBody) (*http.Request, error)

NewCreateWebsiteServiceHTTPGrantRequest calls the generic CreateWebsiteServiceHTTPGrant builder with application/json body

func NewCreateWebsiteServiceHTTPGrantRequestWithBody

func NewCreateWebsiteServiceHTTPGrantRequestWithBody(server string, serviceId ServiceID, params *CreateWebsiteServiceHTTPGrantParams, contentType string, body io.Reader) (*http.Request, error)

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

func NewDecideCompanyAdmissionRequest

func NewDecideCompanyAdmissionRequest(server string, teamId string, requestId string, params *DecideCompanyAdmissionParams, body DecideCompanyAdmissionJSONRequestBody) (*http.Request, error)

NewDecideCompanyAdmissionRequest calls the generic DecideCompanyAdmission builder with application/json body

func NewDecideCompanyAdmissionRequestWithBody

func NewDecideCompanyAdmissionRequestWithBody(server string, teamId string, requestId string, params *DecideCompanyAdmissionParams, contentType string, body io.Reader) (*http.Request, error)

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

func NewDisconnectIdentityConnectionRequest

func NewDisconnectIdentityConnectionRequest(server string, teamId string, identityConnectionId string, params *DisconnectIdentityConnectionParams, body DisconnectIdentityConnectionJSONRequestBody) (*http.Request, error)

NewDisconnectIdentityConnectionRequest calls the generic DisconnectIdentityConnection builder with application/json body

func NewDisconnectIdentityConnectionRequestWithBody

func NewDisconnectIdentityConnectionRequestWithBody(server string, teamId string, identityConnectionId string, params *DisconnectIdentityConnectionParams, contentType string, body io.Reader) (*http.Request, error)

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

func NewExchangePublisherAssertionRequest

func NewExchangePublisherAssertionRequest(server string, body ExchangePublisherAssertionJSONRequestBody) (*http.Request, error)

NewExchangePublisherAssertionRequest calls the generic ExchangePublisherAssertion builder with application/json body

func NewExchangePublisherAssertionRequestWithBody

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

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

func NewExchangeWorkloadRequest

func NewExchangeWorkloadRequest(server string, body ExchangeWorkloadJSONRequestBody) (*http.Request, error)

NewExchangeWorkloadRequest calls the generic ExchangeWorkload builder with application/json body

func NewExchangeWorkloadRequestWithBody

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

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

func NewGetIdentityContextRequest

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

NewGetIdentityContextRequest constructs an http.Request for the GetIdentityContext method

func NewGetTeamFeedbackPolicyRequest

func NewGetTeamFeedbackPolicyRequest(server string, teamId string) (*http.Request, error)

NewGetTeamFeedbackPolicyRequest constructs an http.Request for the GetTeamFeedbackPolicy method

func NewGetTeamRequest

func NewGetTeamRequest(server string, teamId TeamID) (*http.Request, error)

NewGetTeamRequest constructs an http.Request for the GetTeam method

func NewGetWebsiteServiceRequest

func NewGetWebsiteServiceRequest(server string, serviceId ServiceID, params *GetWebsiteServiceParams) (*http.Request, error)

NewGetWebsiteServiceRequest constructs an http.Request for the GetWebsiteService method

func NewIdentifyWorkloadRequest

func NewIdentifyWorkloadRequest(server string, body IdentifyWorkloadJSONRequestBody) (*http.Request, error)

NewIdentifyWorkloadRequest calls the generic IdentifyWorkload builder with application/json body

func NewIdentifyWorkloadRequestWithBody

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

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

func NewInviteWebsiteServiceVisitorRequest

func NewInviteWebsiteServiceVisitorRequest(server string, serviceId ServiceID, params *InviteWebsiteServiceVisitorParams, body InviteWebsiteServiceVisitorJSONRequestBody) (*http.Request, error)

NewInviteWebsiteServiceVisitorRequest calls the generic InviteWebsiteServiceVisitor builder with application/json body

func NewInviteWebsiteServiceVisitorRequestWithBody

func NewInviteWebsiteServiceVisitorRequestWithBody(server string, serviceId ServiceID, params *InviteWebsiteServiceVisitorParams, contentType string, body io.Reader) (*http.Request, error)

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

func NewIssueControlBrowserHandoffRequest

func NewIssueControlBrowserHandoffRequest(server string, body IssueControlBrowserHandoffJSONRequestBody) (*http.Request, error)

NewIssueControlBrowserHandoffRequest calls the generic IssueControlBrowserHandoff builder with application/json body

func NewIssueControlBrowserHandoffRequestWithBody

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

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

func NewListCompanyAdmissionsRequest

func NewListCompanyAdmissionsRequest(server string, teamId string, params *ListCompanyAdmissionsParams) (*http.Request, error)

NewListCompanyAdmissionsRequest constructs an http.Request for the ListCompanyAdmissions method

func NewListTeamDomainsRequest

func NewListTeamDomainsRequest(server string, teamId TeamID) (*http.Request, error)

NewListTeamDomainsRequest constructs an http.Request for the ListTeamDomains method

func NewListTeamInvitationsRequest

func NewListTeamInvitationsRequest(server string, teamId TeamID) (*http.Request, error)

NewListTeamInvitationsRequest constructs an http.Request for the ListTeamInvitations method

func NewListTeamMembershipsRequest

func NewListTeamMembershipsRequest(server string, teamId TeamID) (*http.Request, error)

NewListTeamMembershipsRequest constructs an http.Request for the ListTeamMemberships method

func NewListTeamsRequest

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

NewListTeamsRequest constructs an http.Request for the ListTeams method

func NewListWebsiteServiceGrantsRequest

func NewListWebsiteServiceGrantsRequest(server string, serviceId ServiceID, params *ListWebsiteServiceGrantsParams) (*http.Request, error)

NewListWebsiteServiceGrantsRequest constructs an http.Request for the ListWebsiteServiceGrants method

func NewListWebsiteServiceHTTPGrantsRequest

func NewListWebsiteServiceHTTPGrantsRequest(server string, serviceId ServiceID, params *ListWebsiteServiceHTTPGrantsParams) (*http.Request, error)

NewListWebsiteServiceHTTPGrantsRequest constructs an http.Request for the ListWebsiteServiceHTTPGrants method

func NewListWebsiteServiceInvitationsRequest

func NewListWebsiteServiceInvitationsRequest(server string, serviceId ServiceID, params *ListWebsiteServiceInvitationsParams) (*http.Request, error)

NewListWebsiteServiceInvitationsRequest constructs an http.Request for the ListWebsiteServiceInvitations method

func NewListWebsiteServicesRequest

func NewListWebsiteServicesRequest(server string, teamId TeamID, params *ListWebsiteServicesParams) (*http.Request, error)

NewListWebsiteServicesRequest constructs an http.Request for the ListWebsiteServices method

func NewLogoutControlSessionRequest

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

NewLogoutControlSessionRequest constructs an http.Request for the LogoutControlSession method

func NewPollDeviceLoginRequest

func NewPollDeviceLoginRequest(server string, body PollDeviceLoginJSONRequestBody) (*http.Request, error)

NewPollDeviceLoginRequest calls the generic PollDeviceLogin builder with application/json body

func NewPollDeviceLoginRequestWithBody

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

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

func NewPreviewServiceInvitationRequest

func NewPreviewServiceInvitationRequest(server string, body PreviewServiceInvitationJSONRequestBody) (*http.Request, error)

NewPreviewServiceInvitationRequest calls the generic PreviewServiceInvitation builder with application/json body

func NewPreviewServiceInvitationRequestWithBody

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

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

func NewPreviewWebsiteServiceInvitationRequest

func NewPreviewWebsiteServiceInvitationRequest(server string, params *PreviewWebsiteServiceInvitationParams, body PreviewWebsiteServiceInvitationJSONRequestBody) (*http.Request, error)

NewPreviewWebsiteServiceInvitationRequest calls the generic PreviewWebsiteServiceInvitation builder with application/json body

func NewPreviewWebsiteServiceInvitationRequestWithBody

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

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

func NewProvisionCompanyEligibilityRequest

func NewProvisionCompanyEligibilityRequest(server string, params *ProvisionCompanyEligibilityParams, body ProvisionCompanyEligibilityJSONRequestBody) (*http.Request, error)

NewProvisionCompanyEligibilityRequest calls the generic ProvisionCompanyEligibility builder with application/json body

func NewProvisionCompanyEligibilityRequestWithBody

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

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

func NewReadCompanyConnectionsRequest

func NewReadCompanyConnectionsRequest(server string, teamId string, params *ReadCompanyConnectionsParams) (*http.Request, error)

NewReadCompanyConnectionsRequest constructs an http.Request for the ReadCompanyConnections method

func NewRecoverCompanyOwnerRequest

func NewRecoverCompanyOwnerRequest(server string, body RecoverCompanyOwnerJSONRequestBody) (*http.Request, error)

NewRecoverCompanyOwnerRequest calls the generic RecoverCompanyOwner builder with application/json body

func NewRecoverCompanyOwnerRequestWithBody

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

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

func NewRedeemPublisherEnrollmentRequest

func NewRedeemPublisherEnrollmentRequest(server string, body RedeemPublisherEnrollmentJSONRequestBody) (*http.Request, error)

NewRedeemPublisherEnrollmentRequest calls the generic RedeemPublisherEnrollment builder with application/json body

func NewRedeemPublisherEnrollmentRequestWithBody

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

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

func NewRefreshControlSessionRequest

func NewRefreshControlSessionRequest(server string, body RefreshControlSessionJSONRequestBody) (*http.Request, error)

NewRefreshControlSessionRequest calls the generic RefreshControlSession builder with application/json body

func NewRefreshControlSessionRequestWithBody

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

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

func NewReleaseTeamDomainRequest

func NewReleaseTeamDomainRequest(server string, teamId TeamID, domainId DomainID) (*http.Request, error)

NewReleaseTeamDomainRequest constructs an http.Request for the ReleaseTeamDomain method

func NewRemoveMembershipRequest

func NewRemoveMembershipRequest(server string, teamId TeamID, membershipId MembershipID) (*http.Request, error)

NewRemoveMembershipRequest constructs an http.Request for the RemoveMembership method

func NewRenewWorkloadSessionRequest

func NewRenewWorkloadSessionRequest(server string, sessionId string) (*http.Request, error)

NewRenewWorkloadSessionRequest constructs an http.Request for the RenewWorkloadSession method

func NewRequestCompanyAdmissionRequest

func NewRequestCompanyAdmissionRequest(server string, body RequestCompanyAdmissionJSONRequestBody) (*http.Request, error)

NewRequestCompanyAdmissionRequest calls the generic RequestCompanyAdmission builder with application/json body

func NewRequestCompanyAdmissionRequestWithBody

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

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

func NewResolveCompanyLoginIntentRequest

func NewResolveCompanyLoginIntentRequest(server string, intentId string, body ResolveCompanyLoginIntentJSONRequestBody) (*http.Request, error)

NewResolveCompanyLoginIntentRequest calls the generic ResolveCompanyLoginIntent builder with application/json body

func NewResolveCompanyLoginIntentRequestWithBody

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

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

func NewResolveServiceIdentityRequest

func NewResolveServiceIdentityRequest(server string, body ResolveServiceIdentityJSONRequestBody) (*http.Request, error)

NewResolveServiceIdentityRequest calls the generic ResolveServiceIdentity builder with application/json body

func NewResolveServiceIdentityRequestWithBody

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

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

func NewRevokeTeamInvitationRequest

func NewRevokeTeamInvitationRequest(server string, teamId TeamID, invitationId InvitationID) (*http.Request, error)

NewRevokeTeamInvitationRequest constructs an http.Request for the RevokeTeamInvitation method

func NewRevokeWebsiteServiceGrantRequest

func NewRevokeWebsiteServiceGrantRequest(server string, serviceId ServiceID, grantId externalRef0.ServiceGrantID, params *RevokeWebsiteServiceGrantParams) (*http.Request, error)

NewRevokeWebsiteServiceGrantRequest constructs an http.Request for the RevokeWebsiteServiceGrant method

func NewRevokeWebsiteServiceHTTPGrantRequest

func NewRevokeWebsiteServiceHTTPGrantRequest(server string, serviceId ServiceID, grantId string, params *RevokeWebsiteServiceHTTPGrantParams) (*http.Request, error)

NewRevokeWebsiteServiceHTTPGrantRequest constructs an http.Request for the RevokeWebsiteServiceHTTPGrant method

func NewRevokeWebsiteServiceInvitationRequest

func NewRevokeWebsiteServiceInvitationRequest(server string, serviceId ServiceID, invitationId externalRef0.ServiceInvitationID, params *RevokeWebsiteServiceInvitationParams) (*http.Request, error)

NewRevokeWebsiteServiceInvitationRequest constructs an http.Request for the RevokeWebsiteServiceInvitation method

func NewRevokeWorkloadSessionRequest

func NewRevokeWorkloadSessionRequest(server string, sessionId string) (*http.Request, error)

NewRevokeWorkloadSessionRequest constructs an http.Request for the RevokeWorkloadSession method

func NewRotateCompanyProvisioningTokenRequest

func NewRotateCompanyProvisioningTokenRequest(server string, teamId string, identityConnectionId string, params *RotateCompanyProvisioningTokenParams, body RotateCompanyProvisioningTokenJSONRequestBody) (*http.Request, error)

NewRotateCompanyProvisioningTokenRequest calls the generic RotateCompanyProvisioningToken builder with application/json body

func NewRotateCompanyProvisioningTokenRequestWithBody

func NewRotateCompanyProvisioningTokenRequestWithBody(server string, teamId string, identityConnectionId string, params *RotateCompanyProvisioningTokenParams, contentType string, body io.Reader) (*http.Request, error)

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

func NewRotatePublisherKeyRequest

func NewRotatePublisherKeyRequest(server string, body RotatePublisherKeyJSONRequestBody) (*http.Request, error)

NewRotatePublisherKeyRequest calls the generic RotatePublisherKey builder with application/json body

func NewRotatePublisherKeyRequestWithBody

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

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

func NewSetCompanyInvitationExceptionRequest

func NewSetCompanyInvitationExceptionRequest(server string, teamId string, invitationId string, params *SetCompanyInvitationExceptionParams, body SetCompanyInvitationExceptionJSONRequestBody) (*http.Request, error)

NewSetCompanyInvitationExceptionRequest calls the generic SetCompanyInvitationException builder with application/json body

func NewSetCompanyInvitationExceptionRequestWithBody

func NewSetCompanyInvitationExceptionRequestWithBody(server string, teamId string, invitationId string, params *SetCompanyInvitationExceptionParams, contentType string, body io.Reader) (*http.Request, error)

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

func NewSetCompanyMembershipDecisionRequest

func NewSetCompanyMembershipDecisionRequest(server string, teamId string, membershipId string, params *SetCompanyMembershipDecisionParams, body SetCompanyMembershipDecisionJSONRequestBody) (*http.Request, error)

NewSetCompanyMembershipDecisionRequest calls the generic SetCompanyMembershipDecision builder with application/json body

func NewSetCompanyMembershipDecisionRequestWithBody

func NewSetCompanyMembershipDecisionRequestWithBody(server string, teamId string, membershipId string, params *SetCompanyMembershipDecisionParams, contentType string, body io.Reader) (*http.Request, error)

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

func NewSetMembershipRoleRequest

func NewSetMembershipRoleRequest(server string, teamId TeamID, membershipId MembershipID, body SetMembershipRoleJSONRequestBody) (*http.Request, error)

NewSetMembershipRoleRequest calls the generic SetMembershipRole builder with application/json body

func NewSetMembershipRoleRequestWithBody

func NewSetMembershipRoleRequestWithBody(server string, teamId TeamID, membershipId MembershipID, contentType string, body io.Reader) (*http.Request, error)

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

func NewSetTeamDefaultDomainRequest

func NewSetTeamDefaultDomainRequest(server string, teamId TeamID, domainId DomainID) (*http.Request, error)

NewSetTeamDefaultDomainRequest constructs an http.Request for the SetTeamDefaultDomain method

func NewSetTeamFeedbackPolicyRequest

func NewSetTeamFeedbackPolicyRequest(server string, teamId string, body SetTeamFeedbackPolicyJSONRequestBody) (*http.Request, error)

NewSetTeamFeedbackPolicyRequest calls the generic SetTeamFeedbackPolicy builder with application/json body

func NewSetTeamFeedbackPolicyRequestWithBody

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

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

func NewStartDeviceLoginRequest

func NewStartDeviceLoginRequest(server string, body StartDeviceLoginJSONRequestBody) (*http.Request, error)

NewStartDeviceLoginRequest calls the generic StartDeviceLogin builder with application/json body

func NewStartDeviceLoginRequestWithBody

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

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

Types

type AcceptInvitationJSONRequestBody

type AcceptInvitationJSONRequestBody = AcceptInvitationRequest

AcceptInvitationJSONRequestBody defines body for AcceptInvitation for application/json ContentType.

type AcceptInvitationRequest

type AcceptInvitationRequest struct {
	Secret string `json:"secret"`
}

AcceptInvitationRequest defines model for AcceptInvitationRequest.

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 AcceptServiceInvitationJSONRequestBody

type AcceptServiceInvitationJSONRequestBody = ServiceInvitationRequest

AcceptServiceInvitationJSONRequestBody defines body for AcceptServiceInvitation for application/json ContentType.

type AcceptServiceInvitationResponse

type AcceptServiceInvitationResponse 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 ParseAcceptServiceInvitationResponse

func ParseAcceptServiceInvitationResponse(rsp *http.Response) (*AcceptServiceInvitationResponse, error)

ParseAcceptServiceInvitationResponse parses an HTTP response from a AcceptServiceInvitationWithResponse call

func (AcceptServiceInvitationResponse) ContentType

func (r AcceptServiceInvitationResponse) ContentType() string

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

func (AcceptServiceInvitationResponse) GetApplicationproblemJSONDefault

func (r AcceptServiceInvitationResponse) GetApplicationproblemJSONDefault() *Problem

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

func (AcceptServiceInvitationResponse) GetBody

func (r AcceptServiceInvitationResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (AcceptServiceInvitationResponse) GetJSON200

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

func (AcceptServiceInvitationResponse) Status

Status returns HTTPResponse.Status

func (AcceptServiceInvitationResponse) StatusCode

func (r AcceptServiceInvitationResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AcceptWebsiteServiceInvitationJSONRequestBody

type AcceptWebsiteServiceInvitationJSONRequestBody = ServiceInvitationCredential

AcceptWebsiteServiceInvitationJSONRequestBody defines body for AcceptWebsiteServiceInvitation for application/json ContentType.

type AcceptWebsiteServiceInvitationParams

type AcceptWebsiteServiceInvitationParams struct {
	// XTnlActorToken Configured-issuer, configured-client signed human assertion with unique jti and at most five-minute lifetime. Nonce is base64url(SHA256("tnl.service.actor.v1\n" + METHOD + "\n" + escaped path and raw query + "\n" + base64url(SHA256(exact body bytes)))); base64url has no padding. GET and DELETE use an empty body. Only these service bridge operations accept this purpose. Current control identity, roles, eligibility and signed company source contexts are checked transactionally; website credentials and token roles alone grant nothing.
	XTnlActorToken ServiceActorToken `json:"X-Tnl-Actor-Token"`
}

AcceptWebsiteServiceInvitationParams defines parameters for AcceptWebsiteServiceInvitation.

type AcceptWebsiteServiceInvitationResponse

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

func ParseAcceptWebsiteServiceInvitationResponse

func ParseAcceptWebsiteServiceInvitationResponse(rsp *http.Response) (*AcceptWebsiteServiceInvitationResponse, error)

ParseAcceptWebsiteServiceInvitationResponse parses an HTTP response from a AcceptWebsiteServiceInvitationWithResponse call

func (AcceptWebsiteServiceInvitationResponse) ContentType

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

func (AcceptWebsiteServiceInvitationResponse) GetApplicationproblemJSONDefault

func (r AcceptWebsiteServiceInvitationResponse) GetApplicationproblemJSONDefault() *Problem

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

func (AcceptWebsiteServiceInvitationResponse) GetBody

GetBody returns the raw response body bytes

func (AcceptWebsiteServiceInvitationResponse) GetJSON200

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

func (AcceptWebsiteServiceInvitationResponse) Status

Status returns HTTPResponse.Status

func (AcceptWebsiteServiceInvitationResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ActivateIdentityConnectionJSONBody

type ActivateIdentityConnectionJSONBody struct {
	ExpectedRevision int64 `json:"expected_revision"`

	// ProvisioningToken Random 256-bit credential durably chosen by the owner before activation. Exact retries return this credential only while its digest remains current; they never rotate it. Requires the same setup capability and fresh current owner/source authorization.
	ProvisioningToken string `json:"provisioning_token"`
	SetupToken        string `json:"setup_token"`
}

ActivateIdentityConnectionJSONBody defines parameters for ActivateIdentityConnection.

type ActivateIdentityConnectionJSONRequestBody

type ActivateIdentityConnectionJSONRequestBody ActivateIdentityConnectionJSONBody

ActivateIdentityConnectionJSONRequestBody defines body for ActivateIdentityConnection for application/json ContentType.

type ActivateIdentityConnectionParams

type ActivateIdentityConnectionParams struct {
	// XTnlActorToken Fresh configured-issuer ID token; nonce is the operation-bound digest specified by company access. Its OIDC sub resolves the actor. The website credential alone grants no owner authority.
	XTnlActorToken CompanyActorToken `json:"X-Tnl-Actor-Token"`
}

ActivateIdentityConnectionParams defines parameters for ActivateIdentityConnection.

type ActivateIdentityConnectionResponse

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

func ParseActivateIdentityConnectionResponse

func ParseActivateIdentityConnectionResponse(rsp *http.Response) (*ActivateIdentityConnectionResponse, error)

ParseActivateIdentityConnectionResponse parses an HTTP response from a ActivateIdentityConnectionWithResponse call

func (ActivateIdentityConnectionResponse) ContentType

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

func (ActivateIdentityConnectionResponse) GetApplicationproblemJSONDefault

func (r ActivateIdentityConnectionResponse) GetApplicationproblemJSONDefault() *Problem

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

func (ActivateIdentityConnectionResponse) GetBody

GetBody returns the raw response body bytes

func (ActivateIdentityConnectionResponse) GetJSON200

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

func (ActivateIdentityConnectionResponse) Status

Status returns HTTPResponse.Status

func (ActivateIdentityConnectionResponse) StatusCode

func (r ActivateIdentityConnectionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ApproveDeviceBrowserFormdataBody

type ApproveDeviceBrowserFormdataBody struct {
	Binding string `form:"binding" json:"binding"`
	Code    string `form:"code" json:"code"`
}

ApproveDeviceBrowserFormdataBody defines parameters for ApproveDeviceBrowser.

type ApproveDeviceBrowserFormdataRequestBody

type ApproveDeviceBrowserFormdataRequestBody ApproveDeviceBrowserFormdataBody

ApproveDeviceBrowserFormdataRequestBody defines body for ApproveDeviceBrowser for application/x-www-form-urlencoded ContentType.

type ApproveDeviceBrowserResponse

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

func ParseApproveDeviceBrowserResponse

func ParseApproveDeviceBrowserResponse(rsp *http.Response) (*ApproveDeviceBrowserResponse, error)

ParseApproveDeviceBrowserResponse parses an HTTP response from a ApproveDeviceBrowserWithResponse call

func (ApproveDeviceBrowserResponse) ContentType

func (r ApproveDeviceBrowserResponse) ContentType() string

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

func (ApproveDeviceBrowserResponse) GetApplicationproblemJSONDefault

func (r ApproveDeviceBrowserResponse) GetApplicationproblemJSONDefault() *Problem

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

func (ApproveDeviceBrowserResponse) GetBody

func (r ApproveDeviceBrowserResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ApproveDeviceBrowserResponse) Status

Status returns HTTPResponse.Status

func (ApproveDeviceBrowserResponse) StatusCode

func (r ApproveDeviceBrowserResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AttachWorkloadAssertionJSONRequestBody

type AttachWorkloadAssertionJSONRequestBody = WorkloadAssertion

AttachWorkloadAssertionJSONRequestBody defines body for AttachWorkloadAssertion for application/json ContentType.

type AttachWorkloadAssertionResponse

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

func ParseAttachWorkloadAssertionResponse

func ParseAttachWorkloadAssertionResponse(rsp *http.Response) (*AttachWorkloadAssertionResponse, error)

ParseAttachWorkloadAssertionResponse parses an HTTP response from a AttachWorkloadAssertionWithResponse call

func (AttachWorkloadAssertionResponse) ContentType

func (r AttachWorkloadAssertionResponse) ContentType() string

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

func (AttachWorkloadAssertionResponse) GetApplicationproblemJSONDefault

func (r AttachWorkloadAssertionResponse) GetApplicationproblemJSONDefault() *Problem

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

func (AttachWorkloadAssertionResponse) GetBody

func (r AttachWorkloadAssertionResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (AttachWorkloadAssertionResponse) GetJSON200

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

func (AttachWorkloadAssertionResponse) Status

Status returns HTTPResponse.Status

func (AttachWorkloadAssertionResponse) StatusCode

func (r AttachWorkloadAssertionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AuthorizeWebsiteTeamUsageParams

type AuthorizeWebsiteTeamUsageParams struct {
	// XTnlActorToken Configured-issuer, configured-client signed human assertion with unique jti and at most five-minute lifetime. Nonce is base64url(SHA256("tnl.service.actor.v1\n" + METHOD + "\n" + escaped path and raw query + "\n" + base64url(SHA256(exact body bytes)))); base64url has no padding. GET and DELETE use an empty body. Only these service bridge operations accept this purpose. Current control identity, roles, eligibility and signed company source contexts are checked transactionally; website credentials and token roles alone grant nothing.
	XTnlActorToken ServiceActorToken `json:"X-Tnl-Actor-Token"`
}

AuthorizeWebsiteTeamUsageParams defines parameters for AuthorizeWebsiteTeamUsage.

type AuthorizeWebsiteTeamUsageResponse

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

func ParseAuthorizeWebsiteTeamUsageResponse

func ParseAuthorizeWebsiteTeamUsageResponse(rsp *http.Response) (*AuthorizeWebsiteTeamUsageResponse, error)

ParseAuthorizeWebsiteTeamUsageResponse parses an HTTP response from a AuthorizeWebsiteTeamUsageWithResponse call

func (AuthorizeWebsiteTeamUsageResponse) ContentType

func (r AuthorizeWebsiteTeamUsageResponse) ContentType() string

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

func (AuthorizeWebsiteTeamUsageResponse) GetApplicationproblemJSONDefault

func (r AuthorizeWebsiteTeamUsageResponse) GetApplicationproblemJSONDefault() *Problem

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

func (AuthorizeWebsiteTeamUsageResponse) GetBody

GetBody returns the raw response body bytes

func (AuthorizeWebsiteTeamUsageResponse) Status

Status returns HTTPResponse.Status

func (AuthorizeWebsiteTeamUsageResponse) StatusCode

func (r AuthorizeWebsiteTeamUsageResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type BearerProblem

type BearerProblem = Problem

BearerProblem defines model for BearerProblem.

type BeginDeviceBrowserParams

type BeginDeviceBrowserParams struct {
	Code string `form:"code" json:"code"`
}

BeginDeviceBrowserParams defines parameters for BeginDeviceBrowser.

type BeginDeviceBrowserResponse

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

func ParseBeginDeviceBrowserResponse

func ParseBeginDeviceBrowserResponse(rsp *http.Response) (*BeginDeviceBrowserResponse, error)

ParseBeginDeviceBrowserResponse parses an HTTP response from a BeginDeviceBrowserWithResponse call

func (BeginDeviceBrowserResponse) ContentType

func (r BeginDeviceBrowserResponse) ContentType() string

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

func (BeginDeviceBrowserResponse) GetApplicationproblemJSONDefault

func (r BeginDeviceBrowserResponse) GetApplicationproblemJSONDefault() *Problem

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

func (BeginDeviceBrowserResponse) GetBody

func (r BeginDeviceBrowserResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (BeginDeviceBrowserResponse) Status

Status returns HTTPResponse.Status

func (BeginDeviceBrowserResponse) StatusCode

func (r BeginDeviceBrowserResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type BeginIdentityConnectionSetupJSONRequestBody

type BeginIdentityConnectionSetupJSONRequestBody = CreateIdentityConnectionRequest

BeginIdentityConnectionSetupJSONRequestBody defines body for BeginIdentityConnectionSetup for application/json ContentType.

type BeginIdentityConnectionSetupParams

type BeginIdentityConnectionSetupParams struct {
	// XTnlActorToken Fresh configured-issuer ID token; nonce is the operation-bound digest specified by company access. Its OIDC sub resolves the actor. The website credential alone grants no owner authority.
	XTnlActorToken CompanyActorToken `json:"X-Tnl-Actor-Token"`
}

BeginIdentityConnectionSetupParams defines parameters for BeginIdentityConnectionSetup.

type BeginIdentityConnectionSetupResponse

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

func ParseBeginIdentityConnectionSetupResponse

func ParseBeginIdentityConnectionSetupResponse(rsp *http.Response) (*BeginIdentityConnectionSetupResponse, error)

ParseBeginIdentityConnectionSetupResponse parses an HTTP response from a BeginIdentityConnectionSetupWithResponse call

func (BeginIdentityConnectionSetupResponse) ContentType

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

func (BeginIdentityConnectionSetupResponse) GetApplicationproblemJSONDefault

func (r BeginIdentityConnectionSetupResponse) GetApplicationproblemJSONDefault() *Problem

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

func (BeginIdentityConnectionSetupResponse) GetBody

GetBody returns the raw response body bytes

func (BeginIdentityConnectionSetupResponse) GetJSON201

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

func (BeginIdentityConnectionSetupResponse) Status

Status returns HTTPResponse.Status

func (BeginIdentityConnectionSetupResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type CancelDeviceLoginJSONRequestBody

type CancelDeviceLoginJSONRequestBody = DeviceLoginCredential

CancelDeviceLoginJSONRequestBody defines body for CancelDeviceLogin for application/json ContentType.

type CancelDeviceLoginResponse

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

func ParseCancelDeviceLoginResponse

func ParseCancelDeviceLoginResponse(rsp *http.Response) (*CancelDeviceLoginResponse, error)

ParseCancelDeviceLoginResponse parses an HTTP response from a CancelDeviceLoginWithResponse call

func (CancelDeviceLoginResponse) ContentType

func (r CancelDeviceLoginResponse) ContentType() string

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

func (CancelDeviceLoginResponse) GetApplicationproblemJSONDefault

func (r CancelDeviceLoginResponse) GetApplicationproblemJSONDefault() *Problem

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

func (CancelDeviceLoginResponse) GetBody

func (r CancelDeviceLoginResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (CancelDeviceLoginResponse) Status

func (r CancelDeviceLoginResponse) Status() string

Status returns HTTPResponse.Status

func (CancelDeviceLoginResponse) StatusCode

func (r CancelDeviceLoginResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CanonicalHostname

type CanonicalHostname = string

CanonicalHostname defines model for CanonicalHostname.

type CanonicalLabel

type CanonicalLabel = string

CanonicalLabel defines model for CanonicalLabel.

type CertificateChallengeMethod

type CertificateChallengeMethod string

CertificateChallengeMethod defines model for CertificateChallengeMethod.

const (
	Dns01 CertificateChallengeMethod = "dns-01"
)

Defines values for CertificateChallengeMethod.

func (CertificateChallengeMethod) Valid

func (e CertificateChallengeMethod) Valid() bool

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

type CertificatePlan

type CertificatePlan struct {
	CacheKey        string                     `json:"cache_key"`
	ChallengeMethod CertificateChallengeMethod `json:"challenge_method"`
	Identifiers     []string                   `json:"identifiers"`
	Scope           string                     `json:"scope"`
}

CertificatePlan defines model for CertificatePlan.

type ClaimDomainRequest

type ClaimDomainRequest struct {
	Domain      CanonicalHostname `json:"domain"`
	MakeDefault *bool             `json:"make_default,omitempty"`
}

ClaimDomainRequest defines model for ClaimDomainRequest.

type ClaimTeamDomainJSONRequestBody

type ClaimTeamDomainJSONRequestBody = ClaimDomainRequest

ClaimTeamDomainJSONRequestBody defines body for ClaimTeamDomain for application/json ContentType.

type ClaimTeamDomainParams

type ClaimTeamDomainParams struct {
	IdempotencyKey IdempotencyKey `json:"Idempotency-Key"`
}

ClaimTeamDomainParams defines parameters for ClaimTeamDomain.

type ClaimTeamDomainResponse

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

func ParseClaimTeamDomainResponse

func ParseClaimTeamDomainResponse(rsp *http.Response) (*ClaimTeamDomainResponse, error)

ParseClaimTeamDomainResponse parses an HTTP response from a ClaimTeamDomainWithResponse call

func (ClaimTeamDomainResponse) ContentType

func (r ClaimTeamDomainResponse) ContentType() string

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

func (ClaimTeamDomainResponse) GetApplicationproblemJSONDefault

func (r ClaimTeamDomainResponse) GetApplicationproblemJSONDefault() *Problem

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

func (ClaimTeamDomainResponse) GetBody

func (r ClaimTeamDomainResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ClaimTeamDomainResponse) GetJSON201

func (r ClaimTeamDomainResponse) GetJSON201() *Domain

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

func (ClaimTeamDomainResponse) Status

func (r ClaimTeamDomainResponse) Status() string

Status returns HTTPResponse.Status

func (ClaimTeamDomainResponse) StatusCode

func (r ClaimTeamDomainResponse) 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, body AcceptInvitationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

AcceptInvitation Accept an invitation with its secret

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

Corresponds with POST /v1/invitations/accept (the `AcceptInvitation` operationId).

func (*Client) AcceptInvitationWithBody

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

AcceptInvitationWithBody Accept an invitation with its secret

Takes any type of body and a specified content type.

Corresponds with POST /v1/invitations/accept (the `AcceptInvitation` operationId).

func (*Client) AcceptServiceInvitation

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

AcceptServiceInvitation Accept an invitation for the signed-in website identity

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

Corresponds with POST /v1/service/invitations/accept (the `AcceptServiceInvitation` operationId).

func (*Client) AcceptServiceInvitationWithBody

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

AcceptServiceInvitationWithBody Accept an invitation for the signed-in website identity

Takes any type of body and a specified content type.

Corresponds with POST /v1/service/invitations/accept (the `AcceptServiceInvitation` operationId).

func (*Client) AcceptWebsiteServiceInvitation

func (c *Client) AcceptWebsiteServiceInvitation(ctx context.Context, params *AcceptWebsiteServiceInvitationParams, body AcceptWebsiteServiceInvitationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

AcceptWebsiteServiceInvitation performs a POST /v1/service/service-invitations/accept (the `AcceptWebsiteServiceInvitation` operationId) request. Takes a body of the `application/json` content type.

func (*Client) AcceptWebsiteServiceInvitationWithBody

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

AcceptWebsiteServiceInvitationWithBody performs a POST /v1/service/service-invitations/accept (the `AcceptWebsiteServiceInvitation` operationId) request, with any type of body and a specified content type.

func (*Client) ActivateIdentityConnection

func (c *Client) ActivateIdentityConnection(ctx context.Context, teamId string, identityConnectionId string, params *ActivateIdentityConnectionParams, body ActivateIdentityConnectionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

ActivateIdentityConnection performs a POST /v1/service/teams/{team_id}/identity-connections/{identity_connection_id}/activate (the `ActivateIdentityConnection` operationId) request. Takes a body of the `application/json` content type.

func (*Client) ActivateIdentityConnectionWithBody

func (c *Client) ActivateIdentityConnectionWithBody(ctx context.Context, teamId string, identityConnectionId string, params *ActivateIdentityConnectionParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

ActivateIdentityConnectionWithBody performs a POST /v1/service/teams/{team_id}/identity-connections/{identity_connection_id}/activate (the `ActivateIdentityConnection` operationId) request, with any type of body and a specified content type.

func (*Client) ApproveDeviceBrowserWithBody

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

ApproveDeviceBrowserWithBody Confirm the displayed device code after browser OIDC authentication

Takes any type of body and a specified content type.

Corresponds with POST /v1/auth/device/approve (the `ApproveDeviceBrowser` operationId).

func (*Client) ApproveDeviceBrowserWithFormdataBody

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

ApproveDeviceBrowserWithFormdataBody Confirm the displayed device code after browser OIDC authentication

Takes a body of the `application/x-www-form-urlencoded` content type.

Corresponds with POST /v1/auth/device/approve (the `ApproveDeviceBrowser` operationId).

func (*Client) AttachWorkloadAssertion

func (c *Client) AttachWorkloadAssertion(ctx context.Context, sessionId string, body AttachWorkloadAssertionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

AttachWorkloadAssertion performs a POST /v1/workload-sessions/{session_id}/assertions (the `AttachWorkloadAssertion` operationId) request. Takes a body of the `application/json` content type.

func (*Client) AttachWorkloadAssertionWithBody

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

AttachWorkloadAssertionWithBody performs a POST /v1/workload-sessions/{session_id}/assertions (the `AttachWorkloadAssertion` operationId) request, with any type of body and a specified content type.

func (*Client) AuthorizeWebsiteTeamUsage

func (c *Client) AuthorizeWebsiteTeamUsage(ctx context.Context, teamId TeamID, params *AuthorizeWebsiteTeamUsageParams, reqEditors ...RequestEditorFn) (*http.Response, error)

AuthorizeWebsiteTeamUsage performs a GET /v1/service/teams/{team_id}/usage-authorization (the `AuthorizeWebsiteTeamUsage` operationId) request.

Authorize one website usage read for any current active team member, including a personal-team owner. Requires a fresh configured-issuer assertion with auth_time, a unique jti and nonce using the tnl.team-usage.actor.v1 purpose, bound to the exact method, escaped path, raw query and empty body. Control consumes the assertion and rechecks identity, membership and current company source/eligibility. Success grants no service management or visitor credential and is not reusable authorization. No saved service or inventory read is required.

func (*Client) BeginDeviceBrowser

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

BeginDeviceBrowser Begin browser authentication for a control-issued device code

Corresponds with GET /v1/auth/device/approve (the `BeginDeviceBrowser` operationId).

func (*Client) BeginIdentityConnectionSetup

func (c *Client) BeginIdentityConnectionSetup(ctx context.Context, teamId string, params *BeginIdentityConnectionSetupParams, body BeginIdentityConnectionSetupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

BeginIdentityConnectionSetup Begin consent setup without changing current enforcement

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

Corresponds with POST /v1/service/teams/{team_id}/identity-connections (the `BeginIdentityConnectionSetup` operationId).

func (*Client) BeginIdentityConnectionSetupWithBody

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

BeginIdentityConnectionSetupWithBody Begin consent setup without changing current enforcement

Takes any type of body and a specified content type.

Corresponds with POST /v1/service/teams/{team_id}/identity-connections (the `BeginIdentityConnectionSetup` operationId).

func (*Client) CancelDeviceLogin

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

CancelDeviceLogin Cancel an attempt and revoke any session it issued

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

Corresponds with POST /v1/auth/device/cancel (the `CancelDeviceLogin` operationId).

func (*Client) CancelDeviceLoginWithBody

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

CancelDeviceLoginWithBody Cancel an attempt and revoke any session it issued

Takes any type of body and a specified content type.

Corresponds with POST /v1/auth/device/cancel (the `CancelDeviceLogin` operationId).

func (*Client) ClaimTeamDomain

func (c *Client) ClaimTeamDomain(ctx context.Context, teamId TeamID, params *ClaimTeamDomainParams, body ClaimTeamDomainJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

ClaimTeamDomain Begin claiming one domain

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

Corresponds with POST /v1/teams/{team_id}/domains (the `ClaimTeamDomain` operationId).

func (*Client) ClaimTeamDomainWithBody

func (c *Client) ClaimTeamDomainWithBody(ctx context.Context, teamId TeamID, params *ClaimTeamDomainParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

ClaimTeamDomainWithBody Begin claiming one domain

Takes any type of body and a specified content type.

Corresponds with POST /v1/teams/{team_id}/domains (the `ClaimTeamDomain` operationId).

func (*Client) CompleteDeviceBrowser

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

CompleteDeviceBrowser Redeem one state-bound authorization code and show explicit device confirmation

Corresponds with GET /v1/auth/device/callback (the `CompleteDeviceBrowser` operationId).

func (*Client) CreateCompanyLoginIntent

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

CreateCompanyLoginIntent performs a POST /v1/auth/company-intents (the `CreateCompanyLoginIntent` operationId) request. Takes a body of the `application/json` content type.

func (*Client) CreateCompanyLoginIntentWithBody

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

CreateCompanyLoginIntentWithBody performs a POST /v1/auth/company-intents (the `CreateCompanyLoginIntent` operationId) request, with any type of body and a specified content type.

func (*Client) CreateTeam

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

CreateTeam Create an organization team

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

Corresponds with POST /v1/teams (the `CreateTeam` operationId).

func (*Client) CreateTeamInvitation

func (c *Client) CreateTeamInvitation(ctx context.Context, teamId TeamID, params *CreateTeamInvitationParams, body CreateTeamInvitationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateTeamInvitation Create an expiring invitation

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

Corresponds with POST /v1/teams/{team_id}/invitations (the `CreateTeamInvitation` operationId).

func (*Client) CreateTeamInvitationWithBody

func (c *Client) CreateTeamInvitationWithBody(ctx context.Context, teamId TeamID, params *CreateTeamInvitationParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateTeamInvitationWithBody Create an expiring invitation

Takes any type of body and a specified content type.

Corresponds with POST /v1/teams/{team_id}/invitations (the `CreateTeamInvitation` operationId).

func (*Client) CreateTeamWithBody

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

CreateTeamWithBody Create an organization team

Takes any type of body and a specified content type.

Corresponds with POST /v1/teams (the `CreateTeam` operationId).

func (*Client) CreateWebsiteServiceHTTPGrant

func (c *Client) CreateWebsiteServiceHTTPGrant(ctx context.Context, serviceId ServiceID, params *CreateWebsiteServiceHTTPGrantParams, body CreateWebsiteServiceHTTPGrantJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateWebsiteServiceHTTPGrant performs a POST /v1/service/services/{service_id}/http-grants (the `CreateWebsiteServiceHTTPGrant` operationId) request. Takes a body of the `application/json` content type.

Requires current management and visit access. Company-session-bound credential issuance still requires a control session; this bridge never creates a session or relaxes credential rechecks.

func (*Client) CreateWebsiteServiceHTTPGrantWithBody

func (c *Client) CreateWebsiteServiceHTTPGrantWithBody(ctx context.Context, serviceId ServiceID, params *CreateWebsiteServiceHTTPGrantParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateWebsiteServiceHTTPGrantWithBody performs a POST /v1/service/services/{service_id}/http-grants (the `CreateWebsiteServiceHTTPGrant` operationId) request, with any type of body and a specified content type.

Requires current management and visit access. Company-session-bound credential issuance still requires a control session; this bridge never creates a session or relaxes credential rechecks.

func (*Client) DecideCompanyAdmission

func (c *Client) DecideCompanyAdmission(ctx context.Context, teamId string, requestId string, params *DecideCompanyAdmissionParams, body DecideCompanyAdmissionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

DecideCompanyAdmission performs a POST /v1/service/teams/{team_id}/company-admissions/{request_id} (the `DecideCompanyAdmission` operationId) request. Takes a body of the `application/json` content type.

func (*Client) DecideCompanyAdmissionWithBody

func (c *Client) DecideCompanyAdmissionWithBody(ctx context.Context, teamId string, requestId string, params *DecideCompanyAdmissionParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

DecideCompanyAdmissionWithBody performs a POST /v1/service/teams/{team_id}/company-admissions/{request_id} (the `DecideCompanyAdmission` operationId) request, with any type of body and a specified content type.

func (*Client) DisconnectIdentityConnection

func (c *Client) DisconnectIdentityConnection(ctx context.Context, teamId string, identityConnectionId string, params *DisconnectIdentityConnectionParams, body DisconnectIdentityConnectionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

DisconnectIdentityConnection Abort pending consent or retire an active connection

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

Corresponds with DELETE /v1/service/teams/{team_id}/identity-connections/{identity_connection_id} (the `DisconnectIdentityConnection` operationId).

func (*Client) DisconnectIdentityConnectionWithBody

func (c *Client) DisconnectIdentityConnectionWithBody(ctx context.Context, teamId string, identityConnectionId string, params *DisconnectIdentityConnectionParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

DisconnectIdentityConnectionWithBody Abort pending consent or retire an active connection

Takes any type of body and a specified content type.

Corresponds with DELETE /v1/service/teams/{team_id}/identity-connections/{identity_connection_id} (the `DisconnectIdentityConnection` operationId).

func (*Client) ExchangePublisherAssertion

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

ExchangePublisherAssertion performs a POST /v1/publisher-token (the `ExchangePublisherAssertion` operationId) request. Takes a body of the `application/json` content type.

func (*Client) ExchangePublisherAssertionWithBody

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

ExchangePublisherAssertionWithBody performs a POST /v1/publisher-token (the `ExchangePublisherAssertion` operationId) request, with any type of body and a specified content type.

func (*Client) ExchangeWorkload

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

ExchangeWorkload performs a POST /v1/workload-sessions/exchange (the `ExchangeWorkload` operationId) request. Takes a body of the `application/json` content type.

func (*Client) ExchangeWorkloadWithBody

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

ExchangeWorkloadWithBody performs a POST /v1/workload-sessions/exchange (the `ExchangeWorkload` operationId) request, with any type of body and a specified content type.

func (*Client) GetIdentityContext

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

GetIdentityContext Read the authenticated identity and memberships

Corresponds with GET /v1/identity (the `GetIdentityContext` operationId).

func (*Client) GetTeam

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

GetTeam Read one team

Corresponds with GET /v1/teams/{team_id} (the `GetTeam` operationId).

func (*Client) GetTeamFeedbackPolicy

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

GetTeamFeedbackPolicy performs a GET /v1/teams/{team_id}/feedback-policy (the `GetTeamFeedbackPolicy` operationId) request.

func (*Client) GetWebsiteService

func (c *Client) GetWebsiteService(ctx context.Context, serviceId ServiceID, params *GetWebsiteServiceParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetWebsiteService performs a GET /v1/service/services/{service_id} (the `GetWebsiteService` operationId) request.

func (*Client) IdentifyWorkload

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

IdentifyWorkload performs a POST /v1/workload-sessions/identity (the `IdentifyWorkload` operationId) request. Takes a body of the `application/json` content type.

func (*Client) IdentifyWorkloadWithBody

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

IdentifyWorkloadWithBody performs a POST /v1/workload-sessions/identity (the `IdentifyWorkload` operationId) request, with any type of body and a specified content type.

func (*Client) InviteWebsiteServiceVisitor

func (c *Client) InviteWebsiteServiceVisitor(ctx context.Context, serviceId ServiceID, params *InviteWebsiteServiceVisitorParams, body InviteWebsiteServiceVisitorJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

InviteWebsiteServiceVisitor performs a POST /v1/service/services/{service_id}/invitations (the `InviteWebsiteServiceVisitor` operationId) request. Takes a body of the `application/json` content type.

Keep the same key and exact request when retrying with a fresh signed assertion. Current manager and company source checks run again. An exact retry returns HTTP 200 with the original ID and current state but no secret. If delivery was lost, explicitly revoke that ID and create with a new key and deadline. A changed service, email or deadline with the same actor/key returns conflict. No secret is retained for recovery.

func (*Client) InviteWebsiteServiceVisitorWithBody

func (c *Client) InviteWebsiteServiceVisitorWithBody(ctx context.Context, serviceId ServiceID, params *InviteWebsiteServiceVisitorParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

InviteWebsiteServiceVisitorWithBody performs a POST /v1/service/services/{service_id}/invitations (the `InviteWebsiteServiceVisitor` operationId) request, with any type of body and a specified content type.

Keep the same key and exact request when retrying with a fresh signed assertion. Current manager and company source checks run again. An exact retry returns HTTP 200 with the original ID and current state but no secret. If delivery was lost, explicitly revoke that ID and create with a new key and deadline. A changed service, email or deadline with the same actor/key returns conflict. No secret is retained for recovery.

func (*Client) IssueControlBrowserHandoff

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

IssueControlBrowserHandoff performs a POST /v1/auth/browser-handoff (the `IssueControlBrowserHandoff` operationId) request. Takes a body of the `application/json` content type.

func (*Client) IssueControlBrowserHandoffWithBody

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

IssueControlBrowserHandoffWithBody performs a POST /v1/auth/browser-handoff (the `IssueControlBrowserHandoff` operationId) request, with any type of body and a specified content type.

func (*Client) ListCompanyAdmissions

func (c *Client) ListCompanyAdmissions(ctx context.Context, teamId string, params *ListCompanyAdmissionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

ListCompanyAdmissions performs a GET /v1/service/teams/{team_id}/company-admissions (the `ListCompanyAdmissions` operationId) request.

Complete admission history, including decided requests and previous company sources. Pages are ordered by created_at then bytewise request_id. Bind the signed actor assertion to the complete path and cursor query on every page.

func (*Client) ListTeamDomains

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

ListTeamDomains List domains available to the team

Corresponds with GET /v1/teams/{team_id}/domains (the `ListTeamDomains` operationId).

func (*Client) ListTeamInvitations

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

ListTeamInvitations List team invitations

Corresponds with GET /v1/teams/{team_id}/invitations (the `ListTeamInvitations` operationId).

func (*Client) ListTeamMemberships

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

ListTeamMemberships List team memberships

Corresponds with GET /v1/teams/{team_id}/memberships (the `ListTeamMemberships` operationId).

func (*Client) ListTeams

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

ListTeams List teams for the authenticated identity

Corresponds with GET /v1/teams (the `ListTeams` operationId).

func (*Client) ListWebsiteServiceGrants

func (c *Client) ListWebsiteServiceGrants(ctx context.Context, serviceId ServiceID, params *ListWebsiteServiceGrantsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

ListWebsiteServiceGrants performs a GET /v1/service/services/{service_id}/grants (the `ListWebsiteServiceGrants` operationId) request.

Up to 100 records ordered by ID, including expired and revoked history. Follow next_cursor until absent. Each page requires a fresh assertion bound to the exact query and current manager/source authorization. Inventory is not proof of visitor access.

func (*Client) ListWebsiteServiceHTTPGrants

func (c *Client) ListWebsiteServiceHTTPGrants(ctx context.Context, serviceId ServiceID, params *ListWebsiteServiceHTTPGrantsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

ListWebsiteServiceHTTPGrants performs a GET /v1/service/services/{service_id}/http-grants (the `ListWebsiteServiceHTTPGrants` operationId) request.

func (*Client) ListWebsiteServiceInvitations

func (c *Client) ListWebsiteServiceInvitations(ctx context.Context, serviceId ServiceID, params *ListWebsiteServiceInvitationsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

ListWebsiteServiceInvitations performs a GET /v1/service/services/{service_id}/invitations (the `ListWebsiteServiceInvitations` operationId) request.

Up to 100 records ordered by ID, including accepted, expired and revoked history, without secrets. Follow next_cursor until absent. Each page requires a fresh assertion bound to the exact query and current manager/source authorization.

func (*Client) ListWebsiteServices

func (c *Client) ListWebsiteServices(ctx context.Context, teamId TeamID, params *ListWebsiteServicesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

ListWebsiteServices performs a GET /v1/service/teams/{team_id}/services (the `ListWebsiteServices` operationId) request.

Current owner/admin inventory for this exact team, with current company source checks. Cursor is included in the signed request target.

func (*Client) LogoutControlSession

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

LogoutControlSession Revoke the authenticated control session

Corresponds with POST /v1/auth/logout (the `LogoutControlSession` operationId).

func (*Client) PollDeviceLogin

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

PollDeviceLogin Read a device login result; safe to retry until expiration

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

Corresponds with POST /v1/auth/device/poll (the `PollDeviceLogin` operationId).

func (*Client) PollDeviceLoginWithBody

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

PollDeviceLoginWithBody Read a device login result; safe to retry until expiration

Takes any type of body and a specified content type.

Corresponds with POST /v1/auth/device/poll (the `PollDeviceLogin` operationId).

func (*Client) PreviewServiceInvitation

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

PreviewServiceInvitation Preview an invitation for the signed-in website identity

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

Corresponds with POST /v1/service/invitations/preview (the `PreviewServiceInvitation` operationId).

func (*Client) PreviewServiceInvitationWithBody

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

PreviewServiceInvitationWithBody Preview an invitation for the signed-in website identity

Takes any type of body and a specified content type.

Corresponds with POST /v1/service/invitations/preview (the `PreviewServiceInvitation` operationId).

func (*Client) PreviewWebsiteServiceInvitation

func (c *Client) PreviewWebsiteServiceInvitation(ctx context.Context, params *PreviewWebsiteServiceInvitationParams, body PreviewWebsiteServiceInvitationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PreviewWebsiteServiceInvitation performs a POST /v1/service/service-invitations/preview (the `PreviewWebsiteServiceInvitation` operationId) request. Takes a body of the `application/json` content type.

func (*Client) PreviewWebsiteServiceInvitationWithBody

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

PreviewWebsiteServiceInvitationWithBody performs a POST /v1/service/service-invitations/preview (the `PreviewWebsiteServiceInvitation` operationId) request, with any type of body and a specified content type.

func (*Client) ProvisionCompanyEligibility

func (c *Client) ProvisionCompanyEligibility(ctx context.Context, params *ProvisionCompanyEligibilityParams, body ProvisionCompanyEligibilityJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

ProvisionCompanyEligibility Apply one revision-fenced eligibility delta without granting roles

Requires both website authentication and the exact connection provisioning credential. Missing entries never remove members. A revision retry must have identical content.

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

Corresponds with POST /v1/service/company-eligibility (the `ProvisionCompanyEligibility` operationId).

func (*Client) ProvisionCompanyEligibilityWithBody

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

ProvisionCompanyEligibilityWithBody Apply one revision-fenced eligibility delta without granting roles

Requires both website authentication and the exact connection provisioning credential. Missing entries never remove members. A revision retry must have identical content.

Takes any type of body and a specified content type.

Corresponds with POST /v1/service/company-eligibility (the `ProvisionCompanyEligibility` operationId).

func (*Client) ReadCompanyConnections

func (c *Client) ReadCompanyConnections(ctx context.Context, teamId string, params *ReadCompanyConnectionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

ReadCompanyConnections Read active and pending connections with current owner proof

Corresponds with GET /v1/service/teams/{team_id}/identity-connections (the `ReadCompanyConnections` operationId).

func (*Client) RecoverCompanyOwner

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

RecoverCompanyOwner Explicit audited recovery grants a personal-account exception to a nonremoved owner

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

Corresponds with POST /v1/company-access/recovery (the `RecoverCompanyOwner` operationId).

func (*Client) RecoverCompanyOwnerWithBody

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

RecoverCompanyOwnerWithBody Explicit audited recovery grants a personal-account exception to a nonremoved owner

Takes any type of body and a specified content type.

Corresponds with POST /v1/company-access/recovery (the `RecoverCompanyOwner` operationId).

func (*Client) RedeemPublisherEnrollment

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

RedeemPublisherEnrollment performs a POST /v1/publisher-enrollments/redeem (the `RedeemPublisherEnrollment` operationId) request. Takes a body of the `application/json` content type.

func (*Client) RedeemPublisherEnrollmentWithBody

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

RedeemPublisherEnrollmentWithBody performs a POST /v1/publisher-enrollments/redeem (the `RedeemPublisherEnrollment` operationId) request, with any type of body and a specified content type.

func (*Client) RefreshControlSession

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

RefreshControlSession Rotate a control session's access and refresh tokens

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

Corresponds with POST /v1/auth/refresh (the `RefreshControlSession` operationId).

func (*Client) RefreshControlSessionWithBody

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

RefreshControlSessionWithBody Rotate a control session's access and refresh tokens

Takes any type of body and a specified content type.

Corresponds with POST /v1/auth/refresh (the `RefreshControlSession` operationId).

func (*Client) ReleaseTeamDomain

func (c *Client) ReleaseTeamDomain(ctx context.Context, teamId TeamID, domainId DomainID, reqEditors ...RequestEditorFn) (*http.Response, error)

ReleaseTeamDomain Release one custom domain

Corresponds with DELETE /v1/teams/{team_id}/domains/{domain_id} (the `ReleaseTeamDomain` operationId).

func (*Client) RemoveMembership

func (c *Client) RemoveMembership(ctx context.Context, teamId TeamID, membershipId MembershipID, reqEditors ...RequestEditorFn) (*http.Response, error)

RemoveMembership Remove one membership

Corresponds with DELETE /v1/teams/{team_id}/memberships/{membership_id} (the `RemoveMembership` operationId).

func (*Client) RenewWorkloadSession

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

RenewWorkloadSession performs a POST /v1/workload-sessions/{session_id}/renew (the `RenewWorkloadSession` operationId) request.

func (*Client) RequestCompanyAdmission

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

RequestCompanyAdmission performs a POST /v1/auth/company-admissions (the `RequestCompanyAdmission` operationId) request. Takes a body of the `application/json` content type.

func (*Client) RequestCompanyAdmissionWithBody

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

RequestCompanyAdmissionWithBody performs a POST /v1/auth/company-admissions (the `RequestCompanyAdmission` operationId) request, with any type of body and a specified content type.

func (*Client) ResolveCompanyLoginIntent

func (c *Client) ResolveCompanyLoginIntent(ctx context.Context, intentId string, body ResolveCompanyLoginIntentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

ResolveCompanyLoginIntent performs a POST /v1/auth/company-intents/{intent_id}/resolve (the `ResolveCompanyLoginIntent` operationId) request. Takes a body of the `application/json` content type.

func (*Client) ResolveCompanyLoginIntentWithBody

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

ResolveCompanyLoginIntentWithBody performs a POST /v1/auth/company-intents/{intent_id}/resolve (the `ResolveCompanyLoginIntent` operationId) request, with any type of body and a specified content type.

func (*Client) ResolveServiceIdentity

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

ResolveServiceIdentity Read current memberships for the signed-in website identity

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

Corresponds with POST /v1/service/identity-context (the `ResolveServiceIdentity` operationId).

func (*Client) ResolveServiceIdentityWithBody

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

ResolveServiceIdentityWithBody Read current memberships for the signed-in website identity

Takes any type of body and a specified content type.

Corresponds with POST /v1/service/identity-context (the `ResolveServiceIdentity` operationId).

func (*Client) RevokeTeamInvitation

func (c *Client) RevokeTeamInvitation(ctx context.Context, teamId TeamID, invitationId InvitationID, reqEditors ...RequestEditorFn) (*http.Response, error)

RevokeTeamInvitation Revoke one pending invitation

Corresponds with DELETE /v1/teams/{team_id}/invitations/{invitation_id} (the `RevokeTeamInvitation` operationId).

func (*Client) RevokeWebsiteServiceGrant

func (c *Client) RevokeWebsiteServiceGrant(ctx context.Context, serviceId ServiceID, grantId externalRef0.ServiceGrantID, params *RevokeWebsiteServiceGrantParams, reqEditors ...RequestEditorFn) (*http.Response, error)

RevokeWebsiteServiceGrant performs a DELETE /v1/service/services/{service_id}/grants/{grant_id} (the `RevokeWebsiteServiceGrant` operationId) request.

func (*Client) RevokeWebsiteServiceHTTPGrant

func (c *Client) RevokeWebsiteServiceHTTPGrant(ctx context.Context, serviceId ServiceID, grantId string, params *RevokeWebsiteServiceHTTPGrantParams, reqEditors ...RequestEditorFn) (*http.Response, error)

RevokeWebsiteServiceHTTPGrant performs a DELETE /v1/service/services/{service_id}/http-grants/{grant_id} (the `RevokeWebsiteServiceHTTPGrant` operationId) request.

func (*Client) RevokeWebsiteServiceInvitation

func (c *Client) RevokeWebsiteServiceInvitation(ctx context.Context, serviceId ServiceID, invitationId externalRef0.ServiceInvitationID, params *RevokeWebsiteServiceInvitationParams, reqEditors ...RequestEditorFn) (*http.Response, error)

RevokeWebsiteServiceInvitation performs a DELETE /v1/service/services/{service_id}/invitations/{invitation_id} (the `RevokeWebsiteServiceInvitation` operationId) request.

func (*Client) RevokeWorkloadSession

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

RevokeWorkloadSession performs a DELETE /v1/workload-sessions/{session_id} (the `RevokeWorkloadSession` operationId) request.

func (*Client) RotateCompanyProvisioningToken

func (c *Client) RotateCompanyProvisioningToken(ctx context.Context, teamId string, identityConnectionId string, params *RotateCompanyProvisioningTokenParams, body RotateCompanyProvisioningTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

RotateCompanyProvisioningToken performs a POST /v1/service/teams/{team_id}/identity-connections/{identity_connection_id}/provisioning-token (the `RotateCompanyProvisioningToken` operationId) request. Takes a body of the `application/json` content type.

func (*Client) RotateCompanyProvisioningTokenWithBody

func (c *Client) RotateCompanyProvisioningTokenWithBody(ctx context.Context, teamId string, identityConnectionId string, params *RotateCompanyProvisioningTokenParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

RotateCompanyProvisioningTokenWithBody performs a POST /v1/service/teams/{team_id}/identity-connections/{identity_connection_id}/provisioning-token (the `RotateCompanyProvisioningToken` operationId) request, with any type of body and a specified content type.

func (*Client) RotatePublisherKey

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

RotatePublisherKey performs a POST /v1/publisher-keys/rotate (the `RotatePublisherKey` operationId) request. Takes a body of the `application/json` content type.

func (*Client) RotatePublisherKeyWithBody

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

RotatePublisherKeyWithBody performs a POST /v1/publisher-keys/rotate (the `RotatePublisherKey` operationId) request, with any type of body and a specified content type.

func (*Client) SetCompanyInvitationException

func (c *Client) SetCompanyInvitationException(ctx context.Context, teamId string, invitationId string, params *SetCompanyInvitationExceptionParams, body SetCompanyInvitationExceptionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

SetCompanyInvitationException performs a PUT /v1/service/teams/{team_id}/invitations/{invitation_id}/company-decision (the `SetCompanyInvitationException` operationId) request. Takes a body of the `application/json` content type.

func (*Client) SetCompanyInvitationExceptionWithBody

func (c *Client) SetCompanyInvitationExceptionWithBody(ctx context.Context, teamId string, invitationId string, params *SetCompanyInvitationExceptionParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

SetCompanyInvitationExceptionWithBody performs a PUT /v1/service/teams/{team_id}/invitations/{invitation_id}/company-decision (the `SetCompanyInvitationException` operationId) request, with any type of body and a specified content type.

func (*Client) SetCompanyMembershipDecision

func (c *Client) SetCompanyMembershipDecision(ctx context.Context, teamId string, membershipId string, params *SetCompanyMembershipDecisionParams, body SetCompanyMembershipDecisionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

SetCompanyMembershipDecision performs a PUT /v1/service/teams/{team_id}/memberships/{membership_id}/company-decision (the `SetCompanyMembershipDecision` operationId) request. Takes a body of the `application/json` content type.

func (*Client) SetCompanyMembershipDecisionWithBody

func (c *Client) SetCompanyMembershipDecisionWithBody(ctx context.Context, teamId string, membershipId string, params *SetCompanyMembershipDecisionParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

SetCompanyMembershipDecisionWithBody performs a PUT /v1/service/teams/{team_id}/memberships/{membership_id}/company-decision (the `SetCompanyMembershipDecision` operationId) request, with any type of body and a specified content type.

func (*Client) SetMembershipRole

func (c *Client) SetMembershipRole(ctx context.Context, teamId TeamID, membershipId MembershipID, body SetMembershipRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

SetMembershipRole Change one membership's team role

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

Corresponds with PATCH /v1/teams/{team_id}/memberships/{membership_id} (the `SetMembershipRole` operationId).

func (*Client) SetMembershipRoleWithBody

func (c *Client) SetMembershipRoleWithBody(ctx context.Context, teamId TeamID, membershipId MembershipID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

SetMembershipRoleWithBody Change one membership's team role

Takes any type of body and a specified content type.

Corresponds with PATCH /v1/teams/{team_id}/memberships/{membership_id} (the `SetMembershipRole` operationId).

func (*Client) SetTeamDefaultDomain

func (c *Client) SetTeamDefaultDomain(ctx context.Context, teamId TeamID, domainId DomainID, reqEditors ...RequestEditorFn) (*http.Response, error)

SetTeamDefaultDomain Select a ready default domain

Corresponds with POST /v1/teams/{team_id}/domains/{domain_id}/default (the `SetTeamDefaultDomain` operationId).

func (*Client) SetTeamFeedbackPolicy

func (c *Client) SetTeamFeedbackPolicy(ctx context.Context, teamId string, body SetTeamFeedbackPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

SetTeamFeedbackPolicy performs a PUT /v1/teams/{team_id}/feedback-policy (the `SetTeamFeedbackPolicy` operationId) request. Takes a body of the `application/json` content type.

func (*Client) SetTeamFeedbackPolicyWithBody

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

SetTeamFeedbackPolicyWithBody performs a PUT /v1/teams/{team_id}/feedback-policy (the `SetTeamFeedbackPolicy` operationId) request, with any type of body and a specified content type.

func (*Client) StartDeviceLogin

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

StartDeviceLogin Start a control-owned device login

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

Corresponds with POST /v1/auth/device (the `StartDeviceLogin` operationId).

func (*Client) StartDeviceLoginWithBody

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

StartDeviceLoginWithBody Start a control-owned device login

Takes any type of body and a specified content type.

Corresponds with POST /v1/auth/device (the `StartDeviceLogin` operationId).

type ClientInterface

type ClientInterface interface {

	// IssueControlBrowserHandoffWithBody performs a POST /v1/auth/browser-handoff (the `IssueControlBrowserHandoff` operationId) request,
	// with any type of body and a specified content type.
	IssueControlBrowserHandoffWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// IssueControlBrowserHandoff performs a POST /v1/auth/browser-handoff (the `IssueControlBrowserHandoff` operationId) request.
	// Takes a body of the `application/json` content type.
	IssueControlBrowserHandoff(ctx context.Context, body IssueControlBrowserHandoffJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RequestCompanyAdmissionWithBody performs a POST /v1/auth/company-admissions (the `RequestCompanyAdmission` operationId) request,
	// with any type of body and a specified content type.
	RequestCompanyAdmissionWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RequestCompanyAdmission performs a POST /v1/auth/company-admissions (the `RequestCompanyAdmission` operationId) request.
	// Takes a body of the `application/json` content type.
	RequestCompanyAdmission(ctx context.Context, body RequestCompanyAdmissionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateCompanyLoginIntentWithBody performs a POST /v1/auth/company-intents (the `CreateCompanyLoginIntent` operationId) request,
	// with any type of body and a specified content type.
	CreateCompanyLoginIntentWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateCompanyLoginIntent performs a POST /v1/auth/company-intents (the `CreateCompanyLoginIntent` operationId) request.
	// Takes a body of the `application/json` content type.
	CreateCompanyLoginIntent(ctx context.Context, body CreateCompanyLoginIntentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ResolveCompanyLoginIntentWithBody performs a POST /v1/auth/company-intents/{intent_id}/resolve (the `ResolveCompanyLoginIntent` operationId) request,
	// with any type of body and a specified content type.
	ResolveCompanyLoginIntentWithBody(ctx context.Context, intentId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ResolveCompanyLoginIntent performs a POST /v1/auth/company-intents/{intent_id}/resolve (the `ResolveCompanyLoginIntent` operationId) request.
	// Takes a body of the `application/json` content type.
	ResolveCompanyLoginIntent(ctx context.Context, intentId string, body ResolveCompanyLoginIntentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// StartDeviceLoginWithBody Start a control-owned device login
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v1/auth/device (the `StartDeviceLogin` operationId).
	StartDeviceLoginWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// StartDeviceLogin Start a control-owned device login
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v1/auth/device (the `StartDeviceLogin` operationId).
	StartDeviceLogin(ctx context.Context, body StartDeviceLoginJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// BeginDeviceBrowser Begin browser authentication for a control-issued device code
	//
	// Corresponds with GET /v1/auth/device/approve (the `BeginDeviceBrowser` operationId).
	BeginDeviceBrowser(ctx context.Context, params *BeginDeviceBrowserParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ApproveDeviceBrowserWithBody Confirm the displayed device code after browser OIDC authentication
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v1/auth/device/approve (the `ApproveDeviceBrowser` operationId).
	ApproveDeviceBrowserWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ApproveDeviceBrowserWithFormdataBody Confirm the displayed device code after browser OIDC authentication
	//
	// Takes a body of the `application/x-www-form-urlencoded` content type.
	//
	// Corresponds with POST /v1/auth/device/approve (the `ApproveDeviceBrowser` operationId).
	ApproveDeviceBrowserWithFormdataBody(ctx context.Context, body ApproveDeviceBrowserFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CompleteDeviceBrowser Redeem one state-bound authorization code and show explicit device confirmation
	//
	// Corresponds with GET /v1/auth/device/callback (the `CompleteDeviceBrowser` operationId).
	CompleteDeviceBrowser(ctx context.Context, params *CompleteDeviceBrowserParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CancelDeviceLoginWithBody Cancel an attempt and revoke any session it issued
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v1/auth/device/cancel (the `CancelDeviceLogin` operationId).
	CancelDeviceLoginWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CancelDeviceLogin Cancel an attempt and revoke any session it issued
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v1/auth/device/cancel (the `CancelDeviceLogin` operationId).
	CancelDeviceLogin(ctx context.Context, body CancelDeviceLoginJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PollDeviceLoginWithBody Read a device login result; safe to retry until expiration
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v1/auth/device/poll (the `PollDeviceLogin` operationId).
	PollDeviceLoginWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PollDeviceLogin Read a device login result; safe to retry until expiration
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v1/auth/device/poll (the `PollDeviceLogin` operationId).
	PollDeviceLogin(ctx context.Context, body PollDeviceLoginJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// LogoutControlSession Revoke the authenticated control session
	//
	// Corresponds with POST /v1/auth/logout (the `LogoutControlSession` operationId).
	LogoutControlSession(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RefreshControlSessionWithBody Rotate a control session's access and refresh tokens
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v1/auth/refresh (the `RefreshControlSession` operationId).
	RefreshControlSessionWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RefreshControlSession Rotate a control session's access and refresh tokens
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v1/auth/refresh (the `RefreshControlSession` operationId).
	RefreshControlSession(ctx context.Context, body RefreshControlSessionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RecoverCompanyOwnerWithBody Explicit audited recovery grants a personal-account exception to a nonremoved owner
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v1/company-access/recovery (the `RecoverCompanyOwner` operationId).
	RecoverCompanyOwnerWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RecoverCompanyOwner Explicit audited recovery grants a personal-account exception to a nonremoved owner
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v1/company-access/recovery (the `RecoverCompanyOwner` operationId).
	RecoverCompanyOwner(ctx context.Context, body RecoverCompanyOwnerJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetIdentityContext Read the authenticated identity and memberships
	//
	// Corresponds with GET /v1/identity (the `GetIdentityContext` operationId).
	GetIdentityContext(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AcceptInvitationWithBody Accept an invitation with its secret
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v1/invitations/accept (the `AcceptInvitation` operationId).
	AcceptInvitationWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AcceptInvitation Accept an invitation with its secret
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v1/invitations/accept (the `AcceptInvitation` operationId).
	AcceptInvitation(ctx context.Context, body AcceptInvitationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RedeemPublisherEnrollmentWithBody performs a POST /v1/publisher-enrollments/redeem (the `RedeemPublisherEnrollment` operationId) request,
	// with any type of body and a specified content type.
	RedeemPublisherEnrollmentWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RedeemPublisherEnrollment performs a POST /v1/publisher-enrollments/redeem (the `RedeemPublisherEnrollment` operationId) request.
	// Takes a body of the `application/json` content type.
	RedeemPublisherEnrollment(ctx context.Context, body RedeemPublisherEnrollmentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RotatePublisherKeyWithBody performs a POST /v1/publisher-keys/rotate (the `RotatePublisherKey` operationId) request,
	// with any type of body and a specified content type.
	RotatePublisherKeyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RotatePublisherKey performs a POST /v1/publisher-keys/rotate (the `RotatePublisherKey` operationId) request.
	// Takes a body of the `application/json` content type.
	RotatePublisherKey(ctx context.Context, body RotatePublisherKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ExchangePublisherAssertionWithBody performs a POST /v1/publisher-token (the `ExchangePublisherAssertion` operationId) request,
	// with any type of body and a specified content type.
	ExchangePublisherAssertionWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ExchangePublisherAssertion performs a POST /v1/publisher-token (the `ExchangePublisherAssertion` operationId) request.
	// Takes a body of the `application/json` content type.
	ExchangePublisherAssertion(ctx context.Context, body ExchangePublisherAssertionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ProvisionCompanyEligibilityWithBody Apply one revision-fenced eligibility delta without granting roles
	//
	// Requires both website authentication and the exact connection provisioning credential. Missing entries never remove members. A revision retry must have identical content.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v1/service/company-eligibility (the `ProvisionCompanyEligibility` operationId).
	ProvisionCompanyEligibilityWithBody(ctx context.Context, params *ProvisionCompanyEligibilityParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ProvisionCompanyEligibility Apply one revision-fenced eligibility delta without granting roles
	//
	// Requires both website authentication and the exact connection provisioning credential. Missing entries never remove members. A revision retry must have identical content.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v1/service/company-eligibility (the `ProvisionCompanyEligibility` operationId).
	ProvisionCompanyEligibility(ctx context.Context, params *ProvisionCompanyEligibilityParams, body ProvisionCompanyEligibilityJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ResolveServiceIdentityWithBody Read current memberships for the signed-in website identity
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v1/service/identity-context (the `ResolveServiceIdentity` operationId).
	ResolveServiceIdentityWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ResolveServiceIdentity Read current memberships for the signed-in website identity
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v1/service/identity-context (the `ResolveServiceIdentity` operationId).
	ResolveServiceIdentity(ctx context.Context, body ResolveServiceIdentityJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AcceptServiceInvitationWithBody Accept an invitation for the signed-in website identity
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v1/service/invitations/accept (the `AcceptServiceInvitation` operationId).
	AcceptServiceInvitationWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AcceptServiceInvitation Accept an invitation for the signed-in website identity
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v1/service/invitations/accept (the `AcceptServiceInvitation` operationId).
	AcceptServiceInvitation(ctx context.Context, body AcceptServiceInvitationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PreviewServiceInvitationWithBody Preview an invitation for the signed-in website identity
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v1/service/invitations/preview (the `PreviewServiceInvitation` operationId).
	PreviewServiceInvitationWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PreviewServiceInvitation Preview an invitation for the signed-in website identity
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v1/service/invitations/preview (the `PreviewServiceInvitation` operationId).
	PreviewServiceInvitation(ctx context.Context, body PreviewServiceInvitationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AcceptWebsiteServiceInvitationWithBody performs a POST /v1/service/service-invitations/accept (the `AcceptWebsiteServiceInvitation` operationId) request,
	// with any type of body and a specified content type.
	AcceptWebsiteServiceInvitationWithBody(ctx context.Context, params *AcceptWebsiteServiceInvitationParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AcceptWebsiteServiceInvitation performs a POST /v1/service/service-invitations/accept (the `AcceptWebsiteServiceInvitation` operationId) request.
	// Takes a body of the `application/json` content type.
	AcceptWebsiteServiceInvitation(ctx context.Context, params *AcceptWebsiteServiceInvitationParams, body AcceptWebsiteServiceInvitationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PreviewWebsiteServiceInvitationWithBody performs a POST /v1/service/service-invitations/preview (the `PreviewWebsiteServiceInvitation` operationId) request,
	// with any type of body and a specified content type.
	PreviewWebsiteServiceInvitationWithBody(ctx context.Context, params *PreviewWebsiteServiceInvitationParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PreviewWebsiteServiceInvitation performs a POST /v1/service/service-invitations/preview (the `PreviewWebsiteServiceInvitation` operationId) request.
	// Takes a body of the `application/json` content type.
	PreviewWebsiteServiceInvitation(ctx context.Context, params *PreviewWebsiteServiceInvitationParams, body PreviewWebsiteServiceInvitationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetWebsiteService performs a GET /v1/service/services/{service_id} (the `GetWebsiteService` operationId) request.
	GetWebsiteService(ctx context.Context, serviceId ServiceID, params *GetWebsiteServiceParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListWebsiteServiceGrants performs a GET /v1/service/services/{service_id}/grants (the `ListWebsiteServiceGrants` operationId) request.
	//
	// Up to 100 records ordered by ID, including expired and revoked history. Follow next_cursor until absent. Each page requires a fresh assertion bound to the exact query and current manager/source authorization. Inventory is not proof of visitor access.
	ListWebsiteServiceGrants(ctx context.Context, serviceId ServiceID, params *ListWebsiteServiceGrantsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RevokeWebsiteServiceGrant performs a DELETE /v1/service/services/{service_id}/grants/{grant_id} (the `RevokeWebsiteServiceGrant` operationId) request.
	RevokeWebsiteServiceGrant(ctx context.Context, serviceId ServiceID, grantId externalRef0.ServiceGrantID, params *RevokeWebsiteServiceGrantParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListWebsiteServiceHTTPGrants performs a GET /v1/service/services/{service_id}/http-grants (the `ListWebsiteServiceHTTPGrants` operationId) request.
	ListWebsiteServiceHTTPGrants(ctx context.Context, serviceId ServiceID, params *ListWebsiteServiceHTTPGrantsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateWebsiteServiceHTTPGrantWithBody performs a POST /v1/service/services/{service_id}/http-grants (the `CreateWebsiteServiceHTTPGrant` operationId) request,
	// with any type of body and a specified content type.
	//
	// Requires current management and visit access. Company-session-bound credential issuance still requires a control session; this bridge never creates a session or relaxes credential rechecks.
	CreateWebsiteServiceHTTPGrantWithBody(ctx context.Context, serviceId ServiceID, params *CreateWebsiteServiceHTTPGrantParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateWebsiteServiceHTTPGrant performs a POST /v1/service/services/{service_id}/http-grants (the `CreateWebsiteServiceHTTPGrant` operationId) request.
	// Takes a body of the `application/json` content type.
	//
	// Requires current management and visit access. Company-session-bound credential issuance still requires a control session; this bridge never creates a session or relaxes credential rechecks.
	CreateWebsiteServiceHTTPGrant(ctx context.Context, serviceId ServiceID, params *CreateWebsiteServiceHTTPGrantParams, body CreateWebsiteServiceHTTPGrantJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RevokeWebsiteServiceHTTPGrant performs a DELETE /v1/service/services/{service_id}/http-grants/{grant_id} (the `RevokeWebsiteServiceHTTPGrant` operationId) request.
	RevokeWebsiteServiceHTTPGrant(ctx context.Context, serviceId ServiceID, grantId string, params *RevokeWebsiteServiceHTTPGrantParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListWebsiteServiceInvitations performs a GET /v1/service/services/{service_id}/invitations (the `ListWebsiteServiceInvitations` operationId) request.
	//
	// Up to 100 records ordered by ID, including accepted, expired and revoked history, without secrets. Follow next_cursor until absent. Each page requires a fresh assertion bound to the exact query and current manager/source authorization.
	ListWebsiteServiceInvitations(ctx context.Context, serviceId ServiceID, params *ListWebsiteServiceInvitationsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// InviteWebsiteServiceVisitorWithBody performs a POST /v1/service/services/{service_id}/invitations (the `InviteWebsiteServiceVisitor` operationId) request,
	// with any type of body and a specified content type.
	//
	// Keep the same key and exact request when retrying with a fresh signed assertion. Current manager and company source checks run again. An exact retry returns HTTP 200 with the original ID and current state but no secret. If delivery was lost, explicitly revoke that ID and create with a new key and deadline. A changed service, email or deadline with the same actor/key returns conflict. No secret is retained for recovery.
	InviteWebsiteServiceVisitorWithBody(ctx context.Context, serviceId ServiceID, params *InviteWebsiteServiceVisitorParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// InviteWebsiteServiceVisitor performs a POST /v1/service/services/{service_id}/invitations (the `InviteWebsiteServiceVisitor` operationId) request.
	// Takes a body of the `application/json` content type.
	//
	// Keep the same key and exact request when retrying with a fresh signed assertion. Current manager and company source checks run again. An exact retry returns HTTP 200 with the original ID and current state but no secret. If delivery was lost, explicitly revoke that ID and create with a new key and deadline. A changed service, email or deadline with the same actor/key returns conflict. No secret is retained for recovery.
	InviteWebsiteServiceVisitor(ctx context.Context, serviceId ServiceID, params *InviteWebsiteServiceVisitorParams, body InviteWebsiteServiceVisitorJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RevokeWebsiteServiceInvitation performs a DELETE /v1/service/services/{service_id}/invitations/{invitation_id} (the `RevokeWebsiteServiceInvitation` operationId) request.
	RevokeWebsiteServiceInvitation(ctx context.Context, serviceId ServiceID, invitationId externalRef0.ServiceInvitationID, params *RevokeWebsiteServiceInvitationParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListCompanyAdmissions performs a GET /v1/service/teams/{team_id}/company-admissions (the `ListCompanyAdmissions` operationId) request.
	//
	// Complete admission history, including decided requests and previous company sources. Pages are ordered by created_at then bytewise request_id. Bind the signed actor assertion to the complete path and cursor query on every page.
	ListCompanyAdmissions(ctx context.Context, teamId string, params *ListCompanyAdmissionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DecideCompanyAdmissionWithBody performs a POST /v1/service/teams/{team_id}/company-admissions/{request_id} (the `DecideCompanyAdmission` operationId) request,
	// with any type of body and a specified content type.
	DecideCompanyAdmissionWithBody(ctx context.Context, teamId string, requestId string, params *DecideCompanyAdmissionParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DecideCompanyAdmission performs a POST /v1/service/teams/{team_id}/company-admissions/{request_id} (the `DecideCompanyAdmission` operationId) request.
	// Takes a body of the `application/json` content type.
	DecideCompanyAdmission(ctx context.Context, teamId string, requestId string, params *DecideCompanyAdmissionParams, body DecideCompanyAdmissionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ReadCompanyConnections Read active and pending connections with current owner proof
	//
	// Corresponds with GET /v1/service/teams/{team_id}/identity-connections (the `ReadCompanyConnections` operationId).
	ReadCompanyConnections(ctx context.Context, teamId string, params *ReadCompanyConnectionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// BeginIdentityConnectionSetupWithBody Begin consent setup without changing current enforcement
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v1/service/teams/{team_id}/identity-connections (the `BeginIdentityConnectionSetup` operationId).
	BeginIdentityConnectionSetupWithBody(ctx context.Context, teamId string, params *BeginIdentityConnectionSetupParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// BeginIdentityConnectionSetup Begin consent setup without changing current enforcement
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v1/service/teams/{team_id}/identity-connections (the `BeginIdentityConnectionSetup` operationId).
	BeginIdentityConnectionSetup(ctx context.Context, teamId string, params *BeginIdentityConnectionSetupParams, body BeginIdentityConnectionSetupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DisconnectIdentityConnectionWithBody Abort pending consent or retire an active connection
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with DELETE /v1/service/teams/{team_id}/identity-connections/{identity_connection_id} (the `DisconnectIdentityConnection` operationId).
	DisconnectIdentityConnectionWithBody(ctx context.Context, teamId string, identityConnectionId string, params *DisconnectIdentityConnectionParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DisconnectIdentityConnection Abort pending consent or retire an active connection
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with DELETE /v1/service/teams/{team_id}/identity-connections/{identity_connection_id} (the `DisconnectIdentityConnection` operationId).
	DisconnectIdentityConnection(ctx context.Context, teamId string, identityConnectionId string, params *DisconnectIdentityConnectionParams, body DisconnectIdentityConnectionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ActivateIdentityConnectionWithBody performs a POST /v1/service/teams/{team_id}/identity-connections/{identity_connection_id}/activate (the `ActivateIdentityConnection` operationId) request,
	// with any type of body and a specified content type.
	ActivateIdentityConnectionWithBody(ctx context.Context, teamId string, identityConnectionId string, params *ActivateIdentityConnectionParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ActivateIdentityConnection performs a POST /v1/service/teams/{team_id}/identity-connections/{identity_connection_id}/activate (the `ActivateIdentityConnection` operationId) request.
	// Takes a body of the `application/json` content type.
	ActivateIdentityConnection(ctx context.Context, teamId string, identityConnectionId string, params *ActivateIdentityConnectionParams, body ActivateIdentityConnectionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RotateCompanyProvisioningTokenWithBody performs a POST /v1/service/teams/{team_id}/identity-connections/{identity_connection_id}/provisioning-token (the `RotateCompanyProvisioningToken` operationId) request,
	// with any type of body and a specified content type.
	RotateCompanyProvisioningTokenWithBody(ctx context.Context, teamId string, identityConnectionId string, params *RotateCompanyProvisioningTokenParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RotateCompanyProvisioningToken performs a POST /v1/service/teams/{team_id}/identity-connections/{identity_connection_id}/provisioning-token (the `RotateCompanyProvisioningToken` operationId) request.
	// Takes a body of the `application/json` content type.
	RotateCompanyProvisioningToken(ctx context.Context, teamId string, identityConnectionId string, params *RotateCompanyProvisioningTokenParams, body RotateCompanyProvisioningTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetCompanyInvitationExceptionWithBody performs a PUT /v1/service/teams/{team_id}/invitations/{invitation_id}/company-decision (the `SetCompanyInvitationException` operationId) request,
	// with any type of body and a specified content type.
	SetCompanyInvitationExceptionWithBody(ctx context.Context, teamId string, invitationId string, params *SetCompanyInvitationExceptionParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetCompanyInvitationException performs a PUT /v1/service/teams/{team_id}/invitations/{invitation_id}/company-decision (the `SetCompanyInvitationException` operationId) request.
	// Takes a body of the `application/json` content type.
	SetCompanyInvitationException(ctx context.Context, teamId string, invitationId string, params *SetCompanyInvitationExceptionParams, body SetCompanyInvitationExceptionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetCompanyMembershipDecisionWithBody performs a PUT /v1/service/teams/{team_id}/memberships/{membership_id}/company-decision (the `SetCompanyMembershipDecision` operationId) request,
	// with any type of body and a specified content type.
	SetCompanyMembershipDecisionWithBody(ctx context.Context, teamId string, membershipId string, params *SetCompanyMembershipDecisionParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetCompanyMembershipDecision performs a PUT /v1/service/teams/{team_id}/memberships/{membership_id}/company-decision (the `SetCompanyMembershipDecision` operationId) request.
	// Takes a body of the `application/json` content type.
	SetCompanyMembershipDecision(ctx context.Context, teamId string, membershipId string, params *SetCompanyMembershipDecisionParams, body SetCompanyMembershipDecisionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListWebsiteServices performs a GET /v1/service/teams/{team_id}/services (the `ListWebsiteServices` operationId) request.
	//
	// Current owner/admin inventory for this exact team, with current company source checks. Cursor is included in the signed request target.
	ListWebsiteServices(ctx context.Context, teamId TeamID, params *ListWebsiteServicesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AuthorizeWebsiteTeamUsage performs a GET /v1/service/teams/{team_id}/usage-authorization (the `AuthorizeWebsiteTeamUsage` operationId) request.
	//
	// Authorize one website usage read for any current active team member, including a personal-team owner. Requires a fresh configured-issuer assertion with auth_time, a unique jti and nonce using the tnl.team-usage.actor.v1 purpose, bound to the exact method, escaped path, raw query and empty body. Control consumes the assertion and rechecks identity, membership and current company source/eligibility. Success grants no service management or visitor credential and is not reusable authorization. No saved service or inventory read is required.
	AuthorizeWebsiteTeamUsage(ctx context.Context, teamId TeamID, params *AuthorizeWebsiteTeamUsageParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListTeams List teams for the authenticated identity
	//
	// Corresponds with GET /v1/teams (the `ListTeams` operationId).
	ListTeams(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateTeamWithBody Create an organization team
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v1/teams (the `CreateTeam` operationId).
	CreateTeamWithBody(ctx context.Context, params *CreateTeamParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateTeam Create an organization team
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v1/teams (the `CreateTeam` operationId).
	CreateTeam(ctx context.Context, params *CreateTeamParams, body CreateTeamJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetTeam Read one team
	//
	// Corresponds with GET /v1/teams/{team_id} (the `GetTeam` operationId).
	GetTeam(ctx context.Context, teamId TeamID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListTeamDomains List domains available to the team
	//
	// Corresponds with GET /v1/teams/{team_id}/domains (the `ListTeamDomains` operationId).
	ListTeamDomains(ctx context.Context, teamId TeamID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ClaimTeamDomainWithBody Begin claiming one domain
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v1/teams/{team_id}/domains (the `ClaimTeamDomain` operationId).
	ClaimTeamDomainWithBody(ctx context.Context, teamId TeamID, params *ClaimTeamDomainParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ClaimTeamDomain Begin claiming one domain
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v1/teams/{team_id}/domains (the `ClaimTeamDomain` operationId).
	ClaimTeamDomain(ctx context.Context, teamId TeamID, params *ClaimTeamDomainParams, body ClaimTeamDomainJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ReleaseTeamDomain Release one custom domain
	//
	// Corresponds with DELETE /v1/teams/{team_id}/domains/{domain_id} (the `ReleaseTeamDomain` operationId).
	ReleaseTeamDomain(ctx context.Context, teamId TeamID, domainId DomainID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetTeamDefaultDomain Select a ready default domain
	//
	// Corresponds with POST /v1/teams/{team_id}/domains/{domain_id}/default (the `SetTeamDefaultDomain` operationId).
	SetTeamDefaultDomain(ctx context.Context, teamId TeamID, domainId DomainID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetTeamFeedbackPolicy performs a GET /v1/teams/{team_id}/feedback-policy (the `GetTeamFeedbackPolicy` operationId) request.
	GetTeamFeedbackPolicy(ctx context.Context, teamId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetTeamFeedbackPolicyWithBody performs a PUT /v1/teams/{team_id}/feedback-policy (the `SetTeamFeedbackPolicy` operationId) request,
	// with any type of body and a specified content type.
	SetTeamFeedbackPolicyWithBody(ctx context.Context, teamId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetTeamFeedbackPolicy performs a PUT /v1/teams/{team_id}/feedback-policy (the `SetTeamFeedbackPolicy` operationId) request.
	// Takes a body of the `application/json` content type.
	SetTeamFeedbackPolicy(ctx context.Context, teamId string, body SetTeamFeedbackPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListTeamInvitations List team invitations
	//
	// Corresponds with GET /v1/teams/{team_id}/invitations (the `ListTeamInvitations` operationId).
	ListTeamInvitations(ctx context.Context, teamId TeamID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateTeamInvitationWithBody Create an expiring invitation
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v1/teams/{team_id}/invitations (the `CreateTeamInvitation` operationId).
	CreateTeamInvitationWithBody(ctx context.Context, teamId TeamID, params *CreateTeamInvitationParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateTeamInvitation Create an expiring invitation
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v1/teams/{team_id}/invitations (the `CreateTeamInvitation` operationId).
	CreateTeamInvitation(ctx context.Context, teamId TeamID, params *CreateTeamInvitationParams, body CreateTeamInvitationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RevokeTeamInvitation Revoke one pending invitation
	//
	// Corresponds with DELETE /v1/teams/{team_id}/invitations/{invitation_id} (the `RevokeTeamInvitation` operationId).
	RevokeTeamInvitation(ctx context.Context, teamId TeamID, invitationId InvitationID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListTeamMemberships List team memberships
	//
	// Corresponds with GET /v1/teams/{team_id}/memberships (the `ListTeamMemberships` operationId).
	ListTeamMemberships(ctx context.Context, teamId TeamID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RemoveMembership Remove one membership
	//
	// Corresponds with DELETE /v1/teams/{team_id}/memberships/{membership_id} (the `RemoveMembership` operationId).
	RemoveMembership(ctx context.Context, teamId TeamID, membershipId MembershipID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetMembershipRoleWithBody Change one membership's team role
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PATCH /v1/teams/{team_id}/memberships/{membership_id} (the `SetMembershipRole` operationId).
	SetMembershipRoleWithBody(ctx context.Context, teamId TeamID, membershipId MembershipID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetMembershipRole Change one membership's team role
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PATCH /v1/teams/{team_id}/memberships/{membership_id} (the `SetMembershipRole` operationId).
	SetMembershipRole(ctx context.Context, teamId TeamID, membershipId MembershipID, body SetMembershipRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ExchangeWorkloadWithBody performs a POST /v1/workload-sessions/exchange (the `ExchangeWorkload` operationId) request,
	// with any type of body and a specified content type.
	ExchangeWorkloadWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ExchangeWorkload performs a POST /v1/workload-sessions/exchange (the `ExchangeWorkload` operationId) request.
	// Takes a body of the `application/json` content type.
	ExchangeWorkload(ctx context.Context, body ExchangeWorkloadJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// IdentifyWorkloadWithBody performs a POST /v1/workload-sessions/identity (the `IdentifyWorkload` operationId) request,
	// with any type of body and a specified content type.
	IdentifyWorkloadWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// IdentifyWorkload performs a POST /v1/workload-sessions/identity (the `IdentifyWorkload` operationId) request.
	// Takes a body of the `application/json` content type.
	IdentifyWorkload(ctx context.Context, body IdentifyWorkloadJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RevokeWorkloadSession performs a DELETE /v1/workload-sessions/{session_id} (the `RevokeWorkloadSession` operationId) request.
	RevokeWorkloadSession(ctx context.Context, sessionId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AttachWorkloadAssertionWithBody performs a POST /v1/workload-sessions/{session_id}/assertions (the `AttachWorkloadAssertion` operationId) request,
	// with any type of body and a specified content type.
	AttachWorkloadAssertionWithBody(ctx context.Context, sessionId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AttachWorkloadAssertion performs a POST /v1/workload-sessions/{session_id}/assertions (the `AttachWorkloadAssertion` operationId) request.
	// Takes a body of the `application/json` content type.
	AttachWorkloadAssertion(ctx context.Context, sessionId string, body AttachWorkloadAssertionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RenewWorkloadSession performs a POST /v1/workload-sessions/{session_id}/renew (the `RenewWorkloadSession` operationId) request.
	RenewWorkloadSession(ctx context.Context, sessionId string, 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) AcceptInvitationWithBodyWithResponse

func (c *ClientWithResponses) AcceptInvitationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AcceptInvitationResponse, error)

AcceptInvitationWithBodyWithResponse Accept an invitation with its secret

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 /v1/invitations/accept (the `AcceptInvitation` operationId).

func (*ClientWithResponses) AcceptInvitationWithResponse

func (c *ClientWithResponses) AcceptInvitationWithResponse(ctx context.Context, body AcceptInvitationJSONRequestBody, reqEditors ...RequestEditorFn) (*AcceptInvitationResponse, error)

AcceptInvitationWithResponse Accept an invitation with its secret

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/invitations/accept (the `AcceptInvitation` operationId).

func (*ClientWithResponses) AcceptServiceInvitationWithBodyWithResponse

func (c *ClientWithResponses) AcceptServiceInvitationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AcceptServiceInvitationResponse, error)

AcceptServiceInvitationWithBodyWithResponse Accept an invitation for the signed-in website identity

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 /v1/service/invitations/accept (the `AcceptServiceInvitation` operationId).

func (*ClientWithResponses) AcceptServiceInvitationWithResponse

func (c *ClientWithResponses) AcceptServiceInvitationWithResponse(ctx context.Context, body AcceptServiceInvitationJSONRequestBody, reqEditors ...RequestEditorFn) (*AcceptServiceInvitationResponse, error)

AcceptServiceInvitationWithResponse Accept an invitation for the signed-in website identity

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/service/invitations/accept (the `AcceptServiceInvitation` operationId).

func (*ClientWithResponses) AcceptWebsiteServiceInvitationWithBodyWithResponse

func (c *ClientWithResponses) AcceptWebsiteServiceInvitationWithBodyWithResponse(ctx context.Context, params *AcceptWebsiteServiceInvitationParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AcceptWebsiteServiceInvitationResponse, error)

AcceptWebsiteServiceInvitationWithBodyWithResponse performs a POST /v1/service/service-invitations/accept (the `AcceptWebsiteServiceInvitation` operationId) request, with any type of body and a specified content type.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) AcceptWebsiteServiceInvitationWithResponse

AcceptWebsiteServiceInvitationWithResponse performs a POST /v1/service/service-invitations/accept (the `AcceptWebsiteServiceInvitation` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) ActivateIdentityConnectionWithBodyWithResponse

func (c *ClientWithResponses) ActivateIdentityConnectionWithBodyWithResponse(ctx context.Context, teamId string, identityConnectionId string, params *ActivateIdentityConnectionParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ActivateIdentityConnectionResponse, error)

ActivateIdentityConnectionWithBodyWithResponse performs a POST /v1/service/teams/{team_id}/identity-connections/{identity_connection_id}/activate (the `ActivateIdentityConnection` operationId) request, with any type of body and a specified content type.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) ActivateIdentityConnectionWithResponse

func (c *ClientWithResponses) ActivateIdentityConnectionWithResponse(ctx context.Context, teamId string, identityConnectionId string, params *ActivateIdentityConnectionParams, body ActivateIdentityConnectionJSONRequestBody, reqEditors ...RequestEditorFn) (*ActivateIdentityConnectionResponse, error)

ActivateIdentityConnectionWithResponse performs a POST /v1/service/teams/{team_id}/identity-connections/{identity_connection_id}/activate (the `ActivateIdentityConnection` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) ApproveDeviceBrowserWithBodyWithResponse

func (c *ClientWithResponses) ApproveDeviceBrowserWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ApproveDeviceBrowserResponse, error)

ApproveDeviceBrowserWithBodyWithResponse Confirm the displayed device code after browser OIDC authentication

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 /v1/auth/device/approve (the `ApproveDeviceBrowser` operationId).

func (*ClientWithResponses) ApproveDeviceBrowserWithFormdataBodyWithResponse

func (c *ClientWithResponses) ApproveDeviceBrowserWithFormdataBodyWithResponse(ctx context.Context, body ApproveDeviceBrowserFormdataRequestBody, reqEditors ...RequestEditorFn) (*ApproveDeviceBrowserResponse, error)

ApproveDeviceBrowserWithFormdataBodyWithResponse Confirm the displayed device code after browser OIDC authentication

Takes a body of the `application/x-www-form-urlencoded` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/auth/device/approve (the `ApproveDeviceBrowser` operationId).

func (*ClientWithResponses) AttachWorkloadAssertionWithBodyWithResponse

func (c *ClientWithResponses) AttachWorkloadAssertionWithBodyWithResponse(ctx context.Context, sessionId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AttachWorkloadAssertionResponse, error)

AttachWorkloadAssertionWithBodyWithResponse performs a POST /v1/workload-sessions/{session_id}/assertions (the `AttachWorkloadAssertion` operationId) request, with any type of body and a specified content type.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) AttachWorkloadAssertionWithResponse

func (c *ClientWithResponses) AttachWorkloadAssertionWithResponse(ctx context.Context, sessionId string, body AttachWorkloadAssertionJSONRequestBody, reqEditors ...RequestEditorFn) (*AttachWorkloadAssertionResponse, error)

AttachWorkloadAssertionWithResponse performs a POST /v1/workload-sessions/{session_id}/assertions (the `AttachWorkloadAssertion` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) AuthorizeWebsiteTeamUsageWithResponse

func (c *ClientWithResponses) AuthorizeWebsiteTeamUsageWithResponse(ctx context.Context, teamId TeamID, params *AuthorizeWebsiteTeamUsageParams, reqEditors ...RequestEditorFn) (*AuthorizeWebsiteTeamUsageResponse, error)

AuthorizeWebsiteTeamUsageWithResponse performs a GET /v1/service/teams/{team_id}/usage-authorization (the `AuthorizeWebsiteTeamUsage` operationId) request.

Authorize one website usage read for any current active team member, including a personal-team owner. Requires a fresh configured-issuer assertion with auth_time, a unique jti and nonce using the tnl.team-usage.actor.v1 purpose, bound to the exact method, escaped path, raw query and empty body. Control consumes the assertion and rechecks identity, membership and current company source/eligibility. Success grants no service management or visitor credential and is not reusable authorization. No saved service or inventory read is required.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) BeginDeviceBrowserWithResponse

func (c *ClientWithResponses) BeginDeviceBrowserWithResponse(ctx context.Context, params *BeginDeviceBrowserParams, reqEditors ...RequestEditorFn) (*BeginDeviceBrowserResponse, error)

BeginDeviceBrowserWithResponse Begin browser authentication for a control-issued device code

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v1/auth/device/approve (the `BeginDeviceBrowser` operationId).

func (*ClientWithResponses) BeginIdentityConnectionSetupWithBodyWithResponse

func (c *ClientWithResponses) BeginIdentityConnectionSetupWithBodyWithResponse(ctx context.Context, teamId string, params *BeginIdentityConnectionSetupParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BeginIdentityConnectionSetupResponse, error)

BeginIdentityConnectionSetupWithBodyWithResponse Begin consent setup without changing current enforcement

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 /v1/service/teams/{team_id}/identity-connections (the `BeginIdentityConnectionSetup` operationId).

func (*ClientWithResponses) BeginIdentityConnectionSetupWithResponse

BeginIdentityConnectionSetupWithResponse Begin consent setup without changing current enforcement

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/service/teams/{team_id}/identity-connections (the `BeginIdentityConnectionSetup` operationId).

func (*ClientWithResponses) CancelDeviceLoginWithBodyWithResponse

func (c *ClientWithResponses) CancelDeviceLoginWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CancelDeviceLoginResponse, error)

CancelDeviceLoginWithBodyWithResponse Cancel an attempt and revoke any session it issued

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 /v1/auth/device/cancel (the `CancelDeviceLogin` operationId).

func (*ClientWithResponses) CancelDeviceLoginWithResponse

func (c *ClientWithResponses) CancelDeviceLoginWithResponse(ctx context.Context, body CancelDeviceLoginJSONRequestBody, reqEditors ...RequestEditorFn) (*CancelDeviceLoginResponse, error)

CancelDeviceLoginWithResponse Cancel an attempt and revoke any session it issued

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/auth/device/cancel (the `CancelDeviceLogin` operationId).

func (*ClientWithResponses) ClaimTeamDomainWithBodyWithResponse

func (c *ClientWithResponses) ClaimTeamDomainWithBodyWithResponse(ctx context.Context, teamId TeamID, params *ClaimTeamDomainParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ClaimTeamDomainResponse, error)

ClaimTeamDomainWithBodyWithResponse Begin claiming one 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 /v1/teams/{team_id}/domains (the `ClaimTeamDomain` operationId).

func (*ClientWithResponses) ClaimTeamDomainWithResponse

func (c *ClientWithResponses) ClaimTeamDomainWithResponse(ctx context.Context, teamId TeamID, params *ClaimTeamDomainParams, body ClaimTeamDomainJSONRequestBody, reqEditors ...RequestEditorFn) (*ClaimTeamDomainResponse, error)

ClaimTeamDomainWithResponse Begin claiming one 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 /v1/teams/{team_id}/domains (the `ClaimTeamDomain` operationId).

func (*ClientWithResponses) CompleteDeviceBrowserWithResponse

func (c *ClientWithResponses) CompleteDeviceBrowserWithResponse(ctx context.Context, params *CompleteDeviceBrowserParams, reqEditors ...RequestEditorFn) (*CompleteDeviceBrowserResponse, error)

CompleteDeviceBrowserWithResponse Redeem one state-bound authorization code and show explicit device confirmation

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v1/auth/device/callback (the `CompleteDeviceBrowser` operationId).

func (*ClientWithResponses) CreateCompanyLoginIntentWithBodyWithResponse

func (c *ClientWithResponses) CreateCompanyLoginIntentWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateCompanyLoginIntentResponse, error)

CreateCompanyLoginIntentWithBodyWithResponse performs a POST /v1/auth/company-intents (the `CreateCompanyLoginIntent` operationId) request, with any type of body and a specified content type.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) CreateCompanyLoginIntentWithResponse

func (c *ClientWithResponses) CreateCompanyLoginIntentWithResponse(ctx context.Context, body CreateCompanyLoginIntentJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateCompanyLoginIntentResponse, error)

CreateCompanyLoginIntentWithResponse performs a POST /v1/auth/company-intents (the `CreateCompanyLoginIntent` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) CreateTeamInvitationWithBodyWithResponse

func (c *ClientWithResponses) CreateTeamInvitationWithBodyWithResponse(ctx context.Context, teamId TeamID, params *CreateTeamInvitationParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateTeamInvitationResponse, error)

CreateTeamInvitationWithBodyWithResponse Create an expiring invitation

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 /v1/teams/{team_id}/invitations (the `CreateTeamInvitation` operationId).

func (*ClientWithResponses) CreateTeamInvitationWithResponse

func (c *ClientWithResponses) CreateTeamInvitationWithResponse(ctx context.Context, teamId TeamID, params *CreateTeamInvitationParams, body CreateTeamInvitationJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateTeamInvitationResponse, error)

CreateTeamInvitationWithResponse Create an expiring invitation

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/teams/{team_id}/invitations (the `CreateTeamInvitation` operationId).

func (*ClientWithResponses) CreateTeamWithBodyWithResponse

func (c *ClientWithResponses) CreateTeamWithBodyWithResponse(ctx context.Context, params *CreateTeamParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateTeamResponse, error)

CreateTeamWithBodyWithResponse Create an organization team

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 /v1/teams (the `CreateTeam` operationId).

func (*ClientWithResponses) CreateTeamWithResponse

func (c *ClientWithResponses) CreateTeamWithResponse(ctx context.Context, params *CreateTeamParams, body CreateTeamJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateTeamResponse, error)

CreateTeamWithResponse Create an organization team

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/teams (the `CreateTeam` operationId).

func (*ClientWithResponses) CreateWebsiteServiceHTTPGrantWithBodyWithResponse

func (c *ClientWithResponses) CreateWebsiteServiceHTTPGrantWithBodyWithResponse(ctx context.Context, serviceId ServiceID, params *CreateWebsiteServiceHTTPGrantParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateWebsiteServiceHTTPGrantResponse, error)

CreateWebsiteServiceHTTPGrantWithBodyWithResponse performs a POST /v1/service/services/{service_id}/http-grants (the `CreateWebsiteServiceHTTPGrant` operationId) request, with any type of body and a specified content type.

Requires current management and visit access. Company-session-bound credential issuance still requires a control session; this bridge never creates a session or relaxes credential rechecks.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) CreateWebsiteServiceHTTPGrantWithResponse

CreateWebsiteServiceHTTPGrantWithResponse performs a POST /v1/service/services/{service_id}/http-grants (the `CreateWebsiteServiceHTTPGrant` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Requires current management and visit access. Company-session-bound credential issuance still requires a control session; this bridge never creates a session or relaxes credential rechecks.

func (*ClientWithResponses) DecideCompanyAdmissionWithBodyWithResponse

func (c *ClientWithResponses) DecideCompanyAdmissionWithBodyWithResponse(ctx context.Context, teamId string, requestId string, params *DecideCompanyAdmissionParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DecideCompanyAdmissionResponse, error)

DecideCompanyAdmissionWithBodyWithResponse performs a POST /v1/service/teams/{team_id}/company-admissions/{request_id} (the `DecideCompanyAdmission` operationId) request, with any type of body and a specified content type.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) DecideCompanyAdmissionWithResponse

func (c *ClientWithResponses) DecideCompanyAdmissionWithResponse(ctx context.Context, teamId string, requestId string, params *DecideCompanyAdmissionParams, body DecideCompanyAdmissionJSONRequestBody, reqEditors ...RequestEditorFn) (*DecideCompanyAdmissionResponse, error)

DecideCompanyAdmissionWithResponse performs a POST /v1/service/teams/{team_id}/company-admissions/{request_id} (the `DecideCompanyAdmission` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) DisconnectIdentityConnectionWithBodyWithResponse

func (c *ClientWithResponses) DisconnectIdentityConnectionWithBodyWithResponse(ctx context.Context, teamId string, identityConnectionId string, params *DisconnectIdentityConnectionParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DisconnectIdentityConnectionResponse, error)

DisconnectIdentityConnectionWithBodyWithResponse Abort pending consent or retire an active connection

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with DELETE /v1/service/teams/{team_id}/identity-connections/{identity_connection_id} (the `DisconnectIdentityConnection` operationId).

func (*ClientWithResponses) DisconnectIdentityConnectionWithResponse

func (c *ClientWithResponses) DisconnectIdentityConnectionWithResponse(ctx context.Context, teamId string, identityConnectionId string, params *DisconnectIdentityConnectionParams, body DisconnectIdentityConnectionJSONRequestBody, reqEditors ...RequestEditorFn) (*DisconnectIdentityConnectionResponse, error)

DisconnectIdentityConnectionWithResponse Abort pending consent or retire an active connection

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with DELETE /v1/service/teams/{team_id}/identity-connections/{identity_connection_id} (the `DisconnectIdentityConnection` operationId).

func (*ClientWithResponses) ExchangePublisherAssertionWithBodyWithResponse

func (c *ClientWithResponses) ExchangePublisherAssertionWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExchangePublisherAssertionResponse, error)

ExchangePublisherAssertionWithBodyWithResponse performs a POST /v1/publisher-token (the `ExchangePublisherAssertion` operationId) request, with any type of body and a specified content type.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) ExchangePublisherAssertionWithResponse

func (c *ClientWithResponses) ExchangePublisherAssertionWithResponse(ctx context.Context, body ExchangePublisherAssertionJSONRequestBody, reqEditors ...RequestEditorFn) (*ExchangePublisherAssertionResponse, error)

ExchangePublisherAssertionWithResponse performs a POST /v1/publisher-token (the `ExchangePublisherAssertion` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) ExchangeWorkloadWithBodyWithResponse

func (c *ClientWithResponses) ExchangeWorkloadWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExchangeWorkloadResponse, error)

ExchangeWorkloadWithBodyWithResponse performs a POST /v1/workload-sessions/exchange (the `ExchangeWorkload` operationId) request, with any type of body and a specified content type.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) ExchangeWorkloadWithResponse

func (c *ClientWithResponses) ExchangeWorkloadWithResponse(ctx context.Context, body ExchangeWorkloadJSONRequestBody, reqEditors ...RequestEditorFn) (*ExchangeWorkloadResponse, error)

ExchangeWorkloadWithResponse performs a POST /v1/workload-sessions/exchange (the `ExchangeWorkload` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) GetIdentityContextWithResponse

func (c *ClientWithResponses) GetIdentityContextWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetIdentityContextResponse, error)

GetIdentityContextWithResponse Read the authenticated identity and memberships

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v1/identity (the `GetIdentityContext` operationId).

func (*ClientWithResponses) GetTeamFeedbackPolicyWithResponse

func (c *ClientWithResponses) GetTeamFeedbackPolicyWithResponse(ctx context.Context, teamId string, reqEditors ...RequestEditorFn) (*GetTeamFeedbackPolicyResponse, error)

GetTeamFeedbackPolicyWithResponse performs a GET /v1/teams/{team_id}/feedback-policy (the `GetTeamFeedbackPolicy` operationId) request.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) GetTeamWithResponse

func (c *ClientWithResponses) GetTeamWithResponse(ctx context.Context, teamId TeamID, reqEditors ...RequestEditorFn) (*GetTeamResponse, error)

GetTeamWithResponse Read one team

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v1/teams/{team_id} (the `GetTeam` operationId).

func (*ClientWithResponses) GetWebsiteServiceWithResponse

func (c *ClientWithResponses) GetWebsiteServiceWithResponse(ctx context.Context, serviceId ServiceID, params *GetWebsiteServiceParams, reqEditors ...RequestEditorFn) (*GetWebsiteServiceResponse, error)

GetWebsiteServiceWithResponse performs a GET /v1/service/services/{service_id} (the `GetWebsiteService` operationId) request.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) IdentifyWorkloadWithBodyWithResponse

func (c *ClientWithResponses) IdentifyWorkloadWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IdentifyWorkloadResponse, error)

IdentifyWorkloadWithBodyWithResponse performs a POST /v1/workload-sessions/identity (the `IdentifyWorkload` operationId) request, with any type of body and a specified content type.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) IdentifyWorkloadWithResponse

func (c *ClientWithResponses) IdentifyWorkloadWithResponse(ctx context.Context, body IdentifyWorkloadJSONRequestBody, reqEditors ...RequestEditorFn) (*IdentifyWorkloadResponse, error)

IdentifyWorkloadWithResponse performs a POST /v1/workload-sessions/identity (the `IdentifyWorkload` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) InviteWebsiteServiceVisitorWithBodyWithResponse

func (c *ClientWithResponses) InviteWebsiteServiceVisitorWithBodyWithResponse(ctx context.Context, serviceId ServiceID, params *InviteWebsiteServiceVisitorParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*InviteWebsiteServiceVisitorResponse, error)

InviteWebsiteServiceVisitorWithBodyWithResponse performs a POST /v1/service/services/{service_id}/invitations (the `InviteWebsiteServiceVisitor` operationId) request, with any type of body and a specified content type.

Keep the same key and exact request when retrying with a fresh signed assertion. Current manager and company source checks run again. An exact retry returns HTTP 200 with the original ID and current state but no secret. If delivery was lost, explicitly revoke that ID and create with a new key and deadline. A changed service, email or deadline with the same actor/key returns conflict. No secret is retained for recovery.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) InviteWebsiteServiceVisitorWithResponse

InviteWebsiteServiceVisitorWithResponse performs a POST /v1/service/services/{service_id}/invitations (the `InviteWebsiteServiceVisitor` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Keep the same key and exact request when retrying with a fresh signed assertion. Current manager and company source checks run again. An exact retry returns HTTP 200 with the original ID and current state but no secret. If delivery was lost, explicitly revoke that ID and create with a new key and deadline. A changed service, email or deadline with the same actor/key returns conflict. No secret is retained for recovery.

func (*ClientWithResponses) IssueControlBrowserHandoffWithBodyWithResponse

func (c *ClientWithResponses) IssueControlBrowserHandoffWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IssueControlBrowserHandoffResponse, error)

IssueControlBrowserHandoffWithBodyWithResponse performs a POST /v1/auth/browser-handoff (the `IssueControlBrowserHandoff` operationId) request, with any type of body and a specified content type.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) IssueControlBrowserHandoffWithResponse

func (c *ClientWithResponses) IssueControlBrowserHandoffWithResponse(ctx context.Context, body IssueControlBrowserHandoffJSONRequestBody, reqEditors ...RequestEditorFn) (*IssueControlBrowserHandoffResponse, error)

IssueControlBrowserHandoffWithResponse performs a POST /v1/auth/browser-handoff (the `IssueControlBrowserHandoff` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) ListCompanyAdmissionsWithResponse

func (c *ClientWithResponses) ListCompanyAdmissionsWithResponse(ctx context.Context, teamId string, params *ListCompanyAdmissionsParams, reqEditors ...RequestEditorFn) (*ListCompanyAdmissionsResponse, error)

ListCompanyAdmissionsWithResponse performs a GET /v1/service/teams/{team_id}/company-admissions (the `ListCompanyAdmissions` operationId) request.

Complete admission history, including decided requests and previous company sources. Pages are ordered by created_at then bytewise request_id. Bind the signed actor assertion to the complete path and cursor query on every page.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) ListTeamDomainsWithResponse

func (c *ClientWithResponses) ListTeamDomainsWithResponse(ctx context.Context, teamId TeamID, reqEditors ...RequestEditorFn) (*ListTeamDomainsResponse, error)

ListTeamDomainsWithResponse List domains available to the team

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v1/teams/{team_id}/domains (the `ListTeamDomains` operationId).

func (*ClientWithResponses) ListTeamInvitationsWithResponse

func (c *ClientWithResponses) ListTeamInvitationsWithResponse(ctx context.Context, teamId TeamID, reqEditors ...RequestEditorFn) (*ListTeamInvitationsResponse, error)

ListTeamInvitationsWithResponse List team invitations

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v1/teams/{team_id}/invitations (the `ListTeamInvitations` operationId).

func (*ClientWithResponses) ListTeamMembershipsWithResponse

func (c *ClientWithResponses) ListTeamMembershipsWithResponse(ctx context.Context, teamId TeamID, reqEditors ...RequestEditorFn) (*ListTeamMembershipsResponse, error)

ListTeamMembershipsWithResponse List team memberships

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v1/teams/{team_id}/memberships (the `ListTeamMemberships` operationId).

func (*ClientWithResponses) ListTeamsWithResponse

func (c *ClientWithResponses) ListTeamsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListTeamsResponse, error)

ListTeamsWithResponse List teams for the authenticated identity

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v1/teams (the `ListTeams` operationId).

func (*ClientWithResponses) ListWebsiteServiceGrantsWithResponse

func (c *ClientWithResponses) ListWebsiteServiceGrantsWithResponse(ctx context.Context, serviceId ServiceID, params *ListWebsiteServiceGrantsParams, reqEditors ...RequestEditorFn) (*ListWebsiteServiceGrantsResponse, error)

ListWebsiteServiceGrantsWithResponse performs a GET /v1/service/services/{service_id}/grants (the `ListWebsiteServiceGrants` operationId) request.

Up to 100 records ordered by ID, including expired and revoked history. Follow next_cursor until absent. Each page requires a fresh assertion bound to the exact query and current manager/source authorization. Inventory is not proof of visitor access.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) ListWebsiteServiceHTTPGrantsWithResponse

func (c *ClientWithResponses) ListWebsiteServiceHTTPGrantsWithResponse(ctx context.Context, serviceId ServiceID, params *ListWebsiteServiceHTTPGrantsParams, reqEditors ...RequestEditorFn) (*ListWebsiteServiceHTTPGrantsResponse, error)

ListWebsiteServiceHTTPGrantsWithResponse performs a GET /v1/service/services/{service_id}/http-grants (the `ListWebsiteServiceHTTPGrants` operationId) request.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) ListWebsiteServiceInvitationsWithResponse

func (c *ClientWithResponses) ListWebsiteServiceInvitationsWithResponse(ctx context.Context, serviceId ServiceID, params *ListWebsiteServiceInvitationsParams, reqEditors ...RequestEditorFn) (*ListWebsiteServiceInvitationsResponse, error)

ListWebsiteServiceInvitationsWithResponse performs a GET /v1/service/services/{service_id}/invitations (the `ListWebsiteServiceInvitations` operationId) request.

Up to 100 records ordered by ID, including accepted, expired and revoked history, without secrets. Follow next_cursor until absent. Each page requires a fresh assertion bound to the exact query and current manager/source authorization.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) ListWebsiteServicesWithResponse

func (c *ClientWithResponses) ListWebsiteServicesWithResponse(ctx context.Context, teamId TeamID, params *ListWebsiteServicesParams, reqEditors ...RequestEditorFn) (*ListWebsiteServicesResponse, error)

ListWebsiteServicesWithResponse performs a GET /v1/service/teams/{team_id}/services (the `ListWebsiteServices` operationId) request.

Current owner/admin inventory for this exact team, with current company source checks. Cursor is included in the signed request target.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) LogoutControlSessionWithResponse

func (c *ClientWithResponses) LogoutControlSessionWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*LogoutControlSessionResponse, error)

LogoutControlSessionWithResponse Revoke the authenticated control session

Returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/auth/logout (the `LogoutControlSession` operationId).

func (*ClientWithResponses) PollDeviceLoginWithBodyWithResponse

func (c *ClientWithResponses) PollDeviceLoginWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PollDeviceLoginResponse, error)

PollDeviceLoginWithBodyWithResponse Read a device login result; safe to retry until expiration

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 /v1/auth/device/poll (the `PollDeviceLogin` operationId).

func (*ClientWithResponses) PollDeviceLoginWithResponse

func (c *ClientWithResponses) PollDeviceLoginWithResponse(ctx context.Context, body PollDeviceLoginJSONRequestBody, reqEditors ...RequestEditorFn) (*PollDeviceLoginResponse, error)

PollDeviceLoginWithResponse Read a device login result; safe to retry until expiration

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/auth/device/poll (the `PollDeviceLogin` operationId).

func (*ClientWithResponses) PreviewServiceInvitationWithBodyWithResponse

func (c *ClientWithResponses) PreviewServiceInvitationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PreviewServiceInvitationResponse, error)

PreviewServiceInvitationWithBodyWithResponse Preview an invitation for the signed-in website identity

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 /v1/service/invitations/preview (the `PreviewServiceInvitation` operationId).

func (*ClientWithResponses) PreviewServiceInvitationWithResponse

func (c *ClientWithResponses) PreviewServiceInvitationWithResponse(ctx context.Context, body PreviewServiceInvitationJSONRequestBody, reqEditors ...RequestEditorFn) (*PreviewServiceInvitationResponse, error)

PreviewServiceInvitationWithResponse Preview an invitation for the signed-in website identity

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/service/invitations/preview (the `PreviewServiceInvitation` operationId).

func (*ClientWithResponses) PreviewWebsiteServiceInvitationWithBodyWithResponse

func (c *ClientWithResponses) PreviewWebsiteServiceInvitationWithBodyWithResponse(ctx context.Context, params *PreviewWebsiteServiceInvitationParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PreviewWebsiteServiceInvitationResponse, error)

PreviewWebsiteServiceInvitationWithBodyWithResponse performs a POST /v1/service/service-invitations/preview (the `PreviewWebsiteServiceInvitation` operationId) request, with any type of body and a specified content type.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) PreviewWebsiteServiceInvitationWithResponse

PreviewWebsiteServiceInvitationWithResponse performs a POST /v1/service/service-invitations/preview (the `PreviewWebsiteServiceInvitation` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) ProvisionCompanyEligibilityWithBodyWithResponse

func (c *ClientWithResponses) ProvisionCompanyEligibilityWithBodyWithResponse(ctx context.Context, params *ProvisionCompanyEligibilityParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ProvisionCompanyEligibilityResponse, error)

ProvisionCompanyEligibilityWithBodyWithResponse Apply one revision-fenced eligibility delta without granting roles

Requires both website authentication and the exact connection provisioning credential. Missing entries never remove members. A revision retry must have identical content.

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 /v1/service/company-eligibility (the `ProvisionCompanyEligibility` operationId).

func (*ClientWithResponses) ProvisionCompanyEligibilityWithResponse

ProvisionCompanyEligibilityWithResponse Apply one revision-fenced eligibility delta without granting roles

Requires both website authentication and the exact connection provisioning credential. Missing entries never remove members. A revision retry must have identical content.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/service/company-eligibility (the `ProvisionCompanyEligibility` operationId).

func (*ClientWithResponses) ReadCompanyConnectionsWithResponse

func (c *ClientWithResponses) ReadCompanyConnectionsWithResponse(ctx context.Context, teamId string, params *ReadCompanyConnectionsParams, reqEditors ...RequestEditorFn) (*ReadCompanyConnectionsResponse, error)

ReadCompanyConnectionsWithResponse Read active and pending connections with current owner proof

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v1/service/teams/{team_id}/identity-connections (the `ReadCompanyConnections` operationId).

func (*ClientWithResponses) RecoverCompanyOwnerWithBodyWithResponse

func (c *ClientWithResponses) RecoverCompanyOwnerWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RecoverCompanyOwnerResponse, error)

RecoverCompanyOwnerWithBodyWithResponse Explicit audited recovery grants a personal-account exception to a nonremoved owner

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 /v1/company-access/recovery (the `RecoverCompanyOwner` operationId).

func (*ClientWithResponses) RecoverCompanyOwnerWithResponse

func (c *ClientWithResponses) RecoverCompanyOwnerWithResponse(ctx context.Context, body RecoverCompanyOwnerJSONRequestBody, reqEditors ...RequestEditorFn) (*RecoverCompanyOwnerResponse, error)

RecoverCompanyOwnerWithResponse Explicit audited recovery grants a personal-account exception to a nonremoved owner

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/company-access/recovery (the `RecoverCompanyOwner` operationId).

func (*ClientWithResponses) RedeemPublisherEnrollmentWithBodyWithResponse

func (c *ClientWithResponses) RedeemPublisherEnrollmentWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RedeemPublisherEnrollmentResponse, error)

RedeemPublisherEnrollmentWithBodyWithResponse performs a POST /v1/publisher-enrollments/redeem (the `RedeemPublisherEnrollment` operationId) request, with any type of body and a specified content type.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) RedeemPublisherEnrollmentWithResponse

func (c *ClientWithResponses) RedeemPublisherEnrollmentWithResponse(ctx context.Context, body RedeemPublisherEnrollmentJSONRequestBody, reqEditors ...RequestEditorFn) (*RedeemPublisherEnrollmentResponse, error)

RedeemPublisherEnrollmentWithResponse performs a POST /v1/publisher-enrollments/redeem (the `RedeemPublisherEnrollment` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) RefreshControlSessionWithBodyWithResponse

func (c *ClientWithResponses) RefreshControlSessionWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RefreshControlSessionResponse, error)

RefreshControlSessionWithBodyWithResponse Rotate a control session's access and refresh tokens

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 /v1/auth/refresh (the `RefreshControlSession` operationId).

func (*ClientWithResponses) RefreshControlSessionWithResponse

func (c *ClientWithResponses) RefreshControlSessionWithResponse(ctx context.Context, body RefreshControlSessionJSONRequestBody, reqEditors ...RequestEditorFn) (*RefreshControlSessionResponse, error)

RefreshControlSessionWithResponse Rotate a control session's access and refresh tokens

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/auth/refresh (the `RefreshControlSession` operationId).

func (*ClientWithResponses) ReleaseTeamDomainWithResponse

func (c *ClientWithResponses) ReleaseTeamDomainWithResponse(ctx context.Context, teamId TeamID, domainId DomainID, reqEditors ...RequestEditorFn) (*ReleaseTeamDomainResponse, error)

ReleaseTeamDomainWithResponse Release one custom domain

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /v1/teams/{team_id}/domains/{domain_id} (the `ReleaseTeamDomain` operationId).

func (*ClientWithResponses) RemoveMembershipWithResponse

func (c *ClientWithResponses) RemoveMembershipWithResponse(ctx context.Context, teamId TeamID, membershipId MembershipID, reqEditors ...RequestEditorFn) (*RemoveMembershipResponse, error)

RemoveMembershipWithResponse Remove one membership

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /v1/teams/{team_id}/memberships/{membership_id} (the `RemoveMembership` operationId).

func (*ClientWithResponses) RenewWorkloadSessionWithResponse

func (c *ClientWithResponses) RenewWorkloadSessionWithResponse(ctx context.Context, sessionId string, reqEditors ...RequestEditorFn) (*RenewWorkloadSessionResponse, error)

RenewWorkloadSessionWithResponse performs a POST /v1/workload-sessions/{session_id}/renew (the `RenewWorkloadSession` operationId) request.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) RequestCompanyAdmissionWithBodyWithResponse

func (c *ClientWithResponses) RequestCompanyAdmissionWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RequestCompanyAdmissionResponse, error)

RequestCompanyAdmissionWithBodyWithResponse performs a POST /v1/auth/company-admissions (the `RequestCompanyAdmission` operationId) request, with any type of body and a specified content type.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) RequestCompanyAdmissionWithResponse

func (c *ClientWithResponses) RequestCompanyAdmissionWithResponse(ctx context.Context, body RequestCompanyAdmissionJSONRequestBody, reqEditors ...RequestEditorFn) (*RequestCompanyAdmissionResponse, error)

RequestCompanyAdmissionWithResponse performs a POST /v1/auth/company-admissions (the `RequestCompanyAdmission` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) ResolveCompanyLoginIntentWithBodyWithResponse

func (c *ClientWithResponses) ResolveCompanyLoginIntentWithBodyWithResponse(ctx context.Context, intentId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ResolveCompanyLoginIntentResponse, error)

ResolveCompanyLoginIntentWithBodyWithResponse performs a POST /v1/auth/company-intents/{intent_id}/resolve (the `ResolveCompanyLoginIntent` operationId) request, with any type of body and a specified content type.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) ResolveCompanyLoginIntentWithResponse

func (c *ClientWithResponses) ResolveCompanyLoginIntentWithResponse(ctx context.Context, intentId string, body ResolveCompanyLoginIntentJSONRequestBody, reqEditors ...RequestEditorFn) (*ResolveCompanyLoginIntentResponse, error)

ResolveCompanyLoginIntentWithResponse performs a POST /v1/auth/company-intents/{intent_id}/resolve (the `ResolveCompanyLoginIntent` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) ResolveServiceIdentityWithBodyWithResponse

func (c *ClientWithResponses) ResolveServiceIdentityWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ResolveServiceIdentityResponse, error)

ResolveServiceIdentityWithBodyWithResponse Read current memberships for the signed-in website identity

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 /v1/service/identity-context (the `ResolveServiceIdentity` operationId).

func (*ClientWithResponses) ResolveServiceIdentityWithResponse

func (c *ClientWithResponses) ResolveServiceIdentityWithResponse(ctx context.Context, body ResolveServiceIdentityJSONRequestBody, reqEditors ...RequestEditorFn) (*ResolveServiceIdentityResponse, error)

ResolveServiceIdentityWithResponse Read current memberships for the signed-in website identity

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/service/identity-context (the `ResolveServiceIdentity` operationId).

func (*ClientWithResponses) RevokeTeamInvitationWithResponse

func (c *ClientWithResponses) RevokeTeamInvitationWithResponse(ctx context.Context, teamId TeamID, invitationId InvitationID, reqEditors ...RequestEditorFn) (*RevokeTeamInvitationResponse, error)

RevokeTeamInvitationWithResponse Revoke one pending invitation

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /v1/teams/{team_id}/invitations/{invitation_id} (the `RevokeTeamInvitation` operationId).

func (*ClientWithResponses) RevokeWebsiteServiceGrantWithResponse

func (c *ClientWithResponses) RevokeWebsiteServiceGrantWithResponse(ctx context.Context, serviceId ServiceID, grantId externalRef0.ServiceGrantID, params *RevokeWebsiteServiceGrantParams, reqEditors ...RequestEditorFn) (*RevokeWebsiteServiceGrantResponse, error)

RevokeWebsiteServiceGrantWithResponse performs a DELETE /v1/service/services/{service_id}/grants/{grant_id} (the `RevokeWebsiteServiceGrant` operationId) request.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) RevokeWebsiteServiceHTTPGrantWithResponse

func (c *ClientWithResponses) RevokeWebsiteServiceHTTPGrantWithResponse(ctx context.Context, serviceId ServiceID, grantId string, params *RevokeWebsiteServiceHTTPGrantParams, reqEditors ...RequestEditorFn) (*RevokeWebsiteServiceHTTPGrantResponse, error)

RevokeWebsiteServiceHTTPGrantWithResponse performs a DELETE /v1/service/services/{service_id}/http-grants/{grant_id} (the `RevokeWebsiteServiceHTTPGrant` operationId) request.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) RevokeWebsiteServiceInvitationWithResponse

func (c *ClientWithResponses) RevokeWebsiteServiceInvitationWithResponse(ctx context.Context, serviceId ServiceID, invitationId externalRef0.ServiceInvitationID, params *RevokeWebsiteServiceInvitationParams, reqEditors ...RequestEditorFn) (*RevokeWebsiteServiceInvitationResponse, error)

RevokeWebsiteServiceInvitationWithResponse performs a DELETE /v1/service/services/{service_id}/invitations/{invitation_id} (the `RevokeWebsiteServiceInvitation` operationId) request.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) RevokeWorkloadSessionWithResponse

func (c *ClientWithResponses) RevokeWorkloadSessionWithResponse(ctx context.Context, sessionId string, reqEditors ...RequestEditorFn) (*RevokeWorkloadSessionResponse, error)

RevokeWorkloadSessionWithResponse performs a DELETE /v1/workload-sessions/{session_id} (the `RevokeWorkloadSession` operationId) request.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) RotateCompanyProvisioningTokenWithBodyWithResponse

func (c *ClientWithResponses) RotateCompanyProvisioningTokenWithBodyWithResponse(ctx context.Context, teamId string, identityConnectionId string, params *RotateCompanyProvisioningTokenParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RotateCompanyProvisioningTokenResponse, error)

RotateCompanyProvisioningTokenWithBodyWithResponse performs a POST /v1/service/teams/{team_id}/identity-connections/{identity_connection_id}/provisioning-token (the `RotateCompanyProvisioningToken` operationId) request, with any type of body and a specified content type.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) RotateCompanyProvisioningTokenWithResponse

func (c *ClientWithResponses) RotateCompanyProvisioningTokenWithResponse(ctx context.Context, teamId string, identityConnectionId string, params *RotateCompanyProvisioningTokenParams, body RotateCompanyProvisioningTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*RotateCompanyProvisioningTokenResponse, error)

RotateCompanyProvisioningTokenWithResponse performs a POST /v1/service/teams/{team_id}/identity-connections/{identity_connection_id}/provisioning-token (the `RotateCompanyProvisioningToken` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) RotatePublisherKeyWithBodyWithResponse

func (c *ClientWithResponses) RotatePublisherKeyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RotatePublisherKeyResponse, error)

RotatePublisherKeyWithBodyWithResponse performs a POST /v1/publisher-keys/rotate (the `RotatePublisherKey` operationId) request, with any type of body and a specified content type.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) RotatePublisherKeyWithResponse

func (c *ClientWithResponses) RotatePublisherKeyWithResponse(ctx context.Context, body RotatePublisherKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*RotatePublisherKeyResponse, error)

RotatePublisherKeyWithResponse performs a POST /v1/publisher-keys/rotate (the `RotatePublisherKey` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) SetCompanyInvitationExceptionWithBodyWithResponse

func (c *ClientWithResponses) SetCompanyInvitationExceptionWithBodyWithResponse(ctx context.Context, teamId string, invitationId string, params *SetCompanyInvitationExceptionParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetCompanyInvitationExceptionResponse, error)

SetCompanyInvitationExceptionWithBodyWithResponse performs a PUT /v1/service/teams/{team_id}/invitations/{invitation_id}/company-decision (the `SetCompanyInvitationException` operationId) request, with any type of body and a specified content type.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) SetCompanyInvitationExceptionWithResponse

func (c *ClientWithResponses) SetCompanyInvitationExceptionWithResponse(ctx context.Context, teamId string, invitationId string, params *SetCompanyInvitationExceptionParams, body SetCompanyInvitationExceptionJSONRequestBody, reqEditors ...RequestEditorFn) (*SetCompanyInvitationExceptionResponse, error)

SetCompanyInvitationExceptionWithResponse performs a PUT /v1/service/teams/{team_id}/invitations/{invitation_id}/company-decision (the `SetCompanyInvitationException` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) SetCompanyMembershipDecisionWithBodyWithResponse

func (c *ClientWithResponses) SetCompanyMembershipDecisionWithBodyWithResponse(ctx context.Context, teamId string, membershipId string, params *SetCompanyMembershipDecisionParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetCompanyMembershipDecisionResponse, error)

SetCompanyMembershipDecisionWithBodyWithResponse performs a PUT /v1/service/teams/{team_id}/memberships/{membership_id}/company-decision (the `SetCompanyMembershipDecision` operationId) request, with any type of body and a specified content type.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) SetCompanyMembershipDecisionWithResponse

func (c *ClientWithResponses) SetCompanyMembershipDecisionWithResponse(ctx context.Context, teamId string, membershipId string, params *SetCompanyMembershipDecisionParams, body SetCompanyMembershipDecisionJSONRequestBody, reqEditors ...RequestEditorFn) (*SetCompanyMembershipDecisionResponse, error)

SetCompanyMembershipDecisionWithResponse performs a PUT /v1/service/teams/{team_id}/memberships/{membership_id}/company-decision (the `SetCompanyMembershipDecision` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) SetMembershipRoleWithBodyWithResponse

func (c *ClientWithResponses) SetMembershipRoleWithBodyWithResponse(ctx context.Context, teamId TeamID, membershipId MembershipID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetMembershipRoleResponse, error)

SetMembershipRoleWithBodyWithResponse Change one membership's team role

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 /v1/teams/{team_id}/memberships/{membership_id} (the `SetMembershipRole` operationId).

func (*ClientWithResponses) SetMembershipRoleWithResponse

func (c *ClientWithResponses) SetMembershipRoleWithResponse(ctx context.Context, teamId TeamID, membershipId MembershipID, body SetMembershipRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*SetMembershipRoleResponse, error)

SetMembershipRoleWithResponse Change one membership's team role

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /v1/teams/{team_id}/memberships/{membership_id} (the `SetMembershipRole` operationId).

func (*ClientWithResponses) SetTeamDefaultDomainWithResponse

func (c *ClientWithResponses) SetTeamDefaultDomainWithResponse(ctx context.Context, teamId TeamID, domainId DomainID, reqEditors ...RequestEditorFn) (*SetTeamDefaultDomainResponse, error)

SetTeamDefaultDomainWithResponse Select a ready default domain

Returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/teams/{team_id}/domains/{domain_id}/default (the `SetTeamDefaultDomain` operationId).

func (*ClientWithResponses) SetTeamFeedbackPolicyWithBodyWithResponse

func (c *ClientWithResponses) SetTeamFeedbackPolicyWithBodyWithResponse(ctx context.Context, teamId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetTeamFeedbackPolicyResponse, error)

SetTeamFeedbackPolicyWithBodyWithResponse performs a PUT /v1/teams/{team_id}/feedback-policy (the `SetTeamFeedbackPolicy` operationId) request, with any type of body and a specified content type.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) SetTeamFeedbackPolicyWithResponse

func (c *ClientWithResponses) SetTeamFeedbackPolicyWithResponse(ctx context.Context, teamId string, body SetTeamFeedbackPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*SetTeamFeedbackPolicyResponse, error)

SetTeamFeedbackPolicyWithResponse performs a PUT /v1/teams/{team_id}/feedback-policy (the `SetTeamFeedbackPolicy` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) StartDeviceLoginWithBodyWithResponse

func (c *ClientWithResponses) StartDeviceLoginWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*StartDeviceLoginResponse, error)

StartDeviceLoginWithBodyWithResponse Start a control-owned device login

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 /v1/auth/device (the `StartDeviceLogin` operationId).

func (*ClientWithResponses) StartDeviceLoginWithResponse

func (c *ClientWithResponses) StartDeviceLoginWithResponse(ctx context.Context, body StartDeviceLoginJSONRequestBody, reqEditors ...RequestEditorFn) (*StartDeviceLoginResponse, error)

StartDeviceLoginWithResponse Start a control-owned device login

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/auth/device (the `StartDeviceLogin` operationId).

type ClientWithResponsesInterface

type ClientWithResponsesInterface interface {

	// IssueControlBrowserHandoffWithBodyWithResponse performs a POST /v1/auth/browser-handoff (the `IssueControlBrowserHandoff` operationId) request,
	// with any type of body and a specified content type.
	//
	// Returns a wrapper object for the known response body format(s).
	IssueControlBrowserHandoffWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IssueControlBrowserHandoffResponse, error)

	// IssueControlBrowserHandoffWithResponse performs a POST /v1/auth/browser-handoff (the `IssueControlBrowserHandoff` operationId) request.
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	IssueControlBrowserHandoffWithResponse(ctx context.Context, body IssueControlBrowserHandoffJSONRequestBody, reqEditors ...RequestEditorFn) (*IssueControlBrowserHandoffResponse, error)

	// RequestCompanyAdmissionWithBodyWithResponse performs a POST /v1/auth/company-admissions (the `RequestCompanyAdmission` operationId) request,
	// with any type of body and a specified content type.
	//
	// Returns a wrapper object for the known response body format(s).
	RequestCompanyAdmissionWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RequestCompanyAdmissionResponse, error)

	// RequestCompanyAdmissionWithResponse performs a POST /v1/auth/company-admissions (the `RequestCompanyAdmission` operationId) request.
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	RequestCompanyAdmissionWithResponse(ctx context.Context, body RequestCompanyAdmissionJSONRequestBody, reqEditors ...RequestEditorFn) (*RequestCompanyAdmissionResponse, error)

	// CreateCompanyLoginIntentWithBodyWithResponse performs a POST /v1/auth/company-intents (the `CreateCompanyLoginIntent` operationId) request,
	// with any type of body and a specified content type.
	//
	// Returns a wrapper object for the known response body format(s).
	CreateCompanyLoginIntentWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateCompanyLoginIntentResponse, error)

	// CreateCompanyLoginIntentWithResponse performs a POST /v1/auth/company-intents (the `CreateCompanyLoginIntent` operationId) request.
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	CreateCompanyLoginIntentWithResponse(ctx context.Context, body CreateCompanyLoginIntentJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateCompanyLoginIntentResponse, error)

	// ResolveCompanyLoginIntentWithBodyWithResponse performs a POST /v1/auth/company-intents/{intent_id}/resolve (the `ResolveCompanyLoginIntent` operationId) request,
	// with any type of body and a specified content type.
	//
	// Returns a wrapper object for the known response body format(s).
	ResolveCompanyLoginIntentWithBodyWithResponse(ctx context.Context, intentId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ResolveCompanyLoginIntentResponse, error)

	// ResolveCompanyLoginIntentWithResponse performs a POST /v1/auth/company-intents/{intent_id}/resolve (the `ResolveCompanyLoginIntent` operationId) request.
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	ResolveCompanyLoginIntentWithResponse(ctx context.Context, intentId string, body ResolveCompanyLoginIntentJSONRequestBody, reqEditors ...RequestEditorFn) (*ResolveCompanyLoginIntentResponse, error)

	// StartDeviceLoginWithBodyWithResponse Start a control-owned device login
	//
	// 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 /v1/auth/device (the `StartDeviceLogin` operationId).
	StartDeviceLoginWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*StartDeviceLoginResponse, error)

	// StartDeviceLoginWithResponse Start a control-owned device login
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/auth/device (the `StartDeviceLogin` operationId).
	StartDeviceLoginWithResponse(ctx context.Context, body StartDeviceLoginJSONRequestBody, reqEditors ...RequestEditorFn) (*StartDeviceLoginResponse, error)

	// BeginDeviceBrowserWithResponse Begin browser authentication for a control-issued device code
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v1/auth/device/approve (the `BeginDeviceBrowser` operationId).
	BeginDeviceBrowserWithResponse(ctx context.Context, params *BeginDeviceBrowserParams, reqEditors ...RequestEditorFn) (*BeginDeviceBrowserResponse, error)

	// ApproveDeviceBrowserWithBodyWithResponse Confirm the displayed device code after browser OIDC authentication
	//
	// 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 /v1/auth/device/approve (the `ApproveDeviceBrowser` operationId).
	ApproveDeviceBrowserWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ApproveDeviceBrowserResponse, error)

	// ApproveDeviceBrowserWithFormdataBodyWithResponse Confirm the displayed device code after browser OIDC authentication
	//
	// Takes a body of the `application/x-www-form-urlencoded` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/auth/device/approve (the `ApproveDeviceBrowser` operationId).
	ApproveDeviceBrowserWithFormdataBodyWithResponse(ctx context.Context, body ApproveDeviceBrowserFormdataRequestBody, reqEditors ...RequestEditorFn) (*ApproveDeviceBrowserResponse, error)

	// CompleteDeviceBrowserWithResponse Redeem one state-bound authorization code and show explicit device confirmation
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v1/auth/device/callback (the `CompleteDeviceBrowser` operationId).
	CompleteDeviceBrowserWithResponse(ctx context.Context, params *CompleteDeviceBrowserParams, reqEditors ...RequestEditorFn) (*CompleteDeviceBrowserResponse, error)

	// CancelDeviceLoginWithBodyWithResponse Cancel an attempt and revoke any session it issued
	//
	// 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 /v1/auth/device/cancel (the `CancelDeviceLogin` operationId).
	CancelDeviceLoginWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CancelDeviceLoginResponse, error)

	// CancelDeviceLoginWithResponse Cancel an attempt and revoke any session it issued
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/auth/device/cancel (the `CancelDeviceLogin` operationId).
	CancelDeviceLoginWithResponse(ctx context.Context, body CancelDeviceLoginJSONRequestBody, reqEditors ...RequestEditorFn) (*CancelDeviceLoginResponse, error)

	// PollDeviceLoginWithBodyWithResponse Read a device login result; safe to retry until expiration
	//
	// 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 /v1/auth/device/poll (the `PollDeviceLogin` operationId).
	PollDeviceLoginWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PollDeviceLoginResponse, error)

	// PollDeviceLoginWithResponse Read a device login result; safe to retry until expiration
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/auth/device/poll (the `PollDeviceLogin` operationId).
	PollDeviceLoginWithResponse(ctx context.Context, body PollDeviceLoginJSONRequestBody, reqEditors ...RequestEditorFn) (*PollDeviceLoginResponse, error)

	// LogoutControlSessionWithResponse Revoke the authenticated control session
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/auth/logout (the `LogoutControlSession` operationId).
	LogoutControlSessionWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*LogoutControlSessionResponse, error)

	// RefreshControlSessionWithBodyWithResponse Rotate a control session's access and refresh tokens
	//
	// 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 /v1/auth/refresh (the `RefreshControlSession` operationId).
	RefreshControlSessionWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RefreshControlSessionResponse, error)

	// RefreshControlSessionWithResponse Rotate a control session's access and refresh tokens
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/auth/refresh (the `RefreshControlSession` operationId).
	RefreshControlSessionWithResponse(ctx context.Context, body RefreshControlSessionJSONRequestBody, reqEditors ...RequestEditorFn) (*RefreshControlSessionResponse, error)

	// RecoverCompanyOwnerWithBodyWithResponse Explicit audited recovery grants a personal-account exception to a nonremoved owner
	//
	// 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 /v1/company-access/recovery (the `RecoverCompanyOwner` operationId).
	RecoverCompanyOwnerWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RecoverCompanyOwnerResponse, error)

	// RecoverCompanyOwnerWithResponse Explicit audited recovery grants a personal-account exception to a nonremoved owner
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/company-access/recovery (the `RecoverCompanyOwner` operationId).
	RecoverCompanyOwnerWithResponse(ctx context.Context, body RecoverCompanyOwnerJSONRequestBody, reqEditors ...RequestEditorFn) (*RecoverCompanyOwnerResponse, error)

	// GetIdentityContextWithResponse Read the authenticated identity and memberships
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v1/identity (the `GetIdentityContext` operationId).
	GetIdentityContextWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetIdentityContextResponse, error)

	// AcceptInvitationWithBodyWithResponse Accept an invitation with its secret
	//
	// 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 /v1/invitations/accept (the `AcceptInvitation` operationId).
	AcceptInvitationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AcceptInvitationResponse, error)

	// AcceptInvitationWithResponse Accept an invitation with its secret
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/invitations/accept (the `AcceptInvitation` operationId).
	AcceptInvitationWithResponse(ctx context.Context, body AcceptInvitationJSONRequestBody, reqEditors ...RequestEditorFn) (*AcceptInvitationResponse, error)

	// RedeemPublisherEnrollmentWithBodyWithResponse performs a POST /v1/publisher-enrollments/redeem (the `RedeemPublisherEnrollment` operationId) request,
	// with any type of body and a specified content type.
	//
	// Returns a wrapper object for the known response body format(s).
	RedeemPublisherEnrollmentWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RedeemPublisherEnrollmentResponse, error)

	// RedeemPublisherEnrollmentWithResponse performs a POST /v1/publisher-enrollments/redeem (the `RedeemPublisherEnrollment` operationId) request.
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	RedeemPublisherEnrollmentWithResponse(ctx context.Context, body RedeemPublisherEnrollmentJSONRequestBody, reqEditors ...RequestEditorFn) (*RedeemPublisherEnrollmentResponse, error)

	// RotatePublisherKeyWithBodyWithResponse performs a POST /v1/publisher-keys/rotate (the `RotatePublisherKey` operationId) request,
	// with any type of body and a specified content type.
	//
	// Returns a wrapper object for the known response body format(s).
	RotatePublisherKeyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RotatePublisherKeyResponse, error)

	// RotatePublisherKeyWithResponse performs a POST /v1/publisher-keys/rotate (the `RotatePublisherKey` operationId) request.
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	RotatePublisherKeyWithResponse(ctx context.Context, body RotatePublisherKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*RotatePublisherKeyResponse, error)

	// ExchangePublisherAssertionWithBodyWithResponse performs a POST /v1/publisher-token (the `ExchangePublisherAssertion` operationId) request,
	// with any type of body and a specified content type.
	//
	// Returns a wrapper object for the known response body format(s).
	ExchangePublisherAssertionWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExchangePublisherAssertionResponse, error)

	// ExchangePublisherAssertionWithResponse performs a POST /v1/publisher-token (the `ExchangePublisherAssertion` operationId) request.
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	ExchangePublisherAssertionWithResponse(ctx context.Context, body ExchangePublisherAssertionJSONRequestBody, reqEditors ...RequestEditorFn) (*ExchangePublisherAssertionResponse, error)

	// ProvisionCompanyEligibilityWithBodyWithResponse Apply one revision-fenced eligibility delta without granting roles
	//
	// Requires both website authentication and the exact connection provisioning credential. Missing entries never remove members. A revision retry must have identical content.
	//
	// 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 /v1/service/company-eligibility (the `ProvisionCompanyEligibility` operationId).
	ProvisionCompanyEligibilityWithBodyWithResponse(ctx context.Context, params *ProvisionCompanyEligibilityParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ProvisionCompanyEligibilityResponse, error)

	// ProvisionCompanyEligibilityWithResponse Apply one revision-fenced eligibility delta without granting roles
	//
	// Requires both website authentication and the exact connection provisioning credential. Missing entries never remove members. A revision retry must have identical content.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/service/company-eligibility (the `ProvisionCompanyEligibility` operationId).
	ProvisionCompanyEligibilityWithResponse(ctx context.Context, params *ProvisionCompanyEligibilityParams, body ProvisionCompanyEligibilityJSONRequestBody, reqEditors ...RequestEditorFn) (*ProvisionCompanyEligibilityResponse, error)

	// ResolveServiceIdentityWithBodyWithResponse Read current memberships for the signed-in website identity
	//
	// 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 /v1/service/identity-context (the `ResolveServiceIdentity` operationId).
	ResolveServiceIdentityWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ResolveServiceIdentityResponse, error)

	// ResolveServiceIdentityWithResponse Read current memberships for the signed-in website identity
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/service/identity-context (the `ResolveServiceIdentity` operationId).
	ResolveServiceIdentityWithResponse(ctx context.Context, body ResolveServiceIdentityJSONRequestBody, reqEditors ...RequestEditorFn) (*ResolveServiceIdentityResponse, error)

	// AcceptServiceInvitationWithBodyWithResponse Accept an invitation for the signed-in website identity
	//
	// 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 /v1/service/invitations/accept (the `AcceptServiceInvitation` operationId).
	AcceptServiceInvitationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AcceptServiceInvitationResponse, error)

	// AcceptServiceInvitationWithResponse Accept an invitation for the signed-in website identity
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/service/invitations/accept (the `AcceptServiceInvitation` operationId).
	AcceptServiceInvitationWithResponse(ctx context.Context, body AcceptServiceInvitationJSONRequestBody, reqEditors ...RequestEditorFn) (*AcceptServiceInvitationResponse, error)

	// PreviewServiceInvitationWithBodyWithResponse Preview an invitation for the signed-in website identity
	//
	// 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 /v1/service/invitations/preview (the `PreviewServiceInvitation` operationId).
	PreviewServiceInvitationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PreviewServiceInvitationResponse, error)

	// PreviewServiceInvitationWithResponse Preview an invitation for the signed-in website identity
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/service/invitations/preview (the `PreviewServiceInvitation` operationId).
	PreviewServiceInvitationWithResponse(ctx context.Context, body PreviewServiceInvitationJSONRequestBody, reqEditors ...RequestEditorFn) (*PreviewServiceInvitationResponse, error)

	// AcceptWebsiteServiceInvitationWithBodyWithResponse performs a POST /v1/service/service-invitations/accept (the `AcceptWebsiteServiceInvitation` operationId) request,
	// with any type of body and a specified content type.
	//
	// Returns a wrapper object for the known response body format(s).
	AcceptWebsiteServiceInvitationWithBodyWithResponse(ctx context.Context, params *AcceptWebsiteServiceInvitationParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AcceptWebsiteServiceInvitationResponse, error)

	// AcceptWebsiteServiceInvitationWithResponse performs a POST /v1/service/service-invitations/accept (the `AcceptWebsiteServiceInvitation` operationId) request.
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	AcceptWebsiteServiceInvitationWithResponse(ctx context.Context, params *AcceptWebsiteServiceInvitationParams, body AcceptWebsiteServiceInvitationJSONRequestBody, reqEditors ...RequestEditorFn) (*AcceptWebsiteServiceInvitationResponse, error)

	// PreviewWebsiteServiceInvitationWithBodyWithResponse performs a POST /v1/service/service-invitations/preview (the `PreviewWebsiteServiceInvitation` operationId) request,
	// with any type of body and a specified content type.
	//
	// Returns a wrapper object for the known response body format(s).
	PreviewWebsiteServiceInvitationWithBodyWithResponse(ctx context.Context, params *PreviewWebsiteServiceInvitationParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PreviewWebsiteServiceInvitationResponse, error)

	// PreviewWebsiteServiceInvitationWithResponse performs a POST /v1/service/service-invitations/preview (the `PreviewWebsiteServiceInvitation` operationId) request.
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	PreviewWebsiteServiceInvitationWithResponse(ctx context.Context, params *PreviewWebsiteServiceInvitationParams, body PreviewWebsiteServiceInvitationJSONRequestBody, reqEditors ...RequestEditorFn) (*PreviewWebsiteServiceInvitationResponse, error)

	// GetWebsiteServiceWithResponse performs a GET /v1/service/services/{service_id} (the `GetWebsiteService` operationId) request.
	//
	// Returns a wrapper object for the known response body format(s).
	GetWebsiteServiceWithResponse(ctx context.Context, serviceId ServiceID, params *GetWebsiteServiceParams, reqEditors ...RequestEditorFn) (*GetWebsiteServiceResponse, error)

	// ListWebsiteServiceGrantsWithResponse performs a GET /v1/service/services/{service_id}/grants (the `ListWebsiteServiceGrants` operationId) request.
	//
	// Up to 100 records ordered by ID, including expired and revoked history. Follow next_cursor until absent. Each page requires a fresh assertion bound to the exact query and current manager/source authorization. Inventory is not proof of visitor access.
	//
	// Returns a wrapper object for the known response body format(s).
	ListWebsiteServiceGrantsWithResponse(ctx context.Context, serviceId ServiceID, params *ListWebsiteServiceGrantsParams, reqEditors ...RequestEditorFn) (*ListWebsiteServiceGrantsResponse, error)

	// RevokeWebsiteServiceGrantWithResponse performs a DELETE /v1/service/services/{service_id}/grants/{grant_id} (the `RevokeWebsiteServiceGrant` operationId) request.
	//
	// Returns a wrapper object for the known response body format(s).
	RevokeWebsiteServiceGrantWithResponse(ctx context.Context, serviceId ServiceID, grantId externalRef0.ServiceGrantID, params *RevokeWebsiteServiceGrantParams, reqEditors ...RequestEditorFn) (*RevokeWebsiteServiceGrantResponse, error)

	// ListWebsiteServiceHTTPGrantsWithResponse performs a GET /v1/service/services/{service_id}/http-grants (the `ListWebsiteServiceHTTPGrants` operationId) request.
	//
	// Returns a wrapper object for the known response body format(s).
	ListWebsiteServiceHTTPGrantsWithResponse(ctx context.Context, serviceId ServiceID, params *ListWebsiteServiceHTTPGrantsParams, reqEditors ...RequestEditorFn) (*ListWebsiteServiceHTTPGrantsResponse, error)

	// CreateWebsiteServiceHTTPGrantWithBodyWithResponse performs a POST /v1/service/services/{service_id}/http-grants (the `CreateWebsiteServiceHTTPGrant` operationId) request,
	// with any type of body and a specified content type.
	//
	// Requires current management and visit access. Company-session-bound credential issuance still requires a control session; this bridge never creates a session or relaxes credential rechecks.
	//
	// Returns a wrapper object for the known response body format(s).
	CreateWebsiteServiceHTTPGrantWithBodyWithResponse(ctx context.Context, serviceId ServiceID, params *CreateWebsiteServiceHTTPGrantParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateWebsiteServiceHTTPGrantResponse, error)

	// CreateWebsiteServiceHTTPGrantWithResponse performs a POST /v1/service/services/{service_id}/http-grants (the `CreateWebsiteServiceHTTPGrant` operationId) request.
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Requires current management and visit access. Company-session-bound credential issuance still requires a control session; this bridge never creates a session or relaxes credential rechecks.
	CreateWebsiteServiceHTTPGrantWithResponse(ctx context.Context, serviceId ServiceID, params *CreateWebsiteServiceHTTPGrantParams, body CreateWebsiteServiceHTTPGrantJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateWebsiteServiceHTTPGrantResponse, error)

	// RevokeWebsiteServiceHTTPGrantWithResponse performs a DELETE /v1/service/services/{service_id}/http-grants/{grant_id} (the `RevokeWebsiteServiceHTTPGrant` operationId) request.
	//
	// Returns a wrapper object for the known response body format(s).
	RevokeWebsiteServiceHTTPGrantWithResponse(ctx context.Context, serviceId ServiceID, grantId string, params *RevokeWebsiteServiceHTTPGrantParams, reqEditors ...RequestEditorFn) (*RevokeWebsiteServiceHTTPGrantResponse, error)

	// ListWebsiteServiceInvitationsWithResponse performs a GET /v1/service/services/{service_id}/invitations (the `ListWebsiteServiceInvitations` operationId) request.
	//
	// Up to 100 records ordered by ID, including accepted, expired and revoked history, without secrets. Follow next_cursor until absent. Each page requires a fresh assertion bound to the exact query and current manager/source authorization.
	//
	// Returns a wrapper object for the known response body format(s).
	ListWebsiteServiceInvitationsWithResponse(ctx context.Context, serviceId ServiceID, params *ListWebsiteServiceInvitationsParams, reqEditors ...RequestEditorFn) (*ListWebsiteServiceInvitationsResponse, error)

	// InviteWebsiteServiceVisitorWithBodyWithResponse performs a POST /v1/service/services/{service_id}/invitations (the `InviteWebsiteServiceVisitor` operationId) request,
	// with any type of body and a specified content type.
	//
	// Keep the same key and exact request when retrying with a fresh signed assertion. Current manager and company source checks run again. An exact retry returns HTTP 200 with the original ID and current state but no secret. If delivery was lost, explicitly revoke that ID and create with a new key and deadline. A changed service, email or deadline with the same actor/key returns conflict. No secret is retained for recovery.
	//
	// Returns a wrapper object for the known response body format(s).
	InviteWebsiteServiceVisitorWithBodyWithResponse(ctx context.Context, serviceId ServiceID, params *InviteWebsiteServiceVisitorParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*InviteWebsiteServiceVisitorResponse, error)

	// InviteWebsiteServiceVisitorWithResponse performs a POST /v1/service/services/{service_id}/invitations (the `InviteWebsiteServiceVisitor` operationId) request.
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Keep the same key and exact request when retrying with a fresh signed assertion. Current manager and company source checks run again. An exact retry returns HTTP 200 with the original ID and current state but no secret. If delivery was lost, explicitly revoke that ID and create with a new key and deadline. A changed service, email or deadline with the same actor/key returns conflict. No secret is retained for recovery.
	InviteWebsiteServiceVisitorWithResponse(ctx context.Context, serviceId ServiceID, params *InviteWebsiteServiceVisitorParams, body InviteWebsiteServiceVisitorJSONRequestBody, reqEditors ...RequestEditorFn) (*InviteWebsiteServiceVisitorResponse, error)

	// RevokeWebsiteServiceInvitationWithResponse performs a DELETE /v1/service/services/{service_id}/invitations/{invitation_id} (the `RevokeWebsiteServiceInvitation` operationId) request.
	//
	// Returns a wrapper object for the known response body format(s).
	RevokeWebsiteServiceInvitationWithResponse(ctx context.Context, serviceId ServiceID, invitationId externalRef0.ServiceInvitationID, params *RevokeWebsiteServiceInvitationParams, reqEditors ...RequestEditorFn) (*RevokeWebsiteServiceInvitationResponse, error)

	// ListCompanyAdmissionsWithResponse performs a GET /v1/service/teams/{team_id}/company-admissions (the `ListCompanyAdmissions` operationId) request.
	//
	// Complete admission history, including decided requests and previous company sources. Pages are ordered by created_at then bytewise request_id. Bind the signed actor assertion to the complete path and cursor query on every page.
	//
	// Returns a wrapper object for the known response body format(s).
	ListCompanyAdmissionsWithResponse(ctx context.Context, teamId string, params *ListCompanyAdmissionsParams, reqEditors ...RequestEditorFn) (*ListCompanyAdmissionsResponse, error)

	// DecideCompanyAdmissionWithBodyWithResponse performs a POST /v1/service/teams/{team_id}/company-admissions/{request_id} (the `DecideCompanyAdmission` operationId) request,
	// with any type of body and a specified content type.
	//
	// Returns a wrapper object for the known response body format(s).
	DecideCompanyAdmissionWithBodyWithResponse(ctx context.Context, teamId string, requestId string, params *DecideCompanyAdmissionParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DecideCompanyAdmissionResponse, error)

	// DecideCompanyAdmissionWithResponse performs a POST /v1/service/teams/{team_id}/company-admissions/{request_id} (the `DecideCompanyAdmission` operationId) request.
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	DecideCompanyAdmissionWithResponse(ctx context.Context, teamId string, requestId string, params *DecideCompanyAdmissionParams, body DecideCompanyAdmissionJSONRequestBody, reqEditors ...RequestEditorFn) (*DecideCompanyAdmissionResponse, error)

	// ReadCompanyConnectionsWithResponse Read active and pending connections with current owner proof
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v1/service/teams/{team_id}/identity-connections (the `ReadCompanyConnections` operationId).
	ReadCompanyConnectionsWithResponse(ctx context.Context, teamId string, params *ReadCompanyConnectionsParams, reqEditors ...RequestEditorFn) (*ReadCompanyConnectionsResponse, error)

	// BeginIdentityConnectionSetupWithBodyWithResponse Begin consent setup without changing current enforcement
	//
	// 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 /v1/service/teams/{team_id}/identity-connections (the `BeginIdentityConnectionSetup` operationId).
	BeginIdentityConnectionSetupWithBodyWithResponse(ctx context.Context, teamId string, params *BeginIdentityConnectionSetupParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BeginIdentityConnectionSetupResponse, error)

	// BeginIdentityConnectionSetupWithResponse Begin consent setup without changing current enforcement
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/service/teams/{team_id}/identity-connections (the `BeginIdentityConnectionSetup` operationId).
	BeginIdentityConnectionSetupWithResponse(ctx context.Context, teamId string, params *BeginIdentityConnectionSetupParams, body BeginIdentityConnectionSetupJSONRequestBody, reqEditors ...RequestEditorFn) (*BeginIdentityConnectionSetupResponse, error)

	// DisconnectIdentityConnectionWithBodyWithResponse Abort pending consent or retire an active connection
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /v1/service/teams/{team_id}/identity-connections/{identity_connection_id} (the `DisconnectIdentityConnection` operationId).
	DisconnectIdentityConnectionWithBodyWithResponse(ctx context.Context, teamId string, identityConnectionId string, params *DisconnectIdentityConnectionParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DisconnectIdentityConnectionResponse, error)

	// DisconnectIdentityConnectionWithResponse Abort pending consent or retire an active connection
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /v1/service/teams/{team_id}/identity-connections/{identity_connection_id} (the `DisconnectIdentityConnection` operationId).
	DisconnectIdentityConnectionWithResponse(ctx context.Context, teamId string, identityConnectionId string, params *DisconnectIdentityConnectionParams, body DisconnectIdentityConnectionJSONRequestBody, reqEditors ...RequestEditorFn) (*DisconnectIdentityConnectionResponse, error)

	// ActivateIdentityConnectionWithBodyWithResponse performs a POST /v1/service/teams/{team_id}/identity-connections/{identity_connection_id}/activate (the `ActivateIdentityConnection` operationId) request,
	// with any type of body and a specified content type.
	//
	// Returns a wrapper object for the known response body format(s).
	ActivateIdentityConnectionWithBodyWithResponse(ctx context.Context, teamId string, identityConnectionId string, params *ActivateIdentityConnectionParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ActivateIdentityConnectionResponse, error)

	// ActivateIdentityConnectionWithResponse performs a POST /v1/service/teams/{team_id}/identity-connections/{identity_connection_id}/activate (the `ActivateIdentityConnection` operationId) request.
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	ActivateIdentityConnectionWithResponse(ctx context.Context, teamId string, identityConnectionId string, params *ActivateIdentityConnectionParams, body ActivateIdentityConnectionJSONRequestBody, reqEditors ...RequestEditorFn) (*ActivateIdentityConnectionResponse, error)

	// RotateCompanyProvisioningTokenWithBodyWithResponse performs a POST /v1/service/teams/{team_id}/identity-connections/{identity_connection_id}/provisioning-token (the `RotateCompanyProvisioningToken` operationId) request,
	// with any type of body and a specified content type.
	//
	// Returns a wrapper object for the known response body format(s).
	RotateCompanyProvisioningTokenWithBodyWithResponse(ctx context.Context, teamId string, identityConnectionId string, params *RotateCompanyProvisioningTokenParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RotateCompanyProvisioningTokenResponse, error)

	// RotateCompanyProvisioningTokenWithResponse performs a POST /v1/service/teams/{team_id}/identity-connections/{identity_connection_id}/provisioning-token (the `RotateCompanyProvisioningToken` operationId) request.
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	RotateCompanyProvisioningTokenWithResponse(ctx context.Context, teamId string, identityConnectionId string, params *RotateCompanyProvisioningTokenParams, body RotateCompanyProvisioningTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*RotateCompanyProvisioningTokenResponse, error)

	// SetCompanyInvitationExceptionWithBodyWithResponse performs a PUT /v1/service/teams/{team_id}/invitations/{invitation_id}/company-decision (the `SetCompanyInvitationException` operationId) request,
	// with any type of body and a specified content type.
	//
	// Returns a wrapper object for the known response body format(s).
	SetCompanyInvitationExceptionWithBodyWithResponse(ctx context.Context, teamId string, invitationId string, params *SetCompanyInvitationExceptionParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetCompanyInvitationExceptionResponse, error)

	// SetCompanyInvitationExceptionWithResponse performs a PUT /v1/service/teams/{team_id}/invitations/{invitation_id}/company-decision (the `SetCompanyInvitationException` operationId) request.
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	SetCompanyInvitationExceptionWithResponse(ctx context.Context, teamId string, invitationId string, params *SetCompanyInvitationExceptionParams, body SetCompanyInvitationExceptionJSONRequestBody, reqEditors ...RequestEditorFn) (*SetCompanyInvitationExceptionResponse, error)

	// SetCompanyMembershipDecisionWithBodyWithResponse performs a PUT /v1/service/teams/{team_id}/memberships/{membership_id}/company-decision (the `SetCompanyMembershipDecision` operationId) request,
	// with any type of body and a specified content type.
	//
	// Returns a wrapper object for the known response body format(s).
	SetCompanyMembershipDecisionWithBodyWithResponse(ctx context.Context, teamId string, membershipId string, params *SetCompanyMembershipDecisionParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetCompanyMembershipDecisionResponse, error)

	// SetCompanyMembershipDecisionWithResponse performs a PUT /v1/service/teams/{team_id}/memberships/{membership_id}/company-decision (the `SetCompanyMembershipDecision` operationId) request.
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	SetCompanyMembershipDecisionWithResponse(ctx context.Context, teamId string, membershipId string, params *SetCompanyMembershipDecisionParams, body SetCompanyMembershipDecisionJSONRequestBody, reqEditors ...RequestEditorFn) (*SetCompanyMembershipDecisionResponse, error)

	// ListWebsiteServicesWithResponse performs a GET /v1/service/teams/{team_id}/services (the `ListWebsiteServices` operationId) request.
	//
	// Current owner/admin inventory for this exact team, with current company source checks. Cursor is included in the signed request target.
	//
	// Returns a wrapper object for the known response body format(s).
	ListWebsiteServicesWithResponse(ctx context.Context, teamId TeamID, params *ListWebsiteServicesParams, reqEditors ...RequestEditorFn) (*ListWebsiteServicesResponse, error)

	// AuthorizeWebsiteTeamUsageWithResponse performs a GET /v1/service/teams/{team_id}/usage-authorization (the `AuthorizeWebsiteTeamUsage` operationId) request.
	//
	// Authorize one website usage read for any current active team member, including a personal-team owner. Requires a fresh configured-issuer assertion with auth_time, a unique jti and nonce using the tnl.team-usage.actor.v1 purpose, bound to the exact method, escaped path, raw query and empty body. Control consumes the assertion and rechecks identity, membership and current company source/eligibility. Success grants no service management or visitor credential and is not reusable authorization. No saved service or inventory read is required.
	//
	// Returns a wrapper object for the known response body format(s).
	AuthorizeWebsiteTeamUsageWithResponse(ctx context.Context, teamId TeamID, params *AuthorizeWebsiteTeamUsageParams, reqEditors ...RequestEditorFn) (*AuthorizeWebsiteTeamUsageResponse, error)

	// ListTeamsWithResponse List teams for the authenticated identity
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v1/teams (the `ListTeams` operationId).
	ListTeamsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListTeamsResponse, error)

	// CreateTeamWithBodyWithResponse Create an organization team
	//
	// 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 /v1/teams (the `CreateTeam` operationId).
	CreateTeamWithBodyWithResponse(ctx context.Context, params *CreateTeamParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateTeamResponse, error)

	// CreateTeamWithResponse Create an organization team
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/teams (the `CreateTeam` operationId).
	CreateTeamWithResponse(ctx context.Context, params *CreateTeamParams, body CreateTeamJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateTeamResponse, error)

	// GetTeamWithResponse Read one team
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v1/teams/{team_id} (the `GetTeam` operationId).
	GetTeamWithResponse(ctx context.Context, teamId TeamID, reqEditors ...RequestEditorFn) (*GetTeamResponse, error)

	// ListTeamDomainsWithResponse List domains available to the team
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v1/teams/{team_id}/domains (the `ListTeamDomains` operationId).
	ListTeamDomainsWithResponse(ctx context.Context, teamId TeamID, reqEditors ...RequestEditorFn) (*ListTeamDomainsResponse, error)

	// ClaimTeamDomainWithBodyWithResponse Begin claiming one 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 /v1/teams/{team_id}/domains (the `ClaimTeamDomain` operationId).
	ClaimTeamDomainWithBodyWithResponse(ctx context.Context, teamId TeamID, params *ClaimTeamDomainParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ClaimTeamDomainResponse, error)

	// ClaimTeamDomainWithResponse Begin claiming one 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 /v1/teams/{team_id}/domains (the `ClaimTeamDomain` operationId).
	ClaimTeamDomainWithResponse(ctx context.Context, teamId TeamID, params *ClaimTeamDomainParams, body ClaimTeamDomainJSONRequestBody, reqEditors ...RequestEditorFn) (*ClaimTeamDomainResponse, error)

	// ReleaseTeamDomainWithResponse Release one custom domain
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /v1/teams/{team_id}/domains/{domain_id} (the `ReleaseTeamDomain` operationId).
	ReleaseTeamDomainWithResponse(ctx context.Context, teamId TeamID, domainId DomainID, reqEditors ...RequestEditorFn) (*ReleaseTeamDomainResponse, error)

	// SetTeamDefaultDomainWithResponse Select a ready default domain
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/teams/{team_id}/domains/{domain_id}/default (the `SetTeamDefaultDomain` operationId).
	SetTeamDefaultDomainWithResponse(ctx context.Context, teamId TeamID, domainId DomainID, reqEditors ...RequestEditorFn) (*SetTeamDefaultDomainResponse, error)

	// GetTeamFeedbackPolicyWithResponse performs a GET /v1/teams/{team_id}/feedback-policy (the `GetTeamFeedbackPolicy` operationId) request.
	//
	// Returns a wrapper object for the known response body format(s).
	GetTeamFeedbackPolicyWithResponse(ctx context.Context, teamId string, reqEditors ...RequestEditorFn) (*GetTeamFeedbackPolicyResponse, error)

	// SetTeamFeedbackPolicyWithBodyWithResponse performs a PUT /v1/teams/{team_id}/feedback-policy (the `SetTeamFeedbackPolicy` operationId) request,
	// with any type of body and a specified content type.
	//
	// Returns a wrapper object for the known response body format(s).
	SetTeamFeedbackPolicyWithBodyWithResponse(ctx context.Context, teamId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetTeamFeedbackPolicyResponse, error)

	// SetTeamFeedbackPolicyWithResponse performs a PUT /v1/teams/{team_id}/feedback-policy (the `SetTeamFeedbackPolicy` operationId) request.
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	SetTeamFeedbackPolicyWithResponse(ctx context.Context, teamId string, body SetTeamFeedbackPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*SetTeamFeedbackPolicyResponse, error)

	// ListTeamInvitationsWithResponse List team invitations
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v1/teams/{team_id}/invitations (the `ListTeamInvitations` operationId).
	ListTeamInvitationsWithResponse(ctx context.Context, teamId TeamID, reqEditors ...RequestEditorFn) (*ListTeamInvitationsResponse, error)

	// CreateTeamInvitationWithBodyWithResponse Create an expiring invitation
	//
	// 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 /v1/teams/{team_id}/invitations (the `CreateTeamInvitation` operationId).
	CreateTeamInvitationWithBodyWithResponse(ctx context.Context, teamId TeamID, params *CreateTeamInvitationParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateTeamInvitationResponse, error)

	// CreateTeamInvitationWithResponse Create an expiring invitation
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/teams/{team_id}/invitations (the `CreateTeamInvitation` operationId).
	CreateTeamInvitationWithResponse(ctx context.Context, teamId TeamID, params *CreateTeamInvitationParams, body CreateTeamInvitationJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateTeamInvitationResponse, error)

	// RevokeTeamInvitationWithResponse Revoke one pending invitation
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /v1/teams/{team_id}/invitations/{invitation_id} (the `RevokeTeamInvitation` operationId).
	RevokeTeamInvitationWithResponse(ctx context.Context, teamId TeamID, invitationId InvitationID, reqEditors ...RequestEditorFn) (*RevokeTeamInvitationResponse, error)

	// ListTeamMembershipsWithResponse List team memberships
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v1/teams/{team_id}/memberships (the `ListTeamMemberships` operationId).
	ListTeamMembershipsWithResponse(ctx context.Context, teamId TeamID, reqEditors ...RequestEditorFn) (*ListTeamMembershipsResponse, error)

	// RemoveMembershipWithResponse Remove one membership
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /v1/teams/{team_id}/memberships/{membership_id} (the `RemoveMembership` operationId).
	RemoveMembershipWithResponse(ctx context.Context, teamId TeamID, membershipId MembershipID, reqEditors ...RequestEditorFn) (*RemoveMembershipResponse, error)

	// SetMembershipRoleWithBodyWithResponse Change one membership's team role
	//
	// 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 /v1/teams/{team_id}/memberships/{membership_id} (the `SetMembershipRole` operationId).
	SetMembershipRoleWithBodyWithResponse(ctx context.Context, teamId TeamID, membershipId MembershipID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetMembershipRoleResponse, error)

	// SetMembershipRoleWithResponse Change one membership's team role
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /v1/teams/{team_id}/memberships/{membership_id} (the `SetMembershipRole` operationId).
	SetMembershipRoleWithResponse(ctx context.Context, teamId TeamID, membershipId MembershipID, body SetMembershipRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*SetMembershipRoleResponse, error)

	// ExchangeWorkloadWithBodyWithResponse performs a POST /v1/workload-sessions/exchange (the `ExchangeWorkload` operationId) request,
	// with any type of body and a specified content type.
	//
	// Returns a wrapper object for the known response body format(s).
	ExchangeWorkloadWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExchangeWorkloadResponse, error)

	// ExchangeWorkloadWithResponse performs a POST /v1/workload-sessions/exchange (the `ExchangeWorkload` operationId) request.
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	ExchangeWorkloadWithResponse(ctx context.Context, body ExchangeWorkloadJSONRequestBody, reqEditors ...RequestEditorFn) (*ExchangeWorkloadResponse, error)

	// IdentifyWorkloadWithBodyWithResponse performs a POST /v1/workload-sessions/identity (the `IdentifyWorkload` operationId) request,
	// with any type of body and a specified content type.
	//
	// Returns a wrapper object for the known response body format(s).
	IdentifyWorkloadWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IdentifyWorkloadResponse, error)

	// IdentifyWorkloadWithResponse performs a POST /v1/workload-sessions/identity (the `IdentifyWorkload` operationId) request.
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	IdentifyWorkloadWithResponse(ctx context.Context, body IdentifyWorkloadJSONRequestBody, reqEditors ...RequestEditorFn) (*IdentifyWorkloadResponse, error)

	// RevokeWorkloadSessionWithResponse performs a DELETE /v1/workload-sessions/{session_id} (the `RevokeWorkloadSession` operationId) request.
	//
	// Returns a wrapper object for the known response body format(s).
	RevokeWorkloadSessionWithResponse(ctx context.Context, sessionId string, reqEditors ...RequestEditorFn) (*RevokeWorkloadSessionResponse, error)

	// AttachWorkloadAssertionWithBodyWithResponse performs a POST /v1/workload-sessions/{session_id}/assertions (the `AttachWorkloadAssertion` operationId) request,
	// with any type of body and a specified content type.
	//
	// Returns a wrapper object for the known response body format(s).
	AttachWorkloadAssertionWithBodyWithResponse(ctx context.Context, sessionId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AttachWorkloadAssertionResponse, error)

	// AttachWorkloadAssertionWithResponse performs a POST /v1/workload-sessions/{session_id}/assertions (the `AttachWorkloadAssertion` operationId) request.
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	AttachWorkloadAssertionWithResponse(ctx context.Context, sessionId string, body AttachWorkloadAssertionJSONRequestBody, reqEditors ...RequestEditorFn) (*AttachWorkloadAssertionResponse, error)

	// RenewWorkloadSessionWithResponse performs a POST /v1/workload-sessions/{session_id}/renew (the `RenewWorkloadSession` operationId) request.
	//
	// Returns a wrapper object for the known response body format(s).
	RenewWorkloadSessionWithResponse(ctx context.Context, sessionId string, reqEditors ...RequestEditorFn) (*RenewWorkloadSessionResponse, error)
}

ClientWithResponsesInterface is the interface specification for the client with responses above.

type CompanyActorToken

type CompanyActorToken = string

CompanyActorToken defines model for CompanyActorToken.

type CompanyAdmissionPage

type CompanyAdmissionPage struct {
	NextCursor *string                   `json:"next_cursor,omitempty"`
	Requests   []CompanyAdmissionRequest `json:"requests"`
}

CompanyAdmissionPage defines model for CompanyAdmissionPage.

type CompanyAdmissionRequest

type CompanyAdmissionRequest struct {
	ConnectionRevision   int64     `json:"connection_revision"`
	CreatedAt            time.Time `json:"created_at"`
	IdentityConnectionId string    `json:"identity_connection_id"`
	IdentityId           string    `json:"identity_id"`
	MemberSlug           string    `json:"member_slug"`
	RequestId            string    `json:"request_id"`
	State                string    `json:"state"`
	Subject              string    `json:"subject"`
	TeamId               string    `json:"team_id"`
}

CompanyAdmissionRequest defines model for CompanyAdmissionRequest.

type CompanyConnections

type CompanyConnections struct {
	Active *IdentityConnection `json:"active,omitempty"`
	Setup  *IdentityConnection `json:"setup,omitempty"`
}

CompanyConnections defines model for CompanyConnections.

type CompanyEligibilityRequest

type CompanyEligibilityRequest struct {
	// AccountSubject Website OIDC sub under the configured issuer; never a directory subject or email
	AccountSubject       string    `json:"account_subject"`
	ConnectionRevision   int64     `json:"connection_revision"`
	Eligible             bool      `json:"eligible"`
	IdentityConnectionId string    `json:"identity_connection_id"`
	MemberSlug           string    `json:"member_slug"`
	Revision             int64     `json:"revision"`
	Subject              string    `json:"subject"`
	TeamId               string    `json:"team_id"`
	ValidUntil           time.Time `json:"valid_until"`
}

CompanyEligibilityRequest defines model for CompanyEligibilityRequest.

type CompanyIntentCredential

type CompanyIntentCredential struct {
	BindingToken string `json:"binding_token"`
}

CompanyIntentCredential defines model for CompanyIntentCredential.

type CompanyLoginIntent

type CompanyLoginIntent struct {
	BindingToken         *string   `json:"binding_token,omitempty"`
	ClientId             string    `json:"client_id"`
	ConnectionRevision   int64     `json:"connection_revision"`
	ExpiresAt            time.Time `json:"expires_at"`
	IdentityConnectionId string    `json:"identity_connection_id"`
	IntentId             string    `json:"intent_id"`
	Issuer               string    `json:"issuer"`
	Nonce                string    `json:"nonce"`
	RedirectUri          string    `json:"redirect_uri"`
	SourceId             string    `json:"source_id"`
	TeamId               string    `json:"team_id"`
}

CompanyLoginIntent defines model for CompanyLoginIntent.

type CompleteDeviceBrowserParams

type CompleteDeviceBrowserParams struct {
	State string  `form:"state" json:"state"`
	Code  *string `form:"code,omitempty" json:"code,omitempty"`
	Error *string `form:"error,omitempty" json:"error,omitempty"`
}

CompleteDeviceBrowserParams defines parameters for CompleteDeviceBrowser.

type CompleteDeviceBrowserResponse

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

func ParseCompleteDeviceBrowserResponse

func ParseCompleteDeviceBrowserResponse(rsp *http.Response) (*CompleteDeviceBrowserResponse, error)

ParseCompleteDeviceBrowserResponse parses an HTTP response from a CompleteDeviceBrowserWithResponse call

func (CompleteDeviceBrowserResponse) ContentType

func (r CompleteDeviceBrowserResponse) ContentType() string

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

func (CompleteDeviceBrowserResponse) GetApplicationproblemJSONDefault

func (r CompleteDeviceBrowserResponse) GetApplicationproblemJSONDefault() *Problem

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

func (CompleteDeviceBrowserResponse) GetBody

func (r CompleteDeviceBrowserResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (CompleteDeviceBrowserResponse) Status

Status returns HTTPResponse.Status

func (CompleteDeviceBrowserResponse) StatusCode

func (r CompleteDeviceBrowserResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ControlSessionResponse

type ControlSessionResponse struct {
	AccessExpiresAt time.Time `json:"access_expires_at"`
	AccessToken     string    `json:"access_token"`

	// CompanyAuthenticationExpiresAt Fixed company authentication deadline, bounded by original authentication age and control refresh expiry; refreshing never advances it. Expired or revoked company context rejects refresh and requires a new company login intent.
	CompanyAuthenticationExpiresAt *time.Time      `json:"company_authentication_expires_at,omitempty"`
	Identity                       IdentityContext `json:"identity"`
	RefreshExpiresAt               time.Time       `json:"refresh_expires_at"`
	RefreshToken                   string          `json:"refresh_token"`
	SessionId                      ResourceID      `json:"session_id"`
}

ControlSessionResponse defines model for ControlSessionResponse.

type CreateCompanyLoginIntentJSONBody

type CreateCompanyLoginIntentJSONBody struct {
	TeamId string `json:"team_id"`
}

CreateCompanyLoginIntentJSONBody defines parameters for CreateCompanyLoginIntent.

type CreateCompanyLoginIntentJSONRequestBody

type CreateCompanyLoginIntentJSONRequestBody CreateCompanyLoginIntentJSONBody

CreateCompanyLoginIntentJSONRequestBody defines body for CreateCompanyLoginIntent for application/json ContentType.

type CreateCompanyLoginIntentResponse

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

func ParseCreateCompanyLoginIntentResponse

func ParseCreateCompanyLoginIntentResponse(rsp *http.Response) (*CreateCompanyLoginIntentResponse, error)

ParseCreateCompanyLoginIntentResponse parses an HTTP response from a CreateCompanyLoginIntentWithResponse call

func (CreateCompanyLoginIntentResponse) ContentType

func (r CreateCompanyLoginIntentResponse) ContentType() string

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

func (CreateCompanyLoginIntentResponse) GetApplicationproblemJSONDefault

func (r CreateCompanyLoginIntentResponse) GetApplicationproblemJSONDefault() *Problem

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

func (CreateCompanyLoginIntentResponse) GetBody

func (r CreateCompanyLoginIntentResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (CreateCompanyLoginIntentResponse) GetJSON201

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

func (CreateCompanyLoginIntentResponse) Status

Status returns HTTPResponse.Status

func (CreateCompanyLoginIntentResponse) StatusCode

func (r CreateCompanyLoginIntentResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateIdentityConnectionRequest

type CreateIdentityConnectionRequest struct {
	Admission        CreateIdentityConnectionRequestAdmission `json:"admission"`
	ExpectedRevision *int64                                   `json:"expected_revision,omitempty"`
	ReplaceId        *string                                  `json:"replace_id,omitempty"`

	// SourceId Opaque immutable source fingerprint; provider configuration stays at the issuer
	SourceId string `json:"source_id"`
}

CreateIdentityConnectionRequest defines model for CreateIdentityConnectionRequest.

type CreateIdentityConnectionRequestAdmission

type CreateIdentityConnectionRequestAdmission string

CreateIdentityConnectionRequestAdmission defines model for CreateIdentityConnectionRequest.Admission.

const (
	CreateConnectionApproval CreateIdentityConnectionRequestAdmission = "approval"
	CreateConnectionManaged  CreateIdentityConnectionRequestAdmission = "managed"
)

Defines values for CreateIdentityConnectionRequestAdmission.

func (CreateIdentityConnectionRequestAdmission) Valid

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

type CreateInvitationRequest

type CreateInvitationRequest struct {
	EmailRestriction *openapi_types.Email `json:"email_restriction,omitempty"`
	ExpiresAt        time.Time            `json:"expires_at"`
	InitialRole      TeamRole             `json:"initial_role"`
	MemberSlug       CanonicalLabel       `json:"member_slug"`

	// PersonalAccountException Only a current team owner may explicitly allow personal-account sign-in
	PersonalAccountException *bool `json:"personal_account_exception,omitempty"`
}

CreateInvitationRequest defines model for CreateInvitationRequest.

type CreateTeamInvitationJSONRequestBody

type CreateTeamInvitationJSONRequestBody = CreateInvitationRequest

CreateTeamInvitationJSONRequestBody defines body for CreateTeamInvitation for application/json ContentType.

type CreateTeamInvitationParams

type CreateTeamInvitationParams struct {
	IdempotencyKey IdempotencyKey `json:"Idempotency-Key"`
}

CreateTeamInvitationParams defines parameters for CreateTeamInvitation.

type CreateTeamInvitationResponse

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

func ParseCreateTeamInvitationResponse

func ParseCreateTeamInvitationResponse(rsp *http.Response) (*CreateTeamInvitationResponse, error)

ParseCreateTeamInvitationResponse parses an HTTP response from a CreateTeamInvitationWithResponse call

func (CreateTeamInvitationResponse) ContentType

func (r CreateTeamInvitationResponse) ContentType() string

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

func (CreateTeamInvitationResponse) GetApplicationproblemJSONDefault

func (r CreateTeamInvitationResponse) GetApplicationproblemJSONDefault() *Problem

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

func (CreateTeamInvitationResponse) GetBody

func (r CreateTeamInvitationResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (CreateTeamInvitationResponse) GetJSON201

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

func (CreateTeamInvitationResponse) Status

Status returns HTTPResponse.Status

func (CreateTeamInvitationResponse) StatusCode

func (r CreateTeamInvitationResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateTeamJSONRequestBody

type CreateTeamJSONRequestBody = CreateTeamRequest

CreateTeamJSONRequestBody defines body for CreateTeam for application/json ContentType.

type CreateTeamParams

type CreateTeamParams struct {
	IdempotencyKey IdempotencyKey `json:"Idempotency-Key"`
}

CreateTeamParams defines parameters for CreateTeam.

type CreateTeamRequest

type CreateTeamRequest struct {
	DisplayName CanonicalLabel  `json:"display_name"`
	MemberSlug  *CanonicalLabel `json:"member_slug,omitempty"`
}

CreateTeamRequest defines model for CreateTeamRequest.

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 CreateWebsiteServiceHTTPGrantJSONRequestBody

type CreateWebsiteServiceHTTPGrantJSONRequestBody = externalRef0.CreateServiceHTTPGrantRequest

CreateWebsiteServiceHTTPGrantJSONRequestBody defines body for CreateWebsiteServiceHTTPGrant for application/json ContentType.

type CreateWebsiteServiceHTTPGrantParams

type CreateWebsiteServiceHTTPGrantParams struct {
	// XTnlActorToken Configured-issuer, configured-client signed human assertion with unique jti and at most five-minute lifetime. Nonce is base64url(SHA256("tnl.service.actor.v1\n" + METHOD + "\n" + escaped path and raw query + "\n" + base64url(SHA256(exact body bytes)))); base64url has no padding. GET and DELETE use an empty body. Only these service bridge operations accept this purpose. Current control identity, roles, eligibility and signed company source contexts are checked transactionally; website credentials and token roles alone grant nothing.
	XTnlActorToken ServiceActorToken `json:"X-Tnl-Actor-Token"`
}

CreateWebsiteServiceHTTPGrantParams defines parameters for CreateWebsiteServiceHTTPGrant.

type CreateWebsiteServiceHTTPGrantResponse

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

func ParseCreateWebsiteServiceHTTPGrantResponse

func ParseCreateWebsiteServiceHTTPGrantResponse(rsp *http.Response) (*CreateWebsiteServiceHTTPGrantResponse, error)

ParseCreateWebsiteServiceHTTPGrantResponse parses an HTTP response from a CreateWebsiteServiceHTTPGrantWithResponse call

func (CreateWebsiteServiceHTTPGrantResponse) ContentType

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

func (CreateWebsiteServiceHTTPGrantResponse) GetApplicationproblemJSONDefault

func (r CreateWebsiteServiceHTTPGrantResponse) GetApplicationproblemJSONDefault() *Problem

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

func (CreateWebsiteServiceHTTPGrantResponse) GetBody

GetBody returns the raw response body bytes

func (CreateWebsiteServiceHTTPGrantResponse) GetJSON201

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

func (CreateWebsiteServiceHTTPGrantResponse) Status

Status returns HTTPResponse.Status

func (CreateWebsiteServiceHTTPGrantResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type DNSRecord

type DNSRecord struct {
	Name  CanonicalHostname `json:"name"`
	Type  DNSRecordType     `json:"type"`
	Value string            `json:"value"`
}

DNSRecord defines model for DNSRecord.

type DNSRecordType

type DNSRecordType string

DNSRecordType defines model for DNSRecord.Type.

const (
	A     DNSRecordType = "A"
	AAAA  DNSRecordType = "AAAA"
	CNAME DNSRecordType = "CNAME"
	NS    DNSRecordType = "NS"
	TXT   DNSRecordType = "TXT"
)

Defines values for DNSRecordType.

func (DNSRecordType) Valid

func (e DNSRecordType) Valid() bool

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

type DecideCompanyAdmissionJSONBody

type DecideCompanyAdmissionJSONBody struct {
	ConnectionRevision int64                                  `json:"connection_revision"`
	Decision           DecideCompanyAdmissionJSONBodyDecision `json:"decision"`
}

DecideCompanyAdmissionJSONBody defines parameters for DecideCompanyAdmission.

type DecideCompanyAdmissionJSONBodyDecision

type DecideCompanyAdmissionJSONBodyDecision string

DecideCompanyAdmissionJSONBodyDecision defines parameters for DecideCompanyAdmission.

const (
	AdmissionApproved DecideCompanyAdmissionJSONBodyDecision = "approved"
	AdmissionDenied   DecideCompanyAdmissionJSONBodyDecision = "denied"
)

Defines values for DecideCompanyAdmissionJSONBodyDecision.

func (DecideCompanyAdmissionJSONBodyDecision) Valid

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

type DecideCompanyAdmissionJSONRequestBody

type DecideCompanyAdmissionJSONRequestBody DecideCompanyAdmissionJSONBody

DecideCompanyAdmissionJSONRequestBody defines body for DecideCompanyAdmission for application/json ContentType.

type DecideCompanyAdmissionParams

type DecideCompanyAdmissionParams struct {
	// XTnlActorToken Fresh configured-issuer ID token; nonce is the operation-bound digest specified by company access. Its OIDC sub resolves the actor. The website credential alone grants no owner authority.
	XTnlActorToken CompanyActorToken `json:"X-Tnl-Actor-Token"`
}

DecideCompanyAdmissionParams defines parameters for DecideCompanyAdmission.

type DecideCompanyAdmissionResponse

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

func ParseDecideCompanyAdmissionResponse

func ParseDecideCompanyAdmissionResponse(rsp *http.Response) (*DecideCompanyAdmissionResponse, error)

ParseDecideCompanyAdmissionResponse parses an HTTP response from a DecideCompanyAdmissionWithResponse call

func (DecideCompanyAdmissionResponse) ContentType

func (r DecideCompanyAdmissionResponse) ContentType() string

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

func (DecideCompanyAdmissionResponse) GetApplicationproblemJSONDefault

func (r DecideCompanyAdmissionResponse) GetApplicationproblemJSONDefault() *Problem

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

func (DecideCompanyAdmissionResponse) GetBody

func (r DecideCompanyAdmissionResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DecideCompanyAdmissionResponse) Status

Status returns HTTPResponse.Status

func (DecideCompanyAdmissionResponse) StatusCode

func (r DecideCompanyAdmissionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeviceLoginChallenge

type DeviceLoginChallenge struct {
	ApprovalUrl       string    `json:"approval_url"`
	ExpiresAt         time.Time `json:"expires_at"`
	IntervalSeconds   int       `json:"interval_seconds"`
	PollingCredential string    `json:"polling_credential"`
	UserCode          string    `json:"user_code"`
}

DeviceLoginChallenge defines model for DeviceLoginChallenge.

type DeviceLoginCredential

type DeviceLoginCredential struct {
	PollingCredential string `json:"polling_credential"`
}

DeviceLoginCredential defines model for DeviceLoginCredential.

type DeviceLoginResult

type DeviceLoginResult struct {
	Session *ControlSessionResponse `json:"session,omitempty"`
	Status  DeviceLoginResultStatus `json:"status"`
}

DeviceLoginResult defines model for DeviceLoginResult.

type DeviceLoginResultStatus

type DeviceLoginResultStatus string

DeviceLoginResultStatus defines model for DeviceLoginResult.Status.

const (
	DeviceLoginResultStatusApproved  DeviceLoginResultStatus = "approved"
	DeviceLoginResultStatusCancelled DeviceLoginResultStatus = "cancelled"
	DeviceLoginResultStatusDenied    DeviceLoginResultStatus = "denied"
	DeviceLoginResultStatusPending   DeviceLoginResultStatus = "pending"
)

Defines values for DeviceLoginResultStatus.

func (DeviceLoginResultStatus) Valid

func (e DeviceLoginResultStatus) Valid() bool

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

type DisconnectIdentityConnectionJSONBody

type DisconnectIdentityConnectionJSONBody struct {
	ExpectedRevision int64 `json:"expected_revision"`
}

DisconnectIdentityConnectionJSONBody defines parameters for DisconnectIdentityConnection.

type DisconnectIdentityConnectionJSONRequestBody

type DisconnectIdentityConnectionJSONRequestBody DisconnectIdentityConnectionJSONBody

DisconnectIdentityConnectionJSONRequestBody defines body for DisconnectIdentityConnection for application/json ContentType.

type DisconnectIdentityConnectionParams

type DisconnectIdentityConnectionParams struct {
	// XTnlActorToken Fresh configured-issuer ID token; nonce is the operation-bound digest specified by company access. Its OIDC sub resolves the actor. The website credential alone grants no owner authority.
	XTnlActorToken CompanyActorToken `json:"X-Tnl-Actor-Token"`
}

DisconnectIdentityConnectionParams defines parameters for DisconnectIdentityConnection.

type DisconnectIdentityConnectionResponse

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

func ParseDisconnectIdentityConnectionResponse

func ParseDisconnectIdentityConnectionResponse(rsp *http.Response) (*DisconnectIdentityConnectionResponse, error)

ParseDisconnectIdentityConnectionResponse parses an HTTP response from a DisconnectIdentityConnectionWithResponse call

func (DisconnectIdentityConnectionResponse) ContentType

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

func (DisconnectIdentityConnectionResponse) GetApplicationproblemJSONDefault

func (r DisconnectIdentityConnectionResponse) GetApplicationproblemJSONDefault() *Problem

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

func (DisconnectIdentityConnectionResponse) GetBody

GetBody returns the raw response body bytes

func (DisconnectIdentityConnectionResponse) Status

Status returns HTTPResponse.Status

func (DisconnectIdentityConnectionResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type Domain

type Domain struct {
	AuthorityRevision int64             `json:"authority_revision"`
	CanonicalDomain   CanonicalHostname `json:"canonical_domain"`
	CreatedAt         time.Time         `json:"created_at"`
	Id                DomainID          `json:"id"`
	Kind              DomainKind        `json:"kind"`
	RequiredRecords   []DNSRecord       `json:"required_records"`
	State             DomainState       `json:"state"`
	TeamId            *TeamID           `json:"team_id,omitempty"`
	UpdatedAt         time.Time         `json:"updated_at"`
	VerifiedAt        *time.Time        `json:"verified_at,omitempty"`
}

Domain defines model for Domain.

type DomainID

type DomainID = ResourceID

DomainID defines model for DomainID.

type DomainKind

type DomainKind string

DomainKind defines model for DomainKind.

const (
	Custom  DomainKind = "custom"
	Managed DomainKind = "managed"
)

Defines values for DomainKind.

func (DomainKind) Valid

func (e DomainKind) Valid() bool

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

type DomainPage

type DomainPage struct {
	Domains    []Domain  `json:"domains"`
	NextCursor *DomainID `json:"next_cursor,omitempty"`
}

DomainPage defines model for DomainPage.

type DomainState

type DomainState string

DomainState defines model for DomainState.

const (
	DomainStateFailed    DomainState = "failed"
	DomainStatePending   DomainState = "pending"
	DomainStateReady     DomainState = "ready"
	DomainStateReleasing DomainState = "releasing"
)

Defines values for DomainState.

func (DomainState) Valid

func (e DomainState) Valid() bool

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

type EmailDeliveryRequest

type EmailDeliveryRequest struct {
	Data       TeamInvitationEmail      `json:"data"`
	DeliveryId ResourceID               `json:"delivery_id"`
	To         openapi_types.Email      `json:"to"`
	Type       EmailDeliveryRequestType `json:"type"`
}

EmailDeliveryRequest Invitation email sent by control to POST /api/internal/tnl/emails on the configured mailer. HTTP 204 means the mailer sent it or already recorded that delivery_id.

type EmailDeliveryRequestType

type EmailDeliveryRequestType string

EmailDeliveryRequestType defines model for EmailDeliveryRequest.Type.

const (
	TeamInvitation EmailDeliveryRequestType = "team_invitation"
)

Defines values for EmailDeliveryRequestType.

func (EmailDeliveryRequestType) Valid

func (e EmailDeliveryRequestType) Valid() bool

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

type ExchangePublisherAssertionJSONRequestBody

type ExchangePublisherAssertionJSONRequestBody = PublisherTokenRequest

ExchangePublisherAssertionJSONRequestBody defines body for ExchangePublisherAssertion for application/json ContentType.

type ExchangePublisherAssertionResponse

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

func ParseExchangePublisherAssertionResponse

func ParseExchangePublisherAssertionResponse(rsp *http.Response) (*ExchangePublisherAssertionResponse, error)

ParseExchangePublisherAssertionResponse parses an HTTP response from a ExchangePublisherAssertionWithResponse call

func (ExchangePublisherAssertionResponse) ContentType

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

func (ExchangePublisherAssertionResponse) GetApplicationproblemJSONDefault

func (r ExchangePublisherAssertionResponse) GetApplicationproblemJSONDefault() *Problem

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

func (ExchangePublisherAssertionResponse) GetBody

GetBody returns the raw response body bytes

func (ExchangePublisherAssertionResponse) GetJSON200

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

func (ExchangePublisherAssertionResponse) Status

Status returns HTTPResponse.Status

func (ExchangePublisherAssertionResponse) StatusCode

func (r ExchangePublisherAssertionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ExchangeWorkloadJSONRequestBody

type ExchangeWorkloadJSONRequestBody = WorkloadExchange

ExchangeWorkloadJSONRequestBody defines body for ExchangeWorkload for application/json ContentType.

type ExchangeWorkloadResponse

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

func ParseExchangeWorkloadResponse

func ParseExchangeWorkloadResponse(rsp *http.Response) (*ExchangeWorkloadResponse, error)

ParseExchangeWorkloadResponse parses an HTTP response from a ExchangeWorkloadWithResponse call

func (ExchangeWorkloadResponse) ContentType

func (r ExchangeWorkloadResponse) ContentType() string

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

func (ExchangeWorkloadResponse) GetApplicationproblemJSONDefault

func (r ExchangeWorkloadResponse) GetApplicationproblemJSONDefault() *Problem

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

func (ExchangeWorkloadResponse) GetBody

func (r ExchangeWorkloadResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ExchangeWorkloadResponse) GetJSON200

func (r ExchangeWorkloadResponse) GetJSON200() *WorkloadSession

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

func (ExchangeWorkloadResponse) Status

func (r ExchangeWorkloadResponse) Status() string

Status returns HTTPResponse.Status

func (ExchangeWorkloadResponse) StatusCode

func (r ExchangeWorkloadResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetIdentityContextResponse

type GetIdentityContextResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *IdentityContext
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *BearerProblem
	// HeadersDefault the parsed response headers for an HTTP default response
	HeadersDefault *GetIdentityContextResponseDefaultHeaders
}

func ParseGetIdentityContextResponse

func ParseGetIdentityContextResponse(rsp *http.Response) (*GetIdentityContextResponse, error)

ParseGetIdentityContextResponse parses an HTTP response from a GetIdentityContextWithResponse call

func (GetIdentityContextResponse) ContentType

func (r GetIdentityContextResponse) ContentType() string

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

func (GetIdentityContextResponse) GetApplicationproblemJSONDefault

func (r GetIdentityContextResponse) GetApplicationproblemJSONDefault() *BearerProblem

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

func (GetIdentityContextResponse) GetBody

func (r GetIdentityContextResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetIdentityContextResponse) GetJSON200

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

func (GetIdentityContextResponse) Status

Status returns HTTPResponse.Status

func (GetIdentityContextResponse) StatusCode

func (r GetIdentityContextResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetIdentityContextResponseDefaultHeaders

type GetIdentityContextResponseDefaultHeaders struct {
	WWWAuthenticate string
}

GetIdentityContextResponseDefaultHeaders the declared response headers of an HTTP default response for GetIdentityContext

type GetTeamFeedbackPolicyResponse

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

func ParseGetTeamFeedbackPolicyResponse

func ParseGetTeamFeedbackPolicyResponse(rsp *http.Response) (*GetTeamFeedbackPolicyResponse, error)

ParseGetTeamFeedbackPolicyResponse parses an HTTP response from a GetTeamFeedbackPolicyWithResponse call

func (GetTeamFeedbackPolicyResponse) ContentType

func (r GetTeamFeedbackPolicyResponse) ContentType() string

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

func (GetTeamFeedbackPolicyResponse) GetApplicationproblemJSONDefault

func (r GetTeamFeedbackPolicyResponse) GetApplicationproblemJSONDefault() *Problem

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

func (GetTeamFeedbackPolicyResponse) GetBody

func (r GetTeamFeedbackPolicyResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetTeamFeedbackPolicyResponse) GetJSON200

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

func (GetTeamFeedbackPolicyResponse) Status

Status returns HTTPResponse.Status

func (GetTeamFeedbackPolicyResponse) StatusCode

func (r GetTeamFeedbackPolicyResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetTeamResponse

type GetTeamResponse 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 ParseGetTeamResponse

func ParseGetTeamResponse(rsp *http.Response) (*GetTeamResponse, error)

ParseGetTeamResponse parses an HTTP response from a GetTeamWithResponse call

func (GetTeamResponse) ContentType

func (r GetTeamResponse) ContentType() string

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

func (GetTeamResponse) GetApplicationproblemJSONDefault

func (r GetTeamResponse) GetApplicationproblemJSONDefault() *Problem

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

func (GetTeamResponse) GetBody

func (r GetTeamResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetTeamResponse) GetJSON200

func (r GetTeamResponse) GetJSON200() *Team

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

func (GetTeamResponse) Status

func (r GetTeamResponse) Status() string

Status returns HTTPResponse.Status

func (GetTeamResponse) StatusCode

func (r GetTeamResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetWebsiteServiceParams

type GetWebsiteServiceParams struct {
	// XTnlActorToken Configured-issuer, configured-client signed human assertion with unique jti and at most five-minute lifetime. Nonce is base64url(SHA256("tnl.service.actor.v1\n" + METHOD + "\n" + escaped path and raw query + "\n" + base64url(SHA256(exact body bytes)))); base64url has no padding. GET and DELETE use an empty body. Only these service bridge operations accept this purpose. Current control identity, roles, eligibility and signed company source contexts are checked transactionally; website credentials and token roles alone grant nothing.
	XTnlActorToken ServiceActorToken `json:"X-Tnl-Actor-Token"`
}

GetWebsiteServiceParams defines parameters for GetWebsiteService.

type GetWebsiteServiceResponse

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

func ParseGetWebsiteServiceResponse

func ParseGetWebsiteServiceResponse(rsp *http.Response) (*GetWebsiteServiceResponse, error)

ParseGetWebsiteServiceResponse parses an HTTP response from a GetWebsiteServiceWithResponse call

func (GetWebsiteServiceResponse) ContentType

func (r GetWebsiteServiceResponse) ContentType() string

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

func (GetWebsiteServiceResponse) GetApplicationproblemJSONDefault

func (r GetWebsiteServiceResponse) GetApplicationproblemJSONDefault() *Problem

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

func (GetWebsiteServiceResponse) GetBody

func (r GetWebsiteServiceResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetWebsiteServiceResponse) GetJSON200

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

func (GetWebsiteServiceResponse) Status

func (r GetWebsiteServiceResponse) Status() string

Status returns HTTPResponse.Status

func (GetWebsiteServiceResponse) StatusCode

func (r GetWebsiteServiceResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type HttpRequestDoer

type HttpRequestDoer interface {
	Do(req *http.Request) (*http.Response, error)
}

Doer performs HTTP requests.

The standard http.Client implements this interface.

type IdempotencyKey

type IdempotencyKey = string

IdempotencyKey defines model for IdempotencyKey.

type IdentifyWorkloadJSONRequestBody

type IdentifyWorkloadJSONRequestBody = WorkloadIdentityRequest

IdentifyWorkloadJSONRequestBody defines body for IdentifyWorkload for application/json ContentType.

type IdentifyWorkloadResponse

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

func ParseIdentifyWorkloadResponse

func ParseIdentifyWorkloadResponse(rsp *http.Response) (*IdentifyWorkloadResponse, error)

ParseIdentifyWorkloadResponse parses an HTTP response from a IdentifyWorkloadWithResponse call

func (IdentifyWorkloadResponse) ContentType

func (r IdentifyWorkloadResponse) ContentType() string

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

func (IdentifyWorkloadResponse) GetApplicationproblemJSONDefault

func (r IdentifyWorkloadResponse) GetApplicationproblemJSONDefault() *Problem

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

func (IdentifyWorkloadResponse) GetBody

func (r IdentifyWorkloadResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (IdentifyWorkloadResponse) GetJSON200

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

func (IdentifyWorkloadResponse) Status

func (r IdentifyWorkloadResponse) Status() string

Status returns HTTPResponse.Status

func (IdentifyWorkloadResponse) StatusCode

func (r IdentifyWorkloadResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Identity

type Identity struct {
	Administrator   bool                 `json:"administrator"`
	CreatedAt       time.Time            `json:"created_at"`
	DisplayName     string               `json:"display_name"`
	EmailVerified   *bool                `json:"email_verified,omitempty"`
	Id              IdentityID           `json:"id"`
	NormalizedEmail *openapi_types.Email `json:"normalized_email,omitempty"`
}

Identity defines model for Identity.

type IdentityConnection

type IdentityConnection struct {
	Admission            IdentityConnectionAdmission `json:"admission"`
	IdentityConnectionId string                      `json:"identity_connection_id"`
	Issuer               string                      `json:"issuer"`
	Revision             int64                       `json:"revision"`
	SourceId             string                      `json:"source_id"`
	State                IdentityConnectionState     `json:"state"`
	TeamId               string                      `json:"team_id"`
}

IdentityConnection defines model for IdentityConnection.

type IdentityConnectionAdmission

type IdentityConnectionAdmission string

IdentityConnectionAdmission defines model for IdentityConnection.Admission.

const (
	ConnectionViewApproval IdentityConnectionAdmission = "approval"
	ConnectionViewManaged  IdentityConnectionAdmission = "managed"
)

Defines values for IdentityConnectionAdmission.

func (IdentityConnectionAdmission) Valid

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

type IdentityConnectionSecret

type IdentityConnectionSecret struct {
	Admission            IdentityConnectionSecretAdmission `json:"admission"`
	IdentityConnectionId string                            `json:"identity_connection_id"`
	Issuer               string                            `json:"issuer"`

	// ProvisioningToken One-time scoped provisioning credential; control stores only its digest
	ProvisioningToken string                        `json:"provisioning_token"`
	Revision          int64                         `json:"revision"`
	SourceId          string                        `json:"source_id"`
	State             IdentityConnectionSecretState `json:"state"`
	TeamId            string                        `json:"team_id"`
}

IdentityConnectionSecret defines model for IdentityConnectionSecret.

type IdentityConnectionSecretAdmission

type IdentityConnectionSecretAdmission string

IdentityConnectionSecretAdmission defines model for IdentityConnectionSecret.Admission.

const (
	ConnectionAdmissionApproval IdentityConnectionSecretAdmission = "approval"
	ConnectionAdmissionManaged  IdentityConnectionSecretAdmission = "managed"
)

Defines values for IdentityConnectionSecretAdmission.

func (IdentityConnectionSecretAdmission) Valid

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

type IdentityConnectionSecretState

type IdentityConnectionSecretState string

IdentityConnectionSecretState defines model for IdentityConnectionSecret.State.

const (
	ConnectionActive IdentityConnectionSecretState = "active"
)

Defines values for IdentityConnectionSecretState.

func (IdentityConnectionSecretState) Valid

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

type IdentityConnectionSetup

type IdentityConnectionSetup struct {
	Admission            string    `json:"admission"`
	ExpiresAt            time.Time `json:"expires_at"`
	IdentityConnectionId string    `json:"identity_connection_id"`
	Issuer               string    `json:"issuer"`
	Revision             int64     `json:"revision"`
	SetupToken           string    `json:"setup_token"`
	SourceId             string    `json:"source_id"`
	State                string    `json:"state"`
	TeamId               string    `json:"team_id"`
}

IdentityConnectionSetup defines model for IdentityConnectionSetup.

type IdentityConnectionState

type IdentityConnectionState string

IdentityConnectionState defines model for IdentityConnection.State.

const (
	ConnectionViewActive  IdentityConnectionState = "active"
	ConnectionViewPending IdentityConnectionState = "pending"
	ConnectionViewRetired IdentityConnectionState = "retired"
)

Defines values for IdentityConnectionState.

func (IdentityConnectionState) Valid

func (e IdentityConnectionState) Valid() bool

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

type IdentityContext

type IdentityContext struct {
	DefaultTeamId  *TeamID      `json:"default_team_id,omitempty"`
	Identity       Identity     `json:"identity"`
	Memberships    []Membership `json:"memberships"`
	PersonalTeamId TeamID       `json:"personal_team_id"`
}

IdentityContext defines model for IdentityContext.

type IdentityID

type IdentityID = ResourceID

IdentityID defines model for IdentityID.

type InvalidParamFormatError

type InvalidParamFormatError struct {
	ParamName string
	Err       error
}

func (*InvalidParamFormatError) Error

func (e *InvalidParamFormatError) Error() string

func (*InvalidParamFormatError) Unwrap

func (e *InvalidParamFormatError) Unwrap() error

type Invitation

type Invitation struct {
	CreatedAt                  time.Time            `json:"created_at"`
	ExpiresAt                  time.Time            `json:"expires_at"`
	Id                         InvitationID         `json:"id"`
	InitialRole                TeamRole             `json:"initial_role"`
	MemberSlug                 CanonicalLabel       `json:"member_slug"`
	NormalizedEmailRestriction *openapi_types.Email `json:"normalized_email_restriction,omitempty"`

	// PersonalAccountException Explicit owner-approved personal-account sign-in exception
	PersonalAccountException *bool           `json:"personal_account_exception,omitempty"`
	State                    InvitationState `json:"state"`
	TeamId                   TeamID          `json:"team_id"`
}

Invitation defines model for Invitation.

type InvitationID

type InvitationID = ResourceID

InvitationID defines model for InvitationID.

type InvitationPage

type InvitationPage struct {
	Invitations []Invitation  `json:"invitations"`
	NextCursor  *InvitationID `json:"next_cursor,omitempty"`
}

InvitationPage defines model for InvitationPage.

type InvitationPreview

type InvitationPreview struct {
	ExpiresAt       time.Time      `json:"expires_at"`
	InitialRole     TeamRole       `json:"initial_role"`
	TeamDisplayName CanonicalLabel `json:"team_display_name"`
}

InvitationPreview defines model for InvitationPreview.

type InvitationSecret

type InvitationSecret struct {
	Invitation Invitation `json:"invitation"`
	Secret     string     `json:"secret"`
}

InvitationSecret defines model for InvitationSecret.

type InvitationState

type InvitationState string

InvitationState defines model for InvitationState.

const (
	InvitationStateAccepted InvitationState = "accepted"
	InvitationStateExpired  InvitationState = "expired"
	InvitationStatePending  InvitationState = "pending"
	InvitationStateRevoked  InvitationState = "revoked"
)

Defines values for InvitationState.

func (InvitationState) Valid

func (e InvitationState) Valid() bool

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

type InviteWebsiteServiceVisitorJSONRequestBody

type InviteWebsiteServiceVisitorJSONRequestBody = externalRef0.CreateServiceInvitationRequest

InviteWebsiteServiceVisitorJSONRequestBody defines body for InviteWebsiteServiceVisitor for application/json ContentType.

type InviteWebsiteServiceVisitorParams

type InviteWebsiteServiceVisitorParams struct {
	IdempotencyKey IdempotencyKey `json:"Idempotency-Key"`

	// XTnlActorToken Configured-issuer, configured-client signed human assertion with unique jti and at most five-minute lifetime. Nonce is base64url(SHA256("tnl.service.actor.v1\n" + METHOD + "\n" + escaped path and raw query + "\n" + base64url(SHA256(exact body bytes)))); base64url has no padding. GET and DELETE use an empty body. Only these service bridge operations accept this purpose. Current control identity, roles, eligibility and signed company source contexts are checked transactionally; website credentials and token roles alone grant nothing.
	XTnlActorToken ServiceActorToken `json:"X-Tnl-Actor-Token"`
}

InviteWebsiteServiceVisitorParams defines parameters for InviteWebsiteServiceVisitor.

type InviteWebsiteServiceVisitorResponse

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

func ParseInviteWebsiteServiceVisitorResponse

func ParseInviteWebsiteServiceVisitorResponse(rsp *http.Response) (*InviteWebsiteServiceVisitorResponse, error)

ParseInviteWebsiteServiceVisitorResponse parses an HTTP response from a InviteWebsiteServiceVisitorWithResponse call

func (InviteWebsiteServiceVisitorResponse) ContentType

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

func (InviteWebsiteServiceVisitorResponse) GetApplicationproblemJSONDefault

func (r InviteWebsiteServiceVisitorResponse) GetApplicationproblemJSONDefault() *Problem

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

func (InviteWebsiteServiceVisitorResponse) GetBody

GetBody returns the raw response body bytes

func (InviteWebsiteServiceVisitorResponse) GetJSON200

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

func (InviteWebsiteServiceVisitorResponse) GetJSON201

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

func (InviteWebsiteServiceVisitorResponse) Status

Status returns HTTPResponse.Status

func (InviteWebsiteServiceVisitorResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type IssueControlBrowserHandoffJSONBody

type IssueControlBrowserHandoffJSONBody struct {
	PublicUrlId  string `json:"public_url_id"`
	RefreshToken string `json:"refresh_token"`
}

IssueControlBrowserHandoffJSONBody defines parameters for IssueControlBrowserHandoff.

type IssueControlBrowserHandoffJSONRequestBody

type IssueControlBrowserHandoffJSONRequestBody IssueControlBrowserHandoffJSONBody

IssueControlBrowserHandoffJSONRequestBody defines body for IssueControlBrowserHandoff for application/json ContentType.

type IssueControlBrowserHandoffResponse

type IssueControlBrowserHandoffResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *struct {
		Url string `json:"url"`
	}
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *Problem
}

func ParseIssueControlBrowserHandoffResponse

func ParseIssueControlBrowserHandoffResponse(rsp *http.Response) (*IssueControlBrowserHandoffResponse, error)

ParseIssueControlBrowserHandoffResponse parses an HTTP response from a IssueControlBrowserHandoffWithResponse call

func (IssueControlBrowserHandoffResponse) ContentType

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

func (IssueControlBrowserHandoffResponse) GetApplicationproblemJSONDefault

func (r IssueControlBrowserHandoffResponse) GetApplicationproblemJSONDefault() *Problem

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

func (IssueControlBrowserHandoffResponse) GetBody

GetBody returns the raw response body bytes

func (IssueControlBrowserHandoffResponse) GetJSON201

func (r IssueControlBrowserHandoffResponse) GetJSON201() *struct {
	Url string `json:"url"`
}

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

func (IssueControlBrowserHandoffResponse) Status

Status returns HTTPResponse.Status

func (IssueControlBrowserHandoffResponse) StatusCode

func (r IssueControlBrowserHandoffResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListCompanyAdmissionsParams

type ListCompanyAdmissionsParams struct {
	// Cursor The previous page's next_cursor, scoped to this team. Omit for the first page.
	Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`

	// XTnlActorToken Fresh configured-issuer ID token; nonce is the operation-bound digest specified by company access. Its OIDC sub resolves the actor. The website credential alone grants no owner authority.
	XTnlActorToken CompanyActorToken `json:"X-Tnl-Actor-Token"`
}

ListCompanyAdmissionsParams defines parameters for ListCompanyAdmissions.

type ListCompanyAdmissionsResponse

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

func ParseListCompanyAdmissionsResponse

func ParseListCompanyAdmissionsResponse(rsp *http.Response) (*ListCompanyAdmissionsResponse, error)

ParseListCompanyAdmissionsResponse parses an HTTP response from a ListCompanyAdmissionsWithResponse call

func (ListCompanyAdmissionsResponse) ContentType

func (r ListCompanyAdmissionsResponse) ContentType() string

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

func (ListCompanyAdmissionsResponse) GetApplicationproblemJSONDefault

func (r ListCompanyAdmissionsResponse) GetApplicationproblemJSONDefault() *Problem

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

func (ListCompanyAdmissionsResponse) GetBody

func (r ListCompanyAdmissionsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ListCompanyAdmissionsResponse) GetJSON200

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

func (ListCompanyAdmissionsResponse) Status

Status returns HTTPResponse.Status

func (ListCompanyAdmissionsResponse) StatusCode

func (r ListCompanyAdmissionsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListTeamDomainsResponse

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

func ParseListTeamDomainsResponse

func ParseListTeamDomainsResponse(rsp *http.Response) (*ListTeamDomainsResponse, error)

ParseListTeamDomainsResponse parses an HTTP response from a ListTeamDomainsWithResponse call

func (ListTeamDomainsResponse) ContentType

func (r ListTeamDomainsResponse) ContentType() string

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

func (ListTeamDomainsResponse) GetApplicationproblemJSONDefault

func (r ListTeamDomainsResponse) GetApplicationproblemJSONDefault() *Problem

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

func (ListTeamDomainsResponse) GetBody

func (r ListTeamDomainsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ListTeamDomainsResponse) GetJSON200

func (r ListTeamDomainsResponse) GetJSON200() *DomainPage

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

func (ListTeamDomainsResponse) Status

func (r ListTeamDomainsResponse) Status() string

Status returns HTTPResponse.Status

func (ListTeamDomainsResponse) StatusCode

func (r ListTeamDomainsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListTeamInvitationsResponse

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

func ParseListTeamInvitationsResponse

func ParseListTeamInvitationsResponse(rsp *http.Response) (*ListTeamInvitationsResponse, error)

ParseListTeamInvitationsResponse parses an HTTP response from a ListTeamInvitationsWithResponse call

func (ListTeamInvitationsResponse) ContentType

func (r ListTeamInvitationsResponse) ContentType() string

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

func (ListTeamInvitationsResponse) GetApplicationproblemJSONDefault

func (r ListTeamInvitationsResponse) GetApplicationproblemJSONDefault() *Problem

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

func (ListTeamInvitationsResponse) GetBody

func (r ListTeamInvitationsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ListTeamInvitationsResponse) GetJSON200

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

func (ListTeamInvitationsResponse) Status

Status returns HTTPResponse.Status

func (ListTeamInvitationsResponse) StatusCode

func (r ListTeamInvitationsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListTeamMembershipsResponse

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

func ParseListTeamMembershipsResponse

func ParseListTeamMembershipsResponse(rsp *http.Response) (*ListTeamMembershipsResponse, error)

ParseListTeamMembershipsResponse parses an HTTP response from a ListTeamMembershipsWithResponse call

func (ListTeamMembershipsResponse) ContentType

func (r ListTeamMembershipsResponse) ContentType() string

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

func (ListTeamMembershipsResponse) GetApplicationproblemJSONDefault

func (r ListTeamMembershipsResponse) GetApplicationproblemJSONDefault() *Problem

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

func (ListTeamMembershipsResponse) GetBody

func (r ListTeamMembershipsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ListTeamMembershipsResponse) GetJSON200

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

func (ListTeamMembershipsResponse) Status

Status returns HTTPResponse.Status

func (ListTeamMembershipsResponse) StatusCode

func (r ListTeamMembershipsResponse) 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 *TeamPage
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *BearerProblem
	// HeadersDefault the parsed response headers for an HTTP default response
	HeadersDefault *ListTeamsResponseDefaultHeaders
}

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() *BearerProblem

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() *TeamPage

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 ListTeamsResponseDefaultHeaders

type ListTeamsResponseDefaultHeaders struct {
	WWWAuthenticate string
}

ListTeamsResponseDefaultHeaders the declared response headers of an HTTP default response for ListTeams

type ListWebsiteServiceGrantsParams

type ListWebsiteServiceGrantsParams struct {
	Cursor *externalRef0.ServiceGrantID `form:"cursor,omitempty" json:"cursor,omitempty"`

	// XTnlActorToken Configured-issuer, configured-client signed human assertion with unique jti and at most five-minute lifetime. Nonce is base64url(SHA256("tnl.service.actor.v1\n" + METHOD + "\n" + escaped path and raw query + "\n" + base64url(SHA256(exact body bytes)))); base64url has no padding. GET and DELETE use an empty body. Only these service bridge operations accept this purpose. Current control identity, roles, eligibility and signed company source contexts are checked transactionally; website credentials and token roles alone grant nothing.
	XTnlActorToken ServiceActorToken `json:"X-Tnl-Actor-Token"`
}

ListWebsiteServiceGrantsParams defines parameters for ListWebsiteServiceGrants.

type ListWebsiteServiceGrantsResponse

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

func ParseListWebsiteServiceGrantsResponse

func ParseListWebsiteServiceGrantsResponse(rsp *http.Response) (*ListWebsiteServiceGrantsResponse, error)

ParseListWebsiteServiceGrantsResponse parses an HTTP response from a ListWebsiteServiceGrantsWithResponse call

func (ListWebsiteServiceGrantsResponse) ContentType

func (r ListWebsiteServiceGrantsResponse) ContentType() string

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

func (ListWebsiteServiceGrantsResponse) GetApplicationproblemJSONDefault

func (r ListWebsiteServiceGrantsResponse) GetApplicationproblemJSONDefault() *Problem

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

func (ListWebsiteServiceGrantsResponse) GetBody

func (r ListWebsiteServiceGrantsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ListWebsiteServiceGrantsResponse) GetJSON200

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

func (ListWebsiteServiceGrantsResponse) Status

Status returns HTTPResponse.Status

func (ListWebsiteServiceGrantsResponse) StatusCode

func (r ListWebsiteServiceGrantsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListWebsiteServiceHTTPGrantsParams

type ListWebsiteServiceHTTPGrantsParams struct {
	// XTnlActorToken Configured-issuer, configured-client signed human assertion with unique jti and at most five-minute lifetime. Nonce is base64url(SHA256("tnl.service.actor.v1\n" + METHOD + "\n" + escaped path and raw query + "\n" + base64url(SHA256(exact body bytes)))); base64url has no padding. GET and DELETE use an empty body. Only these service bridge operations accept this purpose. Current control identity, roles, eligibility and signed company source contexts are checked transactionally; website credentials and token roles alone grant nothing.
	XTnlActorToken ServiceActorToken `json:"X-Tnl-Actor-Token"`
}

ListWebsiteServiceHTTPGrantsParams defines parameters for ListWebsiteServiceHTTPGrants.

type ListWebsiteServiceHTTPGrantsResponse

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

func ParseListWebsiteServiceHTTPGrantsResponse

func ParseListWebsiteServiceHTTPGrantsResponse(rsp *http.Response) (*ListWebsiteServiceHTTPGrantsResponse, error)

ParseListWebsiteServiceHTTPGrantsResponse parses an HTTP response from a ListWebsiteServiceHTTPGrantsWithResponse call

func (ListWebsiteServiceHTTPGrantsResponse) ContentType

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

func (ListWebsiteServiceHTTPGrantsResponse) GetApplicationproblemJSONDefault

func (r ListWebsiteServiceHTTPGrantsResponse) GetApplicationproblemJSONDefault() *Problem

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

func (ListWebsiteServiceHTTPGrantsResponse) GetBody

GetBody returns the raw response body bytes

func (ListWebsiteServiceHTTPGrantsResponse) GetJSON200

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

func (ListWebsiteServiceHTTPGrantsResponse) Status

Status returns HTTPResponse.Status

func (ListWebsiteServiceHTTPGrantsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ListWebsiteServiceInvitationsParams

type ListWebsiteServiceInvitationsParams struct {
	Cursor *externalRef0.ServiceInvitationID `form:"cursor,omitempty" json:"cursor,omitempty"`

	// XTnlActorToken Configured-issuer, configured-client signed human assertion with unique jti and at most five-minute lifetime. Nonce is base64url(SHA256("tnl.service.actor.v1\n" + METHOD + "\n" + escaped path and raw query + "\n" + base64url(SHA256(exact body bytes)))); base64url has no padding. GET and DELETE use an empty body. Only these service bridge operations accept this purpose. Current control identity, roles, eligibility and signed company source contexts are checked transactionally; website credentials and token roles alone grant nothing.
	XTnlActorToken ServiceActorToken `json:"X-Tnl-Actor-Token"`
}

ListWebsiteServiceInvitationsParams defines parameters for ListWebsiteServiceInvitations.

type ListWebsiteServiceInvitationsResponse

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

func ParseListWebsiteServiceInvitationsResponse

func ParseListWebsiteServiceInvitationsResponse(rsp *http.Response) (*ListWebsiteServiceInvitationsResponse, error)

ParseListWebsiteServiceInvitationsResponse parses an HTTP response from a ListWebsiteServiceInvitationsWithResponse call

func (ListWebsiteServiceInvitationsResponse) ContentType

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

func (ListWebsiteServiceInvitationsResponse) GetApplicationproblemJSONDefault

func (r ListWebsiteServiceInvitationsResponse) GetApplicationproblemJSONDefault() *Problem

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

func (ListWebsiteServiceInvitationsResponse) GetBody

GetBody returns the raw response body bytes

func (ListWebsiteServiceInvitationsResponse) GetJSON200

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

func (ListWebsiteServiceInvitationsResponse) Status

Status returns HTTPResponse.Status

func (ListWebsiteServiceInvitationsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ListWebsiteServicesParams

type ListWebsiteServicesParams struct {
	Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`

	// XTnlActorToken Configured-issuer, configured-client signed human assertion with unique jti and at most five-minute lifetime. Nonce is base64url(SHA256("tnl.service.actor.v1\n" + METHOD + "\n" + escaped path and raw query + "\n" + base64url(SHA256(exact body bytes)))); base64url has no padding. GET and DELETE use an empty body. Only these service bridge operations accept this purpose. Current control identity, roles, eligibility and signed company source contexts are checked transactionally; website credentials and token roles alone grant nothing.
	XTnlActorToken ServiceActorToken `json:"X-Tnl-Actor-Token"`
}

ListWebsiteServicesParams defines parameters for ListWebsiteServices.

type ListWebsiteServicesResponse

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

func ParseListWebsiteServicesResponse

func ParseListWebsiteServicesResponse(rsp *http.Response) (*ListWebsiteServicesResponse, error)

ParseListWebsiteServicesResponse parses an HTTP response from a ListWebsiteServicesWithResponse call

func (ListWebsiteServicesResponse) ContentType

func (r ListWebsiteServicesResponse) ContentType() string

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

func (ListWebsiteServicesResponse) GetApplicationproblemJSONDefault

func (r ListWebsiteServicesResponse) GetApplicationproblemJSONDefault() *Problem

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

func (ListWebsiteServicesResponse) GetBody

func (r ListWebsiteServicesResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ListWebsiteServicesResponse) GetJSON200

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

func (ListWebsiteServicesResponse) Status

Status returns HTTPResponse.Status

func (ListWebsiteServicesResponse) StatusCode

func (r ListWebsiteServicesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type LogoutControlSessionResponse

type LogoutControlSessionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *BearerProblem
	// HeadersDefault the parsed response headers for an HTTP default response
	HeadersDefault *LogoutControlSessionResponseDefaultHeaders
}

func ParseLogoutControlSessionResponse

func ParseLogoutControlSessionResponse(rsp *http.Response) (*LogoutControlSessionResponse, error)

ParseLogoutControlSessionResponse parses an HTTP response from a LogoutControlSessionWithResponse call

func (LogoutControlSessionResponse) ContentType

func (r LogoutControlSessionResponse) ContentType() string

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

func (LogoutControlSessionResponse) GetApplicationproblemJSONDefault

func (r LogoutControlSessionResponse) GetApplicationproblemJSONDefault() *BearerProblem

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

func (LogoutControlSessionResponse) GetBody

func (r LogoutControlSessionResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (LogoutControlSessionResponse) Status

Status returns HTTPResponse.Status

func (LogoutControlSessionResponse) StatusCode

func (r LogoutControlSessionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type LogoutControlSessionResponseDefaultHeaders

type LogoutControlSessionResponseDefaultHeaders struct {
	WWWAuthenticate string
}

LogoutControlSessionResponseDefaultHeaders the declared response headers of an HTTP default response for LogoutControlSession

type Membership

type Membership struct {
	Active                *bool        `json:"active,omitempty"`
	CompanySignInRequired *bool        `json:"company_sign_in_required,omitempty"`
	CreatedAt             time.Time    `json:"created_at"`
	Id                    MembershipID `json:"id"`

	// IdentityConnectionId Immutable managed admission source; absent for manually admitted members
	IdentityConnectionId     *string        `json:"identity_connection_id,omitempty"`
	IdentityId               IdentityID     `json:"identity_id"`
	ManagedLabel             CanonicalLabel `json:"managed_label"`
	ManualSuspendedAt        *time.Time     `json:"manual_suspended_at,omitempty"`
	MemberSlug               CanonicalLabel `json:"member_slug"`
	PersonalAccountException *bool          `json:"personal_account_exception,omitempty"`
	PolicyRevision           int64          `json:"policy_revision"`
	Role                     TeamRole       `json:"role"`
	TeamDisplayName          CanonicalLabel `json:"team_display_name"`
	TeamId                   TeamID         `json:"team_id"`
	TeamKind                 TeamKind       `json:"team_kind"`
	UpdatedAt                time.Time      `json:"updated_at"`
}

Membership defines model for Membership.

type MembershipID

type MembershipID = ResourceID

MembershipID defines model for MembershipID.

type MembershipPage

type MembershipPage struct {
	Memberships []Membership  `json:"memberships"`
	NextCursor  *MembershipID `json:"next_cursor,omitempty"`
}

MembershipPage defines model for MembershipPage.

type MiddlewareFunc

type MiddlewareFunc func(http.Handler) http.Handler

type PollDeviceLoginJSONRequestBody

type PollDeviceLoginJSONRequestBody = DeviceLoginCredential

PollDeviceLoginJSONRequestBody defines body for PollDeviceLogin for application/json ContentType.

type PollDeviceLoginResponse

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

func ParsePollDeviceLoginResponse

func ParsePollDeviceLoginResponse(rsp *http.Response) (*PollDeviceLoginResponse, error)

ParsePollDeviceLoginResponse parses an HTTP response from a PollDeviceLoginWithResponse call

func (PollDeviceLoginResponse) ContentType

func (r PollDeviceLoginResponse) ContentType() string

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

func (PollDeviceLoginResponse) GetApplicationproblemJSONDefault

func (r PollDeviceLoginResponse) GetApplicationproblemJSONDefault() *Problem

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

func (PollDeviceLoginResponse) GetBody

func (r PollDeviceLoginResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PollDeviceLoginResponse) GetJSON200

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

func (PollDeviceLoginResponse) Status

func (r PollDeviceLoginResponse) Status() string

Status returns HTTPResponse.Status

func (PollDeviceLoginResponse) StatusCode

func (r PollDeviceLoginResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PreviewServiceInvitationJSONRequestBody

type PreviewServiceInvitationJSONRequestBody = ServiceInvitationRequest

PreviewServiceInvitationJSONRequestBody defines body for PreviewServiceInvitation for application/json ContentType.

type PreviewServiceInvitationResponse

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

func ParsePreviewServiceInvitationResponse

func ParsePreviewServiceInvitationResponse(rsp *http.Response) (*PreviewServiceInvitationResponse, error)

ParsePreviewServiceInvitationResponse parses an HTTP response from a PreviewServiceInvitationWithResponse call

func (PreviewServiceInvitationResponse) ContentType

func (r PreviewServiceInvitationResponse) ContentType() string

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

func (PreviewServiceInvitationResponse) GetApplicationproblemJSONDefault

func (r PreviewServiceInvitationResponse) GetApplicationproblemJSONDefault() *Problem

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

func (PreviewServiceInvitationResponse) GetBody

func (r PreviewServiceInvitationResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PreviewServiceInvitationResponse) GetJSON200

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

func (PreviewServiceInvitationResponse) Status

Status returns HTTPResponse.Status

func (PreviewServiceInvitationResponse) StatusCode

func (r PreviewServiceInvitationResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PreviewWebsiteServiceInvitationJSONRequestBody

type PreviewWebsiteServiceInvitationJSONRequestBody = ServiceInvitationCredential

PreviewWebsiteServiceInvitationJSONRequestBody defines body for PreviewWebsiteServiceInvitation for application/json ContentType.

type PreviewWebsiteServiceInvitationParams

type PreviewWebsiteServiceInvitationParams struct {
	// XTnlActorToken Configured-issuer, configured-client signed human assertion with unique jti and at most five-minute lifetime. Nonce is base64url(SHA256("tnl.service.actor.v1\n" + METHOD + "\n" + escaped path and raw query + "\n" + base64url(SHA256(exact body bytes)))); base64url has no padding. GET and DELETE use an empty body. Only these service bridge operations accept this purpose. Current control identity, roles, eligibility and signed company source contexts are checked transactionally; website credentials and token roles alone grant nothing.
	XTnlActorToken ServiceActorToken `json:"X-Tnl-Actor-Token"`
}

PreviewWebsiteServiceInvitationParams defines parameters for PreviewWebsiteServiceInvitation.

type PreviewWebsiteServiceInvitationResponse

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

func ParsePreviewWebsiteServiceInvitationResponse

func ParsePreviewWebsiteServiceInvitationResponse(rsp *http.Response) (*PreviewWebsiteServiceInvitationResponse, error)

ParsePreviewWebsiteServiceInvitationResponse parses an HTTP response from a PreviewWebsiteServiceInvitationWithResponse call

func (PreviewWebsiteServiceInvitationResponse) ContentType

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

func (PreviewWebsiteServiceInvitationResponse) GetApplicationproblemJSONDefault

func (r PreviewWebsiteServiceInvitationResponse) GetApplicationproblemJSONDefault() *Problem

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

func (PreviewWebsiteServiceInvitationResponse) GetBody

GetBody returns the raw response body bytes

func (PreviewWebsiteServiceInvitationResponse) GetJSON200

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

func (PreviewWebsiteServiceInvitationResponse) Status

Status returns HTTPResponse.Status

func (PreviewWebsiteServiceInvitationResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type Problem

type Problem struct {
	Code      ProblemCode             `json:"code"`
	Detail    string                  `json:"detail"`
	Details   *map[string]interface{} `json:"details,omitempty"`
	RequestId string                  `json:"request_id"`
	RetryAt   *time.Time              `json:"retry_at,omitempty"`
	Status    int                     `json:"status"`
	Title     string                  `json:"title"`
	Type      string                  `json:"type"`
}

Problem defines model for Problem.

type ProblemCode

type ProblemCode string

ProblemCode defines model for Problem.Code.

const (
	Conflict              ProblemCode = "conflict"
	CustomDomainsDisabled ProblemCode = "custom_domains_disabled"
	DnsSetupPending       ProblemCode = "dns_setup_pending"
	Forbidden             ProblemCode = "forbidden"
	Internal              ProblemCode = "internal"
	InvalidRequest        ProblemCode = "invalid_request"
	ManagerRequired       ProblemCode = "manager_required"
	NameUnavailable       ProblemCode = "name_unavailable"
	NotFound              ProblemCode = "not_found"
	PolicyRevisionStale   ProblemCode = "policy_revision_stale"
	ProjectManaged        ProblemCode = "project_managed"
	RateLimited           ProblemCode = "rate_limited"
	SourceSignInRequired  ProblemCode = "source_sign_in_required"
	Unauthenticated       ProblemCode = "unauthenticated"
	Unavailable           ProblemCode = "unavailable"
	VerifiedEmailRequired ProblemCode = "verified_email_required"
)

Defines values for ProblemCode.

func (ProblemCode) Valid

func (e ProblemCode) Valid() bool

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

type ProvisionCompanyEligibilityJSONRequestBody

type ProvisionCompanyEligibilityJSONRequestBody = CompanyEligibilityRequest

ProvisionCompanyEligibilityJSONRequestBody defines body for ProvisionCompanyEligibility for application/json ContentType.

type ProvisionCompanyEligibilityParams

type ProvisionCompanyEligibilityParams struct {
	XTnlProvisioningToken string `json:"X-Tnl-Provisioning-Token"`
}

ProvisionCompanyEligibilityParams defines parameters for ProvisionCompanyEligibility.

type ProvisionCompanyEligibilityResponse

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

func ParseProvisionCompanyEligibilityResponse

func ParseProvisionCompanyEligibilityResponse(rsp *http.Response) (*ProvisionCompanyEligibilityResponse, error)

ParseProvisionCompanyEligibilityResponse parses an HTTP response from a ProvisionCompanyEligibilityWithResponse call

func (ProvisionCompanyEligibilityResponse) ContentType

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

func (ProvisionCompanyEligibilityResponse) GetApplicationproblemJSONDefault

func (r ProvisionCompanyEligibilityResponse) GetApplicationproblemJSONDefault() *Problem

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

func (ProvisionCompanyEligibilityResponse) GetBody

GetBody returns the raw response body bytes

func (ProvisionCompanyEligibilityResponse) Status

Status returns HTTPResponse.Status

func (ProvisionCompanyEligibilityResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PublicURLID

type PublicURLID = ResourceID

PublicURLID defines model for PublicURLID.

type PublicURLScope

type PublicURLScope string

PublicURLScope defines model for PublicURLScope.

const (
	PublicURLScopeMember PublicURLScope = "member"
	PublicURLScopeShared PublicURLScope = "shared"
)

Defines values for PublicURLScope.

func (PublicURLScope) Valid

func (e PublicURLScope) Valid() bool

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

type PublisherEnrollmentResult

type PublisherEnrollmentResult struct {
	ClientId    string                        `json:"client_id"`
	DomainId    *string                       `json:"domain_id,omitempty"`
	GrantId     string                        `json:"grant_id"`
	KeyId       string                        `json:"key_id"`
	Kind        PublisherEnrollmentResultKind `json:"kind"`
	Namespace   *string                       `json:"namespace,omitempty"`
	PublicUrlId *string                       `json:"public_url_id,omitempty"`
	ServiceId   *ServiceID                    `json:"service_id,omitempty"`
	TeamId      string                        `json:"team_id"`
}

PublisherEnrollmentResult defines model for PublisherEnrollmentResult.

type PublisherEnrollmentResultKind

type PublisherEnrollmentResultKind string

PublisherEnrollmentResultKind defines model for PublisherEnrollmentResult.Kind.

const (
	Namespace      PublisherEnrollmentResultKind = "namespace"
	SavedPublicUrl PublisherEnrollmentResultKind = "saved_public_url"
	Service        PublisherEnrollmentResultKind = "service"
)

Defines values for PublisherEnrollmentResultKind.

func (PublisherEnrollmentResultKind) Valid

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

type PublisherTokenRequest

type PublisherTokenRequest struct {
	ClientAssertion     string                                   `json:"client_assertion"`
	ClientAssertionType PublisherTokenRequestClientAssertionType `json:"client_assertion_type"`
	ClientId            string                                   `json:"client_id"`
	GrantId             string                                   `json:"grant_id"`
	GrantType           PublisherTokenRequestGrantType           `json:"grant_type"`
}

PublisherTokenRequest defines model for PublisherTokenRequest.

type PublisherTokenRequestClientAssertionType

type PublisherTokenRequestClientAssertionType string

PublisherTokenRequestClientAssertionType defines model for PublisherTokenRequest.ClientAssertionType.

const (
	UrnIetfParamsOauthClientAssertionTypeJwtBearer PublisherTokenRequestClientAssertionType = "urn:ietf:params:oauth:client-assertion-type:jwt-bearer"
)

Defines values for PublisherTokenRequestClientAssertionType.

func (PublisherTokenRequestClientAssertionType) Valid

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

type PublisherTokenRequestGrantType

type PublisherTokenRequestGrantType string

PublisherTokenRequestGrantType defines model for PublisherTokenRequest.GrantType.

const (
	ClientCredentials PublisherTokenRequestGrantType = "client_credentials"
)

Defines values for PublisherTokenRequestGrantType.

func (PublisherTokenRequestGrantType) Valid

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

type PublisherTokenResponse

type PublisherTokenResponse struct {
	AccessToken string                          `json:"access_token"`
	ExpiresIn   int                             `json:"expires_in"`
	GrantId     string                          `json:"grant_id"`
	TokenType   PublisherTokenResponseTokenType `json:"token_type"`
}

PublisherTokenResponse defines model for PublisherTokenResponse.

type PublisherTokenResponseTokenType

type PublisherTokenResponseTokenType string

PublisherTokenResponseTokenType defines model for PublisherTokenResponse.TokenType.

const (
	Bearer PublisherTokenResponseTokenType = "Bearer"
)

Defines values for PublisherTokenResponseTokenType.

func (PublisherTokenResponseTokenType) Valid

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

type ReadCompanyConnectionsParams

type ReadCompanyConnectionsParams struct {
	// XTnlActorToken Fresh configured-issuer ID token; nonce is the operation-bound digest specified by company access. Its OIDC sub resolves the actor. The website credential alone grants no owner authority.
	XTnlActorToken CompanyActorToken `json:"X-Tnl-Actor-Token"`
}

ReadCompanyConnectionsParams defines parameters for ReadCompanyConnections.

type ReadCompanyConnectionsResponse

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

func ParseReadCompanyConnectionsResponse

func ParseReadCompanyConnectionsResponse(rsp *http.Response) (*ReadCompanyConnectionsResponse, error)

ParseReadCompanyConnectionsResponse parses an HTTP response from a ReadCompanyConnectionsWithResponse call

func (ReadCompanyConnectionsResponse) ContentType

func (r ReadCompanyConnectionsResponse) ContentType() string

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

func (ReadCompanyConnectionsResponse) GetApplicationproblemJSONDefault

func (r ReadCompanyConnectionsResponse) GetApplicationproblemJSONDefault() *Problem

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

func (ReadCompanyConnectionsResponse) GetBody

func (r ReadCompanyConnectionsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ReadCompanyConnectionsResponse) GetJSON200

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

func (ReadCompanyConnectionsResponse) Status

Status returns HTTPResponse.Status

func (ReadCompanyConnectionsResponse) StatusCode

func (r ReadCompanyConnectionsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RecoverCompanyOwnerJSONBody

type RecoverCompanyOwnerJSONBody struct {
	MembershipId string `json:"membership_id"`
	TeamId       string `json:"team_id"`
}

RecoverCompanyOwnerJSONBody defines parameters for RecoverCompanyOwner.

type RecoverCompanyOwnerJSONRequestBody

type RecoverCompanyOwnerJSONRequestBody RecoverCompanyOwnerJSONBody

RecoverCompanyOwnerJSONRequestBody defines body for RecoverCompanyOwner for application/json ContentType.

type RecoverCompanyOwnerResponse

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

func ParseRecoverCompanyOwnerResponse

func ParseRecoverCompanyOwnerResponse(rsp *http.Response) (*RecoverCompanyOwnerResponse, error)

ParseRecoverCompanyOwnerResponse parses an HTTP response from a RecoverCompanyOwnerWithResponse call

func (RecoverCompanyOwnerResponse) ContentType

func (r RecoverCompanyOwnerResponse) ContentType() string

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

func (RecoverCompanyOwnerResponse) GetApplicationproblemJSONDefault

func (r RecoverCompanyOwnerResponse) GetApplicationproblemJSONDefault() *Problem

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

func (RecoverCompanyOwnerResponse) GetBody

func (r RecoverCompanyOwnerResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (RecoverCompanyOwnerResponse) Status

Status returns HTTPResponse.Status

func (RecoverCompanyOwnerResponse) StatusCode

func (r RecoverCompanyOwnerResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RedeemPublisherEnrollmentJSONRequestBody

type RedeemPublisherEnrollmentJSONRequestBody = RedeemPublisherEnrollmentRequest

RedeemPublisherEnrollmentJSONRequestBody defines body for RedeemPublisherEnrollment for application/json ContentType.

type RedeemPublisherEnrollmentRequest

type RedeemPublisherEnrollmentRequest struct {
	EnrollmentKey string `json:"enrollment_key"`

	// PublicKey Base64url unpadded Ed25519 public key
	PublicKey string `json:"public_key"`
}

RedeemPublisherEnrollmentRequest defines model for RedeemPublisherEnrollmentRequest.

type RedeemPublisherEnrollmentResponse

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

func ParseRedeemPublisherEnrollmentResponse

func ParseRedeemPublisherEnrollmentResponse(rsp *http.Response) (*RedeemPublisherEnrollmentResponse, error)

ParseRedeemPublisherEnrollmentResponse parses an HTTP response from a RedeemPublisherEnrollmentWithResponse call

func (RedeemPublisherEnrollmentResponse) ContentType

func (r RedeemPublisherEnrollmentResponse) ContentType() string

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

func (RedeemPublisherEnrollmentResponse) GetApplicationproblemJSONDefault

func (r RedeemPublisherEnrollmentResponse) GetApplicationproblemJSONDefault() *Problem

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

func (RedeemPublisherEnrollmentResponse) GetBody

GetBody returns the raw response body bytes

func (RedeemPublisherEnrollmentResponse) GetJSON200

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

func (RedeemPublisherEnrollmentResponse) Status

Status returns HTTPResponse.Status

func (RedeemPublisherEnrollmentResponse) StatusCode

func (r RedeemPublisherEnrollmentResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RefreshControlSessionJSONRequestBody

type RefreshControlSessionJSONRequestBody = RefreshControlSessionRequest

RefreshControlSessionJSONRequestBody defines body for RefreshControlSession for application/json ContentType.

type RefreshControlSessionRequest

type RefreshControlSessionRequest struct {
	RefreshToken string `json:"refresh_token"`
}

RefreshControlSessionRequest defines model for RefreshControlSessionRequest.

type RefreshControlSessionResponse

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

func ParseRefreshControlSessionResponse

func ParseRefreshControlSessionResponse(rsp *http.Response) (*RefreshControlSessionResponse, error)

ParseRefreshControlSessionResponse parses an HTTP response from a RefreshControlSessionWithResponse call

func (RefreshControlSessionResponse) ContentType

func (r RefreshControlSessionResponse) ContentType() string

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

func (RefreshControlSessionResponse) GetApplicationproblemJSONDefault

func (r RefreshControlSessionResponse) GetApplicationproblemJSONDefault() *Problem

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

func (RefreshControlSessionResponse) GetBody

func (r RefreshControlSessionResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (RefreshControlSessionResponse) GetJSON200

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

func (RefreshControlSessionResponse) Status

Status returns HTTPResponse.Status

func (RefreshControlSessionResponse) StatusCode

func (r RefreshControlSessionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ReleaseTeamDomainResponse

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

func ParseReleaseTeamDomainResponse

func ParseReleaseTeamDomainResponse(rsp *http.Response) (*ReleaseTeamDomainResponse, error)

ParseReleaseTeamDomainResponse parses an HTTP response from a ReleaseTeamDomainWithResponse call

func (ReleaseTeamDomainResponse) ContentType

func (r ReleaseTeamDomainResponse) ContentType() string

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

func (ReleaseTeamDomainResponse) GetApplicationproblemJSONDefault

func (r ReleaseTeamDomainResponse) GetApplicationproblemJSONDefault() *Problem

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

func (ReleaseTeamDomainResponse) GetBody

func (r ReleaseTeamDomainResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ReleaseTeamDomainResponse) Status

func (r ReleaseTeamDomainResponse) Status() string

Status returns HTTPResponse.Status

func (ReleaseTeamDomainResponse) StatusCode

func (r ReleaseTeamDomainResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RemoveMembershipResponse

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

func ParseRemoveMembershipResponse

func ParseRemoveMembershipResponse(rsp *http.Response) (*RemoveMembershipResponse, error)

ParseRemoveMembershipResponse parses an HTTP response from a RemoveMembershipWithResponse call

func (RemoveMembershipResponse) ContentType

func (r RemoveMembershipResponse) ContentType() string

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

func (RemoveMembershipResponse) GetApplicationproblemJSONDefault

func (r RemoveMembershipResponse) GetApplicationproblemJSONDefault() *Problem

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

func (RemoveMembershipResponse) GetBody

func (r RemoveMembershipResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (RemoveMembershipResponse) Status

func (r RemoveMembershipResponse) Status() string

Status returns HTTPResponse.Status

func (RemoveMembershipResponse) StatusCode

func (r RemoveMembershipResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RenewWorkloadSessionResponse

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

func ParseRenewWorkloadSessionResponse

func ParseRenewWorkloadSessionResponse(rsp *http.Response) (*RenewWorkloadSessionResponse, error)

ParseRenewWorkloadSessionResponse parses an HTTP response from a RenewWorkloadSessionWithResponse call

func (RenewWorkloadSessionResponse) ContentType

func (r RenewWorkloadSessionResponse) ContentType() string

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

func (RenewWorkloadSessionResponse) GetApplicationproblemJSONDefault

func (r RenewWorkloadSessionResponse) GetApplicationproblemJSONDefault() *Problem

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

func (RenewWorkloadSessionResponse) GetBody

func (r RenewWorkloadSessionResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (RenewWorkloadSessionResponse) GetJSON200

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

func (RenewWorkloadSessionResponse) Status

Status returns HTTPResponse.Status

func (RenewWorkloadSessionResponse) StatusCode

func (r RenewWorkloadSessionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RequestCompanyAdmissionJSONBody

type RequestCompanyAdmissionJSONBody struct {
	ConnectionRevision   int64  `json:"connection_revision"`
	IdentityConnectionId string `json:"identity_connection_id"`
	MemberSlug           string `json:"member_slug"`
	TeamId               string `json:"team_id"`
}

RequestCompanyAdmissionJSONBody defines parameters for RequestCompanyAdmission.

type RequestCompanyAdmissionJSONRequestBody

type RequestCompanyAdmissionJSONRequestBody RequestCompanyAdmissionJSONBody

RequestCompanyAdmissionJSONRequestBody defines body for RequestCompanyAdmission for application/json ContentType.

type RequestCompanyAdmissionResponse

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

func ParseRequestCompanyAdmissionResponse

func ParseRequestCompanyAdmissionResponse(rsp *http.Response) (*RequestCompanyAdmissionResponse, error)

ParseRequestCompanyAdmissionResponse parses an HTTP response from a RequestCompanyAdmissionWithResponse call

func (RequestCompanyAdmissionResponse) ContentType

func (r RequestCompanyAdmissionResponse) ContentType() string

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

func (RequestCompanyAdmissionResponse) GetApplicationproblemJSONDefault

func (r RequestCompanyAdmissionResponse) GetApplicationproblemJSONDefault() *Problem

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

func (RequestCompanyAdmissionResponse) GetBody

func (r RequestCompanyAdmissionResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (RequestCompanyAdmissionResponse) GetJSON200

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

func (RequestCompanyAdmissionResponse) Status

Status returns HTTPResponse.Status

func (RequestCompanyAdmissionResponse) StatusCode

func (r RequestCompanyAdmissionResponse) 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 RequiredHeaderError

type RequiredHeaderError struct {
	ParamName string
	Err       error
}

func (*RequiredHeaderError) Error

func (e *RequiredHeaderError) Error() string

func (*RequiredHeaderError) Unwrap

func (e *RequiredHeaderError) Unwrap() error

type RequiredParamError

type RequiredParamError struct {
	ParamName string
}

func (*RequiredParamError) Error

func (e *RequiredParamError) Error() string

type ResolveCompanyLoginIntentJSONRequestBody

type ResolveCompanyLoginIntentJSONRequestBody = CompanyIntentCredential

ResolveCompanyLoginIntentJSONRequestBody defines body for ResolveCompanyLoginIntent for application/json ContentType.

type ResolveCompanyLoginIntentResponse

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

func ParseResolveCompanyLoginIntentResponse

func ParseResolveCompanyLoginIntentResponse(rsp *http.Response) (*ResolveCompanyLoginIntentResponse, error)

ParseResolveCompanyLoginIntentResponse parses an HTTP response from a ResolveCompanyLoginIntentWithResponse call

func (ResolveCompanyLoginIntentResponse) ContentType

func (r ResolveCompanyLoginIntentResponse) ContentType() string

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

func (ResolveCompanyLoginIntentResponse) GetApplicationproblemJSONDefault

func (r ResolveCompanyLoginIntentResponse) GetApplicationproblemJSONDefault() *Problem

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

func (ResolveCompanyLoginIntentResponse) GetBody

GetBody returns the raw response body bytes

func (ResolveCompanyLoginIntentResponse) GetJSON200

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

func (ResolveCompanyLoginIntentResponse) Status

Status returns HTTPResponse.Status

func (ResolveCompanyLoginIntentResponse) StatusCode

func (r ResolveCompanyLoginIntentResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ResolveServiceIdentityJSONRequestBody

type ResolveServiceIdentityJSONRequestBody = ServiceIdentity

ResolveServiceIdentityJSONRequestBody defines body for ResolveServiceIdentity for application/json ContentType.

type ResolveServiceIdentityResponse

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

func ParseResolveServiceIdentityResponse

func ParseResolveServiceIdentityResponse(rsp *http.Response) (*ResolveServiceIdentityResponse, error)

ParseResolveServiceIdentityResponse parses an HTTP response from a ResolveServiceIdentityWithResponse call

func (ResolveServiceIdentityResponse) ContentType

func (r ResolveServiceIdentityResponse) ContentType() string

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

func (ResolveServiceIdentityResponse) GetApplicationproblemJSONDefault

func (r ResolveServiceIdentityResponse) GetApplicationproblemJSONDefault() *Problem

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

func (ResolveServiceIdentityResponse) GetBody

func (r ResolveServiceIdentityResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ResolveServiceIdentityResponse) GetJSON200

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

func (ResolveServiceIdentityResponse) Status

Status returns HTTPResponse.Status

func (ResolveServiceIdentityResponse) StatusCode

func (r ResolveServiceIdentityResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ResourceID

type ResourceID = string

ResourceID defines model for ResourceID.

type RevokeTeamInvitationResponse

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

func ParseRevokeTeamInvitationResponse

func ParseRevokeTeamInvitationResponse(rsp *http.Response) (*RevokeTeamInvitationResponse, error)

ParseRevokeTeamInvitationResponse parses an HTTP response from a RevokeTeamInvitationWithResponse call

func (RevokeTeamInvitationResponse) ContentType

func (r RevokeTeamInvitationResponse) ContentType() string

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

func (RevokeTeamInvitationResponse) GetApplicationproblemJSONDefault

func (r RevokeTeamInvitationResponse) GetApplicationproblemJSONDefault() *Problem

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

func (RevokeTeamInvitationResponse) GetBody

func (r RevokeTeamInvitationResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (RevokeTeamInvitationResponse) Status

Status returns HTTPResponse.Status

func (RevokeTeamInvitationResponse) StatusCode

func (r RevokeTeamInvitationResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RevokeWebsiteServiceGrantParams

type RevokeWebsiteServiceGrantParams struct {
	// XTnlActorToken Configured-issuer, configured-client signed human assertion with unique jti and at most five-minute lifetime. Nonce is base64url(SHA256("tnl.service.actor.v1\n" + METHOD + "\n" + escaped path and raw query + "\n" + base64url(SHA256(exact body bytes)))); base64url has no padding. GET and DELETE use an empty body. Only these service bridge operations accept this purpose. Current control identity, roles, eligibility and signed company source contexts are checked transactionally; website credentials and token roles alone grant nothing.
	XTnlActorToken ServiceActorToken `json:"X-Tnl-Actor-Token"`
}

RevokeWebsiteServiceGrantParams defines parameters for RevokeWebsiteServiceGrant.

type RevokeWebsiteServiceGrantResponse

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

func ParseRevokeWebsiteServiceGrantResponse

func ParseRevokeWebsiteServiceGrantResponse(rsp *http.Response) (*RevokeWebsiteServiceGrantResponse, error)

ParseRevokeWebsiteServiceGrantResponse parses an HTTP response from a RevokeWebsiteServiceGrantWithResponse call

func (RevokeWebsiteServiceGrantResponse) ContentType

func (r RevokeWebsiteServiceGrantResponse) ContentType() string

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

func (RevokeWebsiteServiceGrantResponse) GetApplicationproblemJSONDefault

func (r RevokeWebsiteServiceGrantResponse) GetApplicationproblemJSONDefault() *Problem

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

func (RevokeWebsiteServiceGrantResponse) GetBody

GetBody returns the raw response body bytes

func (RevokeWebsiteServiceGrantResponse) Status

Status returns HTTPResponse.Status

func (RevokeWebsiteServiceGrantResponse) StatusCode

func (r RevokeWebsiteServiceGrantResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RevokeWebsiteServiceHTTPGrantParams

type RevokeWebsiteServiceHTTPGrantParams struct {
	// XTnlActorToken Configured-issuer, configured-client signed human assertion with unique jti and at most five-minute lifetime. Nonce is base64url(SHA256("tnl.service.actor.v1\n" + METHOD + "\n" + escaped path and raw query + "\n" + base64url(SHA256(exact body bytes)))); base64url has no padding. GET and DELETE use an empty body. Only these service bridge operations accept this purpose. Current control identity, roles, eligibility and signed company source contexts are checked transactionally; website credentials and token roles alone grant nothing.
	XTnlActorToken ServiceActorToken `json:"X-Tnl-Actor-Token"`
}

RevokeWebsiteServiceHTTPGrantParams defines parameters for RevokeWebsiteServiceHTTPGrant.

type RevokeWebsiteServiceHTTPGrantResponse

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

func ParseRevokeWebsiteServiceHTTPGrantResponse

func ParseRevokeWebsiteServiceHTTPGrantResponse(rsp *http.Response) (*RevokeWebsiteServiceHTTPGrantResponse, error)

ParseRevokeWebsiteServiceHTTPGrantResponse parses an HTTP response from a RevokeWebsiteServiceHTTPGrantWithResponse call

func (RevokeWebsiteServiceHTTPGrantResponse) ContentType

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

func (RevokeWebsiteServiceHTTPGrantResponse) GetApplicationproblemJSONDefault

func (r RevokeWebsiteServiceHTTPGrantResponse) GetApplicationproblemJSONDefault() *Problem

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

func (RevokeWebsiteServiceHTTPGrantResponse) GetBody

GetBody returns the raw response body bytes

func (RevokeWebsiteServiceHTTPGrantResponse) Status

Status returns HTTPResponse.Status

func (RevokeWebsiteServiceHTTPGrantResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type RevokeWebsiteServiceInvitationParams

type RevokeWebsiteServiceInvitationParams struct {
	// XTnlActorToken Configured-issuer, configured-client signed human assertion with unique jti and at most five-minute lifetime. Nonce is base64url(SHA256("tnl.service.actor.v1\n" + METHOD + "\n" + escaped path and raw query + "\n" + base64url(SHA256(exact body bytes)))); base64url has no padding. GET and DELETE use an empty body. Only these service bridge operations accept this purpose. Current control identity, roles, eligibility and signed company source contexts are checked transactionally; website credentials and token roles alone grant nothing.
	XTnlActorToken ServiceActorToken `json:"X-Tnl-Actor-Token"`
}

RevokeWebsiteServiceInvitationParams defines parameters for RevokeWebsiteServiceInvitation.

type RevokeWebsiteServiceInvitationResponse

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

func ParseRevokeWebsiteServiceInvitationResponse

func ParseRevokeWebsiteServiceInvitationResponse(rsp *http.Response) (*RevokeWebsiteServiceInvitationResponse, error)

ParseRevokeWebsiteServiceInvitationResponse parses an HTTP response from a RevokeWebsiteServiceInvitationWithResponse call

func (RevokeWebsiteServiceInvitationResponse) ContentType

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

func (RevokeWebsiteServiceInvitationResponse) GetApplicationproblemJSONDefault

func (r RevokeWebsiteServiceInvitationResponse) GetApplicationproblemJSONDefault() *Problem

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

func (RevokeWebsiteServiceInvitationResponse) GetBody

GetBody returns the raw response body bytes

func (RevokeWebsiteServiceInvitationResponse) Status

Status returns HTTPResponse.Status

func (RevokeWebsiteServiceInvitationResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type RevokeWorkloadSessionResponse

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

func ParseRevokeWorkloadSessionResponse

func ParseRevokeWorkloadSessionResponse(rsp *http.Response) (*RevokeWorkloadSessionResponse, error)

ParseRevokeWorkloadSessionResponse parses an HTTP response from a RevokeWorkloadSessionWithResponse call

func (RevokeWorkloadSessionResponse) ContentType

func (r RevokeWorkloadSessionResponse) ContentType() string

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

func (RevokeWorkloadSessionResponse) GetApplicationproblemJSONDefault

func (r RevokeWorkloadSessionResponse) GetApplicationproblemJSONDefault() *Problem

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

func (RevokeWorkloadSessionResponse) GetBody

func (r RevokeWorkloadSessionResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (RevokeWorkloadSessionResponse) Status

Status returns HTTPResponse.Status

func (RevokeWorkloadSessionResponse) StatusCode

func (r RevokeWorkloadSessionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RotateCompanyProvisioningTokenJSONBody

type RotateCompanyProvisioningTokenJSONBody struct {
	ExpectedRevision int64 `json:"expected_revision"`
}

RotateCompanyProvisioningTokenJSONBody defines parameters for RotateCompanyProvisioningToken.

type RotateCompanyProvisioningTokenJSONRequestBody

type RotateCompanyProvisioningTokenJSONRequestBody RotateCompanyProvisioningTokenJSONBody

RotateCompanyProvisioningTokenJSONRequestBody defines body for RotateCompanyProvisioningToken for application/json ContentType.

type RotateCompanyProvisioningTokenParams

type RotateCompanyProvisioningTokenParams struct {
	// XTnlActorToken Fresh configured-issuer ID token; nonce is the operation-bound digest specified by company access. Its OIDC sub resolves the actor. The website credential alone grants no owner authority.
	XTnlActorToken CompanyActorToken `json:"X-Tnl-Actor-Token"`
}

RotateCompanyProvisioningTokenParams defines parameters for RotateCompanyProvisioningToken.

type RotateCompanyProvisioningTokenResponse

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

func ParseRotateCompanyProvisioningTokenResponse

func ParseRotateCompanyProvisioningTokenResponse(rsp *http.Response) (*RotateCompanyProvisioningTokenResponse, error)

ParseRotateCompanyProvisioningTokenResponse parses an HTTP response from a RotateCompanyProvisioningTokenWithResponse call

func (RotateCompanyProvisioningTokenResponse) ContentType

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

func (RotateCompanyProvisioningTokenResponse) GetApplicationproblemJSONDefault

func (r RotateCompanyProvisioningTokenResponse) GetApplicationproblemJSONDefault() *Problem

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

func (RotateCompanyProvisioningTokenResponse) GetBody

GetBody returns the raw response body bytes

func (RotateCompanyProvisioningTokenResponse) GetJSON200

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

func (RotateCompanyProvisioningTokenResponse) Status

Status returns HTTPResponse.Status

func (RotateCompanyProvisioningTokenResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type RotatePublisherKeyJSONRequestBody

type RotatePublisherKeyJSONRequestBody = RotatePublisherKeyRequest

RotatePublisherKeyJSONRequestBody defines body for RotatePublisherKey for application/json ContentType.

type RotatePublisherKeyRequest

type RotatePublisherKeyRequest struct {
	// CurrentProof Current-key assertion whose audience binds the replacement key ID and public key
	CurrentProof string `json:"current_proof"`
	KeyId        string `json:"key_id"`
	Proof        string `json:"proof"`
	PublicKey    string `json:"public_key"`
}

RotatePublisherKeyRequest defines model for RotatePublisherKeyRequest.

type RotatePublisherKeyResponse

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

func ParseRotatePublisherKeyResponse

func ParseRotatePublisherKeyResponse(rsp *http.Response) (*RotatePublisherKeyResponse, error)

ParseRotatePublisherKeyResponse parses an HTTP response from a RotatePublisherKeyWithResponse call

func (RotatePublisherKeyResponse) ContentType

func (r RotatePublisherKeyResponse) ContentType() string

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

func (RotatePublisherKeyResponse) GetApplicationproblemJSONDefault

func (r RotatePublisherKeyResponse) GetApplicationproblemJSONDefault() *Problem

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

func (RotatePublisherKeyResponse) GetBody

func (r RotatePublisherKeyResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (RotatePublisherKeyResponse) Status

Status returns HTTPResponse.Status

func (RotatePublisherKeyResponse) StatusCode

func (r RotatePublisherKeyResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ServeMux

type ServeMux interface {
	HandleFunc(pattern string, handler func(http.ResponseWriter, *http.Request))
	http.Handler
}

ServeMux is an abstraction of http.ServeMux.

type ServerInterface

type ServerInterface interface {

	// (POST /v1/auth/browser-handoff)
	IssueControlBrowserHandoff(w http.ResponseWriter, r *http.Request)

	// (POST /v1/auth/company-admissions)
	RequestCompanyAdmission(w http.ResponseWriter, r *http.Request)

	// (POST /v1/auth/company-intents)
	CreateCompanyLoginIntent(w http.ResponseWriter, r *http.Request)

	// (POST /v1/auth/company-intents/{intent_id}/resolve)
	ResolveCompanyLoginIntent(w http.ResponseWriter, r *http.Request, intentId string)
	// StartDeviceLogin Start a control-owned device login
	// (POST /v1/auth/device)
	StartDeviceLogin(w http.ResponseWriter, r *http.Request)
	// BeginDeviceBrowser Begin browser authentication for a control-issued device code
	// (GET /v1/auth/device/approve)
	BeginDeviceBrowser(w http.ResponseWriter, r *http.Request, params BeginDeviceBrowserParams)
	// ApproveDeviceBrowser Confirm the displayed device code after browser OIDC authentication
	// (POST /v1/auth/device/approve)
	ApproveDeviceBrowser(w http.ResponseWriter, r *http.Request)
	// CompleteDeviceBrowser Redeem one state-bound authorization code and show explicit device confirmation
	// (GET /v1/auth/device/callback)
	CompleteDeviceBrowser(w http.ResponseWriter, r *http.Request, params CompleteDeviceBrowserParams)
	// CancelDeviceLogin Cancel an attempt and revoke any session it issued
	// (POST /v1/auth/device/cancel)
	CancelDeviceLogin(w http.ResponseWriter, r *http.Request)
	// PollDeviceLogin Read a device login result; safe to retry until expiration
	// (POST /v1/auth/device/poll)
	PollDeviceLogin(w http.ResponseWriter, r *http.Request)
	// LogoutControlSession Revoke the authenticated control session
	// (POST /v1/auth/logout)
	LogoutControlSession(w http.ResponseWriter, r *http.Request)
	// RefreshControlSession Rotate a control session's access and refresh tokens
	// (POST /v1/auth/refresh)
	RefreshControlSession(w http.ResponseWriter, r *http.Request)
	// RecoverCompanyOwner Explicit audited recovery grants a personal-account exception to a nonremoved owner
	// (POST /v1/company-access/recovery)
	RecoverCompanyOwner(w http.ResponseWriter, r *http.Request)
	// GetIdentityContext Read the authenticated identity and memberships
	// (GET /v1/identity)
	GetIdentityContext(w http.ResponseWriter, r *http.Request)
	// AcceptInvitation Accept an invitation with its secret
	// (POST /v1/invitations/accept)
	AcceptInvitation(w http.ResponseWriter, r *http.Request)

	// (POST /v1/publisher-enrollments/redeem)
	RedeemPublisherEnrollment(w http.ResponseWriter, r *http.Request)

	// (POST /v1/publisher-keys/rotate)
	RotatePublisherKey(w http.ResponseWriter, r *http.Request)

	// (POST /v1/publisher-token)
	ExchangePublisherAssertion(w http.ResponseWriter, r *http.Request)
	// ProvisionCompanyEligibility Apply one revision-fenced eligibility delta without granting roles
	// (POST /v1/service/company-eligibility)
	ProvisionCompanyEligibility(w http.ResponseWriter, r *http.Request, params ProvisionCompanyEligibilityParams)
	// ResolveServiceIdentity Read current memberships for the signed-in website identity
	// (POST /v1/service/identity-context)
	ResolveServiceIdentity(w http.ResponseWriter, r *http.Request)
	// AcceptServiceInvitation Accept an invitation for the signed-in website identity
	// (POST /v1/service/invitations/accept)
	AcceptServiceInvitation(w http.ResponseWriter, r *http.Request)
	// PreviewServiceInvitation Preview an invitation for the signed-in website identity
	// (POST /v1/service/invitations/preview)
	PreviewServiceInvitation(w http.ResponseWriter, r *http.Request)

	// (POST /v1/service/service-invitations/accept)
	AcceptWebsiteServiceInvitation(w http.ResponseWriter, r *http.Request, params AcceptWebsiteServiceInvitationParams)

	// (POST /v1/service/service-invitations/preview)
	PreviewWebsiteServiceInvitation(w http.ResponseWriter, r *http.Request, params PreviewWebsiteServiceInvitationParams)

	// (GET /v1/service/services/{service_id})
	GetWebsiteService(w http.ResponseWriter, r *http.Request, serviceId ServiceID, params GetWebsiteServiceParams)

	// (GET /v1/service/services/{service_id}/grants)
	ListWebsiteServiceGrants(w http.ResponseWriter, r *http.Request, serviceId ServiceID, params ListWebsiteServiceGrantsParams)

	// (DELETE /v1/service/services/{service_id}/grants/{grant_id})
	RevokeWebsiteServiceGrant(w http.ResponseWriter, r *http.Request, serviceId ServiceID, grantId externalRef0.ServiceGrantID, params RevokeWebsiteServiceGrantParams)

	// (GET /v1/service/services/{service_id}/http-grants)
	ListWebsiteServiceHTTPGrants(w http.ResponseWriter, r *http.Request, serviceId ServiceID, params ListWebsiteServiceHTTPGrantsParams)

	// (POST /v1/service/services/{service_id}/http-grants)
	CreateWebsiteServiceHTTPGrant(w http.ResponseWriter, r *http.Request, serviceId ServiceID, params CreateWebsiteServiceHTTPGrantParams)

	// (DELETE /v1/service/services/{service_id}/http-grants/{grant_id})
	RevokeWebsiteServiceHTTPGrant(w http.ResponseWriter, r *http.Request, serviceId ServiceID, grantId string, params RevokeWebsiteServiceHTTPGrantParams)

	// (GET /v1/service/services/{service_id}/invitations)
	ListWebsiteServiceInvitations(w http.ResponseWriter, r *http.Request, serviceId ServiceID, params ListWebsiteServiceInvitationsParams)

	// (POST /v1/service/services/{service_id}/invitations)
	InviteWebsiteServiceVisitor(w http.ResponseWriter, r *http.Request, serviceId ServiceID, params InviteWebsiteServiceVisitorParams)

	// (DELETE /v1/service/services/{service_id}/invitations/{invitation_id})
	RevokeWebsiteServiceInvitation(w http.ResponseWriter, r *http.Request, serviceId ServiceID, invitationId externalRef0.ServiceInvitationID, params RevokeWebsiteServiceInvitationParams)

	// (GET /v1/service/teams/{team_id}/company-admissions)
	ListCompanyAdmissions(w http.ResponseWriter, r *http.Request, teamId string, params ListCompanyAdmissionsParams)

	// (POST /v1/service/teams/{team_id}/company-admissions/{request_id})
	DecideCompanyAdmission(w http.ResponseWriter, r *http.Request, teamId string, requestId string, params DecideCompanyAdmissionParams)
	// ReadCompanyConnections Read active and pending connections with current owner proof
	// (GET /v1/service/teams/{team_id}/identity-connections)
	ReadCompanyConnections(w http.ResponseWriter, r *http.Request, teamId string, params ReadCompanyConnectionsParams)
	// BeginIdentityConnectionSetup Begin consent setup without changing current enforcement
	// (POST /v1/service/teams/{team_id}/identity-connections)
	BeginIdentityConnectionSetup(w http.ResponseWriter, r *http.Request, teamId string, params BeginIdentityConnectionSetupParams)
	// DisconnectIdentityConnection Abort pending consent or retire an active connection
	// (DELETE /v1/service/teams/{team_id}/identity-connections/{identity_connection_id})
	DisconnectIdentityConnection(w http.ResponseWriter, r *http.Request, teamId string, identityConnectionId string, params DisconnectIdentityConnectionParams)

	// (POST /v1/service/teams/{team_id}/identity-connections/{identity_connection_id}/activate)
	ActivateIdentityConnection(w http.ResponseWriter, r *http.Request, teamId string, identityConnectionId string, params ActivateIdentityConnectionParams)

	// (POST /v1/service/teams/{team_id}/identity-connections/{identity_connection_id}/provisioning-token)
	RotateCompanyProvisioningToken(w http.ResponseWriter, r *http.Request, teamId string, identityConnectionId string, params RotateCompanyProvisioningTokenParams)

	// (PUT /v1/service/teams/{team_id}/invitations/{invitation_id}/company-decision)
	SetCompanyInvitationException(w http.ResponseWriter, r *http.Request, teamId string, invitationId string, params SetCompanyInvitationExceptionParams)

	// (PUT /v1/service/teams/{team_id}/memberships/{membership_id}/company-decision)
	SetCompanyMembershipDecision(w http.ResponseWriter, r *http.Request, teamId string, membershipId string, params SetCompanyMembershipDecisionParams)

	// (GET /v1/service/teams/{team_id}/services)
	ListWebsiteServices(w http.ResponseWriter, r *http.Request, teamId TeamID, params ListWebsiteServicesParams)

	// (GET /v1/service/teams/{team_id}/usage-authorization)
	AuthorizeWebsiteTeamUsage(w http.ResponseWriter, r *http.Request, teamId TeamID, params AuthorizeWebsiteTeamUsageParams)
	// ListTeams List teams for the authenticated identity
	// (GET /v1/teams)
	ListTeams(w http.ResponseWriter, r *http.Request)
	// CreateTeam Create an organization team
	// (POST /v1/teams)
	CreateTeam(w http.ResponseWriter, r *http.Request, params CreateTeamParams)
	// GetTeam Read one team
	// (GET /v1/teams/{team_id})
	GetTeam(w http.ResponseWriter, r *http.Request, teamId TeamID)
	// ListTeamDomains List domains available to the team
	// (GET /v1/teams/{team_id}/domains)
	ListTeamDomains(w http.ResponseWriter, r *http.Request, teamId TeamID)
	// ClaimTeamDomain Begin claiming one domain
	// (POST /v1/teams/{team_id}/domains)
	ClaimTeamDomain(w http.ResponseWriter, r *http.Request, teamId TeamID, params ClaimTeamDomainParams)
	// ReleaseTeamDomain Release one custom domain
	// (DELETE /v1/teams/{team_id}/domains/{domain_id})
	ReleaseTeamDomain(w http.ResponseWriter, r *http.Request, teamId TeamID, domainId DomainID)
	// SetTeamDefaultDomain Select a ready default domain
	// (POST /v1/teams/{team_id}/domains/{domain_id}/default)
	SetTeamDefaultDomain(w http.ResponseWriter, r *http.Request, teamId TeamID, domainId DomainID)

	// (GET /v1/teams/{team_id}/feedback-policy)
	GetTeamFeedbackPolicy(w http.ResponseWriter, r *http.Request, teamId string)

	// (PUT /v1/teams/{team_id}/feedback-policy)
	SetTeamFeedbackPolicy(w http.ResponseWriter, r *http.Request, teamId string)
	// ListTeamInvitations List team invitations
	// (GET /v1/teams/{team_id}/invitations)
	ListTeamInvitations(w http.ResponseWriter, r *http.Request, teamId TeamID)
	// CreateTeamInvitation Create an expiring invitation
	// (POST /v1/teams/{team_id}/invitations)
	CreateTeamInvitation(w http.ResponseWriter, r *http.Request, teamId TeamID, params CreateTeamInvitationParams)
	// RevokeTeamInvitation Revoke one pending invitation
	// (DELETE /v1/teams/{team_id}/invitations/{invitation_id})
	RevokeTeamInvitation(w http.ResponseWriter, r *http.Request, teamId TeamID, invitationId InvitationID)
	// ListTeamMemberships List team memberships
	// (GET /v1/teams/{team_id}/memberships)
	ListTeamMemberships(w http.ResponseWriter, r *http.Request, teamId TeamID)
	// RemoveMembership Remove one membership
	// (DELETE /v1/teams/{team_id}/memberships/{membership_id})
	RemoveMembership(w http.ResponseWriter, r *http.Request, teamId TeamID, membershipId MembershipID)
	// SetMembershipRole Change one membership's team role
	// (PATCH /v1/teams/{team_id}/memberships/{membership_id})
	SetMembershipRole(w http.ResponseWriter, r *http.Request, teamId TeamID, membershipId MembershipID)

	// (POST /v1/workload-sessions/exchange)
	ExchangeWorkload(w http.ResponseWriter, r *http.Request)

	// (POST /v1/workload-sessions/identity)
	IdentifyWorkload(w http.ResponseWriter, r *http.Request)

	// (DELETE /v1/workload-sessions/{session_id})
	RevokeWorkloadSession(w http.ResponseWriter, r *http.Request, sessionId string)

	// (POST /v1/workload-sessions/{session_id}/assertions)
	AttachWorkloadAssertion(w http.ResponseWriter, r *http.Request, sessionId string)

	// (POST /v1/workload-sessions/{session_id}/renew)
	RenewWorkloadSession(w http.ResponseWriter, r *http.Request, sessionId string)
}

ServerInterface represents all server handlers.

type ServerInterfaceWrapper

type ServerInterfaceWrapper struct {
	Handler            ServerInterface
	HandlerMiddlewares []MiddlewareFunc
	ErrorHandlerFunc   func(w http.ResponseWriter, r *http.Request, err error)
}

ServerInterfaceWrapper converts contexts to parameters.

func (*ServerInterfaceWrapper) AcceptInvitation

func (siw *ServerInterfaceWrapper) AcceptInvitation(w http.ResponseWriter, r *http.Request)

AcceptInvitation operation middleware

func (*ServerInterfaceWrapper) AcceptServiceInvitation

func (siw *ServerInterfaceWrapper) AcceptServiceInvitation(w http.ResponseWriter, r *http.Request)

AcceptServiceInvitation operation middleware

func (*ServerInterfaceWrapper) AcceptWebsiteServiceInvitation

func (siw *ServerInterfaceWrapper) AcceptWebsiteServiceInvitation(w http.ResponseWriter, r *http.Request)

AcceptWebsiteServiceInvitation operation middleware

func (*ServerInterfaceWrapper) ActivateIdentityConnection

func (siw *ServerInterfaceWrapper) ActivateIdentityConnection(w http.ResponseWriter, r *http.Request)

ActivateIdentityConnection operation middleware

func (*ServerInterfaceWrapper) ApproveDeviceBrowser

func (siw *ServerInterfaceWrapper) ApproveDeviceBrowser(w http.ResponseWriter, r *http.Request)

ApproveDeviceBrowser operation middleware

func (*ServerInterfaceWrapper) AttachWorkloadAssertion

func (siw *ServerInterfaceWrapper) AttachWorkloadAssertion(w http.ResponseWriter, r *http.Request)

AttachWorkloadAssertion operation middleware

func (*ServerInterfaceWrapper) AuthorizeWebsiteTeamUsage

func (siw *ServerInterfaceWrapper) AuthorizeWebsiteTeamUsage(w http.ResponseWriter, r *http.Request)

AuthorizeWebsiteTeamUsage operation middleware

func (*ServerInterfaceWrapper) BeginDeviceBrowser

func (siw *ServerInterfaceWrapper) BeginDeviceBrowser(w http.ResponseWriter, r *http.Request)

BeginDeviceBrowser operation middleware

func (*ServerInterfaceWrapper) BeginIdentityConnectionSetup

func (siw *ServerInterfaceWrapper) BeginIdentityConnectionSetup(w http.ResponseWriter, r *http.Request)

BeginIdentityConnectionSetup operation middleware

func (*ServerInterfaceWrapper) CancelDeviceLogin

func (siw *ServerInterfaceWrapper) CancelDeviceLogin(w http.ResponseWriter, r *http.Request)

CancelDeviceLogin operation middleware

func (*ServerInterfaceWrapper) ClaimTeamDomain

func (siw *ServerInterfaceWrapper) ClaimTeamDomain(w http.ResponseWriter, r *http.Request)

ClaimTeamDomain operation middleware

func (*ServerInterfaceWrapper) CompleteDeviceBrowser

func (siw *ServerInterfaceWrapper) CompleteDeviceBrowser(w http.ResponseWriter, r *http.Request)

CompleteDeviceBrowser operation middleware

func (*ServerInterfaceWrapper) CreateCompanyLoginIntent

func (siw *ServerInterfaceWrapper) CreateCompanyLoginIntent(w http.ResponseWriter, r *http.Request)

CreateCompanyLoginIntent operation middleware

func (*ServerInterfaceWrapper) CreateTeam

func (siw *ServerInterfaceWrapper) CreateTeam(w http.ResponseWriter, r *http.Request)

CreateTeam operation middleware

func (*ServerInterfaceWrapper) CreateTeamInvitation

func (siw *ServerInterfaceWrapper) CreateTeamInvitation(w http.ResponseWriter, r *http.Request)

CreateTeamInvitation operation middleware

func (*ServerInterfaceWrapper) CreateWebsiteServiceHTTPGrant

func (siw *ServerInterfaceWrapper) CreateWebsiteServiceHTTPGrant(w http.ResponseWriter, r *http.Request)

CreateWebsiteServiceHTTPGrant operation middleware

func (*ServerInterfaceWrapper) DecideCompanyAdmission

func (siw *ServerInterfaceWrapper) DecideCompanyAdmission(w http.ResponseWriter, r *http.Request)

DecideCompanyAdmission operation middleware

func (*ServerInterfaceWrapper) DisconnectIdentityConnection

func (siw *ServerInterfaceWrapper) DisconnectIdentityConnection(w http.ResponseWriter, r *http.Request)

DisconnectIdentityConnection operation middleware

func (*ServerInterfaceWrapper) ExchangePublisherAssertion

func (siw *ServerInterfaceWrapper) ExchangePublisherAssertion(w http.ResponseWriter, r *http.Request)

ExchangePublisherAssertion operation middleware

func (*ServerInterfaceWrapper) ExchangeWorkload

func (siw *ServerInterfaceWrapper) ExchangeWorkload(w http.ResponseWriter, r *http.Request)

ExchangeWorkload operation middleware

func (*ServerInterfaceWrapper) GetIdentityContext

func (siw *ServerInterfaceWrapper) GetIdentityContext(w http.ResponseWriter, r *http.Request)

GetIdentityContext operation middleware

func (*ServerInterfaceWrapper) GetTeam

GetTeam operation middleware

func (*ServerInterfaceWrapper) GetTeamFeedbackPolicy

func (siw *ServerInterfaceWrapper) GetTeamFeedbackPolicy(w http.ResponseWriter, r *http.Request)

GetTeamFeedbackPolicy operation middleware

func (*ServerInterfaceWrapper) GetWebsiteService

func (siw *ServerInterfaceWrapper) GetWebsiteService(w http.ResponseWriter, r *http.Request)

GetWebsiteService operation middleware

func (*ServerInterfaceWrapper) IdentifyWorkload

func (siw *ServerInterfaceWrapper) IdentifyWorkload(w http.ResponseWriter, r *http.Request)

IdentifyWorkload operation middleware

func (*ServerInterfaceWrapper) InviteWebsiteServiceVisitor

func (siw *ServerInterfaceWrapper) InviteWebsiteServiceVisitor(w http.ResponseWriter, r *http.Request)

InviteWebsiteServiceVisitor operation middleware

func (*ServerInterfaceWrapper) IssueControlBrowserHandoff

func (siw *ServerInterfaceWrapper) IssueControlBrowserHandoff(w http.ResponseWriter, r *http.Request)

IssueControlBrowserHandoff operation middleware

func (*ServerInterfaceWrapper) ListCompanyAdmissions

func (siw *ServerInterfaceWrapper) ListCompanyAdmissions(w http.ResponseWriter, r *http.Request)

ListCompanyAdmissions operation middleware

func (*ServerInterfaceWrapper) ListTeamDomains

func (siw *ServerInterfaceWrapper) ListTeamDomains(w http.ResponseWriter, r *http.Request)

ListTeamDomains operation middleware

func (*ServerInterfaceWrapper) ListTeamInvitations

func (siw *ServerInterfaceWrapper) ListTeamInvitations(w http.ResponseWriter, r *http.Request)

ListTeamInvitations operation middleware

func (*ServerInterfaceWrapper) ListTeamMemberships

func (siw *ServerInterfaceWrapper) ListTeamMemberships(w http.ResponseWriter, r *http.Request)

ListTeamMemberships operation middleware

func (*ServerInterfaceWrapper) ListTeams

func (siw *ServerInterfaceWrapper) ListTeams(w http.ResponseWriter, r *http.Request)

ListTeams operation middleware

func (*ServerInterfaceWrapper) ListWebsiteServiceGrants

func (siw *ServerInterfaceWrapper) ListWebsiteServiceGrants(w http.ResponseWriter, r *http.Request)

ListWebsiteServiceGrants operation middleware

func (*ServerInterfaceWrapper) ListWebsiteServiceHTTPGrants

func (siw *ServerInterfaceWrapper) ListWebsiteServiceHTTPGrants(w http.ResponseWriter, r *http.Request)

ListWebsiteServiceHTTPGrants operation middleware

func (*ServerInterfaceWrapper) ListWebsiteServiceInvitations

func (siw *ServerInterfaceWrapper) ListWebsiteServiceInvitations(w http.ResponseWriter, r *http.Request)

ListWebsiteServiceInvitations operation middleware

func (*ServerInterfaceWrapper) ListWebsiteServices

func (siw *ServerInterfaceWrapper) ListWebsiteServices(w http.ResponseWriter, r *http.Request)

ListWebsiteServices operation middleware

func (*ServerInterfaceWrapper) LogoutControlSession

func (siw *ServerInterfaceWrapper) LogoutControlSession(w http.ResponseWriter, r *http.Request)

LogoutControlSession operation middleware

func (*ServerInterfaceWrapper) PollDeviceLogin

func (siw *ServerInterfaceWrapper) PollDeviceLogin(w http.ResponseWriter, r *http.Request)

PollDeviceLogin operation middleware

func (*ServerInterfaceWrapper) PreviewServiceInvitation

func (siw *ServerInterfaceWrapper) PreviewServiceInvitation(w http.ResponseWriter, r *http.Request)

PreviewServiceInvitation operation middleware

func (*ServerInterfaceWrapper) PreviewWebsiteServiceInvitation

func (siw *ServerInterfaceWrapper) PreviewWebsiteServiceInvitation(w http.ResponseWriter, r *http.Request)

PreviewWebsiteServiceInvitation operation middleware

func (*ServerInterfaceWrapper) ProvisionCompanyEligibility

func (siw *ServerInterfaceWrapper) ProvisionCompanyEligibility(w http.ResponseWriter, r *http.Request)

ProvisionCompanyEligibility operation middleware

func (*ServerInterfaceWrapper) ReadCompanyConnections

func (siw *ServerInterfaceWrapper) ReadCompanyConnections(w http.ResponseWriter, r *http.Request)

ReadCompanyConnections operation middleware

func (*ServerInterfaceWrapper) RecoverCompanyOwner

func (siw *ServerInterfaceWrapper) RecoverCompanyOwner(w http.ResponseWriter, r *http.Request)

RecoverCompanyOwner operation middleware

func (*ServerInterfaceWrapper) RedeemPublisherEnrollment

func (siw *ServerInterfaceWrapper) RedeemPublisherEnrollment(w http.ResponseWriter, r *http.Request)

RedeemPublisherEnrollment operation middleware

func (*ServerInterfaceWrapper) RefreshControlSession

func (siw *ServerInterfaceWrapper) RefreshControlSession(w http.ResponseWriter, r *http.Request)

RefreshControlSession operation middleware

func (*ServerInterfaceWrapper) ReleaseTeamDomain

func (siw *ServerInterfaceWrapper) ReleaseTeamDomain(w http.ResponseWriter, r *http.Request)

ReleaseTeamDomain operation middleware

func (*ServerInterfaceWrapper) RemoveMembership

func (siw *ServerInterfaceWrapper) RemoveMembership(w http.ResponseWriter, r *http.Request)

RemoveMembership operation middleware

func (*ServerInterfaceWrapper) RenewWorkloadSession

func (siw *ServerInterfaceWrapper) RenewWorkloadSession(w http.ResponseWriter, r *http.Request)

RenewWorkloadSession operation middleware

func (*ServerInterfaceWrapper) RequestCompanyAdmission

func (siw *ServerInterfaceWrapper) RequestCompanyAdmission(w http.ResponseWriter, r *http.Request)

RequestCompanyAdmission operation middleware

func (*ServerInterfaceWrapper) ResolveCompanyLoginIntent

func (siw *ServerInterfaceWrapper) ResolveCompanyLoginIntent(w http.ResponseWriter, r *http.Request)

ResolveCompanyLoginIntent operation middleware

func (*ServerInterfaceWrapper) ResolveServiceIdentity

func (siw *ServerInterfaceWrapper) ResolveServiceIdentity(w http.ResponseWriter, r *http.Request)

ResolveServiceIdentity operation middleware

func (*ServerInterfaceWrapper) RevokeTeamInvitation

func (siw *ServerInterfaceWrapper) RevokeTeamInvitation(w http.ResponseWriter, r *http.Request)

RevokeTeamInvitation operation middleware

func (*ServerInterfaceWrapper) RevokeWebsiteServiceGrant

func (siw *ServerInterfaceWrapper) RevokeWebsiteServiceGrant(w http.ResponseWriter, r *http.Request)

RevokeWebsiteServiceGrant operation middleware

func (*ServerInterfaceWrapper) RevokeWebsiteServiceHTTPGrant

func (siw *ServerInterfaceWrapper) RevokeWebsiteServiceHTTPGrant(w http.ResponseWriter, r *http.Request)

RevokeWebsiteServiceHTTPGrant operation middleware

func (*ServerInterfaceWrapper) RevokeWebsiteServiceInvitation

func (siw *ServerInterfaceWrapper) RevokeWebsiteServiceInvitation(w http.ResponseWriter, r *http.Request)

RevokeWebsiteServiceInvitation operation middleware

func (*ServerInterfaceWrapper) RevokeWorkloadSession

func (siw *ServerInterfaceWrapper) RevokeWorkloadSession(w http.ResponseWriter, r *http.Request)

RevokeWorkloadSession operation middleware

func (*ServerInterfaceWrapper) RotateCompanyProvisioningToken

func (siw *ServerInterfaceWrapper) RotateCompanyProvisioningToken(w http.ResponseWriter, r *http.Request)

RotateCompanyProvisioningToken operation middleware

func (*ServerInterfaceWrapper) RotatePublisherKey

func (siw *ServerInterfaceWrapper) RotatePublisherKey(w http.ResponseWriter, r *http.Request)

RotatePublisherKey operation middleware

func (*ServerInterfaceWrapper) SetCompanyInvitationException

func (siw *ServerInterfaceWrapper) SetCompanyInvitationException(w http.ResponseWriter, r *http.Request)

SetCompanyInvitationException operation middleware

func (*ServerInterfaceWrapper) SetCompanyMembershipDecision

func (siw *ServerInterfaceWrapper) SetCompanyMembershipDecision(w http.ResponseWriter, r *http.Request)

SetCompanyMembershipDecision operation middleware

func (*ServerInterfaceWrapper) SetMembershipRole

func (siw *ServerInterfaceWrapper) SetMembershipRole(w http.ResponseWriter, r *http.Request)

SetMembershipRole operation middleware

func (*ServerInterfaceWrapper) SetTeamDefaultDomain

func (siw *ServerInterfaceWrapper) SetTeamDefaultDomain(w http.ResponseWriter, r *http.Request)

SetTeamDefaultDomain operation middleware

func (*ServerInterfaceWrapper) SetTeamFeedbackPolicy

func (siw *ServerInterfaceWrapper) SetTeamFeedbackPolicy(w http.ResponseWriter, r *http.Request)

SetTeamFeedbackPolicy operation middleware

func (*ServerInterfaceWrapper) StartDeviceLogin

func (siw *ServerInterfaceWrapper) StartDeviceLogin(w http.ResponseWriter, r *http.Request)

StartDeviceLogin operation middleware

type ServiceActorToken

type ServiceActorToken = string

ServiceActorToken defines model for ServiceActorToken.

type ServiceID

type ServiceID = externalRef0.ServiceID

ServiceID defines model for ServiceID.

type ServiceIdentity

type ServiceIdentity struct {
	DisplayName   string               `json:"display_name"`
	Subject       string               `json:"subject"`
	VerifiedEmail *openapi_types.Email `json:"verified_email,omitempty"`
}

ServiceIdentity defines model for ServiceIdentity.

type ServiceInvitationCredential

type ServiceInvitationCredential = externalRef0.ServiceInvitationCredential

ServiceInvitationCredential defines model for ServiceInvitationCredential.

type ServiceInvitationPreview

type ServiceInvitationPreview struct {
	ExpiresAt time.Time `json:"expires_at"`
	Name      string    `json:"name"`
	Protocol  string    `json:"protocol"`
	ServiceId ServiceID `json:"service_id"`
	TeamId    TeamID    `json:"team_id"`
}

ServiceInvitationPreview defines model for ServiceInvitationPreview.

type ServiceInvitationRequest

type ServiceInvitationRequest struct {
	Identity ServiceIdentity `json:"identity"`
	Secret   string          `json:"secret"`
}

ServiceInvitationRequest defines model for ServiceInvitationRequest.

type SetCompanyInvitationExceptionJSONBody

type SetCompanyInvitationExceptionJSONBody struct {
	PersonalAccountException bool `json:"personal_account_exception"`
}

SetCompanyInvitationExceptionJSONBody defines parameters for SetCompanyInvitationException.

type SetCompanyInvitationExceptionJSONRequestBody

type SetCompanyInvitationExceptionJSONRequestBody SetCompanyInvitationExceptionJSONBody

SetCompanyInvitationExceptionJSONRequestBody defines body for SetCompanyInvitationException for application/json ContentType.

type SetCompanyInvitationExceptionParams

type SetCompanyInvitationExceptionParams struct {
	// XTnlActorToken Fresh configured-issuer ID token; nonce is the operation-bound digest specified by company access. Its OIDC sub resolves the actor. The website credential alone grants no owner authority.
	XTnlActorToken CompanyActorToken `json:"X-Tnl-Actor-Token"`
}

SetCompanyInvitationExceptionParams defines parameters for SetCompanyInvitationException.

type SetCompanyInvitationExceptionResponse

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

func ParseSetCompanyInvitationExceptionResponse

func ParseSetCompanyInvitationExceptionResponse(rsp *http.Response) (*SetCompanyInvitationExceptionResponse, error)

ParseSetCompanyInvitationExceptionResponse parses an HTTP response from a SetCompanyInvitationExceptionWithResponse call

func (SetCompanyInvitationExceptionResponse) ContentType

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

func (SetCompanyInvitationExceptionResponse) GetApplicationproblemJSONDefault

func (r SetCompanyInvitationExceptionResponse) GetApplicationproblemJSONDefault() *Problem

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

func (SetCompanyInvitationExceptionResponse) GetBody

GetBody returns the raw response body bytes

func (SetCompanyInvitationExceptionResponse) Status

Status returns HTTPResponse.Status

func (SetCompanyInvitationExceptionResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type SetCompanyMembershipDecisionJSONBody

type SetCompanyMembershipDecisionJSONBody struct {
	PersonalAccountException bool `json:"personal_account_exception"`
	Suspended                bool `json:"suspended"`
}

SetCompanyMembershipDecisionJSONBody defines parameters for SetCompanyMembershipDecision.

type SetCompanyMembershipDecisionJSONRequestBody

type SetCompanyMembershipDecisionJSONRequestBody SetCompanyMembershipDecisionJSONBody

SetCompanyMembershipDecisionJSONRequestBody defines body for SetCompanyMembershipDecision for application/json ContentType.

type SetCompanyMembershipDecisionParams

type SetCompanyMembershipDecisionParams struct {
	// XTnlActorToken Fresh configured-issuer ID token; nonce is the operation-bound digest specified by company access. Its OIDC sub resolves the actor. The website credential alone grants no owner authority.
	XTnlActorToken CompanyActorToken `json:"X-Tnl-Actor-Token"`
}

SetCompanyMembershipDecisionParams defines parameters for SetCompanyMembershipDecision.

type SetCompanyMembershipDecisionResponse

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

func ParseSetCompanyMembershipDecisionResponse

func ParseSetCompanyMembershipDecisionResponse(rsp *http.Response) (*SetCompanyMembershipDecisionResponse, error)

ParseSetCompanyMembershipDecisionResponse parses an HTTP response from a SetCompanyMembershipDecisionWithResponse call

func (SetCompanyMembershipDecisionResponse) ContentType

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

func (SetCompanyMembershipDecisionResponse) GetApplicationproblemJSONDefault

func (r SetCompanyMembershipDecisionResponse) GetApplicationproblemJSONDefault() *Problem

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

func (SetCompanyMembershipDecisionResponse) GetBody

GetBody returns the raw response body bytes

func (SetCompanyMembershipDecisionResponse) Status

Status returns HTTPResponse.Status

func (SetCompanyMembershipDecisionResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type SetMembershipRoleJSONRequestBody

type SetMembershipRoleJSONRequestBody = SetMembershipRoleRequest

SetMembershipRoleJSONRequestBody defines body for SetMembershipRole for application/json ContentType.

type SetMembershipRoleRequest

type SetMembershipRoleRequest struct {
	Role TeamRole `json:"role"`
}

SetMembershipRoleRequest defines model for SetMembershipRoleRequest.

type SetMembershipRoleResponse

type SetMembershipRoleResponse 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 ParseSetMembershipRoleResponse

func ParseSetMembershipRoleResponse(rsp *http.Response) (*SetMembershipRoleResponse, error)

ParseSetMembershipRoleResponse parses an HTTP response from a SetMembershipRoleWithResponse call

func (SetMembershipRoleResponse) ContentType

func (r SetMembershipRoleResponse) ContentType() string

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

func (SetMembershipRoleResponse) GetApplicationproblemJSONDefault

func (r SetMembershipRoleResponse) GetApplicationproblemJSONDefault() *Problem

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

func (SetMembershipRoleResponse) GetBody

func (r SetMembershipRoleResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (SetMembershipRoleResponse) GetJSON200

func (r SetMembershipRoleResponse) GetJSON200() *Membership

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

func (SetMembershipRoleResponse) Status

func (r SetMembershipRoleResponse) Status() string

Status returns HTTPResponse.Status

func (SetMembershipRoleResponse) StatusCode

func (r SetMembershipRoleResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SetTeamDefaultDomainResponse

type SetTeamDefaultDomainResponse 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 ParseSetTeamDefaultDomainResponse

func ParseSetTeamDefaultDomainResponse(rsp *http.Response) (*SetTeamDefaultDomainResponse, error)

ParseSetTeamDefaultDomainResponse parses an HTTP response from a SetTeamDefaultDomainWithResponse call

func (SetTeamDefaultDomainResponse) ContentType

func (r SetTeamDefaultDomainResponse) ContentType() string

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

func (SetTeamDefaultDomainResponse) GetApplicationproblemJSONDefault

func (r SetTeamDefaultDomainResponse) GetApplicationproblemJSONDefault() *Problem

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

func (SetTeamDefaultDomainResponse) GetBody

func (r SetTeamDefaultDomainResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (SetTeamDefaultDomainResponse) GetJSON200

func (r SetTeamDefaultDomainResponse) GetJSON200() *Team

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

func (SetTeamDefaultDomainResponse) Status

Status returns HTTPResponse.Status

func (SetTeamDefaultDomainResponse) StatusCode

func (r SetTeamDefaultDomainResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SetTeamFeedbackPolicyJSONRequestBody

type SetTeamFeedbackPolicyJSONRequestBody = TeamFeedbackPolicy

SetTeamFeedbackPolicyJSONRequestBody defines body for SetTeamFeedbackPolicy for application/json ContentType.

type SetTeamFeedbackPolicyResponse

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

func ParseSetTeamFeedbackPolicyResponse

func ParseSetTeamFeedbackPolicyResponse(rsp *http.Response) (*SetTeamFeedbackPolicyResponse, error)

ParseSetTeamFeedbackPolicyResponse parses an HTTP response from a SetTeamFeedbackPolicyWithResponse call

func (SetTeamFeedbackPolicyResponse) ContentType

func (r SetTeamFeedbackPolicyResponse) ContentType() string

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

func (SetTeamFeedbackPolicyResponse) GetApplicationproblemJSONDefault

func (r SetTeamFeedbackPolicyResponse) GetApplicationproblemJSONDefault() *Problem

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

func (SetTeamFeedbackPolicyResponse) GetBody

func (r SetTeamFeedbackPolicyResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (SetTeamFeedbackPolicyResponse) GetJSON200

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

func (SetTeamFeedbackPolicyResponse) Status

Status returns HTTPResponse.Status

func (SetTeamFeedbackPolicyResponse) StatusCode

func (r SetTeamFeedbackPolicyResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type StartDeviceLoginJSONRequestBody

type StartDeviceLoginJSONRequestBody = StartDeviceLoginRequest

StartDeviceLoginJSONRequestBody defines body for StartDeviceLogin for application/json ContentType.

type StartDeviceLoginRequest

type StartDeviceLoginRequest struct {
	RefreshToken *string `json:"refresh_token,omitempty"`
	Team         *string `json:"team,omitempty"`
}

StartDeviceLoginRequest defines model for StartDeviceLoginRequest.

type StartDeviceLoginResponse

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

func ParseStartDeviceLoginResponse

func ParseStartDeviceLoginResponse(rsp *http.Response) (*StartDeviceLoginResponse, error)

ParseStartDeviceLoginResponse parses an HTTP response from a StartDeviceLoginWithResponse call

func (StartDeviceLoginResponse) ContentType

func (r StartDeviceLoginResponse) ContentType() string

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

func (StartDeviceLoginResponse) GetApplicationproblemJSONDefault

func (r StartDeviceLoginResponse) GetApplicationproblemJSONDefault() *Problem

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

func (StartDeviceLoginResponse) GetBody

func (r StartDeviceLoginResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (StartDeviceLoginResponse) GetJSON201

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

func (StartDeviceLoginResponse) Status

func (r StartDeviceLoginResponse) Status() string

Status returns HTTPResponse.Status

func (StartDeviceLoginResponse) StatusCode

func (r StartDeviceLoginResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type StdHTTPServerOptions

type StdHTTPServerOptions struct {
	BaseURL          string
	BaseRouter       ServeMux
	Middlewares      []MiddlewareFunc
	ErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error)
}

type Team

type Team struct {
	CreatedAt       time.Time      `json:"created_at"`
	DefaultDomainId DomainID       `json:"default_domain_id"`
	DisplayName     CanonicalLabel `json:"display_name"`
	Id              TeamID         `json:"id"`
	Kind            TeamKind       `json:"kind"`
	ManagedLabel    CanonicalLabel `json:"managed_label"`
	PolicyRevision  int64          `json:"policy_revision"`
	UpdatedAt       time.Time      `json:"updated_at"`
}

Team defines model for Team.

type TeamFeedbackPolicy

type TeamFeedbackPolicy struct {
	Authors TeamFeedbackPolicyAuthors `json:"authors"`
}

TeamFeedbackPolicy defines model for TeamFeedbackPolicy.

type TeamFeedbackPolicyAuthors

type TeamFeedbackPolicyAuthors string

TeamFeedbackPolicyAuthors defines model for TeamFeedbackPolicy.Authors.

const (
	Anyone      TeamFeedbackPolicyAuthors = "anyone"
	SignedIn    TeamFeedbackPolicyAuthors = "signed_in"
	TeamMembers TeamFeedbackPolicyAuthors = "team_members"
)

Defines values for TeamFeedbackPolicyAuthors.

func (TeamFeedbackPolicyAuthors) Valid

func (e TeamFeedbackPolicyAuthors) Valid() bool

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

type TeamID

type TeamID = ResourceID

TeamID defines model for TeamID.

type TeamInvitationEmail

type TeamInvitationEmail struct {
	ExpiresAt       time.Time      `json:"expires_at"`
	Secret          string         `json:"secret"`
	TeamDisplayName CanonicalLabel `json:"team_display_name"`
}

TeamInvitationEmail defines model for TeamInvitationEmail.

type TeamKind

type TeamKind string

TeamKind defines model for TeamKind.

const (
	Organization TeamKind = "organization"
	Personal     TeamKind = "personal"
)

Defines values for TeamKind.

func (TeamKind) Valid

func (e TeamKind) Valid() bool

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

type TeamPage

type TeamPage struct {
	NextCursor *TeamID `json:"next_cursor,omitempty"`
	Teams      []Team  `json:"teams"`
}

TeamPage defines model for TeamPage.

type TeamRole

type TeamRole string

TeamRole defines model for TeamRole.

const (
	TeamRoleAdmin  TeamRole = "admin"
	TeamRoleMember TeamRole = "member"
	TeamRoleOwner  TeamRole = "owner"
)

Defines values for TeamRole.

func (TeamRole) Valid

func (e TeamRole) Valid() bool

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

type TooManyValuesForParamError

type TooManyValuesForParamError struct {
	ParamName string
	Count     int
}

func (*TooManyValuesForParamError) Error

type UnescapedCookieParamError

type UnescapedCookieParamError struct {
	ParamName string
	Err       error
}

func (*UnescapedCookieParamError) Error

func (e *UnescapedCookieParamError) Error() string

func (*UnescapedCookieParamError) Unwrap

func (e *UnescapedCookieParamError) Unwrap() error

type UnmarshalingParamError

type UnmarshalingParamError struct {
	ParamName string
	Err       error
}

func (*UnmarshalingParamError) Error

func (e *UnmarshalingParamError) Error() string

func (*UnmarshalingParamError) Unwrap

func (e *UnmarshalingParamError) Unwrap() error

type VerifiedOIDCTeamContext

type VerifiedOIDCTeamContext struct {
	// AuthenticatedAt Unix seconds of actual company authentication; not token refresh time
	AuthenticatedAt      int64  `json:"authenticated_at"`
	ConnectionRevision   int64  `json:"connection_revision"`
	IdentityConnectionId string `json:"identity_connection_id"`
	SourceId             string `json:"source_id"`
	Subject              string `json:"subject"`
	TeamId               string `json:"team_id"`
}

VerifiedOIDCTeamContext The configured issuer signs this value in the tnl_team_contexts ID-token claim. Control binds it to the identity and newly created session after verifying the token and consuming its assertion. This schema is documentation, never a client authentication input.

type WorkloadAssertion

type WorkloadAssertion struct {
	Assertion string `json:"assertion"`

	// Signature Unpadded base64url Ed25519 signature over SHA-256 of compact JSON ["tnl-workload-attach/v1", session_id, assertion_sha256_base64url].
	Signature string `json:"signature"`
}

WorkloadAssertion defines model for WorkloadAssertion.

type WorkloadExchange

type WorkloadExchange struct {
	Assertion  string `json:"assertion"`
	Nonce      string `json:"nonce"`
	ProjectKey string `json:"project_key"`

	// PublicKey Unpadded base64url Ed25519 public key
	PublicKey string    `json:"public_key"`
	Services  *[]string `json:"services,omitempty"`

	// Signature Unpadded base64url signature of the workload exchange digest
	Signature         string `json:"signature"`
	SourceFingerprint string `json:"source_fingerprint"`

	// TeamId Exact team ID or unique team-name selector. The response contains the canonical team ID.
	TeamId   string `json:"team_id"`
	Workload string `json:"workload"`
}

WorkloadExchange defines model for WorkloadExchange.

type WorkloadGitHubExecution

type WorkloadGitHubExecution struct {
	CheckRunId        string `json:"check_run_id"`
	RepositoryId      string `json:"repository_id"`
	RepositoryOwnerId string `json:"repository_owner_id"`
	RunAttempt        string `json:"run_attempt"`
	RunId             string `json:"run_id"`
}

WorkloadGitHubExecution Immutable GitHub execution metadata verified from the signed provider assertion. Present only for the github provider and unchanged during renewal.

type WorkloadIdentity

type WorkloadIdentity struct {
	// AssertionExpiresAt Expiry verified by authority for the exact supplied assertion.
	AssertionExpiresAt time.Time `json:"assertion_expires_at"`
	Binding            string    `json:"binding"`
	Services           []string  `json:"services"`
}

WorkloadIdentity defines model for WorkloadIdentity.

type WorkloadIdentityRequest

type WorkloadIdentityRequest struct {
	Assertion         string `json:"assertion"`
	ProjectKey        string `json:"project_key"`
	SourceFingerprint string `json:"source_fingerprint"`
	TeamId            string `json:"team_id"`
	Workload          string `json:"workload"`
}

WorkloadIdentityRequest defines model for WorkloadIdentityRequest.

type WorkloadSession

type WorkloadSession = WorkloadSessionFields

WorkloadSession defines model for WorkloadSession.

type WorkloadSessionFields

type WorkloadSessionFields struct {
	// AssertionExpiresAt Verified expiry of the supplied assertion on exchange or attachment. Omitted on renewal; never extends the session window.
	AssertionExpiresAt *time.Time `json:"assertion_expires_at,omitempty"`
	Binding            string     `json:"binding"`
	Credential         string     `json:"credential"`
	ExpiresAt          time.Time  `json:"expires_at"`

	// Github Immutable GitHub execution metadata verified from the signed provider assertion. Present only for the github provider and unchanged during renewal.
	Github         *WorkloadGitHubExecution      `json:"github,omitempty"`
	Id             string                        `json:"id"`
	LeaseExpiresAt time.Time                     `json:"lease_expires_at"`
	ProjectKey     string                        `json:"project_key"`
	Provider       externalRef0.WorkloadProvider `json:"provider"`
	RenewAfter     time.Time                     `json:"renew_after"`
	ServiceIds     []string                      `json:"service_ids"`

	// Subject Exactly identity_id and device_id for human_device; exactly workload_session_id for workload_session. No synthetic person or device represents a workload.
	Subject  externalRef0.VisitorSubject `json:"subject"`
	TeamId   string                      `json:"team_id"`
	Workload string                      `json:"workload"`
}

WorkloadSessionFields defines model for WorkloadSessionFields.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL