lithic 0.1.0.pre.alpha.30 → 0.1.0.pre.alpha.32

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 (91) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +28 -0
  3. data/README.md +1 -1
  4. data/lib/lithic/internal/util.rb +8 -9
  5. data/lib/lithic/models/account.rb +10 -10
  6. data/lib/lithic/models/account_update_params.rb +5 -4
  7. data/lib/lithic/models/auth_rules/v2/backtest_results.rb +100 -28
  8. data/lib/lithic/models/auth_rules/v2_apply_response.rb +401 -10
  9. data/lib/lithic/models/auth_rules/v2_create_params.rb +205 -6
  10. data/lib/lithic/models/auth_rules/v2_create_response.rb +401 -10
  11. data/lib/lithic/models/auth_rules/v2_draft_params.rb +186 -3
  12. data/lib/lithic/models/auth_rules/v2_draft_response.rb +401 -10
  13. data/lib/lithic/models/auth_rules/v2_list_params.rb +27 -8
  14. data/lib/lithic/models/auth_rules/v2_list_response.rb +401 -10
  15. data/lib/lithic/models/auth_rules/v2_promote_response.rb +401 -10
  16. data/lib/lithic/models/auth_rules/v2_retrieve_response.rb +401 -10
  17. data/lib/lithic/models/auth_rules/v2_update_response.rb +401 -10
  18. data/lib/lithic/models/auth_rules/velocity_limit_params.rb +1 -0
  19. data/lib/lithic/models/auth_rules/velocity_limit_params_period_window.rb +3 -0
  20. data/lib/lithic/models/financial_account.rb +1 -0
  21. data/lib/lithic/models/financial_account_register_account_number_params.rb +20 -0
  22. data/lib/lithic/models/funding_event_list_response.rb +26 -22
  23. data/lib/lithic/models/funding_event_retrieve_response.rb +26 -22
  24. data/lib/lithic/models/instance_financial_account_type.rb +1 -0
  25. data/lib/lithic/models/payment.rb +2 -2
  26. data/lib/lithic/models/required_document.rb +2 -2
  27. data/lib/lithic/models/settlement_detail.rb +4 -2
  28. data/lib/lithic/models/transaction.rb +3 -1
  29. data/lib/lithic/models/verification_method.rb +1 -0
  30. data/lib/lithic/models.rb +2 -0
  31. data/lib/lithic/resources/auth_rules/v2/backtests.rb +12 -13
  32. data/lib/lithic/resources/auth_rules/v2.rb +43 -39
  33. data/lib/lithic/resources/financial_accounts.rb +24 -0
  34. data/lib/lithic/resources/three_ds/authentication.rb +3 -1
  35. data/lib/lithic/version.rb +1 -1
  36. data/lib/lithic.rb +1 -0
  37. data/rbi/lithic/internal/util.rbi +2 -0
  38. data/rbi/lithic/models/account.rbi +15 -15
  39. data/rbi/lithic/models/account_update_params.rbi +8 -6
  40. data/rbi/lithic/models/auth_rules/v2/backtest_results.rbi +186 -24
  41. data/rbi/lithic/models/auth_rules/v2_apply_response.rbi +895 -7
  42. data/rbi/lithic/models/auth_rules/v2_create_params.rbi +442 -8
  43. data/rbi/lithic/models/auth_rules/v2_create_response.rbi +895 -7
  44. data/rbi/lithic/models/auth_rules/v2_draft_params.rbi +414 -4
  45. data/rbi/lithic/models/auth_rules/v2_draft_response.rbi +895 -7
  46. data/rbi/lithic/models/auth_rules/v2_list_params.rbi +60 -7
  47. data/rbi/lithic/models/auth_rules/v2_list_response.rbi +895 -7
  48. data/rbi/lithic/models/auth_rules/v2_promote_response.rbi +895 -7
  49. data/rbi/lithic/models/auth_rules/v2_retrieve_response.rbi +895 -7
  50. data/rbi/lithic/models/auth_rules/v2_update_response.rbi +895 -7
  51. data/rbi/lithic/models/auth_rules/velocity_limit_params_period_window.rbi +7 -0
  52. data/rbi/lithic/models/financial_account.rbi +2 -0
  53. data/rbi/lithic/models/financial_account_register_account_number_params.rbi +38 -0
  54. data/rbi/lithic/models/funding_event_list_response.rbi +35 -28
  55. data/rbi/lithic/models/funding_event_retrieve_response.rbi +35 -28
  56. data/rbi/lithic/models/instance_financial_account_type.rbi +2 -0
  57. data/rbi/lithic/models/payment.rbi +3 -3
  58. data/rbi/lithic/models/required_document.rbi +2 -2
  59. data/rbi/lithic/models/settlement_detail.rbi +6 -2
  60. data/rbi/lithic/models/transaction.rbi +9 -2
  61. data/rbi/lithic/models/verification_method.rbi +1 -0
  62. data/rbi/lithic/models.rbi +3 -0
  63. data/rbi/lithic/resources/accounts.rbi +2 -2
  64. data/rbi/lithic/resources/auth_rules/v2/backtests.rbi +12 -13
  65. data/rbi/lithic/resources/auth_rules/v2.rbi +49 -38
  66. data/rbi/lithic/resources/financial_accounts.rbi +16 -0
  67. data/rbi/lithic/resources/three_ds/authentication.rbi +3 -1
  68. data/sig/lithic/models/account_update_params.rbs +2 -1
  69. data/sig/lithic/models/auth_rules/v2/backtest_results.rbs +66 -2
  70. data/sig/lithic/models/auth_rules/v2_apply_response.rbs +280 -1
  71. data/sig/lithic/models/auth_rules/v2_create_params.rbs +135 -1
  72. data/sig/lithic/models/auth_rules/v2_create_response.rbs +280 -1
  73. data/sig/lithic/models/auth_rules/v2_draft_params.rbs +129 -0
  74. data/sig/lithic/models/auth_rules/v2_draft_response.rbs +280 -1
  75. data/sig/lithic/models/auth_rules/v2_list_params.rbs +20 -0
  76. data/sig/lithic/models/auth_rules/v2_list_response.rbs +280 -1
  77. data/sig/lithic/models/auth_rules/v2_promote_response.rbs +280 -1
  78. data/sig/lithic/models/auth_rules/v2_retrieve_response.rbs +280 -1
  79. data/sig/lithic/models/auth_rules/v2_update_response.rbs +280 -1
  80. data/sig/lithic/models/auth_rules/velocity_limit_params_period_window.rbs +2 -1
  81. data/sig/lithic/models/financial_account.rbs +2 -0
  82. data/sig/lithic/models/financial_account_register_account_number_params.rbs +23 -0
  83. data/sig/lithic/models/funding_event_list_response.rbs +18 -11
  84. data/sig/lithic/models/funding_event_retrieve_response.rbs +18 -11
  85. data/sig/lithic/models/instance_financial_account_type.rbs +2 -0
  86. data/sig/lithic/models/transaction.rbs +3 -1
  87. data/sig/lithic/models/verification_method.rbs +7 -1
  88. data/sig/lithic/models.rbs +2 -0
  89. data/sig/lithic/resources/auth_rules/v2.rbs +1 -0
  90. data/sig/lithic/resources/financial_accounts.rbs +6 -0
  91. metadata +5 -2
