lithic 0.1.0.pre.alpha.13 → 0.1.0.pre.alpha.15

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 (449) hide show
  1. checksums.yaml +4 -4
  2. data/.ignore +2 -0
  3. data/CHANGELOG.md +29 -0
  4. data/README.md +1 -1
  5. data/lib/lithic/internal/transport/base_client.rb +1 -1
  6. data/lib/lithic/internal/type/base_model.rb +33 -15
  7. data/lib/lithic/internal/type/enum.rb +1 -6
  8. data/lib/lithic/internal/type/request_parameters.rb +1 -2
  9. data/lib/lithic/models/account.rb +39 -91
  10. data/lib/lithic/models/account_financial_account_type.rb +2 -5
  11. data/lib/lithic/models/account_holder.rb +125 -312
  12. data/lib/lithic/models/account_holder_create_params.rb +97 -219
  13. data/lib/lithic/models/account_holder_create_response.rb +15 -48
  14. data/lib/lithic/models/account_holder_list_documents_params.rb +3 -8
  15. data/lib/lithic/models/account_holder_list_documents_response.rb +3 -11
  16. data/lib/lithic/models/account_holder_list_params.rb +25 -90
  17. data/lib/lithic/models/account_holder_retrieve_document_params.rb +4 -9
  18. data/lib/lithic/models/account_holder_retrieve_params.rb +3 -8
  19. data/lib/lithic/models/account_holder_simulate_enrollment_document_review_params.rb +13 -41
  20. data/lib/lithic/models/account_holder_simulate_enrollment_review_params.rb +13 -36
  21. data/lib/lithic/models/account_holder_simulate_enrollment_review_response.rb +151 -388
  22. data/lib/lithic/models/account_holder_update_params.rb +130 -424
  23. data/lib/lithic/models/account_holder_update_response.rb +180 -474
  24. data/lib/lithic/models/account_holder_upload_document_params.rb +7 -15
  25. data/lib/lithic/models/account_list_params.rb +13 -38
  26. data/lib/lithic/models/account_retrieve_params.rb +3 -8
  27. data/lib/lithic/models/account_retrieve_spend_limits_params.rb +3 -8
  28. data/lib/lithic/models/account_spend_limits.rb +27 -87
  29. data/lib/lithic/models/account_update_params.rb +33 -99
  30. data/lib/lithic/models/address.rb +8 -16
  31. data/lib/lithic/models/address_update.rb +13 -41
  32. data/lib/lithic/models/aggregate_balance.rb +15 -36
  33. data/lib/lithic/models/aggregate_balance_list_params.rb +7 -19
  34. data/lib/lithic/models/api_status.rb +3 -11
  35. data/lib/lithic/models/auth_rules/auth_rule.rb +19 -67
  36. data/lib/lithic/models/auth_rules/auth_rule_condition.rb +11 -31
  37. data/lib/lithic/models/auth_rules/conditional_attribute.rb +2 -5
  38. data/lib/lithic/models/auth_rules/conditional_block_parameters.rb +2 -6
  39. data/lib/lithic/models/auth_rules/v2/backtest_create_params.rb +7 -20
  40. data/lib/lithic/models/auth_rules/v2/backtest_create_response.rb +3 -11
  41. data/lib/lithic/models/auth_rules/v2/backtest_results.rb +46 -142
  42. data/lib/lithic/models/auth_rules/v2/backtest_retrieve_params.rb +4 -9
  43. data/lib/lithic/models/auth_rules/v2_apply_params.rb +8 -17
  44. data/lib/lithic/models/auth_rules/v2_apply_response.rb +26 -64
  45. data/lib/lithic/models/auth_rules/v2_create_params.rb +17 -50
  46. data/lib/lithic/models/auth_rules/v2_create_response.rb +26 -64
  47. data/lib/lithic/models/auth_rules/v2_delete_params.rb +3 -8
  48. data/lib/lithic/models/auth_rules/v2_draft_params.rb +6 -12
  49. data/lib/lithic/models/auth_rules/v2_draft_response.rb +26 -64
  50. data/lib/lithic/models/auth_rules/v2_list_params.rb +13 -48
  51. data/lib/lithic/models/auth_rules/v2_list_response.rb +26 -64
  52. data/lib/lithic/models/auth_rules/v2_promote_params.rb +3 -8
  53. data/lib/lithic/models/auth_rules/v2_promote_response.rb +26 -64
  54. data/lib/lithic/models/auth_rules/v2_report_params.rb +3 -8
  55. data/lib/lithic/models/auth_rules/v2_report_response.rb +3 -11
  56. data/lib/lithic/models/auth_rules/v2_retrieve_params.rb +3 -8
  57. data/lib/lithic/models/auth_rules/v2_retrieve_response.rb +26 -64
  58. data/lib/lithic/models/auth_rules/v2_update_params.rb +16 -55
  59. data/lib/lithic/models/auth_rules/v2_update_response.rb +26 -64
  60. data/lib/lithic/models/auth_rules/velocity_limit_params.rb +15 -27
  61. data/lib/lithic/models/auth_rules/velocity_limit_params_period_window.rb +2 -5
  62. data/lib/lithic/models/auth_stream_enrollment_retrieve_secret_params.rb +3 -8
  63. data/lib/lithic/models/auth_stream_enrollment_rotate_secret_params.rb +3 -8
  64. data/lib/lithic/models/auth_stream_secret.rb +3 -11
  65. data/lib/lithic/models/balance.rb +15 -36
  66. data/lib/lithic/models/balance_list_params.rb +13 -46
  67. data/lib/lithic/models/book_transfer_create_params.rb +17 -49
  68. data/lib/lithic/models/book_transfer_list_params.rb +31 -105
  69. data/lib/lithic/models/book_transfer_response.rb +32 -71
  70. data/lib/lithic/models/book_transfer_retrieve_params.rb +3 -8
  71. data/lib/lithic/models/book_transfer_reverse_params.rb +5 -14
  72. data/lib/lithic/models/card_convert_physical_params.rb +12 -32
  73. data/lib/lithic/models/card_convert_physical_response.rb +391 -0
  74. data/lib/lithic/models/card_create_params.rb +42 -142
  75. data/lib/lithic/models/card_create_response.rb +390 -0
  76. data/lib/lithic/models/card_embed_params.rb +5 -10
  77. data/lib/lithic/models/card_list_params.rb +19 -67
  78. data/lib/lithic/models/card_list_response.rb +374 -0
  79. data/lib/lithic/models/card_program.rb +10 -33
  80. data/lib/lithic/models/card_program_list_params.rb +9 -26
  81. data/lib/lithic/models/card_program_retrieve_params.rb +3 -8
  82. data/lib/lithic/models/card_provision_params.rb +17 -60
  83. data/lib/lithic/models/card_provision_response.rb +3 -11
  84. data/lib/lithic/models/card_reissue_params.rb +13 -37
  85. data/lib/lithic/models/card_reissue_response.rb +390 -0
  86. data/lib/lithic/models/card_renew_params.rb +16 -55
  87. data/lib/lithic/models/card_renew_response.rb +390 -0
  88. data/lib/lithic/models/card_retrieve_params.rb +3 -8
  89. data/lib/lithic/models/card_retrieve_response.rb +390 -0
  90. data/lib/lithic/models/card_retrieve_spend_limits_params.rb +3 -8
  91. data/lib/lithic/models/card_search_by_pan_params.rb +4 -9
  92. data/lib/lithic/models/card_search_by_pan_response.rb +390 -0
  93. data/lib/lithic/models/card_spend_limits.rb +27 -87
  94. data/lib/lithic/models/card_update_params.rb +21 -72
  95. data/lib/lithic/models/card_update_response.rb +390 -0
  96. data/lib/lithic/models/cards/aggregate_balance_list_params.rb +7 -20
  97. data/lib/lithic/models/cards/aggregate_balance_list_response.rb +12 -29
  98. data/lib/lithic/models/cards/balance_list_params.rb +7 -20
  99. data/lib/lithic/models/cards/balance_list_response.rb +15 -36
  100. data/lib/lithic/models/cards/financial_transaction_list_params.rb +23 -77
  101. data/lib/lithic/models/cards/financial_transaction_retrieve_params.rb +4 -9
  102. data/lib/lithic/models/carrier.rb +3 -11
  103. data/lib/lithic/models/client_api_status_params.rb +3 -8
  104. data/lib/lithic/models/credit_products/extended_credit.rb +2 -6
  105. data/lib/lithic/models/credit_products/extended_credit_retrieve_params.rb +3 -8
  106. data/lib/lithic/models/credit_products/prime_rate_create_params.rb +5 -10
  107. data/lib/lithic/models/credit_products/prime_rate_retrieve_params.rb +7 -20
  108. data/lib/lithic/models/credit_products/prime_rate_retrieve_response.rb +6 -14
  109. data/lib/lithic/models/digital_card_art.rb +11 -33
  110. data/lib/lithic/models/digital_card_art_list_params.rb +9 -26
  111. data/lib/lithic/models/digital_card_art_retrieve_params.rb +3 -8
  112. data/lib/lithic/models/dispute.rb +27 -70
  113. data/lib/lithic/models/dispute_create_params.rb +12 -38
  114. data/lib/lithic/models/dispute_delete_evidence_params.rb +4 -9
  115. data/lib/lithic/models/dispute_delete_params.rb +3 -8
  116. data/lib/lithic/models/dispute_evidence.rb +15 -34
  117. data/lib/lithic/models/dispute_initiate_evidence_upload_params.rb +5 -14
  118. data/lib/lithic/models/dispute_list_evidences_params.rb +13 -38
  119. data/lib/lithic/models/dispute_list_params.rb +19 -67
  120. data/lib/lithic/models/dispute_retrieve_evidence_params.rb +4 -9
  121. data/lib/lithic/models/dispute_retrieve_params.rb +3 -8
  122. data/lib/lithic/models/dispute_update_params.rb +13 -37
  123. data/lib/lithic/models/document.rb +29 -62
  124. data/lib/lithic/models/event.rb +9 -16
  125. data/lib/lithic/models/event_list_attempts_params.rb +17 -60
  126. data/lib/lithic/models/event_list_params.rb +19 -67
  127. data/lib/lithic/models/event_retrieve_params.rb +3 -8
  128. data/lib/lithic/models/event_subscription.rb +10 -17
  129. data/lib/lithic/models/events/event_subscription_resend_params.rb +4 -9
  130. data/lib/lithic/models/events/subscription_create_params.rb +12 -32
  131. data/lib/lithic/models/events/subscription_delete_params.rb +3 -8
  132. data/lib/lithic/models/events/subscription_list_attempts_params.rb +17 -60
  133. data/lib/lithic/models/events/subscription_list_params.rb +9 -26
  134. data/lib/lithic/models/events/subscription_recover_params.rb +7 -20
  135. data/lib/lithic/models/events/subscription_replay_missing_params.rb +7 -20
  136. data/lib/lithic/models/events/subscription_retrieve_params.rb +3 -8
  137. data/lib/lithic/models/events/subscription_retrieve_secret_params.rb +3 -8
  138. data/lib/lithic/models/events/subscription_retrieve_secret_response.rb +3 -11
  139. data/lib/lithic/models/events/subscription_rotate_secret_params.rb +3 -8
  140. data/lib/lithic/models/events/subscription_send_simulated_example_params.rb +7 -19
  141. data/lib/lithic/models/events/subscription_update_params.rb +12 -32
  142. data/lib/lithic/models/external_bank_account_address.rb +8 -16
  143. data/lib/lithic/models/external_bank_account_create_params.rb +33 -99
  144. data/lib/lithic/models/external_bank_account_create_response.rb +42 -123
  145. data/lib/lithic/models/external_bank_account_list_params.rb +27 -91
  146. data/lib/lithic/models/external_bank_account_list_response.rb +42 -123
  147. data/lib/lithic/models/external_bank_account_retrieve_params.rb +3 -8
  148. data/lib/lithic/models/external_bank_account_retrieve_response.rb +42 -123
  149. data/lib/lithic/models/external_bank_account_retry_micro_deposits_params.rb +5 -14
  150. data/lib/lithic/models/external_bank_account_retry_micro_deposits_response.rb +42 -123
  151. data/lib/lithic/models/external_bank_account_retry_prenote_params.rb +5 -14
  152. data/lib/lithic/models/external_bank_account_retry_prenote_response.rb +38 -113
  153. data/lib/lithic/models/external_bank_account_update_params.rb +23 -81
  154. data/lib/lithic/models/external_bank_account_update_response.rb +42 -123
  155. data/lib/lithic/models/external_bank_accounts/micro_deposit_create_params.rb +4 -9
  156. data/lib/lithic/models/external_bank_accounts/micro_deposit_create_response.rb +42 -123
  157. data/lib/lithic/models/external_payment.rb +38 -88
  158. data/lib/lithic/models/external_payment_cancel_params.rb +6 -15
  159. data/lib/lithic/models/external_payment_create_params.rb +22 -66
  160. data/lib/lithic/models/external_payment_list_params.rb +29 -98
  161. data/lib/lithic/models/external_payment_release_params.rb +6 -15
  162. data/lib/lithic/models/external_payment_retrieve_params.rb +3 -8
  163. data/lib/lithic/models/external_payment_reverse_params.rb +6 -15
  164. data/lib/lithic/models/external_payment_settle_params.rb +10 -26
  165. data/lib/lithic/models/financial_account.rb +33 -81
  166. data/lib/lithic/models/financial_account_create_params.rb +13 -43
  167. data/lib/lithic/models/financial_account_list_params.rb +11 -31
  168. data/lib/lithic/models/financial_account_retrieve_params.rb +3 -8
  169. data/lib/lithic/models/financial_account_update_params.rb +5 -14
  170. data/lib/lithic/models/financial_account_update_status_params.rb +9 -20
  171. data/lib/lithic/models/financial_accounts/balance_list_params.rb +7 -20
  172. data/lib/lithic/models/financial_accounts/balance_list_response.rb +15 -36
  173. data/lib/lithic/models/financial_accounts/credit_configuration_retrieve_params.rb +3 -8
  174. data/lib/lithic/models/financial_accounts/credit_configuration_update_params.rb +11 -41
  175. data/lib/lithic/models/financial_accounts/financial_account_credit_config.rb +13 -35
  176. data/lib/lithic/models/financial_accounts/financial_transaction_list_params.rb +23 -77
  177. data/lib/lithic/models/financial_accounts/financial_transaction_retrieve_params.rb +4 -9
  178. data/lib/lithic/models/financial_accounts/loan_tape.rb +132 -269
  179. data/lib/lithic/models/financial_accounts/loan_tape_list_params.rb +13 -38
  180. data/lib/lithic/models/financial_accounts/loan_tape_retrieve_params.rb +4 -9
  181. data/lib/lithic/models/financial_accounts/statement.rb +87 -198
  182. data/lib/lithic/models/financial_accounts/statement_list_params.rb +15 -55
  183. data/lib/lithic/models/financial_accounts/statement_retrieve_params.rb +4 -9
  184. data/lib/lithic/models/financial_accounts/statements/line_item_list_params.rb +10 -27
  185. data/lib/lithic/models/financial_accounts/statements/statement_line_items.rb +24 -60
  186. data/lib/lithic/models/financial_accounts/statements.rb +3 -7
  187. data/lib/lithic/models/financial_transaction.rb +34 -91
  188. data/lib/lithic/models/instance_financial_account_type.rb +4 -5
  189. data/lib/lithic/models/kyb.rb +71 -167
  190. data/lib/lithic/models/kyb_business_entity.rb +20 -50
  191. data/lib/lithic/models/kyc.rb +21 -40
  192. data/lib/lithic/models/kyc_exempt.rb +16 -47
  193. data/lib/lithic/models/management_operation_create_params.rb +34 -74
  194. data/lib/lithic/models/management_operation_list_params.rb +26 -86
  195. data/lib/lithic/models/management_operation_retrieve_params.rb +3 -8
  196. data/lib/lithic/models/management_operation_reverse_params.rb +6 -15
  197. data/lib/lithic/models/management_operation_transaction.rb +56 -110
  198. data/lib/lithic/models/message_attempt.rb +13 -32
  199. data/lib/lithic/models/owner_type.rb +2 -5
  200. data/lib/lithic/models/payment.rb +56 -129
  201. data/lib/lithic/models/payment_create_params.rb +23 -67
  202. data/lib/lithic/models/payment_create_response.rb +3 -11
  203. data/lib/lithic/models/payment_list_params.rb +31 -105
  204. data/lib/lithic/models/payment_retrieve_params.rb +3 -8
  205. data/lib/lithic/models/payment_retry_params.rb +3 -8
  206. data/lib/lithic/models/payment_retry_response.rb +3 -11
  207. data/lib/lithic/models/payment_simulate_action_params.rb +12 -31
  208. data/lib/lithic/models/payment_simulate_action_response.rb +6 -13
  209. data/lib/lithic/models/payment_simulate_receipt_params.rb +12 -24
  210. data/lib/lithic/models/payment_simulate_receipt_response.rb +6 -13
  211. data/lib/lithic/models/payment_simulate_release_params.rb +4 -9
  212. data/lib/lithic/models/payment_simulate_release_response.rb +6 -13
  213. data/lib/lithic/models/payment_simulate_return_params.rb +6 -15
  214. data/lib/lithic/models/payment_simulate_return_response.rb +6 -13
  215. data/lib/lithic/models/reports/settlement/network_total_list_params.rb +27 -95
  216. data/lib/lithic/models/reports/settlement/network_total_list_response.rb +21 -55
  217. data/lib/lithic/models/reports/settlement/network_total_retrieve_params.rb +3 -8
  218. data/lib/lithic/models/reports/settlement/network_total_retrieve_response.rb +21 -55
  219. data/lib/lithic/models/reports/settlement_list_details_params.rb +9 -26
  220. data/lib/lithic/models/reports/settlement_summary_params.rb +3 -8
  221. data/lib/lithic/models/required_document.rb +4 -8
  222. data/lib/lithic/models/responder_endpoint_check_status_params.rb +6 -14
  223. data/lib/lithic/models/responder_endpoint_create_params.rb +9 -25
  224. data/lib/lithic/models/responder_endpoint_create_response.rb +3 -11
  225. data/lib/lithic/models/responder_endpoint_delete_params.rb +6 -14
  226. data/lib/lithic/models/responder_endpoint_status.rb +4 -12
  227. data/lib/lithic/models/settlement_detail.rb +32 -79
  228. data/lib/lithic/models/settlement_report.rb +12 -31
  229. data/lib/lithic/models/settlement_summary_details.rb +19 -70
  230. data/lib/lithic/models/shipping_address.rb +16 -51
  231. data/lib/lithic/models/spend_limit_duration.rb +2 -5
  232. data/lib/lithic/models/three_ds/authentication_retrieve_params.rb +3 -8
  233. data/lib/lithic/models/three_ds/authentication_retrieve_response.rb +148 -312
  234. data/lib/lithic/models/three_ds/authentication_simulate_otp_entry_params.rb +5 -10
  235. data/lib/lithic/models/three_ds/authentication_simulate_params.rb +18 -38
  236. data/lib/lithic/models/three_ds/authentication_simulate_response.rb +3 -11
  237. data/lib/lithic/models/three_ds/challenge_response.rb +3 -7
  238. data/lib/lithic/models/three_ds/challenge_result.rb +2 -5
  239. data/lib/lithic/models/three_ds/decisioning_challenge_response_params.rb +3 -8
  240. data/lib/lithic/models/three_ds/decisioning_retrieve_secret_params.rb +3 -8
  241. data/lib/lithic/models/three_ds/decisioning_retrieve_secret_response.rb +3 -11
  242. data/lib/lithic/models/three_ds/decisioning_rotate_secret_params.rb +3 -8
  243. data/lib/lithic/models/tokenization.rb +35 -99
  244. data/lib/lithic/models/tokenization_activate_params.rb +3 -8
  245. data/lib/lithic/models/tokenization_deactivate_params.rb +3 -8
  246. data/lib/lithic/models/tokenization_decisioning_retrieve_secret_params.rb +3 -8
  247. data/lib/lithic/models/tokenization_decisioning_rotate_secret_params.rb +3 -8
  248. data/lib/lithic/models/tokenization_decisioning_rotate_secret_response.rb +3 -11
  249. data/lib/lithic/models/tokenization_list_params.rb +21 -74
  250. data/lib/lithic/models/tokenization_pause_params.rb +3 -8
  251. data/lib/lithic/models/tokenization_resend_activation_code_params.rb +7 -19
  252. data/lib/lithic/models/tokenization_retrieve_params.rb +3 -8
  253. data/lib/lithic/models/tokenization_retrieve_response.rb +3 -11
  254. data/lib/lithic/models/tokenization_secret.rb +3 -11
  255. data/lib/lithic/models/tokenization_simulate_params.rb +19 -59
  256. data/lib/lithic/models/tokenization_simulate_response.rb +3 -11
  257. data/lib/lithic/models/tokenization_unpause_params.rb +3 -8
  258. data/lib/lithic/models/tokenization_update_digital_card_art_params.rb +5 -14
  259. data/lib/lithic/models/tokenization_update_digital_card_art_response.rb +3 -11
  260. data/lib/lithic/models/transaction.rb +279 -413
  261. data/lib/lithic/models/transaction_expire_authorization_params.rb +3 -8
  262. data/lib/lithic/models/transaction_list_params.rb +25 -86
  263. data/lib/lithic/models/transaction_retrieve_params.rb +3 -8
  264. data/lib/lithic/models/transaction_simulate_authorization_advice_params.rb +5 -10
  265. data/lib/lithic/models/transaction_simulate_authorization_advice_response.rb +5 -17
  266. data/lib/lithic/models/transaction_simulate_authorization_params.rb +22 -73
  267. data/lib/lithic/models/transaction_simulate_authorization_response.rb +5 -17
  268. data/lib/lithic/models/transaction_simulate_clearing_params.rb +6 -15
  269. data/lib/lithic/models/transaction_simulate_clearing_response.rb +3 -11
  270. data/lib/lithic/models/transaction_simulate_credit_authorization_params.rb +10 -23
  271. data/lib/lithic/models/transaction_simulate_credit_authorization_response.rb +5 -17
  272. data/lib/lithic/models/transaction_simulate_return_params.rb +6 -11
  273. data/lib/lithic/models/transaction_simulate_return_response.rb +5 -17
  274. data/lib/lithic/models/transaction_simulate_return_reversal_params.rb +4 -9
  275. data/lib/lithic/models/transaction_simulate_return_reversal_response.rb +3 -11
  276. data/lib/lithic/models/transaction_simulate_void_params.rb +10 -26
  277. data/lib/lithic/models/transaction_simulate_void_response.rb +3 -11
  278. data/lib/lithic/models/transactions/enhanced_commercial_data_retrieve_params.rb +3 -8
  279. data/lib/lithic/models/transactions/enhanced_commercial_data_retrieve_response.rb +2 -6
  280. data/lib/lithic/models/transactions/events/enhanced_commercial_data_retrieve_params.rb +3 -8
  281. data/lib/lithic/models/transactions/events/enhanced_data.rb +68 -192
  282. data/lib/lithic/models/transfer.rb +49 -160
  283. data/lib/lithic/models/transfer_create_params.rb +10 -23
  284. data/lib/lithic/models/verification_method.rb +2 -5
  285. data/lib/lithic/request_options.rb +3 -4
  286. data/lib/lithic/resources/account_holders.rb +10 -8
  287. data/lib/lithic/resources/cards.rb +16 -16
  288. data/lib/lithic/version.rb +1 -1
  289. data/lib/lithic.rb +8 -1
  290. data/rbi/lib/lithic/internal/type/base_model.rbi +10 -0
  291. data/rbi/lib/lithic/internal/type/enum.rbi +0 -6
  292. data/rbi/lib/lithic/models/account.rbi +2 -3
  293. data/rbi/lib/lithic/models/account_financial_account_type.rbi +1 -2
  294. data/rbi/lib/lithic/models/account_holder.rbi +10 -13
  295. data/rbi/lib/lithic/models/account_holder_create_params.rbi +6 -7
  296. data/rbi/lib/lithic/models/account_holder_create_response.rbi +2 -4
  297. data/rbi/lib/lithic/models/account_holder_simulate_enrollment_document_review_params.rbi +2 -16
  298. data/rbi/lib/lithic/models/account_holder_simulate_enrollment_review_params.rbi +2 -10
  299. data/rbi/lib/lithic/models/account_holder_simulate_enrollment_review_response.rbi +10 -45
  300. data/rbi/lib/lithic/models/account_holder_update_params.rbi +4 -3
  301. data/rbi/lib/lithic/models/account_holder_update_response.rbi +10 -51
  302. data/rbi/lib/lithic/models/account_holder_upload_document_params.rbi +1 -2
  303. data/rbi/lib/lithic/models/account_update_params.rbi +1 -2
  304. data/rbi/lib/lithic/models/aggregate_balance.rbi +1 -2
  305. data/rbi/lib/lithic/models/aggregate_balance_list_params.rbi +1 -2
  306. data/rbi/lib/lithic/models/auth_rules/auth_rule.rbi +1 -2
  307. data/rbi/lib/lithic/models/auth_rules/auth_rule_condition.rbi +1 -2
  308. data/rbi/lib/lithic/models/auth_rules/conditional_attribute.rbi +1 -2
  309. data/rbi/lib/lithic/models/auth_rules/v2_apply_response.rbi +2 -4
  310. data/rbi/lib/lithic/models/auth_rules/v2_create_params.rbi +1 -2
  311. data/rbi/lib/lithic/models/auth_rules/v2_create_response.rbi +2 -4
  312. data/rbi/lib/lithic/models/auth_rules/v2_draft_response.rbi +2 -4
  313. data/rbi/lib/lithic/models/auth_rules/v2_list_response.rbi +2 -4
  314. data/rbi/lib/lithic/models/auth_rules/v2_promote_response.rbi +2 -4
  315. data/rbi/lib/lithic/models/auth_rules/v2_retrieve_response.rbi +2 -4
  316. data/rbi/lib/lithic/models/auth_rules/v2_update_params.rbi +1 -2
  317. data/rbi/lib/lithic/models/auth_rules/v2_update_response.rbi +2 -4
  318. data/rbi/lib/lithic/models/auth_rules/velocity_limit_params.rbi +2 -3
  319. data/rbi/lib/lithic/models/auth_rules/velocity_limit_params_period_window.rbi +1 -2
  320. data/rbi/lib/lithic/models/balance.rbi +1 -2
  321. data/rbi/lib/lithic/models/balance_list_params.rbi +1 -2
  322. data/rbi/lib/lithic/models/book_transfer_create_params.rbi +2 -4
  323. data/rbi/lib/lithic/models/book_transfer_list_params.rbi +3 -6
  324. data/rbi/lib/lithic/models/book_transfer_response.rbi +5 -10
  325. data/rbi/lib/lithic/models/card_convert_physical_params.rbi +1 -2
  326. data/rbi/lib/lithic/models/card_convert_physical_response.rbi +467 -0
  327. data/rbi/lib/lithic/models/card_create_params.rbi +3 -4
  328. data/rbi/lib/lithic/models/card_create_response.rbi +458 -0
  329. data/rbi/lib/lithic/models/card_list_params.rbi +1 -1
  330. data/rbi/lib/lithic/models/card_list_response.rbi +435 -0
  331. data/rbi/lib/lithic/models/card_provision_params.rbi +1 -2
  332. data/rbi/lib/lithic/models/card_reissue_params.rbi +1 -2
  333. data/rbi/lib/lithic/models/card_reissue_response.rbi +458 -0
  334. data/rbi/lib/lithic/models/card_renew_params.rbi +1 -2
  335. data/rbi/lib/lithic/models/card_renew_response.rbi +457 -0
  336. data/rbi/lib/lithic/models/card_retrieve_response.rbi +459 -0
  337. data/rbi/lib/lithic/models/card_search_by_pan_response.rbi +461 -0
  338. data/rbi/lib/lithic/models/card_update_params.rbi +2 -3
  339. data/rbi/lib/lithic/models/card_update_response.rbi +458 -0
  340. data/rbi/lib/lithic/models/cards/balance_list_response.rbi +1 -2
  341. data/rbi/lib/lithic/models/cards/financial_transaction_list_params.rbi +3 -6
  342. data/rbi/lib/lithic/models/digital_card_art.rbi +1 -2
  343. data/rbi/lib/lithic/models/dispute.rbi +3 -11
  344. data/rbi/lib/lithic/models/dispute_create_params.rbi +1 -2
  345. data/rbi/lib/lithic/models/dispute_evidence.rbi +1 -2
  346. data/rbi/lib/lithic/models/dispute_list_params.rbi +1 -2
  347. data/rbi/lib/lithic/models/dispute_update_params.rbi +1 -2
  348. data/rbi/lib/lithic/models/document.rbi +4 -7
  349. data/rbi/lib/lithic/models/event.rbi +1 -1
  350. data/rbi/lib/lithic/models/event_list_attempts_params.rbi +1 -2
  351. data/rbi/lib/lithic/models/event_list_params.rbi +1 -2
  352. data/rbi/lib/lithic/models/event_subscription.rbi +1 -2
  353. data/rbi/lib/lithic/models/events/subscription_create_params.rbi +1 -2
  354. data/rbi/lib/lithic/models/events/subscription_list_attempts_params.rbi +1 -2
  355. data/rbi/lib/lithic/models/events/subscription_send_simulated_example_params.rbi +1 -8
  356. data/rbi/lib/lithic/models/events/subscription_update_params.rbi +1 -2
  357. data/rbi/lib/lithic/models/external_bank_account_create_params.rbi +2 -4
  358. data/rbi/lib/lithic/models/external_bank_account_create_response.rbi +5 -10
  359. data/rbi/lib/lithic/models/external_bank_account_list_params.rbi +3 -6
  360. data/rbi/lib/lithic/models/external_bank_account_list_response.rbi +5 -10
  361. data/rbi/lib/lithic/models/external_bank_account_retrieve_response.rbi +5 -22
  362. data/rbi/lib/lithic/models/external_bank_account_retry_micro_deposits_response.rbi +5 -28
  363. data/rbi/lib/lithic/models/external_bank_account_retry_prenote_response.rbi +3 -12
  364. data/rbi/lib/lithic/models/external_bank_account_update_params.rbi +1 -2
  365. data/rbi/lib/lithic/models/external_bank_account_update_response.rbi +5 -10
  366. data/rbi/lib/lithic/models/external_bank_accounts/micro_deposit_create_response.rbi +5 -40
  367. data/rbi/lib/lithic/models/external_payment.rbi +7 -12
  368. data/rbi/lib/lithic/models/external_payment_create_params.rbi +3 -6
  369. data/rbi/lib/lithic/models/external_payment_list_params.rbi +3 -6
  370. data/rbi/lib/lithic/models/external_payment_settle_params.rbi +1 -2
  371. data/rbi/lib/lithic/models/financial_account.rbi +7 -20
  372. data/rbi/lib/lithic/models/financial_account_create_params.rbi +1 -2
  373. data/rbi/lib/lithic/models/financial_account_list_params.rbi +1 -2
  374. data/rbi/lib/lithic/models/financial_account_update_status_params.rbi +2 -4
  375. data/rbi/lib/lithic/models/financial_accounts/balance_list_response.rbi +1 -2
  376. data/rbi/lib/lithic/models/financial_accounts/financial_account_credit_config.rbi +2 -16
  377. data/rbi/lib/lithic/models/financial_accounts/financial_transaction_list_params.rbi +3 -24
  378. data/rbi/lib/lithic/models/financial_accounts/loan_tape.rbi +4 -32
  379. data/rbi/lib/lithic/models/financial_accounts/statement.rbi +5 -34
  380. data/rbi/lib/lithic/models/financial_accounts/statements/statement_line_items.rbi +12 -16
  381. data/rbi/lib/lithic/models/financial_transaction.rbi +7 -10
  382. data/rbi/lib/lithic/models/instance_financial_account_type.rbi +4 -2
  383. data/rbi/lib/lithic/models/kyb.rbi +5 -4
  384. data/rbi/lib/lithic/models/kyc.rbi +1 -1
  385. data/rbi/lib/lithic/models/kyc_exempt.rbi +2 -3
  386. data/rbi/lib/lithic/models/management_operation_create_params.rbi +22 -16
  387. data/rbi/lib/lithic/models/management_operation_list_params.rbi +4 -4
  388. data/rbi/lib/lithic/models/management_operation_transaction.rbi +26 -24
  389. data/rbi/lib/lithic/models/message_attempt.rbi +1 -1
  390. data/rbi/lib/lithic/models/owner_type.rbi +1 -1
  391. data/rbi/lib/lithic/models/payment.rbi +10 -12
  392. data/rbi/lib/lithic/models/payment_create_params.rbi +3 -6
  393. data/rbi/lib/lithic/models/payment_list_params.rbi +3 -6
  394. data/rbi/lib/lithic/models/payment_simulate_action_params.rbi +2 -4
  395. data/rbi/lib/lithic/models/payment_simulate_action_response.rbi +1 -2
  396. data/rbi/lib/lithic/models/payment_simulate_receipt_params.rbi +2 -3
  397. data/rbi/lib/lithic/models/payment_simulate_receipt_response.rbi +1 -2
  398. data/rbi/lib/lithic/models/payment_simulate_release_response.rbi +1 -2
  399. data/rbi/lib/lithic/models/payment_simulate_return_response.rbi +1 -2
  400. data/rbi/lib/lithic/models/reports/settlement/network_total_list_params.rbi +1 -2
  401. data/rbi/lib/lithic/models/reports/settlement/network_total_list_response.rbi +1 -8
  402. data/rbi/lib/lithic/models/reports/settlement/network_total_retrieve_response.rbi +1 -8
  403. data/rbi/lib/lithic/models/responder_endpoint_check_status_params.rbi +1 -2
  404. data/rbi/lib/lithic/models/responder_endpoint_create_params.rbi +1 -2
  405. data/rbi/lib/lithic/models/responder_endpoint_delete_params.rbi +1 -2
  406. data/rbi/lib/lithic/models/settlement_detail.rbi +2 -3
  407. data/rbi/lib/lithic/models/settlement_summary_details.rbi +1 -2
  408. data/rbi/lib/lithic/models/spend_limit_duration.rbi +1 -1
  409. data/rbi/lib/lithic/models/three_ds/authentication_retrieve_response.rbi +17 -124
  410. data/rbi/lib/lithic/models/three_ds/authentication_simulate_params.rbi +1 -8
  411. data/rbi/lib/lithic/models/three_ds/challenge_result.rbi +1 -1
  412. data/rbi/lib/lithic/models/tokenization.rbi +5 -9
  413. data/rbi/lib/lithic/models/tokenization_list_params.rbi +1 -2
  414. data/rbi/lib/lithic/models/tokenization_resend_activation_code_params.rbi +1 -8
  415. data/rbi/lib/lithic/models/tokenization_simulate_params.rbi +2 -4
  416. data/rbi/lib/lithic/models/transaction.rbi +184 -68
  417. data/rbi/lib/lithic/models/transaction_list_params.rbi +2 -4
  418. data/rbi/lib/lithic/models/transaction_simulate_authorization_params.rbi +1 -2
  419. data/rbi/lib/lithic/models/transaction_simulate_void_params.rbi +1 -2
  420. data/rbi/lib/lithic/models/transactions/events/enhanced_data.rbi +4 -26
  421. data/rbi/lib/lithic/models/transfer.rbi +7 -5
  422. data/rbi/lib/lithic/models/verification_method.rbi +1 -1
  423. data/rbi/lib/lithic/resources/account_holders.rbi +18 -14
  424. data/rbi/lib/lithic/resources/cards.rbi +8 -8
  425. data/rbi/lib/lithic/resources/payments.rbi +1 -1
  426. data/sig/lithic/internal/type/base_model.rbs +6 -0
  427. data/sig/lithic/internal/type/enum.rbs +0 -2
  428. data/sig/lithic/models/card_convert_physical_response.rbs +257 -0
  429. data/sig/lithic/models/card_create_response.rbs +257 -0
  430. data/sig/lithic/models/card_list_response.rbs +245 -0
  431. data/sig/lithic/models/card_reissue_response.rbs +257 -0
  432. data/sig/lithic/models/{card.rbs → card_renew_response.rbs} +45 -30
  433. data/sig/lithic/models/card_retrieve_response.rbs +257 -0
  434. data/sig/lithic/models/card_search_by_pan_response.rbs +257 -0
  435. data/sig/lithic/models/card_update_response.rbs +257 -0
  436. data/sig/lithic/models/dispute.rbs +0 -4
  437. data/sig/lithic/models/financial_account.rbs +4 -0
  438. data/sig/lithic/models/financial_accounts/statements/statement_line_items.rbs +4 -0
  439. data/sig/lithic/models/financial_transaction.rbs +2 -0
  440. data/sig/lithic/models/instance_financial_account_type.rbs +4 -0
  441. data/sig/lithic/models/management_operation_create_params.rbs +23 -13
  442. data/sig/lithic/models/management_operation_list_params.rbs +2 -0
  443. data/sig/lithic/models/management_operation_transaction.rbs +23 -13
  444. data/sig/lithic/models/transaction.rbs +87 -4
  445. data/sig/lithic/models/transfer.rbs +2 -0
  446. data/sig/lithic/resources/cards.rbs +8 -8
  447. metadata +27 -5
  448. data/lib/lithic/models/card.rb +0 -524
  449. data/rbi/lib/lithic/models/card.rbi +0 -487
