lithic 0.1.0.pre.alpha.54 → 0.1.0.pre.alpha.55

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 (134) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +19 -0
  3. data/README.md +1 -1
  4. data/lib/lithic/models/account_holder_simulate_enrollment_review_response.rb +2 -2
  5. data/lib/lithic/models/account_holder_update_response.rb +4 -4
  6. data/lib/lithic/models/auth_rules/conditional_authorization_action_parameters.rb +252 -0
  7. data/lib/lithic/models/auth_rules/v2_create_params.rb +38 -284
  8. data/lib/lithic/models/auth_rules/v2_create_response.rb +8 -508
  9. data/lib/lithic/models/auth_rules/v2_draft_params.rb +4 -250
  10. data/lib/lithic/models/auth_rules/v2_draft_response.rb +8 -508
  11. data/lib/lithic/models/auth_rules/v2_list_response.rb +8 -508
  12. data/lib/lithic/models/auth_rules/v2_promote_response.rb +8 -508
  13. data/lib/lithic/models/auth_rules/v2_retrieve_features_response.rb +4 -11
  14. data/lib/lithic/models/auth_rules/v2_retrieve_response.rb +8 -508
  15. data/lib/lithic/models/auth_rules/v2_update_response.rb +8 -508
  16. data/lib/lithic/models/auth_rules/velocity_limit_params.rb +4 -7
  17. data/lib/lithic/models/auth_rules/velocity_limit_period.rb +154 -0
  18. data/lib/lithic/models/book_transfer_response.rb +5 -5
  19. data/lib/lithic/models/dispute.rb +510 -242
  20. data/lib/lithic/models/dispute_create_response.rb +326 -0
  21. data/lib/lithic/models/dispute_delete_response.rb +326 -0
  22. data/lib/lithic/models/dispute_list_response.rb +326 -0
  23. data/lib/lithic/models/dispute_retrieve_response.rb +326 -0
  24. data/lib/lithic/models/dispute_update_response.rb +326 -0
  25. data/lib/lithic/models/event.rb +213 -69
  26. data/lib/lithic/models/event_list_params.rb +112 -6
  27. data/lib/lithic/models/event_subscription.rb +112 -6
  28. data/lib/lithic/models/events/subscription_create_params.rb +112 -6
  29. data/lib/lithic/models/events/subscription_send_simulated_example_params.rb +12 -6
  30. data/lib/lithic/models/events/subscription_update_params.rb +112 -6
  31. data/lib/lithic/models/financial_account.rb +1 -65
  32. data/lib/lithic/models/financial_accounts/financial_account_credit_config.rb +1 -64
  33. data/lib/lithic/models/financial_accounts/loan_tape.rb +99 -3
  34. data/lib/lithic/models/financial_accounts/statement.rb +66 -2
  35. data/lib/lithic/models/payment.rb +9 -9
  36. data/lib/lithic/models/payment_simulate_action_params.rb +17 -1
  37. data/lib/lithic/models/tokenization.rb +189 -23
  38. data/lib/lithic/models/transaction.rb +12 -116
  39. data/lib/lithic/models/transactions/events/enhanced_data.rb +9 -9
  40. data/lib/lithic/resources/auth_rules/v2/backtests.rb +3 -5
  41. data/lib/lithic/resources/auth_rules/v2.rb +13 -56
  42. data/lib/lithic/resources/disputes.rb +10 -10
  43. data/lib/lithic/resources/payments.rb +5 -1
  44. data/lib/lithic/version.rb +1 -1
  45. data/lib/lithic.rb +7 -3
  46. data/rbi/lithic/models/account_holder_simulate_enrollment_review_response.rbi +3 -6
  47. data/rbi/lithic/models/account_holder_update_response.rbi +6 -12
  48. data/rbi/lithic/models/auth_rules/conditional_authorization_action_parameters.rbi +577 -0
  49. data/rbi/lithic/models/auth_rules/v2_create_params.rbi +85 -679
  50. data/rbi/lithic/models/auth_rules/v2_create_response.rbi +4 -1146
  51. data/rbi/lithic/models/auth_rules/v2_draft_params.rbi +4 -575
  52. data/rbi/lithic/models/auth_rules/v2_draft_response.rbi +4 -1146
  53. data/rbi/lithic/models/auth_rules/v2_list_response.rbi +4 -1146
  54. data/rbi/lithic/models/auth_rules/v2_promote_response.rbi +4 -1146
  55. data/rbi/lithic/models/auth_rules/v2_retrieve_features_response.rbi +9 -22
  56. data/rbi/lithic/models/auth_rules/v2_retrieve_response.rbi +4 -1146
  57. data/rbi/lithic/models/auth_rules/v2_update_response.rbi +4 -1146
  58. data/rbi/lithic/models/auth_rules/velocity_limit_params.rbi +17 -29
  59. data/rbi/lithic/models/auth_rules/velocity_limit_period.rbi +223 -0
  60. data/rbi/lithic/models/book_transfer_response.rbi +14 -11
  61. data/rbi/lithic/models/dispute.rbi +942 -395
  62. data/rbi/lithic/models/dispute_create_response.rbi +599 -0
  63. data/rbi/lithic/models/dispute_delete_response.rbi +599 -0
  64. data/rbi/lithic/models/dispute_list_response.rbi +582 -0
  65. data/rbi/lithic/models/dispute_retrieve_response.rbi +601 -0
  66. data/rbi/lithic/models/dispute_update_response.rbi +599 -0
  67. data/rbi/lithic/models/event.rbi +348 -111
  68. data/rbi/lithic/models/event_list_params.rbi +155 -25
  69. data/rbi/lithic/models/event_subscription.rbi +155 -25
  70. data/rbi/lithic/models/events/subscription_create_params.rbi +155 -25
  71. data/rbi/lithic/models/events/subscription_send_simulated_example_params.rbi +55 -25
  72. data/rbi/lithic/models/events/subscription_update_params.rbi +155 -25
  73. data/rbi/lithic/models/financial_account.rbi +3 -132
  74. data/rbi/lithic/models/financial_accounts/financial_account_credit_config.rbi +3 -136
  75. data/rbi/lithic/models/financial_accounts/loan_tape.rbi +132 -9
  76. data/rbi/lithic/models/financial_accounts/statement.rbi +88 -6
  77. data/rbi/lithic/models/payment.rbi +11 -14
  78. data/rbi/lithic/models/payment_simulate_action_params.rbi +22 -0
  79. data/rbi/lithic/models/tokenization.rbi +429 -34
  80. data/rbi/lithic/models/transaction.rbi +22 -246
  81. data/rbi/lithic/models/transactions/events/enhanced_data.rbi +12 -12
  82. data/rbi/lithic/resources/auth_rules/v2/backtests.rbi +0 -3
  83. data/rbi/lithic/resources/auth_rules/v2.rbi +24 -72
  84. data/rbi/lithic/resources/disputes.rbi +7 -5
  85. data/rbi/lithic/resources/payments.rbi +6 -0
  86. data/sig/lithic/models/account_holder_simulate_enrollment_review_response.rbs +4 -6
  87. data/sig/lithic/models/account_holder_update_response.rbs +8 -12
  88. data/sig/lithic/models/auth_rules/conditional_authorization_action_parameters.rbs +163 -0
  89. data/sig/lithic/models/auth_rules/v2_create_params.rbs +22 -188
  90. data/sig/lithic/models/auth_rules/v2_create_response.rbs +2 -318
  91. data/sig/lithic/models/auth_rules/v2_draft_params.rbs +1 -159
  92. data/sig/lithic/models/auth_rules/v2_draft_response.rbs +2 -318
  93. data/sig/lithic/models/auth_rules/v2_list_response.rbs +2 -318
  94. data/sig/lithic/models/auth_rules/v2_promote_response.rbs +2 -318
  95. data/sig/lithic/models/auth_rules/v2_retrieve_features_response.rbs +4 -4
  96. data/sig/lithic/models/auth_rules/v2_retrieve_response.rbs +2 -318
  97. data/sig/lithic/models/auth_rules/v2_update_response.rbs +2 -318
  98. data/sig/lithic/models/auth_rules/velocity_limit_params.rbs +4 -4
  99. data/sig/lithic/models/auth_rules/velocity_limit_period.rbs +91 -0
  100. data/sig/lithic/models/book_transfer_response.rbs +7 -7
  101. data/sig/lithic/models/dispute.rbs +417 -157
  102. data/sig/lithic/models/dispute_create_response.rbs +210 -0
  103. data/sig/lithic/models/dispute_delete_response.rbs +210 -0
  104. data/sig/lithic/models/dispute_list_response.rbs +210 -0
  105. data/sig/lithic/models/dispute_retrieve_response.rbs +210 -0
  106. data/sig/lithic/models/dispute_update_response.rbs +210 -0
  107. data/sig/lithic/models/event.rbs +25 -13
  108. data/sig/lithic/models/event_list_params.rbs +25 -13
  109. data/sig/lithic/models/event_subscription.rbs +25 -13
  110. data/sig/lithic/models/events/subscription_create_params.rbs +25 -13
  111. data/sig/lithic/models/events/subscription_send_simulated_example_params.rbs +25 -13
  112. data/sig/lithic/models/events/subscription_update_params.rbs +25 -13
  113. data/sig/lithic/models/financial_account.rbs +3 -45
  114. data/sig/lithic/models/financial_accounts/financial_account_credit_config.rbs +3 -49
  115. data/sig/lithic/models/financial_accounts/loan_tape.rbs +87 -9
  116. data/sig/lithic/models/financial_accounts/statement.rbs +58 -6
  117. data/sig/lithic/models/payment.rbs +8 -10
  118. data/sig/lithic/models/payment_simulate_action_params.rbs +14 -0
  119. data/sig/lithic/models/tokenization.rbs +160 -13
  120. data/sig/lithic/models/transaction.rbs +13 -94
  121. data/sig/lithic/models/transactions/events/enhanced_data.rbs +15 -15
  122. data/sig/lithic/resources/auth_rules/v2.rbs +2 -12
  123. data/sig/lithic/resources/disputes.rbs +5 -5
  124. data/sig/lithic/resources/payments.rbs +2 -0
  125. metadata +23 -11
  126. data/lib/lithic/models/auth_rules/v2_apply_params.rb +0 -56
  127. data/lib/lithic/models/auth_rules/v2_apply_response.rb +0 -766
  128. data/lib/lithic/models/auth_rules/velocity_limit_params_period_window.rb +0 -248
  129. data/rbi/lithic/models/auth_rules/v2_apply_params.rbi +0 -86
  130. data/rbi/lithic/models/auth_rules/v2_apply_response.rbi +0 -1638
  131. data/rbi/lithic/models/auth_rules/velocity_limit_params_period_window.rbi +0 -557
  132. data/sig/lithic/models/auth_rules/v2_apply_params.rbs +0 -54
  133. data/sig/lithic/models/auth_rules/v2_apply_response.rbs +0 -509
  134. data/sig/lithic/models/auth_rules/velocity_limit_params_period_window.rbs +0 -223
