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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +28 -0
- data/README.md +1 -1
- data/lib/lithic/internal/util.rb +8 -9
- data/lib/lithic/models/account.rb +10 -10
- data/lib/lithic/models/account_update_params.rb +5 -4
- data/lib/lithic/models/auth_rules/v2/backtest_results.rb +100 -28
- data/lib/lithic/models/auth_rules/v2_apply_response.rb +401 -10
- data/lib/lithic/models/auth_rules/v2_create_params.rb +205 -6
- data/lib/lithic/models/auth_rules/v2_create_response.rb +401 -10
- data/lib/lithic/models/auth_rules/v2_draft_params.rb +186 -3
- data/lib/lithic/models/auth_rules/v2_draft_response.rb +401 -10
- data/lib/lithic/models/auth_rules/v2_list_params.rb +27 -8
- data/lib/lithic/models/auth_rules/v2_list_response.rb +401 -10
- data/lib/lithic/models/auth_rules/v2_promote_response.rb +401 -10
- data/lib/lithic/models/auth_rules/v2_retrieve_response.rb +401 -10
- data/lib/lithic/models/auth_rules/v2_update_response.rb +401 -10
- data/lib/lithic/models/auth_rules/velocity_limit_params.rb +1 -0
- data/lib/lithic/models/auth_rules/velocity_limit_params_period_window.rb +3 -0
- data/lib/lithic/models/financial_account.rb +1 -0
- data/lib/lithic/models/financial_account_register_account_number_params.rb +20 -0
- data/lib/lithic/models/funding_event_list_response.rb +26 -22
- data/lib/lithic/models/funding_event_retrieve_response.rb +26 -22
- data/lib/lithic/models/instance_financial_account_type.rb +1 -0
- data/lib/lithic/models/payment.rb +2 -2
- data/lib/lithic/models/required_document.rb +2 -2
- data/lib/lithic/models/settlement_detail.rb +4 -2
- data/lib/lithic/models/transaction.rb +3 -1
- data/lib/lithic/models/verification_method.rb +1 -0
- data/lib/lithic/models.rb +2 -0
- data/lib/lithic/resources/auth_rules/v2/backtests.rb +12 -13
- data/lib/lithic/resources/auth_rules/v2.rb +43 -39
- data/lib/lithic/resources/financial_accounts.rb +24 -0
- data/lib/lithic/resources/three_ds/authentication.rb +3 -1
- data/lib/lithic/version.rb +1 -1
- data/lib/lithic.rb +1 -0
- data/rbi/lithic/internal/util.rbi +2 -0
- data/rbi/lithic/models/account.rbi +15 -15
- data/rbi/lithic/models/account_update_params.rbi +8 -6
- data/rbi/lithic/models/auth_rules/v2/backtest_results.rbi +186 -24
- data/rbi/lithic/models/auth_rules/v2_apply_response.rbi +895 -7
- data/rbi/lithic/models/auth_rules/v2_create_params.rbi +442 -8
- data/rbi/lithic/models/auth_rules/v2_create_response.rbi +895 -7
- data/rbi/lithic/models/auth_rules/v2_draft_params.rbi +414 -4
- data/rbi/lithic/models/auth_rules/v2_draft_response.rbi +895 -7
- data/rbi/lithic/models/auth_rules/v2_list_params.rbi +60 -7
- data/rbi/lithic/models/auth_rules/v2_list_response.rbi +895 -7
- data/rbi/lithic/models/auth_rules/v2_promote_response.rbi +895 -7
- data/rbi/lithic/models/auth_rules/v2_retrieve_response.rbi +895 -7
- data/rbi/lithic/models/auth_rules/v2_update_response.rbi +895 -7
- data/rbi/lithic/models/auth_rules/velocity_limit_params_period_window.rbi +7 -0
- data/rbi/lithic/models/financial_account.rbi +2 -0
- data/rbi/lithic/models/financial_account_register_account_number_params.rbi +38 -0
- data/rbi/lithic/models/funding_event_list_response.rbi +35 -28
- data/rbi/lithic/models/funding_event_retrieve_response.rbi +35 -28
- data/rbi/lithic/models/instance_financial_account_type.rbi +2 -0
- data/rbi/lithic/models/payment.rbi +3 -3
- data/rbi/lithic/models/required_document.rbi +2 -2
- data/rbi/lithic/models/settlement_detail.rbi +6 -2
- data/rbi/lithic/models/transaction.rbi +9 -2
- data/rbi/lithic/models/verification_method.rbi +1 -0
- data/rbi/lithic/models.rbi +3 -0
- data/rbi/lithic/resources/accounts.rbi +2 -2
- data/rbi/lithic/resources/auth_rules/v2/backtests.rbi +12 -13
- data/rbi/lithic/resources/auth_rules/v2.rbi +49 -38
- data/rbi/lithic/resources/financial_accounts.rbi +16 -0
- data/rbi/lithic/resources/three_ds/authentication.rbi +3 -1
- data/sig/lithic/models/account_update_params.rbs +2 -1
- data/sig/lithic/models/auth_rules/v2/backtest_results.rbs +66 -2
- data/sig/lithic/models/auth_rules/v2_apply_response.rbs +280 -1
- data/sig/lithic/models/auth_rules/v2_create_params.rbs +135 -1
- data/sig/lithic/models/auth_rules/v2_create_response.rbs +280 -1
- data/sig/lithic/models/auth_rules/v2_draft_params.rbs +129 -0
- data/sig/lithic/models/auth_rules/v2_draft_response.rbs +280 -1
- data/sig/lithic/models/auth_rules/v2_list_params.rbs +20 -0
- data/sig/lithic/models/auth_rules/v2_list_response.rbs +280 -1
- data/sig/lithic/models/auth_rules/v2_promote_response.rbs +280 -1
- data/sig/lithic/models/auth_rules/v2_retrieve_response.rbs +280 -1
- data/sig/lithic/models/auth_rules/v2_update_response.rbs +280 -1
- data/sig/lithic/models/auth_rules/velocity_limit_params_period_window.rbs +2 -1
- data/sig/lithic/models/financial_account.rbs +2 -0
- data/sig/lithic/models/financial_account_register_account_number_params.rbs +23 -0
- data/sig/lithic/models/funding_event_list_response.rbs +18 -11
- data/sig/lithic/models/funding_event_retrieve_response.rbs +18 -11
- data/sig/lithic/models/instance_financial_account_type.rbs +2 -0
- data/sig/lithic/models/transaction.rbs +3 -1
- data/sig/lithic/models/verification_method.rbs +7 -1
- data/sig/lithic/models.rbs +2 -0
- data/sig/lithic/resources/auth_rules/v2.rbs +1 -0
- data/sig/lithic/resources/financial_accounts.rbs +6 -0
- 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(
|
@@ -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
|
-
#
|
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::
|
43
|
+
Lithic::Models::FundingEventListResponse::NetworkSettlementSummary
|
47
44
|
]
|
48
45
|
)
|
49
46
|
end
|
50
|
-
attr_accessor :
|
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
|
-
|
65
|
-
settlement_breakdowns:
|
65
|
+
network_settlement_summary:
|
66
66
|
T::Array[
|
67
|
-
Lithic::Models::FundingEventListResponse::
|
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
|
-
|
102
|
-
settlement_breakdowns:
|
103
|
+
network_settlement_summary:
|
103
104
|
T::Array[
|
104
|
-
Lithic::Models::FundingEventListResponse::
|
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
|
150
|
+
class NetworkSettlementSummary < Lithic::Internal::Type::BaseModel
|
149
151
|
OrHash =
|
150
152
|
T.type_alias do
|
151
153
|
T.any(
|
152
|
-
Lithic::Models::FundingEventListResponse::
|
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 :
|
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(
|
165
|
-
|
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(
|
171
|
+
def self.new(network_settlement_date:, settled_gross_amount:)
|
169
172
|
end
|
170
173
|
|
171
|
-
sig
|
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
|
-
#
|
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::
|
43
|
+
Lithic::Models::FundingEventRetrieveResponse::NetworkSettlementSummary
|
47
44
|
]
|
48
45
|
)
|
49
46
|
end
|
50
|
-
attr_accessor :
|
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
|
-
|
65
|
-
settlement_breakdowns:
|
65
|
+
network_settlement_summary:
|
66
66
|
T::Array[
|
67
|
-
Lithic::Models::FundingEventRetrieveResponse::
|
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
|
-
|
102
|
-
settlement_breakdowns:
|
103
|
+
network_settlement_summary:
|
103
104
|
T::Array[
|
104
|
-
Lithic::Models::FundingEventRetrieveResponse::
|
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
|
150
|
+
class NetworkSettlementSummary < Lithic::Internal::Type::BaseModel
|
149
151
|
OrHash =
|
150
152
|
T.type_alias do
|
151
153
|
T.any(
|
152
|
-
Lithic::Models::FundingEventRetrieveResponse::
|
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 :
|
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(
|
165
|
-
|
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(
|
171
|
+
def self.new(network_settlement_date:, settled_gross_amount:)
|
169
172
|
end
|
170
173
|
|
171
|
-
sig
|
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
|
@@ -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
|
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
|
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
|
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
|
-
#
|
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
|
-
#
|
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])
|
data/rbi/lithic/models.rbi
CHANGED
@@ -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
|
57
|
-
#
|
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
|
9
|
-
#
|
10
|
-
# version of the
|
11
|
-
#
|
12
|
-
#
|
13
|
-
#
|
14
|
-
#
|
15
|
-
#
|
16
|
-
#
|
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
|
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
|
69
|
-
# was active in the
|
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,
|