lithic 0.21.0 → 0.23.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 (235) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +50 -0
  3. data/README.md +1 -10
  4. data/lib/lithic/client.rb +4 -0
  5. data/lib/lithic/internal/type/union.rb +21 -7
  6. data/lib/lithic/models/account_activity_list_params.rb +1 -0
  7. data/lib/lithic/models/account_activity_list_response.rb +2 -24
  8. data/lib/lithic/models/account_activity_retrieve_transaction_response.rb +2 -24
  9. data/lib/lithic/models/account_holder_create_params.rb +4 -2
  10. data/lib/lithic/models/account_holder_simulate_enrollment_review_response.rb +120 -66
  11. data/lib/lithic/models/account_holder_update_params.rb +6 -3
  12. data/lib/lithic/models/account_holder_update_response.rb +156 -86
  13. data/lib/lithic/models/account_holder_updated_webhook_event.rb +120 -66
  14. data/lib/lithic/models/account_holders/account_holder_entity.rb +35 -19
  15. data/lib/lithic/models/account_holders/entity_create_params.rb +39 -21
  16. data/lib/lithic/models/address.rb +33 -19
  17. data/lib/lithic/models/address_update.rb +27 -11
  18. data/lib/lithic/models/auth_rules/auth_rule.rb +55 -27
  19. data/lib/lithic/models/auth_rules/auth_rule_condition.rb +189 -6
  20. data/lib/lithic/models/auth_rules/auth_rule_entities.rb +47 -0
  21. data/lib/lithic/models/auth_rules/auth_rule_entities_response.rb +31 -0
  22. data/lib/lithic/models/auth_rules/auth_rule_entity.rb +150 -0
  23. data/lib/lithic/models/auth_rules/auth_rule_version.rb +3 -6
  24. data/lib/lithic/models/auth_rules/conditional_3ds_action_parameters.rb +33 -6
  25. data/lib/lithic/models/auth_rules/conditional_attribute.rb +101 -5
  26. data/lib/lithic/models/auth_rules/conditional_authorization_action_parameters.rb +3 -439
  27. data/lib/lithic/models/auth_rules/conditional_authorization_adjustment_parameters.rb +7 -0
  28. data/lib/lithic/models/auth_rules/merchant_lock_parameters.rb +11 -1
  29. data/lib/lithic/models/auth_rules/v2_create_params.rb +203 -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_update_entities_params.rb +39 -0
  33. data/lib/lithic/models/auth_rules/v2_update_params.rb +133 -12
  34. data/lib/lithic/models/book_transfer_create_params.rb +1 -0
  35. data/lib/lithic/models/book_transfer_response.rb +1 -0
  36. data/lib/lithic/models/card_authorization.rb +12 -1
  37. data/lib/lithic/models/card_create_params.rb +11 -1
  38. data/lib/lithic/models/card_update_params.rb +12 -1
  39. data/lib/lithic/models/cards/financial_transaction_list_params.rb +9 -1
  40. data/lib/lithic/models/claim_created_webhook_event.rb +15 -1
  41. data/lib/lithic/models/claim_updated_webhook_event.rb +15 -1
  42. data/lib/lithic/models/financial_account_balance.rb +6 -6
  43. data/lib/lithic/models/financial_accounts/credit_configuration_update_params.rb +9 -2
  44. data/lib/lithic/models/financial_accounts/financial_transaction_list_params.rb +9 -1
  45. data/lib/lithic/models/financial_accounts/installment_plans/installment_plan_statement.rb +279 -0
  46. data/lib/lithic/models/financial_accounts/installment_plans/statement_list_params.rb +106 -0
  47. data/lib/lithic/models/financial_accounts/installment_plans/statement_retrieve_params.rb +42 -0
  48. data/lib/lithic/models/financial_accounts/interest_tier_schedule.rb +6 -6
  49. data/lib/lithic/models/financial_accounts/interest_tier_schedule_update_params.rb +6 -6
  50. data/lib/lithic/models/financial_accounts/loan_tape.rb +71 -2
  51. data/lib/lithic/models/financial_accounts/statements/statement_line_items.rb +5 -0
  52. data/lib/lithic/models/financial_event.rb +4 -0
  53. data/lib/lithic/models/funding_event_list_params.rb +28 -1
  54. data/lib/lithic/models/hold.rb +24 -28
  55. data/lib/lithic/models/ip_range_retrieve_params.rb +14 -0
  56. data/lib/lithic/models/ip_range_retrieve_response.rb +25 -0
  57. data/lib/lithic/models/kyb.rb +4 -2
  58. data/lib/lithic/models/kyb_business_entity.rb +35 -19
  59. data/lib/lithic/models/kyc.rb +2 -1
  60. data/lib/lithic/models/non_pci_card.rb +11 -1
  61. data/lib/lithic/models/parsed_webhook_event.rb +120 -66
  62. data/lib/lithic/models/payment.rb +3 -1
  63. data/lib/lithic/models/transaction.rb +11 -4
  64. data/lib/lithic/models/transaction_simulate_authorization_params.rb +28 -4
  65. data/lib/lithic/models/transaction_simulate_credit_authorization_advice_params.rb +11 -1
  66. data/lib/lithic/models/transaction_simulate_return_params.rb +24 -1
  67. data/lib/lithic/models/transactions/events/enhanced_data.rb +27 -3
  68. data/lib/lithic/models/transfer_limits_response.rb +9 -1
  69. data/lib/lithic/models.rb +2 -0
  70. data/lib/lithic/resources/auth_rules/v2/backtests.rb +8 -8
  71. data/lib/lithic/resources/auth_rules/v2.rb +44 -8
  72. data/lib/lithic/resources/cards/financial_transactions.rb +5 -3
  73. data/lib/lithic/resources/cards.rb +6 -2
  74. data/lib/lithic/resources/financial_accounts/credit_configuration.rb +9 -2
  75. data/lib/lithic/resources/financial_accounts/financial_transactions.rb +5 -3
  76. data/lib/lithic/resources/financial_accounts/installment_plans/statements.rb +107 -0
  77. data/lib/lithic/resources/financial_accounts/installment_plans.rb +4 -0
  78. data/lib/lithic/resources/financial_accounts/interest_tier_schedule.rb +6 -6
  79. data/lib/lithic/resources/funding_events.rb +8 -2
  80. data/lib/lithic/resources/ip_ranges.rb +36 -0
  81. data/lib/lithic/resources/transactions.rb +17 -4
  82. data/lib/lithic/resources/webhooks.rb +20 -0
  83. data/lib/lithic/version.rb +1 -1
  84. data/lib/lithic.rb +11 -1
  85. data/rbi/lithic/client.rbi +3 -0
  86. data/rbi/lithic/models/account_activity_list_params.rbi +5 -0
  87. data/rbi/lithic/models/account_activity_list_response.rbi +6 -75
  88. data/rbi/lithic/models/account_activity_retrieve_transaction_response.rbi +6 -75
  89. data/rbi/lithic/models/account_holder_create_params.rbi +8 -4
  90. data/rbi/lithic/models/account_holder_simulate_enrollment_review_response.rbi +195 -90
  91. data/rbi/lithic/models/account_holder_update_params.rbi +12 -6
  92. data/rbi/lithic/models/account_holder_update_response.rbi +254 -117
  93. data/rbi/lithic/models/account_holder_updated_webhook_event.rbi +195 -90
  94. data/rbi/lithic/models/account_holders/account_holder_entity.rbi +59 -27
  95. data/rbi/lithic/models/account_holders/entity_create_params.rbi +65 -30
  96. data/rbi/lithic/models/address.rbi +57 -29
  97. data/rbi/lithic/models/address_update.rbi +50 -24
  98. data/rbi/lithic/models/auth_rules/auth_rule.rbi +53 -19
  99. data/rbi/lithic/models/auth_rules/auth_rule_condition.rbi +442 -13
  100. data/rbi/lithic/models/auth_rules/auth_rule_entities.rbi +163 -0
  101. data/rbi/lithic/models/auth_rules/auth_rule_entities_response.rbi +72 -0
  102. data/rbi/lithic/models/auth_rules/auth_rule_entity.rbi +199 -0
  103. data/rbi/lithic/models/auth_rules/auth_rule_version.rbi +0 -2
  104. data/rbi/lithic/models/auth_rules/conditional_3ds_action_parameters.rbi +67 -9
  105. data/rbi/lithic/models/auth_rules/conditional_attribute.rbi +193 -5
  106. data/rbi/lithic/models/auth_rules/conditional_authorization_action_parameters.rbi +3 -939
  107. data/rbi/lithic/models/auth_rules/conditional_authorization_adjustment_parameters.rbi +14 -0
  108. data/rbi/lithic/models/auth_rules/merchant_lock_parameters.rbi +14 -3
  109. data/rbi/lithic/models/auth_rules/v2_create_params.rbi +325 -50
  110. data/rbi/lithic/models/auth_rules/v2_draft_params.rbi +0 -4
  111. data/rbi/lithic/models/auth_rules/v2_list_params.rbi +6 -3
  112. data/rbi/lithic/models/auth_rules/v2_update_entities_params.rbi +68 -0
  113. data/rbi/lithic/models/auth_rules/v2_update_params.rbi +198 -5
  114. data/rbi/lithic/models/book_transfer_create_params.rbi +5 -0
  115. data/rbi/lithic/models/book_transfer_response.rbi +5 -0
  116. data/rbi/lithic/models/card_authorization.rbi +14 -0
  117. data/rbi/lithic/models/card_create_params.rbi +15 -0
  118. data/rbi/lithic/models/card_update_params.rbi +17 -0
  119. data/rbi/lithic/models/cards/financial_transaction_list_params.rbi +11 -0
  120. data/rbi/lithic/models/claim_created_webhook_event.rbi +14 -0
  121. data/rbi/lithic/models/claim_updated_webhook_event.rbi +14 -0
  122. data/rbi/lithic/models/financial_account_balance.rbi +6 -6
  123. data/rbi/lithic/models/financial_accounts/credit_configuration_update_params.rbi +8 -2
  124. data/rbi/lithic/models/financial_accounts/financial_transaction_list_params.rbi +11 -0
  125. data/rbi/lithic/models/financial_accounts/installment_plans/installment_plan_statement.rbi +452 -0
  126. data/rbi/lithic/models/financial_accounts/installment_plans/statement_list_params.rbi +191 -0
  127. data/rbi/lithic/models/financial_accounts/installment_plans/statement_retrieve_params.rbi +66 -0
  128. data/rbi/lithic/models/financial_accounts/interest_tier_schedule.rbi +9 -18
  129. data/rbi/lithic/models/financial_accounts/interest_tier_schedule_update_params.rbi +9 -18
  130. data/rbi/lithic/models/financial_accounts/loan_tape.rbi +143 -3
  131. data/rbi/lithic/models/financial_accounts/statements/statement_line_items.rbi +25 -0
  132. data/rbi/lithic/models/financial_event.rbi +17 -0
  133. data/rbi/lithic/models/funding_event_list_params.rbi +39 -0
  134. data/rbi/lithic/models/hold.rbi +28 -29
  135. data/rbi/lithic/models/ip_range_retrieve_params.rbi +27 -0
  136. data/rbi/lithic/models/ip_range_retrieve_response.rbi +40 -0
  137. data/rbi/lithic/models/kyb.rbi +8 -4
  138. data/rbi/lithic/models/kyb_business_entity.rbi +59 -27
  139. data/rbi/lithic/models/kyc.rbi +4 -2
  140. data/rbi/lithic/models/non_pci_card.rbi +12 -0
  141. data/rbi/lithic/models/parsed_webhook_event.rbi +195 -90
  142. data/rbi/lithic/models/payment.rbi +5 -2
  143. data/rbi/lithic/models/transaction.rbi +15 -6
  144. data/rbi/lithic/models/transaction_simulate_authorization_params.rbi +42 -4
  145. data/rbi/lithic/models/transaction_simulate_credit_authorization_advice_params.rbi +15 -0
  146. data/rbi/lithic/models/transaction_simulate_return_params.rbi +30 -0
  147. data/rbi/lithic/models/transactions/events/enhanced_data.rbi +25 -5
  148. data/rbi/lithic/models/transfer_limits_response.rbi +8 -0
  149. data/rbi/lithic/models.rbi +2 -0
  150. data/rbi/lithic/resources/account_holders/entities.rbi +2 -1
  151. data/rbi/lithic/resources/auth_rules/v2/backtests.rbi +8 -8
  152. data/rbi/lithic/resources/auth_rules/v2.rbi +43 -8
  153. data/rbi/lithic/resources/cards/financial_transactions.rbi +4 -1
  154. data/rbi/lithic/resources/cards.rbi +11 -0
  155. data/rbi/lithic/resources/financial_accounts/credit_configuration.rbi +8 -2
  156. data/rbi/lithic/resources/financial_accounts/financial_transactions.rbi +4 -1
  157. data/rbi/lithic/resources/financial_accounts/installment_plans/statements.rbi +86 -0
  158. data/rbi/lithic/resources/financial_accounts/installment_plans.rbi +7 -0
  159. data/rbi/lithic/resources/financial_accounts/interest_tier_schedule.rbi +6 -6
  160. data/rbi/lithic/resources/funding_events.rbi +12 -0
  161. data/rbi/lithic/resources/ip_ranges.rbi +25 -0
  162. data/rbi/lithic/resources/transactions.rbi +31 -2
  163. data/sig/lithic/client.rbs +2 -0
  164. data/sig/lithic/models/account_activity_list_params.rbs +2 -0
  165. data/sig/lithic/models/account_activity_list_response.rbs +3 -32
  166. data/sig/lithic/models/account_activity_retrieve_transaction_response.rbs +3 -32
  167. data/sig/lithic/models/account_holder_simulate_enrollment_review_response.rbs +39 -39
  168. data/sig/lithic/models/account_holder_update_response.rbs +52 -52
  169. data/sig/lithic/models/account_holder_updated_webhook_event.rbs +39 -39
  170. data/sig/lithic/models/account_holders/account_holder_entity.rbs +13 -13
  171. data/sig/lithic/models/account_holders/entity_create_params.rbs +13 -13
  172. data/sig/lithic/models/address.rbs +13 -13
  173. data/sig/lithic/models/address_update.rbs +8 -12
  174. data/sig/lithic/models/auth_rules/auth_rule.rbs +8 -7
  175. data/sig/lithic/models/auth_rules/auth_rule_condition.rbs +89 -3
  176. data/sig/lithic/models/auth_rules/auth_rule_entities.rbs +37 -0
  177. data/sig/lithic/models/auth_rules/auth_rule_entities_response.rbs +29 -0
  178. data/sig/lithic/models/auth_rules/auth_rule_entity.rbs +80 -0
  179. data/sig/lithic/models/auth_rules/auth_rule_version.rbs +1 -2
  180. data/sig/lithic/models/auth_rules/conditional_3ds_action_parameters.rbs +10 -0
  181. data/sig/lithic/models/auth_rules/conditional_attribute.rbs +46 -0
  182. data/sig/lithic/models/auth_rules/conditional_authorization_action_parameters.rbs +4 -204
  183. data/sig/lithic/models/auth_rules/conditional_authorization_adjustment_parameters.rbs +2 -0
  184. data/sig/lithic/models/auth_rules/merchant_lock_parameters.rbs +10 -3
  185. data/sig/lithic/models/auth_rules/v2_create_params.rbs +86 -16
  186. data/sig/lithic/models/auth_rules/v2_draft_params.rbs +1 -2
  187. data/sig/lithic/models/auth_rules/v2_update_entities_params.rbs +46 -0
  188. data/sig/lithic/models/auth_rules/v2_update_params.rbs +47 -1
  189. data/sig/lithic/models/book_transfer_create_params.rbs +2 -0
  190. data/sig/lithic/models/book_transfer_response.rbs +2 -0
  191. data/sig/lithic/models/card_authorization.rbs +13 -1
  192. data/sig/lithic/models/card_create_params.rbs +7 -0
  193. data/sig/lithic/models/card_update_params.rbs +8 -1
  194. data/sig/lithic/models/cards/financial_transaction_list_params.rbs +7 -0
  195. data/sig/lithic/models/claim_created_webhook_event.rbs +5 -0
  196. data/sig/lithic/models/claim_updated_webhook_event.rbs +5 -0
  197. data/sig/lithic/models/financial_account_balance.rbs +8 -8
  198. data/sig/lithic/models/financial_accounts/financial_transaction_list_params.rbs +7 -0
  199. data/sig/lithic/models/financial_accounts/installment_plans/installment_plan_statement.rbs +191 -0
  200. data/sig/lithic/models/financial_accounts/installment_plans/statement_list_params.rbs +90 -0
  201. data/sig/lithic/models/financial_accounts/installment_plans/statement_retrieve_params.rbs +40 -0
  202. data/sig/lithic/models/financial_accounts/interest_tier_schedule.rbs +12 -18
  203. data/sig/lithic/models/financial_accounts/interest_tier_schedule_update_params.rbs +12 -18
  204. data/sig/lithic/models/financial_accounts/loan_tape.rbs +55 -3
  205. data/sig/lithic/models/financial_accounts/statements/statement_line_items.rbs +10 -0
  206. data/sig/lithic/models/financial_event.rbs +8 -0
  207. data/sig/lithic/models/funding_event_list_params.rbs +26 -1
  208. data/sig/lithic/models/hold.rbs +22 -30
  209. data/sig/lithic/models/ip_range_retrieve_params.rbs +15 -0
  210. data/sig/lithic/models/ip_range_retrieve_response.rbs +16 -0
  211. data/sig/lithic/models/kyb_business_entity.rbs +13 -13
  212. data/sig/lithic/models/non_pci_card.rbs +5 -0
  213. data/sig/lithic/models/parsed_webhook_event.rbs +39 -39
  214. data/sig/lithic/models/payment.rbs +2 -0
  215. data/sig/lithic/models/transaction.rbs +12 -5
  216. data/sig/lithic/models/transaction_simulate_authorization_params.rbs +14 -0
  217. data/sig/lithic/models/transaction_simulate_credit_authorization_advice_params.rbs +7 -0
  218. data/sig/lithic/models/transaction_simulate_return_params.rbs +19 -1
  219. data/sig/lithic/models/transactions/events/enhanced_data.rbs +13 -3
  220. data/sig/lithic/models/transfer_limits_response.rbs +5 -0
  221. data/sig/lithic/models.rbs +2 -0
  222. data/sig/lithic/resources/auth_rules/v2.rbs +7 -0
  223. data/sig/lithic/resources/cards/financial_transactions.rbs +2 -1
  224. data/sig/lithic/resources/cards.rbs +2 -0
  225. data/sig/lithic/resources/financial_accounts/financial_transactions.rbs +2 -1
  226. data/sig/lithic/resources/financial_accounts/installment_plans/statements.rbs +30 -0
  227. data/sig/lithic/resources/financial_accounts/installment_plans.rbs +2 -0
  228. data/sig/lithic/resources/financial_accounts/interest_tier_schedule.rbs +6 -6
  229. data/sig/lithic/resources/funding_events.rbs +3 -0
  230. data/sig/lithic/resources/ip_ranges.rbs +11 -0
  231. data/sig/lithic/resources/transactions.rbs +5 -0
  232. metadata +36 -10
  233. data/lib/lithic/models/auth_rules/conditional_block_parameters.rb +0 -20
  234. data/rbi/lithic/models/auth_rules/conditional_block_parameters.rbi +0 -37
  235. data/sig/lithic/models/auth_rules/conditional_block_parameters.rbs +0 -20
