import type * as Square from "../index"; /** * Defines the fields that are included in the response body of * a request to the `CreateOrder` endpoint. * * Either `errors` or `order` is present in a given response, but never both. */ export interface CreateOrderResponse { /** The newly created order. */ order?: Square.Order; /** Any errors that occurred during the request. */ errors?: Square.Error_[]; }