@redneckz/wildless-cms-uni-blocks 0.14.720 → 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 (28) hide show
  1. package/bundle/api/RetailAPI/updateUserTask.d.ts +9 -0
  2. package/bundle/bundle.umd.js +12 -1
  3. package/bundle/bundle.umd.min.js +1 -1
  4. package/dist/api/RetailAPI/updateUserTask.d.ts +9 -0
  5. package/dist/api/RetailAPI/updateUserTask.js.map +1 -1
  6. package/dist/components/ApplicationLeadForm/getLeadFormTaskData.js +11 -0
  7. package/dist/components/ApplicationLeadForm/getLeadFormTaskData.js.map +1 -1
  8. package/lib/api/RetailAPI/updateUserTask.d.ts +9 -0
  9. package/lib/api/RetailAPI/updateUserTask.js.map +1 -1
  10. package/lib/components/ApplicationLeadForm/getLeadFormTaskData.js +11 -0
  11. package/lib/components/ApplicationLeadForm/getLeadFormTaskData.js.map +1 -1
  12. package/lib/components/OfficesAtmsMap/OfficesAtmsMapLayout.d.ts +1 -1
  13. package/mobile/bundle/api/RetailAPI/updateUserTask.d.ts +9 -0
  14. package/mobile/bundle/bundle.umd.js +12 -1
  15. package/mobile/bundle/bundle.umd.min.js +1 -1
  16. package/mobile/dist/api/RetailAPI/updateUserTask.d.ts +9 -0
  17. package/mobile/dist/api/RetailAPI/updateUserTask.js.map +1 -1
  18. package/mobile/dist/components/ApplicationLeadForm/getLeadFormTaskData.js +11 -0
  19. package/mobile/dist/components/ApplicationLeadForm/getLeadFormTaskData.js.map +1 -1
  20. package/mobile/lib/api/RetailAPI/updateUserTask.d.ts +9 -0
  21. package/mobile/lib/api/RetailAPI/updateUserTask.js.map +1 -1
  22. package/mobile/lib/components/ApplicationLeadForm/getLeadFormTaskData.js +11 -0
  23. package/mobile/lib/components/ApplicationLeadForm/getLeadFormTaskData.js.map +1 -1
  24. package/mobile/src/api/RetailAPI/updateUserTask.ts +10 -0
  25. package/mobile/src/components/ApplicationLeadForm/getLeadFormTaskData.ts +15 -1
  26. package/package.json +1 -1
  27. package/src/api/RetailAPI/updateUserTask.ts +10 -0
  28. package/src/components/ApplicationLeadForm/getLeadFormTaskData.ts +15 -1
@@ -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 = {
@@ -5106,9 +5106,20 @@
5106
5106
  },
5107
5107
  },
5108
5108
  ],
5109
+ marketingInfo: getMarketingInfo(),
5109
5110
  },
5110
5111
  };
5111
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
+ };
5112
5123
 
5113
5124
  const useLeadFormStore = () => useLocalStore();
5114
5125
 
@@ -10496,7 +10507,7 @@
10496
10507
  slots: () => [HEADER_SLOT, FOOTER_SLOT, STICKY_FOOTER_SLOT],
10497
10508
  });
10498
10509
 
10499
- const packageVersion = "0.14.719";
10510
+ const packageVersion = "0.14.720";
10500
10511
 
10501
10512
  exports.Blocks = Blocks;
10502
10513
  exports.ContentPage = ContentPage;