@moneylion/react-native-offer-carousel 1.0.0 → 1.0.2

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