lithic 0.1.0.pre.alpha.5 → 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 (549) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +29 -5
  3. data/lib/lithic/client.rb +3 -3
  4. data/lib/lithic/internal/cursor_page.rb +5 -1
  5. data/lib/lithic/internal/single_page.rb +5 -1
  6. data/lib/lithic/internal/transport/base_client.rb +3 -3
  7. data/lib/lithic/internal/transport/pooled_net_requester.rb +2 -2
  8. data/lib/lithic/internal/type/array_of.rb +5 -3
  9. data/lib/lithic/internal/type/base_model.rb +19 -16
  10. data/lib/lithic/internal/type/base_page.rb +4 -1
  11. data/lib/lithic/internal/type/{boolean_model.rb → boolean.rb} +2 -2
  12. data/lib/lithic/internal/type/converter.rb +26 -23
  13. data/lib/lithic/internal/type/enum.rb +10 -8
  14. data/lib/lithic/internal/type/hash_of.rb +3 -1
  15. data/lib/lithic/internal/util.rb +29 -50
  16. data/lib/lithic/models/account.rb +37 -37
  17. data/lib/lithic/models/account_holder.rb +58 -56
  18. data/lib/lithic/models/account_holder_create_params.rb +140 -144
  19. data/lib/lithic/models/account_holder_create_response.rb +6 -6
  20. data/lib/lithic/models/account_holder_list_params.rb +10 -10
  21. data/lib/lithic/models/account_holder_simulate_enrollment_document_review_params.rb +2 -2
  22. data/lib/lithic/models/account_holder_simulate_enrollment_review_params.rb +1 -1
  23. data/lib/lithic/models/account_holder_simulate_enrollment_review_response.rb +71 -71
  24. data/lib/lithic/models/account_holder_update_params.rb +56 -64
  25. data/lib/lithic/models/account_holder_update_response.rb +75 -75
  26. data/lib/lithic/models/account_list_params.rb +6 -6
  27. data/lib/lithic/models/account_spend_limits.rb +6 -6
  28. data/lib/lithic/models/account_update_params.rb +14 -14
  29. data/lib/lithic/models/address.rb +5 -5
  30. data/lib/lithic/models/address_update.rb +3 -3
  31. data/lib/lithic/models/aggregate_balance.rb +4 -4
  32. data/lib/lithic/models/auth_rules/auth_rule.rb +7 -7
  33. data/lib/lithic/models/auth_rules/auth_rule_condition.rb +44 -44
  34. data/lib/lithic/models/auth_rules/conditional_attribute.rb +44 -44
  35. data/lib/lithic/models/auth_rules/v2/backtest_results.rb +12 -12
  36. data/lib/lithic/models/auth_rules/v2_apply_params.rb +1 -1
  37. data/lib/lithic/models/auth_rules/v2_apply_response.rb +3 -3
  38. data/lib/lithic/models/auth_rules/v2_create_params.rb +1 -1
  39. data/lib/lithic/models/auth_rules/v2_create_response.rb +3 -3
  40. data/lib/lithic/models/auth_rules/v2_draft_response.rb +3 -3
  41. data/lib/lithic/models/auth_rules/v2_list_params.rb +2 -2
  42. data/lib/lithic/models/auth_rules/v2_list_response.rb +3 -3
  43. data/lib/lithic/models/auth_rules/v2_promote_response.rb +3 -3
  44. data/lib/lithic/models/auth_rules/v2_retrieve_response.rb +3 -3
  45. data/lib/lithic/models/auth_rules/v2_update_params.rb +7 -7
  46. data/lib/lithic/models/auth_rules/v2_update_response.rb +3 -3
  47. data/lib/lithic/models/auth_rules/velocity_limit_params.rb +14 -14
  48. data/lib/lithic/models/auth_rules/velocity_limit_params_period_window.rb +5 -5
  49. data/lib/lithic/models/balance.rb +4 -4
  50. data/lib/lithic/models/balance_list_params.rb +1 -1
  51. data/lib/lithic/models/book_transfer_create_params.rb +4 -4
  52. data/lib/lithic/models/book_transfer_list_params.rb +7 -7
  53. data/lib/lithic/models/book_transfer_response.rb +14 -14
  54. data/lib/lithic/models/card.rb +110 -110
  55. data/lib/lithic/models/card_convert_physical_params.rb +25 -25
  56. data/lib/lithic/models/card_create_params.rb +93 -93
  57. data/lib/lithic/models/card_list_params.rb +6 -6
  58. data/lib/lithic/models/card_program.rb +1 -1
  59. data/lib/lithic/models/card_program_list_params.rb +2 -2
  60. data/lib/lithic/models/card_provision_params.rb +11 -11
  61. data/lib/lithic/models/card_reissue_params.rb +25 -25
  62. data/lib/lithic/models/card_renew_params.rb +27 -27
  63. data/lib/lithic/models/card_spend_limits.rb +6 -6
  64. data/lib/lithic/models/card_update_params.rb +33 -33
  65. data/lib/lithic/models/cards/aggregate_balance_list_response.rb +4 -4
  66. data/lib/lithic/models/cards/balance_list_params.rb +2 -2
  67. data/lib/lithic/models/cards/balance_list_response.rb +4 -4
  68. data/lib/lithic/models/cards/financial_transaction_list_params.rb +6 -6
  69. data/lib/lithic/models/credit_products/prime_rate_retrieve_response.rb +1 -1
  70. data/lib/lithic/models/digital_card_art.rb +2 -2
  71. data/lib/lithic/models/digital_card_art_list_params.rb +2 -2
  72. data/lib/lithic/models/dispute.rb +88 -88
  73. data/lib/lithic/models/dispute_evidence.rb +11 -11
  74. data/lib/lithic/models/dispute_list_evidences_params.rb +6 -6
  75. data/lib/lithic/models/dispute_list_params.rb +6 -6
  76. data/lib/lithic/models/document.rb +6 -6
  77. data/lib/lithic/models/event.rb +51 -51
  78. data/lib/lithic/models/event_list_attempts_params.rb +6 -6
  79. data/lib/lithic/models/event_list_params.rb +7 -7
  80. data/lib/lithic/models/event_subscription.rb +1 -1
  81. data/lib/lithic/models/events/event_subscription_resend_params.rb +27 -0
  82. data/lib/lithic/models/events/subscription_create_params.rb +2 -2
  83. data/lib/lithic/models/events/subscription_list_attempts_params.rb +6 -6
  84. data/lib/lithic/models/events/subscription_list_params.rb +2 -2
  85. data/lib/lithic/models/events/subscription_recover_params.rb +4 -4
  86. data/lib/lithic/models/events/subscription_replay_missing_params.rb +4 -4
  87. data/lib/lithic/models/events/subscription_update_params.rb +2 -2
  88. data/lib/lithic/models/external_bank_account_create_params.rb +5 -5
  89. data/lib/lithic/models/external_bank_account_create_response.rb +11 -11
  90. data/lib/lithic/models/external_bank_account_list_params.rb +2 -2
  91. data/lib/lithic/models/external_bank_account_list_response.rb +11 -11
  92. data/lib/lithic/models/external_bank_account_retrieve_response.rb +11 -11
  93. data/lib/lithic/models/external_bank_account_retry_micro_deposits_response.rb +11 -11
  94. data/lib/lithic/models/external_bank_account_retry_prenote_response.rb +11 -11
  95. data/lib/lithic/models/external_bank_account_update_params.rb +1 -1
  96. data/lib/lithic/models/external_bank_account_update_response.rb +11 -11
  97. data/lib/lithic/models/external_bank_accounts/micro_deposit_create_response.rb +11 -11
  98. data/lib/lithic/models/external_payment_list_params.rb +7 -7
  99. data/lib/lithic/models/financial_account.rb +11 -13
  100. data/lib/lithic/models/financial_account_create_params.rb +2 -2
  101. data/lib/lithic/models/financial_account_update_status_params.rb +9 -9
  102. data/lib/lithic/models/financial_accounts/balance_list_params.rb +2 -2
  103. data/lib/lithic/models/financial_accounts/balance_list_response.rb +4 -4
  104. data/lib/lithic/models/financial_accounts/financial_account_credit_config.rb +1 -1
  105. data/lib/lithic/models/financial_accounts/financial_transaction_list_params.rb +6 -6
  106. data/lib/lithic/models/financial_accounts/loan_tape.rb +24 -24
  107. data/lib/lithic/models/financial_accounts/loan_tape_list_params.rb +6 -6
  108. data/lib/lithic/models/financial_accounts/statement.rb +17 -17
  109. data/lib/lithic/models/financial_accounts/statement_list_params.rb +7 -7
  110. data/lib/lithic/models/financial_accounts/statements/line_item_list_params.rb +2 -2
  111. data/lib/lithic/models/financial_accounts/statements/statement_line_items.rb +3 -2
  112. data/lib/lithic/models/financial_accounts/statements.rb +1 -1
  113. data/lib/lithic/models/financial_transaction.rb +35 -34
  114. data/lib/lithic/models/kyb.rb +128 -132
  115. data/lib/lithic/models/kyb_business_entity.rb +9 -9
  116. data/lib/lithic/models/kyc.rb +12 -12
  117. data/lib/lithic/models/kyc_exempt.rb +4 -4
  118. data/lib/lithic/models/management_operation_list_params.rb +7 -7
  119. data/lib/lithic/models/management_operation_transaction.rb +36 -0
  120. data/lib/lithic/models/message_attempt.rb +1 -1
  121. data/lib/lithic/models/payment.rb +66 -54
  122. data/lib/lithic/models/payment_create_params.rb +1 -1
  123. data/lib/lithic/models/payment_list_params.rb +6 -6
  124. data/lib/lithic/models/reports/settlement/network_total_list_params.rb +7 -7
  125. data/lib/lithic/models/reports/settlement/network_total_list_response.rb +7 -7
  126. data/lib/lithic/models/reports/settlement/network_total_retrieve_response.rb +7 -7
  127. data/lib/lithic/models/reports/settlement_list_details_params.rb +2 -2
  128. data/lib/lithic/models/required_document.rb +2 -2
  129. data/lib/lithic/models/responder_endpoint_create_response.rb +1 -1
  130. data/lib/lithic/models/responder_endpoint_status.rb +1 -1
  131. data/lib/lithic/models/settlement_detail.rb +5 -5
  132. data/lib/lithic/models/settlement_report.rb +16 -16
  133. data/lib/lithic/models/settlement_summary_details.rb +3 -3
  134. data/lib/lithic/models/shipping_address.rb +9 -9
  135. data/lib/lithic/models/spend_limit_duration.rb +10 -10
  136. data/lib/lithic/models/three_ds/authentication_retrieve_response.rb +100 -100
  137. data/lib/lithic/models/three_ds/authentication_simulate_otp_entry_params.rb +1 -1
  138. data/lib/lithic/models/three_ds/authentication_simulate_params.rb +7 -7
  139. data/lib/lithic/models/three_ds/authentication_simulate_response.rb +1 -1
  140. data/lib/lithic/models/three_ds/challenge_response.rb +3 -3
  141. data/lib/lithic/models/tokenization.rb +5 -5
  142. data/lib/lithic/models/tokenization_list_params.rb +6 -6
  143. data/lib/lithic/models/tokenization_resend_activation_code_params.rb +4 -4
  144. data/lib/lithic/models/tokenization_simulate_params.rb +3 -3
  145. data/lib/lithic/models/tokenization_update_digital_card_art_params.rb +3 -3
  146. data/lib/lithic/models/transaction.rb +100 -100
  147. data/lib/lithic/models/transaction_list_params.rb +8 -8
  148. data/lib/lithic/models/transaction_simulate_authorization_advice_params.rb +1 -1
  149. data/lib/lithic/models/transaction_simulate_authorization_params.rb +39 -39
  150. data/lib/lithic/models/transaction_simulate_authorization_response.rb +1 -1
  151. data/lib/lithic/models/transaction_simulate_clearing_params.rb +7 -7
  152. data/lib/lithic/models/transaction_simulate_credit_authorization_params.rb +4 -4
  153. data/lib/lithic/models/transaction_simulate_void_params.rb +7 -7
  154. data/lib/lithic/models/transactions/events/enhanced_data.rb +2 -2
  155. data/lib/lithic/models/transfer.rb +25 -24
  156. data/lib/lithic/models/transfer_create_params.rb +4 -4
  157. data/lib/lithic/request_options.rb +7 -7
  158. data/lib/lithic/resources/account_holders.rb +54 -54
  159. data/lib/lithic/resources/accounts.rb +7 -7
  160. data/lib/lithic/resources/aggregate_balances.rb +1 -1
  161. data/lib/lithic/resources/auth_rules/v2/backtests.rb +37 -37
  162. data/lib/lithic/resources/auth_rules/v2.rb +58 -58
  163. data/lib/lithic/resources/auth_stream_enrollment.rb +8 -8
  164. data/lib/lithic/resources/book_transfers.rb +2 -2
  165. data/lib/lithic/resources/cards/financial_transactions.rb +1 -1
  166. data/lib/lithic/resources/cards.rb +64 -61
  167. data/lib/lithic/resources/disputes.rb +6 -6
  168. data/lib/lithic/resources/events/event_subscriptions.rb +41 -0
  169. data/lib/lithic/resources/events/subscriptions.rb +8 -8
  170. data/lib/lithic/resources/events.rb +6 -2
  171. data/lib/lithic/resources/external_payments.rb +1 -1
  172. data/lib/lithic/resources/financial_accounts/financial_transactions.rb +1 -1
  173. data/lib/lithic/resources/financial_accounts/loan_tapes.rb +1 -1
  174. data/lib/lithic/resources/financial_accounts/statements.rb +1 -1
  175. data/lib/lithic/resources/financial_accounts.rb +6 -6
  176. data/lib/lithic/resources/management_operations.rb +1 -1
  177. data/lib/lithic/resources/payments.rb +1 -1
  178. data/lib/lithic/resources/reports/settlement/network_totals.rb +1 -1
  179. data/lib/lithic/resources/three_ds/authentication.rb +6 -6
  180. data/lib/lithic/resources/three_ds/decisioning.rb +8 -8
  181. data/lib/lithic/resources/tokenization_decisioning.rb +7 -7
  182. data/lib/lithic/resources/tokenizations.rb +46 -46
  183. data/lib/lithic/resources/transactions/enhanced_commercial_data.rb +1 -1
  184. data/lib/lithic/resources/transactions/events/enhanced_commercial_data.rb +1 -1
  185. data/lib/lithic/resources/transactions.rb +24 -24
  186. data/lib/lithic/resources/transfers.rb +1 -1
  187. data/lib/lithic/version.rb +1 -1
  188. data/lib/lithic.rb +3 -1
  189. data/rbi/lib/lithic/client.rbi +6 -9
  190. data/rbi/lib/lithic/errors.rbi +3 -6
  191. data/rbi/lib/lithic/internal/cursor_page.rbi +1 -2
  192. data/rbi/lib/lithic/internal/single_page.rbi +1 -2
  193. data/rbi/lib/lithic/internal/transport/base_client.rbi +13 -27
  194. data/rbi/lib/lithic/internal/transport/pooled_net_requester.rbi +7 -13
  195. data/rbi/lib/lithic/internal/type/array_of.rbi +10 -18
  196. data/rbi/lib/lithic/internal/type/base_model.rbi +45 -64
  197. data/rbi/lib/lithic/internal/type/base_page.rbi +5 -10
  198. data/rbi/lib/lithic/internal/type/{boolean_model.rbi → boolean.rbi} +5 -9
  199. data/rbi/lib/lithic/internal/type/converter.rbi +25 -31
  200. data/rbi/lib/lithic/internal/type/enum.rbi +14 -20
  201. data/rbi/lib/lithic/internal/type/hash_of.rbi +8 -16
  202. data/rbi/lib/lithic/internal/type/request_parameters.rbi +1 -2
  203. data/rbi/lib/lithic/internal/type/union.rbi +10 -20
  204. data/rbi/lib/lithic/internal/type/unknown.rbi +4 -8
  205. data/rbi/lib/lithic/internal/util.rbi +40 -72
  206. data/rbi/lib/lithic/internal.rbi +1 -1
  207. data/rbi/lib/lithic/models/account.rbi +46 -56
  208. data/rbi/lib/lithic/models/account_financial_account_type.rbi +1 -2
  209. data/rbi/lib/lithic/models/account_holder.rbi +81 -100
  210. data/rbi/lib/lithic/models/account_holder_create_params.rbi +154 -171
  211. data/rbi/lib/lithic/models/account_holder_create_response.rbi +9 -12
  212. data/rbi/lib/lithic/models/account_holder_list_documents_params.rbi +2 -4
  213. data/rbi/lib/lithic/models/account_holder_list_documents_response.rbi +2 -4
  214. data/rbi/lib/lithic/models/account_holder_list_params.rbi +10 -13
  215. data/rbi/lib/lithic/models/account_holder_retrieve_document_params.rbi +2 -4
  216. data/rbi/lib/lithic/models/account_holder_retrieve_params.rbi +2 -4
  217. data/rbi/lib/lithic/models/account_holder_simulate_enrollment_document_review_params.rbi +6 -11
  218. data/rbi/lib/lithic/models/account_holder_simulate_enrollment_review_params.rbi +5 -9
  219. data/rbi/lib/lithic/models/account_holder_simulate_enrollment_review_response.rbi +103 -123
  220. data/rbi/lib/lithic/models/account_holder_update_params.rbi +68 -94
  221. data/rbi/lib/lithic/models/account_holder_update_response.rbi +135 -140
  222. data/rbi/lib/lithic/models/account_holder_upload_document_params.rbi +3 -6
  223. data/rbi/lib/lithic/models/account_list_params.rbi +5 -6
  224. data/rbi/lib/lithic/models/account_retrieve_params.rbi +2 -4
  225. data/rbi/lib/lithic/models/account_retrieve_spend_limits_params.rbi +2 -4
  226. data/rbi/lib/lithic/models/account_spend_limits.rbi +14 -22
  227. data/rbi/lib/lithic/models/account_update_params.rbi +19 -25
  228. data/rbi/lib/lithic/models/address.rbi +7 -9
  229. data/rbi/lib/lithic/models/address_update.rbi +5 -7
  230. data/rbi/lib/lithic/models/aggregate_balance.rbi +7 -11
  231. data/rbi/lib/lithic/models/aggregate_balance_list_params.rbi +3 -6
  232. data/rbi/lib/lithic/models/api_status.rbi +2 -4
  233. data/rbi/lib/lithic/models/auth_rules/auth_rule.rbi +9 -13
  234. data/rbi/lib/lithic/models/auth_rules/auth_rule_condition.rbi +48 -52
  235. data/rbi/lib/lithic/models/auth_rules/conditional_attribute.rbi +45 -46
  236. data/rbi/lib/lithic/models/auth_rules/conditional_block_parameters.rbi +2 -4
  237. data/rbi/lib/lithic/models/auth_rules/v2/backtest_create_params.rbi +2 -4
  238. data/rbi/lib/lithic/models/auth_rules/v2/backtest_create_response.rbi +2 -4
  239. data/rbi/lib/lithic/models/auth_rules/v2/backtest_results.rbi +40 -54
  240. data/rbi/lib/lithic/models/auth_rules/v2/backtest_retrieve_params.rbi +2 -4
  241. data/rbi/lib/lithic/models/auth_rules/v2_apply_params.rbi +1 -2
  242. data/rbi/lib/lithic/models/auth_rules/v2_apply_response.rbi +12 -23
  243. data/rbi/lib/lithic/models/auth_rules/v2_create_params.rbi +4 -9
  244. data/rbi/lib/lithic/models/auth_rules/v2_create_response.rbi +12 -23
  245. data/rbi/lib/lithic/models/auth_rules/v2_delete_params.rbi +2 -4
  246. data/rbi/lib/lithic/models/auth_rules/v2_draft_params.rbi +3 -6
  247. data/rbi/lib/lithic/models/auth_rules/v2_draft_response.rbi +12 -23
  248. data/rbi/lib/lithic/models/auth_rules/v2_list_params.rbi +4 -7
  249. data/rbi/lib/lithic/models/auth_rules/v2_list_response.rbi +12 -23
  250. data/rbi/lib/lithic/models/auth_rules/v2_promote_params.rbi +2 -4
  251. data/rbi/lib/lithic/models/auth_rules/v2_promote_response.rbi +12 -23
  252. data/rbi/lib/lithic/models/auth_rules/v2_report_params.rbi +2 -4
  253. data/rbi/lib/lithic/models/auth_rules/v2_report_response.rbi +2 -4
  254. data/rbi/lib/lithic/models/auth_rules/v2_retrieve_params.rbi +2 -4
  255. data/rbi/lib/lithic/models/auth_rules/v2_retrieve_response.rbi +12 -23
  256. data/rbi/lib/lithic/models/auth_rules/v2_update_params.rbi +9 -13
  257. data/rbi/lib/lithic/models/auth_rules/v2_update_response.rbi +12 -23
  258. data/rbi/lib/lithic/models/auth_rules/velocity_limit_params.rbi +19 -24
  259. data/rbi/lib/lithic/models/auth_rules/velocity_limit_params_period_window.rbi +6 -7
  260. data/rbi/lib/lithic/models/auth_stream_enrollment_retrieve_secret_params.rbi +2 -4
  261. data/rbi/lib/lithic/models/auth_stream_enrollment_rotate_secret_params.rbi +2 -4
  262. data/rbi/lib/lithic/models/auth_stream_secret.rbi +2 -4
  263. data/rbi/lib/lithic/models/balance.rbi +7 -11
  264. data/rbi/lib/lithic/models/balance_list_params.rbi +4 -8
  265. data/rbi/lib/lithic/models/book_transfer_create_params.rbi +8 -13
  266. data/rbi/lib/lithic/models/book_transfer_list_params.rbi +10 -16
  267. data/rbi/lib/lithic/models/book_transfer_response.rbi +23 -33
  268. data/rbi/lib/lithic/models/book_transfer_retrieve_params.rbi +2 -4
  269. data/rbi/lib/lithic/models/book_transfer_reverse_params.rbi +2 -4
  270. data/rbi/lib/lithic/models/card.rbi +117 -127
  271. data/rbi/lib/lithic/models/card_convert_physical_params.rbi +27 -29
  272. data/rbi/lib/lithic/models/card_create_params.rbi +98 -104
  273. data/rbi/lib/lithic/models/card_embed_params.rbi +2 -4
  274. data/rbi/lib/lithic/models/card_list_params.rbi +7 -11
  275. data/rbi/lib/lithic/models/card_program.rbi +3 -6
  276. data/rbi/lib/lithic/models/card_program_list_params.rbi +4 -6
  277. data/rbi/lib/lithic/models/card_program_retrieve_params.rbi +2 -4
  278. data/rbi/lib/lithic/models/card_provision_params.rbi +14 -18
  279. data/rbi/lib/lithic/models/card_provision_response.rbi +2 -4
  280. data/rbi/lib/lithic/models/card_reissue_params.rbi +27 -29
  281. data/rbi/lib/lithic/models/card_renew_params.rbi +30 -34
  282. data/rbi/lib/lithic/models/card_retrieve_params.rbi +2 -4
  283. data/rbi/lib/lithic/models/card_retrieve_spend_limits_params.rbi +2 -4
  284. data/rbi/lib/lithic/models/card_search_by_pan_params.rbi +2 -4
  285. data/rbi/lib/lithic/models/card_spend_limits.rbi +14 -22
  286. data/rbi/lib/lithic/models/card_update_params.rbi +37 -42
  287. data/rbi/lib/lithic/models/cards/aggregate_balance_list_params.rbi +2 -4
  288. data/rbi/lib/lithic/models/cards/aggregate_balance_list_response.rbi +6 -9
  289. data/rbi/lib/lithic/models/cards/balance_list_params.rbi +4 -6
  290. data/rbi/lib/lithic/models/cards/balance_list_response.rbi +7 -11
  291. data/rbi/lib/lithic/models/cards/financial_transaction_list_params.rbi +9 -15
  292. data/rbi/lib/lithic/models/cards/financial_transaction_retrieve_params.rbi +2 -4
  293. data/rbi/lib/lithic/models/carrier.rbi +2 -4
  294. data/rbi/lib/lithic/models/client_api_status_params.rbi +2 -4
  295. data/rbi/lib/lithic/models/credit_products/extended_credit.rbi +2 -4
  296. data/rbi/lib/lithic/models/credit_products/extended_credit_retrieve_params.rbi +2 -4
  297. data/rbi/lib/lithic/models/credit_products/prime_rate_create_params.rbi +2 -4
  298. data/rbi/lib/lithic/models/credit_products/prime_rate_retrieve_params.rbi +2 -4
  299. data/rbi/lib/lithic/models/credit_products/prime_rate_retrieve_response.rbi +4 -8
  300. data/rbi/lib/lithic/models/digital_card_art.rbi +2 -4
  301. data/rbi/lib/lithic/models/digital_card_art_list_params.rbi +4 -6
  302. data/rbi/lib/lithic/models/digital_card_art_retrieve_params.rbi +2 -4
  303. data/rbi/lib/lithic/models/dispute.rbi +93 -99
  304. data/rbi/lib/lithic/models/dispute_create_params.rbi +2 -4
  305. data/rbi/lib/lithic/models/dispute_delete_evidence_params.rbi +2 -4
  306. data/rbi/lib/lithic/models/dispute_delete_params.rbi +2 -4
  307. data/rbi/lib/lithic/models/dispute_evidence.rbi +13 -15
  308. data/rbi/lib/lithic/models/dispute_initiate_evidence_upload_params.rbi +2 -4
  309. data/rbi/lib/lithic/models/dispute_list_evidences_params.rbi +5 -6
  310. data/rbi/lib/lithic/models/dispute_list_params.rbi +7 -11
  311. data/rbi/lib/lithic/models/dispute_retrieve_evidence_params.rbi +2 -4
  312. data/rbi/lib/lithic/models/dispute_retrieve_params.rbi +2 -4
  313. data/rbi/lib/lithic/models/dispute_update_params.rbi +2 -4
  314. data/rbi/lib/lithic/models/document.rbi +13 -21
  315. data/rbi/lib/lithic/models/event.rbi +58 -61
  316. data/rbi/lib/lithic/models/event_list_attempts_params.rbi +7 -11
  317. data/rbi/lib/lithic/models/event_list_params.rbi +7 -11
  318. data/rbi/lib/lithic/models/event_retrieve_params.rbi +2 -4
  319. data/rbi/lib/lithic/models/event_subscription.rbi +3 -6
  320. data/rbi/lib/lithic/models/events/event_subscription_resend_params.rbi +27 -0
  321. data/rbi/lib/lithic/models/events/subscription_create_params.rbi +4 -7
  322. data/rbi/lib/lithic/models/events/subscription_delete_params.rbi +2 -4
  323. data/rbi/lib/lithic/models/events/subscription_list_attempts_params.rbi +7 -11
  324. data/rbi/lib/lithic/models/events/subscription_list_params.rbi +4 -6
  325. data/rbi/lib/lithic/models/events/subscription_recover_params.rbi +4 -6
  326. data/rbi/lib/lithic/models/events/subscription_replay_missing_params.rbi +4 -6
  327. data/rbi/lib/lithic/models/events/subscription_retrieve_params.rbi +2 -4
  328. data/rbi/lib/lithic/models/events/subscription_retrieve_secret_params.rbi +2 -4
  329. data/rbi/lib/lithic/models/events/subscription_retrieve_secret_response.rbi +2 -4
  330. data/rbi/lib/lithic/models/events/subscription_rotate_secret_params.rbi +2 -4
  331. data/rbi/lib/lithic/models/events/subscription_send_simulated_example_params.rbi +3 -6
  332. data/rbi/lib/lithic/models/events/subscription_update_params.rbi +4 -7
  333. data/rbi/lib/lithic/models/external_bank_account_address.rbi +2 -4
  334. data/rbi/lib/lithic/models/external_bank_account_create_params.rbi +8 -13
  335. data/rbi/lib/lithic/models/external_bank_account_create_response.rbi +18 -26
  336. data/rbi/lib/lithic/models/external_bank_account_list_params.rbi +7 -13
  337. data/rbi/lib/lithic/models/external_bank_account_list_response.rbi +18 -26
  338. data/rbi/lib/lithic/models/external_bank_account_retrieve_params.rbi +2 -4
  339. data/rbi/lib/lithic/models/external_bank_account_retrieve_response.rbi +18 -26
  340. data/rbi/lib/lithic/models/external_bank_account_retry_micro_deposits_params.rbi +2 -4
  341. data/rbi/lib/lithic/models/external_bank_account_retry_micro_deposits_response.rbi +18 -26
  342. data/rbi/lib/lithic/models/external_bank_account_retry_prenote_params.rbi +2 -4
  343. data/rbi/lib/lithic/models/external_bank_account_retry_prenote_response.rbi +16 -22
  344. data/rbi/lib/lithic/models/external_bank_account_update_params.rbi +4 -8
  345. data/rbi/lib/lithic/models/external_bank_account_update_response.rbi +18 -26
  346. data/rbi/lib/lithic/models/external_bank_accounts/micro_deposit_create_params.rbi +2 -4
  347. data/rbi/lib/lithic/models/external_bank_accounts/micro_deposit_create_response.rbi +18 -26
  348. data/rbi/lib/lithic/models/external_payment.rbi +10 -21
  349. data/rbi/lib/lithic/models/external_payment_cancel_params.rbi +2 -4
  350. data/rbi/lib/lithic/models/external_payment_create_params.rbi +5 -11
  351. data/rbi/lib/lithic/models/external_payment_list_params.rbi +10 -16
  352. data/rbi/lib/lithic/models/external_payment_release_params.rbi +2 -4
  353. data/rbi/lib/lithic/models/external_payment_retrieve_params.rbi +2 -4
  354. data/rbi/lib/lithic/models/external_payment_reverse_params.rbi +2 -4
  355. data/rbi/lib/lithic/models/external_payment_settle_params.rbi +3 -6
  356. data/rbi/lib/lithic/models/financial_account.rbi +26 -39
  357. data/rbi/lib/lithic/models/financial_account_create_params.rbi +2 -4
  358. data/rbi/lib/lithic/models/financial_account_list_params.rbi +3 -6
  359. data/rbi/lib/lithic/models/financial_account_retrieve_params.rbi +2 -4
  360. data/rbi/lib/lithic/models/financial_account_update_params.rbi +2 -4
  361. data/rbi/lib/lithic/models/financial_account_update_status_params.rbi +18 -37
  362. data/rbi/lib/lithic/models/financial_accounts/balance_list_params.rbi +4 -6
  363. data/rbi/lib/lithic/models/financial_accounts/balance_list_response.rbi +7 -11
  364. data/rbi/lib/lithic/models/financial_accounts/credit_configuration_retrieve_params.rbi +2 -4
  365. data/rbi/lib/lithic/models/financial_accounts/credit_configuration_update_params.rbi +2 -5
  366. data/rbi/lib/lithic/models/financial_accounts/financial_account_credit_config.rbi +4 -9
  367. data/rbi/lib/lithic/models/financial_accounts/financial_transaction_list_params.rbi +9 -15
  368. data/rbi/lib/lithic/models/financial_accounts/financial_transaction_retrieve_params.rbi +2 -4
  369. data/rbi/lib/lithic/models/financial_accounts/loan_tape.rbi +67 -107
  370. data/rbi/lib/lithic/models/financial_accounts/loan_tape_list_params.rbi +5 -6
  371. data/rbi/lib/lithic/models/financial_accounts/loan_tape_retrieve_params.rbi +2 -4
  372. data/rbi/lib/lithic/models/financial_accounts/statement.rbi +46 -72
  373. data/rbi/lib/lithic/models/financial_accounts/statement_list_params.rbi +6 -9
  374. data/rbi/lib/lithic/models/financial_accounts/statement_retrieve_params.rbi +2 -4
  375. data/rbi/lib/lithic/models/financial_accounts/statements/line_item_list_params.rbi +3 -4
  376. data/rbi/lib/lithic/models/financial_accounts/statements/statement_line_items.rbi +12 -14
  377. data/rbi/lib/lithic/models/financial_accounts/statements.rbi +2 -4
  378. data/rbi/lib/lithic/models/financial_transaction.rbi +44 -53
  379. data/rbi/lib/lithic/models/instance_financial_account_type.rbi +1 -2
  380. data/rbi/lib/lithic/models/kyb.rbi +139 -153
  381. data/rbi/lib/lithic/models/kyb_business_entity.rbi +13 -18
  382. data/rbi/lib/lithic/models/kyc.rbi +17 -22
  383. data/rbi/lib/lithic/models/kyc_exempt.rbi +8 -13
  384. data/rbi/lib/lithic/models/management_operation_create_params.rbi +5 -11
  385. data/rbi/lib/lithic/models/management_operation_list_params.rbi +9 -14
  386. data/rbi/lib/lithic/models/management_operation_retrieve_params.rbi +2 -4
  387. data/rbi/lib/lithic/models/management_operation_reverse_params.rbi +2 -4
  388. data/rbi/lib/lithic/models/management_operation_transaction.rbi +60 -20
  389. data/rbi/lib/lithic/models/message_attempt.rbi +3 -5
  390. data/rbi/lib/lithic/models/owner_type.rbi +1 -2
  391. data/rbi/lib/lithic/models/payment.rbi +85 -89
  392. data/rbi/lib/lithic/models/payment_create_params.rbi +8 -16
  393. data/rbi/lib/lithic/models/payment_create_response.rbi +2 -4
  394. data/rbi/lib/lithic/models/payment_list_params.rbi +9 -15
  395. data/rbi/lib/lithic/models/payment_retrieve_params.rbi +2 -4
  396. data/rbi/lib/lithic/models/payment_retry_params.rbi +2 -4
  397. data/rbi/lib/lithic/models/payment_retry_response.rbi +2 -4
  398. data/rbi/lib/lithic/models/payment_simulate_action_params.rbi +4 -8
  399. data/rbi/lib/lithic/models/payment_simulate_action_response.rbi +3 -6
  400. data/rbi/lib/lithic/models/payment_simulate_receipt_params.rbi +2 -4
  401. data/rbi/lib/lithic/models/payment_simulate_receipt_response.rbi +3 -6
  402. data/rbi/lib/lithic/models/payment_simulate_release_params.rbi +2 -4
  403. data/rbi/lib/lithic/models/payment_simulate_release_response.rbi +3 -6
  404. data/rbi/lib/lithic/models/payment_simulate_return_params.rbi +2 -4
  405. data/rbi/lib/lithic/models/payment_simulate_return_response.rbi +3 -6
  406. data/rbi/lib/lithic/models/reports/settlement/network_total_list_params.rbi +8 -12
  407. data/rbi/lib/lithic/models/reports/settlement/network_total_list_response.rbi +12 -18
  408. data/rbi/lib/lithic/models/reports/settlement/network_total_retrieve_params.rbi +2 -4
  409. data/rbi/lib/lithic/models/reports/settlement/network_total_retrieve_response.rbi +12 -18
  410. data/rbi/lib/lithic/models/reports/settlement_list_details_params.rbi +4 -6
  411. data/rbi/lib/lithic/models/reports/settlement_summary_params.rbi +2 -4
  412. data/rbi/lib/lithic/models/required_document.rbi +4 -6
  413. data/rbi/lib/lithic/models/responder_endpoint_check_status_params.rbi +3 -6
  414. data/rbi/lib/lithic/models/responder_endpoint_create_params.rbi +3 -6
  415. data/rbi/lib/lithic/models/responder_endpoint_create_response.rbi +2 -4
  416. data/rbi/lib/lithic/models/responder_endpoint_delete_params.rbi +3 -6
  417. data/rbi/lib/lithic/models/responder_endpoint_status.rbi +2 -4
  418. data/rbi/lib/lithic/models/settlement_detail.rbi +11 -18
  419. data/rbi/lib/lithic/models/settlement_report.rbi +17 -20
  420. data/rbi/lib/lithic/models/settlement_summary_details.rbi +6 -10
  421. data/rbi/lib/lithic/models/shipping_address.rbi +11 -14
  422. data/rbi/lib/lithic/models/spend_limit_duration.rbi +11 -12
  423. data/rbi/lib/lithic/models/three_ds/authentication_retrieve_params.rbi +2 -4
  424. data/rbi/lib/lithic/models/three_ds/authentication_retrieve_response.rbi +137 -176
  425. data/rbi/lib/lithic/models/three_ds/authentication_simulate_otp_entry_params.rbi +3 -5
  426. data/rbi/lib/lithic/models/three_ds/authentication_simulate_params.rbi +14 -21
  427. data/rbi/lib/lithic/models/three_ds/authentication_simulate_response.rbi +3 -5
  428. data/rbi/lib/lithic/models/three_ds/challenge_response.rbi +5 -7
  429. data/rbi/lib/lithic/models/three_ds/challenge_result.rbi +1 -2
  430. data/rbi/lib/lithic/models/three_ds/decisioning_challenge_response_params.rbi +2 -4
  431. data/rbi/lib/lithic/models/three_ds/decisioning_retrieve_secret_params.rbi +2 -4
  432. data/rbi/lib/lithic/models/three_ds/decisioning_retrieve_secret_response.rbi +2 -4
  433. data/rbi/lib/lithic/models/three_ds/decisioning_rotate_secret_params.rbi +2 -4
  434. data/rbi/lib/lithic/models/tokenization.rbi +14 -24
  435. data/rbi/lib/lithic/models/tokenization_activate_params.rbi +2 -4
  436. data/rbi/lib/lithic/models/tokenization_deactivate_params.rbi +2 -4
  437. data/rbi/lib/lithic/models/tokenization_decisioning_retrieve_secret_params.rbi +2 -4
  438. data/rbi/lib/lithic/models/tokenization_decisioning_rotate_secret_params.rbi +2 -4
  439. data/rbi/lib/lithic/models/tokenization_decisioning_rotate_secret_response.rbi +2 -4
  440. data/rbi/lib/lithic/models/tokenization_list_params.rbi +7 -11
  441. data/rbi/lib/lithic/models/tokenization_pause_params.rbi +2 -4
  442. data/rbi/lib/lithic/models/tokenization_resend_activation_code_params.rbi +7 -10
  443. data/rbi/lib/lithic/models/tokenization_retrieve_params.rbi +2 -4
  444. data/rbi/lib/lithic/models/tokenization_retrieve_response.rbi +2 -4
  445. data/rbi/lib/lithic/models/tokenization_secret.rbi +2 -4
  446. data/rbi/lib/lithic/models/tokenization_simulate_params.rbi +7 -12
  447. data/rbi/lib/lithic/models/tokenization_simulate_response.rbi +2 -4
  448. data/rbi/lib/lithic/models/tokenization_unpause_params.rbi +2 -4
  449. data/rbi/lib/lithic/models/tokenization_update_digital_card_art_params.rbi +5 -7
  450. data/rbi/lib/lithic/models/tokenization_update_digital_card_art_response.rbi +2 -4
  451. data/rbi/lib/lithic/models/transaction.rbi +168 -236
  452. data/rbi/lib/lithic/models/transaction_expire_authorization_params.rbi +2 -4
  453. data/rbi/lib/lithic/models/transaction_list_params.rbi +10 -15
  454. data/rbi/lib/lithic/models/transaction_retrieve_params.rbi +2 -4
  455. data/rbi/lib/lithic/models/transaction_simulate_authorization_advice_params.rbi +3 -5
  456. data/rbi/lib/lithic/models/transaction_simulate_authorization_advice_response.rbi +2 -4
  457. data/rbi/lib/lithic/models/transaction_simulate_authorization_params.rbi +41 -45
  458. data/rbi/lib/lithic/models/transaction_simulate_authorization_response.rbi +3 -5
  459. data/rbi/lib/lithic/models/transaction_simulate_clearing_params.rbi +9 -11
  460. data/rbi/lib/lithic/models/transaction_simulate_clearing_response.rbi +2 -4
  461. data/rbi/lib/lithic/models/transaction_simulate_credit_authorization_params.rbi +6 -8
  462. data/rbi/lib/lithic/models/transaction_simulate_credit_authorization_response.rbi +2 -4
  463. data/rbi/lib/lithic/models/transaction_simulate_return_params.rbi +2 -4
  464. data/rbi/lib/lithic/models/transaction_simulate_return_response.rbi +2 -4
  465. data/rbi/lib/lithic/models/transaction_simulate_return_reversal_params.rbi +2 -4
  466. data/rbi/lib/lithic/models/transaction_simulate_return_reversal_response.rbi +2 -4
  467. data/rbi/lib/lithic/models/transaction_simulate_void_params.rbi +10 -13
  468. data/rbi/lib/lithic/models/transaction_simulate_void_response.rbi +2 -4
  469. data/rbi/lib/lithic/models/transactions/enhanced_commercial_data_retrieve_params.rbi +2 -4
  470. data/rbi/lib/lithic/models/transactions/enhanced_commercial_data_retrieve_response.rbi +2 -4
  471. data/rbi/lib/lithic/models/transactions/events/enhanced_commercial_data_retrieve_params.rbi +2 -4
  472. data/rbi/lib/lithic/models/transactions/events/enhanced_data.rbi +21 -35
  473. data/rbi/lib/lithic/models/transfer.rbi +34 -43
  474. data/rbi/lib/lithic/models/transfer_create_params.rbi +6 -8
  475. data/rbi/lib/lithic/models/verification_method.rbi +1 -2
  476. data/rbi/lib/lithic/request_options.rbi +9 -11
  477. data/rbi/lib/lithic/resources/account_holders.rbi +121 -156
  478. data/rbi/lib/lithic/resources/accounts.rbi +26 -35
  479. data/rbi/lib/lithic/resources/aggregate_balances.rbi +3 -6
  480. data/rbi/lib/lithic/resources/auth_rules/v2/backtests.rbi +40 -45
  481. data/rbi/lib/lithic/resources/auth_rules/v2.rbi +69 -88
  482. data/rbi/lib/lithic/resources/auth_rules.rbi +1 -2
  483. data/rbi/lib/lithic/resources/auth_stream_enrollment.rbi +11 -14
  484. data/rbi/lib/lithic/resources/balances.rbi +3 -6
  485. data/rbi/lib/lithic/resources/book_transfers.rbi +15 -24
  486. data/rbi/lib/lithic/resources/card_programs.rbi +5 -10
  487. data/rbi/lib/lithic/resources/cards/aggregate_balances.rbi +2 -5
  488. data/rbi/lib/lithic/resources/cards/balances.rbi +4 -7
  489. data/rbi/lib/lithic/resources/cards/financial_transactions.rbi +7 -12
  490. data/rbi/lib/lithic/resources/cards.rbi +219 -237
  491. data/rbi/lib/lithic/resources/credit_products/extended_credit.rbi +2 -5
  492. data/rbi/lib/lithic/resources/credit_products/prime_rates.rbi +3 -8
  493. data/rbi/lib/lithic/resources/credit_products.rbi +1 -2
  494. data/rbi/lib/lithic/resources/digital_card_art.rbi +8 -13
  495. data/rbi/lib/lithic/resources/disputes.rbi +22 -37
  496. data/rbi/lib/lithic/resources/events/event_subscriptions.rbi +24 -0
  497. data/rbi/lib/lithic/resources/events/subscriptions.rbi +29 -48
  498. data/rbi/lib/lithic/resources/events.rbi +15 -18
  499. data/rbi/lib/lithic/resources/external_bank_accounts/micro_deposits.rbi +2 -4
  500. data/rbi/lib/lithic/resources/external_bank_accounts.rbi +18 -23
  501. data/rbi/lib/lithic/resources/external_payments.rbi +13 -28
  502. data/rbi/lib/lithic/resources/financial_accounts/balances.rbi +4 -7
  503. data/rbi/lib/lithic/resources/financial_accounts/credit_configuration.rbi +3 -8
  504. data/rbi/lib/lithic/resources/financial_accounts/financial_transactions.rbi +7 -12
  505. data/rbi/lib/lithic/resources/financial_accounts/loan_tapes.rbi +7 -12
  506. data/rbi/lib/lithic/resources/financial_accounts/statements/line_items.rbi +5 -8
  507. data/rbi/lib/lithic/resources/financial_accounts/statements.rbi +7 -12
  508. data/rbi/lib/lithic/resources/financial_accounts.rbi +10 -19
  509. data/rbi/lib/lithic/resources/management_operations.rbi +10 -19
  510. data/rbi/lib/lithic/resources/payments.rbi +14 -29
  511. data/rbi/lib/lithic/resources/reports/settlement/network_totals.rbi +8 -13
  512. data/rbi/lib/lithic/resources/reports/settlement.rbi +5 -10
  513. data/rbi/lib/lithic/resources/reports.rbi +1 -2
  514. data/rbi/lib/lithic/resources/responder_endpoints.rbi +4 -11
  515. data/rbi/lib/lithic/resources/three_ds/authentication.rbi +12 -19
  516. data/rbi/lib/lithic/resources/three_ds/decisioning.rbi +15 -20
  517. data/rbi/lib/lithic/resources/three_ds.rbi +1 -2
  518. data/rbi/lib/lithic/resources/tokenization_decisioning.rbi +10 -13
  519. data/rbi/lib/lithic/resources/tokenizations.rbi +66 -85
  520. data/rbi/lib/lithic/resources/transactions/enhanced_commercial_data.rbi +3 -6
  521. data/rbi/lib/lithic/resources/transactions/events/enhanced_commercial_data.rbi +3 -6
  522. data/rbi/lib/lithic/resources/transactions/events.rbi +1 -2
  523. data/rbi/lib/lithic/resources/transactions.rbi +79 -100
  524. data/rbi/lib/lithic/resources/transfers.rbi +7 -10
  525. data/rbi/lib/lithic/version.rbi +1 -1
  526. data/sig/lithic/internal/type/array_of.rbs +2 -2
  527. data/sig/lithic/internal/type/{boolean_model.rbs → boolean.rbs} +1 -1
  528. data/sig/lithic/internal/util.rbs +5 -5
  529. data/sig/lithic/models/account_holder_create_params.rbs +47 -43
  530. data/sig/lithic/models/card_convert_physical_params.rbs +2 -2
  531. data/sig/lithic/models/card_reissue_params.rbs +2 -2
  532. data/sig/lithic/models/card_renew_params.rbs +2 -2
  533. data/sig/lithic/models/events/event_subscription_resend_params.rbs +22 -0
  534. data/sig/lithic/models/financial_account.rbs +6 -6
  535. data/sig/lithic/models/financial_account_update_status_params.rbs +6 -6
  536. data/sig/lithic/models/financial_accounts/loan_tape.rbs +6 -6
  537. data/sig/lithic/models/financial_accounts/statement.rbs +6 -6
  538. data/sig/lithic/models/financial_accounts/statements/statement_line_items.rbs +2 -0
  539. data/sig/lithic/models/financial_transaction.rbs +2 -0
  540. data/sig/lithic/models/kyb.rbs +47 -43
  541. data/sig/lithic/models/management_operation_transaction.rbs +27 -0
  542. data/sig/lithic/models/payment.rbs +8 -2
  543. data/sig/lithic/models/transfer.rbs +2 -0
  544. data/sig/lithic/resources/account_holders.rbs +1 -1
  545. data/sig/lithic/resources/events/event_subscriptions.rbs +15 -0
  546. data/sig/lithic/resources/events.rbs +2 -0
  547. data/sig/lithic/resources/financial_accounts.rbs +1 -1
  548. data/sig/lithic/version.rbs +1 -1
  549. metadata +11 -5
