/** * PayPal Server SDKLib * * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ). */ import { lazy, object, optional, Schema } from '../schema.js'; import { VenmoWalletCustomerInformation, venmoWalletCustomerInformationSchema, } from './venmoWalletCustomerInformation.js'; import { VenmoWalletVaultAttributes, venmoWalletVaultAttributesSchema, } from './venmoWalletVaultAttributes.js'; /** Additional attributes associated with the use of this Venmo Wallet. */ export interface VenmoWalletAdditionalAttributes { /** The details about a customer in PayPal's system of record. */ customer?: VenmoWalletCustomerInformation; /** Resource consolidating common request and response attirbutes for vaulting Venmo Wallet. */ vault?: VenmoWalletVaultAttributes; } export const venmoWalletAdditionalAttributesSchema: Schema = lazy( () => object({ customer: ['customer', optional(venmoWalletCustomerInformationSchema)], vault: ['vault', optional(venmoWalletVaultAttributesSchema)], }) );