@redneckz/wildless-cms-uni-blocks 0.14.719 → 0.14.721
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/api/RetailAPI/updateUserTask.d.ts +9 -0
- package/bundle/bundle.umd.js +13 -1
- package/bundle/bundle.umd.min.js +1 -1
- package/bundle/components/CreditForm/utils.d.ts +1 -0
- package/dist/api/RetailAPI/updateUserTask.d.ts +9 -0
- package/dist/api/RetailAPI/updateUserTask.js.map +1 -1
- package/dist/components/ApplicationLeadForm/getLeadFormTaskData.js +11 -0
- package/dist/components/ApplicationLeadForm/getLeadFormTaskData.js.map +1 -1
- package/dist/components/CreditForm/utils.d.ts +1 -0
- package/dist/components/CreditForm/utils.js +1 -0
- package/dist/components/CreditForm/utils.js.map +1 -1
- package/lib/api/RetailAPI/updateUserTask.d.ts +9 -0
- package/lib/api/RetailAPI/updateUserTask.js.map +1 -1
- package/lib/components/ApplicationLeadForm/getLeadFormTaskData.js +11 -0
- package/lib/components/ApplicationLeadForm/getLeadFormTaskData.js.map +1 -1
- package/lib/components/CreditForm/utils.d.ts +1 -0
- package/lib/components/CreditForm/utils.js +1 -0
- package/lib/components/CreditForm/utils.js.map +1 -1
- package/lib/components/OfficesAtmsMap/OfficesAtmsMapLayout.d.ts +1 -1
- package/mobile/bundle/api/RetailAPI/updateUserTask.d.ts +9 -0
- package/mobile/bundle/bundle.umd.js +13 -1
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/bundle/components/CreditForm/utils.d.ts +1 -0
- package/mobile/dist/api/RetailAPI/updateUserTask.d.ts +9 -0
- package/mobile/dist/api/RetailAPI/updateUserTask.js.map +1 -1
- package/mobile/dist/components/ApplicationLeadForm/getLeadFormTaskData.js +11 -0
- package/mobile/dist/components/ApplicationLeadForm/getLeadFormTaskData.js.map +1 -1
- package/mobile/dist/components/CreditForm/utils.d.ts +1 -0
- package/mobile/dist/components/CreditForm/utils.js +1 -0
- package/mobile/dist/components/CreditForm/utils.js.map +1 -1
- package/mobile/lib/api/RetailAPI/updateUserTask.d.ts +9 -0
- package/mobile/lib/api/RetailAPI/updateUserTask.js.map +1 -1
- package/mobile/lib/components/ApplicationLeadForm/getLeadFormTaskData.js +11 -0
- package/mobile/lib/components/ApplicationLeadForm/getLeadFormTaskData.js.map +1 -1
- package/mobile/lib/components/CreditForm/utils.d.ts +1 -0
- package/mobile/lib/components/CreditForm/utils.js +1 -0
- package/mobile/lib/components/CreditForm/utils.js.map +1 -1
- package/mobile/src/api/RetailAPI/updateUserTask.ts +10 -0
- package/mobile/src/components/ApplicationLeadForm/getLeadFormTaskData.ts +15 -1
- package/mobile/src/components/CreditForm/utils.ts +1 -0
- package/package.json +1 -1
- package/src/api/RetailAPI/updateUserTask.ts +10 -0
- package/src/components/ApplicationLeadForm/getLeadFormTaskData.ts +15 -1
- package/src/components/CreditForm/utils.ts +1 -0
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { type Option } from '../../ui-kit/Select/Option';
|
|
2
|
+
import { type Nullable } from '../../utils/Nullable';
|
|
2
3
|
declare type ParticipantAddress = {
|
|
3
4
|
addressType: {
|
|
4
5
|
key: 'REGISTRATION' | 'RESIDENTAL' | 'WORK';
|
|
@@ -98,6 +99,13 @@ export declare type Participant = {
|
|
|
98
99
|
classCard?: Option;
|
|
99
100
|
codeWord?: string;
|
|
100
101
|
};
|
|
102
|
+
export declare type MarketingInfo = {
|
|
103
|
+
utm_campaign?: Nullable<string>;
|
|
104
|
+
utm_medium?: Nullable<string>;
|
|
105
|
+
utm_source?: Nullable<string>;
|
|
106
|
+
utm_content?: Nullable<string>;
|
|
107
|
+
utm_term?: Nullable<string>;
|
|
108
|
+
};
|
|
101
109
|
export declare type UpdateUserTaskBody = {
|
|
102
110
|
sendToBank: boolean;
|
|
103
111
|
taskKind: 'SHORT' | 'FULL' | 'UNITED';
|
|
@@ -120,6 +128,7 @@ export declare type UpdateUserTaskBody = {
|
|
|
120
128
|
loanAmount?: number;
|
|
121
129
|
creditPeriod?: number;
|
|
122
130
|
paymentTypeCd?: PaymentType;
|
|
131
|
+
marketingInfo?: MarketingInfo;
|
|
123
132
|
};
|
|
124
133
|
};
|
|
125
134
|
export declare type CreateUserProfileResponse = {
|
package/bundle/bundle.umd.js
CHANGED
|
@@ -5019,6 +5019,7 @@
|
|
|
5019
5019
|
addressRegistration: 'REGISTRATION',
|
|
5020
5020
|
addressFact: 'RESIDENTAL',
|
|
5021
5021
|
organizationAddress: 'WORK',
|
|
5022
|
+
addressCourier: 'DELIVERY',
|
|
5022
5023
|
};
|
|
5023
5024
|
const fieldsNamesToIncomeKeysMap = {
|
|
5024
5025
|
incomeAverage: 'INCOME_AVERAGE',
|
|
@@ -5105,9 +5106,20 @@
|
|
|
5105
5106
|
},
|
|
5106
5107
|
},
|
|
5107
5108
|
],
|
|
5109
|
+
marketingInfo: getMarketingInfo(),
|
|
5108
5110
|
},
|
|
5109
5111
|
};
|
|
5110
5112
|
};
|
|
5113
|
+
const getMarketingInfo = () => {
|
|
5114
|
+
const params = new URLSearchParams(decodeURIComponent(globalThis.location?.search));
|
|
5115
|
+
return {
|
|
5116
|
+
utm_campaign: params.get('utm_campaign'),
|
|
5117
|
+
utm_medium: params.get('utm_medium'),
|
|
5118
|
+
utm_source: params.get('utm_source'),
|
|
5119
|
+
utm_content: params.get('utm_content'),
|
|
5120
|
+
utm_term: params.get('utm_term'),
|
|
5121
|
+
};
|
|
5122
|
+
};
|
|
5111
5123
|
|
|
5112
5124
|
const useLeadFormStore = () => useLocalStore();
|
|
5113
5125
|
|
|
@@ -10495,7 +10507,7 @@
|
|
|
10495
10507
|
slots: () => [HEADER_SLOT, FOOTER_SLOT, STICKY_FOOTER_SLOT],
|
|
10496
10508
|
});
|
|
10497
10509
|
|
|
10498
|
-
const packageVersion = "0.14.
|
|
10510
|
+
const packageVersion = "0.14.720";
|
|
10499
10511
|
|
|
10500
10512
|
exports.Blocks = Blocks;
|
|
10501
10513
|
exports.ContentPage = ContentPage;
|