@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.
Files changed (44) hide show
  1. package/bundle/api/RetailAPI/updateUserTask.d.ts +9 -0
  2. package/bundle/bundle.umd.js +13 -1
  3. package/bundle/bundle.umd.min.js +1 -1
  4. package/bundle/components/CreditForm/utils.d.ts +1 -0
  5. package/dist/api/RetailAPI/updateUserTask.d.ts +9 -0
  6. package/dist/api/RetailAPI/updateUserTask.js.map +1 -1
  7. package/dist/components/ApplicationLeadForm/getLeadFormTaskData.js +11 -0
  8. package/dist/components/ApplicationLeadForm/getLeadFormTaskData.js.map +1 -1
  9. package/dist/components/CreditForm/utils.d.ts +1 -0
  10. package/dist/components/CreditForm/utils.js +1 -0
  11. package/dist/components/CreditForm/utils.js.map +1 -1
  12. package/lib/api/RetailAPI/updateUserTask.d.ts +9 -0
  13. package/lib/api/RetailAPI/updateUserTask.js.map +1 -1
  14. package/lib/components/ApplicationLeadForm/getLeadFormTaskData.js +11 -0
  15. package/lib/components/ApplicationLeadForm/getLeadFormTaskData.js.map +1 -1
  16. package/lib/components/CreditForm/utils.d.ts +1 -0
  17. package/lib/components/CreditForm/utils.js +1 -0
  18. package/lib/components/CreditForm/utils.js.map +1 -1
  19. package/lib/components/OfficesAtmsMap/OfficesAtmsMapLayout.d.ts +1 -1
  20. package/mobile/bundle/api/RetailAPI/updateUserTask.d.ts +9 -0
  21. package/mobile/bundle/bundle.umd.js +13 -1
  22. package/mobile/bundle/bundle.umd.min.js +1 -1
  23. package/mobile/bundle/components/CreditForm/utils.d.ts +1 -0
  24. package/mobile/dist/api/RetailAPI/updateUserTask.d.ts +9 -0
  25. package/mobile/dist/api/RetailAPI/updateUserTask.js.map +1 -1
  26. package/mobile/dist/components/ApplicationLeadForm/getLeadFormTaskData.js +11 -0
  27. package/mobile/dist/components/ApplicationLeadForm/getLeadFormTaskData.js.map +1 -1
  28. package/mobile/dist/components/CreditForm/utils.d.ts +1 -0
  29. package/mobile/dist/components/CreditForm/utils.js +1 -0
  30. package/mobile/dist/components/CreditForm/utils.js.map +1 -1
  31. package/mobile/lib/api/RetailAPI/updateUserTask.d.ts +9 -0
  32. package/mobile/lib/api/RetailAPI/updateUserTask.js.map +1 -1
  33. package/mobile/lib/components/ApplicationLeadForm/getLeadFormTaskData.js +11 -0
  34. package/mobile/lib/components/ApplicationLeadForm/getLeadFormTaskData.js.map +1 -1
  35. package/mobile/lib/components/CreditForm/utils.d.ts +1 -0
  36. package/mobile/lib/components/CreditForm/utils.js +1 -0
  37. package/mobile/lib/components/CreditForm/utils.js.map +1 -1
  38. package/mobile/src/api/RetailAPI/updateUserTask.ts +10 -0
  39. package/mobile/src/components/ApplicationLeadForm/getLeadFormTaskData.ts +15 -1
  40. package/mobile/src/components/CreditForm/utils.ts +1 -0
  41. package/package.json +1 -1
  42. package/src/api/RetailAPI/updateUserTask.ts +10 -0
  43. package/src/components/ApplicationLeadForm/getLeadFormTaskData.ts +15 -1
  44. 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 = {
@@ -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.718";
10510
+ const packageVersion = "0.14.720";
10499
10511
 
10500
10512
  exports.Blocks = Blocks;
10501
10513
  exports.ContentPage = ContentPage;