@@ -12,7 +12,11 @@ module Lithic
12
12
  #
13
13
  # Creates a new V2 Auth rule in draft mode
14
14
  #
15
- # @overload create(card_tokens:, program_level:, account_tokens: nil, business_account_tokens: nil, event_stream: nil, name: nil, parameters: nil, type: nil, excluded_card_tokens: nil, request_options: {})
15
+ # @overload create(parameters:, type:, card_tokens:, program_level:, account_tokens: nil, business_account_tokens: nil, event_stream: nil, name: nil, excluded_card_tokens: nil, request_options: {})
16
+ #
17
+ # @param parameters [Lithic::Models::AuthRules::ConditionalBlockParameters, Lithic::Models::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::MerchantLockParameters, Lithic::Models::AuthRules::Conditional3DSActionParameters, Lithic::Models::AuthRules::ConditionalAuthorizationActionParameters] Parameters for the Auth Rule
18
+ #
19
+ # @param type [Symbol, Lithic::Models::AuthRules::V2CreateParams::Type] The type of Auth Rule. For certain rule types, this determines the event stream
16
20
  #
17
21
  # @param card_tokens [Array<String>] Card tokens to which the Auth Rule applies.
18
22
  #
@@ -26,10 +30,6 @@ module Lithic
26
30
  #
