service

package
v0.0.0-...-c85e528 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2025 License: Apache-2.0 Imports: 68 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckIsInitialized

func CheckIsInitialized(common *CommonServices)

CheckIsInitialized iterates over all fields of a struct and calls IsInitialized if the field implements it.

func ICPAgent

func ICPAgent(ctx context.Context, event *dto.FlowAgentEvent) error

Types

type CommonServices

type CommonServices struct {
	// Core infrastructure
	Cache                *caches.Cache
	Events               *events.EventsService
	Neo4jRepositories    *neo4jRepo.Repositories
	PostgresRepositories *repository.Repositories

	// Services
	ActionService              interfaces.ActionService
	AIService                  interfaces.AIService
	AttachmentService          interfaces.AttachmentService
	AzureService               interfaces.AzureService
	CloudflareService          interfaces.CloudflareService
	CommentService             interfaces.CommentService
	ContactService             interfaces.ContactService
	ContractService            interfaces.ContractService
	CurrencyService            interfaces.CurrencyService
	CustomFieldTemplateService interfaces.CustomFieldTemplateService
	DomainService              interfaces.DomainService
	EmailingService            interfaces.EmailingService
	EmailService               interfaces.EmailService
	EnrichmentService          interfaces.EnrichmentService
	ExternalSystemService      interfaces.ExternalSystemService
	FileService                interfaces.FileService
	FlowExecutionService       interfaces.FlowExecutionService
	FlowService                interfaces.FlowService
	GoogleService              interfaces.GoogleService
	IndustryService            interfaces.IndustryService
	InteractionEventService    interfaces.InteractionEventService
	InteractionSessionService  interfaces.InteractionSessionService
	InvoiceService             interfaces.InvoiceService
	IssueService               interfaces.IssueService
	JobRoleService             interfaces.JobRoleService
	LocationService            interfaces.LocationService
	LogEntryService            interfaces.LogEntryService
	MailboxService             interfaces.MailboxService
	MailService                interfaces.MailService
	MailstackService           interfaces.MailstackService
	MarkdownEventService       interfaces.MarkdownEventService
	NamecheapService           interfaces.NamecheapService
	NotificationService        interfaces.NotificationService
	NovuService                interfaces.NovuService
	OpenSRSService             interfaces.OpenSrsService
	OpportunityService         interfaces.OpportunityService
	OrganizationService        interfaces.OrganizationService
	PhoneNumberService         interfaces.PhoneNumberService
	PostmarkService            interfaces.PostmarkService
	RegistrationService        interfaces.RegistrationService
	ReminderService            interfaces.ReminderService
	ServiceLineItemService     interfaces.ServiceLineItemService
	SlackService               interfaces.SlackService
	SocialService              interfaces.SocialService
	TagService                 interfaces.TagService
	TenantService              interfaces.TenantService
	TenantSettingsService      interfaces.TenantSettingsService
	UserService                interfaces.UserService
	VerifyService              interfaces.VerifyService
	WorkflowService            interfaces.WorkflowService
	WorkspaceService           interfaces.WorkspaceService
}

func InitCommonServices

func InitCommonServices(
	log logger.Logger,
	neo4jRepositories *neo4jRepo.Repositories,
	postgresRepositories *repository.Repositories,
	cfg *config.CommonConfig,
	grpcClients *grpc_client.Clients,
) *CommonServices

Jump to

Keyboard shortcuts

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