@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.
Files changed (459) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/lib/commonjs/capabilities/core/src/system/cnfContext/CnfContext.js +0 -12
  3. package/lib/commonjs/capabilities/core/src/system/cnfContext/CnfContext.js.map +1 -1
  4. package/lib/commonjs/capabilities/core/src/system/cnfContext/schemas/App.js +0 -16
  5. package/lib/commonjs/capabilities/core/src/system/cnfContext/schemas/App.js.map +1 -1
  6. package/lib/commonjs/capabilities/core/src/system/cnfContext/schemas/Brand.js +0 -120
  7. package/lib/commonjs/capabilities/core/src/system/cnfContext/schemas/Brand.js.map +1 -1
  8. package/lib/commonjs/capabilities/core/src/system/cnfContext/schemas/Configuration.js +0 -39
  9. package/lib/commonjs/capabilities/core/src/system/cnfContext/schemas/Configuration.js.map +1 -1
  10. package/lib/commonjs/capabilities/core/src/system/cnfContext/schemas/Request.js +0 -19
  11. package/lib/commonjs/capabilities/core/src/system/cnfContext/schemas/Request.js.map +1 -1
  12. package/lib/commonjs/capabilities/core/src/system/cnfContext/schemas/Session.js +0 -10
  13. package/lib/commonjs/capabilities/core/src/system/cnfContext/schemas/Session.js.map +1 -1
  14. package/lib/commonjs/capabilities/core/src/system/cnfContext/schemas/Signals.js +0 -39
  15. package/lib/commonjs/capabilities/core/src/system/cnfContext/schemas/Signals.js.map +1 -1
  16. package/lib/commonjs/capabilities/core/src/system/cnfContext/schemas/Subaccount.js +0 -24
  17. package/lib/commonjs/capabilities/core/src/system/cnfContext/schemas/Subaccount.js.map +1 -1
  18. package/lib/commonjs/capabilities/errors/types/index.js +22 -1
  19. package/lib/commonjs/capabilities/errors/types/index.js.map +1 -1
  20. package/lib/commonjs/capabilities/offer-catalog/src/api/offerCatalogApi.js +3 -3
  21. package/lib/commonjs/capabilities/offer-catalog/src/api/offerCatalogApi.js.map +1 -1
  22. package/lib/commonjs/components/MoneyLionOfferCarousel.js +13 -5
  23. package/lib/commonjs/components/MoneyLionOfferCarousel.js.map +1 -1
  24. package/lib/commonjs/components/utils/errorUtils.js +2 -2
  25. package/lib/commonjs/components/utils/errorUtils.js.map +1 -1
  26. package/lib/commonjs/index.js +11 -0
  27. package/lib/commonjs/index.js.map +1 -1
  28. package/lib/commonjs/services/getDynamicOffers.js +4 -2
  29. package/lib/commonjs/services/getDynamicOffers.js.map +1 -1
  30. package/lib/commonjs/version.js +1 -1
  31. package/lib/commonjs/version.js.map +1 -1
  32. package/lib/module/capabilities/core/src/system/cnfContext/CnfContext.js +1 -11
  33. package/lib/module/capabilities/core/src/system/cnfContext/CnfContext.js.map +1 -1
  34. package/lib/module/capabilities/core/src/system/cnfContext/schemas/App.js +1 -11
  35. package/lib/module/capabilities/core/src/system/cnfContext/schemas/App.js.map +1 -1
  36. package/lib/module/capabilities/core/src/system/cnfContext/schemas/Brand.js +1 -115
  37. package/lib/module/capabilities/core/src/system/cnfContext/schemas/Brand.js.map +1 -1
  38. package/lib/module/capabilities/core/src/system/cnfContext/schemas/Configuration.js +1 -34
  39. package/lib/module/capabilities/core/src/system/cnfContext/schemas/Configuration.js.map +1 -1
  40. package/lib/module/capabilities/core/src/system/cnfContext/schemas/Request.js +1 -14
  41. package/lib/module/capabilities/core/src/system/cnfContext/schemas/Request.js.map +1 -1
  42. package/lib/module/capabilities/core/src/system/cnfContext/schemas/Session.js +1 -5
  43. package/lib/module/capabilities/core/src/system/cnfContext/schemas/Session.js.map +1 -1
  44. package/lib/module/capabilities/core/src/system/cnfContext/schemas/Signals.js +1 -34
  45. package/lib/module/capabilities/core/src/system/cnfContext/schemas/Signals.js.map +1 -1
  46. package/lib/module/capabilities/core/src/system/cnfContext/schemas/Subaccount.js +1 -19
  47. package/lib/module/capabilities/core/src/system/cnfContext/schemas/Subaccount.js.map +1 -1
  48. package/lib/module/capabilities/errors/types/index.js +21 -0
  49. package/lib/module/capabilities/errors/types/index.js.map +1 -1
  50. package/lib/module/capabilities/offer-catalog/src/api/offerCatalogApi.js +4 -4
  51. package/lib/module/capabilities/offer-catalog/src/api/offerCatalogApi.js.map +1 -1
  52. package/lib/module/components/MoneyLionOfferCarousel.js +14 -6
  53. package/lib/module/components/MoneyLionOfferCarousel.js.map +1 -1
  54. package/lib/module/components/utils/errorUtils.js +3 -3
  55. package/lib/module/components/utils/errorUtils.js.map +1 -1
  56. package/lib/module/index.js +1 -0
  57. package/lib/module/index.js.map +1 -1
  58. package/lib/module/services/getDynamicOffers.js +4 -2
  59. package/lib/module/services/getDynamicOffers.js.map +1 -1
  60. package/lib/module/version.js +1 -1
  61. package/lib/module/version.js.map +1 -1
  62. package/lib/typescript/apiEnvironment.d.ts.map +1 -0
  63. package/lib/typescript/builder/builder.d.ts.map +1 -0
  64. package/lib/typescript/builder/config/types.d.ts.map +1 -0
  65. package/lib/typescript/builder/index.d.ts.map +1 -0
  66. package/lib/typescript/capabilities/configuration/src/brands/checkVisualEligibility.d.ts.map +1 -0
  67. package/lib/typescript/capabilities/configuration/src/brands/createDerivedBrands.d.ts.map +1 -0
  68. package/lib/typescript/capabilities/configuration/src/brands/index.d.ts.map +1 -0
  69. package/lib/typescript/capabilities/configuration/src/brands/types.d.ts.map +1 -0
  70. package/lib/typescript/capabilities/configuration/src/userData/types.d.ts.map +1 -0
  71. package/lib/typescript/capabilities/core/src/index.d.ts.map +1 -0
  72. package/lib/typescript/capabilities/core/src/system/cnfContext/CnfContext.d.ts +16 -0
  73. package/lib/typescript/capabilities/core/src/system/cnfContext/CnfContext.d.ts.map +1 -0
  74. package/lib/typescript/capabilities/core/src/system/cnfContext/schemas/App.d.ts +11 -0
  75. package/lib/typescript/capabilities/core/src/system/cnfContext/schemas/App.d.ts.map +1 -0
  76. package/lib/typescript/capabilities/core/src/system/cnfContext/schemas/Brand.d.ts +104 -0
  77. package/lib/typescript/capabilities/core/src/system/cnfContext/schemas/Brand.d.ts.map +1 -0
  78. package/lib/typescript/capabilities/core/src/system/cnfContext/schemas/Configuration.d.ts +25 -0
  79. package/lib/typescript/capabilities/core/src/system/cnfContext/schemas/Configuration.d.ts.map +1 -0
  80. package/lib/typescript/capabilities/core/src/system/cnfContext/schemas/Request.d.ts +12 -0
  81. package/lib/typescript/capabilities/core/src/system/cnfContext/schemas/Request.d.ts.map +1 -0
  82. package/lib/typescript/capabilities/core/src/system/cnfContext/schemas/Session.d.ts +5 -0
  83. package/lib/typescript/capabilities/core/src/system/cnfContext/schemas/Session.d.ts.map +1 -0
  84. package/lib/typescript/capabilities/core/src/system/cnfContext/schemas/Signals.d.ts +31 -0
  85. package/lib/typescript/capabilities/core/src/system/cnfContext/schemas/Signals.d.ts.map +1 -0
  86. package/lib/typescript/capabilities/core/src/system/cnfContext/schemas/Subaccount.d.ts +18 -0
  87. package/lib/typescript/capabilities/core/src/system/cnfContext/schemas/Subaccount.d.ts.map +1 -0
  88. package/lib/typescript/capabilities/core/src/system/cnfContext/schemas/index.d.ts.map +1 -0
  89. package/lib/typescript/{src/capabilities → capabilities}/errors/types/index.d.ts +18 -2
  90. package/lib/typescript/capabilities/errors/types/index.d.ts.map +1 -0
  91. package/lib/typescript/capabilities/offer-catalog/src/api/offerCatalogApi.d.ts.map +1 -0
  92. package/lib/typescript/capabilities/offer-catalog/src/index.d.ts.map +1 -0
  93. package/lib/typescript/capabilities/offer-catalog/src/types/offerCatalogSchema.d.ts.map +1 -0
  94. package/lib/typescript/capabilities/offer-catalog/src/utils/arrayToMarkdownList.d.ts.map +1 -0
  95. package/lib/typescript/{src/capabilities → capabilities}/offer-catalog/src/utils/contextUtil.d.ts +1 -1
  96. package/lib/typescript/capabilities/offer-catalog/src/utils/contextUtil.d.ts.map +1 -0
  97. package/lib/typescript/capabilities/offer-catalog/src/utils/errorUtil.d.ts.map +1 -0
  98. package/lib/typescript/capabilities/offer-catalog/src/utils/formatUtils.d.ts.map +1 -0
  99. package/lib/typescript/capabilities/offer-catalog/src/utils/getEventCallbackContext.d.ts.map +1 -0
  100. package/lib/typescript/capabilities/offer-catalog/src/utils/getOfferUrl.d.ts.map +1 -0
  101. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/annualFee.d.ts.map +1 -0
  102. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/boolean.d.ts.map +1 -0
  103. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/common.d.ts.map +1 -0
  104. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/creditBureaus.d.ts.map +1 -0
  105. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/currency.d.ts.map +1 -0
  106. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/currencyOrBasis.d.ts.map +1 -0
  107. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/freeTrialDays.d.ts.map +1 -0
  108. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/fromListStringWithAnd.d.ts.map +1 -0
  109. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/index.d.ts.map +1 -0
  110. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/monthlyOrAnnualCurrency.d.ts.map +1 -0
  111. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/percentage.d.ts.map +1 -0
  112. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/purchaseApr.d.ts.map +1 -0
  113. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/rangeCurrency.d.ts.map +1 -0
  114. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/rangeCurrencyByTime.d.ts.map +1 -0
  115. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/rangeCurrencyUnabbreviated.d.ts.map +1 -0
  116. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/rangeMonths.d.ts.map +1 -0
  117. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/rangePercent.d.ts.map +1 -0
  118. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/recommendedCredit.d.ts.map +1 -0
  119. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/rewardsDisplay.d.ts.map +1 -0
  120. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/index.d.ts.map +1 -0
  121. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/types.d.ts.map +1 -0
  122. package/lib/typescript/capabilities/offers/pipeline/src/sources/ratetables/offer-catalog/types/index.d.ts.map +1 -0
  123. package/lib/typescript/capabilities/offers/pipeline/src/sources/ratetables/offer-catalog/types/oas/offer-catalog.d.ts.map +1 -0
  124. package/lib/typescript/capabilities/offers/pipeline/src/sources/ratetables/types/index.d.ts.map +1 -0
  125. package/lib/typescript/{src/capabilities → capabilities}/offers/pipeline/src/sources/ratetables/withDeviceSignals.d.ts +11 -11
  126. package/lib/typescript/capabilities/offers/pipeline/src/sources/ratetables/withDeviceSignals.d.ts.map +1 -0
  127. package/lib/typescript/capabilities/ui/elements/src/components/MarkdownText/Abbreviation.d.ts.map +1 -0
  128. package/lib/typescript/capabilities/ui/elements/src/components/MarkdownText/components.d.ts.map +1 -0
  129. package/lib/typescript/capabilities/ui/elements/src/components/MarkdownText/index.d.ts.map +1 -0
  130. package/lib/typescript/capabilities/ui/elements/src/components/MarkdownText/markdownPreprocessor.d.ts.map +1 -0
  131. package/lib/typescript/capabilities/ui/elements/src/components/index.d.ts.map +1 -0
  132. package/lib/typescript/capabilities/ui/elements/src/components/thumbor/index.d.ts.map +1 -0
  133. package/lib/typescript/capabilities/ui/elements/src/components/thumbor/useSvgUriViewBox.d.ts.map +1 -0
  134. package/lib/typescript/capabilities/ui/elements/src/index.d.ts.map +1 -0
  135. package/lib/typescript/capabilities/ui/elements/src/offerCardAttributes.d.ts.map +1 -0
  136. package/lib/typescript/components/Button/index.d.ts.map +1 -0
  137. package/lib/typescript/components/Common/BaseOfferCard/Content/Content.d.ts.map +1 -0
  138. package/lib/typescript/components/Common/BaseOfferCard/Content/index.d.ts.map +1 -0
  139. package/lib/typescript/components/Common/BaseOfferCard/Stat/Stat.d.ts.map +1 -0
  140. package/lib/typescript/components/Common/BaseOfferCard/Stat/index.d.ts.map +1 -0
  141. package/lib/typescript/components/Common/BaseOfferCard/StatsContainer/StatsContainer.d.ts.map +1 -0
  142. package/lib/typescript/components/Common/BaseOfferCard/StatsContainer/index.d.ts.map +1 -0
  143. package/lib/typescript/components/Common/BaseOfferCard/index.d.ts.map +1 -0
  144. package/lib/typescript/components/Common/DynamicOfferCard/CallToAction.d.ts.map +1 -0
  145. package/lib/typescript/components/Common/DynamicOfferCard/SeeMore.d.ts.map +1 -0
  146. package/lib/typescript/components/Common/DynamicOfferCard/index.d.ts.map +1 -0
  147. package/lib/typescript/components/Common/index.d.ts.map +1 -0
  148. package/lib/typescript/components/Divider/index.d.ts.map +1 -0
  149. package/lib/typescript/components/DynamicOffers/DynamicOffers.d.ts.map +1 -0
  150. package/lib/typescript/components/DynamicOffers/DynamicOffersContainer.d.ts.map +1 -0
  151. package/lib/typescript/components/DynamicOffers/Render/DynamicOffersRender.d.ts.map +1 -0
  152. package/lib/typescript/components/DynamicOffers/Render/FallbackOfferTemplate.d.ts.map +1 -0
  153. package/lib/typescript/components/DynamicOffers/Render/Offer.d.ts.map +1 -0
  154. package/lib/typescript/components/DynamicOffers/Render/index.d.ts.map +1 -0
  155. package/lib/typescript/components/DynamicOffers/SeeAllButton.d.ts.map +1 -0
  156. package/lib/typescript/components/ErrorBoundary/index.d.ts.map +1 -0
  157. package/lib/typescript/components/Layouts/CreditCardOfferCard/index.d.ts.map +1 -0
  158. package/lib/typescript/components/Layouts/CreditCardOfferCard/statsBuilder.d.ts.map +1 -0
  159. package/lib/typescript/components/Layouts/DefaultOfferCard/index.d.ts.map +1 -0
  160. package/lib/typescript/components/Layouts/DefaultOfferCard/statsBuilder.d.ts.map +1 -0
  161. package/lib/typescript/components/Layouts/HeadlineWithDescriptionCard/index.d.ts.map +1 -0
  162. package/lib/typescript/components/Layouts/index.d.ts.map +1 -0
  163. package/lib/typescript/components/Modal/AllOffersModal.d.ts.map +1 -0
  164. package/lib/typescript/components/Modal/DescriptionPoints.d.ts.map +1 -0
  165. package/lib/typescript/components/Modal/Disclaimer.d.ts.map +1 -0
  166. package/lib/typescript/components/Modal/OfferDetailsModal.d.ts.map +1 -0
  167. package/lib/typescript/components/MoneyLionOfferCarousel.d.ts.map +1 -0
  168. package/lib/typescript/components/Skeleton/Skeleton.d.ts.map +1 -0
  169. package/lib/typescript/components/Skeleton/index.d.ts.map +1 -0
  170. package/lib/typescript/components/Text/index.d.ts.map +1 -0
  171. package/lib/typescript/components/Touchable/TouchableOpacity.d.ts.map +1 -0
  172. package/lib/typescript/components/Touchable/index.d.ts.map +1 -0
  173. package/lib/typescript/components/View/index.d.ts.map +1 -0
  174. package/lib/typescript/components/utils/errorUtils.d.ts.map +1 -0
  175. package/lib/typescript/components/utils/withTestID.d.ts.map +1 -0
  176. package/lib/typescript/config/mocks/cnfContext.d.ts.map +1 -0
  177. package/lib/typescript/context/ConfigurationProvider.d.ts.map +1 -0
  178. package/lib/typescript/context/EventHandlerProvider.d.ts.map +1 -0
  179. package/lib/typescript/context/ThemeProvider.d.ts.map +1 -0
  180. package/lib/typescript/deps/configuration.d.ts.map +1 -0
  181. package/lib/typescript/{src/index.d.ts → index.d.ts} +1 -0
  182. package/lib/typescript/index.d.ts.map +1 -0
  183. package/lib/typescript/pageData.d.ts.map +1 -0
  184. package/lib/typescript/services/getDynamicOffers.d.ts.map +1 -0
  185. package/lib/typescript/services/getProductTypes.d.ts.map +1 -0
  186. package/lib/typescript/utils/addClientTagsToOfferLinks.d.ts.map +1 -0
  187. package/lib/typescript/utils/formatOfferUrl.d.ts.map +1 -0
  188. package/lib/typescript/utils/getDefaultProductType.d.ts.map +1 -0
  189. package/lib/typescript/utils/getEnableUseCachedOffers.d.ts.map +1 -0
  190. package/lib/typescript/{src/utils → utils}/getOffersByProductTypes.d.ts +1 -1
  191. package/lib/typescript/utils/getOffersByProductTypes.d.ts.map +1 -0
  192. package/lib/typescript/utils/getProductTypesDefinition.d.ts +14 -0
  193. package/lib/typescript/utils/getProductTypesDefinition.d.ts.map +1 -0
  194. package/lib/typescript/utils/getThemeColors.d.ts.map +1 -0
  195. package/lib/typescript/utils/index.d.ts.map +1 -0
  196. package/lib/typescript/utils/parseStringProductTypes.d.ts.map +1 -0
  197. package/lib/typescript/utils/resolveProductTypes.d.ts.map +1 -0
  198. package/lib/typescript/utils/sortOffersByRecommendationScore.d.ts.map +1 -0
  199. package/lib/typescript/version.d.ts +2 -0
  200. package/lib/typescript/version.d.ts.map +1 -0
  201. package/package.json +3 -13
  202. package/src/capabilities/core/src/system/cnfContext/CnfContext.ts +15 -20
  203. package/src/capabilities/core/src/system/cnfContext/schemas/App.ts +10 -13
  204. package/src/capabilities/core/src/system/cnfContext/schemas/Brand.ts +108 -148
  205. package/src/capabilities/core/src/system/cnfContext/schemas/Configuration.ts +21 -46
  206. package/src/capabilities/core/src/system/cnfContext/schemas/Request.ts +11 -16
  207. package/src/capabilities/core/src/system/cnfContext/schemas/Session.ts +4 -8
  208. package/src/capabilities/core/src/system/cnfContext/schemas/Signals.ts +30 -41
  209. package/src/capabilities/core/src/system/cnfContext/schemas/Subaccount.ts +16 -24
  210. package/src/capabilities/errors/types/index.ts +30 -1
  211. package/src/capabilities/offer-catalog/src/api/offerCatalogApi.ts +4 -4
  212. package/src/components/MoneyLionOfferCarousel.tsx +14 -6
  213. package/src/components/utils/errorUtils.ts +3 -3
  214. package/src/index.tsx +4 -0
  215. package/src/services/getDynamicOffers.ts +10 -7
  216. package/src/version.ts +1 -1
  217. package/lib/typescript/src/apiEnvironment.d.ts.map +0 -1
  218. package/lib/typescript/src/builder/builder.d.ts.map +0 -1
  219. package/lib/typescript/src/builder/config/types.d.ts.map +0 -1
  220. package/lib/typescript/src/builder/index.d.ts.map +0 -1
  221. package/lib/typescript/src/capabilities/configuration/src/brands/checkVisualEligibility.d.ts.map +0 -1
  222. package/lib/typescript/src/capabilities/configuration/src/brands/createDerivedBrands.d.ts.map +0 -1
  223. package/lib/typescript/src/capabilities/configuration/src/brands/index.d.ts.map +0 -1
  224. package/lib/typescript/src/capabilities/configuration/src/brands/types.d.ts.map +0 -1
  225. package/lib/typescript/src/capabilities/configuration/src/userData/types.d.ts.map +0 -1
  226. package/lib/typescript/src/capabilities/core/src/index.d.ts.map +0 -1
  227. package/lib/typescript/src/capabilities/core/src/system/cnfContext/CnfContext.d.ts +0 -103
  228. package/lib/typescript/src/capabilities/core/src/system/cnfContext/CnfContext.d.ts.map +0 -1
  229. package/lib/typescript/src/capabilities/core/src/system/cnfContext/schemas/App.d.ts +0 -13
  230. package/lib/typescript/src/capabilities/core/src/system/cnfContext/schemas/App.d.ts.map +0 -1
  231. package/lib/typescript/src/capabilities/core/src/system/cnfContext/schemas/Brand.d.ts +0 -475
  232. package/lib/typescript/src/capabilities/core/src/system/cnfContext/schemas/Brand.d.ts.map +0 -1
  233. package/lib/typescript/src/capabilities/core/src/system/cnfContext/schemas/Configuration.d.ts +0 -59
  234. package/lib/typescript/src/capabilities/core/src/system/cnfContext/schemas/Configuration.d.ts.map +0 -1
  235. package/lib/typescript/src/capabilities/core/src/system/cnfContext/schemas/Request.d.ts +0 -16
  236. package/lib/typescript/src/capabilities/core/src/system/cnfContext/schemas/Request.d.ts.map +0 -1
  237. package/lib/typescript/src/capabilities/core/src/system/cnfContext/schemas/Session.d.ts +0 -8
  238. package/lib/typescript/src/capabilities/core/src/system/cnfContext/schemas/Session.d.ts.map +0 -1
  239. package/lib/typescript/src/capabilities/core/src/system/cnfContext/schemas/Signals.d.ts +0 -64
  240. package/lib/typescript/src/capabilities/core/src/system/cnfContext/schemas/Signals.d.ts.map +0 -1
  241. package/lib/typescript/src/capabilities/core/src/system/cnfContext/schemas/Subaccount.d.ts +0 -18
  242. package/lib/typescript/src/capabilities/core/src/system/cnfContext/schemas/Subaccount.d.ts.map +0 -1
  243. package/lib/typescript/src/capabilities/core/src/system/cnfContext/schemas/index.d.ts.map +0 -1
  244. package/lib/typescript/src/capabilities/errors/types/index.d.ts.map +0 -1
  245. package/lib/typescript/src/capabilities/offer-catalog/src/api/offerCatalogApi.d.ts.map +0 -1
  246. package/lib/typescript/src/capabilities/offer-catalog/src/index.d.ts.map +0 -1
  247. package/lib/typescript/src/capabilities/offer-catalog/src/types/offerCatalogSchema.d.ts.map +0 -1
  248. package/lib/typescript/src/capabilities/offer-catalog/src/utils/arrayToMarkdownList.d.ts.map +0 -1
  249. package/lib/typescript/src/capabilities/offer-catalog/src/utils/contextUtil.d.ts.map +0 -1
  250. package/lib/typescript/src/capabilities/offer-catalog/src/utils/errorUtil.d.ts.map +0 -1
  251. package/lib/typescript/src/capabilities/offer-catalog/src/utils/formatUtils.d.ts.map +0 -1
  252. package/lib/typescript/src/capabilities/offer-catalog/src/utils/getEventCallbackContext.d.ts.map +0 -1
  253. package/lib/typescript/src/capabilities/offer-catalog/src/utils/getOfferUrl.d.ts.map +0 -1
  254. package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/annualFee.d.ts.map +0 -1
  255. package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/boolean.d.ts.map +0 -1
  256. package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/common.d.ts.map +0 -1
  257. package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/creditBureaus.d.ts.map +0 -1
  258. package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/currency.d.ts.map +0 -1
  259. package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/currencyOrBasis.d.ts.map +0 -1
  260. package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/freeTrialDays.d.ts.map +0 -1
  261. package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/fromListStringWithAnd.d.ts.map +0 -1
  262. package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/index.d.ts.map +0 -1
  263. package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/monthlyOrAnnualCurrency.d.ts.map +0 -1
  264. package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/percentage.d.ts.map +0 -1
  265. package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/purchaseApr.d.ts.map +0 -1
  266. package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/rangeCurrency.d.ts.map +0 -1
  267. package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/rangeCurrencyByTime.d.ts.map +0 -1
  268. package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/rangeCurrencyUnabbreviated.d.ts.map +0 -1
  269. package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/rangeMonths.d.ts.map +0 -1
  270. package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/rangePercent.d.ts.map +0 -1
  271. package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/recommendedCredit.d.ts.map +0 -1
  272. package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/rewardsDisplay.d.ts.map +0 -1
  273. package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/index.d.ts.map +0 -1
  274. package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/types.d.ts.map +0 -1
  275. package/lib/typescript/src/capabilities/offers/pipeline/src/sources/ratetables/offer-catalog/types/index.d.ts.map +0 -1
  276. package/lib/typescript/src/capabilities/offers/pipeline/src/sources/ratetables/offer-catalog/types/oas/offer-catalog.d.ts.map +0 -1
  277. package/lib/typescript/src/capabilities/offers/pipeline/src/sources/ratetables/types/index.d.ts.map +0 -1
  278. package/lib/typescript/src/capabilities/offers/pipeline/src/sources/ratetables/withDeviceSignals.d.ts.map +0 -1
  279. package/lib/typescript/src/capabilities/ui/elements/src/components/MarkdownText/Abbreviation.d.ts.map +0 -1
  280. package/lib/typescript/src/capabilities/ui/elements/src/components/MarkdownText/components.d.ts.map +0 -1
  281. package/lib/typescript/src/capabilities/ui/elements/src/components/MarkdownText/index.d.ts.map +0 -1
  282. package/lib/typescript/src/capabilities/ui/elements/src/components/MarkdownText/markdownPreprocessor.d.ts.map +0 -1
  283. package/lib/typescript/src/capabilities/ui/elements/src/components/index.d.ts.map +0 -1
  284. package/lib/typescript/src/capabilities/ui/elements/src/components/thumbor/index.d.ts.map +0 -1
  285. package/lib/typescript/src/capabilities/ui/elements/src/components/thumbor/useSvgUriViewBox.d.ts.map +0 -1
  286. package/lib/typescript/src/capabilities/ui/elements/src/index.d.ts.map +0 -1
  287. package/lib/typescript/src/capabilities/ui/elements/src/offerCardAttributes.d.ts.map +0 -1
  288. package/lib/typescript/src/components/Button/index.d.ts.map +0 -1
  289. package/lib/typescript/src/components/Common/BaseOfferCard/Content/Content.d.ts.map +0 -1
  290. package/lib/typescript/src/components/Common/BaseOfferCard/Content/index.d.ts.map +0 -1
  291. package/lib/typescript/src/components/Common/BaseOfferCard/Stat/Stat.d.ts.map +0 -1
  292. package/lib/typescript/src/components/Common/BaseOfferCard/Stat/index.d.ts.map +0 -1
  293. package/lib/typescript/src/components/Common/BaseOfferCard/StatsContainer/StatsContainer.d.ts.map +0 -1
  294. package/lib/typescript/src/components/Common/BaseOfferCard/StatsContainer/index.d.ts.map +0 -1
  295. package/lib/typescript/src/components/Common/BaseOfferCard/index.d.ts.map +0 -1
  296. package/lib/typescript/src/components/Common/DynamicOfferCard/CallToAction.d.ts.map +0 -1
  297. package/lib/typescript/src/components/Common/DynamicOfferCard/SeeMore.d.ts.map +0 -1
  298. package/lib/typescript/src/components/Common/DynamicOfferCard/index.d.ts.map +0 -1
  299. package/lib/typescript/src/components/Common/index.d.ts.map +0 -1
  300. package/lib/typescript/src/components/Divider/index.d.ts.map +0 -1
  301. package/lib/typescript/src/components/DynamicOffers/DynamicOffers.d.ts.map +0 -1
  302. package/lib/typescript/src/components/DynamicOffers/DynamicOffersContainer.d.ts.map +0 -1
  303. package/lib/typescript/src/components/DynamicOffers/Render/DynamicOffersRender.d.ts.map +0 -1
  304. package/lib/typescript/src/components/DynamicOffers/Render/FallbackOfferTemplate.d.ts.map +0 -1
  305. package/lib/typescript/src/components/DynamicOffers/Render/Offer.d.ts.map +0 -1
  306. package/lib/typescript/src/components/DynamicOffers/Render/index.d.ts.map +0 -1
  307. package/lib/typescript/src/components/DynamicOffers/SeeAllButton.d.ts.map +0 -1
  308. package/lib/typescript/src/components/ErrorBoundary/index.d.ts.map +0 -1
  309. package/lib/typescript/src/components/Layouts/CreditCardOfferCard/index.d.ts.map +0 -1
  310. package/lib/typescript/src/components/Layouts/CreditCardOfferCard/statsBuilder.d.ts.map +0 -1
  311. package/lib/typescript/src/components/Layouts/DefaultOfferCard/index.d.ts.map +0 -1
  312. package/lib/typescript/src/components/Layouts/DefaultOfferCard/statsBuilder.d.ts.map +0 -1
  313. package/lib/typescript/src/components/Layouts/HeadlineWithDescriptionCard/index.d.ts.map +0 -1
  314. package/lib/typescript/src/components/Layouts/index.d.ts.map +0 -1
  315. package/lib/typescript/src/components/Modal/AllOffersModal.d.ts.map +0 -1
  316. package/lib/typescript/src/components/Modal/DescriptionPoints.d.ts.map +0 -1
  317. package/lib/typescript/src/components/Modal/Disclaimer.d.ts.map +0 -1
  318. package/lib/typescript/src/components/Modal/OfferDetailsModal.d.ts.map +0 -1
  319. package/lib/typescript/src/components/MoneyLionOfferCarousel.d.ts.map +0 -1
  320. package/lib/typescript/src/components/Skeleton/Skeleton.d.ts.map +0 -1
  321. package/lib/typescript/src/components/Skeleton/index.d.ts.map +0 -1
  322. package/lib/typescript/src/components/Text/index.d.ts.map +0 -1
  323. package/lib/typescript/src/components/Touchable/TouchableOpacity.d.ts.map +0 -1
  324. package/lib/typescript/src/components/Touchable/index.d.ts.map +0 -1
  325. package/lib/typescript/src/components/View/index.d.ts.map +0 -1
  326. package/lib/typescript/src/components/utils/errorUtils.d.ts.map +0 -1
  327. package/lib/typescript/src/components/utils/withTestID.d.ts.map +0 -1
  328. package/lib/typescript/src/config/mocks/cnfContext.d.ts.map +0 -1
  329. package/lib/typescript/src/context/ConfigurationProvider.d.ts.map +0 -1
  330. package/lib/typescript/src/context/EventHandlerProvider.d.ts.map +0 -1
  331. package/lib/typescript/src/context/ThemeProvider.d.ts.map +0 -1
  332. package/lib/typescript/src/deps/configuration.d.ts.map +0 -1
  333. package/lib/typescript/src/index.d.ts.map +0 -1
  334. package/lib/typescript/src/pageData.d.ts.map +0 -1
  335. package/lib/typescript/src/services/getDynamicOffers.d.ts.map +0 -1
  336. package/lib/typescript/src/services/getProductTypes.d.ts.map +0 -1
  337. package/lib/typescript/src/utils/addClientTagsToOfferLinks.d.ts.map +0 -1
  338. package/lib/typescript/src/utils/formatOfferUrl.d.ts.map +0 -1
  339. package/lib/typescript/src/utils/getDefaultProductType.d.ts.map +0 -1
  340. package/lib/typescript/src/utils/getEnableUseCachedOffers.d.ts.map +0 -1
  341. package/lib/typescript/src/utils/getOffersByProductTypes.d.ts.map +0 -1
  342. package/lib/typescript/src/utils/getProductTypesDefinition.d.ts +0 -14
  343. package/lib/typescript/src/utils/getProductTypesDefinition.d.ts.map +0 -1
  344. package/lib/typescript/src/utils/getThemeColors.d.ts.map +0 -1
  345. package/lib/typescript/src/utils/index.d.ts.map +0 -1
  346. package/lib/typescript/src/utils/parseStringProductTypes.d.ts.map +0 -1
  347. package/lib/typescript/src/utils/resolveProductTypes.d.ts.map +0 -1
  348. package/lib/typescript/src/utils/sortOffersByRecommendationScore.d.ts.map +0 -1
  349. package/lib/typescript/src/version.d.ts +0 -2
  350. package/lib/typescript/src/version.d.ts.map +0 -1
  351. /package/lib/typescript/{src/apiEnvironment.d.ts → apiEnvironment.d.ts} +0 -0
  352. /package/lib/typescript/{src/builder → builder}/builder.d.ts +0 -0
  353. /package/lib/typescript/{src/builder → builder}/config/types.d.ts +0 -0
  354. /package/lib/typescript/{src/builder → builder}/index.d.ts +0 -0
  355. /package/lib/typescript/{src/capabilities → capabilities}/configuration/src/brands/checkVisualEligibility.d.ts +0 -0
  356. /package/lib/typescript/{src/capabilities → capabilities}/configuration/src/brands/createDerivedBrands.d.ts +0 -0
  357. /package/lib/typescript/{src/capabilities → capabilities}/configuration/src/brands/index.d.ts +0 -0
  358. /package/lib/typescript/{src/capabilities → capabilities}/configuration/src/brands/types.d.ts +0 -0
  359. /package/lib/typescript/{src/capabilities → capabilities}/configuration/src/userData/types.d.ts +0 -0
  360. /package/lib/typescript/{src/capabilities → capabilities}/core/src/index.d.ts +0 -0
  361. /package/lib/typescript/{src/capabilities → capabilities}/core/src/system/cnfContext/schemas/index.d.ts +0 -0
  362. /package/lib/typescript/{src/capabilities → capabilities}/offer-catalog/src/api/offerCatalogApi.d.ts +0 -0
  363. /package/lib/typescript/{src/capabilities → capabilities}/offer-catalog/src/index.d.ts +0 -0
  364. /package/lib/typescript/{src/capabilities → capabilities}/offer-catalog/src/types/offerCatalogSchema.d.ts +0 -0
  365. /package/lib/typescript/{src/capabilities → capabilities}/offer-catalog/src/utils/arrayToMarkdownList.d.ts +0 -0
  366. /package/lib/typescript/{src/capabilities → capabilities}/offer-catalog/src/utils/errorUtil.d.ts +0 -0
  367. /package/lib/typescript/{src/capabilities → capabilities}/offer-catalog/src/utils/formatUtils.d.ts +0 -0
  368. /package/lib/typescript/{src/capabilities → capabilities}/offer-catalog/src/utils/getEventCallbackContext.d.ts +0 -0
  369. /package/lib/typescript/{src/capabilities → capabilities}/offer-catalog/src/utils/getOfferUrl.d.ts +0 -0
  370. /package/lib/typescript/{src/capabilities → capabilities}/offer-catalog/src/utils/stats/formatters/annualFee.d.ts +0 -0
  371. /package/lib/typescript/{src/capabilities → capabilities}/offer-catalog/src/utils/stats/formatters/boolean.d.ts +0 -0
  372. /package/lib/typescript/{src/capabilities → capabilities}/offer-catalog/src/utils/stats/formatters/common.d.ts +0 -0
  373. /package/lib/typescript/{src/capabilities → capabilities}/offer-catalog/src/utils/stats/formatters/creditBureaus.d.ts +0 -0
  374. /package/lib/typescript/{src/capabilities → capabilities}/offer-catalog/src/utils/stats/formatters/currency.d.ts +0 -0
  375. /package/lib/typescript/{src/capabilities → capabilities}/offer-catalog/src/utils/stats/formatters/currencyOrBasis.d.ts +0 -0
  376. /package/lib/typescript/{src/capabilities → capabilities}/offer-catalog/src/utils/stats/formatters/freeTrialDays.d.ts +0 -0
  377. /package/lib/typescript/{src/capabilities → capabilities}/offer-catalog/src/utils/stats/formatters/fromListStringWithAnd.d.ts +0 -0
  378. /package/lib/typescript/{src/capabilities → capabilities}/offer-catalog/src/utils/stats/formatters/index.d.ts +0 -0
  379. /package/lib/typescript/{src/capabilities → capabilities}/offer-catalog/src/utils/stats/formatters/monthlyOrAnnualCurrency.d.ts +0 -0
  380. /package/lib/typescript/{src/capabilities → capabilities}/offer-catalog/src/utils/stats/formatters/percentage.d.ts +0 -0
  381. /package/lib/typescript/{src/capabilities → capabilities}/offer-catalog/src/utils/stats/formatters/purchaseApr.d.ts +0 -0
  382. /package/lib/typescript/{src/capabilities → capabilities}/offer-catalog/src/utils/stats/formatters/rangeCurrency.d.ts +0 -0
  383. /package/lib/typescript/{src/capabilities → capabilities}/offer-catalog/src/utils/stats/formatters/rangeCurrencyByTime.d.ts +0 -0
  384. /package/lib/typescript/{src/capabilities → capabilities}/offer-catalog/src/utils/stats/formatters/rangeCurrencyUnabbreviated.d.ts +0 -0
  385. /package/lib/typescript/{src/capabilities → capabilities}/offer-catalog/src/utils/stats/formatters/rangeMonths.d.ts +0 -0
  386. /package/lib/typescript/{src/capabilities → capabilities}/offer-catalog/src/utils/stats/formatters/rangePercent.d.ts +0 -0
  387. /package/lib/typescript/{src/capabilities → capabilities}/offer-catalog/src/utils/stats/formatters/recommendedCredit.d.ts +0 -0
  388. /package/lib/typescript/{src/capabilities → capabilities}/offer-catalog/src/utils/stats/formatters/rewardsDisplay.d.ts +0 -0
  389. /package/lib/typescript/{src/capabilities → capabilities}/offer-catalog/src/utils/stats/index.d.ts +0 -0
  390. /package/lib/typescript/{src/capabilities → capabilities}/offer-catalog/src/utils/stats/types.d.ts +0 -0
  391. /package/lib/typescript/{src/capabilities → capabilities}/offers/pipeline/src/sources/ratetables/offer-catalog/types/index.d.ts +0 -0
  392. /package/lib/typescript/{src/capabilities → capabilities}/offers/pipeline/src/sources/ratetables/offer-catalog/types/oas/offer-catalog.d.ts +0 -0
  393. /package/lib/typescript/{src/capabilities → capabilities}/offers/pipeline/src/sources/ratetables/types/index.d.ts +0 -0
  394. /package/lib/typescript/{src/capabilities → capabilities}/ui/elements/src/components/MarkdownText/Abbreviation.d.ts +0 -0
  395. /package/lib/typescript/{src/capabilities → capabilities}/ui/elements/src/components/MarkdownText/components.d.ts +0 -0
  396. /package/lib/typescript/{src/capabilities → capabilities}/ui/elements/src/components/MarkdownText/index.d.ts +0 -0
  397. /package/lib/typescript/{src/capabilities → capabilities}/ui/elements/src/components/MarkdownText/markdownPreprocessor.d.ts +0 -0
  398. /package/lib/typescript/{src/capabilities → capabilities}/ui/elements/src/components/index.d.ts +0 -0
  399. /package/lib/typescript/{src/capabilities → capabilities}/ui/elements/src/components/thumbor/index.d.ts +0 -0
  400. /package/lib/typescript/{src/capabilities → capabilities}/ui/elements/src/components/thumbor/useSvgUriViewBox.d.ts +0 -0
  401. /package/lib/typescript/{src/capabilities → capabilities}/ui/elements/src/index.d.ts +0 -0
  402. /package/lib/typescript/{src/capabilities → capabilities}/ui/elements/src/offerCardAttributes.d.ts +0 -0
  403. /package/lib/typescript/{src/components → components}/Button/index.d.ts +0 -0
  404. /package/lib/typescript/{src/components → components}/Common/BaseOfferCard/Content/Content.d.ts +0 -0
  405. /package/lib/typescript/{src/components → components}/Common/BaseOfferCard/Content/index.d.ts +0 -0
  406. /package/lib/typescript/{src/components → components}/Common/BaseOfferCard/Stat/Stat.d.ts +0 -0
  407. /package/lib/typescript/{src/components → components}/Common/BaseOfferCard/Stat/index.d.ts +0 -0
  408. /package/lib/typescript/{src/components → components}/Common/BaseOfferCard/StatsContainer/StatsContainer.d.ts +0 -0
  409. /package/lib/typescript/{src/components → components}/Common/BaseOfferCard/StatsContainer/index.d.ts +0 -0
  410. /package/lib/typescript/{src/components → components}/Common/BaseOfferCard/index.d.ts +0 -0
  411. /package/lib/typescript/{src/components → components}/Common/DynamicOfferCard/CallToAction.d.ts +0 -0
  412. /package/lib/typescript/{src/components → components}/Common/DynamicOfferCard/SeeMore.d.ts +0 -0
  413. /package/lib/typescript/{src/components → components}/Common/DynamicOfferCard/index.d.ts +0 -0
  414. /package/lib/typescript/{src/components → components}/Common/index.d.ts +0 -0
  415. /package/lib/typescript/{src/components → components}/Divider/index.d.ts +0 -0
  416. /package/lib/typescript/{src/components → components}/DynamicOffers/DynamicOffers.d.ts +0 -0
  417. /package/lib/typescript/{src/components → components}/DynamicOffers/DynamicOffersContainer.d.ts +0 -0
  418. /package/lib/typescript/{src/components → components}/DynamicOffers/Render/DynamicOffersRender.d.ts +0 -0
  419. /package/lib/typescript/{src/components → components}/DynamicOffers/Render/FallbackOfferTemplate.d.ts +0 -0
  420. /package/lib/typescript/{src/components → components}/DynamicOffers/Render/Offer.d.ts +0 -0
  421. /package/lib/typescript/{src/components → components}/DynamicOffers/Render/index.d.ts +0 -0
  422. /package/lib/typescript/{src/components → components}/DynamicOffers/SeeAllButton.d.ts +0 -0
  423. /package/lib/typescript/{src/components → components}/ErrorBoundary/index.d.ts +0 -0
  424. /package/lib/typescript/{src/components → components}/Layouts/CreditCardOfferCard/index.d.ts +0 -0
  425. /package/lib/typescript/{src/components → components}/Layouts/CreditCardOfferCard/statsBuilder.d.ts +0 -0
  426. /package/lib/typescript/{src/components → components}/Layouts/DefaultOfferCard/index.d.ts +0 -0
  427. /package/lib/typescript/{src/components → components}/Layouts/DefaultOfferCard/statsBuilder.d.ts +0 -0
  428. /package/lib/typescript/{src/components → components}/Layouts/HeadlineWithDescriptionCard/index.d.ts +0 -0
  429. /package/lib/typescript/{src/components → components}/Layouts/index.d.ts +0 -0
  430. /package/lib/typescript/{src/components → components}/Modal/AllOffersModal.d.ts +0 -0
  431. /package/lib/typescript/{src/components → components}/Modal/DescriptionPoints.d.ts +0 -0
  432. /package/lib/typescript/{src/components → components}/Modal/Disclaimer.d.ts +0 -0
  433. /package/lib/typescript/{src/components → components}/Modal/OfferDetailsModal.d.ts +0 -0
  434. /package/lib/typescript/{src/components → components}/MoneyLionOfferCarousel.d.ts +0 -0
  435. /package/lib/typescript/{src/components → components}/Skeleton/Skeleton.d.ts +0 -0
  436. /package/lib/typescript/{src/components → components}/Skeleton/index.d.ts +0 -0
  437. /package/lib/typescript/{src/components → components}/Text/index.d.ts +0 -0
  438. /package/lib/typescript/{src/components → components}/Touchable/TouchableOpacity.d.ts +0 -0
  439. /package/lib/typescript/{src/components → components}/Touchable/index.d.ts +0 -0
  440. /package/lib/typescript/{src/components → components}/View/index.d.ts +0 -0
  441. /package/lib/typescript/{src/components → components}/utils/errorUtils.d.ts +0 -0
  442. /package/lib/typescript/{src/components → components}/utils/withTestID.d.ts +0 -0
  443. /package/lib/typescript/{src/config → config}/mocks/cnfContext.d.ts +0 -0
  444. /package/lib/typescript/{src/context → context}/ConfigurationProvider.d.ts +0 -0
  445. /package/lib/typescript/{src/context → context}/EventHandlerProvider.d.ts +0 -0
  446. /package/lib/typescript/{src/context → context}/ThemeProvider.d.ts +0 -0
  447. /package/lib/typescript/{src/deps → deps}/configuration.d.ts +0 -0
  448. /package/lib/typescript/{src/pageData.d.ts → pageData.d.ts} +0 -0
  449. /package/lib/typescript/{src/services → services}/getDynamicOffers.d.ts +0 -0
  450. /package/lib/typescript/{src/services → services}/getProductTypes.d.ts +0 -0
  451. /package/lib/typescript/{src/utils → utils}/addClientTagsToOfferLinks.d.ts +0 -0
  452. /package/lib/typescript/{src/utils → utils}/formatOfferUrl.d.ts +0 -0
  453. /package/lib/typescript/{src/utils → utils}/getDefaultProductType.d.ts +0 -0
  454. /package/lib/typescript/{src/utils → utils}/getEnableUseCachedOffers.d.ts +0 -0
  455. /package/lib/typescript/{src/utils → utils}/getThemeColors.d.ts +0 -0
  456. /package/lib/typescript/{src/utils → utils}/index.d.ts +0 -0
  457. /package/lib/typescript/{src/utils → utils}/parseStringProductTypes.d.ts +0 -0
  458. /package/lib/typescript/{src/utils → utils}/resolveProductTypes.d.ts +0 -0
  459. /package/lib/typescript/{src/utils → utils}/sortOffersByRecommendationScore.d.ts +0 -0
