diff --git a/src/hooks/useAffiliatesCampaignOfferConfig.ts b/src/hooks/useAffiliatesCampaignOfferConfig.ts index 282e022dd..937f1569d 100644 --- a/src/hooks/useAffiliatesCampaignOfferConfig.ts +++ b/src/hooks/useAffiliatesCampaignOfferConfig.ts @@ -32,6 +32,8 @@ export const CAMPAIGN_BY_PATH: Record = { gpitbf90: 'black-week', chollobf90: 'black-week', awbf90: 'black-week', + adslzone90: 'black-week', + gpukbf90: 'black-week', cyberweek90: 'cyber-week', cyberweekcn90: 'cyber-week', @@ -47,6 +49,7 @@ export const CAMPAIGN_BY_PATH: Record = { gpitcw90: 'cyber-week', chollocw90: 'cyber-week', awcw90: 'cyber-week', + gpukcw90: 'cyber-week', }; export const COUPON_CODES: Record = { @@ -78,6 +81,8 @@ export const COUPON_CODES: Record = { gpitbf90: PromoCodeName.gpitbf90, chollobf90: PromoCodeName.chollobf90, awbf90: PromoCodeName.awbf90, + adslzone90: PromoCodeName.adslzone90, + gpukbf90: PromoCodeName.gpukbf90, cyberweek90: PromoCodeName.cyberweek90, cyberweekcn90: PromoCodeName.cyberweekcn90, @@ -93,6 +98,7 @@ export const COUPON_CODES: Record = { gpitcw90: PromoCodeName.gpitcw90, chollocw90: PromoCodeName.chollocw90, awcw90: PromoCodeName.awcw90, + gpukcw90: PromoCodeName.gpukcw90, }; export const ENFORCED_LOCALE: Record = { @@ -102,6 +108,9 @@ export const ENFORCED_LOCALE: Record = { awbf90: 'de', awcw90: 'de', + gpukbf90: 'en', + gpukcw90: 'en', + xatakabm87: 'es', xatakabf90: 'es', xatakacm90: 'es', @@ -114,6 +123,7 @@ export const ENFORCED_LOCALE: Record = { chollobm87: 'es', chollobf90: 'es', chollocw90: 'es', + adslzone90: 'es', clubicbm87: 'fr', clubicbf90: 'fr', diff --git a/src/hooks/useSpecialOfferConfig.ts b/src/hooks/useSpecialOfferConfig.ts index 6fa86db2e..834791d41 100644 --- a/src/hooks/useSpecialOfferConfig.ts +++ b/src/hooks/useSpecialOfferConfig.ts @@ -236,6 +236,11 @@ export const ALLOWED_PATHS = [ 'fabio', 'suneja', 'techiq', + 'satish', + 'jignesh', + 'gyan', + 'davidtech', + 'gpuk85', ]; export const ENFORCED_LOCALE: Record = { @@ -278,6 +283,7 @@ export const ENFORCED_LOCALE: Record = { marko: 'en', gamermeld: 'en', danalove: 'en', + gpuk85: 'en', // de aimentors: 'de', @@ -335,6 +341,7 @@ export const ENFORCED_LOCALE: Record = { alaniz: 'es', hixec: 'es', xataka85: 'es', + davidtech: 'es', // fr benjamin: 'fr', @@ -424,6 +431,7 @@ export const ALTERNATIVE_IMAGES_PATHS = new Set([ 'ition', 'luca', 'pietro', + 'gaito', ]); export const ONLY_ULTIMATE_PLANS_PATHS = new Set(['ultimate']); export const ULTIMATE_PREMIUM_PLANS_PATHS = new Set([]); @@ -655,6 +663,11 @@ export const ANNUAL_DISCOUNT_PLANS_PATHS = new Set([ 'fabio', 'suneja', 'techiq', + 'satish', + 'jignesh', + 'gyan', + 'davidtech', + 'gpuk85', ]); export const COUPON_CODES = { @@ -891,6 +904,11 @@ export const COUPON_CODES = { fabio: PromoCodeName.fabio, suneja: PromoCodeName.suneja, techiq: PromoCodeName.techiq, + satish: PromoCodeName.satish, + jignesh: PromoCodeName.jignesh, + gyan: PromoCodeName.gyan, + davidtech: PromoCodeName.davidtech, + gpuk85: PromoCodeName.gpuk85, }; interface OfferConfig { diff --git a/src/lib/types/index.ts b/src/lib/types/index.ts index f4e595977..dc86b81ad 100644 --- a/src/lib/types/index.ts +++ b/src/lib/types/index.ts @@ -493,7 +493,15 @@ export enum PromoCodeName { gaito = 'GAITO', fabio = 'FABIO', suneja = 'SUNEJA', - techiq = 'techiq', + techiq = 'TECHIQ', + satish = 'SATISH', + jignesh = 'JIGNESH', + gyan = 'GYAN', + davidtech = 'DAVIDTECH', + adslzone90 = 'ADSLZONE90', + gpuk85 = 'GPUK85', + gpukbf90 = 'GPUKBF90', + gpukcw90 = 'GPUKCW90' } export interface PromoCodeProps {