lithic 0.1.0.pre.alpha.6 → 0.1.0.pre.alpha.7

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 (510) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/lithic/client.rb +3 -3
  4. data/lib/lithic/internal/transport/base_client.rb +1 -1
  5. data/lib/lithic/internal/transport/pooled_net_requester.rb +1 -1
  6. data/lib/lithic/internal/type/base_model.rb +14 -17
  7. data/lib/lithic/internal/type/converter.rb +20 -22
  8. data/lib/lithic/internal/type/enum.rb +8 -8
  9. data/lib/lithic/internal/util.rb +1 -5
  10. data/lib/lithic/models/account.rb +37 -37
  11. data/lib/lithic/models/account_holder.rb +58 -55
  12. data/lib/lithic/models/account_holder_create_params.rb +59 -59
  13. data/lib/lithic/models/account_holder_create_response.rb +6 -6
  14. data/lib/lithic/models/account_holder_list_params.rb +10 -10
  15. data/lib/lithic/models/account_holder_simulate_enrollment_document_review_params.rb +2 -2
  16. data/lib/lithic/models/account_holder_simulate_enrollment_review_params.rb +1 -1
  17. data/lib/lithic/models/account_holder_simulate_enrollment_review_response.rb +71 -71
  18. data/lib/lithic/models/account_holder_update_params.rb +56 -64
  19. data/lib/lithic/models/account_holder_update_response.rb +75 -75
  20. data/lib/lithic/models/account_list_params.rb +6 -6
  21. data/lib/lithic/models/account_spend_limits.rb +6 -6
  22. data/lib/lithic/models/account_update_params.rb +14 -14
  23. data/lib/lithic/models/address.rb +5 -5
  24. data/lib/lithic/models/address_update.rb +3 -3
  25. data/lib/lithic/models/aggregate_balance.rb +4 -4
  26. data/lib/lithic/models/auth_rules/auth_rule.rb +6 -6
  27. data/lib/lithic/models/auth_rules/auth_rule_condition.rb +44 -44
  28. data/lib/lithic/models/auth_rules/conditional_attribute.rb +44 -44
  29. data/lib/lithic/models/auth_rules/v2/backtest_results.rb +10 -10
  30. data/lib/lithic/models/auth_rules/v2_apply_response.rb +2 -2
  31. data/lib/lithic/models/auth_rules/v2_create_response.rb +2 -2
  32. data/lib/lithic/models/auth_rules/v2_draft_response.rb +2 -2
  33. data/lib/lithic/models/auth_rules/v2_list_params.rb +2 -2
  34. data/lib/lithic/models/auth_rules/v2_list_response.rb +2 -2
  35. data/lib/lithic/models/auth_rules/v2_promote_response.rb +2 -2
  36. data/lib/lithic/models/auth_rules/v2_retrieve_response.rb +2 -2
  37. data/lib/lithic/models/auth_rules/v2_update_params.rb +6 -6
  38. data/lib/lithic/models/auth_rules/v2_update_response.rb +2 -2
  39. data/lib/lithic/models/auth_rules/velocity_limit_params.rb +14 -14
  40. data/lib/lithic/models/auth_rules/velocity_limit_params_period_window.rb +5 -5
  41. data/lib/lithic/models/balance.rb +4 -4
  42. data/lib/lithic/models/balance_list_params.rb +1 -1
  43. data/lib/lithic/models/book_transfer_create_params.rb +4 -4
  44. data/lib/lithic/models/book_transfer_list_params.rb +7 -7
  45. data/lib/lithic/models/book_transfer_response.rb +14 -14
  46. data/lib/lithic/models/card.rb +110 -110
  47. data/lib/lithic/models/card_convert_physical_params.rb +22 -22
  48. data/lib/lithic/models/card_create_params.rb +93 -93
  49. data/lib/lithic/models/card_list_params.rb +6 -6
  50. data/lib/lithic/models/card_program.rb +1 -1
  51. data/lib/lithic/models/card_program_list_params.rb +2 -2
  52. data/lib/lithic/models/card_provision_params.rb +11 -11
  53. data/lib/lithic/models/card_reissue_params.rb +22 -22
  54. data/lib/lithic/models/card_renew_params.rb +24 -24
  55. data/lib/lithic/models/card_spend_limits.rb +6 -6
  56. data/lib/lithic/models/card_update_params.rb +33 -33
  57. data/lib/lithic/models/cards/aggregate_balance_list_response.rb +4 -4
  58. data/lib/lithic/models/cards/balance_list_params.rb +2 -2
  59. data/lib/lithic/models/cards/balance_list_response.rb +4 -4
  60. data/lib/lithic/models/cards/financial_transaction_list_params.rb +6 -6
  61. data/lib/lithic/models/digital_card_art_list_params.rb +2 -2
  62. data/lib/lithic/models/dispute.rb +88 -88
  63. data/lib/lithic/models/dispute_evidence.rb +11 -11
  64. data/lib/lithic/models/dispute_list_evidences_params.rb +6 -6
  65. data/lib/lithic/models/dispute_list_params.rb +6 -6
  66. data/lib/lithic/models/document.rb +6 -6
  67. data/lib/lithic/models/event.rb +51 -51
  68. data/lib/lithic/models/event_list_attempts_params.rb +6 -6
  69. data/lib/lithic/models/event_list_params.rb +6 -6
  70. data/lib/lithic/models/events/subscription_create_params.rb +1 -1
  71. data/lib/lithic/models/events/subscription_list_attempts_params.rb +6 -6
  72. data/lib/lithic/models/events/subscription_list_params.rb +2 -2
  73. data/lib/lithic/models/events/subscription_recover_params.rb +4 -4
  74. data/lib/lithic/models/events/subscription_replay_missing_params.rb +4 -4
  75. data/lib/lithic/models/events/subscription_update_params.rb +1 -1
  76. data/lib/lithic/models/external_bank_account_create_params.rb +4 -4
  77. data/lib/lithic/models/external_bank_account_create_response.rb +11 -11
  78. data/lib/lithic/models/external_bank_account_list_params.rb +2 -2
  79. data/lib/lithic/models/external_bank_account_list_response.rb +11 -11
  80. data/lib/lithic/models/external_bank_account_retrieve_response.rb +11 -11
  81. data/lib/lithic/models/external_bank_account_retry_micro_deposits_response.rb +11 -11
  82. data/lib/lithic/models/external_bank_account_retry_prenote_response.rb +11 -11
  83. data/lib/lithic/models/external_bank_account_update_params.rb +1 -1
  84. data/lib/lithic/models/external_bank_account_update_response.rb +11 -11
  85. data/lib/lithic/models/external_bank_accounts/micro_deposit_create_response.rb +11 -11
  86. data/lib/lithic/models/external_payment_list_params.rb +7 -7
  87. data/lib/lithic/models/financial_account_create_params.rb +1 -1
  88. data/lib/lithic/models/financial_accounts/balance_list_params.rb +2 -2
  89. data/lib/lithic/models/financial_accounts/balance_list_response.rb +4 -4
  90. data/lib/lithic/models/financial_accounts/financial_transaction_list_params.rb +6 -6
  91. data/lib/lithic/models/financial_accounts/loan_tape.rb +13 -13
  92. data/lib/lithic/models/financial_accounts/loan_tape_list_params.rb +6 -6
  93. data/lib/lithic/models/financial_accounts/statement.rb +6 -6
  94. data/lib/lithic/models/financial_accounts/statement_list_params.rb +6 -6
  95. data/lib/lithic/models/financial_accounts/statements/line_item_list_params.rb +2 -2
  96. data/lib/lithic/models/financial_accounts/statements/statement_line_items.rb +2 -1
  97. data/lib/lithic/models/financial_transaction.rb +35 -34
  98. data/lib/lithic/models/kyb.rb +47 -47
  99. data/lib/lithic/models/kyb_business_entity.rb +9 -9
  100. data/lib/lithic/models/kyc.rb +12 -12
  101. data/lib/lithic/models/kyc_exempt.rb +4 -4
  102. data/lib/lithic/models/management_operation_list_params.rb +7 -7
  103. data/lib/lithic/models/management_operation_transaction.rb +36 -0
  104. data/lib/lithic/models/message_attempt.rb +1 -1
  105. data/lib/lithic/models/payment.rb +66 -54
  106. data/lib/lithic/models/payment_create_params.rb +1 -1
  107. data/lib/lithic/models/payment_list_params.rb +6 -6
  108. data/lib/lithic/models/reports/settlement/network_total_list_params.rb +7 -7
  109. data/lib/lithic/models/reports/settlement/network_total_list_response.rb +7 -7
  110. data/lib/lithic/models/reports/settlement/network_total_retrieve_response.rb +7 -7
  111. data/lib/lithic/models/reports/settlement_list_details_params.rb +2 -2
  112. data/lib/lithic/models/required_document.rb +2 -2
  113. data/lib/lithic/models/settlement_detail.rb +5 -5
  114. data/lib/lithic/models/settlement_report.rb +15 -15
  115. data/lib/lithic/models/settlement_summary_details.rb +3 -3
  116. data/lib/lithic/models/shipping_address.rb +9 -9
  117. data/lib/lithic/models/spend_limit_duration.rb +10 -10
  118. data/lib/lithic/models/three_ds/authentication_retrieve_response.rb +97 -97
  119. data/lib/lithic/models/three_ds/authentication_simulate_otp_entry_params.rb +1 -1
  120. data/lib/lithic/models/three_ds/authentication_simulate_params.rb +7 -7
  121. data/lib/lithic/models/three_ds/authentication_simulate_response.rb +1 -1
  122. data/lib/lithic/models/three_ds/challenge_response.rb +3 -3
  123. data/lib/lithic/models/tokenization.rb +5 -5
  124. data/lib/lithic/models/tokenization_list_params.rb +6 -6
  125. data/lib/lithic/models/tokenization_resend_activation_code_params.rb +4 -4
  126. data/lib/lithic/models/tokenization_simulate_params.rb +3 -3
  127. data/lib/lithic/models/tokenization_update_digital_card_art_params.rb +3 -3
  128. data/lib/lithic/models/transaction.rb +95 -95
  129. data/lib/lithic/models/transaction_list_params.rb +8 -8
  130. data/lib/lithic/models/transaction_simulate_authorization_advice_params.rb +1 -1
  131. data/lib/lithic/models/transaction_simulate_authorization_params.rb +38 -38
  132. data/lib/lithic/models/transaction_simulate_authorization_response.rb +1 -1
  133. data/lib/lithic/models/transaction_simulate_clearing_params.rb +7 -7
  134. data/lib/lithic/models/transaction_simulate_credit_authorization_params.rb +4 -4
  135. data/lib/lithic/models/transaction_simulate_void_params.rb +7 -7
  136. data/lib/lithic/models/transactions/events/enhanced_data.rb +2 -2
  137. data/lib/lithic/models/transfer.rb +25 -24
  138. data/lib/lithic/models/transfer_create_params.rb +4 -4
  139. data/lib/lithic/request_options.rb +7 -7
  140. data/lib/lithic/resources/account_holders.rb +52 -52
  141. data/lib/lithic/resources/accounts.rb +7 -7
  142. data/lib/lithic/resources/aggregate_balances.rb +1 -1
  143. data/lib/lithic/resources/auth_rules/v2/backtests.rb +38 -38
  144. data/lib/lithic/resources/auth_rules/v2.rb +58 -58
  145. data/lib/lithic/resources/auth_stream_enrollment.rb +8 -8
  146. data/lib/lithic/resources/book_transfers.rb +2 -2
  147. data/lib/lithic/resources/cards/financial_transactions.rb +1 -1
  148. data/lib/lithic/resources/cards.rb +63 -63
  149. data/lib/lithic/resources/disputes.rb +6 -6
  150. data/lib/lithic/resources/events/subscriptions.rb +8 -8
  151. data/lib/lithic/resources/events.rb +2 -2
  152. data/lib/lithic/resources/external_payments.rb +1 -1
  153. data/lib/lithic/resources/financial_accounts/financial_transactions.rb +1 -1
  154. data/lib/lithic/resources/financial_accounts/loan_tapes.rb +1 -1
  155. data/lib/lithic/resources/financial_accounts/statements.rb +1 -1
  156. data/lib/lithic/resources/financial_accounts.rb +1 -1
  157. data/lib/lithic/resources/management_operations.rb +1 -1
  158. data/lib/lithic/resources/payments.rb +2 -2
  159. data/lib/lithic/resources/reports/settlement/network_totals.rb +1 -1
  160. data/lib/lithic/resources/three_ds/authentication.rb +6 -6
  161. data/lib/lithic/resources/three_ds/decisioning.rb +8 -8
  162. data/lib/lithic/resources/tokenization_decisioning.rb +7 -7
  163. data/lib/lithic/resources/tokenizations.rb +46 -46
  164. data/lib/lithic/resources/transactions/enhanced_commercial_data.rb +1 -1
  165. data/lib/lithic/resources/transactions/events/enhanced_commercial_data.rb +1 -1
  166. data/lib/lithic/resources/transactions.rb +24 -24
  167. data/lib/lithic/resources/transfers.rb +1 -1
  168. data/lib/lithic/version.rb +1 -1
  169. data/rbi/lib/lithic/client.rbi +6 -9
  170. data/rbi/lib/lithic/errors.rbi +3 -6
  171. data/rbi/lib/lithic/internal/cursor_page.rbi +1 -2
  172. data/rbi/lib/lithic/internal/single_page.rbi +1 -2
  173. data/rbi/lib/lithic/internal/transport/base_client.rbi +13 -27
  174. data/rbi/lib/lithic/internal/transport/pooled_net_requester.rbi +7 -13
  175. data/rbi/lib/lithic/internal/type/array_of.rbi +8 -16
  176. data/rbi/lib/lithic/internal/type/base_model.rbi +45 -64
  177. data/rbi/lib/lithic/internal/type/base_page.rbi +5 -10
  178. data/rbi/lib/lithic/internal/type/boolean.rbi +4 -8
  179. data/rbi/lib/lithic/internal/type/converter.rbi +25 -31
  180. data/rbi/lib/lithic/internal/type/enum.rbi +14 -20
  181. data/rbi/lib/lithic/internal/type/hash_of.rbi +8 -16
  182. data/rbi/lib/lithic/internal/type/request_parameters.rbi +1 -2
  183. data/rbi/lib/lithic/internal/type/union.rbi +10 -20
  184. data/rbi/lib/lithic/internal/type/unknown.rbi +4 -8
  185. data/rbi/lib/lithic/internal/util.rbi +34 -68
  186. data/rbi/lib/lithic/internal.rbi +1 -1
  187. data/rbi/lib/lithic/models/account.rbi +46 -56
  188. data/rbi/lib/lithic/models/account_financial_account_type.rbi +1 -2
  189. data/rbi/lib/lithic/models/account_holder.rbi +81 -99
  190. data/rbi/lib/lithic/models/account_holder_create_params.rbi +73 -90
  191. data/rbi/lib/lithic/models/account_holder_create_response.rbi +9 -12
  192. data/rbi/lib/lithic/models/account_holder_list_documents_params.rbi +2 -4
  193. data/rbi/lib/lithic/models/account_holder_list_documents_response.rbi +2 -4
  194. data/rbi/lib/lithic/models/account_holder_list_params.rbi +10 -13
  195. data/rbi/lib/lithic/models/account_holder_retrieve_document_params.rbi +2 -4
  196. data/rbi/lib/lithic/models/account_holder_retrieve_params.rbi +2 -4
  197. data/rbi/lib/lithic/models/account_holder_simulate_enrollment_document_review_params.rbi +6 -11
  198. data/rbi/lib/lithic/models/account_holder_simulate_enrollment_review_params.rbi +5 -9
  199. data/rbi/lib/lithic/models/account_holder_simulate_enrollment_review_response.rbi +103 -123
  200. data/rbi/lib/lithic/models/account_holder_update_params.rbi +68 -94
  201. data/rbi/lib/lithic/models/account_holder_update_response.rbi +135 -140
  202. data/rbi/lib/lithic/models/account_holder_upload_document_params.rbi +3 -6
  203. data/rbi/lib/lithic/models/account_list_params.rbi +5 -6
  204. data/rbi/lib/lithic/models/account_retrieve_params.rbi +2 -4
  205. data/rbi/lib/lithic/models/account_retrieve_spend_limits_params.rbi +2 -4
  206. data/rbi/lib/lithic/models/account_spend_limits.rbi +14 -22
  207. data/rbi/lib/lithic/models/account_update_params.rbi +19 -25
  208. data/rbi/lib/lithic/models/address.rbi +7 -9
  209. data/rbi/lib/lithic/models/address_update.rbi +5 -7
  210. data/rbi/lib/lithic/models/aggregate_balance.rbi +7 -11
  211. data/rbi/lib/lithic/models/aggregate_balance_list_params.rbi +3 -6
  212. data/rbi/lib/lithic/models/api_status.rbi +2 -4
  213. data/rbi/lib/lithic/models/auth_rules/auth_rule.rbi +9 -13
  214. data/rbi/lib/lithic/models/auth_rules/auth_rule_condition.rbi +48 -52
  215. data/rbi/lib/lithic/models/auth_rules/conditional_attribute.rbi +45 -46
  216. data/rbi/lib/lithic/models/auth_rules/conditional_block_parameters.rbi +2 -4
  217. data/rbi/lib/lithic/models/auth_rules/v2/backtest_create_params.rbi +2 -4
  218. data/rbi/lib/lithic/models/auth_rules/v2/backtest_create_response.rbi +2 -4
  219. data/rbi/lib/lithic/models/auth_rules/v2/backtest_results.rbi +40 -54
  220. data/rbi/lib/lithic/models/auth_rules/v2/backtest_retrieve_params.rbi +2 -4
  221. data/rbi/lib/lithic/models/auth_rules/v2_apply_params.rbi +1 -2
  222. data/rbi/lib/lithic/models/auth_rules/v2_apply_response.rbi +12 -23
  223. data/rbi/lib/lithic/models/auth_rules/v2_create_params.rbi +4 -9
  224. data/rbi/lib/lithic/models/auth_rules/v2_create_response.rbi +12 -23
  225. data/rbi/lib/lithic/models/auth_rules/v2_delete_params.rbi +2 -4
  226. data/rbi/lib/lithic/models/auth_rules/v2_draft_params.rbi +3 -6
  227. data/rbi/lib/lithic/models/auth_rules/v2_draft_response.rbi +12 -23
  228. data/rbi/lib/lithic/models/auth_rules/v2_list_params.rbi +4 -7
  229. data/rbi/lib/lithic/models/auth_rules/v2_list_response.rbi +12 -23
  230. data/rbi/lib/lithic/models/auth_rules/v2_promote_params.rbi +2 -4
  231. data/rbi/lib/lithic/models/auth_rules/v2_promote_response.rbi +12 -23
  232. data/rbi/lib/lithic/models/auth_rules/v2_report_params.rbi +2 -4
  233. data/rbi/lib/lithic/models/auth_rules/v2_report_response.rbi +2 -4
  234. data/rbi/lib/lithic/models/auth_rules/v2_retrieve_params.rbi +2 -4
  235. data/rbi/lib/lithic/models/auth_rules/v2_retrieve_response.rbi +12 -23
  236. data/rbi/lib/lithic/models/auth_rules/v2_update_params.rbi +9 -13
  237. data/rbi/lib/lithic/models/auth_rules/v2_update_response.rbi +12 -23
  238. data/rbi/lib/lithic/models/auth_rules/velocity_limit_params.rbi +19 -24
  239. data/rbi/lib/lithic/models/auth_rules/velocity_limit_params_period_window.rbi +6 -7
  240. data/rbi/lib/lithic/models/auth_stream_enrollment_retrieve_secret_params.rbi +2 -4
  241. data/rbi/lib/lithic/models/auth_stream_enrollment_rotate_secret_params.rbi +2 -4
  242. data/rbi/lib/lithic/models/auth_stream_secret.rbi +2 -4
  243. data/rbi/lib/lithic/models/balance.rbi +7 -11
  244. data/rbi/lib/lithic/models/balance_list_params.rbi +4 -8
  245. data/rbi/lib/lithic/models/book_transfer_create_params.rbi +8 -13
  246. data/rbi/lib/lithic/models/book_transfer_list_params.rbi +10 -16
  247. data/rbi/lib/lithic/models/book_transfer_response.rbi +23 -33
  248. data/rbi/lib/lithic/models/book_transfer_retrieve_params.rbi +2 -4
  249. data/rbi/lib/lithic/models/book_transfer_reverse_params.rbi +2 -4
  250. data/rbi/lib/lithic/models/card.rbi +117 -127
  251. data/rbi/lib/lithic/models/card_convert_physical_params.rbi +24 -26
  252. data/rbi/lib/lithic/models/card_create_params.rbi +98 -104
  253. data/rbi/lib/lithic/models/card_embed_params.rbi +2 -4
  254. data/rbi/lib/lithic/models/card_list_params.rbi +7 -11
  255. data/rbi/lib/lithic/models/card_program.rbi +3 -6
  256. data/rbi/lib/lithic/models/card_program_list_params.rbi +4 -6
  257. data/rbi/lib/lithic/models/card_program_retrieve_params.rbi +2 -4
  258. data/rbi/lib/lithic/models/card_provision_params.rbi +14 -18
  259. data/rbi/lib/lithic/models/card_provision_response.rbi +2 -4
  260. data/rbi/lib/lithic/models/card_reissue_params.rbi +24 -26
  261. data/rbi/lib/lithic/models/card_renew_params.rbi +27 -31
  262. data/rbi/lib/lithic/models/card_retrieve_params.rbi +2 -4
  263. data/rbi/lib/lithic/models/card_retrieve_spend_limits_params.rbi +2 -4
  264. data/rbi/lib/lithic/models/card_search_by_pan_params.rbi +2 -4
  265. data/rbi/lib/lithic/models/card_spend_limits.rbi +14 -22
  266. data/rbi/lib/lithic/models/card_update_params.rbi +37 -42
  267. data/rbi/lib/lithic/models/cards/aggregate_balance_list_params.rbi +2 -4
  268. data/rbi/lib/lithic/models/cards/aggregate_balance_list_response.rbi +6 -9
  269. data/rbi/lib/lithic/models/cards/balance_list_params.rbi +4 -6
  270. data/rbi/lib/lithic/models/cards/balance_list_response.rbi +7 -11
  271. data/rbi/lib/lithic/models/cards/financial_transaction_list_params.rbi +9 -15
  272. data/rbi/lib/lithic/models/cards/financial_transaction_retrieve_params.rbi +2 -4
  273. data/rbi/lib/lithic/models/carrier.rbi +2 -4
  274. data/rbi/lib/lithic/models/client_api_status_params.rbi +2 -4
  275. data/rbi/lib/lithic/models/credit_products/extended_credit.rbi +2 -4
  276. data/rbi/lib/lithic/models/credit_products/extended_credit_retrieve_params.rbi +2 -4
  277. data/rbi/lib/lithic/models/credit_products/prime_rate_create_params.rbi +2 -4
  278. data/rbi/lib/lithic/models/credit_products/prime_rate_retrieve_params.rbi +2 -4
  279. data/rbi/lib/lithic/models/credit_products/prime_rate_retrieve_response.rbi +4 -8
  280. data/rbi/lib/lithic/models/digital_card_art.rbi +2 -4
  281. data/rbi/lib/lithic/models/digital_card_art_list_params.rbi +4 -6
  282. data/rbi/lib/lithic/models/digital_card_art_retrieve_params.rbi +2 -4
  283. data/rbi/lib/lithic/models/dispute.rbi +93 -99
  284. data/rbi/lib/lithic/models/dispute_create_params.rbi +2 -4
  285. data/rbi/lib/lithic/models/dispute_delete_evidence_params.rbi +2 -4
  286. data/rbi/lib/lithic/models/dispute_delete_params.rbi +2 -4
  287. data/rbi/lib/lithic/models/dispute_evidence.rbi +13 -15
  288. data/rbi/lib/lithic/models/dispute_initiate_evidence_upload_params.rbi +2 -4
  289. data/rbi/lib/lithic/models/dispute_list_evidences_params.rbi +5 -6
  290. data/rbi/lib/lithic/models/dispute_list_params.rbi +7 -11
  291. data/rbi/lib/lithic/models/dispute_retrieve_evidence_params.rbi +2 -4
  292. data/rbi/lib/lithic/models/dispute_retrieve_params.rbi +2 -4
  293. data/rbi/lib/lithic/models/dispute_update_params.rbi +2 -4
  294. data/rbi/lib/lithic/models/document.rbi +13 -21
  295. data/rbi/lib/lithic/models/event.rbi +58 -61
  296. data/rbi/lib/lithic/models/event_list_attempts_params.rbi +7 -11
  297. data/rbi/lib/lithic/models/event_list_params.rbi +7 -11
  298. data/rbi/lib/lithic/models/event_retrieve_params.rbi +2 -4
  299. data/rbi/lib/lithic/models/event_subscription.rbi +3 -6
  300. data/rbi/lib/lithic/models/events/event_subscription_resend_params.rbi +2 -4
  301. data/rbi/lib/lithic/models/events/subscription_create_params.rbi +4 -7
  302. data/rbi/lib/lithic/models/events/subscription_delete_params.rbi +2 -4
  303. data/rbi/lib/lithic/models/events/subscription_list_attempts_params.rbi +7 -11
  304. data/rbi/lib/lithic/models/events/subscription_list_params.rbi +4 -6
  305. data/rbi/lib/lithic/models/events/subscription_recover_params.rbi +4 -6
  306. data/rbi/lib/lithic/models/events/subscription_replay_missing_params.rbi +4 -6
  307. data/rbi/lib/lithic/models/events/subscription_retrieve_params.rbi +2 -4
  308. data/rbi/lib/lithic/models/events/subscription_retrieve_secret_params.rbi +2 -4
  309. data/rbi/lib/lithic/models/events/subscription_retrieve_secret_response.rbi +2 -4
  310. data/rbi/lib/lithic/models/events/subscription_rotate_secret_params.rbi +2 -4
  311. data/rbi/lib/lithic/models/events/subscription_send_simulated_example_params.rbi +3 -6
  312. data/rbi/lib/lithic/models/events/subscription_update_params.rbi +4 -7
  313. data/rbi/lib/lithic/models/external_bank_account_address.rbi +2 -4
  314. data/rbi/lib/lithic/models/external_bank_account_create_params.rbi +8 -13
  315. data/rbi/lib/lithic/models/external_bank_account_create_response.rbi +18 -26
  316. data/rbi/lib/lithic/models/external_bank_account_list_params.rbi +7 -13
  317. data/rbi/lib/lithic/models/external_bank_account_list_response.rbi +18 -26
  318. data/rbi/lib/lithic/models/external_bank_account_retrieve_params.rbi +2 -4
  319. data/rbi/lib/lithic/models/external_bank_account_retrieve_response.rbi +18 -26
  320. data/rbi/lib/lithic/models/external_bank_account_retry_micro_deposits_params.rbi +2 -4
  321. data/rbi/lib/lithic/models/external_bank_account_retry_micro_deposits_response.rbi +18 -26
  322. data/rbi/lib/lithic/models/external_bank_account_retry_prenote_params.rbi +2 -4
  323. data/rbi/lib/lithic/models/external_bank_account_retry_prenote_response.rbi +16 -22
  324. data/rbi/lib/lithic/models/external_bank_account_update_params.rbi +4 -8
  325. data/rbi/lib/lithic/models/external_bank_account_update_response.rbi +18 -26
  326. data/rbi/lib/lithic/models/external_bank_accounts/micro_deposit_create_params.rbi +2 -4
  327. data/rbi/lib/lithic/models/external_bank_accounts/micro_deposit_create_response.rbi +18 -26
  328. data/rbi/lib/lithic/models/external_payment.rbi +10 -21
  329. data/rbi/lib/lithic/models/external_payment_cancel_params.rbi +2 -4
  330. data/rbi/lib/lithic/models/external_payment_create_params.rbi +5 -11
  331. data/rbi/lib/lithic/models/external_payment_list_params.rbi +10 -16
  332. data/rbi/lib/lithic/models/external_payment_release_params.rbi +2 -4
  333. data/rbi/lib/lithic/models/external_payment_retrieve_params.rbi +2 -4
  334. data/rbi/lib/lithic/models/external_payment_reverse_params.rbi +2 -4
  335. data/rbi/lib/lithic/models/external_payment_settle_params.rbi +3 -6
  336. data/rbi/lib/lithic/models/financial_account.rbi +9 -20
  337. data/rbi/lib/lithic/models/financial_account_create_params.rbi +2 -4
  338. data/rbi/lib/lithic/models/financial_account_list_params.rbi +3 -6
  339. data/rbi/lib/lithic/models/financial_account_retrieve_params.rbi +2 -4
  340. data/rbi/lib/lithic/models/financial_account_update_params.rbi +2 -4
  341. data/rbi/lib/lithic/models/financial_account_update_status_params.rbi +4 -8
  342. data/rbi/lib/lithic/models/financial_accounts/balance_list_params.rbi +4 -6
  343. data/rbi/lib/lithic/models/financial_accounts/balance_list_response.rbi +7 -11
  344. data/rbi/lib/lithic/models/financial_accounts/credit_configuration_retrieve_params.rbi +2 -4
  345. data/rbi/lib/lithic/models/financial_accounts/credit_configuration_update_params.rbi +2 -5
  346. data/rbi/lib/lithic/models/financial_accounts/financial_account_credit_config.rbi +4 -9
  347. data/rbi/lib/lithic/models/financial_accounts/financial_transaction_list_params.rbi +9 -15
  348. data/rbi/lib/lithic/models/financial_accounts/financial_transaction_retrieve_params.rbi +2 -4
  349. data/rbi/lib/lithic/models/financial_accounts/loan_tape.rbi +51 -91
  350. data/rbi/lib/lithic/models/financial_accounts/loan_tape_list_params.rbi +5 -6
  351. data/rbi/lib/lithic/models/financial_accounts/loan_tape_retrieve_params.rbi +2 -4
  352. data/rbi/lib/lithic/models/financial_accounts/statement.rbi +30 -56
  353. data/rbi/lib/lithic/models/financial_accounts/statement_list_params.rbi +6 -9
  354. data/rbi/lib/lithic/models/financial_accounts/statement_retrieve_params.rbi +2 -4
  355. data/rbi/lib/lithic/models/financial_accounts/statements/line_item_list_params.rbi +3 -4
  356. data/rbi/lib/lithic/models/financial_accounts/statements/statement_line_items.rbi +12 -14
  357. data/rbi/lib/lithic/models/financial_accounts/statements.rbi +2 -4
  358. data/rbi/lib/lithic/models/financial_transaction.rbi +44 -53
  359. data/rbi/lib/lithic/models/instance_financial_account_type.rbi +1 -2
  360. data/rbi/lib/lithic/models/kyb.rbi +58 -72
  361. data/rbi/lib/lithic/models/kyb_business_entity.rbi +13 -18
  362. data/rbi/lib/lithic/models/kyc.rbi +17 -22
  363. data/rbi/lib/lithic/models/kyc_exempt.rbi +8 -13
  364. data/rbi/lib/lithic/models/management_operation_create_params.rbi +5 -11
  365. data/rbi/lib/lithic/models/management_operation_list_params.rbi +9 -14
  366. data/rbi/lib/lithic/models/management_operation_retrieve_params.rbi +2 -4
  367. data/rbi/lib/lithic/models/management_operation_reverse_params.rbi +2 -4
  368. data/rbi/lib/lithic/models/management_operation_transaction.rbi +60 -20
  369. data/rbi/lib/lithic/models/message_attempt.rbi +3 -5
  370. data/rbi/lib/lithic/models/owner_type.rbi +1 -2
  371. data/rbi/lib/lithic/models/payment.rbi +85 -89
  372. data/rbi/lib/lithic/models/payment_create_params.rbi +8 -16
  373. data/rbi/lib/lithic/models/payment_create_response.rbi +2 -4
  374. data/rbi/lib/lithic/models/payment_list_params.rbi +9 -15
  375. data/rbi/lib/lithic/models/payment_retrieve_params.rbi +2 -4
  376. data/rbi/lib/lithic/models/payment_retry_params.rbi +2 -4
  377. data/rbi/lib/lithic/models/payment_retry_response.rbi +2 -4
  378. data/rbi/lib/lithic/models/payment_simulate_action_params.rbi +4 -8
  379. data/rbi/lib/lithic/models/payment_simulate_action_response.rbi +3 -6
  380. data/rbi/lib/lithic/models/payment_simulate_receipt_params.rbi +2 -4
  381. data/rbi/lib/lithic/models/payment_simulate_receipt_response.rbi +3 -6
  382. data/rbi/lib/lithic/models/payment_simulate_release_params.rbi +2 -4
  383. data/rbi/lib/lithic/models/payment_simulate_release_response.rbi +3 -6
  384. data/rbi/lib/lithic/models/payment_simulate_return_params.rbi +2 -4
  385. data/rbi/lib/lithic/models/payment_simulate_return_response.rbi +3 -6
  386. data/rbi/lib/lithic/models/reports/settlement/network_total_list_params.rbi +8 -12
  387. data/rbi/lib/lithic/models/reports/settlement/network_total_list_response.rbi +12 -18
  388. data/rbi/lib/lithic/models/reports/settlement/network_total_retrieve_params.rbi +2 -4
  389. data/rbi/lib/lithic/models/reports/settlement/network_total_retrieve_response.rbi +12 -18
  390. data/rbi/lib/lithic/models/reports/settlement_list_details_params.rbi +4 -6
  391. data/rbi/lib/lithic/models/reports/settlement_summary_params.rbi +2 -4
  392. data/rbi/lib/lithic/models/required_document.rbi +4 -6
  393. data/rbi/lib/lithic/models/responder_endpoint_check_status_params.rbi +3 -6
  394. data/rbi/lib/lithic/models/responder_endpoint_create_params.rbi +3 -6
  395. data/rbi/lib/lithic/models/responder_endpoint_create_response.rbi +2 -4
  396. data/rbi/lib/lithic/models/responder_endpoint_delete_params.rbi +3 -6
  397. data/rbi/lib/lithic/models/responder_endpoint_status.rbi +2 -4
  398. data/rbi/lib/lithic/models/settlement_detail.rbi +11 -18
  399. data/rbi/lib/lithic/models/settlement_report.rbi +17 -20
  400. data/rbi/lib/lithic/models/settlement_summary_details.rbi +6 -10
  401. data/rbi/lib/lithic/models/shipping_address.rbi +11 -14
  402. data/rbi/lib/lithic/models/spend_limit_duration.rbi +11 -12
  403. data/rbi/lib/lithic/models/three_ds/authentication_retrieve_params.rbi +2 -4
  404. data/rbi/lib/lithic/models/three_ds/authentication_retrieve_response.rbi +137 -176
  405. data/rbi/lib/lithic/models/three_ds/authentication_simulate_otp_entry_params.rbi +3 -5
  406. data/rbi/lib/lithic/models/three_ds/authentication_simulate_params.rbi +14 -21
  407. data/rbi/lib/lithic/models/three_ds/authentication_simulate_response.rbi +3 -5
  408. data/rbi/lib/lithic/models/three_ds/challenge_response.rbi +5 -7
  409. data/rbi/lib/lithic/models/three_ds/challenge_result.rbi +1 -2
  410. data/rbi/lib/lithic/models/three_ds/decisioning_challenge_response_params.rbi +2 -4
  411. data/rbi/lib/lithic/models/three_ds/decisioning_retrieve_secret_params.rbi +2 -4
  412. data/rbi/lib/lithic/models/three_ds/decisioning_retrieve_secret_response.rbi +2 -4
  413. data/rbi/lib/lithic/models/three_ds/decisioning_rotate_secret_params.rbi +2 -4
  414. data/rbi/lib/lithic/models/tokenization.rbi +14 -24
  415. data/rbi/lib/lithic/models/tokenization_activate_params.rbi +2 -4
  416. data/rbi/lib/lithic/models/tokenization_deactivate_params.rbi +2 -4
  417. data/rbi/lib/lithic/models/tokenization_decisioning_retrieve_secret_params.rbi +2 -4
  418. data/rbi/lib/lithic/models/tokenization_decisioning_rotate_secret_params.rbi +2 -4
  419. data/rbi/lib/lithic/models/tokenization_decisioning_rotate_secret_response.rbi +2 -4
  420. data/rbi/lib/lithic/models/tokenization_list_params.rbi +7 -11
  421. data/rbi/lib/lithic/models/tokenization_pause_params.rbi +2 -4
  422. data/rbi/lib/lithic/models/tokenization_resend_activation_code_params.rbi +7 -10
  423. data/rbi/lib/lithic/models/tokenization_retrieve_params.rbi +2 -4
  424. data/rbi/lib/lithic/models/tokenization_retrieve_response.rbi +2 -4
  425. data/rbi/lib/lithic/models/tokenization_secret.rbi +2 -4
  426. data/rbi/lib/lithic/models/tokenization_simulate_params.rbi +7 -12
  427. data/rbi/lib/lithic/models/tokenization_simulate_response.rbi +2 -4
  428. data/rbi/lib/lithic/models/tokenization_unpause_params.rbi +2 -4
  429. data/rbi/lib/lithic/models/tokenization_update_digital_card_art_params.rbi +5 -7
  430. data/rbi/lib/lithic/models/tokenization_update_digital_card_art_response.rbi +2 -4
  431. data/rbi/lib/lithic/models/transaction.rbi +168 -236
  432. data/rbi/lib/lithic/models/transaction_expire_authorization_params.rbi +2 -4
  433. data/rbi/lib/lithic/models/transaction_list_params.rbi +10 -15
  434. data/rbi/lib/lithic/models/transaction_retrieve_params.rbi +2 -4
  435. data/rbi/lib/lithic/models/transaction_simulate_authorization_advice_params.rbi +3 -5
  436. data/rbi/lib/lithic/models/transaction_simulate_authorization_advice_response.rbi +2 -4
  437. data/rbi/lib/lithic/models/transaction_simulate_authorization_params.rbi +41 -45
  438. data/rbi/lib/lithic/models/transaction_simulate_authorization_response.rbi +3 -5
  439. data/rbi/lib/lithic/models/transaction_simulate_clearing_params.rbi +9 -11
  440. data/rbi/lib/lithic/models/transaction_simulate_clearing_response.rbi +2 -4
  441. data/rbi/lib/lithic/models/transaction_simulate_credit_authorization_params.rbi +6 -8
  442. data/rbi/lib/lithic/models/transaction_simulate_credit_authorization_response.rbi +2 -4
  443. data/rbi/lib/lithic/models/transaction_simulate_return_params.rbi +2 -4
  444. data/rbi/lib/lithic/models/transaction_simulate_return_response.rbi +2 -4
  445. data/rbi/lib/lithic/models/transaction_simulate_return_reversal_params.rbi +2 -4
  446. data/rbi/lib/lithic/models/transaction_simulate_return_reversal_response.rbi +2 -4
  447. data/rbi/lib/lithic/models/transaction_simulate_void_params.rbi +10 -13
  448. data/rbi/lib/lithic/models/transaction_simulate_void_response.rbi +2 -4
  449. data/rbi/lib/lithic/models/transactions/enhanced_commercial_data_retrieve_params.rbi +2 -4
  450. data/rbi/lib/lithic/models/transactions/enhanced_commercial_data_retrieve_response.rbi +2 -4
  451. data/rbi/lib/lithic/models/transactions/events/enhanced_commercial_data_retrieve_params.rbi +2 -4
  452. data/rbi/lib/lithic/models/transactions/events/enhanced_data.rbi +21 -35
  453. data/rbi/lib/lithic/models/transfer.rbi +34 -43
  454. data/rbi/lib/lithic/models/transfer_create_params.rbi +6 -8
  455. data/rbi/lib/lithic/models/verification_method.rbi +1 -2
  456. data/rbi/lib/lithic/request_options.rbi +9 -11
  457. data/rbi/lib/lithic/resources/account_holders.rbi +118 -145
  458. data/rbi/lib/lithic/resources/accounts.rbi +26 -35
  459. data/rbi/lib/lithic/resources/aggregate_balances.rbi +3 -6
  460. data/rbi/lib/lithic/resources/auth_rules/v2/backtests.rbi +40 -45
  461. data/rbi/lib/lithic/resources/auth_rules/v2.rbi +69 -88
  462. data/rbi/lib/lithic/resources/auth_rules.rbi +1 -2
  463. data/rbi/lib/lithic/resources/auth_stream_enrollment.rbi +11 -14
  464. data/rbi/lib/lithic/resources/balances.rbi +3 -6
  465. data/rbi/lib/lithic/resources/book_transfers.rbi +15 -24
  466. data/rbi/lib/lithic/resources/card_programs.rbi +5 -10
  467. data/rbi/lib/lithic/resources/cards/aggregate_balances.rbi +2 -5
  468. data/rbi/lib/lithic/resources/cards/balances.rbi +4 -7
  469. data/rbi/lib/lithic/resources/cards/financial_transactions.rbi +7 -12
  470. data/rbi/lib/lithic/resources/cards.rbi +215 -236
  471. data/rbi/lib/lithic/resources/credit_products/extended_credit.rbi +2 -5
  472. data/rbi/lib/lithic/resources/credit_products/prime_rates.rbi +3 -8
  473. data/rbi/lib/lithic/resources/credit_products.rbi +1 -2
  474. data/rbi/lib/lithic/resources/digital_card_art.rbi +8 -13
  475. data/rbi/lib/lithic/resources/disputes.rbi +22 -37
  476. data/rbi/lib/lithic/resources/events/event_subscriptions.rbi +2 -4
  477. data/rbi/lib/lithic/resources/events/subscriptions.rbi +29 -48
  478. data/rbi/lib/lithic/resources/events.rbi +12 -18
  479. data/rbi/lib/lithic/resources/external_bank_accounts/micro_deposits.rbi +2 -4
  480. data/rbi/lib/lithic/resources/external_bank_accounts.rbi +18 -23
  481. data/rbi/lib/lithic/resources/external_payments.rbi +13 -28
  482. data/rbi/lib/lithic/resources/financial_accounts/balances.rbi +4 -7
  483. data/rbi/lib/lithic/resources/financial_accounts/credit_configuration.rbi +3 -8
  484. data/rbi/lib/lithic/resources/financial_accounts/financial_transactions.rbi +7 -12
  485. data/rbi/lib/lithic/resources/financial_accounts/loan_tapes.rbi +7 -12
  486. data/rbi/lib/lithic/resources/financial_accounts/statements/line_items.rbi +5 -8
  487. data/rbi/lib/lithic/resources/financial_accounts/statements.rbi +7 -12
  488. data/rbi/lib/lithic/resources/financial_accounts.rbi +7 -16
  489. data/rbi/lib/lithic/resources/management_operations.rbi +10 -19
  490. data/rbi/lib/lithic/resources/payments.rbi +14 -29
  491. data/rbi/lib/lithic/resources/reports/settlement/network_totals.rbi +8 -13
  492. data/rbi/lib/lithic/resources/reports/settlement.rbi +5 -10
  493. data/rbi/lib/lithic/resources/reports.rbi +1 -2
  494. data/rbi/lib/lithic/resources/responder_endpoints.rbi +4 -11
  495. data/rbi/lib/lithic/resources/three_ds/authentication.rbi +12 -19
  496. data/rbi/lib/lithic/resources/three_ds/decisioning.rbi +15 -20
  497. data/rbi/lib/lithic/resources/three_ds.rbi +1 -2
  498. data/rbi/lib/lithic/resources/tokenization_decisioning.rbi +10 -13
  499. data/rbi/lib/lithic/resources/tokenizations.rbi +66 -85
  500. data/rbi/lib/lithic/resources/transactions/enhanced_commercial_data.rbi +3 -6
  501. data/rbi/lib/lithic/resources/transactions/events/enhanced_commercial_data.rbi +3 -6
  502. data/rbi/lib/lithic/resources/transactions/events.rbi +1 -2
  503. data/rbi/lib/lithic/resources/transactions.rbi +79 -100
  504. data/rbi/lib/lithic/resources/transfers.rbi +7 -10
  505. data/sig/lithic/models/financial_accounts/statements/statement_line_items.rbs +2 -0
  506. data/sig/lithic/models/financial_transaction.rbs +2 -0
  507. data/sig/lithic/models/management_operation_transaction.rbs +27 -0
  508. data/sig/lithic/models/payment.rbs +8 -2
  509. data/sig/lithic/models/transfer.rbs +2 -0
  510. metadata +2 -2