@@ -10,6 +10,8 @@ module Lithic
10
10
  # Eastern Time.
11
11
  # - `MONTH`: Velocity over the current month since 00:00 / 12 AM on the first of
12
12
  # the month in Eastern Time.
13
+ # - `YEAR`: Velocity over the current year since 00:00 / 12 AM on January 1st in
14
+ # Eastern Time.
13
15
  module VelocityLimitParamsPeriodWindow
14
16
  extend Lithic::Internal::Type::Enum
15
17
 
@@ -34,6 +36,11 @@ module Lithic
34
36
  :MONTH,
35
37
  Lithic::AuthRules::VelocityLimitParamsPeriodWindow::TaggedSymbol
36
38
  )
39
+ YEAR =
40
+ T.let(
41
+ :YEAR,
42
+ Lithic::AuthRules::VelocityLimitParamsPeriodWindow::TaggedSymbol
43
+ )
37
44
 
38
45
  sig do
39
46
  override.returns(
@@ -353,6 +353,8 @@ module Lithic
353
353
  :PROGRAM_RECEIVABLES,
354
354
  Lithic::FinancialAccount::Type::TaggedSymbol
355
355
  )
356
+ COLLECTION =
357
+ T.let(:COLLECTION, Lithic::FinancialAccount::Type::TaggedSymbol)
356
358
 
