lithic 0.1.0.pre.alpha.17 → 0.1.0.pre.alpha.19

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 (427) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +34 -0
  3. data/README.md +7 -7
  4. data/lib/lithic/file_part.rb +55 -0
  5. data/lib/lithic/internal/cursor_page.rb +1 -1
  6. data/lib/lithic/internal/single_page.rb +1 -1
  7. data/lib/lithic/internal/transport/base_client.rb +7 -7
  8. data/lib/lithic/internal/transport/pooled_net_requester.rb +1 -1
  9. data/lib/lithic/internal/type/array_of.rb +2 -0
  10. data/lib/lithic/internal/type/base_model.rb +1 -1
  11. data/lib/lithic/internal/type/base_page.rb +1 -1
  12. data/lib/lithic/internal/type/converter.rb +4 -1
  13. data/lib/lithic/internal/type/{io_like.rb → file_input.rb} +30 -15
  14. data/lib/lithic/internal/type/hash_of.rb +2 -0
  15. data/lib/lithic/internal/util.rb +69 -61
  16. data/lib/lithic/models/account.rb +50 -19
  17. data/lib/lithic/models/account_holder.rb +139 -59
  18. data/lib/lithic/models/account_holder_create_params.rb +144 -52
  19. data/lib/lithic/models/account_holder_create_response.rb +18 -7
  20. data/lib/lithic/models/account_holder_list_params.rb +33 -11
  21. data/lib/lithic/models/account_holder_simulate_enrollment_document_review_params.rb +13 -4
  22. data/lib/lithic/models/account_holder_simulate_enrollment_review_params.rb +10 -3
  23. data/lib/lithic/models/account_holder_simulate_enrollment_review_response.rb +169 -60
  24. data/lib/lithic/models/account_holder_update_params.rb +147 -53
  25. data/lib/lithic/models/account_holder_update_response.rb +202 -74
  26. data/lib/lithic/models/account_holder_upload_document_params.rb +4 -2
  27. data/lib/lithic/models/account_list_params.rb +17 -5
  28. data/lib/lithic/models/account_spend_limits.rb +27 -9
  29. data/lib/lithic/models/account_update_params.rb +17 -5
  30. data/lib/lithic/models/address.rb +17 -6
  31. data/lib/lithic/models/address_update.rb +17 -6
  32. data/lib/lithic/models/aggregate_balance.rb +26 -10
  33. data/lib/lithic/models/aggregate_balance_list_params.rb +2 -1
  34. data/lib/lithic/models/auth_rules/auth_rule.rb +24 -9
  35. data/lib/lithic/models/auth_rules/auth_rule_condition.rb +8 -3
  36. data/lib/lithic/models/auth_rules/v2/backtest_create_params.rb +4 -2
  37. data/lib/lithic/models/auth_rules/v2/backtest_create_response.rb +1 -1
  38. data/lib/lithic/models/auth_rules/v2/backtest_results.rb +46 -18
  39. data/lib/lithic/models/auth_rules/v2_apply_params.rb +8 -4
  40. data/lib/lithic/models/auth_rules/v2_apply_response.rb +31 -12
  41. data/lib/lithic/models/auth_rules/v2_create_params.rb +14 -7
  42. data/lib/lithic/models/auth_rules/v2_create_response.rb +31 -12
  43. data/lib/lithic/models/auth_rules/v2_draft_params.rb +2 -1
  44. data/lib/lithic/models/auth_rules/v2_draft_response.rb +31 -12
  45. data/lib/lithic/models/auth_rules/v2_list_params.rb +15 -5
  46. data/lib/lithic/models/auth_rules/v2_list_response.rb +31 -12
  47. data/lib/lithic/models/auth_rules/v2_promote_response.rb +31 -12
  48. data/lib/lithic/models/auth_rules/v2_retrieve_response.rb +32 -12
  49. data/lib/lithic/models/auth_rules/v2_update_params.rb +15 -6
  50. data/lib/lithic/models/auth_rules/v2_update_response.rb +31 -12
  51. data/lib/lithic/models/auth_rules/velocity_limit_params.rb +27 -7
  52. data/lib/lithic/models/auth_stream_secret.rb +1 -1
  53. data/lib/lithic/models/balance.rb +26 -10
  54. data/lib/lithic/models/balance_list_params.rb +12 -4
  55. data/lib/lithic/models/book_transfer_create_params.rb +23 -8
  56. data/lib/lithic/models/book_transfer_list_params.rb +28 -9
  57. data/lib/lithic/models/book_transfer_response.rb +54 -20
  58. data/lib/lithic/models/book_transfer_reverse_params.rb +2 -1
  59. data/lib/lithic/models/card.rb +7 -2
  60. data/lib/lithic/models/card_convert_physical_params.rb +12 -4
  61. data/lib/lithic/models/card_create_params.rb +45 -15
  62. data/lib/lithic/models/card_embed_params.rb +4 -2
  63. data/lib/lithic/models/card_list_params.rb +21 -7
  64. data/lib/lithic/models/card_program.rb +17 -7
  65. data/lib/lithic/models/card_program_list_params.rb +11 -3
  66. data/lib/lithic/models/card_provision_params.rb +20 -6
  67. data/lib/lithic/models/card_reissue_params.rb +12 -4
  68. data/lib/lithic/models/card_renew_params.rb +18 -6
  69. data/lib/lithic/models/card_search_by_pan_params.rb +2 -1
  70. data/lib/lithic/models/card_spend_limits.rb +27 -9
  71. data/lib/lithic/models/card_update_params.rb +21 -7
  72. data/lib/lithic/models/cards/aggregate_balance_list_params.rb +4 -2
  73. data/lib/lithic/models/cards/aggregate_balance_list_response.rb +24 -9
  74. data/lib/lithic/models/cards/balance_list_params.rb +7 -2
  75. data/lib/lithic/models/cards/balance_list_response.rb +26 -10
  76. data/lib/lithic/models/cards/financial_transaction_list_params.rb +21 -7
  77. data/lib/lithic/models/carrier.rb +1 -1
  78. data/lib/lithic/models/credit_products/prime_rate_create_params.rb +4 -2
  79. data/lib/lithic/models/credit_products/prime_rate_retrieve_params.rb +4 -2
  80. data/lib/lithic/models/credit_products/prime_rate_retrieve_response.rb +6 -4
  81. data/lib/lithic/models/digital_card_art.rb +13 -7
  82. data/lib/lithic/models/digital_card_art_list_params.rb +11 -3
  83. data/lib/lithic/models/dispute.rb +40 -18
  84. data/lib/lithic/models/dispute_create_params.rb +10 -5
  85. data/lib/lithic/models/dispute_evidence.rb +17 -7
  86. data/lib/lithic/models/dispute_initiate_evidence_upload_params.rb +2 -1
  87. data/lib/lithic/models/dispute_list_evidences_params.rb +17 -5
  88. data/lib/lithic/models/dispute_list_params.rb +21 -7
  89. data/lib/lithic/models/dispute_update_params.rb +8 -4
  90. data/lib/lithic/models/document.rb +31 -14
  91. data/lib/lithic/models/event.rb +9 -3
  92. data/lib/lithic/models/event_list_attempts_params.rb +18 -5
  93. data/lib/lithic/models/event_list_params.rb +21 -7
  94. data/lib/lithic/models/event_subscription.rb +7 -3
  95. data/lib/lithic/models/events/subscription_create_params.rb +12 -4
  96. data/lib/lithic/models/events/subscription_list_attempts_params.rb +18 -5
  97. data/lib/lithic/models/events/subscription_list_params.rb +11 -3
  98. data/lib/lithic/models/events/subscription_recover_params.rb +9 -2
  99. data/lib/lithic/models/events/subscription_replay_missing_params.rb +9 -2
  100. data/lib/lithic/models/events/subscription_retrieve_secret_response.rb +1 -1
  101. data/lib/lithic/models/events/subscription_send_simulated_example_params.rb +2 -1
  102. data/lib/lithic/models/events/subscription_update_params.rb +12 -4
  103. data/lib/lithic/models/external_bank_account_create_params.rb +40 -16
  104. data/lib/lithic/models/external_bank_account_create_response.rb +53 -22
  105. data/lib/lithic/models/external_bank_account_list_params.rb +17 -3
  106. data/lib/lithic/models/external_bank_account_list_response.rb +53 -22
  107. data/lib/lithic/models/external_bank_account_retrieve_response.rb +53 -22
  108. data/lib/lithic/models/external_bank_account_retry_micro_deposits_response.rb +54 -22
  109. data/lib/lithic/models/external_bank_account_retry_prenote_response.rb +53 -22
  110. data/lib/lithic/models/external_bank_account_update_params.rb +21 -8
  111. data/lib/lithic/models/external_bank_account_update_response.rb +53 -22
  112. data/lib/lithic/models/external_bank_accounts/micro_deposit_create_response.rb +54 -22
  113. data/lib/lithic/models/external_payment_list_params.rb +27 -9
  114. data/lib/lithic/models/financial_account.rb +25 -8
  115. data/lib/lithic/models/financial_account_list_params.rb +6 -3
  116. data/lib/lithic/models/financial_account_update_status_params.rb +4 -2
  117. data/lib/lithic/models/financial_accounts/balance_list_params.rb +7 -2
  118. data/lib/lithic/models/financial_accounts/balance_list_response.rb +26 -10
  119. data/lib/lithic/models/financial_accounts/credit_configuration_update_params.rb +6 -2
  120. data/lib/lithic/models/financial_accounts/financial_account_credit_config.rb +12 -5
  121. data/lib/lithic/models/financial_accounts/financial_transaction_list_params.rb +22 -7
  122. data/lib/lithic/models/financial_accounts/loan_tape.rb +119 -47
  123. data/lib/lithic/models/financial_accounts/loan_tape_list_params.rb +17 -5
  124. data/lib/lithic/models/financial_accounts/loan_tape_retrieve_params.rb +2 -1
  125. data/lib/lithic/models/financial_accounts/statement.rb +97 -40
  126. data/lib/lithic/models/financial_accounts/statement_list_params.rb +19 -6
  127. data/lib/lithic/models/financial_accounts/statement_retrieve_params.rb +2 -1
  128. data/lib/lithic/models/financial_accounts/statements/line_item_list_params.rb +14 -4
  129. data/lib/lithic/models/financial_accounts/statements/statement_line_items.rb +25 -9
  130. data/lib/lithic/models/financial_transaction.rb +42 -15
  131. data/lib/lithic/models/kyb.rb +101 -36
  132. data/lib/lithic/models/kyb_business_entity.rb +35 -12
  133. data/lib/lithic/models/kyc.rb +34 -12
  134. data/lib/lithic/models/kyc_exempt.rb +23 -9
  135. data/lib/lithic/models/management_operation_list_params.rb +25 -8
  136. data/lib/lithic/models/message_attempt.rb +17 -7
  137. data/lib/lithic/models/non_pci_card.rb +73 -28
  138. data/lib/lithic/models/payment.rb +52 -18
  139. data/lib/lithic/models/payment_create_params.rb +14 -1
  140. data/lib/lithic/models/payment_create_response.rb +1 -1
  141. data/lib/lithic/models/payment_list_params.rb +23 -5
  142. data/lib/lithic/models/payment_retry_response.rb +1 -1
  143. data/lib/lithic/models/payment_simulate_action_params.rb +6 -3
  144. data/lib/lithic/models/payment_simulate_action_response.rb +5 -3
  145. data/lib/lithic/models/payment_simulate_receipt_params.rb +14 -5
  146. data/lib/lithic/models/payment_simulate_receipt_response.rb +5 -3
  147. data/lib/lithic/models/payment_simulate_release_params.rb +2 -1
  148. data/lib/lithic/models/payment_simulate_release_response.rb +5 -3
  149. data/lib/lithic/models/payment_simulate_return_params.rb +4 -2
  150. data/lib/lithic/models/payment_simulate_return_response.rb +5 -3
  151. data/lib/lithic/models/reports/settlement/network_total_list_params.rb +30 -11
  152. data/lib/lithic/models/reports/settlement/network_total_list_response.rb +39 -14
  153. data/lib/lithic/models/reports/settlement/network_total_retrieve_response.rb +39 -14
  154. data/lib/lithic/models/reports/settlement_list_details_params.rb +11 -3
  155. data/lib/lithic/models/required_document.rb +10 -3
  156. data/lib/lithic/models/responder_endpoint_check_status_params.rb +2 -1
  157. data/lib/lithic/models/responder_endpoint_create_params.rb +4 -2
  158. data/lib/lithic/models/responder_endpoint_create_response.rb +1 -1
  159. data/lib/lithic/models/responder_endpoint_delete_params.rb +2 -1
  160. data/lib/lithic/models/responder_endpoint_status.rb +3 -2
  161. data/lib/lithic/models/settlement_detail.rb +50 -21
  162. data/lib/lithic/models/settlement_report.rb +29 -10
  163. data/lib/lithic/models/settlement_summary_details.rb +21 -8
  164. data/lib/lithic/models/shipping_address.rb +31 -11
  165. data/lib/lithic/models/three_ds/authentication_retrieve_response.rb +215 -71
  166. data/lib/lithic/models/three_ds/authentication_simulate_otp_entry_params.rb +9 -2
  167. data/lib/lithic/models/three_ds/authentication_simulate_params.rb +28 -8
  168. data/lib/lithic/models/three_ds/authentication_simulate_response.rb +5 -1
  169. data/lib/lithic/models/three_ds/challenge_response.rb +7 -2
  170. data/lib/lithic/models/three_ds/decisioning_retrieve_secret_response.rb +1 -1
  171. data/lib/lithic/models/tokenization.rb +37 -17
  172. data/lib/lithic/models/tokenization_decisioning_rotate_secret_response.rb +1 -1
  173. data/lib/lithic/models/tokenization_list_params.rb +22 -8
  174. data/lib/lithic/models/tokenization_resend_activation_code_params.rb +6 -1
  175. data/lib/lithic/models/tokenization_secret.rb +1 -1
  176. data/lib/lithic/models/tokenization_simulate_params.rb +22 -8
  177. data/lib/lithic/models/tokenization_update_digital_card_art_params.rb +6 -1
  178. data/lib/lithic/models/transaction.rb +248 -89
  179. data/lib/lithic/models/transaction_list_params.rb +26 -9
  180. data/lib/lithic/models/transaction_simulate_authorization_advice_params.rb +8 -2
  181. data/lib/lithic/models/transaction_simulate_authorization_advice_response.rb +3 -2
  182. data/lib/lithic/models/transaction_simulate_authorization_params.rb +27 -10
  183. data/lib/lithic/models/transaction_simulate_authorization_response.rb +7 -2
  184. data/lib/lithic/models/transaction_simulate_clearing_params.rb +8 -2
  185. data/lib/lithic/models/transaction_simulate_clearing_response.rb +1 -1
  186. data/lib/lithic/models/transaction_simulate_credit_authorization_params.rb +15 -5
  187. data/lib/lithic/models/transaction_simulate_credit_authorization_response.rb +3 -2
  188. data/lib/lithic/models/transaction_simulate_return_params.rb +6 -3
  189. data/lib/lithic/models/transaction_simulate_return_response.rb +3 -2
  190. data/lib/lithic/models/transaction_simulate_return_reversal_params.rb +2 -1
  191. data/lib/lithic/models/transaction_simulate_return_reversal_response.rb +1 -1
  192. data/lib/lithic/models/transaction_simulate_void_params.rb +10 -3
  193. data/lib/lithic/models/transaction_simulate_void_response.rb +1 -1
  194. data/lib/lithic/models/transactions/events/enhanced_data.rb +52 -24
  195. data/lib/lithic/models/transfer.rb +46 -17
  196. data/lib/lithic/models/transfer_create_params.rb +17 -5
  197. data/lib/lithic/resources/account_holders.rb +166 -60
  198. data/lib/lithic/resources/accounts.rb +40 -13
  199. data/lib/lithic/resources/aggregate_balances.rb +2 -1
  200. data/lib/lithic/resources/auth_rules/v2/backtests.rb +10 -5
  201. data/lib/lithic/resources/auth_rules/v2.rb +68 -30
  202. data/lib/lithic/resources/balances.rb +12 -4
  203. data/lib/lithic/resources/book_transfers.rb +57 -20
  204. data/lib/lithic/resources/card_programs.rb +13 -4
  205. data/lib/lithic/resources/cards/aggregate_balances.rb +4 -2
  206. data/lib/lithic/resources/cards/balances.rb +8 -2
  207. data/lib/lithic/resources/cards/financial_transactions.rb +25 -8
  208. data/lib/lithic/resources/cards.rb +161 -53
  209. data/lib/lithic/resources/credit_products/extended_credit.rb +2 -1
  210. data/lib/lithic/resources/credit_products/prime_rates.rb +12 -6
  211. data/lib/lithic/resources/digital_card_art.rb +17 -4
  212. data/lib/lithic/resources/disputes.rb +61 -22
  213. data/lib/lithic/resources/events/subscriptions.rb +78 -21
  214. data/lib/lithic/resources/events.rb +40 -12
  215. data/lib/lithic/resources/external_bank_accounts.rb +79 -27
  216. data/lib/lithic/resources/external_payments.rb +46 -14
  217. data/lib/lithic/resources/financial_accounts/balances.rb +9 -3
  218. data/lib/lithic/resources/financial_accounts/credit_configuration.rb +10 -4
  219. data/lib/lithic/resources/financial_accounts/financial_transactions.rb +28 -10
  220. data/lib/lithic/resources/financial_accounts/loan_tapes.rb +23 -8
  221. data/lib/lithic/resources/financial_accounts/statements/line_items.rb +16 -5
  222. data/lib/lithic/resources/financial_accounts/statements.rb +25 -9
  223. data/lib/lithic/resources/financial_accounts.rb +22 -11
  224. data/lib/lithic/resources/management_operations.rb +31 -10
  225. data/lib/lithic/resources/payments.rb +64 -17
  226. data/lib/lithic/resources/reports/settlement/network_totals.rb +32 -12
  227. data/lib/lithic/resources/reports/settlement.rb +15 -5
  228. data/lib/lithic/resources/responder_endpoints.rb +8 -4
  229. data/lib/lithic/resources/three_ds/authentication.rb +21 -5
  230. data/lib/lithic/resources/three_ds/decisioning.rb +8 -2
  231. data/lib/lithic/resources/tokenizations.rb +70 -25
  232. data/lib/lithic/resources/transactions/enhanced_commercial_data.rb +2 -1
  233. data/lib/lithic/resources/transactions/events/enhanced_commercial_data.rb +2 -1
  234. data/lib/lithic/resources/transactions.rb +106 -37
  235. data/lib/lithic/resources/transfers.rb +17 -5
  236. data/lib/lithic/version.rb +1 -1
  237. data/lib/lithic.rb +2 -1
  238. data/rbi/lib/lithic/file_part.rbi +34 -0
  239. data/rbi/lib/lithic/internal/transport/base_client.rbi +17 -3
  240. data/rbi/lib/lithic/internal/type/{io_like.rbi → file_input.rbi} +6 -2
  241. data/rbi/lib/lithic/internal/util.rbi +24 -19
  242. data/rbi/lib/lithic/models/account.rbi +62 -6
  243. data/rbi/lib/lithic/models/account_holder.rbi +139 -8
  244. data/rbi/lib/lithic/models/account_holder_create_params.rbi +131 -6
  245. data/rbi/lib/lithic/models/account_holder_create_response.rbi +14 -3
  246. data/rbi/lib/lithic/models/account_holder_list_params.rbi +19 -0
  247. data/rbi/lib/lithic/models/account_holder_simulate_enrollment_document_review_params.rbi +5 -0
  248. data/rbi/lib/lithic/models/account_holder_simulate_enrollment_review_params.rbi +10 -2
  249. data/rbi/lib/lithic/models/account_holder_simulate_enrollment_review_response.rbi +172 -17
  250. data/rbi/lib/lithic/models/account_holder_update_params.rbi +99 -0
  251. data/rbi/lib/lithic/models/account_holder_update_response.rbi +176 -19
  252. data/rbi/lib/lithic/models/account_holder_upload_document_params.rbi +7 -2
  253. data/rbi/lib/lithic/models/account_list_params.rbi +10 -3
  254. data/rbi/lib/lithic/models/account_spend_limits.rbi +30 -6
  255. data/rbi/lib/lithic/models/account_update_params.rbi +16 -0
  256. data/rbi/lib/lithic/models/address.rbi +19 -2
  257. data/rbi/lib/lithic/models/address_update.rbi +17 -2
  258. data/rbi/lib/lithic/models/aggregate_balance.rbi +14 -0
  259. data/rbi/lib/lithic/models/aggregate_balance_list_params.rbi +5 -2
  260. data/rbi/lib/lithic/models/auth_rules/auth_rule.rbi +15 -0
  261. data/rbi/lib/lithic/models/auth_rules/auth_rule_condition.rbi +54 -2
  262. data/rbi/lib/lithic/models/auth_rules/v2/backtest_create_params.rbi +7 -2
  263. data/rbi/lib/lithic/models/auth_rules/v2/backtest_create_response.rbi +4 -2
  264. data/rbi/lib/lithic/models/auth_rules/v2/backtest_results.rbi +60 -12
  265. data/rbi/lib/lithic/models/auth_rules/v2_apply_params.rbi +5 -3
  266. data/rbi/lib/lithic/models/auth_rules/v2_apply_response.rbi +22 -4
  267. data/rbi/lib/lithic/models/auth_rules/v2_create_params.rbi +7 -0
  268. data/rbi/lib/lithic/models/auth_rules/v2_create_response.rbi +22 -4
  269. data/rbi/lib/lithic/models/auth_rules/v2_draft_params.rbi +5 -2
  270. data/rbi/lib/lithic/models/auth_rules/v2_draft_response.rbi +22 -4
  271. data/rbi/lib/lithic/models/auth_rules/v2_list_params.rbi +7 -0
  272. data/rbi/lib/lithic/models/auth_rules/v2_list_response.rbi +22 -4
  273. data/rbi/lib/lithic/models/auth_rules/v2_promote_response.rbi +22 -4
  274. data/rbi/lib/lithic/models/auth_rules/v2_retrieve_response.rbi +22 -4
  275. data/rbi/lib/lithic/models/auth_rules/v2_update_params.rbi +10 -0
  276. data/rbi/lib/lithic/models/auth_rules/v2_update_response.rbi +22 -4
  277. data/rbi/lib/lithic/models/auth_rules/velocity_limit_params.rbi +33 -5
  278. data/rbi/lib/lithic/models/auth_stream_secret.rbi +4 -2
  279. data/rbi/lib/lithic/models/balance.rbi +14 -0
  280. data/rbi/lib/lithic/models/balance_list_params.rbi +5 -0
  281. data/rbi/lib/lithic/models/book_transfer_create_params.rbi +12 -0
  282. data/rbi/lib/lithic/models/book_transfer_list_params.rbi +14 -0
  283. data/rbi/lib/lithic/models/book_transfer_response.rbi +41 -2
  284. data/rbi/lib/lithic/models/book_transfer_reverse_params.rbi +5 -2
  285. data/rbi/lib/lithic/models/card.rbi +8 -2
  286. data/rbi/lib/lithic/models/card_convert_physical_params.rbi +18 -3
  287. data/rbi/lib/lithic/models/card_create_params.rbi +84 -0
  288. data/rbi/lib/lithic/models/card_embed_params.rbi +7 -2
  289. data/rbi/lib/lithic/models/card_list_params.rbi +11 -0
  290. data/rbi/lib/lithic/models/card_program.rbi +8 -0
  291. data/rbi/lib/lithic/models/card_program_list_params.rbi +11 -2
  292. data/rbi/lib/lithic/models/card_provision_params.rbi +17 -0
  293. data/rbi/lib/lithic/models/card_reissue_params.rbi +18 -3
  294. data/rbi/lib/lithic/models/card_renew_params.rbi +21 -0
  295. data/rbi/lib/lithic/models/card_search_by_pan_params.rbi +5 -2
  296. data/rbi/lib/lithic/models/card_spend_limits.rbi +30 -6
  297. data/rbi/lib/lithic/models/card_update_params.rbi +35 -0
  298. data/rbi/lib/lithic/models/cards/aggregate_balance_list_params.rbi +7 -2
  299. data/rbi/lib/lithic/models/cards/aggregate_balance_list_response.rbi +13 -0
  300. data/rbi/lib/lithic/models/cards/balance_list_params.rbi +9 -2
  301. data/rbi/lib/lithic/models/cards/balance_list_response.rbi +14 -0
  302. data/rbi/lib/lithic/models/cards/financial_transaction_list_params.rbi +11 -0
  303. data/rbi/lib/lithic/models/carrier.rbi +4 -2
  304. data/rbi/lib/lithic/models/credit_products/prime_rate_create_params.rbi +7 -2
  305. data/rbi/lib/lithic/models/credit_products/prime_rate_retrieve_params.rbi +7 -2
  306. data/rbi/lib/lithic/models/credit_products/prime_rate_retrieve_response.rbi +12 -4
  307. data/rbi/lib/lithic/models/digital_card_art.rbi +8 -3
  308. data/rbi/lib/lithic/models/digital_card_art_list_params.rbi +11 -2
  309. data/rbi/lib/lithic/models/dispute.rbi +66 -0
  310. data/rbi/lib/lithic/models/dispute_create_params.rbi +6 -3
  311. data/rbi/lib/lithic/models/dispute_evidence.rbi +15 -3
  312. data/rbi/lib/lithic/models/dispute_initiate_evidence_upload_params.rbi +5 -2
  313. data/rbi/lib/lithic/models/dispute_list_evidences_params.rbi +10 -3
  314. data/rbi/lib/lithic/models/dispute_list_params.rbi +11 -0
  315. data/rbi/lib/lithic/models/dispute_update_params.rbi +5 -3
  316. data/rbi/lib/lithic/models/document.rbi +27 -3
  317. data/rbi/lib/lithic/models/event.rbi +39 -2
  318. data/rbi/lib/lithic/models/event_list_attempts_params.rbi +9 -0
  319. data/rbi/lib/lithic/models/event_list_params.rbi +11 -0
  320. data/rbi/lib/lithic/models/event_subscription.rbi +10 -2
  321. data/rbi/lib/lithic/models/events/subscription_create_params.rbi +12 -2
  322. data/rbi/lib/lithic/models/events/subscription_list_attempts_params.rbi +9 -0
  323. data/rbi/lib/lithic/models/events/subscription_list_params.rbi +11 -2
  324. data/rbi/lib/lithic/models/events/subscription_recover_params.rbi +9 -2
  325. data/rbi/lib/lithic/models/events/subscription_replay_missing_params.rbi +9 -2
  326. data/rbi/lib/lithic/models/events/subscription_retrieve_secret_response.rbi +4 -2
  327. data/rbi/lib/lithic/models/events/subscription_send_simulated_example_params.rbi +5 -2
  328. data/rbi/lib/lithic/models/events/subscription_update_params.rbi +12 -2
  329. data/rbi/lib/lithic/models/external_bank_account_create_params.rbi +20 -0
  330. data/rbi/lib/lithic/models/external_bank_account_create_response.rbi +33 -0
  331. data/rbi/lib/lithic/models/external_bank_account_list_params.rbi +5 -0
  332. data/rbi/lib/lithic/models/external_bank_account_list_response.rbi +33 -0
  333. data/rbi/lib/lithic/models/external_bank_account_retrieve_response.rbi +33 -0
  334. data/rbi/lib/lithic/models/external_bank_account_retry_micro_deposits_response.rbi +33 -0
  335. data/rbi/lib/lithic/models/external_bank_account_retry_prenote_response.rbi +33 -0
  336. data/rbi/lib/lithic/models/external_bank_account_update_params.rbi +9 -0
  337. data/rbi/lib/lithic/models/external_bank_account_update_response.rbi +33 -0
  338. data/rbi/lib/lithic/models/external_bank_accounts/micro_deposit_create_response.rbi +33 -0
  339. data/rbi/lib/lithic/models/external_payment_list_params.rbi +14 -0
  340. data/rbi/lib/lithic/models/financial_account.rbi +8 -0
  341. data/rbi/lib/lithic/models/financial_account_list_params.rbi +9 -2
  342. data/rbi/lib/lithic/models/financial_account_update_status_params.rbi +7 -2
  343. data/rbi/lib/lithic/models/financial_accounts/balance_list_params.rbi +9 -2
  344. data/rbi/lib/lithic/models/financial_accounts/balance_list_response.rbi +14 -0
  345. data/rbi/lib/lithic/models/financial_accounts/credit_configuration_update_params.rbi +2 -0
  346. data/rbi/lib/lithic/models/financial_accounts/financial_account_credit_config.rbi +5 -0
  347. data/rbi/lib/lithic/models/financial_accounts/financial_transaction_list_params.rbi +11 -0
  348. data/rbi/lib/lithic/models/financial_accounts/loan_tape.rbi +94 -13
  349. data/rbi/lib/lithic/models/financial_accounts/loan_tape_list_params.rbi +10 -3
  350. data/rbi/lib/lithic/models/financial_accounts/loan_tape_retrieve_params.rbi +5 -2
  351. data/rbi/lib/lithic/models/financial_accounts/statement.rbi +72 -10
  352. data/rbi/lib/lithic/models/financial_accounts/statement_list_params.rbi +10 -0
  353. data/rbi/lib/lithic/models/financial_accounts/statement_retrieve_params.rbi +5 -2
  354. data/rbi/lib/lithic/models/financial_accounts/statements/line_item_list_params.rbi +7 -3
  355. data/rbi/lib/lithic/models/financial_accounts/statements/statement_line_items.rbi +10 -0
  356. data/rbi/lib/lithic/models/financial_transaction.rbi +44 -2
  357. data/rbi/lib/lithic/models/kyb.rbi +94 -4
  358. data/rbi/lib/lithic/models/kyb_business_entity.rbi +28 -2
  359. data/rbi/lib/lithic/models/kyc.rbi +40 -4
  360. data/rbi/lib/lithic/models/kyc_exempt.rbi +13 -0
  361. data/rbi/lib/lithic/models/management_operation_list_params.rbi +13 -0
  362. data/rbi/lib/lithic/models/message_attempt.rbi +10 -3
  363. data/rbi/lib/lithic/models/non_pci_card.rbi +78 -2
  364. data/rbi/lib/lithic/models/payment.rbi +57 -2
  365. data/rbi/lib/lithic/models/payment_create_params.rbi +2 -0
  366. data/rbi/lib/lithic/models/payment_create_response.rbi +4 -2
  367. data/rbi/lib/lithic/models/payment_list_params.rbi +9 -0
  368. data/rbi/lib/lithic/models/payment_retry_response.rbi +4 -2
  369. data/rbi/lib/lithic/models/payment_simulate_action_params.rbi +9 -2
  370. data/rbi/lib/lithic/models/payment_simulate_action_response.rbi +8 -2
  371. data/rbi/lib/lithic/models/payment_simulate_receipt_params.rbi +13 -3
  372. data/rbi/lib/lithic/models/payment_simulate_receipt_response.rbi +8 -2
  373. data/rbi/lib/lithic/models/payment_simulate_release_params.rbi +5 -2
  374. data/rbi/lib/lithic/models/payment_simulate_release_response.rbi +8 -2
  375. data/rbi/lib/lithic/models/payment_simulate_return_params.rbi +7 -2
  376. data/rbi/lib/lithic/models/payment_simulate_return_response.rbi +8 -2
  377. data/rbi/lib/lithic/models/reports/settlement/network_total_list_params.rbi +16 -0
  378. data/rbi/lib/lithic/models/reports/settlement/network_total_list_response.rbi +26 -2
  379. data/rbi/lib/lithic/models/reports/settlement/network_total_retrieve_response.rbi +26 -2
  380. data/rbi/lib/lithic/models/reports/settlement_list_details_params.rbi +11 -2
  381. data/rbi/lib/lithic/models/required_document.rbi +10 -2
  382. data/rbi/lib/lithic/models/responder_endpoint_check_status_params.rbi +5 -2
  383. data/rbi/lib/lithic/models/responder_endpoint_create_params.rbi +7 -2
  384. data/rbi/lib/lithic/models/responder_endpoint_create_response.rbi +4 -2
  385. data/rbi/lib/lithic/models/responder_endpoint_delete_params.rbi +5 -2
  386. data/rbi/lib/lithic/models/responder_endpoint_status.rbi +6 -2
  387. data/rbi/lib/lithic/models/settlement_detail.rbi +26 -0
  388. data/rbi/lib/lithic/models/settlement_report.rbi +25 -0
  389. data/rbi/lib/lithic/models/settlement_summary_details.rbi +11 -0
  390. data/rbi/lib/lithic/models/shipping_address.rbi +20 -0
  391. data/rbi/lib/lithic/models/three_ds/authentication_retrieve_response.rbi +165 -19
  392. data/rbi/lib/lithic/models/three_ds/authentication_simulate_otp_entry_params.rbi +8 -2
  393. data/rbi/lib/lithic/models/three_ds/authentication_simulate_params.rbi +31 -6
  394. data/rbi/lib/lithic/models/three_ds/authentication_simulate_response.rbi +5 -2
  395. data/rbi/lib/lithic/models/three_ds/challenge_response.rbi +9 -2
  396. data/rbi/lib/lithic/models/three_ds/decisioning_retrieve_secret_response.rbi +4 -2
  397. data/rbi/lib/lithic/models/tokenization.rbi +27 -2
  398. data/rbi/lib/lithic/models/tokenization_decisioning_rotate_secret_response.rbi +4 -2
  399. data/rbi/lib/lithic/models/tokenization_list_params.rbi +11 -0
  400. data/rbi/lib/lithic/models/tokenization_resend_activation_code_params.rbi +7 -2
  401. data/rbi/lib/lithic/models/tokenization_secret.rbi +4 -2
  402. data/rbi/lib/lithic/models/tokenization_simulate_params.rbi +11 -0
  403. data/rbi/lib/lithic/models/tokenization_update_digital_card_art_params.rbi +8 -2
  404. data/rbi/lib/lithic/models/transaction.rbi +246 -35
  405. data/rbi/lib/lithic/models/transaction_list_params.rbi +14 -0
  406. data/rbi/lib/lithic/models/transaction_simulate_authorization_advice_params.rbi +8 -2
  407. data/rbi/lib/lithic/models/transaction_simulate_authorization_advice_response.rbi +6 -2
  408. data/rbi/lib/lithic/models/transaction_simulate_authorization_params.rbi +35 -0
  409. data/rbi/lib/lithic/models/transaction_simulate_authorization_response.rbi +7 -2
  410. data/rbi/lib/lithic/models/transaction_simulate_clearing_params.rbi +15 -2
  411. data/rbi/lib/lithic/models/transaction_simulate_clearing_response.rbi +4 -2
  412. data/rbi/lib/lithic/models/transaction_simulate_credit_authorization_params.rbi +17 -2
  413. data/rbi/lib/lithic/models/transaction_simulate_credit_authorization_response.rbi +6 -2
  414. data/rbi/lib/lithic/models/transaction_simulate_return_params.rbi +9 -2
  415. data/rbi/lib/lithic/models/transaction_simulate_return_response.rbi +6 -2
  416. data/rbi/lib/lithic/models/transaction_simulate_return_reversal_params.rbi +5 -2
  417. data/rbi/lib/lithic/models/transaction_simulate_return_reversal_response.rbi +4 -2
  418. data/rbi/lib/lithic/models/transaction_simulate_void_params.rbi +14 -2
  419. data/rbi/lib/lithic/models/transaction_simulate_void_response.rbi +4 -2
  420. data/rbi/lib/lithic/models/transactions/events/enhanced_data.rbi +57 -16
  421. data/rbi/lib/lithic/models/transfer.rbi +41 -2
  422. data/rbi/lib/lithic/models/transfer_create_params.rbi +17 -2
  423. data/sig/lithic/file_part.rbs +21 -0
  424. data/sig/lithic/internal/transport/base_client.rbs +9 -3
  425. data/sig/lithic/internal/type/{io_like.rbs → file_input.rbs} +1 -1
  426. data/sig/lithic/internal/util.rbs +14 -12
  427. metadata +8 -5
