lithic 0.20.0 → 0.22.0

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 (266) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +44 -0
  3. data/README.md +1 -10
  4. data/lib/lithic/internal/type/union.rb +21 -7
  5. data/lib/lithic/models/account_activity_list_params.rb +1 -0
  6. data/lib/lithic/models/account_activity_list_response.rb +1 -0
  7. data/lib/lithic/models/account_activity_retrieve_transaction_response.rb +1 -0
  8. data/lib/lithic/models/account_holder_create_params.rb +4 -2
  9. data/lib/lithic/models/account_holder_simulate_enrollment_review_response.rb +120 -66
  10. data/lib/lithic/models/account_holder_update_params.rb +6 -3
  11. data/lib/lithic/models/account_holder_update_response.rb +156 -86
  12. data/lib/lithic/models/account_holder_updated_webhook_event.rb +120 -66
  13. data/lib/lithic/models/account_holders/account_holder_entity.rb +35 -19
  14. data/lib/lithic/models/account_holders/entity_create_params.rb +39 -21
  15. data/lib/lithic/models/address.rb +33 -19
  16. data/lib/lithic/models/address_update.rb +27 -11
  17. data/lib/lithic/models/auth_rules/auth_rule.rb +60 -27
  18. data/lib/lithic/models/auth_rules/auth_rule_condition.rb +189 -6
  19. data/lib/lithic/models/auth_rules/auth_rule_entities.rb +47 -0
  20. data/lib/lithic/models/auth_rules/auth_rule_entities_response.rb +31 -0
  21. data/lib/lithic/models/auth_rules/auth_rule_entity.rb +150 -0
  22. data/lib/lithic/models/auth_rules/auth_rule_version.rb +3 -6
  23. data/lib/lithic/models/auth_rules/conditional_3ds_action_parameters.rb +33 -6
  24. data/lib/lithic/models/auth_rules/conditional_attribute.rb +101 -5
  25. data/lib/lithic/models/auth_rules/conditional_authorization_action_parameters.rb +3 -439
  26. data/lib/lithic/models/auth_rules/conditional_authorization_adjustment_parameters.rb +7 -0
  27. data/lib/lithic/models/auth_rules/merchant_lock_parameters.rb +11 -1
  28. data/lib/lithic/models/auth_rules/report_stats.rb +1 -0
  29. data/lib/lithic/models/auth_rules/v2_create_params.rb +218 -45
  30. data/lib/lithic/models/auth_rules/v2_draft_params.rb +3 -6
  31. data/lib/lithic/models/auth_rules/v2_list_params.rb +5 -3
  32. data/lib/lithic/models/auth_rules/v2_list_results_response.rb +1 -0
  33. data/lib/lithic/models/auth_rules/v2_update_entities_params.rb +39 -0
  34. data/lib/lithic/models/auth_rules/v2_update_params.rb +133 -12
  35. data/lib/lithic/models/blockchain_recipient_retrieve_params.rb +20 -0
  36. data/lib/lithic/models/card_authorization.rb +11 -1
  37. data/lib/lithic/models/card_create_params.rb +11 -1
  38. data/lib/lithic/models/card_pin_updated_webhook_event.rb +87 -0
  39. data/lib/lithic/models/card_update_params.rb +12 -1
  40. data/lib/lithic/models/event.rb +5 -0
  41. data/lib/lithic/models/event_list_params.rb +3 -0
  42. data/lib/lithic/models/event_subscription.rb +3 -0
  43. data/lib/lithic/models/events/subscription_create_params.rb +3 -0
  44. data/lib/lithic/models/events/subscription_send_simulated_example_params.rb +1 -0
  45. data/lib/lithic/models/events/subscription_update_params.rb +3 -0
  46. data/lib/lithic/models/external_payment.rb +6 -0
  47. data/lib/lithic/models/external_payment_create_params.rb +1 -0
  48. data/lib/lithic/models/external_payment_list_params.rb +1 -0
  49. data/lib/lithic/models/financial_accounts/installment_plan.rb +311 -0
  50. data/lib/lithic/models/financial_accounts/installment_plan_list_params.rb +75 -0
  51. data/lib/lithic/models/financial_accounts/installment_plan_retrieve_params.rb +32 -0
  52. data/lib/lithic/models/financial_accounts/installment_plans/installment_plan_statement.rb +279 -0
  53. data/lib/lithic/models/financial_accounts/installment_plans/statement_list_params.rb +106 -0
  54. data/lib/lithic/models/financial_accounts/installment_plans/statement_retrieve_params.rb +42 -0
  55. data/lib/lithic/models/financial_accounts/loan_tape.rb +62 -1
  56. data/lib/lithic/models/financial_accounts/open_to_buy.rb +36 -0
  57. data/lib/lithic/models/financial_accounts/open_to_buy_retrieve_params.rb +22 -0
  58. data/lib/lithic/models/financial_accounts/open_to_buy_summary.rb +46 -0
  59. data/lib/lithic/models/financial_accounts/statements/statement_line_items.rb +10 -0
  60. data/lib/lithic/models/financial_accounts/transaction_category_balances.rb +34 -0
  61. data/lib/lithic/models/financial_event.rb +9 -0
  62. data/lib/lithic/models/kyb.rb +4 -2
  63. data/lib/lithic/models/kyb_business_entity.rb +35 -19
  64. data/lib/lithic/models/kyc.rb +2 -1
  65. data/lib/lithic/models/management_operation_create_params.rb +4 -0
  66. data/lib/lithic/models/management_operation_transaction.rb +4 -0
  67. data/lib/lithic/models/non_pci_card.rb +11 -1
  68. data/lib/lithic/models/parsed_webhook_event.rb +123 -67
  69. data/lib/lithic/models/payment.rb +3 -1
  70. data/lib/lithic/models/payment_create_stablecoin_params.rb +99 -0
  71. data/lib/lithic/models/payment_create_stablecoin_response.rb +19 -0
  72. data/lib/lithic/models/payment_list_params.rb +1 -0
  73. data/lib/lithic/models/payment_retry_params.rb +28 -1
  74. data/lib/lithic/models/payment_simulate_action_params.rb +1 -0
  75. data/lib/lithic/models/three_ds_authentication.rb +126 -1
  76. data/lib/lithic/models/transaction.rb +4 -1
  77. data/lib/lithic/models/transaction_simulate_authorization_params.rb +28 -4
  78. data/lib/lithic/models/transaction_simulate_credit_authorization_advice_params.rb +11 -1
  79. data/lib/lithic/models/transaction_simulate_return_params.rb +24 -1
  80. data/lib/lithic/models.rb +6 -0
  81. data/lib/lithic/resources/auth_rules/v2/backtests.rb +8 -8
  82. data/lib/lithic/resources/auth_rules/v2.rb +44 -8
  83. data/lib/lithic/resources/blockchain_recipients.rb +23 -0
  84. data/lib/lithic/resources/cards.rb +10 -4
  85. data/lib/lithic/resources/financial_accounts/installment_plans/statements.rb +107 -0
  86. data/lib/lithic/resources/financial_accounts/installment_plans.rb +86 -0
  87. data/lib/lithic/resources/financial_accounts/open_to_buy.rb +48 -0
  88. data/lib/lithic/resources/financial_accounts.rb +8 -0
  89. data/lib/lithic/resources/payments.rb +71 -3
  90. data/lib/lithic/resources/transactions.rb +17 -4
  91. data/lib/lithic/resources/webhooks.rb +18 -0
  92. data/lib/lithic/version.rb +1 -1
  93. data/lib/lithic.rb +21 -1
  94. data/rbi/lithic/models/account_activity_list_params.rbi +5 -0
  95. data/rbi/lithic/models/account_activity_list_response.rbi +5 -0
  96. data/rbi/lithic/models/account_activity_retrieve_transaction_response.rbi +5 -0
  97. data/rbi/lithic/models/account_holder_create_params.rbi +8 -4
  98. data/rbi/lithic/models/account_holder_simulate_enrollment_review_response.rbi +195 -90
  99. data/rbi/lithic/models/account_holder_update_params.rbi +12 -6
  100. data/rbi/lithic/models/account_holder_update_response.rbi +254 -117
  101. data/rbi/lithic/models/account_holder_updated_webhook_event.rbi +195 -90
  102. data/rbi/lithic/models/account_holders/account_holder_entity.rbi +59 -27
  103. data/rbi/lithic/models/account_holders/entity_create_params.rbi +65 -30
  104. data/rbi/lithic/models/address.rbi +57 -29
  105. data/rbi/lithic/models/address_update.rbi +50 -24
  106. data/rbi/lithic/models/auth_rules/auth_rule.rbi +60 -19
  107. data/rbi/lithic/models/auth_rules/auth_rule_condition.rbi +442 -13
  108. data/rbi/lithic/models/auth_rules/auth_rule_entities.rbi +163 -0
  109. data/rbi/lithic/models/auth_rules/auth_rule_entities_response.rbi +72 -0
  110. data/rbi/lithic/models/auth_rules/auth_rule_entity.rbi +199 -0
  111. data/rbi/lithic/models/auth_rules/auth_rule_version.rbi +0 -2
  112. data/rbi/lithic/models/auth_rules/conditional_3ds_action_parameters.rbi +67 -9
  113. data/rbi/lithic/models/auth_rules/conditional_attribute.rbi +193 -5
  114. data/rbi/lithic/models/auth_rules/conditional_authorization_action_parameters.rbi +3 -939
  115. data/rbi/lithic/models/auth_rules/conditional_authorization_adjustment_parameters.rbi +14 -0
  116. data/rbi/lithic/models/auth_rules/merchant_lock_parameters.rbi +14 -3
  117. data/rbi/lithic/models/auth_rules/report_stats.rbi +5 -0
  118. data/rbi/lithic/models/auth_rules/v2_create_params.rbi +358 -50
  119. data/rbi/lithic/models/auth_rules/v2_draft_params.rbi +0 -4
  120. data/rbi/lithic/models/auth_rules/v2_list_params.rbi +6 -3
  121. data/rbi/lithic/models/auth_rules/v2_list_results_response.rbi +5 -0
  122. data/rbi/lithic/models/auth_rules/v2_update_entities_params.rbi +68 -0
  123. data/rbi/lithic/models/auth_rules/v2_update_params.rbi +198 -5
  124. data/rbi/lithic/models/blockchain_recipient_retrieve_params.rbi +41 -0
  125. data/rbi/lithic/models/card_authorization.rbi +12 -0
  126. data/rbi/lithic/models/card_create_params.rbi +15 -0
  127. data/rbi/lithic/models/card_pin_updated_webhook_event.rbi +166 -0
  128. data/rbi/lithic/models/card_update_params.rbi +17 -0
  129. data/rbi/lithic/models/event.rbi +8 -0
  130. data/rbi/lithic/models/event_list_params.rbi +7 -0
  131. data/rbi/lithic/models/event_subscription.rbi +7 -0
  132. data/rbi/lithic/models/events/subscription_create_params.rbi +7 -0
  133. data/rbi/lithic/models/events/subscription_send_simulated_example_params.rbi +5 -0
  134. data/rbi/lithic/models/events/subscription_update_params.rbi +7 -0
  135. data/rbi/lithic/models/external_payment.rbi +30 -0
  136. data/rbi/lithic/models/external_payment_create_params.rbi +5 -0
  137. data/rbi/lithic/models/external_payment_list_params.rbi +5 -0
  138. data/rbi/lithic/models/financial_accounts/installment_plan.rbi +528 -0
  139. data/rbi/lithic/models/financial_accounts/installment_plan_list_params.rbi +155 -0
  140. data/rbi/lithic/models/financial_accounts/installment_plan_retrieve_params.rbi +56 -0
  141. data/rbi/lithic/models/financial_accounts/installment_plans/installment_plan_statement.rbi +452 -0
  142. data/rbi/lithic/models/financial_accounts/installment_plans/statement_list_params.rbi +191 -0
  143. data/rbi/lithic/models/financial_accounts/installment_plans/statement_retrieve_params.rbi +66 -0
  144. data/rbi/lithic/models/financial_accounts/loan_tape.rbi +119 -0
  145. data/rbi/lithic/models/financial_accounts/open_to_buy.rbi +64 -0
  146. data/rbi/lithic/models/financial_accounts/open_to_buy_retrieve_params.rbi +43 -0
  147. data/rbi/lithic/models/financial_accounts/open_to_buy_summary.rbi +73 -0
  148. data/rbi/lithic/models/financial_accounts/statements/statement_line_items.rbi +50 -0
  149. data/rbi/lithic/models/financial_accounts/transaction_category_balances.rbi +81 -0
  150. data/rbi/lithic/models/financial_event.rbi +35 -0
  151. data/rbi/lithic/models/kyb.rbi +8 -4
  152. data/rbi/lithic/models/kyb_business_entity.rbi +59 -27
  153. data/rbi/lithic/models/kyc.rbi +4 -2
  154. data/rbi/lithic/models/management_operation_create_params.rbi +20 -0
  155. data/rbi/lithic/models/management_operation_transaction.rbi +20 -0
  156. data/rbi/lithic/models/non_pci_card.rbi +12 -0
  157. data/rbi/lithic/models/parsed_webhook_event.rbi +196 -90
  158. data/rbi/lithic/models/payment.rbi +6 -2
  159. data/rbi/lithic/models/payment_create_stablecoin_params.rbi +162 -0
  160. data/rbi/lithic/models/payment_create_stablecoin_response.rbi +34 -0
  161. data/rbi/lithic/models/payment_list_params.rbi +2 -0
  162. data/rbi/lithic/models/payment_retry_params.rbi +47 -2
  163. data/rbi/lithic/models/payment_simulate_action_params.rbi +5 -0
  164. data/rbi/lithic/models/three_ds_authentication.rbi +292 -0
  165. data/rbi/lithic/models/transaction.rbi +14 -2
  166. data/rbi/lithic/models/transaction_simulate_authorization_params.rbi +42 -4
  167. data/rbi/lithic/models/transaction_simulate_credit_authorization_advice_params.rbi +15 -0
  168. data/rbi/lithic/models/transaction_simulate_return_params.rbi +30 -0
  169. data/rbi/lithic/models.rbi +7 -0
  170. data/rbi/lithic/resources/account_holders/entities.rbi +2 -1
  171. data/rbi/lithic/resources/auth_rules/v2/backtests.rbi +8 -8
  172. data/rbi/lithic/resources/auth_rules/v2.rbi +43 -8
  173. data/rbi/lithic/resources/blockchain_recipients.rbi +14 -0
  174. data/rbi/lithic/resources/cards.rbi +15 -2
  175. data/rbi/lithic/resources/financial_accounts/installment_plans/statements.rbi +86 -0
  176. data/rbi/lithic/resources/financial_accounts/installment_plans.rbi +73 -0
  177. data/rbi/lithic/resources/financial_accounts/open_to_buy.rbi +40 -0
  178. data/rbi/lithic/resources/financial_accounts.rbi +6 -0
  179. data/rbi/lithic/resources/payments.rbi +68 -2
  180. data/rbi/lithic/resources/transactions.rbi +31 -2
  181. data/rbi/lithic/resources/webhooks.rbi +1 -0
  182. data/sig/lithic/models/account_activity_list_params.rbs +2 -0
  183. data/sig/lithic/models/account_activity_list_response.rbs +2 -0
  184. data/sig/lithic/models/account_activity_retrieve_transaction_response.rbs +2 -0
  185. data/sig/lithic/models/account_holder_simulate_enrollment_review_response.rbs +39 -39
  186. data/sig/lithic/models/account_holder_update_response.rbs +52 -52
  187. data/sig/lithic/models/account_holder_updated_webhook_event.rbs +39 -39
  188. data/sig/lithic/models/account_holders/account_holder_entity.rbs +13 -13
  189. data/sig/lithic/models/account_holders/entity_create_params.rbs +13 -13
  190. data/sig/lithic/models/address.rbs +13 -13
  191. data/sig/lithic/models/address_update.rbs +8 -12
  192. data/sig/lithic/models/auth_rules/auth_rule.rbs +10 -7
  193. data/sig/lithic/models/auth_rules/auth_rule_condition.rbs +89 -3
  194. data/sig/lithic/models/auth_rules/auth_rule_entities.rbs +37 -0
  195. data/sig/lithic/models/auth_rules/auth_rule_entities_response.rbs +29 -0
  196. data/sig/lithic/models/auth_rules/auth_rule_entity.rbs +80 -0
  197. data/sig/lithic/models/auth_rules/auth_rule_version.rbs +1 -2
  198. data/sig/lithic/models/auth_rules/conditional_3ds_action_parameters.rbs +10 -0
  199. data/sig/lithic/models/auth_rules/conditional_attribute.rbs +46 -0
  200. data/sig/lithic/models/auth_rules/conditional_authorization_action_parameters.rbs +4 -204
  201. data/sig/lithic/models/auth_rules/conditional_authorization_adjustment_parameters.rbs +2 -0
  202. data/sig/lithic/models/auth_rules/merchant_lock_parameters.rbs +10 -3
  203. data/sig/lithic/models/auth_rules/report_stats.rbs +2 -0
  204. data/sig/lithic/models/auth_rules/v2_create_params.rbs +92 -16
  205. data/sig/lithic/models/auth_rules/v2_draft_params.rbs +1 -2
  206. data/sig/lithic/models/auth_rules/v2_list_results_response.rbs +2 -0
  207. data/sig/lithic/models/auth_rules/v2_update_entities_params.rbs +46 -0
  208. data/sig/lithic/models/auth_rules/v2_update_params.rbs +47 -1
  209. data/sig/lithic/models/blockchain_recipient_retrieve_params.rbs +24 -0
  210. data/sig/lithic/models/card_authorization.rbs +5 -0
  211. data/sig/lithic/models/card_create_params.rbs +7 -0
  212. data/sig/lithic/models/card_pin_updated_webhook_event.rbs +60 -0
  213. data/sig/lithic/models/card_update_params.rbs +8 -1
  214. data/sig/lithic/models/event.rbs +2 -0
  215. data/sig/lithic/models/event_list_params.rbs +2 -0
  216. data/sig/lithic/models/event_subscription.rbs +2 -0
  217. data/sig/lithic/models/events/subscription_create_params.rbs +2 -0
  218. data/sig/lithic/models/events/subscription_send_simulated_example_params.rbs +2 -0
  219. data/sig/lithic/models/events/subscription_update_params.rbs +2 -0
  220. data/sig/lithic/models/external_payment.rbs +12 -0
  221. data/sig/lithic/models/external_payment_create_params.rbs +2 -0
  222. data/sig/lithic/models/external_payment_list_params.rbs +2 -0
  223. data/sig/lithic/models/financial_accounts/installment_plan.rbs +227 -0
  224. data/sig/lithic/models/financial_accounts/installment_plan_list_params.rbs +69 -0
  225. data/sig/lithic/models/financial_accounts/installment_plan_retrieve_params.rbs +30 -0
  226. data/sig/lithic/models/financial_accounts/installment_plans/installment_plan_statement.rbs +191 -0
  227. data/sig/lithic/models/financial_accounts/installment_plans/statement_list_params.rbs +90 -0
  228. data/sig/lithic/models/financial_accounts/installment_plans/statement_retrieve_params.rbs +40 -0
  229. data/sig/lithic/models/financial_accounts/loan_tape.rbs +47 -0
  230. data/sig/lithic/models/financial_accounts/open_to_buy.rbs +27 -0
  231. data/sig/lithic/models/financial_accounts/open_to_buy_retrieve_params.rbs +26 -0
  232. data/sig/lithic/models/financial_accounts/open_to_buy_summary.rbs +32 -0
  233. data/sig/lithic/models/financial_accounts/statements/statement_line_items.rbs +20 -0
  234. data/sig/lithic/models/financial_accounts/transaction_category_balances.rbs +32 -0
  235. data/sig/lithic/models/financial_event.rbs +18 -0
  236. data/sig/lithic/models/kyb_business_entity.rbs +13 -13
  237. data/sig/lithic/models/management_operation_create_params.rbs +8 -0
  238. data/sig/lithic/models/management_operation_transaction.rbs +8 -0
  239. data/sig/lithic/models/non_pci_card.rbs +5 -0
  240. data/sig/lithic/models/parsed_webhook_event.rbs +40 -39
  241. data/sig/lithic/models/payment.rbs +2 -0
  242. data/sig/lithic/models/payment_create_stablecoin_params.rbs +84 -0
  243. data/sig/lithic/models/payment_create_stablecoin_response.rbs +15 -0
  244. data/sig/lithic/models/payment_list_params.rbs +2 -1
  245. data/sig/lithic/models/payment_retry_params.rbs +24 -1
  246. data/sig/lithic/models/payment_simulate_action_params.rbs +2 -0
  247. data/sig/lithic/models/three_ds_authentication.rbs +77 -0
  248. data/sig/lithic/models/transaction.rbs +4 -0
  249. data/sig/lithic/models/transaction_simulate_authorization_params.rbs +14 -0
  250. data/sig/lithic/models/transaction_simulate_credit_authorization_advice_params.rbs +7 -0
  251. data/sig/lithic/models/transaction_simulate_return_params.rbs +19 -1
  252. data/sig/lithic/models.rbs +6 -0
  253. data/sig/lithic/resources/auth_rules/v2.rbs +7 -0
  254. data/sig/lithic/resources/blockchain_recipients.rbs +5 -0
  255. data/sig/lithic/resources/cards.rbs +2 -0
  256. data/sig/lithic/resources/financial_accounts/installment_plans/statements.rbs +30 -0
  257. data/sig/lithic/resources/financial_accounts/installment_plans.rbs +26 -0
  258. data/sig/lithic/resources/financial_accounts/open_to_buy.rbs +14 -0
  259. data/sig/lithic/resources/financial_accounts.rbs +4 -0
  260. data/sig/lithic/resources/payments.rbs +12 -0
  261. data/sig/lithic/resources/transactions.rbs +5 -0
  262. data/sig/lithic/resources/webhooks.rbs +1 -0
  263. metadata +65 -5
  264. data/lib/lithic/models/auth_rules/conditional_block_parameters.rb +0 -20
  265. data/rbi/lithic/models/auth_rules/conditional_block_parameters.rbi +0 -37
  266. data/sig/lithic/models/auth_rules/conditional_block_parameters.rbs +0 -20
