@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.
- package/bundle/bundle.umd.js +3 -3
- package/bundle/bundle.umd.min.js +1 -1
- package/dist/api/LeadServiceAPI.js +2 -2
- package/dist/api/LeadServiceAPI.js.map +1 -1
- package/lib/api/LeadServiceAPI.js +2 -2
- package/lib/api/LeadServiceAPI.js.map +1 -1
- package/mobile/bundle/bundle.umd.js +3 -3
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/dist/api/LeadServiceAPI.js +2 -2
- package/mobile/dist/api/LeadServiceAPI.js.map +1 -1
- package/mobile/lib/api/LeadServiceAPI.js +2 -2
- package/mobile/lib/api/LeadServiceAPI.js.map +1 -1
- package/mobile/src/api/LeadServiceAPI.ts +1 -2
- package/package.json +1 -1
- package/src/api/LeadServiceAPI.ts +1 -2
package/bundle/bundle.umd.js
CHANGED
|
@@ -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,
|
|
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
|
|
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.
|
|
6557
|
+
const packageVersion = "0.14.552";
|
|
6558
6558
|
|
|
6559
6559
|
exports.Blocks = Blocks;
|
|
6560
6560
|
exports.ContentPage = ContentPage;
|