@@ -36,7 +36,7 @@ module Lithic
36
36
 
37
37
  # @!parse
38
38
  # # Describes the document and the required document image uploads required to
39
- # # re-run KYC
39
+ # # re-run KYC
40
40
  # #
41
41
  # # @param token [String]
42
42
  # # @param account_holder_token [String]
@@ -90,7 +90,7 @@ module Lithic
90
90
 
91
91
  # @!attribute accepted_entity_status_reasons
92
92
  # A list of status reasons associated with a KYB account holder that have been
93
- # satisfied by the document upload
93
+ # satisfied by the document upload
94
94
  #
95
95
  # @return [Array<String>]
96
96
  required :accepted_entity_status_reasons, Lithic::Internal::Type::ArrayOf[String]
@@ -109,7 +109,7 @@ module Lithic
109
109
 
110
110
  # @!attribute rejected_entity_status_reasons
111
111
  # A list of status reasons associated with a KYB account holder that have not been
112
- # satisfied by the document upload
112
+ # satisfied by the document upload
113
113
  #
114
114
  # @return [Array<String>]
115
115
  required :rejected_entity_status_reasons, Lithic::Internal::Type::ArrayOf[String]
@@ -136,9 +136,9 @@ module Lithic
136
136
  # @!attribute upload_url
