import type * as Square from "../index"; /** * Defines the fields that are included in the response body for requests to the `RetrieveCustomerSegment` endpoint. * * Either `errors` or `segment` is present in a given response (never both). */ export interface GetCustomerSegmentResponse { /** Any errors that occurred during the request. */ errors?: Square.Error_[]; /** The retrieved customer segment. */ segment?: Square.CustomerSegment; }