@@ -0,0 +1,39 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Lithic
4
+ module Models
5
+ module AuthRules
6
+ # @see Lithic::Resources::AuthRules::V2#update_entities
7
+ class V2UpdateEntitiesParams < Lithic::Internal::Type::BaseModel
8
+ extend Lithic::Internal::Type::RequestParameters::Converter
9
+ include Lithic::Internal::Type::RequestParameters
10
+
11
+ # @!attribute auth_rule_token
12
+ #
13
+ # @return [String]
14
+ required :auth_rule_token, String
15
+
16
+ # @!attribute add
17
+ # Entities to add to the rule's `include` and `exclude` lists
18
+ #
19
+ # @return [Lithic::Models::AuthRules::AuthRuleEntities, nil]
20
+ optional :add, -> { Lithic::AuthRules::AuthRuleEntities }
21
+
22
+ # @!attribute remove
23
+ # Entities to remove from the rule's `include` and `exclude` lists
24
+ #
25
+ # @return [Lithic::Models::AuthRules::AuthRuleEntities, nil]
26
+ optional :remove, -> { Lithic::AuthRules::AuthRuleEntities }
27
+
28
+ # @!method initialize(auth_rule_token:, add: nil, remove: nil, request_options: {})
29
+ # @param auth_rule_token [String]
30
+ #
31
+ # @param add [Lithic::Models::AuthRules::AuthRuleEntities] Entities to add to the rule's `include` and `exclude` lists
32
+ #
33
+ # @param remove [Lithic::Models::AuthRules::AuthRuleEntities] Entities to remove from the rule's `include` and `exclude` lists
34
+ #
35
+ # @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
36
+ end
37
+ end
38
+ end
39
+ end
@@ -14,32 +14,123 @@ module Lithic
14
14
  required :auth_rule_token, String