@@ -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
@@ -164,6 +164,7 @@ module Lithic
164
164
  COLLECTION = :COLLECTION
165
165
  LITHIC_PROGRAM_TRANSFER = :LITHIC_PROGRAM_TRANSFER
166
166
  BANK_PROGRAM_TRANSFER = :BANK_PROGRAM_TRANSFER
167
+ INSTANCE_TO_INSTANCE = :INSTANCE_TO_INSTANCE
167
168
 
168
169
  # @!method self.values
169
170
  # @return [Array<Symbol>]
@@ -304,6 +304,7 @@ module Lithic
304
304
  COLLECTION = :COLLECTION
305
305
  LITHIC_PROGRAM_TRANSFER = :LITHIC_PROGRAM_TRANSFER
306
306
  BANK_PROGRAM_TRANSFER = :BANK_PROGRAM_TRANSFER
307
+ INSTANCE_TO_INSTANCE = :INSTANCE_TO_INSTANCE
307
308
 
308
309
  # @!method self.values
309
310
  # @return [Array<Symbol>]
@@ -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
@@ -995,6 +1005,7 @@ module Lithic
995
1005
  module Network
996
1006
  extend Lithic::Internal::Type::Enum
997
1007
 
1008
+ ALLPOINT = :ALLPOINT
998
1009
  AMEX = :AMEX
