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
@@ -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
|
@@ -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
|
-
|
12
|
+
external_id: String,
|
13
|
+
memo: String,
|
14
|
+
on_closed_account: Lithic::Models::BookTransferCreateParams::on_closed_account
|
13
15
|
}
|
14
16
|
& Lithic::Internal::Type::request_parameters
|
15
17
|
|
@@ -33,10 +35,20 @@ module Lithic
|
|
33
35
|
|
34
36
|
def token=: (String) -> String
|
35
37
|
|
38
|
+
attr_reader external_id: String?
|
39
|
+
|
40
|
+
def external_id=: (String) -> String
|
41
|
+
|
36
42
|
attr_reader memo: String?
|
37
43
|
|
38
44
|
def memo=: (String) -> String
|
39
45
|
|
46
|
+
attr_reader on_closed_account: Lithic::Models::BookTransferCreateParams::on_closed_account?
|
47
|
+
|
48
|
+
def on_closed_account=: (
|
49
|
+
Lithic::Models::BookTransferCreateParams::on_closed_account
|
50
|
+
) -> Lithic::Models::BookTransferCreateParams::on_closed_account
|
51
|
+
|
40
52
|
def initialize: (
|
41
53
|
amount: Integer,
|
42
54
|
category: Lithic::Models::BookTransferCreateParams::category,
|
@@ -45,7 +57,9 @@ module Lithic
|
|
45
57
|
to_financial_account_token: String,
|
46
58
|
type: Lithic::Models::BookTransferCreateParams::type_,
|
47
59
|
?token: String,
|
60
|
+
?external_id: String,
|
48
61
|
?memo: String,
|
62
|
+
?on_closed_account: Lithic::Models::BookTransferCreateParams::on_closed_account,
|
49
63
|
?request_options: Lithic::request_opts
|
50
64
|
) -> void
|
51
65
|
|
@@ -57,7 +71,9 @@ module Lithic
|
|
57
71
|
to_financial_account_token: String,
|
58
72
|
type: Lithic::Models::BookTransferCreateParams::type_,
|
59
73
|
token: String,
|
74
|
+
external_id: String,
|
60
75
|
memo: String,
|
76
|
+
on_closed_account: Lithic::Models::BookTransferCreateParams::on_closed_account,
|
61
77
|
request_options: Lithic::RequestOptions
|
62
78
|
}
|
63
79
|
|
@@ -118,6 +134,7 @@ module Lithic
|
|
118
134
|
| :DISPUTE_WON
|
119
135
|
| :SERVICE
|
120
136
|
| :TRANSFER
|
137
|
+
| :COLLECTION
|
121
138
|
|
122
139
|
module Type
|
123
140
|
extend Lithic::Internal::Type::Enum
|
@@ -155,9 +172,21 @@ module Lithic
|
|
155
172
|
DISPUTE_WON: :DISPUTE_WON
|
156
173
|
SERVICE: :SERVICE
|
157
174
|
TRANSFER: :TRANSFER
|
175
|
+
COLLECTION: :COLLECTION
|
158
176
|
|
159
177
|
def self?.values: -> ::Array[Lithic::Models::BookTransferCreateParams::type_]
|
160
178
|
end
|
179
|
+
|
180
|
+
type on_closed_account = :FAIL | :USE_SUSPENSE
|
181
|
+
|
182
|
+
module OnClosedAccount
|
183
|
+
extend Lithic::Internal::Type::Enum
|
184
|
+
|
185
|
+
FAIL: :FAIL
|
186
|
+
USE_SUSPENSE: :USE_SUSPENSE
|
187
|
+
|
188
|
+
def self?.values: -> ::Array[Lithic::Models::BookTransferCreateParams::on_closed_account]
|
189
|
+
end
|
161
190
|
end
|
162
191
|
end
|
163
192
|
end
|
@@ -7,12 +7,15 @@ module Lithic
|
|
7
7
|
created: Time,
|
8
8
|
currency: String,
|
9
9
|
events: ::Array[Lithic::BookTransferResponse::Event],
|
10
|
+
external_id: String?,
|
11
|
+
external_resource: Lithic::ExternalResource?,
|
10
12
|
from_financial_account_token: String,
|
11
13
|
pending_amount: Integer,
|
12
14
|
result: Lithic::Models::BookTransferResponse::result,
|
13
15
|
settled_amount: Integer,
|
14
16
|
status: Lithic::Models::BookTransferResponse::status,
|
15
|
-
to_financial_account_token:
|
17
|
+
to_financial_account_token: String,
|
18
|
+
transaction_series: Lithic::BookTransferResponse::TransactionSeries?,
|
16
19
|
updated: Time
|
17
20
|
}
|
18
21
|
|
@@ -27,6 +30,10 @@ module Lithic
|
|
27
30
|
|
28
31
|
attr_accessor events: ::Array[Lithic::BookTransferResponse::Event]
|
29
32
|
|
33
|
+
attr_accessor external_id: String?
|
34
|
+
|
35
|
+
attr_accessor external_resource: Lithic::ExternalResource?
|
36
|
+
|
30
37
|
attr_accessor from_financial_account_token: String
|
31
38
|
|
32
39
|
attr_accessor pending_amount: Integer
|
@@ -37,7 +44,9 @@ module Lithic
|
|
37
44
|
|
38
45
|
attr_accessor status: Lithic::Models::BookTransferResponse::status
|
39
46
|
|
40
|
-
attr_accessor to_financial_account_token:
|
47
|
+
attr_accessor to_financial_account_token: String
|
48
|
+
|
49
|
+
attr_accessor transaction_series: Lithic::BookTransferResponse::TransactionSeries?
|
41
50
|
|
42
51
|
attr_accessor updated: Time
|
43
52
|
|
@@ -47,12 +56,15 @@ module Lithic
|
|
47
56
|
created: Time,
|
48
57
|
currency: String,
|
49
58
|
events: ::Array[Lithic::BookTransferResponse::Event],
|
59
|
+
external_id: String?,
|
60
|
+
external_resource: Lithic::ExternalResource?,
|
50
61
|
from_financial_account_token: String,
|
51
62
|
pending_amount: Integer,
|
52
63
|
result: Lithic::Models::BookTransferResponse::result,
|
53
64
|
settled_amount: Integer,
|
54
65
|
status: Lithic::Models::BookTransferResponse::status,
|
55
|
-
to_financial_account_token:
|
66
|
+
to_financial_account_token: String,
|
67
|
+
transaction_series: Lithic::BookTransferResponse::TransactionSeries?,
|
56
68
|
updated: Time
|
57
69
|
) -> void
|
58
70
|
|
@@ -62,12 +74,15 @@ module Lithic
|
|
62
74
|
created: Time,
|
63
75
|
currency: String,
|
64
76
|
events: ::Array[Lithic::BookTransferResponse::Event],
|
77
|
+
external_id: String?,
|
78
|
+
external_resource: Lithic::ExternalResource?,
|
65
79
|
from_financial_account_token: String,
|
66
80
|
pending_amount: Integer,
|
67
81
|
result: Lithic::Models::BookTransferResponse::result,
|
68
82
|
settled_amount: Integer,
|
69
83
|
status: Lithic::Models::BookTransferResponse::status,
|
70
|
-
to_financial_account_token:
|
84
|
+
to_financial_account_token: String,
|
85
|
+
transaction_series: Lithic::BookTransferResponse::TransactionSeries?,
|
71
86
|
updated: Time
|
72
87
|
}
|
73
88
|
|
@@ -99,11 +114,11 @@ module Lithic
|
|
99
114
|
token: String,
|
100
115
|
amount: Integer,
|
101
116
|
created: Time,
|
102
|
-
detailed_results:
|
117
|
+
detailed_results: Lithic::Models::BookTransferResponse::Event::detailed_results,
|
103
118
|
memo: String,
|
104
119
|
result: Lithic::Models::BookTransferResponse::Event::result,
|
105
120
|
subtype: String,
|
106
|
-
type:
|
121
|
+
type: Lithic::Models::BookTransferResponse::Event::type_
|
107
122
|
}
|
108
123
|
|
109
124
|
class Event < Lithic::Internal::Type::BaseModel
|
@@ -113,7 +128,7 @@ module Lithic
|
|
113
128
|
|
114
129
|
attr_accessor created: Time
|
115
130
|
|
116
|
-
attr_accessor detailed_results:
|
131
|
+
attr_accessor detailed_results: Lithic::Models::BookTransferResponse::Event::detailed_results
|
117
132
|
|
118
133
|
attr_accessor memo: String
|
119
134
|
|
@@ -121,39 +136,39 @@ module Lithic
|
|
121
136
|
|
122
137
|
attr_accessor subtype: String
|
123
138
|
|
124
|
-
attr_accessor type:
|
139
|
+
attr_accessor type: Lithic::Models::BookTransferResponse::Event::type_
|
125
140
|
|
126
141
|
def initialize: (
|
127
142
|
token: String,
|
128
143
|
amount: Integer,
|
129
144
|
created: Time,
|
130
|
-
detailed_results:
|
145
|
+
detailed_results: Lithic::Models::BookTransferResponse::Event::detailed_results,
|
131
146
|
memo: String,
|
132
147
|
result: Lithic::Models::BookTransferResponse::Event::result,
|
133
148
|
subtype: String,
|
134
|
-
type:
|
149
|
+
type: Lithic::Models::BookTransferResponse::Event::type_
|
135
150
|
) -> void
|
136
151
|
|
137
152
|
def to_hash: -> {
|
138
153
|
token: String,
|
139
154
|
amount: Integer,
|
140
155
|
created: Time,
|
141
|
-
detailed_results:
|
156
|
+
detailed_results: Lithic::Models::BookTransferResponse::Event::detailed_results,
|
142
157
|
memo: String,
|
143
158
|
result: Lithic::Models::BookTransferResponse::Event::result,
|
144
159
|
subtype: String,
|
145
|
-
type:
|
160
|
+
type: Lithic::Models::BookTransferResponse::Event::type_
|
146
161
|
}
|
147
162
|
|
148
|
-
type
|
163
|
+
type detailed_results = :APPROVED | :FUNDS_INSUFFICIENT
|
149
164
|
|
150
|
-
module
|
165
|
+
module DetailedResults
|
151
166
|
extend Lithic::Internal::Type::Enum
|
152
167
|
|
153
168
|
APPROVED: :APPROVED
|
154
169
|
FUNDS_INSUFFICIENT: :FUNDS_INSUFFICIENT
|
155
170
|
|
156
|
-
def self?.values: -> ::Array[Lithic::Models::BookTransferResponse::Event::
|
171
|
+
def self?.values: -> ::Array[Lithic::Models::BookTransferResponse::Event::detailed_results]
|
157
172
|
end
|
158
173
|
|
159
174
|
type result = :APPROVED | :DECLINED
|
@@ -166,6 +181,83 @@ module Lithic
|
|
166
181
|
|
167
182
|
def self?.values: -> ::Array[Lithic::Models::BookTransferResponse::Event::result]
|
168
183
|
end
|
184
|
+
|
185
|
+
type type_ =
|
186
|
+
:ATM_WITHDRAWAL
|
187
|
+
| :ATM_DECLINE
|
188
|
+
| :INTERNATIONAL_ATM_WITHDRAWAL
|
189
|
+
| :INACTIVITY
|
190
|
+
| :STATEMENT
|
191
|
+
| :MONTHLY
|
192
|
+
| :QUARTERLY
|
193
|
+
| :ANNUAL
|
194
|
+
| :CUSTOMER_SERVICE
|
195
|
+
| :ACCOUNT_MAINTENANCE
|
196
|
+
| :ACCOUNT_ACTIVATION
|
197
|
+
| :ACCOUNT_CLOSURE
|
198
|
+
| :CARD_REPLACEMENT
|
199
|
+
| :CARD_DELIVERY
|
200
|
+
| :CARD_CREATE
|
201
|
+
| :CURRENCY_CONVERSION
|
202
|
+
| :INTEREST
|
203
|
+
| :LATE_PAYMENT
|
204
|
+
| :BILL_PAYMENT
|
205
|
+
| :CASH_BACK
|
206
|
+
| :ACCOUNT_TO_ACCOUNT
|
207
|
+
| :CARD_TO_CARD
|
208
|
+
| :DISBURSE
|
209
|
+
| :BILLING_ERROR
|
210
|
+
| :LOSS_WRITE_OFF
|
211
|
+
| :EXPIRED_CARD
|
212
|
+
| :EARLY_DERECOGNITION
|
213
|
+
| :ESCHEATMENT
|
214
|
+
| :INACTIVITY_FEE_DOWN
|
215
|
+
| :PROVISIONAL_CREDIT
|
216
|
+
| :DISPUTE_WON
|
217
|
+
| :SERVICE
|
218
|
+
| :TRANSFER
|
219
|
+
| :COLLECTION
|
220
|
+
|
221
|
+
module Type
|
222
|
+
extend Lithic::Internal::Type::Enum
|
223
|
+
|
224
|
+
ATM_WITHDRAWAL: :ATM_WITHDRAWAL
|
225
|
+
ATM_DECLINE: :ATM_DECLINE
|
226
|
+
INTERNATIONAL_ATM_WITHDRAWAL: :INTERNATIONAL_ATM_WITHDRAWAL
|
227
|
+
INACTIVITY: :INACTIVITY
|
228
|
+
STATEMENT: :STATEMENT
|
229
|
+
MONTHLY: :MONTHLY
|
230
|
+
QUARTERLY: :QUARTERLY
|
231
|
+
ANNUAL: :ANNUAL
|
232
|
+
CUSTOMER_SERVICE: :CUSTOMER_SERVICE
|
233
|
+
ACCOUNT_MAINTENANCE: :ACCOUNT_MAINTENANCE
|
234
|
+
ACCOUNT_ACTIVATION: :ACCOUNT_ACTIVATION
|
235
|
+
ACCOUNT_CLOSURE: :ACCOUNT_CLOSURE
|
236
|
+
CARD_REPLACEMENT: :CARD_REPLACEMENT
|
237
|
+
CARD_DELIVERY: :CARD_DELIVERY
|
238
|
+
CARD_CREATE: :CARD_CREATE
|
239
|
+
CURRENCY_CONVERSION: :CURRENCY_CONVERSION
|
240
|
+
INTEREST: :INTEREST
|
241
|
+
LATE_PAYMENT: :LATE_PAYMENT
|
242
|
+
BILL_PAYMENT: :BILL_PAYMENT
|
243
|
+
CASH_BACK: :CASH_BACK
|
244
|
+
ACCOUNT_TO_ACCOUNT: :ACCOUNT_TO_ACCOUNT
|
245
|
+
CARD_TO_CARD: :CARD_TO_CARD
|
246
|
+
DISBURSE: :DISBURSE
|
247
|
+
BILLING_ERROR: :BILLING_ERROR
|
248
|
+
LOSS_WRITE_OFF: :LOSS_WRITE_OFF
|
249
|
+
EXPIRED_CARD: :EXPIRED_CARD
|
250
|
+
EARLY_DERECOGNITION: :EARLY_DERECOGNITION
|
251
|
+
ESCHEATMENT: :ESCHEATMENT
|
252
|
+
INACTIVITY_FEE_DOWN: :INACTIVITY_FEE_DOWN
|
253
|
+
PROVISIONAL_CREDIT: :PROVISIONAL_CREDIT
|
254
|
+
DISPUTE_WON: :DISPUTE_WON
|
255
|
+
SERVICE: :SERVICE
|
256
|
+
TRANSFER: :TRANSFER
|
257
|
+
COLLECTION: :COLLECTION
|
258
|
+
|
259
|
+
def self?.values: -> ::Array[Lithic::Models::BookTransferResponse::Event::type_]
|
260
|
+
end
|
169
261
|
end
|
170
262
|
|
171
263
|
type result = :APPROVED | :DECLINED
|
@@ -190,6 +282,33 @@ module Lithic
|
|
190
282
|
|
191
283
|
def self?.values: -> ::Array[Lithic::Models::BookTransferResponse::status]
|
192
284
|
end
|
285
|
+
|
286
|
+
type transaction_series =
|
287
|
+
{
|
288
|
+
related_transaction_event_token: String?,
|
289
|
+
related_transaction_token: String?,
|
290
|
+
type: String
|
291
|
+
}
|
292
|
+
|
293
|
+
class TransactionSeries < Lithic::Internal::Type::BaseModel
|
294
|
+
attr_accessor related_transaction_event_token: String?
|
295
|
+
|
296
|
+
attr_accessor related_transaction_token: String?
|
297
|
+
|
298
|
+
attr_accessor type: String
|
299
|
+
|
300
|
+
def initialize: (
|
301
|
+
related_transaction_event_token: String?,
|
302
|
+
related_transaction_token: String?,
|
303
|
+
type: String
|
304
|
+
) -> void
|
305
|
+
|
306
|
+
def to_hash: -> {
|
307
|
+
related_transaction_event_token: String?,
|
308
|
+
related_transaction_token: String?,
|
309
|
+
type: String
|
310
|
+
}
|
311
|
+
end
|
193
312
|
end
|
194
313
|
end
|
195
314
|
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
|