@@ -228,25 +228,71 @@ module Lithic
228
228
  .returns(T.attached_class)
229
229
  end
230
230
  def self.new(
231
+ # Globally unique identifier for the 3DS authentication.
231
232
  token:,
233
+ # Type of account/card that is being used for the transaction. Maps to EMV 3DS
234
+ # field `acctType`.
232
235
  account_type:,
236
+ # Indicates the outcome of the 3DS authentication process.
233
237
  authentication_result:,
238
+ # Indicates whether the expiration date provided by the cardholder during checkout
239
+ # matches Lithic's record of the card's expiration date.
234
240
  card_expiry_check:,
241
+ # Globally unique identifier for the card on which the 3DS authentication has
242
+ # occurred.
235
243
  card_token:,
244
+ # Object containing data about the cardholder provided during the transaction.
236
245
  cardholder:,
246
+ # Channel in which the authentication occurs. Maps to EMV 3DS field deviceChannel.
237
247
  channel:,
248
+ # Date and time when the authentication was created in Lithic's system.
238
249
  created:,
250
+ # Object containing data about the merchant involved in the e-commerce
251
+ # transaction.
239
252
  merchant:,
253
+ # Either PAYMENT_AUTHENTICATION or NON_PAYMENT_AUTHENTICATION. For
254
+ # NON_PAYMENT_AUTHENTICATION, additional_data and transaction fields are not
255
+ # populated.
240
256
  message_category:,
257
+ # Indicates whether a challenge is requested for this transaction
258
+ #
259
+ # - `NO_PREFERENCE` - No Preference
260
+ # - `NO_CHALLENGE_REQUESTED` - No Challenge Requested
261
+ # - `CHALLENGE_PREFERENCE` - Challenge requested (3DS Requestor preference)
262
+ # - `CHALLENGE_MANDATE` - Challenge requested (Mandate)
263
+ # - `NO_CHALLENGE_RISK_ALREADY_ASSESSED` - No Challenge requested (Transactional
264
+ # risk analysis is already performed)
265
+ # - `DATA_SHARE_ONLY` - No Challenge requested (Data Share Only)
266
+ # - `OTHER` - Other indicators not captured by above. These are rarely used
241
267
  three_ds_requestor_challenge_indicator:,
268
+ # Object containing additional data about the 3DS request that is beyond the EMV
269
+ # 3DS standard spec (e.g., specific fields that only certain card networks send
270
+ # but are not required across all 3DS requests).
242
271
  additional_data: nil,
272
+ # Object containing data about the app used in the e-commerce transaction. Present
273
+ # if the channel is 'APP_BASED'.
243
274
  app: nil,
275
+ # Type of authentication request - i.e., the type of transaction or interaction is
276
+ # causing the merchant to request an authentication. Maps to EMV 3DS field
277
+ # threeDSRequestorAuthenticationInd.
244
278
  authentication_request_type: nil,
279
+ # Object containing data about the browser used in the e-commerce transaction.
280
+ # Present if the channel is 'BROWSER'.
245
281
  browser: nil,
282
+ # Metadata about the challenge method and delivery.
246
283
  challenge_metadata: nil,
284
+ # Entity that orchestrates the challenge.
247
285
  challenge_orchestrated_by: nil,
286
+ # Entity that made the authentication decision.
248
287
  decision_made_by: nil,
288
+ # Type of 3DS Requestor Initiated (3RI) request i.e., a 3DS authentication that
289
+ # takes place at the initiation of the merchant rather than the cardholder. The
290
+ # most common example of this is where a merchant is authenticating before billing
291
+ # for a recurring transaction such as a pay TV subscription or a utility bill.
292
+ # Maps to EMV 3DS field threeRIInd.
249
293
  three_ri_request_type: nil,
294
+ # Object containing data about the e-commerce transaction for which the merchant
295
+ # is requesting authentication.
250
296
  transaction: nil
251
297
  ); end
