integrationsconnect

package
v1.8.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	// PortalManagerApiUpsertPortalConfigProcedure is the fully-qualified name of the PortalManagerApi's
	// UpsertPortalConfig RPC.
	PortalManagerApiUpsertPortalConfigProcedure = "/api.v1alpha1.integrations.PortalManagerApi/UpsertPortalConfig"
	// PortalManagerApiListPortalConfigsProcedure is the fully-qualified name of the PortalManagerApi's
	// ListPortalConfigs RPC.
	PortalManagerApiListPortalConfigsProcedure = "/api.v1alpha1.integrations.PortalManagerApi/ListPortalConfigs"
	// PortalManagerApiGetPortalConfigProcedure is the fully-qualified name of the PortalManagerApi's
	// GetPortalConfig RPC.
	PortalManagerApiGetPortalConfigProcedure = "/api.v1alpha1.integrations.PortalManagerApi/GetPortalConfig"
	// PortalManagerApiDeletePortalConfigProcedure is the fully-qualified name of the PortalManagerApi's
	// DeletePortalConfig RPC.
	PortalManagerApiDeletePortalConfigProcedure = "/api.v1alpha1.integrations.PortalManagerApi/DeletePortalConfig"
	// PortalManagerApiUpdatePortalConfigLogoProcedure is the fully-qualified name of the
	// PortalManagerApi's UpdatePortalConfigLogo RPC.
	PortalManagerApiUpdatePortalConfigLogoProcedure = "/api.v1alpha1.integrations.PortalManagerApi/UpdatePortalConfigLogo"
	// PortalManagerApiGetPortalConfigLogoProcedure is the fully-qualified name of the
	// PortalManagerApi's GetPortalConfigLogo RPC.
	PortalManagerApiGetPortalConfigLogoProcedure = "/api.v1alpha1.integrations.PortalManagerApi/GetPortalConfigLogo"
	// PortalManagerApiListPortalLinksProcedure is the fully-qualified name of the PortalManagerApi's
	// ListPortalLinks RPC.
	PortalManagerApiListPortalLinksProcedure = "/api.v1alpha1.integrations.PortalManagerApi/ListPortalLinks"
	// PortalManagerApiGetPortalLinkProcedure is the fully-qualified name of the PortalManagerApi's
	// GetPortalLink RPC.
	PortalManagerApiGetPortalLinkProcedure = "/api.v1alpha1.integrations.PortalManagerApi/GetPortalLink"
	// PortalManagerApiDeletePortalLinkProcedure is the fully-qualified name of the PortalManagerApi's
	// DeletePortalLink RPC.
	PortalManagerApiDeletePortalLinkProcedure = "/api.v1alpha1.integrations.PortalManagerApi/DeletePortalLink"
	// PortalManagerApiCreatePortalLinksProcedure is the fully-qualified name of the PortalManagerApi's
	// CreatePortalLinks RPC.
	PortalManagerApiCreatePortalLinksProcedure = "/api.v1alpha1.integrations.PortalManagerApi/CreatePortalLinks"
	// PortalManagerApiUpsertPortalProcedure is the fully-qualified name of the PortalManagerApi's
	// UpsertPortal RPC.
	PortalManagerApiUpsertPortalProcedure = "/api.v1alpha1.integrations.PortalManagerApi/UpsertPortal"
	// PortalManagerApiGetPortalProcedure is the fully-qualified name of the PortalManagerApi's
	// GetPortal RPC.
	PortalManagerApiGetPortalProcedure = "/api.v1alpha1.integrations.PortalManagerApi/GetPortal"
	// PortalManagerApiDeletePortalProcedure is the fully-qualified name of the PortalManagerApi's
	// DeletePortal RPC.
	PortalManagerApiDeletePortalProcedure = "/api.v1alpha1.integrations.PortalManagerApi/DeletePortal"
	// PortalManagerApiListPortalsProcedure is the fully-qualified name of the PortalManagerApi's
	// ListPortals RPC.
	PortalManagerApiListPortalsProcedure = "/api.v1alpha1.integrations.PortalManagerApi/ListPortals"
	// PortalManagerApiListDetailedPortalsProcedure is the fully-qualified name of the
	// PortalManagerApi's ListDetailedPortals RPC.
	PortalManagerApiListDetailedPortalsProcedure = "/api.v1alpha1.integrations.PortalManagerApi/ListDetailedPortals"
	// PortalManagerApiGetDetailedPortalProcedure is the fully-qualified name of the PortalManagerApi's
	// GetDetailedPortal RPC.
	PortalManagerApiGetDetailedPortalProcedure = "/api.v1alpha1.integrations.PortalManagerApi/GetDetailedPortal"
	// PortalManagerApiUpsertPluginInstanceProcedure is the fully-qualified name of the
	// PortalManagerApi's UpsertPluginInstance RPC.
	PortalManagerApiUpsertPluginInstanceProcedure = "/api.v1alpha1.integrations.PortalManagerApi/UpsertPluginInstance"
	// PortalManagerApiGetPluginInstanceProcedure is the fully-qualified name of the PortalManagerApi's
	// GetPluginInstance RPC.
	PortalManagerApiGetPluginInstanceProcedure = "/api.v1alpha1.integrations.PortalManagerApi/GetPluginInstance"
	// PortalManagerApiDeletePluginInstanceProcedure is the fully-qualified name of the
	// PortalManagerApi's DeletePluginInstance RPC.
	PortalManagerApiDeletePluginInstanceProcedure = "/api.v1alpha1.integrations.PortalManagerApi/DeletePluginInstance"
	// PortalManagerApiListPluginInstanceProcedure is the fully-qualified name of the PortalManagerApi's
	// ListPluginInstance RPC.
	PortalManagerApiListPluginInstanceProcedure = "/api.v1alpha1.integrations.PortalManagerApi/ListPluginInstance"
	// PortalManagerApiListFlowFieldNamesProcedure is the fully-qualified name of the PortalManagerApi's
	// ListFlowFieldNames RPC.
	PortalManagerApiListFlowFieldNamesProcedure = "/api.v1alpha1.integrations.PortalManagerApi/ListFlowFieldNames"
	// PortalManagerApiListAvailableVerificationFieldsProcedure is the fully-qualified name of the
	// PortalManagerApi's ListAvailableVerificationFields RPC.
	PortalManagerApiListAvailableVerificationFieldsProcedure = "/api.v1alpha1.integrations.PortalManagerApi/ListAvailableVerificationFields"
	// PortalManagerApiListAvailablePaymentFieldsProcedure is the fully-qualified name of the
	// PortalManagerApi's ListAvailablePaymentFields RPC.
	PortalManagerApiListAvailablePaymentFieldsProcedure = "/api.v1alpha1.integrations.PortalManagerApi/ListAvailablePaymentFields"
	// PortalManagerApiListPortalTypesProcedure is the fully-qualified name of the PortalManagerApi's
	// ListPortalTypes RPC.
	PortalManagerApiListPortalTypesProcedure = "/api.v1alpha1.integrations.PortalManagerApi/ListPortalTypes"
	// PortalManagerApiListPortalWorkflowsProcedure is the fully-qualified name of the
	// PortalManagerApi's ListPortalWorkflows RPC.
	PortalManagerApiListPortalWorkflowsProcedure = "/api.v1alpha1.integrations.PortalManagerApi/ListPortalWorkflows"
	// PortalManagerApiListAllActionDefinitionsProcedure is the fully-qualified name of the
	// PortalManagerApi's ListAllActionDefinitions RPC.
	PortalManagerApiListAllActionDefinitionsProcedure = "/api.v1alpha1.integrations.PortalManagerApi/ListAllActionDefinitions"
)

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 (
	// IntegrationsProcessProcedure is the fully-qualified name of the Integrations's Process RPC.
	IntegrationsProcessProcedure = "/api.v1alpha1.integrations.Integrations/Process"
	// IntegrationsGetIntegrationTransactionProcedure is the fully-qualified name of the Integrations's
	// GetIntegrationTransaction RPC.
	IntegrationsGetIntegrationTransactionProcedure = "/api.v1alpha1.integrations.Integrations/GetIntegrationTransaction"
	// IntegrationsGetIntegrationTransactionReportProcedure is the fully-qualified name of the
	// Integrations's GetIntegrationTransactionReport RPC.
	IntegrationsGetIntegrationTransactionReportProcedure = "/api.v1alpha1.integrations.Integrations/GetIntegrationTransactionReport"
	// IntegrationsGetIntegrationTransactionReportDataProcedure is the fully-qualified name of the
	// Integrations's GetIntegrationTransactionReportData RPC.
	IntegrationsGetIntegrationTransactionReportDataProcedure = "/api.v1alpha1.integrations.Integrations/GetIntegrationTransactionReportData"
	// IntegrationsSearchPastTransactionsProcedure is the fully-qualified name of the Integrations's
	// SearchPastTransactions RPC.
	IntegrationsSearchPastTransactionsProcedure = "/api.v1alpha1.integrations.Integrations/SearchPastTransactions"
	// IntegrationsGetAggregatedMetadataProcedure is the fully-qualified name of the Integrations's
	// GetAggregatedMetadata RPC.
	IntegrationsGetAggregatedMetadataProcedure = "/api.v1alpha1.integrations.Integrations/GetAggregatedMetadata"
	// IntegrationsGetPortalLinksByDateRangeProcedure is the fully-qualified name of the Integrations's
	// GetPortalLinksByDateRange RPC.
	IntegrationsGetPortalLinksByDateRangeProcedure = "/api.v1alpha1.integrations.Integrations/GetPortalLinksByDateRange"
	// IntegrationsCreateIntegrationConfigProcedure is the fully-qualified name of the Integrations's
	// CreateIntegrationConfig RPC.
	IntegrationsCreateIntegrationConfigProcedure = "/api.v1alpha1.integrations.Integrations/CreateIntegrationConfig"
	// IntegrationsGetIntegrationConfigProcedure is the fully-qualified name of the Integrations's
	// GetIntegrationConfig RPC.
	IntegrationsGetIntegrationConfigProcedure = "/api.v1alpha1.integrations.Integrations/GetIntegrationConfig"
	// IntegrationsUpdateIntegrationConfigProcedure is the fully-qualified name of the Integrations's
	// UpdateIntegrationConfig RPC.
	IntegrationsUpdateIntegrationConfigProcedure = "/api.v1alpha1.integrations.Integrations/UpdateIntegrationConfig"
	// IntegrationsDeleteIntegrationConfigProcedure is the fully-qualified name of the Integrations's
	// DeleteIntegrationConfig RPC.
	IntegrationsDeleteIntegrationConfigProcedure = "/api.v1alpha1.integrations.Integrations/DeleteIntegrationConfig"
	// IntegrationsListIntegrationsProcedure is the fully-qualified name of the Integrations's
	// ListIntegrations RPC.
	IntegrationsListIntegrationsProcedure = "/api.v1alpha1.integrations.Integrations/ListIntegrations"
	// IntegrationsListIntegrationsForOrgProcedure is the fully-qualified name of the Integrations's
	// ListIntegrationsForOrg RPC.
	IntegrationsListIntegrationsForOrgProcedure = "/api.v1alpha1.integrations.Integrations/ListIntegrationsForOrg"
	// IntegrationsListIntegrationConfigNamesProcedure is the fully-qualified name of the Integrations's
	// ListIntegrationConfigNames RPC.
	IntegrationsListIntegrationConfigNamesProcedure = "/api.v1alpha1.integrations.Integrations/ListIntegrationConfigNames"
	// IntegrationsListJourneyConfigsProcedure is the fully-qualified name of the Integrations's
	// ListJourneyConfigs RPC.
	IntegrationsListJourneyConfigsProcedure = "/api.v1alpha1.integrations.Integrations/ListJourneyConfigs"
	// IntegrationsListNonJourneyConfigsProcedure is the fully-qualified name of the Integrations's
	// ListNonJourneyConfigs RPC.
	IntegrationsListNonJourneyConfigsProcedure = "/api.v1alpha1.integrations.Integrations/ListNonJourneyConfigs"
	// IntegrationsCreatePortalConfigProcedure is the fully-qualified name of the Integrations's
	// CreatePortalConfig RPC.
	IntegrationsCreatePortalConfigProcedure = "/api.v1alpha1.integrations.Integrations/CreatePortalConfig"
	// IntegrationsListPortalConfigsProcedure is the fully-qualified name of the Integrations's
	// ListPortalConfigs RPC.
	IntegrationsListPortalConfigsProcedure = "/api.v1alpha1.integrations.Integrations/ListPortalConfigs"
	// IntegrationsUpdatePortalConfigProcedure is the fully-qualified name of the Integrations's
	// UpdatePortalConfig RPC.
	IntegrationsUpdatePortalConfigProcedure = "/api.v1alpha1.integrations.Integrations/UpdatePortalConfig"
	// IntegrationsGetPortalConfigProcedure is the fully-qualified name of the Integrations's
	// GetPortalConfig RPC.
	IntegrationsGetPortalConfigProcedure = "/api.v1alpha1.integrations.Integrations/GetPortalConfig"
	// IntegrationsDeletePortalConfigProcedure is the fully-qualified name of the Integrations's
	// DeletePortalConfig RPC.
	IntegrationsDeletePortalConfigProcedure = "/api.v1alpha1.integrations.Integrations/DeletePortalConfig"
	// IntegrationsUpdatePortalLogoProcedure is the fully-qualified name of the Integrations's
	// UpdatePortalLogo RPC.
	IntegrationsUpdatePortalLogoProcedure = "/api.v1alpha1.integrations.Integrations/UpdatePortalLogo"
	// IntegrationsGetPortalLogoProcedure is the fully-qualified name of the Integrations's
	// GetPortalLogo RPC.
	IntegrationsGetPortalLogoProcedure = "/api.v1alpha1.integrations.Integrations/GetPortalLogo"
	// IntegrationsCreatePaymentPortalLinksProcedure is the fully-qualified name of the Integrations's
	// CreatePaymentPortalLinks RPC.
	IntegrationsCreatePaymentPortalLinksProcedure = "/api.v1alpha1.integrations.Integrations/CreatePaymentPortalLinks"
	// IntegrationsSummaryProcedure is the fully-qualified name of the Integrations's Summary RPC.
	IntegrationsSummaryProcedure = "/api.v1alpha1.integrations.Integrations/Summary"
	// IntegrationsListIntegrationTemplatesByConfigProcedure is the fully-qualified name of the
	// Integrations's ListIntegrationTemplatesByConfig RPC.
	IntegrationsListIntegrationTemplatesByConfigProcedure = "/api.v1alpha1.integrations.Integrations/ListIntegrationTemplatesByConfig"
	// IntegrationsCallEpicPatientProcedure is the fully-qualified name of the Integrations's
	// CallEpicPatient RPC.
	IntegrationsCallEpicPatientProcedure = "/api.v1alpha1.integrations.Integrations/CallEpicPatient"
	// IntegrationsHangUpEpicPatientCallProcedure is the fully-qualified name of the Integrations's
	// HangUpEpicPatientCall RPC.
	IntegrationsHangUpEpicPatientCallProcedure = "/api.v1alpha1.integrations.Integrations/HangUpEpicPatientCall"
	// IntegrationsGenerateEpicKeyPairsProcedure is the fully-qualified name of the Integrations's
	// GenerateEpicKeyPairs RPC.
	IntegrationsGenerateEpicKeyPairsProcedure = "/api.v1alpha1.integrations.Integrations/GenerateEpicKeyPairs"
	// IntegrationsPopulateIntegrationLinkProcedure is the fully-qualified name of the Integrations's
	// PopulateIntegrationLink RPC.
	IntegrationsPopulateIntegrationLinkProcedure = "/api.v1alpha1.integrations.Integrations/PopulateIntegrationLink"
)

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 (
	// IntegrationsName is the fully-qualified name of the Integrations service.
	IntegrationsName = "api.v1alpha1.integrations.Integrations"
)
View Source
const (
	// PortalManagerApiName is the fully-qualified name of the PortalManagerApi service.
	PortalManagerApiName = "api.v1alpha1.integrations.PortalManagerApi"
)