137
137
  # URL to upload document image to.
138
138
  #
139
- # Note that the upload URLs expire after 7 days. If an upload URL expires, you can
140
- # refresh the URLs by retrieving the document upload from
141
- # `GET /account_holders/{account_holder_token}/documents`.
139
+ # Note that the upload URLs expire after 7 days. If an upload URL expires, you can
140
+ # refresh the URLs by retrieving the document upload from
141
+ # `GET /account_holders/{account_holder_token}/documents`.
142
142
  #
143
143
  # @return [String]
144
144
  required :upload_url, String
@@ -13,7 +13,7 @@ module Lithic
13
13
  # @!attribute created
14
14
  # An RFC 3339 timestamp for when the event was created. UTC time zone.
15
15
  #
16
- # If no timezone is specified, UTC will be used.
16
+ # If no timezone is specified, UTC will be used.
17
17
  #
18
18
  # @return [Time]
19
19
  required :created, Time
@@ -21,56 +21,6 @@ module Lithic
21
21
  # @!attribute event_type
22
22
  # Event types:
23
23
  #
24
- # - `account_holder.created` - Notification that a new account holder has been
25
- # created and was not rejected.
26
- # - `account_holder.updated` - Notification that an account holder was updated.
27
- # - `account_holder.verification` - Notification than an account holder's identity
28
- # verification is complete.
29
- # - `card.created` - Notification that a card has been created.
30
- # - `card.renewed` - Notification that a card has been renewed.
31
- # - `card.reissued` - Notification that a card has been reissued.
32
- # - `card.shipped` - Physical card shipment notification. See
33
- # https://docs.lithic.com/docs/cards#physical-card-shipped-webhook.
34
- # - `card.converted` - Notification that a virtual card has been converted to a
35
- # physical card.
36
- # - `card_transaction.updated` - Transaction Lifecycle webhook. See
37
- # https://docs.lithic.com/docs/transaction-webhooks.
38
- # - `dispute.updated` - A dispute has been updated.
39
- # - `digital_wallet.tokenization_approval_request` - Card network's request to
40
- # Lithic to activate a digital wallet token.
41
- # - `digital_wallet.tokenization_result` - Notification of the end result of a
42
- # tokenization, whether successful or failed.
43
- # - `digital_wallet.tokenization_two_factor_authentication_code` - A code to be
44
- # passed to an end user to complete digital wallet authentication. See
45
- # https://docs.lithic.com/docs/tokenization-control#digital-wallet-tokenization-auth-code.
46
- # - `digital_wallet.tokenization_two_factor_authentication_code_sent` -
47
- # Notification that a two factor authentication code for activating a digital
48
- # wallet has been sent to the end user.
49
- # - `digital_wallet.tokenization_updated` - Notification that a digital wallet
50
- # tokenization's status has changed.
51
- #
52
- # @return [Symbol, Lithic::Models::Event::EventType]
53
- required :event_type, enum: -> { Lithic::Models::Event::EventType }
54
-
55
- # @!attribute payload
56
- #
57
- # @return [Hash{Symbol=>Object}]
58
- required :payload, Lithic::Internal::Type::HashOf[Lithic::Internal::Type::Unknown]
59
-
60
- # @!parse
61
- # # A single event that affects the transaction state and lifecycle.
62
- # #
63
- # # @param token [String]
64
- # # @param created [Time]
65
- # # @param event_type [Symbol, Lithic::Models::Event::EventType]
66
- # # @param payload [Hash{Symbol=>Object}]
67
- # #
68
- # def initialize(token:, created:, event_type:, payload:, **) = super
69
-
70
- # def initialize: (Hash | Lithic::Internal::Type::BaseModel) -> void
71
-
72
- # Event types:
73
- #
74
24
  # - `account_holder.created` - Notification that a new account holder has been