999
1010
  INTERLINK = :INTERLINK
1000
1011
  MAESTRO = :MAESTRO
@@ -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}]
@@ -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
@@ -40,6 +40,12 @@ module Lithic
40
40
  # @return [String, nil]
41
41
  optional :ending_before, String
42
42
 
43
+ # @!attribute page_size
44
+ # Page size (for pagination).
45
+ #
46
+ # @return [Integer, nil]
47
+ optional :page_size, Integer
48
+
43
49
  # @!attribute result
44
50
  # Financial Transaction result to be returned.
45
51
  #
@@ -59,7 +65,7 @@ module Lithic
59
65
  # @return [Symbol, Lithic::Models::Cards::FinancialTransactionListParams::Status, nil]
60
66
  optional :status, enum: -> { Lithic::Cards::FinancialTransactionListParams::Status }
61
67
 
62
- # @!method initialize(card_token:, begin_: nil, category: nil, end_: nil, ending_before: nil, result: nil, starting_after: nil, status: nil, request_options: {})
68
+ # @!method initialize(card_token:, begin_: nil, category: nil, end_: nil, ending_before: nil, page_size: nil, result: nil, starting_after: nil, status: nil, request_options: {})
63
69
  # Some parameter documentations has been truncated, see
64
70
  # {Lithic::Models::Cards::FinancialTransactionListParams} for more details.