Variables

This section is empty.

Functions

func NewIntegrationsHandler

func NewIntegrationsHandler(svc IntegrationsHandler, opts ...connect_go.HandlerOption) (string, http.Handler)

NewIntegrationsHandler 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 NewPortalManagerApiHandler

func NewPortalManagerApiHandler(svc PortalManagerApiHandler, opts ...connect_go.HandlerOption) (string, http.Handler)

NewPortalManagerApiHandler 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 IntegrationsClient

type IntegrationsClient interface {
	// combine rquest parameters with the config parameters and run the integration method
	Process(context.Context, *connect_go.Request[integrations.ProcessReq]) (*connect_go.Response[integrations.ProcessRes], error)
	// get an integration transaction
	GetIntegrationTransaction(context.Context, *connect_go.Request[integrations.GetIntegrationTransactionReq]) (*connect_go.Response[integrations.IntegrationTransaction], error)
	GetIntegrationTransactionReport(context.Context, *connect_go.Request[integrations.GetIntegrationTransactionReportReq]) (*connect_go.Response[integrations.GetIntegrationTransactionReportRes], error)
	GetIntegrationTransactionReportData(context.Context, *connect_go.Request[integrations.GetIntegrationTransactionReportDataReq]) (*connect_go.Response[integrations.GetIntegrationTransactionReportDataRes], error)
	SearchPastTransactions(context.Context, *connect_go.Request[integrations.SearchPastTransactionsRequest]) (*connect_go.Response[integrations.SearchPastTransactionsResponse], error)
	// GetAggregatedMetadata returns the aggregated metrics about the portal links for a specified date range
	GetAggregatedMetadata(context.Context, *connect_go.Request[integrations.GetAggregatedMetadataReq]) (*connect_go.Response[integrations.GetAggregatedMetadataRes], error)
	// GetPortalLinksByDateRange returns portal link metrics and portal linnk data for specific range
	GetPortalLinksByDateRange(context.Context, *connect_go.Request[integrations.GetPortalLinksByDateRangeReq]) (*connect_go.Response[integrations.GetPortalLinksByDateRangeRes], error)
	// create a integration config
	CreateIntegrationConfig(context.Context, *connect_go.Request[integrations.IntegrationConfig]) (*connect_go.Response[integrations.Empty], error)
	// get an integration config
	GetIntegrationConfig(context.Context, *connect_go.Request[integrations.GetIntegrationConfigReq]) (*connect_go.Response[integrations.IntegrationConfig], error)
	// update an integration config
	UpdateIntegrationConfig(context.Context, *connect_go.Request[integrations.UpdateIntegrationConfigReq]) (*connect_go.Response[integrations.Empty], error)
	// delete an integration config
	DeleteIntegrationConfig(context.Context, *connect_go.Request[integrations.DeleteIntegrationConfigReq]) (*connect_go.Response[integrations.Empty], error)
	// list all supported integrations
	ListIntegrations(context.Context, *connect_go.Request[integrations.Empty]) (*connect_go.Response[integrations.IntegrationInfos], error)
	ListIntegrationsForOrg(context.Context, *connect_go.Request[integrations.ListIntegrationsForOrgReq]) (*connect_go.Response[integrations.IntegrationInfos], error)
	// lists all the names of the configs for an org's integration type
	ListIntegrationConfigNames(context.Context, *connect_go.Request[integrations.ListIntegrationConfigNamesReq]) (*connect_go.Response[integrations.ListIntegrationConfigNamesRes], error)
	ListJourneyConfigs(context.Context, *connect_go.Request[integrations.ListJourneyConfigsReq]) (*connect_go.Response[integrations.IntegrationConfigs], error)
	ListNonJourneyConfigs(context.Context, *connect_go.Request[integrations.ListNonJourneyConfigsReq]) (*connect_go.Response[integrations.IntegrationConfigs], error)
	// TODO all services looking for payment portal configs should be using the
	// PortalManagerApi service in this same packages
	// CLUDG for the payment portal configs
	CreatePortalConfig(context.Context, *connect_go.Request[integrations.PortalConfig]) (*connect_go.Response[integrations.Empty], error)
	// TODO better signature
	// rpc ListPortalConfigs(ListPortalConfigsReq) returns (ListPortalConfigsRes);
	ListPortalConfigs(context.Context, *connect_go.Request[integrations.ListPortalConfigsReq]) (*connect_go.Response[integrations.PortalConfigs], error)
	UpdatePortalConfig(context.Context, *connect_go.Request[integrations.PortalConfig]) (*connect_go.Response[integrations.Empty], error)
	// TODO better signature
	// rpc GetPortalConfig(GetPortalConfigReq) returns (GetPortalConfigRes);
	GetPortalConfig(context.Context, *connect_go.Request[integrations.GetPortalConfigReq]) (*connect_go.Response[integrations.PortalConfig], error)
	// TODO better signature
	// rpc DeletePortalConfig(DeletePortalConfigReq) returns (DeletePortalConfigRes);
	DeletePortalConfig(context.Context, *connect_go.Request[integrations.DeletePortalConfigReq]) (*connect_go.Response[integrations.Empty], error)
	UpdatePortalLogo(context.Context, *connect_go.Request[integrations.UpdatePortalLogoReq]) (*connect_go.Response[integrations.Empty], error)
	GetPortalLogo(context.Context, *connect_go.Request[integrations.GetPortalLogoReq]) (*connect_go.Response[integrations.Logo], error)
	// TODO deprecate. use CreatePortalLinks on the PortalManagerApi
	// pulls the payment_link_config
	// creates an integration config for each set of data, and generates a url for the specific user
	CreatePaymentPortalLinks(context.Context, *connect_go.Request[integrations.CreatePaymentPortalLinksReq]) (*connect_go.Response[integrations.CreatePaymentPortalLinksRes], error)
	// takes a year in YYYY format and returns the summary of transaction for that year
	Summary(context.Context, *connect_go.Request[integrations.SummaryReq]) (*connect_go.Response[integrations.SummaryRes], error)
	// Lists integration templates that use the passed in integration config
	ListIntegrationTemplatesByConfig(context.Context, *connect_go.Request[integrations.ListIntegrationTemplatesByConfigReq]) (*connect_go.Response[integrations.ListIntegrationTemplatesByConfigRes], error)
	// CallEpicPatient initiates a call to the specified number from the agent using the click to call button within epic
	CallEpicPatient(context.Context, *connect_go.Request[integrations.CallEpicPatientReq]) (*connect_go.Response[integrations.CallEpicPatientRes], error)
	// CallEpicPatient initiates a call to the specified number from the agent using the click to call button within epic
	HangUpEpicPatientCall(context.Context, *connect_go.Request[integrations.HangUpEpicPatientCallReq]) (*connect_go.Response[integrations.Empty], error)
	// GenerateEpicKeyPairs creates 2 key pairs, stores the private keys, and returns the public keys
	GenerateEpicKeyPairs(context.Context, *connect_go.Request[integrations.GenerateEpicKeyPairReq]) (*connect_go.Response[integrations.GenerateEpicKeyPairRes], error)
	PopulateIntegrationLink(context.Context, *connect_go.Request[integrations.PopulateIntegrationLinkReq]) (*connect_go.Response[integrations.PopulateIntegrationLinkRes], error)
}