357
359
  sig do
358
360
  override.returns(
@@ -0,0 +1,38 @@
1
+ # typed: strong
2
+
3
+ module Lithic
4
+ module Models
5
+ class FinancialAccountRegisterAccountNumberParams < Lithic::Internal::Type::BaseModel
6
+ extend Lithic::Internal::Type::RequestParameters::Converter
7
+ include Lithic::Internal::Type::RequestParameters
8
+
9
+ OrHash =
10
+ T.type_alias do
11
+ T.any(
12
+ Lithic::FinancialAccountRegisterAccountNumberParams,
13
+ Lithic::Internal::AnyHash
14
+ )
15
+ end
16
+
17
+ sig { returns(String) }
18
+ attr_accessor :account_number
19
+
20
+ sig do
21
+ params(
22
+ account_number: String,
23
+ request_options: Lithic::RequestOptions::OrHash
24
+ ).returns(T.attached_class)
25
+ end
26
+ def self.new(account_number:, request_options: {})
27
+ end
28
+
29
+ sig do
30
+ override.returns(
31
+ { account_number: String, request_options: Lithic::RequestOptions }
32
+ )
33
+ end
34
+ def to_hash
35
+ end
36
+ end
37
+ end
38
+ end
@@ -23,7 +23,8 @@ module Lithic
23
23
  end
24
24
  attr_accessor :collection_resource_type
25
25
 
26
- # IDs of collections
26
+ # IDs of collections, further information can be gathered from the appropriate
27
+ # collection API based on collection_resource_type
27
28
  sig { returns(T::Array[String]) }
28
29
  attr_accessor :collection_tokens
29
30
 
@@ -35,19 +36,19 @@ module Lithic
35
36
  sig { returns(Time) }
36
37
  attr_accessor :high_watermark
37
38
 
38
- # Time of the previous high watermark
39
- sig { returns(Time) }
40
- attr_accessor :previous_high_watermark
41
-
42
- # List of settlements
39
+ # Network settlement summary breakdown by network settlement date
43
40
  sig do
44
41
  returns(
45
42
  T::Array[
46
- Lithic::Models::FundingEventListResponse::SettlementBreakdown
43
+ Lithic::Models::FundingEventListResponse::NetworkSettlementSummary
47
44
  ]
48
45
  )
49
46
  end
50
- attr_accessor :settlement_breakdowns
47
+ attr_accessor :network_settlement_summary
48
+
49
+ # Time of the previous high watermark
50
+ sig { returns(Time) }
51
+ attr_accessor :previous_high_watermark
51
52
 
52
53
  # Time of the update
53
54
  sig { returns(Time) }
@@ -61,11 +62,11 @@ module Lithic
61
62
  collection_tokens: T::Array[String],
62
63
  created: Time,
63
64
  high_watermark: Time,
64
- previous_high_watermark: Time,
65
- settlement_breakdowns:
65
+ network_settlement_summary:
66
66
  T::Array[
67
- Lithic::Models::FundingEventListResponse::SettlementBreakdown::OrHash
67
+ Lithic::Models::FundingEventListResponse::NetworkSettlementSummary::OrHash
68
68
  ],
69
+ previous_high_watermark: Time,
69
70
  updated: Time
70
71
  ).returns(T.attached_class)
71
72
  end
@@ -74,16 +75,17 @@ module Lithic
74
75
  token:,
75
76
  # Collection resource type
76
77
  collection_resource_type:,
77
- # IDs of collections
78
+ # IDs of collections, further information can be gathered from the appropriate
79
+ # collection API based on collection_resource_type
78
80
  collection_tokens:,
79
81
  # Time of the creation
80
82
  created:,
81
83
  # Time of the high watermark
82
84
  high_watermark:,
85
+ # Network settlement summary breakdown by network settlement date
86
+ network_settlement_summary:,
83
87
  # Time of the previous high watermark
84
88
  previous_high_watermark:,
85
- # List of settlements
86
- settlement_breakdowns:,
87
89
  # Time of the update
88
90
  updated:
89
91
  )
@@ -98,11 +100,11 @@ module Lithic
98
100
  collection_tokens: T::Array[String],
99
101
  created: Time,
100
102
  high_watermark: Time,
