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
@@ -20,7 +20,6 @@ module Lithic
20
20
  returns(
21
21
  T.nilable(
22
22
  T.any(
23
- Lithic::AuthRules::ConditionalBlockParameters,
24
23
  Lithic::AuthRules::VelocityLimitParams,
25
24
  Lithic::AuthRules::MerchantLockParameters,
26
25
  Lithic::AuthRules::Conditional3DSActionParameters,
@@ -43,7 +42,6 @@ module Lithic
43
42
  parameters:
44
43
  T.nilable(
45
44
  T.any(
46
- Lithic::AuthRules::ConditionalBlockParameters::OrHash,
47
45
  Lithic::AuthRules::VelocityLimitParams::OrHash,
48
46
  Lithic::AuthRules::MerchantLockParameters::OrHash,
49
47
  Lithic::AuthRules::Conditional3DSActionParameters::OrHash,
@@ -74,7 +72,6 @@ module Lithic
74
72
  parameters:
75
73
  T.nilable(
76
74
  T.any(
77
- Lithic::AuthRules::ConditionalBlockParameters,
78
75
  Lithic::AuthRules::VelocityLimitParams,
79
76
  Lithic::AuthRules::MerchantLockParameters,
80
77
  Lithic::AuthRules::Conditional3DSActionParameters,
@@ -101,7 +98,6 @@ module Lithic
101
98
  Variants =
102
99
  T.type_alias do
103
100
  T.any(
104
- Lithic::AuthRules::ConditionalBlockParameters,
105
101
  Lithic::AuthRules::VelocityLimitParams,
106
102
  Lithic::AuthRules::MerchantLockParameters,
107
103
  Lithic::AuthRules::Conditional3DSActionParameters,
@@ -73,7 +73,8 @@ module Lithic
73
73
  sig { params(page_size: Integer).void }
74
74
  attr_writer :page_size
75
75
 
76
- # Only return Auth Rules that are bound to the provided scope.
76
+ # Only return Auth Rules that are bound to the provided scope. When no token is
77
+ # provided, `CARD` also returns Auth Rules that include a `CARD_TAG` entity.
77
78
  sig do
78
79
  returns(T.nilable(Lithic::AuthRules::V2ListParams::Scope::OrSymbol))
79
80
  end
@@ -125,7 +126,8 @@ module Lithic
125
126
  event_streams: nil,
126
127
  # Page size (for pagination).
127
128
  page_size: nil,
128
- # Only return Auth Rules that are bound to the provided scope.
129
+ # Only return Auth Rules that are bound to the provided scope. When no token is
130
+ # provided, `CARD` also returns Auth Rules that include a `CARD_TAG` entity.
129
131
  scope: nil,
130
132
  # A cursor representing an item's token after which a page of results should
131
133
  # begin. Used to retrieve the next page of results after this item.
@@ -153,7 +155,8 @@ module Lithic
153
155
  def to_hash
154
156
  end
155
157
 
156
- # Only return Auth Rules that are bound to the provided scope.
158
+ # Only return Auth Rules that are bound to the provided scope. When no token is
159
+ # provided, `CARD` also returns Auth Rules that include a `CARD_TAG` entity.
157
160
  module Scope
158
161
  extend Lithic::Internal::Type::Enum
159
162
 
@@ -0,0 +1,68 @@
1
+ # typed: strong
2
+
3
+ module Lithic
4
+ module Models
5
+ module AuthRules
6
+ class V2UpdateEntitiesParams < Lithic::Internal::Type::BaseModel
7
+ extend Lithic::Internal::Type::RequestParameters::Converter
8
+ include Lithic::Internal::Type::RequestParameters
9
+
10
+ OrHash =
11
+ T.type_alias do
12
+ T.any(
13
+ Lithic::AuthRules::V2UpdateEntitiesParams,
14
+ Lithic::Internal::AnyHash
15
+ )
16
+ end
17
+
18
+ sig { returns(String) }
19
+ attr_accessor :auth_rule_token
20
+
21
+ # Entities to add to the rule's `include` and `exclude` lists
22
+ sig { returns(T.nilable(Lithic::AuthRules::AuthRuleEntities)) }
23
+ attr_reader :add
24
+
25
+ sig { params(add: Lithic::AuthRules::AuthRuleEntities::OrHash).void }
26
+ attr_writer :add
27
+
28
+ # Entities to remove from the rule's `include` and `exclude` lists
29
+ sig { returns(T.nilable(Lithic::AuthRules::AuthRuleEntities)) }
30
+ attr_reader :remove
31
+
32
+ sig { params(remove: Lithic::AuthRules::AuthRuleEntities::OrHash).void }
33
+ attr_writer :remove
34
+
35
+ sig do
36
+ params(
37
+ auth_rule_token: String,
38
+ add: Lithic::AuthRules::AuthRuleEntities::OrHash,
39
+ remove: Lithic::AuthRules::AuthRuleEntities::OrHash,
40
+ request_options: Lithic::RequestOptions::OrHash
41
+ ).returns(T.attached_class)
42
+ end
43
+ def self.new(
44
+ auth_rule_token:,
45
+ # Entities to add to the rule's `include` and `exclude` lists
46
+ add: nil,
47
+ # Entities to remove from the rule's `include` and `exclude` lists
48
+ remove: nil,
49
+ request_options: {}
50
+ )
51
+ end
52
+
53
+ sig do
54
+ override.returns(
55
+ {
56
+ auth_rule_token: String,
57
+ add: Lithic::AuthRules::AuthRuleEntities,
58
+ remove: Lithic::AuthRules::AuthRuleEntities,
59
+ request_options: Lithic::RequestOptions
60
+ }
61
+ )
62
+ end
63
+ def to_hash
64
+ end
65
+ end
66
+ end
67
+ end
68
+ end
@@ -15,9 +15,12 @@ module Lithic
15
15
  sig { returns(String) }
16
16
  attr_accessor :auth_rule_token
17
17
 
18
+ # Replaces the rule's existing entities with the provided `include` and `exclude`
19
+ # lists. A missing list is treated as empty, so `include` must always be provided.
18
20
  sig do
19
21
  returns(
20
22
  T.any(
23
+ Lithic::AuthRules::V2UpdateParams::Body::Rule,
21
24
  Lithic::AuthRules::V2UpdateParams::Body::AccountLevelRule,
22
25
  Lithic::AuthRules::V2UpdateParams::Body::CardLevelRule,
23
26
  Lithic::AuthRules::V2UpdateParams::Body::ProgramLevelRule
@@ -31,6 +34,7 @@ module Lithic
31
34
  auth_rule_token: String,
32
35
  body:
33
36
  T.any(
37
+ Lithic::AuthRules::V2UpdateParams::Body::Rule::OrHash,
34
38
  Lithic::AuthRules::V2UpdateParams::Body::AccountLevelRule::OrHash,
35
39
  Lithic::AuthRules::V2UpdateParams::Body::CardLevelRule::OrHash,
36
40
  Lithic::AuthRules::V2UpdateParams::Body::ProgramLevelRule::OrHash
@@ -38,7 +42,13 @@ module Lithic
38
42
  request_options: Lithic::RequestOptions::OrHash
39
43
  ).returns(T.attached_class)
40
44
  end
41
- def self.new(auth_rule_token:, body:, request_options: {})
45
+ def self.new(
46
+ auth_rule_token:,
47
+ # Replaces the rule's existing entities with the provided `include` and `exclude`
48
+ # lists. A missing list is treated as empty, so `include` must always be provided.
49
+ body:,
50
+ request_options: {}
51
+ )
42
52
  end
43
53
 
44
54
  sig do
@@ -47,6 +57,7 @@ module Lithic
47
57
  auth_rule_token: String,
48
58
  body:
49
59
  T.any(
60
+ Lithic::AuthRules::V2UpdateParams::Body::Rule,
50
61
  Lithic::AuthRules::V2UpdateParams::Body::AccountLevelRule,
51
62
  Lithic::AuthRules::V2UpdateParams::Body::CardLevelRule,
52
63
  Lithic::AuthRules::V2UpdateParams::Body::ProgramLevelRule
@@ -58,18 +69,165 @@ module Lithic
58
69
  def to_hash
59
70
  end
60
71
 
72
+ # Replaces the rule's existing entities with the provided `include` and `exclude`
73
+ # lists. A missing list is treated as empty, so `include` must always be provided.
61
74
  module Body
62
75
  extend Lithic::Internal::Type::Union
63
76
 
64
77
  Variants =
65
78
  T.type_alias do
66
79
  T.any(
80
+ Lithic::AuthRules::V2UpdateParams::Body::Rule,
67
81
  Lithic::AuthRules::V2UpdateParams::Body::AccountLevelRule,
68
82
  Lithic::AuthRules::V2UpdateParams::Body::CardLevelRule,
69
83
  Lithic::AuthRules::V2UpdateParams::Body::ProgramLevelRule
70
84
  )
71
85
  end
72
86
 
87
+ class Rule < Lithic::Internal::Type::BaseModel
88
+ OrHash =
89
+ T.type_alias do
90
+ T.any(
91
+ Lithic::AuthRules::V2UpdateParams::Body::Rule,
92
+ Lithic::Internal::AnyHash
93
+ )
94
+ end
95
+
96
+ # The entities an Auth Rule applies to (`include`) and does not apply to
97
+ # (`exclude`). An exclusion overrides an inclusion, so a card excluded here is
98
+ # skipped even when the program, its account or one of its tags is included.
99
+ #
100
+ # The rule's resulting entities must satisfy these constraints after any write:
101
+ #
102
+ # - `include` must contain at least one entity.
103
+ # - If `PROGRAM` is included, it must be the only included entity.
104
+ # - `PROGRAM` cannot be excluded.
105
+ # - An entity cannot appear in both `include` and `exclude`, or twice in the same
106
+ # list.
107
+ # - A rule can have at most 1,000 entities across `include` and `exclude`, not
108
+ # counting `PROGRAM`.
109
+ # - Entity types must be valid for the rule's event stream.
110
+ # - `CARD`, `ACCOUNT` and `BUSINESS_ACCOUNT` tokens must belong to your program.
111
+ sig { returns(T.nilable(Lithic::AuthRules::AuthRuleEntities)) }
112
+ attr_reader :entities
113
+
114
+ sig do
115
+ params(entities: Lithic::AuthRules::AuthRuleEntities::OrHash).void
116
+ end
117
+ attr_writer :entities
118
+
119
+ # Auth Rule Name
120
+ sig { returns(T.nilable(String)) }
121
+ attr_accessor :name
122
+
123
+ # The desired state of the Auth Rule.
124
+ #
125
+ # Note that only deactivating an Auth Rule through this endpoint is supported at
126
+ # this time. If you need to (re-)activate an Auth Rule the /promote endpoint
127
+ # should be used to promote a draft to the currently active version.
128
+ sig do
129
+ returns(
130
+ T.nilable(
131
+ Lithic::AuthRules::V2UpdateParams::Body::Rule::State::OrSymbol
132
+ )
133
+ )
134
+ end
135
+ attr_reader :state
136
+
137
+ sig do
138
+ params(
139
+ state:
140
+ Lithic::AuthRules::V2UpdateParams::Body::Rule::State::OrSymbol
141
+ ).void
142
+ end
143
+ attr_writer :state
144
+
145
+ # Replaces the rule's existing entities with the provided `include` and `exclude`
146
+ # lists. A missing list is treated as empty, so `include` must always be provided.
147
+ sig do
148
+ params(
149
+ entities: Lithic::AuthRules::AuthRuleEntities::OrHash,
150
+ name: T.nilable(String),
151
+ state:
152
+ Lithic::AuthRules::V2UpdateParams::Body::Rule::State::OrSymbol
153
+ ).returns(T.attached_class)
154
+ end
155
+ def self.new(
156
+ # The entities an Auth Rule applies to (`include`) and does not apply to
157
+ # (`exclude`). An exclusion overrides an inclusion, so a card excluded here is
158
+ # skipped even when the program, its account or one of its tags is included.
159
+ #
160
+ # The rule's resulting entities must satisfy these constraints after any write:
161
+ #
162
+ # - `include` must contain at least one entity.
163
+ # - If `PROGRAM` is included, it must be the only included entity.
164
+ # - `PROGRAM` cannot be excluded.
165
+ # - An entity cannot appear in both `include` and `exclude`, or twice in the same
166
+ # list.
167
+ # - A rule can have at most 1,000 entities across `include` and `exclude`, not
168
+ # counting `PROGRAM`.
169
+ # - Entity types must be valid for the rule's event stream.
170
+ # - `CARD`, `ACCOUNT` and `BUSINESS_ACCOUNT` tokens must belong to your program.
171
+ entities: nil,
172
+ # Auth Rule Name
173
+ name: nil,
174
+ # The desired state of the Auth Rule.
175
+ #
176
+ # Note that only deactivating an Auth Rule through this endpoint is supported at
177
+ # this time. If you need to (re-)activate an Auth Rule the /promote endpoint
178
+ # should be used to promote a draft to the currently active version.
179
+ state: nil
180
+ )
181
+ end
182
+
183
+ sig do
184
+ override.returns(
185
+ {
186
+ entities: Lithic::AuthRules::AuthRuleEntities,
187
+ name: T.nilable(String),
188
+ state:
189
+ Lithic::AuthRules::V2UpdateParams::Body::Rule::State::OrSymbol
190
+ }
191
+ )
192
+ end
193
+ def to_hash
194
+ end
195
+
196
+ # The desired state of the Auth Rule.
197
+ #
198
+ # Note that only deactivating an Auth Rule through this endpoint is supported at
199
+ # this time. If you need to (re-)activate an Auth Rule the /promote endpoint
200
+ # should be used to promote a draft to the currently active version.
201
+ module State
202
+ extend Lithic::Internal::Type::Enum
203
+
204
+ TaggedSymbol =
205
+ T.type_alias do
206
+ T.all(
207
+ Symbol,
208
+ Lithic::AuthRules::V2UpdateParams::Body::Rule::State
209
+ )
210
+ end
211
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
212
+
213
+ INACTIVE =
214
+ T.let(
215
+ :INACTIVE,
216
+ Lithic::AuthRules::V2UpdateParams::Body::Rule::State::TaggedSymbol
217
+ )
218
+
219
+ sig do
220
+ override.returns(
221
+ T::Array[
222
+ Lithic::AuthRules::V2UpdateParams::Body::Rule::State::TaggedSymbol
223
+ ]
224
+ )
225
+ end
226
+ def self.values
227
+ end
228
+ end
229
+ end
230
+
73
231
  class AccountLevelRule < Lithic::Internal::Type::BaseModel
74
232
  OrHash =
75
233
  T.type_alias do
@@ -79,6 +237,8 @@ module Lithic
79
237
  )
80
238
  end
81
239
 
240
+ # Deprecated: Use `entities.include` with `ACCOUNT` entities instead.
241
+ #
82
242
  # Account tokens to which the Auth Rule applies.
83
243
  sig { returns(T.nilable(T::Array[String])) }
84
244
  attr_reader :account_tokens
@@ -86,6 +246,8 @@ module Lithic
86
246
  sig { params(account_tokens: T::Array[String]).void }
87
247
  attr_writer :account_tokens
88
248
 
249
+ # Deprecated: Use `entities.include` with `BUSINESS_ACCOUNT` entities instead.
250
+ #
89
251
  # Business Account tokens to which the Auth Rule applies.
90
252
  sig { returns(T.nilable(T::Array[String])) }
91
253
  attr_reader :business_account_tokens
@@ -119,6 +281,7 @@ module Lithic
119
281
  end
120
282
  attr_writer :state
121
283
 
284
+ # Deprecated: Use `entities` instead. Cannot be combined with `entities`.
122
285
  sig do
123
286
  params(
124
287
  account_tokens: T::Array[String],
@@ -129,8 +292,12 @@ module Lithic
129
292
  ).returns(T.attached_class)
130
293
  end
131
294
  def self.new(
295
+ # Deprecated: Use `entities.include` with `ACCOUNT` entities instead.
296
+ #
132
297
  # Account tokens to which the Auth Rule applies.
133
298
  account_tokens: nil,
299
+ # Deprecated: Use `entities.include` with `BUSINESS_ACCOUNT` entities instead.
300
+ #
134
301
  # Business Account tokens to which the Auth Rule applies.
135
302
  business_account_tokens: nil,
136
303
  # Auth Rule Name
@@ -202,7 +369,10 @@ module Lithic
202
369
  )
203
370
  end
204
371
 
205
- # Card tokens to which the Auth Rule applies.
372
+ # Deprecated: Use `entities.include` with `CARD` entities instead.
373
+ #
374
+ # Card tokens to which the Auth Rule applies. Cards the rule applies to through a
375
+ # `CARD_TAG` entity are not listed.
206
376
  sig { returns(T.nilable(T::Array[String])) }
207
377
  attr_reader :card_tokens
208
378
 
@@ -235,6 +405,7 @@ module Lithic
235
405
  end
236
406
  attr_writer :state
237
407
 
408
+ # Deprecated: Use `entities` instead. Cannot be combined with `entities`.
238
409
  sig do
239
410
  params(
240
411
  card_tokens: T::Array[String],
@@ -244,7 +415,10 @@ module Lithic
244
415
  ).returns(T.attached_class)
245
416
  end
246
417
  def self.new(
247
- # Card tokens to which the Auth Rule applies.
418
+ # Deprecated: Use `entities.include` with `CARD` entities instead.
419
+ #
420
+ # Card tokens to which the Auth Rule applies. Cards the rule applies to through a
421
+ # `CARD_TAG` entity are not listed.
248
422
  card_tokens: nil,
249
423
  # Auth Rule Name
250
424
  name: nil,
@@ -314,6 +488,8 @@ module Lithic
314
488
  )
315
489
  end
316
490
 
491
+ # Deprecated: Use `entities.exclude` with `ACCOUNT` entities instead.
492
+ #
317
493
  # Account tokens to which the Auth Rule does not apply.
318
494
  sig { returns(T.nilable(T::Array[String])) }
319
495
  attr_reader :excluded_account_tokens
@@ -321,6 +497,8 @@ module Lithic
321
497
  sig { params(excluded_account_tokens: T::Array[String]).void }
322
498
  attr_writer :excluded_account_tokens
323
499
 
500
+ # Deprecated: Use `entities.exclude` with `BUSINESS_ACCOUNT` entities instead.
501
+ #
324
502
  # Business account tokens to which the Auth Rule does not apply.
325
503
  sig { returns(T.nilable(T::Array[String])) }
326
504
  attr_reader :excluded_business_account_tokens
@@ -330,7 +508,10 @@ module Lithic
330
508
  end
331
509
  attr_writer :excluded_business_account_tokens
332
510
 
333
- # Card tokens to which the Auth Rule does not apply.
511
+ # Deprecated: Use `entities.exclude` with `CARD` entities instead.
512
+ #
513
+ # Card tokens to which the Auth Rule does not apply. Cards excluded through a
514
+ # `CARD_TAG` entity are not listed.
334
515
  sig { returns(T.nilable(T::Array[String])) }
335
516
  attr_reader :excluded_card_tokens
336
517
 
@@ -341,6 +522,8 @@ module Lithic
341
522
  sig { returns(T.nilable(String)) }
342
523
  attr_accessor :name
343
524
 
525
+ # Deprecated: Use `entities.include` with a `PROGRAM` entity instead.
526
+ #
344
527
  # Whether the Auth Rule applies to all authorizations on the card program.
345
528
  sig { returns(T.nilable(T::Boolean)) }
346
529
  attr_reader :program_level
@@ -370,6 +553,7 @@ module Lithic
370
553
  end
371
554
  attr_writer :state
372
555
 
556
+ # Deprecated: Use `entities` instead. Cannot be combined with `entities`.
373
557
  sig do
374
558
  params(
375
559
  excluded_account_tokens: T::Array[String],
@@ -382,14 +566,23 @@ module Lithic
382
566
  ).returns(T.attached_class)
383
567
  end
384
568
  def self.new(
569
+ # Deprecated: Use `entities.exclude` with `ACCOUNT` entities instead.
570
+ #
385
571
  # Account tokens to which the Auth Rule does not apply.
386
572
  excluded_account_tokens: nil,
573
+ # Deprecated: Use `entities.exclude` with `BUSINESS_ACCOUNT` entities instead.
574
+ #
387
575
  # Business account tokens to which the Auth Rule does not apply.
388
576
  excluded_business_account_tokens: nil,
389
- # Card tokens to which the Auth Rule does not apply.
577
+ # Deprecated: Use `entities.exclude` with `CARD` entities instead.
578
+ #
579
+ # Card tokens to which the Auth Rule does not apply. Cards excluded through a
580
+ # `CARD_TAG` entity are not listed.
390
581
  excluded_card_tokens: nil,
391
582
  # Auth Rule Name
392
583
  name: nil,
584
+ # Deprecated: Use `entities.include` with a `PROGRAM` entity instead.
585
+ #
393
586
  # Whether the Auth Rule applies to all authorizations on the card program.
394
587
  program_level: nil,
395
588
  # The desired state of the Auth Rule.
@@ -397,6 +397,11 @@ module Lithic
397
397
  :BANK_PROGRAM_TRANSFER,
398
398
  Lithic::BookTransferCreateParams::Type::TaggedSymbol
399
399
  )
400
+ INSTANCE_TO_INSTANCE =
401
+ T.let(
402
+ :INSTANCE_TO_INSTANCE,
403
+ Lithic::BookTransferCreateParams::Type::TaggedSymbol
404
+ )
400
405
 
401
406
  sig do
402
407
  override.returns(
@@ -607,6 +607,11 @@ module Lithic
607
607
  :BANK_PROGRAM_TRANSFER,
608
608
  Lithic::BookTransferResponse::Event::Type::TaggedSymbol
609
609
  )
610
+ INSTANCE_TO_INSTANCE =
611
+ T.let(
612
+ :INSTANCE_TO_INSTANCE,
613
+ Lithic::BookTransferResponse::Event::Type::TaggedSymbol
614
+ )
610
615
 
611
616
  sig do
612
617
  override.returns(
@@ -830,6 +830,12 @@ module Lithic
830
830
  sig { returns(Lithic::CardAuthorization::Card::State::TaggedSymbol) }
831
831
  attr_accessor :state
832
832
 
833
+ # Key-value pairs for tagging resources. Tags allow you to associate arbitrary
834
+ # metadata with a resource for your own purposes. A resource can have at most 50
835
+ # tags, with keys up to 40 characters and values up to 500 characters
836
+ sig { returns(T::Hash[Symbol, String]) }
837
+ attr_accessor :tags
838
+
833
839
  sig { returns(Lithic::CardAuthorization::Card::Type::TaggedSymbol) }
834
840
  attr_accessor :type
835
841
 
@@ -843,6 +849,7 @@ module Lithic
843
849
  spend_limit_duration:
844
850
  Lithic::CardAuthorization::Card::SpendLimitDuration::OrSymbol,
845
851
  state: Lithic::CardAuthorization::Card::State::OrSymbol,
852
+ tags: T::Hash[Symbol, String],
846
853
  type: Lithic::CardAuthorization::Card::Type::OrSymbol
847
854
  ).returns(T.attached_class)
848
855
  end
@@ -867,6 +874,10 @@ module Lithic
867
874
  # after the current calendar date one month prior.
868
875
  spend_limit_duration:,
869
876
  state:,
877
+ # Key-value pairs for tagging resources. Tags allow you to associate arbitrary
878
+ # metadata with a resource for your own purposes. A resource can have at most 50
879
+ # tags, with keys up to 40 characters and values up to 500 characters
880
+ tags:,
870
881
  type:
871
882
  )
872
883
  end
@@ -881,6 +892,7 @@ module Lithic
881
892
  spend_limit_duration:
882
893
  Lithic::CardAuthorization::Card::SpendLimitDuration::TaggedSymbol,
883
894
  state: Lithic::CardAuthorization::Card::State::TaggedSymbol,
895
+ tags: T::Hash[Symbol, String],
884
896
  type: Lithic::CardAuthorization::Card::Type::TaggedSymbol
885
897
  }
886
898
  )
@@ -1797,6 +1809,8 @@ module Lithic
1797
1809
  T.type_alias { T.all(Symbol, Lithic::CardAuthorization::Network) }
1798
1810
  OrSymbol = T.type_alias { T.any(Symbol, String) }
1799
1811
 
1812
+ ALLPOINT =
1813
+ T.let(:ALLPOINT, Lithic::CardAuthorization::Network::TaggedSymbol)
1800
1814
  AMEX = T.let(:AMEX, Lithic::CardAuthorization::Network::TaggedSymbol)
1801
1815
  INTERLINK =
1802
1816
  T.let(:INTERLINK, Lithic::CardAuthorization::Network::TaggedSymbol)
@@ -267,6 +267,15 @@ module Lithic
267
267
  sig { params(state: Lithic::CardCreateParams::State::OrSymbol).void }
268
268
  attr_writer :state
269
269
 
270
+ # Key-value pairs to tag the card with. A replacement card does not inherit tags
271
+ # from the card it replaces. A card can have at most 50 tags, with keys up to 40
272
+ # characters and values up to 500 characters
273
+ sig { returns(T.nilable(T::Hash[Symbol, String])) }
274
+ attr_reader :tags
275
+
276
+ sig { params(tags: T::Hash[Symbol, String]).void }
277
+ attr_writer :tags
278
+
270
279
  sig { returns(T.nilable(String)) }
271
280
  attr_reader :idempotency_key
272
281
 
@@ -296,6 +305,7 @@ module Lithic
296
305
  spend_limit: Integer,
297
306
  spend_limit_duration: Lithic::SpendLimitDuration::OrSymbol,
298
307
  state: Lithic::CardCreateParams::State::OrSymbol,
308
+ tags: T::Hash[Symbol, String],
299
309
  idempotency_key: String,
300
310
  request_options: Lithic::RequestOptions::OrHash
301
311
  ).returns(T.attached_class)
@@ -443,6 +453,10 @@ module Lithic
443
453
  # - `PAUSED` - Card will decline authorizations, but can be resumed at a later
444
454
  # time.
445
455
  state: nil,
456
+ # Key-value pairs to tag the card with. A replacement card does not inherit tags
457
+ # from the card it replaces. A card can have at most 50 tags, with keys up to 40
458
+ # characters and values up to 500 characters
459
+ tags: nil,
446
460
  idempotency_key: nil,
447
461
  request_options: {}
448
462
  )
@@ -472,6 +486,7 @@ module Lithic
472
486
  spend_limit: Integer,
473
487
  spend_limit_duration: Lithic::SpendLimitDuration::OrSymbol,
474
488
  state: Lithic::CardCreateParams::State::OrSymbol,
489
+ tags: T::Hash[Symbol, String],
475
490
  idempotency_key: String,
476
491
  request_options: Lithic::RequestOptions
477
492
  }
@@ -145,6 +145,16 @@ module Lithic
145
145
  end
146
146
  attr_writer :substatus
147
147
 
148
+ # Key-value pairs to merge into the card's tags. Supplied keys are added or
149
+ # overwritten, a key with a `null` value is removed, and omitted keys remain
150
+ # unchanged. A card can have at most 50 tags, with keys up to 40 characters and
151
+ # values up to 500 characters
152
+ sig { returns(T.nilable(T::Hash[Symbol, T.nilable(String)])) }
153
+ attr_reader :tags
154
+
155
+ sig { params(tags: T::Hash[Symbol, T.nilable(String)]).void }
156
+ attr_writer :tags
157
+
148
158
  sig do
149
159
  params(
150
160
  card_token: String,
@@ -158,6 +168,7 @@ module Lithic
158
168
  spend_limit_duration: Lithic::SpendLimitDuration::OrSymbol,
159
169
  state: Lithic::CardUpdateParams::State::OrSymbol,
160
170
  substatus: Lithic::CardUpdateParams::Substatus::OrSymbol,
171
+ tags: T::Hash[Symbol, T.nilable(String)],
161
172
  request_options: Lithic::RequestOptions::OrHash
162
173
  ).returns(T.attached_class)
163
174
  end
@@ -238,6 +249,11 @@ module Lithic
238
249
  # - `OTHER` - The reason for the status does not fall into any of the above
239
250
  # categories. A comment should be provided to specify the reason.
240
251
  substatus: nil,
252
+ # Key-value pairs to merge into the card's tags. Supplied keys are added or
253
+ # overwritten, a key with a `null` value is removed, and omitted keys remain
254
+ # unchanged. A card can have at most 50 tags, with keys up to 40 characters and
255
+ # values up to 500 characters
256
+ tags: nil,
241
257
  request_options: {}
242
258
  )
243
259
  end
@@ -256,6 +272,7 @@ module Lithic
256
272
  spend_limit_duration: Lithic::SpendLimitDuration::OrSymbol,
257
273
  state: Lithic::CardUpdateParams::State::OrSymbol,
258
274
  substatus: Lithic::CardUpdateParams::Substatus::OrSymbol,
275
+ tags: T::Hash[Symbol, T.nilable(String)],
259
276
  request_options: Lithic::RequestOptions
260
277
  }
261
278
  )
@@ -60,6 +60,13 @@ module Lithic
60
60
  sig { params(ending_before: String).void }
61
61
  attr_writer :ending_before
62
62
 
63
+ # Page size (for pagination).
64
+ sig { returns(T.nilable(Integer)) }
65
+ attr_reader :page_size
66
+
67
+ sig { params(page_size: Integer).void }
68
+ attr_writer :page_size
69
+
63
70
  # Financial Transaction result to be returned.
64
71
  sig do
65
72
  returns(
@@ -112,6 +119,7 @@ module Lithic
112
119
  Lithic::Cards::FinancialTransactionListParams::Category::OrSymbol,
113
120
  end_: Time,
114
121
  ending_before: String,
122
+ page_size: Integer,
115
123
  result:
116
124
  Lithic::Cards::FinancialTransactionListParams::Result::OrSymbol,
117
125
  starting_after: String,
@@ -133,6 +141,8 @@ module Lithic
133
141
  # A cursor representing an item's token before which a page of results should end.
134
142
  # Used to retrieve the previous page of results before this item.
135
143
  ending_before: nil,
144
+ # Page size (for pagination).
145
+ page_size: nil,
136
146
  # Financial Transaction result to be returned.
137
147
  result: nil,
138
148
  # A cursor representing an item's token after which a page of results should
@@ -153,6 +163,7 @@ module Lithic
153
163
  Lithic::Cards::FinancialTransactionListParams::Category::OrSymbol,
154
164
  end_: Time,
155
165
  ending_before: String,
166
+ page_size: Integer,
156
167
  result:
157
168
  Lithic::Cards::FinancialTransactionListParams::Result::OrSymbol,
158
169
  starting_after: String,