vanalyticsconnect

package
v1.8.29 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// VanalyticsAuditProcedure is the fully-qualified name of the Vanalytics's Audit RPC.
	VanalyticsAuditProcedure = "/api.v1alpha1.vanalytics.Vanalytics/Audit"
	// VanalyticsGetRecordingUrlProcedure is the fully-qualified name of the Vanalytics's
	// GetRecordingUrl RPC.
	VanalyticsGetRecordingUrlProcedure = "/api.v1alpha1.vanalytics.Vanalytics/GetRecordingUrl"
	// VanalyticsListBillingSpanProcedure is the fully-qualified name of the Vanalytics's
	// ListBillingSpan RPC.
	VanalyticsListBillingSpanProcedure = "/api.v1alpha1.vanalytics.Vanalytics/ListBillingSpan"
	// VanalyticsSearchProcedure is the fully-qualified name of the Vanalytics's Search RPC.
	VanalyticsSearchProcedure = "/api.v1alpha1.vanalytics.Vanalytics/Search"
	// VanalyticsListTranscriptGroupNamesProcedure is the fully-qualified name of the Vanalytics's
	// ListTranscriptGroupNames RPC.
	VanalyticsListTranscriptGroupNamesProcedure = "/api.v1alpha1.vanalytics.Vanalytics/ListTranscriptGroupNames"
	// VanalyticsBulkDeleteTranscriptsProcedure is the fully-qualified name of the Vanalytics's
	// BulkDeleteTranscripts RPC.
	VanalyticsBulkDeleteTranscriptsProcedure = "/api.v1alpha1.vanalytics.Vanalytics/BulkDeleteTranscripts"
	// VanalyticsBulkRestoreTranscriptsProcedure is the fully-qualified name of the Vanalytics's
	// BulkRestoreTranscripts RPC.
	VanalyticsBulkRestoreTranscriptsProcedure = "/api.v1alpha1.vanalytics.Vanalytics/BulkRestoreTranscripts"
	// VanalyticsListAgentResponseValuesProcedure is the fully-qualified name of the Vanalytics's
	// ListAgentResponseValues RPC.
	VanalyticsListAgentResponseValuesProcedure = "/api.v1alpha1.vanalytics.Vanalytics/ListAgentResponseValues"
	// VanalyticsGetTranscriptSummaryProcedure is the fully-qualified name of the Vanalytics's
	// GetTranscriptSummary RPC.
	VanalyticsGetTranscriptSummaryProcedure = "/api.v1alpha1.vanalytics.Vanalytics/GetTranscriptSummary"
	// VanalyticsCreateFilterProcedure is the fully-qualified name of the Vanalytics's CreateFilter RPC.
	VanalyticsCreateFilterProcedure = "/api.v1alpha1.vanalytics.Vanalytics/CreateFilter"
	// VanalyticsListFiltersProcedure is the fully-qualified name of the Vanalytics's ListFilters RPC.
	VanalyticsListFiltersProcedure = "/api.v1alpha1.vanalytics.Vanalytics/ListFilters"
	// VanalyticsUpdateFilterProcedure is the fully-qualified name of the Vanalytics's UpdateFilter RPC.
	VanalyticsUpdateFilterProcedure = "/api.v1alpha1.vanalytics.Vanalytics/UpdateFilter"
	// VanalyticsDeleteFilterProcedure is the fully-qualified name of the Vanalytics's DeleteFilter RPC.
	VanalyticsDeleteFilterProcedure = "/api.v1alpha1.vanalytics.Vanalytics/DeleteFilter"
	// VanalyticsGetFilterProcedure is the fully-qualified name of the Vanalytics's GetFilter RPC.
	VanalyticsGetFilterProcedure = "/api.v1alpha1.vanalytics.Vanalytics/GetFilter"
	// VanalyticsGetFlagProcedure is the fully-qualified name of the Vanalytics's GetFlag RPC.
	VanalyticsGetFlagProcedure = "/api.v1alpha1.vanalytics.Vanalytics/GetFlag"
	// VanalyticsCreateFlagProcedure is the fully-qualified name of the Vanalytics's CreateFlag RPC.
	VanalyticsCreateFlagProcedure = "/api.v1alpha1.vanalytics.Vanalytics/CreateFlag"
	// VanalyticsListFlagsProcedure is the fully-qualified name of the Vanalytics's ListFlags RPC.
	VanalyticsListFlagsProcedure = "/api.v1alpha1.vanalytics.Vanalytics/ListFlags"
	// VanalyticsUpdateFlagProcedure is the fully-qualified name of the Vanalytics's UpdateFlag RPC.
	VanalyticsUpdateFlagProcedure = "/api.v1alpha1.vanalytics.Vanalytics/UpdateFlag"
	// VanalyticsDeleteFlagProcedure is the fully-qualified name of the Vanalytics's DeleteFlag RPC.
	VanalyticsDeleteFlagProcedure = "/api.v1alpha1.vanalytics.Vanalytics/DeleteFlag"
	// VanalyticsCreateFlagReviewProcedure is the fully-qualified name of the Vanalytics's
	// CreateFlagReview RPC.
	VanalyticsCreateFlagReviewProcedure = "/api.v1alpha1.vanalytics.Vanalytics/CreateFlagReview"
	// VanalyticsBulkCreateFlagReviewProcedure is the fully-qualified name of the Vanalytics's
	// BulkCreateFlagReview RPC.
	VanalyticsBulkCreateFlagReviewProcedure = "/api.v1alpha1.vanalytics.Vanalytics/BulkCreateFlagReview"
	// VanalyticsListFlagReviewsProcedure is the fully-qualified name of the Vanalytics's
	// ListFlagReviews RPC.
	VanalyticsListFlagReviewsProcedure = "/api.v1alpha1.vanalytics.Vanalytics/ListFlagReviews"
	// VanalyticsCreateFlagTranscriptProcedure is the fully-qualified name of the Vanalytics's
	// CreateFlagTranscript RPC.
	VanalyticsCreateFlagTranscriptProcedure = "/api.v1alpha1.vanalytics.Vanalytics/CreateFlagTranscript"
	// VanalyticsSearchFlagTranscriptsProcedure is the fully-qualified name of the Vanalytics's
	// SearchFlagTranscripts RPC.
	VanalyticsSearchFlagTranscriptsProcedure = "/api.v1alpha1.vanalytics.Vanalytics/SearchFlagTranscripts"
	// VanalyticsCreateFlagFilterProcedure is the fully-qualified name of the Vanalytics's
	// CreateFlagFilter RPC.
	VanalyticsCreateFlagFilterProcedure = "/api.v1alpha1.vanalytics.Vanalytics/CreateFlagFilter"
	// VanalyticsListFlagFiltersProcedure is the fully-qualified name of the Vanalytics's
	// ListFlagFilters RPC.
	VanalyticsListFlagFiltersProcedure = "/api.v1alpha1.vanalytics.Vanalytics/ListFlagFilters"
	// VanalyticsDeleteFlagFilterProcedure is the fully-qualified name of the Vanalytics's
	// DeleteFlagFilter RPC.
	VanalyticsDeleteFlagFilterProcedure = "/api.v1alpha1.vanalytics.Vanalytics/DeleteFlagFilter"
	// VanalyticsListFlagSnapshotsProcedure is the fully-qualified name of the Vanalytics's
	// ListFlagSnapshots RPC.
	VanalyticsListFlagSnapshotsProcedure = "/api.v1alpha1.vanalytics.Vanalytics/ListFlagSnapshots"
	// VanalyticsListFlagTranscriptFiltersProcedure is the fully-qualified name of the Vanalytics's
	// ListFlagTranscriptFilters RPC.
	VanalyticsListFlagTranscriptFiltersProcedure = "/api.v1alpha1.vanalytics.Vanalytics/ListFlagTranscriptFilters"
	// VanalyticsCreateCorrectionProcedure is the fully-qualified name of the Vanalytics's
	// CreateCorrection RPC.
	VanalyticsCreateCorrectionProcedure = "/api.v1alpha1.vanalytics.Vanalytics/CreateCorrection"
	// VanalyticsGetCorrectionProcedure is the fully-qualified name of the Vanalytics's GetCorrection
	// RPC.
	VanalyticsGetCorrectionProcedure = "/api.v1alpha1.vanalytics.Vanalytics/GetCorrection"
	// VanalyticsDeleteCorrectionProcedure is the fully-qualified name of the Vanalytics's
	// DeleteCorrection RPC.
	VanalyticsDeleteCorrectionProcedure = "/api.v1alpha1.vanalytics.Vanalytics/DeleteCorrection"
	// VanalyticsListCorrectionsProcedure is the fully-qualified name of the Vanalytics's
	// ListCorrections RPC.
	VanalyticsListCorrectionsProcedure = "/api.v1alpha1.vanalytics.Vanalytics/ListCorrections"
	// VanalyticsUpdateCorrectionProcedure is the fully-qualified name of the Vanalytics's
	// UpdateCorrection RPC.
	VanalyticsUpdateCorrectionProcedure = "/api.v1alpha1.vanalytics.Vanalytics/UpdateCorrection"
)

