/**
 * PayPal Server SDKLib
 *
 * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
 */
import { array, lazy, object, optional, string } from '../schema';
import { addressSchema } from './address';
import { fulfillmentTypeSchema } from './fulfillmentType';
import { orderTrackerResponseSchema, } from './orderTrackerResponse';
import { phoneNumberWithCountryCodeSchema, } from './phoneNumberWithCountryCode';
import { shippingNameSchema } from './shippingName';
import { shippingOptionSchema } from './shippingOption';
export const shippingWithTrackingDetailsSchema = object({
    name: ['name', optional(lazy(() => shippingNameSchema))],
    emailAddress: ['email_address', optional(string())],
    phoneNumber: [
        'phone_number',
        optional(lazy(() => phoneNumberWithCountryCodeSchema)),
    ],
    type: ['type', optional(fulfillmentTypeSchema)],
    options: ['options', optional(array(lazy(() => shippingOptionSchema)))],
    address: ['address', optional(lazy(() => addressSchema))],
    trackers: [
        'trackers',
        optional(array(lazy(() => orderTrackerResponseSchema))),
    ],
});
//# sourceMappingURL=shippingWithTrackingDetails.js.map