service

package
v0.0.0-...-c119f7d Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2025 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const CALCOM = "calcom"
View Source
const SERVICE_AHA = "aha"
View Source
const SERVICE_AIRTABLE = "airtable"
View Source
const SERVICE_AMPLITUDE = "amplitude"
View Source
const SERVICE_ASANA = "asana"
View Source
const SERVICE_BABELFORCE = "babelforce"
View Source
const SERVICE_BATON = "baton"
View Source
const SERVICE_BIGQUERY = "bigquery"
View Source
const SERVICE_BRAINTREE = "braintree"
View Source
const SERVICE_CALLRAIL = "callrail"
View Source
const SERVICE_CHARGEBEE = "chargebee"
View Source
const SERVICE_CHARGIFY = "chargify"
View Source
const SERVICE_CLICKUP = "clickup"
View Source
const SERVICE_CLOSECOM = "close-oauth"
View Source
const SERVICE_CODA = "coda"
View Source
const SERVICE_CONFLUENCE = "confluence"
View Source
const SERVICE_COURIER = "courier"
View Source
const SERVICE_CUSTOMERIO = "customerio"
View Source
const SERVICE_DATADOG = "datadog"
View Source
const SERVICE_DELIGHTED = "delighted"
View Source
const SERVICE_DIXA = "dixa"
View Source
const SERVICE_DRIFT = "drift"
View Source
const SERVICE_EMAILOCTOPUS = "emailoctopus"
View Source
const SERVICE_FACEBOOK_MARKETING = "facebookMarketing"
View Source
const SERVICE_FASTBILL = "fastbill"
View Source
const SERVICE_FLEXPORT = "flexport"
View Source
const SERVICE_FRESHCALLER = "freshcaller"
View Source
const SERVICE_FRESHDESK = "freshdesk"
View Source
const SERVICE_FRESHSALES = "freshsales"
View Source
const SERVICE_FRESHSERVICE = "freshservice"
View Source
const SERVICE_GENESYS = "genesys"
View Source
const SERVICE_GITHUB = "github"
View Source
const SERVICE_GITLAB = "gitlab"
View Source
const SERVICE_GOCARDLESS = "gocardless"
View Source
const SERVICE_GONG = "gong"
View Source
const SERVICE_GSUITE = "gsuite"
View Source
const SERVICE_HARVEST = "harvest"
View Source
const SERVICE_INSIGHTLY = "insightly"
View Source
const SERVICE_INSTAGRAM = "instagram"
View Source
const SERVICE_INSTATUS = "instatus"
View Source
const SERVICE_INTERCOM = "intercom"
View Source
const SERVICE_JIRA = "jira"
View Source
const SERVICE_KLAVIYO = "klaviyo"
View Source
const SERVICE_KUSTOMER = "kustomer"
View Source
const SERVICE_LINKEDIN = "linkedin"
View Source
const SERVICE_LOOKER = "looker"
View Source
const SERVICE_MAILCHIMP = "mailchimp"
View Source
const SERVICE_MAILJETEMAIL = "mailjetemail"
View Source
const SERVICE_MARKETO = "marketo"
View Source
const SERVICE_MICROSOFT_TEAMS = "microsoftteams"
View Source
const SERVICE_MIXPANEL = "mixpanel"
View Source
const SERVICE_MONDAY = "monday"
View Source
const SERVICE_NOTION = "notion"
View Source
const SERVICE_ORACLE_NETSUITE = "oraclenetsuite"
View Source
const SERVICE_ORB = "orb"
View Source
const SERVICE_ORBIT = "orbit"
View Source
const SERVICE_PAGERDUTY = "pagerduty"
View Source
const SERVICE_PAYPAL_TRANSACTION = "paypaltransaction"
View Source
const SERVICE_PAYSTACK = "paystack"
View Source
const SERVICE_PENDO = "pendo"
View Source
const SERVICE_PIPEDRIVE = "pipedrive"
View Source
const SERVICE_PLAID = "plaid"
View Source
const SERVICE_PLAUSIBLE = "plausible"
View Source
const SERVICE_POSTHOG = "posthog"
View Source
const SERVICE_QUALAROO = "qualaroo"
View Source
const SERVICE_QUICKBOOKS = "quickbooks"
View Source
const SERVICE_RECHARGE = "recharge"
View Source
const SERVICE_RECRUITEE = "recruitee"
View Source
const SERVICE_RECURLY = "recurly"
View Source
const SERVICE_RETENTLY = "retently"
View Source
const SERVICE_SALESLOFT = "salesloft"
View Source
const SERVICE_SENDGRID = "sendgrid"
View Source
const SERVICE_SENTRY = "sentry"
View Source
const SERVICE_SLACK = "slack"
View Source
const SERVICE_SMARTSHEET = "smartsheet"
View Source
const SERVICE_STRIPE = "stripe"
View Source
const SERVICE_SURVEYMONKEY = "surveymonkey"
View Source
const SERVICE_SURVEYSPARROW = "surveysparrow"
View Source
const SERVICE_TALKDESK = "talkdesk"
View Source
const SERVICE_TIKTOK = "tiktok"
View Source
const SERVICE_TODOIST = "todoist"
View Source
const SERVICE_TRELLO = "trello"
View Source
const SERVICE_TYPEFORM = "typeform"
View Source
const SERVICE_VITTALLY = "vittally"
View Source
const SERVICE_WRIKE = "wrike"
View Source
const SERVICE_XERO = "xero"
View Source
const SERVICE_ZENDESK_CHAT = "zendeskchat"
View Source
const SERVICE_ZENDESK_SELL = "zendesksell"
View Source
const SERVICE_ZENDESK_SUNSHINE = "zendesksunshine"
View Source
const SERVICE_ZENDESK_SUPPORT = "zendesksupport"
View Source
const SERVICE_ZENDESK_TALK = "zendesktalk"
View Source
const SERVICE_ZENEFITS = "zenefits"