These constants are the fully-qualified names of the RPCs defined in this package. They're exposed at runtime as Spec.Procedure and as the final two segments of the HTTP route.

Note that these are different from the fully-qualified method names used by google.golang.org/protobuf/reflect/protoreflect. To convert from these constants to reflection-formatted method names, remove the leading slash and convert the remaining slash to a period.

View Source
const (
	// VanalyticsSupportDeleteFlagTranscriptProcedure is the fully-qualified name of the
	// VanalyticsSupport's DeleteFlagTranscript RPC.
	VanalyticsSupportDeleteFlagTranscriptProcedure = "/api.v1alpha1.vanalytics.VanalyticsSupport/DeleteFlagTranscript"
	// VanalyticsSupportSearchByOrgIdProcedure is the fully-qualified name of the VanalyticsSupport's
	// SearchByOrgId RPC.
	VanalyticsSupportSearchByOrgIdProcedure = "/api.v1alpha1.vanalytics.VanalyticsSupport/SearchByOrgId"
)

These constants are the fully-qualified names of the RPCs defined in this package. They're exposed at runtime as Spec.Procedure and as the final two segments of the HTTP route.

Note that these are different from the fully-qualified method names used by google.golang.org/protobuf/reflect/protoreflect. To convert from these constants to reflection-formatted method names, remove the leading slash and convert the remaining slash to a period.