15
15
 
16
16
  # @!attribute body
17
+ # Replaces the rule's existing entities with the provided `include` and `exclude`
18
+ # lists. A missing list is treated as empty, so `include` must always be provided.
17
19
  #
18
- # @return [Lithic::Models::AuthRules::V2UpdateParams::Body::AccountLevelRule, Lithic::Models::AuthRules::V2UpdateParams::Body::CardLevelRule, Lithic::Models::AuthRules::V2UpdateParams::Body::ProgramLevelRule]
20
+ # @return [Lithic::Models::AuthRules::V2UpdateParams::Body::Rule, Lithic::Models::AuthRules::V2UpdateParams::Body::AccountLevelRule, Lithic::Models::AuthRules::V2UpdateParams::Body::CardLevelRule, Lithic::Models::AuthRules::V2UpdateParams::Body::ProgramLevelRule]
19
21
  required :body, union: -> { Lithic::AuthRules::V2UpdateParams::Body }
20
22
 
21
23
  # @!method initialize(auth_rule_token:, body:, request_options: {})
24
+ # Some parameter documentations has been truncated, see
25
+ # {Lithic::Models::AuthRules::V2UpdateParams} for more details.
26
+ #
22
27
  # @param auth_rule_token [String]
23
- # @param body [Lithic::Models::AuthRules::V2UpdateParams::Body::AccountLevelRule, Lithic::Models::AuthRules::V2UpdateParams::Body::CardLevelRule, Lithic::Models::AuthRules::V2UpdateParams::Body::ProgramLevelRule]
28
+ #
29
+ # @param body [Lithic::Models::AuthRules::V2UpdateParams::Body::Rule, Lithic::Models::AuthRules::V2UpdateParams::Body::AccountLevelRule, Lithic::Models::AuthRules::V2UpdateParams::Body::CardLevelRule, Lithic::Models::AuthRules::V2UpdateParams::Body::ProgramLevelRule] Replaces the rule's existing entities with the provided `include` and `exclude`
30
+ #
24
31
  # @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