252
298
  sig do
@@ -449,13 +495,28 @@ module Lithic
449
495
  .returns(T.attached_class)
450
496
  end
451
497
  def self.new(
498
+ # Indicates whether the shipping address and billing address provided by the
499
+ # cardholder are the same. This value - and assessment of whether the addresses
500
+ # match - is provided directly in the 3DS request and is not determined by Lithic.
501
+ # Maps to EMV 3DS field addrMatch.
452
502
  address_match: nil,
503
+ # Object containing data on the billing address provided during the transaction.
453
504
  billing_address: nil,
505
+ # Email address that is either provided by the cardholder or is on file with the
506
+ # merchant in a 3RI request. Maps to EMV 3DS field email.
454
507
  email: nil,
508
+ # Name of the cardholder. Maps to EMV 3DS field cardholderName.
455
509
  name: nil,
510
+ # Home phone number provided by the cardholder. Maps to EMV 3DS fields
511
+ # homePhone.cc and homePhone.subscriber.
456
512
  phone_number_home: nil,
513
+ # Mobile/cell phone number provided by the cardholder. Maps to EMV 3DS fields
514
+ # mobilePhone.cc and mobilePhone.subscriber.
457
515
  phone_number_mobile: nil,
516
+ # Work phone number provided by the cardholder. Maps to EMV 3DS fields
517
+ # workPhone.cc and workPhone.subscriber.
458
518
  phone_number_work: nil,
519
+ # Object containing data on the shipping address provided during the transaction.
459
520
  shipping_address: nil
460
521
  ); end