75
25
  # created and was not rejected.
76
26
  # - `account_holder.updated` - Notification that an account holder was updated.
@@ -99,6 +49,56 @@ module Lithic
99
49
  # - `digital_wallet.tokenization_updated` - Notification that a digital wallet
100
50
  # tokenization's status has changed.
101
51
  #
52
+ # @return [Symbol, Lithic::Models::Event::EventType]
53
+ required :event_type, enum: -> { Lithic::Models::Event::EventType }
54
+
55
+ # @!attribute payload
56
+ #
57
+ # @return [Hash{Symbol=>Object}]
58
+ required :payload, Lithic::Internal::Type::HashOf[Lithic::Internal::Type::Unknown]
59
+
60
+ # @!parse
61
+ # # A single event that affects the transaction state and lifecycle.
62
+ # #
63
+ # # @param token [String]
64
+ # # @param created [Time]
65
+ # # @param event_type [Symbol, Lithic::Models::Event::EventType]
66
+ # # @param payload [Hash{Symbol=>Object}]
67
+ # #
68
+ # def initialize(token:, created:, event_type:, payload:, **) = super
69
+
70
+ # def initialize: (Hash | Lithic::Internal::Type::BaseModel) -> void
71
+
72
+ # Event types:
73
+ #
74
+ # - `account_holder.created` - Notification that a new account holder has been
75
+ # created and was not rejected.
76
+ # - `account_holder.updated` - Notification that an account holder was updated.
77
+ # - `account_holder.verification` - Notification than an account holder's identity
78
+ # verification is complete.
79
+ # - `card.created` - Notification that a card has been created.
80
+ # - `card.renewed` - Notification that a card has been renewed.
81
+ # - `card.reissued` - Notification that a card has been reissued.
82
+ # - `card.shipped` - Physical card shipment notification. See
83
+ # https://docs.lithic.com/docs/cards#physical-card-shipped-webhook.
84
+ # - `card.converted` - Notification that a virtual card has been converted to a
85
+ # physical card.
86
+ # - `card_transaction.updated` - Transaction Lifecycle webhook. See
87
+ # https://docs.lithic.com/docs/transaction-webhooks.
88
+ # - `dispute.updated` - A dispute has been updated.
89
+ # - `digital_wallet.tokenization_approval_request` - Card network's request to
90
+ # Lithic to activate a digital wallet token.
91
+ # - `digital_wallet.tokenization_result` - Notification of the end result of a
92
+ # tokenization, whether successful or failed.
93
+ # - `digital_wallet.tokenization_two_factor_authentication_code` - A code to be
94
+ # passed to an end user to complete digital wallet authentication. See
95
+ # https://docs.lithic.com/docs/tokenization-control#digital-wallet-tokenization-auth-code.
96
+ # - `digital_wallet.tokenization_two_factor_authentication_code_sent` -
97
+ # Notification that a two factor authentication code for activating a digital
98
+ # wallet has been sent to the end user.
99
+ # - `digital_wallet.tokenization_updated` - Notification that a digital wallet
100
+ # tokenization's status has changed.
101
+ #
102
102
  # @see Lithic::Models::Event#event_type