65
71
  #
@@ -73,6 +79,8 @@ module Lithic
73
79
  #
74
80
  # @param ending_before [String] A cursor representing an item's token before which a page of results should end.
75
81
  #
82
+ # @param page_size [Integer] Page size (for pagination).
83
+ #
76
84
  # @param result [Symbol, Lithic::Models::Cards::FinancialTransactionListParams::Result] Financial Transaction result to be returned.
77
85
  #
78
86
  # @param starting_after [String] A cursor representing an item's token after which a page of results should begin
@@ -59,6 +59,15 @@ module Lithic
59
59
  # @return [Symbol, Lithic::Models::ClaimCreatedWebhookEvent::Reason]
60
60
  required :reason, enum: -> { Lithic::ClaimCreatedWebhookEvent::Reason }
61
61
 
62
+ # @!attribute reference_id
63
+ # Identifier for the claim as displayed in the Lithic dashboard. Populated
64
+ # depending on your program's setup, null otherwise. Use it to match claims
65
+ # received through the API and webhooks to the dashboard. This is not the claim
66
+ # `token`, which is the identifier to use in API requests
67
+ #
68
+ # @return [String, nil]
69
+ required :reference_id, String, nil?: true
70
+
62
71
  # @!attribute status
63
72
  # Current lifecycle status of the claim