461
522
  sig do
@@ -514,15 +575,20 @@ module Lithic
514
575
  .returns(T.attached_class)
515
576
  end
516
577
  def self.new(
578
+ # First line of the street address provided by the cardholder.
517
579
  address1: nil,
580
+ # Second line of the street address provided by the cardholder.
518
581
  address2: nil,
582
+ # Third line of the street address provided by the cardholder.
519
583
  address3: nil,
584
+ # City of the address provided by the cardholder.
520
585
  city: nil,
586
+ # Country of the address provided by the cardholder in ISO 3166-1 alpha-3 format
587
+ # (e.g. USA)
521
588
  country: nil,
589
+ # Postal code (e.g., ZIP code) of the address provided by the cardholder
522
590
  postal_code: nil
523
- )
524
- end
525
-
591
+ ); end
526
592
  sig do
527
593
  override
528
594
  .returns(
@@ -578,15 +644,20 @@ module Lithic
578
644
  .returns(T.attached_class)
579
645
  end
580
646
  def self.new(
647
+ # First line of the street address provided by the cardholder.
581
648
  address1: nil,
649
+ # Second line of the street address provided by the cardholder.
582
650
  address2: nil,
651
+ # Third line of the street address provided by the cardholder.
583
652
  address3: nil,
653
+ # City of the address provided by the cardholder.
584
654
  city: nil,
655
+ # Country of the address provided by the cardholder in ISO 3166-1 alpha-3 format
656
+ # (e.g. USA)
585
657
  country: nil,
658
+ # Postal code (e.g., ZIP code) of the address provided by the cardholder
586
659
  postal_code: nil
587
- )
588
- end
589
-
660
+ ); end
590
661
  sig do