@@ -30,14 +30,14 @@ module Lithic
30
30
 
31
31
  # @!attribute last_financial_account_token
32
32
  # Globally unique identifier for the financial account that had its balance
33
- # updated most recently
33
+ # updated most recently
34
34
  #
35
35
  # @return [String]
36
36
  required :last_financial_account_token, String
37
37
 
38
38
  # @!attribute last_transaction_event_token
39
39
  # Globally unique identifier for the last transaction event that impacted this
40
- # balance
40
+ # balance
41
41
  #
42
42
  # @return [String]
43
43
  required :last_transaction_event_token, String
@@ -50,14 +50,14 @@ module Lithic
50
50
 
51
51
  # @!attribute pending_amount
52
52
  # Funds not available for spend due to card authorizations or pending ACH release.
53
- # Shown in the currency's smallest unit (e.g., cents for USD)
53
+ # Shown in the currency's smallest unit (e.g., cents for USD)
54
54
  #
55
55
  # @return [Integer]
56
56
  required :pending_amount, Integer
57
57
 
58
58
  # @!attribute total_amount
59
59
  # The sum of available and pending balance in the currency's smallest unit (e.g.,
60
- # cents for USD)
60
+ # cents for USD)
61
61
  #
62
62
  # @return [Integer]
63
63
  required :total_amount, Integer