IntegrationsClient is a client for the api.v1alpha1.integrations.Integrations service.

func NewIntegrationsClient

func NewIntegrationsClient(httpClient connect_go.HTTPClient, baseURL string, opts ...connect_go.ClientOption) IntegrationsClient

NewIntegrationsClient constructs a client for the api.v1alpha1.integrations.Integrations 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 IntegrationsHandler

type IntegrationsHandler interface {
	// combine rquest parameters with the config parameters and run the integration method
	Process(context.Context, *connect_go.Request[integrations.ProcessReq]) (*connect_go.Response[integrations.ProcessRes], error)
	// get an integration transaction
	GetIntegrationTransaction(context.Context, *connect_go.Request[integrations.GetIntegrationTransactionReq]) (*connect_go.Response[integrations.IntegrationTransaction], error)
	GetIntegrationTransactionReport(context.Context, *connect_go.Request[integrations.GetIntegrationTransactionReportReq]) (*connect_go.Response[integrations.GetIntegrationTransactionReportRes], error)
	GetIntegrationTransactionReportData(context.Context, *connect_go.Request[integrations.GetIntegrationTransactionReportDataReq]) (*connect_go.Response[integrations.GetIntegrationTransactionReportDataRes], error)
	SearchPastTransactions(context.Context, *connect_go.Request[integrations.SearchPastTransactionsRequest]) (*connect_go.Response[integrations.SearchPastTransactionsResponse], error)
	// GetAggregatedMetadata returns the aggregated metrics about the portal links for a specified date range
	GetAggregatedMetadata(context.Context, *connect_go.Request[integrations.GetAggregatedMetadataReq]) (*connect_go.Response[integrations.GetAggregatedMetadataRes], error)
	// GetPortalLinksByDateRange returns portal link metrics and portal linnk data for specific range
	GetPortalLinksByDateRange(context.Context, *connect_go.Request[integrations.GetPortalLinksByDateRangeReq]) (*connect_go.Response[integrations.GetPortalLinksByDateRangeRes], error)
	// create a integration config
	CreateIntegrationConfig(context.Context, *connect_go.Request[integrations.IntegrationConfig]) (*connect_go.Response[integrations.Empty], error)
	// get an integration config
	GetIntegrationConfig(context.Context, *connect_go.Request[integrations.GetIntegrationConfigReq]) (*connect_go.Response[integrations.IntegrationConfig], error)
	// update an integration config
	UpdateIntegrationConfig(context.Context, *connect_go.Request[integrations.UpdateIntegrationConfigReq]) (*connect_go.Response[integrations.Empty], error)
	// delete an integration config
	DeleteIntegrationConfig(context.Context, *connect_go.Request[integrations.DeleteIntegrationConfigReq]) (*connect_go.Response[integrations.Empty], error)
	// list all supported integrations
	ListIntegrations(context.Context, *connect_go.Request[integrations.Empty]) (*connect_go.Response[integrations.IntegrationInfos], error)
	ListIntegrationsForOrg(context.Context, *connect_go.Request[integrations.ListIntegrationsForOrgReq]) (*connect_go.Response[integrations.IntegrationInfos], error)
	// lists all the names of the configs for an org's integration type
	ListIntegrationConfigNames(context.Context, *connect_go.Request[integrations.ListIntegrationConfigNamesReq]) (*connect_go.Response[integrations.ListIntegrationConfigNamesRes], error)
	ListJourneyConfigs(context.Context, *connect_go.Request[integrations.ListJourneyConfigsReq]) (*connect_go.Response[integrations.IntegrationConfigs], error)
	ListNonJourneyConfigs(context.Context, *connect_go.Request[integrations.ListNonJourneyConfigsReq]) (*connect_go.Response[integrations.IntegrationConfigs], error)
	// TODO all services looking for payment portal configs should be using the
	// PortalManagerApi service in this same packages
	// CLUDG for the payment portal configs
	CreatePortalConfig(context.Context, *connect_go.Request[integrations.PortalConfig]) (*connect_go.Response[integrations.Empty], error)
	// TODO better signature
	// rpc ListPortalConfigs(ListPortalConfigsReq) returns (ListPortalConfigsRes);
	ListPortalConfigs(context.Context, *connect_go.Request[integrations.ListPortalConfigsReq]) (*connect_go.Response[integrations.PortalConfigs], error)
	UpdatePortalConfig(context.Context, *connect_go.Request[integrations.PortalConfig]) (*connect_go.Response[integrations.Empty], error)
	// TODO better signature
	// rpc GetPortalConfig(GetPortalConfigReq) returns (GetPortalConfigRes);
	GetPortalConfig(context.Context, *connect_go.Request[integrations.GetPortalConfigReq]) (*connect_go.Response[integrations.PortalConfig], error)
	// TODO better signature
	// rpc DeletePortalConfig(DeletePortalConfigReq) returns (DeletePortalConfigRes);
	DeletePortalConfig(context.Context, *connect_go.Request[integrations.DeletePortalConfigReq]) (*connect_go.Response[integrations.Empty], error)
	UpdatePortalLogo(context.Context, *connect_go.Request[integrations.UpdatePortalLogoReq]) (*connect_go.Response[integrations.Empty], error)
	GetPortalLogo(context.Context, *connect_go.Request[integrations.GetPortalLogoReq]) (*connect_go.Response[integrations.Logo], error)
	// TODO deprecate. use CreatePortalLinks on the PortalManagerApi
	// pulls the payment_link_config
	// creates an integration config for each set of data, and generates a url for the specific user
	CreatePaymentPortalLinks(context.Context, *connect_go.Request[integrations.CreatePaymentPortalLinksReq]) (*connect_go.Response[integrations.CreatePaymentPortalLinksRes], error)
	// takes a year in YYYY format and returns the summary of transaction for that year
	Summary(context.Context, *connect_go.Request[integrations.SummaryReq]) (*connect_go.Response[integrations.SummaryRes], error)
	// Lists integration templates that use the passed in integration config
	ListIntegrationTemplatesByConfig(context.Context, *connect_go.Request[integrations.ListIntegrationTemplatesByConfigReq]) (*connect_go.Response[integrations.ListIntegrationTemplatesByConfigRes], error)
	// CallEpicPatient initiates a call to the specified number from the agent using the click to call button within epic
	CallEpicPatient(context.Context, *connect_go.Request[integrations.CallEpicPatientReq]) (*connect_go.Response[integrations.CallEpicPatientRes], error)
	// CallEpicPatient initiates a call to the specified number from the agent using the click to call button within epic
	HangUpEpicPatientCall(context.Context, *connect_go.Request[integrations.HangUpEpicPatientCallReq]) (*connect_go.Response[integrations.Empty], error)
	// GenerateEpicKeyPairs creates 2 key pairs, stores the private keys, and returns the public keys
	GenerateEpicKeyPairs(context.Context, *connect_go.Request[integrations.GenerateEpicKeyPairReq]) (*connect_go.Response[integrations.GenerateEpicKeyPairRes], error)
	PopulateIntegrationLink(context.Context, *connect_go.Request[integrations.PopulateIntegrationLinkReq]) (*connect_go.Response[integrations.PopulateIntegrationLinkRes], error)
}

