package proxy

import (
	"net/http"

	"github.com/AlchemyTelcoSolutions/xutils-go/xlogger"

	"github.com/AlchemyTelcoSolutions/callisto-so-bff/cmd/app/clients"
	"github.com/AlchemyTelcoSolutions/callisto-so-bff/cmd/app/config"
	"github.com/AlchemyTelcoSolutions/callisto-so-bff/internal/domain/model"
)

// SaleOrderInterface is the interface for dale Order Service

// LegacyOrderIDCtxValue is the context value for legacy order id
type LegacyOrderIDCtxValue struct{}

type ProxyService interface {
	ForwardProxy(*http.Request, string) *model.ProxyResponse
	SendRequestToClient(*http.Request, string, map[string]string) (*model.ProxyResponse, error)
}

// Service is a struct for the service of Sale Order
type Service struct {
	logger     xlogger.Logger
	configs    config.AppConfig
	httpClient clients.HTTPProxyClientInterface
}
