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.
Files changed (61) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +21 -0
  3. data/README.md +1 -1
  4. data/lib/lithic/internal/transport/pooled_net_requester.rb +7 -10
  5. data/lib/lithic/models/account_activity_list_params.rb +5 -0
  6. data/lib/lithic/models/account_activity_list_response.rb +20 -11
  7. data/lib/lithic/models/account_activity_retrieve_transaction_response.rb +20 -11
  8. data/lib/lithic/models/auth_rules/v2_update_params.rb +17 -1
  9. data/lib/lithic/models/book_transfer_create_params.rb +4 -3
  10. data/lib/lithic/models/book_transfer_list_params.rb +5 -3
  11. data/lib/lithic/models/book_transfer_response.rb +4 -4
  12. data/lib/lithic/models/financial_account.rb +21 -1
  13. data/lib/lithic/models/financial_accounts/credit_configuration_update_params.rb +20 -1
  14. data/lib/lithic/models/financial_accounts/financial_account_credit_config.rb +21 -1
  15. data/lib/lithic/models/financial_accounts/statements/statement_line_items.rb +7 -0
  16. data/lib/lithic/models/financial_transaction.rb +2 -0
  17. data/lib/lithic/models/settlement_detail.rb +7 -7
  18. data/lib/lithic/models/tokenization.rb +9 -1
  19. data/lib/lithic/models/transaction.rb +12 -1
  20. data/lib/lithic/models/transfer.rb +2 -0
  21. data/lib/lithic/resources/auth_rules/v2.rb +5 -1
  22. data/lib/lithic/resources/book_transfers.rb +1 -1
  23. data/lib/lithic/resources/financial_accounts/credit_configuration.rb +3 -1
  24. data/lib/lithic/version.rb +1 -1
  25. data/rbi/lithic/models/account_activity_list_params.rbi +22 -0
  26. data/rbi/lithic/models/account_activity_list_response.rbi +81 -36
  27. data/rbi/lithic/models/account_activity_retrieve_transaction_response.rbi +81 -36
  28. data/rbi/lithic/models/auth_rules/v2_update_params.rbi +22 -0
  29. data/rbi/lithic/models/book_transfer_create_params.rbi +15 -3
  30. data/rbi/lithic/models/book_transfer_list_params.rbi +18 -8
  31. data/rbi/lithic/models/book_transfer_response.rbi +12 -3
  32. data/rbi/lithic/models/financial_account.rbi +54 -3
  33. data/rbi/lithic/models/financial_accounts/credit_configuration_update_params.rbi +54 -0
  34. data/rbi/lithic/models/financial_accounts/financial_account_credit_config.rbi +49 -0
  35. data/rbi/lithic/models/financial_accounts/statements/statement_line_items.rbi +35 -0
  36. data/rbi/lithic/models/financial_transaction.rbi +10 -0
  37. data/rbi/lithic/models/settlement_detail.rbi +8 -8
  38. data/rbi/lithic/models/tokenization.rbi +8 -0
  39. data/rbi/lithic/models/transaction.rbi +23 -0
  40. data/rbi/lithic/models/transfer.rbi +10 -0
  41. data/rbi/lithic/resources/auth_rules/v2.rbi +6 -0
  42. data/rbi/lithic/resources/book_transfers.rbi +0 -1
  43. data/rbi/lithic/resources/financial_accounts/credit_configuration.rbi +3 -0
  44. data/sig/lithic/models/account_activity_list_params.rbs +10 -0
  45. data/sig/lithic/models/account_activity_list_response.rbs +41 -23
  46. data/sig/lithic/models/account_activity_retrieve_transaction_response.rbs +41 -23
  47. data/sig/lithic/models/auth_rules/v2_update_params.rbs +14 -0
  48. data/sig/lithic/models/book_transfer_create_params.rbs +7 -1
  49. data/sig/lithic/models/book_transfer_list_params.rbs +11 -7
  50. data/sig/lithic/models/book_transfer_response.rbs +7 -1
  51. data/sig/lithic/models/financial_account.rbs +22 -3
  52. data/sig/lithic/models/financial_accounts/credit_configuration_update_params.rbs +21 -0
  53. data/sig/lithic/models/financial_accounts/financial_account_credit_config.rbs +15 -0
  54. data/sig/lithic/models/financial_accounts/statements/statement_line_items.rbs +14 -0
  55. data/sig/lithic/models/financial_transaction.rbs +4 -0
  56. data/sig/lithic/models/tokenization.rbs +5 -0
  57. data/sig/lithic/models/transaction.rbs +13 -0
  58. data/sig/lithic/models/transfer.rbs +4 -0
  59. data/sig/lithic/resources/auth_rules/v2.rbs +2 -0
  60. data/sig/lithic/resources/financial_accounts/credit_configuration.rbs +1 -0
  61. metadata +2 -2