IntegrationsHandler is an implementation of the api.v1alpha1.integrations.Integrations service.

type PortalManagerApiClient

type PortalManagerApiClient interface {
	UpsertPortalConfig(context.Context, *connect_go.Request[integrations.UpsertPortalConfigReq]) (*connect_go.Response[integrations.UpsertPortalConfigRes], error)
	ListPortalConfigs(context.Context, *connect_go.Request[integrations.ListPortalConfigsReq]) (*connect_go.Response[integrations.ListPortalConfigsRes], error)
	GetPortalConfig(context.Context, *connect_go.Request[integrations.GetPortalConfigReq]) (*connect_go.Response[integrations.GetPortalConfigRes], error)
	DeletePortalConfig(context.Context, *connect_go.Request[integrations.DeletePortalConfigReq]) (*connect_go.Response[integrations.DeletePortalConfigRes], error)
	// portal links
	ListPortalLinks(context.Context, *connect_go.Request[integrations.ListPortalLinksReq]) (*connect_go.Response[integrations.ListPortalLinksRes], error)
	GetPortalLink(context.Context, *connect_go.Request[integrations.GetPortalLinkReq]) (*connect_go.Response[integrations.GetPortalLinkRes], error)
	DeletePortalLink(context.Context, *connect_go.Request[integrations.DeletePortalLinkReq]) (*connect_go.Response[integrations.DeletePortalLinkRes], error)
	CreatePortalLinks(context.Context, *connect_go.Request[integrations.CreatePortalLinksReq]) (*connect_go.Response[integrations.CreatePortalLinksRes], error)
	// portals
	UpsertPortal(context.Context, *connect_go.Request[integrations.UpsertPortalReq]) (*connect_go.Response[integrations.UpsertPortalRes], error)
	GetPortal(context.Context, *connect_go.Request[integrations.GetPortalReq]) (*connect_go.Response[integrations.GetPortalRes], error)
	DeletePortal(context.Context, *connect_go.Request[integrations.DeletePortalReq]) (*connect_go.Response[integrations.DeletePortalRes], error)
	ListPortals(context.Context, *connect_go.Request[integrations.ListPortalsReq]) (*connect_go.Response[integrations.ListPortalsRes], error)
	ListDetailedPortals(context.Context, *connect_go.Request[integrations.ListDetailedPortalsReq]) (*connect_go.Response[integrations.ListDetailedPortalsRes], error)
	GetDetailedPortal(context.Context, *connect_go.Request[integrations.GetDetailedPortalReq]) (*connect_go.Response[integrations.GetDetailedPortalRes], error)
	// PluginInstances
	UpsertPluginInstance(context.Context, *connect_go.Request[integrations.UpsertPluginInstanceReq]) (*connect_go.Response[integrations.UpsertPluginInstanceRes], error)
	GetPluginInstance(context.Context, *connect_go.Request[integrations.GetPluginInstanceReq]) (*connect_go.Response[integrations.GetPluginInstanceRes], error)
	DeletePluginInstance(context.Context, *connect_go.Request[integrations.DeletePluginInstanceReq]) (*connect_go.Response[integrations.DeletePluginInstanceRes], error)
	ListPluginInstance(context.Context, *connect_go.Request[integrations.ListPluginInstanceReq]) (*connect_go.Response[integrations.ListPluginInstanceRes], error)
	ListFlowFieldNames(context.Context, *connect_go.Request[integrations.ListFlowFieldNamesReq]) (*connect_go.Response[integrations.ListFlowFieldNamesRes], error)
	// returns the default form fields for verification flow
	ListAvailableVerificationFields(context.Context, *connect_go.Request[integrations.ListAvailableVerificationFieldsReq]) (*connect_go.Response[integrations.ListAvailableVerificationFieldsRes], error)
	// returns the default form fields for payment flow
	ListAvailablePaymentFields(context.Context, *connect_go.Request[integrations.ListAvailablePaymentFieldsReq]) (*connect_go.Response[integrations.ListAvailablePaymentFieldsRes], error)
	ListPortalTypes(context.Context, *connect_go.Request[integrations.ListPortalTypesReq]) (*connect_go.Response[integrations.ListPortalTypesResponse], error)
	ListPortalWorkflows(context.Context, *connect_go.Request[integrations.ListPortalWorkflowsReq]) (*connect_go.Response[integrations.ListPortalWorkflowsResponse], error)
	ListAllActionDefinitions(context.Context, *connect_go.Request[integrations.ListAllActionDefinitionsReq]) (*connect_go.Response[integrations.ListAllActionDefinitionsResponse], error)
}

