lithic 0.12.0 → 0.13.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +28 -0
- data/README.md +1 -1
- data/lib/lithic/client.rb +15 -1
- data/lib/lithic/models/account.rb +2 -2
- data/lib/lithic/models/account_holder_simulate_enrollment_review_response.rb +5 -4
- data/lib/lithic/models/account_holder_update_response.rb +3 -3
- data/lib/lithic/models/account_update_params.rb +2 -2
- data/lib/lithic/models/auth_rules/auth_rule.rb +14 -8
- data/lib/lithic/models/auth_rules/auth_rule_version.rb +5 -3
- data/lib/lithic/models/auth_rules/card_transaction_update_action.rb +109 -0
- data/lib/lithic/models/auth_rules/conditional_authorization_action_parameters.rb +9 -0
- data/lib/lithic/models/auth_rules/conditional_card_transaction_update_action_parameters.rb +244 -0
- data/lib/lithic/models/auth_rules/event_stream.rb +1 -0
- data/lib/lithic/models/auth_rules/spend_velocity_filters.rb +33 -0
- data/lib/lithic/models/auth_rules/v2_create_params.rb +27 -15
- data/lib/lithic/models/auth_rules/v2_draft_params.rb +5 -3
- data/lib/lithic/models/card_create_params.rb +4 -2
- data/lib/lithic/models/card_renew_params.rb +4 -2
- data/lib/lithic/models/non_pci_card.rb +13 -13
- data/lib/lithic/models/reports/settlement/network_total_list_params.rb +1 -0
- data/lib/lithic/models/settlement_detail.rb +11 -4
- data/lib/lithic/models/settlement_summary_details.rb +1 -0
- data/lib/lithic/resources/accounts.rb +1 -1
- data/lib/lithic/resources/auth_rules/v2.rb +1 -1
- data/lib/lithic/version.rb +1 -1
- data/lib/lithic.rb +4 -1
- data/rbi/lithic/models/account.rbi +3 -6
- data/rbi/lithic/models/account_holder_simulate_enrollment_review_response.rbi +10 -14
- data/rbi/lithic/models/account_holder_update_response.rbi +3 -3
- data/rbi/lithic/models/account_update_params.rbi +5 -8
- data/rbi/lithic/models/auth_rules/auth_rule.rbi +10 -3
- data/rbi/lithic/models/auth_rules/auth_rule_version.rbi +2 -0
- data/rbi/lithic/models/auth_rules/card_transaction_update_action.rbi +242 -0
- data/rbi/lithic/models/auth_rules/conditional_authorization_action_parameters.rbi +17 -0
- data/rbi/lithic/models/auth_rules/conditional_card_transaction_update_action_parameters.rbi +573 -0
- data/rbi/lithic/models/auth_rules/event_stream.rbi +5 -0
- data/rbi/lithic/models/auth_rules/spend_velocity_filters.rbi +58 -0
- data/rbi/lithic/models/auth_rules/v2_create_params.rbi +30 -9
- data/rbi/lithic/models/auth_rules/v2_draft_params.rbi +4 -0
- data/rbi/lithic/models/card_create_params.rbi +8 -4
- data/rbi/lithic/models/card_renew_params.rbi +8 -4
- data/rbi/lithic/models/non_pci_card.rbi +21 -31
- data/rbi/lithic/models/reports/settlement/network_total_list_params.rbi +5 -0
- data/rbi/lithic/models/settlement_detail.rbi +17 -4
- data/rbi/lithic/models/settlement_summary_details.rbi +2 -0
- data/rbi/lithic/resources/accounts.rbi +2 -1
- data/rbi/lithic/resources/auth_rules/v2.rbi +1 -0
- data/rbi/lithic/resources/cards.rbi +8 -4
- data/sig/lithic/models/account.rbs +4 -8
- data/sig/lithic/models/account_holder_simulate_enrollment_review_response.rbs +4 -8
- data/sig/lithic/models/account_update_params.rbs +4 -8
- data/sig/lithic/models/auth_rules/auth_rule.rbs +2 -0
- data/sig/lithic/models/auth_rules/auth_rule_version.rbs +1 -0
- data/sig/lithic/models/auth_rules/card_transaction_update_action.rbs +100 -0
- data/sig/lithic/models/auth_rules/conditional_authorization_action_parameters.rbs +2 -0
- data/sig/lithic/models/auth_rules/conditional_card_transaction_update_action_parameters.rbs +155 -0
- data/sig/lithic/models/auth_rules/event_stream.rbs +2 -0
- data/sig/lithic/models/auth_rules/spend_velocity_filters.rbs +35 -0
- data/sig/lithic/models/auth_rules/v2_create_params.rbs +3 -0
- data/sig/lithic/models/auth_rules/v2_draft_params.rbs +1 -0
- data/sig/lithic/models/non_pci_card.rbs +20 -30
- data/sig/lithic/models/reports/settlement/network_total_list_params.rbs +2 -1
- data/sig/lithic/models/settlement_detail.rbs +3 -1
- data/sig/lithic/models/settlement_summary_details.rbs +3 -1
- data/sig/lithic/resources/accounts.rbs +1 -1
- metadata +11 -2
|
@@ -8,7 +8,7 @@ module Lithic
|
|
|
8
8
|
lifetime_spend_limit: Integer,
|
|
9
9
|
monthly_spend_limit: Integer,
|
|
10
10
|
state: Lithic::Models::AccountUpdateParams::state,
|
|
11
|
-
substatus: Lithic::Models::AccountUpdateParams::substatus
|
|
11
|
+
substatus: Lithic::Models::AccountUpdateParams::substatus?,
|
|
12
12
|
verification_address: Lithic::AccountUpdateParams::VerificationAddress
|
|
13
13
|
}
|
|
14
14
|
& Lithic::Internal::Type::request_parameters
|
|
@@ -41,11 +41,7 @@ module Lithic
|
|
|
41
41
|
Lithic::Models::AccountUpdateParams::state
|
|
42
42
|
) -> Lithic::Models::AccountUpdateParams::state
|
|
43
43
|
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
def substatus=: (
|
|
47
|
-
Lithic::Models::AccountUpdateParams::substatus
|
|
48
|
-
) -> Lithic::Models::AccountUpdateParams::substatus
|
|
44
|
+
attr_accessor substatus: Lithic::Models::AccountUpdateParams::substatus?
|
|
49
45
|
|
|
50
46
|
attr_reader verification_address: Lithic::AccountUpdateParams::VerificationAddress?
|
|
51
47
|
|
|
@@ -60,7 +56,7 @@ module Lithic
|
|
|
60
56
|
?lifetime_spend_limit: Integer,
|
|
61
57
|
?monthly_spend_limit: Integer,
|
|
62
58
|
?state: Lithic::Models::AccountUpdateParams::state,
|
|
63
|
-
?substatus: Lithic::Models::AccountUpdateParams::substatus
|
|
59
|
+
?substatus: Lithic::Models::AccountUpdateParams::substatus?,
|
|
64
60
|
?verification_address: Lithic::AccountUpdateParams::VerificationAddress,
|
|
65
61
|
?request_options: Lithic::request_opts
|
|
66
62
|
) -> void
|
|
@@ -72,7 +68,7 @@ module Lithic
|
|
|
72
68
|
lifetime_spend_limit: Integer,
|
|
73
69
|
monthly_spend_limit: Integer,
|
|
74
70
|
state: Lithic::Models::AccountUpdateParams::state,
|
|
75
|
-
substatus: Lithic::Models::AccountUpdateParams::substatus
|
|
71
|
+
substatus: Lithic::Models::AccountUpdateParams::substatus?,
|
|
76
72
|
verification_address: Lithic::AccountUpdateParams::VerificationAddress,
|
|
77
73
|
request_options: Lithic::RequestOptions
|
|
78
74
|
}
|
|
@@ -126,6 +126,7 @@ module Lithic
|
|
|
126
126
|
| Lithic::AuthRules::ConditionalAuthorizationActionParameters
|
|
127
127
|
| Lithic::AuthRules::ConditionalACHActionParameters
|
|
128
128
|
| Lithic::AuthRules::ConditionalTokenizationActionParameters
|
|
129
|
+
| Lithic::AuthRules::ConditionalCardTransactionUpdateActionParameters
|
|
129
130
|
| Lithic::AuthRules::TypescriptCodeParameters
|
|
130
131
|
|
|
131
132
|
module Parameters
|
|
@@ -174,6 +175,7 @@ module Lithic
|
|
|
174
175
|
| Lithic::AuthRules::ConditionalAuthorizationActionParameters
|
|
175
176
|
| Lithic::AuthRules::ConditionalACHActionParameters
|
|
176
177
|
| Lithic::AuthRules::ConditionalTokenizationActionParameters
|
|
178
|
+
| Lithic::AuthRules::ConditionalCardTransactionUpdateActionParameters
|
|
177
179
|
| Lithic::AuthRules::TypescriptCodeParameters
|
|
178
180
|
|
|
179
181
|
module Parameters
|
|
@@ -42,6 +42,7 @@ module Lithic
|
|
|
42
42
|
| Lithic::AuthRules::ConditionalAuthorizationActionParameters
|
|
43
43
|
| Lithic::AuthRules::ConditionalACHActionParameters
|
|
44
44
|
| Lithic::AuthRules::ConditionalTokenizationActionParameters
|
|
45
|
+
| Lithic::AuthRules::ConditionalCardTransactionUpdateActionParameters
|
|
45
46
|
| Lithic::AuthRules::TypescriptCodeParameters
|
|
46
47
|
|
|
47
48
|
module Parameters
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
module Lithic
|
|
2
|
+
module Models
|
|
3
|
+
module AuthRules
|
|
4
|
+
type card_transaction_update_action =
|
|
5
|
+
Lithic::AuthRules::CardTransactionUpdateAction::TagAction
|
|
6
|
+
| Lithic::AuthRules::CardTransactionUpdateAction::CreateCaseAction
|
|
7
|
+
|
|
8
|
+
module CardTransactionUpdateAction
|
|
9
|
+
extend Lithic::Internal::Type::Union
|
|
10
|
+
|
|
11
|
+
type tag_action =
|
|
12
|
+
{
|
|
13
|
+
key: String,
|
|
14
|
+
type: Lithic::Models::AuthRules::CardTransactionUpdateAction::TagAction::type_,
|
|
15
|
+
value: String
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
class TagAction < Lithic::Internal::Type::BaseModel
|
|
19
|
+
attr_accessor key: String
|
|
20
|
+
|
|
21
|
+
attr_accessor type: Lithic::Models::AuthRules::CardTransactionUpdateAction::TagAction::type_
|
|
22
|
+
|
|
23
|
+
attr_accessor value: String
|
|
24
|
+
|
|
25
|
+
def initialize: (
|
|
26
|
+
key: String,
|
|
27
|
+
type: Lithic::Models::AuthRules::CardTransactionUpdateAction::TagAction::type_,
|
|
28
|
+
value: String
|
|
29
|
+
) -> void
|
|
30
|
+
|
|
31
|
+
def to_hash: -> {
|
|
32
|
+
key: String,
|
|
33
|
+
type: Lithic::Models::AuthRules::CardTransactionUpdateAction::TagAction::type_,
|
|
34
|
+
value: String
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
type type_ = :TAG
|
|
38
|
+
|
|
39
|
+
module Type
|
|
40
|
+
extend Lithic::Internal::Type::Enum
|
|
41
|
+
|
|
42
|
+
TAG: :TAG
|
|
43
|
+
|
|
44
|
+
def self?.values: -> ::Array[Lithic::Models::AuthRules::CardTransactionUpdateAction::TagAction::type_]
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
type create_case_action =
|
|
49
|
+
{
|
|
50
|
+
queue_token: String,
|
|
51
|
+
scope: Lithic::Models::AuthRules::CardTransactionUpdateAction::CreateCaseAction::scope,
|
|
52
|
+
type: Lithic::Models::AuthRules::CardTransactionUpdateAction::CreateCaseAction::type_
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
class CreateCaseAction < Lithic::Internal::Type::BaseModel
|
|
56
|
+
attr_accessor queue_token: String
|
|
57
|
+
|
|
58
|
+
attr_accessor scope: Lithic::Models::AuthRules::CardTransactionUpdateAction::CreateCaseAction::scope
|
|
59
|
+
|
|
60
|
+
attr_accessor type: Lithic::Models::AuthRules::CardTransactionUpdateAction::CreateCaseAction::type_
|
|
61
|
+
|
|
62
|
+
def initialize: (
|
|
63
|
+
queue_token: String,
|
|
64
|
+
scope: Lithic::Models::AuthRules::CardTransactionUpdateAction::CreateCaseAction::scope,
|
|
65
|
+
type: Lithic::Models::AuthRules::CardTransactionUpdateAction::CreateCaseAction::type_
|
|
66
|
+
) -> void
|
|
67
|
+
|
|
68
|
+
def to_hash: -> {
|
|
69
|
+
queue_token: String,
|
|
70
|
+
scope: Lithic::Models::AuthRules::CardTransactionUpdateAction::CreateCaseAction::scope,
|
|
71
|
+
type: Lithic::Models::AuthRules::CardTransactionUpdateAction::CreateCaseAction::type_
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
type scope = :CARD | :ACCOUNT
|
|
75
|
+
|
|
76
|
+
module Scope
|
|
77
|
+
extend Lithic::Internal::Type::Enum
|
|
78
|
+
|
|
79
|
+
CARD: :CARD
|
|
80
|
+
ACCOUNT: :ACCOUNT
|
|
81
|
+
|
|
82
|
+
def self?.values: -> ::Array[Lithic::Models::AuthRules::CardTransactionUpdateAction::CreateCaseAction::scope]
|
|
83
|
+
end
|
|
84
|
+
|
|
85
|
+
type type_ = :CREATE_CASE
|
|
86
|
+
|
|
87
|
+
module Type
|
|
88
|
+
extend Lithic::Internal::Type::Enum
|
|
89
|
+
|
|
90
|
+
CREATE_CASE: :CREATE_CASE
|
|
91
|
+
|
|
92
|
+
def self?.values: -> ::Array[Lithic::Models::AuthRules::CardTransactionUpdateAction::CreateCaseAction::type_]
|
|
93
|
+
end
|
|
94
|
+
end
|
|
95
|
+
|
|
96
|
+
def self?.variants: -> ::Array[Lithic::Models::AuthRules::card_transaction_update_action]
|
|
97
|
+
end
|
|
98
|
+
end
|
|
99
|
+
end
|
|
100
|
+
end
|
|
@@ -104,6 +104,7 @@ module Lithic
|
|
|
104
104
|
| :CONSECUTIVE_DECLINES
|
|
105
105
|
| :TIME_SINCE_LAST_TRANSACTION
|
|
106
106
|
| :DISTINCT_COUNTRY_COUNT
|
|
107
|
+
| :IS_NEW_MERCHANT
|
|
107
108
|
| :THREE_DS_SUCCESS_RATE
|
|
108
109
|
|
|
109
110
|
module Attribute
|
|
@@ -144,6 +145,7 @@ module Lithic
|
|
|
144
145
|
CONSECUTIVE_DECLINES: :CONSECUTIVE_DECLINES
|
|
145
146
|
TIME_SINCE_LAST_TRANSACTION: :TIME_SINCE_LAST_TRANSACTION
|
|
146
147
|
DISTINCT_COUNTRY_COUNT: :DISTINCT_COUNTRY_COUNT
|
|
148
|
+
IS_NEW_MERCHANT: :IS_NEW_MERCHANT
|
|
147
149
|
THREE_DS_SUCCESS_RATE: :THREE_DS_SUCCESS_RATE
|
|
148
150
|
|
|
149
151
|
def self?.values: -> ::Array[Lithic::Models::AuthRules::ConditionalAuthorizationActionParameters::Condition::attribute]
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
module Lithic
|
|
2
|
+
module Models
|
|
3
|
+
module AuthRules
|
|
4
|
+
type conditional_card_transaction_update_action_parameters =
|
|
5
|
+
{
|
|
6
|
+
action: Lithic::Models::AuthRules::card_transaction_update_action,
|
|
7
|
+
conditions: ::Array[Lithic::AuthRules::ConditionalCardTransactionUpdateActionParameters::Condition]
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
class ConditionalCardTransactionUpdateActionParameters < Lithic::Internal::Type::BaseModel
|
|
11
|
+
attr_accessor action: Lithic::Models::AuthRules::card_transaction_update_action
|
|
12
|
+
|
|
13
|
+
attr_accessor conditions: ::Array[Lithic::AuthRules::ConditionalCardTransactionUpdateActionParameters::Condition]
|
|
14
|
+
|
|
15
|
+
def initialize: (
|
|
16
|
+
action: Lithic::Models::AuthRules::card_transaction_update_action,
|
|
17
|
+
conditions: ::Array[Lithic::AuthRules::ConditionalCardTransactionUpdateActionParameters::Condition]
|
|
18
|
+
) -> void
|
|
19
|
+
|
|
20
|
+
def to_hash: -> {
|
|
21
|
+
action: Lithic::Models::AuthRules::card_transaction_update_action,
|
|
22
|
+
conditions: ::Array[Lithic::AuthRules::ConditionalCardTransactionUpdateActionParameters::Condition]
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
type condition =
|
|
26
|
+
{
|
|
27
|
+
attribute: Lithic::Models::AuthRules::ConditionalCardTransactionUpdateActionParameters::Condition::attribute,
|
|
28
|
+
operation: Lithic::Models::AuthRules::conditional_operation,
|
|
29
|
+
value: Lithic::Models::AuthRules::conditional_value,
|
|
30
|
+
parameters: Lithic::AuthRules::ConditionalCardTransactionUpdateActionParameters::Condition::Parameters
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
class Condition < Lithic::Internal::Type::BaseModel
|
|
34
|
+
attr_accessor attribute: Lithic::Models::AuthRules::ConditionalCardTransactionUpdateActionParameters::Condition::attribute
|
|
35
|
+
|
|
36
|
+
attr_accessor operation: Lithic::Models::AuthRules::conditional_operation
|
|
37
|
+
|
|
38
|
+
attr_accessor value: Lithic::Models::AuthRules::conditional_value
|
|
39
|
+
|
|
40
|
+
attr_reader parameters: Lithic::AuthRules::ConditionalCardTransactionUpdateActionParameters::Condition::Parameters?
|
|
41
|
+
|
|
42
|
+
def parameters=: (
|
|
43
|
+
Lithic::AuthRules::ConditionalCardTransactionUpdateActionParameters::Condition::Parameters
|
|
44
|
+
) -> Lithic::AuthRules::ConditionalCardTransactionUpdateActionParameters::Condition::Parameters
|
|
45
|
+
|
|
46
|
+
def initialize: (
|
|
47
|
+
attribute: Lithic::Models::AuthRules::ConditionalCardTransactionUpdateActionParameters::Condition::attribute,
|
|
48
|
+
operation: Lithic::Models::AuthRules::conditional_operation,
|
|
49
|
+
value: Lithic::Models::AuthRules::conditional_value,
|
|
50
|
+
?parameters: Lithic::AuthRules::ConditionalCardTransactionUpdateActionParameters::Condition::Parameters
|
|
51
|
+
) -> void
|
|
52
|
+
|
|
53
|
+
def to_hash: -> {
|
|
54
|
+
attribute: Lithic::Models::AuthRules::ConditionalCardTransactionUpdateActionParameters::Condition::attribute,
|
|
55
|
+
operation: Lithic::Models::AuthRules::conditional_operation,
|
|
56
|
+
value: Lithic::Models::AuthRules::conditional_value,
|
|
57
|
+
parameters: Lithic::AuthRules::ConditionalCardTransactionUpdateActionParameters::Condition::Parameters
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
type attribute =
|
|
61
|
+
:MCC
|
|
62
|
+
| :COUNTRY
|
|
63
|
+
| :CURRENCY
|
|
64
|
+
| :MERCHANT_ID
|
|
65
|
+
| :DESCRIPTOR
|
|
66
|
+
| :TRANSACTION_AMOUNT
|
|
67
|
+
| :RISK_SCORE
|
|
68
|
+
| :TRANSACTION_STATUS
|
|
69
|
+
| :LAST_EVENT_TYPE
|
|
70
|
+
| :LIABILITY_SHIFT
|
|
71
|
+
| :PAN_ENTRY_MODE
|
|
72
|
+
| :WALLET_TYPE
|
|
73
|
+
| :CARD_AGE
|
|
74
|
+
| :ACCOUNT_AGE
|
|
75
|
+
| :SPEND_VELOCITY_COUNT
|
|
76
|
+
| :SPEND_VELOCITY_AMOUNT
|
|
77
|
+
|
|
78
|
+
module Attribute
|
|
79
|
+
extend Lithic::Internal::Type::Enum
|
|
80
|
+
|
|
81
|
+
MCC: :MCC
|
|
82
|
+
COUNTRY: :COUNTRY
|
|
83
|
+
CURRENCY: :CURRENCY
|
|
84
|
+
MERCHANT_ID: :MERCHANT_ID
|
|
85
|
+
DESCRIPTOR: :DESCRIPTOR
|
|
86
|
+
TRANSACTION_AMOUNT: :TRANSACTION_AMOUNT
|
|
87
|
+
RISK_SCORE: :RISK_SCORE
|
|
88
|
+
TRANSACTION_STATUS: :TRANSACTION_STATUS
|
|
89
|
+
LAST_EVENT_TYPE: :LAST_EVENT_TYPE
|
|
90
|
+
LIABILITY_SHIFT: :LIABILITY_SHIFT
|
|
91
|
+
PAN_ENTRY_MODE: :PAN_ENTRY_MODE
|
|
92
|
+
WALLET_TYPE: :WALLET_TYPE
|
|
93
|
+
CARD_AGE: :CARD_AGE
|
|
94
|
+
ACCOUNT_AGE: :ACCOUNT_AGE
|
|
95
|
+
SPEND_VELOCITY_COUNT: :SPEND_VELOCITY_COUNT
|
|
96
|
+
SPEND_VELOCITY_AMOUNT: :SPEND_VELOCITY_AMOUNT
|
|
97
|
+
|
|
98
|
+
def self?.values: -> ::Array[Lithic::Models::AuthRules::ConditionalCardTransactionUpdateActionParameters::Condition::attribute]
|
|
99
|
+
end
|
|
100
|
+
|
|
101
|
+
type parameters =
|
|
102
|
+
{
|
|
103
|
+
filters: Lithic::AuthRules::SpendVelocityFilters,
|
|
104
|
+
period: Lithic::Models::AuthRules::velocity_limit_period,
|
|
105
|
+
scope: Lithic::Models::AuthRules::ConditionalCardTransactionUpdateActionParameters::Condition::Parameters::scope
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
class Parameters < Lithic::Internal::Type::BaseModel
|
|
109
|
+
attr_reader filters: Lithic::AuthRules::SpendVelocityFilters?
|
|
110
|
+
|
|
111
|
+
def filters=: (
|
|
112
|
+
Lithic::AuthRules::SpendVelocityFilters
|
|
113
|
+
) -> Lithic::AuthRules::SpendVelocityFilters
|
|
114
|
+
|
|
115
|
+
attr_reader period: Lithic::Models::AuthRules::velocity_limit_period?
|
|
116
|
+
|
|
117
|
+
def period=: (
|
|
118
|
+
Lithic::Models::AuthRules::velocity_limit_period
|
|
119
|
+
) -> Lithic::Models::AuthRules::velocity_limit_period
|
|
120
|
+
|
|
121
|
+
attr_reader scope: Lithic::Models::AuthRules::ConditionalCardTransactionUpdateActionParameters::Condition::Parameters::scope?
|
|
122
|
+
|
|
123
|
+
def scope=: (
|
|
124
|
+
Lithic::Models::AuthRules::ConditionalCardTransactionUpdateActionParameters::Condition::Parameters::scope
|
|
125
|
+
) -> Lithic::Models::AuthRules::ConditionalCardTransactionUpdateActionParameters::Condition::Parameters::scope
|
|
126
|
+
|
|
127
|
+
def initialize: (
|
|
128
|
+
?filters: Lithic::AuthRules::SpendVelocityFilters,
|
|
129
|
+
?period: Lithic::Models::AuthRules::velocity_limit_period,
|
|
130
|
+
?scope: Lithic::Models::AuthRules::ConditionalCardTransactionUpdateActionParameters::Condition::Parameters::scope
|
|
131
|
+
) -> void
|
|
132
|
+
|
|
133
|
+
def to_hash: -> {
|
|
134
|
+
filters: Lithic::AuthRules::SpendVelocityFilters,
|
|
135
|
+
period: Lithic::Models::AuthRules::velocity_limit_period,
|
|
136
|
+
scope: Lithic::Models::AuthRules::ConditionalCardTransactionUpdateActionParameters::Condition::Parameters::scope
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
type scope = :CARD | :ACCOUNT | :GLOBAL
|
|
140
|
+
|
|
141
|
+
module Scope
|
|
142
|
+
extend Lithic::Internal::Type::Enum
|
|
143
|
+
|
|
144
|
+
CARD: :CARD
|
|
145
|
+
ACCOUNT: :ACCOUNT
|
|
146
|
+
GLOBAL: :GLOBAL
|
|
147
|
+
|
|
148
|
+
def self?.values: -> ::Array[Lithic::Models::AuthRules::ConditionalCardTransactionUpdateActionParameters::Condition::Parameters::scope]
|
|
149
|
+
end
|
|
150
|
+
end
|
|
151
|
+
end
|
|
152
|
+
end
|
|
153
|
+
end
|
|
154
|
+
end
|
|
155
|
+
end
|
|
@@ -7,6 +7,7 @@ module Lithic
|
|
|
7
7
|
| :TOKENIZATION
|
|
8
8
|
| :ACH_CREDIT_RECEIPT
|
|
9
9
|
| :ACH_DEBIT_RECEIPT
|
|
10
|
+
| :CARD_TRANSACTION_UPDATE
|
|
10
11
|
|
|
11
12
|
module EventStream
|
|
12
13
|
extend Lithic::Internal::Type::Enum
|
|
@@ -16,6 +17,7 @@ module Lithic
|
|
|
16
17
|
TOKENIZATION: :TOKENIZATION
|
|
17
18
|
ACH_CREDIT_RECEIPT: :ACH_CREDIT_RECEIPT
|
|
18
19
|
ACH_DEBIT_RECEIPT: :ACH_DEBIT_RECEIPT
|
|
20
|
+
CARD_TRANSACTION_UPDATE: :CARD_TRANSACTION_UPDATE
|
|
19
21
|
|
|
20
22
|
def self?.values: -> ::Array[Lithic::Models::AuthRules::event_stream]
|
|
21
23
|
end
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
module Lithic
|
|
2
|
+
module Models
|
|
3
|
+
module AuthRules
|
|
4
|
+
type spend_velocity_filters =
|
|
5
|
+
{
|
|
6
|
+
exclude_tags: ::Hash[Symbol, String]?,
|
|
7
|
+
include_tags: ::Hash[Symbol, String]?
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
class SpendVelocityFilters < Lithic::Models::AuthRules::VelocityLimitFilters
|
|
11
|
+
def exclude_tags: -> ::Hash[Symbol, String]?
|
|
12
|
+
|
|
13
|
+
def exclude_tags=: (
|
|
14
|
+
::Hash[Symbol, String]? _
|
|
15
|
+
) -> ::Hash[Symbol, String]?
|
|
16
|
+
|
|
17
|
+
def include_tags: -> ::Hash[Symbol, String]?
|
|
18
|
+
|
|
19
|
+
def include_tags=: (
|
|
20
|
+
::Hash[Symbol, String]? _
|
|
21
|
+
) -> ::Hash[Symbol, String]?
|
|
22
|
+
|
|
23
|
+
def initialize: (
|
|
24
|
+
?exclude_tags: ::Hash[Symbol, String]?,
|
|
25
|
+
?include_tags: ::Hash[Symbol, String]?
|
|
26
|
+
) -> void
|
|
27
|
+
|
|
28
|
+
def to_hash: -> {
|
|
29
|
+
exclude_tags: ::Hash[Symbol, String]?,
|
|
30
|
+
include_tags: ::Hash[Symbol, String]?
|
|
31
|
+
}
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
end
|
|
@@ -86,6 +86,7 @@ module Lithic
|
|
|
86
86
|
| Lithic::AuthRules::ConditionalAuthorizationActionParameters
|
|
87
87
|
| Lithic::AuthRules::ConditionalACHActionParameters
|
|
88
88
|
| Lithic::AuthRules::ConditionalTokenizationActionParameters
|
|
89
|
+
| Lithic::AuthRules::ConditionalCardTransactionUpdateActionParameters
|
|
89
90
|
| Lithic::AuthRules::TypescriptCodeParameters
|
|
90
91
|
|
|
91
92
|
module Parameters
|
|
@@ -162,6 +163,7 @@ module Lithic
|
|
|
162
163
|
| Lithic::AuthRules::ConditionalAuthorizationActionParameters
|
|
163
164
|
| Lithic::AuthRules::ConditionalACHActionParameters
|
|
164
165
|
| Lithic::AuthRules::ConditionalTokenizationActionParameters
|
|
166
|
+
| Lithic::AuthRules::ConditionalCardTransactionUpdateActionParameters
|
|
165
167
|
| Lithic::AuthRules::TypescriptCodeParameters
|
|
166
168
|
|
|
167
169
|
module Parameters
|
|
@@ -261,6 +263,7 @@ module Lithic
|
|
|
261
263
|
| Lithic::AuthRules::ConditionalAuthorizationActionParameters
|
|
262
264
|
| Lithic::AuthRules::ConditionalACHActionParameters
|
|
263
265
|
| Lithic::AuthRules::ConditionalTokenizationActionParameters
|
|
266
|
+
| Lithic::AuthRules::ConditionalCardTransactionUpdateActionParameters
|
|
264
267
|
| Lithic::AuthRules::TypescriptCodeParameters
|
|
265
268
|
|
|
266
269
|
module Parameters
|
|
@@ -36,6 +36,7 @@ module Lithic
|
|
|
36
36
|
| Lithic::AuthRules::ConditionalAuthorizationActionParameters
|
|
37
37
|
| Lithic::AuthRules::ConditionalACHActionParameters
|
|
38
38
|
| Lithic::AuthRules::ConditionalTokenizationActionParameters
|
|
39
|
+
| Lithic::AuthRules::ConditionalCardTransactionUpdateActionParameters
|
|
39
40
|
| Lithic::AuthRules::TypescriptCodeParameters
|
|
40
41
|
|
|
41
42
|
module Parameters
|
|
@@ -6,7 +6,7 @@ module Lithic
|
|
|
6
6
|
account_token: String,
|
|
7
7
|
card_program_token: String,
|
|
8
8
|
created: Time,
|
|
9
|
-
funding: Lithic::NonPCICard::Funding
|
|
9
|
+
funding: Lithic::NonPCICard::Funding?,
|
|
10
10
|
last_four: String,
|
|
11
11
|
pin_status: Lithic::Models::NonPCICard::pin_status,
|
|
12
12
|
spend_limit: Integer,
|
|
@@ -17,16 +17,16 @@ module Lithic
|
|
|
17
17
|
bulk_order_token: String?,
|
|
18
18
|
cardholder_currency: String,
|
|
19
19
|
comment: String,
|
|
20
|
-
digital_card_art_token: String
|
|
20
|
+
digital_card_art_token: String?,
|
|
21
21
|
exp_month: String,
|
|
22
22
|
exp_year: String,
|
|
23
23
|
hostname: String,
|
|
24
24
|
memo: String,
|
|
25
25
|
network_program_token: String?,
|
|
26
26
|
pending_commands: ::Array[String],
|
|
27
|
-
product_id: String
|
|
27
|
+
product_id: String?,
|
|
28
28
|
replacement_for: String?,
|
|
29
|
-
substatus: Lithic::Models::NonPCICard::substatus
|
|
29
|
+
substatus: Lithic::Models::NonPCICard::substatus?
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
class NonPCICard < Lithic::Internal::Type::BaseModel
|
|
@@ -38,7 +38,7 @@ module Lithic
|
|
|
38
38
|
|
|
39
39
|
attr_accessor created: Time
|
|
40
40
|
|
|
41
|
-
attr_accessor funding: Lithic::NonPCICard::Funding
|
|
41
|
+
attr_accessor funding: Lithic::NonPCICard::Funding?
|
|
42
42
|
|
|
43
43
|
attr_accessor last_four: String
|
|
44
44
|
|
|
@@ -66,9 +66,7 @@ module Lithic
|
|
|
66
66
|
|
|
67
67
|
def comment=: (String) -> String
|
|
68
68
|
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
def digital_card_art_token=: (String) -> String
|
|
69
|
+
attr_accessor digital_card_art_token: String?
|
|
72
70
|
|
|
73
71
|
attr_reader exp_month: String?
|
|
74
72
|
|
|
@@ -92,24 +90,18 @@ module Lithic
|
|
|
92
90
|
|
|
93
91
|
def pending_commands=: (::Array[String]) -> ::Array[String]
|
|
94
92
|
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
def product_id=: (String) -> String
|
|
93
|
+
attr_accessor product_id: String?
|
|
98
94
|
|
|
99
95
|
attr_accessor replacement_for: String?
|
|
100
96
|
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
def substatus=: (
|
|
104
|
-
Lithic::Models::NonPCICard::substatus
|
|
105
|
-
) -> Lithic::Models::NonPCICard::substatus
|
|
97
|
+
attr_accessor substatus: Lithic::Models::NonPCICard::substatus?
|
|
106
98
|
|
|
107
99
|
def initialize: (
|
|
108
100
|
token: String,
|
|
109
101
|
account_token: String,
|
|
110
102
|
card_program_token: String,
|
|
111
103
|
created: Time,
|
|
112
|
-
funding: Lithic::NonPCICard::Funding
|
|
104
|
+
funding: Lithic::NonPCICard::Funding?,
|
|
113
105
|
last_four: String,
|
|
114
106
|
pin_status: Lithic::Models::NonPCICard::pin_status,
|
|
115
107
|
spend_limit: Integer,
|
|
@@ -120,16 +112,16 @@ module Lithic
|
|
|
120
112
|
?bulk_order_token: String?,
|
|
121
113
|
?cardholder_currency: String,
|
|
122
114
|
?comment: String,
|
|
123
|
-
?digital_card_art_token: String
|
|
115
|
+
?digital_card_art_token: String?,
|
|
124
116
|
?exp_month: String,
|
|
125
117
|
?exp_year: String,
|
|
126
118
|
?hostname: String,
|
|
127
119
|
?memo: String,
|
|
128
120
|
?network_program_token: String?,
|
|
129
121
|
?pending_commands: ::Array[String],
|
|
130
|
-
?product_id: String
|
|
122
|
+
?product_id: String?,
|
|
131
123
|
?replacement_for: String?,
|
|
132
|
-
?substatus: Lithic::Models::NonPCICard::substatus
|
|
124
|
+
?substatus: Lithic::Models::NonPCICard::substatus?
|
|
133
125
|
) -> void
|
|
134
126
|
|
|
135
127
|
def to_hash: -> {
|
|
@@ -137,7 +129,7 @@ module Lithic
|
|
|
137
129
|
account_token: String,
|
|
138
130
|
card_program_token: String,
|
|
139
131
|
created: Time,
|
|
140
|
-
funding: Lithic::NonPCICard::Funding
|
|
132
|
+
funding: Lithic::NonPCICard::Funding?,
|
|
141
133
|
last_four: String,
|
|
142
134
|
pin_status: Lithic::Models::NonPCICard::pin_status,
|
|
143
135
|
spend_limit: Integer,
|
|
@@ -148,16 +140,16 @@ module Lithic
|
|
|
148
140
|
bulk_order_token: String?,
|
|
149
141
|
cardholder_currency: String,
|
|
150
142
|
comment: String,
|
|
151
|
-
digital_card_art_token: String
|
|
143
|
+
digital_card_art_token: String?,
|
|
152
144
|
exp_month: String,
|
|
153
145
|
exp_year: String,
|
|
154
146
|
hostname: String,
|
|
155
147
|
memo: String,
|
|
156
148
|
network_program_token: String?,
|
|
157
149
|
pending_commands: ::Array[String],
|
|
158
|
-
product_id: String
|
|
150
|
+
product_id: String?,
|
|
159
151
|
replacement_for: String?,
|
|
160
|
-
substatus: Lithic::Models::NonPCICard::substatus
|
|
152
|
+
substatus: Lithic::Models::NonPCICard::substatus?
|
|
161
153
|
}
|
|
162
154
|
|
|
163
155
|
type funding =
|
|
@@ -168,7 +160,7 @@ module Lithic
|
|
|
168
160
|
state: Lithic::Models::NonPCICard::Funding::state,
|
|
169
161
|
type: Lithic::Models::NonPCICard::Funding::type_,
|
|
170
162
|
account_name: String,
|
|
171
|
-
nickname: String
|
|
163
|
+
nickname: String?
|
|
172
164
|
}
|
|
173
165
|
|
|
174
166
|
class Funding < Lithic::Internal::Type::BaseModel
|
|
@@ -186,9 +178,7 @@ module Lithic
|
|
|
186
178
|
|
|
187
179
|
def account_name=: (String) -> String
|
|
188
180
|
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
def nickname=: (String) -> String
|
|
181
|
+
attr_accessor nickname: String?
|
|
192
182
|
|
|
193
183
|
def initialize: (
|
|
194
184
|
token: String,
|
|
@@ -197,7 +187,7 @@ module Lithic
|
|
|
197
187
|
state: Lithic::Models::NonPCICard::Funding::state,
|
|
198
188
|
type: Lithic::Models::NonPCICard::Funding::type_,
|
|
199
189
|
?account_name: String,
|
|
200
|
-
?nickname: String
|
|
190
|
+
?nickname: String?
|
|
201
191
|
) -> void
|
|
202
192
|
|
|
203
193
|
def to_hash: -> {
|
|
@@ -207,7 +197,7 @@ module Lithic
|
|
|
207
197
|
state: Lithic::Models::NonPCICard::Funding::state,
|
|
208
198
|
type: Lithic::Models::NonPCICard::Funding::type_,
|
|
209
199
|
account_name: String,
|
|
210
|
-
nickname: String
|
|
200
|
+
nickname: String?
|
|
211
201
|
}
|
|
212
202
|
|
|
213
203
|
type state = :DELETED | :ENABLED | :PENDING
|
|
@@ -98,11 +98,12 @@ module Lithic
|
|
|
98
98
|
request_options: Lithic::RequestOptions
|
|
99
99
|
}
|
|
100
100
|
|
|
101
|
-
type network = :VISA | :MASTERCARD | :MAESTRO | :INTERLINK
|
|
101
|
+
type network = :AMEX | :VISA | :MASTERCARD | :MAESTRO | :INTERLINK
|
|
102
102
|
|
|
103
103
|
module Network
|
|
104
104
|
extend Lithic::Internal::Type::Enum
|
|
105
105
|
|
|
106
|
+
AMEX: :AMEX
|
|
106
107
|
VISA: :VISA
|
|
107
108
|
MASTERCARD: :MASTERCARD
|
|
108
109
|
MAESTRO: :MAESTRO
|
|
@@ -118,11 +118,13 @@ module Lithic
|
|
|
118
118
|
fee_description: String
|
|
119
119
|
}
|
|
120
120
|
|
|
121
|
-
type network =
|
|
121
|
+
type network =
|
|
122
|
+
:AMEX | :INTERLINK | :MAESTRO | :MASTERCARD | :UNKNOWN | :VISA
|
|
122
123
|
|
|
123
124
|
module Network
|
|
124
125
|
extend Lithic::Internal::Type::Enum
|
|
125
126
|
|
|
127
|
+
AMEX: :AMEX
|
|
126
128
|
INTERLINK: :INTERLINK
|
|
127
129
|
MAESTRO: :MAESTRO
|
|
128
130
|
MASTERCARD: :MASTERCARD
|
|
@@ -69,11 +69,13 @@ module Lithic
|
|
|
69
69
|
transactions_gross_amount: Integer
|
|
70
70
|
}
|
|
71
71
|
|
|
72
|
-
type network =
|
|
72
|
+
type network =
|
|
73
|
+
:AMEX | :INTERLINK | :MAESTRO | :MASTERCARD | :UNKNOWN | :VISA
|
|
73
74
|
|
|
74
75
|
module Network
|
|
75
76
|
extend Lithic::Internal::Type::Enum
|
|
76
77
|
|
|
78
|
+
AMEX: :AMEX
|
|
77
79
|
INTERLINK: :INTERLINK
|
|
78
80
|
MAESTRO: :MAESTRO
|
|
79
81
|
MASTERCARD: :MASTERCARD
|
|
@@ -13,7 +13,7 @@ module Lithic
|
|
|
13
13
|
?lifetime_spend_limit: Integer,
|
|
14
14
|
?monthly_spend_limit: Integer,
|
|
15
15
|
?state: Lithic::Models::AccountUpdateParams::state,
|
|
16
|
-
?substatus: Lithic::Models::AccountUpdateParams::substatus
|
|
16
|
+
?substatus: Lithic::Models::AccountUpdateParams::substatus?,
|
|
17
17
|
?verification_address: Lithic::AccountUpdateParams::VerificationAddress,
|
|
18
18
|
?request_options: Lithic::request_opts
|
|
19
19
|
) -> Lithic::Account
|