25
32
 
33
+ # Replaces the rule's existing entities with the provided `include` and `exclude`
34
+ # lists. A missing list is treated as empty, so `include` must always be provided.
26
35
  module Body
27
36
  extend Lithic::Internal::Type::Union
28
37
 
38
+ # Replaces the rule's existing entities with the provided `include` and `exclude` lists. A missing list is treated as empty, so `include` must always be provided.
39
+ variant -> { Lithic::AuthRules::V2UpdateParams::Body::Rule }
40
+
41
+ # Deprecated: Use `entities` instead. Cannot be combined with `entities`.
29
42
  variant -> { Lithic::AuthRules::V2UpdateParams::Body::AccountLevelRule }
30
43
 
44
+ # Deprecated: Use `entities` instead. Cannot be combined with `entities`.
31
45
  variant -> { Lithic::AuthRules::V2UpdateParams::Body::CardLevelRule }
32
46
 
47
+ # Deprecated: Use `entities` instead. Cannot be combined with `entities`.
33
48
  variant -> { Lithic::AuthRules::V2UpdateParams::Body::ProgramLevelRule }
34
49
 
50
+ class Rule < Lithic::Internal::Type::BaseModel
51
+ # @!attribute entities
52
+ # The entities an Auth Rule applies to (`include`) and does not apply to
53
+ # (`exclude`). An exclusion overrides an inclusion, so a card excluded here is
54
+ # skipped even when the program, its account or one of its tags is included.
55
+ #
56
+ # The rule's resulting entities must satisfy these constraints after any write:
57
+ #
58
+ # - `include` must contain at least one entity.
59
+ # - If `PROGRAM` is included, it must be the only included entity.
60
+ # - `PROGRAM` cannot be excluded.
61
+ # - An entity cannot appear in both `include` and `exclude`, or twice in the same
62
+ # list.
63
+ # - A rule can have at most 1,000 entities across `include` and `exclude`, not
64
+ # counting `PROGRAM`.
65
+ # - Entity types must be valid for the rule's event stream.
66
+ # - `CARD`, `ACCOUNT` and `BUSINESS_ACCOUNT` tokens must belong to your program.
67
+ #
68
+ # @return [Lithic::Models::AuthRules::AuthRuleEntities, nil]
69
+ optional :entities, -> { Lithic::AuthRules::AuthRuleEntities }
70
+
71
+ # @!attribute name
72
+ # Auth Rule Name
73
+ #
74
+ # @return [String, nil]
75
+ optional :name, String, nil?: true
76
+
77
+ # @!attribute state
78
+ # The desired state of the Auth Rule.
79
+ #
80
+ # Note that only deactivating an Auth Rule through this endpoint is supported at
81
+ # this time. If you need to (re-)activate an Auth Rule the /promote endpoint
82
+ # should be used to promote a draft to the currently active version.
83
+ #
84
+ # @return [Symbol, Lithic::Models::AuthRules::V2UpdateParams::Body::Rule::State, nil]
85
+ optional :state, enum: -> { Lithic::AuthRules::V2UpdateParams::Body::Rule::State }
86
+
87
+ # @!method initialize(entities: nil, name: nil, state: nil)
88
+ # Some parameter documentations has been truncated, see
89
+ # {Lithic::Models::AuthRules::V2UpdateParams::Body::Rule} for more details.
90
+ #
91
+ # Replaces the rule's existing entities with the provided `include` and `exclude`
92
+ # lists. A missing list is treated as empty, so `include` must always be provided.
93
+ #
94
+ # @param entities [Lithic::Models::AuthRules::AuthRuleEntities] The entities an Auth Rule applies to (`include`) and does not apply to (`exclude
95
+ #
96
+ # @param name [String, nil] Auth Rule Name
97
+ #
98
+ # @param state [Symbol, Lithic::Models::AuthRules::V2UpdateParams::Body::Rule::State] The desired state of the Auth Rule.
99
+
100
+ # The desired state of the Auth Rule.
101
+ #
102
+ # Note that only deactivating an Auth Rule through this endpoint is supported at
103
+ # this time. If you need to (re-)activate an Auth Rule the /promote endpoint
104
+ # should be used to promote a draft to the currently active version.
105
+ #
106
+ # @see Lithic::Models::AuthRules::V2UpdateParams::Body::Rule#state
107
+ module State
108
+ extend Lithic::Internal::Type::Enum
109
+
110
+ INACTIVE = :INACTIVE
111
+
112
+ # @!method self.values
113
+ # @return [Array<Symbol>]
114
+ end
115
+ end
116
+
117
+ # @deprecated
35
118
  class AccountLevelRule < Lithic::Internal::Type::BaseModel
