"use strict";
/**
 * PayPal Server SDKLib
 *
 * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
 */
exports.__esModule = true;
exports.applePayRequestSchema = void 0;
var schema_1 = require("../schema");
var applePayAttributes_1 = require("./applePayAttributes");
var applePayDecryptedTokenData_1 = require("./applePayDecryptedTokenData");
var applePayExperienceContext_1 = require("./applePayExperienceContext");
var cardStoredCredential_1 = require("./cardStoredCredential");
var phoneNumber_1 = require("./phoneNumber");
exports.applePayRequestSchema = (0, schema_1.object)({
    id: ['id', (0, schema_1.optional)((0, schema_1.string)())],
    name: ['name', (0, schema_1.optional)((0, schema_1.string)())],
    emailAddress: ['email_address', (0, schema_1.optional)((0, schema_1.string)())],
    phoneNumber: ['phone_number', (0, schema_1.optional)((0, schema_1.lazy)(function () { return phoneNumber_1.phoneNumberSchema; }))],
    decryptedToken: [
        'decrypted_token',
        (0, schema_1.optional)((0, schema_1.lazy)(function () { return applePayDecryptedTokenData_1.applePayDecryptedTokenDataSchema; })),
    ],
    storedCredential: [
        'stored_credential',
        (0, schema_1.optional)((0, schema_1.lazy)(function () { return cardStoredCredential_1.cardStoredCredentialSchema; })),
    ],
    vaultId: ['vault_id', (0, schema_1.optional)((0, schema_1.string)())],
    attributes: ['attributes', (0, schema_1.optional)((0, schema_1.lazy)(function () { return applePayAttributes_1.applePayAttributesSchema; }))],
    experienceContext: [
        'experience_context',
        (0, schema_1.optional)((0, schema_1.lazy)(function () { return applePayExperienceContext_1.applePayExperienceContextSchema; })),
    ]
});
//# sourceMappingURL=applePayRequest.js.map