@moneylion/react-native-offer-carousel 1.0.0 → 1.0.2
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/README.md +44 -0
- package/lib/commonjs/builder/builder.js +356 -0
- package/lib/commonjs/builder/builder.js.map +1 -0
- package/lib/commonjs/builder/config/types.js +2 -0
- package/lib/commonjs/builder/config/types.js.map +1 -0
- package/lib/commonjs/builder/index.js +28 -0
- package/lib/commonjs/builder/index.js.map +1 -0
- package/lib/commonjs/capabilities/configuration/src/brands/checkVisualEligibility.js +30 -0
- package/lib/commonjs/capabilities/configuration/src/brands/checkVisualEligibility.js.map +1 -0
- package/lib/commonjs/capabilities/configuration/src/brands/createDerivedBrands.js +40 -0
- package/lib/commonjs/capabilities/configuration/src/brands/createDerivedBrands.js.map +1 -0
- package/lib/commonjs/capabilities/configuration/src/brands/index.js +20 -0
- package/lib/commonjs/capabilities/configuration/src/brands/index.js.map +1 -0
- package/lib/commonjs/capabilities/configuration/src/brands/types.js +13 -0
- package/lib/commonjs/capabilities/configuration/src/brands/types.js.map +1 -0
- package/lib/commonjs/capabilities/core/src/domain/third-party-search/index.js +17 -0
- package/lib/commonjs/capabilities/core/src/domain/third-party-search/index.js.map +1 -0
- package/lib/commonjs/capabilities/core/src/domain/third-party-search/orderProductTypesByRankUtils.js +33 -0
- package/lib/commonjs/capabilities/core/src/domain/third-party-search/orderProductTypesByRankUtils.js.map +1 -0
- package/lib/commonjs/capabilities/core/src/index.js +17 -0
- package/lib/commonjs/capabilities/core/src/index.js.map +1 -0
- package/lib/commonjs/capabilities/core/src/system/cnfContext/CnfContext.js +18 -0
- package/lib/commonjs/capabilities/core/src/system/cnfContext/CnfContext.js.map +1 -0
- package/lib/commonjs/capabilities/core/src/system/cnfContext/schemas/App.js +18 -0
- package/lib/commonjs/capabilities/core/src/system/cnfContext/schemas/App.js.map +1 -0
- package/lib/commonjs/capabilities/core/src/system/cnfContext/schemas/Brand.js +87 -0
- package/lib/commonjs/capabilities/core/src/system/cnfContext/schemas/Brand.js.map +1 -0
- package/lib/commonjs/capabilities/core/src/system/cnfContext/schemas/Configuration.js +41 -0
- package/lib/commonjs/capabilities/core/src/system/cnfContext/schemas/Configuration.js.map +1 -0
- package/lib/commonjs/capabilities/core/src/system/cnfContext/schemas/Request.js +21 -0
- package/lib/commonjs/capabilities/core/src/system/cnfContext/schemas/Request.js.map +1 -0
- package/lib/commonjs/capabilities/core/src/system/cnfContext/schemas/Session.js +12 -0
- package/lib/commonjs/capabilities/core/src/system/cnfContext/schemas/Session.js.map +1 -0
- package/lib/commonjs/capabilities/core/src/system/cnfContext/schemas/Signals.js +41 -0
- package/lib/commonjs/capabilities/core/src/system/cnfContext/schemas/Signals.js.map +1 -0
- package/lib/commonjs/capabilities/core/src/system/cnfContext/schemas/Subaccount.js +26 -0
- package/lib/commonjs/capabilities/core/src/system/cnfContext/schemas/Subaccount.js.map +1 -0
- package/lib/commonjs/capabilities/core/src/system/cnfContext/schemas/index.js +83 -0
- package/lib/commonjs/capabilities/core/src/system/cnfContext/schemas/index.js.map +1 -0
- package/lib/commonjs/capabilities/offer-catalog/src/api/offerCatalogApi.js +131 -0
- package/lib/commonjs/capabilities/offer-catalog/src/api/offerCatalogApi.js.map +1 -0
- package/lib/commonjs/capabilities/offer-catalog/src/index.js +65 -0
- package/lib/commonjs/capabilities/offer-catalog/src/index.js.map +1 -0
- package/lib/commonjs/capabilities/offer-catalog/src/types/offerCatalogSchema.js +2 -0
- package/lib/commonjs/capabilities/offer-catalog/src/types/offerCatalogSchema.js.map +1 -0
- package/lib/commonjs/capabilities/offer-catalog/src/utils/arrayToMarkdownList.js +11 -0
- package/lib/commonjs/capabilities/offer-catalog/src/utils/arrayToMarkdownList.js.map +1 -0
- package/lib/commonjs/capabilities/offer-catalog/src/utils/contextUtil.js +70 -0
- package/lib/commonjs/capabilities/offer-catalog/src/utils/contextUtil.js.map +1 -0
- package/lib/commonjs/capabilities/offer-catalog/src/utils/errorUtil.js +21 -0
- package/lib/commonjs/capabilities/offer-catalog/src/utils/errorUtil.js.map +1 -0
- package/lib/commonjs/capabilities/offer-catalog/src/utils/formatUtils.js +161 -0
- package/lib/commonjs/capabilities/offer-catalog/src/utils/formatUtils.js.map +1 -0
- package/lib/commonjs/capabilities/offer-catalog/src/utils/getOfferUrl.js +44 -0
- package/lib/commonjs/capabilities/offer-catalog/src/utils/getOfferUrl.js.map +1 -0
- package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/annualFee.js +78 -0
- package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/annualFee.js.map +1 -0
- package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/boolean.js +22 -0
- package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/boolean.js.map +1 -0
- package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/boolean.spec.js +60 -0
- package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/boolean.spec.js.map +1 -0
- package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/common.js +20 -0
- package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/common.js.map +1 -0
- package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/common.spec.js +62 -0
- package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/common.spec.js.map +1 -0
- package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/creditBureaus.js +32 -0
- package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/creditBureaus.js.map +1 -0
- package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/creditBureaus.spec.js +31 -0
- package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/creditBureaus.spec.js.map +1 -0
- package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/currency.js +22 -0
- package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/currency.js.map +1 -0
- package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/currencyOrBasis.js +46 -0
- package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/currencyOrBasis.js.map +1 -0
- package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/currencyOrBasis.spec.js +208 -0
- package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/currencyOrBasis.spec.js.map +1 -0
- package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/freeTrialDays.js +20 -0
- package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/freeTrialDays.js.map +1 -0
- package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/freeTrialDays.spec.js +24 -0
- package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/freeTrialDays.spec.js.map +1 -0
- package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/fromListStringWithAnd.js +21 -0
- package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/fromListStringWithAnd.js.map +1 -0
- package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/fromListStringWithAnd.spec.js +40 -0
- package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/fromListStringWithAnd.spec.js.map +1 -0
- package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/index.js +204 -0
- package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/index.js.map +1 -0
- package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/monthlyOrAnnualCurrency.js +35 -0
- package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/monthlyOrAnnualCurrency.js.map +1 -0
- package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/monthlyOrAnnualCurrency.spec.js +43 -0
- package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/monthlyOrAnnualCurrency.spec.js.map +1 -0
- package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/percentage.js +21 -0
- package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/percentage.js.map +1 -0
- package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/percentage.spec.js +32 -0
- package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/percentage.spec.js.map +1 -0
- package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/purchaseApr.js +76 -0
- package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/purchaseApr.js.map +1 -0
- package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/purchaseApr.spec.js +69 -0
- package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/purchaseApr.spec.js.map +1 -0
- package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/rangeCurrency.js +23 -0
- package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/rangeCurrency.js.map +1 -0
- package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/rangeCurrencyByTime.js +47 -0
- package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/rangeCurrencyByTime.js.map +1 -0
- package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/rangeCurrencyByTime.spec.js +72 -0
- package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/rangeCurrencyByTime.spec.js.map +1 -0
- package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/rangeCurrencyUnabbreviated.js +23 -0
- package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/rangeCurrencyUnabbreviated.js.map +1 -0
- package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/rangeCurrencyUnabbreviated.spec.js +29 -0
- package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/rangeCurrencyUnabbreviated.spec.js.map +1 -0
- package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/rangeMonths.js +53 -0
- package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/rangeMonths.js.map +1 -0
- package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/rangeMonths.spec.js +46 -0
- package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/rangeMonths.spec.js.map +1 -0
- package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/rangePercent.js +26 -0
- package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/rangePercent.js.map +1 -0
- package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/rangePercent.spec.js +83 -0
- package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/rangePercent.spec.js.map +1 -0
- package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/recommendedCredit.js +28 -0
- package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/recommendedCredit.js.map +1 -0
- package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/recommendedCredit.spec.js +28 -0
- package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/recommendedCredit.spec.js.map +1 -0
- package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/rewardsDisplay.js +21 -0
- package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/rewardsDisplay.js.map +1 -0
- package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/rewardsDisplay.spec.js +30 -0
- package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/rewardsDisplay.spec.js.map +1 -0
- package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/index.js +48 -0
- package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/index.js.map +1 -0
- package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/types.js +6 -0
- package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/types.js.map +1 -0
- package/lib/commonjs/capabilities/offers/pipeline/src/sources/ratetables/offer-catalog/types/index.js +6 -0
- package/lib/commonjs/capabilities/offers/pipeline/src/sources/ratetables/offer-catalog/types/index.js.map +1 -0
- package/lib/commonjs/capabilities/offers/pipeline/src/sources/ratetables/offer-catalog/types/oas/offer-catalog.js +2 -0
- package/lib/commonjs/capabilities/offers/pipeline/src/sources/ratetables/offer-catalog/types/oas/offer-catalog.js.map +1 -0
- package/lib/commonjs/capabilities/offers/pipeline/src/sources/ratetables/types/PublicApi.d.js +2 -0
- package/lib/commonjs/capabilities/offers/pipeline/src/sources/ratetables/types/PublicApi.d.js.map +1 -0
- package/lib/commonjs/capabilities/offers/pipeline/src/sources/ratetables/types/index.js +6 -0
- package/lib/commonjs/capabilities/offers/pipeline/src/sources/ratetables/types/index.js.map +1 -0
- package/lib/commonjs/capabilities/offers/pipeline/src/sources/ratetables/withDeviceSignals.js +74 -0
- package/lib/commonjs/capabilities/offers/pipeline/src/sources/ratetables/withDeviceSignals.js.map +1 -0
- package/lib/commonjs/capabilities/ui/elements/src/components/MarkdownText/Abbreviation.js +61 -0
- package/lib/commonjs/capabilities/ui/elements/src/components/MarkdownText/Abbreviation.js.map +1 -0
- package/lib/commonjs/capabilities/ui/elements/src/components/MarkdownText/components.js +141 -0
- package/lib/commonjs/capabilities/ui/elements/src/components/MarkdownText/components.js.map +1 -0
- package/lib/commonjs/capabilities/ui/elements/src/components/MarkdownText/index.js +54 -0
- package/lib/commonjs/capabilities/ui/elements/src/components/MarkdownText/index.js.map +1 -0
- package/lib/commonjs/capabilities/ui/elements/src/components/MarkdownText/markdownPreprocessor.js +122 -0
- package/lib/commonjs/capabilities/ui/elements/src/components/MarkdownText/markdownPreprocessor.js.map +1 -0
- package/lib/commonjs/capabilities/ui/elements/src/components/index.js +13 -0
- package/lib/commonjs/capabilities/ui/elements/src/components/index.js.map +1 -0
- package/lib/commonjs/capabilities/ui/elements/src/components/thumbor/index.js +110 -0
- package/lib/commonjs/capabilities/ui/elements/src/components/thumbor/index.js.map +1 -0
- package/lib/commonjs/capabilities/ui/elements/src/components/thumbor/useSvgUriViewBox.js +91 -0
- package/lib/commonjs/capabilities/ui/elements/src/components/thumbor/useSvgUriViewBox.js.map +1 -0
- package/lib/commonjs/capabilities/ui/elements/src/components/thumbor/useSvgUriViewBox.test.js +44 -0
- package/lib/commonjs/capabilities/ui/elements/src/components/thumbor/useSvgUriViewBox.test.js.map +1 -0
- package/lib/commonjs/capabilities/ui/elements/src/index.js +28 -0
- package/lib/commonjs/capabilities/ui/elements/src/index.js.map +1 -0
- package/lib/commonjs/capabilities/ui/elements/src/offerCardAttributes.js +23 -0
- package/lib/commonjs/capabilities/ui/elements/src/offerCardAttributes.js.map +1 -0
- package/lib/commonjs/components/Cards/VideosCard/VideoContent.js +35 -37
- package/lib/commonjs/components/Cards/VideosCard/VideoContent.js.map +1 -1
- package/lib/commonjs/components/Cards/VideosCard/VideosCard.js +1 -1
- package/lib/commonjs/components/Common/BaseOfferCard/Stat/Stat.js +1 -1
- package/lib/commonjs/components/Common/BaseOfferCard/Stat/Stat.js.map +1 -1
- package/lib/commonjs/components/Common/BaseOfferCard/index.js +4 -4
- package/lib/commonjs/components/Common/BaseOfferCard/index.js.map +1 -1
- package/lib/commonjs/components/DynamicOffers/DynamicOffers.js +1 -1
- package/lib/commonjs/components/DynamicOffers/Render/DynamicOffersRender.js +1 -1
- package/lib/commonjs/components/Layouts/CreditCardOfferCard/statsBuilder.js +1 -1
- package/lib/commonjs/components/Layouts/DefaultOfferCard/statsBuilder.js +1 -1
- package/lib/commonjs/components/Modal/DescriptionPoints.js +3 -3
- package/lib/commonjs/components/Modal/DescriptionPoints.js.map +1 -1
- package/lib/commonjs/components/Modal/Disclaimer.js +1 -1
- package/lib/commonjs/components/Modal/Disclaimer.js.map +1 -1
- package/lib/commonjs/components/MoneyLionOfferCarousel.js +1 -1
- package/lib/commonjs/config/mocks/cnfContext.js +143 -0
- package/lib/commonjs/config/mocks/cnfContext.js.map +1 -0
- package/lib/commonjs/pageData.js +1 -1
- package/lib/commonjs/services/getProductTypesByQuery.js +1 -1
- package/lib/commonjs/utils/formatOfferUrl.js +1 -1
- package/lib/commonjs/utils/getOffersByProductTypes.js +2 -2
- package/lib/module/builder/builder.js +350 -0
- package/lib/module/builder/builder.js.map +1 -0
- package/lib/module/builder/config/types.js +2 -0
- package/lib/module/builder/config/types.js.map +1 -0
- package/lib/module/builder/index.js +3 -0
- package/lib/module/builder/index.js.map +1 -0
- package/lib/module/capabilities/configuration/src/brands/checkVisualEligibility.js +24 -0
- package/lib/module/capabilities/configuration/src/brands/checkVisualEligibility.js.map +1 -0
- package/lib/module/capabilities/configuration/src/brands/createDerivedBrands.js +34 -0
- package/lib/module/capabilities/configuration/src/brands/createDerivedBrands.js.map +1 -0
- package/lib/module/capabilities/configuration/src/brands/index.js +3 -0
- package/lib/module/capabilities/configuration/src/brands/index.js.map +1 -0
- package/lib/module/capabilities/configuration/src/brands/types.js +6 -0
- package/lib/module/capabilities/configuration/src/brands/types.js.map +1 -0
- package/lib/module/capabilities/core/src/domain/third-party-search/index.js +2 -0
- package/lib/module/capabilities/core/src/domain/third-party-search/index.js.map +1 -0
- package/lib/module/capabilities/core/src/domain/third-party-search/orderProductTypesByRankUtils.js +26 -0
- package/lib/module/capabilities/core/src/domain/third-party-search/orderProductTypesByRankUtils.js.map +1 -0
- package/lib/module/capabilities/core/src/index.js +2 -0
- package/lib/module/capabilities/core/src/index.js.map +1 -0
- package/lib/module/capabilities/core/src/system/cnfContext/CnfContext.js +12 -0
- package/lib/module/capabilities/core/src/system/cnfContext/CnfContext.js.map +1 -0
- package/lib/module/capabilities/core/src/system/cnfContext/schemas/App.js +12 -0
- package/lib/module/capabilities/core/src/system/cnfContext/schemas/App.js.map +1 -0
- package/lib/module/capabilities/core/src/system/cnfContext/schemas/Brand.js +81 -0
- package/lib/module/capabilities/core/src/system/cnfContext/schemas/Brand.js.map +1 -0
- package/lib/module/capabilities/core/src/system/cnfContext/schemas/Configuration.js +35 -0
- package/lib/module/capabilities/core/src/system/cnfContext/schemas/Configuration.js.map +1 -0
- package/lib/module/capabilities/core/src/system/cnfContext/schemas/Request.js +15 -0
- package/lib/module/capabilities/core/src/system/cnfContext/schemas/Request.js.map +1 -0
- package/lib/module/capabilities/core/src/system/cnfContext/schemas/Session.js +6 -0
- package/lib/module/capabilities/core/src/system/cnfContext/schemas/Session.js.map +1 -0
- package/lib/module/capabilities/core/src/system/cnfContext/schemas/Signals.js +35 -0
- package/lib/module/capabilities/core/src/system/cnfContext/schemas/Signals.js.map +1 -0
- package/lib/module/capabilities/core/src/system/cnfContext/schemas/Subaccount.js +20 -0
- package/lib/module/capabilities/core/src/system/cnfContext/schemas/Subaccount.js.map +1 -0
- package/lib/module/capabilities/core/src/system/cnfContext/schemas/index.js +8 -0
- package/lib/module/capabilities/core/src/system/cnfContext/schemas/index.js.map +1 -0
- package/lib/module/capabilities/offer-catalog/src/api/offerCatalogApi.js +122 -0
- package/lib/module/capabilities/offer-catalog/src/api/offerCatalogApi.js.map +1 -0
- package/lib/module/capabilities/offer-catalog/src/index.js +5 -0
- package/lib/module/capabilities/offer-catalog/src/index.js.map +1 -0
- package/lib/module/capabilities/offer-catalog/src/types/offerCatalogSchema.js +2 -0
- package/lib/module/capabilities/offer-catalog/src/types/offerCatalogSchema.js.map +1 -0
- package/lib/module/capabilities/offer-catalog/src/utils/arrayToMarkdownList.js +4 -0
- package/lib/module/capabilities/offer-catalog/src/utils/arrayToMarkdownList.js.map +1 -0
- package/lib/module/capabilities/offer-catalog/src/utils/contextUtil.js +58 -0
- package/lib/module/capabilities/offer-catalog/src/utils/contextUtil.js.map +1 -0
- package/lib/module/capabilities/offer-catalog/src/utils/errorUtil.js +15 -0
- package/lib/module/capabilities/offer-catalog/src/utils/errorUtil.js.map +1 -0
- package/lib/module/capabilities/offer-catalog/src/utils/formatUtils.js +151 -0
- package/lib/module/capabilities/offer-catalog/src/utils/formatUtils.js.map +1 -0
- package/lib/module/capabilities/offer-catalog/src/utils/getOfferUrl.js +37 -0
- package/lib/module/capabilities/offer-catalog/src/utils/getOfferUrl.js.map +1 -0
- package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/annualFee.js +71 -0
- package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/annualFee.js.map +1 -0
- package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/boolean.js +15 -0
- package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/boolean.js.map +1 -0
- package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/boolean.spec.js +59 -0
- package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/boolean.spec.js.map +1 -0
- package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/common.js +13 -0
- package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/common.js.map +1 -0
- package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/common.spec.js +61 -0
- package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/common.spec.js.map +1 -0
- package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/creditBureaus.js +25 -0
- package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/creditBureaus.js.map +1 -0
- package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/creditBureaus.spec.js +30 -0
- package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/creditBureaus.spec.js.map +1 -0
- package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/currency.js +15 -0
- package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/currency.js.map +1 -0
- package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/currencyOrBasis.js +39 -0
- package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/currencyOrBasis.js.map +1 -0
- package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/currencyOrBasis.spec.js +207 -0
- package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/currencyOrBasis.spec.js.map +1 -0
- package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/freeTrialDays.js +13 -0
- package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/freeTrialDays.js.map +1 -0
- package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/freeTrialDays.spec.js +23 -0
- package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/freeTrialDays.spec.js.map +1 -0
- package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/fromListStringWithAnd.js +14 -0
- package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/fromListStringWithAnd.js.map +1 -0
- package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/fromListStringWithAnd.spec.js +39 -0
- package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/fromListStringWithAnd.spec.js.map +1 -0
- package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/index.js +20 -0
- package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/index.js.map +1 -0
- package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/monthlyOrAnnualCurrency.js +28 -0
- package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/monthlyOrAnnualCurrency.js.map +1 -0
- package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/monthlyOrAnnualCurrency.spec.js +42 -0
- package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/monthlyOrAnnualCurrency.spec.js.map +1 -0
- package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/percentage.js +14 -0
- package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/percentage.js.map +1 -0
- package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/percentage.spec.js +31 -0
- package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/percentage.spec.js.map +1 -0
- package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/purchaseApr.js +69 -0
- package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/purchaseApr.js.map +1 -0
- package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/purchaseApr.spec.js +68 -0
- package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/purchaseApr.spec.js.map +1 -0
- package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/rangeCurrency.js +16 -0
- package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/rangeCurrency.js.map +1 -0
- package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/rangeCurrencyByTime.js +40 -0
- package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/rangeCurrencyByTime.js.map +1 -0
- package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/rangeCurrencyByTime.spec.js +71 -0
- package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/rangeCurrencyByTime.spec.js.map +1 -0
- package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/rangeCurrencyUnabbreviated.js +16 -0
- package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/rangeCurrencyUnabbreviated.js.map +1 -0
- package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/rangeCurrencyUnabbreviated.spec.js +28 -0
- package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/rangeCurrencyUnabbreviated.spec.js.map +1 -0
- package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/rangeMonths.js +46 -0
- package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/rangeMonths.js.map +1 -0
- package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/rangeMonths.spec.js +45 -0
- package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/rangeMonths.spec.js.map +1 -0
- package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/rangePercent.js +19 -0
- package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/rangePercent.js.map +1 -0
- package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/rangePercent.spec.js +82 -0
- package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/rangePercent.spec.js.map +1 -0
- package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/recommendedCredit.js +21 -0
- package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/recommendedCredit.js.map +1 -0
- package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/recommendedCredit.spec.js +27 -0
- package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/recommendedCredit.spec.js.map +1 -0
- package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/rewardsDisplay.js +14 -0
- package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/rewardsDisplay.js.map +1 -0
- package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/rewardsDisplay.spec.js +29 -0
- package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/rewardsDisplay.spec.js.map +1 -0
- package/lib/module/capabilities/offer-catalog/src/utils/stats/index.js +41 -0
- package/lib/module/capabilities/offer-catalog/src/utils/stats/index.js.map +1 -0
- package/lib/module/capabilities/offer-catalog/src/utils/stats/types.js +2 -0
- package/lib/module/capabilities/offer-catalog/src/utils/stats/types.js.map +1 -0
- package/lib/module/capabilities/offers/pipeline/src/sources/ratetables/offer-catalog/types/index.js +2 -0
- package/lib/module/capabilities/offers/pipeline/src/sources/ratetables/offer-catalog/types/index.js.map +1 -0
- package/lib/module/capabilities/offers/pipeline/src/sources/ratetables/offer-catalog/types/oas/offer-catalog.js +2 -0
- package/lib/module/capabilities/offers/pipeline/src/sources/ratetables/offer-catalog/types/oas/offer-catalog.js.map +1 -0
- package/lib/module/capabilities/offers/pipeline/src/sources/ratetables/types/PublicApi.d.js +2 -0
- package/lib/module/capabilities/offers/pipeline/src/sources/ratetables/types/PublicApi.d.js.map +1 -0
- package/lib/module/capabilities/offers/pipeline/src/sources/ratetables/types/index.js +2 -0
- package/lib/module/capabilities/offers/pipeline/src/sources/ratetables/types/index.js.map +1 -0
- package/lib/module/capabilities/offers/pipeline/src/sources/ratetables/withDeviceSignals.js +65 -0
- package/lib/module/capabilities/offers/pipeline/src/sources/ratetables/withDeviceSignals.js.map +1 -0
- package/lib/module/capabilities/ui/elements/src/components/MarkdownText/Abbreviation.js +50 -0
- package/lib/module/capabilities/ui/elements/src/components/MarkdownText/Abbreviation.js.map +1 -0
- package/lib/module/capabilities/ui/elements/src/components/MarkdownText/components.js +133 -0
- package/lib/module/capabilities/ui/elements/src/components/MarkdownText/components.js.map +1 -0
- package/lib/module/capabilities/ui/elements/src/components/MarkdownText/index.js +46 -0
- package/lib/module/capabilities/ui/elements/src/components/MarkdownText/index.js.map +1 -0
- package/lib/module/capabilities/ui/elements/src/components/MarkdownText/markdownPreprocessor.js +115 -0
- package/lib/module/capabilities/ui/elements/src/components/MarkdownText/markdownPreprocessor.js.map +1 -0
- package/lib/module/capabilities/ui/elements/src/components/index.js +2 -0
- package/lib/module/capabilities/ui/elements/src/components/index.js.map +1 -0
- package/lib/module/capabilities/ui/elements/src/components/thumbor/index.js +103 -0
- package/lib/module/capabilities/ui/elements/src/components/thumbor/index.js.map +1 -0
- package/lib/module/capabilities/ui/elements/src/components/thumbor/useSvgUriViewBox.js +86 -0
- package/lib/module/capabilities/ui/elements/src/components/thumbor/useSvgUriViewBox.js.map +1 -0
- package/lib/module/capabilities/ui/elements/src/components/thumbor/useSvgUriViewBox.test.js +43 -0
- package/lib/module/capabilities/ui/elements/src/components/thumbor/useSvgUriViewBox.test.js.map +1 -0
- package/lib/module/capabilities/ui/elements/src/index.js +3 -0
- package/lib/module/capabilities/ui/elements/src/index.js.map +1 -0
- package/lib/module/capabilities/ui/elements/src/offerCardAttributes.js +16 -0
- package/lib/module/capabilities/ui/elements/src/offerCardAttributes.js.map +1 -0
- package/lib/module/components/Cards/VideosCard/VideoContent.js +35 -30
- package/lib/module/components/Cards/VideosCard/VideoContent.js.map +1 -1
- package/lib/module/components/Cards/VideosCard/VideosCard.js +1 -1
- package/lib/module/components/Common/BaseOfferCard/Stat/Stat.js +1 -2
- package/lib/module/components/Common/BaseOfferCard/Stat/Stat.js.map +1 -1
- package/lib/module/components/Common/BaseOfferCard/index.js +3 -4
- package/lib/module/components/Common/BaseOfferCard/index.js.map +1 -1
- package/lib/module/components/DynamicOffers/DynamicOffers.js +1 -1
- package/lib/module/components/DynamicOffers/DynamicOffers.js.map +1 -1
- package/lib/module/components/DynamicOffers/Render/DynamicOffersRender.js +1 -1
- package/lib/module/components/DynamicOffers/Render/DynamicOffersRender.js.map +1 -1
- package/lib/module/components/Layouts/CreditCardOfferCard/statsBuilder.js +1 -1
- package/lib/module/components/Layouts/CreditCardOfferCard/statsBuilder.js.map +1 -1
- package/lib/module/components/Layouts/DefaultOfferCard/statsBuilder.js +1 -1
- package/lib/module/components/Layouts/DefaultOfferCard/statsBuilder.js.map +1 -1
- package/lib/module/components/Modal/DescriptionPoints.js +2 -2
- package/lib/module/components/Modal/DescriptionPoints.js.map +1 -1
- package/lib/module/components/Modal/Disclaimer.js +1 -1
- package/lib/module/components/Modal/Disclaimer.js.map +1 -1
- package/lib/module/components/MoneyLionOfferCarousel.js +1 -1
- package/lib/module/components/MoneyLionOfferCarousel.js.map +1 -1
- package/lib/module/config/mocks/cnfContext.js +137 -0
- package/lib/module/config/mocks/cnfContext.js.map +1 -0
- package/lib/module/pageData.js +1 -1
- package/lib/module/pageData.js.map +1 -1
- package/lib/module/services/getProductTypesByQuery.js +1 -1
- package/lib/module/services/getProductTypesByQuery.js.map +1 -1
- package/lib/module/utils/formatOfferUrl.js +1 -1
- package/lib/module/utils/formatOfferUrl.js.map +1 -1
- package/lib/module/utils/getOffersByProductTypes.js +2 -2
- package/lib/module/utils/getOffersByProductTypes.js.map +1 -1
- package/lib/typescript/src/builder/builder.d.ts.map +1 -0
- package/lib/typescript/src/builder/config/types.d.ts.map +1 -0
- package/lib/typescript/src/builder/index.d.ts.map +1 -0
- package/lib/typescript/src/capabilities/configuration/src/brands/checkVisualEligibility.d.ts.map +1 -0
- package/lib/typescript/src/capabilities/configuration/src/brands/createDerivedBrands.d.ts.map +1 -0
- package/lib/typescript/src/capabilities/configuration/src/brands/index.d.ts.map +1 -0
- package/lib/typescript/src/capabilities/configuration/src/brands/types.d.ts.map +1 -0
- package/lib/typescript/src/capabilities/core/src/domain/third-party-search/index.d.ts.map +1 -0
- package/lib/typescript/src/capabilities/core/src/domain/third-party-search/orderProductTypesByRankUtils.d.ts.map +1 -0
- package/lib/typescript/src/capabilities/core/src/index.d.ts.map +1 -0
- package/lib/typescript/src/capabilities/core/src/system/cnfContext/CnfContext.d.ts.map +1 -0
- package/lib/typescript/src/capabilities/core/src/system/cnfContext/schemas/App.d.ts.map +1 -0
- package/lib/typescript/src/capabilities/core/src/system/cnfContext/schemas/Brand.d.ts.map +1 -0
- package/lib/typescript/src/capabilities/core/src/system/cnfContext/schemas/Configuration.d.ts.map +1 -0
- package/lib/typescript/src/capabilities/core/src/system/cnfContext/schemas/Request.d.ts.map +1 -0
- package/lib/typescript/src/capabilities/core/src/system/cnfContext/schemas/Session.d.ts.map +1 -0
- package/lib/typescript/src/capabilities/core/src/system/cnfContext/schemas/Signals.d.ts.map +1 -0
- package/lib/typescript/src/capabilities/core/src/system/cnfContext/schemas/Subaccount.d.ts.map +1 -0
- package/lib/typescript/src/capabilities/core/src/system/cnfContext/schemas/index.d.ts.map +1 -0
- package/lib/typescript/src/capabilities/offer-catalog/src/api/offerCatalogApi.d.ts.map +1 -0
- package/lib/typescript/src/capabilities/offer-catalog/src/index.d.ts.map +1 -0
- package/lib/typescript/src/capabilities/offer-catalog/src/types/offerCatalogSchema.d.ts.map +1 -0
- package/lib/typescript/src/capabilities/offer-catalog/src/utils/arrayToMarkdownList.d.ts.map +1 -0
- package/lib/typescript/src/capabilities/offer-catalog/src/utils/contextUtil.d.ts.map +1 -0
- package/lib/typescript/src/capabilities/offer-catalog/src/utils/errorUtil.d.ts.map +1 -0
- package/lib/typescript/src/capabilities/offer-catalog/src/utils/formatUtils.d.ts.map +1 -0
- package/lib/typescript/src/capabilities/offer-catalog/src/utils/getOfferUrl.d.ts.map +1 -0
- package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/annualFee.d.ts.map +1 -0
- package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/boolean.d.ts.map +1 -0
- package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/boolean.spec.d.ts.map +1 -0
- package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/common.d.ts.map +1 -0
- package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/common.spec.d.ts.map +1 -0
- package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/creditBureaus.d.ts.map +1 -0
- package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/creditBureaus.spec.d.ts.map +1 -0
- package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/currency.d.ts.map +1 -0
- package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/currencyOrBasis.d.ts.map +1 -0
- package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/currencyOrBasis.spec.d.ts.map +1 -0
- package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/freeTrialDays.d.ts.map +1 -0
- package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/freeTrialDays.spec.d.ts.map +1 -0
- package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/fromListStringWithAnd.d.ts.map +1 -0
- package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/fromListStringWithAnd.spec.d.ts.map +1 -0
- package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/index.d.ts.map +1 -0
- package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/monthlyOrAnnualCurrency.d.ts.map +1 -0
- package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/monthlyOrAnnualCurrency.spec.d.ts.map +1 -0
- package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/percentage.d.ts.map +1 -0
- package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/percentage.spec.d.ts.map +1 -0
- package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/purchaseApr.d.ts.map +1 -0
- package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/purchaseApr.spec.d.ts.map +1 -0
- package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/rangeCurrency.d.ts.map +1 -0
- package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/rangeCurrencyByTime.d.ts.map +1 -0
- package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/rangeCurrencyByTime.spec.d.ts.map +1 -0
- package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/rangeCurrencyUnabbreviated.d.ts.map +1 -0
- package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/rangeCurrencyUnabbreviated.spec.d.ts.map +1 -0
- package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/rangeMonths.d.ts.map +1 -0
- package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/rangeMonths.spec.d.ts.map +1 -0
- package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/rangePercent.d.ts.map +1 -0
- package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/rangePercent.spec.d.ts.map +1 -0
- package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/recommendedCredit.d.ts.map +1 -0
- package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/recommendedCredit.spec.d.ts.map +1 -0
- package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/rewardsDisplay.d.ts.map +1 -0
- package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/rewardsDisplay.spec.d.ts.map +1 -0
- package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/index.d.ts.map +1 -0
- package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/types.d.ts.map +1 -0
- package/lib/typescript/src/capabilities/offers/pipeline/src/sources/ratetables/offer-catalog/types/index.d.ts.map +1 -0
- package/lib/typescript/src/capabilities/offers/pipeline/src/sources/ratetables/offer-catalog/types/oas/offer-catalog.d.ts.map +1 -0
- package/lib/typescript/src/capabilities/offers/pipeline/src/sources/ratetables/types/index.d.ts.map +1 -0
- package/lib/typescript/{capabilities → src/capabilities}/offers/pipeline/src/sources/ratetables/withDeviceSignals.d.ts +9 -9
- package/lib/typescript/src/capabilities/offers/pipeline/src/sources/ratetables/withDeviceSignals.d.ts.map +1 -0
- package/lib/typescript/src/capabilities/ui/elements/src/components/MarkdownText/Abbreviation.d.ts.map +1 -0
- package/lib/typescript/{capabilities → src/capabilities}/ui/elements/src/components/MarkdownText/components.d.ts +1 -1
- package/lib/typescript/src/capabilities/ui/elements/src/components/MarkdownText/components.d.ts.map +1 -0
- package/lib/typescript/{capabilities → src/capabilities}/ui/elements/src/components/MarkdownText/index.d.ts +1 -1
- package/lib/typescript/src/capabilities/ui/elements/src/components/MarkdownText/index.d.ts.map +1 -0
- package/lib/typescript/src/capabilities/ui/elements/src/components/MarkdownText/markdownPreprocessor.d.ts.map +1 -0
- package/lib/typescript/src/capabilities/ui/elements/src/components/index.d.ts.map +1 -0
- package/lib/typescript/src/capabilities/ui/elements/src/components/thumbor/index.d.ts.map +1 -0
- package/lib/typescript/src/capabilities/ui/elements/src/components/thumbor/useSvgUriViewBox.d.ts.map +1 -0
- package/lib/typescript/src/capabilities/ui/elements/src/components/thumbor/useSvgUriViewBox.test.d.ts.map +1 -0
- package/lib/typescript/src/capabilities/ui/elements/src/index.d.ts.map +1 -0
- package/lib/typescript/src/capabilities/ui/elements/src/offerCardAttributes.d.ts.map +1 -0
- package/lib/typescript/src/components/Cards/VideosCard/VideoContent.d.ts +0 -8
- package/lib/typescript/src/components/Cards/VideosCard/VideoContent.d.ts.map +1 -1
- package/lib/typescript/src/components/Common/BaseOfferCard/Stat/Stat.d.ts +5 -1
- package/lib/typescript/src/components/Common/BaseOfferCard/Stat/Stat.d.ts.map +1 -1
- package/lib/typescript/src/components/Common/BaseOfferCard/index.d.ts +2 -2
- package/lib/typescript/src/components/Common/BaseOfferCard/index.d.ts.map +1 -1
- package/lib/typescript/src/components/Common/DynamicOfferCard/CallToAction.d.ts +1 -1
- package/lib/typescript/src/components/Common/DynamicOfferCard/CallToAction.d.ts.map +1 -1
- package/lib/typescript/src/components/Common/DynamicOfferCard/SeeMore.d.ts +1 -1
- package/lib/typescript/src/components/Common/DynamicOfferCard/SeeMore.d.ts.map +1 -1
- package/lib/typescript/src/components/Common/DynamicOfferCard/index.d.ts +1 -1
- package/lib/typescript/src/components/Common/DynamicOfferCard/index.d.ts.map +1 -1
- package/lib/typescript/src/components/DynamicOffers/Render/DynamicOffersRender.d.ts +2 -2
- package/lib/typescript/src/components/DynamicOffers/Render/DynamicOffersRender.d.ts.map +1 -1
- package/lib/typescript/src/components/DynamicOffers/Render/FallbackOfferTemplate.d.ts +1 -1
- package/lib/typescript/src/components/DynamicOffers/Render/FallbackOfferTemplate.d.ts.map +1 -1
- package/lib/typescript/src/components/DynamicOffers/Render/Offer.d.ts +2 -2
- package/lib/typescript/src/components/DynamicOffers/Render/Offer.d.ts.map +1 -1
- package/lib/typescript/src/components/Layouts/CreditCardOfferCard/index.d.ts +2 -2
- package/lib/typescript/src/components/Layouts/CreditCardOfferCard/index.d.ts.map +1 -1
- package/lib/typescript/src/components/Layouts/CreditCardOfferCard/statsBuilder.d.ts +3 -3
- package/lib/typescript/src/components/Layouts/CreditCardOfferCard/statsBuilder.d.ts.map +1 -1
- package/lib/typescript/src/components/Layouts/DefaultOfferCard/index.d.ts +2 -2
- package/lib/typescript/src/components/Layouts/DefaultOfferCard/index.d.ts.map +1 -1
- package/lib/typescript/src/components/Layouts/DefaultOfferCard/statsBuilder.d.ts +4 -4
- package/lib/typescript/src/components/Layouts/DefaultOfferCard/statsBuilder.d.ts.map +1 -1
- package/lib/typescript/src/components/Layouts/HeadlineWithDescriptionCard/index.d.ts +2 -2
- package/lib/typescript/src/components/Layouts/HeadlineWithDescriptionCard/index.d.ts.map +1 -1
- package/lib/typescript/src/components/Modal/OfferDetailsModal.d.ts +1 -1
- package/lib/typescript/src/components/Modal/OfferDetailsModal.d.ts.map +1 -1
- package/lib/typescript/src/config/mocks/cnfContext.d.ts.map +1 -0
- package/lib/typescript/src/context/EventHandlerProvider.d.ts +1 -1
- package/lib/typescript/src/context/EventHandlerProvider.d.ts.map +1 -1
- package/lib/typescript/src/pageData.d.ts +2 -2
- package/lib/typescript/src/pageData.d.ts.map +1 -1
- package/lib/typescript/src/services/getDynamicOffers.d.ts +3 -3
- package/lib/typescript/src/services/getDynamicOffers.d.ts.map +1 -1
- package/lib/typescript/src/utils/addClientTagsToOfferLinks.d.ts +1 -1
- package/lib/typescript/src/utils/addClientTagsToOfferLinks.d.ts.map +1 -1
- package/lib/typescript/src/utils/formatOfferUrl.d.ts +1 -1
- package/lib/typescript/src/utils/formatOfferUrl.d.ts.map +1 -1
- package/lib/typescript/src/utils/getDefaultProductType.d.ts +1 -1
- package/lib/typescript/src/utils/getDefaultProductType.d.ts.map +1 -1
- package/lib/typescript/src/utils/getEnableUseCachedOffers.d.ts +1 -1
- package/lib/typescript/src/utils/getEnableUseCachedOffers.d.ts.map +1 -1
- package/lib/typescript/src/utils/getOffersBasedOnLayout.d.ts +1 -1
- package/lib/typescript/src/utils/getOffersBasedOnLayout.d.ts.map +1 -1
- package/lib/typescript/src/utils/getOffersByProductTypes.d.ts +2 -2
- package/lib/typescript/src/utils/getOffersByProductTypes.d.ts.map +1 -1
- package/lib/typescript/src/utils/getProductTypesDefinition.d.ts +1 -1
- package/lib/typescript/src/utils/getProductTypesDefinition.d.ts.map +1 -1
- package/lib/typescript/src/utils/selectDynamicOffers.d.ts +1 -1
- package/lib/typescript/src/utils/selectDynamicOffers.d.ts.map +1 -1
- package/lib/typescript/src/utils/sortOffersByRecommendationScore.d.ts +1 -1
- package/lib/typescript/src/utils/sortOffersByRecommendationScore.d.ts.map +1 -1
- package/package.json +1 -7
- package/src/builder/builder.ts +500 -0
- package/src/builder/config/types.ts +107 -0
- package/src/builder/index.ts +2 -0
- package/src/capabilities/configuration/src/brands/checkVisualEligibility.ts +29 -0
- package/src/capabilities/configuration/src/brands/createDerivedBrands.ts +39 -0
- package/src/capabilities/configuration/src/brands/index.ts +2 -0
- package/src/capabilities/configuration/src/brands/types.ts +8 -0
- package/src/capabilities/core/src/domain/third-party-search/index.ts +1 -0
- package/src/capabilities/core/src/domain/third-party-search/orderProductTypesByRankUtils.ts +33 -0
- package/src/capabilities/core/src/index.ts +1 -0
- package/src/capabilities/core/src/system/cnfContext/CnfContext.ts +21 -0
- package/src/capabilities/core/src/system/cnfContext/schemas/App.ts +13 -0
- package/src/capabilities/core/src/system/cnfContext/schemas/Brand.ts +119 -0
- package/src/capabilities/core/src/system/cnfContext/schemas/Configuration.ts +49 -0
- package/src/capabilities/core/src/system/cnfContext/schemas/Request.ts +16 -0
- package/src/capabilities/core/src/system/cnfContext/schemas/Session.ts +9 -0
- package/src/capabilities/core/src/system/cnfContext/schemas/Signals.ts +47 -0
- package/src/capabilities/core/src/system/cnfContext/schemas/Subaccount.ts +25 -0
- package/src/capabilities/core/src/system/cnfContext/schemas/index.ts +7 -0
- package/src/capabilities/offer-catalog/src/api/offerCatalogApi.ts +171 -0
- package/src/capabilities/offer-catalog/src/index.ts +10 -0
- package/src/capabilities/offer-catalog/src/types/offerCatalogSchema.ts +119 -0
- package/src/capabilities/offer-catalog/src/utils/arrayToMarkdownList.ts +3 -0
- package/src/capabilities/offer-catalog/src/utils/contextUtil.ts +73 -0
- package/src/capabilities/offer-catalog/src/utils/errorUtil.ts +18 -0
- package/src/capabilities/offer-catalog/src/utils/formatUtils.ts +168 -0
- package/src/capabilities/offer-catalog/src/utils/getOfferUrl.ts +61 -0
- package/src/capabilities/offer-catalog/src/utils/stats/formatters/annualFee.ts +103 -0
- package/src/capabilities/offer-catalog/src/utils/stats/formatters/boolean.spec.ts +58 -0
- package/src/capabilities/offer-catalog/src/utils/stats/formatters/boolean.ts +31 -0
- package/src/capabilities/offer-catalog/src/utils/stats/formatters/common.spec.ts +60 -0
- package/src/capabilities/offer-catalog/src/utils/stats/formatters/common.ts +31 -0
- package/src/capabilities/offer-catalog/src/utils/stats/formatters/creditBureaus.spec.ts +29 -0
- package/src/capabilities/offer-catalog/src/utils/stats/formatters/creditBureaus.ts +36 -0
- package/src/capabilities/offer-catalog/src/utils/stats/formatters/currency.ts +24 -0
- package/src/capabilities/offer-catalog/src/utils/stats/formatters/currencyOrBasis.spec.ts +206 -0
- package/src/capabilities/offer-catalog/src/utils/stats/formatters/currencyOrBasis.ts +83 -0
- package/src/capabilities/offer-catalog/src/utils/stats/formatters/freeTrialDays.spec.ts +22 -0
- package/src/capabilities/offer-catalog/src/utils/stats/formatters/freeTrialDays.ts +25 -0
- package/src/capabilities/offer-catalog/src/utils/stats/formatters/fromListStringWithAnd.spec.ts +38 -0
- package/src/capabilities/offer-catalog/src/utils/stats/formatters/fromListStringWithAnd.ts +24 -0
- package/src/capabilities/offer-catalog/src/utils/stats/formatters/index.ts +19 -0
- package/src/capabilities/offer-catalog/src/utils/stats/formatters/monthlyOrAnnualCurrency.spec.ts +41 -0
- package/src/capabilities/offer-catalog/src/utils/stats/formatters/monthlyOrAnnualCurrency.ts +52 -0
- package/src/capabilities/offer-catalog/src/utils/stats/formatters/percentage.spec.ts +30 -0
- package/src/capabilities/offer-catalog/src/utils/stats/formatters/percentage.ts +23 -0
- package/src/capabilities/offer-catalog/src/utils/stats/formatters/purchaseApr.spec.ts +67 -0
- package/src/capabilities/offer-catalog/src/utils/stats/formatters/purchaseApr.ts +92 -0
- package/src/capabilities/offer-catalog/src/utils/stats/formatters/rangeCurrency.ts +34 -0
- package/src/capabilities/offer-catalog/src/utils/stats/formatters/rangeCurrencyByTime.spec.ts +70 -0
- package/src/capabilities/offer-catalog/src/utils/stats/formatters/rangeCurrencyByTime.ts +71 -0
- package/src/capabilities/offer-catalog/src/utils/stats/formatters/rangeCurrencyUnabbreviated.spec.ts +27 -0
- package/src/capabilities/offer-catalog/src/utils/stats/formatters/rangeCurrencyUnabbreviated.ts +38 -0
- package/src/capabilities/offer-catalog/src/utils/stats/formatters/rangeMonths.spec.ts +44 -0
- package/src/capabilities/offer-catalog/src/utils/stats/formatters/rangeMonths.ts +68 -0
- package/src/capabilities/offer-catalog/src/utils/stats/formatters/rangePercent.spec.ts +81 -0
- package/src/capabilities/offer-catalog/src/utils/stats/formatters/rangePercent.ts +38 -0
- package/src/capabilities/offer-catalog/src/utils/stats/formatters/recommendedCredit.spec.ts +26 -0
- package/src/capabilities/offer-catalog/src/utils/stats/formatters/recommendedCredit.ts +45 -0
- package/src/capabilities/offer-catalog/src/utils/stats/formatters/rewardsDisplay.spec.ts +28 -0
- package/src/capabilities/offer-catalog/src/utils/stats/formatters/rewardsDisplay.ts +23 -0
- package/src/capabilities/offer-catalog/src/utils/stats/index.ts +141 -0
- package/src/capabilities/offer-catalog/src/utils/stats/types.ts +47 -0
- package/src/capabilities/offers/pipeline/src/sources/ratetables/offer-catalog/types/index.ts +6 -0
- package/src/capabilities/offers/pipeline/src/sources/ratetables/offer-catalog/types/oas/offer-catalog.ts +2272 -0
- package/src/capabilities/offers/pipeline/src/sources/ratetables/types/PublicApi.d.ts +1924 -0
- package/src/capabilities/offers/pipeline/src/sources/ratetables/types/index.ts +5 -0
- package/src/capabilities/offers/pipeline/src/sources/ratetables/withDeviceSignals.ts +83 -0
- package/src/capabilities/ui/elements/src/components/MarkdownText/Abbreviation.tsx +66 -0
- package/src/capabilities/ui/elements/src/components/MarkdownText/components.tsx +174 -0
- package/src/capabilities/ui/elements/src/components/MarkdownText/index.tsx +52 -0
- package/src/capabilities/ui/elements/src/components/MarkdownText/markdownPreprocessor.ts +124 -0
- package/src/capabilities/ui/elements/src/components/index.ts +1 -0
- package/src/capabilities/ui/elements/src/components/thumbor/index.tsx +115 -0
- package/src/capabilities/ui/elements/src/components/thumbor/useSvgUriViewBox.test.ts +42 -0
- package/src/capabilities/ui/elements/src/components/thumbor/useSvgUriViewBox.ts +110 -0
- package/src/capabilities/ui/elements/src/index.ts +3 -0
- package/src/capabilities/ui/elements/src/offerCardAttributes.ts +28 -0
- package/src/components/Cards/VideosCard/VideoContent.tsx +32 -34
- package/src/components/Cards/VideosCard/VideosCard.tsx +1 -1
- package/src/components/Common/BaseOfferCard/Stat/Stat.tsx +7 -2
- package/src/components/Common/BaseOfferCard/index.tsx +3 -4
- package/src/components/Common/DynamicOfferCard/CallToAction.tsx +1 -1
- package/src/components/Common/DynamicOfferCard/SeeMore.tsx +1 -1
- package/src/components/Common/DynamicOfferCard/index.tsx +1 -1
- package/src/components/DynamicOffers/DynamicOffers.tsx +1 -1
- package/src/components/DynamicOffers/Render/DynamicOffersRender.tsx +2 -2
- package/src/components/DynamicOffers/Render/FallbackOfferTemplate.tsx +1 -1
- package/src/components/DynamicOffers/Render/Offer.tsx +2 -2
- package/src/components/Layouts/CreditCardOfferCard/index.tsx +2 -2
- package/src/components/Layouts/CreditCardOfferCard/statsBuilder.tsx +3 -3
- package/src/components/Layouts/DefaultOfferCard/index.tsx +2 -2
- package/src/components/Layouts/DefaultOfferCard/statsBuilder.tsx +3 -3
- package/src/components/Layouts/HeadlineWithDescriptionCard/index.tsx +2 -2
- package/src/components/Modal/DescriptionPoints.tsx +2 -2
- package/src/components/Modal/Disclaimer.tsx +1 -1
- package/src/components/Modal/OfferDetailsModal.tsx +1 -1
- package/src/components/MoneyLionOfferCarousel.tsx +2 -2
- package/src/config/mocks/cnfContext.ts +136 -0
- package/src/context/EventHandlerProvider.tsx +1 -1
- package/src/pageData.ts +2 -2
- package/src/services/getDynamicOffers.ts +2 -2
- package/src/services/getProductTypesByQuery.ts +1 -1
- package/src/utils/addClientTagsToOfferLinks.ts +1 -1
- package/src/utils/formatOfferUrl.ts +1 -1
- package/src/utils/getDefaultProductType.ts +1 -1
- package/src/utils/getEnableUseCachedOffers.ts +1 -1
- package/src/utils/getOffersBasedOnLayout.ts +1 -1
- package/src/utils/getOffersByProductTypes.ts +3 -3
- package/src/utils/getProductTypesDefinition.ts +1 -1
- package/src/utils/selectDynamicOffers.ts +1 -1
- package/src/utils/sortOffersByRecommendationScore.ts +1 -1
- package/lib/typescript/builder/builder.d.ts.map +0 -1
- package/lib/typescript/builder/config/types.d.ts.map +0 -1
- package/lib/typescript/builder/index.d.ts.map +0 -1
- package/lib/typescript/capabilities/configuration/src/brands/checkVisualEligibility.d.ts.map +0 -1
- package/lib/typescript/capabilities/configuration/src/brands/createDerivedBrands.d.ts.map +0 -1
- package/lib/typescript/capabilities/configuration/src/brands/index.d.ts.map +0 -1
- package/lib/typescript/capabilities/configuration/src/brands/types.d.ts.map +0 -1
- package/lib/typescript/capabilities/core/src/domain/third-party-search/index.d.ts.map +0 -1
- package/lib/typescript/capabilities/core/src/domain/third-party-search/orderProductTypesByRankUtils.d.ts.map +0 -1
- package/lib/typescript/capabilities/core/src/index.d.ts.map +0 -1
- package/lib/typescript/capabilities/core/src/system/cnfContext/CnfContext.d.ts.map +0 -1
- package/lib/typescript/capabilities/core/src/system/cnfContext/schemas/App.d.ts.map +0 -1
- package/lib/typescript/capabilities/core/src/system/cnfContext/schemas/Brand.d.ts.map +0 -1
- package/lib/typescript/capabilities/core/src/system/cnfContext/schemas/Configuration.d.ts.map +0 -1
- package/lib/typescript/capabilities/core/src/system/cnfContext/schemas/Request.d.ts.map +0 -1
- package/lib/typescript/capabilities/core/src/system/cnfContext/schemas/Session.d.ts.map +0 -1
- package/lib/typescript/capabilities/core/src/system/cnfContext/schemas/Signals.d.ts.map +0 -1
- package/lib/typescript/capabilities/core/src/system/cnfContext/schemas/Subaccount.d.ts.map +0 -1
- package/lib/typescript/capabilities/core/src/system/cnfContext/schemas/index.d.ts.map +0 -1
- package/lib/typescript/capabilities/offer-catalog/src/api/offerCatalogApi.d.ts.map +0 -1
- package/lib/typescript/capabilities/offer-catalog/src/index.d.ts.map +0 -1
- package/lib/typescript/capabilities/offer-catalog/src/types/offerCatalogSchema.d.ts.map +0 -1
- package/lib/typescript/capabilities/offer-catalog/src/utils/arrayToMarkdownList.d.ts.map +0 -1
- package/lib/typescript/capabilities/offer-catalog/src/utils/contextUtil.d.ts.map +0 -1
- package/lib/typescript/capabilities/offer-catalog/src/utils/errorUtil.d.ts.map +0 -1
- package/lib/typescript/capabilities/offer-catalog/src/utils/formatUtils.d.ts.map +0 -1
- package/lib/typescript/capabilities/offer-catalog/src/utils/getOfferUrl.d.ts.map +0 -1
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/annualFee.d.ts.map +0 -1
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/boolean.d.ts.map +0 -1
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/boolean.spec.d.ts.map +0 -1
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/common.d.ts.map +0 -1
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/common.spec.d.ts.map +0 -1
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/creditBureaus.d.ts.map +0 -1
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/creditBureaus.spec.d.ts.map +0 -1
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/currency.d.ts.map +0 -1
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/currencyOrBasis.d.ts.map +0 -1
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/currencyOrBasis.spec.d.ts.map +0 -1
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/freeTrialDays.d.ts.map +0 -1
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/freeTrialDays.spec.d.ts.map +0 -1
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/fromListStringWithAnd.d.ts.map +0 -1
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/fromListStringWithAnd.spec.d.ts.map +0 -1
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/index.d.ts.map +0 -1
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/monthlyOrAnnualCurrency.d.ts.map +0 -1
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/monthlyOrAnnualCurrency.spec.d.ts.map +0 -1
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/percentage.d.ts.map +0 -1
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/percentage.spec.d.ts.map +0 -1
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/purchaseApr.d.ts.map +0 -1
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/purchaseApr.spec.d.ts.map +0 -1
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/rangeCurrency.d.ts.map +0 -1
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/rangeCurrencyByTime.d.ts.map +0 -1
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/rangeCurrencyByTime.spec.d.ts.map +0 -1
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/rangeCurrencyUnabbreviated.d.ts.map +0 -1
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/rangeCurrencyUnabbreviated.spec.d.ts.map +0 -1
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/rangeMonths.d.ts.map +0 -1
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/rangeMonths.spec.d.ts.map +0 -1
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/rangePercent.d.ts.map +0 -1
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/rangePercent.spec.d.ts.map +0 -1
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/recommendedCredit.d.ts.map +0 -1
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/recommendedCredit.spec.d.ts.map +0 -1
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/rewardsDisplay.d.ts.map +0 -1
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/rewardsDisplay.spec.d.ts.map +0 -1
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/index.d.ts.map +0 -1
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/types.d.ts.map +0 -1
- package/lib/typescript/capabilities/offers/pipeline/src/sources/ratetables/offer-catalog/types/index.d.ts.map +0 -1
- package/lib/typescript/capabilities/offers/pipeline/src/sources/ratetables/offer-catalog/types/oas/offer-catalog.d.ts.map +0 -1
- package/lib/typescript/capabilities/offers/pipeline/src/sources/ratetables/types/index.d.ts.map +0 -1
- package/lib/typescript/capabilities/offers/pipeline/src/sources/ratetables/withDeviceSignals.d.ts.map +0 -1
- package/lib/typescript/capabilities/offers/ux/src/elements/Stat/HyphenIcon.d.ts +0 -7
- package/lib/typescript/capabilities/offers/ux/src/elements/Stat/HyphenIcon.d.ts.map +0 -1
- package/lib/typescript/capabilities/offers/ux/src/elements/Stat/Stat.d.ts +0 -12
- package/lib/typescript/capabilities/offers/ux/src/elements/Stat/Stat.d.ts.map +0 -1
- package/lib/typescript/capabilities/offers/ux/src/elements/Stat/index.d.ts +0 -2
- package/lib/typescript/capabilities/offers/ux/src/elements/Stat/index.d.ts.map +0 -1
- package/lib/typescript/capabilities/ui/elements/src/components/MarkdownText/Abbreviation.d.ts.map +0 -1
- package/lib/typescript/capabilities/ui/elements/src/components/MarkdownText/components.d.ts.map +0 -1
- package/lib/typescript/capabilities/ui/elements/src/components/MarkdownText/index.d.ts.map +0 -1
- package/lib/typescript/capabilities/ui/elements/src/components/MarkdownText/markdownPreprocessor.d.ts.map +0 -1
- package/lib/typescript/capabilities/ui/elements/src/components/index.d.ts.map +0 -1
- package/lib/typescript/capabilities/ui/elements/src/components/thumbor/index.d.ts.map +0 -1
- package/lib/typescript/capabilities/ui/elements/src/components/thumbor/useSvgUriViewBox.d.ts.map +0 -1
- package/lib/typescript/capabilities/ui/elements/src/components/thumbor/useSvgUriViewBox.test.d.ts.map +0 -1
- package/lib/typescript/capabilities/ui/elements/src/index.d.ts.map +0 -1
- package/lib/typescript/capabilities/ui/elements/src/offerCardAttributes.d.ts.map +0 -1
- package/lib/typescript/config/mocks/cnfContext.d.ts.map +0 -1
- /package/lib/typescript/{builder → src/builder}/builder.d.ts +0 -0
- /package/lib/typescript/{builder → src/builder}/config/types.d.ts +0 -0
- /package/lib/typescript/{builder → src/builder}/index.d.ts +0 -0
- /package/lib/typescript/{capabilities → src/capabilities}/configuration/src/brands/checkVisualEligibility.d.ts +0 -0
- /package/lib/typescript/{capabilities → src/capabilities}/configuration/src/brands/createDerivedBrands.d.ts +0 -0
- /package/lib/typescript/{capabilities → src/capabilities}/configuration/src/brands/index.d.ts +0 -0
- /package/lib/typescript/{capabilities → src/capabilities}/configuration/src/brands/types.d.ts +0 -0
- /package/lib/typescript/{capabilities → src/capabilities}/core/src/domain/third-party-search/index.d.ts +0 -0
- /package/lib/typescript/{capabilities → src/capabilities}/core/src/domain/third-party-search/orderProductTypesByRankUtils.d.ts +0 -0
- /package/lib/typescript/{capabilities → src/capabilities}/core/src/index.d.ts +0 -0
- /package/lib/typescript/{capabilities → src/capabilities}/core/src/system/cnfContext/CnfContext.d.ts +0 -0
- /package/lib/typescript/{capabilities → src/capabilities}/core/src/system/cnfContext/schemas/App.d.ts +0 -0
- /package/lib/typescript/{capabilities → src/capabilities}/core/src/system/cnfContext/schemas/Brand.d.ts +0 -0
- /package/lib/typescript/{capabilities → src/capabilities}/core/src/system/cnfContext/schemas/Configuration.d.ts +0 -0
- /package/lib/typescript/{capabilities → src/capabilities}/core/src/system/cnfContext/schemas/Request.d.ts +0 -0
- /package/lib/typescript/{capabilities → src/capabilities}/core/src/system/cnfContext/schemas/Session.d.ts +0 -0
- /package/lib/typescript/{capabilities → src/capabilities}/core/src/system/cnfContext/schemas/Signals.d.ts +0 -0
- /package/lib/typescript/{capabilities → src/capabilities}/core/src/system/cnfContext/schemas/Subaccount.d.ts +0 -0
- /package/lib/typescript/{capabilities → src/capabilities}/core/src/system/cnfContext/schemas/index.d.ts +0 -0
- /package/lib/typescript/{capabilities → src/capabilities}/offer-catalog/src/api/offerCatalogApi.d.ts +0 -0
- /package/lib/typescript/{capabilities → src/capabilities}/offer-catalog/src/index.d.ts +0 -0
- /package/lib/typescript/{capabilities → src/capabilities}/offer-catalog/src/types/offerCatalogSchema.d.ts +0 -0
- /package/lib/typescript/{capabilities → src/capabilities}/offer-catalog/src/utils/arrayToMarkdownList.d.ts +0 -0
- /package/lib/typescript/{capabilities → src/capabilities}/offer-catalog/src/utils/contextUtil.d.ts +0 -0
- /package/lib/typescript/{capabilities → src/capabilities}/offer-catalog/src/utils/errorUtil.d.ts +0 -0
- /package/lib/typescript/{capabilities → src/capabilities}/offer-catalog/src/utils/formatUtils.d.ts +0 -0
- /package/lib/typescript/{capabilities → src/capabilities}/offer-catalog/src/utils/getOfferUrl.d.ts +0 -0
- /package/lib/typescript/{capabilities → src/capabilities}/offer-catalog/src/utils/stats/formatters/annualFee.d.ts +0 -0
- /package/lib/typescript/{capabilities → src/capabilities}/offer-catalog/src/utils/stats/formatters/boolean.d.ts +0 -0
- /package/lib/typescript/{capabilities → src/capabilities}/offer-catalog/src/utils/stats/formatters/boolean.spec.d.ts +0 -0
- /package/lib/typescript/{capabilities → src/capabilities}/offer-catalog/src/utils/stats/formatters/common.d.ts +0 -0
- /package/lib/typescript/{capabilities → src/capabilities}/offer-catalog/src/utils/stats/formatters/common.spec.d.ts +0 -0
- /package/lib/typescript/{capabilities → src/capabilities}/offer-catalog/src/utils/stats/formatters/creditBureaus.d.ts +0 -0
- /package/lib/typescript/{capabilities → src/capabilities}/offer-catalog/src/utils/stats/formatters/creditBureaus.spec.d.ts +0 -0
- /package/lib/typescript/{capabilities → src/capabilities}/offer-catalog/src/utils/stats/formatters/currency.d.ts +0 -0
- /package/lib/typescript/{capabilities → src/capabilities}/offer-catalog/src/utils/stats/formatters/currencyOrBasis.d.ts +0 -0
- /package/lib/typescript/{capabilities → src/capabilities}/offer-catalog/src/utils/stats/formatters/currencyOrBasis.spec.d.ts +0 -0
- /package/lib/typescript/{capabilities → src/capabilities}/offer-catalog/src/utils/stats/formatters/freeTrialDays.d.ts +0 -0
- /package/lib/typescript/{capabilities → src/capabilities}/offer-catalog/src/utils/stats/formatters/freeTrialDays.spec.d.ts +0 -0
- /package/lib/typescript/{capabilities → src/capabilities}/offer-catalog/src/utils/stats/formatters/fromListStringWithAnd.d.ts +0 -0
- /package/lib/typescript/{capabilities → src/capabilities}/offer-catalog/src/utils/stats/formatters/fromListStringWithAnd.spec.d.ts +0 -0
- /package/lib/typescript/{capabilities → src/capabilities}/offer-catalog/src/utils/stats/formatters/index.d.ts +0 -0
- /package/lib/typescript/{capabilities → src/capabilities}/offer-catalog/src/utils/stats/formatters/monthlyOrAnnualCurrency.d.ts +0 -0
- /package/lib/typescript/{capabilities → src/capabilities}/offer-catalog/src/utils/stats/formatters/monthlyOrAnnualCurrency.spec.d.ts +0 -0
- /package/lib/typescript/{capabilities → src/capabilities}/offer-catalog/src/utils/stats/formatters/percentage.d.ts +0 -0
- /package/lib/typescript/{capabilities → src/capabilities}/offer-catalog/src/utils/stats/formatters/percentage.spec.d.ts +0 -0
- /package/lib/typescript/{capabilities → src/capabilities}/offer-catalog/src/utils/stats/formatters/purchaseApr.d.ts +0 -0
- /package/lib/typescript/{capabilities → src/capabilities}/offer-catalog/src/utils/stats/formatters/purchaseApr.spec.d.ts +0 -0
- /package/lib/typescript/{capabilities → src/capabilities}/offer-catalog/src/utils/stats/formatters/rangeCurrency.d.ts +0 -0
- /package/lib/typescript/{capabilities → src/capabilities}/offer-catalog/src/utils/stats/formatters/rangeCurrencyByTime.d.ts +0 -0
- /package/lib/typescript/{capabilities → src/capabilities}/offer-catalog/src/utils/stats/formatters/rangeCurrencyByTime.spec.d.ts +0 -0
- /package/lib/typescript/{capabilities → src/capabilities}/offer-catalog/src/utils/stats/formatters/rangeCurrencyUnabbreviated.d.ts +0 -0
- /package/lib/typescript/{capabilities → src/capabilities}/offer-catalog/src/utils/stats/formatters/rangeCurrencyUnabbreviated.spec.d.ts +0 -0
- /package/lib/typescript/{capabilities → src/capabilities}/offer-catalog/src/utils/stats/formatters/rangeMonths.d.ts +0 -0
- /package/lib/typescript/{capabilities → src/capabilities}/offer-catalog/src/utils/stats/formatters/rangeMonths.spec.d.ts +0 -0
- /package/lib/typescript/{capabilities → src/capabilities}/offer-catalog/src/utils/stats/formatters/rangePercent.d.ts +0 -0
- /package/lib/typescript/{capabilities → src/capabilities}/offer-catalog/src/utils/stats/formatters/rangePercent.spec.d.ts +0 -0
- /package/lib/typescript/{capabilities → src/capabilities}/offer-catalog/src/utils/stats/formatters/recommendedCredit.d.ts +0 -0
- /package/lib/typescript/{capabilities → src/capabilities}/offer-catalog/src/utils/stats/formatters/recommendedCredit.spec.d.ts +0 -0
- /package/lib/typescript/{capabilities → src/capabilities}/offer-catalog/src/utils/stats/formatters/rewardsDisplay.d.ts +0 -0
- /package/lib/typescript/{capabilities → src/capabilities}/offer-catalog/src/utils/stats/formatters/rewardsDisplay.spec.d.ts +0 -0
- /package/lib/typescript/{capabilities → src/capabilities}/offer-catalog/src/utils/stats/index.d.ts +0 -0
- /package/lib/typescript/{capabilities → src/capabilities}/offer-catalog/src/utils/stats/types.d.ts +0 -0
- /package/lib/typescript/{capabilities → src/capabilities}/offers/pipeline/src/sources/ratetables/offer-catalog/types/index.d.ts +0 -0
- /package/lib/typescript/{capabilities → src/capabilities}/offers/pipeline/src/sources/ratetables/offer-catalog/types/oas/offer-catalog.d.ts +0 -0
- /package/lib/typescript/{capabilities → src/capabilities}/offers/pipeline/src/sources/ratetables/types/index.d.ts +0 -0
- /package/lib/typescript/{capabilities → src/capabilities}/ui/elements/src/components/MarkdownText/Abbreviation.d.ts +0 -0
- /package/lib/typescript/{capabilities → src/capabilities}/ui/elements/src/components/MarkdownText/markdownPreprocessor.d.ts +0 -0
- /package/lib/typescript/{capabilities → src/capabilities}/ui/elements/src/components/index.d.ts +0 -0
- /package/lib/typescript/{capabilities → src/capabilities}/ui/elements/src/components/thumbor/index.d.ts +0 -0
- /package/lib/typescript/{capabilities → src/capabilities}/ui/elements/src/components/thumbor/useSvgUriViewBox.d.ts +0 -0
- /package/lib/typescript/{capabilities → src/capabilities}/ui/elements/src/components/thumbor/useSvgUriViewBox.test.d.ts +0 -0
- /package/lib/typescript/{capabilities → src/capabilities}/ui/elements/src/index.d.ts +0 -0
- /package/lib/typescript/{capabilities → src/capabilities}/ui/elements/src/offerCardAttributes.d.ts +0 -0
- /package/lib/typescript/{config → src/config}/mocks/cnfContext.d.ts +0 -0
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.localCnfContext = void 0;
|
|
7
|
+
const localCnfContext = exports.localCnfContext = {
|
|
8
|
+
app: {
|
|
9
|
+
id: "65e0b569a53bf0a3cdb25886",
|
|
10
|
+
name: "apps/dynamic-offers",
|
|
11
|
+
registry: "590350749517.dkr.ecr.us-east-1.amazonaws.com",
|
|
12
|
+
repository: "apps/dynamic-offers",
|
|
13
|
+
syncStatus: "200",
|
|
14
|
+
createdAt: "2024-02-29T16:48:41.789Z",
|
|
15
|
+
updatedAt: "2024-03-14T21:25:57.457Z",
|
|
16
|
+
syncTimestamp: "2024-03-14T21:25:57.358Z"
|
|
17
|
+
},
|
|
18
|
+
brand: {
|
|
19
|
+
id: "65e126f2e89b8cb90c7b4c9c",
|
|
20
|
+
displayName: "Fiona",
|
|
21
|
+
domain: "fiona.com",
|
|
22
|
+
logos: {
|
|
23
|
+
horizontal: {
|
|
24
|
+
id: "65ee470fe89b8cb90c7b50bb",
|
|
25
|
+
autoCrop: false,
|
|
26
|
+
prefix: "media/images",
|
|
27
|
+
filename: "fiona-logo.svg",
|
|
28
|
+
mimeType: "image/svg+xml",
|
|
29
|
+
filesize: 1210,
|
|
30
|
+
width: 94,
|
|
31
|
+
height: 28,
|
|
32
|
+
createdAt: "2024-03-10T23:49:35.801Z",
|
|
33
|
+
updatedAt: "2024-03-10T23:49:36.027Z",
|
|
34
|
+
aiInference: {
|
|
35
|
+
status: "error",
|
|
36
|
+
error: "AggregateError with 2 errors"
|
|
37
|
+
},
|
|
38
|
+
url: "/cnf/thumbor/unsafe/images/fiona-logo.svg"
|
|
39
|
+
},
|
|
40
|
+
icon: null
|
|
41
|
+
},
|
|
42
|
+
type: "business",
|
|
43
|
+
palette: {
|
|
44
|
+
promotional: "#592b86",
|
|
45
|
+
generation: "provided",
|
|
46
|
+
colorScheme: "balanced",
|
|
47
|
+
positive: "#ec8a07",
|
|
48
|
+
critical: "#ce0202",
|
|
49
|
+
highlight: "#ec8a07",
|
|
50
|
+
neutral: "#14181f"
|
|
51
|
+
},
|
|
52
|
+
isLicensed: true,
|
|
53
|
+
allowedMarks: {
|
|
54
|
+
logo: true,
|
|
55
|
+
name: true
|
|
56
|
+
},
|
|
57
|
+
links: {
|
|
58
|
+
home: "https://fiona.com/",
|
|
59
|
+
terms: "https://fiona.com/terms",
|
|
60
|
+
support: "https://fiona.com/support",
|
|
61
|
+
privacy: "https://fiona.com/privacy"
|
|
62
|
+
},
|
|
63
|
+
createdAt: "2024-03-01T00:53:06.173Z",
|
|
64
|
+
updatedAt: "2024-04-06T03:04:26.443Z"
|
|
65
|
+
},
|
|
66
|
+
configuration: {
|
|
67
|
+
configuration: {
|
|
68
|
+
hideFooter: false,
|
|
69
|
+
enableUseCachedOffers: true,
|
|
70
|
+
defaultProductTypeSlug: "EarnedWageAccess",
|
|
71
|
+
partnersOverrideDefinition: [{
|
|
72
|
+
id: "674e142cc81f48523a394a4c",
|
|
73
|
+
overrideUrl: "https://www.moneylion.com",
|
|
74
|
+
financialInstitutionUuid: "ce913ded-e178-4bb8-b7ba-19692c914f73"
|
|
75
|
+
}],
|
|
76
|
+
productTypesDefinition: [{
|
|
77
|
+
id: "66f173b81b82e0868bd026be",
|
|
78
|
+
partnerPageUrl: "https://www.moneylion.com",
|
|
79
|
+
productTypeSlug: "EarnedWageAccess"
|
|
80
|
+
}]
|
|
81
|
+
},
|
|
82
|
+
app: {
|
|
83
|
+
name: "@apps/dynamic-offers"
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
request: {
|
|
87
|
+
zone: "cnf-loans",
|
|
88
|
+
channel: "fiona",
|
|
89
|
+
path: "compare/b9e0b935-45b8-4978-aef2-b96eb5bb250b?view=relevant",
|
|
90
|
+
pathname: "/compare/b9e0b935-45b8-4978-aef2-b96eb5bb250b",
|
|
91
|
+
query: "view=relevant",
|
|
92
|
+
searchParams: {},
|
|
93
|
+
host: "dev-cnf.fiona.com",
|
|
94
|
+
cnfAppBaseUrl: ""
|
|
95
|
+
},
|
|
96
|
+
signals: {
|
|
97
|
+
deviceSignals: {
|
|
98
|
+
id: "77449c35-820c-4132-9615-5c67656ce754",
|
|
99
|
+
state: {
|
|
100
|
+
name: "New York",
|
|
101
|
+
code: "NY"
|
|
102
|
+
},
|
|
103
|
+
postalCode: "90000",
|
|
104
|
+
city: "New York",
|
|
105
|
+
ipAddress: "",
|
|
106
|
+
country: "US",
|
|
107
|
+
isMobile: false,
|
|
108
|
+
os: "Mac OS - Chrome - 131.0.0.0",
|
|
109
|
+
userAgent: "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36"
|
|
110
|
+
},
|
|
111
|
+
partnerSignals: {
|
|
112
|
+
clientTags: {
|
|
113
|
+
test: "123"
|
|
114
|
+
}
|
|
115
|
+
},
|
|
116
|
+
referral: {},
|
|
117
|
+
lead: {
|
|
118
|
+
uuid: "8895affa-bc9c-4fdd-bb1f-c279f2b56065"
|
|
119
|
+
}
|
|
120
|
+
},
|
|
121
|
+
// slug: "cnf-loans",
|
|
122
|
+
subaccount: {
|
|
123
|
+
id: "66f1741c483647bbae99ff31",
|
|
124
|
+
name: "Dynamic Offer SubAccount Test ",
|
|
125
|
+
subaccount: null,
|
|
126
|
+
companyUuid: "65e0b642a53bf0a3cdb2592d",
|
|
127
|
+
publicToken: "1b1f307c-aef9-400e-b8c0-4503d59a9987_4534534-369d-4d50-80b7-8d4b6a027c0b",
|
|
128
|
+
supplySubaccountUuid: "d68d1f9d-b292-4f8a-9523-7e1fdc03edaa",
|
|
129
|
+
tags: [{
|
|
130
|
+
key: "system",
|
|
131
|
+
value: "cnf",
|
|
132
|
+
id: "65e0b64757fe814906690b34"
|
|
133
|
+
}, {
|
|
134
|
+
key: "app",
|
|
135
|
+
value: "dynamic-offers",
|
|
136
|
+
id: "65e0b65157fe814906690b35"
|
|
137
|
+
}],
|
|
138
|
+
createdAt: "2024-02-29T16:52:18.525Z",
|
|
139
|
+
updatedAt: "2024-02-29T16:52:41.609Z"
|
|
140
|
+
},
|
|
141
|
+
isDev: false
|
|
142
|
+
};
|
|
143
|
+
//# sourceMappingURL=cnfContext.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["localCnfContext","exports","app","id","name","registry","repository","syncStatus","createdAt","updatedAt","syncTimestamp","brand","displayName","domain","logos","horizontal","autoCrop","prefix","filename","mimeType","filesize","width","height","aiInference","status","error","url","icon","type","palette","promotional","generation","colorScheme","positive","critical","highlight","neutral","isLicensed","allowedMarks","logo","links","home","terms","support","privacy","configuration","hideFooter","enableUseCachedOffers","defaultProductTypeSlug","partnersOverrideDefinition","overrideUrl","financialInstitutionUuid","productTypesDefinition","partnerPageUrl","productTypeSlug","request","zone","channel","path","pathname","query","searchParams","host","cnfAppBaseUrl","signals","deviceSignals","state","code","postalCode","city","ipAddress","country","isMobile","os","userAgent","partnerSignals","clientTags","test","referral","lead","uuid","subaccount","companyUuid","publicToken","supplySubaccountUuid","tags","key","value","isDev"],"sourceRoot":"../../../../src","sources":["config/mocks/cnfContext.ts"],"mappings":";;;;;;AAEO,MAAMA,eAA2B,GAAAC,OAAA,CAAAD,eAAA,GAAG;EAC1CE,GAAG,EAAE;IACJC,EAAE,EAAE,0BAA0B;IAC9BC,IAAI,EAAE,qBAAqB;IAC3BC,QAAQ,EAAE,8CAA8C;IACxDC,UAAU,EAAE,qBAAqB;IACjCC,UAAU,EAAE,KAAK;IACjBC,SA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C5DC,IAAI,EAAE,CACL;MAAEC,GAAG,EAAE,QAAQ;MAAEC,KAAK,EAAE,KAAK;MAAEpF,EAAE,EAAE;IAA2B,CAAC,EAC/D;MAAEmF,GAAG,EAAE,KAAK;MAAEC,KAAK,EAAE,gBAAgB;MAAEpF,EAAE,EAAE;IAA2B,CAAC,CACvE;IACDK,SAAS,EAAE,0BAA0B;IACrCC,SAAS,EAAE;EACZ,CAAC;EACD+E,KAAK,EAAE;AACR,CAAC","ignoreList":[]}
|
package/lib/commonjs/pageData.js
CHANGED
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.getPageData = getPageData;
|
|
7
|
-
var _contextUtil = require("../capabilities/offer-catalog/src/utils/contextUtil");
|
|
7
|
+
var _contextUtil = require("../src/capabilities/offer-catalog/src/utils/contextUtil");
|
|
8
8
|
var _getDynamicOffers = require("./services/getDynamicOffers");
|
|
9
9
|
var _utils = require("./utils");
|
|
10
10
|
var _getEnableUseCachedOffers = require("./utils/getEnableUseCachedOffers");
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.getProductTypesByQuery = void 0;
|
|
7
7
|
var _effect = require("effect");
|
|
8
|
-
var _thirdPartySearch = require("../../capabilities/core/src/domain/third-party-search");
|
|
8
|
+
var _thirdPartySearch = require("../../src/capabilities/core/src/domain/third-party-search");
|
|
9
9
|
var _apiEnvironment = require("../apiEnvironment");
|
|
10
10
|
/**
|
|
11
11
|
* Get product types by query
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.formatOfferUrl = void 0;
|
|
7
|
-
var _src = require("../../capabilities/offer-catalog/src");
|
|
7
|
+
var _src = require("../../src/capabilities/offer-catalog/src");
|
|
8
8
|
/**
|
|
9
9
|
* Format the offer URL
|
|
10
10
|
* @param offers - The offers to format if needed
|
|
@@ -4,8 +4,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.getOffersByProductTypes = void 0;
|
|
7
|
-
var _offerCatalogApi = require("../../capabilities/offer-catalog/src/api/offerCatalogApi");
|
|
8
|
-
var _contextUtil = require("../../capabilities/offer-catalog/src/utils/contextUtil");
|
|
7
|
+
var _offerCatalogApi = require("../../src/capabilities/offer-catalog/src/api/offerCatalogApi");
|
|
8
|
+
var _contextUtil = require("../../src/capabilities/offer-catalog/src/utils/contextUtil");
|
|
9
9
|
/**
|
|
10
10
|
* Retrieves offers by product types.
|
|
11
11
|
*
|
|
@@ -0,0 +1,350 @@
|
|
|
1
|
+
export const productTypeBuilder = [{
|
|
2
|
+
layout: "defaultOfferCard",
|
|
3
|
+
productTypes: ["HomeEquityLoan", "HomeEquityLineOfCredit"],
|
|
4
|
+
topStats: [{
|
|
5
|
+
format: "rangeCurrency",
|
|
6
|
+
label: "Loan Amount",
|
|
7
|
+
initialFieldName: "amountCentsMin",
|
|
8
|
+
endFieldName: "amountCentsMax"
|
|
9
|
+
}],
|
|
10
|
+
stats: [{
|
|
11
|
+
format: "common",
|
|
12
|
+
label: "Min. Credit Score",
|
|
13
|
+
fieldName: "minCreditScore",
|
|
14
|
+
defaultValue: "No minimum"
|
|
15
|
+
}, {
|
|
16
|
+
format: "rangeMonths",
|
|
17
|
+
label: "Term Length",
|
|
18
|
+
initialFieldName: "termLengthMonthsMin",
|
|
19
|
+
endFieldName: "termLengthMonthsMax"
|
|
20
|
+
}]
|
|
21
|
+
}, {
|
|
22
|
+
layout: "defaultOfferCard",
|
|
23
|
+
productTypes: ["AutomobileRefinance", "AutomobileLoan"],
|
|
24
|
+
topStats: [{
|
|
25
|
+
format: "rangeCurrency",
|
|
26
|
+
label: "Loan Amount",
|
|
27
|
+
initialFieldName: "amountCentsMin",
|
|
28
|
+
endFieldName: "amountCentsMax"
|
|
29
|
+
}],
|
|
30
|
+
stats: [{
|
|
31
|
+
format: "rangePercent",
|
|
32
|
+
label: '${dynamicLabelValue} <abbr title="Annual Percentage Rate">APR</abbr>',
|
|
33
|
+
initialFieldName: "annualPercentageRateBasisPointsMin",
|
|
34
|
+
endFieldName: "annualPercentageRateBasisPointsMax",
|
|
35
|
+
dynamicLabelValue: "annualPercentageRateType"
|
|
36
|
+
}, {
|
|
37
|
+
format: "rangeMonths",
|
|
38
|
+
label: "Term Length",
|
|
39
|
+
initialFieldName: "termLengthMonthsMin",
|
|
40
|
+
endFieldName: "termLengthMonthsMax"
|
|
41
|
+
}]
|
|
42
|
+
}, {
|
|
43
|
+
layout: "defaultOfferCard",
|
|
44
|
+
productTypes: ["StudentLoan", "StudentLoanRefinance"],
|
|
45
|
+
topStats: [{
|
|
46
|
+
format: "rangeCurrency",
|
|
47
|
+
label: "Loan Amount",
|
|
48
|
+
initialFieldName: "amountCentsMin",
|
|
49
|
+
endFieldName: "amountCentsMax"
|
|
50
|
+
}],
|
|
51
|
+
stats: [{
|
|
52
|
+
format: "rangePercent",
|
|
53
|
+
label: '${dynamicLabelValue} <abbr title="Annual Percentage Rate">APR</abbr>',
|
|
54
|
+
initialFieldName: "annualPercentageRateBasisPointsMin",
|
|
55
|
+
endFieldName: "annualPercentageRateBasisPointsMax",
|
|
56
|
+
dynamicLabelValue: "annualPercentageRateType"
|
|
57
|
+
}, {
|
|
58
|
+
format: "rangeMonths",
|
|
59
|
+
label: "Term Length",
|
|
60
|
+
initialFieldName: "termLengthMonthsMin",
|
|
61
|
+
endFieldName: "termLengthMonthsMax"
|
|
62
|
+
}]
|
|
63
|
+
}, {
|
|
64
|
+
layout: "defaultOfferCard",
|
|
65
|
+
productTypes: ["BudgetingTools"],
|
|
66
|
+
topStats: [{
|
|
67
|
+
label: "Monthly Fee",
|
|
68
|
+
format: "rangeCurrency",
|
|
69
|
+
initialFieldName: "monthlyFeeCentsMin",
|
|
70
|
+
endFieldName: "monthlyFeeCentsMax"
|
|
71
|
+
}],
|
|
72
|
+
stats: [{
|
|
73
|
+
format: "boolean",
|
|
74
|
+
label: "Free Version",
|
|
75
|
+
fieldName: "freeVersion",
|
|
76
|
+
trueValue: "Yes",
|
|
77
|
+
falseValue: "No"
|
|
78
|
+
}, {
|
|
79
|
+
format: "freeTrial",
|
|
80
|
+
label: "Free Trial Days"
|
|
81
|
+
}]
|
|
82
|
+
}, {
|
|
83
|
+
layout: "headlineWithDescriptionCard",
|
|
84
|
+
productTypes: ["IncomeOpportunities"]
|
|
85
|
+
}, {
|
|
86
|
+
layout: "defaultOfferCard",
|
|
87
|
+
productTypes: ["BusinessLineOfCredit", "BusinessLendingMarketplace", "RevenueBasedFinancing"],
|
|
88
|
+
topStats: [{
|
|
89
|
+
format: "rangeCurrency",
|
|
90
|
+
label: "Amount",
|
|
91
|
+
initialFieldName: "amountCentsMin",
|
|
92
|
+
endFieldName: "amountCentsMax"
|
|
93
|
+
}],
|
|
94
|
+
stats: [{
|
|
95
|
+
format: "monthlyOrAnnualCurrency",
|
|
96
|
+
label: "Min. Monthly Revenue",
|
|
97
|
+
monthlyFieldName: "minMonthlyRevenueCents",
|
|
98
|
+
annualFieldName: "minMonthlyRevenueCents"
|
|
99
|
+
}, {
|
|
100
|
+
format: "common",
|
|
101
|
+
label: "Min. Credit Score",
|
|
102
|
+
fieldName: "minCreditScore",
|
|
103
|
+
defaultValue: "No minimum"
|
|
104
|
+
}]
|
|
105
|
+
}, {
|
|
106
|
+
layout: "defaultOfferCard",
|
|
107
|
+
productTypes: ["TaxFiling"],
|
|
108
|
+
topStats: [{
|
|
109
|
+
format: "rangeCurrency",
|
|
110
|
+
label: "Federal Filing Fee ",
|
|
111
|
+
initialFieldName: "federalFilingFeeCentsMin",
|
|
112
|
+
endFieldName: "federalFilingFeeCentsMax"
|
|
113
|
+
}],
|
|
114
|
+
stats: [{
|
|
115
|
+
format: "rangeCurrency",
|
|
116
|
+
label: "State Filing Fee",
|
|
117
|
+
initialFieldName: "stateFilingFeeCentsMin",
|
|
118
|
+
endFieldName: "stateFilingFeeCentsMax"
|
|
119
|
+
}, {
|
|
120
|
+
format: "listStringWithAnd",
|
|
121
|
+
label: "Free Filing",
|
|
122
|
+
fieldName: "freeTier"
|
|
123
|
+
}]
|
|
124
|
+
}, {
|
|
125
|
+
layout: "defaultOfferCard",
|
|
126
|
+
productTypes: ["CreditBuilderLoan", "CreditBuilderSecuredCreditCard", "CreditBuilderDebitCard", "RentUtilityBillReporting"],
|
|
127
|
+
topStats: [{
|
|
128
|
+
label: "Monthly Payments",
|
|
129
|
+
format: "rangeCurrency",
|
|
130
|
+
initialFieldName: "monthlyPaymentCentsMin",
|
|
131
|
+
endFieldName: "monthlyPaymentCentsMax"
|
|
132
|
+
}],
|
|
133
|
+
stats: [{
|
|
134
|
+
format: "BureausStat",
|
|
135
|
+
label: "Credit Bureau Reporting",
|
|
136
|
+
fieldName: "creditBureauReporting"
|
|
137
|
+
}]
|
|
138
|
+
}, {
|
|
139
|
+
layout: "defaultOfferCard",
|
|
140
|
+
productTypes: ["CashAdvance", "EarnedWageAccess", "OverdraftProtection"],
|
|
141
|
+
topStats: [{
|
|
142
|
+
label: "Amount",
|
|
143
|
+
format: "rangeCurrencyUnabbreviated",
|
|
144
|
+
initialFieldName: "amountCentsMin",
|
|
145
|
+
endFieldName: "amountCentsMax"
|
|
146
|
+
}],
|
|
147
|
+
stats: [{
|
|
148
|
+
label: "Monthly Payment",
|
|
149
|
+
format: "rangeCurrency",
|
|
150
|
+
initialFieldName: "monthlyFeeCentsMin",
|
|
151
|
+
endFieldName: "monthlyFeeCentsMax"
|
|
152
|
+
}, {
|
|
153
|
+
label: "Fast Transfer Fee",
|
|
154
|
+
format: "rangeCurrencyOrBasis",
|
|
155
|
+
initialFieldNameCurrency: "fastTransferFeeCentsMin",
|
|
156
|
+
endFieldNameCurrency: "fastTransferFeeCentsMax",
|
|
157
|
+
initialFieldNameBasisPoints: "fastTransferFeeBasisPointsMin",
|
|
158
|
+
endFieldNameBasisPoints: "fastTransferFeeBasisPointsMax"
|
|
159
|
+
}]
|
|
160
|
+
}, {
|
|
161
|
+
layout: "defaultOfferCard",
|
|
162
|
+
productTypes: ["CreditMonitoring"],
|
|
163
|
+
topStats: [{
|
|
164
|
+
label: "Monthly Payments",
|
|
165
|
+
format: "rangeCurrency",
|
|
166
|
+
initialFieldName: "monthlyPaymentCentsMin",
|
|
167
|
+
endFieldName: "monthlyPaymentCentsMax"
|
|
168
|
+
}],
|
|
169
|
+
stats: [{
|
|
170
|
+
label: "Supported Credit Bureaus",
|
|
171
|
+
format: "BureausStat",
|
|
172
|
+
fieldName: "supportedCreditBureaus"
|
|
173
|
+
}]
|
|
174
|
+
}, {
|
|
175
|
+
layout: "defaultOfferCard",
|
|
176
|
+
productTypes: ["RoboInvesting"],
|
|
177
|
+
topStats: [{
|
|
178
|
+
label: "Fees",
|
|
179
|
+
format: "rangeCurrencyByTime",
|
|
180
|
+
initialFieldNameByMonths: "monthlyFeeCentsMin",
|
|
181
|
+
endFieldNameByMonths: "monthlyFeeCentsMax",
|
|
182
|
+
initialFieldNameByYears: "annualAdvisoryFeeBasisPointsMin",
|
|
183
|
+
endFieldNameByYears: "annualAdvisoryFeeBasisPointsMax"
|
|
184
|
+
}],
|
|
185
|
+
stats: [{
|
|
186
|
+
label: "Min Amount to Open",
|
|
187
|
+
format: "currency",
|
|
188
|
+
fieldName: "minAmountToOpenCents",
|
|
189
|
+
raw: true
|
|
190
|
+
}]
|
|
191
|
+
}, {
|
|
192
|
+
layout: "defaultOfferCard",
|
|
193
|
+
productTypes: ["BankingAccount", "CheckingAccount"],
|
|
194
|
+
topStats: [{
|
|
195
|
+
label: "Monthly Fee",
|
|
196
|
+
format: "rangeCurrency",
|
|
197
|
+
initialFieldName: "monthlyFeeCentsMin",
|
|
198
|
+
endFieldName: "monthlyFeeCentsMax"
|
|
199
|
+
}],
|
|
200
|
+
stats: [{
|
|
201
|
+
label: "Out of Network ATM Fee",
|
|
202
|
+
format: "currency",
|
|
203
|
+
fieldName: "outOfNetworkAtmUsageFeeCents"
|
|
204
|
+
}, {
|
|
205
|
+
label: '<abbr title="Annual Percentage Yield">APY</abbr>',
|
|
206
|
+
format: "percentage",
|
|
207
|
+
fieldName: "annualPercentageYieldBasisPoints"
|
|
208
|
+
}]
|
|
209
|
+
}, {
|
|
210
|
+
layout: "defaultOfferCard",
|
|
211
|
+
productTypes: ["CancellationServices"],
|
|
212
|
+
topStats: [{
|
|
213
|
+
format: "rangeCurrency",
|
|
214
|
+
label: "Monthly Payment",
|
|
215
|
+
initialFieldName: "monthlyPaymentCentsMin",
|
|
216
|
+
endFieldName: "monthlyPaymentCentsMax"
|
|
217
|
+
}],
|
|
218
|
+
stats: [{
|
|
219
|
+
format: "freeTrial",
|
|
220
|
+
label: "Free Trial Days"
|
|
221
|
+
}, {
|
|
222
|
+
format: "listStringWithAnd",
|
|
223
|
+
label: "Supported Platforms",
|
|
224
|
+
fieldName: "supportedPlatforms"
|
|
225
|
+
}]
|
|
226
|
+
}, {
|
|
227
|
+
layout: "defaultOfferCard",
|
|
228
|
+
productTypes: ["BrokerageAccount"],
|
|
229
|
+
topStats: [{
|
|
230
|
+
format: "currency",
|
|
231
|
+
label: "Min Opening Amount",
|
|
232
|
+
fieldName: "minAmountToOpenCents",
|
|
233
|
+
raw: true
|
|
234
|
+
}],
|
|
235
|
+
stats: [{
|
|
236
|
+
format: "currency",
|
|
237
|
+
label: "Stock Trading Fee",
|
|
238
|
+
fieldName: "domesticOnlineStockTradingFeeCents"
|
|
239
|
+
}]
|
|
240
|
+
}, {
|
|
241
|
+
layout: "defaultOfferCard",
|
|
242
|
+
productTypes: ["CreditRepair"],
|
|
243
|
+
topStats: [{
|
|
244
|
+
format: "rangeCurrency",
|
|
245
|
+
label: "Setup Fee",
|
|
246
|
+
initialFieldName: "setupFeeCentsMin",
|
|
247
|
+
endFieldName: "setupFeeCentsMax"
|
|
248
|
+
}],
|
|
249
|
+
stats: [{
|
|
250
|
+
label: "Monthly Fee",
|
|
251
|
+
format: "rangeCurrency",
|
|
252
|
+
initialFieldName: "monthlyFeeCentsMin",
|
|
253
|
+
endFieldName: "monthlyFeeCentsMax"
|
|
254
|
+
}, {
|
|
255
|
+
format: "boolean",
|
|
256
|
+
label: "Unlimited Disputes",
|
|
257
|
+
fieldName: "unlimitedDisputes",
|
|
258
|
+
trueValue: "Yes",
|
|
259
|
+
falseValue: "No"
|
|
260
|
+
}]
|
|
261
|
+
}, {
|
|
262
|
+
layout: "defaultOfferCard",
|
|
263
|
+
productTypes: ["CashRewards"],
|
|
264
|
+
topStats: [{
|
|
265
|
+
format: "rangeCurrency",
|
|
266
|
+
initialFieldName: "monthlyFeeCentsMin",
|
|
267
|
+
endFieldName: "monthlyFeeCentsMax",
|
|
268
|
+
label: "Monthly Fee"
|
|
269
|
+
}],
|
|
270
|
+
stats: [{
|
|
271
|
+
format: "listStringWithAnd",
|
|
272
|
+
label: "Categories",
|
|
273
|
+
fieldName: "categories"
|
|
274
|
+
}, {
|
|
275
|
+
format: "listStringWithAnd",
|
|
276
|
+
label: "Payout Method",
|
|
277
|
+
fieldName: "payoutMethod"
|
|
278
|
+
}]
|
|
279
|
+
}, {
|
|
280
|
+
layout: "defaultOfferCard",
|
|
281
|
+
productTypes: ["DebtSettlement"],
|
|
282
|
+
topStats: [{
|
|
283
|
+
format: "rangePercent",
|
|
284
|
+
label: "Debt Enrollment Fee",
|
|
285
|
+
initialFieldName: "enrollmentFeeBasisPointsMin",
|
|
286
|
+
endFieldName: "enrollmentFeeBasisPointsMax"
|
|
287
|
+
}],
|
|
288
|
+
stats: [{
|
|
289
|
+
format: "currency",
|
|
290
|
+
label: "Minimum Debt Amount",
|
|
291
|
+
fieldName: "debtAmountCentsMin"
|
|
292
|
+
}, {
|
|
293
|
+
format: "listStringWithAnd",
|
|
294
|
+
label: "State Exclusions",
|
|
295
|
+
fieldName: "stateExclusions"
|
|
296
|
+
}]
|
|
297
|
+
}, {
|
|
298
|
+
productTypes: ["UnsecuredPersonalLoan", "SecuredPersonalLoan", "UnsecuredLineOfCredit"],
|
|
299
|
+
layout: "defaultOfferCard",
|
|
300
|
+
topStats: [{
|
|
301
|
+
format: "rangeCurrency",
|
|
302
|
+
label: "Loan Amount",
|
|
303
|
+
initialFieldName: "amountCentsMin",
|
|
304
|
+
endFieldName: "amountCentsMax"
|
|
305
|
+
}],
|
|
306
|
+
stats: [{
|
|
307
|
+
format: "rangePercent",
|
|
308
|
+
label: " APR Range:",
|
|
309
|
+
initialFieldName: "annualPercentageRateBasisPointsMin",
|
|
310
|
+
endFieldName: "annualPercentageRateBasisPointsMax"
|
|
311
|
+
}, {
|
|
312
|
+
format: "common",
|
|
313
|
+
label: "Rate Type:",
|
|
314
|
+
capitalized: true,
|
|
315
|
+
fieldName: "annualPercentageRateType"
|
|
316
|
+
}, {
|
|
317
|
+
format: "rangeMonths",
|
|
318
|
+
label: "Term Length:",
|
|
319
|
+
initialFieldName: "termLengthMonthsMin",
|
|
320
|
+
endFieldName: "termLengthMonthsMax"
|
|
321
|
+
}]
|
|
322
|
+
}, {
|
|
323
|
+
layout: "creditCardOfferCard",
|
|
324
|
+
productTypes: ["UnsecuredCreditCard", "SecuredCreditCard"],
|
|
325
|
+
stats: [{
|
|
326
|
+
format: "annualFee",
|
|
327
|
+
label: "Annual Fee:",
|
|
328
|
+
minAnnualFeeField: "annualFeeCentsMin",
|
|
329
|
+
maxAnnualFeeField: "annualFeeCentsMax",
|
|
330
|
+
annualIntroFeeField: "annualIntroFee",
|
|
331
|
+
annualIntroFeeTermField: "annualFeeIntroTerm",
|
|
332
|
+
raw: true
|
|
333
|
+
}, {
|
|
334
|
+
format: "purchaseApr",
|
|
335
|
+
label: "APR:",
|
|
336
|
+
purchaseAprTextField: "purchaseAnnualPercentageRateDescription",
|
|
337
|
+
minPurchaseAprField: "purchaseAnnualPercentageRateBasisPointsMin",
|
|
338
|
+
maxPurchaseAprField: "purchaseAnnualPercentageRateBasisPointsMax",
|
|
339
|
+
aprTypeField: "annualPercentageRateType"
|
|
340
|
+
}, {
|
|
341
|
+
format: "rewardsDisplay",
|
|
342
|
+
label: "Bonus:",
|
|
343
|
+
fieldName: "rewardsDescription"
|
|
344
|
+
}, {
|
|
345
|
+
format: "recommendedCredit",
|
|
346
|
+
label: "Recommended Credit:",
|
|
347
|
+
fieldName: "recommendedCreditRatings"
|
|
348
|
+
}]
|
|
349
|
+
}];
|
|
350
|
+
//# sourceMappingURL=builder.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["productTypeBuilder","layout","productTypes","topStats","format","label","initialFieldName","endFieldName","stats","fieldName","defaultValue","dynamicLabelValue","trueValue","falseValue","monthlyFieldName","annualFieldName","initialFieldNameCurrency","endFieldNameCurrency","initialFieldNameBasisPoints","endFieldNameBasisPoints","initialFieldNameByMonths","endFieldNameByMonths","initialFieldNameByYears","endFieldNameByYears","raw","capitalized","minAnnualFeeField","maxAnnualFeeField","annualIntroFeeField","annualIntroFeeTermField","purchaseAprTextField","minPurchaseAprField","maxPurchaseAprField","aprTypeField"],"sourceRoot":"../../../src","sources":["builder/builder.ts"],"mappings":"AA6BA,OAAO,MAAMA,kBAAsC,GAAG,CACrD;EACCC,MAAM,EAAE,kBAAkB;EAC1BC,YAAY,EAAE,CAAC,gBAAgB,EAAE,wBAAwB,CAAC;EAC1DC,QAAQ,EAAE,CACT;IACCC,MAAM,EAAE,eAAe;IACvBC,KAAK,EAAE,aAAa;IACpBC,gBAAgB,EAAE,gBAAgB;IAClCC,YAAY,EAAE;EACf,CAAC,CACD;EACDC,KAAK,EAAE,CACN;IACCJ,MAAM,EAAE,QAAQ;IAChBC,KAAK,EAAE,mBAAmB;IAC1BI,SAAS,EAAE,gBAAgB;IAC3BC,YAAY,EAAE;EACf,CAAC,EACD;IACCN,MAAM,EAAE,aAAa;IACrBC,KAAK,EAAE,aAAa;IACpBC,gBAAgB,EAAE,qBAAqB;IACvCC,YAAY,EAAE;EACf,CA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EAAE,qBAAqB;EAC7BC,YAAY,EAAE,CAAC,qBAAqB,EAAE,mBAAmB,CAAC;EAC1DM,KAAK,EAAE,CACN;IACCJ,MAAM,EAAE,WAAW;IACnBC,KAAK,EAAE,aAAa;IACpBqB,iBAAiB,EAAE,mBAAmB;IACtCC,iBAAiB,EAAE,mBAAmB;IACtCC,mBAAmB,EAAE,gBAAgB;IACrCC,uBAAuB,EAAE,oBAAoB;IAC7CL,GAAG,EAAE;EACN,CAAC,EACD;IACCpB,MAAM,EAAE,aAAa;IACrBC,KAAK,EAAE,MAAM;IACbyB,oBAAoB,EAAE,yCAAyC;IAC/DC,mBAAmB,EAAE,4CAA4C;IACjEC,mBAAmB,EAAE,4CAA4C;IACjEC,YAAY,EAAE;EACf,CAAC,EACD;IACC7B,MAAM,EAAE,gBAAgB;IACxBC,KAAK,EAAE,QAAQ;IACfI,SAAS,EAAE;EACZ,CAAC,EACD;IACCL,MAAM,EAAE,mBAAmB;IAC3BC,KAAK,EAAE,qBAAqB;IAC5BI,SAAS,EAAE;EACZ,CAAC;AAEH,CAAC,CACD","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["builder/config/types.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../src","sources":["builder/index.ts"],"mappings":"AAAA,cAAc,WAAW;AACzB,cAAc,gBAAgB","ignoreList":[]}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { get } from "radash";
|
|
2
|
+
import { enhanceType } from "./types";
|
|
3
|
+
import { match, P } from "ts-pattern";
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* A UI centric concept that prioritizes brands for visual use, both by the data available and the preferences of the brand.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Determines the highest visual eligibility a Brand supports.
|
|
11
|
+
* Used to rank a primary eligible brand highest if no brand prefers primary, such as a licensed brand
|
|
12
|
+
* @param brand
|
|
13
|
+
*/
|
|
14
|
+
export const checkVisualBrandEligibility = brand => match([enhanceType(brand), get(brand, "allowedMarks"), brand === null || brand === void 0 ? void 0 : brand.isLicensed]).returnType().with([P._, P._, true], ["business", {
|
|
15
|
+
logo: true,
|
|
16
|
+
name: true
|
|
17
|
+
}, P.any], ["product", {
|
|
18
|
+
logo: true,
|
|
19
|
+
name: true
|
|
20
|
+
}, P.any], () => "primary").with(["individual", P._, P.any], ["business", {
|
|
21
|
+
name: true,
|
|
22
|
+
logo: false
|
|
23
|
+
}, P.any], () => "secondary").otherwise(() => "none");
|
|
24
|
+
//# sourceMappingURL=checkVisualEligibility.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["get","enhanceType","match","P","checkVisualBrandEligibility","brand","isLicensed","returnType","with","_","logo","name","any","otherwise"],"sourceRoot":"../../../../../../src","sources":["capabilities/configuration/src/brands/checkVisualEligibility.ts"],"mappings":"AAAA,SAASA,GAAG,QAAQ,QAAQ;AAC5B,SAASC,WAAW,QAAoB,SAAS;AACjD,SAASC,KAAK,EAAEC,CAAC,QAAQ,YAAY;;AAErC;AACA;AACA;;AAGA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMC,2BAA2B,GAAIC,KAAY,IACvDH,KAAK,CAAC,CAACD,WAAW,CAACI,KAAK,CAAC,EAAEL,GAAG,CAACK,KAAK,EAAE,cAAc,CAAC,EAAEA,KAAK,aAALA,KAAK,uBAALA,KAAK,CAAEC,UAAU,CAAC,CAAC,CACxEC,UAAU,CAAkB,CAAC,CAC7BC,IAAI,CACJ,CAACL,CAAC,CAACM,CAAC,EAAEN,CAAC,CAACM,CAAC,EAAE,IAAI,CAAC,EAChB,CAAC,UAAU,EAAE;EAAEC,IAAI,EAAE,IAAI;EAAEC,IAAI,EAAE;AAAK,CAAC,EAAER,CAAC,CAACS,GAAG,CAAC,EAC/C,CAAC,SAAS,EAAE;EAAEF,IAAI,EAAE,IAAI;EAAEC,IAAI,EAAE;AAAK,CAAC,EAAER,CAAC,CAACS,GAAG,CAAC,EAC9C,MAAM,SACP,CAAC,CACAJ,IAAI,CACJ,CAAC,YAAY,EAAEL,CAAC,CAACM,CAAC,EAAEN,CAAC,CAACS,GAAG,CAAC,EAC1B,CAAC,UAAU,EAAE;EAAED,IAAI,EAAE,IAAI;EAAED,IAAI,EAAE;AAAM,CAAC,EAAEP,CAAC,CAACS,GAAG,CAAC,EAChD,MAAM,WACP,CAAC,CACAC,SAAS,CAAC,MAAM,MAAM,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { isObject, sift } from "radash";
|
|
2
|
+
import { P, match } from "ts-pattern";
|
|
3
|
+
import { enhanceType } from "./types";
|
|
4
|
+
import { checkVisualBrandEligibility } from "./checkVisualEligibility";
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* Extracts and normalizes a brand into -
|
|
8
|
+
* LicensedBrand - The brand to be used for terms, legal and other compliance needs
|
|
9
|
+
* VisualBrands - The brands to be shown to the user
|
|
10
|
+
* @param brand
|
|
11
|
+
*/
|
|
12
|
+
export const createDerivedBrands = brand => {
|
|
13
|
+
// Determine the licensed brand for this brand, keeping in mind that this brand may be the licensed brand
|
|
14
|
+
const licensedBrand = match([enhanceType(brand), (brand === null || brand === void 0 ? void 0 : brand.isLicensed) || (brand === null || brand === void 0 ? void 0 : brand.licensedBrand)])
|
|
15
|
+
// Ensure we get back a brand at the end
|
|
16
|
+
.returnType()
|
|
17
|
+
// If the type is licensed, return this brand
|
|
18
|
+
.with(["licensed", P._], () => brand)
|
|
19
|
+
// If the type is not licensed, but there is a cobrand setup, use that to get the licensed brand
|
|
20
|
+
.with([P.not("licensed"), P.select("licensedBrandObj")], ({
|
|
21
|
+
licensedBrandObj
|
|
22
|
+
}) => {
|
|
23
|
+
if (isObject(licensedBrandObj)) return licensedBrandObj;
|
|
24
|
+
// Throw if no licensed brand is able to be found
|
|
25
|
+
throw new Error("Missing Licensed Brand");
|
|
26
|
+
}).otherwise(() => {
|
|
27
|
+
throw new Error("Missing Licensed Brand");
|
|
28
|
+
});
|
|
29
|
+
|
|
30
|
+
// Determine the set of visual brands which should be displayed on the page
|
|
31
|
+
const brandCanBeShown = checkVisualBrandEligibility(brand) !== "none";
|
|
32
|
+
return Array.from(new Set(sift([licensedBrand, brandCanBeShown && brand])));
|
|
33
|
+
};
|
|
34
|
+
//# sourceMappingURL=createDerivedBrands.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["isObject","sift","P","match","enhanceType","checkVisualBrandEligibility","createDerivedBrands","brand","licensedBrand","isLicensed","returnType","with","_","not","select","licensedBrandObj","Error","otherwise","brandCanBeShown","Array","from","Set"],"sourceRoot":"../../../../../../src","sources":["capabilities/configuration/src/brands/createDerivedBrands.ts"],"mappings":"AAAA,SAASA,QAAQ,EAAEC,IAAI,QAAQ,QAAQ;AAEvC,SAASC,CAAC,EAAEC,KAAK,QAAQ,YAAY;AACrC,SAASC,WAAW,QAAQ,SAAS;AACrC,SAASC,2BAA2B,QAAQ,0BAA0B;;AAEtE;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMC,mBAAmB,GAAIC,KAAY,IAAK;EACpD;EACA,MAAMC,aAAa,GAAGL,KAAK,CAAC,CAC3BC,WAAW,CAACG,KAAK,CAAC,EAClB,CAAAA,KAAK,aAALA,KAAK,uBAALA,KAAK,CAAEE,UAAU,MAAIF,KAAK,aAALA,KAAK,uBAALA,KAAK,CAAEC,aAAa,EACzC;EACA;EAAA,CACCE,UAAU,CAAQ;EACnB;EAAA,CACCC,IAAI,CAAC,CAAC,UAAU,EAAET,CAAC,CAACU,CAAC,CAAC,EAAE,MAAML,KAAK;EACpC;EAAA,CACCI,IAAI,CACJ,CAACT,CAAC,CAACW,GAAG,CAAC,UAAU,CAAC,EAAEX,CAAC,CAACY,MAAM,CAAC,kBAAkB,CAAC,CAAC,EACjD,CAAC;IAAEC;EAAiB,CAAC,KAAK;IACzB,IAAIf,QAAQ,CAACe,gBAAgB,CAAC,EAAE,OAAOA,gBAAgB;IACvD;IACA,MAAM,IAAIC,KAAK,CAAC,wBAAwB,CAAC;EAC1C,CACD,CAAC,CACAC,SAAS,CAAC,MAAM;IAChB,MAAM,IAAID,KAAK,CAAC,wBAAwB,CAAC;EAC1C,CAAC,CAAC;;EAEH;EACA,MAAME,eAAe,GAAGb,2BAA2B,CAACE,KAAK,CAAC,KAAK,MAAM;EACrE,OAAOY,KAAK,CAACC,IAAI,CAAC,IAAIC,GAAG,CAACpB,IAAI,CAAC,CAACO,aAAa,EAAEU,eAAe,IAAIX,KAAK,CAAC,CAAC,CAAC,CAAC;AAC5E,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["enhanceType","checkVisualBrandEligibility"],"sourceRoot":"../../../../../../src","sources":["capabilities/configuration/src/brands/index.ts"],"mappings":"AAAA,SAASA,WAAW,QAAQ,SAAS;AACrC,SAASC,2BAA2B,QAAQ,0BAA0B","ignoreList":[]}
|