@@ -11,41 +11,30 @@ module Lithic
11
11
  variant -> { Lithic::Models::AccountHolderUpdateResponse::PatchResponse }
12
12
 
13
13
  class KYBKYCPatchResponse < Lithic::Internal::Type::BaseModel
14
- # @!attribute [r] token
14
+ # @!attribute token
15
15
  # Globally unique identifier for the account holder.
16
16
  #
17
17
  # @return [String, nil]
18
18
  optional :token, String
19
19
 
20
- # @!parse
21
- # # @return [String]
22
- # attr_writer :token
23
-
24
- # @!attribute [r] account_token
20
+ # @!attribute account_token
25
21
  # Globally unique identifier for the account.
26
22
  #
27
23
  # @return [String, nil]
28
24
  optional :account_token, String
29
25
 
30
- # @!parse
31
- # # @return [String]
32
- # attr_writer :account_token
33
-
34
- # @!attribute [r] beneficial_owner_entities
26
+ # @!attribute beneficial_owner_entities
35
27
  # Deprecated.
36
28
  #
37
29
  # @return [Array<Lithic::Models::KYBBusinessEntity>, nil]
38
30
  optional :beneficial_owner_entities,
39
31
  -> { Lithic::Internal::Type::ArrayOf[Lithic::Models::KYBBusinessEntity] }
