import { array , object , optional , Schema , string } from '../schema' ; /** A filter based on order `source` information. */ export interface SearchOrdersSourceFilter { /**
     * Filters by the [Source]($m/OrderSource) `name`. The filter returns any orders
     * with a `source.name` that matches any of the listed source names.
     * Max: 10 source names.
     */ sourceNames ? : string [ ] ; } export const searchOrdersSourceFilterSchema = object ( { sourceNames : [ 'source_names' , optional ( array ( string ( ) ) ) ] } ) ;