@@ -18,8 +18,8 @@ module Lithic
18
18
 
19
19
  # @!attribute [r] account_tokens
20
20
  # Array of account_token(s) identifying the accounts that the Auth Rule applies
21
- # to. Note that only this field or `card_tokens` can be provided for a given Auth
22
- # Rule.
21
+ # to. Note that only this field or `card_tokens` can be provided for a given Auth
22
+ # Rule.
23
23
  #
24
24
  # @return [Array<String>, nil]
25
25
  optional :account_tokens, Lithic::Internal::Type::ArrayOf[String]
@@ -30,8 +30,8 @@ module Lithic
30
30
 
31
31
  # @!attribute [r] allowed_countries
32
32
  # Countries in which the Auth Rule permits transactions. Note that Lithic
33
- # maintains a list of countries in which all transactions are blocked; "allowing"
34
- # those countries in an Auth Rule does not override the Lithic-wide restrictions.
33
+ # maintains a list of countries in which all transactions are blocked; "allowing"
34
+ # those countries in an Auth Rule does not override the Lithic-wide restrictions.
35
35
  #
36
36
  # @return [Array<String>, nil]
37
37
  optional :allowed_countries, Lithic::Internal::Type::ArrayOf[String]
@@ -62,7 +62,7 @@ module Lithic
62
62
 