64
73
  #
@@ -77,7 +86,10 @@ module Lithic
77
86
  # @return [Time]
78
87
  required :updated, Time
79
88
 
80
- # @!method initialize(token:, account_holder_token:, account_token:, card_tokens:, created:, disputed_transactions:, outstanding_requirements:, reason:, status:, submitted:, updated:, event_type: :"claim.created")
89
+ # @!method initialize(token:, account_holder_token:, account_token:, card_tokens:, created:, disputed_transactions:, outstanding_requirements:, reason:, reference_id:, status:, submitted:, updated:, event_type: :"claim.created")
90
+ # Some parameter documentations has been truncated, see
91
+ # {Lithic::Models::ClaimCreatedWebhookEvent} for more details.
92
+ #
81
93
  # @param token [String] Unique identifier for the claim, in UUID format
82
94
  #
83
95
  # @param account_holder_token [String, nil] Token for the account holder that filed the claim
@@ -94,6 +106,8 @@ module Lithic
94
106
  #
95
107
  # @param reason [Symbol, Lithic::Models::ClaimCreatedWebhookEvent::Reason] Dispute reason code provided when creating the claim
96
108
  #
109
+ # @param reference_id [String, nil] Identifier for the claim as displayed in the Lithic dashboard. Populated dependi
110
+ #
97
111
  # @param status [Symbol, Lithic::Models::ClaimCreatedWebhookEvent::Status] Current lifecycle status of the claim
