/*
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
*/
import * as z from "zod/v4-mini";
import { ClosedEnum } from "../../types/enums.js";
/**
* The type of the service group.
*
* @remarks
* `LIVE_RATE` - Shippo will make a rating request and return real-time rates for the shipping group, only falling back to the specified flat rate amount if no rates match a service level in the service group.
* `FLAT_RATE` - Returns a shipping option with the specified flat rate amount.
* `FREE_SHIPPING` - Returns a shipping option with a price of $0 only if the total cost of items exceeds the amount defined by `free_shipping_threshold_min`
*/
export const ServiceGroupTypeEnum = {
LiveRate: "LIVE_RATE",
FlatRate: "FLAT_RATE",
FreeShipping: "FREE_SHIPPING",
} as const;
/**
* The type of the service group.
*
* @remarks
* `LIVE_RATE` - Shippo will make a rating request and return real-time rates for the shipping group, only falling back to the specified flat rate amount if no rates match a service level in the service group.
* `FLAT_RATE` - Returns a shipping option with the specified flat rate amount.
* `FREE_SHIPPING` - Returns a shipping option with a price of $0 only if the total cost of items exceeds the amount defined by `free_shipping_threshold_min`
*/
export type ServiceGroupTypeEnum = ClosedEnum;
/** @internal */
export const ServiceGroupTypeEnum$inboundSchema: z.ZodMiniEnum<
typeof ServiceGroupTypeEnum
> = z.enum(ServiceGroupTypeEnum);
/** @internal */
export const ServiceGroupTypeEnum$outboundSchema: z.ZodMiniEnum<
typeof ServiceGroupTypeEnum
> = ServiceGroupTypeEnum$inboundSchema;