@@ -87,6 +87,11 @@ module Lithic
87
87
  # @return [Time]
88
88
  required :created, Time
89
89
 
90
+ # @!attribute financial_account_token
91
+ #
92
+ # @return [String, nil]
93
+ required :financial_account_token, String, nil?: true
94
+
90
95
  # @!attribute merchant
91
96
  #
92
97
  # @return [Lithic::Models::Transaction::Merchant]
@@ -173,7 +178,7 @@ module Lithic
173
178
  # @return [Array<Lithic::Models::Transaction::Event>, nil]
174
179
  optional :events, -> { Lithic::Internal::Type::ArrayOf[Lithic::Transaction::Event] }
175
180
 
176
- # @!method initialize(token:, account_token:, acquirer_fee:, acquirer_reference_number:, amount:, amounts:, authorization_amount:, authorization_code:, avs:, card_token:, cardholder_authentication:, created:, merchant:, merchant_amount:, merchant_authorization_amount:, merchant_currency:, network:, network_risk_score:, pos:, result:, settled_amount:, status:, token_info:, updated:, events: nil)
181
+ # @!method initialize(token:, account_token:, acquirer_fee:, acquirer_reference_number:, amount:, amounts:, authorization_amount:, authorization_code:, avs:, card_token:, cardholder_authentication:, created:, financial_account_token:, merchant:, merchant_amount:, merchant_authorization_amount:, merchant_currency:, network:, network_risk_score:, pos:, result:, settled_amount:, status:, token_info:, updated:, events: nil)
177
182
  # Some parameter documentations has been truncated, see
178
183
  # {Lithic::Models::Transaction} for more details.
179
184
  #
@@ -201,6 +206,8 @@ module Lithic
201
206
  #
202
207
  # @param created [Time] Date and time when the transaction first occurred. UTC time zone.
203
208
  #
209
+ # @param financial_account_token [String, nil]
210
+ #
204
211
  # @param merchant [Lithic::Models::Transaction::Merchant]
205
212
  #
206
213
  # @param merchant_amount [Integer, nil] Analogous to the 'amount', but in the merchant currency.
@@ -957,6 +964,7 @@ module Lithic
957
964
  DECLINED = :DECLINED
958
965
  FRAUD_ADVICE = :FRAUD_ADVICE
959
966
  IGNORED_TTL_EXPIRY = :IGNORED_TTL_EXPIRY
967
+ SUSPECTED_FRAUD = :SUSPECTED_FRAUD
960
968
  INACTIVE_ACCOUNT = :INACTIVE_ACCOUNT
961
969
  INCORRECT_PIN = :INCORRECT_PIN
962
970
  INVALID_CARD_DETAILS = :INVALID_CARD_DETAILS
@@ -1293,6 +1301,7 @@ module Lithic
1293
1301
  REVERSAL_UNMATCHED = :REVERSAL_UNMATCHED
1294
1302
  SECURITY_VIOLATION = :SECURITY_VIOLATION
1295
1303
  SINGLE_USE_CARD_REATTEMPTED = :SINGLE_USE_CARD_REATTEMPTED
1304
+ SUSPECTED_FRAUD = :SUSPECTED_FRAUD
1296
1305
  TRANSACTION_INVALID = :TRANSACTION_INVALID
1297
1306
  TRANSACTION_NOT_PERMITTED_TO_ACQUIRER_OR_TERMINAL = :TRANSACTION_NOT_PERMITTED_TO_ACQUIRER_OR_TERMINAL
1298
1307
  TRANSACTION_NOT_PERMITTED_TO_ISSUER_OR_CARDHOLDER = :TRANSACTION_NOT_PERMITTED_TO_ISSUER_OR_CARDHOLDER
@@ -1506,6 +1515,7 @@ module Lithic
1506
1515
  DECLINED = :DECLINED
1507
1516
  FRAUD_ADVICE = :FRAUD_ADVICE
1508
1517
  IGNORED_TTL_EXPIRY = :IGNORED_TTL_EXPIRY
1518
+ SUSPECTED_FRAUD = :SUSPECTED_FRAUD
1509
1519
  INACTIVE_ACCOUNT = :INACTIVE_ACCOUNT
1510
1520
  INCORRECT_PIN = :INCORRECT_PIN
1511
1521
  INVALID_CARD_DETAILS = :INVALID_CARD_DETAILS
@@ -1618,6 +1628,7 @@ module Lithic
1618
1628
  REVERSAL_UNMATCHED = :REVERSAL_UNMATCHED
1619
1629
  SECURITY_VIOLATION = :SECURITY_VIOLATION
1620
1630
  SINGLE_USE_CARD_REATTEMPTED = :SINGLE_USE_CARD_REATTEMPTED
