@mychoice/mychoice-sdk-modules 2.2.4 → 2.2.6-alpha.0

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/dist/esm/index.js CHANGED
@@ -4418,6 +4418,12 @@ const RedirectWithSearchParams = ({ to, path }) => {
4418
4418
  payload: { utmCampaign: query.utm_campaign },
4419
4419
  });
4420
4420
  }
4421
+ if (query.utm_producer) {
4422
+ dispatchCarDiscountState({
4423
+ type: StoreFormCarDiscountActionTypes.FormCarDiscountQuoterUtmProducerSet,
4424
+ payload: { utmProducer: query.utm_producer },
4425
+ });
4426
+ }
4421
4427
  if (path === 'broker' || toBasePath === 'car') {
4422
4428
  dispatchCarDiscountState({
4423
4429
  type: StoreFormCarDiscountActionTypes.FormCarDiscountQuoterBrokerInfoSet,
@@ -4440,6 +4446,12 @@ const RedirectWithSearchParams = ({ to, path }) => {
4440
4446
  payload: { utmCampaign: query.utm_campaign },
4441
4447
  });
4442
4448
  }
4449
+ if (query.utm_producer) {
4450
+ dispatchHomeDiscountState({
4451
+ type: StoreFormHomeDiscountActionTypes.FormHomeUtmProducerSet,
4452
+ payload: { utmProducer: query.utm_producer },
4453
+ });
4454
+ }
4443
4455
  if (path === 'broker' || ['home', 'condo', 'tenant'].includes(toBasePath)) {
4444
4456
  dispatchHomeDiscountState({
4445
4457
  type: StoreFormHomeDiscountActionTypes.FormHomeQuoterBrokerInfoSet,
@@ -4460,6 +4472,12 @@ const RedirectWithSearchParams = ({ to, path }) => {
4460
4472
  payload: { utmCampaign: query.utm_campaign },
4461
4473
  });
4462
4474
  }
4475
+ if (query.utm_producer) {
4476
+ dispatchLifeApplicantState({
4477
+ type: StoreFormLifeApplicantActionTypes.FormLifeUtmProducerSet,
4478
+ payload: { utmProducer: query.utm_producer },
4479
+ });
4480
+ }
4463
4481
  }
4464
4482
  }
4465
4483
  }