lithic 0.1.0.pre.alpha.39 → 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 +10 -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/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/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/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/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/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/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
@@ -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
|
@@ -0,0 +1,32 @@
|
|
1
|
+
module Lithic
|
2
|
+
module Models
|
3
|
+
type external_resource =
|
4
|
+
{
|
5
|
+
external_resource_token: String,
|
6
|
+
external_resource_type: Lithic::Models::external_resource_type,
|
7
|
+
external_resource_sub_token: String
|
8
|
+
}
|
9
|
+
|
10
|
+
class ExternalResource < Lithic::Internal::Type::BaseModel
|
11
|
+
attr_accessor external_resource_token: String
|
12
|
+
|
13
|
+
attr_accessor external_resource_type: Lithic::Models::external_resource_type
|
14
|
+
|
15
|
+
attr_reader external_resource_sub_token: String?
|
16
|
+
|
17
|
+
def external_resource_sub_token=: (String) -> String
|
18
|
+
|
19
|
+
def initialize: (
|
20
|
+
external_resource_token: String,
|
21
|
+
external_resource_type: Lithic::Models::external_resource_type,
|
22
|
+
?external_resource_sub_token: String
|
23
|
+
) -> void
|
24
|
+
|
25
|
+
def to_hash: -> {
|
26
|
+
external_resource_token: String,
|
27
|
+
external_resource_type: Lithic::Models::external_resource_type,
|
28
|
+
external_resource_sub_token: String
|
29
|
+
}
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
@@ -0,0 +1,16 @@
|
|
1
|
+
module Lithic
|
2
|
+
module Models
|
3
|
+
type external_resource_type = :STATEMENT | :COLLECTION | :DISPUTE | :UNKNOWN
|
4
|
+
|
5
|
+
module ExternalResourceType
|
6
|
+
extend Lithic::Internal::Type::Enum
|
7
|
+
|
8
|
+
STATEMENT: :STATEMENT
|
9
|
+
COLLECTION: :COLLECTION
|
10
|
+
DISPUTE: :DISPUTE
|
11
|
+
UNKNOWN: :UNKNOWN
|
12
|
+
|
13
|
+
def self?.values: -> ::Array[Lithic::Models::external_resource_type]
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
@@ -40,7 +40,7 @@ module Lithic
|
|
40
40
|
request_options: Lithic::RequestOptions
|
41
41
|
}
|
42
42
|
|
43
|
-
type type_ = :ISSUING | :OPERATING | :RESERVE
|
43
|
+
type type_ = :ISSUING | :OPERATING | :RESERVE | :SECURITY
|
44
44
|
|
45
45
|
module Type
|
46
46
|
extend Lithic::Internal::Type::Enum
|
@@ -48,6 +48,7 @@ module Lithic
|
|
48
48
|
ISSUING: :ISSUING
|
49
49
|
OPERATING: :OPERATING
|
50
50
|
RESERVE: :RESERVE
|
51
|
+
SECURITY: :SECURITY
|
51
52
|
|
52
53
|
def self?.values: -> ::Array[Lithic::Models::FinancialAccountListParams::type_]
|
53
54
|
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::FinancialAccounts::BalanceListResponse::type_]
|
75
76
|
end
|
@@ -10,6 +10,7 @@ module Lithic
|
|
10
10
|
financial_account_token: String,
|
11
11
|
token: String,
|
12
12
|
memo: String,
|
13
|
+
on_closed_account: Lithic::Models::ManagementOperationCreateParams::on_closed_account,
|
13
14
|
subtype: String,
|
14
15
|
user_defined_id: String
|
15
16
|
}
|
@@ -39,6 +40,12 @@ module Lithic
|
|
39
40
|
|
40
41
|
def memo=: (String) -> String
|
41
42
|
|
43
|
+
attr_reader on_closed_account: Lithic::Models::ManagementOperationCreateParams::on_closed_account?
|
44
|
+
|
45
|
+
def on_closed_account=: (
|
46
|
+
Lithic::Models::ManagementOperationCreateParams::on_closed_account
|
47
|
+
) -> Lithic::Models::ManagementOperationCreateParams::on_closed_account
|
48
|
+
|
42
49
|
attr_reader subtype: String?
|
43
50
|
|
44
51
|
def subtype=: (String) -> String
|
@@ -56,6 +63,7 @@ module Lithic
|
|
56
63
|
financial_account_token: String,
|
57
64
|
?token: String,
|
58
65
|
?memo: String,
|
66
|
+
?on_closed_account: Lithic::Models::ManagementOperationCreateParams::on_closed_account,
|
59
67
|
?subtype: String,
|
60
68
|
?user_defined_id: String,
|
61
69
|
?request_options: Lithic::request_opts
|
@@ -70,6 +78,7 @@ module Lithic
|
|
70
78
|
financial_account_token: String,
|
71
79
|
token: String,
|
72
80
|
memo: String,
|
81
|
+
on_closed_account: Lithic::Models::ManagementOperationCreateParams::on_closed_account,
|
73
82
|
subtype: String,
|
74
83
|
user_defined_id: String,
|
75
84
|
request_options: Lithic::RequestOptions
|
@@ -151,6 +160,17 @@ module Lithic
|
|
151
160
|
|
152
161
|
def self?.values: -> ::Array[Lithic::Models::ManagementOperationCreateParams::event_type]
|
153
162
|
end
|
163
|
+
|
164
|
+
type on_closed_account = :FAIL | :USE_SUSPENSE
|
165
|
+
|
166
|
+
module OnClosedAccount
|
167
|
+
extend Lithic::Internal::Type::Enum
|
168
|
+
|
169
|
+
FAIL: :FAIL
|
170
|
+
USE_SUSPENSE: :USE_SUSPENSE
|
171
|
+
|
172
|
+
def self?.values: -> ::Array[Lithic::Models::ManagementOperationCreateParams::on_closed_account]
|
173
|
+
end
|
154
174
|
end
|
155
175
|
end
|
156
176
|
end
|
@@ -15,6 +15,7 @@ module Lithic
|
|
15
15
|
status: Lithic::Models::ManagementOperationTransaction::status,
|
16
16
|
transaction_series: Lithic::ManagementOperationTransaction::TransactionSeries?,
|
17
17
|
updated: Time,
|
18
|
+
external_resource: Lithic::ExternalResource?,
|
18
19
|
user_defined_id: String
|
19
20
|
}
|
20
21
|
|
@@ -45,6 +46,8 @@ module Lithic
|
|
45
46
|
|
46
47
|
attr_accessor updated: Time
|
47
48
|
|
49
|
+
attr_accessor external_resource: Lithic::ExternalResource?
|
50
|
+
|
48
51
|
attr_reader user_defined_id: String?
|
49
52
|
|
50
53
|
def user_defined_id=: (String) -> String
|
@@ -63,6 +66,7 @@ module Lithic
|
|
63
66
|
status: Lithic::Models::ManagementOperationTransaction::status,
|
64
67
|
transaction_series: Lithic::ManagementOperationTransaction::TransactionSeries?,
|
65
68
|
updated: Time,
|
69
|
+
?external_resource: Lithic::ExternalResource?,
|
66
70
|
?user_defined_id: String
|
67
71
|
) -> void
|
68
72
|
|
@@ -80,6 +84,7 @@ module Lithic
|
|
80
84
|
status: Lithic::Models::ManagementOperationTransaction::status,
|
81
85
|
transaction_series: Lithic::ManagementOperationTransaction::TransactionSeries?,
|
82
86
|
updated: Time,
|
87
|
+
external_resource: Lithic::ExternalResource?,
|
83
88
|
user_defined_id: String
|
84
89
|
}
|
85
90
|
|