/**
 * PayPal Server SDKLib
 *
 * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
 */
import { lazy, object, optional, string } from '../schema';
import { addressSchema } from './address';
import { nameSchema } from './name';
import { phoneNumberSchema } from './phoneNumber';
import { venmoWalletAttributesResponseSchema, } from './venmoWalletAttributesResponse';
export const venmoWalletResponseSchema = object({
    emailAddress: ['email_address', optional(string())],
    accountId: ['account_id', optional(string())],
    userName: ['user_name', optional(string())],
    name: ['name', optional(lazy(() => nameSchema))],
    phoneNumber: ['phone_number', optional(lazy(() => phoneNumberSchema))],
    address: ['address', optional(lazy(() => addressSchema))],
    attributes: [
        'attributes',
        optional(lazy(() => venmoWalletAttributesResponseSchema)),
    ],
});
//# sourceMappingURL=venmoWalletResponse.js.map