1631
+ SUSPECTED_FRAUD = :SUSPECTED_FRAUD
1621
1632
  TRANSACTION_INVALID = :TRANSACTION_INVALID
1622
1633
  TRANSACTION_NOT_PERMITTED_TO_ACQUIRER_OR_TERMINAL = :TRANSACTION_NOT_PERMITTED_TO_ACQUIRER_OR_TERMINAL
1623
1634
  TRANSACTION_NOT_PERMITTED_TO_ISSUER_OR_CARDHOLDER = :TRANSACTION_NOT_PERMITTED_TO_ISSUER_OR_CARDHOLDER
@@ -212,12 +212,14 @@ module Lithic
212
212
  ACH_ORIGINATION_INITIATED = :ACH_ORIGINATION_INITIATED
213
213
  ACH_ORIGINATION_PROCESSED = :ACH_ORIGINATION_PROCESSED
214
214
  ACH_ORIGINATION_RELEASED = :ACH_ORIGINATION_RELEASED
215
+ ACH_ORIGINATION_REJECTED = :ACH_ORIGINATION_REJECTED
215
216
  ACH_ORIGINATION_REVIEWED = :ACH_ORIGINATION_REVIEWED
216
217
  ACH_ORIGINATION_SETTLED = :ACH_ORIGINATION_SETTLED
217
218
  ACH_RECEIPT_PROCESSED = :ACH_RECEIPT_PROCESSED
218
219
  ACH_RECEIPT_SETTLED = :ACH_RECEIPT_SETTLED
219
220
  ACH_RETURN_INITIATED = :ACH_RETURN_INITIATED
220
221
  ACH_RETURN_PROCESSED = :ACH_RETURN_PROCESSED
222
+ ACH_RETURN_REJECTED = :ACH_RETURN_REJECTED
221
223
  ACH_RETURN_SETTLED = :ACH_RETURN_SETTLED
222
224
  AUTHORIZATION = :AUTHORIZATION
223
225
  AUTHORIZATION_ADVICE = :AUTHORIZATION_ADVICE
@@ -77,10 +77,14 @@ module Lithic
77
77
  # is provided, this will replace existing associations with the provided list of
78
78
  # entities.
79
79
  #
80
- # @overload update(auth_rule_token, name: nil, state: nil, card_tokens: nil, excluded_card_tokens: nil, program_level: nil, request_options: {})
80
+ # @overload update(auth_rule_token, account_tokens: nil, business_account_tokens: nil, name: nil, state: nil, card_tokens: nil, excluded_card_tokens: nil, program_level: nil, request_options: {})
81
81
  #
82
82
  # @param auth_rule_token [String] Globally unique identifier for the Auth Rule.
83
83
  #
84
+ # @param account_tokens [Array<String>] Account tokens to which the Auth Rule applies.
85
+ #
86
+ # @param business_account_tokens [Array<String>] Business Account tokens to which the Auth Rule applies.
87
+ #
84
88
  # @param name [String, nil] Auth Rule Name
85
89
  #
86
90
  # @param state [Symbol, Lithic::Models::AuthRules::V2UpdateParams::State] The desired state of the Auth Rule.
@@ -13,7 +13,7 @@ module Lithic
13
13
  #
14
14
  # @param amount [Integer] Amount to be transferred in the currency's smallest unit (e.g., cents for USD).
15
15
  #
16
- # @param category [Symbol, Lithic::Models::BookTransferCreateParams::Category] Category of the book transfer
16
+ # @param category [Symbol, Lithic::Models::BookTransferCreateParams::Category]
17
17
  #
18
18
  # @param from_financial_account_token [String] Globally unique identifier for the financial account or card that will send the
19
19
  #
@@ -26,10 +26,12 @@ module Lithic
26
26
 
27
27
  # Update an account's credit configuration
28
28
  #
29
- # @overload update(financial_account_token, credit_limit: nil, credit_product_token: nil, external_bank_account_token: nil, tier: nil, request_options: {})
29
+ # @overload update(financial_account_token, auto_collection_configuration: nil, credit_limit: nil, credit_product_token: nil, external_bank_account_token: nil, tier: nil, request_options: {})
30
30
  #
31
31
  # @param financial_account_token [String] Globally unique identifier for financial account.
32
32
  #
33
+ # @param auto_collection_configuration [Lithic::Models::FinancialAccounts::CreditConfigurationUpdateParams::AutoCollectionConfiguration]
34
+ #
33
35
  # @param credit_limit [Integer]
34
36
  #
35
37
  # @param credit_product_token [String] Globally unique identifier for the credit product
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Lithic
4
- VERSION = "0.1.0.pre.alpha.48"
4
+ VERSION = "0.1.0.pre.alpha.50"
5
5
  end
@@ -193,6 +193,28 @@ module Lithic
193
193
  :BALANCE_OR_FUNDING,
194
194
  Lithic::AccountActivityListParams::Category::TaggedSymbol
