routes

package
v0.0.0-...-4518f94 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddCalComRoutes

func AddCalComRoutes(rg *gin.RouterGroup, cosService s.CustomerOSService, secretsRepo postgresRepository.PersonalIntegrationRepository)

func AddQueryRoutes

func AddQueryRoutes(rg *gin.RouterGroup, cosService s.CustomerOSService, redisService s.RedisService)

func Run

func Run(config *c.Config, hub *ContactHub.ContactHub, services *service.Services, container *postgresRepository.Repositories)

Run will start the server

Types

type Message

type Message struct {
	Message string `json:"message"`
}

type OpenlineCallProgressData

type OpenlineCallProgressData struct {
	Version      string     `json:"version,default=1.0"`
	StartTime    *time.Time `json:"start_time,omitempty"`
	AnsweredTime *time.Time `json:"answered_time,omitempty"`
	EndTime      *time.Time `json:"end_time,omitempty"`
	Duration     *int64     `json:"duration,omitempty"`
	SentByType   *string    `json:"sent_by_type,omitempty"`
	SentToType   *string    `json:"sent_to_type,omitempty"`
	ForwardedTo  *string    `json:"forwarded_to,omitempty"`
}

type VConEvent

type VConEvent struct {
	Parties  []model.VConParty   `json:"parties,omitempty"`
	Dialog   *model.VConDialog   `json:"dialog,omitempty"`
	Analysis *model.VConAnalysis `json:"analysis,omitempty"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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