63
63
  # @!attribute [r] blocked_mcc
64
64
  # Merchant category codes for which the Auth Rule automatically declines
65
- # transactions.
65
+ # transactions.
66
66
  #
67
67
  # @return [Array<String>, nil]
68
68
  optional :blocked_mcc, Lithic::Internal::Type::ArrayOf[String]
@@ -73,7 +73,7 @@ module Lithic
73
73
 
74
74
  # @!attribute [r] card_tokens
75
75
  # Array of card_token(s) identifying the cards that the Auth Rule applies to. Note
76
- # that only this field or `account_tokens` can be provided for a given Auth Rule.
76
+ # that only this field or `account_tokens` can be provided for a given Auth Rule.
77
77
  #
78
78
  # @return [Array<String>, nil]
79
79
  optional :card_tokens, Lithic::Internal::Type::ArrayOf[String]
@@ -86,7 +86,7 @@ module Lithic
86
86
  # Boolean indicating whether the Auth Rule is applied at the program level.
87
87
  #
88
88
  # @return [Boolean, nil]
89
- optional :program_level, Lithic::Internal::Type::BooleanModel
89
+ optional :program_level, Lithic::Internal::Type::Boolean
90
90
 
91
91
  # @!parse
92
92
  # # @return [Boolean]
@@ -7,51 +7,51 @@ module Lithic
7
7
  # @!attribute [r] attribute