36
119
  # @!attribute account_tokens
120
+ # @deprecated
121
+ #
122
+ # Deprecated: Use `entities.include` with `ACCOUNT` entities instead.
123
+ #
37
124
  # Account tokens to which the Auth Rule applies.
38
125
  #
39
126
  # @return [Array<String>, nil]
40
127
  optional :account_tokens, Lithic::Internal::Type::ArrayOf[String]
41
128
 
42
129
  # @!attribute business_account_tokens
130
+ # @deprecated
131
+ #
132
+ # Deprecated: Use `entities.include` with `BUSINESS_ACCOUNT` entities instead.
133
+ #
43
134
  # Business Account tokens to which the Auth Rule applies.
44
135
  #
45
136
  # @return [Array<String>, nil]
@@ -66,9 +157,11 @@ module Lithic
66
157
  # {Lithic::Models::AuthRules::V2UpdateParams::Body::AccountLevelRule} for more
67
158
  # details.
68
159
  #
69
- # @param account_tokens [Array<String>] Account tokens to which the Auth Rule applies.
160
+ # Deprecated: Use `entities` instead. Cannot be combined with `entities`.
70
161
  #
71
- # @param business_account_tokens [Array<String>] Business Account tokens to which the Auth Rule applies.
162
+ # @param account_tokens [Array<String>] Deprecated: Use `entities.include` with `ACCOUNT` entities instead.
163
+ #
164
+ # @param business_account_tokens [Array<String>] Deprecated: Use `entities.include` with `BUSINESS_ACCOUNT` entities instead.
72
165
  #
73
166
  # @param name [String, nil] Auth Rule Name
74
167
  #
@@ -91,9 +184,15 @@ module Lithic
91
184
  end
92
185
  end
93
186
 
187
+ # @deprecated
94
188
  class CardLevelRule < Lithic::Internal::Type::BaseModel
95
189
  # @!attribute card_tokens
96
- # Card tokens to which the Auth Rule applies.
190
+ # @deprecated
191
+ #
192
+ # Deprecated: Use `entities.include` with `CARD` entities instead.
193
+ #
194
+ # Card tokens to which the Auth Rule applies. Cards the rule applies to through a
195
+ # `CARD_TAG` entity are not listed.
97
196
  #
98
197
  # @return [Array<String>, nil]
99
198
  optional :card_tokens, Lithic::Internal::Type::ArrayOf[String]
@@ -119,7 +218,9 @@ module Lithic
119
218
  # {Lithic::Models::AuthRules::V2UpdateParams::Body::CardLevelRule} for more
120
219
  # details.
121
220
  #
122
- # @param card_tokens [Array<String>] Card tokens to which the Auth Rule applies.
221
+ # Deprecated: Use `entities` instead. Cannot be combined with `entities`.
222
+ #
223
+ # @param card_tokens [Array<String>] Deprecated: Use `entities.include` with `CARD` entities instead.
123
224
  #
124
225
  # @param name [String, nil] Auth Rule Name
125
226
  #
@@ -142,21 +243,35 @@ module Lithic
142
243
  end
143
244
  end
144
245
 
246
+ # @deprecated
145
247
  class ProgramLevelRule < Lithic::Internal::Type::BaseModel
146
248
  # @!attribute excluded_account_tokens
249
+ # @deprecated
250
+ #
251
+ # Deprecated: Use `entities.exclude` with `ACCOUNT` entities instead.
252
+ #
147
253
  # Account tokens to which the Auth Rule does not apply.
148
254
  #
149
255
  # @return [Array<String>, nil]
150
256
  optional :excluded_account_tokens, Lithic::Internal::Type::ArrayOf[String]
151
257
 
152
258
  # @!attribute excluded_business_account_tokens
259
+ # @deprecated
260
+ #
261
+ # Deprecated: Use `entities.exclude` with `BUSINESS_ACCOUNT` entities instead.
262
+ #
153
263
  # Business account tokens to which the Auth Rule does not apply.
154
264
  #
155
265
  # @return [Array<String>, nil]
156
266
  optional :excluded_business_account_tokens, Lithic::Internal::Type::ArrayOf[String]
157
267
 
158
268
  # @!attribute excluded_card_tokens
159
- # Card tokens to which the Auth Rule does not apply.
269
+ # @deprecated
270
+ #
271
+ # Deprecated: Use `entities.exclude` with `CARD` entities instead.
272
+ #
273
+ # Card tokens to which the Auth Rule does not apply. Cards excluded through a
274
+ # `CARD_TAG` entity are not listed.
160
275
  #
161
276
  # @return [Array<String>, nil]
162
277
  optional :excluded_card_tokens, Lithic::Internal::Type::ArrayOf[String]
@@ -168,6 +283,10 @@ module Lithic
168
283
  optional :name, String, nil?: true
169
284
 
170
285
  # @!attribute program_level
286
+ # @deprecated
287
+ #
288
+ # Deprecated: Use `entities.include` with a `PROGRAM` entity instead.
289
+ #
171
290
  # Whether the Auth Rule applies to all authorizations on the card program.
172
291
  #
173
292
  # @return [Boolean, nil]
@@ -188,15 +307,17 @@ module Lithic
188
307
  # {Lithic::Models::AuthRules::V2UpdateParams::Body::ProgramLevelRule} for more
189
308
  # details.
190
309
  #
191
- # @param excluded_account_tokens [Array<String>] Account tokens to which the Auth Rule does not apply.
310
+ # Deprecated: Use `entities` instead. Cannot be combined with `entities`.
311
+ #
312
+ # @param excluded_account_tokens [Array<String>] Deprecated: Use `entities.exclude` with `ACCOUNT` entities instead.
192
313
  #