View Source
const (
	// VanalyticsName is the fully-qualified name of the Vanalytics service.
	VanalyticsName = "api.v1alpha1.vanalytics.Vanalytics"
)
View Source
const (
	// VanalyticsSupportName is the fully-qualified name of the VanalyticsSupport service.
	VanalyticsSupportName = "api.v1alpha1.vanalytics.VanalyticsSupport"
)

Variables

This section is empty.

Functions

func NewVanalyticsHandler

func NewVanalyticsHandler(svc VanalyticsHandler, opts ...connect_go.HandlerOption) (string, http.Handler)

NewVanalyticsHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.

By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.

func NewVanalyticsSupportHandler added in v1.7.71

func NewVanalyticsSupportHandler(svc VanalyticsSupportHandler, opts ...connect_go.HandlerOption) (string, http.Handler)

NewVanalyticsSupportHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.

By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.

Types

type UnimplementedVanalyticsHandler

type UnimplementedVanalyticsHandler struct{}

UnimplementedVanalyticsHandler returns CodeUnimplemented from all methods.

func (UnimplementedVanalyticsHandler) GetCorrection added in v1.7.44

type UnimplementedVanalyticsSupportHandler added in v1.7.71

type UnimplementedVanalyticsSupportHandler struct{}

UnimplementedVanalyticsSupportHandler returns CodeUnimplemented from all methods.