591
662
  override
592
663
  .returns(
@@ -676,8 +747,22 @@ module Lithic
676
747
  )
677
748
  .returns(T.attached_class)
678
749
  end
679
- def self.new(id:, country:, mcc:, name:, risk_indicator:); end
680
-
750
+ def self.new(
751
+ # Merchant identifier as assigned by the acquirer. Maps to EMV 3DS field
752
+ # acquirerMerchantId.
753
+ id:,
754
+ # Country code of the merchant requesting 3DS authentication. Maps to EMV 3DS
755
+ # field merchantCountryCode.
756
+ country:,
757
+ # Merchant category code assigned to the merchant that describes its business
758
+ # activity type. Maps to EMV 3DS field mcc.
759
+ mcc:,
760
+ # Name of the merchant. Maps to EMV 3DS field merchantName.
761
+ name:,
762
+ # Object containing additional data indicating additional risk factors related to
763
+ # the e-commerce transaction.
764
+ risk_indicator:
765
+ ); end
681
766
  sig do
682
767
  override
683
768
  .returns(
@@ -790,14 +875,35 @@ module Lithic
790
875
  .returns(T.attached_class)
791
876
  end
792
877
  def self.new(
878
+ # In transactions with electronic delivery, email address to which merchandise is
879
+ # delivered. Maps to EMV 3DS field deliveryEmailAddress.
793
880
  delivery_email_address: nil,
881
+ # The delivery time frame for the merchandise. Maps to EMV 3DS field
882
+ # deliveryTimeframe.
794
883
  delivery_time_frame: nil,
884
+ # In prepaid or gift card purchase transactions, purchase amount total in major
885
+ # units (e.g., a purchase of USD $205.10 would be 205). Maps to EMV 3DS field
886
+ # giftCardAmount.
795
887
  gift_card_amount: nil,
888
+ # In prepaid or gift card purchase transactions, count of individual prepaid or
889
+ # gift cards/codes purchased. Maps to EMV 3DS field giftCardCount.
796
890
  gift_card_count: nil,
891
+ # In prepaid or gift card purchase transactions, currency code of the gift card.
892
+ # Maps to EMV 3DS field giftCardCurr.
797
893
  gift_card_currency: nil,
894
+ # Indicates whether the purchase is for merchandise that is available now or at a
895
+ # future date. Maps to EMV 3DS field preOrderPurchaseInd.
798
896
  order_availability: nil,
897
+ # In pre-order purchase transactions, the expected date that the merchandise will
898
+ # be available. Maps to EMV 3DS field preOrderDate.
799
899
  pre_order_available_date: nil,
900
+ # Indicates whether the cardholder is reordering previously purchased merchandise.
901
+ # Maps to EMV 3DS field reorderItemsInd.
800
902
  reorder_items: nil,
903
+ # Shipping method that the cardholder chose for the transaction. If purchase
904
+ # includes one or more item, this indicator is used for the physical goods; if the
905
+ # purchase only includes digital goods, this indicator is used to describe the
906
+ # most expensive item purchased. Maps to EMV 3DS field shipIndicator.
801
907
  shipping_method: nil
802
908
  ); end
803
909
  sig do
@@ -1126,8 +1232,14 @@ module Lithic
1126
1232
  )