PortalManagerApiClient is a client for the api.v1alpha1.integrations.PortalManagerApi service.

func NewPortalManagerApiClient

func NewPortalManagerApiClient(httpClient connect_go.HTTPClient, baseURL string, opts ...connect_go.ClientOption) PortalManagerApiClient

NewPortalManagerApiClient constructs a client for the api.v1alpha1.integrations.PortalManagerApi 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 PortalManagerApiHandler

type PortalManagerApiHandler interface {
	UpsertPortalConfig(context.Context, *connect_go.Request[integrations.UpsertPortalConfigReq]) (*connect_go.Response[integrations.UpsertPortalConfigRes], error)
	ListPortalConfigs(context.Context, *connect_go.Request[integrations.ListPortalConfigsReq]) (*connect_go.Response[integrations.ListPortalConfigsRes], error)
	GetPortalConfig(context.Context, *connect_go.Request[integrations.GetPortalConfigReq]) (*connect_go.Response[integrations.GetPortalConfigRes], error)
	DeletePortalConfig(context.Context, *connect_go.Request[integrations.DeletePortalConfigReq]) (*connect_go.Response[integrations.DeletePortalConfigRes], error)
	// portal links
	ListPortalLinks(context.Context, *connect_go.Request[integrations.ListPortalLinksReq]) (*connect_go.Response[integrations.ListPortalLinksRes], error)
	GetPortalLink(context.Context, *connect_go.Request[integrations.GetPortalLinkReq]) (*connect_go.Response[integrations.GetPortalLinkRes], error)
	DeletePortalLink(context.Context, *connect_go.Request[integrations.DeletePortalLinkReq]) (*connect_go.Response[integrations.DeletePortalLinkRes], error)
	CreatePortalLinks(context.Context, *connect_go.Request[integrations.CreatePortalLinksReq]) (*connect_go.Response[integrations.CreatePortalLinksRes], error)
	// portals
	UpsertPortal(context.Context, *connect_go.Request[integrations.UpsertPortalReq]) (*connect_go.Response[integrations.UpsertPortalRes], error)
	GetPortal(context.Context, *connect_go.Request[integrations.GetPortalReq]) (*connect_go.Response[integrations.GetPortalRes], error)
	DeletePortal(context.Context, *connect_go.Request[integrations.DeletePortalReq]) (*connect_go.Response[integrations.DeletePortalRes], error)
	ListPortals(context.Context, *connect_go.Request[integrations.ListPortalsReq]) (*connect_go.Response[integrations.ListPortalsRes], error)
	ListDetailedPortals(context.Context, *connect_go.Request[integrations.ListDetailedPortalsReq]) (*connect_go.Response[integrations.ListDetailedPortalsRes], error)
	GetDetailedPortal(context.Context, *connect_go.Request[integrations.GetDetailedPortalReq]) (*connect_go.Response[integrations.GetDetailedPortalRes], error)
	// PluginInstances
	UpsertPluginInstance(context.Context, *connect_go.Request[integrations.UpsertPluginInstanceReq]) (*connect_go.Response[integrations.UpsertPluginInstanceRes], error)
	GetPluginInstance(context.Context, *connect_go.Request[integrations.GetPluginInstanceReq]) (*connect_go.Response[integrations.GetPluginInstanceRes], error)
	DeletePluginInstance(context.Context, *connect_go.Request[integrations.DeletePluginInstanceReq]) (*connect_go.Response[integrations.DeletePluginInstanceRes], error)
	ListPluginInstance(context.Context, *connect_go.Request[integrations.ListPluginInstanceReq]) (*connect_go.Response[integrations.ListPluginInstanceRes], error)
	ListFlowFieldNames(context.Context, *connect_go.Request[integrations.ListFlowFieldNamesReq]) (*connect_go.Response[integrations.ListFlowFieldNamesRes], error)
	// returns the default form fields for verification flow
	ListAvailableVerificationFields(context.Context, *connect_go.Request[integrations.ListAvailableVerificationFieldsReq]) (*connect_go.Response[integrations.ListAvailableVerificationFieldsRes], error)
	// returns the default form fields for payment flow
	ListAvailablePaymentFields(context.Context, *connect_go.Request[integrations.ListAvailablePaymentFieldsReq]) (*connect_go.Response[integrations.ListAvailablePaymentFieldsRes], error)
	ListPortalTypes(context.Context, *connect_go.Request[integrations.ListPortalTypesReq]) (*connect_go.Response[integrations.ListPortalTypesResponse], error)
	ListPortalWorkflows(context.Context, *connect_go.Request[integrations.ListPortalWorkflowsReq]) (*connect_go.Response[integrations.ListPortalWorkflowsResponse], error)
	ListAllActionDefinitions(context.Context, *connect_go.Request[integrations.ListAllActionDefinitionsReq]) (*connect_go.Response[integrations.ListAllActionDefinitionsResponse], error)
}

PortalManagerApiHandler is an implementation of the api.v1alpha1.integrations.PortalManagerApi service.

type UnimplementedIntegrationsHandler

type UnimplementedIntegrationsHandler struct{}

UnimplementedIntegrationsHandler returns CodeUnimplemented from all methods.

func (UnimplementedIntegrationsHandler) HangUpEpicPatientCall added in v1.7.60

type UnimplementedPortalManagerApiHandler

type UnimplementedPortalManagerApiHandler struct{}

UnimplementedPortalManagerApiHandler returns CodeUnimplemented from all methods.

Jump to

Keyboard shortcuts

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