8
8
  # The attribute to target.
9
9
  #
10
- # The following attributes may be targeted:
10
+ # The following attributes may be targeted:
11
11
  #
12
- # - `MCC`: A four-digit number listed in ISO 18245. An MCC is used to classify a
13
- # business by the types of goods or services it provides.
14
- # - `COUNTRY`: Country of entity of card acceptor. Possible values are: (1) all
15
- # ISO 3166-1 alpha-3 country codes, (2) QZZ for Kosovo, and (3) ANT for
16
- # Netherlands Antilles.
17
- # - `CURRENCY`: 3-character alphabetic ISO 4217 code for the merchant currency of
18
- # the transaction.
19
- # - `MERCHANT_ID`: Unique alphanumeric identifier for the payment card acceptor
20
- # (merchant).
21
- # - `DESCRIPTOR`: Short description of card acceptor.
22
- # - `LIABILITY_SHIFT`: Indicates whether chargeback liability shift to the issuer
23
- # applies to the transaction. Valid values are `NONE`, `3DS_AUTHENTICATED`, or
24
- # `TOKEN_AUTHENTICATED`.
25
- # - `PAN_ENTRY_MODE`: The method by which the cardholder's primary account number
26
- # (PAN) was entered. Valid values are `AUTO_ENTRY`, `BAR_CODE`, `CONTACTLESS`,
27
- # `ECOMMERCE`, `ERROR_KEYED`, `ERROR_MAGNETIC_STRIPE`, `ICC`, `KEY_ENTERED`,
28
- # `MAGNETIC_STRIPE`, `MANUAL`, `OCR`, `SECURE_CARDLESS`, `UNSPECIFIED`,
29
- # `UNKNOWN`, `CREDENTIAL_ON_FILE`, or `ECOMMERCE`.
30
- # - `TRANSACTION_AMOUNT`: The base transaction amount (in cents) plus the acquirer
31
- # fee field in the settlement/cardholder billing currency. This is the amount
32
- # the issuer should authorize against unless the issuer is paying the acquirer
33
- # fee on behalf of the cardholder.
34
- # - `RISK_SCORE`: Network-provided score assessing risk level associated with a
35
- # given authorization. Scores are on a range of 0-999, with 0 representing the
36
- # lowest risk and 999 representing the highest risk. For Visa transactions,
37
- # where the raw score has a range of 0-99, Lithic will normalize the score by
38
- # multiplying the raw score by 10x.
39
- # - `CARD_TRANSACTION_COUNT_15M`: The number of transactions on the card in the
40
- # trailing 15 minutes before the authorization.
41
- # - `CARD_TRANSACTION_COUNT_1H`: The number of transactions on the card in the
42
- # trailing hour up and until the authorization.
43
- # - `CARD_TRANSACTION_COUNT_24H`: The number of transactions on the card in the
44
- # trailing 24 hours up and until the authorization.
45
- # - `CARD_STATE`: The current state of the card associated with the transaction.
46
- # Valid values are `CLOSED`, `OPEN`, `PAUSED`, `PENDING_ACTIVATION`,
47
- # `PENDING_FULFILLMENT`.
48
- # - `PIN_ENTERED`: Indicates whether a PIN was entered during the transaction.
49
- # Valid values are `TRUE`, `FALSE`.
50
- # - `PIN_STATUS`: The current state of card's PIN. Valid values are `NOT_SET`,
51
- # `OK`, `BLOCKED`.
52
- # - `WALLET_TYPE`: For transactions using a digital wallet token, indicates the
53
- # source of the token. Valid values are `APPLE_PAY`, `GOOGLE_PAY`,
54
- # `SAMSUNG_PAY`, `MASTERPASS`, `MERCHANT`, `OTHER`, `NONE`.
12
+ # - `MCC`: A four-digit number listed in ISO 18245. An MCC is used to classify a
13
+ # business by the types of goods or services it provides.
14
+ # - `COUNTRY`: Country of entity of card acceptor. Possible values are: (1) all
15
+ # ISO 3166-1 alpha-3 country codes, (2) QZZ for Kosovo, and (3) ANT for
16
+ # Netherlands Antilles.
17
+ # - `CURRENCY`: 3-character alphabetic ISO 4217 code for the merchant currency of
18
+ # the transaction.
19
+ # - `MERCHANT_ID`: Unique alphanumeric identifier for the payment card acceptor
20
+ # (merchant).
21
+ # - `DESCRIPTOR`: Short description of card acceptor.
22
+ # - `LIABILITY_SHIFT`: Indicates whether chargeback liability shift to the issuer
23
+ # applies to the transaction. Valid values are `NONE`, `3DS_AUTHENTICATED`, or
24
+ # `TOKEN_AUTHENTICATED`.
25
+ # - `PAN_ENTRY_MODE`: The method by which the cardholder's primary account number
26
+ # (PAN) was entered. Valid values are `AUTO_ENTRY`, `BAR_CODE`, `CONTACTLESS`,
27
+ # `ECOMMERCE`, `ERROR_KEYED`, `ERROR_MAGNETIC_STRIPE`, `ICC`, `KEY_ENTERED`,
28
+ # `MAGNETIC_STRIPE`, `MANUAL`, `OCR`, `SECURE_CARDLESS`, `UNSPECIFIED`,
29
+ # `UNKNOWN`, `CREDENTIAL_ON_FILE`, or `ECOMMERCE`.
30
+ # - `TRANSACTION_AMOUNT`: The base transaction amount (in cents) plus the acquirer
31
+ # fee field in the settlement/cardholder billing currency. This is the amount
32
+ # the issuer should authorize against unless the issuer is paying the acquirer
33
+ # fee on behalf of the cardholder.
34
+ # - `RISK_SCORE`: Network-provided score assessing risk level associated with a
35
+ # given authorization. Scores are on a range of 0-999, with 0 representing the
36
+ # lowest risk and 999 representing the highest risk. For Visa transactions,
37
+ # where the raw score has a range of 0-99, Lithic will normalize the score by
38
+ # multiplying the raw score by 10x.
39
+ # - `CARD_TRANSACTION_COUNT_15M`: The number of transactions on the card in the
40
+ # trailing 15 minutes before the authorization.
41
+ # - `CARD_TRANSACTION_COUNT_1H`: The number of transactions on the card in the
42
+ # trailing hour up and until the authorization.
43
+ # - `CARD_TRANSACTION_COUNT_24H`: The number of transactions on the card in the
44
+ # trailing 24 hours up and until the authorization.
45
+ # - `CARD_STATE`: The current state of the card associated with the transaction.
46
+ # Valid values are `CLOSED`, `OPEN`, `PAUSED`, `PENDING_ACTIVATION`,
47
+ # `PENDING_FULFILLMENT`.
48
+ # - `PIN_ENTERED`: Indicates whether a PIN was entered during the transaction.
49
+ # Valid values are `TRUE`, `FALSE`.
50
+ # - `PIN_STATUS`: The current state of card's PIN. Valid values are `NOT_SET`,
51
+ # `OK`, `BLOCKED`.
52
+ # - `WALLET_TYPE`: For transactions using a digital wallet token, indicates the
53
+ # source of the token. Valid values are `APPLE_PAY`, `GOOGLE_PAY`,
54
+ # `SAMSUNG_PAY`, `MASTERPASS`, `MERCHANT`, `OTHER`, `NONE`.
55
55
  #
