// createCustomer: default + CustomerData type + 4 hooks export { default as createCustomer } from './customer/createCustomer.js'; export * from './customer/createCustomer.js'; // updateCustomer: default + 4 hooks export { default as updateCustomer } from './customer/updateCustomer.js'; export * from './customer/updateCustomer.js'; // deleteCustomer: default + 4 hooks export { default as deleteCustomer } from './customer/deleteCustomer.js'; export * from './customer/deleteCustomer.js'; // Signing in without a password (social login): find the account by email in // any letter case, then `request.loginCustomer(id)` for a session or // `issueCustomerTokens(id)` for a headless storefront export { getCustomerByEmail } from './customer/getCustomerByEmail.js'; export { issueCustomerTokens, type CustomerTokens } from './customer/issueCustomerTokens.js'; // customer metafields export * from './customer/customerMetafield.js'; // updatePassword: default + 4 hooks export { default as updatePassword } from './customer/updatePassword.js'; export * from './customer/updatePassword.js'; // createCustomerAddress: default + 4 hooks export { default as createCustomerAddress } from './customer/address/createCustomerAddress.js'; export * from './customer/address/createCustomerAddress.js'; // updateCustomerAddress: default + 4 hooks export { default as updateCustomerAddress } from './customer/address/updateCustomerAddress.js'; export * from './customer/address/updateCustomerAddress.js'; // deleteCustomerAddress: default + 4 hooks export { default as deleteCustomerAddress } from './customer/address/deleteCustomerAddress.js'; export * from './customer/address/deleteCustomerAddress.js'; // Address validation lives in the Address Format Registry (`lib/address`); // the rules derive from the country's schema, there is no hand-written list. export { validateAddress, addAddressValidationRule } from '../../../lib/address/validate.js'; export { AddressValidationError, isAddressValidationError } from './customer/address/AddressValidationError.js'; export { foldAddressExtras } from './customer/address/foldAddressExtras.js'; // utilities export * from './getCustomersBaseQuery.js'; export * from './sendResetPasswordEmail.js';