1127
1233
  .returns(T.attached_class)
1128
1234
  end
1129
- def self.new(network_decision: nil, network_risk_score: nil); end
1130
-
1235
+ def self.new(
1236
+ # Mastercard only: Indicates whether the network would have considered the
1237
+ # authentication request to be low risk or not.
1238
+ network_decision: nil,
1239
+ # Mastercard only: Assessment by the network of the authentication risk level,
1240
+ # with a higher value indicating a higher amount of risk.
1241
+ network_risk_score: nil
1242
+ ); end
1131
1243
  sig do
1132
1244
  override
1133
1245
  .returns(
@@ -1188,8 +1300,14 @@ module Lithic
1188
1300
  # Object containing data about the app used in the e-commerce transaction. Present
1189
1301
  # if the channel is 'APP_BASED'.
1190
1302
  sig { params(device_info: T.nilable(String), ip: String).returns(T.attached_class) }
1191
- def self.new(device_info: nil, ip: nil); end
1192
-
1303
+ def self.new(
1304
+ # Device information gathered from the cardholder's device - JSON name/value pairs
1305
+ # that is Base64url encoded. Maps to EMV 3DS field deviceInfo.
1306
+ device_info: nil,
1307
+ # External IP address used by the app generating the 3DS authentication request.
1308
+ # Maps to EMV 3DS field appIp.
1309
+ ip: nil
1310
+ ); end
1193
1311
  sig { override.returns({device_info: T.nilable(String), ip: String}) }
1194
1312
  def to_hash; end
1195
1313
  end
@@ -1309,15 +1427,25 @@ module Lithic
1309
1427
  .returns(T.attached_class)
1310
1428
  end
1311
1429
  def self.new(
1430
+ # IP address of the browser as returned by the HTTP headers to the 3DS requestor
1431
+ # (e.g., merchant or digital wallet). Maps to EMV 3DS field browserIP.
1312
1432
  ip: nil,
1433
+ # Indicates whether the cardholder's browser has the ability to execute Java. Maps
1434
+ # to EMV 3DS field browserJavaEnabled.
1313
1435
  java_enabled: nil,
1436
+ # Indicates whether the cardholder's browser has the ability to execute
1437
+ # JavaScript. Maps to EMV 3DS field browserJavascriptEnabled.
1314
1438
  javascript_enabled: nil,
1439
+ # Language of the cardholder's browser as defined in IETF BCP47. Maps to EMV 3DS
1440
+ # field browserLanguage.
1315
1441
  language: nil,
1442
+ # Time zone of the cardholder's browser offset in minutes between UTC and the
1443
+ # cardholder browser's local time. The offset is positive if the local time is
1444
+ # behind UTC and negative if it is ahead. Maps to EMV 3DS field browserTz.
1316
1445
  time_zone: nil,
1446
+ # Content of the HTTP user-agent header. Maps to EMV 3DS field browserUserAgent.
1317
1447
  user_agent: nil
1318
- )
1319
- end
1320
-
1448
+ ); end
1321
1449
  sig do
