lithic 0.1.0.pre.alpha.48 → 0.1.0.pre.alpha.50
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 +21 -0
- data/README.md +1 -1
- data/lib/lithic/internal/transport/pooled_net_requester.rb +7 -10
- data/lib/lithic/models/account_activity_list_params.rb +5 -0
- data/lib/lithic/models/account_activity_list_response.rb +20 -11
- data/lib/lithic/models/account_activity_retrieve_transaction_response.rb +20 -11
- data/lib/lithic/models/auth_rules/v2_update_params.rb +17 -1
- data/lib/lithic/models/book_transfer_create_params.rb +4 -3
- data/lib/lithic/models/book_transfer_list_params.rb +5 -3
- data/lib/lithic/models/book_transfer_response.rb +4 -4
- data/lib/lithic/models/financial_account.rb +21 -1
- data/lib/lithic/models/financial_accounts/credit_configuration_update_params.rb +20 -1
- data/lib/lithic/models/financial_accounts/financial_account_credit_config.rb +21 -1
- data/lib/lithic/models/financial_accounts/statements/statement_line_items.rb +7 -0
- data/lib/lithic/models/financial_transaction.rb +2 -0
- data/lib/lithic/models/settlement_detail.rb +7 -7
- data/lib/lithic/models/tokenization.rb +9 -1
- data/lib/lithic/models/transaction.rb +12 -1
- data/lib/lithic/models/transfer.rb +2 -0
- data/lib/lithic/resources/auth_rules/v2.rb +5 -1
- data/lib/lithic/resources/book_transfers.rb +1 -1
- data/lib/lithic/resources/financial_accounts/credit_configuration.rb +3 -1
- data/lib/lithic/version.rb +1 -1
- data/rbi/lithic/models/account_activity_list_params.rbi +22 -0
- data/rbi/lithic/models/account_activity_list_response.rbi +81 -36
- data/rbi/lithic/models/account_activity_retrieve_transaction_response.rbi +81 -36
- data/rbi/lithic/models/auth_rules/v2_update_params.rbi +22 -0
- data/rbi/lithic/models/book_transfer_create_params.rbi +15 -3
- data/rbi/lithic/models/book_transfer_list_params.rbi +18 -8
- data/rbi/lithic/models/book_transfer_response.rbi +12 -3
- data/rbi/lithic/models/financial_account.rbi +54 -3
- data/rbi/lithic/models/financial_accounts/credit_configuration_update_params.rbi +54 -0
- data/rbi/lithic/models/financial_accounts/financial_account_credit_config.rbi +49 -0
- data/rbi/lithic/models/financial_accounts/statements/statement_line_items.rbi +35 -0
- data/rbi/lithic/models/financial_transaction.rbi +10 -0
- data/rbi/lithic/models/settlement_detail.rbi +8 -8
- data/rbi/lithic/models/tokenization.rbi +8 -0
- data/rbi/lithic/models/transaction.rbi +23 -0
- data/rbi/lithic/models/transfer.rbi +10 -0
- data/rbi/lithic/resources/auth_rules/v2.rbi +6 -0
- data/rbi/lithic/resources/book_transfers.rbi +0 -1
- data/rbi/lithic/resources/financial_accounts/credit_configuration.rbi +3 -0
- data/sig/lithic/models/account_activity_list_params.rbs +10 -0
- data/sig/lithic/models/account_activity_list_response.rbs +41 -23
- data/sig/lithic/models/account_activity_retrieve_transaction_response.rbs +41 -23
- data/sig/lithic/models/auth_rules/v2_update_params.rbs +14 -0
- data/sig/lithic/models/book_transfer_create_params.rbs +7 -1
- data/sig/lithic/models/book_transfer_list_params.rbs +11 -7
- data/sig/lithic/models/book_transfer_response.rbs +7 -1
- data/sig/lithic/models/financial_account.rbs +22 -3
- data/sig/lithic/models/financial_accounts/credit_configuration_update_params.rbs +21 -0
- data/sig/lithic/models/financial_accounts/financial_account_credit_config.rbs +15 -0
- data/sig/lithic/models/financial_accounts/statements/statement_line_items.rbs +14 -0
- data/sig/lithic/models/financial_transaction.rbs +4 -0
- data/sig/lithic/models/tokenization.rbs +5 -0
- data/sig/lithic/models/transaction.rbs +13 -0
- data/sig/lithic/models/transfer.rbs +4 -0
- data/sig/lithic/resources/auth_rules/v2.rbs +2 -0
- data/sig/lithic/resources/financial_accounts/credit_configuration.rbs +1 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e01472e5ef99facf24de018aa9c05dd2caeba38f79c856f9d50327cf3b7483fc
|
4
|
+
data.tar.gz: a928c9a538a0e204915ef4af36dcd89c43f065d39e6b9b02741cf3281f846b8f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a80c2b8bff1cc564a864aa3e44ac12a1b37653f75da62dd63ea8cab17335b5f415e43b57d57bc055fe61158b61d20a0a75fa398a02f1aa64f321cafaa44ad8b5
|
7
|
+
data.tar.gz: 6349153695099ab4ed3534ab7d0e163777be23de01dc6f727f27565831e8c8b744f8fe3c4ae2799270953a5d2c95afeeeb7c2dee20a71fca3a519b9d639a9c2f
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,26 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## 0.1.0-alpha.50 (2025-10-08)
|
4
|
+
|
5
|
+
Full Changelog: [v0.1.0-alpha.49...v0.1.0-alpha.50](https://github.com/lithic-com/lithic-ruby/compare/v0.1.0-alpha.49...v0.1.0-alpha.50)
|
6
|
+
|
7
|
+
### Features
|
8
|
+
|
9
|
+
* **api:** adds support for Auto-Collections ([9a83609](https://github.com/lithic-com/lithic-ruby/commit/9a8360991fa3f625725ca4055caea66cd6a1a46d))
|
10
|
+
|
11
|
+
|
12
|
+
### Chores
|
13
|
+
|
14
|
+
* ignore linter error for tests having large collections ([655be4b](https://github.com/lithic-com/lithic-ruby/commit/655be4b22393b0ded92424e58393993c6edbeb16))
|
15
|
+
|
16
|
+
## 0.1.0-alpha.49 (2025-09-30)
|
17
|
+
|
18
|
+
Full Changelog: [v0.1.0-alpha.48...v0.1.0-alpha.49](https://github.com/lithic-com/lithic-ruby/compare/v0.1.0-alpha.48...v0.1.0-alpha.49)
|
19
|
+
|
20
|
+
### Bug Fixes
|
21
|
+
|
22
|
+
* coroutine leaks from connection pool ([fa96625](https://github.com/lithic-com/lithic-ruby/commit/fa96625074db9b9d8f6ef6dc5a14c45b6faa42a3))
|
23
|
+
|
3
24
|
## 0.1.0-alpha.48 (2025-09-30)
|
4
25
|
|
5
26
|
Full Changelog: [v0.1.0-alpha.47...v0.1.0-alpha.48](https://github.com/lithic-com/lithic-ruby/compare/v0.1.0-alpha.47...v0.1.0-alpha.48)
|
data/README.md
CHANGED
@@ -15,7 +15,7 @@ To use this gem, install via Bundler by adding the following to your application
|
|
15
15
|
<!-- x-release-please-start-version -->
|
16
16
|
|
17
17
|
```ruby
|
18
|
-
gem "lithic", "~> 0.1.0.pre.alpha.
|
18
|
+
gem "lithic", "~> 0.1.0.pre.alpha.50"
|
19
19
|
```
|
20
20
|
|
21
21
|
<!-- x-release-please-end -->
|
@@ -134,9 +134,9 @@ module Lithic
|
|
134
134
|
|
135
135
|
# rubocop:disable Metrics/BlockLength
|
136
136
|
enum = Enumerator.new do |y|
|
137
|
-
|
138
|
-
next if finished
|
137
|
+
next if finished
|
139
138
|
|
139
|
+
with_pool(url, deadline: deadline) do |conn|
|
140
140
|
req, closing = self.class.build_request(request) do
|
141
141
|
self.class.calibrate_socket_timeout(conn, deadline)
|
142
142
|
end
|
@@ -149,7 +149,7 @@ module Lithic
|
|
149
149
|
|
150
150
|
self.class.calibrate_socket_timeout(conn, deadline)
|
151
151
|
conn.request(req) do |rsp|
|
152
|
-
y << [
|
152
|
+
y << [req, rsp]
|
153
153
|
break if finished
|
154
154
|
|
155
155
|
rsp.read_body do |bytes|
|
@@ -160,6 +160,8 @@ module Lithic
|
|
160
160
|
end
|
161
161
|
eof = true
|
162
162
|
end
|
163
|
+
ensure
|
164
|
+
conn.finish if !eof && conn&.started?
|
163
165
|
end
|
164
166
|
rescue Timeout::Error
|
165
167
|
raise Lithic::Errors::APITimeoutError.new(url: url, request: req)
|
@@ -168,16 +170,11 @@ module Lithic
|
|
168
170
|
end
|
169
171
|
# rubocop:enable Metrics/BlockLength
|
170
172
|
|
171
|
-
|
173
|
+
_, response = enum.next
|
172
174
|
body = Lithic::Internal::Util.fused_enum(enum, external: true) do
|
173
175
|
finished = true
|
174
|
-
|
175
|
-
enum.next
|
176
|
-
rescue StopIteration
|
177
|
-
nil
|
178
|
-
end
|
176
|
+
loop { enum.next }
|
179
177
|
ensure
|
180
|
-
conn.finish if !eof && conn&.started?
|
181
178
|
closing&.call
|
182
179
|
end
|
183
180
|
[Integer(response.code), response, body]
|
@@ -111,6 +111,11 @@ module Lithic
|
|
111
111
|
|
112
112
|
ACH = :ACH
|
113
113
|
BALANCE_OR_FUNDING = :BALANCE_OR_FUNDING
|
114
|
+
FEE = :FEE
|
115
|
+
REWARD = :REWARD
|
116
|
+
ADJUSTMENT = :ADJUSTMENT
|
117
|
+
DERECOGNITION = :DERECOGNITION
|
118
|
+
DISPUTE = :DISPUTE
|
114
119
|
CARD = :CARD
|
115
120
|
EXTERNAL_ACH = :EXTERNAL_ACH
|
116
121
|
EXTERNAL_CHECK = :EXTERNAL_CHECK
|
@@ -143,6 +143,11 @@ module Lithic
|
|
143
143
|
|
144
144
|
ACH = :ACH
|
145
145
|
BALANCE_OR_FUNDING = :BALANCE_OR_FUNDING
|
146
|
+
FEE = :FEE
|
147
|
+
REWARD = :REWARD
|
148
|
+
ADJUSTMENT = :ADJUSTMENT
|
149
|
+
DERECOGNITION = :DERECOGNITION
|
150
|
+
DISPUTE = :DISPUTE
|
146
151
|
CARD = :CARD
|
147
152
|
EXTERNAL_ACH = :EXTERNAL_ACH
|
148
153
|
EXTERNAL_CHECK = :EXTERNAL_CHECK
|
@@ -232,12 +237,14 @@ module Lithic
|
|
232
237
|
ACH_ORIGINATION_INITIATED = :ACH_ORIGINATION_INITIATED
|
233
238
|
ACH_ORIGINATION_PROCESSED = :ACH_ORIGINATION_PROCESSED
|
234
239
|
ACH_ORIGINATION_RELEASED = :ACH_ORIGINATION_RELEASED
|
240
|
+
ACH_ORIGINATION_REJECTED = :ACH_ORIGINATION_REJECTED
|
235
241
|
ACH_ORIGINATION_REVIEWED = :ACH_ORIGINATION_REVIEWED
|
236
242
|
ACH_ORIGINATION_SETTLED = :ACH_ORIGINATION_SETTLED
|
237
243
|
ACH_RECEIPT_PROCESSED = :ACH_RECEIPT_PROCESSED
|
238
244
|
ACH_RECEIPT_SETTLED = :ACH_RECEIPT_SETTLED
|
239
245
|
ACH_RETURN_INITIATED = :ACH_RETURN_INITIATED
|
240
246
|
ACH_RETURN_PROCESSED = :ACH_RETURN_PROCESSED
|
247
|
+
ACH_RETURN_REJECTED = :ACH_RETURN_REJECTED
|
241
248
|
ACH_RETURN_SETTLED = :ACH_RETURN_SETTLED
|
242
249
|
AUTHORIZATION = :AUTHORIZATION
|
243
250
|
AUTHORIZATION_ADVICE = :AUTHORIZATION_ADVICE
|
@@ -486,19 +493,15 @@ module Lithic
|
|
486
493
|
module Category
|
487
494
|
extend Lithic::Internal::Type::Enum
|
488
495
|
|
489
|
-
|
496
|
+
ADJUSTMENT = :ADJUSTMENT
|
490
497
|
BALANCE_OR_FUNDING = :BALANCE_OR_FUNDING
|
491
|
-
|
492
|
-
|
493
|
-
|
494
|
-
|
495
|
-
|
496
|
-
MANAGEMENT_ADJUSTMENT = :MANAGEMENT_ADJUSTMENT
|
497
|
-
MANAGEMENT_DISPUTE = :MANAGEMENT_DISPUTE
|
498
|
-
MANAGEMENT_FEE = :MANAGEMENT_FEE
|
499
|
-
MANAGEMENT_REWARD = :MANAGEMENT_REWARD
|
500
|
-
MANAGEMENT_DISBURSEMENT = :MANAGEMENT_DISBURSEMENT
|
498
|
+
DERECOGNITION = :DERECOGNITION
|
499
|
+
DISPUTE = :DISPUTE
|
500
|
+
FEE = :FEE
|
501
|
+
INTERNAL = :INTERNAL
|
502
|
+
REWARD = :REWARD
|
501
503
|
PROGRAM_FUNDING = :PROGRAM_FUNDING
|
504
|
+
TRANSFER = :TRANSFER
|
502
505
|
|
503
506
|
# @!method self.values
|
504
507
|
# @return [Array<Symbol>]
|
@@ -611,6 +614,7 @@ module Lithic
|
|
611
614
|
module Type
|
612
615
|
extend Lithic::Internal::Type::Enum
|
613
616
|
|
617
|
+
ATM_BALANCE_INQUIRY = :ATM_BALANCE_INQUIRY
|
614
618
|
ATM_WITHDRAWAL = :ATM_WITHDRAWAL
|
615
619
|
ATM_DECLINE = :ATM_DECLINE
|
616
620
|
INTERNATIONAL_ATM_WITHDRAWAL = :INTERNATIONAL_ATM_WITHDRAWAL
|
@@ -981,6 +985,11 @@ module Lithic
|
|
981
985
|
|
982
986
|
ACH = :ACH
|
983
987
|
BALANCE_OR_FUNDING = :BALANCE_OR_FUNDING
|
988
|
+
FEE = :FEE
|
989
|
+
REWARD = :REWARD
|
990
|
+
ADJUSTMENT = :ADJUSTMENT
|
991
|
+
DERECOGNITION = :DERECOGNITION
|
992
|
+
DISPUTE = :DISPUTE
|
984
993
|
CARD = :CARD
|
985
994
|
EXTERNAL_ACH = :EXTERNAL_ACH
|
986
995
|
EXTERNAL_CHECK = :EXTERNAL_CHECK
|
@@ -146,6 +146,11 @@ module Lithic
|
|
146
146
|
|
147
147
|
ACH = :ACH
|
148
148
|
BALANCE_OR_FUNDING = :BALANCE_OR_FUNDING
|
149
|
+
FEE = :FEE
|
150
|
+
REWARD = :REWARD
|
151
|
+
ADJUSTMENT = :ADJUSTMENT
|
152
|
+
DERECOGNITION = :DERECOGNITION
|
153
|
+
DISPUTE = :DISPUTE
|
149
154
|
CARD = :CARD
|
150
155
|
EXTERNAL_ACH = :EXTERNAL_ACH
|
151
156
|
EXTERNAL_CHECK = :EXTERNAL_CHECK
|
@@ -235,12 +240,14 @@ module Lithic
|
|
235
240
|
ACH_ORIGINATION_INITIATED = :ACH_ORIGINATION_INITIATED
|
236
241
|
ACH_ORIGINATION_PROCESSED = :ACH_ORIGINATION_PROCESSED
|
237
242
|
ACH_ORIGINATION_RELEASED = :ACH_ORIGINATION_RELEASED
|
243
|
+
ACH_ORIGINATION_REJECTED = :ACH_ORIGINATION_REJECTED
|
238
244
|
ACH_ORIGINATION_REVIEWED = :ACH_ORIGINATION_REVIEWED
|
239
245
|
ACH_ORIGINATION_SETTLED = :ACH_ORIGINATION_SETTLED
|
240
246
|
ACH_RECEIPT_PROCESSED = :ACH_RECEIPT_PROCESSED
|
241
247
|
ACH_RECEIPT_SETTLED = :ACH_RECEIPT_SETTLED
|
242
248
|
ACH_RETURN_INITIATED = :ACH_RETURN_INITIATED
|
243
249
|
ACH_RETURN_PROCESSED = :ACH_RETURN_PROCESSED
|
250
|
+
ACH_RETURN_REJECTED = :ACH_RETURN_REJECTED
|
244
251
|
ACH_RETURN_SETTLED = :ACH_RETURN_SETTLED
|
245
252
|
AUTHORIZATION = :AUTHORIZATION
|
246
253
|
AUTHORIZATION_ADVICE = :AUTHORIZATION_ADVICE
|
@@ -489,19 +496,15 @@ module Lithic
|
|
489
496
|
module Category
|
490
497
|
extend Lithic::Internal::Type::Enum
|
491
498
|
|
492
|
-
|
499
|
+
ADJUSTMENT = :ADJUSTMENT
|
493
500
|
BALANCE_OR_FUNDING = :BALANCE_OR_FUNDING
|
494
|
-
|
495
|
-
|
496
|
-
|
497
|
-
|
498
|
-
|
499
|
-
MANAGEMENT_ADJUSTMENT = :MANAGEMENT_ADJUSTMENT
|
500
|
-
MANAGEMENT_DISPUTE = :MANAGEMENT_DISPUTE
|
501
|
-
MANAGEMENT_FEE = :MANAGEMENT_FEE
|
502
|
-
MANAGEMENT_REWARD = :MANAGEMENT_REWARD
|
503
|
-
MANAGEMENT_DISBURSEMENT = :MANAGEMENT_DISBURSEMENT
|
501
|
+
DERECOGNITION = :DERECOGNITION
|
502
|
+
DISPUTE = :DISPUTE
|
503
|
+
FEE = :FEE
|
504
|
+
INTERNAL = :INTERNAL
|
505
|
+
REWARD = :REWARD
|
504
506
|
PROGRAM_FUNDING = :PROGRAM_FUNDING
|
507
|
+
TRANSFER = :TRANSFER
|
505
508
|
|
506
509
|
# @!method self.values
|
507
510
|
# @return [Array<Symbol>]
|
@@ -614,6 +617,7 @@ module Lithic
|
|
614
617
|
module Type
|
615
618
|
extend Lithic::Internal::Type::Enum
|
616
619
|
|
620
|
+
ATM_BALANCE_INQUIRY = :ATM_BALANCE_INQUIRY
|
617
621
|
ATM_WITHDRAWAL = :ATM_WITHDRAWAL
|
618
622
|
ATM_DECLINE = :ATM_DECLINE
|
619
623
|
INTERNATIONAL_ATM_WITHDRAWAL = :INTERNATIONAL_ATM_WITHDRAWAL
|
@@ -992,6 +996,11 @@ module Lithic
|
|
992
996
|
|
993
997
|
ACH = :ACH
|
994
998
|
BALANCE_OR_FUNDING = :BALANCE_OR_FUNDING
|
999
|
+
FEE = :FEE
|
1000
|
+
REWARD = :REWARD
|
1001
|
+
ADJUSTMENT = :ADJUSTMENT
|
1002
|
+
DERECOGNITION = :DERECOGNITION
|
1003
|
+
DISPUTE = :DISPUTE
|
995
1004
|
CARD = :CARD
|
996
1005
|
EXTERNAL_ACH = :EXTERNAL_ACH
|
997
1006
|
EXTERNAL_CHECK = :EXTERNAL_CHECK
|
@@ -8,6 +8,18 @@ module Lithic
|
|
8
8
|
extend Lithic::Internal::Type::RequestParameters::Converter
|
9
9
|
include Lithic::Internal::Type::RequestParameters
|
10
10
|
|
11
|
+
# @!attribute account_tokens
|
12
|
+
# Account tokens to which the Auth Rule applies.
|
13
|
+
#
|
14
|
+
# @return [Array<String>, nil]
|
15
|
+
optional :account_tokens, Lithic::Internal::Type::ArrayOf[String]
|
16
|
+
|
17
|
+
# @!attribute business_account_tokens
|
18
|
+
# Business Account tokens to which the Auth Rule applies.
|
19
|
+
#
|
20
|
+
# @return [Array<String>, nil]
|
21
|
+
optional :business_account_tokens, Lithic::Internal::Type::ArrayOf[String]
|
22
|
+
|
11
23
|
# @!attribute name
|
12
24
|
# Auth Rule Name
|
13
25
|
#
|
@@ -42,10 +54,14 @@ module Lithic
|
|
42
54
|
# @return [Boolean, nil]
|
43
55
|
optional :program_level, Lithic::Internal::Type::Boolean
|
44
56
|
|
45
|
-
# @!method initialize(name: nil, state: nil, card_tokens: nil, excluded_card_tokens: nil, program_level: nil, request_options: {})
|
57
|
+
# @!method initialize(account_tokens: nil, business_account_tokens: nil, name: nil, state: nil, card_tokens: nil, excluded_card_tokens: nil, program_level: nil, request_options: {})
|
46
58
|
# Some parameter documentations has been truncated, see
|
47
59
|
# {Lithic::Models::AuthRules::V2UpdateParams} for more details.
|
48
60
|
#
|
61
|
+
# @param account_tokens [Array<String>] Account tokens to which the Auth Rule applies.
|
62
|
+
#
|
63
|
+
# @param business_account_tokens [Array<String>] Business Account tokens to which the Auth Rule applies.
|
64
|
+
#
|
49
65
|
# @param name [String, nil] Auth Rule Name
|
50
66
|
#
|
51
67
|
# @param state [Symbol, Lithic::Models::AuthRules::V2UpdateParams::State] The desired state of the Auth Rule.
|
@@ -15,7 +15,6 @@ module Lithic
|
|
15
15
|
required :amount, Integer
|
16
16
|
|
17
17
|
# @!attribute category
|
18
|
-
# Category of the book transfer
|
19
18
|
#
|
20
19
|
# @return [Symbol, Lithic::Models::BookTransferCreateParams::Category]
|
21
20
|
required :category, enum: -> { Lithic::BookTransferCreateParams::Category }
|
@@ -77,7 +76,7 @@ module Lithic
|
|
77
76
|
#
|
78
77
|
# @param amount [Integer] Amount to be transferred in the currency's smallest unit (e.g., cents for USD).
|
79
78
|
#
|
80
|
-
# @param category [Symbol, Lithic::Models::BookTransferCreateParams::Category]
|
79
|
+
# @param category [Symbol, Lithic::Models::BookTransferCreateParams::Category]
|
81
80
|
#
|
82
81
|
# @param from_financial_account_token [String] Globally unique identifier for the financial account or card that will send the
|
83
82
|
#
|
@@ -97,7 +96,6 @@ module Lithic
|
|
97
96
|
#
|
98
97
|
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
|
99
98
|
|
100
|
-
# Category of the book transfer
|
101
99
|
module Category
|
102
100
|
extend Lithic::Internal::Type::Enum
|
103
101
|
|
@@ -106,7 +104,9 @@ module Lithic
|
|
106
104
|
DERECOGNITION = :DERECOGNITION
|
107
105
|
DISPUTE = :DISPUTE
|
108
106
|
FEE = :FEE
|
107
|
+
INTERNAL = :INTERNAL
|
109
108
|
REWARD = :REWARD
|
109
|
+
PROGRAM_FUNDING = :PROGRAM_FUNDING
|
110
110
|
TRANSFER = :TRANSFER
|
111
111
|
|
112
112
|
# @!method self.values
|
@@ -117,6 +117,7 @@ module Lithic
|
|
117
117
|
module Type
|
118
118
|
extend Lithic::Internal::Type::Enum
|
119
119
|
|
120
|
+
ATM_BALANCE_INQUIRY = :ATM_BALANCE_INQUIRY
|
120
121
|
ATM_WITHDRAWAL = :ATM_WITHDRAWAL
|
121
122
|
ATM_DECLINE = :ATM_DECLINE
|
122
123
|
INTERNATIONAL_ATM_WITHDRAWAL = :INTERNATIONAL_ATM_WITHDRAWAL
|
@@ -108,13 +108,15 @@ module Lithic
|
|
108
108
|
module Category
|
109
109
|
extend Lithic::Internal::Type::Enum
|
110
110
|
|
111
|
-
BALANCE_OR_FUNDING = :BALANCE_OR_FUNDING
|
112
|
-
FEE = :FEE
|
113
|
-
REWARD = :REWARD
|
114
111
|
ADJUSTMENT = :ADJUSTMENT
|
112
|
+
BALANCE_OR_FUNDING = :BALANCE_OR_FUNDING
|
115
113
|
DERECOGNITION = :DERECOGNITION
|
116
114
|
DISPUTE = :DISPUTE
|
115
|
+
FEE = :FEE
|
117
116
|
INTERNAL = :INTERNAL
|
117
|
+
REWARD = :REWARD
|
118
|
+
PROGRAM_FUNDING = :PROGRAM_FUNDING
|
119
|
+
TRANSFER = :TRANSFER
|
118
120
|
|
119
121
|
# @!method self.values
|
120
122
|
# @return [Array<Symbol>]
|
@@ -12,7 +12,6 @@ module Lithic
|
|
12
12
|
required :token, String
|
13
13
|
|
14
14
|
# @!attribute category
|
15
|
-
# Category of the book transfer
|
16
15
|
#
|
17
16
|
# @return [Symbol, Lithic::Models::BookTransferResponse::Category]
|
18
17
|
required :category, enum: -> { Lithic::BookTransferResponse::Category }
|
@@ -112,7 +111,7 @@ module Lithic
|
|
112
111
|
#
|
113
112
|
# @param token [String] Customer-provided token that will serve as an idempotency token. This token will
|
114
113
|
#
|
115
|
-
# @param category [Symbol, Lithic::Models::BookTransferResponse::Category]
|
114
|
+
# @param category [Symbol, Lithic::Models::BookTransferResponse::Category]
|
116
115
|
#
|
117
116
|
# @param created [Time] Date and time when the transfer occurred. UTC time zone.
|
118
117
|
#
|
@@ -140,8 +139,6 @@ module Lithic
|
|
140
139
|
#
|
141
140
|
# @param updated [Time] Date and time when the financial transaction was last updated. UTC time zone.
|
142
141
|
|
143
|
-
# Category of the book transfer
|
144
|
-
#
|
145
142
|
# @see Lithic::Models::BookTransferResponse#category
|
146
143
|
module Category
|
147
144
|
extend Lithic::Internal::Type::Enum
|
@@ -151,7 +148,9 @@ module Lithic
|
|
151
148
|
DERECOGNITION = :DERECOGNITION
|
152
149
|
DISPUTE = :DISPUTE
|
153
150
|
FEE = :FEE
|
151
|
+
INTERNAL = :INTERNAL
|
154
152
|
REWARD = :REWARD
|
153
|
+
PROGRAM_FUNDING = :PROGRAM_FUNDING
|
155
154
|
TRANSFER = :TRANSFER
|
156
155
|
|
157
156
|
# @!method self.values
|
@@ -261,6 +260,7 @@ module Lithic
|
|
261
260
|
module Type
|
262
261
|
extend Lithic::Internal::Type::Enum
|
263
262
|
|
263
|
+
ATM_BALANCE_INQUIRY = :ATM_BALANCE_INQUIRY
|
264
264
|
ATM_WITHDRAWAL = :ATM_WITHDRAWAL
|
265
265
|
ATM_DECLINE = :ATM_DECLINE
|
266
266
|
INTERNATIONAL_ATM_WITHDRAWAL = :INTERNATIONAL_ATM_WITHDRAWAL
|
@@ -138,7 +138,13 @@ module Lithic
|
|
138
138
|
# @return [String, nil]
|
139
139
|
required :tier, String, nil?: true
|
140
140
|
|
141
|
-
# @!
|
141
|
+
# @!attribute auto_collection_configuration
|
142
|
+
#
|
143
|
+
# @return [Lithic::Models::FinancialAccount::CreditConfiguration::AutoCollectionConfiguration, nil]
|
144
|
+
optional :auto_collection_configuration,
|
145
|
+
-> { Lithic::FinancialAccount::CreditConfiguration::AutoCollectionConfiguration }
|
146
|
+
|
147
|
+
# @!method initialize(charged_off_reason:, credit_limit:, credit_product_token:, external_bank_account_token:, financial_account_state:, is_spend_blocked:, tier:, auto_collection_configuration: nil)
|
142
148
|
# @param charged_off_reason [Symbol, Lithic::Models::FinancialAccount::CreditConfiguration::ChargedOffReason, nil] Reason for the financial account being marked as Charged Off
|
143
149
|
#
|
144
150
|
# @param credit_limit [Integer, nil]
|
@@ -152,6 +158,8 @@ module Lithic
|
|
152
158
|
# @param is_spend_blocked [Boolean]
|
153
159
|
#
|
154
160
|
# @param tier [String, nil] Tier assigned to the financial account
|
161
|
+
#
|
162
|
+
# @param auto_collection_configuration [Lithic::Models::FinancialAccount::CreditConfiguration::AutoCollectionConfiguration]
|
155
163
|
|
156
164
|
# Reason for the financial account being marked as Charged Off
|
157
165
|
#
|
@@ -180,6 +188,18 @@ module Lithic
|
|
180
188
|
# @!method self.values
|
181
189
|
# @return [Array<Symbol>]
|
182
190
|
end
|
191
|
+
|
192
|
+
# @see Lithic::Models::FinancialAccount::CreditConfiguration#auto_collection_configuration
|
193
|
+
class AutoCollectionConfiguration < Lithic::Internal::Type::BaseModel
|
194
|
+
# @!attribute auto_collection_enabled
|
195
|
+
# If auto collection is enabled for this account
|
196
|
+
#
|
197
|
+
# @return [Boolean]
|
198
|
+
required :auto_collection_enabled, Lithic::Internal::Type::Boolean
|
199
|
+
|
200
|
+
# @!method initialize(auto_collection_enabled:)
|
201
|
+
# @param auto_collection_enabled [Boolean] If auto collection is enabled for this account
|
202
|
+
end
|
183
203
|
end
|
184
204
|
|
185
205
|
# Status of the financial account
|
@@ -8,6 +8,12 @@ module Lithic
|
|
8
8
|
extend Lithic::Internal::Type::RequestParameters::Converter
|
9
9
|
include Lithic::Internal::Type::RequestParameters
|
10
10
|
|
11
|
+
# @!attribute auto_collection_configuration
|
12
|
+
#
|
13
|
+
# @return [Lithic::Models::FinancialAccounts::CreditConfigurationUpdateParams::AutoCollectionConfiguration, nil]
|
14
|
+
optional :auto_collection_configuration,
|
15
|
+
-> { Lithic::FinancialAccounts::CreditConfigurationUpdateParams::AutoCollectionConfiguration }
|
16
|
+
|
11
17
|
# @!attribute credit_limit
|
12
18
|
#
|
13
19
|
# @return [Integer, nil]
|
@@ -30,7 +36,9 @@ module Lithic
|
|
30
36
|
# @return [String, nil]
|
31
37
|
optional :tier, String
|
32
38
|
|
33
|
-
# @!method initialize(credit_limit: nil, credit_product_token: nil, external_bank_account_token: nil, tier: nil, request_options: {})
|
39
|
+
# @!method initialize(auto_collection_configuration: nil, credit_limit: nil, credit_product_token: nil, external_bank_account_token: nil, tier: nil, request_options: {})
|
40
|
+
# @param auto_collection_configuration [Lithic::Models::FinancialAccounts::CreditConfigurationUpdateParams::AutoCollectionConfiguration]
|
41
|
+
#
|
34
42
|
# @param credit_limit [Integer]
|
35
43
|
#
|
36
44
|
# @param credit_product_token [String] Globally unique identifier for the credit product
|
@@ -40,6 +48,17 @@ module Lithic
|
|
40
48
|
# @param tier [String] Tier to assign to a financial account
|
41
49
|
#
|
42
50
|
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
|
51
|
+
|
52
|
+
class AutoCollectionConfiguration < Lithic::Internal::Type::BaseModel
|
53
|
+
# @!attribute auto_collection_enabled
|
54
|
+
# If auto collection is enabled for this account
|
55
|
+
#
|
56
|
+
# @return [Boolean, nil]
|
57
|
+
optional :auto_collection_enabled, Lithic::Internal::Type::Boolean
|
58
|
+
|
59
|
+
# @!method initialize(auto_collection_enabled: nil)
|
60
|
+
# @param auto_collection_enabled [Boolean] If auto collection is enabled for this account
|
61
|
+
end
|
43
62
|
end
|
44
63
|
end
|
45
64
|
end
|
@@ -11,6 +11,12 @@ module Lithic
|
|
11
11
|
# @return [String]
|
12
12
|
required :account_token, String
|
13
13
|
|
14
|
+
# @!attribute auto_collection_configuration
|
15
|
+
#
|
16
|
+
# @return [Lithic::Models::FinancialAccounts::FinancialAccountCreditConfig::AutoCollectionConfiguration]
|
17
|
+
required :auto_collection_configuration,
|
18
|
+
-> { Lithic::FinancialAccounts::FinancialAccountCreditConfig::AutoCollectionConfiguration }
|
19
|
+
|
14
20
|
# @!attribute charged_off_reason
|
15
21
|
# Reason for the financial account being marked as Charged Off
|
16
22
|
#
|
@@ -53,9 +59,11 @@ module Lithic
|
|
53
59
|
# @return [String, nil]
|
54
60
|
required :tier, String, nil?: true
|
55
61
|
|
56
|
-
# @!method initialize(account_token:, charged_off_reason:, credit_limit:, credit_product_token:, external_bank_account_token:, financial_account_state:, is_spend_blocked:, tier:)
|
62
|
+
# @!method initialize(account_token:, auto_collection_configuration:, charged_off_reason:, credit_limit:, credit_product_token:, external_bank_account_token:, financial_account_state:, is_spend_blocked:, tier:)
|
57
63
|
# @param account_token [String] Globally unique identifier for the account
|
58
64
|
#
|
65
|
+
# @param auto_collection_configuration [Lithic::Models::FinancialAccounts::FinancialAccountCreditConfig::AutoCollectionConfiguration]
|
66
|
+
#
|
59
67
|
# @param charged_off_reason [Symbol, Lithic::Models::FinancialAccounts::FinancialAccountCreditConfig::ChargedOffReason, nil] Reason for the financial account being marked as Charged Off
|
60
68
|
#
|
61
69
|
# @param credit_limit [Integer, nil]
|
@@ -70,6 +78,18 @@ module Lithic
|
|
70
78
|
#
|
71
79
|
# @param tier [String, nil] Tier assigned to the financial account
|
72
80
|
|
81
|
+
# @see Lithic::Models::FinancialAccounts::FinancialAccountCreditConfig#auto_collection_configuration
|
82
|
+
class AutoCollectionConfiguration < Lithic::Internal::Type::BaseModel
|
83
|
+
# @!attribute auto_collection_enabled
|
84
|
+
# If auto collection is enabled for this account
|
85
|
+
#
|
86
|
+
# @return [Boolean]
|
87
|
+
required :auto_collection_enabled, Lithic::Internal::Type::Boolean
|
88
|
+
|
89
|
+
# @!method initialize(auto_collection_enabled:)
|
90
|
+
# @param auto_collection_enabled [Boolean] If auto collection is enabled for this account
|
91
|
+
end
|
92
|
+
|
73
93
|
# Reason for the financial account being marked as Charged Off
|
74
94
|
#
|
75
95
|
# @see Lithic::Models::FinancialAccounts::FinancialAccountCreditConfig#charged_off_reason
|
@@ -127,6 +127,11 @@ module Lithic
|
|
127
127
|
|
128
128
|
ACH = :ACH
|
129
129
|
BALANCE_OR_FUNDING = :BALANCE_OR_FUNDING
|
130
|
+
FEE = :FEE
|
131
|
+
REWARD = :REWARD
|
132
|
+
ADJUSTMENT = :ADJUSTMENT
|
133
|
+
DERECOGNITION = :DERECOGNITION
|
134
|
+
DISPUTE = :DISPUTE
|
130
135
|
CARD = :CARD
|
131
136
|
EXTERNAL_ACH = :EXTERNAL_ACH
|
132
137
|
EXTERNAL_CHECK = :EXTERNAL_CHECK
|
@@ -151,12 +156,14 @@ module Lithic
|
|
151
156
|
ACH_ORIGINATION_INITIATED = :ACH_ORIGINATION_INITIATED
|
152
157
|
ACH_ORIGINATION_PROCESSED = :ACH_ORIGINATION_PROCESSED
|
153
158
|
ACH_ORIGINATION_RELEASED = :ACH_ORIGINATION_RELEASED
|
159
|
+
ACH_ORIGINATION_REJECTED = :ACH_ORIGINATION_REJECTED
|
154
160
|
ACH_ORIGINATION_REVIEWED = :ACH_ORIGINATION_REVIEWED
|
155
161
|
ACH_ORIGINATION_SETTLED = :ACH_ORIGINATION_SETTLED
|
156
162
|
ACH_RECEIPT_PROCESSED = :ACH_RECEIPT_PROCESSED
|
157
163
|
ACH_RECEIPT_SETTLED = :ACH_RECEIPT_SETTLED
|
158
164
|
ACH_RETURN_INITIATED = :ACH_RETURN_INITIATED
|
159
165
|
ACH_RETURN_PROCESSED = :ACH_RETURN_PROCESSED
|
166
|
+
ACH_RETURN_REJECTED = :ACH_RETURN_REJECTED
|
160
167
|
ACH_RETURN_SETTLED = :ACH_RETURN_SETTLED
|
161
168
|
AUTHORIZATION = :AUTHORIZATION
|
162
169
|
AUTHORIZATION_ADVICE = :AUTHORIZATION_ADVICE
|
@@ -206,12 +206,14 @@ module Lithic
|
|
206
206
|
ACH_ORIGINATION_INITIATED = :ACH_ORIGINATION_INITIATED
|
207
207
|
ACH_ORIGINATION_PROCESSED = :ACH_ORIGINATION_PROCESSED
|
208
208
|
ACH_ORIGINATION_RELEASED = :ACH_ORIGINATION_RELEASED
|
209
|
+
ACH_ORIGINATION_REJECTED = :ACH_ORIGINATION_REJECTED
|
209
210
|
ACH_ORIGINATION_REVIEWED = :ACH_ORIGINATION_REVIEWED
|
210
211
|
ACH_ORIGINATION_SETTLED = :ACH_ORIGINATION_SETTLED
|
211
212
|
ACH_RECEIPT_PROCESSED = :ACH_RECEIPT_PROCESSED
|
212
213
|
ACH_RECEIPT_SETTLED = :ACH_RECEIPT_SETTLED
|
213
214
|
ACH_RETURN_INITIATED = :ACH_RETURN_INITIATED
|
214
215
|
ACH_RETURN_PROCESSED = :ACH_RETURN_PROCESSED
|
216
|
+
ACH_RETURN_REJECTED = :ACH_RETURN_REJECTED
|
215
217
|
ACH_RETURN_SETTLED = :ACH_RETURN_SETTLED
|
216
218
|
AUTHORIZATION = :AUTHORIZATION
|
217
219
|
AUTHORIZATION_ADVICE = :AUTHORIZATION_ADVICE
|
@@ -10,21 +10,21 @@ module Lithic
|
|
10
10
|
required :token, String
|
11
11
|
|
12
12
|
# @!attribute account_token
|
13
|
-
#
|
14
|
-
#
|
13
|
+
# Globally unique identifier denoting the account that the associated transaction
|
14
|
+
# occurred on.
|
15
15
|
#
|
16
16
|
# @return [String]
|
17
17
|
required :account_token, String
|
18
18
|
|
19
19
|
# @!attribute card_program_token
|
20
20
|
# Globally unique identifier denoting the card program that the associated
|
21
|
-
#
|
21
|
+
# transaction occurred on.
|
22
22
|
#
|
23
23
|
# @return [String]
|
24
24
|
required :card_program_token, String
|
25
25
|
|
26
26
|
# @!attribute card_token
|
27
|
-
# Globally unique identifier denoting the card that the associated
|
27
|
+
# Globally unique identifier denoting the card that the associated transaction
|
28
28
|
# occurred on.
|
29
29
|
#
|
30
30
|
# @return [String]
|
@@ -142,11 +142,11 @@ module Lithic
|
|
142
142
|
#
|
143
143
|
# @param token [String] Globally unique identifier denoting the Settlement Detail.
|
144
144
|
#
|
145
|
-
# @param account_token [String]
|
145
|
+
# @param account_token [String] Globally unique identifier denoting the account that the associated transaction
|
146
146
|
#
|
147
|
-
# @param card_program_token [String] Globally unique identifier denoting the card program that the associated
|
147
|
+
# @param card_program_token [String] Globally unique identifier denoting the card program that the associated transac
|
148
148
|
#
|
149
|
-
# @param card_token [String] Globally unique identifier denoting the card that the associated
|
149
|
+
# @param card_token [String] Globally unique identifier denoting the card that the associated transaction occ
|
150
150
|
#
|
151
151
|
# @param created [Time] Date and time when the transaction first occurred. UTC time zone.
|
152
152
|
#
|
@@ -28,6 +28,12 @@ module Lithic
|
|
28
28
|
# @return [Time]
|
29
29
|
required :created_at, Time
|
30
30
|
|
31
|
+
# @!attribute device_id
|
32
|
+
# The device identifier associated with the tokenization.
|
33
|
+
#
|
34
|
+
# @return [String, nil]
|
35
|
+
required :device_id, String, nil?: true
|
36
|
+
|
31
37
|
# @!attribute dpan
|
32
38
|
# The dynamic pan assigned to the token by the network.
|
33
39
|
#
|
@@ -86,7 +92,7 @@ module Lithic
|
|
86
92
|
# @return [String, nil]
|
87
93
|
optional :payment_account_reference_id, String, nil?: true
|
88
94
|
|
89
|
-
# @!method initialize(token:, account_token:, card_token:, created_at:, dpan:, status:, token_requestor_name:, token_unique_reference:, tokenization_channel:, updated_at:, digital_card_art_token: nil, events: nil, payment_account_reference_id: nil)
|
95
|
+
# @!method initialize(token:, account_token:, card_token:, created_at:, device_id:, dpan:, status:, token_requestor_name:, token_unique_reference:, tokenization_channel:, updated_at:, digital_card_art_token: nil, events: nil, payment_account_reference_id: nil)
|
90
96
|
# Some parameter documentations has been truncated, see
|
91
97
|
# {Lithic::Models::Tokenization} for more details.
|
92
98
|
#
|
@@ -98,6 +104,8 @@ module Lithic
|
|
98
104
|
#
|
99
105
|
# @param created_at [Time] Date and time when the tokenization first occurred. UTC time zone.
|
100
106
|
#
|
107
|
+
# @param device_id [String, nil] The device identifier associated with the tokenization.
|
108
|
+
#
|
101
109
|
# @param dpan [String, nil] The dynamic pan assigned to the token by the network.
|
102
110
|
#
|
103
111
|
# @param status [Symbol, Lithic::Models::Tokenization::Status] The status of the tokenization request
|