40
32
 
41
- # @!parse
42
- # # @return [Array<Lithic::Models::KYBBusinessEntity>]
43
- # attr_writer :beneficial_owner_entities
44
-
45
- # @!attribute [r] beneficial_owner_individuals
46
- # Only present when user_type == "BUSINESS". List of all direct and indirect
47
- # individuals with 25% or more ownership in the company. If no individual owns 25%
48
- # of the company, please identify the largest shareholder in this field. See
33
+ # @!attribute beneficial_owner_individuals
34
+ # Only present when user_type == "BUSINESS". You must submit a list of all direct
35
+ # and indirect individuals with 25% or more ownership in the company. A maximum of
36
+ # 4 beneficial owners can be submitted. If no individual owns 25% of the company
37
+ # you do not need to send beneficial owner information. See
49
38
  # [FinCEN requirements](https://www.fincen.gov/sites/default/files/shared/CDD_Rev6.7_Sept_2017_Certificate.pdf)
50
39
  # (Section I) for more background on individuals that should be included.
51
40
  #
@@ -53,11 +42,7 @@ module Lithic
53
42
  optional :beneficial_owner_individuals,
54
43
  -> { Lithic::Internal::Type::ArrayOf[Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::BeneficialOwnerIndividual] }
55
44
 
56
- # @!parse
57
- # # @return [Array<Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::BeneficialOwnerIndividual>]
58
- # attr_writer :beneficial_owner_individuals
59
-
60
- # @!attribute [r] business_account_token
45
+ # @!attribute business_account_token
61
46
  # Only applicable for customers using the KYC-Exempt workflow to enroll authorized