func (UnimplementedVanalyticsSupportHandler) SearchByOrgId added in v1.7.72

type VanalyticsClient

type VanalyticsClient interface {
	// Audit audits the used transcription audio time for a client. The window
	// of time to audit can be widened or narrowed using the request since and
	// until fields.
	Audit(context.Context, *connect_go.Request[vanalytics.AuditRequest]) (*connect_go.Response[vanalytics.AuditResponse], error)
	// GetRecordingUrl gets a signed url to download a transcript recording.
	GetRecordingUrl(context.Context, *connect_go.Request[vanalytics.GetRecordingUrlRequest]) (*connect_go.Response[vanalytics.GetRecordingUrlResponse], error)
	// ListBillingSpan lists billing spans.
	ListBillingSpan(context.Context, *connect_go.Request[vanalytics.ListBillingSpanRequest]) (*connect_go.Response[vanalytics.ListBillingSpanResponse], error)
	// Search searches transcripts by search criteria. The search response
	// contains one page of transcript hits. Traversing the paginated hits is
	// achieved through subsequent requests using the response sort field.
	Search(context.Context, *connect_go.Request[vanalytics.SearchRequest]) (*connect_go.Response[vanalytics.SearchResponse], error)
	// ListTranscriptGroupNames lists transcript group names.
	ListTranscriptGroupNames(context.Context, *connect_go.Request[vanalytics.ListTranscriptGroupNamesRequest]) (*connect_go.Response[vanalytics.ListTranscriptGroupNamesResponse], error)
	// BulkDeleteTranscripts bulk deletes transcripts matching the provided query.
	BulkDeleteTranscripts(context.Context, *connect_go.Request[vanalytics.BulkDeleteTranscriptsRequest]) (*connect_go.Response[vanalytics.BulkDeleteTranscriptsResponse], error)
	// BulkRestoreTranscripts bulk restores transcripts matching the provided query.
	BulkRestoreTranscripts(context.Context, *connect_go.Request[vanalytics.BulkRestoreTranscriptsRequest]) (*connect_go.Response[vanalytics.BulkRestoreTranscriptsResponse], error)
	// ListAgentResponseValues lists transcript agent response values.
	ListAgentResponseValues(context.Context, *connect_go.Request[vanalytics.ListAgentResponseValuesRequest]) (*connect_go.Response[vanalytics.ListAgentResponseValuesResponse], error)
	// GetTranscriptSummary gets a transcript summary for a provided transcript.
	GetTranscriptSummary(context.Context, *connect_go.Request[vanalytics.GetTranscriptSummaryRequest]) (*connect_go.Response[vanalytics.GetTranscriptSummaryResponse], error)
	// CreateFilter creates a new filter. The filter contains a search request
	// to filter transcripts.
	CreateFilter(context.Context, *connect_go.Request[vanalytics.CreateFilterRequest]) (*connect_go.Response[vanalytics.Filter], error)
	// ListFilters lists filters.
	ListFilters(context.Context, *connect_go.Request[vanalytics.ListFiltersRequest]) (*connect_go.Response[vanalytics.ListFiltersResponse], error)
	// UpdateFilter updates a filter search request and/or name.
	UpdateFilter(context.Context, *connect_go.Request[vanalytics.UpdateFilterRequest]) (*connect_go.Response[vanalytics.Filter], error)
	// DeleteFilter deletes filter given a filter_sid.
	DeleteFilter(context.Context, *connect_go.Request[vanalytics.DeleteFilterRequest]) (*connect_go.Response[vanalytics.DeleteFilterResponse], error)
	// GetFilter gets filter given a filter_sid, name or search request.
	GetFilter(context.Context, *connect_go.Request[vanalytics.GetFilterRequest]) (*connect_go.Response[vanalytics.Filter], error)
	// GetFlag gets a flag.
	GetFlag(context.Context, *connect_go.Request[vanalytics.GetFlagRequest]) (*connect_go.Response[vanalytics.Flag], error)
	// CreateFlag creates a new flag.
	CreateFlag(context.Context, *connect_go.Request[vanalytics.CreateFlagRequest]) (*connect_go.Response[vanalytics.Flag], error)
	// ListFlags lists flags in an organization.
	ListFlags(context.Context, *connect_go.Request[vanalytics.ListFlagsRequest]) (*connect_go.Response[vanalytics.ListFlagsResponse], error)
	// UpdateFlag updates a flag.
	UpdateFlag(context.Context, *connect_go.Request[vanalytics.UpdateFlagRequest]) (*connect_go.Response[vanalytics.Flag], error)
	// DeleteFlag deletes the flag identified by the given flag_sid.
	DeleteFlag(context.Context, *connect_go.Request[vanalytics.DeleteFlagRequest]) (*connect_go.Response[vanalytics.DeleteFlagResponse], error)
	// CreateFlagReview creates a flag review.
	CreateFlagReview(context.Context, *connect_go.Request[vanalytics.CreateFlagReviewRequest]) (*connect_go.Response[vanalytics.FlagReview], error)
	// BulkCreateFlagReview creates flag reviews.
	BulkCreateFlagReview(context.Context, *connect_go.Request[vanalytics.BulkCreateFlagReviewRequest]) (*connect_go.Response[vanalytics.BulkCreateFlagReviewResponse], error)
	// ListFlagReviews lists reviews in an organization.
	ListFlagReviews(context.Context, *connect_go.Request[vanalytics.ListFlagReviewsRequest]) (*connect_go.Response[vanalytics.ListFlagReviewsResponse], error)
	// CreateFlagTranscript creates a flag transcript.
	CreateFlagTranscript(context.Context, *connect_go.Request[vanalytics.CreateFlagTranscriptRequest]) (*connect_go.Response[vanalytics.CreateFlagTranscriptResponse], error)
	// SearchFlagTranscripts searches flag transcripts.
	SearchFlagTranscripts(context.Context, *connect_go.Request[vanalytics.SearchFlagTranscriptsRequest]) (*connect_go.Response[vanalytics.SearchFlagTranscriptsResponse], error)
	// DEPRECATED.
	CreateFlagFilter(context.Context, *connect_go.Request[vanalytics.CreateFlagFilterRequest]) (*connect_go.Response[vanalytics.FlagFilter], error)
	// ListFlagFilters lists flag filter associations.
	ListFlagFilters(context.Context, *connect_go.Request[vanalytics.ListFlagFiltersRequest]) (*connect_go.Response[vanalytics.ListFlagFiltersResponse], error)
	// DEPRECATED.
	DeleteFlagFilter(context.Context, *connect_go.Request[vanalytics.DeleteFlagFilterRequest]) (*connect_go.Response[vanalytics.DeleteFlagFilterResponse], error)
	// ListFlagSnapshots lists flag snapshots in an organization.
	ListFlagSnapshots(context.Context, *connect_go.Request[vanalytics.ListFlagSnapshotsRequest]) (*connect_go.Response[vanalytics.ListFlagSnapshotsResponse], error)
	// ListFlagTranscriptFilters lists flag transcript filters in an organization.
	ListFlagTranscriptFilters(context.Context, *connect_go.Request[vanalytics.ListFlagTranscriptFiltersRequest]) (*connect_go.Response[vanalytics.ListFlagTranscriptFiltersResponse], error)
	// CreateCorrection creates a correction.
	CreateCorrection(context.Context, *connect_go.Request[vanalytics.CreateCorrectionRequest]) (*connect_go.Response[vanalytics.CreateCorrectionResponse], error)
	// GetCorrection gets a correction.
	GetCorrection(context.Context, *connect_go.Request[vanalytics.GetCorrectionRequest]) (*connect_go.Response[vanalytics.Correction], error)
	// DeleteCorrection deletes a correction.
	DeleteCorrection(context.Context, *connect_go.Request[vanalytics.DeleteCorrectionRequest]) (*connect_go.Response[vanalytics.DeleteCorrectionResponse], error)
	// ListCorrections lists corrections.
	ListCorrections(context.Context, *connect_go.Request[vanalytics.ListCorrectionsRequest]) (*connect_go.Response[vanalytics.ListCorrectionsResponse], error)
	// UpdateCorrection updates a correction.
	UpdateCorrection(context.Context, *connect_go.Request[vanalytics.UpdateCorrectionRequest]) (*connect_go.Response[vanalytics.UpdateCorrectionResponse], error)
}

