import { boolean , object , optional , Schema } from '../schema' ; export interface PaymentOptions { /**
     * Indicates whether the `Payment` objects created from this `TerminalCheckout` are automatically
     * `COMPLETED` or left in an `APPROVED` state for later modification.
     */ autocomplete ? : boolean ; } export const paymentOptionsSchema = object ( { autocomplete : [ 'autocomplete' , optional ( boolean ( ) ) ] , } ) ;