101
- previous_high_watermark: Time,
102
- settlement_breakdowns:
103
+ network_settlement_summary:
103
104
  T::Array[
104
- Lithic::Models::FundingEventListResponse::SettlementBreakdown
105
+ Lithic::Models::FundingEventListResponse::NetworkSettlementSummary
105
106
  ],
107
+ previous_high_watermark: Time,
106
108
  updated: Time
107
109
  }
108
110
  )
@@ -145,30 +147,35 @@ module Lithic
145
147
  end
146
148
  end
147
149
 
148
- class SettlementBreakdown < Lithic::Internal::Type::BaseModel
150
+ class NetworkSettlementSummary < Lithic::Internal::Type::BaseModel
149
151
  OrHash =
150
152
  T.type_alias do
151
153
  T.any(
152
- Lithic::Models::FundingEventListResponse::SettlementBreakdown,
154
+ Lithic::Models::FundingEventListResponse::NetworkSettlementSummary,
153
155
  Lithic::Internal::AnyHash
154
156
  )
155
157
  end
156
158
 
157
- sig { returns(Integer) }
158
- attr_accessor :amount
159
-
160
159
  sig { returns(Date) }
161
- attr_accessor :settlement_date
160
+ attr_accessor :network_settlement_date
161
+
162
+ sig { returns(Integer) }
163
+ attr_accessor :settled_gross_amount
162
164
 
163
165
  sig do
164
- params(amount: Integer, settlement_date: Date).returns(
165
- T.attached_class
166
- )
166
+ params(
167
+ network_settlement_date: Date,
168
+ settled_gross_amount: Integer
169
+ ).returns(T.attached_class)
167
170
  end
168
- def self.new(amount:, settlement_date:)
171
+ def self.new(network_settlement_date:, settled_gross_amount:)
169
172
  end
170
173
 
171
- sig { override.returns({ amount: Integer, settlement_date: Date }) }
174
+ sig do
175
+ override.returns(
176
+ { network_settlement_date: Date, settled_gross_amount: Integer }
177
+ )
178
+ end
172
179
  def to_hash
173
180
  end
174
181
  end
@@ -23,7 +23,8 @@ module Lithic
23
23
  end
24
24
  attr_accessor :collection_resource_type
25
25
 
26
- # IDs of collections
26
+ # IDs of collections, further information can be gathered from the appropriate
27
+ # collection API based on collection_resource_type
27
28
  sig { returns(T::Array[String]) }
28
29
  attr_accessor :collection_tokens
29
30
 
@@ -35,19 +36,19 @@ module Lithic
35
36
  sig { returns(Time) }
36
37
  attr_accessor :high_watermark
37
38
 
38
- # Time of the previous high watermark
39
- sig { returns(Time) }
40
- attr_accessor :previous_high_watermark
41
-
42
- # List of settlements
39
+ # Network settlement summary breakdown by network settlement date
43
40
  sig do
44
41
  returns(
45
42
  T::Array[
46
- Lithic::Models::FundingEventRetrieveResponse::SettlementBreakdown
43
+ Lithic::Models::FundingEventRetrieveResponse::NetworkSettlementSummary
47
44
  ]
48
45
  )
49
46
  end
50
- attr_accessor :settlement_breakdowns
47
+ attr_accessor :network_settlement_summary
48
+
49
+ # Time of the previous high watermark
50
+ sig { returns(Time) }
51
+ attr_accessor :previous_high_watermark
51
52
 
52
53
  # Time of the update
53
54
  sig { returns(Time) }
@@ -61,11 +62,11 @@ module Lithic
61
62
  collection_tokens: T::Array[String],
62
63
  created: Time,
63
64
  high_watermark: Time,
64
- previous_high_watermark: Time,
65
- settlement_breakdowns:
65
+ network_settlement_summary:
66
66
  T::Array[
67
- Lithic::Models::FundingEventRetrieveResponse::SettlementBreakdown::OrHash
67
+ Lithic::Models::FundingEventRetrieveResponse::NetworkSettlementSummary::OrHash
68
68
  ],
69
+ previous_high_watermark: Time,
69
70
  updated: Time
70
71
  ).returns(T.attached_class)
71
72
  end
@@ -74,16 +75,17 @@ module Lithic
74
75
  token:,
75
76
  # Collection resource type
76
77
  collection_resource_type:,