package/CHANGELOG.md CHANGED
@@ -1,3 +1,13 @@
1
+ ## 1.10.1 (2026-04-21)
2
+
3
+ - Improved type definitions
4
+
5
+ ## 1.10.0 (2026-04-14)
6
+
7
+ - Updated behavior to return region-specific error codes for users outside the United States
8
+ - Standardized error handling by introducing a consistent error code mapping and deprecating the existing error enum
9
+ - Removed a deprecated dependency to address security vulnerabilities and improve stability
10
+
1
11
  ## 1.9.1 (31 Mar 2026)
2
12
 
3
13
  - Removed `query` and `searchApiToken` props
@@ -3,16 +3,4 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.CnfContext = void 0;
7
- var _effect = require("effect");
8
- var _schemas = require("./schemas");
9
- const CnfContext = exports.CnfContext = _effect.Schema.Struct({
10
- app: _schemas.App,
11
- brand: _schemas.Brand,
12
- configuration: _schemas.Configuration,
13
- request: _schemas.CnfRequest,
14
- signals: _schemas.Signals,
15
- subaccount: _schemas.Subaccount,
16
- isDev: _effect.Schema.Boolean
17
- });
18
6
  //# sourceMappingURL=CnfContext.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["_effect","require","_schemas","CnfContext","exports","Schema","Struct","app","App","brand","Brand","configuration","Configuration","request","CnfRequest","signals","Signals","subaccount","Subaccount","isDev","Boolean"],"sourceRoot":"../../../../../../../src","sources":["capabilities/core/src/system/cnfContext/CnfContext.ts"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AACA,IAAAC,QAAA,GAAAD,OAAA;AASO,MAAME,UAAU,GAAAC,OAAA,CAAAD,UAAA,GAAGE,cAAM,CAACC,MAAM,CAAC;EACvCC,GAAG,EAAEC,YAAG;EACRC,KAAK,EAAEC,cAAK;EACZC,aAAa,EAAEC,sBAAa;EAC5BC,OAAO,EAAEC,mBAAU;EACnBC,OAAO,EAAEC,gBAAO;EAChBC,UAAU,EAAEC,mBAAU;EACtBC,KAAK,EAAEd,cAAM,CAACe;AACf,CAAC,CAAC","ignoreList":[]}