103
103
  module EventType
104
104
  extend Lithic::Internal::Type::Enum
@@ -10,10 +10,10 @@ module Lithic
10
10
 
11
11
  # @!attribute [r] begin_
12
12
  # Date string in RFC 3339 format. Only entries created after the specified time
13
- # will be included. UTC time zone.
13
+ # will be included. UTC time zone.
14
14
  #
15
15
  # @return [Time, nil]
16
- optional :begin_, Time, api_name: :begin
16
+ optional :begin_, Time
17
17
 
18
18
  # @!parse
19
19
  # # @return [Time]
@@ -21,10 +21,10 @@ module Lithic
21
21
 
22
22
  # @!attribute [r] end_
23
23
  # Date string in RFC 3339 format. Only entries created before the specified time
24
- # will be included. UTC time zone.
24
+ # will be included. UTC time zone.
25
25
  #
26
26
  # @return [Time, nil]
27
- optional :end_, Time, api_name: :end
27
+ optional :end_, Time
28
28
 
29
29
  # @!parse
30
30
  # # @return [Time]
@@ -32,7 +32,7 @@ module Lithic
32
32
 
33
33
  # @!attribute [r] ending_before
34
34
  # A cursor representing an item's token before which a page of results should end.
35
- # Used to retrieve the previous page of results before this item.
35
+ # Used to retrieve the previous page of results before this item.
36
36
  #