56
56
  # @return [Symbol, Lithic::Models::AuthRules::ConditionalAttribute, nil]
57
57
  optional :attribute, enum: -> { Lithic::Models::AuthRules::ConditionalAttribute }
@@ -5,51 +5,51 @@ module Lithic
5
5
  module AuthRules
6
6
  # The attribute to target.
7
7
  #
8
- # The following attributes may be targeted:
8
+ # The following attributes may be targeted:
9
9
  #
10
- # - `MCC`: A four-digit number listed in ISO 18245. An MCC is used to classify a
11
- # business by the types of goods or services it provides.
12
- # - `COUNTRY`: Country of entity of card acceptor. Possible values are: (1) all
13
- # ISO 3166-1 alpha-3 country codes, (2) QZZ for Kosovo, and (3) ANT for
14
- # Netherlands Antilles.
15
- # - `CURRENCY`: 3-character alphabetic ISO 4217 code for the merchant currency of
16
- # the transaction.
17
- # - `MERCHANT_ID`: Unique alphanumeric identifier for the payment card acceptor
18
- # (merchant).
19
- # - `DESCRIPTOR`: Short description of card acceptor.
20
- # - `LIABILITY_SHIFT`: Indicates whether chargeback liability shift to the issuer
21
- # applies to the transaction. Valid values are `NONE`, `3DS_AUTHENTICATED`, or
22
- # `TOKEN_AUTHENTICATED`.
23
- # - `PAN_ENTRY_MODE`: The method by which the cardholder's primary account number
24
- # (PAN) was entered. Valid values are `AUTO_ENTRY`, `BAR_CODE`, `CONTACTLESS`,
25
- # `ECOMMERCE`, `ERROR_KEYED`, `ERROR_MAGNETIC_STRIPE`, `ICC`, `KEY_ENTERED`,
26
- # `MAGNETIC_STRIPE`, `MANUAL`, `OCR`, `SECURE_CARDLESS`, `UNSPECIFIED`,
27
- # `UNKNOWN`, `CREDENTIAL_ON_FILE`, or `ECOMMERCE`.
28
- # - `TRANSACTION_AMOUNT`: The base transaction amount (in cents) plus the acquirer
29
- # fee field in the settlement/cardholder billing currency. This is the amount
30
- # the issuer should authorize against unless the issuer is paying the acquirer
31
- # fee on behalf of the cardholder.
32
- # - `RISK_SCORE`: Network-provided score assessing risk level associated with a
33
- # given authorization. Scores are on a range of 0-999, with 0 representing the
34
- # lowest risk and 999 representing the highest risk. For Visa transactions,
35
- # where the raw score has a range of 0-99, Lithic will normalize the score by
36
- # multiplying the raw score by 10x.
37
- # - `CARD_TRANSACTION_COUNT_15M`: The number of transactions on the card in the
38
- # trailing 15 minutes before the authorization.
39
- # - `CARD_TRANSACTION_COUNT_1H`: The number of transactions on the card in the
40
- # trailing hour up and until the authorization.
41
- # - `CARD_TRANSACTION_COUNT_24H`: The number of transactions on the card in the
42
- # trailing 24 hours up and until the authorization.
43
- # - `CARD_STATE`: The current state of the card associated with the transaction.
44
- # Valid values are `CLOSED`, `OPEN`, `PAUSED`, `PENDING_ACTIVATION`,
45
- # `PENDING_FULFILLMENT`.
46
- # - `PIN_ENTERED`: Indicates whether a PIN was entered during the transaction.
47
- # Valid values are `TRUE`, `FALSE`.
48
- # - `PIN_STATUS`: The current state of card's PIN. Valid values are `NOT_SET`,
49
- # `OK`, `BLOCKED`.
50
- # - `WALLET_TYPE`: For transactions using a digital wallet token, indicates the
51
- # source of the token. Valid values are `APPLE_PAY`, `GOOGLE_PAY`,
52
- # `SAMSUNG_PAY`, `MASTERPASS`, `MERCHANT`, `OTHER`, `NONE`.
10
+ # - `MCC`: A four-digit number listed in ISO 18245. An MCC is used to classify a
11
+ # business by the types of goods or services it provides.
12
+ # - `COUNTRY`: Country of entity of card acceptor. Possible values are: (1) all
13
+ # ISO 3166-1 alpha-3 country codes, (2) QZZ for Kosovo, and (3) ANT for
14
+ # Netherlands Antilles.
15
+ # - `CURRENCY`: 3-character alphabetic ISO 4217 code for the merchant currency of
16
+ # the transaction.
17
+ # - `MERCHANT_ID`: Unique alphanumeric identifier for the payment card acceptor
18
+ # (merchant).
19
+ # - `DESCRIPTOR`: Short description of card acceptor.
20
+ # - `LIABILITY_SHIFT`: Indicates whether chargeback liability shift to the issuer
21
+ # applies to the transaction. Valid values are `NONE`, `3DS_AUTHENTICATED`, or
22
+ # `TOKEN_AUTHENTICATED`.
23
+ # - `PAN_ENTRY_MODE`: The method by which the cardholder's primary account number
24
+ # (PAN) was entered. Valid values are `AUTO_ENTRY`, `BAR_CODE`, `CONTACTLESS`,
25
+ # `ECOMMERCE`, `ERROR_KEYED`, `ERROR_MAGNETIC_STRIPE`, `ICC`, `KEY_ENTERED`,
26
+ # `MAGNETIC_STRIPE`, `MANUAL`, `OCR`, `SECURE_CARDLESS`, `UNSPECIFIED`,
27
+ # `UNKNOWN`, `CREDENTIAL_ON_FILE`, or `ECOMMERCE`.
28
+ # - `TRANSACTION_AMOUNT`: The base transaction amount (in cents) plus the acquirer
29
+ # fee field in the settlement/cardholder billing currency. This is the amount
30
+ # the issuer should authorize against unless the issuer is paying the acquirer
31
+ # fee on behalf of the cardholder.
32
+ # - `RISK_SCORE`: Network-provided score assessing risk level associated with a
33
+ # given authorization. Scores are on a range of 0-999, with 0 representing the
34
+ # lowest risk and 999 representing the highest risk. For Visa transactions,
35
+ # where the raw score has a range of 0-99, Lithic will normalize the score by
36
+ # multiplying the raw score by 10x.
37
+ # - `CARD_TRANSACTION_COUNT_15M`: The number of transactions on the card in the
38
+ # trailing 15 minutes before the authorization.
39
+ # - `CARD_TRANSACTION_COUNT_1H`: The number of transactions on the card in the
40
+ # trailing hour up and until the authorization.
41
+ # - `CARD_TRANSACTION_COUNT_24H`: The number of transactions on the card in the
42
+ # trailing 24 hours up and until the authorization.
43
+ # - `CARD_STATE`: The current state of the card associated with the transaction.
44
+ # Valid values are `CLOSED`, `OPEN`, `PAUSED`, `PENDING_ACTIVATION`,
45
+ # `PENDING_FULFILLMENT`.
46
+ # - `PIN_ENTERED`: Indicates whether a PIN was entered during the transaction.
47
+ # Valid values are `TRUE`, `FALSE`.
48
+ # - `PIN_STATUS`: The current state of card's PIN. Valid values are `NOT_SET`,
49
+ # `OK`, `BLOCKED`.
50
+ # - `WALLET_TYPE`: For transactions using a digital wallet token, indicates the
51
+ # source of the token. Valid values are `APPLE_PAY`, `GOOGLE_PAY`,
52
+ # `SAMSUNG_PAY`, `MASTERPASS`, `MERCHANT`, `OTHER`, `NONE`.
53
53
  module ConditionalAttribute