62
47
  # users of businesses. Pass the account_token of the enrolled business associated
63
48
  # with the AUTHORIZED_USER in this field.
@@ -65,22 +50,14 @@ module Lithic
65
50
  # @return [String, nil]
66
51
  optional :business_account_token, String
67
52
 
68
- # @!parse
69
- # # @return [String]
70
- # attr_writer :business_account_token
71
-
72
- # @!attribute [r] business_entity
53
+ # @!attribute business_entity
73
54
  # Only present when user_type == "BUSINESS". Information about the business for
74
55
  # which the account is being opened and KYB is being run.
75
56
  #
76
57
  # @return [Lithic::Models::KYBBusinessEntity, nil]
77
58
  optional :business_entity, -> { Lithic::Models::KYBBusinessEntity }
78
59
 
79
- # @!parse
80
- # # @return [Lithic::Models::KYBBusinessEntity]
81
- # attr_writer :business_entity
82
-
83
- # @!attribute [r] control_person
60
+ # @!attribute control_person
84
61
  # Only present when user_type == "BUSINESS".
85
62
  #
86
63
  # An individual with significant responsibility for managing the legal entity
@@ -97,21 +74,13 @@ module Lithic
97
74
  optional :control_person,
98
75
  -> { Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::ControlPerson }
99
76
 