27
31
  # @param name [String, nil] Auth Rule Name
28
32
  #
29
- # @param parameters [Lithic::Models::AuthRules::ConditionalBlockParameters, Lithic::Models::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::MerchantLockParameters, Lithic::Models::AuthRules::Conditional3DSActionParameters, Lithic::Models::AuthRules::V2CreateParams::Parameters::ConditionalAuthorizationActionParameters] Parameters for the Auth Rule
30
- #
31
- # @param type [Symbol, Lithic::Models::AuthRules::V2CreateParams::Type] The type of Auth Rule. For certain rule types, this determines the event stream
32
- #
33
33
  # @param excluded_card_tokens [Array<String>] Card tokens to which the Auth Rule does not apply.
34
34
  #
35
35
  # @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}, nil]
@@ -52,8 +52,7 @@ module Lithic
52
52
  #
53
53
  # @overload retrieve(auth_rule_token, request_options: {})
54
54
  #
55
- # @param auth_rule_token [String] Globally unique identifier for the Auth Rule.
56
- #
55
+ # @param auth_rule_token [String]
57
56
  # @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}, nil]
58
57
  #
59
58
  # @return [Lithic::Models::AuthRules::V2RetrieveResponse]
@@ -79,7 +78,7 @@ module Lithic
79
78
  #