37
37
  # @return [String, nil]
38
38
  optional :ending_before, String
@@ -53,7 +53,7 @@ module Lithic
53
53
 
54
54
  # @!attribute [r] starting_after
55
55
  # A cursor representing an item's token after which a page of results should
56
- # begin. Used to retrieve the next page of results after this item.
56
+ # begin. Used to retrieve the next page of results after this item.
57
57
  #
58
58
  # @return [String, nil]
59
59
  optional :starting_after, String
@@ -10,10 +10,10 @@ module Lithic
10
10
 
11
11
  # @!attribute [r] begin_
12
12
  # Date string in RFC 3339 format. Only entries created after the specified time
13
- # will be included. UTC time zone.
13
+ # will be included. UTC time zone.
14
14
  #
15
15
  # @return [Time, nil]
16
- optional :begin_, Time, api_name: :begin
16
+ optional :begin_, Time
17
17
 
18
18
  # @!parse
19
19
  # # @return [Time]
@@ -21,10 +21,10 @@ module Lithic
21
21
 
22
22
  # @!attribute [r] end_
23
23
  # Date string in RFC 3339 format. Only entries created before the specified time
24
- # will be included. UTC time zone.
24
+ # will be included. UTC time zone.
25
25
  #
26
26
  # @return [Time, nil]