1
+ {"version":3,"names":[],"sourceRoot":"../../../../../../../src","sources":["capabilities/core/src/system/cnfContext/CnfContext.ts"],"mappings":"","ignoreList":[]}
@@ -1,18 +1,2 @@
1
1
  "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.App = void 0;
7
- var _effect = require("effect");
8
- const App = exports.App = _effect.Schema.Struct({
9
- id: _effect.Schema.UUID,
10
- name: _effect.Schema.String,
11
- registry: _effect.Schema.String,
12
- repository: _effect.Schema.String,
13
- syncStatus: _effect.Schema.String,
14
- createdAt: _effect.Schema.String,
15
- updatedAt: _effect.Schema.String,
16
- syncTimestamp: _effect.Schema.String
17
- });
18
2
  //# sourceMappingURL=App.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["_effect","require","App","exports","Schema","Struct","id","UUID","name","String","registry","repository","syncStatus","createdAt","updatedAt","syncTimestamp"],"sourceRoot":"../../../../../../../../src","sources":["capabilities/core/src/system/cnfContext/schemas/App.ts"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAGO,MAAMC,GAAG,GAAAC,OAAA,CAAAD,GAAA,GAAGE,cAAM,CAACC,MAAM,CAAC;EAChCC,EAAE,EAAEF,cAAM,CAACG,IAAI;EACfC,IAAI,EAAEJ,cAAM,CAACK,MAAM;EACnBC,QAAQ,EAAEN,cAAM,CAACK,MAAM;EACvBE,UAAU,EAAEP,cAAM,CAACK,MAAM;EACzBG,UAAU,EAAER,cAAM,CAACK,MAAM;EACzBI,SAAS,EAAET,cAAM,CAACK,MAAM;EACxBK,SAAS,EAAEV,cAAM,CAACK,MAAM;EACxBM,aAAa,EAAEX,cAAM,CAACK;AACvB,CAAC,CAAC","ignoreList":[]}