98
112
  #
99
113
  # @param submitted [Time, nil] When the claim was submitted. Null until the claim reaches `SUBMITTED` status
@@ -59,6 +59,15 @@ module Lithic
59
59
  # @return [Symbol, Lithic::Models::ClaimUpdatedWebhookEvent::Reason]
60
60
  required :reason, enum: -> { Lithic::ClaimUpdatedWebhookEvent::Reason }
61
61
 
62
+ # @!attribute reference_id
63
+ # Identifier for the claim as displayed in the Lithic dashboard. Populated
64
+ # depending on your program's setup, null otherwise. Use it to match claims
65
+ # received through the API and webhooks to the dashboard. This is not the claim
66
+ # `token`, which is the identifier to use in API requests
67
+ #
68
+ # @return [String, nil]
69
+ required :reference_id, String, nil?: true
70
+
62
71
  # @!attribute status
63
72
  # Current lifecycle status of the claim
64
73
  #
@@ -77,7 +86,10 @@ module Lithic
77
86
  # @return [Time]
78
87
  required :updated, Time
79
88
 
80
- # @!method initialize(token:, account_holder_token:, account_token:, card_tokens:, created:, disputed_transactions:, outstanding_requirements:, reason:, status:, submitted:, updated:, event_type: :"claim.updated")
89
+ # @!method initialize(token:, account_holder_token:, account_token:, card_tokens:, created:, disputed_transactions:, outstanding_requirements:, reason:, reference_id:, status:, submitted:, updated:, event_type: :"claim.updated")
90
+ # Some parameter documentations has been truncated, see
91
+ # {Lithic::Models::ClaimUpdatedWebhookEvent} for more details.
92
+ #
81
93
  # @param token [String] Unique identifier for the claim, in UUID format