80
79
  # @overload update(auth_rule_token, account_tokens: nil, business_account_tokens: nil, name: nil, state: nil, card_tokens: nil, excluded_card_tokens: nil, program_level: nil, request_options: {})
81
80
  #
82
- # @param auth_rule_token [String] Globally unique identifier for the Auth Rule.
81
+ # @param auth_rule_token [String]
83
82
  #
84
83
  # @param account_tokens [Array<String>] Account tokens to which the Auth Rule applies.
85
84
  #
@@ -155,8 +154,7 @@ module Lithic
155
154
  #
156
155
  # @overload delete(auth_rule_token, request_options: {})
157
156
  #
158
- # @param auth_rule_token [String] Globally unique identifier for the Auth Rule.
159
- #
157
+ # @param auth_rule_token [String]
160
158
  # @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}, nil]
161
159
  #
162
160
  # @return [nil]
@@ -171,43 +169,6 @@ module Lithic
171
169
  )
172
170
  end
173
171
 
174
- # @deprecated
175
- #
176
- # Associates a V2 Auth rule with a card program, the provided account(s) or
177
- # card(s).
178
- #
179
- # Prefer using the `PATCH` method for this operation.
180
- #
181
- # @overload apply(auth_rule_token, card_tokens:, program_level:, account_tokens: nil, business_account_tokens: nil, excluded_card_tokens: nil, request_options: {})
182
- #
183
- # @param auth_rule_token [String] Globally unique identifier for the Auth Rule.
184
- #
185
- # @param card_tokens [Array<String>] Card tokens to which the Auth Rule applies.
186
- #
187
- # @param program_level [Boolean] Whether the Auth Rule applies to all authorizations on the card program.
188
- #
189
- # @param account_tokens [Array<String>] Account tokens to which the Auth Rule applies.
190
- #
191
- # @param business_account_tokens [Array<String>] Business Account tokens to which the Auth Rule applies.
192
- #
193
- # @param excluded_card_tokens [Array<String>] Card tokens to which the Auth Rule does not apply.
194
- #
195
- # @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}, nil]
196
- #
197
- # @return [Lithic::Models::AuthRules::V2ApplyResponse]
198
- #
199
- # @see Lithic::Models::AuthRules::V2ApplyParams
200
- def apply(auth_rule_token, params)
201
- parsed, options = Lithic::AuthRules::V2ApplyParams.dump_request(params)
202
- @client.request(
203
- method: :post,
204
- path: ["v2/auth_rules/%1$s/apply", auth_rule_token],
205
- body: parsed,
206
- model: Lithic::Models::AuthRules::V2ApplyResponse,
207
- options: options
208
- )
209
- end
210
-
211
172
  # Creates a new draft version of a rule that will be ran in shadow mode.