1
+ {"version":3,"names":[],"sourceRoot":"../../../../../../../../src","sources":["capabilities/core/src/system/cnfContext/schemas/App.ts"],"mappings":"","ignoreList":[]}
@@ -1,122 +1,2 @@
1
1
  "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.Brand = void 0;
7
- var _effect = require("effect");
8
- const ReshapedThemeColorObject = _effect.Schema.Struct({
9
- hex: _effect.Schema.String,
10
- hexDark: _effect.Schema.optional(_effect.Schema.String)
11
- });
12
- const ReshapedThemeColors = _effect.Schema.Struct({
13
- backgroundCritical: ReshapedThemeColorObject,
14
- backgroundCriticalFaded: ReshapedThemeColorObject,
15
- backgroundDisabled: ReshapedThemeColorObject,
16
- backgroundDisabledFaded: ReshapedThemeColorObject,
17
- backgroundElevationBase: ReshapedThemeColorObject,
18
- backgroundElevationOverlay: ReshapedThemeColorObject,
19
- backgroundElevationRaised: ReshapedThemeColorObject,
20
- backgroundNeutral: ReshapedThemeColorObject,
21
- backgroundNeutralFaded: ReshapedThemeColorObject,
22
- backgroundPage: ReshapedThemeColorObject,
23
- backgroundPageFaded: ReshapedThemeColorObject,
24
- backgroundPositive: ReshapedThemeColorObject,
25
- backgroundPositiveFaded: ReshapedThemeColorObject,
26
- backgroundPrimary: ReshapedThemeColorObject,
27
- backgroundPrimaryFaded: ReshapedThemeColorObject,
28
- backgroundWarning: ReshapedThemeColorObject,
29
- backgroundWarningFaded: ReshapedThemeColorObject,
30
- black: ReshapedThemeColorObject,
31
- borderCritical: ReshapedThemeColorObject,
32
- borderCriticalFaded: ReshapedThemeColorObject,
33
- borderDisabled: ReshapedThemeColorObject,
34
- borderNeutral: ReshapedThemeColorObject,
35
- borderNeutralFaded: ReshapedThemeColorObject,
36
- borderPositive: ReshapedThemeColorObject,
37
- borderPositiveFaded: ReshapedThemeColorObject,
38
- borderPrimary: ReshapedThemeColorObject,
39
- borderPrimaryFaded: ReshapedThemeColorObject,
40
- borderWarning: ReshapedThemeColorObject,
41
- borderWarningFaded: ReshapedThemeColorObject,
42
- brand: ReshapedThemeColorObject,
43
- foregroundCritical: ReshapedThemeColorObject,
44
- foregroundDisabled: ReshapedThemeColorObject,
45
- foregroundNeutral: ReshapedThemeColorObject,
46
- foregroundNeutralFaded: ReshapedThemeColorObject,
47
- foregroundPositive: ReshapedThemeColorObject,
48
- foregroundPrimary: ReshapedThemeColorObject,
49
- foregroundWarning: ReshapedThemeColorObject,
50
- white: ReshapedThemeColorObject
51
- });
52
- const Links = _effect.Schema.Struct({
53
- home: _effect.Schema.optional(_effect.Schema.String),
54
- terms: _effect.Schema.optional(_effect.Schema.String),
55
- support: _effect.Schema.optional(_effect.Schema.String),
56
- privacy: _effect.Schema.optional(_effect.Schema.String)
57
- });
58
- const AiInference = _effect.Schema.Struct({
59
- status: _effect.Schema.String,
60
- error: _effect.Schema.optional(_effect.Schema.String)
61
- });
62
- const Media = _effect.Schema.Struct({
63
- id: _effect.Schema.String,
64
- autoCrop: _effect.Schema.Boolean,
65
- prefix: _effect.Schema.optional(_effect.Schema.String),
66
- alt: _effect.Schema.optional(_effect.Schema.String),
67
- url: _effect.Schema.optional(_effect.Schema.String),
68
- filename: _effect.Schema.optional(_effect.Schema.String),
69
- mimeType: _effect.Schema.optional(_effect.Schema.String),
70
- filesize: _effect.Schema.optional(_effect.Schema.Number),
71
- width: _effect.Schema.optional(_effect.Schema.Number),
72
- height: _effect.Schema.optional(_effect.Schema.Number),
73
- createdAt: _effect.Schema.optional(_effect.Schema.String),
74
- updatedAt: _effect.Schema.optional(_effect.Schema.String),
75
- aiInference: _effect.Schema.optional(AiInference)
76
- });
77
- const Logos = _effect.Schema.Struct({
78
- horizontal: _effect.Schema.optional(Media),
79
- icon: _effect.Schema.optional(_effect.Schema.NullOr(Media))
80
- });
81
- const FontFamily = _effect.Schema.Literal("nunito", "lato", "sourceSans3", "openSans", "roboto", "arimo", "montserrat");
82
- const Font = _effect.Schema.Struct({
83
- family: _effect.Schema.optional(FontFamily)
84
- });
85
- const AllowedMarks = _effect.Schema.Struct({
86
- logo: _effect.Schema.Boolean,
87
- name: _effect.Schema.Boolean
88
- });
89
- const CtaRoundness = _effect.Schema.Struct({
90
- small: _effect.Schema.optional(_effect.Schema.Number),
91
- medium: _effect.Schema.optional(_effect.Schema.Number),
92
- large: _effect.Schema.optional(_effect.Schema.Number)
93
- });
94
- const BrandFields = _effect.Schema.Struct({
95
- id: _effect.Schema.String,
96
- domain: _effect.Schema.String,
97
- displayName: _effect.Schema.String,
98
- isLicensed: _effect.Schema.optional(_effect.Schema.Boolean),
99
- hideLicensedLogo: _effect.Schema.optional(_effect.Schema.Boolean),
100
- reshapedThemeColors: ReshapedThemeColors,
101
- links: _effect.Schema.optional(Links),
102
- logos: _effect.Schema.optional(Logos),
103
- font: _effect.Schema.optional(Font),
104
- type: _effect.Schema.optional(_effect.Schema.Literal("business", "product", "individual")),
105
- allowedMarks: AllowedMarks,
106
- ctaRoundness: _effect.Schema.optional(CtaRoundness),
107
- createdAt: _effect.Schema.optional(_effect.Schema.String),
108
- updatedAt: _effect.Schema.optional(_effect.Schema.String)
109
- });
110
- const Brand = exports.Brand = _effect.Schema.suspend(() => {
111
- const withDepth = depth => {
112
- if (depth > 2) {
113
- return BrandFields; // We don't want infinite recursion of licensedBrand field
114
- }
115
- return _effect.Schema.Struct({
116
- ...BrandFields.fields,
117
- licensedBrand: _effect.Schema.optional(_effect.Schema.NullOr(_effect.Schema.suspend(() => withDepth(depth + 1))))
118
- });
119
- };
120
- return withDepth(0); // Start with depth 0
121
- });
122
2
  //# sourceMappingURL=Brand.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["_effect","require","ReshapedThemeColorObject","Schema","Struct","hex","String","hexDark","optional","ReshapedThemeColors","backgroundCritical","backgroundCriticalFaded","backgroundDisabled","backgroundDisabledFaded","backgroundElevationBase","backgroundElevationOverlay","backgroundElevationRaised","backgroundNeutral","backgroundNeutralFaded","backgroundPage","backgroundPageFaded","backgroundPositive","backgroundPositiveFaded","backgroundPrimary","backgroundPrimaryFaded","backgroundWarning","backgroundWarningFaded","black","borderCritical","borderCriticalFaded","borderDisabled","borderNeutral","borderNeutralFaded","borderPositive","borderPositiveFaded","borderPrimary","borderPrimaryFaded","borderWarning","borderWarningFaded","brand","foregroundCritical","foregroundDisabled","foregroundNeutral","foregroundNeutralFaded","foregroundPositive","foregroundPrimary","foregroundWarning","white","Links","home","terms","support","privacy","AiInference","status","error","Media","id","autoCrop","Boolean","prefix","alt","url","filename","mimeType","filesize","Number","width","height","createdAt","updatedAt","aiInference","Logos","horizontal","icon","NullOr","FontFamily","Literal","Font","family","AllowedMarks","logo","name","CtaRoundness","small","medium","large","BrandFields","domain","displayName","isLicensed","hideLicensedLogo","reshapedThemeColors","links","logos","font","type","allowedMarks","ctaRoundness","Brand","exports","suspend","withDepth","depth","fields","licensedBrand"],"sourceRoot":"../../../../../../../../src","sources":["capabilities/core/src/system/cnfContext/schemas/Brand.ts"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAKA,MAAMC,wBAAwB,GAAGC,cAAM,CAACC,MAAM,CAAC;EAC9CC,GAAG,EAAEF,cAAM,CAACG,MAAM;EAClBC,OAAO,EAAEJ,cAAM,CAACK,QAAQ,CAACL,cAAM,CAACG,MAAM;AACvC,CAAC,CAAC;AAKF,MAAMG,mBAAmB,GAAGN,cAAM,CAACC,MAAM,CAAC;EACzCM,kBAAkB,EAAER,wBAAwB;EAC5CS,uBAAuB,EAAET,wBAAwB;EACjDU,kBAAkB,EAAEV,wBAAwB;EAC5CW,uBAAuB,EAAEX,wBAAwB;EACjDY,uBAAuB,EAAEZ,wBAAwB;EACjDa,0BAA0B,EAAEb,wBAAwB;EACpDc,yBAAyB,EAAEd,wBAAwB;EACnDe,iBAAiB,EAAEf,wBAAwB;EAC3CgB,sBAAsB,EAAEhB,wBAAwB;EAChDiB,cAAc,EAAEjB,wBAAwB;EACxCkB,mBAAmB,EAAElB,wBAAw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AAQ,CAACwC,KAAK,CAAC;EAC7B8C,KAAK,EAAE3F,cAAM,CAACK,QAAQ,CAACgE,KAAK,CAAC;EAC7BuB,IAAI,EAAE5F,cAAM,CAACK,QAAQ,CAACsE,IAAI,CAAC;EAC3BkB,IAAI,EAAE7F,cAAM,CAACK,QAAQ,CAACL,cAAM,CAAC0E,OAAO,CAAC,UAAU,EAAE,SAAS,EAAE,YAAY,CAAC,CAAC;EAC1EoB,YAAY,EAAEjB,YAAY;EAC1BkB,YAAY,EAAE/F,cAAM,CAACK,QAAQ,CAAC2E,YAAY,CAAC;EAC3Cd,SAAS,EAAElE,cAAM,CAACK,QAAQ,CAACL,cAAM,CAACG,MAAM,CAAC;EACzCgE,SAAS,EAAEnE,cAAM,CAACK,QAAQ,CAACL,cAAM,CAACG,MAAM;AACzC,CAAC,CAAC;AAMK,MAAM6F,KAAK,GAAAC,OAAA,CAAAD,KAAA,GAAGhG,cAAM,CAACkG,OAAO,CAAC,MAA4B;EAC/D,MAAMC,SAAS,GACdC,KAAa,IAC0C;IACvD,IAAIA,KAAK,GAAG,CAAC,EAAE;MACd,OAAOhB,WAAW,CAAC,CAAC;IACrB;IAEA,OAAOpF,cAAM,CAACC,MAAM,CAAC;MACpB,GAAGmF,WAAW,CAACiB,MAAM;MACrBC,aAAa,EAAEtG,cAAM,CAACK,QAAQ,CAC7BL,cAAM,CAACwE,MAAM,CAACxE,cAAM,CAACkG,OAAO,CAAC,MAAMC,SAAS,CAACC,KAAK,GAAG,CAAC,CAAC,CAAC,CACzD;IACD,CAAC,CAAC;EACH,CAAC;EAED,OAAOD,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC;AACtB,CAAC,CAAC","ignoreList":[]}
