"use strict";
/**
 * PayPal Server SDKLib
 *
 * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
 */
exports.__esModule = true;
exports.paypalWalletResponseSchema = void 0;
var schema_1 = require("../schema");
var address_1 = require("./address");
var name_1 = require("./name");
var paypalWalletAccountVerificationStatus_1 = require("./paypalWalletAccountVerificationStatus");
var paypalWalletAttributesResponse_1 = require("./paypalWalletAttributesResponse");
var paypalWalletStoredCredential_1 = require("./paypalWalletStoredCredential");
var phoneNumber_1 = require("./phoneNumber");
var phoneType_1 = require("./phoneType");
var taxInfo_1 = require("./taxInfo");
exports.paypalWalletResponseSchema = (0, schema_1.object)({
    emailAddress: ['email_address', (0, schema_1.optional)((0, schema_1.string)())],
    accountId: ['account_id', (0, schema_1.optional)((0, schema_1.string)())],
    accountStatus: [
        'account_status',
        (0, schema_1.optional)(paypalWalletAccountVerificationStatus_1.paypalWalletAccountVerificationStatusSchema),
    ],
    name: ['name', (0, schema_1.optional)((0, schema_1.lazy)(function () { return name_1.nameSchema; }))],
    phoneType: ['phone_type', (0, schema_1.optional)(phoneType_1.phoneTypeSchema)],
    phoneNumber: ['phone_number', (0, schema_1.optional)((0, schema_1.lazy)(function () { return phoneNumber_1.phoneNumberSchema; }))],
    birthDate: ['birth_date', (0, schema_1.optional)((0, schema_1.string)())],
    businessName: ['business_name', (0, schema_1.optional)((0, schema_1.string)())],
    taxInfo: ['tax_info', (0, schema_1.optional)((0, schema_1.lazy)(function () { return taxInfo_1.taxInfoSchema; }))],
    address: ['address', (0, schema_1.optional)((0, schema_1.lazy)(function () { return address_1.addressSchema; }))],
    attributes: [
        'attributes',
        (0, schema_1.optional)((0, schema_1.lazy)(function () { return paypalWalletAttributesResponse_1.paypalWalletAttributesResponseSchema; })),
    ],
    storedCredential: [
        'stored_credential',
        (0, schema_1.optional)((0, schema_1.lazy)(function () { return paypalWalletStoredCredential_1.paypalWalletStoredCredentialSchema; })),
    ]
});
//# sourceMappingURL=paypalWalletResponse.js.map