package confirmationimp

import (
	"github.com/tech/sendico/pkg/model"
)

type confirmationRequest struct {
	Target      string `json:"target"`
	Destination string `json:"destination,omitempty"`
}

type confirmationVerifyRequest struct {
	Target            string                  `json:"target"`
	Code              string                  `json:"code"`
	Destination       string                  `json:"destination,omitempty"`
	SessionIdentifier model.SessionIdentifier `json:"sessionIdentifier"`
}

type confirmationResponse struct {
	TTLSeconds      int    `json:"ttl_seconds"`
	CooldownSeconds int    `json:"cooldown_seconds"`
	Destination     string `json:"destination"`
}
