@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
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"withTestID.d.ts","sourceRoot":"","sources":["../../../../src/components/utils/withTestID.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AA8B1B,iBAAS,UAAU,CAAC,CAAC,SAAS,MAAM,EAAE,CAAC,GAAG,OAAO,EAChD,SAAS,EAAE,KAAK,CAAC,aAAa,CAAC,CAAC,GAAG,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,iNAqB1D;AAGD,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cnfContext.d.ts","sourceRoot":"","sources":["../../../../src/config/mocks/cnfContext.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,0DAA0D,CAAC;AAE3F,eAAO,MAAM,eAAe,EAAE,UAqK7B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ConfigurationProvider.d.ts","sourceRoot":"","sources":["../../../src/context/ConfigurationProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAA6B,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAEzE,UAAU,yBAAyB;IAClC,qBAAqB,EAAE,OAAO,CAAC;CAC/B;AAMD,UAAU,0BAA0B;IACnC,QAAQ,EAAE,SAAS,CAAC;IACpB,qBAAqB,EAAE,OAAO,CAAC;CAC/B;AAED,eAAO,MAAM,qBAAqB,GAAI,sCAGnC,0BAA0B,sBAM5B,CAAC;AAEF,eAAO,MAAM,gBAAgB,iCAQ5B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EventHandlerProvider.d.ts","sourceRoot":"","sources":["../../../src/context/EventHandlerProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoC,MAAM,OAAO,CAAC;AACzD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AAC9D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mCAAmC,CAAC;AAEnE,MAAM,WAAW,iBAAiB;IACjC,SAAS,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,sBAAsB;IACtC,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB,UAAU,EAAE,UAAU,CAAC;IACvB,kBAAkB,EAAE,MAAM,CAAC;CAC3B;AAED,MAAM,WAAW,wBAAwB;IACxC,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,EAAE,SAAS,EAAE,CAAC;IACpB,aAAa,EAAE,MAAM,CAAC;IACtB,QAAQ,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,6BAA6B;IAC7C,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,MAAM,CAAC;IACtB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,SAAS,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,mBAAmB,GAAG,iBAAiB,CAAC;CACjD;AAED,MAAM,WAAW,iBAAiB;IACjC,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,MAAM,CAAC;IACtB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,SAAS,CAAC;IAC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":[],"mappings":""}
|
|
@@ -2,4 +2,5 @@ export * from "./components/MoneyLionOfferCarousel";
|
|
|
2
2
|
export type { UserData } from "./capabilities/configuration/src/userData/types";
|
|
3
3
|
export type { onInitializeProps, onRateTableSubmitProps, onRateTableResponseProps, onOfferDisplayInViewportProps, onOfferClickProps, onOfferDetailsPageOpenProps, onOfferDetailsPageCloseProps, } from "./context/EventHandlerProvider";
|
|
4
4
|
export type { ErrorCodes, MoneyLionOfferCarouselError, } from "./capabilities/errors/types";
|
|
5
|
+
export { ErrorCodeMap, type ErrorCodeValues, } from "./capabilities/errors/types";
|
|
5
6
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.tsx"],"names":[],"mappings":"AAAA,cAAc,qCAAqC,CAAC;AAEpD,YAAY,EAAE,QAAQ,EAAE,MAAM,iDAAiD,CAAC;AAChF,YAAY,EACX,iBAAiB,EACjB,sBAAsB,EACtB,wBAAwB,EACxB,6BAA6B,EAC7B,iBAAiB,EACjB,2BAA2B,EAC3B,4BAA4B,GAC5B,MAAM,gCAAgC,CAAC;AACxC,YAAY,EACX,UAAU,EACV,2BAA2B,GAC3B,MAAM,6BAA6B,CAAC;AACrC,OAAO,EACN,YAAY,EACZ,KAAK,eAAe,GACpB,MAAM,6BAA6B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pageData.d.ts","sourceRoot":"","sources":["../../src/pageData.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iDAAiD,CAAC;AAChF,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,sDAAsD,CAAC;AACvF,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,6BAA6B,CAAC;AAE3E,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,gCAAgC,CAAC;AAS7E,MAAM,MAAM,iBAAiB,GAAG;IA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OAAO,CAAC,EAAE,uBAAuB,CAAC;CAClC,GAAG,IAAI,CACP,oBAAoB,EACpB,SAAS,GAAG,kBAAkB,GAAG,WAAW,GAAG,UAAU,CACzD,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,gBAAgB,GAAU,oJAUpC,IAAI,CAAC,qBAAqB,EAAE,OAAO,CAAC;;;;;;EAmDtC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getProductTypes.d.ts","sourceRoot":"","sources":["../../../src/services/getProductTypes.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,oBAAoB,GAAG;IAClC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,kBAAkB,EAAE,MAAM,CAAC;CAC3B,CAAC;AAEF,MAAM,MAAM,UAAU,GAAG,QAAQ,GAAG,cAAc,GAAG,SAAS,CAAC;AAE/D,MAAM,MAAM,kBAAkB,GAAG;IAChC,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB,UAAU,EAAE,UAAU,CAAC;CACvB,CAAC;AAQF;;;;GAIG;AACH,eAAO,MAAM,eAAe,GAAU,sCAGnC,oBAAoB,KAAG,OAAO,CAAC,kBAAkB,CAOnD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"addClientTagsToOfferLinks.d.ts","sourceRoot":"","sources":["../../../src/utils/addClientTagsToOfferLinks.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mCAAmC,CAAC;AAEnE;;;;;GAKG;AACH,eAAO,MAAM,yBAAyB,GACpC,uBAAuB,OAAO,EAAE,YAAY,MAAM,MAClD,QAAQ,SAAS,EAAE,KAAG,SAAS,EAW/B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"formatOfferUrl.d.ts","sourceRoot":"","sources":["../../../src/utils/formatOfferUrl.ts"],"names":[],"mappings":"AAAA,OAAO,EAEN,KAAK,SAAS,EACd,KAAK,eAAe,EACpB,KAAK,qBAAqB,EAC1B,MAAM,mCAAmC,CAAC;AAE3C;;;;GAIG;AACH,eAAO,MAAM,cAAc,GAEzB,wBAAwB,qBAAqB,EAAE,EAC/C,4BAA4B,eAAe,EAAE,MAE7C,QAAQ,SAAS,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAcnB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getDefaultProductType.d.ts","sourceRoot":"","sources":["../../../src/utils/getDefaultProductType.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,uDAAuD,CAAC;AAExF,eAAO,MAAM,qBAAqB,GAAI,SAAS,UAAU,WACE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getEnableUseCachedOffers.d.ts","sourceRoot":"","sources":["../../../src/utils/getEnableUseCachedOffers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,uDAAuD,CAAC;AAExF;;;;;;;;GAQG;AACH,eAAO,MAAM,wBAAwB,GAAI,SAAS,UAAU,YACD,CAAC"}
|
|
@@ -20,7 +20,7 @@ export declare const getOffersByProductTypes: ({ isCachedOffersRequest, productT
|
|
|
20
20
|
enablePolling?: boolean;
|
|
21
21
|
onError?: InternalOnErrorCallback;
|
|
22
22
|
}) => Promise<{
|
|
23
|
-
offers:
|
|
23
|
+
offers: import("../capabilities/offer-catalog/src").BaseOffer[] | never[];
|
|
24
24
|
rateTableUuid: string;
|
|
25
25
|
isError: boolean | undefined;
|
|
26
26
|
leadUuid: string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getOffersByProductTypes.d.ts","sourceRoot":"","sources":["../../../src/utils/getOffersByProductTypes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,kDAAkD,CAAC;AACjF,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,uDAAuD,CAAC;AACxF,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AAO5E;;;;;;;;;GASG;AACH,eAAO,MAAM,uBAAuB,GAAU,2FAQ3C;IACF,qBAAqB,EAAE,OAAO,CAAC;IAC/B,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,UAAU,CAAC;IACpB,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,OAAO,CAAC,EAAE,uBAAuB,CAAC;CAClC;;;;;;EAkBA,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { CnfContext } from "../capabilities/core/src/system/cnfContext/CnfContext";
|
|
2
|
+
export declare const getProductTypesDefinition: (context: CnfContext) => {
|
|
3
|
+
productTypesDefinition: {
|
|
4
|
+
id: string;
|
|
5
|
+
partnerPageUrl: string;
|
|
6
|
+
productTypeSlug: string;
|
|
7
|
+
}[];
|
|
8
|
+
partnersOverrideDefinition: {
|
|
9
|
+
id: string;
|
|
10
|
+
overrideUrl: string;
|
|
11
|
+
financialInstitutionUuid: string;
|
|
12
|
+
}[];
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=getProductTypesDefinition.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getProductTypesDefinition.d.ts","sourceRoot":"","sources":["../../../src/utils/getProductTypesDefinition.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,uDAAuD,CAAC;AAExF,eAAO,MAAM,yBAAyB,GAAI,SAAS,UAAU;;;;;;;;;;;CAU5D,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getThemeColors.d.ts","sourceRoot":"","sources":["../../../src/utils/getThemeColors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,0DAA0D,CAAC;AAEpG,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAE5D;;;GAGG;AACH,eAAO,MAAM,cAAc,GAC1B,qBAAqB,mBAAmB,EACxC,cAAa,OAAe,KAC1B,WAiBF,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,6BAA6B,CAAC;AAC5C,cAAc,yBAAyB,CAAC;AACxC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,uBAAuB,CAAC;AACtC,cAAc,mCAAmC,CAAC;AAClD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,4BAA4B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"parseStringProductTypes.d.ts","sourceRoot":"","sources":["../../../src/utils/parseStringProductTypes.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,uBAAuB,GAAI,eAAe,MAAM,aAM5D,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resolveProductTypes.d.ts","sourceRoot":"","sources":["../../../src/utils/resolveProductTypes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmB,KAAK,UAAU,EAAE,MAAM,6BAA6B,CAAC;AAE/E,KAAK,wBAAwB,GAAG;IAC/B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,kBAAkB,EAAE,MAAM,CAAC;CAC3B,CAAC;AAEF,eAAO,MAAM,mBAAmB,GAC/B,OAAO,wBAAwB,KAC7B,OAAO,CAAC;IACV,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB,UAAU,EAAE,UAAU,CAAC;CACvB,CAEA,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sortOffersByRecommendationScore.d.ts","sourceRoot":"","sources":["../../../src/utils/sortOffersByRecommendationScore.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mCAAmC,CAAC;AAEnE,eAAO,MAAM,+BAA+B,GAAI,QAAQ,SAAS,EAAE,gBAElE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,OAAO,WAAW,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@moneylion/react-native-offer-carousel",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.10.1",
|
|
4
4
|
"description": "React Native components for the Engine by MoneyLion Mobile SDK",
|
|
5
5
|
"main": "lib/commonjs/index",
|
|
6
6
|
"module": "lib/module/index",
|
|
7
|
-
"types": "lib/typescript/
|
|
7
|
+
"types": "lib/typescript/index.d.ts",
|
|
8
8
|
"react-native": "src/index",
|
|
9
9
|
"source": "src/index",
|
|
10
10
|
"files": [
|
|
@@ -37,12 +37,8 @@
|
|
|
37
37
|
"author": "",
|
|
38
38
|
"license": "ISC",
|
|
39
39
|
"devDependencies": {
|
|
40
|
-
"@commitlint/config-conventional": "^17.0.2",
|
|
41
|
-
"@release-it/conventional-changelog": "^5.0.0",
|
|
42
|
-
"commitlint": "^17.0.2",
|
|
43
40
|
"del-cli": "^5.1.0",
|
|
44
41
|
"react-native-builder-bob": "^0.20.0",
|
|
45
|
-
"release-it": "^15.0.0",
|
|
46
42
|
"type-fest": "4.26.1"
|
|
47
43
|
},
|
|
48
44
|
"peerDependencies": {
|
|
@@ -50,11 +46,6 @@
|
|
|
50
46
|
"react-native": "*",
|
|
51
47
|
"react-native-svg": ">=15.11.0 <16"
|
|
52
48
|
},
|
|
53
|
-
"commitlint": {
|
|
54
|
-
"extends": [
|
|
55
|
-
"@commitlint/config-conventional"
|
|
56
|
-
]
|
|
57
|
-
},
|
|
58
49
|
"react-native-builder-bob": {
|
|
59
50
|
"source": "src",
|
|
60
51
|
"output": "lib",
|
|
@@ -70,8 +61,7 @@
|
|
|
70
61
|
]
|
|
71
62
|
},
|
|
72
63
|
"dependencies": {
|
|
73
|
-
"defu": "6.1.
|
|
74
|
-
"effect": "3.12.0",
|
|
64
|
+
"defu": "6.1.5",
|
|
75
65
|
"numbro": "^2.5.0",
|
|
76
66
|
"radash": "11.0.0",
|
|
77
67
|
"react-native-markdown-display": "^7.0.2",
|
|
@@ -1,21 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
Signals,
|
|
8
|
-
Subaccount,
|
|
9
|
-
} from "./schemas";
|
|
1
|
+
import type { App } from "./schemas/App";
|
|
2
|
+
import type { Brand } from "./schemas/Brand";
|
|
3
|
+
import type { CnfRequest } from "./schemas/Request";
|
|
4
|
+
import type { Configuration } from "./schemas/Configuration";
|
|
5
|
+
import type { Signals } from "./schemas/Signals";
|
|
6
|
+
import type { Subaccount } from "./schemas/Subaccount";
|
|
10
7
|
|
|
11
|
-
export
|
|
12
|
-
app: App
|
|
13
|
-
brand: Brand
|
|
14
|
-
configuration: Configuration
|
|
15
|
-
request: CnfRequest
|
|
16
|
-
signals: Signals
|
|
17
|
-
subaccount: Subaccount
|
|
18
|
-
isDev:
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
export type CnfContext = Schema.Schema.Type<typeof CnfContext>;
|
|
8
|
+
export type CnfContext = {
|
|
9
|
+
app: App;
|
|
10
|
+
brand: Brand;
|
|
11
|
+
configuration: Configuration;
|
|
12
|
+
request: CnfRequest;
|
|
13
|
+
signals: Signals;
|
|
14
|
+
subaccount: Subaccount;
|
|
15
|
+
isDev: boolean;
|
|
16
|
+
};
|
|
@@ -1,13 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
updatedAt: Schema.String,
|
|
12
|
-
syncTimestamp: Schema.String,
|
|
13
|
-
});
|
|
1
|
+
export type App = {
|
|
2
|
+
id: string;
|
|
3
|
+
name: string;
|
|
4
|
+
registry: string;
|
|
5
|
+
repository: string;
|
|
6
|
+
syncStatus: string;
|
|
7
|
+
createdAt: string;
|
|
8
|
+
updatedAt: string;
|
|
9
|
+
syncTimestamp: string;
|
|
10
|
+
};
|
|
@@ -1,160 +1,120 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
>;
|
|
6
|
-
const ReshapedThemeColorObject = Schema.Struct({
|
|
7
|
-
hex: Schema.String,
|
|
8
|
-
hexDark: Schema.optional(Schema.String),
|
|
9
|
-
});
|
|
10
|
-
|
|
11
|
-
export type ReshapedThemeColors = Schema.Schema.Type<
|
|
12
|
-
typeof ReshapedThemeColors
|
|
13
|
-
>;
|
|
14
|
-
const ReshapedThemeColors = Schema.Struct({
|
|
15
|
-
backgroundCritical: ReshapedThemeColorObject,
|
|
16
|
-
backgroundCriticalFaded: ReshapedThemeColorObject,
|
|
17
|
-
backgroundDisabled: ReshapedThemeColorObject,
|
|
18
|
-
backgroundDisabledFaded: ReshapedThemeColorObject,
|
|
19
|
-
backgroundElevationBase: ReshapedThemeColorObject,
|
|
20
|
-
backgroundElevationOverlay: ReshapedThemeColorObject,
|
|
21
|
-
backgroundElevationRaised: ReshapedThemeColorObject,
|
|
22
|
-
backgroundNeutral: ReshapedThemeColorObject,
|
|
23
|
-
backgroundNeutralFaded: ReshapedThemeColorObject,
|
|
24
|
-
backgroundPage: ReshapedThemeColorObject,
|
|
25
|
-
backgroundPageFaded: ReshapedThemeColorObject,
|
|
26
|
-
backgroundPositive: ReshapedThemeColorObject,
|
|
27
|
-
backgroundPositiveFaded: ReshapedThemeColorObject,
|
|
28
|
-
backgroundPrimary: ReshapedThemeColorObject,
|
|
29
|
-
backgroundPrimaryFaded: ReshapedThemeColorObject,
|
|
30
|
-
backgroundWarning: ReshapedThemeColorObject,
|
|
31
|
-
backgroundWarningFaded: ReshapedThemeColorObject,
|
|
32
|
-
black: ReshapedThemeColorObject,
|
|
33
|
-
borderCritical: ReshapedThemeColorObject,
|
|
34
|
-
borderCriticalFaded: ReshapedThemeColorObject,
|
|
35
|
-
borderDisabled: ReshapedThemeColorObject,
|
|
36
|
-
borderNeutral: ReshapedThemeColorObject,
|
|
37
|
-
borderNeutralFaded: ReshapedThemeColorObject,
|
|
38
|
-
borderPositive: ReshapedThemeColorObject,
|
|
39
|
-
borderPositiveFaded: ReshapedThemeColorObject,
|
|
40
|
-
borderPrimary: ReshapedThemeColorObject,
|
|
41
|
-
borderPrimaryFaded: ReshapedThemeColorObject,
|
|
42
|
-
borderWarning: ReshapedThemeColorObject,
|
|
43
|
-
borderWarningFaded: ReshapedThemeColorObject,
|
|
44
|
-
brand: ReshapedThemeColorObject,
|
|
45
|
-
foregroundCritical: ReshapedThemeColorObject,
|
|
46
|
-
foregroundDisabled: ReshapedThemeColorObject,
|
|
47
|
-
foregroundNeutral: ReshapedThemeColorObject,
|
|
48
|
-
foregroundNeutralFaded: ReshapedThemeColorObject,
|
|
49
|
-
foregroundPositive: ReshapedThemeColorObject,
|
|
50
|
-
foregroundPrimary: ReshapedThemeColorObject,
|
|
51
|
-
foregroundWarning: ReshapedThemeColorObject,
|
|
52
|
-
white: ReshapedThemeColorObject,
|
|
53
|
-
});
|
|
1
|
+
export type ReshapedThemeColorObject = {
|
|
2
|
+
hex: string;
|
|
3
|
+
hexDark?: string;
|
|
4
|
+
};
|
|
54
5
|
|
|
55
|
-
export type
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
6
|
+
export type ReshapedThemeColors = {
|
|
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
|
+
};
|
|
62
46
|
|
|
63
|
-
export type
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
47
|
+
export type Links = {
|
|
48
|
+
home?: string;
|
|
49
|
+
terms?: string;
|
|
50
|
+
support?: string;
|
|
51
|
+
privacy?: string;
|
|
52
|
+
};
|
|
68
53
|
|
|
69
|
-
export type
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
prefix: Schema.optional(Schema.String),
|
|
74
|
-
alt: Schema.optional(Schema.String),
|
|
75
|
-
url: Schema.optional(Schema.String),
|
|
76
|
-
filename: Schema.optional(Schema.String),
|
|
77
|
-
mimeType: Schema.optional(Schema.String),
|
|
78
|
-
filesize: Schema.optional(Schema.Number),
|
|
79
|
-
width: Schema.optional(Schema.Number),
|
|
80
|
-
height: Schema.optional(Schema.Number),
|
|
81
|
-
createdAt: Schema.optional(Schema.String),
|
|
82
|
-
updatedAt: Schema.optional(Schema.String),
|
|
83
|
-
aiInference: Schema.optional(AiInference),
|
|
84
|
-
});
|
|
54
|
+
export type AiInference = {
|
|
55
|
+
status: string;
|
|
56
|
+
error?: string;
|
|
57
|
+
};
|
|
85
58
|
|
|
86
|
-
export type
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
59
|
+
export type Media = {
|
|
60
|
+
id: string;
|
|
61
|
+
autoCrop: boolean;
|
|
62
|
+
prefix?: string;
|
|
63
|
+
alt?: string;
|
|
64
|
+
url?: string;
|
|
65
|
+
filename?: string;
|
|
66
|
+
mimeType?: string;
|
|
67
|
+
filesize?: number;
|
|
68
|
+
width?: number;
|
|
69
|
+
height?: number;
|
|
70
|
+
createdAt?: string;
|
|
71
|
+
updatedAt?: string;
|
|
72
|
+
aiInference?: AiInference;
|
|
73
|
+
};
|
|
91
74
|
|
|
92
|
-
export type
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
"sourceSans3",
|
|
97
|
-
"openSans",
|
|
98
|
-
"roboto",
|
|
99
|
-
"arimo",
|
|
100
|
-
"montserrat"
|
|
101
|
-
);
|
|
75
|
+
export type Logos = {
|
|
76
|
+
horizontal?: Media;
|
|
77
|
+
icon?: Media | null;
|
|
78
|
+
};
|
|
102
79
|
|
|
103
|
-
export type
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
80
|
+
export type FontFamily =
|
|
81
|
+
| "nunito"
|
|
82
|
+
| "lato"
|
|
83
|
+
| "sourceSans3"
|
|
84
|
+
| "openSans"
|
|
85
|
+
| "roboto"
|
|
86
|
+
| "arimo"
|
|
87
|
+
| "montserrat";
|
|
107
88
|
|
|
108
|
-
export type
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
name: Schema.Boolean,
|
|
112
|
-
});
|
|
89
|
+
export type Font = {
|
|
90
|
+
family?: FontFamily;
|
|
91
|
+
};
|
|
113
92
|
|
|
114
|
-
export type
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
large: Schema.optional(Schema.Number),
|
|
119
|
-
});
|
|
93
|
+
export type AllowedMarks = {
|
|
94
|
+
logo: boolean;
|
|
95
|
+
name: boolean;
|
|
96
|
+
};
|
|
120
97
|
|
|
121
|
-
type
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
isLicensed: Schema.optional(Schema.Boolean),
|
|
127
|
-
hideLicensedLogo: Schema.optional(Schema.Boolean),
|
|
128
|
-
reshapedThemeColors: ReshapedThemeColors,
|
|
129
|
-
links: Schema.optional(Links),
|
|
130
|
-
logos: Schema.optional(Logos),
|
|
131
|
-
font: Schema.optional(Font),
|
|
132
|
-
type: Schema.optional(Schema.Literal("business", "product", "individual")),
|
|
133
|
-
allowedMarks: AllowedMarks,
|
|
134
|
-
ctaRoundness: Schema.optional(CtaRoundness),
|
|
135
|
-
createdAt: Schema.optional(Schema.String),
|
|
136
|
-
updatedAt: Schema.optional(Schema.String),
|
|
137
|
-
});
|
|
98
|
+
export type CtaRoundness = {
|
|
99
|
+
small?: number;
|
|
100
|
+
medium?: number;
|
|
101
|
+
large?: number;
|
|
102
|
+
};
|
|
138
103
|
|
|
139
|
-
export type Brand =
|
|
104
|
+
export type Brand = {
|
|
105
|
+
id: string;
|
|
106
|
+
domain: string;
|
|
107
|
+
displayName: string;
|
|
108
|
+
isLicensed?: boolean;
|
|
109
|
+
hideLicensedLogo?: boolean;
|
|
110
|
+
reshapedThemeColors: ReshapedThemeColors;
|
|
111
|
+
links?: Links;
|
|
112
|
+
logos?: Logos;
|
|
113
|
+
font?: Font;
|
|
114
|
+
type?: "business" | "product" | "individual";
|
|
115
|
+
allowedMarks: AllowedMarks;
|
|
116
|
+
ctaRoundness?: CtaRoundness;
|
|
117
|
+
createdAt?: string;
|
|
118
|
+
updatedAt?: string;
|
|
140
119
|
licensedBrand?: Brand | null;
|
|
141
120
|
};
|
|
142
|
-
|
|
143
|
-
export const Brand = Schema.suspend((): Schema.Schema<Brand> => {
|
|
144
|
-
const withDepth = (
|
|
145
|
-
depth: number
|
|
146
|
-
): Schema.Schema<Brand> | Schema.Schema<BrandFields> => {
|
|
147
|
-
if (depth > 2) {
|
|
148
|
-
return BrandFields; // We don't want infinite recursion of licensedBrand field
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
return Schema.Struct({
|
|
152
|
-
...BrandFields.fields,
|
|
153
|
-
licensedBrand: Schema.optional(
|
|
154
|
-
Schema.NullOr(Schema.suspend(() => withDepth(depth + 1)))
|
|
155
|
-
),
|
|
156
|
-
});
|
|
157
|
-
};
|
|
158
|
-
|
|
159
|
-
return withDepth(0); // Start with depth 0
|
|
160
|
-
});
|
|
@@ -1,49 +1,24 @@
|
|
|
1
|
-
|
|
1
|
+
type ProductTypesDefinition = {
|
|
2
|
+
id: string;
|
|
3
|
+
partnerPageUrl: string;
|
|
4
|
+
productTypeSlug: string;
|
|
5
|
+
};
|
|
2
6
|
|
|
3
|
-
|
|
4
|
-
id:
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
}
|
|
7
|
+
type PartnersOverrideDefinition = {
|
|
8
|
+
id: string;
|
|
9
|
+
overrideUrl: string;
|
|
10
|
+
financialInstitutionUuid: string;
|
|
11
|
+
};
|
|
8
12
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
13
|
+
export type DynamicOffersConfigurationSchema = {
|
|
14
|
+
hideFooter: boolean;
|
|
15
|
+
enableUseCachedOffers: boolean;
|
|
16
|
+
defaultProductTypeSlug: string;
|
|
17
|
+
productTypesDefinition: ProductTypesDefinition[];
|
|
18
|
+
partnersOverrideDefinition: PartnersOverrideDefinition[];
|
|
19
|
+
};
|
|
14
20
|
|
|
15
|
-
export
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
}),
|
|
20
|
-
defaultProductTypeSlug: Schema.optionalWith(Schema.String, {
|
|
21
|
-
default: () => "EarnedWageAccess",
|
|
22
|
-
}),
|
|
23
|
-
productTypesDefinition: Schema.optionalWith(
|
|
24
|
-
Schema.Array(ProductTypesDefinition),
|
|
25
|
-
{
|
|
26
|
-
default: () => [],
|
|
27
|
-
}
|
|
28
|
-
),
|
|
29
|
-
partnersOverrideDefinition: Schema.optionalWith(
|
|
30
|
-
Schema.Array(PartnersOverrideDefinition),
|
|
31
|
-
{ default: () => [] }
|
|
32
|
-
),
|
|
33
|
-
});
|
|
34
|
-
|
|
35
|
-
export type DynamicOffersConfigurationSchema = Schema.Schema.Type<
|
|
36
|
-
typeof DynamicOffersConfigurationSchema
|
|
37
|
-
>;
|
|
38
|
-
|
|
39
|
-
export const Configuration = Schema.Struct({
|
|
40
|
-
app: Schema.Union(
|
|
41
|
-
Schema.String,
|
|
42
|
-
Schema.Struct({
|
|
43
|
-
name: Schema.String,
|
|
44
|
-
})
|
|
45
|
-
),
|
|
46
|
-
configuration: DynamicOffersConfigurationSchema,
|
|
47
|
-
});
|
|
48
|
-
|
|
49
|
-
export type Configuration = Schema.Schema.Type<typeof Configuration>;
|
|
21
|
+
export type Configuration = {
|
|
22
|
+
app: string | { name: string };
|
|
23
|
+
configuration: DynamicOffersConfigurationSchema;
|
|
24
|
+
};
|
|
@@ -1,16 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
pathname: Schema.optional(Schema.String),
|
|
13
|
-
query: Schema.optional(Schema.String),
|
|
14
|
-
searchParams: Schema.Struct({}),
|
|
15
|
-
host: Schema.optional(Schema.String),
|
|
16
|
-
});
|
|
1
|
+
export type CnfRequest = {
|
|
2
|
+
referer?: string;
|
|
3
|
+
channel?: string;
|
|
4
|
+
zone?: string;
|
|
5
|
+
cnfAppBaseUrl?: string;
|
|
6
|
+
path?: string;
|
|
7
|
+
pathname?: string;
|
|
8
|
+
query?: string;
|
|
9
|
+
searchParams: Record<string, never>;
|
|
10
|
+
host?: string;
|
|
11
|
+
};
|
|
@@ -1,9 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
export type SessionId = string;
|
|
2
2
|
|
|
3
|
-
export type
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
export type Session = Schema.Schema.Type<typeof Session>;
|
|
7
|
-
export const Session = Schema.Struct({
|
|
8
|
-
id: SessionId,
|
|
9
|
-
});
|
|
3
|
+
export type Session = {
|
|
4
|
+
id: SessionId;
|
|
5
|
+
};
|