lithic 0.1.0.pre.alpha.38 → 0.1.0.pre.alpha.40
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 +19 -0
- data/README.md +1 -1
- data/lib/lithic/client.rb +4 -0
- data/lib/lithic/models/account.rb +88 -1
- data/lib/lithic/models/account_update_params.rb +86 -1
- data/lib/lithic/models/aggregate_balance.rb +1 -0
- data/lib/lithic/models/aggregate_balance_list_params.rb +1 -0
- data/lib/lithic/models/auth_rules/conditional_3ds_action_parameters.rb +4 -10
- data/lib/lithic/models/auth_rules/velocity_limit_params.rb +3 -25
- data/lib/lithic/models/auth_rules/velocity_limit_params_period_window.rb +238 -16
- data/lib/lithic/models/balance.rb +1 -0
- data/lib/lithic/models/balance_list_params.rb +1 -0
- data/lib/lithic/models/card_create_params.rb +90 -1
- data/lib/lithic/models/card_program.rb +10 -1
- data/lib/lithic/models/card_update_params.rb +98 -1
- data/lib/lithic/models/cards/balance_list_response.rb +1 -0
- data/lib/lithic/models/event.rb +2 -0
- data/lib/lithic/models/event_list_params.rb +2 -0
- data/lib/lithic/models/event_subscription.rb +2 -0
- data/lib/lithic/models/events/subscription_create_params.rb +2 -0
- data/lib/lithic/models/events/subscription_send_simulated_example_params.rb +2 -0
- data/lib/lithic/models/events/subscription_update_params.rb +2 -0
- data/lib/lithic/models/external_resource.rb +34 -0
- data/lib/lithic/models/external_resource_type.rb +18 -0
- data/lib/lithic/models/financial_account_list_params.rb +1 -0
- data/lib/lithic/models/financial_accounts/balance_list_response.rb +1 -0
- data/lib/lithic/models/management_operation_create_params.rb +30 -1
- data/lib/lithic/models/management_operation_transaction.rb +22 -1
- data/lib/lithic/models/network_program.rb +41 -0
- data/lib/lithic/models/network_program_list_params.rb +43 -0
- data/lib/lithic/models/network_program_retrieve_params.rb +14 -0
- data/lib/lithic/models/non_pci_card.rb +88 -1
- data/lib/lithic/models/payment_simulate_action_params.rb +1 -0
- data/lib/lithic/models/reports/settlement/network_total_list_response.rb +16 -6
- data/lib/lithic/models/reports/settlement/network_total_retrieve_response.rb +16 -6
- data/lib/lithic/models/transaction.rb +31 -20
- data/lib/lithic/models.rb +10 -0
- data/lib/lithic/resources/accounts.rb +5 -1
- data/lib/lithic/resources/cards.rb +12 -2
- data/lib/lithic/resources/management_operations.rb +13 -1
- data/lib/lithic/resources/network_programs.rb +64 -0
- data/lib/lithic/version.rb +1 -1
- data/lib/lithic.rb +6 -0
- data/rbi/lithic/client.rbi +3 -0
- data/rbi/lithic/models/account.rbi +131 -0
- data/rbi/lithic/models/account_update_params.rbi +159 -0
- data/rbi/lithic/models/aggregate_balance.rbi +5 -0
- data/rbi/lithic/models/aggregate_balance_list_params.rbi +5 -0
- data/rbi/lithic/models/auth_rules/conditional_3ds_action_parameters.rbi +6 -15
- data/rbi/lithic/models/auth_rules/velocity_limit_params.rbi +18 -25
- data/rbi/lithic/models/auth_rules/velocity_limit_params_period_window.rbi +527 -31
- data/rbi/lithic/models/balance.rbi +2 -0
- data/rbi/lithic/models/balance_list_params.rbi +5 -0
- data/rbi/lithic/models/card_create_params.rbi +190 -0
- data/rbi/lithic/models/card_program.rbi +13 -0
- data/rbi/lithic/models/card_update_params.rbi +168 -0
- data/rbi/lithic/models/cards/balance_list_response.rbi +5 -0
- data/rbi/lithic/models/event.rbi +10 -0
- data/rbi/lithic/models/event_list_params.rbi +10 -0
- data/rbi/lithic/models/event_subscription.rbi +10 -0
- data/rbi/lithic/models/events/subscription_create_params.rbi +10 -0
- data/rbi/lithic/models/events/subscription_send_simulated_example_params.rbi +10 -0
- data/rbi/lithic/models/events/subscription_update_params.rbi +10 -0
- data/rbi/lithic/models/external_resource.rbi +57 -0
- data/rbi/lithic/models/external_resource_type.rbi +26 -0
- data/rbi/lithic/models/financial_account_list_params.rbi +5 -0
- data/rbi/lithic/models/financial_accounts/balance_list_response.rbi +5 -0
- data/rbi/lithic/models/management_operation_create_params.rbi +59 -0
- data/rbi/lithic/models/management_operation_transaction.rbi +15 -0
- data/rbi/lithic/models/network_program.rbi +61 -0
- data/rbi/lithic/models/network_program_list_params.rbi +72 -0
- data/rbi/lithic/models/network_program_retrieve_params.rbi +27 -0
- data/rbi/lithic/models/non_pci_card.rbi +133 -3
- data/rbi/lithic/models/payment_simulate_action_params.rbi +5 -0
- data/rbi/lithic/models/reports/settlement/network_total_list_response.rbi +21 -6
- data/rbi/lithic/models/reports/settlement/network_total_retrieve_response.rbi +21 -6
- data/rbi/lithic/models/transaction.rbi +23 -31
- data/rbi/lithic/models.rbi +10 -0
- data/rbi/lithic/resources/accounts.rbi +32 -0
- data/rbi/lithic/resources/cards.rbi +70 -0
- data/rbi/lithic/resources/management_operations.rbi +4 -0
- data/rbi/lithic/resources/network_programs.rbi +48 -0
- data/sig/lithic/client.rbs +2 -0
- data/sig/lithic/models/account.rbs +41 -0
- data/sig/lithic/models/account_update_params.rbs +41 -0
- data/sig/lithic/models/aggregate_balance.rbs +2 -1
- data/sig/lithic/models/aggregate_balance_list_params.rbs +2 -1
- data/sig/lithic/models/auth_rules/velocity_limit_params.rbs +4 -14
- data/sig/lithic/models/auth_rules/velocity_limit_params_period_window.rbs +212 -7
- data/sig/lithic/models/balance.rbs +2 -1
- data/sig/lithic/models/balance_list_params.rbs +2 -1
- data/sig/lithic/models/card_create_params.rbs +47 -0
- data/sig/lithic/models/card_program.rbs +7 -0
- data/sig/lithic/models/card_update_params.rbs +55 -1
- data/sig/lithic/models/cards/balance_list_response.rbs +2 -1
- data/sig/lithic/models/event.rbs +4 -0
- data/sig/lithic/models/event_list_params.rbs +4 -0
- data/sig/lithic/models/event_subscription.rbs +4 -0
- data/sig/lithic/models/events/subscription_create_params.rbs +4 -0
- data/sig/lithic/models/events/subscription_send_simulated_example_params.rbs +4 -0
- data/sig/lithic/models/events/subscription_update_params.rbs +4 -0
- data/sig/lithic/models/external_resource.rbs +32 -0
- data/sig/lithic/models/external_resource_type.rbs +16 -0
- data/sig/lithic/models/financial_account_list_params.rbs +2 -1
- data/sig/lithic/models/financial_accounts/balance_list_response.rbs +2 -1
- data/sig/lithic/models/management_operation_create_params.rbs +20 -0
- data/sig/lithic/models/management_operation_transaction.rbs +5 -0
- data/sig/lithic/models/network_program.rbs +35 -0
- data/sig/lithic/models/network_program_list_params.rbs +38 -0
- data/sig/lithic/models/network_program_retrieve_params.rbs +15 -0
- data/sig/lithic/models/non_pci_card.rbs +55 -3
- data/sig/lithic/models/payment_simulate_action_params.rbs +2 -0
- data/sig/lithic/models/reports/settlement/network_total_list_response.rbs +7 -1
- data/sig/lithic/models/reports/settlement/network_total_retrieve_response.rbs +7 -1
- data/sig/lithic/models/transaction.rbs +2 -6
- data/sig/lithic/models.rbs +10 -0
- data/sig/lithic/resources/accounts.rbs +2 -0
- data/sig/lithic/resources/cards.rbs +5 -0
- data/sig/lithic/resources/management_operations.rbs +1 -0
- data/sig/lithic/resources/network_programs.rbs +19 -0
- metadata +20 -2
@@ -2,10 +2,12 @@ module Lithic
|
|
2
2
|
module Models
|
3
3
|
type account_update_params =
|
4
4
|
{
|
5
|
+
comment: String,
|
5
6
|
daily_spend_limit: Integer,
|
6
7
|
lifetime_spend_limit: Integer,
|
7
8
|
monthly_spend_limit: Integer,
|
8
9
|
state: Lithic::Models::AccountUpdateParams::state,
|
10
|
+
substatus: Lithic::Models::AccountUpdateParams::substatus,
|
9
11
|
verification_address: Lithic::AccountUpdateParams::VerificationAddress
|
10
12
|
}
|
11
13
|
& Lithic::Internal::Type::request_parameters
|
@@ -14,6 +16,10 @@ module Lithic
|
|
14
16
|
extend Lithic::Internal::Type::RequestParameters::Converter
|
15
17
|
include Lithic::Internal::Type::RequestParameters
|
16
18
|
|
19
|
+
attr_reader comment: String?
|
20
|
+
|
21
|
+
def comment=: (String) -> String
|
22
|
+
|
17
23
|
attr_reader daily_spend_limit: Integer?
|
18
24
|
|
19
25
|
def daily_spend_limit=: (Integer) -> Integer
|
@@ -32,6 +38,12 @@ module Lithic
|
|
32
38
|
Lithic::Models::AccountUpdateParams::state
|
33
39
|
) -> Lithic::Models::AccountUpdateParams::state
|
34
40
|
|
41
|
+
attr_reader substatus: Lithic::Models::AccountUpdateParams::substatus?
|
42
|
+
|
43
|
+
def substatus=: (
|
44
|
+
Lithic::Models::AccountUpdateParams::substatus
|
45
|
+
) -> Lithic::Models::AccountUpdateParams::substatus
|
46
|
+
|
35
47
|
attr_reader verification_address: Lithic::AccountUpdateParams::VerificationAddress?
|
36
48
|
|
37
49
|
def verification_address=: (
|
@@ -39,19 +51,23 @@ module Lithic
|
|
39
51
|
) -> Lithic::AccountUpdateParams::VerificationAddress
|
40
52
|
|
41
53
|
def initialize: (
|
54
|
+
?comment: String,
|
42
55
|
?daily_spend_limit: Integer,
|
43
56
|
?lifetime_spend_limit: Integer,
|
44
57
|
?monthly_spend_limit: Integer,
|
45
58
|
?state: Lithic::Models::AccountUpdateParams::state,
|
59
|
+
?substatus: Lithic::Models::AccountUpdateParams::substatus,
|
46
60
|
?verification_address: Lithic::AccountUpdateParams::VerificationAddress,
|
47
61
|
?request_options: Lithic::request_opts
|
48
62
|
) -> void
|
49
63
|
|
50
64
|
def to_hash: -> {
|
65
|
+
comment: String,
|
51
66
|
daily_spend_limit: Integer,
|
52
67
|
lifetime_spend_limit: Integer,
|
53
68
|
monthly_spend_limit: Integer,
|
54
69
|
state: Lithic::Models::AccountUpdateParams::state,
|
70
|
+
substatus: Lithic::Models::AccountUpdateParams::substatus,
|
55
71
|
verification_address: Lithic::AccountUpdateParams::VerificationAddress,
|
56
72
|
request_options: Lithic::RequestOptions
|
57
73
|
}
|
@@ -68,6 +84,31 @@ module Lithic
|
|
68
84
|
def self?.values: -> ::Array[Lithic::Models::AccountUpdateParams::state]
|
69
85
|
end
|
70
86
|
|
87
|
+
type substatus =
|
88
|
+
:FRAUD_IDENTIFIED
|
89
|
+
| :SUSPICIOUS_ACTIVITY
|
90
|
+
| :RISK_VIOLATION
|
91
|
+
| :END_USER_REQUEST
|
92
|
+
| :ISSUER_REQUEST
|
93
|
+
| :NOT_ACTIVE
|
94
|
+
| :INTERNAL_REVIEW
|
95
|
+
| :OTHER
|
96
|
+
|
97
|
+
module Substatus
|
98
|
+
extend Lithic::Internal::Type::Enum
|
99
|
+
|
100
|
+
FRAUD_IDENTIFIED: :FRAUD_IDENTIFIED
|
101
|
+
SUSPICIOUS_ACTIVITY: :SUSPICIOUS_ACTIVITY
|
102
|
+
RISK_VIOLATION: :RISK_VIOLATION
|
103
|
+
END_USER_REQUEST: :END_USER_REQUEST
|
104
|
+
ISSUER_REQUEST: :ISSUER_REQUEST
|
105
|
+
NOT_ACTIVE: :NOT_ACTIVE
|
106
|
+
INTERNAL_REVIEW: :INTERNAL_REVIEW
|
107
|
+
OTHER: :OTHER
|
108
|
+
|
109
|
+
def self?.values: -> ::Array[Lithic::Models::AccountUpdateParams::substatus]
|
110
|
+
end
|
111
|
+
|
71
112
|
type verification_address =
|
72
113
|
{
|
73
114
|
:address1 => String,
|
@@ -61,7 +61,7 @@ module Lithic
|
|
61
61
|
updated: Time
|
62
62
|
}
|
63
63
|
|
64
|
-
type financial_account_type = :ISSUING | :OPERATING | :RESERVE
|
64
|
+
type financial_account_type = :ISSUING | :OPERATING | :RESERVE | :SECURITY
|
65
65
|
|
66
66
|
module FinancialAccountType
|
67
67
|
extend Lithic::Internal::Type::Enum
|
@@ -69,6 +69,7 @@ module Lithic
|
|
69
69
|
ISSUING: :ISSUING
|
70
70
|
OPERATING: :OPERATING
|
71
71
|
RESERVE: :RESERVE
|
72
|
+
SECURITY: :SECURITY
|
72
73
|
|
73
74
|
def self?.values: -> ::Array[Lithic::Models::AggregateBalance::financial_account_type]
|
74
75
|
end
|
@@ -26,7 +26,7 @@ module Lithic
|
|
26
26
|
request_options: Lithic::RequestOptions
|
27
27
|
}
|
28
28
|
|
29
|
-
type financial_account_type = :ISSUING | :OPERATING | :RESERVE
|
29
|
+
type financial_account_type = :ISSUING | :OPERATING | :RESERVE | :SECURITY
|
30
30
|
|
31
31
|
module FinancialAccountType
|
32
32
|
extend Lithic::Internal::Type::Enum
|
@@ -34,6 +34,7 @@ module Lithic
|
|
34
34
|
ISSUING: :ISSUING
|
35
35
|
OPERATING: :OPERATING
|
36
36
|
RESERVE: :RESERVE
|
37
|
+
SECURITY: :SECURITY
|
37
38
|
|
38
39
|
def self?.values: -> ::Array[Lithic::Models::AggregateBalanceListParams::financial_account_type]
|
39
40
|
end
|
@@ -4,7 +4,7 @@ module Lithic
|
|
4
4
|
type velocity_limit_params =
|
5
5
|
{
|
6
6
|
filters: Lithic::AuthRules::VelocityLimitParams::Filters,
|
7
|
-
period: Lithic::Models::AuthRules::
|
7
|
+
period: Lithic::Models::AuthRules::velocity_limit_params_period_window,
|
8
8
|
scope: Lithic::Models::AuthRules::VelocityLimitParams::scope,
|
9
9
|
limit_amount: Integer?,
|
10
10
|
limit_count: Integer?
|
@@ -13,7 +13,7 @@ module Lithic
|
|
13
13
|
class VelocityLimitParams < Lithic::Internal::Type::BaseModel
|
14
14
|
attr_accessor filters: Lithic::AuthRules::VelocityLimitParams::Filters
|
15
15
|
|
16
|
-
attr_accessor period: Lithic::Models::AuthRules::
|
16
|
+
attr_accessor period: Lithic::Models::AuthRules::velocity_limit_params_period_window
|
17
17
|
|
18
18
|
attr_accessor scope: Lithic::Models::AuthRules::VelocityLimitParams::scope
|
19
19
|
|
@@ -23,7 +23,7 @@ module Lithic
|
|
23
23
|
|
24
24
|
def initialize: (
|
25
25
|
filters: Lithic::AuthRules::VelocityLimitParams::Filters,
|
26
|
-
period: Lithic::Models::AuthRules::
|
26
|
+
period: Lithic::Models::AuthRules::velocity_limit_params_period_window,
|
27
27
|
scope: Lithic::Models::AuthRules::VelocityLimitParams::scope,
|
28
28
|
?limit_amount: Integer?,
|
29
29
|
?limit_count: Integer?
|
@@ -31,7 +31,7 @@ module Lithic
|
|
31
31
|
|
32
32
|
def to_hash: -> {
|
33
33
|
filters: Lithic::AuthRules::VelocityLimitParams::Filters,
|
34
|
-
period: Lithic::Models::AuthRules::
|
34
|
+
period: Lithic::Models::AuthRules::velocity_limit_params_period_window,
|
35
35
|
scope: Lithic::Models::AuthRules::VelocityLimitParams::scope,
|
36
36
|
limit_amount: Integer?,
|
37
37
|
limit_count: Integer?
|
@@ -69,16 +69,6 @@ module Lithic
|
|
69
69
|
}
|
70
70
|
end
|
71
71
|
|
72
|
-
type period =
|
73
|
-
Integer
|
74
|
-
| Lithic::Models::AuthRules::velocity_limit_params_period_window
|
75
|
-
|
76
|
-
module Period
|
77
|
-
extend Lithic::Internal::Type::Union
|
78
|
-
|
79
|
-
def self?.variants: -> ::Array[Lithic::Models::AuthRules::VelocityLimitParams::period]
|
80
|
-
end
|
81
|
-
|
82
72
|
type scope = :CARD | :ACCOUNT
|
83
73
|
|
84
74
|
module Scope
|
@@ -1,17 +1,222 @@
|
|
1
1
|
module Lithic
|
2
2
|
module Models
|
3
3
|
module AuthRules
|
4
|
-
type velocity_limit_params_period_window =
|
4
|
+
type velocity_limit_params_period_window =
|
5
|
+
Integer
|
6
|
+
| Lithic::Models::AuthRules::VelocityLimitParamsPeriodWindow::fixed_window
|
7
|
+
| Lithic::AuthRules::VelocityLimitParamsPeriodWindow::TrailingWindowObject
|
8
|
+
| Lithic::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindowDay
|
9
|
+
| Lithic::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindowWeek
|
10
|
+
| Lithic::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindowMonth
|
11
|
+
| Lithic::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindowYear
|
5
12
|
|
6
13
|
module VelocityLimitParamsPeriodWindow
|
7
|
-
extend Lithic::Internal::Type::
|
14
|
+
extend Lithic::Internal::Type::Union
|
8
15
|
|
9
|
-
DAY: :
|
10
|
-
WEEK: :WEEK
|
11
|
-
MONTH: :MONTH
|
12
|
-
YEAR: :YEAR
|
16
|
+
type fixed_window = :DAY | :WEEK | :MONTH | :YEAR
|
13
17
|
|
14
|
-
|
18
|
+
module FixedWindow
|
19
|
+
extend Lithic::Internal::Type::Enum
|
20
|
+
|
21
|
+
DAY: :DAY
|
22
|
+
WEEK: :WEEK
|
23
|
+
MONTH: :MONTH
|
24
|
+
YEAR: :YEAR
|
25
|
+
|
26
|
+
def self?.values: -> ::Array[Lithic::Models::AuthRules::VelocityLimitParamsPeriodWindow::fixed_window]
|
27
|
+
end
|
28
|
+
|
29
|
+
type trailing_window_object =
|
30
|
+
{
|
31
|
+
duration: Integer,
|
32
|
+
type: Lithic::Models::AuthRules::VelocityLimitParamsPeriodWindow::TrailingWindowObject::type_
|
33
|
+
}
|
34
|
+
|
35
|
+
class TrailingWindowObject < Lithic::Internal::Type::BaseModel
|
36
|
+
attr_reader duration: Integer?
|
37
|
+
|
38
|
+
def duration=: (Integer) -> Integer
|
39
|
+
|
40
|
+
attr_reader type: Lithic::Models::AuthRules::VelocityLimitParamsPeriodWindow::TrailingWindowObject::type_?
|
41
|
+
|
42
|
+
def type=: (
|
43
|
+
Lithic::Models::AuthRules::VelocityLimitParamsPeriodWindow::TrailingWindowObject::type_
|
44
|
+
) -> Lithic::Models::AuthRules::VelocityLimitParamsPeriodWindow::TrailingWindowObject::type_
|
45
|
+
|
46
|
+
def initialize: (
|
47
|
+
?duration: Integer,
|
48
|
+
?type: Lithic::Models::AuthRules::VelocityLimitParamsPeriodWindow::TrailingWindowObject::type_
|
49
|
+
) -> void
|
50
|
+
|
51
|
+
def to_hash: -> {
|
52
|
+
duration: Integer,
|
53
|
+
type: Lithic::Models::AuthRules::VelocityLimitParamsPeriodWindow::TrailingWindowObject::type_
|
54
|
+
}
|
55
|
+
|
56
|
+
type type_ = :CUSTOM
|
57
|
+
|
58
|
+
module Type
|
59
|
+
extend Lithic::Internal::Type::Enum
|
60
|
+
|
61
|
+
CUSTOM: :CUSTOM
|
62
|
+
|
63
|
+
def self?.values: -> ::Array[Lithic::Models::AuthRules::VelocityLimitParamsPeriodWindow::TrailingWindowObject::type_]
|
64
|
+
end
|
65
|
+
end
|
66
|
+
|
67
|
+
type fixed_window_day =
|
68
|
+
{
|
69
|
+
type: Lithic::Models::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindowDay::type_
|
70
|
+
}
|
71
|
+
|
72
|
+
class FixedWindowDay < Lithic::Internal::Type::BaseModel
|
73
|
+
attr_reader type: Lithic::Models::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindowDay::type_?
|
74
|
+
|
75
|
+
def type=: (
|
76
|
+
Lithic::Models::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindowDay::type_
|
77
|
+
) -> Lithic::Models::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindowDay::type_
|
78
|
+
|
79
|
+
def initialize: (
|
80
|
+
?type: Lithic::Models::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindowDay::type_
|
81
|
+
) -> void
|
82
|
+
|
83
|
+
def to_hash: -> {
|
84
|
+
type: Lithic::Models::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindowDay::type_
|
85
|
+
}
|
86
|
+
|
87
|
+
type type_ = :DAY
|
88
|
+
|
89
|
+
module Type
|
90
|
+
extend Lithic::Internal::Type::Enum
|
91
|
+
|
92
|
+
DAY: :DAY
|
93
|
+
|
94
|
+
def self?.values: -> ::Array[Lithic::Models::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindowDay::type_]
|
95
|
+
end
|
96
|
+
end
|
97
|
+
|
98
|
+
type fixed_window_week =
|
99
|
+
{
|
100
|
+
day_of_week: Integer,
|
101
|
+
type: Lithic::Models::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindowWeek::type_
|
102
|
+
}
|
103
|
+
|
104
|
+
class FixedWindowWeek < Lithic::Internal::Type::BaseModel
|
105
|
+
attr_reader day_of_week: Integer?
|
106
|
+
|
107
|
+
def day_of_week=: (Integer) -> Integer
|
108
|
+
|
109
|
+
attr_reader type: Lithic::Models::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindowWeek::type_?
|
110
|
+
|
111
|
+
def type=: (
|
112
|
+
Lithic::Models::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindowWeek::type_
|
113
|
+
) -> Lithic::Models::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindowWeek::type_
|
114
|
+
|
115
|
+
def initialize: (
|
116
|
+
?day_of_week: Integer,
|
117
|
+
?type: Lithic::Models::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindowWeek::type_
|
118
|
+
) -> void
|
119
|
+
|
120
|
+
def to_hash: -> {
|
121
|
+
day_of_week: Integer,
|
122
|
+
type: Lithic::Models::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindowWeek::type_
|
123
|
+
}
|
124
|
+
|
125
|
+
type type_ = :WEEK
|
126
|
+
|
127
|
+
module Type
|
128
|
+
extend Lithic::Internal::Type::Enum
|
129
|
+
|
130
|
+
WEEK: :WEEK
|
131
|
+
|
132
|
+
def self?.values: -> ::Array[Lithic::Models::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindowWeek::type_]
|
133
|
+
end
|
134
|
+
end
|
135
|
+
|
136
|
+
type fixed_window_month =
|
137
|
+
{
|
138
|
+
day_of_month: Integer,
|
139
|
+
type: Lithic::Models::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindowMonth::type_
|
140
|
+
}
|
141
|
+
|
142
|
+
class FixedWindowMonth < Lithic::Internal::Type::BaseModel
|
143
|
+
attr_reader day_of_month: Integer?
|
144
|
+
|
145
|
+
def day_of_month=: (Integer) -> Integer
|
146
|
+
|
147
|
+
attr_reader type: Lithic::Models::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindowMonth::type_?
|
148
|
+
|
149
|
+
def type=: (
|
150
|
+
Lithic::Models::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindowMonth::type_
|
151
|
+
) -> Lithic::Models::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindowMonth::type_
|
152
|
+
|
153
|
+
def initialize: (
|
154
|
+
?day_of_month: Integer,
|
155
|
+
?type: Lithic::Models::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindowMonth::type_
|
156
|
+
) -> void
|
157
|
+
|
158
|
+
def to_hash: -> {
|
159
|
+
day_of_month: Integer,
|
160
|
+
type: Lithic::Models::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindowMonth::type_
|
161
|
+
}
|
162
|
+
|
163
|
+
type type_ = :MONTH
|
164
|
+
|
165
|
+
module Type
|
166
|
+
extend Lithic::Internal::Type::Enum
|
167
|
+
|
168
|
+
MONTH: :MONTH
|
169
|
+
|
170
|
+
def self?.values: -> ::Array[Lithic::Models::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindowMonth::type_]
|
171
|
+
end
|
172
|
+
end
|
173
|
+
|
174
|
+
type fixed_window_year =
|
175
|
+
{
|
176
|
+
day_of_month: Integer,
|
177
|
+
month: Integer,
|
178
|
+
type: Lithic::Models::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindowYear::type_
|
179
|
+
}
|
180
|
+
|
181
|
+
class FixedWindowYear < Lithic::Internal::Type::BaseModel
|
182
|
+
attr_reader day_of_month: Integer?
|
183
|
+
|
184
|
+
def day_of_month=: (Integer) -> Integer
|
185
|
+
|
186
|
+
attr_reader month: Integer?
|
187
|
+
|
188
|
+
def month=: (Integer) -> Integer
|
189
|
+
|
190
|
+
attr_reader type: Lithic::Models::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindowYear::type_?
|
191
|
+
|
192
|
+
def type=: (
|
193
|
+
Lithic::Models::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindowYear::type_
|
194
|
+
) -> Lithic::Models::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindowYear::type_
|
195
|
+
|
196
|
+
def initialize: (
|
197
|
+
?day_of_month: Integer,
|
198
|
+
?month: Integer,
|
199
|
+
?type: Lithic::Models::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindowYear::type_
|
200
|
+
) -> void
|
201
|
+
|
202
|
+
def to_hash: -> {
|
203
|
+
day_of_month: Integer,
|
204
|
+
month: Integer,
|
205
|
+
type: Lithic::Models::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindowYear::type_
|
206
|
+
}
|
207
|
+
|
208
|
+
type type_ = :YEAR
|
209
|
+
|
210
|
+
module Type
|
211
|
+
extend Lithic::Internal::Type::Enum
|
212
|
+
|
213
|
+
YEAR: :YEAR
|
214
|
+
|
215
|
+
def self?.values: -> ::Array[Lithic::Models::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindowYear::type_]
|
216
|
+
end
|
217
|
+
end
|
218
|
+
|
219
|
+
def self?.variants: -> ::Array[Lithic::Models::AuthRules::velocity_limit_params_period_window]
|
15
220
|
end
|
16
221
|
end
|
17
222
|
end
|
@@ -61,7 +61,7 @@ module Lithic
|
|
61
61
|
updated: Time
|
62
62
|
}
|
63
63
|
|
64
|
-
type financial_account_type = :ISSUING | :OPERATING | :RESERVE
|
64
|
+
type financial_account_type = :ISSUING | :OPERATING | :RESERVE | :SECURITY
|
65
65
|
|
66
66
|
module FinancialAccountType
|
67
67
|
extend Lithic::Internal::Type::Enum
|
@@ -69,6 +69,7 @@ module Lithic
|
|
69
69
|
ISSUING: :ISSUING
|
70
70
|
OPERATING: :OPERATING
|
71
71
|
RESERVE: :RESERVE
|
72
|
+
SECURITY: :SECURITY
|
72
73
|
|
73
74
|
def self?.values: -> ::Array[Lithic::Models::Balance::financial_account_type]
|
74
75
|
end
|
@@ -47,7 +47,7 @@ module Lithic
|
|
47
47
|
request_options: Lithic::RequestOptions
|
48
48
|
}
|
49
49
|
|
50
|
-
type financial_account_type = :ISSUING | :OPERATING | :RESERVE
|
50
|
+
type financial_account_type = :ISSUING | :OPERATING | :RESERVE | :SECURITY
|
51
51
|
|
52
52
|
module FinancialAccountType
|
53
53
|
extend Lithic::Internal::Type::Enum
|
@@ -55,6 +55,7 @@ module Lithic
|
|
55
55
|
ISSUING: :ISSUING
|
56
56
|
OPERATING: :OPERATING
|
57
57
|
RESERVE: :RESERVE
|
58
|
+
SECURITY: :SECURITY
|
58
59
|
|
59
60
|
def self?.values: -> ::Array[Lithic::Models::BalanceListParams::financial_account_type]
|
60
61
|
end
|
@@ -13,7 +13,9 @@ module Lithic
|
|
13
13
|
pin: String,
|
14
14
|
product_id: String,
|
15
15
|
replacement_account_token: String,
|
16
|
+
replacement_comment: String,
|
16
17
|
replacement_for: String,
|
18
|
+
replacement_substatus: Lithic::Models::CardCreateParams::replacement_substatus,
|
17
19
|
shipping_address: Lithic::ShippingAddress,
|
18
20
|
shipping_method: Lithic::Models::CardCreateParams::shipping_method,
|
19
21
|
spend_limit: Integer,
|
@@ -68,10 +70,20 @@ module Lithic
|
|
68
70
|
|
69
71
|
def replacement_account_token=: (String) -> String
|
70
72
|
|
73
|
+
attr_reader replacement_comment: String?
|
74
|
+
|
75
|
+
def replacement_comment=: (String) -> String
|
76
|
+
|
71
77
|
attr_reader replacement_for: String?
|
72
78
|
|
73
79
|
def replacement_for=: (String) -> String
|
74
80
|
|
81
|
+
attr_reader replacement_substatus: Lithic::Models::CardCreateParams::replacement_substatus?
|
82
|
+
|
83
|
+
def replacement_substatus=: (
|
84
|
+
Lithic::Models::CardCreateParams::replacement_substatus
|
85
|
+
) -> Lithic::Models::CardCreateParams::replacement_substatus
|
86
|
+
|
75
87
|
attr_reader shipping_address: Lithic::ShippingAddress?
|
76
88
|
|
77
89
|
def shipping_address=: (
|
@@ -112,7 +124,9 @@ module Lithic
|
|
112
124
|
?pin: String,
|
113
125
|
?product_id: String,
|
114
126
|
?replacement_account_token: String,
|
127
|
+
?replacement_comment: String,
|
115
128
|
?replacement_for: String,
|
129
|
+
?replacement_substatus: Lithic::Models::CardCreateParams::replacement_substatus,
|
116
130
|
?shipping_address: Lithic::ShippingAddress,
|
117
131
|
?shipping_method: Lithic::Models::CardCreateParams::shipping_method,
|
118
132
|
?spend_limit: Integer,
|
@@ -133,7 +147,9 @@ module Lithic
|
|
133
147
|
pin: String,
|
134
148
|
product_id: String,
|
135
149
|
replacement_account_token: String,
|
150
|
+
replacement_comment: String,
|
136
151
|
replacement_for: String,
|
152
|
+
replacement_substatus: Lithic::Models::CardCreateParams::replacement_substatus,
|
137
153
|
shipping_address: Lithic::ShippingAddress,
|
138
154
|
shipping_method: Lithic::Models::CardCreateParams::shipping_method,
|
139
155
|
spend_limit: Integer,
|
@@ -163,6 +179,37 @@ module Lithic
|
|
163
179
|
def self?.values: -> ::Array[Lithic::Models::CardCreateParams::type_]
|
164
180
|
end
|
165
181
|
|
182
|
+
type replacement_substatus =
|
183
|
+
:LOST
|
184
|
+
| :COMPROMISED
|
185
|
+
| :DAMAGED
|
186
|
+
| :END_USER_REQUEST
|
187
|
+
| :ISSUER_REQUEST
|
188
|
+
| :NOT_ACTIVE
|
189
|
+
| :SUSPICIOUS_ACTIVITY
|
190
|
+
| :INTERNAL_REVIEW
|
191
|
+
| :EXPIRED
|
192
|
+
| :UNDELIVERABLE
|
193
|
+
| :OTHER
|
194
|
+
|
195
|
+
module ReplacementSubstatus
|
196
|
+
extend Lithic::Internal::Type::Enum
|
197
|
+
|
198
|
+
LOST: :LOST
|
199
|
+
COMPROMISED: :COMPROMISED
|
200
|
+
DAMAGED: :DAMAGED
|
201
|
+
END_USER_REQUEST: :END_USER_REQUEST
|
202
|
+
ISSUER_REQUEST: :ISSUER_REQUEST
|
203
|
+
NOT_ACTIVE: :NOT_ACTIVE
|
204
|
+
SUSPICIOUS_ACTIVITY: :SUSPICIOUS_ACTIVITY
|
205
|
+
INTERNAL_REVIEW: :INTERNAL_REVIEW
|
206
|
+
EXPIRED: :EXPIRED
|
207
|
+
UNDELIVERABLE: :UNDELIVERABLE
|
208
|
+
OTHER: :OTHER
|
209
|
+
|
210
|
+
def self?.values: -> ::Array[Lithic::Models::CardCreateParams::replacement_substatus]
|
211
|
+
end
|
212
|
+
|
166
213
|
type shipping_method =
|
167
214
|
:"2_DAY"
|
168
215
|
| :EXPEDITED
|
@@ -7,6 +7,7 @@ module Lithic
|
|
7
7
|
name: String,
|
8
8
|
pan_range_end: String,
|
9
9
|
pan_range_start: String,
|
10
|
+
account_level_management_enabled: bool,
|
10
11
|
cardholder_currency: String,
|
11
12
|
settlement_currencies: ::Array[String]
|
12
13
|
}
|
@@ -22,6 +23,10 @@ module Lithic
|
|
22
23
|
|
23
24
|
attr_accessor pan_range_start: String
|
24
25
|
|
26
|
+
attr_reader account_level_management_enabled: bool?
|
27
|
+
|
28
|
+
def account_level_management_enabled=: (bool) -> bool
|
29
|
+
|
25
30
|
attr_reader cardholder_currency: String?
|
26
31
|
|
27
32
|
def cardholder_currency=: (String) -> String
|
@@ -36,6 +41,7 @@ module Lithic
|
|
36
41
|
name: String,
|
37
42
|
pan_range_end: String,
|
38
43
|
pan_range_start: String,
|
44
|
+
?account_level_management_enabled: bool,
|
39
45
|
?cardholder_currency: String,
|
40
46
|
?settlement_currencies: ::Array[String]
|
41
47
|
) -> void
|
@@ -46,6 +52,7 @@ module Lithic
|
|
46
52
|
name: String,
|
47
53
|
pan_range_end: String,
|
48
54
|
pan_range_start: String,
|
55
|
+
account_level_management_enabled: bool,
|
49
56
|
cardholder_currency: String,
|
50
57
|
settlement_currencies: ::Array[String]
|
51
58
|
}
|
@@ -2,13 +2,16 @@ module Lithic
|
|
2
2
|
module Models
|
3
3
|
type card_update_params =
|
4
4
|
{
|
5
|
+
comment: String,
|
5
6
|
digital_card_art_token: String,
|
6
7
|
memo: String,
|
8
|
+
network_program_token: String,
|
7
9
|
pin: String,
|
8
10
|
pin_status: Lithic::Models::CardUpdateParams::pin_status,
|
9
11
|
spend_limit: Integer,
|
10
12
|
spend_limit_duration: Lithic::Models::spend_limit_duration,
|
11
|
-
state: Lithic::Models::CardUpdateParams::state
|
13
|
+
state: Lithic::Models::CardUpdateParams::state,
|
14
|
+
substatus: Lithic::Models::CardUpdateParams::substatus
|
12
15
|
}
|
13
16
|
& Lithic::Internal::Type::request_parameters
|
14
17
|
|
@@ -16,6 +19,10 @@ module Lithic
|
|
16
19
|
extend Lithic::Internal::Type::RequestParameters::Converter
|
17
20
|
include Lithic::Internal::Type::RequestParameters
|
18
21
|
|
22
|
+
attr_reader comment: String?
|
23
|
+
|
24
|
+
def comment=: (String) -> String
|
25
|
+
|
19
26
|
attr_reader digital_card_art_token: String?
|
20
27
|
|
21
28
|
def digital_card_art_token=: (String) -> String
|
@@ -24,6 +31,10 @@ module Lithic
|
|
24
31
|
|
25
32
|
def memo=: (String) -> String
|
26
33
|
|
34
|
+
attr_reader network_program_token: String?
|
35
|
+
|
36
|
+
def network_program_token=: (String) -> String
|
37
|
+
|
27
38
|
attr_reader pin: String?
|
28
39
|
|
29
40
|
def pin=: (String) -> String
|
@@ -50,25 +61,37 @@ module Lithic
|
|
50
61
|
Lithic::Models::CardUpdateParams::state
|
51
62
|
) -> Lithic::Models::CardUpdateParams::state
|
52
63
|
|
64
|
+
attr_reader substatus: Lithic::Models::CardUpdateParams::substatus?
|
65
|
+
|
66
|
+
def substatus=: (
|
67
|
+
Lithic::Models::CardUpdateParams::substatus
|
68
|
+
) -> Lithic::Models::CardUpdateParams::substatus
|
69
|
+
|
53
70
|
def initialize: (
|
71
|
+
?comment: String,
|
54
72
|
?digital_card_art_token: String,
|
55
73
|
?memo: String,
|
74
|
+
?network_program_token: String,
|
56
75
|
?pin: String,
|
57
76
|
?pin_status: Lithic::Models::CardUpdateParams::pin_status,
|
58
77
|
?spend_limit: Integer,
|
59
78
|
?spend_limit_duration: Lithic::Models::spend_limit_duration,
|
60
79
|
?state: Lithic::Models::CardUpdateParams::state,
|
80
|
+
?substatus: Lithic::Models::CardUpdateParams::substatus,
|
61
81
|
?request_options: Lithic::request_opts
|
62
82
|
) -> void
|
63
83
|
|
64
84
|
def to_hash: -> {
|
85
|
+
comment: String,
|
65
86
|
digital_card_art_token: String,
|
66
87
|
memo: String,
|
88
|
+
network_program_token: String,
|
67
89
|
pin: String,
|
68
90
|
pin_status: Lithic::Models::CardUpdateParams::pin_status,
|
69
91
|
spend_limit: Integer,
|
70
92
|
spend_limit_duration: Lithic::Models::spend_limit_duration,
|
71
93
|
state: Lithic::Models::CardUpdateParams::state,
|
94
|
+
substatus: Lithic::Models::CardUpdateParams::substatus,
|
72
95
|
request_options: Lithic::RequestOptions
|
73
96
|
}
|
74
97
|
|
@@ -93,6 +116,37 @@ module Lithic
|
|
93
116
|
|
94
117
|
def self?.values: -> ::Array[Lithic::Models::CardUpdateParams::state]
|
95
118
|
end
|
119
|
+
|
120
|
+
type substatus =
|
121
|
+
:LOST
|
122
|
+
| :COMPROMISED
|
123
|
+
| :DAMAGED
|
124
|
+
| :END_USER_REQUEST
|
125
|
+
| :ISSUER_REQUEST
|
126
|
+
| :NOT_ACTIVE
|
127
|
+
| :SUSPICIOUS_ACTIVITY
|
128
|
+
| :INTERNAL_REVIEW
|
129
|
+
| :EXPIRED
|
130
|
+
| :UNDELIVERABLE
|
131
|
+
| :OTHER
|
132
|
+
|
133
|
+
module Substatus
|
134
|
+
extend Lithic::Internal::Type::Enum
|
135
|
+
|
136
|
+
LOST: :LOST
|
137
|
+
COMPROMISED: :COMPROMISED
|
138
|
+
DAMAGED: :DAMAGED
|
139
|
+
END_USER_REQUEST: :END_USER_REQUEST
|
140
|
+
ISSUER_REQUEST: :ISSUER_REQUEST
|
141
|
+
NOT_ACTIVE: :NOT_ACTIVE
|
142
|
+
SUSPICIOUS_ACTIVITY: :SUSPICIOUS_ACTIVITY
|
143
|
+
INTERNAL_REVIEW: :INTERNAL_REVIEW
|
144
|
+
EXPIRED: :EXPIRED
|
145
|
+
UNDELIVERABLE: :UNDELIVERABLE
|
146
|
+
OTHER: :OTHER
|
147
|
+
|
148
|
+
def self?.values: -> ::Array[Lithic::Models::CardUpdateParams::substatus]
|
149
|
+
end
|
96
150
|
end
|
97
151
|
end
|
98
152
|
end
|
@@ -62,7 +62,7 @@ module Lithic
|
|
62
62
|
updated: Time
|
63
63
|
}
|
64
64
|
|
65
|
-
type type_ = :ISSUING | :OPERATING | :RESERVE
|
65
|
+
type type_ = :ISSUING | :OPERATING | :RESERVE | :SECURITY
|
66
66
|
|
67
67
|
module Type
|
68
68
|
extend Lithic::Internal::Type::Enum
|
@@ -70,6 +70,7 @@ module Lithic
|
|
70
70
|
ISSUING: :ISSUING
|
71
71
|
OPERATING: :OPERATING
|
72
72
|
RESERVE: :RESERVE
|
73
|
+
SECURITY: :SECURITY
|
73
74
|
|
74
75
|
def self?.values: -> ::Array[Lithic::Models::Cards::BalanceListResponse::type_]
|
75
76
|
end
|