54
54
  extend Lithic::Internal::Type::Enum
55
55
 
@@ -60,8 +60,8 @@ module Lithic
60
60
  class CurrentVersion < Lithic::Internal::Type::BaseModel
61
61
  # @!attribute [r] approved
62
62
  # The total number of historical transactions approved by this rule during the
63
- # backtest period, or the number of transactions that would have been approved if
64
- # the rule was evaluated in shadow mode.
63
+ # backtest period, or the number of transactions that would have been approved if
64
+ # the rule was evaluated in shadow mode.
65
65
  #
66
66
  # @return [Integer, nil]
67
67
  optional :approved, Integer
@@ -72,8 +72,8 @@ module Lithic
72
72
 
73
73
  # @!attribute [r] declined
74
74
  # The total number of historical transactions declined by this rule during the
75
- # backtest period, or the number of transactions that would have been declined if
76
- # the rule was evaluated in shadow mode.
75
+ # backtest period, or the number of transactions that would have been declined if
76
+ # the rule was evaluated in shadow mode.
77
77
  #
78
78
  # @return [Integer, nil]
79
79
  optional :declined, Integer
@@ -96,7 +96,7 @@ module Lithic
96
96
  response_only do
97
97
  # @!attribute [r] version
98
98
  # The version of the rule, this is incremented whenever the rule's parameters
99
- # change.
99
+ # change.
100
100
  #
101
101
  # @return [Integer, nil]
102
102
  optional :version, Integer
@@ -121,7 +121,7 @@ module Lithic
121
121
  # Whether the rule would have approved the authorization request.
122
122
  #
123
123
  # @return [Boolean, nil]
124
- optional :approved, Lithic::Internal::Type::BooleanModel
124
+ optional :approved, Lithic::Internal::Type::Boolean
125
125
 
126
126
  # @!parse
127
127
  # # @return [Boolean]
@@ -162,8 +162,8 @@ module Lithic
162
162
  class DraftVersion < Lithic::Internal::Type::BaseModel
163
163
  # @!attribute [r] approved
164
164
  # The total number of historical transactions approved by this rule during the
165
- # backtest period, or the number of transactions that would have been approved if
166
- # the rule was evaluated in shadow mode.
165
+ # backtest period, or the number of transactions that would have been approved if
166
+ # the rule was evaluated in shadow mode.
167
167
  #
168
168
  # @return [Integer, nil]
169
169
  optional :approved, Integer
@@ -174,8 +174,8 @@ module Lithic
174
174
 
175
175
  # @!attribute [r] declined
176
176
  # The total number of historical transactions declined by this rule during the
177
- # backtest period, or the number of transactions that would have been declined if
178
- # the rule was evaluated in shadow mode.
177
+ # backtest period, or the number of transactions that would have been declined if
178
+ # the rule was evaluated in shadow mode.
179
179
  #
180
180
  # @return [Integer, nil]
181
181
  optional :declined, Integer
@@ -198,7 +198,7 @@ module Lithic
198
198
  response_only do
199
199
  # @!attribute [r] version
200
200
  # The version of the rule, this is incremented whenever the rule's parameters
201
- # change.
201
+ # change.
202
202
  #
203
203
  # @return [Integer, nil]
204
204
  optional :version, Integer
@@ -223,7 +223,7 @@ module Lithic
223
223
  # Whether the rule would have approved the authorization request.
224
224
  #
225
225
  # @return [Boolean, nil]
226
- optional :approved, Lithic::Internal::Type::BooleanModel
226
+ optional :approved, Lithic::Internal::Type::Boolean
227
227
 
228
228
  # @!parse
229
229
  # # @return [Boolean]
@@ -25,7 +25,7 @@ module Lithic
25
25
  # Whether the Auth Rule applies to all authorizations on the card program.
26
26
  #
27
27
  # @return [Boolean]
28
- required :program_level, Lithic::Internal::Type::BooleanModel
28
+ required :program_level, Lithic::Internal::Type::Boolean
29
29
 
30
30
  # @!attribute [r] excluded_card_tokens
31
31
  # Card tokens to which the Auth Rule does not apply.