77
- # IDs of collections
78
+ # IDs of collections, further information can be gathered from the appropriate
79
+ # collection API based on collection_resource_type
78
80
  collection_tokens:,
79
81
  # Time of the creation
80
82
  created:,
81
83
  # Time of the high watermark
82
84
  high_watermark:,
85
+ # Network settlement summary breakdown by network settlement date
86
+ network_settlement_summary:,
83
87
  # Time of the previous high watermark
84
88
  previous_high_watermark:,
85
- # List of settlements
86
- settlement_breakdowns:,
87
89
  # Time of the update
88
90
  updated:
89
91
  )
@@ -98,11 +100,11 @@ module Lithic
98
100
  collection_tokens: T::Array[String],
99
101
  created: Time,
100
102
  high_watermark: Time,
101
- previous_high_watermark: Time,
102
- settlement_breakdowns:
103
+ network_settlement_summary:
103
104
  T::Array[
104
- Lithic::Models::FundingEventRetrieveResponse::SettlementBreakdown
105
+ Lithic::Models::FundingEventRetrieveResponse::NetworkSettlementSummary
105
106
  ],
107
+ previous_high_watermark: Time,
106
108
  updated: Time
107
109
  }
108
110
  )
@@ -145,30 +147,35 @@ module Lithic
145
147
  end
146
148
  end
147
149
 
148
- class SettlementBreakdown < Lithic::Internal::Type::BaseModel
150
+ class NetworkSettlementSummary < Lithic::Internal::Type::BaseModel
149
151
  OrHash =
150
152
  T.type_alias do
151
153
  T.any(
152
- Lithic::Models::FundingEventRetrieveResponse::SettlementBreakdown,
154
+ Lithic::Models::FundingEventRetrieveResponse::NetworkSettlementSummary,
153
155
  Lithic::Internal::AnyHash
154
156
  )
155
157
  end
156
158
 
157
- sig { returns(Integer) }
158
- attr_accessor :amount
159
-
160
159
  sig { returns(Date) }
161
- attr_accessor :settlement_date
160
+ attr_accessor :network_settlement_date
161
+
162
+ sig { returns(Integer) }
163
+ attr_accessor :settled_gross_amount
162
164
 
163
165
  sig do
164
- params(amount: Integer, settlement_date: Date).returns(
165
- T.attached_class
166
- )
166
+ params(
167
+ network_settlement_date: Date,
168
+ settled_gross_amount: Integer
169
+ ).returns(T.attached_class)
167
170
  end
168
- def self.new(amount:, settlement_date:)
171
+ def self.new(network_settlement_date:, settled_gross_amount:)
169
172
  end
170
173
 
171
- sig { override.returns({ amount: Integer, settlement_date: Date }) }
174
+ sig do
175
+ override.returns(
176
+ { network_settlement_date: Date, settled_gross_amount: Integer }
177
+ )
178
+ end
172
179
  def to_hash
173
180
  end
174
181
  end
@@ -38,6 +38,8 @@ module Lithic
38
38
  :PROGRAM_RECEIVABLES,
39
39
  Lithic::InstanceFinancialAccountType::TaggedSymbol
40
40
  )
41
+ COLLECTION =
42
+ T.let(:COLLECTION, Lithic::InstanceFinancialAccountType::TaggedSymbol)
41
43
 
42
44
  sig do