27
- optional :end_, Time, api_name: :end
27
+ optional :end_, Time
28
28
 
29
29
  # @!parse
30
30
  # # @return [Time]
@@ -32,7 +32,7 @@ module Lithic
32
32
 
33
33
  # @!attribute [r] ending_before
34
34
  # A cursor representing an item's token before which a page of results should end.
35
- # Used to retrieve the previous page of results before this item.
35
+ # Used to retrieve the previous page of results before this item.
36
36
  #
37
37
  # @return [String, nil]
38
38
  optional :ending_before, String
@@ -64,7 +64,7 @@ module Lithic
64
64
 
65
65
  # @!attribute [r] starting_after
66
66
  # A cursor representing an item's token after which a page of results should
67
- # begin. Used to retrieve the next page of results after this item.
67
+ # begin. Used to retrieve the next page of results after this item.
68
68
  #
69
69
  # @return [String, nil]
70
70
  optional :starting_after, String
@@ -37,7 +37,7 @@ module Lithic
37
37
 
38
38
  # @!attribute [r] event_types
39
39
  # Indicates types of events that will be sent to this subscription. If left blank,
40
- # all types will be sent.
40
+ # all types will be sent.
41
41
  #
42
42
  # @return [Array<Symbol, Lithic::Models::Events::SubscriptionCreateParams::EventType>, nil]
43
43
  optional :event_types,
@@ -11,10 +11,10 @@ module Lithic
11
11
 
12
12
  # @!attribute [r] begin_
13
13
  # Date string in RFC 3339 format. Only entries created after the specified time
14
- # will be included. UTC time zone.
14
+ # will be included. UTC time zone.
15
15
  #
16
16
  # @return [Time, nil]
17
- optional :begin_, Time, api_name: :begin
17
+ optional :begin_, Time
18
18
 
19
19
  # @!parse
20
20
  # # @return [Time]
@@ -22,10 +22,10 @@ module Lithic
22
22
 
23
23
  # @!attribute [r] end_
24
24
  # Date string in RFC 3339 format. Only entries created before the specified time
25
- # will be included. UTC time zone.
25
+ # will be included. UTC time zone.
26
26
  #
27
27
  # @return [Time, nil]
28
- optional :end_, Time, api_name: :end
28
+ optional :end_, Time
29
29
 
30
30
  # @!parse
31
31
  # # @return [Time]
@@ -33,7 +33,7 @@ module Lithic
33
33
 
34
34
  # @!attribute [r] ending_before
35
35
  # A cursor representing an item's token before which a page of results should end.
36
- # Used to retrieve the previous page of results before this item.
36
+ # Used to retrieve the previous page of results before this item.
37
37
  #
38
38
  # @return [String, nil]
39
39
  optional :ending_before, String
@@ -54,7 +54,7 @@ module Lithic
54
54
 
55
55
  # @!attribute [r] starting_after
56
56
  # A cursor representing an item's token after which a page of results should
57
- # begin. Used to retrieve the next page of results after this item.
57
+ # begin. Used to retrieve the next page of results after this item.
58
58
  #
59
59
  # @return [String, nil]
60
60
  optional :starting_after, String
@@ -11,7 +11,7 @@ module Lithic
11
11
 
12
12
  # @!attribute [r] ending_before
13
13
  # A cursor representing an item's token before which a page of results should end.
14
- # Used to retrieve the previous page of results before this item.
14
+ # Used to retrieve the previous page of results before this item.
15
15
  #
16
16
  # @return [String, nil]
17
17
  optional :ending_before, String
@@ -32,7 +32,7 @@ module Lithic
32
32
 
33
33
  # @!attribute [r] starting_after
34
34
  # A cursor representing an item's token after which a page of results should
35
- # begin. Used to retrieve the next page of results after this item.
35
+ # begin. Used to retrieve the next page of results after this item.
36
36
  #
37
37
  # @return [String, nil]
38
38
  optional :starting_after, String
@@ -11,10 +11,10 @@ module Lithic
11
11
 
12
12
  # @!attribute [r] begin_
13
13
  # Date string in RFC 3339 format. Only entries created after the specified time
14
- # will be included. UTC time zone.
14
+ # will be included. UTC time zone.
15
15
  #
16
16
  # @return [Time, nil]
17
- optional :begin_, Time, api_name: :begin
17
+ optional :begin_, Time
18
18
 
19
19
  # @!parse
20
20
  # # @return [Time]
@@ -22,10 +22,10 @@ module Lithic
22
22
 
23
23
  # @!attribute [r] end_
24
24
  # Date string in RFC 3339 format. Only entries created before the specified time
25
- # will be included. UTC time zone.
25
+ # will be included. UTC time zone.
26
26
  #
27
27
  # @return [Time, nil]
28
- optional :end_, Time, api_name: :end
28
+ optional :end_, Time
29
29
 
30
30
  # @!parse
31
31
  # # @return [Time]
@@ -11,10 +11,10 @@ module Lithic
11
11
 
12
12
  # @!attribute [r] begin_
13
13
  # Date string in RFC 3339 format. Only entries created after the specified time
14
- # will be included. UTC time zone.
14
+ # will be included. UTC time zone.
15
15
  #
16
16
  # @return [Time, nil]
17
- optional :begin_, Time, api_name: :begin
17
+ optional :begin_, Time
18
18
 
19
19
  # @!parse
20
20
  # # @return [Time]
@@ -22,10 +22,10 @@ module Lithic
22
22
 
23
23
  # @!attribute [r] end_
24
24
  # Date string in RFC 3339 format. Only entries created before the specified time
25
- # will be included. UTC time zone.
25
+ # will be included. UTC time zone.
26
26
  #
27
27
  # @return [Time, nil]
28
- optional :end_, Time, api_name: :end
28
+ optional :end_, Time
29
29
 
30
30
  # @!parse
31
31
  # # @return [Time]
@@ -37,7 +37,7 @@ module Lithic
37
37
 
38
38
  # @!attribute [r] event_types
39
39
  # Indicates types of events that will be sent to this subscription. If left blank,
40
- # all types will be sent.
40
+ # all types will be sent.
41
41
  #
42
42
  # @return [Array<Symbol, Lithic::Models::Events::SubscriptionUpdateParams::EventType>, nil]
43
43
  optional :event_types,
@@ -16,7 +16,7 @@ module Lithic
16
16
 
17
17
  # @!attribute country
18
18
  # The country that the bank account is located in using ISO 3166-1. We will only
19
- # accept USA bank accounts e.g., USA
19
+ # accept USA bank accounts e.g., USA
20
20
  #
21
21
  # @return [String]
22
22
  required :country, String
@@ -35,7 +35,7 @@ module Lithic
35
35
 
36
36
  # @!attribute owner
37
37
  # Legal Name of the business or individual who owns the external account. This
38
- # will appear in statements
38
+ # will appear in statements
39
39
  #
40
40
  # @return [String]
41
41
  required :owner, String