195
195
  )
196
+ FEE =
197
+ T.let(:FEE, Lithic::AccountActivityListParams::Category::TaggedSymbol)
198
+ REWARD =
199
+ T.let(
200
+ :REWARD,
201
+ Lithic::AccountActivityListParams::Category::TaggedSymbol
202
+ )
203
+ ADJUSTMENT =
204
+ T.let(
205
+ :ADJUSTMENT,
206
+ Lithic::AccountActivityListParams::Category::TaggedSymbol
207
+ )
208
+ DERECOGNITION =
209
+ T.let(
210
+ :DERECOGNITION,
211
+ Lithic::AccountActivityListParams::Category::TaggedSymbol
212
+ )
213
+ DISPUTE =
214
+ T.let(
215
+ :DISPUTE,
216
+ Lithic::AccountActivityListParams::Category::TaggedSymbol
217
+ )
196
218
  CARD =
197
219
  T.let(
198
220
  :CARD,
@@ -206,6 +206,31 @@ module Lithic
206
206
  :BALANCE_OR_FUNDING,
207
207
  Lithic::Models::AccountActivityListResponse::FinancialTransaction::Category::TaggedSymbol
208
208
  )
209
+ FEE =
210
+ T.let(
211
+ :FEE,
212
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Category::TaggedSymbol
213
+ )
214
+ REWARD =
215
+ T.let(
216
+ :REWARD,
217
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Category::TaggedSymbol
218
+ )
219
+ ADJUSTMENT =
220
+ T.let(
221
+ :ADJUSTMENT,
222
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Category::TaggedSymbol
223
+ )
224
+ DERECOGNITION =
225
+ T.let(
226
+ :DERECOGNITION,
227
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Category::TaggedSymbol
228
+ )
229
+ DISPUTE =
230
+ T.let(
231
+ :DISPUTE,
232
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Category::TaggedSymbol
233
+ )
209
234
  CARD =
210
235
  T.let(
211
236
  :CARD,
@@ -451,6 +476,11 @@ module Lithic
451
476
  :ACH_ORIGINATION_RELEASED,
452
477
  Lithic::Models::AccountActivityListResponse::FinancialTransaction::Event::Type::TaggedSymbol
453
478
  )
479
+ ACH_ORIGINATION_REJECTED =
480
+ T.let(
481
+ :ACH_ORIGINATION_REJECTED,
482
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Event::Type::TaggedSymbol
483
+ )
454
484
  ACH_ORIGINATION_REVIEWED =
455
485
  T.let(
456
486
  :ACH_ORIGINATION_REVIEWED,
@@ -481,6 +511,11 @@ module Lithic
481
511
  :ACH_RETURN_PROCESSED,
482
512
  Lithic::Models::AccountActivityListResponse::FinancialTransaction::Event::Type::TaggedSymbol
483
513
  )
514
+ ACH_RETURN_REJECTED =
515
+ T.let(
516
+ :ACH_RETURN_REJECTED,
517
+ Lithic::Models::AccountActivityListResponse::FinancialTransaction::Event::Type::TaggedSymbol
518
+ )
484
519
  ACH_RETURN_SETTLED =
485
520
  T.let(
486
521
  :ACH_RETURN_SETTLED,
@@ -1151,9 +1186,9 @@ module Lithic
1151
1186
  end
1152
1187
  OrSymbol = T.type_alias { T.any(Symbol, String) }
1153
1188
 
1154
- ACH =
1189
+ ADJUSTMENT =
1155
1190
  T.let(
1156
- :ACH,
1191
+ :ADJUSTMENT,
1157
1192
  Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Category::TaggedSymbol
1158
1193
  )
1159
1194
  BALANCE_OR_FUNDING =
@@ -1161,59 +1196,39 @@ module Lithic
1161
1196
  :BALANCE_OR_FUNDING,
1162
1197
  Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Category::TaggedSymbol
1163
1198
  )
1164
- CARD =
1165
- T.let(
1166
- :CARD,
1167
- Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Category::TaggedSymbol
1168
- )
1169
- EXTERNAL_ACH =
1170
- T.let(
1171
- :EXTERNAL_ACH,
1172
- Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Category::TaggedSymbol
1173
- )
1174
- EXTERNAL_CHECK =
1199
+ DERECOGNITION =
1175
1200
  T.let(
1176
- :EXTERNAL_CHECK,
1201
+ :DERECOGNITION,
1177
1202
  Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Category::TaggedSymbol
1178
1203
  )
1179
- EXTERNAL_TRANSFER =
1204
+ DISPUTE =
1180
1205
  T.let(
1181
- :EXTERNAL_TRANSFER,
1206
+ :DISPUTE,
1182
1207
  Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Category::TaggedSymbol
1183
1208
  )