212
173
  #
213
174
  # This can also be utilized to reset the draft parameters, causing a draft version
@@ -215,9 +176,9 @@ module Lithic
215
176
  #
216
177
  # @overload draft(auth_rule_token, parameters: nil, request_options: {})
217
178
  #
218
- # @param auth_rule_token [String] Globally unique identifier for the Auth Rule.
179
+ # @param auth_rule_token [String]
219
180
  #
220
- # @param parameters [Lithic::Models::AuthRules::ConditionalBlockParameters, Lithic::Models::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::MerchantLockParameters, Lithic::Models::AuthRules::Conditional3DSActionParameters, Lithic::Models::AuthRules::V2DraftParams::Parameters::ConditionalAuthorizationActionParameters, nil] Parameters for the Auth Rule
181
+ # @param parameters [Lithic::Models::AuthRules::ConditionalBlockParameters, Lithic::Models::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::MerchantLockParameters, Lithic::Models::AuthRules::Conditional3DSActionParameters, Lithic::Models::AuthRules::ConditionalAuthorizationActionParameters, nil] Parameters for the Auth Rule
221
182
  #
222
183
  # @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}, nil]
223
184
  #
@@ -240,8 +201,7 @@ module Lithic
240
201
  #
241
202
  # @overload promote(auth_rule_token, request_options: {})
242
203
  #
243
- # @param auth_rule_token [String] Globally unique identifier for the Auth Rule.
244
- #
204
+ # @param auth_rule_token [String]
245
205
  # @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}, nil]
246
206
  #
247
207
  # @return [Lithic::Models::AuthRules::V2PromoteResponse]
@@ -268,12 +228,9 @@ module Lithic
268
228
  #
269
229
  # @overload retrieve_features(auth_rule_token, account_token: nil, card_token: nil, request_options: {})
270
230
  #
271
- # @param auth_rule_token [String] Globally unique identifier for the Auth Rule.
272
- #
231
+ # @param auth_rule_token [String]
273
232
  # @param account_token [String]
274
- #
275
233
  # @param card_token [String]
276
- #
277
234
  # @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}, nil]
278
235
  #
279
236
  # @return [Lithic::Models::AuthRules::V2RetrieveFeaturesResponse]
@@ -306,7 +263,7 @@ module Lithic
306
263
  #
307
264
  # @overload retrieve_report(auth_rule_token, begin_:, end_:, request_options: {})
308
265
  #
309
- # @param auth_rule_token [String] Globally unique identifier for the Auth Rule.
266
+ # @param auth_rule_token [String]
310
267
  #
311
268
  # @param begin_ [Date] Start date for the report
312
269
  #
@@ -19,7 +19,7 @@ module Lithic
19
19
  #
20
20
  # @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}, nil]
21
21
  #
22
- # @return [Lithic::Models::Dispute]
22
+ # @return [Lithic::Models::DisputeCreateResponse]
23
23
  #
24
24
  # @see Lithic::Models::DisputeCreateParams
25
25
  def create(params)
@@ -28,7 +28,7 @@ module Lithic
28
28
  method: :post,
29
29
  path: "v1/disputes",
30
30
  body: parsed,
31
- model: Lithic::Dispute,
31
+ model: Lithic::Models::DisputeCreateResponse,
32
32
  options: options
33
33
  )
34
34
  end
@@ -40,14 +40,14 @@ module Lithic
40
40
  # @param dispute_token [String]
41
41
  # @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}, nil]
