import { lazy , number , object , optional , Schema , string } from '../schema' ; import { TerminalCheckoutQuery , terminalCheckoutQuerySchema , } from './terminalCheckoutQuery' ; export interface SearchTerminalCheckoutsRequest { query ? : TerminalCheckoutQuery ; /**
     * 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/basics/api101/pagination) for more information.
     */ cursor ? : string ; /** Limits the number of results returned for a single request. */ limit ? : number ; } export const searchTerminalCheckoutsRequestSchema = object ( { query : [ 'query' , optional ( lazy ( ( ) => terminalCheckoutQuerySchema ) ) ] , cursor : [ 'cursor' , optional ( string ( ) ) ] , limit : [ 'limit' , optional ( number ( ) ) ] , } ) ;