@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":["isEmpty","getIsDevEnvironment","getLeadUUID","getStateCode","getSubAccountUUID","getSubaccountToken","errorUtil","withDeviceSignals","getOfferCatalogApiBaseUrl","
|
|
1
|
+
{"version":3,"names":["isEmpty","getIsDevEnvironment","getLeadUUID","getStateCode","getSubAccountUUID","getSubaccountToken","errorUtil","withDeviceSignals","getOfferCatalogApiBaseUrl","ErrorCodeMap","getApiErrorLogProperties","getCachedOffersByProductTypes","context","productTypes","onError","subAccountUuid","isDev","url","URL","searchParams","append","join","response","fetch","toString","method","headers","logFormat","status","statusText","ok","errorMessage","getErrorMessageForResponseStatus","console","error","Error","code","offersData","json","offers","getErrorForOffersFromProductTypes","errorCode","message","additionalInfo","FLOW_ERROR","severity","isError","leadUuid","uuid","getNewOffersApi","token","payload","body","JSON","stringify","pollOfferCatalogApi","rateTableUuid","MAX_POLLING_ATTEMPTS","POLLING_INTERVAL_MS","getOffersForProductTypes","customClientTags","userData","enablePolling","_body","userEmail","email","userInformation","Boolean","fields","clientTags","personalInformation","stateCode","state","pollingAttempt","_body2","pendingResponses","length","Promise","resolve","setTimeout"],"sourceRoot":"../../../../../../src","sources":["capabilities/offer-catalog/src/api/offerCatalogApi.ts"],"mappings":"AAAA,SAASA,OAAO,QAAQ,QAAQ;AAEhC,SACCC,mBAAmB,EACnBC,WAAW,EACXC,YAAY,EACZC,iBAAiB,EACjBC,kBAAkB,QACZ,sBAAsB;AAC7B,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GACjBzB,SAAS,CAACkC,iCAAiC,CAAC,WAAW,CAAC;MACzDP,OAAO,CAACC,KAAK,CAACP,SAAS,EAAEI,YAAY,CAAC;MAEtC,MAAMG,KAAK,GAAG,IAAIC,KAAK,CAACJ,YAAY,CAAa;MACjDG,KAAK,CAACE,IAAI,GAAGd,QAAQ,CAACM,MAAM;MAC5B,MAAMM,KAAK;IACZ;IAEA,OAAO;MAAE,GAAGG,UAAU;MAAEI,SAAS,EAAEnB,QAAQ,CAACM;IAAO,CAAC;EACrD,CAAC,CAAC,OAAOM,KAAK,EAAE;IACf,MAAMH,YAAY,GACjBzB,SAAS,CAACkC,iCAAiC,CAAC,SAAS,CAAC;IACvDP,OAAO,CAACC,KAAK,CAACA,KAAK,EAAEH,YAAY,CAAC;IAElCjB,OAAO,aAAPA,OAAO,eAAPA,OAAO,CAAG;MACT4B,OAAO,EAAE,0CAA0C;MACnDR,KAAK;MACLS,cAAc,EAAE;QACf/B,OAAO;QACPC,YAAY;QACZ+C;MACD,CAAC;MACD,IAAIlD,wBAAwB,CAACwB,KAAK,CAAC,IAAI;QACtCE,IAAI,EAAE3B,YAAY,CAACmC,UAAU;QAC7BC,QAAQ,EAAE;MACX,CAAC;IACF,CAAC,CAAC;IAEF,OAAO;MACNJ,SAAS,EAAGP,KAAK,CAAcE,IAAI;MACnCU,OAAO,EAAE,IAAI;MACbC,QAAQ,EAAE,EAAE;MACZR,MAAM,EAAE,EAAE;MACVS,IAAI,EAAE;IACP,CAAC;EACF;AACD,CAAC","ignoreList":[]}
|
|
@@ -11,7 +11,7 @@ import { ConfigurationProvider } from "../context/ConfigurationProvider";
|
|
|
11
11
|
import { getThemeColors } from "../utils/getThemeColors";
|
|
12
12
|
import ErrorBoundary from "./ErrorBoundary";
|
|
13
13
|
import { VERSION } from "../version";
|
|
14
|
-
import {
|
|
14
|
+
import { ErrorCodeMap } from "../capabilities/errors/types";
|
|
15
15
|
import { getApiErrorLogProperties } from "./utils/errorUtils";
|
|
16
16
|
const getConfiguration = async ({
|
|
17
17
|
channel,
|
|
@@ -46,7 +46,7 @@ const getConfiguration = async ({
|
|
|
46
46
|
isDev
|
|
47
47
|
},
|
|
48
48
|
...(getApiErrorLogProperties(error) || {
|
|
49
|
-
code:
|
|
49
|
+
code: ErrorCodeMap.FLOW_ERROR,
|
|
50
50
|
severity: "error"
|
|
51
51
|
})
|
|
52
52
|
});
|
|
@@ -135,7 +135,7 @@ const InternalMoneyLionOfferCarousel = props => {
|
|
|
135
135
|
isDev
|
|
136
136
|
},
|
|
137
137
|
...(getApiErrorLogProperties(errorObj) || {
|
|
138
|
-
code:
|
|
138
|
+
code: ErrorCodeMap.FLOW_ERROR,
|
|
139
139
|
severity: "error"
|
|
140
140
|
})
|
|
141
141
|
});
|
|
@@ -165,7 +165,7 @@ const InternalMoneyLionOfferCarousel = props => {
|
|
|
165
165
|
if (!zone) missingParams.push("zone");
|
|
166
166
|
if (!subAccountToken) missingParams.push("subAccountToken");
|
|
167
167
|
onError === null || onError === void 0 || onError({
|
|
168
|
-
code:
|
|
168
|
+
code: ErrorCodeMap.MISSING_CONFIG,
|
|
169
169
|
message: `Missing required parameters: ${missingParams.join(", ")}`,
|
|
170
170
|
severity: "error"
|
|
171
171
|
});
|
|
@@ -177,6 +177,14 @@ const InternalMoneyLionOfferCarousel = props => {
|
|
|
177
177
|
// Should only fetch data if context is done fetching
|
|
178
178
|
if (context && !isFetchingConfig) {
|
|
179
179
|
if (isNonUSCountry) {
|
|
180
|
+
onError === null || onError === void 0 || onError({
|
|
181
|
+
code: ErrorCodeMap.NON_US,
|
|
182
|
+
severity: "warning",
|
|
183
|
+
message: "This service is not available in your country",
|
|
184
|
+
additionalInfo: {
|
|
185
|
+
country
|
|
186
|
+
}
|
|
187
|
+
});
|
|
180
188
|
setIsFetchingData(false);
|
|
181
189
|
return;
|
|
182
190
|
}
|
|
@@ -210,7 +218,7 @@ const InternalMoneyLionOfferCarousel = props => {
|
|
|
210
218
|
pageDataParams: getPageDataParams
|
|
211
219
|
},
|
|
212
220
|
...(getApiErrorLogProperties(errorObj) || {
|
|
213
|
-
code:
|
|
221
|
+
code: ErrorCodeMap.FLOW_ERROR,
|
|
214
222
|
severity: "error"
|
|
215
223
|
})
|
|
216
224
|
});
|
|
@@ -299,7 +307,7 @@ export const MoneyLionOfferCarousel = props => {
|
|
|
299
307
|
}, [_onError]);
|
|
300
308
|
const logErrorBoundary = useCallback(error => {
|
|
301
309
|
onError === null || onError === void 0 || onError({
|
|
302
|
-
code:
|
|
310
|
+
code: ErrorCodeMap.UI_CRASH,
|
|
303
311
|
severity: "error",
|
|
304
312
|
message: "Error boundary crash",
|
|
305
313
|
error,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","useCallback","useEffect","useMemo","useState","localCnfContext","Text","View","getPageData","DynamicOffersContainer","DynamicOfferSkeleton","ThemeProvider","EventHandlerProvider","getConfigApiBaseUrl","ConfigurationProvider","getThemeColors","ErrorBoundary","VERSION","ErrorCodes","getApiErrorLogProperties","getConfiguration","channel","zone","subAccountToken","isDev","onError","url","headers","Authorization","response","fetch","ok","error","Error","status","code","data","json","console","message","additionalInfo","FLOW_ERROR","severity","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","email","_mockUserCountry","isFetchingData","setIsFetchingData","isFetchingConfig","setIsFetchingConfig","setError","isLoading","country","signals","deviceSignals","trim","toUpperCase","isNonUSCountry","fetchConfiguration","serializableContext","err","errorObj","timestamp","Date","toISOString","missingParams","push","MISSING_CONFIG","join","fetchPageData","params","isError","Boolean","offers","rateTableUuid","leadUuid","length","pageDataParams","themeColors","brand","reshapedThemeColors","createElement","style","alignItems","justifyContent","paddingVertical","color","shouldHideFooter","config","MoneyLionOfferCarousel","fallbackUI","_onError","sdkVersion","logErrorBoundary","UI_CRASH","_extends"],"sourceRoot":"../../../src","sources":["components/MoneyLionOfferCarousel.tsx"],"mappings":";AAAA,OAAOA,KAAK,IACXC,WAAW,EACXC,SAAS,EACTC,OAAO,EACPC,QAAQ,QAGF,OAAO;AACd,SAASC,eAAe,QAAQ,4BAA4B;AAC5D,SAASC,IAAI,EAAEC,IAAI,QAAQ,cAAc;AACzC,SAASC,WAAW,QAAgC,aAAa;AACjE,SACCC,sBAAsB,EACtBC,oBAAoB,QACd,wCAAwC;AAE/C,SAASC,aAAa,QAAyB,0BAA0B;AACzE,SACCC,oBAAoB,QAEd,iCAAiC;AACxC,SAASC,mBAAmB,QAAQ,mBAAmB;AACvD,SAASC,qBAAqB,QAAQ,kCAAkC;AAExE,SAASC,cAAc,QAAQ,yBAAyB;AAGxD,OAAOC,aAAa,MAAM,iBAAiB;AAC3C,SAASC,OAAO,QAAQ,YAAY;AAOpC,SAASC,UAAU,QAAQ,8BAA8B;AACzD,SAASC,wBAAwB,QAAQ,oBAAoB;AAwC7D,MAAMC,gBAAgB,GAAG,MAAAA,CAAO;EAC/BC,OAAO;EACPC,IAAI;EACJC,eAAe;EACfC,KAAK;EACLC;AAID,CAAC,KAAK;EACL,MAAMC,GAAG,GAAG,GAAGb,mBAAmB,CAACW,KAAK,CAAC,YAAYH,OAAO,IAAIC,IAAI,oBAAoB;EAExF,MAAMK,OAAO,GAAG;IACfC,aAAa,EAAE,UAAUL,eAAe;EACzC,CAAC;EACD,IAAI;IACH,MAAMM,QAAQ,GAAG,MAAMC,KAAK,CAACJ,GAAG,EAAE;MAAEC;IAAQ,CAAC,CAAC;IAC9C,IAAI,CAACE,QAAQ,CAACE,EAAE,EAAE;MACjB,MAAMC,KAAK,GAAG,IAAIC,KAAK,CACtB,6CAA6CJ,QAAQ,CAACK,MAAM,EAC7D,CAAa;MACbF,KAAK,CAACG,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AAQ,EAAEA,QAAS;IACnBC,WAAW,EAAEA,WAAY;IACzBrC,OAAO,EAAEA;EAAQ,EACjB,CACa,CAAC;AAElB,CAAC","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["React","useCallback","useEffect","useMemo","useState","localCnfContext","Text","View","getPageData","DynamicOffersContainer","DynamicOfferSkeleton","ThemeProvider","EventHandlerProvider","getConfigApiBaseUrl","ConfigurationProvider","getThemeColors","ErrorBoundary","VERSION","ErrorCodeMap","getApiErrorLogProperties","getConfiguration","channel","zone","subAccountToken","isDev","onError","url","headers","Authorization","response","fetch","ok","error","Error","status","code","data","json","console","message","additionalInfo","FLOW_ERROR","severity","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","email","_mockUserCountry","isFetchingData","setIsFetchingData","isFetchingConfig","setIsFetchingConfig","setError","isLoading","country","signals","deviceSignals","trim","toUpperCase","isNonUSCountry","fetchConfiguration","serializableContext","err","errorObj","timestamp","Date","toISOString","missingParams","push","MISSING_CONFIG","join","fetchPageData","NON_US","params","isError","Boolean","offers","rateTableUuid","leadUuid","length","pageDataParams","themeColors","brand","reshapedThemeColors","createElement","style","alignItems","justifyContent","paddingVertical","color","shouldHideFooter","config","MoneyLionOfferCarousel","fallbackUI","_onError","sdkVersion","logErrorBoundary","UI_CRASH","_extends"],"sourceRoot":"../../../src","sources":["components/MoneyLionOfferCarousel.tsx"],"mappings":";AAAA,OAAOA,KAAK,IACXC,WAAW,EACXC,SAAS,EACTC,OAAO,EACPC,QAAQ,QAGF,OAAO;AACd,SAASC,eAAe,QAAQ,4BAA4B;AAC5D,SAASC,IAAI,EAAEC,IAAI,QAAQ,cA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 -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ErrorCodeMap } from "../../capabilities/errors/types";
|
|
2
2
|
/**
|
|
3
3
|
* Extracts HTTP status code from the custom Api Error object.
|
|
4
4
|
* Api Error object contains code field which is the HTTP status code.
|
|
@@ -44,7 +44,7 @@ export const getApiErrorLogProperties = error => {
|
|
|
44
44
|
return {
|
|
45
45
|
...logProperties,
|
|
46
46
|
statusCode,
|
|
47
|
-
code:
|
|
47
|
+
code: ErrorCodeMap.NETWORK_REQUEST_ERROR
|
|
48
48
|
};
|
|
49
49
|
}
|
|
50
50
|
|
|
@@ -52,7 +52,7 @@ export const getApiErrorLogProperties = error => {
|
|
|
52
52
|
return {
|
|
53
53
|
...logProperties,
|
|
54
54
|
statusCode,
|
|
55
|
-
code:
|
|
55
|
+
code: ErrorCodeMap.NETWORK_SERVER_ERROR
|
|
56
56
|
};
|
|
57
57
|
};
|
|
58
58
|
//# sourceMappingURL=errorUtils.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["
|
|
1
|
+
{"version":3,"names":["ErrorCodeMap","getCustomApiErrorStatusCode","error","code","getApiErrorLogProperties","statusCode","logProperties","severity","NETWORK_REQUEST_ERROR","NETWORK_SERVER_ERROR"],"sourceRoot":"../../../../src","sources":["components/utils/errorUtils.ts"],"mappings":"AAAA,SAASA,YAAY,QAAQ,iCAAiC;AAG9D;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,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;AACA,OAAO,MAAMC,wBAAwB,GACpCF,KAAsB,IAC2C;EACjE,MAAMG,UAAU,GAAGJ,2BAA2B,CAACC,KAAK,CAAC;EACrD,MAAMI,aAGL,GAAG;IACHC,QAAQ,EAAE,OAAO;IACjBL;EACD,CAAC;;EAED;EACA,IAAI,CAACG,UAAU,IAAIA,UAAU,GAAG,GAAG,EAAE;IACpC,OAAO,IAAI;EACZ;;EAEA;EACA,IAAIA,UAAU,GAAG,GAAG,EAAE;IACrB,OAAO;MACN,GAAGC,aAAa;MAChBD,UAAU;MACVF,IAAI,EAAEH,YAAY,CAACQ;IACpB,CAAC;EACF;;EAEA;EACA,OAAO;IACN,GAAGF,aAAa;IAChBD,UAAU;IACVF,IAAI,EAAEH,YAAY,CAACS;EACpB,CAAC;AACF,CAAC","ignoreList":[]}
|
package/lib/module/index.js
CHANGED
package/lib/module/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"sourceRoot":"../../src","sources":["index.tsx"],"mappings":"AAAA,cAAc,qCAAqC","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["ErrorCodeMap"],"sourceRoot":"../../src","sources":["index.tsx"],"mappings":"AAAA,cAAc,qCAAqC;AAgBnD,SACCA,YAAY,QAEN,6BAA6B","ignoreList":[]}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { isEmpty } from "radash";
|
|
2
2
|
import { addClientTagsToOfferLinks, getOffersByProductTypes } from "../utils";
|
|
3
3
|
import { sortOffersByRecommendationScore } from "../utils/sortOffersByRecommendationScore";
|
|
4
|
-
import { pipe } from "effect";
|
|
5
4
|
import { formatOfferUrl } from "../utils/formatOfferUrl";
|
|
6
5
|
/**
|
|
7
6
|
* Retrieves dynamic offers based on the provided parameters.
|
|
@@ -57,8 +56,11 @@ export const getDynamicOffers = async ({
|
|
|
57
56
|
errorCode = fallbackResult.errorCode;
|
|
58
57
|
}
|
|
59
58
|
const sortedOffers = sortOffersByRecommendationScore(offers);
|
|
59
|
+
const formattedOffers = formatOfferUrl(productTypesDefinition, partnersOverrideDefinition)(sortedOffers);
|
|
60
|
+
const offersWithTags = addClientTagsToOfferLinks(isCachedOffersRequest, tags)(formattedOffers);
|
|
61
|
+
const finalOffers = sortOffersByRecommendationScore(offersWithTags);
|
|
60
62
|
return {
|
|
61
|
-
offers:
|
|
63
|
+
offers: finalOffers,
|
|
62
64
|
isError,
|
|
63
65
|
errorCode,
|
|
64
66
|
leadUuid: leadUuid,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["isEmpty","addClientTagsToOfferLinks","getOffersByProductTypes","sortOffersByRecommendationScore","
|
|
1
|
+
{"version":3,"names":["isEmpty","addClientTagsToOfferLinks","getOffersByProductTypes","sortOffersByRecommendationScore","formatOfferUrl","getDynamicOffers","tags","defaultProductType","productTypes","isCachedOffersRequest","productTypesDefinition","partnersOverrideDefinition","context","userData","onError","offers","rateTableUuid","isError","leadUuid","errorCode","enablePolling","fallbackResult","sortedOffers","formattedOffers","offersWithTags","finalOffers"],"sourceRoot":"../../../src","sources":["services/getDynamicOffers.ts"],"mappings":"AAAA,SAASA,OAAO,QAAQ,QAAQ;AAChC,SAASC,yBAAyB,EAAEC,uBAAuB,QAAQ,UAAU;AAE7E,SAASC,+BAA+B,QAAQ,0CAA0C;AAC1F,SAASC,cAAc,QAAQ,yBAAyB;AAuBxD;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMC,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,MAAMjB,uBAAuB,CAAC;IAC7BO,qBAAqB;IACrBD,YAAY;IACZF,IAAI;IACJM,OAAO;IACPC,QAAQ;IACRO,aAAa,EAAE,IAAI;IACnBN;EACD,CAAC,CAAC;;EAEH;EACA,IAAId,OAAO,CAACe,MAAM,CAAC,EAAE;IACpB,MAAMM,cAAc,GAAG,MAAMnB,uBAAuB,CAAC;MACpDO,qBAAqB;MACrBD,YAAY,EAAE,CAACD,kBAAkB,CAAC;MAClCD,IAAI;MACJM,OAAO;MACPC,QAAQ;MACRC;IACD,CAAC,CAAC;;IAEF;IACAC,MAAM,GAAGM,cAAc,CAACN,MAAM;IAC9BC,aAAa,GAAGK,cAAc,CAACL,aAAa;IAC5CC,OAAO,GAAGI,cAAc,CAACJ,OAAO;IAChCC,QAAQ,GAAGG,cAAc,CAACH,QAAQ;IAClCV,YAAY,GAAG,CAACD,kBAAkB,CAAC;IACnCY,SAAS,GAAGE,cAAc,CAACF,SAAS;EACrC;EAEA,MAAMG,YAAY,GAAGnB,+BAA+B,CAACY,MAAM,CAAC;EAC5D,MAAMQ,eAAe,GAAGnB,cAAc,CACrCM,sBAAsB,EACtBC,0BACD,CAAC,CAACW,YAAY,CAAC;EACf,MAAME,cAAc,GAAGvB,yBAAyB,CAC/CQ,qBAAqB,EACrBH,IACD,CAAC,CAACiB,eAAe,CAAC;EAClB,MAAME,WAAW,GAAGtB,+BAA+B,CAACqB,cAAc,CAAC;EAEnE,OAAO;IACNT,MAAM,EAAEU,WAAW;IACnBR,OAAO;IACPE,SAAS;IACTD,QAAQ,EAAEA,QAAQ;IAClBF;EACD,CAAC;AACF,CAAC","ignoreList":[]}
|
package/lib/module/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["VERSION"],"sourceRoot":"../../src","sources":["version.ts"],"mappings":"AAAA;AACA,OAAO,MAAMA,OAAO,GAAG,
|
|
1
|
+
{"version":3,"names":["VERSION"],"sourceRoot":"../../src","sources":["version.ts"],"mappings":"AAAA;AACA,OAAO,MAAMA,OAAO,GAAG,QAAQ","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"apiEnvironment.d.ts","sourceRoot":"","sources":["../../src/apiEnvironment.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,eAAO,MAAM,mBAAmB,GAAI,OAAO,OAAO,KAAG,MACa,CAAC;AAEnE;;GAEG;AACH,eAAO,MAAM,yBAAyB,GAAI,OAAO,OAAO,KAAG,MACO,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"builder.d.ts","sourceRoot":"","sources":["../../../src/builder/builder.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mCAAmC,CAAC;AACtE,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,+CAA+C,CAAC;AAE1E,KAAK,UAAU,GAAG;IACjB,YAAY,EAAE,YAAY,EAAE,CAAC;CAC7B,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG,UAAU,GAAG;IAC3C,MAAM,EAAE,kBAAkB,CAAC;IAC3B,QAAQ,EAAE,IAAI,EAAE,CAAC;IACjB,KAAK,EAAE,IAAI,EAAE,CAAC;CACd,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG,UAAU,GAAG;IAC9C,MAAM,EAAE,qBAAqB,CAAC;IAC9B,KAAK,EAAE,IAAI,EAAE,CAAC;CACd,CAAC;AAEF,MAAM,MAAM,2BAA2B,GAAG,UAAU,GAAG;IACtD,MAAM,EAAE,6BAA6B,CAAC;IACtC,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,sBAAsB,CAAC,EAAE,MAAM,CAAC;CAChC,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG,KAAK,CACrC,gBAAgB,GAAG,mBAAmB,GAAG,2BAA2B,CACpE,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,kBAsdhC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","source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,CAAC;CACxB,CAAC;AAEF,MAAM,MAAM,MAAM,GAAG;IACpB,YAAY,CAAC,EAAE;QACd,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,kBAAkB,CAAC,EAAE,MAAM,CAAC;QAC5B,mBAAmB,CAAC,EAAE,mBAAmB,EAAE,CAAC;QAC5C,eAAe,CAAC,EAAE,MAAM,CAAC;QACzB,KAAK,EAAE,OAAO,CAAC;QACf,aAAa,EAAE,MAAM,CAAC;QACtB,UAAU,EAAE,MAAM,CAAC;QACnB,IAAI,EAAE,MAAM,CAAC;KACb,CAAC;IACF,KAAK,CAAC,EAAE;QACP,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC,CAAC;KAC1B,CAAC;CACF,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/builder/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,gBAAgB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"checkVisualEligibility.d.ts","sourceRoot":"","sources":["../../../../../../src/capabilities/configuration/src/brands/checkVisualEligibility.ts"],"names":[],"mappings":"AACA,OAAO,EAAe,KAAK,KAAK,EAAE,MAAM,SAAS,CAAC;AAGlD;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,SAAS,GAAG,WAAW,GAAG,MAAM,CAAC;AAE/D;;;;GAIG;AACH,eAAO,MAAM,2BAA2B,GAAI,OAAO,KAAK,oBAc9B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createDerivedBrands.d.ts","sourceRoot":"","sources":["../../../../../../src/capabilities/configuration/src/brands/createDerivedBrands.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAC;AAKjD;;;;;GAKG;AACH,eAAO,MAAM,mBAAmB,GAAI,OAAO,KAAK,YA0B/C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/capabilities/configuration/src/brands/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AACtC,OAAO,EAAE,2BAA2B,EAAE,MAAM,0BAA0B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/capabilities/configuration/src/brands/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAC;AAEjD,eAAO,MAAM,WAAW,GAAI,OAAO,KAAK,mEAGvC,CAAC;AACF,YAAY,EAAE,KAAK,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/capabilities/configuration/src/userData/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,QAAQ,GAAG;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC1B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/capabilities/core/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,6BAA6B,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
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";
|
|
7
|
+
export type CnfContext = {
|
|
8
|
+
app: App;
|
|
9
|
+
brand: Brand;
|
|
10
|
+
configuration: Configuration;
|
|
11
|
+
request: CnfRequest;
|
|
12
|
+
signals: Signals;
|
|
13
|
+
subaccount: Subaccount;
|
|
14
|
+
isDev: boolean;
|
|
15
|
+
};
|
|
16
|
+
//# sourceMappingURL=CnfContext.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CnfContext.d.ts","sourceRoot":"","sources":["../../../../../../../src/capabilities/core/src/system/cnfContext/CnfContext.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAEvD,MAAM,MAAM,UAAU,GAAG;IACxB,GAAG,EAAE,GAAG,CAAC;IACT,KAAK,EAAE,KAAK,CAAC;IACb,aAAa,EAAE,aAAa,CAAC;IAC7B,OAAO,EAAE,UAAU,CAAC;IACpB,OAAO,EAAE,OAAO,CAAC;IACjB,UAAU,EAAE,UAAU,CAAC;IACvB,KAAK,EAAE,OAAO,CAAC;CACf,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"App.d.ts","sourceRoot":"","sources":["../../../../../../../../src/capabilities/core/src/system/cnfContext/schemas/App.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,GAAG,GAAG;IACjB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,MAAM,CAAC;CACtB,CAAC"}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
export type ReshapedThemeColorObject = {
|
|
2
|
+
hex: string;
|
|
3
|
+
hexDark?: string;
|
|
4
|
+
};
|
|
5
|
+
export type ReshapedThemeColors = {
|
|
6
|
+
backgroundCritical: ReshapedThemeColorObject;
|
|
7
|
+
backgroundCriticalFaded: ReshapedThemeColorObject;
|
|
8
|
+
backgroundDisabled: ReshapedThemeColorObject;
|
|
9
|
+
backgroundDisabledFaded: ReshapedThemeColorObject;
|
|
10
|
+
backgroundElevationBase: ReshapedThemeColorObject;
|
|
11
|
+
backgroundElevationOverlay: ReshapedThemeColorObject;
|
|
12
|
+
backgroundElevationRaised: ReshapedThemeColorObject;
|
|
13
|
+
backgroundNeutral: ReshapedThemeColorObject;
|
|
14
|
+
backgroundNeutralFaded: ReshapedThemeColorObject;
|
|
15
|
+
backgroundPage: ReshapedThemeColorObject;
|
|
16
|
+
backgroundPageFaded: ReshapedThemeColorObject;
|
|
17
|
+
backgroundPositive: ReshapedThemeColorObject;
|
|
18
|
+
backgroundPositiveFaded: ReshapedThemeColorObject;
|
|
19
|
+
backgroundPrimary: ReshapedThemeColorObject;
|
|
20
|
+
backgroundPrimaryFaded: ReshapedThemeColorObject;
|
|
21
|
+
backgroundWarning: ReshapedThemeColorObject;
|
|
22
|
+
backgroundWarningFaded: ReshapedThemeColorObject;
|
|
23
|
+
black: ReshapedThemeColorObject;
|
|
24
|
+
borderCritical: ReshapedThemeColorObject;
|
|
25
|
+
borderCriticalFaded: ReshapedThemeColorObject;
|
|
26
|
+
borderDisabled: ReshapedThemeColorObject;
|
|
27
|
+
borderNeutral: ReshapedThemeColorObject;
|
|
28
|
+
borderNeutralFaded: ReshapedThemeColorObject;
|
|
29
|
+
borderPositive: ReshapedThemeColorObject;
|
|
30
|
+
borderPositiveFaded: ReshapedThemeColorObject;
|
|
31
|
+
borderPrimary: ReshapedThemeColorObject;
|
|
32
|
+
borderPrimaryFaded: ReshapedThemeColorObject;
|
|
33
|
+
borderWarning: ReshapedThemeColorObject;
|
|
34
|
+
borderWarningFaded: ReshapedThemeColorObject;
|
|
35
|
+
brand: ReshapedThemeColorObject;
|
|
36
|
+
foregroundCritical: ReshapedThemeColorObject;
|
|
37
|
+
foregroundDisabled: ReshapedThemeColorObject;
|
|
38
|
+
foregroundNeutral: ReshapedThemeColorObject;
|
|
39
|
+
foregroundNeutralFaded: ReshapedThemeColorObject;
|
|
40
|
+
foregroundPositive: ReshapedThemeColorObject;
|
|
41
|
+
foregroundPrimary: ReshapedThemeColorObject;
|
|
42
|
+
foregroundWarning: ReshapedThemeColorObject;
|
|
43
|
+
white: ReshapedThemeColorObject;
|
|
44
|
+
};
|
|
45
|
+
export type Links = {
|
|
46
|
+
home?: string;
|
|
47
|
+
terms?: string;
|
|
48
|
+
support?: string;
|
|
49
|
+
privacy?: string;
|
|
50
|
+
};
|
|
51
|
+
export type AiInference = {
|
|
52
|
+
status: string;
|
|
53
|
+
error?: string;
|
|
54
|
+
};
|
|
55
|
+
export type Media = {
|
|
56
|
+
id: string;
|
|
57
|
+
autoCrop: boolean;
|
|
58
|
+
prefix?: string;
|
|
59
|
+
alt?: string;
|
|
60
|
+
url?: string;
|
|
61
|
+
filename?: string;
|
|
62
|
+
mimeType?: string;
|
|
63
|
+
filesize?: number;
|
|
64
|
+
width?: number;
|
|
65
|
+
height?: number;
|
|
66
|
+
createdAt?: string;
|
|
67
|
+
updatedAt?: string;
|
|
68
|
+
aiInference?: AiInference;
|
|
69
|
+
};
|
|
70
|
+
export type Logos = {
|
|
71
|
+
horizontal?: Media;
|
|
72
|
+
icon?: Media | null;
|
|
73
|
+
};
|
|
74
|
+
export type FontFamily = "nunito" | "lato" | "sourceSans3" | "openSans" | "roboto" | "arimo" | "montserrat";
|
|
75
|
+
export type Font = {
|
|
76
|
+
family?: FontFamily;
|
|
77
|
+
};
|
|
78
|
+
export type AllowedMarks = {
|
|
79
|
+
logo: boolean;
|
|
80
|
+
name: boolean;
|
|
81
|
+
};
|
|
82
|
+
export type CtaRoundness = {
|
|
83
|
+
small?: number;
|
|
84
|
+
medium?: number;
|
|
85
|
+
large?: number;
|
|
86
|
+
};
|
|
87
|
+
export type Brand = {
|
|
88
|
+
id: string;
|
|
89
|
+
domain: string;
|
|
90
|
+
displayName: string;
|
|
91
|
+
isLicensed?: boolean;
|
|
92
|
+
hideLicensedLogo?: boolean;
|
|
93
|
+
reshapedThemeColors: ReshapedThemeColors;
|
|
94
|
+
links?: Links;
|
|
95
|
+
logos?: Logos;
|
|
96
|
+
font?: Font;
|
|
97
|
+
type?: "business" | "product" | "individual";
|
|
98
|
+
allowedMarks: AllowedMarks;
|
|
99
|
+
ctaRoundness?: CtaRoundness;
|
|
100
|
+
createdAt?: string;
|
|
101
|
+
updatedAt?: string;
|
|
102
|
+
licensedBrand?: Brand | null;
|
|
103
|
+
};
|
|
104
|
+
//# sourceMappingURL=Brand.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Brand.d.ts","sourceRoot":"","sources":["../../../../../../../../src/capabilities/core/src/system/cnfContext/schemas/Brand.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,wBAAwB,GAAG;IACtC,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG;IACjC,kBAAkB,EAAE,wBAAwB,CAAC;IAC7C,uBAAuB,EAAE,wBAAwB,CAAC;IAClD,kBAAkB,EAAE,wBAAwB,CAAC;IAC7C,uBAAuB,EAAE,wBAAwB,CAAC;IAClD,uBAAuB,EAAE,wBAAwB,CAAC;IAClD,0BAA0B,EAAE,wBAAwB,CAAC;IACrD,yBAAyB,EAAE,wBAAwB,CAAC;IACpD,iBAAiB,EAAE,wBAAwB,CAAC;IAC5C,sBAAsB,EAAE,wBAAwB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CAAC;IACf,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,mBAAmB,EAAE,mBAAmB,CAAC;IACzC,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,IAAI,CAAC,EAAE,UAAU,GAAG,SAAS,GAAG,YAAY,CAAC;IAC7C,YAAY,EAAE,YAAY,CAAC;IAC3B,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,KAAK,GAAG,IAAI,CAAC;CAC7B,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
type ProductTypesDefinition = {
|
|
2
|
+
id: string;
|
|
3
|
+
partnerPageUrl: string;
|
|
4
|
+
productTypeSlug: string;
|
|
5
|
+
};
|
|
6
|
+
type PartnersOverrideDefinition = {
|
|
7
|
+
id: string;
|
|
8
|
+
overrideUrl: string;
|
|
9
|
+
financialInstitutionUuid: string;
|
|
10
|
+
};
|
|
11
|
+
export type DynamicOffersConfigurationSchema = {
|
|
12
|
+
hideFooter: boolean;
|
|
13
|
+
enableUseCachedOffers: boolean;
|
|
14
|
+
defaultProductTypeSlug: string;
|
|
15
|
+
productTypesDefinition: ProductTypesDefinition[];
|
|
16
|
+
partnersOverrideDefinition: PartnersOverrideDefinition[];
|
|
17
|
+
};
|
|
18
|
+
export type Configuration = {
|
|
19
|
+
app: string | {
|
|
20
|
+
name: string;
|
|
21
|
+
};
|
|
22
|
+
configuration: DynamicOffersConfigurationSchema;
|
|
23
|
+
};
|
|
24
|
+
export {};
|
|
25
|
+
//# sourceMappingURL=Configuration.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Configuration.d.ts","sourceRoot":"","sources":["../../../../../../../../src/capabilities/core/src/system/cnfContext/schemas/Configuration.ts"],"names":[],"mappings":"AAAA,KAAK,sBAAsB,GAAG;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,cAAc,EAAE,MAAM,CAAC;IACvB,eAAe,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,KAAK,0BAA0B,GAAG;IACjC,EAAE,EAAE,MAAM,CAAC;IACX,WAAW,EAAE,MAAM,CAAC;IACpB,wBAAwB,EAAE,MAAM,CAAC;CACjC,CAAC;AAEF,MAAM,MAAM,gCAAgC,GAAG;IAC9C,UAAU,EAAE,OAAO,CAAC;IACpB,qBAAqB,EAAE,OAAO,CAAC;IAC/B,sBAAsB,EAAE,MAAM,CAAC;IAC/B,sBAAsB,EAAE,sBAAsB,EAAE,CAAC;IACjD,0BAA0B,EAAE,0BAA0B,EAAE,CAAC;CACzD,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG;IAC3B,GAAG,EAAE,MAAM,GAAG;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC;IAC/B,aAAa,EAAE,gCAAgC,CAAC;CAChD,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
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
|
+
};
|
|
12
|
+
//# sourceMappingURL=Request.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Request.d.ts","sourceRoot":"","sources":["../../../../../../../../src/capabilities/core/src/system/cnfContext/schemas/Request.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,UAAU,GAAG;IACxB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;IACpC,IAAI,CAAC,EAAE,MAAM,CAAC;CACd,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Session.d.ts","sourceRoot":"","sources":["../../../../../../../../src/capabilities/core/src/system/cnfContext/schemas/Session.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,SAAS,GAAG,MAAM,CAAC;AAE/B,MAAM,MAAM,OAAO,GAAG;IACrB,EAAE,EAAE,SAAS,CAAC;CACd,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export type PartnerSignals = {
|
|
2
|
+
clientTags: Record<string, string>;
|
|
3
|
+
};
|
|
4
|
+
export type DeviceId = string;
|
|
5
|
+
export type DeviceSignals = {
|
|
6
|
+
id: DeviceId;
|
|
7
|
+
ipAddress?: string;
|
|
8
|
+
os?: string;
|
|
9
|
+
isMobile?: boolean;
|
|
10
|
+
country?: string;
|
|
11
|
+
state?: {
|
|
12
|
+
name?: string;
|
|
13
|
+
code?: string;
|
|
14
|
+
};
|
|
15
|
+
postalCode: string;
|
|
16
|
+
city: string;
|
|
17
|
+
fingerprintId?: string;
|
|
18
|
+
userAgent?: string;
|
|
19
|
+
};
|
|
20
|
+
export type LeadUuid = string;
|
|
21
|
+
export type LeadSignals = {
|
|
22
|
+
uuid: LeadUuid;
|
|
23
|
+
};
|
|
24
|
+
export type ReferralSignals = Record<string, never>;
|
|
25
|
+
export type Signals = {
|
|
26
|
+
partnerSignals: PartnerSignals;
|
|
27
|
+
deviceSignals: DeviceSignals;
|
|
28
|
+
lead: LeadSignals;
|
|
29
|
+
referral: ReferralSignals;
|
|
30
|
+
};
|
|
31
|
+
//# sourceMappingURL=Signals.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Signals.d.ts","sourceRoot":"","sources":["../../../../../../../../src/capabilities/core/src/system/cnfContext/schemas/Signals.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,cAAc,GAAG;IAC5B,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CACnC,CAAC;AAEF,MAAM,MAAM,QAAQ,GAAG,MAAM,CAAC;AAE9B,MAAM,MAAM,aAAa,GAAG;IAC3B,EAAE,EAAE,QAAQ,CAAC;IACb,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE;QACP,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,IAAI,CAAC,EAAE,MAAM,CAAC;KACd,CAAC;IACF,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,MAAM,MAAM,QAAQ,GAAG,MAAM,CAAC;AAE9B,MAAM,MAAM,WAAW,GAAG;IACzB,IAAI,EAAE,QAAQ,CAAC;CACf,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;AAEpD,MAAM,MAAM,OAAO,GAAG;IACrB,cAAc,EAAE,cAAc,CAAC;IAC/B,aAAa,EAAE,aAAa,CAAC;IAC7B,IAAI,EAAE,WAAW,CAAC;IAClB,QAAQ,EAAE,eAAe,CAAC;CAC1B,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
type Tag = {
|
|
2
|
+
id: string;
|
|
3
|
+
key: string;
|
|
4
|
+
value: string;
|
|
5
|
+
};
|
|
6
|
+
export type Subaccount = {
|
|
7
|
+
id: string;
|
|
8
|
+
publicToken: string;
|
|
9
|
+
name: string;
|
|
10
|
+
companyUuid: string;
|
|
11
|
+
subaccount: number | null;
|
|
12
|
+
supplySubaccountUuid?: string;
|
|
13
|
+
tags: Tag[];
|
|
14
|
+
createdAt: string;
|
|
15
|
+
updatedAt: string;
|
|
16
|
+
};
|
|
17
|
+
export {};
|
|
18
|
+
//# sourceMappingURL=Subaccount.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Subaccount.d.ts","sourceRoot":"","sources":["../../../../../../../../src/capabilities/core/src/system/cnfContext/schemas/Subaccount.ts"],"names":[],"mappings":"AAAA,KAAK,GAAG,GAAG;IACV,EAAE,EAAE,MAAM,CAAC;IACX,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,MAAM,MAAM,UAAU,GAAG;IACxB,EAAE,EAAE,MAAM,CAAC;IACX,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,IAAI,EAAE,GAAG,EAAE,CAAC;IACZ,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;CAClB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/capabilities/core/src/system/cnfContext/schemas/index.ts"],"names":[],"mappings":"AAAA,cAAc,OAAO,CAAC;AACtB,cAAc,SAAS,CAAC;AACxB,cAAc,iBAAiB,CAAC;AAChC,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC"}
|
|
@@ -1,13 +1,29 @@
|
|
|
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 declare enum ErrorCodes {
|
|
2
7
|
MISSING_CONFIG = "MISSING_CONFIG",
|
|
3
8
|
UI_CRASH = "UI_CRASH",
|
|
4
9
|
FLOW_ERROR = "FLOW_ERROR",
|
|
5
10
|
NETWORK_REQUEST_ERROR = "NETWORK_REQUEST_ERROR",
|
|
6
11
|
NETWORK_SERVER_ERROR = "NETWORK_SERVER_ERROR",
|
|
7
|
-
NETWORK_OTHER_ERROR = "NETWORK_OTHER_ERROR"
|
|
12
|
+
NETWORK_OTHER_ERROR = "NETWORK_OTHER_ERROR",
|
|
13
|
+
NON_US = "NON_US"
|
|
8
14
|
}
|
|
15
|
+
export declare const ErrorCodeMap: {
|
|
16
|
+
readonly MISSING_CONFIG: "MISSING_CONFIG";
|
|
17
|
+
readonly UI_CRASH: "UI_CRASH";
|
|
18
|
+
readonly FLOW_ERROR: "FLOW_ERROR";
|
|
19
|
+
readonly NETWORK_REQUEST_ERROR: "NETWORK_REQUEST_ERROR";
|
|
20
|
+
readonly NETWORK_SERVER_ERROR: "NETWORK_SERVER_ERROR";
|
|
21
|
+
readonly NETWORK_OTHER_ERROR: "NETWORK_OTHER_ERROR";
|
|
22
|
+
readonly NON_US: "NON_US";
|
|
23
|
+
};
|
|
24
|
+
export type ErrorCodeValues = (typeof ErrorCodeMap)[keyof typeof ErrorCodeMap];
|
|
9
25
|
export interface MoneyLionOfferCarouselError {
|
|
10
|
-
code:
|
|
26
|
+
code: ErrorCodeValues;
|
|
11
27
|
severity: "warning" | "error";
|
|
12
28
|
message: string;
|
|
13
29
|
timestamp: string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/capabilities/errors/types/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,oBAAY,UAAU;IAErB,cAAc,mBAAmB;IAGjC,QAAQ,aAAa;IAGrB,UAAU,eAAe;IAGzB,qBAAqB,0BAA0B;IAC/C,oBAAoB,yBAAyB;IAC7C,mBAAmB,wBAAwB;IAG3C,MAAM,WAAW;CACjB;AAED,eAAO,MAAM,YAAY;;;;;;;;CAiBf,CAAC;AAEX,MAAM,MAAM,eAAe,GAAG,CAAC,OAAO,YAAY,CAAC,CAAC,MAAM,OAAO,YAAY,CAAC,CAAC;AAE/E,MAAM,WAAW,2BAA2B;IAC3C,IAAI,EAAE,eAAe,CAAC;IACtB,QAAQ,EAAE,SAAS,GAAG,OAAO,CAAC;IAC9B,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,KAAK,GAAG,OAAO,CAAC;IACxB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACzC;AAED,MAAM,WAAW,mCAAoC,SAAQ,IAAI,CAChE,2BAA2B,EAC3B,WAAW,GAAG,YAAY,CAC1B;CAAG;AAEJ,MAAM,MAAM,eAAe,GAAG,CAAC,KAAK,EAAE,2BAA2B,KAAK,IAAI,CAAC;AAE3E,MAAM,MAAM,uBAAuB,GAAG,CACrC,KAAK,EAAE,mCAAmC,KACtC,IAAI,CAAC;AAEV,MAAM,WAAW,QAAS,SAAQ,KAAK;IACtC,IAAI,CAAC,EAAE,MAAM,CAAC;CACd"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"offerCatalogApi.d.ts","sourceRoot":"","sources":["../../../../../../src/capabilities/offer-catalog/src/api/offerCatalogApi.ts"],"names":[],"mappings":"AACA,OAAO,KA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