Variables

This section is empty.

Functions

This section is empty.

Types

type OAuthUserSettingsService

type OAuthUserSettingsService interface {
	GetTenantOAuthUserSettings(ctx context.Context, tenant string) ([]*model.OAuthUserSettingsResponse, error)
}

func NewUserSettingsService

func NewUserSettingsService(services *Services, log logger.Logger) OAuthUserSettingsService

type PersonalIntegrationsService

type PersonalIntegrationsService interface {
	GetPersonalIntegration(tenantName, email, integration string) (*postgresEntity.PersonalIntegration, error)
	SavePersonalIntegration(postgresEntity.PersonalIntegration) (*postgresEntity.PersonalIntegration, error)
	GetPersonalIntegrations(tenantName, email string) ([]*postgresEntity.PersonalIntegration, error)
}

func NewPersonalIntegrationsService

func NewPersonalIntegrationsService(services *Services, log logger.Logger) PersonalIntegrationsService

type Services

type Services struct {
	CommonServices *commonService.Services

	TenantSettingsService       TenantSettingsService
	PersonalIntegrationsService PersonalIntegrationsService
	OAuthUserSettingsService    OAuthUserSettingsService
	SlackSettingsService        SlackSettingsService
}

func InitServices

func InitServices(cfg *config.Config, driver *neo4j.DriverWithContext, postgresDB *commonConfig.PostgresDB, logger logger.Logger) *Services

type SlackSettingsService

type SlackSettingsService interface {
	GetSlackSettings(ctx context.Context, tenant string) (*model.SlackSettingsResponse, error)
}

func NewSlackSettingsService

func NewSlackSettingsService(services *Services, log logger.Logger) SlackSettingsService

type TenantSettingsService

type TenantSettingsService interface {
	GetForTenant(tenantName string) (*postgresentity.TenantSettings, map[string]bool, error)
	SaveIntegrationData(tenantName string, request map[string]interface{}) (*postgresentity.TenantSettings, map[string]bool, error)
	ClearIntegrationData(tenantName, identifier string) (*postgresentity.TenantSettings, map[string]bool, error)
}

func NewTenantSettingsService

func NewTenantSettingsService(services *Services, log logger.Logger, cfg *config.Config) TenantSettingsService

Jump to

Keyboard shortcuts

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