1
+ {"version":3,"names":[],"sourceRoot":"../../../../../../../../src","sources":["capabilities/core/src/system/cnfContext/schemas/Brand.ts"],"mappings":"","ignoreList":[]}
@@ -1,41 +1,2 @@
1
1
  "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.DynamicOffersConfigurationSchema = exports.Configuration = void 0;
7
- var _effect = require("effect");
8
- const ProductTypesDefinition = _effect.Schema.Struct({
9
- id: _effect.Schema.String,
10
- partnerPageUrl: _effect.Schema.String,
11
- productTypeSlug: _effect.Schema.String
12
- });
13
- const PartnersOverrideDefinition = _effect.Schema.Struct({
14
- id: _effect.Schema.String,
15
- overrideUrl: _effect.Schema.String,
16
- financialInstitutionUuid: _effect.Schema.String
17
- });
18
- const DynamicOffersConfigurationSchema = exports.DynamicOffersConfigurationSchema = _effect.Schema.Struct({
19
- hideFooter: _effect.Schema.optionalWith(_effect.Schema.Boolean, {
20
- default: () => false
21
- }),
22
- enableUseCachedOffers: _effect.Schema.optionalWith(_effect.Schema.Boolean, {
23
- default: () => false
24
- }),
25
- defaultProductTypeSlug: _effect.Schema.optionalWith(_effect.Schema.String, {
26
- default: () => "EarnedWageAccess"
27
- }),
28
- productTypesDefinition: _effect.Schema.optionalWith(_effect.Schema.Array(ProductTypesDefinition), {
29
- default: () => []
30
- }),
31
- partnersOverrideDefinition: _effect.Schema.optionalWith(_effect.Schema.Array(PartnersOverrideDefinition), {
32
- default: () => []
33
- })
34
- });
35
- const Configuration = exports.Configuration = _effect.Schema.Struct({
36
- app: _effect.Schema.Union(_effect.Schema.String, _effect.Schema.Struct({
37
- name: _effect.Schema.String
38
- })),
39
- configuration: DynamicOffersConfigurationSchema
40
- });
41
2
  //# sourceMappingURL=Configuration.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["_effect","require","ProductTypesDefinition","Schema","Struct","id","String","partnerPageUrl","productTypeSlug","PartnersOverrideDefinition","overrideUrl","financialInstitutionUuid","DynamicOffersConfigurationSchema","exports","hideFooter","optionalWith","Boolean","default","enableUseCachedOffers","defaultProductTypeSlug","productTypesDefinition","Array","partnersOverrideDefinition","Configuration","app","Union","name","configuration"],"sourceRoot":"../../../../../../../../src","sources":["capabilities/core/src/system/cnfContext/schemas/Configuration.ts"],"mappings":";;;;;;AAAA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1CoB,GAAG,EAAErB,cAAM,CAACsB,KAAK,CAChBtB,cAAM,CAACG,MAAM,EACbH,cAAM,CAACC,MAAM,CAAC;IACbsB,IAAI,EAAEvB,cAAM,CAACG;EACd,CAAC,CACF,CAAC;EACDqB,aAAa,EAAEf;AAChB,CAAC,CAAC","ignoreList":[]}
