import type * as Square from "../index"; /** * Defines the fields that are included in the response body of a request * to the [ListLocations](api-endpoint:Locations-ListLocations) endpoint. * * Either `errors` or `locations` is present in a given response (never both). */ export interface ListLocationsResponse { /** Any errors that occurred during the request. */ errors?: Square.Error_[]; /** The business locations. */ locations?: Square.Location[]; }