services

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: MIT Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CallService

type CallService struct {
	pbx3cxv1connect.UnimplementedCallServiceHandler

	*config.Providers
	// contains filtered or unexported fields
}

func New

func New(p *config.Providers) *CallService

func (*CallService) CreateOverwrite

func (svc *CallService) CreateOverwrite(ctx context.Context, req *connect.Request[pbx3cxv1.CreateOverwriteRequest]) (*connect.Response[pbx3cxv1.CreateOverwriteResponse], error)

func (*CallService) DeleteOverwrite

func (svc *CallService) DeleteOverwrite(ctx context.Context, req *connect.Request[pbx3cxv1.DeleteOverwriteRequest]) (*connect.Response[pbx3cxv1.DeleteOverwriteResponse], error)

func (*CallService) GetLogsForCustomer

func (svc *CallService) GetLogsForCustomer(ctx context.Context, req *connect.Request[pbx3cxv1.GetLogsForCustomerRequest]) (*connect.Response[pbx3cxv1.GetLogsForCustomerResponse], error)

func (*CallService) GetLogsForDate

func (svc *CallService) GetLogsForDate(ctx context.Context, req *connect.Request[pbx3cxv1.GetLogsForDateRequest]) (*connect.Response[pbx3cxv1.GetLogsForDateResponse], error)

func (*CallService) GetOnCall

func (svc *CallService) GetOnCall(ctx context.Context, req *connect.Request[pbx3cxv1.GetOnCallRequest]) (*connect.Response[pbx3cxv1.GetOnCallResponse], error)

func (*CallService) GetOverwrite

func (svc *CallService) GetOverwrite(ctx context.Context, req *connect.Request[pbx3cxv1.GetOverwriteRequest]) (*connect.Response[pbx3cxv1.GetOverwriteResponse], error)

func (*CallService) RecordCall

func (svc *CallService) RecordCall(ctx context.Context, req *connect.Request[pbx3cxv1.RecordCallRequest]) (*connect.Response[emptypb.Empty], error)

func (*CallService) RecordCallHandler

func (svc *CallService) RecordCallHandler(w http.ResponseWriter, req *http.Request)

func (*CallService) SearchCallLogs

func (svc *CallService) SearchCallLogs(ctx context.Context, req *connect.Request[pbx3cxv1.SearchCallLogsRequest]) (*connect.Response[pbx3cxv1.SearchCallLogsResponse], error)

Jump to

Keyboard shortcuts

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