@@ -43,7 +43,7 @@ module Lithic
43
43
  # Whether the Auth Rule applies to all authorizations on the card program.
44
44
  #
45
45
  # @return [Boolean]
46
- required :program_level, Lithic::Internal::Type::BooleanModel
46
+ required :program_level, Lithic::Internal::Type::Boolean
47
47
 
48
48
  # @!attribute state
49
49
  # The state of the Auth Rule
@@ -108,7 +108,7 @@ module Lithic
108
108
  response_only do
109
109
  # @!attribute version
110
110
  # The version of the rule, this is incremented whenever the rule's parameters
111
- # change.
111
+ # change.
112
112
  #
113
113
  # @return [Integer]
114
114
  required :version, Integer
@@ -149,7 +149,7 @@ module Lithic
149
149
  response_only do
150
150
  # @!attribute version
151
151
  # The version of the rule, this is incremented whenever the rule's parameters
152
- # change.
152
+ # change.
153
153
  #
154
154
  # @return [Integer]
155
155
  required :version, Integer
@@ -51,7 +51,7 @@ module Lithic
51
51
  # Whether the Auth Rule applies to all authorizations on the card program.
52
52
  #
53
53
  # @return [Boolean]
54
- required :program_level, Lithic::Internal::Type::BooleanModel
54
+ required :program_level, Lithic::Internal::Type::Boolean
55
55
 
56
56
  # @!attribute [r] excluded_card_tokens
57
57
  # Card tokens to which the Auth Rule does not apply.
@@ -43,7 +43,7 @@ module Lithic
43
43
  # Whether the Auth Rule applies to all authorizations on the card program.
44
44
  #
45
45
  # @return [Boolean]
46
- required :program_level, Lithic::Internal::Type::BooleanModel
46
+ required :program_level, Lithic::Internal::Type::Boolean
47
47
 
48
48
  # @!attribute state
49
49
  # The state of the Auth Rule
@@ -109,7 +109,7 @@ module Lithic
109
109
  response_only do
110
110
  # @!attribute version
111
111
  # The version of the rule, this is incremented whenever the rule's parameters
112
- # change.
112
+ # change.
113
113
  #
114
114
  # @return [Integer]
115
115
  required :version, Integer
@@ -150,7 +150,7 @@ module Lithic
150
150
  response_only do
151
151
  # @!attribute version
152
152
  # The version of the rule, this is incremented whenever the rule's parameters
153
- # change.
153
+ # change.
154
154
  #
155
155
  # @return [Integer]
156
156
  required :version, Integer
@@ -43,7 +43,7 @@ module Lithic
43
43
  # Whether the Auth Rule applies to all authorizations on the card program.
44
44
  #
45
45
  # @return [Boolean]
46
- required :program_level, Lithic::Internal::Type::BooleanModel
46
+ required :program_level, Lithic::Internal::Type::Boolean
47
47
 
48
48
  # @!attribute state
49
49
  # The state of the Auth Rule
@@ -108,7 +108,7 @@ module Lithic
108
108
  response_only do
109
109
  # @!attribute version
110
110
  # The version of the rule, this is incremented whenever the rule's parameters
111
- # change.
111
+ # change.
112
112
  #
113
113
  # @return [Integer]
114
114
  required :version, Integer
@@ -149,7 +149,7 @@ module Lithic
149
149
  response_only do
150
150
  # @!attribute version
151
151
  # The version of the rule, this is incremented whenever the rule's parameters
152
- # change.
152
+ # change.
153
153
  #
154
154
  # @return [Integer]
155
155
  required :version, Integer
@@ -31,7 +31,7 @@ module Lithic
31
31
 
32
32
  # @!attribute [r] ending_before
33
33
  # A cursor representing an item's token before which a page of results should end.
34
- # Used to retrieve the previous page of results before this item.
34
+ # Used to retrieve the previous page of results before this item.
35
35
  #
36
36
  # @return [String, nil]
37
37
  optional :ending_before, String
@@ -52,7 +52,7 @@ module Lithic
52
52
 
53
53
  # @!attribute [r] starting_after
54
54
  # A cursor representing an item's token after which a page of results should
55
- # begin. Used to retrieve the next page of results after this item.
55
+ # begin. Used to retrieve the next page of results after this item.
56
56
  #
57
57
  # @return [String, nil]
58
58
  optional :starting_after, String
@@ -43,7 +43,7 @@ module Lithic
43
43
  # Whether the Auth Rule applies to all authorizations on the card program.
44
44
  #
45
45
  # @return [Boolean]
46
- required :program_level, Lithic::Internal::Type::BooleanModel
46
+ required :program_level, Lithic::Internal::Type::Boolean
47
47
 
48
48
  # @!attribute state
49
49
  # The state of the Auth Rule
@@ -108,7 +108,7 @@ module Lithic
108
108
  response_only do
109
109
  # @!attribute version
110
110
  # The version of the rule, this is incremented whenever the rule's parameters
111
- # change.
111
+ # change.
112
112
  #
113
113
  # @return [Integer]
114
114
  required :version, Integer
@@ -149,7 +149,7 @@ module Lithic
149
149
  response_only do
150
150
  # @!attribute version
151
151
  # The version of the rule, this is incremented whenever the rule's parameters
152
- # change.
152
+ # change.
153
153
  #
154
154
  # @return [Integer]
155
155
  required :version, Integer
@@ -43,7 +43,7 @@ module Lithic
43
43
  # Whether the Auth Rule applies to all authorizations on the card program.
44
44
  #
45
45
  # @return [Boolean]
46
- required :program_level, Lithic::Internal::Type::BooleanModel
46
+ required :program_level, Lithic::Internal::Type::Boolean
47
47
 
48
48
  # @!attribute state
49
49
  # The state of the Auth Rule
@@ -109,7 +109,7 @@ module Lithic
109
109
  response_only do
110
110
  # @!attribute version
111
111
  # The version of the rule, this is incremented whenever the rule's parameters
112
- # change.
112
+ # change.
113
113
  #
114
114
  # @return [Integer]
115
115
  required :version, Integer
@@ -150,7 +150,7 @@ module Lithic
150
150
  response_only do
151
151
  # @!attribute version
152
152
  # The version of the rule, this is incremented whenever the rule's parameters
153
- # change.
153
+ # change.
154
154
  #
155
155
  # @return [Integer]
156
156
  required :version, Integer
@@ -45,7 +45,7 @@ module Lithic
45
45
  # Whether the Auth Rule applies to all authorizations on the card program.
46
46
  #
47
47
  # @return [Boolean]
48
- required :program_level, Lithic::Internal::Type::BooleanModel
48
+ required :program_level, Lithic::Internal::Type::Boolean
49
49
 
50
50
  # @!attribute state
51
51
  # The state of the Auth Rule
@@ -111,7 +111,7 @@ module Lithic
111
111
  response_only do
112
112
  # @!attribute version
113
113
  # The version of the rule, this is incremented whenever the rule's parameters
114
- # change.
114
+ # change.
115
115
  #
116
116
  # @return [Integer]
117
117
  required :version, Integer
@@ -153,7 +153,7 @@ module Lithic
153
153
  response_only do
154
154
  # @!attribute version
155
155
  # The version of the rule, this is incremented whenever the rule's parameters
156
- # change.
156
+ # change.
157
157
  #
158
158
  # @return [Integer]
159
159
  required :version, Integer
@@ -28,9 +28,9 @@ module Lithic
28
28
  # @!attribute [r] state
29
29
  # The desired state of the Auth Rule.
30
30
  #
31
- # Note that only deactivating an Auth Rule through this endpoint is supported at
32
- # this time. If you need to (re-)activate an Auth Rule the /promote endpoint
33
- # should be used to promote a draft to the currently active version.
31
+ # Note that only deactivating an Auth Rule through this endpoint is supported at
32
+ # this time. If you need to (re-)activate an Auth Rule the /promote endpoint
33
+ # should be used to promote a draft to the currently active version.
34
34
  #
35
35
  # @return [Symbol, Lithic::Models::AuthRules::V2UpdateParams::State, nil]
36
36
  optional :state, enum: -> { Lithic::Models::AuthRules::V2UpdateParams::State }
@@ -63,7 +63,7 @@ module Lithic
63
63
  # Whether the Auth Rule applies to all authorizations on the card program.
64
64
  #
65
65
  # @return [Boolean, nil]
66
- optional :program_level, Lithic::Internal::Type::BooleanModel
66
+ optional :program_level, Lithic::Internal::Type::Boolean
67
67
 
68
68
  # @!parse
69
69
  # # @return [Boolean]
@@ -95,9 +95,9 @@ module Lithic
95
95
 
96
96
  # The desired state of the Auth Rule.
97
97
  #
98
- # Note that only deactivating an Auth Rule through this endpoint is supported at
99
- # this time. If you need to (re-)activate an Auth Rule the /promote endpoint
100
- # should be used to promote a draft to the currently active version.
98
+ # Note that only deactivating an Auth Rule through this endpoint is supported at
99
+ # this time. If you need to (re-)activate an Auth Rule the /promote endpoint
100
+ # should be used to promote a draft to the currently active version.
101
101
  module State
102
102
  extend Lithic::Internal::Type::Enum
103
103
 
@@ -43,7 +43,7 @@ module Lithic
43
43
  # Whether the Auth Rule applies to all authorizations on the card program.
44
44
  #
45
45
  # @return [Boolean]
46
- required :program_level, Lithic::Internal::Type::BooleanModel
46
+ required :program_level, Lithic::Internal::Type::Boolean
47
47
 
48
48
  # @!attribute state
49
49
  # The state of the Auth Rule
@@ -109,7 +109,7 @@ module Lithic
109
109
  response_only do
110
110
  # @!attribute version
111
111
  # The version of the rule, this is incremented whenever the rule's parameters
112
- # change.
112
+ # change.
113
113
  #
114
114
  # @return [Integer]
115
115
  required :version, Integer
@@ -150,7 +150,7 @@ module Lithic
150
150
  response_only do
151
151
  # @!attribute version
152
152
  # The version of the rule, this is incremented whenever the rule's parameters
153
- # change.
153
+ # change.
154
154
  #
155
155
  # @return [Integer]
156
156
  required :version, Integer