VanalyticsClient is a client for the api.v1alpha1.vanalytics.Vanalytics service.

func NewVanalyticsClient

func NewVanalyticsClient(httpClient connect_go.HTTPClient, baseURL string, opts ...connect_go.ClientOption) VanalyticsClient

NewVanalyticsClient constructs a client for the api.v1alpha1.vanalytics.Vanalytics service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.

The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).

type VanalyticsHandler

type VanalyticsHandler interface {
	// Audit audits the used transcription audio time for a client. The window
	// of time to audit can be widened or narrowed using the request since and
	// until fields.
	Audit(context.Context, *connect_go.Request[vanalytics.AuditRequest]) (*connect_go.Response[vanalytics.AuditResponse], error)
	// GetRecordingUrl gets a signed url to download a transcript recording.
	GetRecordingUrl(context.Context, *connect_go.Request[vanalytics.GetRecordingUrlRequest]) (*connect_go.Response[vanalytics.GetRecordingUrlResponse], error)
	// ListBillingSpan lists billing spans.
	ListBillingSpan(context.Context, *connect_go.Request[vanalytics.ListBillingSpanRequest]) (*connect_go.Response[vanalytics.ListBillingSpanResponse], error)
	// Search searches transcripts by search criteria. The search response
	// contains one page of transcript hits. Traversing the paginated hits is
	// achieved through subsequent requests using the response sort field.
	Search(context.Context, *connect_go.Request[vanalytics.SearchRequest]) (*connect_go.Response[vanalytics.SearchResponse], error)
	// ListTranscriptGroupNames lists transcript group names.
	ListTranscriptGroupNames(context.Context, *connect_go.Request[vanalytics.ListTranscriptGroupNamesRequest]) (*connect_go.Response[vanalytics.ListTranscriptGroupNamesResponse], error)
	// BulkDeleteTranscripts bulk deletes transcripts matching the provided query.
	BulkDeleteTranscripts(context.Context, *connect_go.Request[vanalytics.BulkDeleteTranscriptsRequest]) (*connect_go.Response[vanalytics.BulkDeleteTranscriptsResponse], error)
	// BulkRestoreTranscripts bulk restores transcripts matching the provided query.
	BulkRestoreTranscripts(context.Context, *connect_go.Request[vanalytics.BulkRestoreTranscriptsRequest]) (*connect_go.Response[vanalytics.BulkRestoreTranscriptsResponse], error)
	// ListAgentResponseValues lists transcript agent response values.
	ListAgentResponseValues(context.Context, *connect_go.Request[vanalytics.ListAgentResponseValuesRequest]) (*connect_go.Response[vanalytics.ListAgentResponseValuesResponse], error)
	// GetTranscriptSummary gets a transcript summary for a provided transcript.
	GetTranscriptSummary(context.Context, *connect_go.Request[vanalytics.GetTranscriptSummaryRequest]) (*connect_go.Response[vanalytics.GetTranscriptSummaryResponse], error)
	// CreateFilter creates a new filter. The filter contains a search request
	// to filter transcripts.
	CreateFilter(context.Context, *connect_go.Request[vanalytics.CreateFilterRequest]) (*connect_go.Response[vanalytics.Filter], error)
	// ListFilters lists filters.
	ListFilters(context.Context, *connect_go.Request[vanalytics.ListFiltersRequest]) (*connect_go.Response[vanalytics.ListFiltersResponse], error)
	// UpdateFilter updates a filter search request and/or name.
	UpdateFilter(context.Context, *connect_go.Request[vanalytics.UpdateFilterRequest]) (*connect_go.Response[vanalytics.Filter], error)
	// DeleteFilter deletes filter given a filter_sid.
	DeleteFilter(context.Context, *connect_go.Request[vanalytics.DeleteFilterRequest]) (*connect_go.Response[vanalytics.DeleteFilterResponse], error)
	// GetFilter gets filter given a filter_sid, name or search request.
	GetFilter(context.Context, *connect_go.Request[vanalytics.GetFilterRequest]) (*connect_go.Response[vanalytics.Filter], error)
	// GetFlag gets a flag.
	GetFlag(context.Context, *connect_go.Request[vanalytics.GetFlagRequest]) (*connect_go.Response[vanalytics.Flag], error)
	// CreateFlag creates a new flag.
	CreateFlag(context.Context, *connect_go.Request[vanalytics.CreateFlagRequest]) (*connect_go.Response[vanalytics.Flag], error)
	// ListFlags lists flags in an organization.
	ListFlags(context.Context, *connect_go.Request[vanalytics.ListFlagsRequest]) (*connect_go.Response[vanalytics.ListFlagsResponse], error)
	// UpdateFlag updates a flag.
	UpdateFlag(context.Context, *connect_go.Request[vanalytics.UpdateFlagRequest]) (*connect_go.Response[vanalytics.Flag], error)
	// DeleteFlag deletes the flag identified by the given flag_sid.
	DeleteFlag(context.Context, *connect_go.Request[vanalytics.DeleteFlagRequest]) (*connect_go.Response[vanalytics.DeleteFlagResponse], error)
	// CreateFlagReview creates a flag review.
	CreateFlagReview(context.Context, *connect_go.Request[vanalytics.CreateFlagReviewRequest]) (*connect_go.Response[vanalytics.FlagReview], error)
	// BulkCreateFlagReview creates flag reviews.
	BulkCreateFlagReview(context.Context, *connect_go.Request[vanalytics.BulkCreateFlagReviewRequest]) (*connect_go.Response[vanalytics.BulkCreateFlagReviewResponse], error)
	// ListFlagReviews lists reviews in an organization.
	ListFlagReviews(context.Context, *connect_go.Request[vanalytics.ListFlagReviewsRequest]) (*connect_go.Response[vanalytics.ListFlagReviewsResponse], error)
	// CreateFlagTranscript creates a flag transcript.
	CreateFlagTranscript(context.Context, *connect_go.Request[vanalytics.CreateFlagTranscriptRequest]) (*connect_go.Response[vanalytics.CreateFlagTranscriptResponse], error)
	// SearchFlagTranscripts searches flag transcripts.
	SearchFlagTranscripts(context.Context, *connect_go.Request[vanalytics.SearchFlagTranscriptsRequest]) (*connect_go.Response[vanalytics.SearchFlagTranscriptsResponse], error)
	// DEPRECATED.
	CreateFlagFilter(context.Context, *connect_go.Request[vanalytics.CreateFlagFilterRequest]) (*connect_go.Response[vanalytics.FlagFilter], error)
	// ListFlagFilters lists flag filter associations.
	ListFlagFilters(context.Context, *connect_go.Request[vanalytics.ListFlagFiltersRequest]) (*connect_go.Response[vanalytics.ListFlagFiltersResponse], error)
	// DEPRECATED.
	DeleteFlagFilter(context.Context, *connect_go.Request[vanalytics.DeleteFlagFilterRequest]) (*connect_go.Response[vanalytics.DeleteFlagFilterResponse], error)
	// ListFlagSnapshots lists flag snapshots in an organization.
	ListFlagSnapshots(context.Context, *connect_go.Request[vanalytics.ListFlagSnapshotsRequest]) (*connect_go.Response[vanalytics.ListFlagSnapshotsResponse], error)
	// ListFlagTranscriptFilters lists flag transcript filters in an organization.
	ListFlagTranscriptFilters(context.Context, *connect_go.Request[vanalytics.ListFlagTranscriptFiltersRequest]) (*connect_go.Response[vanalytics.ListFlagTranscriptFiltersResponse], error)
	// CreateCorrection creates a correction.
	CreateCorrection(context.Context, *connect_go.Request[vanalytics.CreateCorrectionRequest]) (*connect_go.Response[vanalytics.CreateCorrectionResponse], error)
	// GetCorrection gets a correction.
	GetCorrection(context.Context, *connect_go.Request[vanalytics.GetCorrectionRequest]) (*connect_go.Response[vanalytics.Correction], error)
	// DeleteCorrection deletes a correction.
	DeleteCorrection(context.Context, *connect_go.Request[vanalytics.DeleteCorrectionRequest]) (*connect_go.Response[vanalytics.DeleteCorrectionResponse], error)
	// ListCorrections lists corrections.
	ListCorrections(context.Context, *connect_go.Request[vanalytics.ListCorrectionsRequest]) (*connect_go.Response[vanalytics.ListCorrectionsResponse], error)
	// UpdateCorrection updates a correction.
	UpdateCorrection(context.Context, *connect_go.Request[vanalytics.UpdateCorrectionRequest]) (*connect_go.Response[vanalytics.UpdateCorrectionResponse], error)
}

