@moneylion/react-native-offer-carousel 1.9.1 → 1.10.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/CHANGELOG.md +10 -0
- package/lib/commonjs/capabilities/core/src/system/cnfContext/CnfContext.js +0 -12
- package/lib/commonjs/capabilities/core/src/system/cnfContext/CnfContext.js.map +1 -1
- package/lib/commonjs/capabilities/core/src/system/cnfContext/schemas/App.js +0 -16
- package/lib/commonjs/capabilities/core/src/system/cnfContext/schemas/App.js.map +1 -1
- package/lib/commonjs/capabilities/core/src/system/cnfContext/schemas/Brand.js +0 -120
- package/lib/commonjs/capabilities/core/src/system/cnfContext/schemas/Brand.js.map +1 -1
- package/lib/commonjs/capabilities/core/src/system/cnfContext/schemas/Configuration.js +0 -39
- package/lib/commonjs/capabilities/core/src/system/cnfContext/schemas/Configuration.js.map +1 -1
- package/lib/commonjs/capabilities/core/src/system/cnfContext/schemas/Request.js +0 -19
- package/lib/commonjs/capabilities/core/src/system/cnfContext/schemas/Request.js.map +1 -1
- package/lib/commonjs/capabilities/core/src/system/cnfContext/schemas/Session.js +0 -10
- package/lib/commonjs/capabilities/core/src/system/cnfContext/schemas/Session.js.map +1 -1
- package/lib/commonjs/capabilities/core/src/system/cnfContext/schemas/Signals.js +0 -39
- package/lib/commonjs/capabilities/core/src/system/cnfContext/schemas/Signals.js.map +1 -1
- package/lib/commonjs/capabilities/core/src/system/cnfContext/schemas/Subaccount.js +0 -24
- package/lib/commonjs/capabilities/core/src/system/cnfContext/schemas/Subaccount.js.map +1 -1
- package/lib/commonjs/capabilities/errors/types/index.js +22 -1
- package/lib/commonjs/capabilities/errors/types/index.js.map +1 -1
- package/lib/commonjs/capabilities/offer-catalog/src/api/offerCatalogApi.js +3 -3
- package/lib/commonjs/capabilities/offer-catalog/src/api/offerCatalogApi.js.map +1 -1
- package/lib/commonjs/components/MoneyLionOfferCarousel.js +13 -5
- package/lib/commonjs/components/MoneyLionOfferCarousel.js.map +1 -1
- package/lib/commonjs/components/utils/errorUtils.js +2 -2
- package/lib/commonjs/components/utils/errorUtils.js.map +1 -1
- package/lib/commonjs/index.js +11 -0
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/services/getDynamicOffers.js +4 -2
- package/lib/commonjs/services/getDynamicOffers.js.map +1 -1
- package/lib/commonjs/version.js +1 -1
- package/lib/commonjs/version.js.map +1 -1
- package/lib/module/capabilities/core/src/system/cnfContext/CnfContext.js +1 -11
- package/lib/module/capabilities/core/src/system/cnfContext/CnfContext.js.map +1 -1
- package/lib/module/capabilities/core/src/system/cnfContext/schemas/App.js +1 -11
- package/lib/module/capabilities/core/src/system/cnfContext/schemas/App.js.map +1 -1
- package/lib/module/capabilities/core/src/system/cnfContext/schemas/Brand.js +1 -115
- package/lib/module/capabilities/core/src/system/cnfContext/schemas/Brand.js.map +1 -1
- package/lib/module/capabilities/core/src/system/cnfContext/schemas/Configuration.js +1 -34
- package/lib/module/capabilities/core/src/system/cnfContext/schemas/Configuration.js.map +1 -1
- package/lib/module/capabilities/core/src/system/cnfContext/schemas/Request.js +1 -14
- package/lib/module/capabilities/core/src/system/cnfContext/schemas/Request.js.map +1 -1
- package/lib/module/capabilities/core/src/system/cnfContext/schemas/Session.js +1 -5
- package/lib/module/capabilities/core/src/system/cnfContext/schemas/Session.js.map +1 -1
- package/lib/module/capabilities/core/src/system/cnfContext/schemas/Signals.js +1 -34
- package/lib/module/capabilities/core/src/system/cnfContext/schemas/Signals.js.map +1 -1
- package/lib/module/capabilities/core/src/system/cnfContext/schemas/Subaccount.js +1 -19
- package/lib/module/capabilities/core/src/system/cnfContext/schemas/Subaccount.js.map +1 -1
- package/lib/module/capabilities/errors/types/index.js +21 -0
- package/lib/module/capabilities/errors/types/index.js.map +1 -1
- package/lib/module/capabilities/offer-catalog/src/api/offerCatalogApi.js +4 -4
- package/lib/module/capabilities/offer-catalog/src/api/offerCatalogApi.js.map +1 -1
- package/lib/module/components/MoneyLionOfferCarousel.js +14 -6
- package/lib/module/components/MoneyLionOfferCarousel.js.map +1 -1
- package/lib/module/components/utils/errorUtils.js +3 -3
- package/lib/module/components/utils/errorUtils.js.map +1 -1
- package/lib/module/index.js +1 -0
- package/lib/module/index.js.map +1 -1
- package/lib/module/services/getDynamicOffers.js +4 -2
- package/lib/module/services/getDynamicOffers.js.map +1 -1
- package/lib/module/version.js +1 -1
- package/lib/module/version.js.map +1 -1
- package/lib/typescript/apiEnvironment.d.ts.map +1 -0
- package/lib/typescript/builder/builder.d.ts.map +1 -0
- package/lib/typescript/builder/config/types.d.ts.map +1 -0
- package/lib/typescript/builder/index.d.ts.map +1 -0
- package/lib/typescript/capabilities/configuration/src/brands/checkVisualEligibility.d.ts.map +1 -0
- package/lib/typescript/capabilities/configuration/src/brands/createDerivedBrands.d.ts.map +1 -0
- package/lib/typescript/capabilities/configuration/src/brands/index.d.ts.map +1 -0
- package/lib/typescript/capabilities/configuration/src/brands/types.d.ts.map +1 -0
- package/lib/typescript/capabilities/configuration/src/userData/types.d.ts.map +1 -0
- package/lib/typescript/capabilities/core/src/index.d.ts.map +1 -0
- package/lib/typescript/capabilities/core/src/system/cnfContext/CnfContext.d.ts +16 -0
- package/lib/typescript/capabilities/core/src/system/cnfContext/CnfContext.d.ts.map +1 -0
- package/lib/typescript/capabilities/core/src/system/cnfContext/schemas/App.d.ts +11 -0
- package/lib/typescript/capabilities/core/src/system/cnfContext/schemas/App.d.ts.map +1 -0
- package/lib/typescript/capabilities/core/src/system/cnfContext/schemas/Brand.d.ts +104 -0
- package/lib/typescript/capabilities/core/src/system/cnfContext/schemas/Brand.d.ts.map +1 -0
- package/lib/typescript/capabilities/core/src/system/cnfContext/schemas/Configuration.d.ts +25 -0
- package/lib/typescript/capabilities/core/src/system/cnfContext/schemas/Configuration.d.ts.map +1 -0
- package/lib/typescript/capabilities/core/src/system/cnfContext/schemas/Request.d.ts +12 -0
- package/lib/typescript/capabilities/core/src/system/cnfContext/schemas/Request.d.ts.map +1 -0
- package/lib/typescript/capabilities/core/src/system/cnfContext/schemas/Session.d.ts +5 -0
- package/lib/typescript/capabilities/core/src/system/cnfContext/schemas/Session.d.ts.map +1 -0
- package/lib/typescript/capabilities/core/src/system/cnfContext/schemas/Signals.d.ts +31 -0
- package/lib/typescript/capabilities/core/src/system/cnfContext/schemas/Signals.d.ts.map +1 -0
- package/lib/typescript/capabilities/core/src/system/cnfContext/schemas/Subaccount.d.ts +18 -0
- package/lib/typescript/capabilities/core/src/system/cnfContext/schemas/Subaccount.d.ts.map +1 -0
- package/lib/typescript/capabilities/core/src/system/cnfContext/schemas/index.d.ts.map +1 -0
- package/lib/typescript/{src/capabilities → capabilities}/errors/types/index.d.ts +18 -2
- package/lib/typescript/capabilities/errors/types/index.d.ts.map +1 -0
- package/lib/typescript/capabilities/offer-catalog/src/api/offerCatalogApi.d.ts.map +1 -0
- package/lib/typescript/capabilities/offer-catalog/src/index.d.ts.map +1 -0
- package/lib/typescript/capabilities/offer-catalog/src/types/offerCatalogSchema.d.ts.map +1 -0
- package/lib/typescript/capabilities/offer-catalog/src/utils/arrayToMarkdownList.d.ts.map +1 -0
- package/lib/typescript/{src/capabilities → capabilities}/offer-catalog/src/utils/contextUtil.d.ts +1 -1
- package/lib/typescript/capabilities/offer-catalog/src/utils/contextUtil.d.ts.map +1 -0
- package/lib/typescript/capabilities/offer-catalog/src/utils/errorUtil.d.ts.map +1 -0
- package/lib/typescript/capabilities/offer-catalog/src/utils/formatUtils.d.ts.map +1 -0
- package/lib/typescript/capabilities/offer-catalog/src/utils/getEventCallbackContext.d.ts.map +1 -0
- package/lib/typescript/capabilities/offer-catalog/src/utils/getOfferUrl.d.ts.map +1 -0
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/annualFee.d.ts.map +1 -0
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/boolean.d.ts.map +1 -0
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/common.d.ts.map +1 -0
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/creditBureaus.d.ts.map +1 -0
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/currency.d.ts.map +1 -0
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/currencyOrBasis.d.ts.map +1 -0
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/freeTrialDays.d.ts.map +1 -0
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/fromListStringWithAnd.d.ts.map +1 -0
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/index.d.ts.map +1 -0
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/monthlyOrAnnualCurrency.d.ts.map +1 -0
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/percentage.d.ts.map +1 -0
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/purchaseApr.d.ts.map +1 -0
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/rangeCurrency.d.ts.map +1 -0
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/rangeCurrencyByTime.d.ts.map +1 -0
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/rangeCurrencyUnabbreviated.d.ts.map +1 -0
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/rangeMonths.d.ts.map +1 -0
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/rangePercent.d.ts.map +1 -0
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/recommendedCredit.d.ts.map +1 -0
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/rewardsDisplay.d.ts.map +1 -0
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/index.d.ts.map +1 -0
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/types.d.ts.map +1 -0
- package/lib/typescript/capabilities/offers/pipeline/src/sources/ratetables/offer-catalog/types/index.d.ts.map +1 -0
- package/lib/typescript/capabilities/offers/pipeline/src/sources/ratetables/offer-catalog/types/oas/offer-catalog.d.ts.map +1 -0
- package/lib/typescript/capabilities/offers/pipeline/src/sources/ratetables/types/index.d.ts.map +1 -0
- package/lib/typescript/{src/capabilities → capabilities}/offers/pipeline/src/sources/ratetables/withDeviceSignals.d.ts +11 -11
- package/lib/typescript/capabilities/offers/pipeline/src/sources/ratetables/withDeviceSignals.d.ts.map +1 -0
- package/lib/typescript/capabilities/ui/elements/src/components/MarkdownText/Abbreviation.d.ts.map +1 -0
- package/lib/typescript/capabilities/ui/elements/src/components/MarkdownText/components.d.ts.map +1 -0
- package/lib/typescript/capabilities/ui/elements/src/components/MarkdownText/index.d.ts.map +1 -0
- package/lib/typescript/capabilities/ui/elements/src/components/MarkdownText/markdownPreprocessor.d.ts.map +1 -0
- package/lib/typescript/capabilities/ui/elements/src/components/index.d.ts.map +1 -0
- package/lib/typescript/capabilities/ui/elements/src/components/thumbor/index.d.ts.map +1 -0
- package/lib/typescript/capabilities/ui/elements/src/components/thumbor/useSvgUriViewBox.d.ts.map +1 -0
- package/lib/typescript/capabilities/ui/elements/src/index.d.ts.map +1 -0
- package/lib/typescript/capabilities/ui/elements/src/offerCardAttributes.d.ts.map +1 -0
- package/lib/typescript/components/Button/index.d.ts.map +1 -0
- package/lib/typescript/components/Common/BaseOfferCard/Content/Content.d.ts.map +1 -0
- package/lib/typescript/components/Common/BaseOfferCard/Content/index.d.ts.map +1 -0
- package/lib/typescript/components/Common/BaseOfferCard/Stat/Stat.d.ts.map +1 -0
- package/lib/typescript/components/Common/BaseOfferCard/Stat/index.d.ts.map +1 -0
- package/lib/typescript/components/Common/BaseOfferCard/StatsContainer/StatsContainer.d.ts.map +1 -0
- package/lib/typescript/components/Common/BaseOfferCard/StatsContainer/index.d.ts.map +1 -0
- package/lib/typescript/components/Common/BaseOfferCard/index.d.ts.map +1 -0
- package/lib/typescript/components/Common/DynamicOfferCard/CallToAction.d.ts.map +1 -0
- package/lib/typescript/components/Common/DynamicOfferCard/SeeMore.d.ts.map +1 -0
- package/lib/typescript/components/Common/DynamicOfferCard/index.d.ts.map +1 -0
- package/lib/typescript/components/Common/index.d.ts.map +1 -0
- package/lib/typescript/components/Divider/index.d.ts.map +1 -0
- package/lib/typescript/components/DynamicOffers/DynamicOffers.d.ts.map +1 -0
- package/lib/typescript/components/DynamicOffers/DynamicOffersContainer.d.ts.map +1 -0
- package/lib/typescript/components/DynamicOffers/Render/DynamicOffersRender.d.ts.map +1 -0
- package/lib/typescript/components/DynamicOffers/Render/FallbackOfferTemplate.d.ts.map +1 -0
- package/lib/typescript/components/DynamicOffers/Render/Offer.d.ts.map +1 -0
- package/lib/typescript/components/DynamicOffers/Render/index.d.ts.map +1 -0
- package/lib/typescript/components/DynamicOffers/SeeAllButton.d.ts.map +1 -0
- package/lib/typescript/components/ErrorBoundary/index.d.ts.map +1 -0
- package/lib/typescript/components/Layouts/CreditCardOfferCard/index.d.ts.map +1 -0
- package/lib/typescript/components/Layouts/CreditCardOfferCard/statsBuilder.d.ts.map +1 -0
- package/lib/typescript/components/Layouts/DefaultOfferCard/index.d.ts.map +1 -0
- package/lib/typescript/components/Layouts/DefaultOfferCard/statsBuilder.d.ts.map +1 -0
- package/lib/typescript/components/Layouts/HeadlineWithDescriptionCard/index.d.ts.map +1 -0
- package/lib/typescript/components/Layouts/index.d.ts.map +1 -0
- package/lib/typescript/components/Modal/AllOffersModal.d.ts.map +1 -0
- package/lib/typescript/components/Modal/DescriptionPoints.d.ts.map +1 -0
- package/lib/typescript/components/Modal/Disclaimer.d.ts.map +1 -0
- package/lib/typescript/components/Modal/OfferDetailsModal.d.ts.map +1 -0
- package/lib/typescript/components/MoneyLionOfferCarousel.d.ts.map +1 -0
- package/lib/typescript/components/Skeleton/Skeleton.d.ts.map +1 -0
- package/lib/typescript/components/Skeleton/index.d.ts.map +1 -0
- package/lib/typescript/components/Text/index.d.ts.map +1 -0
- package/lib/typescript/components/Touchable/TouchableOpacity.d.ts.map +1 -0
- package/lib/typescript/components/Touchable/index.d.ts.map +1 -0
- package/lib/typescript/components/View/index.d.ts.map +1 -0
- package/lib/typescript/components/utils/errorUtils.d.ts.map +1 -0
- package/lib/typescript/components/utils/withTestID.d.ts.map +1 -0
- package/lib/typescript/config/mocks/cnfContext.d.ts.map +1 -0
- package/lib/typescript/context/ConfigurationProvider.d.ts.map +1 -0
- package/lib/typescript/context/EventHandlerProvider.d.ts.map +1 -0
- package/lib/typescript/context/ThemeProvider.d.ts.map +1 -0
- package/lib/typescript/deps/configuration.d.ts.map +1 -0
- package/lib/typescript/{src/index.d.ts → index.d.ts} +1 -0
- package/lib/typescript/index.d.ts.map +1 -0
- package/lib/typescript/pageData.d.ts.map +1 -0
- package/lib/typescript/services/getDynamicOffers.d.ts.map +1 -0
- package/lib/typescript/services/getProductTypes.d.ts.map +1 -0
- package/lib/typescript/utils/addClientTagsToOfferLinks.d.ts.map +1 -0
- package/lib/typescript/utils/formatOfferUrl.d.ts.map +1 -0
- package/lib/typescript/utils/getDefaultProductType.d.ts.map +1 -0
- package/lib/typescript/utils/getEnableUseCachedOffers.d.ts.map +1 -0
- package/lib/typescript/{src/utils → utils}/getOffersByProductTypes.d.ts +1 -1
- package/lib/typescript/utils/getOffersByProductTypes.d.ts.map +1 -0
- package/lib/typescript/utils/getProductTypesDefinition.d.ts +14 -0
- package/lib/typescript/utils/getProductTypesDefinition.d.ts.map +1 -0
- package/lib/typescript/utils/getThemeColors.d.ts.map +1 -0
- package/lib/typescript/utils/index.d.ts.map +1 -0
- package/lib/typescript/utils/parseStringProductTypes.d.ts.map +1 -0
- package/lib/typescript/utils/resolveProductTypes.d.ts.map +1 -0
- package/lib/typescript/utils/sortOffersByRecommendationScore.d.ts.map +1 -0
- package/lib/typescript/version.d.ts +2 -0
- package/lib/typescript/version.d.ts.map +1 -0
- package/package.json +3 -13
- package/src/capabilities/core/src/system/cnfContext/CnfContext.ts +15 -20
- package/src/capabilities/core/src/system/cnfContext/schemas/App.ts +10 -13
- package/src/capabilities/core/src/system/cnfContext/schemas/Brand.ts +108 -148
- package/src/capabilities/core/src/system/cnfContext/schemas/Configuration.ts +21 -46
- package/src/capabilities/core/src/system/cnfContext/schemas/Request.ts +11 -16
- package/src/capabilities/core/src/system/cnfContext/schemas/Session.ts +4 -8
- package/src/capabilities/core/src/system/cnfContext/schemas/Signals.ts +30 -41
- package/src/capabilities/core/src/system/cnfContext/schemas/Subaccount.ts +16 -24
- package/src/capabilities/errors/types/index.ts +30 -1
- package/src/capabilities/offer-catalog/src/api/offerCatalogApi.ts +4 -4
- package/src/components/MoneyLionOfferCarousel.tsx +14 -6
- package/src/components/utils/errorUtils.ts +3 -3
- package/src/index.tsx +4 -0
- package/src/services/getDynamicOffers.ts +10 -7
- package/src/version.ts +1 -1
- package/lib/typescript/src/apiEnvironment.d.ts.map +0 -1
- package/lib/typescript/src/builder/builder.d.ts.map +0 -1
- package/lib/typescript/src/builder/config/types.d.ts.map +0 -1
- package/lib/typescript/src/builder/index.d.ts.map +0 -1
- package/lib/typescript/src/capabilities/configuration/src/brands/checkVisualEligibility.d.ts.map +0 -1
- package/lib/typescript/src/capabilities/configuration/src/brands/createDerivedBrands.d.ts.map +0 -1
- package/lib/typescript/src/capabilities/configuration/src/brands/index.d.ts.map +0 -1
- package/lib/typescript/src/capabilities/configuration/src/brands/types.d.ts.map +0 -1
- package/lib/typescript/src/capabilities/configuration/src/userData/types.d.ts.map +0 -1
- package/lib/typescript/src/capabilities/core/src/index.d.ts.map +0 -1
- package/lib/typescript/src/capabilities/core/src/system/cnfContext/CnfContext.d.ts +0 -103
- package/lib/typescript/src/capabilities/core/src/system/cnfContext/CnfContext.d.ts.map +0 -1
- package/lib/typescript/src/capabilities/core/src/system/cnfContext/schemas/App.d.ts +0 -13
- package/lib/typescript/src/capabilities/core/src/system/cnfContext/schemas/App.d.ts.map +0 -1
- package/lib/typescript/src/capabilities/core/src/system/cnfContext/schemas/Brand.d.ts +0 -475
- package/lib/typescript/src/capabilities/core/src/system/cnfContext/schemas/Brand.d.ts.map +0 -1
- package/lib/typescript/src/capabilities/core/src/system/cnfContext/schemas/Configuration.d.ts +0 -59
- package/lib/typescript/src/capabilities/core/src/system/cnfContext/schemas/Configuration.d.ts.map +0 -1
- package/lib/typescript/src/capabilities/core/src/system/cnfContext/schemas/Request.d.ts +0 -16
- package/lib/typescript/src/capabilities/core/src/system/cnfContext/schemas/Request.d.ts.map +0 -1
- package/lib/typescript/src/capabilities/core/src/system/cnfContext/schemas/Session.d.ts +0 -8
- package/lib/typescript/src/capabilities/core/src/system/cnfContext/schemas/Session.d.ts.map +0 -1
- package/lib/typescript/src/capabilities/core/src/system/cnfContext/schemas/Signals.d.ts +0 -64
- package/lib/typescript/src/capabilities/core/src/system/cnfContext/schemas/Signals.d.ts.map +0 -1
- package/lib/typescript/src/capabilities/core/src/system/cnfContext/schemas/Subaccount.d.ts +0 -18
- package/lib/typescript/src/capabilities/core/src/system/cnfContext/schemas/Subaccount.d.ts.map +0 -1
- package/lib/typescript/src/capabilities/core/src/system/cnfContext/schemas/index.d.ts.map +0 -1
- package/lib/typescript/src/capabilities/errors/types/index.d.ts.map +0 -1
- package/lib/typescript/src/capabilities/offer-catalog/src/api/offerCatalogApi.d.ts.map +0 -1
- package/lib/typescript/src/capabilities/offer-catalog/src/index.d.ts.map +0 -1
- package/lib/typescript/src/capabilities/offer-catalog/src/types/offerCatalogSchema.d.ts.map +0 -1
- package/lib/typescript/src/capabilities/offer-catalog/src/utils/arrayToMarkdownList.d.ts.map +0 -1
- package/lib/typescript/src/capabilities/offer-catalog/src/utils/contextUtil.d.ts.map +0 -1
- package/lib/typescript/src/capabilities/offer-catalog/src/utils/errorUtil.d.ts.map +0 -1
- package/lib/typescript/src/capabilities/offer-catalog/src/utils/formatUtils.d.ts.map +0 -1
- package/lib/typescript/src/capabilities/offer-catalog/src/utils/getEventCallbackContext.d.ts.map +0 -1
- package/lib/typescript/src/capabilities/offer-catalog/src/utils/getOfferUrl.d.ts.map +0 -1
- package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/annualFee.d.ts.map +0 -1
- package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/boolean.d.ts.map +0 -1
- package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/common.d.ts.map +0 -1
- package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/creditBureaus.d.ts.map +0 -1
- package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/currency.d.ts.map +0 -1
- package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/currencyOrBasis.d.ts.map +0 -1
- package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/freeTrialDays.d.ts.map +0 -1
- package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/fromListStringWithAnd.d.ts.map +0 -1
- package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/index.d.ts.map +0 -1
- package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/monthlyOrAnnualCurrency.d.ts.map +0 -1
- package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/percentage.d.ts.map +0 -1
- package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/purchaseApr.d.ts.map +0 -1
- package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/rangeCurrency.d.ts.map +0 -1
- package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/rangeCurrencyByTime.d.ts.map +0 -1
- package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/rangeCurrencyUnabbreviated.d.ts.map +0 -1
- package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/rangeMonths.d.ts.map +0 -1
- package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/rangePercent.d.ts.map +0 -1
- package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/recommendedCredit.d.ts.map +0 -1
- package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/rewardsDisplay.d.ts.map +0 -1
- package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/index.d.ts.map +0 -1
- package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/types.d.ts.map +0 -1
- package/lib/typescript/src/capabilities/offers/pipeline/src/sources/ratetables/offer-catalog/types/index.d.ts.map +0 -1
- package/lib/typescript/src/capabilities/offers/pipeline/src/sources/ratetables/offer-catalog/types/oas/offer-catalog.d.ts.map +0 -1
- package/lib/typescript/src/capabilities/offers/pipeline/src/sources/ratetables/types/index.d.ts.map +0 -1
- package/lib/typescript/src/capabilities/offers/pipeline/src/sources/ratetables/withDeviceSignals.d.ts.map +0 -1
- package/lib/typescript/src/capabilities/ui/elements/src/components/MarkdownText/Abbreviation.d.ts.map +0 -1
- package/lib/typescript/src/capabilities/ui/elements/src/components/MarkdownText/components.d.ts.map +0 -1
- package/lib/typescript/src/capabilities/ui/elements/src/components/MarkdownText/index.d.ts.map +0 -1
- package/lib/typescript/src/capabilities/ui/elements/src/components/MarkdownText/markdownPreprocessor.d.ts.map +0 -1
- package/lib/typescript/src/capabilities/ui/elements/src/components/index.d.ts.map +0 -1
- package/lib/typescript/src/capabilities/ui/elements/src/components/thumbor/index.d.ts.map +0 -1
- package/lib/typescript/src/capabilities/ui/elements/src/components/thumbor/useSvgUriViewBox.d.ts.map +0 -1
- package/lib/typescript/src/capabilities/ui/elements/src/index.d.ts.map +0 -1
- package/lib/typescript/src/capabilities/ui/elements/src/offerCardAttributes.d.ts.map +0 -1
- package/lib/typescript/src/components/Button/index.d.ts.map +0 -1
- package/lib/typescript/src/components/Common/BaseOfferCard/Content/Content.d.ts.map +0 -1
- package/lib/typescript/src/components/Common/BaseOfferCard/Content/index.d.ts.map +0 -1
- package/lib/typescript/src/components/Common/BaseOfferCard/Stat/Stat.d.ts.map +0 -1
- package/lib/typescript/src/components/Common/BaseOfferCard/Stat/index.d.ts.map +0 -1
- package/lib/typescript/src/components/Common/BaseOfferCard/StatsContainer/StatsContainer.d.ts.map +0 -1
- package/lib/typescript/src/components/Common/BaseOfferCard/StatsContainer/index.d.ts.map +0 -1
- package/lib/typescript/src/components/Common/BaseOfferCard/index.d.ts.map +0 -1
- package/lib/typescript/src/components/Common/DynamicOfferCard/CallToAction.d.ts.map +0 -1
- package/lib/typescript/src/components/Common/DynamicOfferCard/SeeMore.d.ts.map +0 -1
- package/lib/typescript/src/components/Common/DynamicOfferCard/index.d.ts.map +0 -1
- package/lib/typescript/src/components/Common/index.d.ts.map +0 -1
- package/lib/typescript/src/components/Divider/index.d.ts.map +0 -1
- package/lib/typescript/src/components/DynamicOffers/DynamicOffers.d.ts.map +0 -1
- package/lib/typescript/src/components/DynamicOffers/DynamicOffersContainer.d.ts.map +0 -1
- package/lib/typescript/src/components/DynamicOffers/Render/DynamicOffersRender.d.ts.map +0 -1
- package/lib/typescript/src/components/DynamicOffers/Render/FallbackOfferTemplate.d.ts.map +0 -1
- package/lib/typescript/src/components/DynamicOffers/Render/Offer.d.ts.map +0 -1
- package/lib/typescript/src/components/DynamicOffers/Render/index.d.ts.map +0 -1
- package/lib/typescript/src/components/DynamicOffers/SeeAllButton.d.ts.map +0 -1
- package/lib/typescript/src/components/ErrorBoundary/index.d.ts.map +0 -1
- package/lib/typescript/src/components/Layouts/CreditCardOfferCard/index.d.ts.map +0 -1
- package/lib/typescript/src/components/Layouts/CreditCardOfferCard/statsBuilder.d.ts.map +0 -1
- package/lib/typescript/src/components/Layouts/DefaultOfferCard/index.d.ts.map +0 -1
- package/lib/typescript/src/components/Layouts/DefaultOfferCard/statsBuilder.d.ts.map +0 -1
- package/lib/typescript/src/components/Layouts/HeadlineWithDescriptionCard/index.d.ts.map +0 -1
- package/lib/typescript/src/components/Layouts/index.d.ts.map +0 -1
- package/lib/typescript/src/components/Modal/AllOffersModal.d.ts.map +0 -1
- package/lib/typescript/src/components/Modal/DescriptionPoints.d.ts.map +0 -1
- package/lib/typescript/src/components/Modal/Disclaimer.d.ts.map +0 -1
- package/lib/typescript/src/components/Modal/OfferDetailsModal.d.ts.map +0 -1
- package/lib/typescript/src/components/MoneyLionOfferCarousel.d.ts.map +0 -1
- package/lib/typescript/src/components/Skeleton/Skeleton.d.ts.map +0 -1
- package/lib/typescript/src/components/Skeleton/index.d.ts.map +0 -1
- package/lib/typescript/src/components/Text/index.d.ts.map +0 -1
- package/lib/typescript/src/components/Touchable/TouchableOpacity.d.ts.map +0 -1
- package/lib/typescript/src/components/Touchable/index.d.ts.map +0 -1
- package/lib/typescript/src/components/View/index.d.ts.map +0 -1
- package/lib/typescript/src/components/utils/errorUtils.d.ts.map +0 -1
- package/lib/typescript/src/components/utils/withTestID.d.ts.map +0 -1
- package/lib/typescript/src/config/mocks/cnfContext.d.ts.map +0 -1
- package/lib/typescript/src/context/ConfigurationProvider.d.ts.map +0 -1
- package/lib/typescript/src/context/EventHandlerProvider.d.ts.map +0 -1
- package/lib/typescript/src/context/ThemeProvider.d.ts.map +0 -1
- package/lib/typescript/src/deps/configuration.d.ts.map +0 -1
- package/lib/typescript/src/index.d.ts.map +0 -1
- package/lib/typescript/src/pageData.d.ts.map +0 -1
- package/lib/typescript/src/services/getDynamicOffers.d.ts.map +0 -1
- package/lib/typescript/src/services/getProductTypes.d.ts.map +0 -1
- package/lib/typescript/src/utils/addClientTagsToOfferLinks.d.ts.map +0 -1
- package/lib/typescript/src/utils/formatOfferUrl.d.ts.map +0 -1
- package/lib/typescript/src/utils/getDefaultProductType.d.ts.map +0 -1
- package/lib/typescript/src/utils/getEnableUseCachedOffers.d.ts.map +0 -1
- package/lib/typescript/src/utils/getOffersByProductTypes.d.ts.map +0 -1
- package/lib/typescript/src/utils/getProductTypesDefinition.d.ts +0 -14
- package/lib/typescript/src/utils/getProductTypesDefinition.d.ts.map +0 -1
- package/lib/typescript/src/utils/getThemeColors.d.ts.map +0 -1
- package/lib/typescript/src/utils/index.d.ts.map +0 -1
- package/lib/typescript/src/utils/parseStringProductTypes.d.ts.map +0 -1
- package/lib/typescript/src/utils/resolveProductTypes.d.ts.map +0 -1
- package/lib/typescript/src/utils/sortOffersByRecommendationScore.d.ts.map +0 -1
- package/lib/typescript/src/version.d.ts +0 -2
- package/lib/typescript/src/version.d.ts.map +0 -1
- /package/lib/typescript/{src/apiEnvironment.d.ts → apiEnvironment.d.ts} +0 -0
- /package/lib/typescript/{src/builder → builder}/builder.d.ts +0 -0
- /package/lib/typescript/{src/builder → builder}/config/types.d.ts +0 -0
- /package/lib/typescript/{src/builder → builder}/index.d.ts +0 -0
- /package/lib/typescript/{src/capabilities → capabilities}/configuration/src/brands/checkVisualEligibility.d.ts +0 -0
- /package/lib/typescript/{src/capabilities → capabilities}/configuration/src/brands/createDerivedBrands.d.ts +0 -0
- /package/lib/typescript/{src/capabilities → capabilities}/configuration/src/brands/index.d.ts +0 -0
- /package/lib/typescript/{src/capabilities → capabilities}/configuration/src/brands/types.d.ts +0 -0
- /package/lib/typescript/{src/capabilities → capabilities}/configuration/src/userData/types.d.ts +0 -0
- /package/lib/typescript/{src/capabilities → capabilities}/core/src/index.d.ts +0 -0
- /package/lib/typescript/{src/capabilities → capabilities}/core/src/system/cnfContext/schemas/index.d.ts +0 -0
- /package/lib/typescript/{src/capabilities → capabilities}/offer-catalog/src/api/offerCatalogApi.d.ts +0 -0
- /package/lib/typescript/{src/capabilities → capabilities}/offer-catalog/src/index.d.ts +0 -0
- /package/lib/typescript/{src/capabilities → capabilities}/offer-catalog/src/types/offerCatalogSchema.d.ts +0 -0
- /package/lib/typescript/{src/capabilities → capabilities}/offer-catalog/src/utils/arrayToMarkdownList.d.ts +0 -0
- /package/lib/typescript/{src/capabilities → capabilities}/offer-catalog/src/utils/errorUtil.d.ts +0 -0
- /package/lib/typescript/{src/capabilities → capabilities}/offer-catalog/src/utils/formatUtils.d.ts +0 -0
- /package/lib/typescript/{src/capabilities → capabilities}/offer-catalog/src/utils/getEventCallbackContext.d.ts +0 -0
- /package/lib/typescript/{src/capabilities → capabilities}/offer-catalog/src/utils/getOfferUrl.d.ts +0 -0
- /package/lib/typescript/{src/capabilities → capabilities}/offer-catalog/src/utils/stats/formatters/annualFee.d.ts +0 -0
- /package/lib/typescript/{src/capabilities → capabilities}/offer-catalog/src/utils/stats/formatters/boolean.d.ts +0 -0
- /package/lib/typescript/{src/capabilities → capabilities}/offer-catalog/src/utils/stats/formatters/common.d.ts +0 -0
- /package/lib/typescript/{src/capabilities → capabilities}/offer-catalog/src/utils/stats/formatters/creditBureaus.d.ts +0 -0
- /package/lib/typescript/{src/capabilities → capabilities}/offer-catalog/src/utils/stats/formatters/currency.d.ts +0 -0
- /package/lib/typescript/{src/capabilities → capabilities}/offer-catalog/src/utils/stats/formatters/currencyOrBasis.d.ts +0 -0
- /package/lib/typescript/{src/capabilities → capabilities}/offer-catalog/src/utils/stats/formatters/freeTrialDays.d.ts +0 -0
- /package/lib/typescript/{src/capabilities → capabilities}/offer-catalog/src/utils/stats/formatters/fromListStringWithAnd.d.ts +0 -0
- /package/lib/typescript/{src/capabilities → capabilities}/offer-catalog/src/utils/stats/formatters/index.d.ts +0 -0
- /package/lib/typescript/{src/capabilities → capabilities}/offer-catalog/src/utils/stats/formatters/monthlyOrAnnualCurrency.d.ts +0 -0
- /package/lib/typescript/{src/capabilities → capabilities}/offer-catalog/src/utils/stats/formatters/percentage.d.ts +0 -0
- /package/lib/typescript/{src/capabilities → capabilities}/offer-catalog/src/utils/stats/formatters/purchaseApr.d.ts +0 -0
- /package/lib/typescript/{src/capabilities → capabilities}/offer-catalog/src/utils/stats/formatters/rangeCurrency.d.ts +0 -0
- /package/lib/typescript/{src/capabilities → capabilities}/offer-catalog/src/utils/stats/formatters/rangeCurrencyByTime.d.ts +0 -0
- /package/lib/typescript/{src/capabilities → capabilities}/offer-catalog/src/utils/stats/formatters/rangeCurrencyUnabbreviated.d.ts +0 -0
- /package/lib/typescript/{src/capabilities → capabilities}/offer-catalog/src/utils/stats/formatters/rangeMonths.d.ts +0 -0
- /package/lib/typescript/{src/capabilities → capabilities}/offer-catalog/src/utils/stats/formatters/rangePercent.d.ts +0 -0
- /package/lib/typescript/{src/capabilities → capabilities}/offer-catalog/src/utils/stats/formatters/recommendedCredit.d.ts +0 -0
- /package/lib/typescript/{src/capabilities → capabilities}/offer-catalog/src/utils/stats/formatters/rewardsDisplay.d.ts +0 -0
- /package/lib/typescript/{src/capabilities → capabilities}/offer-catalog/src/utils/stats/index.d.ts +0 -0
- /package/lib/typescript/{src/capabilities → capabilities}/offer-catalog/src/utils/stats/types.d.ts +0 -0
- /package/lib/typescript/{src/capabilities → capabilities}/offers/pipeline/src/sources/ratetables/offer-catalog/types/index.d.ts +0 -0
- /package/lib/typescript/{src/capabilities → capabilities}/offers/pipeline/src/sources/ratetables/offer-catalog/types/oas/offer-catalog.d.ts +0 -0
- /package/lib/typescript/{src/capabilities → capabilities}/offers/pipeline/src/sources/ratetables/types/index.d.ts +0 -0
- /package/lib/typescript/{src/capabilities → capabilities}/ui/elements/src/components/MarkdownText/Abbreviation.d.ts +0 -0
- /package/lib/typescript/{src/capabilities → capabilities}/ui/elements/src/components/MarkdownText/components.d.ts +0 -0
- /package/lib/typescript/{src/capabilities → capabilities}/ui/elements/src/components/MarkdownText/index.d.ts +0 -0
- /package/lib/typescript/{src/capabilities → capabilities}/ui/elements/src/components/MarkdownText/markdownPreprocessor.d.ts +0 -0
- /package/lib/typescript/{src/capabilities → capabilities}/ui/elements/src/components/index.d.ts +0 -0
- /package/lib/typescript/{src/capabilities → capabilities}/ui/elements/src/components/thumbor/index.d.ts +0 -0
- /package/lib/typescript/{src/capabilities → capabilities}/ui/elements/src/components/thumbor/useSvgUriViewBox.d.ts +0 -0
- /package/lib/typescript/{src/capabilities → capabilities}/ui/elements/src/index.d.ts +0 -0
- /package/lib/typescript/{src/capabilities → capabilities}/ui/elements/src/offerCardAttributes.d.ts +0 -0
- /package/lib/typescript/{src/components → components}/Button/index.d.ts +0 -0
- /package/lib/typescript/{src/components → components}/Common/BaseOfferCard/Content/Content.d.ts +0 -0
- /package/lib/typescript/{src/components → components}/Common/BaseOfferCard/Content/index.d.ts +0 -0
- /package/lib/typescript/{src/components → components}/Common/BaseOfferCard/Stat/Stat.d.ts +0 -0
- /package/lib/typescript/{src/components → components}/Common/BaseOfferCard/Stat/index.d.ts +0 -0
- /package/lib/typescript/{src/components → components}/Common/BaseOfferCard/StatsContainer/StatsContainer.d.ts +0 -0
- /package/lib/typescript/{src/components → components}/Common/BaseOfferCard/StatsContainer/index.d.ts +0 -0
- /package/lib/typescript/{src/components → components}/Common/BaseOfferCard/index.d.ts +0 -0
- /package/lib/typescript/{src/components → components}/Common/DynamicOfferCard/CallToAction.d.ts +0 -0
- /package/lib/typescript/{src/components → components}/Common/DynamicOfferCard/SeeMore.d.ts +0 -0
- /package/lib/typescript/{src/components → components}/Common/DynamicOfferCard/index.d.ts +0 -0
- /package/lib/typescript/{src/components → components}/Common/index.d.ts +0 -0
- /package/lib/typescript/{src/components → components}/Divider/index.d.ts +0 -0
- /package/lib/typescript/{src/components → components}/DynamicOffers/DynamicOffers.d.ts +0 -0
- /package/lib/typescript/{src/components → components}/DynamicOffers/DynamicOffersContainer.d.ts +0 -0
- /package/lib/typescript/{src/components → components}/DynamicOffers/Render/DynamicOffersRender.d.ts +0 -0
- /package/lib/typescript/{src/components → components}/DynamicOffers/Render/FallbackOfferTemplate.d.ts +0 -0
- /package/lib/typescript/{src/components → components}/DynamicOffers/Render/Offer.d.ts +0 -0
- /package/lib/typescript/{src/components → components}/DynamicOffers/Render/index.d.ts +0 -0
- /package/lib/typescript/{src/components → components}/DynamicOffers/SeeAllButton.d.ts +0 -0
- /package/lib/typescript/{src/components → components}/ErrorBoundary/index.d.ts +0 -0
- /package/lib/typescript/{src/components → components}/Layouts/CreditCardOfferCard/index.d.ts +0 -0
- /package/lib/typescript/{src/components → components}/Layouts/CreditCardOfferCard/statsBuilder.d.ts +0 -0
- /package/lib/typescript/{src/components → components}/Layouts/DefaultOfferCard/index.d.ts +0 -0
- /package/lib/typescript/{src/components → components}/Layouts/DefaultOfferCard/statsBuilder.d.ts +0 -0
- /package/lib/typescript/{src/components → components}/Layouts/HeadlineWithDescriptionCard/index.d.ts +0 -0
- /package/lib/typescript/{src/components → components}/Layouts/index.d.ts +0 -0
- /package/lib/typescript/{src/components → components}/Modal/AllOffersModal.d.ts +0 -0
- /package/lib/typescript/{src/components → components}/Modal/DescriptionPoints.d.ts +0 -0
- /package/lib/typescript/{src/components → components}/Modal/Disclaimer.d.ts +0 -0
- /package/lib/typescript/{src/components → components}/Modal/OfferDetailsModal.d.ts +0 -0
- /package/lib/typescript/{src/components → components}/MoneyLionOfferCarousel.d.ts +0 -0
- /package/lib/typescript/{src/components → components}/Skeleton/Skeleton.d.ts +0 -0
- /package/lib/typescript/{src/components → components}/Skeleton/index.d.ts +0 -0
- /package/lib/typescript/{src/components → components}/Text/index.d.ts +0 -0
- /package/lib/typescript/{src/components → components}/Touchable/TouchableOpacity.d.ts +0 -0
- /package/lib/typescript/{src/components → components}/Touchable/index.d.ts +0 -0
- /package/lib/typescript/{src/components → components}/View/index.d.ts +0 -0
- /package/lib/typescript/{src/components → components}/utils/errorUtils.d.ts +0 -0
- /package/lib/typescript/{src/components → components}/utils/withTestID.d.ts +0 -0
- /package/lib/typescript/{src/config → config}/mocks/cnfContext.d.ts +0 -0
- /package/lib/typescript/{src/context → context}/ConfigurationProvider.d.ts +0 -0
- /package/lib/typescript/{src/context → context}/EventHandlerProvider.d.ts +0 -0
- /package/lib/typescript/{src/context → context}/ThemeProvider.d.ts +0 -0
- /package/lib/typescript/{src/deps → deps}/configuration.d.ts +0 -0
- /package/lib/typescript/{src/pageData.d.ts → pageData.d.ts} +0 -0
- /package/lib/typescript/{src/services → services}/getDynamicOffers.d.ts +0 -0
- /package/lib/typescript/{src/services → services}/getProductTypes.d.ts +0 -0
- /package/lib/typescript/{src/utils → utils}/addClientTagsToOfferLinks.d.ts +0 -0
- /package/lib/typescript/{src/utils → utils}/formatOfferUrl.d.ts +0 -0
- /package/lib/typescript/{src/utils → utils}/getDefaultProductType.d.ts +0 -0
- /package/lib/typescript/{src/utils → utils}/getEnableUseCachedOffers.d.ts +0 -0
- /package/lib/typescript/{src/utils → utils}/getThemeColors.d.ts +0 -0
- /package/lib/typescript/{src/utils → utils}/index.d.ts +0 -0
- /package/lib/typescript/{src/utils → utils}/parseStringProductTypes.d.ts +0 -0
- /package/lib/typescript/{src/utils → utils}/resolveProductTypes.d.ts +0 -0
- /package/lib/typescript/{src/utils → utils}/sortOffersByRecommendationScore.d.ts +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireWildcard","require","_cnfContext","_reactNative","_pageData","_DynamicOffersContainer","_ThemeProvider","_EventHandlerProvider","_apiEnvironment","_ConfigurationProvider","_getThemeColors","_ErrorBoundary","_interopRequireDefault","_version","_types","_errorUtils","e","__esModule","default","t","WeakMap","r","n","o","i","f","__proto__","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","_extends","assign","bind","arguments","length","apply","getConfiguration","channel","zone","subAccountToken","isDev","onError","url","getConfigApiBaseUrl","headers","Authorization","response","fetch","ok","error","Error","status","code","data","json","console","message","additionalInfo","getApiErrorLogProperties","ErrorCodes","FLOW_ERROR","severity","localCnfContext","InternalMoneyLionOfferCarousel","props","_context$signals","fontFamily","showDescriptionPoints","onLoad","title","subtitle","isDarkTheme","productType","tags","showProductTypeLabel","_showProductTypeLabel","showCardBorder","_showCardBorder","userData","context","setContext","pageData","setPageData","onInitialize","onRateTableSubmit","onRateTableResponse","onOfferDisplayInViewport","onOfferClick","onOfferDetailsPageOpen","onOfferDetailsPageClose","eventHandlers","getPageDataParams","useMemo","email","_mockUserCountry","isFetchingData","setIsFetchingData","useState","isFetchingConfig","setIsFetchingConfig","setError","isLoading","country","signals","deviceSignals","trim","toUpperCase","isNonUSCountry","useEffect","fetchConfiguration","serializableContext","err","errorObj","timestamp","Date","toISOString","missingParams","push","MISSING_CONFIG","join","fetchPageData","getPageData","params","isError","Boolean","offers","rateTableUuid","leadUuid","pageDataParams","themeColors","getThemeColors","brand","reshapedThemeColors","createElement","DynamicOfferSkeleton","Text","View","style","alignItems","justifyContent","paddingVertical","color","shouldHideFooter","config","ThemeProvider","EventHandlerProvider","ConfigurationProvider","DynamicOffersContainer","MoneyLionOfferCarousel","fallbackUI","_onError","useCallback","sdkVersion","VERSION","logErrorBoundary","UI_CRASH","exports"],"sourceRoot":"../../../src","sources":["components/MoneyLionOfferCarousel.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AAQA,IAAAC,WAAA,GAAAD,OAAA;AACA,IAAAE,YAAA,GAAAF,OAAA;AACA,IAAAG,SAAA,GAAAH,OAAA;AACA,IAAAI,uBAAA,GAAAJ,OAAA;AAKA,IAAAK,cAAA,GAAAL,OAAA;AACA,IAAAM,qBAAA,GAAAN,OAAA;AAIA,IAAAO,eAAA,GAAAP,OAAA;AACA,IAAAQ,sBAAA,GAAAR,OAAA;AAEA,IAAAS,eAAA,GAAAT,OAAA;AAGA,IAAAU,cAAA,GAAAC,sBAAA,CAAAX,OAAA;AACA,IAAAY,QAAA,GAAAZ,OAAA;AAOA,IAAAa,MAAA,GAAAb,OAAA;AACA,IAAAc,WAAA,GAAAd,OAAA;AAA8D,SAAAW,uBAAAI,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAAA,SAAAhB,wBAAAgB,CAAA,EAAAG,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAApB,uBAAA,YAAAA,CAAAgB,CAAA,EAAAG,CAAA,SAAAA,CAAA,IAAAH,CAAA,IAAAA,CAAA,CAAAC,UAAA,SAAAD,CAAA,MAAAO,CAAA,EAAAC,CAAA,EAAAC,CAAA,KAAAC,SAAA,QAAAR,OAAA,EAAAF,CAAA,iBAAAA,CAAA,uBAAAA,CAAA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,IAAI,CAAC,CAAC,CAACC,WAAW,CAAC,CAAC;MACnCqC,UAAU,EAAEC,gBAAO;MACnB,GAAG1C;IACJ,CAAC,CAAC;EACH,CAAC,EACD,CAACuC,QAAQ,CACV,CAAC;EAED,MAAMI,gBAAgB,GAAG,IAAAH,kBAAW,EAClCtG,KAAY,IAAK;IACjBR,OAAO,aAAPA,OAAO,eAAPA,OAAO,CAAG;MACTW,IAAI,EAAEO,iBAAU,CAACgG,QAAQ;MACzB9F,QAAQ,EAAE,OAAO;MACjBL,OAAO,EAAE,sBAAsB;MAC/BP,KAAK;MACLQ,cAAc,EAAE;QACfsB,OAAO;QACPE;MACD;IACD,CAAC,CAAC;EACH,CAAC,EACD,CAACxC,OAAO,EAAEwC,QAAQ,EAAEF,OAAO,CAC5B,CAAC;EAED,oBACCrF,MAAA,CAAAmB,OAAA,CAAAwH,aAAA,CAAC/H,cAAA,CAAAO,OAAa;IAACwI,UAAU,EAAEA,UAAW;IAAC5G,OAAO,EAAEiH;EAAiB,gBAChEhK,MAAA,CAAAmB,OAAA,CAAAwH,aAAA,CAACtE,8BAA8B,EAAAjC,QAAA,KAC1BkC,KAAK;IACTe,OAAO,EAAEA,OAAQ;IACjBC,UAAU,EAAEA,UAAW;IACvBC,QAAQ,EAAEA,QAAS;IACnBC,WAAW,EAAEA,WAAY;IACzBzC,OAAO,EAAEA;EAAQ,EACjB,CACa,CAAC;AAElB,CAAC;AAACmH,OAAA,CAAAR,sBAAA,GAAAA,sBAAA","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireWildcard","require","_cnfContext","_reactNative","_pageData","_DynamicOffersContainer","_ThemeProvider","_EventHandlerProvider","_apiEnvironment","_ConfigurationProvider","_getThemeColors","_ErrorBoundary","_interopRequireDefault","_version","_types","_errorUtils","e","__esModule","default","t","WeakMap","r","n","o","i","f","__proto__","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","_extends","assign","bind","arguments","length","apply","getConfiguration","channel","zone","subAccountToken","isDev","onError","url","getConfigApiBaseUrl","headers","Authorization","response","fetch","ok","error","Error","status","code","data","json","console","message","additionalInfo","getApiErrorLogProperties","ErrorCodeMap","FLOW_ERROR","severity","localCnfContext","InternalMoneyLionOfferCarousel","props","_context$signals","fontFamily","showDescriptionPoints","onLoad","title","subtitle","isDarkTheme","productType","tags","showProductTypeLabel","_showProductTypeLabel","showCardBorder","_showCardBorder","userData","context","setContext","pageData","setPageData","onInitialize","onRateTableSubmit","onRateTableResponse","onOfferDisplayInViewport","onOfferClick","onOfferDetailsPageOpen","onOfferDetailsPageClose","eventHandlers","getPageDataParams","useMemo","email","_mockUserCountry","isFetchingData","setIsFetchingData","useState","isFetchingConfig","setIsFetchingConfig","setError","isLoading","country","signals","deviceSignals","trim","toUpperCase","isNonUSCountry","useEffect","fetchConfiguration","serializableContext","err","errorObj","timestamp","Date","toISOString","missingParams","push","MISSING_CONFIG","join","fetchPageData","NON_US","getPageData","params","isError","Boolean","offers","rateTableUuid","leadUuid","pageDataParams","themeColors","getThemeColors","brand","reshapedThemeColors","createElement","DynamicOfferSkeleton","Text","View","style","alignItems","justifyContent","paddingVertical","color","shouldHideFooter","config","ThemeProvider","EventHandlerProvider","ConfigurationProvider","DynamicOffersContainer","MoneyLionOfferCarousel","fallbackUI","_onError","useCallback","sdkVersion","VERSION","logErrorBoundary","UI_CRASH","exports"],"sourceRoot":"../../../src","sources":["components/MoneyLionOfferCarousel.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AAQA,IAAAC,WAAA,GAAAD,OAAA;AACA,IAAAE,YAAA,GAAAF,OAAA;AACA,IAAAG,SAAA,GAAAH,OAAA;AACA,IAAAI,uBAAA,GAAAJ,OAAA;AAKA,IAAAK,cAAA,GAAAL,OAAA;AACA,IAAAM,qBAAA,GAAAN,OAAA;AAIA,IAAAO,eAAA,GAAAP,OAAA;AACA,IAAAQ,sBAAA,GAAAR,OAAA;AAEA,IA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AC,EACD,CAACxC,OAAO,EAAEwC,QAAQ,EAAEF,OAAO,CAC5B,CAAC;EAED,oBACCrF,MAAA,CAAAmB,OAAA,CAAAyH,aAAA,CAAChI,cAAA,CAAAO,OAAa;IAACyI,UAAU,EAAEA,UAAW;IAAC7G,OAAO,EAAEkH;EAAiB,gBAChEjK,MAAA,CAAAmB,OAAA,CAAAyH,aAAA,CAACvE,8BAA8B,EAAAjC,QAAA,KAC1BkC,KAAK;IACTe,OAAO,EAAEA,OAAQ;IACjBC,UAAU,EAAEA,UAAW;IACvBC,QAAQ,EAAEA,QAAS;IACnBC,WAAW,EAAEA,WAAY;IACzBzC,OAAO,EAAEA;EAAQ,EACjB,CACa,CAAC;AAElB,CAAC;AAACoH,OAAA,CAAAR,sBAAA,GAAAA,sBAAA","ignoreList":[]}
|
|
@@ -51,7 +51,7 @@ const getApiErrorLogProperties = error => {
|
|
|
51
51
|
return {
|
|
52
52
|
...logProperties,
|
|
53
53
|
statusCode,
|
|
54
|
-
code: _types.
|
|
54
|
+
code: _types.ErrorCodeMap.NETWORK_REQUEST_ERROR
|
|
55
55
|
};
|
|
56
56
|
}
|
|
57
57
|
|
|
@@ -59,7 +59,7 @@ const getApiErrorLogProperties = error => {
|
|
|
59
59
|
return {
|
|
60
60
|
...logProperties,
|
|
61
61
|
statusCode,
|
|
62
|
-
code: _types.
|
|
62
|
+
code: _types.ErrorCodeMap.NETWORK_SERVER_ERROR
|
|
63
63
|
};
|
|
64
64
|
};
|
|
65
65
|
exports.getApiErrorLogProperties = getApiErrorLogProperties;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_types","require","getCustomApiErrorStatusCode","error","code","exports","getApiErrorLogProperties","statusCode","logProperties","severity","
|
|
1
|
+
{"version":3,"names":["_types","require","getCustomApiErrorStatusCode","error","code","exports","getApiErrorLogProperties","statusCode","logProperties","severity","ErrorCodeMap","NETWORK_REQUEST_ERROR","NETWORK_SERVER_ERROR"],"sourceRoot":"../../../../src","sources":["components/utils/errorUtils.ts"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,MAAMC,2BAA2B,GAAIC,KAAc,IAAoB;EAC7E;EACA,IAAIA,KAAK,IAAI,OAAOA,KAAK,KAAK,QAAQ,EAAE;IACvC,IAAI,MAAM,IAAIA,KAAK,IAAI,OAAQA,KAAK,CAASC,IAAI,KAAK,QAAQ,EAAE;MAC/D,OAAQD,KAAK,CAASC,IAAI;IAC3B;EACD;EACA,OAAO,IAAI;AACZ,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAVAC,OAAA,CAAAH,2BAAA,GAAAA,2BAAA;AAWO,MAAMI,wBAAwB,GACpCH,KAAsB,IAC2C;EACjE,MAAMI,UAAU,GAAGL,2BAA2B,CAACC,KAAK,CAAC;EACrD,MAAMK,aAGL,GAAG;IACHC,QAAQ,EAAE,OAAO;IACjBN;EACD,CAAC;;EAED;EACA,IAAI,CAACI,UAAU,IAAIA,UAAU,GAAG,GAAG,EAAE;IACpC,OAAO,IAAI;EACZ;;EAEA;EACA,IAAIA,UAAU,GAAG,GAAG,EAAE;IACrB,OAAO;MACN,GAAGC,aAAa;MAChBD,UAAU;MACVH,IAAI,EAAEM,mBAAY,CAACC;IACpB,CAAC;EACF;;EAEA;EACA,OAAO;IACN,GAAGH,aAAa;IAChBD,UAAU;IACVH,IAAI,EAAEM,mBAAY,CAACE;EACpB,CAAC;AACF,CAAC;AAACP,OAAA,CAAAC,wBAAA,GAAAA,wBAAA","ignoreList":[]}
|
package/lib/commonjs/index.js
CHANGED
|
@@ -3,9 +3,19 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
+
var _exportNames = {
|
|
7
|
+
ErrorCodeMap: true
|
|
8
|
+
};
|
|
9
|
+
Object.defineProperty(exports, "ErrorCodeMap", {
|
|
10
|
+
enumerable: true,
|
|
11
|
+
get: function () {
|
|
12
|
+
return _types.ErrorCodeMap;
|
|
13
|
+
}
|
|
14
|
+
});
|
|
6
15
|
var _MoneyLionOfferCarousel = require("./components/MoneyLionOfferCarousel");
|
|
7
16
|
Object.keys(_MoneyLionOfferCarousel).forEach(function (key) {
|
|
8
17
|
if (key === "default" || key === "__esModule") return;
|
|
18
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
9
19
|
if (key in exports && exports[key] === _MoneyLionOfferCarousel[key]) return;
|
|
10
20
|
Object.defineProperty(exports, key, {
|
|
11
21
|
enumerable: true,
|
|
@@ -14,4 +24,5 @@ Object.keys(_MoneyLionOfferCarousel).forEach(function (key) {
|
|
|
14
24
|
}
|
|
15
25
|
});
|
|
16
26
|
});
|
|
27
|
+
var _types = require("./capabilities/errors/types");
|
|
17
28
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_MoneyLionOfferCarousel","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get"],"sourceRoot":"../../src","sources":["index.tsx"],"mappings":"
|
|
1
|
+
{"version":3,"names":["_MoneyLionOfferCarousel","require","Object","keys","forEach","key","prototype","hasOwnProperty","call","_exportNames","exports","defineProperty","enumerable","get","_types"],"sourceRoot":"../../src","sources":["index.tsx"],"mappings":";;;;;;;;;;;;;;AAAA,IAAAA,uBAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,uBAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAH,MAAA,CAAAI,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAC,YAAA,EAAAJ,GAAA;EAAA,IAAAA,GAAA,IAAAK,OAAA,IAAAA,OAAA,CAAAL,GAAA,MAAAL,uBAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAS,cAAA,CAAAD,OAAA,EAAAL,GAAA;IAAAO,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAb,uBAAA,CAAAK,GAAA;IAAA;EAAA;AAAA;AAgBA,IAAAS,MAAA,GAAAb,OAAA","ignoreList":[]}
|
|
@@ -7,7 +7,6 @@ exports.getDynamicOffers = void 0;
|
|
|
7
7
|
var _radash = require("radash");
|
|
8
8
|
var _utils = require("../utils");
|
|
9
9
|
var _sortOffersByRecommendationScore = require("../utils/sortOffersByRecommendationScore");
|
|
10
|
-
var _effect = require("effect");
|
|
11
10
|
var _formatOfferUrl = require("../utils/formatOfferUrl");
|
|
12
11
|
/**
|
|
13
12
|
* Retrieves dynamic offers based on the provided parameters.
|
|
@@ -63,8 +62,11 @@ const getDynamicOffers = async ({
|
|
|
63
62
|
errorCode = fallbackResult.errorCode;
|
|
64
63
|
}
|
|
65
64
|
const sortedOffers = (0, _sortOffersByRecommendationScore.sortOffersByRecommendationScore)(offers);
|
|
65
|
+
const formattedOffers = (0, _formatOfferUrl.formatOfferUrl)(productTypesDefinition, partnersOverrideDefinition)(sortedOffers);
|
|
66
|
+
const offersWithTags = (0, _utils.addClientTagsToOfferLinks)(isCachedOffersRequest, tags)(formattedOffers);
|
|
67
|
+
const finalOffers = (0, _sortOffersByRecommendationScore.sortOffersByRecommendationScore)(offersWithTags);
|
|
66
68
|
return {
|
|
67
|
-
offers:
|
|
69
|
+
offers: finalOffers,
|
|
68
70
|
isError,
|
|
69
71
|
errorCode,
|
|
70
72
|
leadUuid: leadUuid,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_radash","require","_utils","_sortOffersByRecommendationScore","
|
|
1
|
+
{"version":3,"names":["_radash","require","_utils","_sortOffersByRecommendationScore","_formatOfferUrl","getDynamicOffers","tags","defaultProductType","productTypes","isCachedOffersRequest","productTypesDefinition","partnersOverrideDefinition","context","userData","onError","offers","rateTableUuid","isError","leadUuid","errorCode","getOffersByProductTypes","enablePolling","isEmpty","fallbackResult","sortedOffers","sortOffersByRecommendationScore","formattedOffers","formatOfferUrl","offersWithTags","addClientTagsToOfferLinks","finalOffers","exports"],"sourceRoot":"../../../src","sources":["services/getDynamicOffers.ts"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AACA,IAAAC,MAAA,GAAAD,OAAA;AAEA,IAAAE,gCAAA,GAAAF,OAAA;AACA,IAAAG,eAAA,GAAAH,OAAA;AAuBA;AACA;AACA;AACA;AACA;AACA;AACO,MAAMI,gBAAgB,GAAG,MAAAA,CAAO;EACtCC,IAAI;EACJC,kBAAkB;EAClBC,YAAY;EACZC,qBAAqB;EACrBC,sBAAsB;EACtBC,0BAA0B;EAC1BC,OAAO;EACPC,QAAQ;EACRC;AACqC,CAAC,KAAK;EAC3C;EACA,IAAI;IAAEC,MAAM;IAAEC,aAAa;IAAEC,OAAO;IAAEC,QAAQ;IAAEC;EAAU,CAAC,GAC1D,MAAM,IAAAC,8BAAuB,EAAC;IAC7BX,qBAAqB;IACrBD,YAAY;IACZF,IAAI;IACJM,OAAO;IACPC,QAAQ;IACRQ,aAAa,EAAE,IAAI;IACnBP;EACD,CAAC,CAAC;;EAEH;EACA,IAAI,IAAAQ,eAAO,EAACP,MAAM,CAAC,EAAE;IACpB,MAAMQ,cAAc,GAAG,MAAM,IAAAH,8BAAuB,EAAC;MACpDX,qBAAqB;MACrBD,YAAY,EAAE,CAACD,kBAAkB,CAAC;MAClCD,IAAI;MACJM,OAAO;MACPC,QAAQ;MACRC;IACD,CAAC,CAAC;;IAEF;IACAC,MAAM,GAAGQ,cAAc,CAACR,MAAM;IAC9BC,aAAa,GAAGO,cAAc,CAACP,aAAa;IAC5CC,OAAO,GAAGM,cAAc,CAACN,OAAO;IAChCC,QAAQ,GAAGK,cAAc,CAACL,QAAQ;IAClCV,YAAY,GAAG,CAACD,kBAAkB,CAAC;IACnCY,SAAS,GAAGI,cAAc,CAACJ,SAAS;EACrC;EAEA,MAAMK,YAAY,GAAG,IAAAC,gEAA+B,EAACV,MAAM,CAAC;EAC5D,MAAMW,eAAe,GAAG,IAAAC,8BAAc,EACrCjB,sBAAsB,EACtBC,0BACD,CAAC,CAACa,YAAY,CAAC;EACf,MAAMI,cAAc,GAAG,IAAAC,gCAAyB,EAC/CpB,qBAAqB,EACrBH,IACD,CAAC,CAACoB,eAAe,CAAC;EAClB,MAAMI,WAAW,GAAG,IAAAL,gEAA+B,EAACG,cAAc,CAAC;EAEnE,OAAO;IACNb,MAAM,EAAEe,WAAW;IACnBb,OAAO;IACPE,SAAS;IACTD,QAAQ,EAAEA,QAAQ;IAClBF;EACD,CAAC;AACF,CAAC;AAACe,OAAA,CAAA1B,gBAAA,GAAAA,gBAAA","ignoreList":[]}
|
package/lib/commonjs/version.js
CHANGED
|
@@ -5,5 +5,5 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.VERSION = void 0;
|
|
7
7
|
// Version is kept in sync with package.json via the sync-version script
|
|
8
|
-
const VERSION = exports.VERSION = "1.
|
|
8
|
+
const VERSION = exports.VERSION = "1.10.1";
|
|
9
9
|
//# sourceMappingURL=version.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["VERSION","exports"],"sourceRoot":"../../src","sources":["version.ts"],"mappings":";;;;;;AAAA;AACO,MAAMA,OAAO,GAAAC,OAAA,CAAAD,OAAA,GAAG,
|
|
1
|
+
{"version":3,"names":["VERSION","exports"],"sourceRoot":"../../src","sources":["version.ts"],"mappings":";;;;;;AAAA;AACO,MAAMA,OAAO,GAAAC,OAAA,CAAAD,OAAA,GAAG,QAAQ","ignoreList":[]}
|
|
@@ -1,12 +1,2 @@
|
|
|
1
|
-
|
|
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
|
-
});
|
|
1
|
+
export {};
|
|
12
2
|
//# sourceMappingURL=CnfContext.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../../../../src","sources":["capabilities/core/src/system/cnfContext/CnfContext.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -1,12 +1,2 @@
|
|
|
1
|
-
|
|
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
|
-
});
|
|
1
|
+
|
|
12
2
|
//# sourceMappingURL=App.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../../../../../src","sources":["capabilities/core/src/system/cnfContext/schemas/App.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -1,116 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
const ReshapedThemeColorObject = Schema.Struct({
|
|
3
|
-
hex: Schema.String,
|
|
4
|
-
hexDark: Schema.optional(Schema.String)
|
|
5
|
-
});
|
|
6
|
-
const ReshapedThemeColors = Schema.Struct({
|
|
7
|
-
backgroundCritical: ReshapedThemeColorObject,
|
|
8
|
-
backgroundCriticalFaded: ReshapedThemeColorObject,
|
|
9
|
-
backgroundDisabled: ReshapedThemeColorObject,
|
|
10
|
-
backgroundDisabledFaded: ReshapedThemeColorObject,
|
|
11
|
-
backgroundElevationBase: ReshapedThemeColorObject,
|
|
12
|
-
backgroundElevationOverlay: ReshapedThemeColorObject,
|
|
13
|
-
backgroundElevationRaised: ReshapedThemeColorObject,
|
|
14
|
-
backgroundNeutral: ReshapedThemeColorObject,
|
|
15
|
-
backgroundNeutralFaded: ReshapedThemeColorObject,
|
|
16
|
-
backgroundPage: ReshapedThemeColorObject,
|
|
17
|
-
backgroundPageFaded: ReshapedThemeColorObject,
|
|
18
|
-
backgroundPositive: ReshapedThemeColorObject,
|
|
19
|
-
backgroundPositiveFaded: ReshapedThemeColorObject,
|
|
20
|
-
backgroundPrimary: ReshapedThemeColorObject,
|
|
21
|
-
backgroundPrimaryFaded: ReshapedThemeColorObject,
|
|
22
|
-
backgroundWarning: ReshapedThemeColorObject,
|
|
23
|
-
backgroundWarningFaded: ReshapedThemeColorObject,
|
|
24
|
-
black: ReshapedThemeColorObject,
|
|
25
|
-
borderCritical: ReshapedThemeColorObject,
|
|
26
|
-
borderCriticalFaded: ReshapedThemeColorObject,
|
|
27
|
-
borderDisabled: ReshapedThemeColorObject,
|
|
28
|
-
borderNeutral: ReshapedThemeColorObject,
|
|
29
|
-
borderNeutralFaded: ReshapedThemeColorObject,
|
|
30
|
-
borderPositive: ReshapedThemeColorObject,
|
|
31
|
-
borderPositiveFaded: ReshapedThemeColorObject,
|
|
32
|
-
borderPrimary: ReshapedThemeColorObject,
|
|
33
|
-
borderPrimaryFaded: ReshapedThemeColorObject,
|
|
34
|
-
borderWarning: ReshapedThemeColorObject,
|
|
35
|
-
borderWarningFaded: ReshapedThemeColorObject,
|
|
36
|
-
brand: ReshapedThemeColorObject,
|
|
37
|
-
foregroundCritical: ReshapedThemeColorObject,
|
|
38
|
-
foregroundDisabled: ReshapedThemeColorObject,
|
|
39
|
-
foregroundNeutral: ReshapedThemeColorObject,
|
|
40
|
-
foregroundNeutralFaded: ReshapedThemeColorObject,
|
|
41
|
-
foregroundPositive: ReshapedThemeColorObject,
|
|
42
|
-
foregroundPrimary: ReshapedThemeColorObject,
|
|
43
|
-
foregroundWarning: ReshapedThemeColorObject,
|
|
44
|
-
white: ReshapedThemeColorObject
|
|
45
|
-
});
|
|
46
|
-
const Links = Schema.Struct({
|
|
47
|
-
home: Schema.optional(Schema.String),
|
|
48
|
-
terms: Schema.optional(Schema.String),
|
|
49
|
-
support: Schema.optional(Schema.String),
|
|
50
|
-
privacy: Schema.optional(Schema.String)
|
|
51
|
-
});
|
|
52
|
-
const AiInference = Schema.Struct({
|
|
53
|
-
status: Schema.String,
|
|
54
|
-
error: Schema.optional(Schema.String)
|
|
55
|
-
});
|
|
56
|
-
const Media = Schema.Struct({
|
|
57
|
-
id: Schema.String,
|
|
58
|
-
autoCrop: Schema.Boolean,
|
|
59
|
-
prefix: Schema.optional(Schema.String),
|
|
60
|
-
alt: Schema.optional(Schema.String),
|
|
61
|
-
url: Schema.optional(Schema.String),
|
|
62
|
-
filename: Schema.optional(Schema.String),
|
|
63
|
-
mimeType: Schema.optional(Schema.String),
|
|
64
|
-
filesize: Schema.optional(Schema.Number),
|
|
65
|
-
width: Schema.optional(Schema.Number),
|
|
66
|
-
height: Schema.optional(Schema.Number),
|
|
67
|
-
createdAt: Schema.optional(Schema.String),
|
|
68
|
-
updatedAt: Schema.optional(Schema.String),
|
|
69
|
-
aiInference: Schema.optional(AiInference)
|
|
70
|
-
});
|
|
71
|
-
const Logos = Schema.Struct({
|
|
72
|
-
horizontal: Schema.optional(Media),
|
|
73
|
-
icon: Schema.optional(Schema.NullOr(Media))
|
|
74
|
-
});
|
|
75
|
-
const FontFamily = Schema.Literal("nunito", "lato", "sourceSans3", "openSans", "roboto", "arimo", "montserrat");
|
|
76
|
-
const Font = Schema.Struct({
|
|
77
|
-
family: Schema.optional(FontFamily)
|
|
78
|
-
});
|
|
79
|
-
const AllowedMarks = Schema.Struct({
|
|
80
|
-
logo: Schema.Boolean,
|
|
81
|
-
name: Schema.Boolean
|
|
82
|
-
});
|
|
83
|
-
const CtaRoundness = Schema.Struct({
|
|
84
|
-
small: Schema.optional(Schema.Number),
|
|
85
|
-
medium: Schema.optional(Schema.Number),
|
|
86
|
-
large: Schema.optional(Schema.Number)
|
|
87
|
-
});
|
|
88
|
-
const BrandFields = Schema.Struct({
|
|
89
|
-
id: Schema.String,
|
|
90
|
-
domain: Schema.String,
|
|
91
|
-
displayName: Schema.String,
|
|
92
|
-
isLicensed: Schema.optional(Schema.Boolean),
|
|
93
|
-
hideLicensedLogo: Schema.optional(Schema.Boolean),
|
|
94
|
-
reshapedThemeColors: ReshapedThemeColors,
|
|
95
|
-
links: Schema.optional(Links),
|
|
96
|
-
logos: Schema.optional(Logos),
|
|
97
|
-
font: Schema.optional(Font),
|
|
98
|
-
type: Schema.optional(Schema.Literal("business", "product", "individual")),
|
|
99
|
-
allowedMarks: AllowedMarks,
|
|
100
|
-
ctaRoundness: Schema.optional(CtaRoundness),
|
|
101
|
-
createdAt: Schema.optional(Schema.String),
|
|
102
|
-
updatedAt: Schema.optional(Schema.String)
|
|
103
|
-
});
|
|
104
|
-
export const Brand = Schema.suspend(() => {
|
|
105
|
-
const withDepth = depth => {
|
|
106
|
-
if (depth > 2) {
|
|
107
|
-
return BrandFields; // We don't want infinite recursion of licensedBrand field
|
|
108
|
-
}
|
|
109
|
-
return Schema.Struct({
|
|
110
|
-
...BrandFields.fields,
|
|
111
|
-
licensedBrand: Schema.optional(Schema.NullOr(Schema.suspend(() => withDepth(depth + 1))))
|
|
112
|
-
});
|
|
113
|
-
};
|
|
114
|
-
return withDepth(0); // Start with depth 0
|
|
115
|
-
});
|
|
1
|
+
|
|
116
2
|
//# sourceMappingURL=Brand.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../../../../../src","sources":["capabilities/core/src/system/cnfContext/schemas/Brand.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -1,35 +1,2 @@
|
|
|
1
|
-
|
|
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
|
-
});
|
|
1
|
+
|
|
35
2
|
//# sourceMappingURL=Configuration.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../../../../../src","sources":["capabilities/core/src/system/cnfContext/schemas/Configuration.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -1,15 +1,2 @@
|
|
|
1
|
-
|
|
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
|
-
});
|
|
1
|
+
|
|
15
2
|
//# sourceMappingURL=Request.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../../../../../src","sources":["capabilities/core/src/system/cnfContext/schemas/Request.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../../../../../src","sources":["capabilities/core/src/system/cnfContext/schemas/Session.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -1,35 +1,2 @@
|
|
|
1
|
-
|
|
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
|
-
});
|
|
1
|
+
|
|
35
2
|
//# sourceMappingURL=Signals.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../../../../../src","sources":["capabilities/core/src/system/cnfContext/schemas/Signals.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -1,20 +1,2 @@
|
|
|
1
|
-
|
|
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
|
-
});
|
|
1
|
+
|
|
20
2
|
//# sourceMappingURL=Subaccount.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../../../../../src","sources":["capabilities/core/src/system/cnfContext/schemas/Subaccount.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @deprecated use ErrorCodeMap instead.
|
|
3
|
+
* TypeScript 5.8 introduced the --erasableSyntaxOnly flag, which treats enums as
|
|
4
|
+
* a compile error. this enum will be removed in a future version.
|
|
5
|
+
*/
|
|
1
6
|
export let ErrorCodes = /*#__PURE__*/function (ErrorCodes) {
|
|
2
7
|
// Configuration
|
|
3
8
|
ErrorCodes["MISSING_CONFIG"] = "MISSING_CONFIG";
|
|
@@ -9,6 +14,22 @@ export let ErrorCodes = /*#__PURE__*/function (ErrorCodes) {
|
|
|
9
14
|
ErrorCodes["NETWORK_REQUEST_ERROR"] = "NETWORK_REQUEST_ERROR";
|
|
10
15
|
ErrorCodes["NETWORK_SERVER_ERROR"] = "NETWORK_SERVER_ERROR";
|
|
11
16
|
ErrorCodes["NETWORK_OTHER_ERROR"] = "NETWORK_OTHER_ERROR";
|
|
17
|
+
// Geo
|
|
18
|
+
ErrorCodes["NON_US"] = "NON_US";
|
|
12
19
|
return ErrorCodes;
|
|
13
20
|
}({});
|
|
21
|
+
export const ErrorCodeMap = {
|
|
22
|
+
// Configuration
|
|
23
|
+
MISSING_CONFIG: "MISSING_CONFIG",
|
|
24
|
+
// UI
|
|
25
|
+
UI_CRASH: "UI_CRASH",
|
|
26
|
+
// Flow
|
|
27
|
+
FLOW_ERROR: "FLOW_ERROR",
|
|
28
|
+
// Network
|
|
29
|
+
NETWORK_REQUEST_ERROR: "NETWORK_REQUEST_ERROR",
|
|
30
|
+
NETWORK_SERVER_ERROR: "NETWORK_SERVER_ERROR",
|
|
31
|
+
NETWORK_OTHER_ERROR: "NETWORK_OTHER_ERROR",
|
|
32
|
+
// Geo
|
|
33
|
+
NON_US: "NON_US"
|
|
34
|
+
};
|
|
14
35
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["ErrorCodes"],"sourceRoot":"../../../../../src","sources":["capabilities/errors/types/index.ts"],"mappings":"AAAA,WAAYA,UAAU,0BAAVA,UAAU;EACrB;EADWA,UAAU;EAIrB;EAJWA,UAAU;EAOrB;EAPWA,UAAU;EAUrB;EAVWA,UAAU;EAAVA,UAAU;EAAVA,UAAU;EAAA,OAAVA,UAAU;AAAA","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["ErrorCodes","ErrorCodeMap","MISSING_CONFIG","UI_CRASH","FLOW_ERROR","NETWORK_REQUEST_ERROR","NETWORK_SERVER_ERROR","NETWORK_OTHER_ERROR","NON_US"],"sourceRoot":"../../../../../src","sources":["capabilities/errors/types/index.ts"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA,WAAYA,UAAU,0BAAVA,UAAU;EACrB;EADWA,UAAU;EAIrB;EAJWA,UAAU;EAOrB;EAPWA,UAAU;EAUrB;EAVWA,UAAU;EAAVA,UAAU;EAAVA,UAAU;EAerB;EAfWA,UAAU;EAAA,OAAVA,UAAU;AAAA;AAmBtB,OAAO,MAAMC,YAAY,GAAG;EAC3B;EACAC,cAAc,EAAE,gBAAgB;EAEhC;EACAC,QAAQ,EAAE,UAAU;EAEpB;EACAC,UAAU,EAAE,YAAY;EAExB;EACAC,qBAAqB,EAAE,uBAAuB;EAC9CC,oBAAoB,EAAE,sBAAsB;EAC5CC,mBAAmB,EAAE,qBAAqB;EAE1C;EACAC,MAAM,EAAE;AACT,CAAU","ignoreList":[]}
|
|
@@ -3,7 +3,7 @@ import { getIsDevEnvironment, getLeadUUID, getStateCode, getSubAccountUUID, getS
|
|
|
3
3
|
import errorUtil from "../utils/errorUtil";
|
|
4
4
|
import { withDeviceSignals } from "../../../offers/pipeline/src/sources/ratetables/withDeviceSignals";
|
|
5
5
|
import { getOfferCatalogApiBaseUrl } from "../../../../apiEnvironment";
|
|
6
|
-
import {
|
|
6
|
+
import { ErrorCodeMap } from "../../../errors/types";
|
|
7
7
|
import { getApiErrorLogProperties } from "../../../../components/utils/errorUtils";
|
|
8
8
|
export const getCachedOffersByProductTypes = context => async (productTypes, onError) => {
|
|
9
9
|
// const cachedOffersByProductTypesLogger = pinoRootLogger.child({
|
|
@@ -61,7 +61,7 @@ export const getCachedOffersByProductTypes = context => async (productTypes, onE
|
|
|
61
61
|
context
|
|
62
62
|
},
|
|
63
63
|
...(getApiErrorLogProperties(error) || {
|
|
64
|
-
code:
|
|
64
|
+
code: ErrorCodeMap.FLOW_ERROR,
|
|
65
65
|
severity: "error"
|
|
66
66
|
})
|
|
67
67
|
});
|
|
@@ -147,7 +147,7 @@ export const getOffersForProductTypes = context => async (productTypes, customCl
|
|
|
147
147
|
} catch (error) {
|
|
148
148
|
onError === null || onError === void 0 || onError({
|
|
149
149
|
message: "Failed to add device signals to payload",
|
|
150
|
-
code:
|
|
150
|
+
code: ErrorCodeMap.FLOW_ERROR,
|
|
151
151
|
severity: "error",
|
|
152
152
|
error,
|
|
153
153
|
additionalInfo: {
|
|
@@ -224,7 +224,7 @@ export const getOffersForProductTypes = context => async (productTypes, customCl
|
|
|
224
224
|
customClientTags
|
|
225
225
|
},
|
|
226
226
|
...(getApiErrorLogProperties(error) || {
|
|
227
|
-
code:
|
|
227
|
+
code: ErrorCodeMap.FLOW_ERROR,
|
|
228
228
|
severity: "error"
|
|
229
229
|
})
|
|
230
230
|
});
|