1
+ {"version":3,"names":[],"sourceRoot":"../../../../../../../../src","sources":["capabilities/core/src/system/cnfContext/schemas/Configuration.ts"],"mappings":"","ignoreList":[]}
@@ -1,21 +1,2 @@
1
1
  "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.CnfRequest = void 0;
7
- var _effect = require("effect");
8
- const CnfRequest = exports.CnfRequest = _effect.Schema.Struct({
9
- referer: _effect.Schema.optional(_effect.Schema.String),
10
- channel: _effect.Schema.optional(_effect.Schema.String),
11
- zone: _effect.Schema.optional(_effect.Schema.String),
12
- cnfAppBaseUrl: _effect.Schema.optionalWith(_effect.Schema.String, {
13
- default: () => "http://localhost:3000"
14
- }),
15
- path: _effect.Schema.optional(_effect.Schema.String),
16
- pathname: _effect.Schema.optional(_effect.Schema.String),
17
- query: _effect.Schema.optional(_effect.Schema.String),
18
- searchParams: _effect.Schema.Struct({}),
19
- host: _effect.Schema.optional(_effect.Schema.String)
20
- });
21
2
  //# sourceMappingURL=Request.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["_effect","require","CnfRequest","exports","Schema","Struct","referer","optional","String","channel","zone","cnfAppBaseUrl","optionalWith","default","path","pathname","query","searchParams","host"],"sourceRoot":"../../../../../../../../src","sources":["capabilities/core/src/system/cnfContext/schemas/Request.ts"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAGO,MAAMC,UAAU,GAAAC,OAAA,CAAAD,UAAA,GAAGE,cAAM,CAACC,MAAM,CAAC;EACvCC,OAAO,EAAEF,cAAM,CAACG,QAAQ,CAACH,cAAM,CAACI,MAAM,CAAC;EACvCC,OAAO,EAAEL,cAAM,CAACG,QAAQ,CAACH,cAAM,CAACI,MAAM,CAAC;EACvCE,IAAI,EAAEN,cAAM,CAACG,QAAQ,CAACH,cAAM,CAACI,MAAM,CAAC;EACpCG,aAAa,EAAEP,cAAM,CAACQ,YAAY,CAACR,cAAM,CAACI,MAAM,EAAE;IACjDK,OAAO,EAAEA,CAAA,KAAM;EAChB,CAAC,CAAC;EACFC,IAAI,EAAEV,cAAM,CAACG,QAAQ,CAACH,cAAM,CAACI,MAAM,CAAC;EACpCO,QAAQ,EAAEX,cAAM,CAACG,QAAQ,CAACH,cAAM,CAACI,MAAM,CAAC;EACxCQ,KAAK,EAAEZ,cAAM,CAACG,QAAQ,CAACH,cAAM,CAACI,MAAM,CAAC;EACrCS,YAAY,EAAEb,cAAM,CAACC,MAAM,CAAC,CAAC,CAAC,CAAC;EAC/Ba,IAAI,EAAEd,cAAM,CAACG,QAAQ,CAACH,cAAM,CAACI,MAAM;AACpC,CAAC,CAAC","ignoreList":[]}
1
+ {"version":3,"names":[],"sourceRoot":"../../../../../../../../src","sources":["capabilities/core/src/system/cnfContext/schemas/Request.ts"],"mappings":"","ignoreList":[]}
@@ -1,12 +1,2 @@
1
1
  "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.SessionId = exports.Session = void 0;
7
- var _effect = require("effect");
8
- const SessionId = exports.SessionId = _effect.Schema.UUID.pipe(_effect.Schema.brand("SessionId"));
9
- const Session = exports.Session = _effect.Schema.Struct({
10
- id: SessionId
11
- });
12
2
  //# sourceMappingURL=Session.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["_effect","require","SessionId","exports","Schema","UUID","pipe","brand","Session","Struct","id"],"sourceRoot":"../../../../../../../../src","sources":["capabilities/core/src/system/cnfContext/schemas/Session.ts"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAGO,MAAMC,SAAS,GAAAC,OAAA,CAAAD,SAAA,GAAGE,cAAM,CAACC,IAAI,CAACC,IAAI,CAACF,cAAM,CAACG,KAAK,CAAC,WAAW,CAAC,CAAC;AAG7D,MAAMC,OAAO,GAAAL,OAAA,CAAAK,OAAA,GAAGJ,cAAM,CAACK,MAAM,CAAC;EACpCC,EAAE,EAAER;AACL,CAAC,CAAC","ignoreList":[]}
1
+ {"version":3,"names":[],"sourceRoot":"../../../../../../../../src","sources":["capabilities/core/src/system/cnfContext/schemas/Session.ts"],"mappings":"","ignoreList":[]}
@@ -1,41 +1,2 @@
1
1
  "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.Signals = exports.ReferralSignals = exports.PartnerSignals = exports.LeadUuid = exports.LeadSignals = exports.DeviceId = void 0;
7
- var _effect = require("effect");
8
- const PartnerSignals = exports.PartnerSignals = _effect.Schema.Struct({
9
- clientTags: _effect.Schema.Struct({}, {
10
- key: _effect.Schema.String,
11
- value: _effect.Schema.String
12
- })
13
- });
14
- const DeviceId = exports.DeviceId = _effect.Schema.UUID;
15
- const DeviceSignals = _effect.Schema.Struct({
16
- id: DeviceId,
17
- ipAddress: _effect.Schema.optional(_effect.Schema.String),
18
- os: _effect.Schema.optional(_effect.Schema.String),
19
- isMobile: _effect.Schema.optional(_effect.Schema.Boolean),
20
- country: _effect.Schema.optional(_effect.Schema.String),
21
- state: _effect.Schema.optional(_effect.Schema.Struct({
22
- name: _effect.Schema.optional(_effect.Schema.String),
23
- code: _effect.Schema.optional(_effect.Schema.String)
24
- })),
25
- postalCode: _effect.Schema.String,
26
- city: _effect.Schema.String,
27
- fingerprintId: _effect.Schema.optional(_effect.Schema.String),
28
- userAgent: _effect.Schema.optional(_effect.Schema.String)
29
- });
30
- const LeadUuid = exports.LeadUuid = _effect.Schema.UUID;
31
- const LeadSignals = exports.LeadSignals = _effect.Schema.Struct({
32
- uuid: LeadUuid
33
- });
34
- const ReferralSignals = exports.ReferralSignals = _effect.Schema.Struct({});
35
- const Signals = exports.Signals = _effect.Schema.Struct({
36
- partnerSignals: PartnerSignals,
37
- deviceSignals: DeviceSignals,
38
- lead: LeadSignals,
39
- referral: ReferralSignals
40
- });
41
2
  //# sourceMappingURL=Signals.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["_effect","require","PartnerSignals","exports","Schema","Struct","clientTags","key","String","value","DeviceId","UUID","DeviceSignals","id","ipAddress","optional","os","isMobile","Boolean","country","state","name","code","postalCode","city","fingerprintId","userAgent","LeadUuid","LeadSignals","uuid","ReferralSignals","Signals","partnerSignals","deviceSignals","lead","referral"],"sourceRoot":"../../../../../../../../src","sources":["capabilities/core/src/system/cnfContext/schemas/Signals.ts"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAGO,MAAMC,cAAc,GAAAC,OAAA,CAAAD,cAAA,GAAGE,cAAM,CAACC,MAAM,CAAC;EAC3CC,UAAU,EAAEF,cAAM,CAACC,MAAM,CAAC,CAAC,CAAC,EAAE;IAAEE,GAAG,EAAEH,cAAM,CAACI,MAAM;IAAEC,KAAK,EAAEL,cAAM,CAACI;EAAO,CAAC;AAC3E,CAAC,CAAC;AAGK,MAAME,QAAQ,GAAAP,OAAA,CAAAO,QAAA,GAAGN,cAAM,CAACO,IAAI;AAGnC,MAAMC,aAAa,GAAGR,cAAM,CAACC,MAAM,CAAC;EACnCQ,EAAE,EAAEH,QAAQ;EACZI,SAAS,EAAEV,cAAM,CAACW,QAAQ,CAACX,cAAM,CAACI,MAAM,CAAC;EACzCQ,EAAE,EAAEZ,cAAM,CAACW,QAAQ,CAACX,cAAM,CAACI,MAAM,CAAC;EAClCS,QAAQ,EAAEb,cAAM,CAACW,QAAQ,CAACX,cAAM,CAACc,OAAO,CAAC;EACzCC,OAAO,EAAEf,cAAM,CAACW,QAAQ,CAACX,cAAM,CAACI,MAAM,CAAC;EACvCY,KAAK,EAAEhB,cAAM,CAACW,QAAQ,CACrBX,cAAM,CAACC,MAAM,CAAC;IACbgB,IAAI,EAAEjB,cAAM,CAACW,QAAQ,CAACX,cAAM,CAACI,MAAM,CAAC;IACpCc,IAAI,EAAElB,cAAM,CAACW,QAAQ,CAACX,cAAM,CAACI,MAAM;EACpC,CAAC,CACF,CAAC;EACDe,UAAU,EAAEnB,cAAM,CAACI,MAAM;EACzBgB,IAAI,EAAEpB,cAAM,CAACI,MAAM;EACnBiB,aAAa,EAAErB,cAAM,CAACW,QAAQ,CAACX,cAAM,CAACI,MAAM,CAAC;EAC7CkB,SAAS,EAAEtB,cAAM,CAACW,QAAQ,CAACX,cAAM,CAACI,MAAM;AACzC,CAAC,CAAC;AAGK,MAAMmB,QAAQ,GAAAxB,OAAA,CAAAwB,QAAA,GAAGvB,cAAM,CAACO,IAAI;AAG5B,MAAMiB,WAAW,GAAAzB,OAAA,CAAAyB,WAAA,GAAGxB,cAAM,CAACC,MAAM,CAAC;EACxCwB,IAAI,EAAEF;AACP,CAAC,CAAC;AAGK,MAAMG,eAAe,GAAA3B,OAAA,CAAA2B,eAAA,GAAG1B,cAAM,CAACC,MAAM,CAAC,CAAC,CAAC,CAAC;AAGzC,MAAM0B,OAAO,GAAA5B,OAAA,CAAA4B,OAAA,GAAG3B,cAAM,CAACC,MAAM,CAAC;EACpC2B,cAAc,EAAE9B,cAAc;EAC9B+B,aAAa,EAAErB,aAAa;EAC5BsB,IAAI,EAAEN,WAAW;EACjBO,QAAQ,EAAEL;AACX,CAAC,CAAC","ignoreList":[]}
1
+ {"version":3,"names":[],"sourceRoot":"../../../../../../../../src","sources":["capabilities/core/src/system/cnfContext/schemas/Signals.ts"],"mappings":"","ignoreList":[]}
@@ -1,26 +1,2 @@
1
1
  "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.Subaccount = void 0;
7
- var _effect = require("effect");
8
- const EmptyString = _effect.Schema.Literal("");
9
- const NullOrEmptyString = schema => _effect.Schema.Union(_effect.Schema.Null, EmptyString, schema);
10
- const Tag = _effect.Schema.Struct({
11
- id: _effect.Schema.String,
12
- key: _effect.Schema.String,
13
- value: _effect.Schema.String
14
- });
15
- const Subaccount = exports.Subaccount = _effect.Schema.Struct({
16
- id: _effect.Schema.UUID,
17
- publicToken: _effect.Schema.String,
18
- name: _effect.Schema.String,
19
- companyUuid: _effect.Schema.String,
20
- subaccount: _effect.Schema.NullOr(_effect.Schema.Number),
21
- supplySubaccountUuid: _effect.Schema.UUID.pipe(NullOrEmptyString, _effect.Schema.optional),
22
- tags: _effect.Schema.Array(Tag),
23
- createdAt: _effect.Schema.String,
24
- updatedAt: _effect.Schema.String
25
- });
26
2
  //# sourceMappingURL=Subaccount.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["_effect","require","EmptyString","Schema","Literal","NullOrEmptyString","schema","Union","Null","Tag","Struct","id","String","key","value","Subaccount","exports","UUID","publicToken","name","companyUuid","subaccount","NullOr","Number","supplySubaccountUuid","pipe","optional","tags","Array","createdAt","updatedAt"],"sourceRoot":"../../../../../../../../src","sources":["capabilities/core/src/system/cnfContext/schemas/Subaccount.ts"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAEA,MAAMC,WAAW,GAAGC,cAAM,CAACC,OAAO,CAAC,EAAE,CAAC;AACtC,MAAMC,iBAAiB,GAAiCC,MAAS,IAChEH,cAAM,CAACI,KAAK,CAACJ,cAAM,CAACK,IAAI,EAAEN,WAAW,EAAEI,MAAM,CAAC;AAE/C,MAAMG,GAAG,GAAGN,cAAM,CAACO,MAAM,CAAC;EACzBC,EAAE,EAAER,cAAM,CAACS,MAAM;EACjBC,GAAG,EAAEV,cAAM,CAACS,MAAM;EAClBE,KAAK,EAAEX,cAAM,CAACS;AACf,CAAC,CAAC;AAEK,MAAMG,UAAU,GAAAC,OAAA,CAAAD,UAAA,GAAGZ,cAAM,CAACO,MAAM,CAAC;EACvCC,EAAE,EAAER,cAAM,CAACc,IAAI;EACfC,WAAW,EAAEf,cAAM,CAACS,MAAM;EAC1BO,IAAI,EAAEhB,cAAM,CAACS,MAAM;EACnBQ,WAAW,EAAEjB,cAAM,CAACS,MAAM;EAC1BS,UAAU,EAAElB,cAAM,CAACmB,MAAM,CAACnB,cAAM,CAACoB,MAAM,CAAC;EACxCC,oBAAoB,EAAErB,cAAM,CAACc,IAAI,CAACQ,IAAI,CAACpB,iBAAiB,EAAEF,cAAM,CAACuB,QAAQ,CAAC;EAC1EC,IAAI,EAAExB,cAAM,CAACyB,KAAK,CAACnB,GAAG,CAAC;EACvBoB,SAAS,EAAE1B,cAAM,CAACS,MAAM;EACxBkB,SAAS,EAAE3B,cAAM,CAACS;AACnB,CAAC,CAAC","ignoreList":[]}
1
+ {"version":3,"names":[],"sourceRoot":"../../../../../../../../src","sources":["capabilities/core/src/system/cnfContext/schemas/Subaccount.ts"],"mappings":"","ignoreList":[]}
@@ -3,7 +3,12 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.ErrorCodes = void 0;
6
+ exports.ErrorCodes = exports.ErrorCodeMap = void 0;
7
+ /**
8
+ * @deprecated use ErrorCodeMap instead.
9
+ * TypeScript 5.8 introduced the --erasableSyntaxOnly flag, which treats enums as
10
+ * a compile error. this enum will be removed in a future version.
11
+ */
7
12
  let ErrorCodes = exports.ErrorCodes = /*#__PURE__*/function (ErrorCodes) {
8
13
  // Configuration
9
14
  ErrorCodes["MISSING_CONFIG"] = "MISSING_CONFIG";
@@ -15,6 +20,22 @@ let ErrorCodes = exports.ErrorCodes = /*#__PURE__*/function (ErrorCodes) {
15
20
  ErrorCodes["NETWORK_REQUEST_ERROR"] = "NETWORK_REQUEST_ERROR";
16
21
  ErrorCodes["NETWORK_SERVER_ERROR"] = "NETWORK_SERVER_ERROR";
17
22
  ErrorCodes["NETWORK_OTHER_ERROR"] = "NETWORK_OTHER_ERROR";
23
+ // Geo
24
+ ErrorCodes["NON_US"] = "NON_US";
18
25
  return ErrorCodes;
19
26
  }({});
27
+ const ErrorCodeMap = exports.ErrorCodeMap = {
28
+ // Configuration
29
+ MISSING_CONFIG: "MISSING_CONFIG",
30
+ // UI
31
+ UI_CRASH: "UI_CRASH",
32
+ // Flow
33
+ FLOW_ERROR: "FLOW_ERROR",
34
+ // Network
35
+ NETWORK_REQUEST_ERROR: "NETWORK_REQUEST_ERROR",
36
+ NETWORK_SERVER_ERROR: "NETWORK_SERVER_ERROR",
37
+ NETWORK_OTHER_ERROR: "NETWORK_OTHER_ERROR",
38
+ // Geo
39
+ NON_US: "NON_US"
40
+ };
20
41
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["ErrorCodes","exports"],"sourceRoot":"../../../../../src","sources":["capabilities/errors/types/index.ts"],"mappings":";;;;;;IAAYA,UAAU,GAAAC,OAAA,CAAAD,UAAA,0BAAVA,UAAU;EACrB;EADWA,UAAU;EAIrB;EAJWA,UAAU;EAOrB;EAPWA,UAAU;EAUrB;EAVWA,UAAU;EAAVA,UAAU;EAAVA,UAAU;EAAA,OAAVA,UAAU;AAAA","ignoreList":[]}
1
+ {"version":3,"names":["ErrorCodes","exports","ErrorCodeMap","MISSING_CONFIG","UI_CRASH","FLOW_ERROR","NETWORK_REQUEST_ERROR","NETWORK_SERVER_ERROR","NETWORK_OTHER_ERROR","NON_US"],"sourceRoot":"../../../../../src","sources":["capabilities/errors/types/index.ts"],"mappings":";;;;;;AAAA;AACA;AACA;AACA;AACA;AAJA,IAKYA,UAAU,GAAAC,OAAA,CAAAD,UAAA,0BAAVA,UAAU;EACrB;EADWA,UAAU;EAIrB;EAJWA,UAAU;EAOrB;EAPWA,UAAU;EAUrB;EAVWA,UAAU;EAAVA,UAAU;EAAVA,UAAU;EAerB;EAfWA,UAAU;EAAA,OAAVA,UAAU;AAAA;AAmBf,MAAME,YAAY,GAAAD,OAAA,CAAAC,YAAA,GAAG;EAC3B;EACAC,cAAc,EAAE,gBAAgB;EAEhC;EACAC,QAAQ,EAAE,UAAU;EAEpB;EACAC,UAAU,EAAE,YAAY;EAExB;EACAC,qBAAqB,EAAE,uBAAuB;EAC9CC,oBAAoB,EAAE,sBAAsB;EAC5CC,mBAAmB,EAAE,qBAAqB;EAE1C;EACAC,MAAM,EAAE;AACT,CAAU","ignoreList":[]}
@@ -68,7 +68,7 @@ const getCachedOffersByProductTypes = context => async (productTypes, onError) =
68
68
  context