42
42
  #
43
- # @return [Lithic::Models::Dispute]
43
+ # @return [Lithic::Models::DisputeRetrieveResponse]
44
44
  #
45
45
  # @see Lithic::Models::DisputeRetrieveParams
46
46
  def retrieve(dispute_token, params = {})
47
47
  @client.request(
48
48
  method: :get,
49
49
  path: ["v1/disputes/%1$s", dispute_token],
50
- model: Lithic::Dispute,
50
+ model: Lithic::Models::DisputeRetrieveResponse,
51
51
  options: params[:request_options]
52
52
  )
53
53
  end
@@ -68,7 +68,7 @@ module Lithic
68
68
  #
69
69
  # @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}, nil]
70
70
  #
71
- # @return [Lithic::Models::Dispute]
71
+ # @return [Lithic::Models::DisputeUpdateResponse]
72
72
  #
73
73
  # @see Lithic::Models::DisputeUpdateParams
74
74
  def update(dispute_token, params = {})
@@ -77,7 +77,7 @@ module Lithic
77
77
  method: :patch,
78
78
  path: ["v1/disputes/%1$s", dispute_token],
79
79
  body: parsed,
80
- model: Lithic::Dispute,
80
+ model: Lithic::Models::DisputeUpdateResponse,
81
81
  options: options
82
82
  )
83
83
  end
@@ -105,7 +105,7 @@ module Lithic
105
105
  #
106
106
  # @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}, nil]
107
107
  #
108
- # @return [Lithic::Internal::CursorPage<Lithic::Models::Dispute>]
108
+ # @return [Lithic::Internal::CursorPage<Lithic::Models::DisputeListResponse>]
109
109
  #
110
110
  # @see Lithic::Models::DisputeListParams
111
111
  def list(params = {})
@@ -115,7 +115,7 @@ module Lithic
115
115
  path: "v1/disputes",
116
116
  query: parsed.transform_keys(begin_: "begin", end_: "end"),
117
117
  page: Lithic::Internal::CursorPage,
118
- model: Lithic::Dispute,
118
+ model: Lithic::Models::DisputeListResponse,
119
119
  options: options
120
120
  )
121
121
  end
@@ -127,14 +127,14 @@ module Lithic
127
127
  # @param dispute_token [String]
128
128
  # @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}, nil]
129
129
  #
130
- # @return [Lithic::Models::Dispute]
130
+ # @return [Lithic::Models::DisputeDeleteResponse]
131
131
  #
132
132
  # @see Lithic::Models::DisputeDeleteParams
133
133
  def delete(dispute_token, params = {})
134
134
  @client.request(
135
135
  method: :delete,
136
136
  path: ["v1/disputes/%1$s", dispute_token],
137
- model: Lithic::Dispute,
137
+ model: Lithic::Models::DisputeDeleteResponse,
138
138
  options: params[:request_options]
139
139
  )
140
140
  end
@@ -130,14 +130,18 @@ module Lithic
130
130
 
131
131
  # Simulate payment lifecycle event
132
132
  #
133
- # @overload simulate_action(payment_token, event_type:, decline_reason: nil, return_reason_code: nil, request_options: {})
133
+ # @overload simulate_action(payment_token, event_type:, date_of_death: nil, decline_reason: nil, return_addenda: nil, return_reason_code: nil, request_options: {})
134
134
  #
135
135
  # @param payment_token [String]
136
136
  #
137
137
  # @param event_type [Symbol, Lithic::Models::PaymentSimulateActionParams::EventType] Event Type
138
138
  #
139
+ # @param date_of_death [Date] Date of Death for ACH Return
140
+ #
139
141
  # @param decline_reason [Symbol, Lithic::Models::PaymentSimulateActionParams::DeclineReason] Decline reason
140
142
  #
143
+ # @param return_addenda [String] Return Addenda
144
+ #
141
145
  # @param return_reason_code [String] Return Reason Code
142
146
  #
143
147
  # @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}, nil]
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Lithic
4
- VERSION = "0.1.0.pre.alpha.54"
4
+ VERSION = "0.1.0.pre.alpha.55"
5
5
  end
data/lib/lithic.rb CHANGED
@@ -91,6 +91,7 @@ require_relative "lithic/models/auth_rules/auth_rule"
91
91
  require_relative "lithic/models/auth_rules/auth_rule_condition"
92
92
  require_relative "lithic/models/auth_rules/conditional_3ds_action_parameters"
93
93
  require_relative "lithic/models/auth_rules/conditional_attribute"
94
+ require_relative "lithic/models/auth_rules/conditional_authorization_action_parameters"
94
95
  require_relative "lithic/models/auth_rules/conditional_block_parameters"
95
96
  require_relative "lithic/models/auth_rules/merchant_lock_parameters"
96
97
  require_relative "lithic/models/auth_rules/rule_stats"
@@ -98,8 +99,6 @@ require_relative "lithic/models/auth_rules/v2/backtest_create_params"
98
99
  require_relative "lithic/models/auth_rules/v2/backtest_create_response"
99
100
  require_relative "lithic/models/auth_rules/v2/backtest_results"
100
101
  require_relative "lithic/models/auth_rules/v2/backtest_retrieve_params"
101
- require_relative "lithic/models/auth_rules/v2_apply_params"
102
- require_relative "lithic/models/auth_rules/v2_apply_response"
103
102
  require_relative "lithic/models/auth_rules/v2_create_params"
104
103
  require_relative "lithic/models/auth_rules/v2_create_response"
105
104
  require_relative "lithic/models/auth_rules/v2_delete_params"
@@ -118,7 +117,7 @@ require_relative "lithic/models/auth_rules/v2_retrieve_response"
118
117
  require_relative "lithic/models/auth_rules/v2_update_params"
119
118
  require_relative "lithic/models/auth_rules/v2_update_response"
120
119
  require_relative "lithic/models/auth_rules/velocity_limit_params"
121
- require_relative "lithic/models/auth_rules/velocity_limit_params_period_window"
120
+ require_relative "lithic/models/auth_rules/velocity_limit_period"
122
121
  require_relative "lithic/models/auth_stream_enrollment_retrieve_secret_params"
123
122
  require_relative "lithic/models/auth_stream_enrollment_rotate_secret_params"
124
123
  require_relative "lithic/models/auth_stream_secret"
@@ -168,15 +167,20 @@ require_relative "lithic/models/digital_card_art_list_params"
168
167
  require_relative "lithic/models/digital_card_art_retrieve_params"
169
168
  require_relative "lithic/models/dispute"
170
169
  require_relative "lithic/models/dispute_create_params"
170
+ require_relative "lithic/models/dispute_create_response"
171
171
  require_relative "lithic/models/dispute_delete_evidence_params"
172
172
  require_relative "lithic/models/dispute_delete_params"
173
+ require_relative "lithic/models/dispute_delete_response"
173
174
  require_relative "lithic/models/dispute_evidence"
174
175
  require_relative "lithic/models/dispute_initiate_evidence_upload_params"
175
176
  require_relative "lithic/models/dispute_list_evidences_params"
176
177
  require_relative "lithic/models/dispute_list_params"
178
+ require_relative "lithic/models/dispute_list_response"
177
179
  require_relative "lithic/models/dispute_retrieve_evidence_params"
178
180
  require_relative "lithic/models/dispute_retrieve_params"
181
+ require_relative "lithic/models/dispute_retrieve_response"
179
182
  require_relative "lithic/models/dispute_update_params"
183
+ require_relative "lithic/models/dispute_update_response"
180
184
  require_relative "lithic/models/document"
181
185
  require_relative "lithic/models/event"
182
186
  require_relative "lithic/models/event_list_attempts_params"
@@ -67,10 +67,7 @@ module Lithic
67
67
  # users of businesses. Pass the account_token of the enrolled business associated
68
68
  # with the AUTHORIZED_USER in this field.
69
69
  sig { returns(T.nilable(String)) }