193
- # @param excluded_business_account_tokens [Array<String>] Business account tokens to which the Auth Rule does not apply.
314
+ # @param excluded_business_account_tokens [Array<String>] Deprecated: Use `entities.exclude` with `BUSINESS_ACCOUNT` entities instead.
194
315
  #
195
- # @param excluded_card_tokens [Array<String>] Card tokens to which the Auth Rule does not apply.
316
+ # @param excluded_card_tokens [Array<String>] Deprecated: Use `entities.exclude` with `CARD` entities instead.
196
317
  #
197
318
  # @param name [String, nil] Auth Rule Name
198
319
  #
199
- # @param program_level [Boolean] Whether the Auth Rule applies to all authorizations on the card program.
320
+ # @param program_level [Boolean] Deprecated: Use `entities.include` with a `PROGRAM` entity instead.
200
321
  #
201
322
  # @param state [Symbol, Lithic::Models::AuthRules::V2UpdateParams::Body::ProgramLevelRule::State] The desired state of the Auth Rule.
202
323
 
@@ -218,7 +339,7 @@ module Lithic
218
339
  end
219
340
 
220
341
  # @!method self.variants
221
- # @return [Array(Lithic::Models::AuthRules::V2UpdateParams::Body::AccountLevelRule, Lithic::Models::AuthRules::V2UpdateParams::Body::CardLevelRule, Lithic::Models::AuthRules::V2UpdateParams::Body::ProgramLevelRule)]
342
+ # @return [Array(Lithic::Models::AuthRules::V2UpdateParams::Body::Rule, Lithic::Models::AuthRules::V2UpdateParams::Body::AccountLevelRule, Lithic::Models::AuthRules::V2UpdateParams::Body::CardLevelRule, Lithic::Models::AuthRules::V2UpdateParams::Body::ProgramLevelRule)]
222
343
  end
223
344
  end
224
345
  end
@@ -0,0 +1,20 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Lithic
4
+ module Models
5
+ # @see Lithic::Resources::BlockchainRecipients#retrieve
6
+ class BlockchainRecipientRetrieveParams < Lithic::Internal::Type::BaseModel
7
+ extend Lithic::Internal::Type::RequestParameters::Converter
8
+ include Lithic::Internal::Type::RequestParameters
9
+
10
+ # @!attribute blockchain_recipient_token
11
+ #
12
+ # @return [String]
13
+ required :blockchain_recipient_token, String
14
+
15
+ # @!method initialize(blockchain_recipient_token:, request_options: {})
16
+ # @param blockchain_recipient_token [String]
17
+ # @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
18
+ end
19
+ end
20
+ end
@@ -532,12 +532,20 @@ module Lithic
532
532
  # @return [Symbol, Lithic::Models::CardAuthorization::Card::State]
533
533
  required :state, enum: -> { Lithic::CardAuthorization::Card::State }
534
534
 
535
+ # @!attribute tags
536
+ # Key-value pairs for tagging resources. Tags allow you to associate arbitrary
537
+ # metadata with a resource for your own purposes. A resource can have at most 50
538
+ # tags, with keys up to 40 characters and values up to 500 characters
539
+ #
540
+ # @return [Hash{Symbol=>String}]
541
+ required :tags, Lithic::Internal::Type::HashOf[String]
542
+
535
543
  # @!attribute type
536
544
  #
537
545
  # @return [Symbol, Lithic::Models::CardAuthorization::Card::Type]
538
546
  required :type, enum: -> { Lithic::CardAuthorization::Card::Type }
539
547
 
540
- # @!method initialize(token:, last_four:, memo:, spend_limit:, spend_limit_duration:, state:, type:)
548
+ # @!method initialize(token:, last_four:, memo:, spend_limit:, spend_limit_duration:, state:, tags:, type:)
541
549
  # Some parameter documentations has been truncated, see
542
550
  # {Lithic::Models::CardAuthorization::Card} for more details.
543
551
  #
@@ -555,6 +563,8 @@ module Lithic
555
563
  #
556
564
  # @param state [Symbol, Lithic::Models::CardAuthorization::Card::State]
557
565
  #
566
+ # @param tags [Hash{Symbol=>String}] Key-value pairs for tagging resources. Tags allow you to associate arbitrary met
567
+ #
558
568
  # @param type [Symbol, Lithic::Models::CardAuthorization::Card::Type]
559
569
 
560
570
  # Note that to support recurring monthly payments, which can occur on different
@@ -229,12 +229,20 @@ module Lithic
229
229
  # @return [Symbol, Lithic::Models::CardCreateParams::State, nil]
230
230
  optional :state, enum: -> { Lithic::CardCreateParams::State }
231
231
 
232
+ # @!attribute tags
233
+ # Key-value pairs to tag the card with. A replacement card does not inherit tags
234
+ # from the card it replaces. A card can have at most 50 tags, with keys up to 40
235
+ # characters and values up to 500 characters
236
+ #
237
+ # @return [Hash{Symbol=>String}, nil]
238
+ optional :tags, Lithic::Internal::Type::HashOf[String]
239
+
232
240
  # @!attribute idempotency_key
233
241
  #
234
242
  # @return [String, nil]
235
243
  optional :idempotency_key, String
236
244
 
237
- # @!method initialize(type:, account_token: nil, bulk_order_token: nil, card_program_token: nil, carrier: nil, digital_card_art_token: nil, exp_month: nil, exp_year: nil, memo: nil, pin: nil, product_id: nil, replacement_account_token: nil, replacement_comment: nil, replacement_for: nil, replacement_substatus: nil, shipping_address: nil, shipping_method: nil, spend_limit: nil, spend_limit_duration: nil, state: nil, idempotency_key: nil, request_options: {})
245
+ # @!method initialize(type:, account_token: nil, bulk_order_token: nil, card_program_token: nil, carrier: nil, digital_card_art_token: nil, exp_month: nil, exp_year: nil, memo: nil, pin: nil, product_id: nil, replacement_account_token: nil, replacement_comment: nil, replacement_for: nil, replacement_substatus: nil, shipping_address: nil, shipping_method: nil, spend_limit: nil, spend_limit_duration: nil, state: nil, tags: nil, idempotency_key: nil, request_options: {})
238
246
  # Some parameter documentations has been truncated, see
239
247
  # {Lithic::Models::CardCreateParams} for more details.
240
248
  #
@@ -278,6 +286,8 @@ module Lithic
278
286
  #
279
287
  # @param state [Symbol, Lithic::Models::CardCreateParams::State] Card state values:
280
288
  #
289
+ # @param tags [Hash{Symbol=>String}] Key-value pairs to tag the card with. A replacement card does not inherit tags f
290
+ #
281
291
  # @param idempotency_key [String]
282
292
  #
283
293
  # @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