43
45
  override.returns(
@@ -255,7 +255,7 @@ module Lithic
255
255
  # - `ACH_ORIGINATION_REVIEWED` - ACH origination has completed the review process.
256
256
  # - `ACH_ORIGINATION_CANCELLED` - ACH origination has been cancelled.
257
257
  # - `ACH_ORIGINATION_PROCESSED` - ACH origination has been processed and sent to
258
- # the fed.
258
+ # the Federal Reserve.
259
259
  # - `ACH_ORIGINATION_SETTLED` - ACH origination has settled.
260
260
  # - `ACH_ORIGINATION_RELEASED` - ACH origination released from pending to
261
261
  # available balance.
@@ -318,7 +318,7 @@ module Lithic
318
318
  # - `ACH_ORIGINATION_REVIEWED` - ACH origination has completed the review process.
319
319
  # - `ACH_ORIGINATION_CANCELLED` - ACH origination has been cancelled.
320
320
  # - `ACH_ORIGINATION_PROCESSED` - ACH origination has been processed and sent to
321
- # the fed.
321
+ # the Federal Reserve.
322
322
  # - `ACH_ORIGINATION_SETTLED` - ACH origination has settled.
323
323
  # - `ACH_ORIGINATION_RELEASED` - ACH origination released from pending to
324
324
  # available balance.
@@ -383,7 +383,7 @@ module Lithic
383
383
  # - `ACH_ORIGINATION_REVIEWED` - ACH origination has completed the review process.
384
384
  # - `ACH_ORIGINATION_CANCELLED` - ACH origination has been cancelled.
385
385
  # - `ACH_ORIGINATION_PROCESSED` - ACH origination has been processed and sent to
386
- # the fed.
386
+ # the Federal Reserve.
387
387
  # - `ACH_ORIGINATION_SETTLED` - ACH origination has settled.
388
388
  # - `ACH_ORIGINATION_RELEASED` - ACH origination released from pending to
389
389
  # available balance.
@@ -12,7 +12,7 @@ module Lithic
12
12
  sig { returns(String) }
13
13
  attr_accessor :entity_token
14
14
 
15
- # rovides the status reasons that will be satisfied by providing one of the valid
15
+ # Provides the status reasons that will be satisfied by providing one of the valid
16
16
  # documents.
17
17
  sig { returns(T::Array[String]) }
18
18
  attr_accessor :status_reasons
@@ -32,7 +32,7 @@ module Lithic
32
32
  def self.new(
33
33
  # Globally unique identifier for an entity.
34
34
  entity_token:,
35
- # rovides the status reasons that will be satisfied by providing one of the valid
35
+ # Provides the status reasons that will be satisfied by providing one of the valid
36
36
  # documents.
37
37
  status_reasons:,
38
38
  # A list of valid documents that will satisfy the KYC requirements for the
@@ -79,7 +79,9 @@ module Lithic
79
79
  sig { returns(String) }
80
80
  attr_accessor :report_date
81
81
 
82
- # Date of when money movement is triggered for the transaction.
82
+ # Date of when money movement is triggered for the transaction. One exception
83
+ # applies - for Mastercard dual message settlement, this is the settlement
84
+ # advisement date, which is distinct from the date of money movement.
83
85
  sig { returns(String) }
84
86
  attr_accessor :settlement_date
85
87
 
@@ -168,7 +170,9 @@ module Lithic
168
170
  other_fees_gross_amount:,
169
171
  # Date of when the report was first generated.
170
172
  report_date:,
171
- # Date of when money movement is triggered for the transaction.
173
+ # Date of when money movement is triggered for the transaction. One exception
174
+ # applies - for Mastercard dual message settlement, this is the settlement
175
+ # advisement date, which is distinct from the date of money movement.
172
176
  settlement_date:,
173
177
  # Globally unique identifier denoting the associated Transaction object.
174
178
  transaction_token:,
@@ -21,7 +21,8 @@ module Lithic
21
21
  attr_accessor :acquirer_fee
22
22
 
23
23
  # Unique identifier assigned to a transaction by the acquirer that can be used in
24
- # dispute and chargeback filing.
24
+ # dispute and chargeback filing. This field has been deprecated in favor of the
25
+ # `acquirer_reference_number` that resides in the event-level `network_info`.
25
26
  sig { returns(T.nilable(String)) }
26
27
  attr_accessor :acquirer_reference_number
27
28
 
@@ -180,7 +181,8 @@ module Lithic
180
181
  # as a negative value to indicate credited fees.
181
182
  acquirer_fee:,
182
183
  # Unique identifier assigned to a transaction by the acquirer that can be used in
183
- # dispute and chargeback filing.
184
+ # dispute and chargeback filing. This field has been deprecated in favor of the
185
+ # `acquirer_reference_number` that resides in the event-level `network_info`.
184
186
  acquirer_reference_number:,
185
187
  # When the transaction is pending, this represents the authorization amount of the
186
188
  # transaction in the anticipated settlement currency. Once the transaction has
@@ -813,6 +815,11 @@ module Lithic
813
815
  end
814
816
  OrSymbol = T.type_alias { T.any(Symbol, String) }
815
817
 
818
+ CUSTOMER_RULES =
819
+ T.let(
820
+ :CUSTOMER_RULES,
821
+ Lithic::Transaction::CardholderAuthentication::DecisionMadeBy::TaggedSymbol
822
+ )
816
823
  CUSTOMER_ENDPOINT =
817
824
  T.let(
818
825
  :CUSTOMER_ENDPOINT,
@@ -15,6 +15,7 @@ module Lithic
15
15
  PRENOTE = T.let(:PRENOTE, Lithic::VerificationMethod::TaggedSymbol)
16
16
  EXTERNALLY_VERIFIED =
17
17
  T.let(:EXTERNALLY_VERIFIED, Lithic::VerificationMethod::TaggedSymbol)
18
+ UNVERIFIED = T.let(:UNVERIFIED, Lithic::VerificationMethod::TaggedSymbol)
18
19
 
19
20
  sig do
20
21
  override.returns(T::Array[Lithic::VerificationMethod::TaggedSymbol])
@@ -205,6 +205,9 @@ module Lithic
205
205
 
206
206
  FinancialAccountListParams = Lithic::Models::FinancialAccountListParams
207
207
 
208
+ FinancialAccountRegisterAccountNumberParams =
209
+ Lithic::Models::FinancialAccountRegisterAccountNumberParams
210
+
208
211
  FinancialAccountRetrieveParams =
209
212
  Lithic::Models::FinancialAccountRetrieveParams
210
213
 
@@ -53,8 +53,8 @@ module Lithic
53
53
  state: nil,
54
54
  # Address used during Address Verification Service (AVS) checks during
55
55
  # transactions if enabled via Auth Rules. This field is deprecated as AVS checks
56
- # are no longer supported by Authorization Rules. The field will be removed from
57
- # the schema in a future release.
56
+ # are no longer supported by Auth Rules. The field will be removed from the schema
57
+ # in a future release.
58
58
  verification_address: nil,
59
59
  request_options: {}
60
60
  )
@@ -5,16 +5,15 @@ module Lithic
5
5
  class AuthRules
6
6
  class V2
7
7
  class Backtests
8
- # Initiates a request to asynchronously generate a backtest for an authorization
9
- # rule. During backtesting, both the active version (if one exists) and the draft
10
- # version of the Authorization Rule are evaluated by replaying historical
11
- # transaction data against the rule's conditions. This process allows customers to
12
- # simulate and understand the effects of proposed rule changes before deployment.
13
- # The generated backtest report provides detailed results showing whether the
14
- # draft version of the Auth Rule would have approved or declined historical
15
- # transactions which were processed during the backtest period. These reports help
16
- # evaluate how changes to rule configurations might affect overall transaction
17
- # approval rates.
8
+ # Initiates a request to asynchronously generate a backtest for an Auth rule.
9
+ # During backtesting, both the active version (if one exists) and the draft
10
+ # version of the Auth Rule are evaluated by replaying historical transaction data
11
+ # against the rule's conditions. This process allows customers to simulate and
12
+ # understand the effects of proposed rule changes before deployment. The generated
13
+ # backtest report provides detailed results showing whether the draft version of
14
+ # the Auth Rule would have approved or declined historical transactions which were
15
+ # processed during the backtest period. These reports help evaluate how changes to
16
+ # rule configurations might affect overall transaction approval rates.
18
17
  #
19
18
  # The generated backtest report will be delivered asynchronously through a webhook
20
19
  # with `event_type` = `auth_rules.backtest_report.created`. See the docs on
@@ -49,7 +48,7 @@ module Lithic
49
48
  )
50
49
  end
51
50
 
52
- # Returns the backtest results of an authorization rule (if available).
51
+ # Returns the backtest results of an Auth rule (if available).
53
52
  #
54
53
  # Backtesting is an asynchronous process that requires time to complete. If a
55
54
  # customer retrieves the backtest results using this endpoint before the report is
@@ -65,8 +64,8 @@ module Lithic
65
64
  # also always represent the configuration of the rule at the time requests are
66
65
  # made to this endpoint. For example, the results for `current_version` in the
67
66
  # served backtest report will be consistent with which version of the rule is
68
- # currently activated in the Auth Stream, regardless of which version of the rule
69
- # was active in the Auth Stream at the time a backtest is requested.
67
+ # currently activated in the respective event stream, regardless of which version
68
+ # of the rule was active in the event stream at the time a backtest is requested.
70
69
  sig do
71
70
  params(
72
71
  auth_rule_backtest_token: String,