"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.phonePayloadUpdated = exports.onlinePresencePayloadUpdated = exports.emailPayloadPersonal = exports.emailPayloadUpdated = exports.addressPayloadWithUpdatedStreet = exports.addressPayloadUpdated = exports.constituentPayloadWithLookupId = exports.constituentPayloadNoEmail = exports.constituentPayload = exports.identifyEventDataWithInvalidWebsite = exports.identifyEventDataWithLookupId = exports.identifyEventDataUpdated = exports.identifyEventDataNoLastName = exports.identifyEventDataNoEmail = exports.identifyEventData = void 0;
exports.identifyEventData = {
    type: 'identify',
    traits: {
        address: {
            city: 'New York City',
            postalCode: '10108',
            state: 'NY',
            street: 'PO Box 963'
        },
        addressType: 'Home',
        email: 'john@example.biz',
        emailType: 'Personal',
        firstName: 'John',
        lastName: 'Doe',
        phone: '+18774466722',
        phoneType: 'Home',
        website: 'https://www.facebook.com/john.doe',
        websiteType: 'Facebook'
    }
};
exports.identifyEventDataNoEmail = {
    type: 'identify',
    traits: {
        firstName: 'John',
        lastName: 'Doe',
        phone: '+18774466722',
        phoneType: 'Home'
    }
};
exports.identifyEventDataNoLastName = {
    type: 'identify',
    traits: {
        email: 'john@example.org'
    }
};
exports.identifyEventDataUpdated = {
    ...exports.identifyEventData,
    traits: {
        ...exports.identifyEventData.traits,
        address: {
            city: 'New York',
            postalCode: '10005',
            state: 'NY',
            street: '11 Wall St'
        },
        addressType: 'Work',
        emailType: 'Work',
        phone: '+18774466723',
        phoneType: 'Work',
        website: 'https://www.example.biz',
        websiteType: 'Website'
    }
};
exports.identifyEventDataWithLookupId = {
    ...exports.identifyEventDataUpdated,
    traits: {
        ...exports.identifyEventDataUpdated.traits,
        address: {
            ...(typeof exports.identifyEventDataUpdated.traits?.address === 'object' ? exports.identifyEventDataUpdated.traits.address : {}),
            street: '11 Wall Street'
        },
        birthday: '2001-01-01T01:01:01-05:00',
        email: 'john.doe@aol.com',
        emailType: 'Personal',
        lookupId: 'abcd1234'
    }
};
exports.identifyEventDataWithInvalidWebsite = {
    ...exports.identifyEventDataUpdated,
    traits: {
        ...exports.identifyEventDataUpdated.traits,
        websiteType: 'Invalid'
    }
};
exports.constituentPayload = {
    address: {
        address_lines: 'PO Box 963',
        city: 'New York City',
        state: 'NY',
        postalCode: '10108',
        type: 'Home'
    },
    email: {
        address: 'john@example.biz',
        type: 'Personal'
    },
    first: 'John',
    last: 'Doe',
    online_presence: {
        address: 'https://www.facebook.com/john.doe',
        type: 'Facebook'
    },
    phone: {
        number: '+18774466722',
        type: 'Home'
    },
    type: 'Individual'
};
exports.constituentPayloadNoEmail = {
    first: 'John',
    last: 'Doe',
    phone: {
        number: '+18774466722',
        type: 'Home'
    },
    type: 'Individual'
};
exports.constituentPayloadWithLookupId = {
    birthdate: {
        d: '1',
        m: '1',
        y: '2001'
    },
    first: 'John',
    last: 'Doe',
    lookup_id: 'abcd1234'
};
exports.addressPayloadUpdated = {
    address_lines: '11 Wall St',
    city: 'New York',
    state: 'NY',
    postalCode: '10005',
    type: 'Work'
};
exports.addressPayloadWithUpdatedStreet = {
    address_lines: '11 Wall Street',
    city: 'New York',
    state: 'NY',
    postalCode: '10005',
    type: 'Work'
};
exports.emailPayloadUpdated = {
    address: 'john@example.biz',
    type: 'Work'
};
exports.emailPayloadPersonal = {
    address: 'john.doe@aol.com',
    type: 'Personal'
};
exports.onlinePresencePayloadUpdated = {
    address: 'https://www.example.biz',
    type: 'Website'
};
exports.phonePayloadUpdated = {
    number: '+18774466723',
    type: 'Work'
};
//# sourceMappingURL=fixtures.js.map