100
- # @!parse
101
- # # @return [Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::ControlPerson]
102
- # attr_writer :control_person
103
-
104
- # @!attribute [r] created
77
+ # @!attribute created
105
78
  # Timestamp of when the account holder was created.
106
79
  #
107
80
  # @return [Time, nil]
108
81
  optional :created, Time
109
82
 
110
- # @!parse
111
- # # @return [Time]
112
- # attr_writer :created
113
-
114
- # @!attribute [r] email
83
+ # @!attribute email
115
84
  # < Deprecated. Use control_person.email when user_type == "BUSINESS". Use
116
85
  # individual.phone_number when user_type == "INDIVIDUAL".
117
86
  #
@@ -120,11 +89,7 @@ module Lithic
120
89
  # @return [String, nil]
121
90
  optional :email, String
122
91
 
123
- # @!parse
124
- # # @return [String]
125
- # attr_writer :email
126
-
127
- # @!attribute [r] exemption_type
92
+ # @!attribute exemption_type
128
93
  # The type of KYC exemption for a KYC-Exempt Account Holder. "None" if the account
129
94
  # holder is not KYC-Exempt.
130
95
  #
@@ -132,44 +97,28 @@ module Lithic
132
97
  optional :exemption_type,
133
98
  enum: -> { Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::ExemptionType }
134
99
 
135
- # @!parse
136
- # # @return [Symbol, Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::ExemptionType]
137
- # attr_writer :exemption_type
138
-
139
- # @!attribute [r] external_id
100
+ # @!attribute external_id
140
101
  # Customer-provided token that indicates a relationship with an object outside of
141
102
  # the Lithic ecosystem.
142
103
  #
143
104
  # @return [String, nil]
144
105
  optional :external_id, String
145
106
 
146
- # @!parse
147
- # # @return [String]
148
- # attr_writer :external_id
149
-
150
- # @!attribute [r] individual
107
+ # @!attribute individual
151
108
  # Only present when user_type == "INDIVIDUAL". Information about the individual
152
109
  # for which the account is being opened and KYC is being run.
153
110
  #
154
111
  # @return [Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::Individual, nil]
155
112
  optional :individual, -> { Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::Individual }
156
113
 
157
- # @!parse
158
- # # @return [Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::Individual]
159
- # attr_writer :individual
160
-
161
- # @!attribute [r] nature_of_business
114
+ # @!attribute nature_of_business
162
115
  # Only present when user_type == "BUSINESS". User-submitted description of the
163
116
  # business.
164
117
  #
165
118
  # @return [String, nil]
166
119
  optional :nature_of_business, String
167
120
 
168
- # @!parse
169
- # # @return [String]
170
- # attr_writer :nature_of_business
171
-
172
- # @!attribute [r] phone_number
121
+ # @!attribute phone_number
173
122
  # < Deprecated. Use control_person.phone_number when user_type == "BUSINESS". Use
174
123
  # individual.phone_number when user_type == "INDIVIDUAL".
175
124
  #
@@ -178,22 +127,14 @@ module Lithic
178
127
  # @return [String, nil]
179
128
  optional :phone_number, String
180
129
 
181
- # @!parse
182
- # # @return [String]
183
- # attr_writer :phone_number
184
-
185
- # @!attribute [r] required_documents
130
+ # @!attribute required_documents
186
131
  # Only present for "KYB_BASIC" and "KYC_ADVANCED" workflows. A list of documents
187
132
  # required for the account holder to be approved.
188
133
  #
189
134
  # @return [Array<Lithic::Models::RequiredDocument>, nil]
190
135
  optional :required_documents, -> { Lithic::Internal::Type::ArrayOf[Lithic::Models::RequiredDocument] }
191
136
 
192
- # @!parse
193
- # # @return [Array<Lithic::Models::RequiredDocument>]
194
- # attr_writer :required_documents
195
-
196
- # @!attribute [r] status
137
+ # @!attribute status
197
138
  # <Deprecated. Use verification_application.status instead>
198
139
  #
199
140
  # KYC and KYB evaluation states.
@@ -204,11 +145,7 @@ module Lithic
204
145
  # @return [Symbol, Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::Status, nil]
205
146
  optional :status, enum: -> { Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::Status }
206
147
 
207
- # @!parse
208
- # # @return [Symbol, Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::Status]
209
- # attr_writer :status
210
-
211
- # @!attribute [r] status_reasons
148
+ # @!attribute status_reasons
212
149
  # <Deprecated. Use verification_application.status_reasons> Reason for the
213
150
  # evaluation status.
214
151
  #
@@ -216,11 +153,7 @@ module Lithic
216
153
  optional :status_reasons,
217
154
  -> { Lithic::Internal::Type::ArrayOf[enum: Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::StatusReason] }
218
155
 
219
- # @!parse
220
- # # @return [Array<Symbol, Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::StatusReason>]
221
- # attr_writer :status_reasons
222
-
223
- # @!attribute [r] user_type
156
+ # @!attribute user_type
224
157
  # The type of Account Holder. If the type is "INDIVIDUAL", the "individual"
225
158
  # attribute will be present.
226
159
  #
@@ -232,83 +165,43 @@ module Lithic
232
165
  optional :user_type,
233
166
  enum: -> { Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::UserType }
234
167
 
235
- # @!parse
236
- # # @return [Symbol, Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::UserType]
237
- # attr_writer :user_type
238
-
239
- # @!attribute [r] verification_application
168
+ # @!attribute verification_application
240
169
  # Information about the most recent identity verification attempt
241
170
  #
242
171
  # @return [Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::VerificationApplication, nil]
243
172
  optional :verification_application,
244
173
  -> { Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::VerificationApplication }
245
174
 
246
- # @!parse
247
- # # @return [Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::VerificationApplication]
248
- # attr_writer :verification_application
249
-
250
- # @!attribute [r] website_url
175
+ # @!attribute website_url
251
176
  # Only present when user_type == "BUSINESS". Business's primary website.
252
177
  #
253
178
  # @return [String, nil]
254
179
  optional :website_url, String
255
180
 