1184
- EXTERNAL_WIRE =
1209
+ FEE =
1185
1210
  T.let(
1186
- :EXTERNAL_WIRE,
1211
+ :FEE,
1187
1212
  Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Category::TaggedSymbol
1188
1213
  )
1189
- MANAGEMENT_ADJUSTMENT =
1190
- T.let(
1191
- :MANAGEMENT_ADJUSTMENT,
1192
- Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Category::TaggedSymbol
1193
- )
1194
- MANAGEMENT_DISPUTE =
1195
- T.let(
1196
- :MANAGEMENT_DISPUTE,
1197
- Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Category::TaggedSymbol
1198
- )
1199
- MANAGEMENT_FEE =
1214
+ INTERNAL =
1200
1215
  T.let(
1201
- :MANAGEMENT_FEE,
1216
+ :INTERNAL,
1202
1217
  Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Category::TaggedSymbol
1203
1218
  )
1204
- MANAGEMENT_REWARD =
1219
+ REWARD =
1205
1220
  T.let(
1206
- :MANAGEMENT_REWARD,
1221
+ :REWARD,
1207
1222
  Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Category::TaggedSymbol
1208
1223
  )
1209
- MANAGEMENT_DISBURSEMENT =
1224
+ PROGRAM_FUNDING =
1210
1225
  T.let(
1211
- :MANAGEMENT_DISBURSEMENT,
1226
+ :PROGRAM_FUNDING,
1212
1227
  Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Category::TaggedSymbol
1213
1228
  )
1214
- PROGRAM_FUNDING =
1229
+ TRANSFER =
1215
1230
  T.let(
1216
- :PROGRAM_FUNDING,
1231
+ :TRANSFER,
1217
1232
  Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Category::TaggedSymbol
1218
1233
  )
1219
1234
 
@@ -1422,6 +1437,11 @@ module Lithic
1422
1437
  end
1423
1438
  OrSymbol = T.type_alias { T.any(Symbol, String) }
1424
1439
 
1440
+ ATM_BALANCE_INQUIRY =
1441
+ T.let(
1442
+ :ATM_BALANCE_INQUIRY,
1443
+ Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Event::Type::TaggedSymbol
1444
+ )
1425
1445
  ATM_WITHDRAWAL =
1426
1446
  T.let(
1427
1447
  :ATM_WITHDRAWAL,
@@ -2289,6 +2309,31 @@ module Lithic
2289
2309
  :BALANCE_OR_FUNDING,
2290
2310
  Lithic::Models::AccountActivityListResponse::PaymentTransaction::Category::TaggedSymbol
2291
2311
  )
2312
+ FEE =
2313
+ T.let(
2314
+ :FEE,
2315
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Category::TaggedSymbol
2316
+ )
2317
+ REWARD =
2318
+ T.let(
2319
+ :REWARD,
2320
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Category::TaggedSymbol
2321
+ )
2322
+ ADJUSTMENT =
2323
+ T.let(
2324
+ :ADJUSTMENT,
2325
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Category::TaggedSymbol
2326
+ )
2327
+ DERECOGNITION =
2328
+ T.let(
2329
+ :DERECOGNITION,
2330
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Category::TaggedSymbol
2331
+ )
2332
+ DISPUTE =
2333
+ T.let(
2334
+ :DISPUTE,
2335
+ Lithic::Models::AccountActivityListResponse::PaymentTransaction::Category::TaggedSymbol
2336
+ )
2292
2337
  CARD =
2293
2338
  T.let(
2294
2339
  :CARD,
@@ -206,6 +206,31 @@ module Lithic
206
206
  :BALANCE_OR_FUNDING,
207
207
  Lithic::Models::AccountActivityRetrieveTransactionResponse::FinancialTransaction::Category::TaggedSymbol
208
208
  )
209
+ FEE =
210
+ T.let(
211
+ :FEE,
212
+ Lithic::Models::AccountActivityRetrieveTransactionResponse::FinancialTransaction::Category::TaggedSymbol
213
+ )
214
+ REWARD =
215
+ T.let(
216
+ :REWARD,
217
+ Lithic::Models::AccountActivityRetrieveTransactionResponse::FinancialTransaction::Category::TaggedSymbol
218
+ )
219
+ ADJUSTMENT =
220
+ T.let(
221
+ :ADJUSTMENT,
222
+ Lithic::Models::AccountActivityRetrieveTransactionResponse::FinancialTransaction::Category::TaggedSymbol
223
+ )
224
+ DERECOGNITION =
225
+ T.let(
226
+ :DERECOGNITION,
227
+ Lithic::Models::AccountActivityRetrieveTransactionResponse::FinancialTransaction::Category::TaggedSymbol
228
+ )
229
+ DISPUTE =
230
+ T.let(
231
+ :DISPUTE,
232
+ Lithic::Models::AccountActivityRetrieveTransactionResponse::FinancialTransaction::Category::TaggedSymbol
233
+ )
209
234
  CARD =