@@ -0,0 +1,87 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Lithic
4
+ module Models
5
+ class CardPinUpdatedWebhookEvent < Lithic::Internal::Type::BaseModel
6
+ # @!attribute card_token
7
+ # The token of the card whose PIN or PIN status was updated
8
+ #
9
+ # @return [String]
10
+ required :card_token, String
11
+
12
+ # @!attribute event_type
13
+ # The type of event that occurred.
14
+ #
15
+ # @return [Symbol, :"card.pin_updated"]
16
+ required :event_type, const: :"card.pin_updated"
17
+
18
+ # @!attribute pin_status
19
+ # The card's PIN status after the update
20
+ #
21
+ # @return [Symbol, Lithic::Models::CardPinUpdatedWebhookEvent::PinStatus]
22
+ required :pin_status, enum: -> { Lithic::CardPinUpdatedWebhookEvent::PinStatus }
23
+
24
+ # @!attribute status_reason
25
+ # The reason for the PIN update:
26
+ #
27
+ # - `PIN_SET` - The PIN was set for the first time; `pin_status` is `OK`
28
+ # - `PIN_CHANGED` - The PIN was changed, including when changing a blocked PIN;
29
+ # `pin_status` is `OK`
30
+ # - `PIN_UNBLOCKED` - The PIN was unblocked without changing it; `pin_status` is
31
+ # `OK`
32
+ # - `EXCESSIVE_PIN_ATTEMPTS` - The PIN was blocked due to excessive incorrect PIN
33
+ # attempts; `pin_status` is `BLOCKED`
34
+ #
35
+ # @return [Symbol, Lithic::Models::CardPinUpdatedWebhookEvent::StatusReason]
36
+ required :status_reason, enum: -> { Lithic::CardPinUpdatedWebhookEvent::StatusReason }
37
+
38
+ # @!method initialize(card_token:, pin_status:, status_reason:, event_type: :"card.pin_updated")
39
+ # Some parameter documentations has been truncated, see
40
+ # {Lithic::Models::CardPinUpdatedWebhookEvent} for more details.
41
+ #
42
+ # @param card_token [String] The token of the card whose PIN or PIN status was updated
43
+ #
44
+ # @param pin_status [Symbol, Lithic::Models::CardPinUpdatedWebhookEvent::PinStatus] The card's PIN status after the update
45
+ #
46
+ # @param status_reason [Symbol, Lithic::Models::CardPinUpdatedWebhookEvent::StatusReason] The reason for the PIN update:
47
+ #
48
+ # @param event_type [Symbol, :"card.pin_updated"] The type of event that occurred.
49
+
50
+ # The card's PIN status after the update
51
+ #
52
+ # @see Lithic::Models::CardPinUpdatedWebhookEvent#pin_status
53
+ module PinStatus
54
+ extend Lithic::Internal::Type::Enum
55
+
56
+ OK = :OK
57
+ BLOCKED = :BLOCKED
58
+
59
+ # @!method self.values
60
+ # @return [Array<Symbol>]
61
+ end
62
+
63
+ # The reason for the PIN update:
64
+ #
65
+ # - `PIN_SET` - The PIN was set for the first time; `pin_status` is `OK`
66
+ # - `PIN_CHANGED` - The PIN was changed, including when changing a blocked PIN;
67
+ # `pin_status` is `OK`
68
+ # - `PIN_UNBLOCKED` - The PIN was unblocked without changing it; `pin_status` is
69
+ # `OK`
70
+ # - `EXCESSIVE_PIN_ATTEMPTS` - The PIN was blocked due to excessive incorrect PIN
71
+ # attempts; `pin_status` is `BLOCKED`
72
+ #
73
+ # @see Lithic::Models::CardPinUpdatedWebhookEvent#status_reason
74
+ module StatusReason
75
+ extend Lithic::Internal::Type::Enum
76
+
77
+ PIN_SET = :PIN_SET
78
+ PIN_CHANGED = :PIN_CHANGED
79
+ PIN_UNBLOCKED = :PIN_UNBLOCKED
80
+ EXCESSIVE_PIN_ATTEMPTS = :EXCESSIVE_PIN_ATTEMPTS
81
+
82
+ # @!method self.values
83
+ # @return [Array<Symbol>]
84
+ end
85
+ end
86
+ end
87
+ end
@@ -127,7 +127,16 @@ module Lithic
127
127
  # @return [Symbol, Lithic::Models::CardUpdateParams::Substatus, nil]
128
128
  optional :substatus, enum: -> { Lithic::CardUpdateParams::Substatus }
129
129
 
130
- # @!method initialize(card_token:, comment: nil, digital_card_art_token: nil, memo: nil, network_program_token: nil, pin: nil, pin_status: nil, spend_limit: nil, spend_limit_duration: nil, state: nil, substatus: nil, request_options: {})
130
+ # @!attribute tags
131
+ # Key-value pairs to merge into the card's tags. Supplied keys are added or
132
+ # overwritten, a key with a `null` value is removed, and omitted keys remain
133
+ # unchanged. A card can have at most 50 tags, with keys up to 40 characters and
134
+ # values up to 500 characters
135
+ #
136
+ # @return [Hash{Symbol=>String, nil}, nil]
137
+ optional :tags, Lithic::Internal::Type::HashOf[String, nil?: true]
138
+
139
+ # @!method initialize(card_token:, comment: nil, digital_card_art_token: nil, memo: nil, network_program_token: nil, pin: nil, pin_status: nil, spend_limit: nil, spend_limit_duration: nil, state: nil, substatus: nil, tags: nil, request_options: {})
131
140
  # Some parameter documentations has been truncated, see
132
141
  # {Lithic::Models::CardUpdateParams} for more details.
133
142
  #
@@ -153,6 +162,8 @@ module Lithic
153
162
  #
154
163
  # @param substatus [Symbol, Lithic::Models::CardUpdateParams::Substatus] Card state substatus values:
155
164
  #
165
+ # @param tags [Hash{Symbol=>String, nil}] Key-value pairs to merge into the card's tags. Supplied keys are added or overwr
166
+ #
156
167
  # @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
157
168
 
158
169
  # Indicates if a card is blocked due a PIN status issue (e.g. excessive incorrect
@@ -47,6 +47,8 @@ module Lithic
47
47
  # - card.converted: Occurs when a card is converted from virtual to physical
48
48
  # cards.
49
49
  # - card.created: Occurs when a new card is created.
50
+ # - card.pin_updated: Occurs when a card's PIN is set, changed, unblocked, or
51
+ # blocked due to excessive incorrect PIN attempts.
50
52
  # - card.reissued: Occurs when a card is reissued.
51
53
  # - card.renewed: Occurs when a card is renewed.
52
54
  # - card.shipped: Occurs when a card is shipped.
@@ -198,6 +200,8 @@ module Lithic
198
200
  # - card.converted: Occurs when a card is converted from virtual to physical
199
201
  # cards.
200
202
  # - card.created: Occurs when a new card is created.
203
+ # - card.pin_updated: Occurs when a card's PIN is set, changed, unblocked, or
204
+ # blocked due to excessive incorrect PIN attempts.
201
205
  # - card.reissued: Occurs when a card is reissued.
202
206
  # - card.renewed: Occurs when a card is renewed.
203
207
  # - card.shipped: Occurs when a card is shipped.
@@ -318,6 +322,7 @@ module Lithic
318
322
  CARD_TRANSACTION_UPDATED = :"card_transaction.updated"
319
323
  CARD_CONVERTED = :"card.converted"
320
324
  CARD_CREATED = :"card.created"
325
+ CARD_PIN_UPDATED = :"card.pin_updated"
321
326
  CARD_REISSUED = :"card.reissued"
322
327
  CARD_RENEWED = :"card.renewed"
323
328
  CARD_SHIPPED = :"card.shipped"
@@ -101,6 +101,8 @@ module Lithic
101
101
  # - card.converted: Occurs when a card is converted from virtual to physical