82
94
  #
83
95
  # @param account_holder_token [String, nil] Token for the account holder that filed the claim
@@ -94,6 +106,8 @@ module Lithic
94
106
  #
95
107
  # @param reason [Symbol, Lithic::Models::ClaimUpdatedWebhookEvent::Reason] Dispute reason code provided when creating the claim
96
108
  #
109
+ # @param reference_id [String, nil] Identifier for the claim as displayed in the Lithic dashboard. Populated dependi
110
+ #
97
111
  # @param status [Symbol, Lithic::Models::ClaimUpdatedWebhookEvent::Status] Current lifecycle status of the claim
98
112
  #
99
113
  # @param submitted [Time, nil] When the claim was submitted. Null until the claim reaches `SUBMITTED` status
@@ -31,15 +31,15 @@ module Lithic
31
31
  # Globally unique identifier for the last financial transaction event that
32
32
  # impacted this balance.
33
33
  #
34
- # @return [String]
35
- required :last_transaction_event_token, String
34
+ # @return [String, nil]
35
+ required :last_transaction_event_token, String, nil?: true
36
36
 
37
37
  # @!attribute last_transaction_token
38
38
  # Globally unique identifier for the last financial transaction that impacted this
39
39
  # balance.
40
40
  #
41
- # @return [String]
42
- required :last_transaction_token, String
41
+ # @return [String, nil]
42
+ required :last_transaction_token, String, nil?: true
43
43
 
44
44
  # @!attribute pending_amount
45
45
  # Funds not available for spend due to card authorizations or pending ACH release.
@@ -81,9 +81,9 @@ module Lithic
81
81
  #