210
235
  T.let(
211
236
  :CARD,
@@ -451,6 +476,11 @@ module Lithic
451
476
  :ACH_ORIGINATION_RELEASED,
452
477
  Lithic::Models::AccountActivityRetrieveTransactionResponse::FinancialTransaction::Event::Type::TaggedSymbol
453
478
  )
479
+ ACH_ORIGINATION_REJECTED =
480
+ T.let(
481
+ :ACH_ORIGINATION_REJECTED,
482
+ Lithic::Models::AccountActivityRetrieveTransactionResponse::FinancialTransaction::Event::Type::TaggedSymbol
483
+ )
454
484
  ACH_ORIGINATION_REVIEWED =
455
485
  T.let(
456
486
  :ACH_ORIGINATION_REVIEWED,
@@ -481,6 +511,11 @@ module Lithic
481
511
  :ACH_RETURN_PROCESSED,
482
512
  Lithic::Models::AccountActivityRetrieveTransactionResponse::FinancialTransaction::Event::Type::TaggedSymbol
483
513
  )
514
+ ACH_RETURN_REJECTED =
515
+ T.let(
516
+ :ACH_RETURN_REJECTED,
517
+ Lithic::Models::AccountActivityRetrieveTransactionResponse::FinancialTransaction::Event::Type::TaggedSymbol
518
+ )
484
519
  ACH_RETURN_SETTLED =
485
520
  T.let(
486
521
  :ACH_RETURN_SETTLED,
@@ -1151,9 +1186,9 @@ module Lithic
1151
1186
  end
1152
1187
  OrSymbol = T.type_alias { T.any(Symbol, String) }
1153
1188
 
1154
- ACH =
1189
+ ADJUSTMENT =
1155
1190
  T.let(
1156
- :ACH,
1191
+ :ADJUSTMENT,
1157
1192
  Lithic::Models::AccountActivityRetrieveTransactionResponse::BookTransferTransaction::Category::TaggedSymbol
1158
1193
  )
1159
1194
  BALANCE_OR_FUNDING =
@@ -1161,59 +1196,39 @@ module Lithic
1161
1196
  :BALANCE_OR_FUNDING,
1162
1197
  Lithic::Models::AccountActivityRetrieveTransactionResponse::BookTransferTransaction::Category::TaggedSymbol
1163
1198
  )
1164
- CARD =
1165
- T.let(
1166
- :CARD,
1167
- Lithic::Models::AccountActivityRetrieveTransactionResponse::BookTransferTransaction::Category::TaggedSymbol
1168
- )
1169
- EXTERNAL_ACH =
1170
- T.let(
1171
- :EXTERNAL_ACH,
1172
- Lithic::Models::AccountActivityRetrieveTransactionResponse::BookTransferTransaction::Category::TaggedSymbol
1173
- )
1174
- EXTERNAL_CHECK =
1199
+ DERECOGNITION =
1175
1200
  T.let(
1176
- :EXTERNAL_CHECK,
1201
+ :DERECOGNITION,
1177
1202
  Lithic::Models::AccountActivityRetrieveTransactionResponse::BookTransferTransaction::Category::TaggedSymbol
1178
1203
  )
1179
- EXTERNAL_TRANSFER =
1204
+ DISPUTE =
1180
1205
  T.let(
1181
- :EXTERNAL_TRANSFER,
1206
+ :DISPUTE,
1182
1207
  Lithic::Models::AccountActivityRetrieveTransactionResponse::BookTransferTransaction::Category::TaggedSymbol
1183
1208
  )
1184
- EXTERNAL_WIRE =
1209
+ FEE =
1185
1210
  T.let(
1186
- :EXTERNAL_WIRE,
1211
+ :FEE,
1187
1212
  Lithic::Models::AccountActivityRetrieveTransactionResponse::BookTransferTransaction::Category::TaggedSymbol
1188
1213
  )
1189
- MANAGEMENT_ADJUSTMENT =
1190
- T.let(
1191
- :MANAGEMENT_ADJUSTMENT,
1192
- Lithic::Models::AccountActivityRetrieveTransactionResponse::BookTransferTransaction::Category::TaggedSymbol
1193
- )
1194
- MANAGEMENT_DISPUTE =
1195
- T.let(
1196
- :MANAGEMENT_DISPUTE,
1197
- Lithic::Models::AccountActivityRetrieveTransactionResponse::BookTransferTransaction::Category::TaggedSymbol
1198
- )
1199
- MANAGEMENT_FEE =
1214
+ INTERNAL =
1200
1215
  T.let(
1201
- :MANAGEMENT_FEE,
1216
+ :INTERNAL,
1202
1217
  Lithic::Models::AccountActivityRetrieveTransactionResponse::BookTransferTransaction::Category::TaggedSymbol
1203
1218
  )