69
69
  },
70
70
  ...((0, _errorUtils.getApiErrorLogProperties)(error) || {
71
- code: _types.ErrorCodes.FLOW_ERROR,
71
+ code: _types.ErrorCodeMap.FLOW_ERROR,
72
72
  severity: "error"
73
73
  })
74
74
  });
@@ -155,7 +155,7 @@ const getOffersForProductTypes = context => async (productTypes, customClientTag
155
155
  } catch (error) {
156
156
  onError === null || onError === void 0 || onError({
157
157
  message: "Failed to add device signals to payload",
158
- code: _types.ErrorCodes.FLOW_ERROR,
158
+ code: _types.ErrorCodeMap.FLOW_ERROR,
159
159
  severity: "error",
160
160
  error,
161
161
  additionalInfo: {
@@ -232,7 +232,7 @@ const getOffersForProductTypes = context => async (productTypes, customClientTag
232
232
  customClientTags
233
233
  },
234
234
  ...((0, _errorUtils.getApiErrorLogProperties)(error) || {
235
- code: _types.ErrorCodes.FLOW_ERROR,
235
+ code: _types.ErrorCodeMap.FLOW_ERROR,
236
236
  severity: "error"
237
237
  })
238
238
  });
@@ -1 +1 @@
1
- {"version":3,"names":["_radash","require","_contextUtil","_errorUtil","_interopRequireDefault","_withDeviceSignals","_apiEnvironment","_types","_errorUtils","e","__esModule","default","getCachedOffersByProductTypes","context","productTypes","onError","subAccountUuid","getSubAccountUUID","isDev","getIsDevEnvironment","url","URL","getOfferCatalogApiBaseUrl","searchParams","append","join","response","fetch","toString","method","headers","logFormat","status","statusText","ok","errorMessage","errorUtil","getErrorMessageForResponseStatus","console","error","Error","code","offersData","json","isEmpty","offers","getErrorForOffersFromProductTypes","errorCode","message","additionalInfo","getApiErrorLogProperties","ErrorCodes","FLOW_ERROR","severity","isError","leadUuid","uuid","exports","getNewOffersApi","token","payload","body","JSON","stringify","pollOfferCatalogApi","rateTableUuid","MAX_POLLING_ATTEMPTS","POLLING_INTERVAL_MS","getOffersForProductTypes","customClientTags","userData","enablePolling","_body","getSubaccountToken","getLeadUUID","userEmail","email","userInformation","Boolean","fields","clientTags","personalInformation","stateCode","getStateCode","withDeviceSignals","state","pollingAttempt","_body2","pendingResponses","length","Promise","resolve","setTimeout"],"sourceRoot":"../../../../../../src","sources":["capabilities/offer-catalog/src/api/offerCatalogApi.ts"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAEA,IAAAC,YAAA,GAAAD,OAAA;AAOA,IAAAE,UAAA,GAAAC,sBAAA,CAAAH,OAAA;AAEA,IAAAI,kBAAA,GAAAJ,OAAA;AACA,IAAAK,eAAA,GAAAL,OAAA;AAGA,IAAAM,MAAA,GAAAN,OAAA;AAKA,IAAAO,WAAA,GAAAP,OAAA;AAAmF,SAAAG,uBAAAK,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAE5E,MAAMG,6BAA6B,GACxCC,OAAmB,IACpB,OAAOC,YAAsB,EAAEC,OAAiC,KAAK;EACpE;EACA;EACA;;EAEA,IAAI;IACH,MAAMC,cAAc,GAAG,IAAAC,8BAAiB,EAACJ,OAAO,CAAC;IACjD,MAAMK,KAAK,GAAG,IAAAC,gCAAmB,EAACN,OAAO,CAAC;IAE1C,MAAMO,GAAG,GAAG,IAAIC,GAAG,CAClB,GAAG,IAAAC,yCAAyB,EAACJ,KAAK,CAAC,6BACpC,CAAC;IAEDE,GAAG,CAACG,YAAY,CAACC,MAAM,CAAC,aAAa,EAAEV,YAAY,CAACW,IAAI,CAAC,GAAG,CAAC,CAAC;IAC9D,IAAIT,cAAc,EAAE;MACnBI,GAAG,CAACG,YAAY,CAACC,MAAM,CAAC,aAAa,EAAER,cAAc,CAAC;IACvD;;IAEA;IACA,MAAMU,QAAQ,GAAG,MAAMC,KAAK,CAACP,GAAG,CAACQ,QAAQ,CAAC,CAAC,EAAE;MAC5CC,MAAM,EAAE,KAAK;M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AU;QAC3BC,QAAQ,EAAE;MACX,CAAC;IACF,CAAC,CAAC;IAEF,OAAO;MACNN,SAAS,EAAGR,KAAK,CAAcE,IAAI;MACnCa,OAAO,EAAE,IAAI;MACbC,QAAQ,EAAE,EAAE;MACZV,MAAM,EAAE,EAAE;MACVW,IAAI,EAAE;IACP,CAAC;EACF;AACD,CAAC;AAACC,OAAA,CAAAW,wBAAA,GAAAA,wBAAA","ignoreList":[]}
1
+ {"version":3,"names":["_radash","require","_contextUtil","_errorUtil","_interopRequireDefault","_withDeviceSignals","_apiEnvironment","_types","_errorUtils","e","__esModule","default","getCachedOffersByProductTypes","context","productTypes","onError","subAccountUuid","getSubAccountUUID","isDev","getIsDevEnvironment","url","URL","getOfferCatalogApiBaseUrl","searchParams","append","join","response","fetch","toString","method","headers","logFormat","status","statusText","ok","errorMessage","errorUtil","getErrorMessageForResponseStatus","console","error","Error","code","offersData","json","isEmpty","offers","getErrorForOffersFromProductTypes","errorCode","message","additionalInfo","getApiErrorLogProperties","ErrorCodeMap","FLOW_ERROR","severity","isError","leadUuid","uuid","exports","getNewOffersApi","token","payload","body","JSON","stringify","pollOfferCatalogApi","rateTableUuid","MAX_POLLING_ATTEMPTS","POLLING_INTERVAL_MS","getOffersForProductTypes","customClientTags","userData","enablePolling","_body","getSubaccountToken","getLeadUUID","userEmail","email","userInformation","Boolean","fields","clientTags","personalInformation","stateCode","getStateCode","withDeviceSignals","state","pollingAttempt","_body2","pendingResponses","length","Promise","resolve","setTimeout"],"sourceRoot":"../../../../../../src","sources":["capabilities/offer-catalog/src/api/offerCatalogApi.ts"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAEA,IAAAC,YAAA,GAAAD,OAAA;AAOA,IAAAE,UAAA,GAAAC,sBAAA,CAAAH,OAAA;AAEA,IAAAI,kBAAA,GAAAJ,OAAA;AACA,IAAAK,eAAA,GAAAL,OAAA;AAGA,IAAAM,MAAA,GAAAN,OAAA;AAKA,IAAAO,WAAA,G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U,CAACG,MAAM,CAAC,EAAE;MAC/B,MAAMV,YAAY,GACjBC,kBAAS,CAACU,iCAAiC,CAAC,WAAW,CAAC;MACzDR,OAAO,CAACC,KAAK,CAACR,SAAS,EAAEI,YAAY,CAAC;MAEtC,MAAMI,KAAK,GAAG,IAAIC,KAAK,CAACL,YAAY,CAAa;MACjDI,KAAK,CAACE,IAAI,GAAGf,QAAQ,CAACM,MAAM;MAC5B,MAAMO,KAAK;IACZ;IAEA,OAAO;MAAE,GAAGG,UAAU;MAAEK,SAAS,EAAErB,QAAQ,CAACM;IAAO,CAAC;EACrD,CAAC,CAAC,OAAOO,KAAK,EAAE;IACf,MAAMJ,YAAY,GACjBC,kBAAS,CAACU,iCAAiC,CAAC,SAAS,CAAC;IACvDR,OAAO,CAACC,KAAK,CAACA,KAAK,EAAEJ,YAAY,CAAC;IAElCpB,OAAO,aAAPA,OAAO,eAAPA,OAAO,CAAG;MACTiC,OAAO,EAAE,0CAA0C;MACnDT,KAAK;MACLU,cAAc,EAAE;QACfpC,OAAO;QACPC,YAAY;QACZuD;MACD,CAAC;MACD,IAAI,IAAAnB,oCAAwB,EAACX,KAAK,CAAC,IAAI;QACtCE,IAAI,EAAEU,mBAAY,CAACC,UAAU;QAC7BC,QAAQ,EAAE;MACX,CAAC;IACF,CAAC,CAAC;IAEF,OAAO;MACNN,SAAS,EAAGR,KAAK,CAAcE,IAAI;MACnCa,OAAO,EAAE,IAAI;MACbC,QAAQ,EAAE,EAAE;MACZV,MAAM,EAAE,EAAE;MACVW,IAAI,EAAE;IACP,CAAC;EACF;AACD,CAAC;AAACC,OAAA,CAAAW,wBAAA,GAAAA,wBAAA","ignoreList":[]}
@@ -54,7 +54,7 @@ const getConfiguration = async ({
54
54
  isDev
55
55
  },
56
56
  ...((0, _errorUtils.getApiErrorLogProperties)(error) || {
57
- code: _types.ErrorCodes.FLOW_ERROR,
57
+ code: _types.ErrorCodeMap.FLOW_ERROR,
58
58
  severity: "error"
59
59
  })
60
60
  });
@@ -143,7 +143,7 @@ const InternalMoneyLionOfferCarousel = props => {
143
143
  isDev
144
144
  },
145
145
  ...((0, _errorUtils.getApiErrorLogProperties)(errorObj) || {
146
- code: _types.ErrorCodes.FLOW_ERROR,
146
+ code: _types.ErrorCodeMap.FLOW_ERROR,
147
147
  severity: "error"
148
148
  })
149
149
  });
@@ -173,7 +173,7 @@ const InternalMoneyLionOfferCarousel = props => {
173
173
  if (!zone) missingParams.push("zone");
174
174
  if (!subAccountToken) missingParams.push("subAccountToken");
175
175
  onError === null || onError === void 0 || onError({
176
- code: _types.ErrorCodes.MISSING_CONFIG,
176
+ code: _types.ErrorCodeMap.MISSING_CONFIG,
177
177
  message: `Missing required parameters: ${missingParams.join(", ")}`,
178
178
  severity: "error"
179
179
  });
@@ -185,6 +185,14 @@ const InternalMoneyLionOfferCarousel = props => {
185
185
  // Should only fetch data if context is done fetching
186
186
  if (context && !isFetchingConfig) {
187
187
  if (isNonUSCountry) {
188
+ onError === null || onError === void 0 || onError({
189
+ code: _types.ErrorCodeMap.NON_US,
190
+ severity: "warning",
191
+ message: "This service is not available in your country",
192
+ additionalInfo: {
193
+ country
194
+ }
195
+ });
188
196
  setIsFetchingData(false);
189
197
  return;
190
198
  }
@@ -218,7 +226,7 @@ const InternalMoneyLionOfferCarousel = props => {
218
226
  pageDataParams: getPageDataParams
219
227
  },
220
228
  ...((0, _errorUtils.getApiErrorLogProperties)(errorObj) || {
221
- code: _types.ErrorCodes.FLOW_ERROR,
229
+ code: _types.ErrorCodeMap.FLOW_ERROR,
222
230
  severity: "error"
223
231
  })
224
232
  });
@@ -307,7 +315,7 @@ const MoneyLionOfferCarousel = props => {
307
315
  }, [_onError]);
308
316
  const logErrorBoundary = (0, _react.useCallback)(error => {
309
317
  onError === null || onError === void 0 || onError({
310
- code: _types.ErrorCodes.UI_CRASH,
318
+ code: _types.ErrorCodeMap.UI_CRASH,
311
319
  severity: "error",
312
320
  message: "Error boundary crash",
313
321
  error,