import { CustomerTypeName } from '../../models/shopify';
import * as AirtableFields from '../airtable/AirtableFieldDefaultConfigs';
const { singleLineText, datetime, singleSelect, currency, checkbox, multipleSelects, multiLineText, phoneNumber, integer, json, email } = AirtableFields;
export const getCustomerAirtableFields = ({ airtableTableLinks, baseSyncConfig, }) => {
    const CustomerAirtableFields = {
        type: CustomerTypeName,
        fields: {
            id: singleLineText,
            email: email,
            name: singleLineText,
            orders_count: integer,
            total_spent: currency,
            average_order_value: currency,
            state: singleSelect,
            last_order_id: singleLineText,
            last_order_name: singleLineText,
            phone: phoneNumber,
            'email_marketing_consent.opt_in_level': singleSelect,
            'email_marketing_consent.state': singleSelect,
            'email_marketing_consent.updated_at': datetime,
            'sms_marketing_consent.collected_from': singleSelect,
            'sms_marketing_consent.opt_in_level': singleSelect,
            'sms_marketing_consent.state': singleSelect,
            'sms_marketing_consent.updated_at': datetime,
            multipass_identifier: singleLineText,
            tags: multipleSelects,
            note: multiLineText,
            'default_address.address1': singleLineText,
            'default_address.address2': singleLineText,
            'default_address.city': singleLineText,
            'default_address.company': singleLineText,
            'default_address.country': singleLineText,
            'default_address.country_code': singleLineText,
            'default_address.first_name': singleLineText,
            'default_address.id': singleLineText,
            'default_address.last_name': singleLineText,
            'default_address.phone': phoneNumber,
            'default_address.province': singleLineText,
            'default_address.province_code': singleLineText,
            'default_address.zip': singleLineText,
            addresses_json: json,
            created_at: datetime,
            currency: singleSelect,
            tax_exempt: checkbox,
            tax_exemptions: multipleSelects,
            updated_at: datetime,
            verified_email: checkbox,
            first_name: singleLineText,
            last_name: singleLineText,
        }
    };
    return CustomerAirtableFields;
};
//# sourceMappingURL=getCustomerAirtableFields.js.map