lithic 0.1.0.pre.alpha.40 → 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 +14 -0
- data/README.md +1 -1
- data/lib/lithic/client.rb +4 -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_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/auth_rules/auth_rule_condition.rb +5 -1
- data/lib/lithic/models/auth_rules/conditional_3ds_action_parameters.rb +8 -12
- data/lib/lithic/models/auth_rules/v2_list_params.rb +1 -0
- data/lib/lithic/models/auth_rules/velocity_limit_params_period_window.rb +4 -16
- 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/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/financial_account.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_transaction.rb +90 -63
- data/lib/lithic/models/payment.rb +60 -1
- 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/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 +6 -0
- data/lib/lithic/resources/account_activity.rb +80 -0
- data/lib/lithic/resources/account_holders.rb +9 -9
- data/lib/lithic/resources/book_transfers.rb +7 -3
- 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 +7 -2
- data/rbi/lithic/client.rbi +3 -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_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/auth_rules/auth_rule_condition.rbi +20 -0
- data/rbi/lithic/models/auth_rules/conditional_3ds_action_parameters.rbi +20 -0
- data/rbi/lithic/models/auth_rules/v2_list_params.rbi +2 -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/external_payment.rbi +147 -60
- data/rbi/lithic/models/financial_account.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_transaction.rbi +226 -95
- data/rbi/lithic/models/payment.rbi +103 -3
- 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/transfer.rbi +1 -0
- data/rbi/lithic/models/wire_party_details.rbi +61 -0
- data/rbi/lithic/models.rbi +7 -0
- data/rbi/lithic/resources/account_activity.rbi +80 -0
- data/rbi/lithic/resources/account_holders.rbi +28 -29
- data/rbi/lithic/resources/book_transfers.rbi +9 -2
- data/rbi/lithic/resources/reports/settlement.rbi +1 -1
- data/rbi/lithic/resources/tokenizations.rbi +1 -1
- data/sig/lithic/client.rbs +2 -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_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/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/book_transfer_create_params.rbs +30 -1
- data/sig/lithic/models/book_transfer_response.rbs +134 -15
- data/sig/lithic/models/external_payment.rbs +91 -40
- data/sig/lithic/models/financial_account.rbs +2 -0
- data/sig/lithic/models/instance_financial_account_type.rbs +2 -0
- data/sig/lithic/models/management_operation_transaction.rbs +95 -44
- data/sig/lithic/models/payment.rbs +61 -3
- 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/wire_party_details.rbs +35 -0
- data/sig/lithic/models.rbs +6 -0
- data/sig/lithic/resources/account_activity.rbs +27 -0
- data/sig/lithic/resources/account_holders.rbs +3 -3
- data/sig/lithic/resources/book_transfers.rbs +2 -0
- data/sig/lithic/resources/tokenizations.rbs +1 -1
- metadata +20 -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
@@ -28,13 +28,23 @@ module Lithic
|
|
28
28
|
extend Lithic::Internal::Type::RequestParameters::Converter
|
29
29
|
include Lithic::Internal::Type::RequestParameters
|
30
30
|
|
31
|
-
|
31
|
+
attr_reader beneficial_owner_individuals: ::Array[Lithic::AccountHolderCreateParams::BeneficialOwnerIndividual]?
|
32
|
+
|
33
|
+
def beneficial_owner_individuals=: (
|
34
|
+
::Array[Lithic::AccountHolderCreateParams::BeneficialOwnerIndividual]
|
35
|
+
) -> ::Array[Lithic::AccountHolderCreateParams::BeneficialOwnerIndividual]
|
32
36
|
|
33
37
|
attr_accessor business_entity: Lithic::AccountHolderCreateParams::BusinessEntity
|
34
38
|
|
35
|
-
|
39
|
+
attr_reader control_person: Lithic::AccountHolderCreateParams::ControlPerson?
|
40
|
+
|
41
|
+
def control_person=: (
|
42
|
+
Lithic::AccountHolderCreateParams::ControlPerson
|
43
|
+
) -> Lithic::AccountHolderCreateParams::ControlPerson
|
36
44
|
|
37
|
-
|
45
|
+
attr_reader nature_of_business: String?
|
46
|
+
|
47
|
+
def nature_of_business=: (String) -> String
|
38
48
|
|
39
49
|
attr_accessor tos_timestamp: String
|
40
50
|
|
@@ -81,10 +91,7 @@ module Lithic
|
|
81
91
|
def business_account_token=: (String) -> String
|
82
92
|
|
83
93
|
def initialize: (
|
84
|
-
beneficial_owner_individuals: ::Array[Lithic::AccountHolderCreateParams::BeneficialOwnerIndividual],
|
85
94
|
business_entity: Lithic::AccountHolderCreateParams::BusinessEntity,
|
86
|
-
control_person: Lithic::AccountHolderCreateParams::ControlPerson,
|
87
|
-
nature_of_business: String,
|
88
95
|
tos_timestamp: String,
|
89
96
|
workflow: Lithic::Models::AccountHolderCreateParams::workflow,
|
90
97
|
individual: Lithic::AccountHolderCreateParams::Individual,
|
@@ -94,6 +101,9 @@ module Lithic
|
|
94
101
|
kyc_exemption_type: Lithic::Models::AccountHolderCreateParams::kyc_exemption_type,
|
95
102
|
last_name: String,
|
96
103
|
phone_number: String,
|
104
|
+
?beneficial_owner_individuals: ::Array[Lithic::AccountHolderCreateParams::BeneficialOwnerIndividual],
|
105
|
+
?control_person: Lithic::AccountHolderCreateParams::ControlPerson,
|
106
|
+
?nature_of_business: String,
|
97
107
|
?beneficial_owner_entities: ::Array[Lithic::AccountHolderCreateParams::BeneficialOwnerEntity],
|
98
108
|
?external_id: String,
|
99
109
|
?kyb_passed_timestamp: String,
|
@@ -178,46 +188,50 @@ module Lithic
|
|
178
188
|
type business_entity =
|
179
189
|
{
|
180
190
|
address: Lithic::Address,
|
181
|
-
government_id: String,
|
182
191
|
legal_business_name: String,
|
183
|
-
phone_numbers: ::Array[String],
|
184
192
|
dba_business_name: String,
|
185
|
-
|
193
|
+
government_id: String,
|
194
|
+
parent_company: String,
|
195
|
+
phone_numbers: ::Array[String]
|
186
196
|
}
|
187
197
|
|
188
198
|
class BusinessEntity < Lithic::Internal::Type::BaseModel
|
189
199
|
attr_accessor address: Lithic::Address
|
190
200
|
|
191
|
-
attr_accessor government_id: String
|
192
|
-
|
193
201
|
attr_accessor legal_business_name: String
|
194
202
|
|
195
|
-
attr_accessor phone_numbers: ::Array[String]
|
196
|
-
|
197
203
|
attr_reader dba_business_name: String?
|
198
204
|
|
199
205
|
def dba_business_name=: (String) -> String
|
200
206
|
|
207
|
+
attr_reader government_id: String?
|
208
|
+
|
209
|
+
def government_id=: (String) -> String
|
210
|
+
|
201
211
|
attr_reader parent_company: String?
|
202
212
|
|
203
213
|
def parent_company=: (String) -> String
|
204
214
|
|
215
|
+
attr_reader phone_numbers: ::Array[String]?
|
216
|
+
|
217
|
+
def phone_numbers=: (::Array[String]) -> ::Array[String]
|
218
|
+
|
205
219
|
def initialize: (
|
206
220
|
address: Lithic::Address,
|
207
|
-
government_id: String,
|
208
221
|
legal_business_name: String,
|
209
|
-
phone_numbers: ::Array[String],
|
210
222
|
?dba_business_name: String,
|
211
|
-
?
|
223
|
+
?government_id: String,
|
224
|
+
?parent_company: String,
|
225
|
+
?phone_numbers: ::Array[String]
|
212
226
|
) -> void
|
213
227
|
|
214
228
|
def to_hash: -> {
|
215
229
|
address: Lithic::Address,
|
216
|
-
government_id: String,
|
217
230
|
legal_business_name: String,
|
218
|
-
phone_numbers: ::Array[String],
|
219
231
|
dba_business_name: String,
|
220
|
-
|
232
|
+
government_id: String,
|
233
|
+
parent_company: String,
|
234
|
+
phone_numbers: ::Array[String]
|
221
235
|
}
|
222
236
|
end
|
223
237
|
|
@@ -577,7 +577,8 @@ module Lithic
|
|
577
577
|
created: Time,
|
578
578
|
status: Lithic::Models::AccountHolderSimulateEnrollmentReviewResponse::VerificationApplication::status,
|
579
579
|
status_reasons: ::Array[Lithic::Models::AccountHolderSimulateEnrollmentReviewResponse::VerificationApplication::status_reason],
|
580
|
-
updated: Time
|
580
|
+
updated: Time,
|
581
|
+
ky_passed_at: Time
|
581
582
|
}
|
582
583
|
|
583
584
|
class VerificationApplication < Lithic::Internal::Type::BaseModel
|
@@ -589,18 +590,24 @@ module Lithic
|
|
589
590
|
|
590
591
|
attr_accessor updated: Time
|
591
592
|
|
593
|
+
attr_reader ky_passed_at: Time?
|
594
|
+
|
595
|
+
def ky_passed_at=: (Time) -> Time
|
596
|
+
|
592
597
|
def initialize: (
|
593
598
|
created: Time,
|
594
599
|
status: Lithic::Models::AccountHolderSimulateEnrollmentReviewResponse::VerificationApplication::status,
|
595
600
|
status_reasons: ::Array[Lithic::Models::AccountHolderSimulateEnrollmentReviewResponse::VerificationApplication::status_reason],
|
596
|
-
updated: Time
|
601
|
+
updated: Time,
|
602
|
+
?ky_passed_at: Time
|
597
603
|
) -> void
|
598
604
|
|
599
605
|
def to_hash: -> {
|
600
606
|
created: Time,
|
601
607
|
status: Lithic::Models::AccountHolderSimulateEnrollmentReviewResponse::VerificationApplication::status,
|
602
608
|
status_reasons: ::Array[Lithic::Models::AccountHolderSimulateEnrollmentReviewResponse::VerificationApplication::status_reason],
|
603
|
-
updated: Time
|
609
|
+
updated: Time,
|
610
|
+
ky_passed_at: Time
|
604
611
|
}
|
605
612
|
|
606
613
|
type status =
|
@@ -584,7 +584,8 @@ module Lithic
|
|
584
584
|
created: Time,
|
585
585
|
status: Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::VerificationApplication::status,
|
586
586
|
status_reasons: ::Array[Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::VerificationApplication::status_reason],
|
587
|
-
updated: Time
|
587
|
+
updated: Time,
|
588
|
+
ky_passed_at: Time
|
588
589
|
}
|
589
590
|
|
590
591
|
class VerificationApplication < Lithic::Internal::Type::BaseModel
|
@@ -596,18 +597,24 @@ module Lithic
|
|
596
597
|
|
597
598
|
attr_accessor updated: Time
|
598
599
|
|
600
|
+
attr_reader ky_passed_at: Time?
|
601
|
+
|
602
|
+
def ky_passed_at=: (Time) -> Time
|
603
|
+
|
599
604
|
def initialize: (
|
600
605
|
created: Time,
|
601
606
|
status: Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::VerificationApplication::status,
|
602
607
|
status_reasons: ::Array[Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::VerificationApplication::status_reason],
|
603
|
-
updated: Time
|
608
|
+
updated: Time,
|
609
|
+
?ky_passed_at: Time
|
604
610
|
) -> void
|
605
611
|
|
606
612
|
def to_hash: -> {
|
607
613
|
created: Time,
|
608
614
|
status: Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::VerificationApplication::status,
|
609
615
|
status_reasons: ::Array[Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::VerificationApplication::status_reason],
|
610
|
-
updated: Time
|
616
|
+
updated: Time,
|
617
|
+
ky_passed_at: Time
|
611
618
|
}
|
612
619
|
|
613
620
|
type status =
|
@@ -46,8 +46,12 @@ module Lithic
|
|
46
46
|
| :IS_NOT_ONE_OF
|
47
47
|
| :MATCHES
|
48
48
|
| :DOES_NOT_MATCH
|
49
|
+
| :IS_EQUAL_TO
|
50
|
+
| :IS_NOT_EQUAL_TO
|
49
51
|
| :IS_GREATER_THAN
|
52
|
+
| :IS_GREATER_THAN_OR_EQUAL_TO
|
50
53
|
| :IS_LESS_THAN
|
54
|
+
| :IS_LESS_THAN_OR_EQUAL_TO
|
51
55
|
|
52
56
|
module Operation
|
53
57
|
extend Lithic::Internal::Type::Enum
|
@@ -56,8 +60,12 @@ module Lithic
|
|
56
60
|
IS_NOT_ONE_OF: :IS_NOT_ONE_OF
|
57
61
|
MATCHES: :MATCHES
|
58
62
|
DOES_NOT_MATCH: :DOES_NOT_MATCH
|
63
|
+
IS_EQUAL_TO: :IS_EQUAL_TO
|
64
|
+
IS_NOT_EQUAL_TO: :IS_NOT_EQUAL_TO
|
59
65
|
IS_GREATER_THAN: :IS_GREATER_THAN
|
66
|
+
IS_GREATER_THAN_OR_EQUAL_TO: :IS_GREATER_THAN_OR_EQUAL_TO
|
60
67
|
IS_LESS_THAN: :IS_LESS_THAN
|
68
|
+
IS_LESS_THAN_OR_EQUAL_TO: :IS_LESS_THAN_OR_EQUAL_TO
|
61
69
|
|
62
70
|
def self?.values: -> ::Array[Lithic::Models::AuthRules::AuthRuleCondition::operation]
|
63
71
|
end
|
@@ -101,8 +101,12 @@ module Lithic
|
|
101
101
|
| :IS_NOT_ONE_OF
|
102
102
|
| :MATCHES
|
103
103
|
| :DOES_NOT_MATCH
|
104
|
+
| :IS_EQUAL_TO
|
105
|
+
| :IS_NOT_EQUAL_TO
|
104
106
|
| :IS_GREATER_THAN
|
107
|
+
| :IS_GREATER_THAN_OR_EQUAL_TO
|
105
108
|
| :IS_LESS_THAN
|
109
|
+
| :IS_LESS_THAN_OR_EQUAL_TO
|
106
110
|
|
107
111
|
module Operation
|
108
112
|
extend Lithic::Internal::Type::Enum
|
@@ -111,8 +115,12 @@ module Lithic
|
|
111
115
|
IS_NOT_ONE_OF: :IS_NOT_ONE_OF
|
112
116
|
MATCHES: :MATCHES
|
113
117
|
DOES_NOT_MATCH: :DOES_NOT_MATCH
|
118
|
+
IS_EQUAL_TO: :IS_EQUAL_TO
|
119
|
+
IS_NOT_EQUAL_TO: :IS_NOT_EQUAL_TO
|
114
120
|
IS_GREATER_THAN: :IS_GREATER_THAN
|
121
|
+
IS_GREATER_THAN_OR_EQUAL_TO: :IS_GREATER_THAN_OR_EQUAL_TO
|
115
122
|
IS_LESS_THAN: :IS_LESS_THAN
|
123
|
+
IS_LESS_THAN_OR_EQUAL_TO: :IS_LESS_THAN_OR_EQUAL_TO
|
116
124
|
|
117
125
|
def self?.values: -> ::Array[Lithic::Models::AuthRules::Conditional3DSActionParameters::Condition::operation]
|
118
126
|
end
|
@@ -82,7 +82,7 @@ module Lithic
|
|
82
82
|
def self?.values: -> ::Array[Lithic::Models::AuthRules::V2ListParams::event_stream]
|
83
83
|
end
|
84
84
|
|
85
|
-
type scope = :PROGRAM | :ACCOUNT | :CARD
|
85
|
+
type scope = :PROGRAM | :ACCOUNT | :CARD | :ANY
|
86
86
|
|
87
87
|
module Scope
|
88
88
|
extend Lithic::Internal::Type::Enum
|
@@ -90,6 +90,7 @@ module Lithic
|
|
90
90
|
PROGRAM: :PROGRAM
|
91
91
|
ACCOUNT: :ACCOUNT
|
92
92
|
CARD: :CARD
|
93
|
+
ANY: :ANY
|
93
94
|
|
94
95
|
def self?.values: -> ::Array[Lithic::Models::AuthRules::V2ListParams::scope]
|
95
96
|
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
|