1322
1450
  override
1323
1451
  .returns(
@@ -1355,8 +1483,12 @@ module Lithic
1355
1483
  )
1356
1484
  .returns(T.attached_class)
1357
1485
  end
1358
- def self.new(method_type:, phone_number: nil); end
1359
-
1486
+ def self.new(
1487
+ # The type of challenge method used for authentication.
1488
+ method_type:,
1489
+ # The phone number used for delivering the OTP. Relevant only for SMS_OTP method.
1490
+ phone_number: nil
1491
+ ); end
1360
1492
  sig do
1361
1493
  override
1362
1494
  .returns(
@@ -1605,8 +1737,22 @@ module Lithic
1605
1737
  )
1606
1738
  .returns(T.attached_class)
1607
1739
  end
1608
- def self.new(amount:, currency:, currency_exponent:, date_time:, type:); end
1609
-
1740
+ def self.new(
1741
+ # Amount of the purchase in minor units of currency with all punctuation removed.
1742
+ # Maps to EMV 3DS field purchaseAmount.
1743
+ amount:,
1744
+ # Currency of the purchase. Maps to EMV 3DS field purchaseCurrency.
1745
+ currency:,
1746
+ # Minor units of currency, as specified in ISO 4217 currency exponent. Maps to EMV
1747
+ # 3DS field purchaseExponent.
1748
+ currency_exponent:,
1749
+ # Date and time when the authentication was generated by the merchant/acquirer's
1750
+ # 3DS server. Maps to EMV 3DS field purchaseDate.
1751
+ date_time:,
1752
+ # Type of the transaction for which a 3DS authentication request is occurring.
1753
+ # Maps to EMV 3DS field transType.
1754
+ type:
1755
+ ); end
1610
1756
  sig do
1611
1757
  override
1612
1758
  .returns(
@@ -24,8 +24,14 @@ module Lithic
24
24
  )
25
25
  .returns(T.attached_class)
26
26
  end
27
- def self.new(token:, otp:, request_options: {}); end
28
-
27
+ def self.new(
28
+ # A unique token returned as part of a /v1/three_ds_authentication/simulate call
29
+ # that resulted in PENDING_CHALLENGE authentication result.
30
+ token:,
31
+ # The OTP entered by the cardholder
32
+ otp:,
33
+ request_options: {}
34
+ ); end
29
35
  sig { override.returns({token: String, otp: String, request_options: Lithic::RequestOptions}) }
30
36
  def to_hash; end
31
37
  end
@@ -56,8 +56,16 @@ module Lithic
56
56
  )
57
57
  .returns(T.attached_class)
58
58
  end
59
- def self.new(merchant:, pan:, transaction:, card_expiry_check: nil, request_options: {}); end
60
-
59
+ def self.new(
60
+ merchant:,
61
+ # Sixteen digit card number.
62
+ pan:,
63
+ transaction:,
64
+ # When set will use the following values as part of the Simulated Authentication.
65
+ # When not set defaults to MATCH
66
+ card_expiry_check: nil,
67
+ request_options: {}
68
+ ); end
61
69
  sig do
62
70
  override