1204
- MANAGEMENT_REWARD =
1219
+ REWARD =
1205
1220
  T.let(
1206
- :MANAGEMENT_REWARD,
1221
+ :REWARD,
1207
1222
  Lithic::Models::AccountActivityRetrieveTransactionResponse::BookTransferTransaction::Category::TaggedSymbol
1208
1223
  )
1209
- MANAGEMENT_DISBURSEMENT =
1224
+ PROGRAM_FUNDING =
1210
1225
  T.let(
1211
- :MANAGEMENT_DISBURSEMENT,
1226
+ :PROGRAM_FUNDING,
1212
1227
  Lithic::Models::AccountActivityRetrieveTransactionResponse::BookTransferTransaction::Category::TaggedSymbol
1213
1228
  )
1214
- PROGRAM_FUNDING =
1229
+ TRANSFER =
1215
1230
  T.let(
1216
- :PROGRAM_FUNDING,
1231
+ :TRANSFER,
1217
1232
  Lithic::Models::AccountActivityRetrieveTransactionResponse::BookTransferTransaction::Category::TaggedSymbol
1218
1233
  )
1219
1234
 
@@ -1422,6 +1437,11 @@ module Lithic
1422
1437
  end
1423
1438
  OrSymbol = T.type_alias { T.any(Symbol, String) }
1424
1439
 
1440
+ ATM_BALANCE_INQUIRY =
1441
+ T.let(
1442
+ :ATM_BALANCE_INQUIRY,
1443
+ Lithic::Models::AccountActivityRetrieveTransactionResponse::BookTransferTransaction::Event::Type::TaggedSymbol
1444
+ )
1425
1445
  ATM_WITHDRAWAL =
1426
1446
  T.let(
1427
1447
  :ATM_WITHDRAWAL,
@@ -2289,6 +2309,31 @@ module Lithic
2289
2309
  :BALANCE_OR_FUNDING,
2290
2310
  Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::Category::TaggedSymbol
2291
2311
  )
2312
+ FEE =
2313
+ T.let(
2314
+ :FEE,
2315
+ Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::Category::TaggedSymbol
2316
+ )
2317
+ REWARD =
2318
+ T.let(
2319
+ :REWARD,
2320
+ Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::Category::TaggedSymbol
2321
+ )
2322
+ ADJUSTMENT =
2323
+ T.let(
2324
+ :ADJUSTMENT,
2325
+ Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::Category::TaggedSymbol
2326
+ )
2327
+ DERECOGNITION =
2328
+ T.let(
2329
+ :DERECOGNITION,
2330
+ Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::Category::TaggedSymbol
2331
+ )
2332
+ DISPUTE =
2333
+ T.let(
2334
+ :DISPUTE,
2335
+ Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::Category::TaggedSymbol
2336
+ )
2292
2337
  CARD =