256
- # @!parse
257
- # # @return [String]
258
- # attr_writer :website_url
259
-
260
- # @!parse
261
- # # @param token [String]
262
- # # @param account_token [String]
263
- # # @param beneficial_owner_entities [Array<Lithic::Models::KYBBusinessEntity>]
264
- # # @param beneficial_owner_individuals [Array<Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::BeneficialOwnerIndividual>]
265
- # # @param business_account_token [String]
266
- # # @param business_entity [Lithic::Models::KYBBusinessEntity]
267
- # # @param control_person [Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::ControlPerson]
268
- # # @param created [Time]
269
- # # @param email [String]
270
- # # @param exemption_type [Symbol, Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::ExemptionType]
271
- # # @param external_id [String]
272
- # # @param individual [Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::Individual]
273
- # # @param nature_of_business [String]
274
- # # @param phone_number [String]
275
- # # @param required_documents [Array<Lithic::Models::RequiredDocument>]
276
- # # @param status [Symbol, Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::Status]
277
- # # @param status_reasons [Array<Symbol, Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::StatusReason>]
278
- # # @param user_type [Symbol, Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::UserType]
279
- # # @param verification_application [Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::VerificationApplication]
280
- # # @param website_url [String]
281
- # #
282
- # def initialize(
283
- # token: nil,
284
- # account_token: nil,
285
- # beneficial_owner_entities: nil,
286
- # beneficial_owner_individuals: nil,
287
- # business_account_token: nil,
288
- # business_entity: nil,
289
- # control_person: nil,
290
- # created: nil,
291
- # email: nil,
292
- # exemption_type: nil,
293
- # external_id: nil,
294
- # individual: nil,
295
- # nature_of_business: nil,
296
- # phone_number: nil,
297
- # required_documents: nil,
298
- # status: nil,
299
- # status_reasons: nil,
300
- # user_type: nil,
301
- # verification_application: nil,
302
- # website_url: nil,
303
- # **
304
- # )
305
- # super
306
- # end
307
-
308
- # def initialize: (Hash | Lithic::Internal::Type::BaseModel) -> void
181
+ # @!method initialize(token: nil, account_token: nil, beneficial_owner_entities: nil, beneficial_owner_individuals: nil, business_account_token: nil, business_entity: nil, control_person: nil, created: nil, email: nil, exemption_type: nil, external_id: nil, individual: nil, nature_of_business: nil, phone_number: nil, required_documents: nil, status: nil, status_reasons: nil, user_type: nil, verification_application: nil, website_url: nil)
182
+ # @param token [String]
183
+ # @param account_token [String]
184
+ # @param beneficial_owner_entities [Array<Lithic::Models::KYBBusinessEntity>]
185
+ # @param beneficial_owner_individuals [Array<Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::BeneficialOwnerIndividual>]
186
+ # @param business_account_token [String]
187
+ # @param business_entity [Lithic::Models::KYBBusinessEntity]
188
+ # @param control_person [Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::ControlPerson]
189
+ # @param created [Time]
190
+ # @param email [String]
191
+ # @param exemption_type [Symbol, Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::ExemptionType]
192
+ # @param external_id [String]
193
+ # @param individual [Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::Individual]
194
+ # @param nature_of_business [String]
195
+ # @param phone_number [String]
196
+ # @param required_documents [Array<Lithic::Models::RequiredDocument>]
197
+ # @param status [Symbol, Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::Status]
198
+ # @param status_reasons [Array<Symbol, Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::StatusReason>]
199
+ # @param user_type [Symbol, Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::UserType]
200
+ # @param verification_application [Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::VerificationApplication]
201
+ # @param website_url [String]
309
202
 
310
203
  class BeneficialOwnerIndividual < Lithic::Internal::Type::BaseModel
311
- # @!attribute [r] address
204
+ # @!attribute address
312
205
  # Individual's current address - PO boxes, UPS drops, and FedEx drops are not
313
206
  # acceptable; APO/FPO are acceptable. Only USA addresses are currently supported.
314
207
  #
@@ -316,72 +209,44 @@ module Lithic
316
209
  optional :address,
317
210
  -> { Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::BeneficialOwnerIndividual::Address }
318
211
 
319
- # @!parse
320
- # # @return [Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::BeneficialOwnerIndividual::Address]
321
- # attr_writer :address
322
-
323
- # @!attribute [r] dob
212
+ # @!attribute dob
324
213
  # Individual's date of birth, as an RFC 3339 date.
325
214
  #
326
215
  # @return [String, nil]
327
216
  optional :dob, String
328
217
 
329
- # @!parse
330
- # # @return [String]
331
- # attr_writer :dob
332
-
333
- # @!attribute [r] email
218
+ # @!attribute email
334
219
  # Individual's email address. If utilizing Lithic for chargeback processing, this
335
220
  # customer email address may be used to communicate dispute status and resolution.
336
221
  #
337
222
  # @return [String, nil]
338
223
  optional :email, String
339
224
 
340
- # @!parse
341
- # # @return [String]
342
- # attr_writer :email
343
-
344
- # @!attribute [r] first_name
225
+ # @!attribute first_name
345
226
  # Individual's first name, as it appears on government-issued identity documents.
346
227
  #
347
228
  # @return [String, nil]
348
229
  optional :first_name, String
349
230
 
350
- # @!parse
351
- # # @return [String]
352
- # attr_writer :first_name
353
-
354
- # @!attribute [r] last_name
231
+ # @!attribute last_name
355
232
  # Individual's last name, as it appears on government-issued identity documents.
356
233
  #
357
234
  # @return [String, nil]
358
235
  optional :last_name, String
359
236
 
360
- # @!parse
361
- # # @return [String]
362
- # attr_writer :last_name
363
-
364
- # @!attribute [r] phone_number
237
+ # @!attribute phone_number
365
238
  # Individual's phone number, entered in E.164 format.
366
239
  #
367
240
  # @return [String, nil]
368
241
  optional :phone_number, String
369
242
 
370
- # @!parse
371
- # # @return [String]
372
- # attr_writer :phone_number
373
-
374
- # @!parse
375
- # # @param address [Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::BeneficialOwnerIndividual::Address]
376
- # # @param dob [String]
377
- # # @param email [String]
378
- # # @param first_name [String]
379
- # # @param last_name [String]
380
- # # @param phone_number [String]
381
- # #
382
- # def initialize(address: nil, dob: nil, email: nil, first_name: nil, last_name: nil, phone_number: nil, **) = super
383
-
384
- # def initialize: (Hash | Lithic::Internal::Type::BaseModel) -> void
243
+ # @!method initialize(address: nil, dob: nil, email: nil, first_name: nil, last_name: nil, phone_number: nil)
244
+ # @param address [Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::BeneficialOwnerIndividual::Address]
245
+ # @param dob [String]
246
+ # @param email [String]
247
+ # @param first_name [String]
248
+ # @param last_name [String]
249
+ # @param phone_number [String]
385
250
 
386
251
  # @see Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::BeneficialOwnerIndividual#address
387
252
  class Address < Lithic::Internal::Type::BaseModel
@@ -418,36 +283,28 @@ module Lithic
418
283
  # @return [String]
419
284
  required :state, String
420
285
 
421
- # @!attribute [r] address2
286
+ # @!attribute address2
422
287
  # Unit or apartment number (if applicable).
423
288
  #
424
289
  # @return [String, nil]
425
290
  optional :address2, String
426
291
 
427
- # @!parse
428
- # # @return [String]
429
- # attr_writer :address2
430
-
431
- # @!parse
432
- # # Individual's current address - PO boxes, UPS drops, and FedEx drops are not
433
- # # acceptable; APO/FPO are acceptable. Only USA addresses are currently supported.
434
- # #
435
- # # @param address1 [String]
436
- # # @param city [String]
437
- # # @param country [String]
438
- # # @param postal_code [String]
439
- # # @param state [String]
440
- # # @param address2 [String]
441
- # #
442
- # def initialize(address1:, city:, country:, postal_code:, state:, address2: nil, **) = super
443
-
444
- # def initialize: (Hash | Lithic::Internal::Type::BaseModel) -> void
292
+ # @!method initialize(address1:, city:, country:, postal_code:, state:, address2: nil)
293
+ # Individual's current address - PO boxes, UPS drops, and FedEx drops are not
294
+ # acceptable; APO/FPO are acceptable. Only USA addresses are currently supported.
295
+ #
296
+ # @param address1 [String]
297
+ # @param city [String]
298
+ # @param country [String]
299
+ # @param postal_code [String]
300
+ # @param state [String]
301
+ # @param address2 [String]
445
302
  end
446
303
  end
447
304
 
448
305
  # @see Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse#control_person
449
306
  class ControlPerson < Lithic::Internal::Type::BaseModel
450
- # @!attribute [r] address
307
+ # @!attribute address
451
308
  # Individual's current address - PO boxes, UPS drops, and FedEx drops are not
452
309
  # acceptable; APO/FPO are acceptable. Only USA addresses are currently supported.
453
310
  #
@@ -455,84 +312,56 @@ module Lithic
455
312
  optional :address,
456
313
  -> { Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::ControlPerson::Address }
457
314
 
458
- # @!parse
459
- # # @return [Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::ControlPerson::Address]
460
- # attr_writer :address
461
-
462
- # @!attribute [r] dob
315
+ # @!attribute dob
463
316
  # Individual's date of birth, as an RFC 3339 date.
464
317
  #
465
318
  # @return [String, nil]
466
319
  optional :dob, String
467
320
 
468
- # @!parse
469
- # # @return [String]
470
- # attr_writer :dob
471
-
472
- # @!attribute [r] email
321
+ # @!attribute email
473
322
  # Individual's email address. If utilizing Lithic for chargeback processing, this
474
323
  # customer email address may be used to communicate dispute status and resolution.
475
324
  #
476
325
  # @return [String, nil]
477
326
  optional :email, String
478
327
 
479
- # @!parse
480
- # # @return [String]
481
- # attr_writer :email
482
-
483
- # @!attribute [r] first_name
328
+ # @!attribute first_name
484
329
  # Individual's first name, as it appears on government-issued identity documents.
485
330
  #
486
331
  # @return [String, nil]
487
332
  optional :first_name, String
488
333
 
489
- # @!parse
490
- # # @return [String]
491
- # attr_writer :first_name
492
-
493
- # @!attribute [r] last_name
334
+ # @!attribute last_name
494
335
  # Individual's last name, as it appears on government-issued identity documents.
495
336
  #
496
337
  # @return [String, nil]
497
338
  optional :last_name, String
498
339
 
499
- # @!parse
500
- # # @return [String]
501
- # attr_writer :last_name
502
-
503
- # @!attribute [r] phone_number
340
+ # @!attribute phone_number
504
341
  # Individual's phone number, entered in E.164 format.