102
102
  # cards.
103
103
  # - card.created: Occurs when a new card is created.
104
+ # - card.pin_updated: Occurs when a card's PIN is set, changed, unblocked, or
105
+ # blocked due to excessive incorrect PIN attempts.
104
106
  # - card.reissued: Occurs when a card is reissued.
105
107
  # - card.renewed: Occurs when a card is renewed.
106
108
  # - card.shipped: Occurs when a card is shipped.
@@ -219,6 +221,7 @@ module Lithic
219
221
  CARD_TRANSACTION_UPDATED = :"card_transaction.updated"
220
222
  CARD_CONVERTED = :"card.converted"
221
223
  CARD_CREATED = :"card.created"
224
+ CARD_PIN_UPDATED = :"card.pin_updated"
222
225
  CARD_REISSUED = :"card.reissued"
223
226
  CARD_RENEWED = :"card.renewed"
224
227
  CARD_SHIPPED = :"card.shipped"
@@ -74,6 +74,8 @@ module Lithic
74
74
  # - card.converted: Occurs when a card is converted from virtual to physical
75
75
  # cards.
76
76
  # - card.created: Occurs when a new card is created.
77
+ # - card.pin_updated: Occurs when a card's PIN is set, changed, unblocked, or
78
+ # blocked due to excessive incorrect PIN attempts.
77
79
  # - card.reissued: Occurs when a card is reissued.
78
80
  # - card.renewed: Occurs when a card is renewed.
79
81
  # - card.shipped: Occurs when a card is shipped.
@@ -192,6 +194,7 @@ module Lithic
192
194
  CARD_TRANSACTION_UPDATED = :"card_transaction.updated"
193
195
  CARD_CONVERTED = :"card.converted"
194
196
  CARD_CREATED = :"card.created"
197
+ CARD_PIN_UPDATED = :"card.pin_updated"
195
198
  CARD_REISSUED = :"card.reissued"
196
199
  CARD_RENEWED = :"card.renewed"
197
200
  CARD_SHIPPED = :"card.shipped"
@@ -76,6 +76,8 @@ module Lithic
76
76
  # - card.converted: Occurs when a card is converted from virtual to physical
77
77
  # cards.
78
78
  # - card.created: Occurs when a new card is created.
79
+ # - card.pin_updated: Occurs when a card's PIN is set, changed, unblocked, or
80
+ # blocked due to excessive incorrect PIN attempts.
79
81
  # - card.reissued: Occurs when a card is reissued.
80
82
  # - card.renewed: Occurs when a card is renewed.
81
83
  # - card.shipped: Occurs when a card is shipped.
@@ -194,6 +196,7 @@ module Lithic
194
196
  CARD_TRANSACTION_UPDATED = :"card_transaction.updated"
195
197
  CARD_CONVERTED = :"card.converted"
196
198
  CARD_CREATED = :"card.created"
199
+ CARD_PIN_UPDATED = :"card.pin_updated"
197
200
  CARD_REISSUED = :"card.reissued"
198
201
  CARD_RENEWED = :"card.renewed"
199
202
  CARD_SHIPPED = :"card.shipped"
@@ -45,6 +45,7 @@ module Lithic
45
45
  CARD_TRANSACTION_UPDATED = :"card_transaction.updated"
46
46
  CARD_CONVERTED = :"card.converted"
47
47
  CARD_CREATED = :"card.created"
48
+ CARD_PIN_UPDATED = :"card.pin_updated"
48
49
  CARD_REISSUED = :"card.reissued"
49
50
  CARD_RENEWED = :"card.renewed"
50
51
  CARD_SHIPPED = :"card.shipped"
@@ -83,6 +83,8 @@ module Lithic
83
83
  # - card.converted: Occurs when a card is converted from virtual to physical
84
84
  # cards.
85
85
  # - card.created: Occurs when a new card is created.
86
+ # - card.pin_updated: Occurs when a card's PIN is set, changed, unblocked, or
87
+ # blocked due to excessive incorrect PIN attempts.
86
88
  # - card.reissued: Occurs when a card is reissued.
87
89
  # - card.renewed: Occurs when a card is renewed.
88
90
  # - card.shipped: Occurs when a card is shipped.
@@ -201,6 +203,7 @@ module Lithic
201
203
  CARD_TRANSACTION_UPDATED = :"card_transaction.updated"
202
204
  CARD_CONVERTED = :"card.converted"
203
205
  CARD_CREATED = :"card.created"
206
+ CARD_PIN_UPDATED = :"card.pin_updated"
204
207
  CARD_REISSUED = :"card.reissued"
205
208
  CARD_RENEWED = :"card.renewed"
206
209
  CARD_SHIPPED = :"card.shipped"
@@ -134,6 +134,7 @@ module Lithic
134
134
  EXTERNAL_CHECK = :EXTERNAL_CHECK
135
135
  EXTERNAL_FEDNOW = :EXTERNAL_FEDNOW
136
136
  EXTERNAL_RTP = :EXTERNAL_RTP
137
+ EXTERNAL_STABLECOIN = :EXTERNAL_STABLECOIN
137
138
  EXTERNAL_TRANSFER = :EXTERNAL_TRANSFER
138
139
 
139
140
  # @!method self.values
@@ -247,6 +248,11 @@ module Lithic
247
248
  EXTERNAL_RTP_SETTLED = :EXTERNAL_RTP_SETTLED
248
249
  EXTERNAL_RTP_REVERSED = :EXTERNAL_RTP_REVERSED
249
250
  EXTERNAL_RTP_RELEASED = :EXTERNAL_RTP_RELEASED
251
+ EXTERNAL_STABLECOIN_INITIATED = :EXTERNAL_STABLECOIN_INITIATED
252
+ EXTERNAL_STABLECOIN_CANCELED = :EXTERNAL_STABLECOIN_CANCELED
253
+ EXTERNAL_STABLECOIN_SETTLED = :EXTERNAL_STABLECOIN_SETTLED
254
+ EXTERNAL_STABLECOIN_REVERSED = :EXTERNAL_STABLECOIN_REVERSED
255
+ EXTERNAL_STABLECOIN_RELEASED = :EXTERNAL_STABLECOIN_RELEASED
250
256
 
251
257
  # @!method self.values
252
258
  # @return [Array<Symbol>]
@@ -86,6 +86,7 @@ module Lithic
86
86
  EXTERNAL_CHECK = :EXTERNAL_CHECK
87
87
  EXTERNAL_FEDNOW = :EXTERNAL_FEDNOW
88
88
  EXTERNAL_RTP = :EXTERNAL_RTP
89
+ EXTERNAL_STABLECOIN = :EXTERNAL_STABLECOIN
89
90
  EXTERNAL_TRANSFER = :EXTERNAL_TRANSFER
90
91
 
91
92
  # @!method self.values
@@ -106,6 +106,7 @@ module Lithic
106
106
  EXTERNAL_CHECK = :EXTERNAL_CHECK
107
107
  EXTERNAL_FEDNOW = :EXTERNAL_FEDNOW
108
108
  EXTERNAL_RTP = :EXTERNAL_RTP
109
+ EXTERNAL_STABLECOIN = :EXTERNAL_STABLECOIN
109
110
  EXTERNAL_TRANSFER = :EXTERNAL_TRANSFER
110
111
 
111
112
  # @!method self.values