@@ -67,8 +67,8 @@ module Lithic
67
67
 
68
68
  # @!attribute [r] account_token
69
69
  # Indicates which Lithic account the external account is associated with. For
70
- # external accounts that are associated with the program, account_token field
71
- # returned will be null
70
+ # external accounts that are associated with the program, account_token field
71
+ # returned will be null
72
72
  #
73
73
  # @return [String, nil]
74
74
  optional :account_token, String
@@ -6,23 +6,23 @@ module Lithic
6
6
  class ExternalBankAccountCreateResponse < Lithic::Internal::Type::BaseModel
7
7
  # @!attribute token
8
8
  # A globally unique identifier for this record of an external bank account
9
- # association. If a program links an external bank account to more than one
10
- # end-user or to both the program and the end-user, then Lithic will return each
11
- # record of the association
9
+ # association. If a program links an external bank account to more than one
10
+ # end-user or to both the program and the end-user, then Lithic will return each
11
+ # record of the association
12
12
  #
13
13
  # @return [String]
14
14
  required :token, String
15
15
 
16
16
  # @!attribute country
17
17
  # The country that the bank account is located in using ISO 3166-1. We will only
18
- # accept USA bank accounts e.g., USA
18
+ # accept USA bank accounts e.g., USA
19
19
  #
20
20
  # @return [String]
21
21
  required :country, String
22
22
 
23
23
  # @!attribute created
24
24
  # An ISO 8601 string representing when this funding source was added to the Lithic
25
- # account.
25
+ # account.
26
26
  #
27
27
  # @return [Time]
28
28
  required :created, Time
@@ -35,14 +35,14 @@ module Lithic
35
35
 
36
36
  # @!attribute last_four
37
37
  # The last 4 digits of the bank account. Derived by Lithic from the account number
38
- # passed
38
+ # passed
39
39
  #
40
40
  # @return [String]
41
41
  required :last_four, String
42
42
 
43
43
  # @!attribute owner
44
44
  # Legal Name of the business or individual who owns the external account. This
45
- # will appear in statements
45
+ # will appear in statements
46
46
  #
47
47
  # @return [String]
48
48
  required :owner, String
@@ -93,8 +93,8 @@ module Lithic
93
93
 
94
94
  # @!attribute [r] account_token
95
95
  # Indicates which Lithic account the external account is associated with. For
96
- # external accounts that are associated with the program, account_token field
97
- # returned will be null
96
+ # external accounts that are associated with the program, account_token field
97
+ # returned will be null
98
98
  #
99
99
  # @return [String, nil]
100
100
  optional :account_token, String
@@ -175,8 +175,8 @@ module Lithic
175
175
 
176
176
  # @!attribute [r] verification_failed_reason
177
177
  # Optional free text description of the reason for the failed verification. For
178
- # ACH micro-deposits returned, this field will display the reason return code sent
179
- # by the ACH network
178
+ # ACH micro-deposits returned, this field will display the reason return code sent
179
+ # by the ACH network
180
180
  #
181
181
  # @return [String, nil]
182
182
  optional :verification_failed_reason, String
@@ -38,7 +38,7 @@ module Lithic
38
38
 
39
39
  # @!attribute [r] ending_before
40
40
  # A cursor representing an item's token before which a page of results should end.
41
- # Used to retrieve the previous page of results before this item.
41
+ # Used to retrieve the previous page of results before this item.
42
42
  #
43
43
  # @return [String, nil]
44
44
  optional :ending_before, String
@@ -68,7 +68,7 @@ module Lithic
68
68
 
69
69
  # @!attribute [r] starting_after
70
70
  # A cursor representing an item's token after which a page of results should
71
- # begin. Used to retrieve the next page of results after this item.
71
+ # begin. Used to retrieve the next page of results after this item.
72
72
  #
73
73
  # @return [String, nil]
74
74
  optional :starting_after, String
@@ -6,23 +6,23 @@ module Lithic
6
6
  class ExternalBankAccountListResponse < Lithic::Internal::Type::BaseModel
7
7
  # @!attribute token
8
8
  # A globally unique identifier for this record of an external bank account
9
- # association. If a program links an external bank account to more than one
10
- # end-user or to both the program and the end-user, then Lithic will return each
11
- # record of the association
9
+ # association. If a program links an external bank account to more than one
10
+ # end-user or to both the program and the end-user, then Lithic will return each
11
+ # record of the association
12
12
  #
13
13
  # @return [String]
14
14
  required :token, String
15
15
 
16
16
  # @!attribute country
17
17
  # The country that the bank account is located in using ISO 3166-1. We will only
18
- # accept USA bank accounts e.g., USA
18
+ # accept USA bank accounts e.g., USA
19
19
  #
20
20
  # @return [String]
21
21
  required :country, String
22
22
 
23
23
  # @!attribute created
24
24
  # An ISO 8601 string representing when this funding source was added to the Lithic
25
- # account.
25
+ # account.
26
26
  #
27
27
  # @return [Time]
28
28
  required :created, Time
@@ -35,14 +35,14 @@ module Lithic
35
35
 
36
36
  # @!attribute last_four
37
37
  # The last 4 digits of the bank account. Derived by Lithic from the account number
38
- # passed
38
+ # passed
39
39
  #
40
40
  # @return [String]
41
41
  required :last_four, String
42
42
 
43
43
  # @!attribute owner
44
44
  # Legal Name of the business or individual who owns the external account. This
45
- # will appear in statements
45
+ # will appear in statements
46
46
  #
47
47
  # @return [String]
48
48
  required :owner, String
@@ -93,8 +93,8 @@ module Lithic
93
93
 
94
94
  # @!attribute [r] account_token
95
95
  # Indicates which Lithic account the external account is associated with. For
96
- # external accounts that are associated with the program, account_token field
97
- # returned will be null
96
+ # external accounts that are associated with the program, account_token field
97
+ # returned will be null
98
98
  #
99
99
  # @return [String, nil]
100
100
  optional :account_token, String
@@ -175,8 +175,8 @@ module Lithic
175
175
 
176
176
  # @!attribute [r] verification_failed_reason
177
177
  # Optional free text description of the reason for the failed verification. For
178
- # ACH micro-deposits returned, this field will display the reason return code sent
179
- # by the ACH network
178
+ # ACH micro-deposits returned, this field will display the reason return code sent
179
+ # by the ACH network
180
180
  #
181
181
  # @return [String, nil]
182
182
  optional :verification_failed_reason, String
@@ -6,23 +6,23 @@ module Lithic
6
6
  class ExternalBankAccountRetrieveResponse < Lithic::Internal::Type::BaseModel
7
7
  # @!attribute token
8
8
  # A globally unique identifier for this record of an external bank account
9
- # association. If a program links an external bank account to more than one
10
- # end-user or to both the program and the end-user, then Lithic will return each
11
- # record of the association
9
+ # association. If a program links an external bank account to more than one
10
+ # end-user or to both the program and the end-user, then Lithic will return each
11
+ # record of the association
12
12
  #
13
13
  # @return [String]
14
14
  required :token, String
15
15
 
16
16
  # @!attribute country
17
17
  # The country that the bank account is located in using ISO 3166-1. We will only
18
- # accept USA bank accounts e.g., USA
18
+ # accept USA bank accounts e.g., USA
19
19
  #
20
20
  # @return [String]
21
21
  required :country, String
22
22
 
23
23
  # @!attribute created
24
24
  # An ISO 8601 string representing when this funding source was added to the Lithic
25
- # account.
25
+ # account.
26
26
  #
27
27
  # @return [Time]
28
28
  required :created, Time
@@ -35,14 +35,14 @@ module Lithic
35
35
 
36
36
  # @!attribute last_four
37
37
  # The last 4 digits of the bank account. Derived by Lithic from the account number
38
- # passed
38
+ # passed
39
39
  #
40
40
  # @return [String]
41
41
  required :last_four, String
42
42
 
43
43
  # @!attribute owner
44
44
  # Legal Name of the business or individual who owns the external account. This
45
- # will appear in statements
45
+ # will appear in statements
46
46
  #
47
47
  # @return [String]
48
48
  required :owner, String
@@ -93,8 +93,8 @@ module Lithic
93
93
 
94
94
  # @!attribute [r] account_token
95
95
  # Indicates which Lithic account the external account is associated with. For
96
- # external accounts that are associated with the program, account_token field
97
- # returned will be null
96
+ # external accounts that are associated with the program, account_token field
97
+ # returned will be null
98
98
  #
99
99
  # @return [String, nil]
100
100
  optional :account_token, String
@@ -175,8 +175,8 @@ module Lithic
175
175
 
176
176
  # @!attribute [r] verification_failed_reason
177
177
  # Optional free text description of the reason for the failed verification. For
178
- # ACH micro-deposits returned, this field will display the reason return code sent
179
- # by the ACH network
178
+ # ACH micro-deposits returned, this field will display the reason return code sent
179
+ # by the ACH network
180
180
  #
181
181
  # @return [String, nil]
182
182
  optional :verification_failed_reason, String