/**
 * PayPal Server SDKLib
 *
 * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
 */
import { boolean, object, optional, string } from '../schema';
import { paypalPaymentTokenCustomerTypeSchema, } from './paypalPaymentTokenCustomerType';
import { paypalPaymentTokenUsageTypeSchema, } from './paypalPaymentTokenUsageType';
import { storeInVaultInstructionSchema, } from './storeInVaultInstruction';
import { usagePatternSchema } from './usagePattern';
export const paypalWalletVaultInstructionSchema = object({
    storeInVault: ['store_in_vault', optional(storeInVaultInstructionSchema)],
    description: ['description', optional(string())],
    usagePattern: ['usage_pattern', optional(usagePatternSchema)],
    usageType: ['usage_type', paypalPaymentTokenUsageTypeSchema],
    customerType: [
        'customer_type',
        optional(paypalPaymentTokenCustomerTypeSchema),
    ],
    permitMultiplePaymentTokens: [
        'permit_multiple_payment_tokens',
        optional(boolean()),
    ],
});
//# sourceMappingURL=paypalWalletVaultInstruction.js.map