@redneckz/wildless-cms-uni-blocks 0.14.552 → 0.14.553

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -888,7 +888,7 @@
888
888
 
889
889
  function LeadServiceAPI() {
890
890
  async function send(body, isIndividualType = false) {
891
- const { typeForm, region, phone = '', email, birthday, desiredMeetingDate, inn, fullName, addressBranch, secondaryPhone = '', bankEmpolee, applicationDate, serviceDirection, ...staticBody } = body;
891
+ const { typeForm, region, phone = '', email, birthday, desiredMeetingDate, inn, addressBranch, secondaryPhone = '', bankEmpolee, applicationDate, serviceDirection, ...staticBody } = body;
892
892
  const isNaturalPerson = isIndividualType && serviceDirection !== 'Юридическое лицо / ИП';
893
893
  const url = isNaturalPerson ? '/api/v1/lead' : '/api/v1/sendcorporatelead';
894
894
  const submitBody = {
@@ -897,7 +897,7 @@
897
897
  ...getEmail(email, isNaturalPerson),
898
898
  ...getPhone(phone),
899
899
  ...getFormatDate(desiredMeetingDate, 'desiredMeetingDate'),
900
- ...(isNaturalPerson ? getFormatDate(birthday) : { inn, fullName }),
900
+ ...(isNaturalPerson ? getFormatDate(birthday) : { inn }),
901
901
  ...(typeForm === 'FEEDBACK'
902
902
  ? {}
903
903
  : {
@@ -6554,7 +6554,7 @@
6554
6554
  slots: () => [HEADER_SLOT, FOOTER_SLOT, STICKY_FOOTER_SLOT],
6555
6555
  });
6556
6556
 
6557
- const packageVersion = "0.14.551";
6557
+ const packageVersion = "0.14.552";
6558
6558
 
6559
6559
  exports.Blocks = Blocks;
6560
6560
  exports.ContentPage = ContentPage;