VanalyticsHandler is an implementation of the api.v1alpha1.vanalytics.Vanalytics service.

type VanalyticsSupportClient added in v1.7.71

type VanalyticsSupportClient interface {
	// DeleteFlagTranscript deletes a flag transcript.
	DeleteFlagTranscript(context.Context, *connect_go.Request[vanalytics.DeleteFlagTranscriptRequest]) (*connect_go.Response[vanalytics.DeleteFlagTranscriptResponse], error)
	// SearchByOrgId searches transcripts for a specific org.
	SearchByOrgId(context.Context, *connect_go.Request[vanalytics.SearchByOrgIdRequest]) (*connect_go.Response[vanalytics.SearchResponse], error)
}

VanalyticsSupportClient is a client for the api.v1alpha1.vanalytics.VanalyticsSupport service.

func NewVanalyticsSupportClient added in v1.7.71

func NewVanalyticsSupportClient(httpClient connect_go.HTTPClient, baseURL string, opts ...connect_go.ClientOption) VanalyticsSupportClient

NewVanalyticsSupportClient constructs a client for the api.v1alpha1.vanalytics.VanalyticsSupport service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.

The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).

type VanalyticsSupportHandler added in v1.7.71

type VanalyticsSupportHandler interface {
	// DeleteFlagTranscript deletes a flag transcript.
	DeleteFlagTranscript(context.Context, *connect_go.Request[vanalytics.DeleteFlagTranscriptRequest]) (*connect_go.Response[vanalytics.DeleteFlagTranscriptResponse], error)
	// SearchByOrgId searches transcripts for a specific org.
	SearchByOrgId(context.Context, *connect_go.Request[vanalytics.SearchByOrgIdRequest]) (*connect_go.Response[vanalytics.SearchResponse], error)
}

VanalyticsSupportHandler is an implementation of the api.v1alpha1.vanalytics.VanalyticsSupport service.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL