@moneylion/react-native-offer-carousel 1.0.0

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 (598) hide show
  1. package/README.md +1 -0
  2. package/lib/commonjs/apiEnvironment.js +24 -0
  3. package/lib/commonjs/apiEnvironment.js.map +1 -0
  4. package/lib/commonjs/components/Button/index.js +119 -0
  5. package/lib/commonjs/components/Button/index.js.map +1 -0
  6. package/lib/commonjs/components/Cards/VideosCard/VideoContent.js +40 -0
  7. package/lib/commonjs/components/Cards/VideosCard/VideoContent.js.map +1 -0
  8. package/lib/commonjs/components/Cards/VideosCard/VideosCard.js +56 -0
  9. package/lib/commonjs/components/Cards/VideosCard/VideosCard.js.map +1 -0
  10. package/lib/commonjs/components/Cards/index.js +3 -0
  11. package/lib/commonjs/components/Cards/index.js.map +1 -0
  12. package/lib/commonjs/components/Common/BaseOfferCard/Content/Content.js +20 -0
  13. package/lib/commonjs/components/Common/BaseOfferCard/Content/Content.js.map +1 -0
  14. package/lib/commonjs/components/Common/BaseOfferCard/Content/index.js +17 -0
  15. package/lib/commonjs/components/Common/BaseOfferCard/Content/index.js.map +1 -0
  16. package/lib/commonjs/components/Common/BaseOfferCard/Stat/Stat.js +83 -0
  17. package/lib/commonjs/components/Common/BaseOfferCard/Stat/Stat.js.map +1 -0
  18. package/lib/commonjs/components/Common/BaseOfferCard/Stat/index.js +17 -0
  19. package/lib/commonjs/components/Common/BaseOfferCard/Stat/index.js.map +1 -0
  20. package/lib/commonjs/components/Common/BaseOfferCard/StatsContainer/StatsContainer.js +18 -0
  21. package/lib/commonjs/components/Common/BaseOfferCard/StatsContainer/StatsContainer.js.map +1 -0
  22. package/lib/commonjs/components/Common/BaseOfferCard/StatsContainer/index.js +17 -0
  23. package/lib/commonjs/components/Common/BaseOfferCard/StatsContainer/index.js.map +1 -0
  24. package/lib/commonjs/components/Common/BaseOfferCard/ThumbsUpIcon.js +29 -0
  25. package/lib/commonjs/components/Common/BaseOfferCard/ThumbsUpIcon.js.map +1 -0
  26. package/lib/commonjs/components/Common/BaseOfferCard/index.js +254 -0
  27. package/lib/commonjs/components/Common/BaseOfferCard/index.js.map +1 -0
  28. package/lib/commonjs/components/Common/DynamicOfferCard/CallToAction.js +45 -0
  29. package/lib/commonjs/components/Common/DynamicOfferCard/CallToAction.js.map +1 -0
  30. package/lib/commonjs/components/Common/DynamicOfferCard/SeeMore.js +72 -0
  31. package/lib/commonjs/components/Common/DynamicOfferCard/SeeMore.js.map +1 -0
  32. package/lib/commonjs/components/Common/DynamicOfferCard/index.js +37 -0
  33. package/lib/commonjs/components/Common/DynamicOfferCard/index.js.map +1 -0
  34. package/lib/commonjs/components/Common/index.js +27 -0
  35. package/lib/commonjs/components/Common/index.js.map +1 -0
  36. package/lib/commonjs/components/Divider/index.js +39 -0
  37. package/lib/commonjs/components/Divider/index.js.map +1 -0
  38. package/lib/commonjs/components/DynamicOffers/DynamicOffers.js +32 -0
  39. package/lib/commonjs/components/DynamicOffers/DynamicOffers.js.map +1 -0
  40. package/lib/commonjs/components/DynamicOffers/DynamicOffersContainer.js +49 -0
  41. package/lib/commonjs/components/DynamicOffers/DynamicOffersContainer.js.map +1 -0
  42. package/lib/commonjs/components/DynamicOffers/Render/DynamicOffersRender.js +205 -0
  43. package/lib/commonjs/components/DynamicOffers/Render/DynamicOffersRender.js.map +1 -0
  44. package/lib/commonjs/components/DynamicOffers/Render/FallbackOfferTemplate.js +28 -0
  45. package/lib/commonjs/components/DynamicOffers/Render/FallbackOfferTemplate.js.map +1 -0
  46. package/lib/commonjs/components/DynamicOffers/Render/Offer.js +70 -0
  47. package/lib/commonjs/components/DynamicOffers/Render/Offer.js.map +1 -0
  48. package/lib/commonjs/components/DynamicOffers/Render/index.js +20 -0
  49. package/lib/commonjs/components/DynamicOffers/Render/index.js.map +1 -0
  50. package/lib/commonjs/components/Layouts/CreditCardOfferCard/index.js +65 -0
  51. package/lib/commonjs/components/Layouts/CreditCardOfferCard/index.js.map +1 -0
  52. package/lib/commonjs/components/Layouts/CreditCardOfferCard/statsBuilder.js +15 -0
  53. package/lib/commonjs/components/Layouts/CreditCardOfferCard/statsBuilder.js.map +1 -0
  54. package/lib/commonjs/components/Layouts/DefaultOfferCard/index.js +53 -0
  55. package/lib/commonjs/components/Layouts/DefaultOfferCard/index.js.map +1 -0
  56. package/lib/commonjs/components/Layouts/DefaultOfferCard/statsBuilder.js +17 -0
  57. package/lib/commonjs/components/Layouts/DefaultOfferCard/statsBuilder.js.map +1 -0
  58. package/lib/commonjs/components/Layouts/HeadlineWithDescriptionCard/index.js +47 -0
  59. package/lib/commonjs/components/Layouts/HeadlineWithDescriptionCard/index.js.map +1 -0
  60. package/lib/commonjs/components/Layouts/index.js +27 -0
  61. package/lib/commonjs/components/Layouts/index.js.map +1 -0
  62. package/lib/commonjs/components/Modal/DescriptionPoints.js +28 -0
  63. package/lib/commonjs/components/Modal/DescriptionPoints.js.map +1 -0
  64. package/lib/commonjs/components/Modal/Disclaimer.js +27 -0
  65. package/lib/commonjs/components/Modal/Disclaimer.js.map +1 -0
  66. package/lib/commonjs/components/Modal/OfferDetailsModal.js +95 -0
  67. package/lib/commonjs/components/Modal/OfferDetailsModal.js.map +1 -0
  68. package/lib/commonjs/components/MoneyLionOfferCarousel.js +174 -0
  69. package/lib/commonjs/components/MoneyLionOfferCarousel.js.map +1 -0
  70. package/lib/commonjs/components/Skeleton/Skeleton.js +65 -0
  71. package/lib/commonjs/components/Skeleton/Skeleton.js.map +1 -0
  72. package/lib/commonjs/components/Skeleton/index.js +10 -0
  73. package/lib/commonjs/components/Skeleton/index.js.map +1 -0
  74. package/lib/commonjs/components/Text/index.js +184 -0
  75. package/lib/commonjs/components/Text/index.js.map +1 -0
  76. package/lib/commonjs/components/View/index.js +162 -0
  77. package/lib/commonjs/components/View/index.js.map +1 -0
  78. package/lib/commonjs/context/CNFProvider.js +2 -0
  79. package/lib/commonjs/context/CNFProvider.js.map +1 -0
  80. package/lib/commonjs/context/EventHandlerProvider.js +25 -0
  81. package/lib/commonjs/context/EventHandlerProvider.js.map +1 -0
  82. package/lib/commonjs/context/ThemeProvider.js +59 -0
  83. package/lib/commonjs/context/ThemeProvider.js.map +1 -0
  84. package/lib/commonjs/deps/configuration.js +2 -0
  85. package/lib/commonjs/deps/configuration.js.map +1 -0
  86. package/lib/commonjs/index.js +17 -0
  87. package/lib/commonjs/index.js.map +1 -0
  88. package/lib/commonjs/pageData.js +93 -0
  89. package/lib/commonjs/pageData.js.map +1 -0
  90. package/lib/commonjs/services/getDynamicOffers.js +55 -0
  91. package/lib/commonjs/services/getDynamicOffers.js.map +1 -0
  92. package/lib/commonjs/services/getProductTypes.js +50 -0
  93. package/lib/commonjs/services/getProductTypes.js.map +1 -0
  94. package/lib/commonjs/services/getProductTypesByQuery.js +55 -0
  95. package/lib/commonjs/services/getProductTypesByQuery.js.map +1 -0
  96. package/lib/commonjs/utils/addClientTagsToOfferLinks.js +25 -0
  97. package/lib/commonjs/utils/addClientTagsToOfferLinks.js.map +1 -0
  98. package/lib/commonjs/utils/formatOfferUrl.js +31 -0
  99. package/lib/commonjs/utils/formatOfferUrl.js.map +1 -0
  100. package/lib/commonjs/utils/getDefaultPaletteColor.js +20 -0
  101. package/lib/commonjs/utils/getDefaultPaletteColor.js.map +1 -0
  102. package/lib/commonjs/utils/getDefaultProductType.js +9 -0
  103. package/lib/commonjs/utils/getDefaultProductType.js.map +1 -0
  104. package/lib/commonjs/utils/getEnableUseCachedOffers.js +21 -0
  105. package/lib/commonjs/utils/getEnableUseCachedOffers.js.map +1 -0
  106. package/lib/commonjs/utils/getOffersBasedOnLayout.js +48 -0
  107. package/lib/commonjs/utils/getOffersBasedOnLayout.js.map +1 -0
  108. package/lib/commonjs/utils/getOffersByProductTypes.js +31 -0
  109. package/lib/commonjs/utils/getOffersByProductTypes.js.map +1 -0
  110. package/lib/commonjs/utils/getProductTypesDefinition.js +17 -0
  111. package/lib/commonjs/utils/getProductTypesDefinition.js.map +1 -0
  112. package/lib/commonjs/utils/index.js +116 -0
  113. package/lib/commonjs/utils/index.js.map +1 -0
  114. package/lib/commonjs/utils/layouts.js +27 -0
  115. package/lib/commonjs/utils/layouts.js.map +1 -0
  116. package/lib/commonjs/utils/parseStringProductTypes.js +14 -0
  117. package/lib/commonjs/utils/parseStringProductTypes.js.map +1 -0
  118. package/lib/commonjs/utils/resolveProductTypes.js +12 -0
  119. package/lib/commonjs/utils/resolveProductTypes.js.map +1 -0
  120. package/lib/commonjs/utils/selectDynamicOffers.js +13 -0
  121. package/lib/commonjs/utils/selectDynamicOffers.js.map +1 -0
  122. package/lib/commonjs/utils/sortOffersByRecommendationScore.js +12 -0
  123. package/lib/commonjs/utils/sortOffersByRecommendationScore.js.map +1 -0
  124. package/lib/commonjs/version.js +10 -0
  125. package/lib/commonjs/version.js.map +1 -0
  126. package/lib/module/apiEnvironment.js +15 -0
  127. package/lib/module/apiEnvironment.js.map +1 -0
  128. package/lib/module/components/Button/index.js +111 -0
  129. package/lib/module/components/Button/index.js.map +1 -0
  130. package/lib/module/components/Cards/VideosCard/VideoContent.js +32 -0
  131. package/lib/module/components/Cards/VideosCard/VideoContent.js.map +1 -0
  132. package/lib/module/components/Cards/VideosCard/VideosCard.js +55 -0
  133. package/lib/module/components/Cards/VideosCard/VideosCard.js.map +1 -0
  134. package/lib/module/components/Cards/index.js +2 -0
  135. package/lib/module/components/Cards/index.js.map +1 -0
  136. package/lib/module/components/Common/BaseOfferCard/Content/Content.js +13 -0
  137. package/lib/module/components/Common/BaseOfferCard/Content/Content.js.map +1 -0
  138. package/lib/module/components/Common/BaseOfferCard/Content/index.js +2 -0
  139. package/lib/module/components/Common/BaseOfferCard/Content/index.js.map +1 -0
  140. package/lib/module/components/Common/BaseOfferCard/Stat/Stat.js +76 -0
  141. package/lib/module/components/Common/BaseOfferCard/Stat/Stat.js.map +1 -0
  142. package/lib/module/components/Common/BaseOfferCard/Stat/index.js +2 -0
  143. package/lib/module/components/Common/BaseOfferCard/Stat/index.js.map +1 -0
  144. package/lib/module/components/Common/BaseOfferCard/StatsContainer/StatsContainer.js +10 -0
  145. package/lib/module/components/Common/BaseOfferCard/StatsContainer/StatsContainer.js.map +1 -0
  146. package/lib/module/components/Common/BaseOfferCard/StatsContainer/index.js +2 -0
  147. package/lib/module/components/Common/BaseOfferCard/StatsContainer/index.js.map +1 -0
  148. package/lib/module/components/Common/BaseOfferCard/ThumbsUpIcon.js +21 -0
  149. package/lib/module/components/Common/BaseOfferCard/ThumbsUpIcon.js.map +1 -0
  150. package/lib/module/components/Common/BaseOfferCard/index.js +248 -0
  151. package/lib/module/components/Common/BaseOfferCard/index.js.map +1 -0
  152. package/lib/module/components/Common/DynamicOfferCard/CallToAction.js +37 -0
  153. package/lib/module/components/Common/DynamicOfferCard/CallToAction.js.map +1 -0
  154. package/lib/module/components/Common/DynamicOfferCard/SeeMore.js +62 -0
  155. package/lib/module/components/Common/DynamicOfferCard/SeeMore.js.map +1 -0
  156. package/lib/module/components/Common/DynamicOfferCard/index.js +31 -0
  157. package/lib/module/components/Common/DynamicOfferCard/index.js.map +1 -0
  158. package/lib/module/components/Common/index.js +4 -0
  159. package/lib/module/components/Common/index.js.map +1 -0
  160. package/lib/module/components/Divider/index.js +33 -0
  161. package/lib/module/components/Divider/index.js.map +1 -0
  162. package/lib/module/components/DynamicOffers/DynamicOffers.js +24 -0
  163. package/lib/module/components/DynamicOffers/DynamicOffers.js.map +1 -0
  164. package/lib/module/components/DynamicOffers/DynamicOffersContainer.js +40 -0
  165. package/lib/module/components/DynamicOffers/DynamicOffersContainer.js.map +1 -0
  166. package/lib/module/components/DynamicOffers/Render/DynamicOffersRender.js +196 -0
  167. package/lib/module/components/DynamicOffers/Render/DynamicOffersRender.js.map +1 -0
  168. package/lib/module/components/DynamicOffers/Render/FallbackOfferTemplate.js +21 -0
  169. package/lib/module/components/DynamicOffers/Render/FallbackOfferTemplate.js.map +1 -0
  170. package/lib/module/components/DynamicOffers/Render/Offer.js +61 -0
  171. package/lib/module/components/DynamicOffers/Render/Offer.js.map +1 -0
  172. package/lib/module/components/DynamicOffers/Render/index.js +3 -0
  173. package/lib/module/components/DynamicOffers/Render/index.js.map +1 -0
  174. package/lib/module/components/Layouts/CreditCardOfferCard/index.js +57 -0
  175. package/lib/module/components/Layouts/CreditCardOfferCard/index.js.map +1 -0
  176. package/lib/module/components/Layouts/CreditCardOfferCard/statsBuilder.js +8 -0
  177. package/lib/module/components/Layouts/CreditCardOfferCard/statsBuilder.js.map +1 -0
  178. package/lib/module/components/Layouts/DefaultOfferCard/index.js +45 -0
  179. package/lib/module/components/Layouts/DefaultOfferCard/index.js.map +1 -0
  180. package/lib/module/components/Layouts/DefaultOfferCard/statsBuilder.js +10 -0
  181. package/lib/module/components/Layouts/DefaultOfferCard/statsBuilder.js.map +1 -0
  182. package/lib/module/components/Layouts/HeadlineWithDescriptionCard/index.js +39 -0
  183. package/lib/module/components/Layouts/HeadlineWithDescriptionCard/index.js.map +1 -0
  184. package/lib/module/components/Layouts/index.js +4 -0
  185. package/lib/module/components/Layouts/index.js.map +1 -0
  186. package/lib/module/components/Modal/DescriptionPoints.js +21 -0
  187. package/lib/module/components/Modal/DescriptionPoints.js.map +1 -0
  188. package/lib/module/components/Modal/Disclaimer.js +20 -0
  189. package/lib/module/components/Modal/Disclaimer.js.map +1 -0
  190. package/lib/module/components/Modal/OfferDetailsModal.js +87 -0
  191. package/lib/module/components/Modal/OfferDetailsModal.js.map +1 -0
  192. package/lib/module/components/MoneyLionOfferCarousel.js +165 -0
  193. package/lib/module/components/MoneyLionOfferCarousel.js.map +1 -0
  194. package/lib/module/components/Skeleton/Skeleton.js +57 -0
  195. package/lib/module/components/Skeleton/Skeleton.js.map +1 -0
  196. package/lib/module/components/Skeleton/index.js +3 -0
  197. package/lib/module/components/Skeleton/index.js.map +1 -0
  198. package/lib/module/components/Text/index.js +179 -0
  199. package/lib/module/components/Text/index.js.map +1 -0
  200. package/lib/module/components/View/index.js +155 -0
  201. package/lib/module/components/View/index.js.map +1 -0
  202. package/lib/module/context/CNFProvider.js +2 -0
  203. package/lib/module/context/CNFProvider.js.map +1 -0
  204. package/lib/module/context/EventHandlerProvider.js +15 -0
  205. package/lib/module/context/EventHandlerProvider.js.map +1 -0
  206. package/lib/module/context/ThemeProvider.js +49 -0
  207. package/lib/module/context/ThemeProvider.js.map +1 -0
  208. package/lib/module/deps/configuration.js +2 -0
  209. package/lib/module/deps/configuration.js.map +1 -0
  210. package/lib/module/index.js +2 -0
  211. package/lib/module/index.js.map +1 -0
  212. package/lib/module/pageData.js +86 -0
  213. package/lib/module/pageData.js.map +1 -0
  214. package/lib/module/services/getDynamicOffers.js +48 -0
  215. package/lib/module/services/getDynamicOffers.js.map +1 -0
  216. package/lib/module/services/getProductTypes.js +43 -0
  217. package/lib/module/services/getProductTypes.js.map +1 -0
  218. package/lib/module/services/getProductTypesByQuery.js +48 -0
  219. package/lib/module/services/getProductTypesByQuery.js.map +1 -0
  220. package/lib/module/utils/addClientTagsToOfferLinks.js +18 -0
  221. package/lib/module/utils/addClientTagsToOfferLinks.js.map +1 -0
  222. package/lib/module/utils/formatOfferUrl.js +25 -0
  223. package/lib/module/utils/formatOfferUrl.js.map +1 -0
  224. package/lib/module/utils/getDefaultPaletteColor.js +13 -0
  225. package/lib/module/utils/getDefaultPaletteColor.js.map +1 -0
  226. package/lib/module/utils/getDefaultProductType.js +2 -0
  227. package/lib/module/utils/getDefaultProductType.js.map +1 -0
  228. package/lib/module/utils/getEnableUseCachedOffers.js +14 -0
  229. package/lib/module/utils/getEnableUseCachedOffers.js.map +1 -0
  230. package/lib/module/utils/getOffersBasedOnLayout.js +39 -0
  231. package/lib/module/utils/getOffersBasedOnLayout.js.map +1 -0
  232. package/lib/module/utils/getOffersByProductTypes.js +24 -0
  233. package/lib/module/utils/getOffersByProductTypes.js.map +1 -0
  234. package/lib/module/utils/getProductTypesDefinition.js +10 -0
  235. package/lib/module/utils/getProductTypesDefinition.js.map +1 -0
  236. package/lib/module/utils/index.js +11 -0
  237. package/lib/module/utils/index.js.map +1 -0
  238. package/lib/module/utils/layouts.js +20 -0
  239. package/lib/module/utils/layouts.js.map +1 -0
  240. package/lib/module/utils/parseStringProductTypes.js +7 -0
  241. package/lib/module/utils/parseStringProductTypes.js.map +1 -0
  242. package/lib/module/utils/resolveProductTypes.js +5 -0
  243. package/lib/module/utils/resolveProductTypes.js.map +1 -0
  244. package/lib/module/utils/selectDynamicOffers.js +6 -0
  245. package/lib/module/utils/selectDynamicOffers.js.map +1 -0
  246. package/lib/module/utils/sortOffersByRecommendationScore.js +5 -0
  247. package/lib/module/utils/sortOffersByRecommendationScore.js.map +1 -0
  248. package/lib/module/version.js +3 -0
  249. package/lib/module/version.js.map +1 -0
  250. package/lib/typescript/builder/builder.d.ts +24 -0
  251. package/lib/typescript/builder/builder.d.ts.map +1 -0
  252. package/lib/typescript/builder/config/types.d.ts +89 -0
  253. package/lib/typescript/builder/config/types.d.ts.map +1 -0
  254. package/lib/typescript/builder/index.d.ts +3 -0
  255. package/lib/typescript/builder/index.d.ts.map +1 -0
  256. package/lib/typescript/capabilities/configuration/src/brands/checkVisualEligibility.d.ts +12 -0
  257. package/lib/typescript/capabilities/configuration/src/brands/checkVisualEligibility.d.ts.map +1 -0
  258. package/lib/typescript/capabilities/configuration/src/brands/createDerivedBrands.d.ts +9 -0
  259. package/lib/typescript/capabilities/configuration/src/brands/createDerivedBrands.d.ts.map +1 -0
  260. package/lib/typescript/capabilities/configuration/src/brands/index.d.ts +3 -0
  261. package/lib/typescript/capabilities/configuration/src/brands/index.d.ts.map +1 -0
  262. package/lib/typescript/capabilities/configuration/src/brands/types.d.ts +4 -0
  263. package/lib/typescript/capabilities/configuration/src/brands/types.d.ts.map +1 -0
  264. package/lib/typescript/capabilities/core/src/domain/third-party-search/index.d.ts +2 -0
  265. package/lib/typescript/capabilities/core/src/domain/third-party-search/index.d.ts.map +1 -0
  266. package/lib/typescript/capabilities/core/src/domain/third-party-search/orderProductTypesByRankUtils.d.ts +19 -0
  267. package/lib/typescript/capabilities/core/src/domain/third-party-search/orderProductTypesByRankUtils.d.ts.map +1 -0
  268. package/lib/typescript/capabilities/core/src/index.d.ts +2 -0
  269. package/lib/typescript/capabilities/core/src/index.d.ts.map +1 -0
  270. package/lib/typescript/capabilities/core/src/system/cnfContext/CnfContext.d.ts +103 -0
  271. package/lib/typescript/capabilities/core/src/system/cnfContext/CnfContext.d.ts.map +1 -0
  272. package/lib/typescript/capabilities/core/src/system/cnfContext/schemas/App.d.ts +13 -0
  273. package/lib/typescript/capabilities/core/src/system/cnfContext/schemas/App.d.ts.map +1 -0
  274. package/lib/typescript/capabilities/core/src/system/cnfContext/schemas/Brand.d.ts +180 -0
  275. package/lib/typescript/capabilities/core/src/system/cnfContext/schemas/Brand.d.ts.map +1 -0
  276. package/lib/typescript/capabilities/core/src/system/cnfContext/schemas/Configuration.d.ts +59 -0
  277. package/lib/typescript/capabilities/core/src/system/cnfContext/schemas/Configuration.d.ts.map +1 -0
  278. package/lib/typescript/capabilities/core/src/system/cnfContext/schemas/Request.d.ts +16 -0
  279. package/lib/typescript/capabilities/core/src/system/cnfContext/schemas/Request.d.ts.map +1 -0
  280. package/lib/typescript/capabilities/core/src/system/cnfContext/schemas/Session.d.ts +8 -0
  281. package/lib/typescript/capabilities/core/src/system/cnfContext/schemas/Session.d.ts.map +1 -0
  282. package/lib/typescript/capabilities/core/src/system/cnfContext/schemas/Signals.d.ts +64 -0
  283. package/lib/typescript/capabilities/core/src/system/cnfContext/schemas/Signals.d.ts.map +1 -0
  284. package/lib/typescript/capabilities/core/src/system/cnfContext/schemas/Subaccount.d.ts +18 -0
  285. package/lib/typescript/capabilities/core/src/system/cnfContext/schemas/Subaccount.d.ts.map +1 -0
  286. package/lib/typescript/capabilities/core/src/system/cnfContext/schemas/index.d.ts +8 -0
  287. package/lib/typescript/capabilities/core/src/system/cnfContext/schemas/index.d.ts.map +1 -0
  288. package/lib/typescript/capabilities/offer-catalog/src/api/offerCatalogApi.d.ts +5 -0
  289. package/lib/typescript/capabilities/offer-catalog/src/api/offerCatalogApi.d.ts.map +1 -0
  290. package/lib/typescript/capabilities/offer-catalog/src/index.d.ts +6 -0
  291. package/lib/typescript/capabilities/offer-catalog/src/index.d.ts.map +1 -0
  292. package/lib/typescript/capabilities/offer-catalog/src/types/offerCatalogSchema.d.ts +91 -0
  293. package/lib/typescript/capabilities/offer-catalog/src/types/offerCatalogSchema.d.ts.map +1 -0
  294. package/lib/typescript/capabilities/offer-catalog/src/utils/arrayToMarkdownList.d.ts +2 -0
  295. package/lib/typescript/capabilities/offer-catalog/src/utils/arrayToMarkdownList.d.ts.map +1 -0
  296. package/lib/typescript/capabilities/offer-catalog/src/utils/contextUtil.d.ts +8 -0
  297. package/lib/typescript/capabilities/offer-catalog/src/utils/contextUtil.d.ts.map +1 -0
  298. package/lib/typescript/capabilities/offer-catalog/src/utils/errorUtil.d.ts +6 -0
  299. package/lib/typescript/capabilities/offer-catalog/src/utils/errorUtil.d.ts.map +1 -0
  300. package/lib/typescript/capabilities/offer-catalog/src/utils/formatUtils.d.ts +68 -0
  301. package/lib/typescript/capabilities/offer-catalog/src/utils/formatUtils.d.ts.map +1 -0
  302. package/lib/typescript/capabilities/offer-catalog/src/utils/getOfferUrl.d.ts +24 -0
  303. package/lib/typescript/capabilities/offer-catalog/src/utils/getOfferUrl.d.ts.map +1 -0
  304. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/annualFee.d.ts +13 -0
  305. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/annualFee.d.ts.map +1 -0
  306. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/boolean.d.ts +11 -0
  307. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/boolean.d.ts.map +1 -0
  308. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/boolean.spec.d.ts +1 -0
  309. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/boolean.spec.d.ts.map +1 -0
  310. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/common.d.ts +14 -0
  311. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/common.d.ts.map +1 -0
  312. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/common.spec.d.ts +1 -0
  313. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/common.spec.d.ts.map +1 -0
  314. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/creditBureaus.d.ts +9 -0
  315. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/creditBureaus.d.ts.map +1 -0
  316. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/creditBureaus.spec.d.ts +1 -0
  317. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/creditBureaus.spec.d.ts.map +1 -0
  318. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/currency.d.ts +10 -0
  319. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/currency.d.ts.map +1 -0
  320. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/currencyOrBasis.d.ts +12 -0
  321. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/currencyOrBasis.d.ts.map +1 -0
  322. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/currencyOrBasis.spec.d.ts +1 -0
  323. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/currencyOrBasis.spec.d.ts.map +1 -0
  324. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/freeTrialDays.d.ts +9 -0
  325. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/freeTrialDays.d.ts.map +1 -0
  326. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/freeTrialDays.spec.d.ts +1 -0
  327. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/freeTrialDays.spec.d.ts.map +1 -0
  328. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/fromListStringWithAnd.d.ts +9 -0
  329. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/fromListStringWithAnd.d.ts.map +1 -0
  330. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/fromListStringWithAnd.spec.d.ts +1 -0
  331. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/fromListStringWithAnd.spec.d.ts.map +1 -0
  332. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/index.d.ts +20 -0
  333. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/index.d.ts.map +1 -0
  334. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/monthlyOrAnnualCurrency.d.ts +11 -0
  335. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/monthlyOrAnnualCurrency.d.ts.map +1 -0
  336. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/monthlyOrAnnualCurrency.spec.d.ts +1 -0
  337. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/monthlyOrAnnualCurrency.spec.d.ts.map +1 -0
  338. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/percentage.d.ts +9 -0
  339. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/percentage.d.ts.map +1 -0
  340. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/percentage.spec.d.ts +1 -0
  341. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/percentage.spec.d.ts.map +1 -0
  342. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/purchaseApr.d.ts +12 -0
  343. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/purchaseApr.d.ts.map +1 -0
  344. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/purchaseApr.spec.d.ts +1 -0
  345. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/purchaseApr.spec.d.ts.map +1 -0
  346. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/rangeCurrency.d.ts +10 -0
  347. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/rangeCurrency.d.ts.map +1 -0
  348. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/rangeCurrencyByTime.d.ts +12 -0
  349. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/rangeCurrencyByTime.d.ts.map +1 -0
  350. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/rangeCurrencyByTime.spec.d.ts +1 -0
  351. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/rangeCurrencyByTime.spec.d.ts.map +1 -0
  352. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/rangeCurrencyUnabbreviated.d.ts +10 -0
  353. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/rangeCurrencyUnabbreviated.d.ts.map +1 -0
  354. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/rangeCurrencyUnabbreviated.spec.d.ts +1 -0
  355. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/rangeCurrencyUnabbreviated.spec.d.ts.map +1 -0
  356. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/rangeMonths.d.ts +10 -0
  357. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/rangeMonths.d.ts.map +1 -0
  358. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/rangeMonths.spec.d.ts +1 -0
  359. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/rangeMonths.spec.d.ts.map +1 -0
  360. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/rangePercent.d.ts +11 -0
  361. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/rangePercent.d.ts.map +1 -0
  362. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/rangePercent.spec.d.ts +1 -0
  363. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/rangePercent.spec.d.ts.map +1 -0
  364. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/recommendedCredit.d.ts +9 -0
  365. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/recommendedCredit.d.ts.map +1 -0
  366. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/recommendedCredit.spec.d.ts +1 -0
  367. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/recommendedCredit.spec.d.ts.map +1 -0
  368. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/rewardsDisplay.d.ts +9 -0
  369. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/rewardsDisplay.d.ts.map +1 -0
  370. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/rewardsDisplay.spec.d.ts +1 -0
  371. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/rewardsDisplay.spec.d.ts.map +1 -0
  372. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/index.d.ts +5 -0
  373. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/index.d.ts.map +1 -0
  374. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/types.d.ts +9 -0
  375. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/types.d.ts.map +1 -0
  376. package/lib/typescript/capabilities/offers/pipeline/src/sources/ratetables/offer-catalog/types/index.d.ts +4 -0
  377. package/lib/typescript/capabilities/offers/pipeline/src/sources/ratetables/offer-catalog/types/index.d.ts.map +1 -0
  378. package/lib/typescript/capabilities/offers/pipeline/src/sources/ratetables/offer-catalog/types/oas/offer-catalog.d.ts +1837 -0
  379. package/lib/typescript/capabilities/offers/pipeline/src/sources/ratetables/offer-catalog/types/oas/offer-catalog.d.ts.map +1 -0
  380. package/lib/typescript/capabilities/offers/pipeline/src/sources/ratetables/types/index.d.ts +5 -0
  381. package/lib/typescript/capabilities/offers/pipeline/src/sources/ratetables/types/index.d.ts.map +1 -0
  382. package/lib/typescript/capabilities/offers/pipeline/src/sources/ratetables/withDeviceSignals.d.ts +208 -0
  383. package/lib/typescript/capabilities/offers/pipeline/src/sources/ratetables/withDeviceSignals.d.ts.map +1 -0
  384. package/lib/typescript/capabilities/offers/ux/src/elements/Stat/HyphenIcon.d.ts +7 -0
  385. package/lib/typescript/capabilities/offers/ux/src/elements/Stat/HyphenIcon.d.ts.map +1 -0
  386. package/lib/typescript/capabilities/offers/ux/src/elements/Stat/Stat.d.ts +12 -0
  387. package/lib/typescript/capabilities/offers/ux/src/elements/Stat/Stat.d.ts.map +1 -0
  388. package/lib/typescript/capabilities/offers/ux/src/elements/Stat/index.d.ts +2 -0
  389. package/lib/typescript/capabilities/offers/ux/src/elements/Stat/index.d.ts.map +1 -0
  390. package/lib/typescript/capabilities/ui/elements/src/components/MarkdownText/Abbreviation.d.ts +5 -0
  391. package/lib/typescript/capabilities/ui/elements/src/components/MarkdownText/Abbreviation.d.ts.map +1 -0
  392. package/lib/typescript/capabilities/ui/elements/src/components/MarkdownText/components.d.ts +9 -0
  393. package/lib/typescript/capabilities/ui/elements/src/components/MarkdownText/components.d.ts.map +1 -0
  394. package/lib/typescript/capabilities/ui/elements/src/components/MarkdownText/index.d.ts +7 -0
  395. package/lib/typescript/capabilities/ui/elements/src/components/MarkdownText/index.d.ts.map +1 -0
  396. package/lib/typescript/capabilities/ui/elements/src/components/MarkdownText/markdownPreprocessor.d.ts +2 -0
  397. package/lib/typescript/capabilities/ui/elements/src/components/MarkdownText/markdownPreprocessor.d.ts.map +1 -0
  398. package/lib/typescript/capabilities/ui/elements/src/components/index.d.ts +2 -0
  399. package/lib/typescript/capabilities/ui/elements/src/components/index.d.ts.map +1 -0
  400. package/lib/typescript/capabilities/ui/elements/src/components/thumbor/index.d.ts +10 -0
  401. package/lib/typescript/capabilities/ui/elements/src/components/thumbor/index.d.ts.map +1 -0
  402. package/lib/typescript/capabilities/ui/elements/src/components/thumbor/useSvgUriViewBox.d.ts +14 -0
  403. package/lib/typescript/capabilities/ui/elements/src/components/thumbor/useSvgUriViewBox.d.ts.map +1 -0
  404. package/lib/typescript/capabilities/ui/elements/src/components/thumbor/useSvgUriViewBox.test.d.ts +1 -0
  405. package/lib/typescript/capabilities/ui/elements/src/components/thumbor/useSvgUriViewBox.test.d.ts.map +1 -0
  406. package/lib/typescript/capabilities/ui/elements/src/index.d.ts +3 -0
  407. package/lib/typescript/capabilities/ui/elements/src/index.d.ts.map +1 -0
  408. package/lib/typescript/capabilities/ui/elements/src/offerCardAttributes.d.ts +10 -0
  409. package/lib/typescript/capabilities/ui/elements/src/offerCardAttributes.d.ts.map +1 -0
  410. package/lib/typescript/config/mocks/cnfContext.d.ts +3 -0
  411. package/lib/typescript/config/mocks/cnfContext.d.ts.map +1 -0
  412. package/lib/typescript/src/apiEnvironment.d.ts +13 -0
  413. package/lib/typescript/src/apiEnvironment.d.ts.map +1 -0
  414. package/lib/typescript/src/components/Button/index.d.ts +15 -0
  415. package/lib/typescript/src/components/Button/index.d.ts.map +1 -0
  416. package/lib/typescript/src/components/Cards/VideosCard/VideoContent.d.ts +9 -0
  417. package/lib/typescript/src/components/Cards/VideosCard/VideoContent.d.ts.map +1 -0
  418. package/lib/typescript/src/components/Cards/VideosCard/VideosCard.d.ts +1 -0
  419. package/lib/typescript/src/components/Cards/VideosCard/VideosCard.d.ts.map +1 -0
  420. package/lib/typescript/src/components/Cards/index.d.ts +1 -0
  421. package/lib/typescript/src/components/Cards/index.d.ts.map +1 -0
  422. package/lib/typescript/src/components/Common/BaseOfferCard/Content/Content.d.ts +4 -0
  423. package/lib/typescript/src/components/Common/BaseOfferCard/Content/Content.d.ts.map +1 -0
  424. package/lib/typescript/src/components/Common/BaseOfferCard/Content/index.d.ts +2 -0
  425. package/lib/typescript/src/components/Common/BaseOfferCard/Content/index.d.ts.map +1 -0
  426. package/lib/typescript/src/components/Common/BaseOfferCard/Stat/Stat.d.ts +8 -0
  427. package/lib/typescript/src/components/Common/BaseOfferCard/Stat/Stat.d.ts.map +1 -0
  428. package/lib/typescript/src/components/Common/BaseOfferCard/Stat/index.d.ts +2 -0
  429. package/lib/typescript/src/components/Common/BaseOfferCard/Stat/index.d.ts.map +1 -0
  430. package/lib/typescript/src/components/Common/BaseOfferCard/StatsContainer/StatsContainer.d.ts +4 -0
  431. package/lib/typescript/src/components/Common/BaseOfferCard/StatsContainer/StatsContainer.d.ts.map +1 -0
  432. package/lib/typescript/src/components/Common/BaseOfferCard/StatsContainer/index.d.ts +2 -0
  433. package/lib/typescript/src/components/Common/BaseOfferCard/StatsContainer/index.d.ts.map +1 -0
  434. package/lib/typescript/src/components/Common/BaseOfferCard/ThumbsUpIcon.d.ts +3 -0
  435. package/lib/typescript/src/components/Common/BaseOfferCard/ThumbsUpIcon.d.ts.map +1 -0
  436. package/lib/typescript/src/components/Common/BaseOfferCard/index.d.ts +42 -0
  437. package/lib/typescript/src/components/Common/BaseOfferCard/index.d.ts.map +1 -0
  438. package/lib/typescript/src/components/Common/DynamicOfferCard/CallToAction.d.ts +13 -0
  439. package/lib/typescript/src/components/Common/DynamicOfferCard/CallToAction.d.ts.map +1 -0
  440. package/lib/typescript/src/components/Common/DynamicOfferCard/SeeMore.d.ts +8 -0
  441. package/lib/typescript/src/components/Common/DynamicOfferCard/SeeMore.d.ts.map +1 -0
  442. package/lib/typescript/src/components/Common/DynamicOfferCard/index.d.ts +12 -0
  443. package/lib/typescript/src/components/Common/DynamicOfferCard/index.d.ts.map +1 -0
  444. package/lib/typescript/src/components/Common/index.d.ts +4 -0
  445. package/lib/typescript/src/components/Common/index.d.ts.map +1 -0
  446. package/lib/typescript/src/components/Divider/index.d.ts +16 -0
  447. package/lib/typescript/src/components/Divider/index.d.ts.map +1 -0
  448. package/lib/typescript/src/components/DynamicOffers/DynamicOffers.d.ts +12 -0
  449. package/lib/typescript/src/components/DynamicOffers/DynamicOffers.d.ts.map +1 -0
  450. package/lib/typescript/src/components/DynamicOffers/DynamicOffersContainer.d.ts +10 -0
  451. package/lib/typescript/src/components/DynamicOffers/DynamicOffersContainer.d.ts.map +1 -0
  452. package/lib/typescript/src/components/DynamicOffers/Render/DynamicOffersRender.d.ts +19 -0
  453. package/lib/typescript/src/components/DynamicOffers/Render/DynamicOffersRender.d.ts.map +1 -0
  454. package/lib/typescript/src/components/DynamicOffers/Render/FallbackOfferTemplate.d.ts +9 -0
  455. package/lib/typescript/src/components/DynamicOffers/Render/FallbackOfferTemplate.d.ts.map +1 -0
  456. package/lib/typescript/src/components/DynamicOffers/Render/Offer.d.ts +17 -0
  457. package/lib/typescript/src/components/DynamicOffers/Render/Offer.d.ts.map +1 -0
  458. package/lib/typescript/src/components/DynamicOffers/Render/index.d.ts +3 -0
  459. package/lib/typescript/src/components/DynamicOffers/Render/index.d.ts.map +1 -0
  460. package/lib/typescript/src/components/Layouts/CreditCardOfferCard/index.d.ts +13 -0
  461. package/lib/typescript/src/components/Layouts/CreditCardOfferCard/index.d.ts.map +1 -0
  462. package/lib/typescript/src/components/Layouts/CreditCardOfferCard/statsBuilder.d.ts +6 -0
  463. package/lib/typescript/src/components/Layouts/CreditCardOfferCard/statsBuilder.d.ts.map +1 -0
  464. package/lib/typescript/src/components/Layouts/DefaultOfferCard/index.d.ts +13 -0
  465. package/lib/typescript/src/components/Layouts/DefaultOfferCard/index.d.ts.map +1 -0
  466. package/lib/typescript/src/components/Layouts/DefaultOfferCard/statsBuilder.d.ts +7 -0
  467. package/lib/typescript/src/components/Layouts/DefaultOfferCard/statsBuilder.d.ts.map +1 -0
  468. package/lib/typescript/src/components/Layouts/HeadlineWithDescriptionCard/index.d.ts +13 -0
  469. package/lib/typescript/src/components/Layouts/HeadlineWithDescriptionCard/index.d.ts.map +1 -0
  470. package/lib/typescript/src/components/Layouts/index.d.ts +4 -0
  471. package/lib/typescript/src/components/Layouts/index.d.ts.map +1 -0
  472. package/lib/typescript/src/components/Modal/DescriptionPoints.d.ts +5 -0
  473. package/lib/typescript/src/components/Modal/DescriptionPoints.d.ts.map +1 -0
  474. package/lib/typescript/src/components/Modal/Disclaimer.d.ts +5 -0
  475. package/lib/typescript/src/components/Modal/Disclaimer.d.ts.map +1 -0
  476. package/lib/typescript/src/components/Modal/OfferDetailsModal.d.ts +11 -0
  477. package/lib/typescript/src/components/Modal/OfferDetailsModal.d.ts.map +1 -0
  478. package/lib/typescript/src/components/MoneyLionOfferCarousel.d.ts +20 -0
  479. package/lib/typescript/src/components/MoneyLionOfferCarousel.d.ts.map +1 -0
  480. package/lib/typescript/src/components/Skeleton/Skeleton.d.ts +12 -0
  481. package/lib/typescript/src/components/Skeleton/Skeleton.d.ts.map +1 -0
  482. package/lib/typescript/src/components/Skeleton/index.d.ts +3 -0
  483. package/lib/typescript/src/components/Skeleton/index.d.ts.map +1 -0
  484. package/lib/typescript/src/components/Text/index.d.ts +17 -0
  485. package/lib/typescript/src/components/Text/index.d.ts.map +1 -0
  486. package/lib/typescript/src/components/View/index.d.ts +23 -0
  487. package/lib/typescript/src/components/View/index.d.ts.map +1 -0
  488. package/lib/typescript/src/context/CNFProvider.d.ts +1 -0
  489. package/lib/typescript/src/context/CNFProvider.d.ts.map +1 -0
  490. package/lib/typescript/src/context/EventHandlerProvider.d.ts +71 -0
  491. package/lib/typescript/src/context/EventHandlerProvider.d.ts.map +1 -0
  492. package/lib/typescript/src/context/ThemeProvider.d.ts +31 -0
  493. package/lib/typescript/src/context/ThemeProvider.d.ts.map +1 -0
  494. package/lib/typescript/src/deps/configuration.d.ts +1 -0
  495. package/lib/typescript/src/deps/configuration.d.ts.map +1 -0
  496. package/lib/typescript/src/index.d.ts +2 -0
  497. package/lib/typescript/src/index.d.ts.map +1 -0
  498. package/lib/typescript/src/pageData.d.ts +19 -0
  499. package/lib/typescript/src/pageData.d.ts.map +1 -0
  500. package/lib/typescript/src/services/getDynamicOffers.d.ts +27 -0
  501. package/lib/typescript/src/services/getDynamicOffers.d.ts.map +1 -0
  502. package/lib/typescript/src/services/getProductTypes.d.ts +19 -0
  503. package/lib/typescript/src/services/getProductTypes.d.ts.map +1 -0
  504. package/lib/typescript/src/services/getProductTypesByQuery.d.ts +28 -0
  505. package/lib/typescript/src/services/getProductTypesByQuery.d.ts.map +1 -0
  506. package/lib/typescript/src/utils/addClientTagsToOfferLinks.d.ts +9 -0
  507. package/lib/typescript/src/utils/addClientTagsToOfferLinks.d.ts.map +1 -0
  508. package/lib/typescript/src/utils/formatOfferUrl.d.ts +64 -0
  509. package/lib/typescript/src/utils/formatOfferUrl.d.ts.map +1 -0
  510. package/lib/typescript/src/utils/getDefaultPaletteColor.d.ts +3 -0
  511. package/lib/typescript/src/utils/getDefaultPaletteColor.d.ts.map +1 -0
  512. package/lib/typescript/src/utils/getDefaultProductType.d.ts +3 -0
  513. package/lib/typescript/src/utils/getDefaultProductType.d.ts.map +1 -0
  514. package/lib/typescript/src/utils/getEnableUseCachedOffers.d.ts +12 -0
  515. package/lib/typescript/src/utils/getEnableUseCachedOffers.d.ts.map +1 -0
  516. package/lib/typescript/src/utils/getOffersBasedOnLayout.d.ts +26 -0
  517. package/lib/typescript/src/utils/getOffersBasedOnLayout.d.ts.map +1 -0
  518. package/lib/typescript/src/utils/getOffersByProductTypes.d.ts +17 -0
  519. package/lib/typescript/src/utils/getOffersByProductTypes.d.ts.map +1 -0
  520. package/lib/typescript/src/utils/getProductTypesDefinition.d.ts +14 -0
  521. package/lib/typescript/src/utils/getProductTypesDefinition.d.ts.map +1 -0
  522. package/lib/typescript/src/utils/index.d.ts +11 -0
  523. package/lib/typescript/src/utils/index.d.ts.map +1 -0
  524. package/lib/typescript/src/utils/layouts.d.ts +19 -0
  525. package/lib/typescript/src/utils/layouts.d.ts.map +1 -0
  526. package/lib/typescript/src/utils/parseStringProductTypes.d.ts +2 -0
  527. package/lib/typescript/src/utils/parseStringProductTypes.d.ts.map +1 -0
  528. package/lib/typescript/src/utils/resolveProductTypes.d.ts +14 -0
  529. package/lib/typescript/src/utils/resolveProductTypes.d.ts.map +1 -0
  530. package/lib/typescript/src/utils/selectDynamicOffers.d.ts +3 -0
  531. package/lib/typescript/src/utils/selectDynamicOffers.d.ts.map +1 -0
  532. package/lib/typescript/src/utils/sortOffersByRecommendationScore.d.ts +3 -0
  533. package/lib/typescript/src/utils/sortOffersByRecommendationScore.d.ts.map +1 -0
  534. package/lib/typescript/src/version.d.ts +2 -0
  535. package/lib/typescript/src/version.d.ts.map +1 -0
  536. package/package.json +139 -0
  537. package/src/apiEnvironment.ts +17 -0
  538. package/src/components/Button/index.tsx +140 -0
  539. package/src/components/Cards/VideosCard/VideoContent.tsx +38 -0
  540. package/src/components/Cards/VideosCard/VideosCard.tsx +54 -0
  541. package/src/components/Cards/index.ts +1 -0
  542. package/src/components/Common/BaseOfferCard/Content/Content.tsx +10 -0
  543. package/src/components/Common/BaseOfferCard/Content/index.tsx +1 -0
  544. package/src/components/Common/BaseOfferCard/Stat/Stat.tsx +91 -0
  545. package/src/components/Common/BaseOfferCard/Stat/index.tsx +1 -0
  546. package/src/components/Common/BaseOfferCard/StatsContainer/StatsContainer.tsx +8 -0
  547. package/src/components/Common/BaseOfferCard/StatsContainer/index.tsx +1 -0
  548. package/src/components/Common/BaseOfferCard/ThumbsUpIcon.tsx +27 -0
  549. package/src/components/Common/BaseOfferCard/index.tsx +282 -0
  550. package/src/components/Common/DynamicOfferCard/CallToAction.tsx +47 -0
  551. package/src/components/Common/DynamicOfferCard/SeeMore.tsx +76 -0
  552. package/src/components/Common/DynamicOfferCard/index.tsx +64 -0
  553. package/src/components/Common/index.ts +3 -0
  554. package/src/components/Divider/index.tsx +35 -0
  555. package/src/components/DynamicOffers/DynamicOffers.tsx +46 -0
  556. package/src/components/DynamicOffers/DynamicOffersContainer.tsx +41 -0
  557. package/src/components/DynamicOffers/Render/DynamicOffersRender.tsx +261 -0
  558. package/src/components/DynamicOffers/Render/FallbackOfferTemplate.tsx +29 -0
  559. package/src/components/DynamicOffers/Render/Offer.tsx +100 -0
  560. package/src/components/DynamicOffers/Render/index.ts +2 -0
  561. package/src/components/Layouts/CreditCardOfferCard/index.tsx +96 -0
  562. package/src/components/Layouts/CreditCardOfferCard/statsBuilder.tsx +10 -0
  563. package/src/components/Layouts/DefaultOfferCard/index.tsx +72 -0
  564. package/src/components/Layouts/DefaultOfferCard/statsBuilder.tsx +14 -0
  565. package/src/components/Layouts/HeadlineWithDescriptionCard/index.tsx +59 -0
  566. package/src/components/Layouts/index.ts +3 -0
  567. package/src/components/Modal/DescriptionPoints.tsx +24 -0
  568. package/src/components/Modal/Disclaimer.tsx +15 -0
  569. package/src/components/Modal/OfferDetailsModal.tsx +111 -0
  570. package/src/components/MoneyLionOfferCarousel.tsx +202 -0
  571. package/src/components/Skeleton/Skeleton.tsx +86 -0
  572. package/src/components/Skeleton/index.ts +2 -0
  573. package/src/components/Text/index.tsx +209 -0
  574. package/src/components/View/index.tsx +144 -0
  575. package/src/context/CNFProvider.tsx +0 -0
  576. package/src/context/EventHandlerProvider.tsx +89 -0
  577. package/src/context/ThemeProvider.tsx +91 -0
  578. package/src/deps/configuration.ts +0 -0
  579. package/src/index.tsx +1 -0
  580. package/src/pageData.ts +98 -0
  581. package/src/services/getDynamicOffers.ts +93 -0
  582. package/src/services/getProductTypes.ts +53 -0
  583. package/src/services/getProductTypesByQuery.ts +53 -0
  584. package/src/utils/addClientTagsToOfferLinks.ts +22 -0
  585. package/src/utils/formatOfferUrl.ts +32 -0
  586. package/src/utils/getDefaultPaletteColor.ts +15 -0
  587. package/src/utils/getDefaultProductType.ts +4 -0
  588. package/src/utils/getEnableUseCachedOffers.ts +13 -0
  589. package/src/utils/getOffersBasedOnLayout.ts +51 -0
  590. package/src/utils/getOffersByProductTypes.ts +36 -0
  591. package/src/utils/getProductTypesDefinition.ts +13 -0
  592. package/src/utils/index.ts +10 -0
  593. package/src/utils/layouts.ts +22 -0
  594. package/src/utils/parseStringProductTypes.ts +7 -0
  595. package/src/utils/resolveProductTypes.ts +18 -0
  596. package/src/utils/selectDynamicOffers.ts +18 -0
  597. package/src/utils/sortOffersByRecommendationScore.ts +6 -0
  598. package/src/version.ts +2 -0
