import { array , object , optional , Schema , string } from '../schema' ; /** Filter based on [order fulfillment]($m/OrderFulfillment) information. */ export interface SearchOrdersFulfillmentFilter { /**
     * A list of [fulfillment types]($m/OrderFulfillmentType) to filter
     * for. The list returns orders if any of its fulfillments match any of the fulfillment types
     * listed in this field.
     * See [OrderFulfillmentType](#type-orderfulfillmenttype) for possible values
     */ fulfillmentTypes ? : string [ ] ; /**
     * A list of [fulfillment states]($m/OrderFulfillmentState) to filter
     * for. The list returns orders if any of its fulfillments match any of the
     * fulfillment states listed in this field.
     * See [OrderFulfillmentState](#type-orderfulfillmentstate) for possible values
     */ fulfillmentStates ? : string [ ] ; } export const searchOrdersFulfillmentFilterSchema = object ( { fulfillmentTypes : [ 'fulfillment_types' , optional ( array ( string ( ) ) ) ] , fulfillmentStates : [ 'fulfillment_states' , optional ( array ( string ( ) ) ) ] , } ) ;