505
342
  #
506
343
  # @return [String, nil]
507
344
  optional :phone_number, String
508
345
 
509
- # @!parse
510
- # # @return [String]
511
- # attr_writer :phone_number
512
-
513
- # @!parse
514
- # # Only present when user_type == "BUSINESS".
515
- # #
516
- # # An individual with significant responsibility for managing the legal entity
517
- # # (e.g., a Chief Executive Officer, Chief Financial Officer, Chief Operating
518
- # # Officer,
519
- # #
520
- # # Managing Member, General Partner, President, Vice President, or Treasurer). This
521
- # # can be an executive, or someone who will have program-wide access
522
- # #
523
- # # to the cards that Lithic will provide. In some cases, this individual could also
524
- # # be a beneficial owner listed above.
525
- # #
526
- # # @param address [Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::ControlPerson::Address]
527
- # # @param dob [String]
528
- # # @param email [String]
529
- # # @param first_name [String]
530
- # # @param last_name [String]
531
- # # @param phone_number [String]
532
- # #
533
- # def initialize(address: nil, dob: nil, email: nil, first_name: nil, last_name: nil, phone_number: nil, **) = super
534
-
535
- # def initialize: (Hash | Lithic::Internal::Type::BaseModel) -> void
346
+ # @!method initialize(address: nil, dob: nil, email: nil, first_name: nil, last_name: nil, phone_number: nil)
347
+ # Only present when user_type == "BUSINESS".
348
+ #
349
+ # An individual with significant responsibility for managing the legal entity
350
+ # (e.g., a Chief Executive Officer, Chief Financial Officer, Chief Operating
351
+ # Officer,
352
+ #
353
+ # Managing Member, General Partner, President, Vice President, or Treasurer). This
354
+ # can be an executive, or someone who will have program-wide access
355
+ #
356
+ # to the cards that Lithic will provide. In some cases, this individual could also
357
+ # be a beneficial owner listed above.
358
+ #
359
+ # @param address [Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::ControlPerson::Address]
360
+ # @param dob [String]
361
+ # @param email [String]
362
+ # @param first_name [String]
363
+ # @param last_name [String]
364
+ # @param phone_number [String]
536
365
 
537
366
  # @see Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::ControlPerson#address
538
367
  class Address < Lithic::Internal::Type::BaseModel
@@ -569,30 +398,22 @@ module Lithic
569
398
  # @return [String]
570
399
  required :state, String
571
400
 
572
- # @!attribute [r] address2
401
+ # @!attribute address2
573
402
  # Unit or apartment number (if applicable).
574
403
  #
575
404
  # @return [String, nil]
576
405
  optional :address2, String
577
406
 
578
- # @!parse
579
- # # @return [String]
580
- # attr_writer :address2
581
-
582
- # @!parse
583
- # # Individual's current address - PO boxes, UPS drops, and FedEx drops are not
584
- # # acceptable; APO/FPO are acceptable. Only USA addresses are currently supported.
585
- # #
586
- # # @param address1 [String]
587
- # # @param city [String]
588
- # # @param country [String]
589
- # # @param postal_code [String]
590
- # # @param state [String]
591
- # # @param address2 [String]
592
- # #
593
- # def initialize(address1:, city:, country:, postal_code:, state:, address2: nil, **) = super
594
-
595
- # def initialize: (Hash | Lithic::Internal::Type::BaseModel) -> void
407
+ # @!method initialize(address1:, city:, country:, postal_code:, state:, address2: nil)
408
+ # Individual's current address - PO boxes, UPS drops, and FedEx drops are not
409
+ # acceptable; APO/FPO are acceptable. Only USA addresses are currently supported.
410
+ #
411
+ # @param address1 [String]
412
+ # @param city [String]
413
+ # @param country [String]
414
+ # @param postal_code [String]
415
+ # @param state [String]
416
+ # @param address2 [String]
596
417
  end
597
418
  end
598
419
 
@@ -606,16 +427,13 @@ module Lithic
606
427
  AUTHORIZED_USER = :AUTHORIZED_USER
607
428
  PREPAID_CARD_USER = :PREPAID_CARD_USER
608
429
 
609
- finalize!
610
-
611
- # @!parse
612
- # # @return [Array<Symbol>]
613
- # def self.values; end
430
+ # @!method self.values
431
+ # @return [Array<Symbol>]
614
432
  end
615
433
 
616
434
  # @see Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse#individual
617
435
  class Individual < Lithic::Internal::Type::BaseModel
618
- # @!attribute [r] address
436
+ # @!attribute address
619
437
  # Individual's current address - PO boxes, UPS drops, and FedEx drops are not
620
438
  # acceptable; APO/FPO are acceptable. Only USA addresses are currently supported.
621
439
  #
@@ -623,75 +441,47 @@ module Lithic
623
441
  optional :address,
624
442
  -> { Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::Individual::Address }
625
443
 
626
- # @!parse
627
- # # @return [Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::Individual::Address]
628
- # attr_writer :address
629
-
630
- # @!attribute [r] dob
444
+ # @!attribute dob
631
445
  # Individual's date of birth, as an RFC 3339 date.
632
446
  #
633
447
  # @return [String, nil]
634
448
  optional :dob, String
635
449
 
636
- # @!parse
637
- # # @return [String]
638
- # attr_writer :dob
639
-
640
- # @!attribute [r] email
450
+ # @!attribute email
641
451
  # Individual's email address. If utilizing Lithic for chargeback processing, this
642
452
  # customer email address may be used to communicate dispute status and resolution.
643
453
  #
644
454
  # @return [String, nil]
645
455
  optional :email, String
646
456
 
647
- # @!parse
648
- # # @return [String]
649
- # attr_writer :email
650
-
651
- # @!attribute [r] first_name
457
+ # @!attribute first_name
652
458
  # Individual's first name, as it appears on government-issued identity documents.
653
459
  #
654
460
  # @return [String, nil]
655
461
  optional :first_name, String
656
462
 
657
- # @!parse
658
- # # @return [String]
659
- # attr_writer :first_name
660
-
661
- # @!attribute [r] last_name
463
+ # @!attribute last_name
662
464
  # Individual's last name, as it appears on government-issued identity documents.
663
465
  #
664
466
  # @return [String, nil]
665
467
  optional :last_name, String
666
468
 
667
- # @!parse
668
- # # @return [String]
669
- # attr_writer :last_name
670
-
671
- # @!attribute [r] phone_number
469
+ # @!attribute phone_number
672
470
  # Individual's phone number, entered in E.164 format.
673
471
  #
674
472
  # @return [String, nil]
675
473
  optional :phone_number, String
676
474
 
677
- # @!parse
678
- # # @return [String]
679
- # attr_writer :phone_number
680
-
681
- # @!parse
682
- # # Only present when user_type == "INDIVIDUAL". Information about the individual
683
- # # for which the account is being opened and KYC is being run.
684
- # #
685
- # # @param address [Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::Individual::Address]
686
- # # @param dob [String]
687
- # # @param email [String]
688
- # # @param first_name [String]
689
- # # @param last_name [String]
690
- # # @param phone_number [String]
691
- # #
692
- # def initialize(address: nil, dob: nil, email: nil, first_name: nil, last_name: nil, phone_number: nil, **) = super
693
-
694
- # def initialize: (Hash | Lithic::Internal::Type::BaseModel) -> void
475
+ # @!method initialize(address: nil, dob: nil, email: nil, first_name: nil, last_name: nil, phone_number: nil)
476
+ # Only present when user_type == "INDIVIDUAL". Information about the individual
477
+ # for which the account is being opened and KYC is being run.
478
+ #
479
+ # @param address [Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::Individual::Address]
480
+ # @param dob [String]
481
+ # @param email [String]
482
+ # @param first_name [String]
483
+ # @param last_name [String]
484
+ # @param phone_number [String]
695
485
 
696
486
  # @see Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::Individual#address
697
487
  class Address < Lithic::Internal::Type::BaseModel
@@ -728,30 +518,22 @@ module Lithic
728
518
  # @return [String]
729
519
  required :state, String
730
520
 
731
- # @!attribute [r] address2
521
+ # @!attribute address2
732
522
  # Unit or apartment number (if applicable).
733
523
  #
734
524
  # @return [String, nil]
735
525
  optional :address2, String
736
526
 
737
- # @!parse
738
- # # @return [String]
739
- # attr_writer :address2
740
-
741
- # @!parse
742
- # # Individual's current address - PO boxes, UPS drops, and FedEx drops are not
743
- # # acceptable; APO/FPO are acceptable. Only USA addresses are currently supported.
744
- # #
745
- # # @param address1 [String]
746
- # # @param city [String]
747
- # # @param country [String]
748
- # # @param postal_code [String]
749
- # # @param state [String]
750
- # # @param address2 [String]
751
- # #
752
- # def initialize(address1:, city:, country:, postal_code:, state:, address2: nil, **) = super
753
-
754
- # def initialize: (Hash | Lithic::Internal::Type::BaseModel) -> void
527
+ # @!method initialize(address1:, city:, country:, postal_code:, state:, address2: nil)
528
+ # Individual's current address - PO boxes, UPS drops, and FedEx drops are not
529
+ # acceptable; APO/FPO are acceptable. Only USA addresses are currently supported.
530
+ #
531
+ # @param address1 [String]
532
+ # @param city [String]
533
+ # @param country [String]
534
+ # @param postal_code [String]
535
+ # @param state [String]
536
+ # @param address2 [String]
755
537
  end
756
538
  end
757
539
 
@@ -771,11 +553,8 @@ module Lithic
771
553
  PENDING_RESUBMIT = :PENDING_RESUBMIT
772
554
  REJECTED = :REJECTED
773
555
 