@@ -0,0 +1,1837 @@
1
+ /**
2
+ * This file was auto-generated by openapi-typescript.
3
+ * Do not make direct changes to the file.
4
+ */
5
+ /** WithRequired type helpers */
6
+ type WithRequired<T, K extends keyof T> = T & {
7
+ [P in K]-?: T[P];
8
+ };
9
+ export interface components {
10
+ schemas: {
11
+ ApiError: {
12
+ /** @description The attribute that this error applies to. Omitted if this error is not in the context of a resource, or cannot be isolated to a single attribute. */
13
+ attribute?: string;
14
+ /** @description A classification for this error, which can be used to render the appropriate custom error template, or take other programmatic actions. */
15
+ type?: string;
16
+ /** @description Variables associated with this error that can be injected into a custom error template, or used to parameterize any other programatic actions. */
17
+ details?: {
18
+ [key: string]: string;
19
+ };
20
+ /** @description A human-readable, English description of the error. */
21
+ message?: string;
22
+ };
23
+ /** @enum {string} */
24
+ AprType: "variable" | "regular" | "fixed";
25
+ AutoInsuranceInformation: {
26
+ /** Format: int32 */
27
+ numberOfVehicles?: number;
28
+ hasAutoInsurance?: boolean;
29
+ };
30
+ /** @enum {string} */
31
+ BankAccountType: "checking" | "savings" | "other";
32
+ BasicRateTablePendingResponse: {
33
+ partner: components["schemas"]["DemandPartner"];
34
+ /** @description Limits results to leads that have the specified productTypes from the Product catalog */
35
+ offerCatalogProductTypes: string[];
36
+ };
37
+ /** @enum {string} */
38
+ BestTimeToCall: "morning" | "afternoon" | "evening" | "night";
39
+ /** @description Personalized values calculated for a specific bonus, such as a Sign On Bonus */
40
+ BonusPersonalization: {
41
+ /** @description Were the conditions of the bonus met */
42
+ minimumSpendMet?: boolean;
43
+ /** @description The amount of spend the user had within the time period of the bonus */
44
+ qualifyingSpend?: string;
45
+ };
46
+ /**
47
+ * @description Benefits or benefit categories related to a credit card
48
+ * @enum {string}
49
+ */
50
+ CardBenefits: "No Foreign Transaction Fees" | "Purchase Protection" | "Return Protection" | "Price Protection" | "Fraud Protection" | "Extended Warranty" | "Travel Accident Insurance" | "Trip Interruption Insurance" | "Car Rental Insurance" | "Baggage Insurance" | "Baggage Delay Insurance" | "Hotel Burglary Insurance" | "Travel & Emergency Assistance" | "Roadside Assistance" | "Concierge Service" | "Lounge Access" | "Identity Theft Assistance" | "In-Flight Savings" | "Free Checked Bag" | "Priority Boarding" | "No Blackout Dates" | "Free Companion Ticket" | "Discount Companion Ticket" | "Global Entry or TSA PreCheck" | "Private Jet Perks" | "Lounge Access Discount" | "24/7 Cardholder Support" | "Authorized User" | "Entertainment Access" | "Airline Fee Credit" | "Late Fee Pass" | "Credit Score Reporting" | "No Flight Change Fees" | "24/7 Account Monitoring" | "Amex Offers" | "Visa Signature Offers" | "MasterCard Offers" | "Free Hotel Stay" | "Extended Hotel Stay" | "Dining Concierge" | "2 Lounge Passes" | "Hilton Honors Silver Membership" | "Hilton Honors Gold Membership" | "World of Hyatt Discoverist Status" | "SPG Gold Membership" | "Marriott Rewards Silver Status" | "Hertz Presidents Circle Elite Status" | "2 Free Checked Bags" | "Auto Discounts" | "InCircle Partnership" | "ShopRunner" | "WiFi Access" | "ShopSafe" | "BoA Preferred Rewards" | "MasterCard Fuel Rewards Network" | "Missed Event Ticket Protection" | "Account Freezing" | "Cell Phone Protection" | "GPA Rewards" | "In-Flight WiFi Credit" | "Citi Private Pass" | "Priceless Cities" | "The Hotel Collection" | "By Invitation Only" | "Luxury Hotel Collection" | "Expedia+ Silver Status" | "Expedia+ Gold Status" | "$100 American Airlines Discount" | "Disney Parks Perks and Savings" | "Ritz-Carlton Gold Elite Status" | "Ritz-Carlton Club Level Upgrade" | "Annual Travel Credit" | "IHG Platinum Elite Status" | "QuickBooks Connect" | "ReceiptMatch" | "Employee Spending Limits" | "FX International Payments" | "No Pre-Set Spending Limit" | "Purchase Financing" | "Amex Open Savings" | "Amazon Special Financing" | "$100 Ritz-Carlton Hotel Credit" | "British Airways Companion Ticket" | "Mercedes-Benz Gift Certificates" | "Mercedes-Benz Excess Mileage Waiver" | "JetBlue Annual Statement Credit" | "20% Discount on Delta Flights for Delta Private Jet Members" | "Expense Report Features" | "Business Cell Phone Protection" | "Free Shipping on most Target.com orders" | "30 Extra Days for Returns" | "Free clothing altertaions" | "Personal shopping" | "Shopmyway Savings" | "Online Subscription Credit" | "Uber Exclusive Access" | "Airline Benefits" | "Hotel Benefits" | "Other Travel Benefits" | "Emergency Assistance" | "Experiences" | "Shopping Benefits" | "Cardholder Benefits" | "Enhanced Security" | "Business Benefits" | "Other Benefits" | "In-Flight Discounts" | "Fee Coverage" | "Flight Credits & Discounts" | "Hotel Membership Status" | "Hotel Credit & Free Stays" | "Travel Credit" | "Travel Experiences Programs" | "Car Rental Membership Status" | "Extra Gas Rewards" | "Shopping Protection" | "Shopping Discounts" | "Free Shipping" | "The Boingo American Express Preferred Plan" | "AirSpace Lounge" | "Uber Monthly Credit" | "Ride Share Benefits" | "Delta Sky Club" | "Admirals Club Membership" | "Priority Pass Select Membership (Prestige)" | "Priority Pass Select Membership (Standard Plus)" | "Daily Breakfast" | "Early Check-in & Late Check-out" | "Room Upgrades" | "Complementary WiFi" | "Amex Hotel Collection Credit" | "Temporary Account Numbers" | "One-Time 50% Discount on Companion Ticket" | "Airline Travel Credit" | "United Club Membership" | "Chip Technology" | "Earn More Miles for Sharing Travel Stories" | "Mastercard World Elite Concierge and Luxury Travel Benefits" | "20% Savings on Delta In-Flight Purchases" | "25% Savings on United In-Flight Food and Drink Purchases" | "$100 Hilton Properties Credit" | "$250 Hilton Resort Credit" | "Hilton Honors Diamond Membership" | "Free Birthday Gift" | "2x Points During Your Birthday Month" | "Car Rental VIP Perks" | "Free shipping with the purchase of a bra" | "Monthly Dining Credit" | "Amazon Prime Student";
51
+ /**
52
+ * @description Purposes or categories related to a credit card
53
+ * @enum {string}
54
+ */
55
+ CardPurpose: "balance_transfer" | "cash_back" | "earning_rewards" | "improve_credit" | "low_interest" | "new_to_credit" | "student" | "travel_incentives";
56
+ /** @enum {string} */
57
+ CardType: "visa" | "mastercard" | "american_express" | "discover";
58
+ /**
59
+ * @description Carrier decision speed
60
+ * @enum {string}
61
+ */
62
+ CarrierDecisionType: "instant" | "non_instant";
63
+ /**
64
+ * @description Citizenship status
65
+ * @enum {string}
66
+ */
67
+ CitizenshipStatus: "citizen" | "permanent_resident" | "other";
68
+ /**
69
+ * @description Arbitrary key-values mappings to associate with a `Lead`. This field can be use to attach `subid`s to a `Lead`
70
+ * @example {
71
+ * "subid": [
72
+ * "123"
73
+ * ]
74
+ * }
75
+ */
76
+ ClientTags: {
77
+ [key: string]: string[];
78
+ };
79
+ /**
80
+ * @description The personal information of a co-applicant that may be considered in the
81
+ * underwriting and approval of a loan.
82
+ */
83
+ CoApplicantInformation: {
84
+ firstName?: string;
85
+ lastName?: string;
86
+ /** Format: date */
87
+ dateOfBirth?: string;
88
+ /** Format: int32 */
89
+ annualIncome?: number;
90
+ /** @description Street address (primary address line) */
91
+ streetAddress1?: string;
92
+ /** @description Secondary address line */
93
+ streetAddress2?: string;
94
+ city?: string;
95
+ state?: components["schemas"]["State"];
96
+ zipcode?: string;
97
+ };
98
+ CreditCardInformation: {
99
+ allowAnnualFee?: boolean;
100
+ /** @description A list of card purposes in which the lead is interested */
101
+ cardPurposes?: components["schemas"]["CardPurpose"][];
102
+ };
103
+ /** @description Credit history information relating to a `Lead` */
104
+ CreditInformation: {
105
+ providedCreditRating?: components["schemas"]["ProvidedCreditRating"];
106
+ /**
107
+ * Format: int32
108
+ * @description FICO credit score provided by a `Lead`
109
+ */
110
+ providedNumericCreditScore?: number;
111
+ };
112
+ /** @enum {string} */
113
+ CreditCardIntroOfferType: "miles" | "points" | "statement_credit";
114
+ /** @description An offer for a credit card */
115
+ CreditCardOffer: WithRequired<{
116
+ details: components["schemas"]["CreditCardOfferDetails"];
117
+ } & components["schemas"]["Offer"], "details">;
118
+ CreditCardOfferDetails: {
119
+ /** @description Display name of the card */
120
+ cardName?: string;
121
+ /** Format: url */
122
+ cardImageUrl: string;
123
+ cardPurposes?: components["schemas"]["CardPurpose"][];
124
+ /**
125
+ * Format: url
126
+ * @description External link to card rates, terms and conditions
127
+ */
128
+ ratesUrl?: string;
129
+ maxPurchaseApr?: number;
130
+ minPurchaseApr?: number;
131
+ purchaseAprText?: string;
132
+ maxPurchaseIntroApr?: number;
133
+ minPurchaseIntroApr?: number;
134
+ /** Format: int32 */
135
+ purchaseIntroAprTerm?: number;
136
+ purchaseIntroAprTermUnit?: components["schemas"]["LoanTermUnit"];
137
+ purchaseIntroAprText?: string;
138
+ maxCashAdvanceApr?: number;
139
+ minCashAdvanceApr?: number;
140
+ cashAdvanceAprText?: string;
141
+ maxCashAdvanceIntroApr?: number;
142
+ minCashAdvanceIntroApr?: number;
143
+ /** Format: int32 */
144
+ cashAdvanceIntroAprTerm?: number;
145
+ cashAdvanceIntroAprTermUnit?: components["schemas"]["LoanTermUnit"];
146
+ cashAdvanceIntroAprText?: string;
147
+ maxBalanceTransferApr?: number;
148
+ minBalanceTransferApr?: number;
149
+ balanceTransferAprText?: string;
150
+ maxBalanceTransferIntroApr?: number;
151
+ minBalanceTransferIntroApr?: number;
152
+ /** Format: int32 */
153
+ balanceTransferIntroAprTerm?: number;
154
+ balanceTransferIntroAprTermUnit?: components["schemas"]["LoanTermUnit"];
155
+ balanceTransferIntroAprText?: string;
156
+ maxAnnualFee?: number;
157
+ minAnnualFee?: number;
158
+ annualIntroFee?: number;
159
+ /**
160
+ * Format: int32
161
+ * @description Number of _years_ the introductory anual fee is in effect
162
+ */
163
+ annualIntroFeeTerm?: number;
164
+ introOfferAmount?: number;
165
+ introOfferText?: string;
166
+ introOfferType?: components["schemas"]["CreditCardIntroOfferType"];
167
+ /** @description List of card features which must be prominently displayed with the offer */
168
+ details?: string[];
169
+ /** @description List of card features which must be displayed with the offer */
170
+ additionalDetails?: string[];
171
+ cardType: components["schemas"]["CardType"];
172
+ minimumCreditLine?: number;
173
+ minimumPenaltyApr?: number;
174
+ maximumPenaltyApr?: number;
175
+ balanceTransferFee?: number;
176
+ cashAdvanceFee?: number;
177
+ lateFee?: number;
178
+ foreignExchangeFee?: number;
179
+ accountOpeningFee?: number;
180
+ returnPaymentFee?: number;
181
+ monthlyServiceFee?: number;
182
+ recommendedCreditRatings?: components["schemas"]["ProvidedCreditRating"][];
183
+ preQualified: boolean;
184
+ preApproved: boolean;
185
+ /** @description Indicates that Engine by MoneyLion has determined that the user has an increased likelihood of being approved for this card. */
186
+ preSelected: boolean;
187
+ /**
188
+ * Format: double
189
+ * @description Percentage represented in decimal format added to all foreign transactions
190
+ */
191
+ foreignTransactionFee?: number;
192
+ cardBenefits?: components["schemas"]["CardBenefits"][];
193
+ };
194
+ DeduplicationConfiguration: {
195
+ /**
196
+ * Format: int64
197
+ * @description A unique, internal identifier for this resource.
198
+ */
199
+ id: number;
200
+ /**
201
+ * Format: int64
202
+ * @description The ID of the supply sub-account for this configuration.
203
+ */
204
+ supplySubAccountId: number;
205
+ /**
206
+ * Format: uuid
207
+ * @description The UUID of the supply sub-account for this configuration.
208
+ */
209
+ supplySubAccountUuid: string;
210
+ /**
211
+ * Format: int32
212
+ * @description The number of minutes to look back when looking for duplicate leads.
213
+ */
214
+ durationMinutes: number;
215
+ /**
216
+ * Format: date-time
217
+ * @description When the resource was created.
218
+ */
219
+ createdAt: string;
220
+ /**
221
+ * Format: uuid
222
+ * @description The UUID of the access token that was used to create this resource.
223
+ */
224
+ createdBy: string;
225
+ /**
226
+ * Format: date-time
227
+ * @description When the resource was deleted.
228
+ */
229
+ deletedAt?: string;
230
+ /**
231
+ * Format: uuid
232
+ * @description The UUID of the access token that was used to delete this resource.
233
+ */
234
+ deletedBy?: string;
235
+ };
236
+ /** @enum {string} */
237
+ DeduplicationConfigurationSort: "id" | "supplySubAccountId" | "durationMinutes" | "createdAt" | "deletedAt";
238
+ DemandPartner: {
239
+ /** Format: uuid */
240
+ uuid: string;
241
+ name: string;
242
+ description: string;
243
+ disclaimer: string;
244
+ supportsPreSelect: boolean;
245
+ shouldDisplayPreSelect: boolean;
246
+ /** @description Whether the partner supports returning pre-qualified or pre-approved offers */
247
+ supportsPersonalizedOffers: boolean;
248
+ /** Format: url */
249
+ imageUrl: string;
250
+ subtextOverride?: string;
251
+ };
252
+ /** @description An earning event which is based on spend or is over time */
253
+ EarningBonus: {
254
+ type: components["schemas"]["EarningBonusType"];
255
+ name: components["schemas"]["EarningBonusName"];
256
+ bonus: string;
257
+ redemptionValue: string;
258
+ requirement: string;
259
+ personalization?: components["schemas"]["BonusPersonalization"];
260
+ };
261
+ /** @enum {string} */
262
+ EarningBonusName: "Sign-Up Bonus" | "Anniversary Bonus" | "Annual Bonus" | "Usage Bonus";
263
+ /** @enum {string} */
264
+ EarningBonusType: "One Time" | "Recurring";
265
+ /** @description A context around a nuumber of earning groups, such as caps, tiers, etc */
266
+ EarningContext: {
267
+ type: components["schemas"]["EarningContextType"];
268
+ /** @description The earning groups relevent in this context */
269
+ groups: components["schemas"]["EarningGroup"][];
270
+ /** @description A phrase describing the context around the earning groups */
271
+ detail?: string;
272
+ /** @description A full sentence describing the context around the earning groups */
273
+ explaination?: string;
274
+ personalization?: components["schemas"]["EarningItemPersonalization"];
275
+ };
276
+ /**
277
+ * @description The type of context this is. Basic contexts have no details.
278
+ * @enum {string}
279
+ */
280
+ EarningContextType: "basic" | "calculation" | "introductory" | "rotating" | "capped";
281
+ /** @description A group of qualifiers which share the same default earn rate */
282
+ EarningGroup: {
283
+ /** @description Numerical representation of the earn rate for this group */
284
+ earnRate: number;
285
+ /** @description Display text for what the group earns */
286
+ earnRateText: string;
287
+ items: components["schemas"]["EarningItem"][];
288
+ personalization?: components["schemas"]["EarningItemPersonalization"];
289
+ };
290
+ /** @description An association of an earn rate and a qualifier, like a category or merchant */
291
+ EarningItem: {
292
+ type: components["schemas"]["EarningItemType"];
293
+ /** @description Numerical representation of the default earn rate per dollar spent of the item */
294
+ earnRate?: number;
295
+ personalization?: components["schemas"]["EarningItemPersonalization"];
296
+ /** @description An association of an earn rate and a category */
297
+ category?: components["schemas"]["MerchantCategory"];
298
+ /** @description An association of an earn rate and a merchant */
299
+ merchant?: components["schemas"]["Merchant"];
300
+ };
301
+ /** @description Personalized values calculated for a specific item, such as an earning group or bonus */
302
+ EarningItemPersonalization: {
303
+ /** @description The amount the user spent in dollars within a calendar year */
304
+ totalSpent?: number;
305
+ /** @description The amount of points/miles/dollars the user would have received within a calendar year */
306
+ totalEarned?: number;
307
+ /** @description The value in USD of the totalEarned amount based on the user's custom point valuation */
308
+ totalValue?: number;
309
+ };
310
+ /**
311
+ * @description Refers to the type (and schema) of the item
312
+ * @enum {string}
313
+ */
314
+ EarningItemType: "category" | "merchant" | "ebp" | "paymentMethod";
315
+ /** @description Reward earning data for the card */
316
+ EarningProgram: {
317
+ /** @description Grouped by earn rate, the rules that earn multipliers on each transaction */
318
+ transactionLevelEarningScheme: components["schemas"]["EarningContext"][];
319
+ /** @description Card level bonuses, such as sign-on and anniversary bonuses */
320
+ cardLevelEarningScheme: components["schemas"]["EarningBonus"][];
321
+ /** @description Annual value of this card for the user, only returned in a simulation */
322
+ personalization?: components["schemas"]["EarningProgramPersonalization"];
323
+ };
324
+ /** @description Annual value of this card for the user, only returned in a simulation */
325
+ EarningProgramPersonalization: {
326
+ /** @description The amount the user spent in dollars within a calendar year */
327
+ totalSpent?: number;
328
+ /** @description The amount of points/miles/dollars the user would have received within a calendar year */
329
+ totalEarned?: number;
330
+ /** @description The value in USD of the totalEarned amount based on the user's custom point valuation, minus fees */
331
+ totalValue?: number;
332
+ };
333
+ EducationInformation: {
334
+ educationLevel?: components["schemas"]["EducationLevel"];
335
+ graduateDegreeType?: components["schemas"]["GraduateDegreeType"];
336
+ /**
337
+ * @deprecated
338
+ * @description Name of university where a lead received their undergraduate degree.
339
+ * A lookup service for possible universities is available from using the /leads/universities endpoint.
340
+ * To maximize returned offers, this string must match one of the names returned from the lookup.
341
+ */
342
+ universityAttended?: string;
343
+ universityOpeId?: components["schemas"]["OpeId"];
344
+ /**
345
+ * Format: date
346
+ * @deprecated
347
+ * @description Date the lead graudated from undergrad (YYYY-MM-DD)
348
+ */
349
+ graduationDate?: string;
350
+ /**
351
+ * Format: date
352
+ * @description Lead's graduate school graduation date (YYYY-MM-DD)
353
+ */
354
+ graduateGraduationDate?: string;
355
+ /**
356
+ * Format: date
357
+ * @description Lead's last attended month/year for graduate school (YYYY-MM-DD)
358
+ */
359
+ graduateLastAttendedDate?: string;
360
+ /**
361
+ * @description Name of university where a lead received their graduate degree.
362
+ * A lookup service for possible universities is available from using the /leads/universities endpoint.
363
+ * To maximize returned offers, this string must match one of the names returned from the lookup.
364
+ */
365
+ graduateUniversityAttended?: string;
366
+ graduateUniversityOpeId?: components["schemas"]["OpeId"];
367
+ /**
368
+ * Format: date
369
+ * @description Date the lead graduated from undergrad (YYYY-MM-DD).
370
+ */
371
+ undergraduateGraduationDate?: string;
372
+ /**
373
+ * Format: date
374
+ * @description Lead's last attended month/year for undergrad (YYYY-MM-DD)
375
+ */
376
+ undergraduateLastAttendedDate?: string;
377
+ /**
378
+ * @description Name of university where a lead received their undergraduate degree.
379
+ * A lookup service for possible universities is available from using the /leads/universities endpoint.
380
+ * To maximize returned offers, this string must match one of the names returned from the lookup.
381
+ */
382
+ undergraduateUniversityAttended?: string;
383
+ undergraduateUniversityOpeId?: components["schemas"]["OpeId"];
384
+ };
385
+ /** @enum {string} */
386
+ EducationLevel: "high_school" | "associate" | "bachelors" | "masters" | "doctorate" | "other_grad_degree" | "certificate" | "did_not_graduate" | "still_enrolled" | "other";
387
+ /** Format: email */
388
+ Email: string;
389
+ EmploymentInformation: {
390
+ employerName?: string;
391
+ employerAddress?: string;
392
+ employerAddress2?: string;
393
+ employerCity?: string;
394
+ employerPhone?: string;
395
+ employerState?: string;
396
+ employerZip?: string;
397
+ jobTitle?: string;
398
+ /** Format: int32 */
399
+ monthsEmployed?: number;
400
+ /** @description Whether a `Lead` uses direct deposit for their salary */
401
+ directDeposit?: boolean;
402
+ /** Format: date */
403
+ payDate1?: string;
404
+ /** Format: date */
405
+ payDate2?: string;
406
+ /**
407
+ * Format: date
408
+ * @description The date the lead started working at their current employer (YYYY-MM-DD)
409
+ */
410
+ startDate?: string;
411
+ };
412
+ /** @enum {string} */
413
+ EmploymentPayFrequency: "weekly" | "biweekly" | "twice_monthly" | "monthly";
414
+ /** @enum {string} */
415
+ EmploymentStatus: "employed" | "employed_full_time" | "employed_part_time" | "military" | "not_employed" | "self_employed" | "retired" | "other";
416
+ /** @enum {string} */
417
+ FederalInsuranceType: "fdic" | "ncua";
418
+ FinancialInformation: {
419
+ employmentStatus?: components["schemas"]["EmploymentStatus"];
420
+ employmentPayFrequency?: components["schemas"]["EmploymentPayFrequency"];
421
+ /** Format: int32 */
422
+ annualIncome?: number;
423
+ /** Format: int32 */
424
+ monthlyNetIncome?: number;
425
+ bankName?: string;
426
+ bankRoutingNumber?: string;
427
+ bankAccountType?: components["schemas"]["BankAccountType"];
428
+ /** Format: int32 */
429
+ creditCardDebt?: number;
430
+ /** Format: int32 */
431
+ monthsAtBank?: number;
432
+ bankAccountNumber?: string;
433
+ /** Format: int32 */
434
+ monthlyDebt?: number;
435
+ /** Format: int32 */
436
+ totalAssets?: number;
437
+ /** Format: int32 */
438
+ monthlyHousingPayment?: number;
439
+ /** Format: int32 */
440
+ availableAssets?: number;
441
+ /**
442
+ * Format: int32
443
+ * @description The amount of additional income the lead recieves
444
+ */
445
+ additionalIncome?: number;
446
+ /** @description The frequency the lead recieves additional income */
447
+ additionalIncomeFrequency?: components["schemas"]["EmploymentPayFrequency"];
448
+ /** @description Do you have a direct deposit? */
449
+ hasDirectDeposit?: boolean;
450
+ /**
451
+ * Format: int32
452
+ * @description Approximate total unsecured debt in dollars
453
+ */
454
+ totalUnsecuredDebt?: number;
455
+ };
456
+ FinancialInformationRequest: {
457
+ employmentStatus?: components["schemas"]["EmploymentStatus"];
458
+ employmentPayFrequency?: components["schemas"]["EmploymentPayFrequency"];
459
+ /** Format: int32 */
460
+ annualIncome?: number;
461
+ /** Format: int32 */
462
+ monthlyNetIncome?: number;
463
+ bankName?: string;
464
+ bankRoutingNumber?: string;
465
+ bankAccountType?: components["schemas"]["BankAccountType"];
466
+ /** Format: int32 */
467
+ creditCardDebt?: number;
468
+ /** Format: int32 */
469
+ monthsAtBank?: number;
470
+ bankAccountNumber?: string;
471
+ /** Format: int32 */
472
+ monthlyDebt?: number;
473
+ /** Format: int32 */
474
+ totalAssets?: number;
475
+ /** Format: int32 */
476
+ monthlyHousingPayment?: number;
477
+ /** Format: int32 */
478
+ availableAssets?: number;
479
+ /**
480
+ * Format: int32
481
+ * @description The amount of additional income the lead recieves
482
+ */
483
+ additionalIncome?: number;
484
+ /** @description The frequency the lead recieves additional income */
485
+ additionalIncomeFrequency?: components["schemas"]["EmploymentPayFrequency"];
486
+ /** @description Do you have a direct deposit? */
487
+ hasDirectDeposit?: boolean;
488
+ /**
489
+ * Format: int32
490
+ * @description Approximate total unsecured debt in dollars
491
+ */
492
+ totalUnsecuredDebt?: number;
493
+ };
494
+ FinancialInformationResponse: {
495
+ employmentStatus?: components["schemas"]["EmploymentStatus"];
496
+ employmentPayFrequency?: components["schemas"]["EmploymentPayFrequency"];
497
+ /** Format: int32 */
498
+ annualIncome?: number;
499
+ /** Format: int32 */
500
+ monthlyNetIncome?: number;
501
+ bankName?: string;
502
+ bankRoutingNumber?: string;
503
+ bankAccountType?: components["schemas"]["BankAccountType"];
504
+ /** Format: int32 */
505
+ creditCardDebt?: number;
506
+ /** Format: int32 */
507
+ monthsAtBank?: number;
508
+ bankAccountNumber?: string;
509
+ /** Format: int32 */
510
+ monthlyDebt?: number;
511
+ /** Format: int32 */
512
+ totalAssets?: number;
513
+ /** Format: int32 */
514
+ monthlyHousingPayment?: number;
515
+ /** Format: int32 */
516
+ availableAssets?: number;
517
+ /**
518
+ * Format: int32
519
+ * @description The amount of additional income the lead recieves
520
+ */
521
+ additionalIncome?: number;
522
+ /** @description The frequency the lead recieves additional income */
523
+ additionalIncomeFrequency?: components["schemas"]["EmploymentPayFrequency"];
524
+ /** @description Do you have a direct deposit? */
525
+ hasDirectDeposit?: boolean;
526
+ /**
527
+ * Format: int32
528
+ * @description Approximate total unsecured debt in dollars
529
+ */
530
+ totalUnsecuredDebt?: number;
531
+ bankAccountNumberHash?: string;
532
+ };
533
+ /** @enum {string} */
534
+ IdType: "driver_license" | "state_id" | "passport";
535
+ IncentiveDetails: {
536
+ /** Format: double */
537
+ amount: number;
538
+ unit: components["schemas"]["IncentiveUnit"];
539
+ display: string;
540
+ type: components["schemas"]["IncentiveType"];
541
+ };
542
+ /**
543
+ * @description Unit of measure for incentives.
544
+ *
545
+ * @enum {string}
546
+ */
547
+ IncentiveType: "cash_back" | "other";
548
+ /**
549
+ * @description Unit of measure for incentives.
550
+ *
551
+ * @enum {string}
552
+ */
553
+ IncentiveUnit: "usd" | "other";
554
+ /** @enum {string} */
555
+ Gender: "male" | "female";
556
+ /** @enum {string} */
557
+ GraduateDegreeType: "doctor_of_medicine" | "doctor_of_osteopathic_medicine" | "doctor_of_optometry" | "doctor_of_dental_medicine" | "dentariae_medicinae_doctoris" | "doctor_of_dental_surgery" | "doctor_of_veterinary_medicine" | "doctor_of_pharmacy" | "veterinariae_medicinae_doctoris" | "master_of_arts" | "master_of_science" | "master_of_research" | "master_of_research_project" | "master_of_studies" | "master_of_business_administration" | "master_of_library_science" | "master_of_public_administration" | "master_of_public_health" | "master_of_laws" | "master_of_arts_liberal_studies" | "master_of_fine_arts" | "master_of_music" | "master_of_education" | "master_of_engineering" | "master_of_architecture" | "juris_doctor" | "other";
558
+ HealthInformation: {
559
+ gender?: components["schemas"]["Gender"];
560
+ /** Format: int32 */
561
+ heightInInches?: number;
562
+ /** Format: int32 */
563
+ weightInPounds?: number;
564
+ tobaccoSmoker?: boolean;
565
+ };
566
+ IdentificationInformation: {
567
+ /** @description The ID number supplied by the lead */
568
+ idNumber?: string;
569
+ /** @description The state of issue of the supplied ID */
570
+ idState?: string;
571
+ /** @description The form of the ID number supplied by the lead */
572
+ idType?: components["schemas"]["IdType"];
573
+ };
574
+ LeadAction: {
575
+ /** Format: uuid */
576
+ uuid: string;
577
+ actionType: components["schemas"]["LeadActionType"];
578
+ /** Format: date-time */
579
+ actionDate: string;
580
+ originatorKey?: string;
581
+ /** Format: int64 */
582
+ demandSubAccountId: number;
583
+ rejectReason?: components["schemas"]["LeadActionRejectReason"];
584
+ /** Format: int32 */
585
+ amount?: number;
586
+ /** Format: int32 */
587
+ originationFee?: number;
588
+ /** Format: int64 */
589
+ offerClickId?: number;
590
+ /** Format: date-time */
591
+ createdAt: string;
592
+ /** Format: date-time */
593
+ deletedAt?: string;
594
+ };
595
+ /** @enum {string} */
596
+ LeadActionRejectReason: "low_fico" | "no_fico" | "major_derogatory" | "underwriting_decline" | "debt_to_income_ratio" | "not_in_active_state" | "incorrect_data_provided" | "duplicate";
597
+ /** @enum {string} */
598
+ LeadActionType: "initialized" | "api_rejected" | "api_approved" | "api_listing" | "clicked_referral_link" | "clicked_special_offer_link" | "special_offer_conversion" | "applied" | "rejected" | "approved" | "listed" | "funded" | "not_funded" | "clicked_credit_card_offer_link" | "clicked_mortgage_offer_link" | "clicked_savings_offer_link" | "lender_qualified_lead";
599
+ LeadClientTag: {
600
+ /**
601
+ * Format: int64
602
+ * @description A unique, internal identifier for this resource.
603
+ */
604
+ id: number;
605
+ /**
606
+ * Format: uuid
607
+ * @description The UUID of the associated lead.
608
+ */
609
+ leadUuid: string;
610
+ /** @description The tag key. */
611
+ key: string;
612
+ /** @description The tag value. */
613
+ value: string;
614
+ /**
615
+ * Format: date-time
616
+ * @description When the client tag was created.
617
+ */
618
+ createdAt: string;
619
+ /**
620
+ * Format: date-time
621
+ * @description When the client tag was deleted.
622
+ */
623
+ deletedAt?: string;
624
+ };
625
+ /**
626
+ * @example {
627
+ * "summary": "A lead request",
628
+ * "value": {
629
+ * "productTypes": [
630
+ * "loan",
631
+ * "savings"
632
+ * ],
633
+ * "personalInformation": {
634
+ * "firstName": "John",
635
+ * "lastName": "Doe",
636
+ * "email": "john@example.com",
637
+ * "city": "New York",
638
+ * "state": "NY",
639
+ * "workPhone": "2125551234",
640
+ * "primaryPhone": "2125556789",
641
+ * "address1": "45 West 21st Street",
642
+ * "address2": "5th Floor",
643
+ * "zipcode": "10010",
644
+ * "monthsAtAddress": 5,
645
+ * "driversLicenseNumber": "111222333",
646
+ * "driversLicenseState": "NY",
647
+ * "ipAddress": "8.8.8.8",
648
+ * "activeMilitary": false,
649
+ * "militaryVeteran": true,
650
+ * "dateOfBirth": "1993-10-09",
651
+ * "ssn": "111-22-3333"
652
+ * },
653
+ * "loanInformation": {
654
+ * "purpose": "debt_consolidation",
655
+ * "loanAmount": 10000
656
+ * },
657
+ * "mortgageInformation": {
658
+ * "propertyType": "condo",
659
+ * "propertyStatus": "own_with_mortgage",
660
+ * "propertyValue": 200000,
661
+ * "mortgageBalance": 10000,
662
+ * "lenderName": "Bank OF NY",
663
+ * "hasFHALoan": true,
664
+ * "currentWithLoan": true
665
+ * },
666
+ * "creditCardInformation": {
667
+ * "allowAnnualFee": true,
668
+ * "cardPurposes": [
669
+ * "travel_incentives"
670
+ * ]
671
+ * },
672
+ * "savingsInformation": {
673
+ * "minDepositAmount": 1000
674
+ * },
675
+ * "creditInformation": {
676
+ * "providedCreditRating": "excellent",
677
+ * "providedNumericCreditScore": 750
678
+ * },
679
+ * "financialInformation": {
680
+ * "creditCardDebt": 5000,
681
+ * "employmentStatus": "employed",
682
+ * "employmentPayFrequency": "weekly",
683
+ * "annualIncome": 120000,
684
+ * "monthlyNetIncome": 10000,
685
+ * "bankName": "Santander",
686
+ * "bankRoutingNumber": "231372691",
687
+ * "bankAccountType": "savings",
688
+ * "monthsAtBank": 10,
689
+ * "bankAccountNumber": "1234567890"
690
+ * },
691
+ * "employmentInformation": {
692
+ * "employerName": "Engine by MoneyLion",
693
+ * "employerAddress": "45 W 21st St",
694
+ * "employerCity": "New York",
695
+ * "employerState": "NY",
696
+ * "employerZip": "10010",
697
+ * "jobTitle": "Software Engineer",
698
+ * "monthsEmployed": 14,
699
+ * "directDeposit": true,
700
+ * "payDate1": "2004-10-06",
701
+ * "payDate2": "2004-11-06"
702
+ * },
703
+ * "educationInformation": {
704
+ * "educationLevel": "masters",
705
+ * "graduateDegreeType": "master_of_science",
706
+ * "universityAttended": "Johns Hopkins University"
707
+ * },
708
+ * "coApplicantInformation": {
709
+ * "firstName": "Jane",
710
+ * "lastName": "Doe",
711
+ * "dateOfBirth": "1984-03-06",
712
+ * "annualIncome": 100000,
713
+ * "streetAddress1": "45 West 21st Street",
714
+ * "streetAddress2": "5th Floor",
715
+ * "city": "New York",
716
+ * "state": "NY",
717
+ * "zipcode": "10010"
718
+ * },
719
+ * "healthInformation": {
720
+ * "gender": "male",
721
+ * "heightInInches": 72,
722
+ * "weightInPounds": 195,
723
+ * "tobaccoSmoker": false
724
+ * },
725
+ * "autoInsuranceInformation": {
726
+ * "numberOfVehicles": 1,
727
+ * "hasAutoInsurance": true
728
+ * },
729
+ * "legalInformation": {
730
+ * "consentsToFcra": true,
731
+ * "consentsToTcpa": true,
732
+ * "fcraLanguage": "By checking this box/clicking 'agree' I hereby consent to the 'E-Sign Agreement', the 'Credit Authorization Agreement', the Terms of Service and Privacy Policy, and I am providing written consent under the Fair Credit Reporting Act (FCRA) for [Engine by MoneyLion and/or Insert Company Name], its partners and financial institutions to obtain consumer report information from my credit profile. I request that my information be provided to their partners, lenders, and financial services partners to provide me with financial recommendations, which may also include debt relief, credit repair, credit monitoring or other related services",
733
+ * "tcpaLanguage": "I agree to be contacted by [Engine by MoneyLion and/or Insert Company Name] its partners and their affiliated companies and financial institutions via email, postal mail service and/or at the telephone number(s) I have provided above to explore various financial products and services I inquired about, including contact through automatic dialing systems, artificial or pre-recorded voice messaging, or text message. Consent is not required as a condition to utilize the service, and you may choose to be contacted by an individual customer care representative(s) by calling XXXXX or emailing XXXX"
734
+ * },
735
+ * "clientTags": {
736
+ * "hello": [
737
+ * "world",
738
+ * "there"
739
+ * ],
740
+ * "something": [
741
+ * "else"
742
+ * ]
743
+ * }
744
+ * }
745
+ * }
746
+ */
747
+ LeadRequest: {
748
+ /** @description Product types in which the `Lead` is interested */
749
+ productTypes?: components["schemas"]["ProductType"][];
750
+ /**
751
+ * Format: uuid
752
+ * @description Primary UUID for a `Lead`
753
+ */
754
+ uuid?: string;
755
+ /**
756
+ * Format: uuid
757
+ * @description UUID used to link leads across verticals, unique per user per supply sub-account
758
+ */
759
+ sessionUuid?: string;
760
+ /**
761
+ * Format: uuid
762
+ * @description Unique identifier for the lead's device.
763
+ */
764
+ deviceId?: string;
765
+ /**
766
+ * Format: uuid
767
+ * @description The UUID of the profile that this lead belongs to.
768
+ */
769
+ profileUuid?: string;
770
+ loanInformation?: components["schemas"]["LoanInformation"];
771
+ personalInformation?: components["schemas"]["PersonalInformationRequest"];
772
+ personalReferenceInformation?: components["schemas"]["PersonalReferenceInformation"];
773
+ mortgageInformation?: components["schemas"]["MorgageInformation"];
774
+ creditCardInformation?: components["schemas"]["CreditCardInformation"];
775
+ savingsInformation?: components["schemas"]["SavingsInformation"];
776
+ creditInformation?: components["schemas"]["CreditInformation"];
777
+ financialInformation?: components["schemas"]["FinancialInformationRequest"];
778
+ employmentInformation?: components["schemas"]["EmploymentInformation"];
779
+ legalInformation?: components["schemas"]["LegalInformation"];
780
+ educationInformation?: components["schemas"]["EducationInformation"];
781
+ coApplicantInformation?: components["schemas"]["CoApplicantInformation"];
782
+ healthInformation?: components["schemas"]["HealthInformation"];
783
+ vehicleInformation?: components["schemas"]["VehicleInformation"];
784
+ lifeInsuranceInformation?: components["schemas"]["LifeInsuranceInformation"];
785
+ autoInsuranceInformation?: components["schemas"]["AutoInsuranceInformation"];
786
+ /** @description One or more loans that the lead wishes to refinance or consolidate */
787
+ refinanceLoans?: components["schemas"]["RefinanceLoanInformation"][];
788
+ identificationInformation?: components["schemas"]["IdentificationInformation"];
789
+ clientTags?: components["schemas"]["ClientTags"];
790
+ sessionInformation?: components["schemas"]["SessionInformation"];
791
+ /**
792
+ * @deprecated
793
+ * @description Whether the `Lead` has completed an application form
794
+ */
795
+ formCompleted?: boolean;
796
+ /**
797
+ * Format: uuid
798
+ * @deprecated
799
+ * @description UUID of company from which the `Lead` was referred
800
+ */
801
+ referralCompanyUuid?: string;
802
+ /**
803
+ * Format: uuid
804
+ * @deprecated
805
+ * @description UUID for internal Engine by MoneyLion tracking purposes. This field should never be set by 3rd party API consumers
806
+ */
807
+ trackingUuid?: string;
808
+ };
809
+ LeadRequestOfferCatalog: {
810
+ /** @description Product types in which the `Lead` is interested */
811
+ productTypes?: string[];
812
+ /**
813
+ * Format: uuid
814
+ * @description Primary UUID for a `Lead`
815
+ */
816
+ uuid?: string;
817
+ /**
818
+ * Format: uuid
819
+ * @description UUID used to link leads across verticals, unique per user per supply sub-account
820
+ */
821
+ sessionUuid?: string;
822
+ /**
823
+ * Format: uuid
824
+ * @description Unique identifier for the lead's device.
825
+ */
826
+ deviceId?: string;
827
+ /**
828
+ * Format: uuid
829
+ * @description The UUID of the profile that this lead belongs to.
830
+ */
831
+ profileUuid?: string;
832
+ loanInformation?: components["schemas"]["LoanInformation"];
833
+ personalInformation?: components["schemas"]["PersonalInformationRequest"];
834
+ personalReferenceInformation?: components["schemas"]["PersonalReferenceInformation"];
835
+ mortgageInformation?: components["schemas"]["MorgageInformation"];
836
+ creditCardInformation?: components["schemas"]["CreditCardInformation"];
837
+ savingsInformation?: components["schemas"]["SavingsInformation"];
838
+ creditInformation?: components["schemas"]["CreditInformation"];
839
+ financialInformation?: components["schemas"]["FinancialInformationRequest"];
840
+ employmentInformation?: components["schemas"]["EmploymentInformation"];
841
+ legalInformation?: components["schemas"]["LegalInformation"];
842
+ educationInformation?: components["schemas"]["EducationInformation"];
843
+ coApplicantInformation?: components["schemas"]["CoApplicantInformation"];
844
+ healthInformation?: components["schemas"]["HealthInformation"];
845
+ vehicleInformation?: components["schemas"]["VehicleInformation"];
846
+ autoInsuranceInformation?: components["schemas"]["AutoInsuranceInformation"];
847
+ lifeInsuranceInformation?: components["schemas"]["LifeInsuranceInformation"];
848
+ /** @description One or more loans that the lead wishes to refinance or consolidate */
849
+ refinanceLoans?: components["schemas"]["RefinanceLoanInformation"][];
850
+ identificationInformation?: components["schemas"]["IdentificationInformation"];
851
+ clientTags?: components["schemas"]["ClientTags"];
852
+ sessionInformation?: components["schemas"]["SessionInformation"];
853
+ };
854
+ LeadResponse: {
855
+ /** @description Product types in which the `Lead` is interested */
856
+ productTypes?: components["schemas"]["ProductType"][];
857
+ /** @description Limits results to leads that have the specified productTypes from the Product catalog */
858
+ offerCatalogProductTypes?: string[];
859
+ productTypesHistory: components["schemas"]["ProductTypeHistory"][];
860
+ /** @description Name of company which provided the lead */
861
+ leadProviderName: string;
862
+ personalInformation?: components["schemas"]["PersonalInformationResponse"];
863
+ personalReferenceInformation?: components["schemas"]["PersonalReferenceInformation"];
864
+ loanInformation?: components["schemas"]["LoanInformation"];
865
+ mortgageInformation?: components["schemas"]["MorgageInformation"];
866
+ creditCardInformation?: components["schemas"]["CreditCardInformation"];
867
+ savingsInformation?: components["schemas"]["SavingsInformation"];
868
+ creditInformation?: components["schemas"]["CreditInformation"];
869
+ financialInformation?: components["schemas"]["FinancialInformationResponse"];
870
+ employmentInformation?: components["schemas"]["EmploymentInformation"];
871
+ legalInformation?: components["schemas"]["LegalInformation"];
872
+ educationInformation?: components["schemas"]["EducationInformation"];
873
+ coApplicantInformation?: components["schemas"]["CoApplicantInformation"];
874
+ healthInformation?: components["schemas"]["HealthInformation"];
875
+ identificationInformation?: components["schemas"]["IdentificationInformation"];
876
+ lifeInsuranceInformation?: components["schemas"]["LifeInsuranceInformation"];
877
+ vehicleInformation?: components["schemas"]["VehicleInformation"];
878
+ autoInsuranceInformation?: components["schemas"]["AutoInsuranceInformation"];
879
+ refinanceLoans?: components["schemas"]["RefinanceLoanInformation"][];
880
+ clientTags?: components["schemas"]["ClientTags"];
881
+ sessionInformation?: components["schemas"]["SessionInformation"];
882
+ leadActions?: components["schemas"]["LeadAction"][];
883
+ /**
884
+ * Format: uuid
885
+ * @description Primary UUID for a `Lead`
886
+ */
887
+ uuid: string;
888
+ /**
889
+ * Format: uuid
890
+ * @description UUID for a company which created the `Lead`
891
+ */
892
+ companyUUID: string;
893
+ /**
894
+ * Format: uuid
895
+ * @description UUID used to link leads across verticals, unique per user per supply sub-account
896
+ */
897
+ sessionUuid?: string;
898
+ /**
899
+ * Format: uuid
900
+ * @description Unique identifier for the lead's device.
901
+ */
902
+ deviceId?: string;
903
+ /**
904
+ * Format: uuid
905
+ * @description The UUID of the profile that this lead belongs to.
906
+ */
907
+ profileUuid?: string;
908
+ /**
909
+ * Format: uuid
910
+ * @deprecated
911
+ */
912
+ referralCompanyUuid?: string;
913
+ /** Format: uuid */
914
+ trackingUuid?: string;
915
+ /** @description Whether a `Lead` was created using a test access token */
916
+ isTest: boolean;
917
+ /** @description The furthest step of the funnel a `Lead` has reached */
918
+ status: components["schemas"]["LeadActionType"];
919
+ /** Format: date-time */
920
+ createdAt: string;
921
+ /** Format: date-time */
922
+ updatedAt: string;
923
+ /** Format: int64 */
924
+ supplySubAccountId: number;
925
+ };
926
+ LeadResponseWrapper: {
927
+ leads: components["schemas"]["LeadResponse"][];
928
+ /** Format: int32 */
929
+ offset: number;
930
+ /** Format: int32 */
931
+ limit: number;
932
+ };
933
+ LeadSummary: {
934
+ /**
935
+ * Format: uuid
936
+ * @description A unique identifier for this resource.
937
+ */
938
+ uuid: string;
939
+ /** @description Product types in which the `Lead` is interested */
940
+ productTypes?: components["schemas"]["ProductType"][];
941
+ /**
942
+ * Format: uuid
943
+ * @description The UUID of the supply sub-account for this configuration.
944
+ */
945
+ supplySubAccountUuid?: string;
946
+ /** Format: uuid */
947
+ sessionUuid?: string;
948
+ /**
949
+ * Format: uuid
950
+ * @description Unique identifier for the lead's device.
951
+ */
952
+ deviceId?: string;
953
+ /** Format: uuid */
954
+ profileUuid?: string;
955
+ /** @description Whether a `Lead` was created using a test access token */
956
+ isTest: boolean;
957
+ /**
958
+ * Format: int64
959
+ * @description Number of rate tables for this lead
960
+ */
961
+ rateTableCount: number;
962
+ /**
963
+ * Format: int64
964
+ * @description Number of rate tables with offers for this lead
965
+ */
966
+ rateTableWithOfferCount: number;
967
+ /**
968
+ * Format: date-time
969
+ * @description When the resource was created.
970
+ */
971
+ createdAt: string;
972
+ /**
973
+ * Format: date-time
974
+ * @description When the resource was last updated.
975
+ */
976
+ updatedAt: string;
977
+ };
978
+ LeadSummaryWrapper: {
979
+ leads: components["schemas"]["LeadSummary"][];
980
+ /** Format: int32 */
981
+ offset: number;
982
+ /** Format: int32 */
983
+ limit: number;
984
+ };
985
+ LeadSurveyResult: {
986
+ /**
987
+ * Format: int64
988
+ * @description A unique, internal identifier for this resource.
989
+ */
990
+ id: number;
991
+ /**
992
+ * Format: uuid
993
+ * @description The UUID for the lead for the results.
994
+ */
995
+ leadUuid: string;
996
+ /** @description The recorded results of the survey. */
997
+ results: string;
998
+ surveyKey: components["schemas"]["SurveyKey"];
999
+ submittedFrom: components["schemas"]["SubmittedFrom"];
1000
+ /**
1001
+ * Format: date-time
1002
+ * @description When the resource was created.
1003
+ */
1004
+ createdAt: string;
1005
+ };
1006
+ LeadSurveyResultCreateData: {
1007
+ /**
1008
+ * Format: uuid
1009
+ * @description The uuid of the lead the survey result belongs to.
1010
+ */
1011
+ leadUuid: string;
1012
+ /** @description The recorded results of the survey. */
1013
+ results: string;
1014
+ surveyKey: components["schemas"]["SurveyKey"];
1015
+ submittedFrom: components["schemas"]["SubmittedFrom"];
1016
+ };
1017
+ /** @enum {string} */
1018
+ LeadSurveyResultSortBy: "id" | "surveyKey" | "results";
1019
+ LeadUuid: {
1020
+ /**
1021
+ * Format: uuid
1022
+ * @description UUID corresponding to the created `Lead`
1023
+ */
1024
+ uuid: string;
1025
+ };
1026
+ /** @description Information regarding a `Lead`'s communication concent */
1027
+ LegalInformation: {
1028
+ /** @description Whether the lead was shown, and consented to a Fair Credit Reporting Act notice */
1029
+ consentsToFcra?: boolean;
1030
+ /** @description The lead agrees to recieve SMS text messages from the Financial Institution */
1031
+ consentsToSms?: boolean;
1032
+ /** @description Whether the lead was shown, and consented to a Telephone Consumer Protection Act notice */
1033
+ consentsToTcpa?: boolean;
1034
+ /** @description The exact FCRA language to which the lead consented */
1035
+ fcraLanguage?: string;
1036
+ /** @description The exact TCPA language to which the lead consented */
1037
+ tcpaLanguage?: string;
1038
+ };
1039
+ /**
1040
+ * Life insurance information
1041
+ * @description Life insurance information
1042
+ */
1043
+ LifeInsuranceInformation: {
1044
+ /**
1045
+ * Format: uuid
1046
+ * @description Carrier UUID of the policy
1047
+ */
1048
+ carrierUuid?: string;
1049
+ /**
1050
+ * Format: int32
1051
+ * @description Duration, in years
1052
+ */
1053
+ duration?: number;
1054
+ /**
1055
+ * Format: int32
1056
+ * @description Policy amount, in dollars
1057
+ */
1058
+ policyAmount?: number;
1059
+ packageTypes?: components["schemas"]["PackageType"][];
1060
+ };
1061
+ /** @description An offer for a life insurance lead */
1062
+ LifeInsuranceOffer: WithRequired<{
1063
+ details: components["schemas"]["LifeInsuranceOfferDetails"];
1064
+ } & components["schemas"]["Offer"], "details">;
1065
+ LifeInsuranceOfferDetails: {
1066
+ /**
1067
+ * Format: int64
1068
+ * @description Policy amount, in dollars
1069
+ */
1070
+ policyAmount: number;
1071
+ /** Format: int64 */
1072
+ termLength?: number;
1073
+ termUnit?: components["schemas"]["LoanTermUnit"];
1074
+ /** @description Monthly premium amount, in dollars */
1075
+ monthlyPremiumAmount: number;
1076
+ /** @description Annual premium amount, in dollars */
1077
+ annualPremiumAmount?: number;
1078
+ /** @description Semi-annual premium amount, in dollars */
1079
+ semiAnnualPremiumAmount?: number;
1080
+ /** @description Online application is available */
1081
+ onlineAppAvailable?: boolean;
1082
+ noMedicalTest?: boolean;
1083
+ packageType?: components["schemas"]["PackageType"];
1084
+ /** @description Policy is recommended */
1085
+ recommended?: boolean;
1086
+ medicalExam?: components["schemas"]["MedicalExam"];
1087
+ /** @description The name of policy */
1088
+ policyName?: string;
1089
+ carrierDecisionType?: components["schemas"]["CarrierDecisionType"];
1090
+ partnerQuoteId?: string;
1091
+ convertToPermanent?: boolean;
1092
+ childRider?: string;
1093
+ acceleratedDeathBenefit?: boolean;
1094
+ waiverOfPremium?: string;
1095
+ isOnlineApplication?: boolean;
1096
+ deliveryMethod?: string;
1097
+ examRequired?: string;
1098
+ };
1099
+ LoanInformation: {
1100
+ purpose?: components["schemas"]["LoanPurpose"];
1101
+ /** Format: int32 */
1102
+ loanAmount?: number;
1103
+ };
1104
+ LoanOffer: {
1105
+ /** Format: uuid */
1106
+ uuid: string;
1107
+ productType: components["schemas"]["ProductType"];
1108
+ productSubType: components["schemas"]["ProductSubType"];
1109
+ productSubTypeDisclaimer?: string;
1110
+ /** Format: url */
1111
+ url?: string;
1112
+ originator: components["schemas"]["Originator"];
1113
+ originatorId?: string;
1114
+ preQualified: boolean;
1115
+ preApproved: boolean;
1116
+ secured: boolean;
1117
+ coApplicant: boolean;
1118
+ /** @deprecated */
1119
+ sponsored: boolean;
1120
+ /** Format: int32 */
1121
+ maxAmount: number;
1122
+ /** Format: int32 */
1123
+ minAmount?: number;
1124
+ /** Format: int32 */
1125
+ termLength?: number;
1126
+ termUnit?: components["schemas"]["LoanTermUnit"];
1127
+ displayTermUnit?: string;
1128
+ termDescription?: string;
1129
+ maxApr?: number;
1130
+ minApr?: number;
1131
+ meanApr?: number;
1132
+ aprType: components["schemas"]["AprType"];
1133
+ aprDescription?: string;
1134
+ /**
1135
+ * @deprecated
1136
+ * @description The maximum percent of loan amount fee for an offer. `maxFeeRate` should be used instead
1137
+ */
1138
+ feeRate?: number;
1139
+ maxFeeRate?: number;
1140
+ minFeeRate?: number;
1141
+ /**
1142
+ * @deprecated
1143
+ * @description The maximum fee, in dollars, for an offer. `maxFeeFixed` should be used instead
1144
+ */
1145
+ feeFixed?: number;
1146
+ maxFeeFixed?: number;
1147
+ minFeeFixed?: number;
1148
+ allowPrepayment: boolean;
1149
+ prepaymentFee?: number;
1150
+ /**
1151
+ * @deprecated
1152
+ * @description The estimated maximum monthly payment, in dollars, for an offer. `maxMonthlyPayment` should be used instead
1153
+ */
1154
+ monthlyPayment?: number;
1155
+ maxMonthlyPayment?: number;
1156
+ minMonthlyPayment?: number;
1157
+ monthlyPaymentDescription?: string;
1158
+ meanMonthlyPayment?: number;
1159
+ maxTotalPayment?: number;
1160
+ minTotalPayment?: number;
1161
+ meanTotalPayment?: number;
1162
+ recommendationScore?: number;
1163
+ payout?: number;
1164
+ conversionProbability?: number;
1165
+ terms?: string;
1166
+ /** @description Some loan offers require a prefix (e.g. `up to*`) to be displayed to the left of the displayed loan amount. This is a nullable field that may be up to six characters long. */
1167
+ amountPrefix?: string;
1168
+ };
1169
+ /** @enum {string} */
1170
+ LoanPurpose: "auto" | "auto_purchase" | "auto_refinance" | "baby" | "boat" | "business" | "car_repair" | "cosmetic" | "credit_card_refi" | "debt_consolidation" | "emergency" | "engagement" | "green" | "home_improvement" | "home_purchase" | "home_refi" | "household_expenses" | "large_purchases" | "life_event" | "medical_dental" | "motorcycle" | "moving_relocation" | "other" | "rv" | "special_occasion" | "student_loan" | "student_loan_refi" | "taxes" | "unknown" | "vacation" | "wedding";
1171
+ /**
1172
+ * @description Unit of measure for offer term lengths, or open for a single term.
1173
+ *
1174
+ * @enum {string}
1175
+ */
1176
+ LoanTermUnit: "day" | "month" | "year" | "open";
1177
+ /** @description Make of the vehicle. Must be a valid NADA make for the given year. */
1178
+ Make: string;
1179
+ /**
1180
+ * @description Medical exam requirement
1181
+ * @enum {string}
1182
+ */
1183
+ MedicalExam: "no_exam_if_qualified" | "no_exam_guaranteed" | "exam_required";
1184
+ /** @description A business or store that is affiliated with a credit card earning program */
1185
+ Merchant: {
1186
+ /** Format: uuid */
1187
+ uuid?: string;
1188
+ /** @description The merchant's name */
1189
+ name?: string;
1190
+ /** @description Logo URL */
1191
+ logo?: string;
1192
+ category?: components["schemas"]["MerchantCategory"];
1193
+ };
1194
+ /** @description A Category */
1195
+ MerchantCategory: {
1196
+ /** Format: uuid */
1197
+ uuid?: string;
1198
+ /** @description A detailed name for the category */
1199
+ name?: string;
1200
+ /** @description A more user friendly name for the category */
1201
+ displayName?: string;
1202
+ /** @description Sentence friendly */
1203
+ phrase?: string;
1204
+ };
1205
+ /** @description Model of the vehicle. Must be a valid NADA model for the given make and year. */
1206
+ Model: string;
1207
+ /** @enum {string} */
1208
+ MorgageAdjustmentType: "credits" | "par" | "points";
1209
+ MorgageInformation: {
1210
+ propertyType?: components["schemas"]["MortgagePropertyType"];
1211
+ /** Format: int32 */
1212
+ propertyValue?: number;
1213
+ /** Format: int32 */
1214
+ mortgageBalance?: number;
1215
+ lenderName?: string;
1216
+ hasFHALoan?: boolean;
1217
+ currentWithLoan?: boolean;
1218
+ propertyStatus?: components["schemas"]["MortgagePropertyStatus"];
1219
+ mortgageType?: components["schemas"]["MortgageType"];
1220
+ /**
1221
+ * Format: int32
1222
+ * @description Amount the lead will borrow
1223
+ */
1224
+ mortgageAmount?: number;
1225
+ /** Format: int32 */
1226
+ downPaymentAmount?: number;
1227
+ propertyState?: string;
1228
+ propertyCounty?: string;
1229
+ /** @description Street address (primary address line) */
1230
+ propertyAddress1?: string;
1231
+ /** @description Secondary address line */
1232
+ propertyAddress2?: string;
1233
+ propertyZipcode?: string;
1234
+ propertyCity?: string;
1235
+ /**
1236
+ * Format: int32
1237
+ * @description Amount the lead will borrow for refinancing an existing mortgage
1238
+ */
1239
+ refinanceAmount?: number;
1240
+ /**
1241
+ * Format: int32
1242
+ * @description Additional amount the lead will borrow against existing home equity in the case of refinance
1243
+ */
1244
+ cashOutAmount?: number;
1245
+ occupancyType?: components["schemas"]["MortgageOccupancyType"];
1246
+ refinanceType?: components["schemas"]["MortgageRefinanceType"];
1247
+ propertySearchStatus?: components["schemas"]["MortgagePropertySearchStatus"];
1248
+ /**
1249
+ * Format: int32
1250
+ * @description The number of legal units on the property
1251
+ */
1252
+ numUnits?: number;
1253
+ /** Format: date */
1254
+ closingDate?: string;
1255
+ purchaseStatus?: components["schemas"]["MortgagePurchaseStatus"];
1256
+ /** Format: date */
1257
+ purchaseDate?: string;
1258
+ /**
1259
+ * Format: float
1260
+ * @description The amount of the HOA fee for the lead
1261
+ */
1262
+ monthlyHoaFee?: number;
1263
+ /** @description The name of the company holding the lead's mortgage */
1264
+ mortgageCompany?: string;
1265
+ /**
1266
+ * Format: float
1267
+ * @description The amount of escrow the lead pays
1268
+ */
1269
+ mortgageEscrowAmount?: number;
1270
+ };
1271
+ /** @enum {string} */
1272
+ MorgageLoanType: "fifteen_year_fixed" | "thirty_year_fixed" | "five_one_adjustable" | "seven_one_adjustable" | "ten_one_adjustable";
1273
+ /** @enum {string} */
1274
+ MortgageOccupancyType: "primary" | "secondary" | "investment";
1275
+ /** @description An offer for a mortgage */
1276
+ MortgageOffer: WithRequired<{
1277
+ details: components["schemas"]["MortgageOfferDetails"];
1278
+ } & components["schemas"]["Offer"], "details">;
1279
+ MortgageOfferDetails: {
1280
+ interestRate: number;
1281
+ loanType: components["schemas"]["MorgageLoanType"];
1282
+ priceAdjustment: number;
1283
+ monthlyPayment: number;
1284
+ netClosingCosts: number;
1285
+ apr: number;
1286
+ /** Format: int32 */
1287
+ loanTerm: number;
1288
+ adjustmentType: components["schemas"]["MorgageAdjustmentType"];
1289
+ };
1290
+ /** @enum {string} */
1291
+ MortgagePropertySearchStatus: "found" | "not_found";
1292
+ /** @enum {string} */
1293
+ MortgagePropertyStatus: "own_outright" | "own_with_mortgage" | "rent";
1294
+ /** @enum {string} */
1295
+ MortgagePropertyType: "rent" | "condo" | "multi_unit" | "single_family" | "townhouse";
1296
+ /** @enum {string} */
1297
+ MortgagePurchaseStatus: "no_offer" | "offer_accepted" | "offer_pending" | "under_contract";
1298
+ /** @enum {string} */
1299
+ MortgageRefinanceType: "cash_out" | "rate_term";
1300
+ /** @enum {string} */
1301
+ MortgageType: "purchase" | "refinance";
1302
+ NadaVehicleDetails: {
1303
+ /**
1304
+ * Format: int32
1305
+ * @description Year of the vehicle.
1306
+ */
1307
+ year: number;
1308
+ /** @description Make of the vehicle. */
1309
+ make: string;
1310
+ /** @description Model of the vehicle. */
1311
+ model: string;
1312
+ /** @description Trim of the vehicle. */
1313
+ trim: string;
1314
+ /**
1315
+ * Format: int64
1316
+ * @description NADA Used Card Guide vehicle id.
1317
+ */
1318
+ ucgVehicleId: number;
1319
+ };
1320
+ NadaVehicleUpdateCriteria: {
1321
+ /**
1322
+ * Format: int32
1323
+ * @description Download only vehicles for supplied year
1324
+ */
1325
+ year: number;
1326
+ /** @description Download only vehicles that match on make (for given year) */
1327
+ make?: string;
1328
+ };
1329
+ NewDeduplicationConfiguration: {
1330
+ /**
1331
+ * Format: int64
1332
+ * @description The ID of the supply sub-account for this configuration.
1333
+ */
1334
+ supplySubAccountId?: number;
1335
+ /**
1336
+ * Format: uuid
1337
+ * @description The UUID of the supply sub-account for this configuration.
1338
+ */
1339
+ supplySubAccountUuid?: string;
1340
+ /**
1341
+ * Format: int32
1342
+ * @description The number of minutes to look back when looking for duplicate leads.
1343
+ */
1344
+ durationMinutes: number;
1345
+ };
1346
+ Offer: {
1347
+ /** Format: uuid */
1348
+ uuid: string;
1349
+ partner: components["schemas"]["DemandPartner"];
1350
+ marketplace?: components["schemas"]["DemandPartner"];
1351
+ productType: components["schemas"]["ProductType"];
1352
+ productSubType: components["schemas"]["ProductSubType"];
1353
+ /** Format: url */
1354
+ url: string;
1355
+ recommendationScore?: number;
1356
+ disclaimer?: string;
1357
+ productSubTypeDisclaimer?: string;
1358
+ /** Format: date-time */
1359
+ expiresAt?: string;
1360
+ };
1361
+ /** @description identification number used by the U.S. Department of Education's Office of Postsecondary Education (OPE) to identify schools that have Program Participation Agreements (PPA) so that its students are eligible to participate in Federal Student Financial Assistance programs under Title IV regulations. This is a 6-digit number followed by a 2-digit suffix used to identify branches, additional locations, and other entities that are part of the eligible institution. */
1362
+ OpeId: string;
1363
+ /** @enum {string} */
1364
+ Order: "asc" | "desc";
1365
+ Originator: {
1366
+ key: string;
1367
+ name: string;
1368
+ description?: string;
1369
+ images: components["schemas"]["OriginatorImage"][];
1370
+ disclaimer?: string;
1371
+ /** Format: uuid */
1372
+ companyUuid?: string;
1373
+ /**
1374
+ * Format: uuid
1375
+ * @description A unique identifier for the associated financial institution. Only present for event types associated with financial institutions.
1376
+ */
1377
+ financialInstitutionUuid?: string;
1378
+ };
1379
+ OriginatorImage: {
1380
+ sizeKey: string;
1381
+ url: string;
1382
+ };
1383
+ /**
1384
+ * @description Life insurance package types
1385
+ * @enum {string}
1386
+ */
1387
+ PackageType: "basic" | "essential" | "elite";
1388
+ PendingResponse: {
1389
+ partner: components["schemas"]["DemandPartner"];
1390
+ productTypes: components["schemas"]["ProductType"][];
1391
+ };
1392
+ PersonalInformation: {
1393
+ firstName?: string;
1394
+ lastName?: string;
1395
+ /** @description The first name the lead uses as an alias */
1396
+ aliasFirstName?: string;
1397
+ /** @description The last name the lead uses as an alias */
1398
+ aliasLastName?: string;
1399
+ email?: components["schemas"]["Email"];
1400
+ city?: string;
1401
+ state?: components["schemas"]["State"];
1402
+ workPhone?: string;
1403
+ primaryPhone?: string;
1404
+ bestTimeToCall?: components["schemas"]["BestTimeToCall"];
1405
+ /** @description Street address (primary address line) */
1406
+ address1?: string;
1407
+ /** @description Secondary address line */
1408
+ address2?: string;
1409
+ /**
1410
+ * Format: date
1411
+ * @description The date the lead moved into their current address
1412
+ */
1413
+ addressMoveInDate?: string;
1414
+ zipcode?: string;
1415
+ /**
1416
+ * Format: int32
1417
+ * @description Number of months the provided address has been the lead's primary residence
1418
+ */
1419
+ monthsAtAddress?: number;
1420
+ driversLicenseNumber?: string;
1421
+ /** @description State in which the driver's license was issued */
1422
+ driversLicenseState?: string;
1423
+ /**
1424
+ * Format: ip
1425
+ * @description IP address
1426
+ */
1427
+ ipAddress?: string;
1428
+ /** @description Whether the lead is currently in the military (not a veteran) */
1429
+ activeMilitary?: boolean;
1430
+ /** @description Whether the lead is a veteran (should not be used if the lead is active in the military) */
1431
+ militaryVeteran?: boolean;
1432
+ /** Format: date */
1433
+ dateOfBirth?: string;
1434
+ /** @deprecated */
1435
+ educationLevel?: components["schemas"]["EducationLevel"];
1436
+ ssn?: components["schemas"]["Ssn"];
1437
+ citizenshipStatus?: components["schemas"]["CitizenshipStatus"];
1438
+ };
1439
+ PersonalInformationRequest: {
1440
+ firstName?: string;
1441
+ lastName?: string;
1442
+ /** @description The first name the lead uses as an alias */
1443
+ aliasFirstName?: string;
1444
+ /** @description The last name the lead uses as an alias */
1445
+ aliasLastName?: string;
1446
+ email?: components["schemas"]["Email"];
1447
+ city?: string;
1448
+ state?: components["schemas"]["State"];
1449
+ workPhone?: string;
1450
+ primaryPhone?: string;
1451
+ bestTimeToCall?: components["schemas"]["BestTimeToCall"];
1452
+ /** @description Street address (primary address line) */
1453
+ address1?: string;
1454
+ /** @description Secondary address line */
1455
+ address2?: string;
1456
+ /**
1457
+ * Format: date
1458
+ * @description The date the lead moved into their current address
1459
+ */
1460
+ addressMoveInDate?: string;
1461
+ zipcode?: string;
1462
+ /**
1463
+ * Format: int32
1464
+ * @description Number of months the provided address has been the lead's primary residence
1465
+ */
1466
+ monthsAtAddress?: number;
1467
+ driversLicenseNumber?: string;
1468
+ /** @description State in which the driver's license was issued */
1469
+ driversLicenseState?: string;
1470
+ /**
1471
+ * Format: ip
1472
+ * @description IP address
1473
+ */
1474
+ ipAddress?: string;
1475
+ /** @description Whether the lead is currently in the military (not a veteran) */
1476
+ activeMilitary?: boolean;
1477
+ /** @description Whether the lead is a veteran (should not be used if the lead is active in the military) */
1478
+ militaryVeteran?: boolean;
1479
+ /** Format: date */
1480
+ dateOfBirth?: string;
1481
+ /** @deprecated */
1482
+ educationLevel?: components["schemas"]["EducationLevel"];
1483
+ ssn?: components["schemas"]["Ssn"];
1484
+ citizenshipStatus?: components["schemas"]["CitizenshipStatus"];
1485
+ };
1486
+ PersonalInformationResponse: {
1487
+ firstName?: string;
1488
+ lastName?: string;
1489
+ /** @description The first name the lead uses as an alias */
1490
+ aliasFirstName?: string;
1491
+ /** @description The last name the lead uses as an alias */
1492
+ aliasLastName?: string;
1493
+ email?: string;
1494
+ city?: string;
1495
+ state?: components["schemas"]["State"];
1496
+ workPhone?: string;
1497
+ primaryPhone?: string;
1498
+ bestTimeToCall?: components["schemas"]["BestTimeToCall"];
1499
+ /** @description Street address (primary address line) */
1500
+ address1?: string;
1501
+ /** @description Secondary address line */
1502
+ address2?: string;
1503
+ /**
1504
+ * Format: date
1505
+ * @description The date the lead moved into their current address
1506
+ */
1507
+ addressMoveInDate?: string;
1508
+ zipcode?: string;
1509
+ /**
1510
+ * Format: int32
1511
+ * @description Number of months the provided address has been the lead's primary residence
1512
+ */
1513
+ monthsAtAddress?: number;
1514
+ driversLicenseNumber?: string;
1515
+ /** @description State in which the driver's license was issued */
1516
+ driversLicenseState?: string;
1517
+ /**
1518
+ * Format: ip
1519
+ * @description IP address
1520
+ */
1521
+ ipAddress?: string;
1522
+ /** @description Whether the lead is currently in the military (not a veteran) */
1523
+ activeMilitary?: boolean;
1524
+ /** @description Whether the lead is a veteran (should not be used if the lead is active in the military) */
1525
+ militaryVeteran?: boolean;
1526
+ /** Format: date */
1527
+ dateOfBirth?: string;
1528
+ /** @deprecated */
1529
+ educationLevel?: components["schemas"]["EducationLevel"];
1530
+ ssn?: string;
1531
+ citizenshipStatus?: components["schemas"]["CitizenshipStatus"];
1532
+ driversLicenseNumberHash?: string;
1533
+ ssnHash?: string;
1534
+ };
1535
+ PersonalReferenceInformation: {
1536
+ /** @description The first name of the personal reference supplied by the lead */
1537
+ firstName?: string;
1538
+ /** @description The last name of the personal reference supplied by the lead */
1539
+ lastName?: string;
1540
+ /** @description The phone number of the personal reference supplied by the lead */
1541
+ primaryPhone?: string;
1542
+ /** @description The relation of the personal reference supplied by the lead */
1543
+ relationType?: components["schemas"]["PersonalReferenceRelationType"];
1544
+ };
1545
+ /** @enum {string} */
1546
+ PersonalReferenceRelationType: "parent" | "employer" | "spouse" | "guardian" | "sibling" | "relative" | "friend" | "other";
1547
+ /**
1548
+ * @description A type of financial product
1549
+ * @enum {string}
1550
+ */
1551
+ ProductSubType: "credit_card" | "secured_card" | "student_card" | "personal_loan" | "secured_loan" | "student_loan_refinance" | "co_applicant_loan" | "line_of_credit" | "automobile_refinance" | "home_equity_line_of_credit" | "purchase" | "refinance" | "savings_account" | "money_market_account" | "certificate_of_deposit" | "individual_retirement_account" | "cash_management_account" | "high_interest_checking" | "checking" | "accidental_death_benefits" | "term_life" | "term_life_instant" | "whole_life" | "debt_relief" | "installment_loans" | "credit_builder" | "cash_advance" | "credit_repair" | "education_offers" | "employment_opportunity" | "financial_wellness" | "direct_affiliate" | "overdraft_protection" | "revenue_based_financing" | "installment_loan_more_offers" | "credit_card_more_offers" | "credit_repair_more_offers" | "student_loan" | "health" | "auto_and_vehicle" | "games" | "home" | "rewards" | "life_insurance" | "auto_insurance" | "specialty_vehicle_insurance" | "home_owners_insurance" | "renters_insurance" | "uncategorized" | "cash_advance_moneylion" | "unknown";
1552
+ /** @enum {string} */
1553
+ ProductType: "credit_card" | "generic" | "auto_insurance" | "insurance" | "life_insurance" | "loan" | "mortgage" | "savings" | "other" | "unknown";
1554
+ ProductTypeHistory: {
1555
+ value: components["schemas"]["ProductType"][];
1556
+ /** Format: date-time */
1557
+ createdAt: string;
1558
+ };
1559
+ /** @enum {string} */
1560
+ ProvidedCreditRating: "excellent" | "good" | "fair" | "poor" | "limited" | "unknown";
1561
+ /** @description A `RateTable` sourced from generic offers customized to a `Lead` input */
1562
+ BasicRateTable: {
1563
+ /**
1564
+ * Format: uuid
1565
+ * @description Primary UUID for a `RateTable`
1566
+ */
1567
+ uuid: string;
1568
+ /**
1569
+ * Format: uuid
1570
+ * @description UUID of the associated `Lead`
1571
+ */
1572
+ leadUuid: string;
1573
+ offers: Record<string, never>[];
1574
+ /** @description List of demand partners which have been queried, but have not responded yet. It is a guarantee that no offers will be added to the rate table after this list is empty */
1575
+ pendingResponses?: components["schemas"]["BasicRateTablePendingResponse"][];
1576
+ };
1577
+ /** @description A `RateTable` customized to a `Lead` input */
1578
+ RateTablePublic: {
1579
+ /**
1580
+ * Format: uuid
1581
+ * @description Primary UUID for a `RateTable`
1582
+ */
1583
+ uuid: string;
1584
+ /**
1585
+ * Format: uuid
1586
+ * @description UUID of the associated `Lead`
1587
+ */
1588
+ leadUuid: string;
1589
+ /**
1590
+ * Format: int32
1591
+ * @description `Lead`'s provided loan amount at the time of `RateTable` creation
1592
+ */
1593
+ loanAmount?: number;
1594
+ creditCardOffers: components["schemas"]["CreditCardOffer"][];
1595
+ lifeInsuranceOffers: components["schemas"]["LifeInsuranceOffer"][];
1596
+ loanOffers: components["schemas"]["LoanOffer"][];
1597
+ mortgageOffers: components["schemas"]["MortgageOffer"][];
1598
+ savingsOffers: components["schemas"]["SavingsOffer"][];
1599
+ specialOffers: components["schemas"]["SpecialOffer"][];
1600
+ /**
1601
+ * @deprecated
1602
+ * @description List of originators which have been queried, but have not responded yet. This list only contains loan originators, and should no longer be used
1603
+ */
1604
+ pendingOriginators: components["schemas"]["Originator"][];
1605
+ /** @description List of demand partners which have been queried, but have not responded yet. It is a guarantee that no offers will be added to the rate table after this list is empty */
1606
+ pendingResponses: components["schemas"]["PendingResponse"][];
1607
+ };
1608
+ /** Refinance loan information */
1609
+ RefinanceLoanInformation: {
1610
+ /** @description The account number for a loan the lead is refinancing */
1611
+ accountNumber?: string;
1612
+ /** @description If the repayment is income-based for a loan the lead is refinancing */
1613
+ incomeBasedRepayment?: boolean;
1614
+ /**
1615
+ * Format: float
1616
+ * @description The interest rate for a loan the lead is refinancing
1617
+ */
1618
+ interestRate?: number;
1619
+ /**
1620
+ * Format: int32
1621
+ * @description The loan amount for a loan the lead is refinancing
1622
+ */
1623
+ loanAmount?: number;
1624
+ /** @description The name of a loan servicer of a loan the lead is refinancing */
1625
+ loanServicer?: string;
1626
+ /** @description The loan type for a loan the lead is refinancing */
1627
+ loanType?: components["schemas"]["RefinanceLoanType"];
1628
+ /**
1629
+ * Format: float
1630
+ * @description The amount the next payment will be on a loan the lead is refinancing
1631
+ */
1632
+ nextPaymentAmount?: number;
1633
+ /**
1634
+ * Format: date
1635
+ * @description The next payment date for a loan the lead is refinancing
1636
+ */
1637
+ nextPaymentDate?: string;
1638
+ };
1639
+ /** @enum {string} */
1640
+ RefinanceLoanType: "federal_student_loan" | "private_student_loan";
1641
+ /** @enum {string} */
1642
+ SavingsCompoundingMethod: "annually" | "continuous" | "daily" | "monthly" | "quarterly" | "semiAnnually" | "simple" | "weekly";
1643
+ SavingsInformation: {
1644
+ /**
1645
+ * Format: int64
1646
+ * @description The minimum amount a `Lead` is interested in depositing when opening a new savings account
1647
+ */
1648
+ minDepositAmount?: number;
1649
+ /**
1650
+ * Format: int64
1651
+ * @description The maximum amount a `Lead` is interested in depositing when opening a new savings account
1652
+ */
1653
+ maxDepositAmount?: number;
1654
+ };
1655
+ /** @description An offer for a savings account */
1656
+ SavingsOffer: WithRequired<{
1657
+ details: components["schemas"]["SavingsOfferDetails"];
1658
+ } & components["schemas"]["Offer"], "details">;
1659
+ SavingsOfferDetails: {
1660
+ name?: string;
1661
+ description?: string;
1662
+ details?: string;
1663
+ /** @description Annual interest rate */
1664
+ rate?: number;
1665
+ annualPercentYield: number;
1666
+ compoundingMethod: components["schemas"]["SavingsCompoundingMethod"];
1667
+ /** Format: int32 */
1668
+ introductoryPeriodMonths?: number;
1669
+ introductoryRate?: number;
1670
+ minimumDeposit: number;
1671
+ minimumDepositWithFees?: number;
1672
+ monthlyFee: number;
1673
+ /** @description Whether the account allows checks */
1674
+ checkWriting?: boolean;
1675
+ /**
1676
+ * Format: date-time
1677
+ * @description When the offer was last validated, formatted as yyyy-MM-ddTHH:mm:ss.SSSZZ
1678
+ */
1679
+ effectiveAsOf: string;
1680
+ /**
1681
+ * @description The type of federal deposit insurance that applies to this offer, if
1682
+ * it was provided by the financial institution. Could be one of `fdic` for
1683
+ * the Federal Deposit Insurance Corporation, or `ncua` for the National
1684
+ * Credit Union Administration.
1685
+ */
1686
+ federalInsuranceType?: components["schemas"]["FederalInsuranceType"];
1687
+ incentiveDetails?: components["schemas"]["IncentiveDetails"][];
1688
+ cdTermUnit?: components["schemas"]["LoanTermUnit"];
1689
+ /** Format: int32 */
1690
+ cdTermLength?: number;
1691
+ };
1692
+ /** @description Browsing session information accociated with a `Lead` */
1693
+ SessionInformation: {
1694
+ ipAddress?: string;
1695
+ userAgent?: string;
1696
+ browserFingerprint?: string;
1697
+ };
1698
+ SpecialOffer: {
1699
+ /** Format: uuid */
1700
+ uuid: string;
1701
+ name: string;
1702
+ /** @description Description */
1703
+ desc: string;
1704
+ /** Format: url */
1705
+ url: string;
1706
+ partnerName: string;
1707
+ /** Format: url */
1708
+ partnerImageUrl: string;
1709
+ recommendationScore?: number;
1710
+ payout?: number;
1711
+ productSubType: components["schemas"]["ProductSubType"];
1712
+ disclaimer?: string;
1713
+ /**
1714
+ * Format: uuid
1715
+ * @description A unique identifier for the associated financial institution. Only present for event types associated with financial institutions.
1716
+ */
1717
+ financialInstitutionUuid?: string;
1718
+ };
1719
+ Ssn: string;
1720
+ /**
1721
+ * state
1722
+ * Format: state
1723
+ * @description A two character upper case state, Puerto Rico, or District of Columbia code
1724
+ * @enum {string}
1725
+ */
1726
+ State: "AK" | "AL" | "AR" | "AZ" | "CA" | "CO" | "CT" | "DC" | "DE" | "FL" | "GA" | "HI" | "IA" | "ID" | "IL" | "IN" | "KS" | "KY" | "LA" | "MA" | "MD" | "ME" | "MI" | "MN" | "MO" | "MS" | "MT" | "NC" | "ND" | "NE" | "NH" | "NJ" | "NM" | "NV" | "NY" | "OH" | "OK" | "OR" | "PA" | "PR" | "RI" | "SC" | "SD" | "TN" | "TX" | "UT" | "VA" | "VI" | "VT" | "WA" | "WI" | "WV" | "WY";
1727
+ /**
1728
+ * @description The key used to identify from where the survey was submitted.
1729
+ *
1730
+ * @enum {string}
1731
+ */
1732
+ SubmittedFrom: "app_results" | "remarketing_email" | "transactional_email";
1733
+ /**
1734
+ * @description The key used to identify which survey the result is for.
1735
+ *
1736
+ * @enum {string}
1737
+ */
1738
+ SurveyKey: "lead_sentiment";
1739
+ /** @enum {string} */
1740
+ TimestampField: "createdAt" | "updatedAt";
1741
+ University: {
1742
+ /** Format: int64 */
1743
+ id: number;
1744
+ opeId: string;
1745
+ name: string;
1746
+ /** Format: date-time */
1747
+ createdAt: string;
1748
+ /** Format: uuid */
1749
+ createdByUuid: string;
1750
+ };
1751
+ UuidAndTrim: {
1752
+ /**
1753
+ * Format: uuid
1754
+ * @description The uuid of the vehicle.
1755
+ */
1756
+ uuid?: string;
1757
+ /** @description Trim of the vehicle. Must be a valid NADA trim body for the given make, model, and year. */
1758
+ trim?: string;
1759
+ };
1760
+ VehicleCreateData: {
1761
+ /**
1762
+ * Format: int32
1763
+ * @description Year of the vehicle.
1764
+ */
1765
+ year: number;
1766
+ /** @description Make of the vehicle. */
1767
+ make: string;
1768
+ /** @description Model of the vehicle. */
1769
+ model: string;
1770
+ /** @description Legacy trim string of the vehicle. */
1771
+ legacyTrim: string;
1772
+ /** @description Trim of the vehicle. */
1773
+ trim: string;
1774
+ /** @description Type of the vehicle. */
1775
+ type: string;
1776
+ /** Format: int64 */
1777
+ ucgVehicleId: number;
1778
+ };
1779
+ /** Vehicle information */
1780
+ VehicleInformation: {
1781
+ /**
1782
+ * Format: int32
1783
+ * @description The lead's monthly auto loan payment
1784
+ */
1785
+ monthlyPayment?: number;
1786
+ /**
1787
+ * Format: integer
1788
+ * @description The vehicle's estimated number of miles driven
1789
+ */
1790
+ estimatedMileage?: number;
1791
+ /** @description The vehicle identification number (VIN) of the financed vehicle */
1792
+ vehicleIdentificationNumber?: string;
1793
+ /**
1794
+ * Format: uuid
1795
+ * @description The UUID representing the unique Year/Make/Model/Trim of the financed vehicle
1796
+ */
1797
+ vehicleUuid?: string;
1798
+ };
1799
+ /**
1800
+ * Format: int32
1801
+ * @description Year of the vehicle. Must be a valid NADA year.
1802
+ */
1803
+ Year: number;
1804
+ };
1805
+ responses: {
1806
+ /** @description Invalid request */
1807
+ InvalidRequest: {
1808
+ content: {
1809
+ "application/json": components["schemas"]["ApiError"][];
1810
+ };
1811
+ };
1812
+ /** @description Malformed request */
1813
+ MalformedRequest: {
1814
+ content: {
1815
+ "application/json": components["schemas"]["ApiError"][];
1816
+ };
1817
+ };
1818
+ /** @description Resource not found */
1819
+ NotFound: {
1820
+ content: {
1821
+ "application/json": components["schemas"]["ApiError"][];
1822
+ };
1823
+ };
1824
+ /** @description Unauthorized request */
1825
+ UnauthorizedRequest: {
1826
+ content: {
1827
+ "application/json": components["schemas"]["ApiError"][];
1828
+ };
1829
+ };
1830
+ };
1831
+ parameters: never;
1832
+ requestBodies: never;
1833
+ headers: never;
1834
+ pathItems: never;
1835
+ }
1836
+ export {};
1837
+ //# sourceMappingURL=offer-catalog.d.ts.map