70
- attr_reader :business_account_token
71
-
72
- sig { params(business_account_token: String).void }
73
- attr_writer :business_account_token
70
+ attr_accessor :business_account_token
74
71
 
75
72
  # Only present when user_type == "BUSINESS". Information about the business for
76
73
  # which the account is being opened and KYB is being run.
@@ -302,7 +299,7 @@ module Lithic
302
299
  T::Array[
303
300
  Lithic::Models::AccountHolderSimulateEnrollmentReviewResponse::BeneficialOwnerIndividual::OrHash
304
301
  ],
305
- business_account_token: String,
302
+ business_account_token: T.nilable(String),
306
303
  business_entity: Lithic::KYBBusinessEntity::OrHash,
307
304
  control_person:
308
305
  Lithic::Models::AccountHolderSimulateEnrollmentReviewResponse::ControlPerson::OrHash,
@@ -420,7 +417,7 @@ module Lithic
420
417
  T::Array[
421
418
  Lithic::Models::AccountHolderSimulateEnrollmentReviewResponse::BeneficialOwnerIndividual
422
419
  ],
423
- business_account_token: String,
420
+ business_account_token: T.nilable(String),
424
421
  business_entity: Lithic::KYBBusinessEntity,
425
422
  control_person:
426
423
  Lithic::Models::AccountHolderSimulateEnrollmentReviewResponse::ControlPerson,
@@ -79,10 +79,7 @@ module Lithic
79
79
  # users of businesses. Pass the account_token of the enrolled business associated
80
80
  # with the AUTHORIZED_USER in this field.
81
81
  sig { returns(T.nilable(String)) }
82
- attr_reader :business_account_token
83
-
84
- sig { params(business_account_token: String).void }
85
- attr_writer :business_account_token
82
+ attr_accessor :business_account_token
86
83
 
87
84
  # Only present when user_type == "BUSINESS". Information about the business for
88
85
  # which the account is being opened and KYB is being run.
@@ -314,7 +311,7 @@ module Lithic
314
311
  T::Array[
315
312
  Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::BeneficialOwnerIndividual::OrHash
316
313
  ],
317
- business_account_token: String,
314
+ business_account_token: T.nilable(String),
318
315
  business_entity: Lithic::KYBBusinessEntity::OrHash,
319
316
  control_person:
320
317
  Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::ControlPerson::OrHash,
@@ -432,7 +429,7 @@ module Lithic
432
429
  T::Array[
433
430
  Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::BeneficialOwnerIndividual
434
431
  ],
435
- business_account_token: String,
432
+ business_account_token: T.nilable(String),
436
433
  business_entity: Lithic::KYBBusinessEntity,
437
434
  control_person:
438
435
  Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::ControlPerson,
@@ -1664,10 +1661,7 @@ module Lithic
1664
1661
 
1665
1662
  # The token for the business account that the account holder is associated with
1666
1663
  sig { returns(T.nilable(String)) }
1667
- attr_reader :business_account_token
1668
-
1669
- sig { params(business_account_token: String).void }
1670
- attr_writer :business_account_token
1664
+ attr_accessor :business_account_token
1671
1665
 
1672
1666
  # The email for the account holder
1673
1667
  sig { returns(T.nilable(String)) }
@@ -1709,7 +1703,7 @@ module Lithic
1709
1703
  token: String,
1710
1704
  address:
1711
1705
  Lithic::Models::AccountHolderUpdateResponse::PatchResponse::Address::OrHash,
1712
- business_account_token: String,
1706
+ business_account_token: T.nilable(String),
1713
1707
  email: String,
1714
1708
  first_name: String,
1715
1709
  last_name: String,
@@ -1743,7 +1737,7 @@ module Lithic
1743
1737
  token: String,
1744
1738
  address:
1745
1739
  Lithic::Models::AccountHolderUpdateResponse::PatchResponse::Address,
1746
- business_account_token: String,
1740
+ business_account_token: T.nilable(String),
1747
1741
  email: String,
1748
1742
  first_name: String,
1749
1743
  last_name: String,