2293
2338
  T.let(
2294
2339
  :CARD,
@@ -12,6 +12,20 @@ module Lithic
12
12
  T.any(Lithic::AuthRules::V2UpdateParams, Lithic::Internal::AnyHash)
13
13
  end
14
14
 
15
+ # Account tokens to which the Auth Rule applies.
16
+ sig { returns(T.nilable(T::Array[String])) }
17
+ attr_reader :account_tokens
18
+
19
+ sig { params(account_tokens: T::Array[String]).void }
20
+ attr_writer :account_tokens
21
+
22
+ # Business Account tokens to which the Auth Rule applies.
23
+ sig { returns(T.nilable(T::Array[String])) }
24
+ attr_reader :business_account_tokens
25
+
26
+ sig { params(business_account_tokens: T::Array[String]).void }
27
+ attr_writer :business_account_tokens
28
+
15
29
  # Auth Rule Name
16
30
  sig { returns(T.nilable(String)) }
17
31
  attr_accessor :name
@@ -54,6 +68,8 @@ module Lithic
54
68
 
55
69
  sig do
56
70
  params(
71
+ account_tokens: T::Array[String],
72
+ business_account_tokens: T::Array[String],
57
73
  name: T.nilable(String),
58
74
  state: Lithic::AuthRules::V2UpdateParams::State::OrSymbol,
59
75
  card_tokens: T::Array[String],
@@ -63,6 +79,10 @@ module Lithic
63
79
  ).returns(T.attached_class)
64
80
  end
65
81
  def self.new(
82
+ # Account tokens to which the Auth Rule applies.
83
+ account_tokens: nil,
84
+ # Business Account tokens to which the Auth Rule applies.
85
+ business_account_tokens: nil,
66
86
  # Auth Rule Name
67
87
  name: nil,
68
88
  # The desired state of the Auth Rule.
@@ -84,6 +104,8 @@ module Lithic
84
104
  sig do
85
105
  override.returns(
86
106
  {
107
+ account_tokens: T::Array[String],
108
+ business_account_tokens: T::Array[String],
87
109
  name: T.nilable(String),
88
110
  state: Lithic::AuthRules::V2UpdateParams::State::OrSymbol,
89
111
  card_tokens: T::Array[String],
@@ -16,7 +16,6 @@ module Lithic
16
16
  sig { returns(Integer) }
17
17
  attr_accessor :amount
18
18
 
19
- # Category of the book transfer
20
19
  sig { returns(Lithic::BookTransferCreateParams::Category::OrSymbol) }
21
20
  attr_accessor :category
22
21
 
@@ -96,7 +95,6 @@ module Lithic
96
95
  # Amount to be transferred in the currency's smallest unit (e.g., cents for USD).
97
96
  # This should always be a positive value.
98
97
  amount:,
99
- # Category of the book transfer
100
98
  category:,
101
99
  # Globally unique identifier for the financial account or card that will send the
102
100
  # funds. Accepted type dependent on the program's use case.
@@ -142,7 +140,6 @@ module Lithic
142
140
  def to_hash
143
141
  end
144
142
 
145
- # Category of the book transfer
146
143
  module Category
147
144
  extend Lithic::Internal::Type::Enum
148
145
 
@@ -174,11 +171,21 @@ module Lithic
174
171
  )
175
172
  FEE =
176
173
  T.let(:FEE, Lithic::BookTransferCreateParams::Category::TaggedSymbol)
174
+ INTERNAL =
175
+ T.let(
176
+ :INTERNAL,
177
+ Lithic::BookTransferCreateParams::Category::TaggedSymbol
178
+ )
177
179
  REWARD =
178
180
  T.let(
179
181
  :REWARD,
180
182
  Lithic::BookTransferCreateParams::Category::TaggedSymbol
181
183
  )
184
+ PROGRAM_FUNDING =
185
+ T.let(
186
+ :PROGRAM_FUNDING,
187
+ Lithic::BookTransferCreateParams::Category::TaggedSymbol
188
+ )
182
189
  TRANSFER =
183
190
  T.let(
184
191
  :TRANSFER,
@@ -202,6 +209,11 @@ module Lithic
202
209
  T.type_alias { T.all(Symbol, Lithic::BookTransferCreateParams::Type) }
203
210
  OrSymbol = T.type_alias { T.any(Symbol, String) }
204
211
 
212
+ ATM_BALANCE_INQUIRY =
213
+ T.let(
214
+ :ATM_BALANCE_INQUIRY,
215
+ Lithic::BookTransferCreateParams::Type::TaggedSymbol
216
+ )
205
217
  ATM_WITHDRAWAL =
206
218
  T.let(
207
219
  :ATM_WITHDRAWAL,
@@ -182,18 +182,14 @@ module Lithic
182
182
  end
183
183
  OrSymbol = T.type_alias { T.any(Symbol, String) }
184
184
 
185
- BALANCE_OR_FUNDING =
185
+ ADJUSTMENT =
186
186
  T.let(
187
- :BALANCE_OR_FUNDING,
187
+ :ADJUSTMENT,
188
188
  Lithic::BookTransferListParams::Category::TaggedSymbol
189
189
  )
190
- FEE =
191
- T.let(:FEE, Lithic::BookTransferListParams::Category::TaggedSymbol)
192
- REWARD =
193
- T.let(:REWARD, Lithic::BookTransferListParams::Category::TaggedSymbol)
194
- ADJUSTMENT =
190
+ BALANCE_OR_FUNDING =
195
191
  T.let(
196
- :ADJUSTMENT,
192
+ :BALANCE_OR_FUNDING,
197
193
  Lithic::BookTransferListParams::Category::TaggedSymbol
198
194
  )
199
195
  DERECOGNITION =
@@ -206,11 +202,25 @@ module Lithic
206
202
  :DISPUTE,
207
203
  Lithic::BookTransferListParams::Category::TaggedSymbol
208
204
  )
205
+ FEE =
206
+ T.let(:FEE, Lithic::BookTransferListParams::Category::TaggedSymbol)
209
207
  INTERNAL =
210
208
  T.let(
211
209
  :INTERNAL,
212
210
  Lithic::BookTransferListParams::Category::TaggedSymbol
213
211
  )
212
+ REWARD =
213
+ T.let(:REWARD, Lithic::BookTransferListParams::Category::TaggedSymbol)
214
+ PROGRAM_FUNDING =
215
+ T.let(
216
+ :PROGRAM_FUNDING,
217
+ Lithic::BookTransferListParams::Category::TaggedSymbol
218
+ )
219
+ TRANSFER =
220
+ T.let(
221
+ :TRANSFER,
222
+ Lithic::BookTransferListParams::Category::TaggedSymbol
223
+ )
214
224
 
215
225
  sig do
216
226
  override.returns(