lithic 0.1.0.pre.alpha.39 → 0.1.0.pre.alpha.41
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 +24 -0
- data/README.md +1 -1
- data/lib/lithic/client.rb +8 -0
- data/lib/lithic/internal/transport/base_client.rb +1 -1
- data/lib/lithic/internal/transport/pooled_net_requester.rb +1 -9
- data/lib/lithic/internal/type/array_of.rb +1 -0
- data/lib/lithic/internal/type/base_model.rb +3 -1
- data/lib/lithic/internal/type/converter.rb +27 -0
- data/lib/lithic/internal/type/hash_of.rb +1 -0
- data/lib/lithic/internal/type/union.rb +9 -7
- data/lib/lithic/internal/util.rb +1 -1
- data/lib/lithic/models/account.rb +88 -1
- data/lib/lithic/models/account_activity_list_params.rb +156 -0
- data/lib/lithic/models/account_activity_list_response.rb +1435 -0
- data/lib/lithic/models/account_activity_retrieve_transaction_params.rb +14 -0
- data/lib/lithic/models/account_activity_retrieve_transaction_response.rb +1451 -0
- data/lib/lithic/models/account_holder.rb +16 -19
- data/lib/lithic/models/account_holder_create_params.rb +41 -47
- data/lib/lithic/models/account_holder_simulate_enrollment_review_params.rb +1 -3
- data/lib/lithic/models/account_holder_simulate_enrollment_review_response.rb +25 -20
- data/lib/lithic/models/account_holder_update_params.rb +2 -6
- data/lib/lithic/models/account_holder_update_response.rb +25 -20
- 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/auth_rule_condition.rb +5 -1
- data/lib/lithic/models/auth_rules/conditional_3ds_action_parameters.rb +12 -22
- data/lib/lithic/models/auth_rules/v2_list_params.rb +1 -0
- data/lib/lithic/models/auth_rules/velocity_limit_params.rb +3 -25
- data/lib/lithic/models/auth_rules/velocity_limit_params_period_window.rb +226 -16
- data/lib/lithic/models/balance.rb +1 -0
- data/lib/lithic/models/balance_list_params.rb +1 -0
- data/lib/lithic/models/book_transfer_create_params.rb +34 -6
- data/lib/lithic/models/book_transfer_response.rb +124 -28
- 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/document.rb +1 -3
- data/lib/lithic/models/events/subscription_create_params.rb +1 -3
- data/lib/lithic/models/events/subscription_update_params.rb +1 -3
- data/lib/lithic/models/external_bank_account_list_params.rb +2 -6
- data/lib/lithic/models/external_payment.rb +89 -48
- 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.rb +1 -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/financial_accounts/loan_tape.rb +5 -18
- data/lib/lithic/models/financial_accounts/statement.rb +3 -10
- data/lib/lithic/models/financial_accounts/statements/statement_line_items.rb +2 -7
- data/lib/lithic/models/financial_transaction.rb +2 -0
- data/lib/lithic/models/instance_financial_account_type.rb +1 -0
- data/lib/lithic/models/kyb.rb +2 -2
- data/lib/lithic/models/management_operation_create_params.rb +30 -1
- data/lib/lithic/models/management_operation_transaction.rb +100 -52
- 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.rb +60 -1
- data/lib/lithic/models/payment_simulate_action_params.rb +1 -0
- data/lib/lithic/models/reports/settlement_list_details_params.rb +2 -2
- data/lib/lithic/models/settlement_detail.rb +1 -0
- data/lib/lithic/models/three_ds/authentication_retrieve_response.rb +145 -12
- data/lib/lithic/models/three_ds/authentication_simulate_params.rb +1 -4
- data/lib/lithic/models/tokenization.rb +1 -1
- data/lib/lithic/models/transaction.rb +31 -20
- data/lib/lithic/models/transactions/events/enhanced_data.rb +3 -11
- data/lib/lithic/models/transfer.rb +2 -0
- data/lib/lithic/models/wire_party_details.rb +40 -0
- data/lib/lithic/models.rb +16 -0
- data/lib/lithic/resources/account_activity.rb +80 -0
- data/lib/lithic/resources/account_holders.rb +9 -9
- data/lib/lithic/resources/accounts.rb +5 -1
- data/lib/lithic/resources/book_transfers.rb +7 -3
- 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/resources/reports/settlement.rb +1 -1
- data/lib/lithic/resources/tokenizations.rb +2 -2
- data/lib/lithic/version.rb +1 -1
- data/lib/lithic.rb +13 -2
- data/rbi/lithic/client.rbi +6 -0
- data/rbi/lithic/errors.rbi +2 -2
- data/rbi/lithic/internal/transport/base_client.rbi +1 -1
- data/rbi/lithic/internal/type/converter.rbi +46 -0
- data/rbi/lithic/internal/type/union.rbi +7 -2
- data/rbi/lithic/models/account.rbi +131 -0
- data/rbi/lithic/models/account_activity_list_params.rbi +359 -0
- data/rbi/lithic/models/account_activity_list_response.rbi +3367 -0
- data/rbi/lithic/models/account_activity_retrieve_transaction_params.rbi +30 -0
- data/rbi/lithic/models/account_activity_retrieve_transaction_response.rbi +3369 -0
- data/rbi/lithic/models/account_holder.rbi +21 -23
- data/rbi/lithic/models/account_holder_create_params.rbi +87 -65
- data/rbi/lithic/models/account_holder_simulate_enrollment_review_response.rbi +36 -30
- data/rbi/lithic/models/account_holder_update_response.rbi +36 -30
- 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/auth_rule_condition.rbi +20 -0
- data/rbi/lithic/models/auth_rules/conditional_3ds_action_parameters.rbi +26 -15
- data/rbi/lithic/models/auth_rules/v2_list_params.rbi +2 -0
- 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/book_transfer_create_params.rbi +75 -5
- data/rbi/lithic/models/book_transfer_response.rbi +320 -38
- 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_payment.rbi +147 -60
- 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.rbi +5 -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/financial_transaction.rbi +1 -0
- data/rbi/lithic/models/instance_financial_account_type.rbi +5 -0
- data/rbi/lithic/models/kyb.rbi +2 -2
- data/rbi/lithic/models/management_operation_create_params.rbi +59 -0
- data/rbi/lithic/models/management_operation_transaction.rbi +230 -84
- 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.rbi +103 -3
- data/rbi/lithic/models/payment_simulate_action_params.rbi +5 -0
- data/rbi/lithic/models/reports/settlement_list_details_params.rbi +2 -2
- data/rbi/lithic/models/settlement_detail.rbi +2 -0
- data/rbi/lithic/models/three_ds/authentication_retrieve_response.rbi +222 -19
- data/rbi/lithic/models/transaction.rbi +23 -31
- data/rbi/lithic/models/transfer.rbi +1 -0
- data/rbi/lithic/models/wire_party_details.rbi +61 -0
- data/rbi/lithic/models.rbi +17 -0
- data/rbi/lithic/resources/account_activity.rbi +80 -0
- data/rbi/lithic/resources/account_holders.rbi +28 -29
- data/rbi/lithic/resources/accounts.rbi +32 -0
- data/rbi/lithic/resources/book_transfers.rbi +9 -2
- 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/rbi/lithic/resources/reports/settlement.rbi +1 -1
- data/rbi/lithic/resources/tokenizations.rbi +1 -1
- data/sig/lithic/client.rbs +4 -0
- data/sig/lithic/internal/transport/base_client.rbs +1 -1
- data/sig/lithic/internal/type/converter.rbs +17 -0
- data/sig/lithic/internal/type/union.rbs +2 -2
- data/sig/lithic/models/account.rbs +41 -0
- data/sig/lithic/models/account_activity_list_params.rbs +173 -0
- data/sig/lithic/models/account_activity_list_response.rbs +1353 -0
- data/sig/lithic/models/account_activity_retrieve_transaction_params.rbs +15 -0
- data/sig/lithic/models/account_activity_retrieve_transaction_response.rbs +1353 -0
- data/sig/lithic/models/account_holder_create_params.rbs +33 -19
- data/sig/lithic/models/account_holder_simulate_enrollment_review_response.rbs +10 -3
- data/sig/lithic/models/account_holder_update_response.rbs +10 -3
- 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/auth_rule_condition.rbs +8 -0
- data/sig/lithic/models/auth_rules/conditional_3ds_action_parameters.rbs +8 -0
- data/sig/lithic/models/auth_rules/v2_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/book_transfer_create_params.rbs +30 -1
- data/sig/lithic/models/book_transfer_response.rbs +134 -15
- 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_payment.rbs +91 -40
- 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.rbs +2 -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/instance_financial_account_type.rbs +2 -0
- data/sig/lithic/models/management_operation_create_params.rbs +20 -0
- data/sig/lithic/models/management_operation_transaction.rbs +98 -42
- 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.rbs +61 -3
- data/sig/lithic/models/payment_simulate_action_params.rbs +2 -0
- data/sig/lithic/models/settlement_detail.rbs +2 -0
- data/sig/lithic/models/three_ds/authentication_retrieve_response.rbs +90 -3
- data/sig/lithic/models/transaction.rbs +2 -6
- data/sig/lithic/models/wire_party_details.rbs +35 -0
- data/sig/lithic/models.rbs +16 -0
- data/sig/lithic/resources/account_activity.rbs +27 -0
- data/sig/lithic/resources/account_holders.rbs +3 -3
- data/sig/lithic/resources/accounts.rbs +2 -0
- data/sig/lithic/resources/book_transfers.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
- data/sig/lithic/resources/tokenizations.rbs +1 -1
- metadata +38 -5
- data/lib/lithic/models/tokenization_retrieve_response.rb +0 -16
- data/rbi/lithic/models/tokenization_retrieve_response.rbi +0 -31
- data/sig/lithic/models/tokenization_retrieve_response.rbs +0 -15
@@ -15,14 +15,17 @@ module Lithic
|
|
15
15
|
type: Lithic::Models::NonPCICard::type_,
|
16
16
|
auth_rule_tokens: ::Array[String],
|
17
17
|
cardholder_currency: String,
|
18
|
+
comment: String,
|
18
19
|
digital_card_art_token: String,
|
19
20
|
exp_month: String,
|
20
21
|
exp_year: String,
|
21
22
|
hostname: String,
|
22
23
|
memo: String,
|
24
|
+
network_program_token: String?,
|
23
25
|
pending_commands: ::Array[String],
|
24
26
|
product_id: String,
|
25
|
-
replacement_for: String
|
27
|
+
replacement_for: String?,
|
28
|
+
substatus: Lithic::Models::NonPCICard::substatus
|
26
29
|
}
|
27
30
|
|
28
31
|
class NonPCICard < Lithic::Internal::Type::BaseModel
|
@@ -56,6 +59,10 @@ module Lithic
|
|
56
59
|
|
57
60
|
def cardholder_currency=: (String) -> String
|
58
61
|
|
62
|
+
attr_reader comment: String?
|
63
|
+
|
64
|
+
def comment=: (String) -> String
|
65
|
+
|
59
66
|
attr_reader digital_card_art_token: String?
|
60
67
|
|
61
68
|
def digital_card_art_token=: (String) -> String
|
@@ -76,6 +83,8 @@ module Lithic
|
|
76
83
|
|
77
84
|
def memo=: (String) -> String
|
78
85
|
|
86
|
+
attr_accessor network_program_token: String?
|
87
|
+
|
79
88
|
attr_reader pending_commands: ::Array[String]?
|
80
89
|
|
81
90
|
def pending_commands=: (::Array[String]) -> ::Array[String]
|
@@ -86,6 +95,12 @@ module Lithic
|
|
86
95
|
|
87
96
|
attr_accessor replacement_for: String?
|
88
97
|
|
98
|
+
attr_reader substatus: Lithic::Models::NonPCICard::substatus?
|
99
|
+
|
100
|
+
def substatus=: (
|
101
|
+
Lithic::Models::NonPCICard::substatus
|
102
|
+
) -> Lithic::Models::NonPCICard::substatus
|
103
|
+
|
89
104
|
def initialize: (
|
90
105
|
token: String,
|
91
106
|
account_token: String,
|
@@ -100,14 +115,17 @@ module Lithic
|
|
100
115
|
type: Lithic::Models::NonPCICard::type_,
|
101
116
|
?auth_rule_tokens: ::Array[String],
|
102
117
|
?cardholder_currency: String,
|
118
|
+
?comment: String,
|
103
119
|
?digital_card_art_token: String,
|
104
120
|
?exp_month: String,
|
105
121
|
?exp_year: String,
|
106
122
|
?hostname: String,
|
107
123
|
?memo: String,
|
124
|
+
?network_program_token: String?,
|
108
125
|
?pending_commands: ::Array[String],
|
109
126
|
?product_id: String,
|
110
|
-
?replacement_for: String
|
127
|
+
?replacement_for: String?,
|
128
|
+
?substatus: Lithic::Models::NonPCICard::substatus
|
111
129
|
) -> void
|
112
130
|
|
113
131
|
def to_hash: -> {
|
@@ -124,14 +142,17 @@ module Lithic
|
|
124
142
|
type: Lithic::Models::NonPCICard::type_,
|
125
143
|
auth_rule_tokens: ::Array[String],
|
126
144
|
cardholder_currency: String,
|
145
|
+
comment: String,
|
127
146
|
digital_card_art_token: String,
|
128
147
|
exp_month: String,
|
129
148
|
exp_year: String,
|
130
149
|
hostname: String,
|
131
150
|
memo: String,
|
151
|
+
network_program_token: String?,
|
132
152
|
pending_commands: ::Array[String],
|
133
153
|
product_id: String,
|
134
|
-
replacement_for: String
|
154
|
+
replacement_for: String?,
|
155
|
+
substatus: Lithic::Models::NonPCICard::substatus
|
135
156
|
}
|
136
157
|
|
137
158
|
type funding =
|
@@ -255,6 +276,37 @@ module Lithic
|
|
255
276
|
|
256
277
|
def self?.values: -> ::Array[Lithic::Models::NonPCICard::type_]
|
257
278
|
end
|
279
|
+
|
280
|
+
type substatus =
|
281
|
+
:LOST
|
282
|
+
| :COMPROMISED
|
283
|
+
| :DAMAGED
|
284
|
+
| :END_USER_REQUEST
|
285
|
+
| :ISSUER_REQUEST
|
286
|
+
| :NOT_ACTIVE
|
287
|
+
| :SUSPICIOUS_ACTIVITY
|
288
|
+
| :INTERNAL_REVIEW
|
289
|
+
| :EXPIRED
|
290
|
+
| :UNDELIVERABLE
|
291
|
+
| :OTHER
|
292
|
+
|
293
|
+
module Substatus
|
294
|
+
extend Lithic::Internal::Type::Enum
|
295
|
+
|
296
|
+
LOST: :LOST
|
297
|
+
COMPROMISED: :COMPROMISED
|
298
|
+
DAMAGED: :DAMAGED
|
299
|
+
END_USER_REQUEST: :END_USER_REQUEST
|
300
|
+
ISSUER_REQUEST: :ISSUER_REQUEST
|
301
|
+
NOT_ACTIVE: :NOT_ACTIVE
|
302
|
+
SUSPICIOUS_ACTIVITY: :SUSPICIOUS_ACTIVITY
|
303
|
+
INTERNAL_REVIEW: :INTERNAL_REVIEW
|
304
|
+
EXPIRED: :EXPIRED
|
305
|
+
UNDELIVERABLE: :UNDELIVERABLE
|
306
|
+
OTHER: :OTHER
|
307
|
+
|
308
|
+
def self?.values: -> ::Array[Lithic::Models::NonPCICard::substatus]
|
309
|
+
end
|
258
310
|
end
|
259
311
|
end
|
260
312
|
end
|
@@ -14,13 +14,15 @@ module Lithic
|
|
14
14
|
method_: Lithic::Models::Payment::method_,
|
15
15
|
method_attributes: Lithic::Payment::MethodAttributes,
|
16
16
|
pending_amount: Integer,
|
17
|
+
related_account_tokens: Lithic::Payment::RelatedAccountTokens,
|
17
18
|
result: Lithic::Models::Payment::result,
|
18
19
|
settled_amount: Integer,
|
19
20
|
source: Lithic::Models::Payment::source,
|
20
21
|
status: Lithic::Models::Payment::status,
|
21
22
|
updated: Time,
|
22
23
|
user_defined_id: String?,
|
23
|
-
expected_release_date: Date
|
24
|
+
expected_release_date: Date,
|
25
|
+
type: Lithic::Models::Payment::type_
|
24
26
|
}
|
25
27
|
|
26
28
|
class Payment < Lithic::Internal::Type::BaseModel
|
@@ -48,6 +50,8 @@ module Lithic
|
|
48
50
|
|
49
51
|
attr_accessor pending_amount: Integer
|
50
52
|
|
53
|
+
attr_accessor related_account_tokens: Lithic::Payment::RelatedAccountTokens
|
54
|
+
|
51
55
|
attr_accessor result: Lithic::Models::Payment::result
|
52
56
|
|
53
57
|
attr_accessor settled_amount: Integer
|
@@ -64,6 +68,12 @@ module Lithic
|
|
64
68
|
|
65
69
|
def expected_release_date=: (Date) -> Date
|
66
70
|
|
71
|
+
attr_reader type: Lithic::Models::Payment::type_?
|
72
|
+
|
73
|
+
def type=: (
|
74
|
+
Lithic::Models::Payment::type_
|
75
|
+
) -> Lithic::Models::Payment::type_
|
76
|
+
|
67
77
|
def initialize: (
|
68
78
|
token: String,
|
69
79
|
category: Lithic::Models::Payment::category,
|
@@ -77,13 +87,15 @@ module Lithic
|
|
77
87
|
method_: Lithic::Models::Payment::method_,
|
78
88
|
method_attributes: Lithic::Payment::MethodAttributes,
|
79
89
|
pending_amount: Integer,
|
90
|
+
related_account_tokens: Lithic::Payment::RelatedAccountTokens,
|
80
91
|
result: Lithic::Models::Payment::result,
|
81
92
|
settled_amount: Integer,
|
82
93
|
source: Lithic::Models::Payment::source,
|
83
94
|
status: Lithic::Models::Payment::status,
|
84
95
|
updated: Time,
|
85
96
|
user_defined_id: String?,
|
86
|
-
?expected_release_date: Date
|
97
|
+
?expected_release_date: Date,
|
98
|
+
?type: Lithic::Models::Payment::type_
|
87
99
|
) -> void
|
88
100
|
|
89
101
|
def to_hash: -> {
|
@@ -99,13 +111,15 @@ module Lithic
|
|
99
111
|
method_: Lithic::Models::Payment::method_,
|
100
112
|
method_attributes: Lithic::Payment::MethodAttributes,
|
101
113
|
pending_amount: Integer,
|
114
|
+
related_account_tokens: Lithic::Payment::RelatedAccountTokens,
|
102
115
|
result: Lithic::Models::Payment::result,
|
103
116
|
settled_amount: Integer,
|
104
117
|
source: Lithic::Models::Payment::source,
|
105
118
|
status: Lithic::Models::Payment::status,
|
106
119
|
updated: Time,
|
107
120
|
user_defined_id: String?,
|
108
|
-
expected_release_date: Date
|
121
|
+
expected_release_date: Date,
|
122
|
+
type: Lithic::Models::Payment::type_
|
109
123
|
}
|
110
124
|
|
111
125
|
type category = :ACH
|
@@ -308,6 +322,25 @@ module Lithic
|
|
308
322
|
end
|
309
323
|
end
|
310
324
|
|
325
|
+
type related_account_tokens =
|
326
|
+
{ account_token: String?, business_account_token: String? }
|
327
|
+
|
328
|
+
class RelatedAccountTokens < Lithic::Internal::Type::BaseModel
|
329
|
+
attr_accessor account_token: String?
|
330
|
+
|
331
|
+
attr_accessor business_account_token: String?
|
332
|
+
|
333
|
+
def initialize: (
|
334
|
+
account_token: String?,
|
335
|
+
business_account_token: String?
|
336
|
+
) -> void
|
337
|
+
|
338
|
+
def to_hash: -> {
|
339
|
+
account_token: String?,
|
340
|
+
business_account_token: String?
|
341
|
+
}
|
342
|
+
end
|
343
|
+
|
311
344
|
type result = :APPROVED | :DECLINED
|
312
345
|
|
313
346
|
module Result
|
@@ -342,6 +375,31 @@ module Lithic
|
|
342
375
|
|
343
376
|
def self?.values: -> ::Array[Lithic::Models::Payment::status]
|
344
377
|
end
|
378
|
+
|
379
|
+
type type_ =
|
380
|
+
:ORIGINATION_CREDIT
|
381
|
+
| :ORIGINATION_DEBIT
|
382
|
+
| :RECEIPT_CREDIT
|
383
|
+
| :RECEIPT_DEBIT
|
384
|
+
| :WIRE_INBOUND_PAYMENT
|
385
|
+
| :WIRE_INBOUND_ADMIN
|
386
|
+
| :WIRE_OUTBOUND_PAYMENT
|
387
|
+
| :WIRE_OUTBOUND_ADMIN
|
388
|
+
|
389
|
+
module Type
|
390
|
+
extend Lithic::Internal::Type::Enum
|
391
|
+
|
392
|
+
ORIGINATION_CREDIT: :ORIGINATION_CREDIT
|
393
|
+
ORIGINATION_DEBIT: :ORIGINATION_DEBIT
|
394
|
+
RECEIPT_CREDIT: :RECEIPT_CREDIT
|
395
|
+
RECEIPT_DEBIT: :RECEIPT_DEBIT
|
396
|
+
WIRE_INBOUND_PAYMENT: :WIRE_INBOUND_PAYMENT
|
397
|
+
WIRE_INBOUND_ADMIN: :WIRE_INBOUND_ADMIN
|
398
|
+
WIRE_OUTBOUND_PAYMENT: :WIRE_OUTBOUND_PAYMENT
|
399
|
+
WIRE_OUTBOUND_ADMIN: :WIRE_OUTBOUND_ADMIN
|
400
|
+
|
401
|
+
def self?.values: -> ::Array[Lithic::Models::Payment::type_]
|
402
|
+
end
|
345
403
|
end
|
346
404
|
end
|
347
405
|
end
|
@@ -44,6 +44,7 @@ module Lithic
|
|
44
44
|
| :ACH_ORIGINATION_PROCESSED
|
45
45
|
| :ACH_ORIGINATION_SETTLED
|
46
46
|
| :ACH_RECEIPT_SETTLED
|
47
|
+
| :ACH_RECEIPT_RELEASED
|
47
48
|
| :ACH_RETURN_INITIATED
|
48
49
|
| :ACH_RETURN_PROCESSED
|
49
50
|
| :ACH_RETURN_SETTLED
|
@@ -56,6 +57,7 @@ module Lithic
|
|
56
57
|
ACH_ORIGINATION_PROCESSED: :ACH_ORIGINATION_PROCESSED
|
57
58
|
ACH_ORIGINATION_SETTLED: :ACH_ORIGINATION_SETTLED
|
58
59
|
ACH_RECEIPT_SETTLED: :ACH_RECEIPT_SETTLED
|
60
|
+
ACH_RECEIPT_RELEASED: :ACH_RECEIPT_RELEASED
|
59
61
|
ACH_RETURN_INITIATED: :ACH_RETURN_INITIATED
|
60
62
|
ACH_RETURN_PROCESSED: :ACH_RETURN_PROCESSED
|
61
63
|
ACH_RETURN_SETTLED: :ACH_RETURN_SETTLED
|
@@ -149,6 +149,7 @@ module Lithic
|
|
149
149
|
| :ARBITRATION
|
150
150
|
| :CHARGEBACK
|
151
151
|
| :CLEARING
|
152
|
+
| :COLLABORATION
|
152
153
|
| :FEE
|
153
154
|
| :FINANCIAL
|
154
155
|
| :"NON-FINANCIAL"
|
@@ -162,6 +163,7 @@ module Lithic
|
|
162
163
|
ARBITRATION: :ARBITRATION
|
163
164
|
CHARGEBACK: :CHARGEBACK
|
164
165
|
CLEARING: :CLEARING
|
166
|
+
COLLABORATION: :COLLABORATION
|
165
167
|
FEE: :FEE
|
166
168
|
FINANCIAL: :FINANCIAL
|
167
169
|
NON_FINANCIAL: :"NON-FINANCIAL"
|
@@ -535,18 +535,73 @@ module Lithic
|
|
535
535
|
end
|
536
536
|
end
|
537
537
|
|
538
|
-
type app =
|
538
|
+
type app =
|
539
|
+
{
|
540
|
+
device: String?,
|
541
|
+
device_info: String?,
|
542
|
+
ip: String,
|
543
|
+
latitude: Float?,
|
544
|
+
locale: String?,
|
545
|
+
longitude: Float?,
|
546
|
+
os: String?,
|
547
|
+
platform: String?,
|
548
|
+
screen_height: Integer?,
|
549
|
+
screen_width: Integer?,
|
550
|
+
time_zone: String?
|
551
|
+
}
|
539
552
|
|
540
553
|
class App < Lithic::Internal::Type::BaseModel
|
554
|
+
attr_accessor device: String?
|
555
|
+
|
541
556
|
attr_accessor device_info: String?
|
542
557
|
|
543
558
|
attr_reader ip: String?
|
544
559
|
|
545
560
|
def ip=: (String) -> String
|
546
561
|
|
547
|
-
|
562
|
+
attr_accessor latitude: Float?
|
563
|
+
|
564
|
+
attr_accessor locale: String?
|
565
|
+
|
566
|
+
attr_accessor longitude: Float?
|
567
|
+
|
568
|
+
attr_accessor os: String?
|
569
|
+
|
570
|
+
attr_accessor platform: String?
|
571
|
+
|
572
|
+
attr_accessor screen_height: Integer?
|
573
|
+
|
574
|
+
attr_accessor screen_width: Integer?
|
575
|
+
|
576
|
+
attr_accessor time_zone: String?
|
548
577
|
|
549
|
-
def
|
578
|
+
def initialize: (
|
579
|
+
?device: String?,
|
580
|
+
?device_info: String?,
|
581
|
+
?ip: String,
|
582
|
+
?latitude: Float?,
|
583
|
+
?locale: String?,
|
584
|
+
?longitude: Float?,
|
585
|
+
?os: String?,
|
586
|
+
?platform: String?,
|
587
|
+
?screen_height: Integer?,
|
588
|
+
?screen_width: Integer?,
|
589
|
+
?time_zone: String?
|
590
|
+
) -> void
|
591
|
+
|
592
|
+
def to_hash: -> {
|
593
|
+
device: String?,
|
594
|
+
device_info: String?,
|
595
|
+
ip: String,
|
596
|
+
latitude: Float?,
|
597
|
+
locale: String?,
|
598
|
+
longitude: Float?,
|
599
|
+
os: String?,
|
600
|
+
platform: String?,
|
601
|
+
screen_height: Integer?,
|
602
|
+
screen_width: Integer?,
|
603
|
+
time_zone: String?
|
604
|
+
}
|
550
605
|
end
|
551
606
|
|
552
607
|
type authentication_request_type =
|
@@ -628,21 +683,26 @@ module Lithic
|
|
628
683
|
type challenge_metadata =
|
629
684
|
{
|
630
685
|
method_type: Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::ChallengeMetadata::method_type,
|
686
|
+
status: Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::ChallengeMetadata::status,
|
631
687
|
phone_number: String?
|
632
688
|
}
|
633
689
|
|
634
690
|
class ChallengeMetadata < Lithic::Internal::Type::BaseModel
|
635
691
|
attr_accessor method_type: Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::ChallengeMetadata::method_type
|
636
692
|
|
693
|
+
attr_accessor status: Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::ChallengeMetadata::status
|
694
|
+
|
637
695
|
attr_accessor phone_number: String?
|
638
696
|
|
639
697
|
def initialize: (
|
640
698
|
method_type: Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::ChallengeMetadata::method_type,
|
699
|
+
status: Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::ChallengeMetadata::status,
|
641
700
|
?phone_number: String?
|
642
701
|
) -> void
|
643
702
|
|
644
703
|
def to_hash: -> {
|
645
704
|
method_type: Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::ChallengeMetadata::method_type,
|
705
|
+
status: Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::ChallengeMetadata::status,
|
646
706
|
phone_number: String?
|
647
707
|
}
|
648
708
|
|
@@ -656,6 +716,33 @@ module Lithic
|
|
656
716
|
|
657
717
|
def self?.values: -> ::Array[Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::ChallengeMetadata::method_type]
|
658
718
|
end
|
719
|
+
|
720
|
+
type status =
|
721
|
+
:SUCCESS
|
722
|
+
| :PENDING
|
723
|
+
| :SMS_DELIVERY_FAILED
|
724
|
+
| :CARDHOLDER_TIMEOUT
|
725
|
+
| :CANCELED_VIA_CHALLENGE_UI
|
726
|
+
| :CANCELED_OOB
|
727
|
+
| :ATTEMPTS_EXCEEDED
|
728
|
+
| :ABORTED
|
729
|
+
| :ERROR
|
730
|
+
|
731
|
+
module Status
|
732
|
+
extend Lithic::Internal::Type::Enum
|
733
|
+
|
734
|
+
SUCCESS: :SUCCESS
|
735
|
+
PENDING: :PENDING
|
736
|
+
SMS_DELIVERY_FAILED: :SMS_DELIVERY_FAILED
|
737
|
+
CARDHOLDER_TIMEOUT: :CARDHOLDER_TIMEOUT
|
738
|
+
CANCELED_VIA_CHALLENGE_UI: :CANCELED_VIA_CHALLENGE_UI
|
739
|
+
CANCELED_OOB: :CANCELED_OOB
|
740
|
+
ATTEMPTS_EXCEEDED: :ATTEMPTS_EXCEEDED
|
741
|
+
ABORTED: :ABORTED
|
742
|
+
ERROR: :ERROR
|
743
|
+
|
744
|
+
def self?.values: -> ::Array[Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::ChallengeMetadata::status]
|
745
|
+
end
|
659
746
|
end
|
660
747
|
|
661
748
|
type challenge_orchestrated_by = :LITHIC | :CUSTOMER | :NO_CHALLENGE
|
@@ -363,18 +363,14 @@ module Lithic
|
|
363
363
|
end
|
364
364
|
|
365
365
|
type liability_shift =
|
366
|
-
:"3DS_AUTHENTICATED"
|
367
|
-
| :ACQUIRER_EXEMPTION
|
368
|
-
| :NONE
|
369
|
-
| :TOKEN_AUTHENTICATED
|
366
|
+
:"3DS_AUTHENTICATED" | :TOKEN_AUTHENTICATED | :NONE
|
370
367
|
|
371
368
|
module LiabilityShift
|
372
369
|
extend Lithic::Internal::Type::Enum
|
373
370
|
|
374
371
|
LIABILITY_SHIFT_3DS_AUTHENTICATED: :"3DS_AUTHENTICATED"
|
375
|
-
ACQUIRER_EXEMPTION: :ACQUIRER_EXEMPTION
|
376
|
-
NONE: :NONE
|
377
372
|
TOKEN_AUTHENTICATED: :TOKEN_AUTHENTICATED
|
373
|
+
NONE: :NONE
|
378
374
|
|
379
375
|
def self?.values: -> ::Array[Lithic::Models::Transaction::CardholderAuthentication::liability_shift]
|
380
376
|
end
|
@@ -0,0 +1,35 @@
|
|
1
|
+
module Lithic
|
2
|
+
module Models
|
3
|
+
type wire_party_details =
|
4
|
+
{
|
5
|
+
account_number: String?,
|
6
|
+
agent_id: String?,
|
7
|
+
agent_name: String?,
|
8
|
+
name: String?
|
9
|
+
}
|
10
|
+
|
11
|
+
class WirePartyDetails < Lithic::Internal::Type::BaseModel
|
12
|
+
attr_accessor account_number: String?
|
13
|
+
|
14
|
+
attr_accessor agent_id: String?
|
15
|
+
|
16
|
+
attr_accessor agent_name: String?
|
17
|
+
|
18
|
+
attr_accessor name: String?
|
19
|
+
|
20
|
+
def initialize: (
|
21
|
+
?account_number: String?,
|
22
|
+
?agent_id: String?,
|
23
|
+
?agent_name: String?,
|
24
|
+
?name: String?
|
25
|
+
) -> void
|
26
|
+
|
27
|
+
def to_hash: -> {
|
28
|
+
account_number: String?,
|
29
|
+
agent_id: String?,
|
30
|
+
agent_name: String?,
|
31
|
+
name: String?
|
32
|
+
}
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
data/sig/lithic/models.rbs
CHANGED
@@ -1,6 +1,10 @@
|
|
1
1
|
module Lithic
|
2
2
|
class Account = Lithic::Models::Account
|
3
3
|
|
4
|
+
class AccountActivityListParams = Lithic::Models::AccountActivityListParams
|
5
|
+
|
6
|
+
class AccountActivityRetrieveTransactionParams = Lithic::Models::AccountActivityRetrieveTransactionParams
|
7
|
+
|
4
8
|
module AccountFinancialAccountType = Lithic::Models::AccountFinancialAccountType
|
5
9
|
|
6
10
|
class AccountHolder = Lithic::Models::AccountHolder
|
@@ -183,6 +187,10 @@ module Lithic
|
|
183
187
|
|
184
188
|
class ExternalPaymentSettleParams = Lithic::Models::ExternalPaymentSettleParams
|
185
189
|
|
190
|
+
class ExternalResource = Lithic::Models::ExternalResource
|
191
|
+
|
192
|
+
module ExternalResourceType = Lithic::Models::ExternalResourceType
|
193
|
+
|
186
194
|
class FinancialAccount = Lithic::Models::FinancialAccount
|
187
195
|
|
188
196
|
class FinancialAccountCreateParams = Lithic::Models::FinancialAccountCreateParams
|
@@ -231,6 +239,12 @@ module Lithic
|
|
231
239
|
|
232
240
|
class MessageAttempt = Lithic::Models::MessageAttempt
|
233
241
|
|
242
|
+
class NetworkProgram = Lithic::Models::NetworkProgram
|
243
|
+
|
244
|
+
class NetworkProgramListParams = Lithic::Models::NetworkProgramListParams
|
245
|
+
|
246
|
+
class NetworkProgramRetrieveParams = Lithic::Models::NetworkProgramRetrieveParams
|
247
|
+
|
234
248
|
class NonPCICard = Lithic::Models::NonPCICard
|
235
249
|
|
236
250
|
module OwnerType = Lithic::Models::OwnerType
|
@@ -332,4 +346,6 @@ module Lithic
|
|
332
346
|
class TransferCreateParams = Lithic::Models::TransferCreateParams
|
333
347
|
|
334
348
|
module VerificationMethod = Lithic::Models::VerificationMethod
|
349
|
+
|
350
|
+
class WirePartyDetails = Lithic::Models::WirePartyDetails
|
335
351
|
end
|
@@ -0,0 +1,27 @@
|
|
1
|
+
module Lithic
|
2
|
+
module Resources
|
3
|
+
class AccountActivity
|
4
|
+
def list: (
|
5
|
+
?account_token: String,
|
6
|
+
?begin_: Time,
|
7
|
+
?business_account_token: String,
|
8
|
+
?category: Lithic::Models::AccountActivityListParams::category,
|
9
|
+
?end_: Time,
|
10
|
+
?ending_before: String,
|
11
|
+
?financial_account_token: String,
|
12
|
+
?page_size: Integer,
|
13
|
+
?result: ::Array[Lithic::Models::AccountActivityListParams::result],
|
14
|
+
?starting_after: String,
|
15
|
+
?status: ::Array[Lithic::Models::AccountActivityListParams::status],
|
16
|
+
?request_options: Lithic::request_opts
|
17
|
+
) -> Lithic::Internal::CursorPage[Lithic::Models::account_activity_list_response]
|
18
|
+
|
19
|
+
def retrieve_transaction: (
|
20
|
+
String transaction_token,
|
21
|
+
?request_options: Lithic::request_opts
|
22
|
+
) -> Lithic::Models::account_activity_retrieve_transaction_response
|
23
|
+
|
24
|
+
def initialize: (client: Lithic::Client) -> void
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
@@ -2,10 +2,7 @@ module Lithic
|
|
2
2
|
module Resources
|
3
3
|
class AccountHolders
|
4
4
|
def create: (
|
5
|
-
beneficial_owner_individuals: ::Array[Lithic::AccountHolderCreateParams::BeneficialOwnerIndividual],
|
6
5
|
business_entity: Lithic::AccountHolderCreateParams::BusinessEntity,
|
7
|
-
control_person: Lithic::AccountHolderCreateParams::ControlPerson,
|
8
|
-
nature_of_business: String,
|
9
6
|
tos_timestamp: String,
|
10
7
|
workflow: Lithic::Models::AccountHolderCreateParams::workflow,
|
11
8
|
individual: Lithic::AccountHolderCreateParams::Individual,
|
@@ -15,6 +12,9 @@ module Lithic
|
|
15
12
|
kyc_exemption_type: Lithic::Models::AccountHolderCreateParams::kyc_exemption_type,
|
16
13
|
last_name: String,
|
17
14
|
phone_number: String,
|
15
|
+
?beneficial_owner_individuals: ::Array[Lithic::AccountHolderCreateParams::BeneficialOwnerIndividual],
|
16
|
+
?control_person: Lithic::AccountHolderCreateParams::ControlPerson,
|
17
|
+
?nature_of_business: String,
|
18
18
|
?beneficial_owner_entities: ::Array[Lithic::AccountHolderCreateParams::BeneficialOwnerEntity],
|
19
19
|
?external_id: String,
|
20
20
|
?kyb_passed_timestamp: String,
|
@@ -8,10 +8,12 @@ module Lithic
|
|
8
8
|
|
9
9
|
def update: (
|
10
10
|
String account_token,
|
11
|
+
?comment: String,
|
11
12
|
?daily_spend_limit: Integer,
|
12
13
|
?lifetime_spend_limit: Integer,
|
13
14
|
?monthly_spend_limit: Integer,
|
14
15
|
?state: Lithic::Models::AccountUpdateParams::state,
|
16
|
+
?substatus: Lithic::Models::AccountUpdateParams::substatus,
|
15
17
|
?verification_address: Lithic::AccountUpdateParams::VerificationAddress,
|
16
18
|
?request_options: Lithic::request_opts
|
17
19
|
) -> Lithic::Account
|
@@ -9,7 +9,9 @@ module Lithic
|
|
9
9
|
to_financial_account_token: String,
|
10
10
|
type: Lithic::Models::BookTransferCreateParams::type_,
|
11
11
|
?token: String,
|
12
|
+
?external_id: String,
|
12
13
|
?memo: String,
|
14
|
+
?on_closed_account: Lithic::Models::BookTransferCreateParams::on_closed_account,
|
13
15
|
?request_options: Lithic::request_opts
|
14
16
|
) -> Lithic::BookTransferResponse
|
15
17
|
|
@@ -19,7 +19,9 @@ module Lithic
|
|
19
19
|
?pin: String,
|
20
20
|
?product_id: String,
|
21
21
|
?replacement_account_token: String,
|
22
|
+
?replacement_comment: String,
|
22
23
|
?replacement_for: String,
|
24
|
+
?replacement_substatus: Lithic::Models::CardCreateParams::replacement_substatus,
|
23
25
|
?shipping_address: Lithic::ShippingAddress,
|
24
26
|
?shipping_method: Lithic::Models::CardCreateParams::shipping_method,
|
25
27
|
?spend_limit: Integer,
|
@@ -35,13 +37,16 @@ module Lithic
|
|
35
37
|
|
36
38
|
def update: (
|
37
39
|
String card_token,
|
40
|
+
?comment: String,
|
38
41
|
?digital_card_art_token: String,
|
39
42
|
?memo: String,
|
43
|
+
?network_program_token: String,
|
40
44
|
?pin: String,
|
41
45
|
?pin_status: Lithic::Models::CardUpdateParams::pin_status,
|
42
46
|
?spend_limit: Integer,
|
43
47
|
?spend_limit_duration: Lithic::Models::spend_limit_duration,
|
44
48
|
?state: Lithic::Models::CardUpdateParams::state,
|
49
|
+
?substatus: Lithic::Models::CardUpdateParams::substatus,
|
45
50
|
?request_options: Lithic::request_opts
|
46
51
|
) -> Lithic::Card
|
47
52
|
|
@@ -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
|
?request_options: Lithic::request_opts
|
@@ -0,0 +1,19 @@
|
|
1
|
+
module Lithic
|
2
|
+
module Resources
|
3
|
+
class NetworkPrograms
|
4
|
+
def retrieve: (
|
5
|
+
String network_program_token,
|
6
|
+
?request_options: Lithic::request_opts
|
7
|
+
) -> Lithic::NetworkProgram
|
8
|
+
|
9
|
+
def list: (
|
10
|
+
?begin_: Time,
|
11
|
+
?end_: Time,
|
12
|
+
?page_size: Integer,
|
13
|
+
?request_options: Lithic::request_opts
|
14
|
+
) -> Lithic::Internal::SinglePage[Lithic::NetworkProgram]
|
15
|
+
|
16
|
+
def initialize: (client: Lithic::Client) -> void
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|