@moneylion/react-native-offer-carousel 1.0.0 → 1.0.1
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/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 +143 -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/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/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/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 +134 -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/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/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/builder/builder.d.ts +2 -2
- package/lib/typescript/builder/builder.d.ts.map +1 -1
- package/lib/typescript/src/capabilities/configuration/src/brands/checkVisualEligibility.d.ts.map +1 -0
- package/lib/typescript/{capabilities → src/capabilities}/configuration/src/brands/createDerivedBrands.d.ts +1 -1
- 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/{capabilities → src/capabilities}/configuration/src/brands/types.d.ts +1 -1
- 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/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 +1 -1
- 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 +1 -1
- package/lib/typescript/src/components/DynamicOffers/Render/Offer.d.ts.map +1 -1
- package/lib/typescript/src/components/Layouts/CreditCardOfferCard/index.d.ts +1 -1
- package/lib/typescript/src/components/Layouts/CreditCardOfferCard/index.d.ts.map +1 -1
- package/lib/typescript/src/components/Layouts/CreditCardOfferCard/statsBuilder.d.ts +2 -2
- package/lib/typescript/src/components/Layouts/CreditCardOfferCard/statsBuilder.d.ts.map +1 -1
- package/lib/typescript/src/components/Layouts/DefaultOfferCard/index.d.ts +1 -1
- package/lib/typescript/src/components/Layouts/DefaultOfferCard/index.d.ts.map +1 -1
- package/lib/typescript/src/components/Layouts/DefaultOfferCard/statsBuilder.d.ts +3 -3
- package/lib/typescript/src/components/Layouts/DefaultOfferCard/statsBuilder.d.ts.map +1 -1
- package/lib/typescript/src/components/Layouts/HeadlineWithDescriptionCard/index.d.ts +1 -1
- 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 -1
- 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 +175 -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/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/Render/DynamicOffersRender.tsx +1 -1
- package/src/components/DynamicOffers/Render/FallbackOfferTemplate.tsx +1 -1
- package/src/components/DynamicOffers/Render/Offer.tsx +1 -1
- package/src/components/Layouts/CreditCardOfferCard/index.tsx +1 -1
- package/src/components/Layouts/CreditCardOfferCard/statsBuilder.tsx +2 -2
- package/src/components/Layouts/DefaultOfferCard/index.tsx +1 -1
- package/src/components/Layouts/DefaultOfferCard/statsBuilder.tsx +2 -2
- package/src/components/Layouts/HeadlineWithDescriptionCard/index.tsx +1 -1
- 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/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/{capabilities → src/capabilities}/configuration/src/brands/checkVisualEligibility.d.ts +0 -0
- /package/lib/typescript/{capabilities → src/capabilities}/configuration/src/brands/index.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":"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","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,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":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["isObject","enhanceType","brand","isLicensed","type","undefined"],"sourceRoot":"../../../../../../src","sources":["capabilities/configuration/src/brands/types.ts"],"mappings":"AAAA,SAASA,QAAQ,QAAQ,QAAQ;AAGjC,OAAO,MAAMC,WAAW,GAAIC,KAAY,IAAK;EAC5C,IAAIF,QAAQ,CAACE,KAAK,CAAC,EAAE,OAAOA,KAAK,aAALA,KAAK,eAALA,KAAK,CAAEC,UAAU,GAAG,UAAU,GAAGD,KAAK,CAACE,IAAI;EACvE,OAAOC,SAAS;AACjB,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../../../../src","sources":["capabilities/core/src/domain/third-party-search/index.ts"],"mappings":"AAAA,cAAc,gCAAgC","ignoreList":[]}
|
package/lib/module/capabilities/core/src/domain/third-party-search/orderProductTypesByRankUtils.js
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Orders product types by rank.
|
|
3
|
+
*
|
|
4
|
+
* @param productTypes {Record<string, number>} - The product types to order.
|
|
5
|
+
* @returns {string[]} The product types ordered by rank.
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* ```ts
|
|
9
|
+
* const productTypes = {
|
|
10
|
+
* 'credit-card': 1,
|
|
11
|
+
* 'loan': 2,
|
|
12
|
+
* 'insurance': 3,
|
|
13
|
+
* }
|
|
14
|
+
* const orderedProductTypes = orderProductTypesByRank(productTypes)
|
|
15
|
+
* // orderedProductTypes = ['insurance', 'loan', 'credit-card']
|
|
16
|
+
* ```
|
|
17
|
+
*/
|
|
18
|
+
export const orderProductTypesByRank = productTypes => {
|
|
19
|
+
const productTypesWithRank = Object.entries(productTypes).map(([productType, count]) => ({
|
|
20
|
+
productType,
|
|
21
|
+
rank: count
|
|
22
|
+
}));
|
|
23
|
+
const sortedProductTypes = productTypesWithRank.sort((a, b) => b.rank - a.rank);
|
|
24
|
+
return sortedProductTypes.map(pt => pt.productType);
|
|
25
|
+
};
|
|
26
|
+
//# sourceMappingURL=orderProductTypesByRankUtils.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["orderProductTypesByRank","productTypes","productTypesWithRank","Object","entries","map","productType","count","rank","sortedProductTypes","sort","a","b","pt"],"sourceRoot":"../../../../../../../src","sources":["capabilities/core/src/domain/third-party-search/orderProductTypesByRankUtils.ts"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMA,uBAAuB,GACnCC,YAAoC,IAChC;EACJ,MAAMC,oBAAoB,GAAGC,MAAM,CAACC,OAAO,CAACH,YAAY,CAAC,CAACI,GAAG,CAC5D,CAAC,CAACC,WAAW,EAAEC,KAAK,CAAC,MAAM;IAC1BD,WAAW;IACXE,IAAI,EAAED;EACP,CAAC,CACF,CAAC;EAED,MAAME,kBAAkB,GAAGP,oBAAoB,CAACQ,IAAI,CACnD,CAACC,CAAC,EAAEC,CAAC,KAAKA,CAAC,CAACJ,IAAI,GAAGG,CAAC,CAACH,IACtB,CAAC;EAED,OAAOC,kBAAkB,CAACJ,GAAG,CAAEQ,EAAE,IAAKA,EAAE,CAACP,WAAW,CAAC;AACtD,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../../src","sources":["capabilities/core/src/index.ts"],"mappings":"AAAA,cAAc,6BAA6B","ignoreList":[]}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Schema } from "effect";
|
|
2
|
+
import { App, Brand, CnfRequest, Configuration, Signals, Subaccount } from "./schemas";
|
|
3
|
+
export const CnfContext = Schema.Struct({
|
|
4
|
+
app: App,
|
|
5
|
+
brand: Brand,
|
|
6
|
+
configuration: Configuration,
|
|
7
|
+
request: CnfRequest,
|
|
8
|
+
signals: Signals,
|
|
9
|
+
subaccount: Subaccount,
|
|
10
|
+
isDev: Schema.Boolean
|
|
11
|
+
});
|
|
12
|
+
//# sourceMappingURL=CnfContext.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["Schema","App","Brand","CnfRequest","Configuration","Signals","Subaccount","CnfContext","Struct","app","brand","configuration","request","signals","subaccount","isDev","Boolean"],"sourceRoot":"../../../../../../../src","sources":["capabilities/core/src/system/cnfContext/CnfContext.ts"],"mappings":"AAAA,SAASA,MAAM,QAAQ,QAAQ;AAC/B,SACCC,GAAG,EACHC,KAAK,EACLC,UAAU,EACVC,aAAa,EACbC,OAAO,EACPC,UAAU,QACJ,WAAW;AAElB,OAAO,MAAMC,UAAU,GAAGP,MAAM,CAACQ,MAAM,CAAC;EACvCC,GAAG,EAAER,GAAG;EACRS,KAAK,EAAER,KAAK;EACZS,aAAa,EAAEP,aAAa;EAC5BQ,OAAO,EAAET,UAAU;EACnBU,OAAO,EAAER,OAAO;EAChBS,UAAU,EAAER,UAAU;EACtBS,KAAK,EAAEf,MAAM,CAACgB;AACf,CAAC,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Schema } from "effect";
|
|
2
|
+
export const App = Schema.Struct({
|
|
3
|
+
id: Schema.UUID,
|
|
4
|
+
name: Schema.String,
|
|
5
|
+
registry: Schema.String,
|
|
6
|
+
repository: Schema.String,
|
|
7
|
+
syncStatus: Schema.String,
|
|
8
|
+
createdAt: Schema.String,
|
|
9
|
+
updatedAt: Schema.String,
|
|
10
|
+
syncTimestamp: Schema.String
|
|
11
|
+
});
|
|
12
|
+
//# sourceMappingURL=App.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["Schema","App","Struct","id","UUID","name","String","registry","repository","syncStatus","createdAt","updatedAt","syncTimestamp"],"sourceRoot":"../../../../../../../../src","sources":["capabilities/core/src/system/cnfContext/schemas/App.ts"],"mappings":"AAAA,SAASA,MAAM,QAAQ,QAAQ;AAG/B,OAAO,MAAMC,GAAG,GAAGD,MAAM,CAACE,MAAM,CAAC;EAChCC,EAAE,EAAEH,MAAM,CAACI,IAAI;EACfC,IAAI,EAAEL,MAAM,CAACM,MAAM;EACnBC,QAAQ,EAAEP,MAAM,CAACM,MAAM;EACvBE,UAAU,EAAER,MAAM,CAACM,MAAM;EACzBG,UAAU,EAAET,MAAM,CAACM,MAAM;EACzBI,SAAS,EAAEV,MAAM,CAACM,MAAM;EACxBK,SAAS,EAAEX,MAAM,CAACM,MAAM;EACxBM,aAAa,EAAEZ,MAAM,CAACM;AACvB,CAAC,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { Schema } from "effect";
|
|
2
|
+
const Palette = Schema.Struct({
|
|
3
|
+
promotional: Schema.optional(Schema.String),
|
|
4
|
+
generation: Schema.optional(Schema.Literal("generate", "provided")),
|
|
5
|
+
colorScheme: Schema.optional(Schema.Literal("balanced", "light", "dark")),
|
|
6
|
+
positive: Schema.optional(Schema.String),
|
|
7
|
+
critical: Schema.optional(Schema.String),
|
|
8
|
+
highlight: Schema.optional(Schema.String),
|
|
9
|
+
neutral: Schema.optional(Schema.String)
|
|
10
|
+
});
|
|
11
|
+
const Links = Schema.Struct({
|
|
12
|
+
home: Schema.optional(Schema.String),
|
|
13
|
+
terms: Schema.optional(Schema.String),
|
|
14
|
+
support: Schema.optional(Schema.String),
|
|
15
|
+
privacy: Schema.optional(Schema.String)
|
|
16
|
+
});
|
|
17
|
+
const AiInference = Schema.Struct({
|
|
18
|
+
status: Schema.String,
|
|
19
|
+
error: Schema.optional(Schema.String)
|
|
20
|
+
});
|
|
21
|
+
const Media = Schema.Struct({
|
|
22
|
+
id: Schema.String,
|
|
23
|
+
autoCrop: Schema.Boolean,
|
|
24
|
+
prefix: Schema.optional(Schema.String),
|
|
25
|
+
alt: Schema.optional(Schema.String),
|
|
26
|
+
url: Schema.optional(Schema.String),
|
|
27
|
+
filename: Schema.optional(Schema.String),
|
|
28
|
+
mimeType: Schema.optional(Schema.String),
|
|
29
|
+
filesize: Schema.optional(Schema.Number),
|
|
30
|
+
width: Schema.optional(Schema.Number),
|
|
31
|
+
height: Schema.optional(Schema.Number),
|
|
32
|
+
createdAt: Schema.optional(Schema.String),
|
|
33
|
+
updatedAt: Schema.optional(Schema.String),
|
|
34
|
+
aiInference: Schema.optional(AiInference)
|
|
35
|
+
});
|
|
36
|
+
const Logos = Schema.Struct({
|
|
37
|
+
horizontal: Schema.optional(Media),
|
|
38
|
+
icon: Schema.optional(Schema.NullOr(Media))
|
|
39
|
+
});
|
|
40
|
+
const FontFamily = Schema.Literal("nunito", "lato", "sourceSans3", "openSans", "roboto", "arimo", "montserrat");
|
|
41
|
+
const Font = Schema.Struct({
|
|
42
|
+
family: Schema.optional(FontFamily)
|
|
43
|
+
});
|
|
44
|
+
const AllowedMarks = Schema.Struct({
|
|
45
|
+
logo: Schema.Boolean,
|
|
46
|
+
name: Schema.Boolean
|
|
47
|
+
});
|
|
48
|
+
const CtaRoundness = Schema.Struct({
|
|
49
|
+
small: Schema.optional(Schema.Number),
|
|
50
|
+
medium: Schema.optional(Schema.Number),
|
|
51
|
+
large: Schema.optional(Schema.Number)
|
|
52
|
+
});
|
|
53
|
+
const BrandFields = Schema.Struct({
|
|
54
|
+
id: Schema.String,
|
|
55
|
+
domain: Schema.String,
|
|
56
|
+
displayName: Schema.String,
|
|
57
|
+
isLicensed: Schema.optional(Schema.Boolean),
|
|
58
|
+
hideLicensedLogo: Schema.optional(Schema.Boolean),
|
|
59
|
+
palette: Schema.optional(Palette),
|
|
60
|
+
links: Schema.optional(Links),
|
|
61
|
+
logos: Schema.optional(Logos),
|
|
62
|
+
font: Schema.optional(Font),
|
|
63
|
+
type: Schema.optional(Schema.Literal("business", "product", "individual")),
|
|
64
|
+
allowedMarks: AllowedMarks,
|
|
65
|
+
ctaRoundness: Schema.optional(CtaRoundness),
|
|
66
|
+
createdAt: Schema.optional(Schema.String),
|
|
67
|
+
updatedAt: Schema.optional(Schema.String)
|
|
68
|
+
});
|
|
69
|
+
export const Brand = Schema.suspend(() => {
|
|
70
|
+
const withDepth = depth => {
|
|
71
|
+
if (depth > 2) {
|
|
72
|
+
return BrandFields; // We don't want infinite recursion of licensedBrand field
|
|
73
|
+
}
|
|
74
|
+
return Schema.Struct({
|
|
75
|
+
...BrandFields.fields,
|
|
76
|
+
licensedBrand: Schema.optional(Schema.NullOr(Schema.suspend(() => withDepth(depth + 1))))
|
|
77
|
+
});
|
|
78
|
+
};
|
|
79
|
+
return withDepth(0); // Start with depth 0
|
|
80
|
+
});
|
|
81
|
+
//# sourceMappingURL=Brand.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["Schema","Palette","Struct","promotional","optional","String","generation","Literal","colorScheme","positive","critical","highlight","neutral","Links","home","terms","support","privacy","AiInference","status","error","Media","id","autoCrop","Boolean","prefix","alt","url","filename","mimeType","filesize","Number","width","height","createdAt","updatedAt","aiInference","Logos","horizontal","icon","NullOr","FontFamily","Font","family","AllowedMarks","logo","name","CtaRoundness","small","medium","large","BrandFields","domain","displayName","isLicensed","hideLicensedLogo","palette","links","logos","font","type","allowedMarks","ctaRoundness","Brand","suspend","withDepth","depth","fields","licensedBrand"],"sourceRoot":"../../../../../../../../src","sources":["capabilities/core/src/system/cnfContext/schemas/Brand.ts"],"mappings":"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","ignoreList":[]}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Schema } from "effect";
|
|
2
|
+
const ProductTypesDefinition = Schema.Struct({
|
|
3
|
+
id: Schema.String,
|
|
4
|
+
partnerPageUrl: Schema.String,
|
|
5
|
+
productTypeSlug: Schema.String
|
|
6
|
+
});
|
|
7
|
+
const PartnersOverrideDefinition = Schema.Struct({
|
|
8
|
+
id: Schema.String,
|
|
9
|
+
overrideUrl: Schema.String,
|
|
10
|
+
financialInstitutionUuid: Schema.String
|
|
11
|
+
});
|
|
12
|
+
export const DynamicOffersConfigurationSchema = Schema.Struct({
|
|
13
|
+
hideFooter: Schema.optionalWith(Schema.Boolean, {
|
|
14
|
+
default: () => false
|
|
15
|
+
}),
|
|
16
|
+
enableUseCachedOffers: Schema.optionalWith(Schema.Boolean, {
|
|
17
|
+
default: () => false
|
|
18
|
+
}),
|
|
19
|
+
defaultProductTypeSlug: Schema.optionalWith(Schema.String, {
|
|
20
|
+
default: () => "EarnedWageAccess"
|
|
21
|
+
}),
|
|
22
|
+
productTypesDefinition: Schema.optionalWith(Schema.Array(ProductTypesDefinition), {
|
|
23
|
+
default: () => []
|
|
24
|
+
}),
|
|
25
|
+
partnersOverrideDefinition: Schema.optionalWith(Schema.Array(PartnersOverrideDefinition), {
|
|
26
|
+
default: () => []
|
|
27
|
+
})
|
|
28
|
+
});
|
|
29
|
+
export const Configuration = Schema.Struct({
|
|
30
|
+
app: Schema.Union(Schema.String, Schema.Struct({
|
|
31
|
+
name: Schema.String
|
|
32
|
+
})),
|
|
33
|
+
configuration: DynamicOffersConfigurationSchema
|
|
34
|
+
});
|
|
35
|
+
//# sourceMappingURL=Configuration.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["Schema","ProductTypesDefinition","Struct","id","String","partnerPageUrl","productTypeSlug","PartnersOverrideDefinition","overrideUrl","financialInstitutionUuid","DynamicOffersConfigurationSchema","hideFooter","optionalWith","Boolean","default","enableUseCachedOffers","defaultProductTypeSlug","productTypesDefinition","Array","partnersOverrideDefinition","Configuration","app","Union","name","configuration"],"sourceRoot":"../../../../../../../../src","sources":["capabilities/core/src/system/cnfContext/schemas/Configuration.ts"],"mappings":"AAAA,SAASA,MAAM,QAAQ,QAAQ;AAE/B,MAAMC,sBAAsB,GAAGD,MAAM,CAACE,MAAM,CAAC;EAC5CC,EAAE,EAAEH,MAAM,CAACI,MAAM;EACjBC,cAAc,EAAEL,MAAM,CAACI,MAAM;EAC7BE,eAAe,EAAEN,MAAM,CAACI;AACzB,CAAC,CAAC;AAEF,MAAMG,0BAA0B,GAAGP,MAAM,CAACE,MAAM,CAAC;EAChDC,EAAE,EAAEH,MAAM,CAACI,MAAM;EACjBI,WAAW,EAAER,MAAM,CAACI,MAAM;EAC1BK,wBAAwB,EAAET,MAAM,CAACI;AAClC,CAAC,CAAC;AAEF,OAAO,MAAMM,gCAAgC,GAAGV,MAAM,CAACE,MAAM,CAAC;EAC7DS,UAAU,EAAEX,MAAM,CAACY,YAAY,CAACZ,MAAM,CAACa,OAAO,EAAE;IAAEC,OAAO,EAAEA,CAAA,KAAM;EAAM,CAAC,CAAC;EACzEC,qBAAqB,EAAEf,MAAM,CAACY,YAAY,CAACZ,MAAM,CAACa,OAAO,EAAE;IAC1DC,OAAO,EAAEA,CAAA,KAAM;EAChB,CAAC,CAAC;EACFE,sBAAsB,EAAEhB,MAAM,CAACY,YAAY,CAACZ,MAAM,CAACI,MAAM,EAAE;IAC1DU,OAAO,EAAEA,CAAA,KAAM;EAChB,CAAC,CAAC;EACFG,sBAAsB,EAAEjB,MAAM,CAACY,YAAY,CAC1CZ,MAAM,CAACkB,KAAK,CAACjB,sBAAsB,CAAC,EACpC;IACCa,OAAO,EAAEA,CAAA,KAAM;EAChB,CACD,CAAC;EACDK,0BAA0B,EAAEnB,MAAM,CAACY,YAAY,CAC9CZ,MAAM,CAACkB,KAAK,CAACX,0BAA0B,CAAC,EACxC;IAAEO,OAAO,EAAEA,CAAA,KAAM;EAAG,CACrB;AACD,CAAC,CAAC;AAMF,OAAO,MAAMM,aAAa,GAAGpB,MAAM,CAACE,MAAM,CAAC;EAC1CmB,GAAG,EAAErB,MAAM,CAACsB,KAAK,CAChBtB,MAAM,CAACI,MAAM,EACbJ,MAAM,CAACE,MAAM,CAAC;IACbqB,IAAI,EAAEvB,MAAM,CAACI;EACd,CAAC,CACF,CAAC;EACDoB,aAAa,EAAEd;AAChB,CAAC,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Schema } from "effect";
|
|
2
|
+
export const CnfRequest = Schema.Struct({
|
|
3
|
+
referer: Schema.optional(Schema.String),
|
|
4
|
+
channel: Schema.optional(Schema.String),
|
|
5
|
+
zone: Schema.optional(Schema.String),
|
|
6
|
+
cnfAppBaseUrl: Schema.optionalWith(Schema.String, {
|
|
7
|
+
default: () => "http://localhost:3000"
|
|
8
|
+
}),
|
|
9
|
+
path: Schema.optional(Schema.String),
|
|
10
|
+
pathname: Schema.optional(Schema.String),
|
|
11
|
+
query: Schema.optional(Schema.String),
|
|
12
|
+
searchParams: Schema.Struct({}),
|
|
13
|
+
host: Schema.optional(Schema.String)
|
|
14
|
+
});
|
|
15
|
+
//# sourceMappingURL=Request.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["Schema","CnfRequest","Struct","referer","optional","String","channel","zone","cnfAppBaseUrl","optionalWith","default","path","pathname","query","searchParams","host"],"sourceRoot":"../../../../../../../../src","sources":["capabilities/core/src/system/cnfContext/schemas/Request.ts"],"mappings":"AAAA,SAASA,MAAM,QAAQ,QAAQ;AAG/B,OAAO,MAAMC,UAAU,GAAGD,MAAM,CAACE,MAAM,CAAC;EACvCC,OAAO,EAAEH,MAAM,CAACI,QAAQ,CAACJ,MAAM,CAACK,MAAM,CAAC;EACvCC,OAAO,EAAEN,MAAM,CAACI,QAAQ,CAACJ,MAAM,CAACK,MAAM,CAAC;EACvCE,IAAI,EAAEP,MAAM,CAACI,QAAQ,CAACJ,MAAM,CAACK,MAAM,CAAC;EACpCG,aAAa,EAAER,MAAM,CAACS,YAAY,CAACT,MAAM,CAACK,MAAM,EAAE;IACjDK,OAAO,EAAEA,CAAA,KAAM;EAChB,CAAC,CAAC;EACFC,IAAI,EAAEX,MAAM,CAACI,QAAQ,CAACJ,MAAM,CAACK,MAAM,CAAC;EACpCO,QAAQ,EAAEZ,MAAM,CAACI,QAAQ,CAACJ,MAAM,CAACK,MAAM,CAAC;EACxCQ,KAAK,EAAEb,MAAM,CAACI,QAAQ,CAACJ,MAAM,CAACK,MAAM,CAAC;EACrCS,YAAY,EAAEd,MAAM,CAACE,MAAM,CAAC,CAAC,CAAC,CAAC;EAC/Ba,IAAI,EAAEf,MAAM,CAACI,QAAQ,CAACJ,MAAM,CAACK,MAAM;AACpC,CAAC,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["Schema","SessionId","UUID","pipe","brand","Session","Struct","id"],"sourceRoot":"../../../../../../../../src","sources":["capabilities/core/src/system/cnfContext/schemas/Session.ts"],"mappings":"AAAA,SAASA,MAAM,QAAQ,QAAQ;AAG/B,OAAO,MAAMC,SAAS,GAAGD,MAAM,CAACE,IAAI,CAACC,IAAI,CAACH,MAAM,CAACI,KAAK,CAAC,WAAW,CAAC,CAAC;AAGpE,OAAO,MAAMC,OAAO,GAAGL,MAAM,CAACM,MAAM,CAAC;EACpCC,EAAE,EAAEN;AACL,CAAC,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Schema } from "effect";
|
|
2
|
+
export const PartnerSignals = Schema.Struct({
|
|
3
|
+
clientTags: Schema.Struct({}, {
|
|
4
|
+
key: Schema.String,
|
|
5
|
+
value: Schema.String
|
|
6
|
+
})
|
|
7
|
+
});
|
|
8
|
+
export const DeviceId = Schema.UUID;
|
|
9
|
+
const DeviceSignals = Schema.Struct({
|
|
10
|
+
id: DeviceId,
|
|
11
|
+
ipAddress: Schema.optional(Schema.String),
|
|
12
|
+
os: Schema.optional(Schema.String),
|
|
13
|
+
isMobile: Schema.optional(Schema.Boolean),
|
|
14
|
+
country: Schema.optional(Schema.String),
|
|
15
|
+
state: Schema.optional(Schema.Struct({
|
|
16
|
+
name: Schema.optional(Schema.String),
|
|
17
|
+
code: Schema.optional(Schema.String)
|
|
18
|
+
})),
|
|
19
|
+
postalCode: Schema.String,
|
|
20
|
+
city: Schema.String,
|
|
21
|
+
fingerprintId: Schema.optional(Schema.String),
|
|
22
|
+
userAgent: Schema.optional(Schema.String)
|
|
23
|
+
});
|
|
24
|
+
export const LeadUuid = Schema.UUID;
|
|
25
|
+
export const LeadSignals = Schema.Struct({
|
|
26
|
+
uuid: LeadUuid
|
|
27
|
+
});
|
|
28
|
+
export const ReferralSignals = Schema.Struct({});
|
|
29
|
+
export const Signals = Schema.Struct({
|
|
30
|
+
partnerSignals: PartnerSignals,
|
|
31
|
+
deviceSignals: DeviceSignals,
|
|
32
|
+
lead: LeadSignals,
|
|
33
|
+
referral: ReferralSignals
|
|
34
|
+
});
|
|
35
|
+
//# sourceMappingURL=Signals.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["Schema","PartnerSignals","Struct","clientTags","key","String","value","DeviceId","UUID","DeviceSignals","id","ipAddress","optional","os","isMobile","Boolean","country","state","name","code","postalCode","city","fingerprintId","userAgent","LeadUuid","LeadSignals","uuid","ReferralSignals","Signals","partnerSignals","deviceSignals","lead","referral"],"sourceRoot":"../../../../../../../../src","sources":["capabilities/core/src/system/cnfContext/schemas/Signals.ts"],"mappings":"AAAA,SAASA,MAAM,QAAQ,QAAQ;AAG/B,OAAO,MAAMC,cAAc,GAAGD,MAAM,CAACE,MAAM,CAAC;EAC3CC,UAAU,EAAEH,MAAM,CAACE,MAAM,CAAC,CAAC,CAAC,EAAE;IAAEE,GAAG,EAAEJ,MAAM,CAACK,MAAM;IAAEC,KAAK,EAAEN,MAAM,CAACK;EAAO,CAAC;AAC3E,CAAC,CAAC;AAGF,OAAO,MAAME,QAAQ,GAAGP,MAAM,CAACQ,IAAI;AAGnC,MAAMC,aAAa,GAAGT,MAAM,CAACE,MAAM,CAAC;EACnCQ,EAAE,EAAEH,QAAQ;EACZI,SAAS,EAAEX,MAAM,CAACY,QAAQ,CAACZ,MAAM,CAACK,MAAM,CAAC;EACzCQ,EAAE,EAAEb,MAAM,CAACY,QAAQ,CAACZ,MAAM,CAACK,MAAM,CAAC;EAClCS,QAAQ,EAAEd,MAAM,CAACY,QAAQ,CAACZ,MAAM,CAACe,OAAO,CAAC;EACzCC,OAAO,EAAEhB,MAAM,CAACY,QAAQ,CAACZ,MAAM,CAACK,MAAM,CAAC;EACvCY,KAAK,EAAEjB,MAAM,CAACY,QAAQ,CACrBZ,MAAM,CAACE,MAAM,CAAC;IACbgB,IAAI,EAAElB,MAAM,CAACY,QAAQ,CAACZ,MAAM,CAACK,MAAM,CAAC;IACpCc,IAAI,EAAEnB,MAAM,CAACY,QAAQ,CAACZ,MAAM,CAACK,MAAM;EACpC,CAAC,CACF,CAAC;EACDe,UAAU,EAAEpB,MAAM,CAACK,MAAM;EACzBgB,IAAI,EAAErB,MAAM,CAACK,MAAM;EACnBiB,aAAa,EAAEtB,MAAM,CAACY,QAAQ,CAACZ,MAAM,CAACK,MAAM,CAAC;EAC7CkB,SAAS,EAAEvB,MAAM,CAACY,QAAQ,CAACZ,MAAM,CAACK,MAAM;AACzC,CAAC,CAAC;AAGF,OAAO,MAAMmB,QAAQ,GAAGxB,MAAM,CAACQ,IAAI;AAGnC,OAAO,MAAMiB,WAAW,GAAGzB,MAAM,CAACE,MAAM,CAAC;EACxCwB,IAAI,EAAEF;AACP,CAAC,CAAC;AAGF,OAAO,MAAMG,eAAe,GAAG3B,MAAM,CAACE,MAAM,CAAC,CAAC,CAAC,CAAC;AAGhD,OAAO,MAAM0B,OAAO,GAAG5B,MAAM,CAACE,MAAM,CAAC;EACpC2B,cAAc,EAAE5B,cAAc;EAC9B6B,aAAa,EAAErB,aAAa;EAC5BsB,IAAI,EAAEN,WAAW;EACjBO,QAAQ,EAAEL;AACX,CAAC,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Schema } from "effect";
|
|
2
|
+
const EmptyString = Schema.Literal("");
|
|
3
|
+
const NullOrEmptyString = schema => Schema.Union(Schema.Null, EmptyString, schema);
|
|
4
|
+
const Tag = Schema.Struct({
|
|
5
|
+
id: Schema.String,
|
|
6
|
+
key: Schema.String,
|
|
7
|
+
value: Schema.String
|
|
8
|
+
});
|
|
9
|
+
export const Subaccount = Schema.Struct({
|
|
10
|
+
id: Schema.UUID,
|
|
11
|
+
publicToken: Schema.String,
|
|
12
|
+
name: Schema.String,
|
|
13
|
+
companyUuid: Schema.String,
|
|
14
|
+
subaccount: Schema.NullOr(Schema.Number),
|
|
15
|
+
supplySubaccountUuid: Schema.UUID.pipe(NullOrEmptyString, Schema.optional),
|
|
16
|
+
tags: Schema.Array(Tag),
|
|
17
|
+
createdAt: Schema.String,
|
|
18
|
+
updatedAt: Schema.String
|
|
19
|
+
});
|
|
20
|
+
//# sourceMappingURL=Subaccount.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["Schema","EmptyString","Literal","NullOrEmptyString","schema","Union","Null","Tag","Struct","id","String","key","value","Subaccount","UUID","publicToken","name","companyUuid","subaccount","NullOr","Number","supplySubaccountUuid","pipe","optional","tags","Array","createdAt","updatedAt"],"sourceRoot":"../../../../../../../../src","sources":["capabilities/core/src/system/cnfContext/schemas/Subaccount.ts"],"mappings":"AAAA,SAASA,MAAM,QAAQ,QAAQ;AAE/B,MAAMC,WAAW,GAAGD,MAAM,CAACE,OAAO,CAAC,EAAE,CAAC;AACtC,MAAMC,iBAAiB,GAAiCC,MAAS,IAChEJ,MAAM,CAACK,KAAK,CAACL,MAAM,CAACM,IAAI,EAAEL,WAAW,EAAEG,MAAM,CAAC;AAE/C,MAAMG,GAAG,GAAGP,MAAM,CAACQ,MAAM,CAAC;EACzBC,EAAE,EAAET,MAAM,CAACU,MAAM;EACjBC,GAAG,EAAEX,MAAM,CAACU,MAAM;EAClBE,KAAK,EAAEZ,MAAM,CAACU;AACf,CAAC,CAAC;AAEF,OAAO,MAAMG,UAAU,GAAGb,MAAM,CAACQ,MAAM,CAAC;EACvCC,EAAE,EAAET,MAAM,CAACc,IAAI;EACfC,WAAW,EAAEf,MAAM,CAACU,MAAM;EAC1BM,IAAI,EAAEhB,MAAM,CAACU,MAAM;EACnBO,WAAW,EAAEjB,MAAM,CAACU,MAAM;EAC1BQ,UAAU,EAAElB,MAAM,CAACmB,MAAM,CAACnB,MAAM,CAACoB,MAAM,CAAC;EACxCC,oBAAoB,EAAErB,MAAM,CAACc,IAAI,CAACQ,IAAI,CAACnB,iBAAiB,EAAEH,MAAM,CAACuB,QAAQ,CAAC;EAC1EC,IAAI,EAAExB,MAAM,CAACyB,KAAK,CAAClB,GAAG,CAAC;EACvBmB,SAAS,EAAE1B,MAAM,CAACU,MAAM;EACxBiB,SAAS,EAAE3B,MAAM,CAACU;AACnB,CAAC,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../../../../../src","sources":["capabilities/core/src/system/cnfContext/schemas/index.ts"],"mappings":"AAAA,cAAc,OAAO;AACrB,cAAc,SAAS;AACvB,cAAc,iBAAiB;AAC/B,cAAc,WAAW;AACzB,cAAc,WAAW;AACzB,cAAc,WAAW;AACzB,cAAc,cAAc","ignoreList":[]}
|