63
71
  .returns(
@@ -95,8 +103,21 @@ module Lithic
95
103
  attr_accessor :name
96
104
 
97
105
  sig { params(id: String, country: String, mcc: String, name: String).returns(T.attached_class) }
98
- def self.new(id:, country:, mcc:, name:); end
99
-
106
+ def self.new(
107
+ # Unique identifier to identify the payment card acceptor. Corresponds to
108
+ # `merchant_acceptor_id` in authorization.
109
+ id:,
110
+ # Country of the address provided by the cardholder in ISO 3166-1 alpha-3 format
111
+ # (e.g. USA)
112
+ country:,
113
+ # Merchant category code for the transaction to be simulated. A four-digit number
114
+ # listed in ISO 18245. Supported merchant category codes can be found
115
+ # [here](https://docs.lithic.com/docs/transactions#merchant-category-codes-mccs).
116
+ mcc:,
117
+ # Merchant descriptor, corresponds to `descriptor` in authorization. If CHALLENGE
118
+ # keyword is included, Lithic will trigger a challenge.
119
+ name:
120
+ ); end
100
121
  sig { override.returns({id: String, country: String, mcc: String, name: String}) }
101
122
  def to_hash; end
102
123
  end
@@ -111,8 +132,12 @@ module Lithic
111
132
  attr_accessor :currency
112
133
 
113
134
  sig { params(amount: Integer, currency: String).returns(T.attached_class) }
114
- def self.new(amount:, currency:); end
115
-
135
+ def self.new(
136
+ # Amount (in cents) to authenticate.
137
+ amount:,
138
+ # 3-character alphabetic ISO 4217 currency code.
139
+ currency:
140
+ ); end
116
141
  sig { override.returns({amount: Integer, currency: String}) }
117
142
  def to_hash; end
118
143
  end
@@ -13,8 +13,11 @@ module Lithic
13
13
  attr_writer :token
14
14
 
15
15
  sig { params(token: String).returns(T.attached_class) }
16
- def self.new(token: nil); end
17
-
16
+ def self.new(
17
+ # A unique token to reference this transaction with later calls to void or clear
18
+ # the authorization.
19
+ token: nil
20
+ ); end
18
21
  sig { override.returns({token: String}) }
19
22
  def to_hash; end
20
23
  end
@@ -19,8 +19,15 @@ module Lithic
19
19
  params(token: String, challenge_response: Lithic::Models::ThreeDS::ChallengeResult::OrSymbol)
20
20
  .returns(T.attached_class)
21
21
  end
22
- def self.new(token:, challenge_response:); end
23
-
22
+ def self.new(
23
+ # Globally unique identifier for the 3DS authentication. This token is sent as
24
+ # part of the initial 3DS Decisioning Request and as part of the 3DS Challenge
25
+ # Event in the [ThreeDSAuthentication](#/components/schemas/ThreeDSAuthentication)
26
+ # object
27
+ token:,
28
+ # Whether the Cardholder has Approved or Declined the issued Challenge
29
+ challenge_response:
30
+ ); end
24
31
  sig { override.returns({token: String, challenge_response: Lithic::Models::ThreeDS::ChallengeResult::OrSymbol}) }
25
32
  def to_hash; end
26
33
  end
@@ -12,8 +12,10 @@ module Lithic
12
12
  attr_writer :secret
13
13
 
14
14
  sig { params(secret: String).returns(T.attached_class) }
15
- def self.new(secret: nil); end
16
-
15
+ def self.new(
16
+ # The 3DS Decisioning HMAC secret
17
+ secret: nil
18
+ ); end
17
19
  sig { override.returns({secret: String}) }
18
20
  def to_hash; end
19
21
  end
@@ -84,18 +84,35 @@ module Lithic
84
84
  .returns(T.attached_class)
85
85
  end
86
86
  def self.new(
87
+ # Globally unique identifier for a Tokenization
87
88
  token:,
89
+ # The account token associated with the card being tokenized.
88
90
  account_token:,
91
+ # The card token associated with the card being tokenized.
89
92
  card_token:,
93
+ # Date and time when the tokenization first occurred. UTC time zone.
90
94
  created_at:,
95
+ # The dynamic pan assigned to the token by the network.
91
96
  dpan:,
97
+ # The status of the tokenization request
92
98
  status:,
99
+ # The entity that requested the tokenization. Represents a Digital Wallet or
100
+ # merchant.
93
101
  token_requestor_name:,
102
+ # The network's unique reference for the tokenization.
94
103
  token_unique_reference:,
104
+ # The channel through which the tokenization was made.
95
105
  tokenization_channel:,
106
+ # Latest date and time when the tokenization was updated. UTC time zone.
96
107
  updated_at:,
108
+ # Specifies the digital card art displayed in the user’s digital wallet after
109
+ # tokenization. This will be null if the tokenization was created without an
110
+ # associated digital card art. See
111
+ # [Flexible Card Art Guide](https://docs.lithic.com/docs/about-digital-wallets#flexible-card-art).
97
112
  digital_card_art_token: nil,
113
+ # A list of events related to the tokenization.
98
114
  events: nil,
115
+ # The network's unique reference for the card that is tokenized.
99
116
  payment_account_reference_id: nil
100
117
  ); end
101
118
  sig do
@@ -215,8 +232,16 @@ module Lithic
215
232
  )
216
233
  .returns(T.attached_class)
217
234
  end
218
- def self.new(token: nil, created_at: nil, result: nil, type: nil); end
219
-
235
+ def self.new(
236
+ # Globally unique identifier for a Tokenization Event
237
+ token: nil,
238
+ # Date and time when the tokenization event first occurred. UTC time zone.
239
+ created_at: nil,
240
+ # Enum representing the result of the tokenization event
241
+ result: nil,
242
+ # Enum representing the type of tokenization event that occurred
243
+ type: nil
244
+ ); end
220
245
  sig do
221
246
  override
222
247
  .returns(
@@ -11,8 +11,10 @@ module Lithic
11
11
  attr_writer :secret
12
12
 
13
13
  sig { params(secret: String).returns(T.attached_class) }
14
- def self.new(secret: nil); end
15
-
14
+ def self.new(
15
+ # The new Tokenization Decisioning HMAC secret
16
+ secret: nil
17
+ ); end
16
18
  sig { override.returns({secret: String}) }
17
19
  def to_hash; end
18
20
  end
@@ -80,13 +80,24 @@ module Lithic
80
80
  .returns(T.attached_class)
81
81
  end
82
82
  def self.new(
83
+ # Filters for tokenizations associated with a specific account.
83
84
  account_token: nil,
85
+ # Filter for tokenizations created after this date.
84
86
  begin_: nil,
87
+ # Filters for tokenizations associated with a specific card.
85
88
  card_token: nil,
89
+ # Filter for tokenizations created before this date.
86
90
  end_: nil,
91
+ # A cursor representing an item's token before which a page of results should end.
92
+ # Used to retrieve the previous page of results before this item.
87
93
  ending_before: nil,
94
+ # Page size (for pagination).
88
95
  page_size: nil,
96
+ # A cursor representing an item's token after which a page of results should
97
+ # begin. Used to retrieve the next page of results after this item.
89
98
  starting_after: nil,
99
+ # Filter for tokenizations by tokenization channel. If this is not specified, only
100
+ # DIGITAL_WALLET tokenizations will be returned.
90
101
  tokenization_channel: nil,
91
102
  request_options: {}
92
103
  ); end
@@ -27,8 +27,13 @@ module Lithic
27
27
  )
28
28
  .returns(T.attached_class)
29
29
  end
30
- def self.new(activation_method_type: nil, request_options: {}); end
31
-
30
+ def self.new(
31
+ # The communication method that the user has selected to use to receive the
32
+ # authentication code. Supported Values: Sms = "TEXT_TO_CARDHOLDER_NUMBER". Email
33
+ # = "EMAIL_TO_CARDHOLDER_ADDRESS"
34
+ activation_method_type: nil,
35
+ request_options: {}
36
+ ); end
32
37
  sig do
33
38
  override
34
39
  .returns(
@@ -11,8 +11,10 @@ module Lithic
11
11
  attr_writer :secret
12
12
 
13
13
  sig { params(secret: String).returns(T.attached_class) }
14
- def self.new(secret: nil); end
15
-
14
+ def self.new(
15
+ # The Tokenization Decisioning HMAC secret
16
+ secret: nil
17
+ ); end
16
18
  sig { override.returns({secret: String}) }
17
19
  def to_hash; end
18
20
  end
@@ -73,13 +73,24 @@ module Lithic
73
73
  .returns(T.attached_class)
74
74
  end
75
75
  def self.new(
76
+ # The three digit cvv for the card.
76
77
  cvv:,
78
+ # The expiration date of the card in 'MM/YY' format.
77
79
  expiration_date:,
80
+ # The sixteen digit card number.
78
81
  pan:,
82
+ # The source of the tokenization request.
79
83
  tokenization_source:,
84
+ # The account score (1-5) that represents how the Digital Wallet's view on how
85
+ # reputable an end user's account is.
80
86
  account_score: nil,
87
+ # The device score (1-5) that represents how the Digital Wallet's view on how
88
+ # reputable an end user's device is.
81
89
  device_score: nil,
90
+ # Optional field to specify the token requestor name for a merchant token
91
+ # simulation. Ignored when tokenization_source is not MERCHANT.
82
92
  entity: nil,
93
+ # The decision that the Digital Wallet's recommend
83
94
  wallet_recommended_decision: nil,
84
95
  request_options: {}
85
96
  ); end
@@ -23,8 +23,14 @@ module Lithic
23
23
  )
24
24
  .returns(T.attached_class)
25
25
  end
26
- def self.new(digital_card_art_token: nil, request_options: {}); end
27
-
26
+ def self.new(
27
+ # Specifies the digital card art to be displayed in the user’s digital wallet for
28
+ # a tokenization. This artwork must be approved by the network and configured by
29
+ # Lithic to use. See
30
+ # [Flexible Card Art Guide](https://docs.lithic.com/docs/about-digital-wallets#flexible-card-art).
31
+ digital_card_art_token: nil,
32
+ request_options: {}
33
+ ); end
28
34
  sig { override.returns({digital_card_art_token: String, request_options: Lithic::RequestOptions}) }
29
35
  def to_hash; end
30
36
  end