774
- finalize!
775
-
776
- # @!parse
777
- # # @return [Array<Symbol>]
778
- # def self.values; end
556
+ # @!method self.values
557
+ # @return [Array<Symbol>]
779
558
  end
780
559
 
781
560
  # Status Reasons for KYC/KYB enrollment states
@@ -809,11 +588,8 @@ module Lithic
809
588
  CONTROL_PERSON_DOB_VERIFICATION_FAILURE = :CONTROL_PERSON_DOB_VERIFICATION_FAILURE
810
589
  CONTROL_PERSON_NAME_VERIFICATION_FAILURE = :CONTROL_PERSON_NAME_VERIFICATION_FAILURE
811
590
 
812
- finalize!
813
-
814
- # @!parse
815
- # # @return [Array<Symbol>]
816
- # def self.values; end
591
+ # @!method self.values
592
+ # @return [Array<Symbol>]
817
593
  end
818
594
 
819
595
  # The type of Account Holder. If the type is "INDIVIDUAL", the "individual"
@@ -830,11 +606,8 @@ module Lithic
830
606
  BUSINESS = :BUSINESS
831
607
  INDIVIDUAL = :INDIVIDUAL
832
608
 
833
- finalize!
834
-
835
- # @!parse
836
- # # @return [Array<Symbol>]
837
- # def self.values; end
609
+ # @!method self.values
610
+ # @return [Array<Symbol>]
838
611
  end
839
612
 
840
613
  # @see Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse#verification_application
@@ -872,17 +645,13 @@ module Lithic
872
645
  # @return [Time]
873
646
  required :updated, Time
874
647
 
875
- # @!parse
876
- # # Information about the most recent identity verification attempt
877
- # #
878
- # # @param created [Time]
879
- # # @param status [Symbol, Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::VerificationApplication::Status]
880
- # # @param status_reasons [Array<Symbol, Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::VerificationApplication::StatusReason>]
881
- # # @param updated [Time]
882
- # #
883
- # def initialize(created:, status:, status_reasons:, updated:, **) = super
884
-
885
- # def initialize: (Hash | Lithic::Internal::Type::BaseModel) -> void
648
+ # @!method initialize(created:, status:, status_reasons:, updated:)
649
+ # Information about the most recent identity verification attempt
650
+ #
651
+ # @param created [Time]
652
+ # @param status [Symbol, Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::VerificationApplication::Status]
653
+ # @param status_reasons [Array<Symbol, Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::VerificationApplication::StatusReason>]
654
+ # @param updated [Time]
886
655
 
887
656
  # KYC and KYB evaluation states.
888
657
  #
@@ -898,11 +667,8 @@ module Lithic
898
667
  PENDING_RESUBMIT = :PENDING_RESUBMIT
899
668
  REJECTED = :REJECTED
900
669
 
901
- finalize!
902
-
903
- # @!parse
904
- # # @return [Array<Symbol>]
905
- # def self.values; end
670
+ # @!method self.values
671
+ # @return [Array<Symbol>]
906
672
  end
907
673
 
908
674
  # Status Reasons for KYC/KYB enrollment states
@@ -936,121 +702,70 @@ module Lithic
936
702
  CONTROL_PERSON_DOB_VERIFICATION_FAILURE = :CONTROL_PERSON_DOB_VERIFICATION_FAILURE
937
703
  CONTROL_PERSON_NAME_VERIFICATION_FAILURE = :CONTROL_PERSON_NAME_VERIFICATION_FAILURE
938
704
 
939
- finalize!
940
-
941
- # @!parse
942
- # # @return [Array<Symbol>]
943
- # def self.values; end
705
+ # @!method self.values
706
+ # @return [Array<Symbol>]
944
707
  end
945
708
  end
946
709
  end
947
710
 
948
711
  class PatchResponse < Lithic::Internal::Type::BaseModel
949
- # @!attribute [r] token
712
+ # @!attribute token
950
713
  # The token for the account holder that was updated
951
714
  #
952
715
  # @return [String, nil]
953
716
  optional :token, String
954
717
 
955
- # @!parse
956
- # # @return [String]
957
- # attr_writer :token
958
-
959
- # @!attribute [r] address
718
+ # @!attribute address
960
719
  # The address for the account holder
961
720
  #
962
721
  # @return [Lithic::Models::AccountHolderUpdateResponse::PatchResponse::Address, nil]
963
722
  optional :address, -> { Lithic::Models::AccountHolderUpdateResponse::PatchResponse::Address }
964
723
 
965
- # @!parse
966
- # # @return [Lithic::Models::AccountHolderUpdateResponse::PatchResponse::Address]
967
- # attr_writer :address
968
-
969
- # @!attribute [r] business_account_token
724
+ # @!attribute business_account_token
970
725
  # The token for the business account that the account holder is associated with
971
726
  #
972
727
  # @return [String, nil]
973
728
  optional :business_account_token, String
974
729
 
975
- # @!parse
976
- # # @return [String]
977
- # attr_writer :business_account_token
978
-
979
- # @!attribute [r] email
730
+ # @!attribute email
980
731
  # The email for the account holder
981
732
  #
982
733
  # @return [String, nil]
983
734
  optional :email, String
984
735
 
985
- # @!parse
986
- # # @return [String]
987
- # attr_writer :email
988
-
989
- # @!attribute [r] first_name
736
+ # @!attribute first_name
990
737
  # The first name for the account holder
991
738
  #
992
739
  # @return [String, nil]
993
740
  optional :first_name, String
994
741
 
995
- # @!parse
996
- # # @return [String]
997
- # attr_writer :first_name
998
-
999
- # @!attribute [r] last_name
742
+ # @!attribute last_name
1000
743
  # The last name for the account holder
1001
744
  #
1002
745
  # @return [String, nil]
1003
746
  optional :last_name, String
1004
747
 
1005
- # @!parse
1006
- # # @return [String]
1007
- # attr_writer :last_name
1008
-
1009
- # @!attribute [r] legal_business_name
748
+ # @!attribute legal_business_name
1010
749
  # The legal business name for the account holder
1011
750
  #
1012
751
  # @return [String, nil]
1013
752
  optional :legal_business_name, String
1014
753
 
1015
- # @!parse
1016
- # # @return [String]
1017
- # attr_writer :legal_business_name
1018
-
1019
- # @!attribute [r] phone_number
754
+ # @!attribute phone_number
1020
755
  # The phone_number for the account holder
1021
756
  #
1022
757
  # @return [String, nil]
1023
758
  optional :phone_number, String
1024
759
 
1025
- # @!parse
1026
- # # @return [String]
1027
- # attr_writer :phone_number
1028
-
1029
- # @!parse
1030
- # # @param token [String]
1031
- # # @param address [Lithic::Models::AccountHolderUpdateResponse::PatchResponse::Address]
1032
- # # @param business_account_token [String]
1033
- # # @param email [String]
1034
- # # @param first_name [String]
1035
- # # @param last_name [String]
1036
- # # @param legal_business_name [String]
1037
- # # @param phone_number [String]
1038
- # #
1039
- # def initialize(
1040
- # token: nil,
1041
- # address: nil,
1042
- # business_account_token: nil,
1043
- # email: nil,
1044
- # first_name: nil,
1045
- # last_name: nil,
1046
- # legal_business_name: nil,
1047
- # phone_number: nil,
1048
- # **
1049
- # )
1050
- # super
1051
- # end
1052
-
1053
- # def initialize: (Hash | Lithic::Internal::Type::BaseModel) -> void
760
+ # @!method initialize(token: nil, address: nil, business_account_token: nil, email: nil, first_name: nil, last_name: nil, legal_business_name: nil, phone_number: nil)
761
+ # @param token [String]
762
+ # @param address [Lithic::Models::AccountHolderUpdateResponse::PatchResponse::Address]
763
+ # @param business_account_token [String]
764
+ # @param email [String]
765
+ # @param first_name [String]
766
+ # @param last_name [String]
767
+ # @param legal_business_name [String]
768
+ # @param phone_number [String]
1054
769
 
1055
770
  # @see Lithic::Models::AccountHolderUpdateResponse::PatchResponse#address
1056
771
  class Address < Lithic::Internal::Type::BaseModel
@@ -1087,35 +802,26 @@ module Lithic
1087
802
  # @return [String]
1088
803
  required :state, String
1089
804
 
1090
- # @!attribute [r] address2
805
+ # @!attribute address2
1091
806
  # Unit or apartment number (if applicable).
1092
807
  #
1093
808
  # @return [String, nil]
1094
809
  optional :address2, String
1095
810
 
1096
- # @!parse
1097
- # # @return [String]
1098
- # attr_writer :address2
1099
-
1100
- # @!parse
1101
- # # The address for the account holder
1102
- # #
1103
- # # @param address1 [String]
1104
- # # @param city [String]
1105
- # # @param country [String]
1106
- # # @param postal_code [String]
1107
- # # @param state [String]
1108
- # # @param address2 [String]
1109
- # #
1110
- # def initialize(address1:, city:, country:, postal_code:, state:, address2: nil, **) = super
1111
-
1112
- # def initialize: (Hash | Lithic::Internal::Type::BaseModel) -> void
811
+ # @!method initialize(address1:, city:, country:, postal_code:, state:, address2: nil)
812
+ # The address for the account holder
813
+ #
814
+ # @param address1 [String]
815
+ # @param city [String]
816
+ # @param country [String]
817
+ # @param postal_code [String]
818
+ # @param state [String]
819
+ # @param address2 [String]
1113
820
  end
1114
821
  end
1115
822
 
1116
- # @!parse
1117
- # # @return [Array(Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse, Lithic::Models::AccountHolderUpdateResponse::PatchResponse)]
1118
- # def self.variants; end
823
+ # @!method self.variants
824
+ # @return [Array(Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse, Lithic::Models::AccountHolderUpdateResponse::PatchResponse)]
1119
825
  end
1120
826
  end
1121
827
  end