82
82
  # @param currency [String] 3-character alphabetic ISO 4217 code for the local currency of the balance.
83
83
  #
84
- # @param last_transaction_event_token [String] Globally unique identifier for the last financial transaction event that impacte
84
+ # @param last_transaction_event_token [String, nil] Globally unique identifier for the last financial transaction event that impacte
85
85
  #
86
- # @param last_transaction_token [String] Globally unique identifier for the last financial transaction that impacted this
86
+ # @param last_transaction_token [String, nil] Globally unique identifier for the last financial transaction that impacted this
87
87
  #
88
88
  # @param pending_amount [Integer] Funds not available for spend due to card authorizations or pending ACH release.
89
89
  #
@@ -25,7 +25,10 @@ module Lithic
25
25
  optional :credit_limit, Integer
26
26
 
27
27
  # @!attribute credit_product_token
28
- # Globally unique identifier for the credit product
28
+ # Globally unique identifier for the credit product. This can only be set while
29
+ # the financial account is in the `PENDING` state. Because assigning a credit
30
+ # product transitions the account to `OPEN`, a credit product can be attached only
31
+ # once; updating it on an account in any other state returns a `403`
29
32
  #
30
33
  # @return [String, nil]
31
34
  optional :credit_product_token, String
@@ -42,13 +45,17 @@ module Lithic
42
45
  optional :tier, String
43
46
 
44
47
  # @!method initialize(financial_account_token:, auto_collection_configuration: nil, credit_limit: nil, credit_product_token: nil, external_bank_account_token: nil, tier: nil, request_options: {})
48
+ # Some parameter documentations has been truncated, see
49
+ # {Lithic::Models::FinancialAccounts::CreditConfigurationUpdateParams} for more
50
+ # details.
51
+ #
45
52
  # @param financial_account_token [String]
46
53
  #
47
54
  # @param auto_collection_configuration [Lithic::Models::FinancialAccounts::CreditConfigurationUpdateParams::AutoCollectionConfiguration]
48
55
  #
49
56
  # @param credit_limit [Integer]
50
57
  #
51
- # @param credit_product_token [String] Globally unique identifier for the credit product
58
+ # @param credit_product_token [String] Globally unique identifier for the credit product. This can only be set
52
59
  #
53
60
  # @param external_bank_account_token [String]
54
61
  #
@@ -40,6 +40,12 @@ module Lithic
40
40
  # @return [String, nil]
41
41
  optional :ending_before, String
42
42
 
43
+ # @!attribute page_size
44
+ # Page size (for pagination).
45
+ #
46
+ # @return [Integer, nil]
47
+ optional :page_size, Integer
48
+
43
49
  # @!attribute result
44
50
  # Financial Transaction result to be returned.
45
51
  #
@@ -59,7 +65,7 @@ module Lithic
59
65
  # @return [Symbol, Lithic::Models::FinancialAccounts::FinancialTransactionListParams::Status, nil]
60
66
  optional :status, enum: -> { Lithic::FinancialAccounts::FinancialTransactionListParams::Status }
61
67
 
62
- # @!method initialize(financial_account_token:, begin_: nil, category: nil, end_: nil, ending_before: nil, result: nil, starting_after: nil, status: nil, request_options: {})
68
+ # @!method initialize(financial_account_token:, begin_: nil, category: nil, end_: nil, ending_before: nil, page_size: nil, result: nil, starting_after: nil, status: nil, request_options: {})
63
69
  # Some parameter documentations has been truncated, see
64
70
  # {Lithic::Models::FinancialAccounts::FinancialTransactionListParams} for more
65
71
  # details.
@@ -74,6 +80,8 @@ module Lithic
74
80
  #
75
81
  # @param ending_before [String] A cursor representing an item's token before which a page of results should end.
76
82
  #
83
+ # @param page_size [Integer] Page size (for pagination).
84
+ #
77
85
  # @param result [Symbol, Lithic::Models::FinancialAccounts::FinancialTransactionListParams::Result] Financial Transaction result to be returned.
78
86
  #
79
87
  # @param starting_after [String] A cursor representing an item's token after which a page of results should begin