import type * as Square from "../../../../index"; /** * @example * { * cursor: "cursor", * sortOrder: "DESC", * limit: 1, * locationId: "location_id" * } */ export interface ListDevicesRequest { /** * A pagination cursor returned by a previous call to this endpoint. * Provide this cursor to retrieve the next set of results for the original query. * See [Pagination](https://developer.squareup.com/docs/build-basics/common-api-patterns/pagination) for more information. */ cursor?: string | null; /** * The order in which results are listed. * - `ASC` - Oldest to newest. * - `DESC` - Newest to oldest (default). */ sortOrder?: Square.SortOrder | null; /** The number of results to return in a single page. */ limit?: number | null; /** If present, only returns devices at the target location. */ locationId?: string | null; }