lithic 0.2.0 → 0.3.0

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 (91) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +38 -0
  3. data/README.md +1 -1
  4. data/lib/lithic/client.rb +5 -10
  5. data/lib/lithic/internal/transport/pooled_net_requester.rb +12 -10
  6. data/lib/lithic/internal/util.rb +7 -2
  7. data/lib/lithic/models/auth_rules/conditional_tokenization_action_parameters.rb +5 -0
  8. data/lib/lithic/models/book_transfer_retry_params.rb +26 -0
  9. data/lib/lithic/models/{asa_request_webhook_event.rb → card_authorization_approval_request_webhook_event.rb} +151 -129
  10. data/lib/lithic/models/external_payment_create_params.rb +15 -1
  11. data/lib/lithic/models/financial_account.rb +33 -25
  12. data/lib/lithic/models/financial_account_update_status_params.rb +9 -1
  13. data/lib/lithic/models/financial_accounts/loan_tape.rb +52 -3
  14. data/lib/lithic/models/management_operation_create_params.rb +6 -1
  15. data/lib/lithic/models/parsed_webhook_event.rb +3 -4
  16. data/lib/lithic/models/payment.rb +10 -1
  17. data/lib/lithic/models/three_ds_authentication_approval_request_webhook_event.rb +17 -0
  18. data/lib/lithic/models/transaction.rb +2 -0
  19. data/lib/lithic/models/transfer_limit_list_params.rb +22 -0
  20. data/lib/lithic/models/transfer_limits_response.rb +274 -0
  21. data/lib/lithic/models.rb +12 -6
  22. data/lib/lithic/resources/book_transfers.rb +27 -0
  23. data/lib/lithic/resources/cards.rb +1 -5
  24. data/lib/lithic/resources/external_payments.rb +13 -1
  25. data/lib/lithic/resources/financial_accounts.rb +3 -1
  26. data/lib/lithic/resources/management_operations.rb +4 -1
  27. data/lib/lithic/resources/transfer_limits.rb +37 -0
  28. data/lib/lithic/resources/webhooks.rb +3 -2
  29. data/lib/lithic/version.rb +1 -1
  30. data/lib/lithic.rb +6 -7
  31. data/rbi/lithic/client.rbi +3 -3
  32. data/rbi/lithic/models/auth_rules/conditional_tokenization_action_parameters.rbi +11 -0
  33. data/rbi/lithic/models/book_transfer_retry_params.rbi +42 -0
  34. data/rbi/lithic/models/{asa_request_webhook_event.rbi → card_authorization_approval_request_webhook_event.rbi} +394 -256
  35. data/rbi/lithic/models/external_payment_create_params.rbi +4 -0
  36. data/rbi/lithic/models/financial_account.rbi +62 -54
  37. data/rbi/lithic/models/financial_account_update_status_params.rbi +11 -0
  38. data/rbi/lithic/models/financial_accounts/loan_tape.rbi +93 -4
  39. data/rbi/lithic/models/management_operation_create_params.rbi +4 -0
  40. data/rbi/lithic/models/parsed_webhook_event.rbi +2 -2
  41. data/rbi/lithic/models/payment.rbi +13 -3
  42. data/rbi/lithic/models/three_ds_authentication_approval_request_webhook_event.rbi +27 -0
  43. data/rbi/lithic/models/transaction.rbi +10 -0
  44. data/rbi/lithic/models/transfer_limit_list_params.rbi +43 -0
  45. data/rbi/lithic/models/transfer_limits_response.rbi +604 -0
  46. data/rbi/lithic/models.rbi +12 -6
  47. data/rbi/lithic/resources/book_transfers.rbi +18 -0
  48. data/rbi/lithic/resources/cards.rbi +1 -4
  49. data/rbi/lithic/resources/external_payments.rbi +2 -0
  50. data/rbi/lithic/resources/financial_accounts.rbi +3 -0
  51. data/rbi/lithic/resources/management_operations.rbi +2 -0
  52. data/rbi/lithic/resources/transfer_limits.rbi +28 -0
  53. data/rbi/lithic/resources/webhooks.rbi +2 -124
  54. data/sig/lithic/client.rbs +2 -2
  55. data/sig/lithic/models/auth_rules/conditional_tokenization_action_parameters.rbs +2 -0
  56. data/sig/lithic/models/book_transfer_retry_params.rbs +23 -0
  57. data/sig/lithic/models/{asa_request_webhook_event.rbs → card_authorization_approval_request_webhook_event.rbs} +161 -156
  58. data/sig/lithic/models/financial_account.rbs +32 -27
  59. data/sig/lithic/models/financial_account_update_status_params.rbs +8 -1
  60. data/sig/lithic/models/financial_accounts/loan_tape.rbs +46 -4
  61. data/sig/lithic/models/parsed_webhook_event.rbs +2 -2
  62. data/sig/lithic/models/payment.rbs +10 -3
  63. data/sig/lithic/models/three_ds_authentication_approval_request_webhook_event.rbs +22 -0
  64. data/sig/lithic/models/transaction.rbs +4 -0
  65. data/sig/lithic/models/transfer_limit_list_params.rbs +22 -0
  66. data/sig/lithic/models/transfer_limits_response.rbs +232 -0
  67. data/sig/lithic/models.rbs +10 -6
  68. data/sig/lithic/resources/book_transfers.rbs +6 -0
  69. data/sig/lithic/resources/cards.rbs +0 -2
  70. data/sig/lithic/resources/financial_accounts.rbs +1 -0
  71. data/sig/lithic/resources/transfer_limits.rbs +12 -0
  72. data/sig/lithic/resources/webhooks.rbs +2 -116
  73. metadata +20 -23
  74. data/lib/lithic/models/aggregate_balance.rb +0 -113
  75. data/lib/lithic/models/aggregate_balance_list_params.rb +0 -35
  76. data/lib/lithic/models/cards/aggregate_balance_list_params.rb +0 -32
  77. data/lib/lithic/models/cards/aggregate_balance_list_response.rb +0 -92
  78. data/lib/lithic/resources/aggregate_balances.rb +0 -38
  79. data/lib/lithic/resources/cards/aggregate_balances.rb +0 -41
  80. data/rbi/lithic/models/aggregate_balance.rbi +0 -164
  81. data/rbi/lithic/models/aggregate_balance_list_params.rbi +0 -104
  82. data/rbi/lithic/models/cards/aggregate_balance_list_params.rbi +0 -62
  83. data/rbi/lithic/models/cards/aggregate_balance_list_response.rbi +0 -115
  84. data/rbi/lithic/resources/aggregate_balances.rbi +0 -28
  85. data/rbi/lithic/resources/cards/aggregate_balances.rbi +0 -35
  86. data/sig/lithic/models/aggregate_balance.rbs +0 -78
  87. data/sig/lithic/models/aggregate_balance_list_params.rbs +0 -43
  88. data/sig/lithic/models/cards/aggregate_balance_list_params.rbs +0 -34
  89. data/sig/lithic/models/cards/aggregate_balance_list_response.rbs +0 -62
  90. data/sig/lithic/resources/aggregate_balances.rbs +0 -12
  91. data/sig/lithic/resources/cards/aggregate_balances.rbs +0 -15
@@ -48,6 +48,7 @@ module Lithic
48
48
  String financial_account_token,
49
49
  status: Lithic::Models::FinancialAccountUpdateStatusParams::status,
50
50
  substatus: Lithic::Models::FinancialAccountUpdateStatusParams::substatus?,
51
+ ?user_defined_status: String,
51
52
  ?request_options: Lithic::request_opts
52
53
  ) -> Lithic::FinancialAccount
53
54
 
@@ -0,0 +1,12 @@
1
+ module Lithic
2
+ module Resources
3
+ class TransferLimits
4
+ def list: (
5
+ ?date: Date,
6
+ ?request_options: Lithic::request_opts
7
+ ) -> Lithic::Internal::SinglePage[Lithic::TransferLimitsResponse::Data]
8
+
9
+ def initialize: (client: Lithic::Client) -> void
10
+ end
11
+ end
12
+ end
@@ -5,123 +5,9 @@ module Lithic
5
5
  String payload,
6
6
  headers: Hash[String, String],
7
7
  ?secret: String?
8
- ) -> (Lithic::AccountHolderCreatedWebhookEvent
9
- | Lithic::ParsedWebhookEvent::KYBPayload
10
- | Lithic::ParsedWebhookEvent::KYCPayload
11
- | Lithic::ParsedWebhookEvent::LegacyPayload
12
- | Lithic::AccountHolderVerificationWebhookEvent
13
- | Lithic::AccountHolderDocumentUpdatedWebhookEvent
14
- | Lithic::AsaRequestWebhookEvent
15
- | Lithic::TokenizationDecisioningRequestWebhookEvent
16
- | Lithic::AuthRulesBacktestReportCreatedWebhookEvent
17
- | Lithic::BalanceUpdatedWebhookEvent
18
- | Lithic::BookTransferTransactionCreatedWebhookEvent
19
- | Lithic::BookTransferTransactionUpdatedWebhookEvent
20
- | Lithic::CardCreatedWebhookEvent
21
- | Lithic::CardConvertedWebhookEvent
22
- | Lithic::CardRenewedWebhookEvent
23
- | Lithic::CardReissuedWebhookEvent
24
- | Lithic::CardShippedWebhookEvent
25
- | Lithic::CardTransactionUpdatedWebhookEvent
26
- | Lithic::CardTransactionEnhancedDataCreatedWebhookEvent
27
- | Lithic::CardTransactionEnhancedDataUpdatedWebhookEvent
28
- | Lithic::DigitalWalletTokenizationApprovalRequestWebhookEvent
29
- | Lithic::DigitalWalletTokenizationResultWebhookEvent
30
- | Lithic::DigitalWalletTokenizationTwoFactorAuthenticationCodeWebhookEvent
31
- | Lithic::DigitalWalletTokenizationTwoFactorAuthenticationCodeSentWebhookEvent
32
- | Lithic::DigitalWalletTokenizationUpdatedWebhookEvent
33
- | Lithic::DisputeUpdatedWebhookEvent
34
- | Lithic::DisputeEvidenceUploadFailedWebhookEvent
35
- | Lithic::ExternalBankAccountCreatedWebhookEvent
36
- | Lithic::ExternalBankAccountUpdatedWebhookEvent
37
- | Lithic::ExternalPaymentCreatedWebhookEvent
38
- | Lithic::ExternalPaymentUpdatedWebhookEvent
39
- | Lithic::FinancialAccountCreatedWebhookEvent
40
- | Lithic::FinancialAccountUpdatedWebhookEvent
41
- | Lithic::FundingEventCreatedWebhookEvent
42
- | Lithic::LoanTapeCreatedWebhookEvent
43
- | Lithic::LoanTapeUpdatedWebhookEvent
44
- | Lithic::ManagementOperationCreatedWebhookEvent
45
- | Lithic::ManagementOperationUpdatedWebhookEvent
46
- | Lithic::InternalTransactionCreatedWebhookEvent
47
- | Lithic::InternalTransactionUpdatedWebhookEvent
48
- | Lithic::NetworkTotalCreatedWebhookEvent
49
- | Lithic::NetworkTotalUpdatedWebhookEvent
50
- | Lithic::PaymentTransactionCreatedWebhookEvent
51
- | Lithic::PaymentTransactionUpdatedWebhookEvent
52
- | Lithic::SettlementReportUpdatedWebhookEvent
53
- | Lithic::StatementsCreatedWebhookEvent
54
- | Lithic::ThreeDSAuthenticationCreatedWebhookEvent
55
- | Lithic::ThreeDSAuthenticationUpdatedWebhookEvent
56
- | Lithic::ThreeDSAuthenticationChallengeWebhookEvent
57
- | Lithic::TokenizationApprovalRequestWebhookEvent
58
- | Lithic::TokenizationResultWebhookEvent
59
- | Lithic::TokenizationTwoFactorAuthenticationCodeWebhookEvent
60
- | Lithic::TokenizationTwoFactorAuthenticationCodeSentWebhookEvent
61
- | Lithic::TokenizationUpdatedWebhookEvent
62
- | Lithic::ThreeDSAuthentication
63
- | Lithic::DisputeTransactionCreatedWebhookEvent
64
- | Lithic::DisputeTransactionUpdatedWebhookEvent)
8
+ ) -> Lithic::Models::parsed_webhook_event
65
9
 
66
- def parse_unsafe: (
67
- String payload
68
- ) -> (Lithic::AccountHolderCreatedWebhookEvent
69
- | Lithic::ParsedWebhookEvent::KYBPayload
70
- | Lithic::ParsedWebhookEvent::KYCPayload
71
- | Lithic::ParsedWebhookEvent::LegacyPayload
72
- | Lithic::AccountHolderVerificationWebhookEvent
73
- | Lithic::AccountHolderDocumentUpdatedWebhookEvent
74
- | Lithic::AsaRequestWebhookEvent
75
- | Lithic::TokenizationDecisioningRequestWebhookEvent
76
- | Lithic::AuthRulesBacktestReportCreatedWebhookEvent
77
- | Lithic::BalanceUpdatedWebhookEvent
78
- | Lithic::BookTransferTransactionCreatedWebhookEvent
79
- | Lithic::BookTransferTransactionUpdatedWebhookEvent
80
- | Lithic::CardCreatedWebhookEvent
81
- | Lithic::CardConvertedWebhookEvent
82
- | Lithic::CardRenewedWebhookEvent
83
- | Lithic::CardReissuedWebhookEvent
84
- | Lithic::CardShippedWebhookEvent
85
- | Lithic::CardTransactionUpdatedWebhookEvent
86
- | Lithic::CardTransactionEnhancedDataCreatedWebhookEvent
87
- | Lithic::CardTransactionEnhancedDataUpdatedWebhookEvent
88
- | Lithic::DigitalWalletTokenizationApprovalRequestWebhookEvent
89
- | Lithic::DigitalWalletTokenizationResultWebhookEvent
90
- | Lithic::DigitalWalletTokenizationTwoFactorAuthenticationCodeWebhookEvent
91
- | Lithic::DigitalWalletTokenizationTwoFactorAuthenticationCodeSentWebhookEvent
92
- | Lithic::DigitalWalletTokenizationUpdatedWebhookEvent
93
- | Lithic::DisputeUpdatedWebhookEvent
94
- | Lithic::DisputeEvidenceUploadFailedWebhookEvent
95
- | Lithic::ExternalBankAccountCreatedWebhookEvent
96
- | Lithic::ExternalBankAccountUpdatedWebhookEvent
97
- | Lithic::ExternalPaymentCreatedWebhookEvent
98
- | Lithic::ExternalPaymentUpdatedWebhookEvent
99
- | Lithic::FinancialAccountCreatedWebhookEvent
100
- | Lithic::FinancialAccountUpdatedWebhookEvent
101
- | Lithic::FundingEventCreatedWebhookEvent
102
- | Lithic::LoanTapeCreatedWebhookEvent
103
- | Lithic::LoanTapeUpdatedWebhookEvent
104
- | Lithic::ManagementOperationCreatedWebhookEvent
105
- | Lithic::ManagementOperationUpdatedWebhookEvent
106
- | Lithic::InternalTransactionCreatedWebhookEvent
107
- | Lithic::InternalTransactionUpdatedWebhookEvent
108
- | Lithic::NetworkTotalCreatedWebhookEvent
109
- | Lithic::NetworkTotalUpdatedWebhookEvent
110
- | Lithic::PaymentTransactionCreatedWebhookEvent
111
- | Lithic::PaymentTransactionUpdatedWebhookEvent
112
- | Lithic::SettlementReportUpdatedWebhookEvent
113
- | Lithic::StatementsCreatedWebhookEvent
114
- | Lithic::ThreeDSAuthenticationCreatedWebhookEvent
115
- | Lithic::ThreeDSAuthenticationUpdatedWebhookEvent
116
- | Lithic::ThreeDSAuthenticationChallengeWebhookEvent
117
- | Lithic::TokenizationApprovalRequestWebhookEvent
118
- | Lithic::TokenizationResultWebhookEvent
119
- | Lithic::TokenizationTwoFactorAuthenticationCodeWebhookEvent
120
- | Lithic::TokenizationTwoFactorAuthenticationCodeSentWebhookEvent
121
- | Lithic::TokenizationUpdatedWebhookEvent
122
- | Lithic::ThreeDSAuthentication
123
- | Lithic::DisputeTransactionCreatedWebhookEvent
124
- | Lithic::DisputeTransactionUpdatedWebhookEvent)
10
+ def parse_unsafe: (String payload) -> Lithic::Models::parsed_webhook_event
125
11
 
126
12
  def verify_signature: (
127
13
  payload: String,
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lithic
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lithic
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-12-10 00:00:00.000000000 Z
11
+ date: 2026-01-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: connection_pool
@@ -88,10 +88,7 @@ files:
88
88
  - lib/lithic/models/account_update_params.rb
89
89
  - lib/lithic/models/address.rb
90
90
  - lib/lithic/models/address_update.rb
91
- - lib/lithic/models/aggregate_balance.rb
92
- - lib/lithic/models/aggregate_balance_list_params.rb
93
91
  - lib/lithic/models/api_status.rb
94
- - lib/lithic/models/asa_request_webhook_event.rb
95
92
  - lib/lithic/models/auth_rules/auth_rule.rb
96
93
  - lib/lithic/models/auth_rules/auth_rule_condition.rb
97
94
  - lib/lithic/models/auth_rules/conditional_3ds_action_parameters.rb
@@ -133,10 +130,12 @@ files:
133
130
  - lib/lithic/models/book_transfer_list_params.rb
134
131
  - lib/lithic/models/book_transfer_response.rb
135
132
  - lib/lithic/models/book_transfer_retrieve_params.rb
133
+ - lib/lithic/models/book_transfer_retry_params.rb
136
134
  - lib/lithic/models/book_transfer_reverse_params.rb
137
135
  - lib/lithic/models/book_transfer_transaction_created_webhook_event.rb
138
136
  - lib/lithic/models/book_transfer_transaction_updated_webhook_event.rb
139
137
  - lib/lithic/models/card.rb
138
+ - lib/lithic/models/card_authorization_approval_request_webhook_event.rb
140
139
  - lib/lithic/models/card_bulk_order.rb
141
140
  - lib/lithic/models/card_bulk_order_create_params.rb
142
141
  - lib/lithic/models/card_bulk_order_list_params.rb
@@ -170,8 +169,6 @@ files:
170
169
  - lib/lithic/models/card_web_provision_params.rb
171
170
  - lib/lithic/models/card_web_provision_response.rb
172
171
  - lib/lithic/models/cardholder_authentication.rb
173
- - lib/lithic/models/cards/aggregate_balance_list_params.rb
174
- - lib/lithic/models/cards/aggregate_balance_list_response.rb
175
172
  - lib/lithic/models/cards/balance_list_params.rb
176
173
  - lib/lithic/models/cards/financial_transaction_list_params.rb
177
174
  - lib/lithic/models/cards/financial_transaction_retrieve_params.rb
@@ -375,6 +372,7 @@ files:
375
372
  - lib/lithic/models/three_ds/decisioning_retrieve_secret_response.rb
376
373
  - lib/lithic/models/three_ds/decisioning_rotate_secret_params.rb
377
374
  - lib/lithic/models/three_ds_authentication.rb
375
+ - lib/lithic/models/three_ds_authentication_approval_request_webhook_event.rb
378
376
  - lib/lithic/models/three_ds_authentication_challenge_webhook_event.rb
379
377
  - lib/lithic/models/three_ds_authentication_created_webhook_event.rb
380
378
  - lib/lithic/models/three_ds_authentication_updated_webhook_event.rb
@@ -426,6 +424,8 @@ files:
426
424
  - lib/lithic/models/transactions/events/enhanced_data.rb
427
425
  - lib/lithic/models/transfer.rb
428
426
  - lib/lithic/models/transfer_create_params.rb
427
+ - lib/lithic/models/transfer_limit_list_params.rb
428
+ - lib/lithic/models/transfer_limits_response.rb
429
429
  - lib/lithic/models/verification_method.rb
430
430
  - lib/lithic/models/wallet_decisioning_info.rb
431
431
  - lib/lithic/models/webhook_parsed_params.rb
@@ -434,7 +434,6 @@ files:
434
434
  - lib/lithic/resources/account_activity.rb
435
435
  - lib/lithic/resources/account_holders.rb
436
436
  - lib/lithic/resources/accounts.rb
437
- - lib/lithic/resources/aggregate_balances.rb
438
437
  - lib/lithic/resources/auth_rules.rb
439
438
  - lib/lithic/resources/auth_rules/v2.rb
440
439
  - lib/lithic/resources/auth_rules/v2/backtests.rb
@@ -444,7 +443,6 @@ files:
444
443
  - lib/lithic/resources/card_bulk_orders.rb
445
444
  - lib/lithic/resources/card_programs.rb
446
445
  - lib/lithic/resources/cards.rb
447
- - lib/lithic/resources/cards/aggregate_balances.rb
448
446
  - lib/lithic/resources/cards/balances.rb
449
447
  - lib/lithic/resources/cards/financial_transactions.rb
450
448
  - lib/lithic/resources/credit_products.rb
@@ -486,6 +484,7 @@ files:
486
484
  - lib/lithic/resources/transactions/enhanced_commercial_data.rb
487
485
  - lib/lithic/resources/transactions/events.rb
488
486
  - lib/lithic/resources/transactions/events/enhanced_commercial_data.rb
487
+ - lib/lithic/resources/transfer_limits.rb
489
488
  - lib/lithic/resources/transfers.rb
490
489
  - lib/lithic/resources/webhooks.rb
491
490
  - lib/lithic/version.rb
@@ -542,10 +541,7 @@ files:
542
541
  - rbi/lithic/models/account_update_params.rbi
543
542
  - rbi/lithic/models/address.rbi
544
543
  - rbi/lithic/models/address_update.rbi
545
- - rbi/lithic/models/aggregate_balance.rbi
546
- - rbi/lithic/models/aggregate_balance_list_params.rbi
547
544
  - rbi/lithic/models/api_status.rbi
548
- - rbi/lithic/models/asa_request_webhook_event.rbi
549
545
  - rbi/lithic/models/auth_rules/auth_rule.rbi
550
546
  - rbi/lithic/models/auth_rules/auth_rule_condition.rbi
551
547
  - rbi/lithic/models/auth_rules/conditional_3ds_action_parameters.rbi
@@ -587,10 +583,12 @@ files:
587
583
  - rbi/lithic/models/book_transfer_list_params.rbi
588
584
  - rbi/lithic/models/book_transfer_response.rbi
589
585
  - rbi/lithic/models/book_transfer_retrieve_params.rbi
586
+ - rbi/lithic/models/book_transfer_retry_params.rbi
590
587
  - rbi/lithic/models/book_transfer_reverse_params.rbi
591
588
  - rbi/lithic/models/book_transfer_transaction_created_webhook_event.rbi
592
589
  - rbi/lithic/models/book_transfer_transaction_updated_webhook_event.rbi
593
590
  - rbi/lithic/models/card.rbi
591
+ - rbi/lithic/models/card_authorization_approval_request_webhook_event.rbi
594
592
  - rbi/lithic/models/card_bulk_order.rbi
595
593
  - rbi/lithic/models/card_bulk_order_create_params.rbi
596
594
  - rbi/lithic/models/card_bulk_order_list_params.rbi
@@ -624,8 +622,6 @@ files:
624
622
  - rbi/lithic/models/card_web_provision_params.rbi
625
623
  - rbi/lithic/models/card_web_provision_response.rbi
626
624
  - rbi/lithic/models/cardholder_authentication.rbi
627
- - rbi/lithic/models/cards/aggregate_balance_list_params.rbi
628
- - rbi/lithic/models/cards/aggregate_balance_list_response.rbi
629
625
  - rbi/lithic/models/cards/balance_list_params.rbi
630
626
  - rbi/lithic/models/cards/financial_transaction_list_params.rbi
631
627
  - rbi/lithic/models/cards/financial_transaction_retrieve_params.rbi
@@ -829,6 +825,7 @@ files:
829
825
  - rbi/lithic/models/three_ds/decisioning_retrieve_secret_response.rbi
830
826
  - rbi/lithic/models/three_ds/decisioning_rotate_secret_params.rbi
831
827
  - rbi/lithic/models/three_ds_authentication.rbi
828
+ - rbi/lithic/models/three_ds_authentication_approval_request_webhook_event.rbi
832
829
  - rbi/lithic/models/three_ds_authentication_challenge_webhook_event.rbi
833
830
  - rbi/lithic/models/three_ds_authentication_created_webhook_event.rbi
834
831
  - rbi/lithic/models/three_ds_authentication_updated_webhook_event.rbi
@@ -880,6 +877,8 @@ files:
880
877
  - rbi/lithic/models/transactions/events/enhanced_data.rbi
881
878
  - rbi/lithic/models/transfer.rbi
882
879
  - rbi/lithic/models/transfer_create_params.rbi
880
+ - rbi/lithic/models/transfer_limit_list_params.rbi
881
+ - rbi/lithic/models/transfer_limits_response.rbi
883
882
  - rbi/lithic/models/verification_method.rbi
884
883
  - rbi/lithic/models/wallet_decisioning_info.rbi
885
884
  - rbi/lithic/models/webhook_parsed_params.rbi
@@ -888,7 +887,6 @@ files:
888
887
  - rbi/lithic/resources/account_activity.rbi
889
888
  - rbi/lithic/resources/account_holders.rbi
890
889
  - rbi/lithic/resources/accounts.rbi
891
- - rbi/lithic/resources/aggregate_balances.rbi
892
890
  - rbi/lithic/resources/auth_rules.rbi
893
891
  - rbi/lithic/resources/auth_rules/v2.rbi
894
892
  - rbi/lithic/resources/auth_rules/v2/backtests.rbi
@@ -898,7 +896,6 @@ files:
898
896
  - rbi/lithic/resources/card_bulk_orders.rbi
899
897
  - rbi/lithic/resources/card_programs.rbi
900
898
  - rbi/lithic/resources/cards.rbi
901
- - rbi/lithic/resources/cards/aggregate_balances.rbi
902
899
  - rbi/lithic/resources/cards/balances.rbi
903
900
  - rbi/lithic/resources/cards/financial_transactions.rbi
904
901
  - rbi/lithic/resources/credit_products.rbi
@@ -940,6 +937,7 @@ files:
940
937
  - rbi/lithic/resources/transactions/enhanced_commercial_data.rbi
941
938
  - rbi/lithic/resources/transactions/events.rbi
942
939
  - rbi/lithic/resources/transactions/events/enhanced_commercial_data.rbi
940
+ - rbi/lithic/resources/transfer_limits.rbi
943
941
  - rbi/lithic/resources/transfers.rbi
944
942
  - rbi/lithic/resources/webhooks.rbi
945
943
  - rbi/lithic/version.rbi
@@ -995,10 +993,7 @@ files:
995
993
  - sig/lithic/models/account_update_params.rbs
996
994
  - sig/lithic/models/address.rbs
997
995
  - sig/lithic/models/address_update.rbs
998
- - sig/lithic/models/aggregate_balance.rbs
999
- - sig/lithic/models/aggregate_balance_list_params.rbs
1000
996
  - sig/lithic/models/api_status.rbs
1001
- - sig/lithic/models/asa_request_webhook_event.rbs
1002
997
  - sig/lithic/models/auth_rules/auth_rule.rbs
1003
998
  - sig/lithic/models/auth_rules/auth_rule_condition.rbs
1004
999
  - sig/lithic/models/auth_rules/conditional_3ds_action_parameters.rbs
@@ -1040,10 +1035,12 @@ files:
1040
1035
  - sig/lithic/models/book_transfer_list_params.rbs
1041
1036
  - sig/lithic/models/book_transfer_response.rbs
1042
1037
  - sig/lithic/models/book_transfer_retrieve_params.rbs
1038
+ - sig/lithic/models/book_transfer_retry_params.rbs
1043
1039
  - sig/lithic/models/book_transfer_reverse_params.rbs
1044
1040
  - sig/lithic/models/book_transfer_transaction_created_webhook_event.rbs
1045
1041
  - sig/lithic/models/book_transfer_transaction_updated_webhook_event.rbs
1046
1042
  - sig/lithic/models/card.rbs
1043
+ - sig/lithic/models/card_authorization_approval_request_webhook_event.rbs
1047
1044
  - sig/lithic/models/card_bulk_order.rbs
1048
1045
  - sig/lithic/models/card_bulk_order_create_params.rbs
1049
1046
  - sig/lithic/models/card_bulk_order_list_params.rbs
@@ -1077,8 +1074,6 @@ files:
1077
1074
  - sig/lithic/models/card_web_provision_params.rbs
1078
1075
  - sig/lithic/models/card_web_provision_response.rbs
1079
1076
  - sig/lithic/models/cardholder_authentication.rbs
1080
- - sig/lithic/models/cards/aggregate_balance_list_params.rbs
1081
- - sig/lithic/models/cards/aggregate_balance_list_response.rbs
1082
1077
  - sig/lithic/models/cards/balance_list_params.rbs
1083
1078
  - sig/lithic/models/cards/financial_transaction_list_params.rbs
1084
1079
  - sig/lithic/models/cards/financial_transaction_retrieve_params.rbs
@@ -1282,6 +1277,7 @@ files:
1282
1277
  - sig/lithic/models/three_ds/decisioning_retrieve_secret_response.rbs
1283
1278
  - sig/lithic/models/three_ds/decisioning_rotate_secret_params.rbs
1284
1279
  - sig/lithic/models/three_ds_authentication.rbs
1280
+ - sig/lithic/models/three_ds_authentication_approval_request_webhook_event.rbs
1285
1281
  - sig/lithic/models/three_ds_authentication_challenge_webhook_event.rbs
1286
1282
  - sig/lithic/models/three_ds_authentication_created_webhook_event.rbs
1287
1283
  - sig/lithic/models/three_ds_authentication_updated_webhook_event.rbs
@@ -1333,6 +1329,8 @@ files:
1333
1329
  - sig/lithic/models/transactions/events/enhanced_data.rbs
1334
1330
  - sig/lithic/models/transfer.rbs
1335
1331
  - sig/lithic/models/transfer_create_params.rbs
1332
+ - sig/lithic/models/transfer_limit_list_params.rbs
1333
+ - sig/lithic/models/transfer_limits_response.rbs
1336
1334
  - sig/lithic/models/verification_method.rbs
1337
1335
  - sig/lithic/models/wallet_decisioning_info.rbs
1338
1336
  - sig/lithic/models/webhook_parsed_params.rbs
@@ -1341,7 +1339,6 @@ files:
1341
1339
  - sig/lithic/resources/account_activity.rbs
1342
1340
  - sig/lithic/resources/account_holders.rbs
1343
1341
  - sig/lithic/resources/accounts.rbs
1344
- - sig/lithic/resources/aggregate_balances.rbs
1345
1342
  - sig/lithic/resources/auth_rules.rbs
1346
1343
  - sig/lithic/resources/auth_rules/v2.rbs
1347
1344
  - sig/lithic/resources/auth_rules/v2/backtests.rbs
@@ -1351,7 +1348,6 @@ files:
1351
1348
  - sig/lithic/resources/card_bulk_orders.rbs
1352
1349
  - sig/lithic/resources/card_programs.rbs
1353
1350
  - sig/lithic/resources/cards.rbs
1354
- - sig/lithic/resources/cards/aggregate_balances.rbs
1355
1351
  - sig/lithic/resources/cards/balances.rbs
1356
1352
  - sig/lithic/resources/cards/financial_transactions.rbs
1357
1353
  - sig/lithic/resources/credit_products.rbs
@@ -1393,6 +1389,7 @@ files:
1393
1389
  - sig/lithic/resources/transactions/enhanced_commercial_data.rbs
1394
1390
  - sig/lithic/resources/transactions/events.rbs
1395
1391
  - sig/lithic/resources/transactions/events/enhanced_commercial_data.rbs
1392
+ - sig/lithic/resources/transfer_limits.rbs
1396
1393
  - sig/lithic/resources/transfers.rbs
1397
1394
  - sig/lithic/resources/webhooks.rbs
1398
1395
  - sig/lithic/version.rbs
@@ -1,113 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Lithic
4
- module Models
5
- # @see Lithic::Resources::AggregateBalances#list
6
- class AggregateBalance < Lithic::Internal::Type::BaseModel
7
- # @!attribute available_amount
8
- # Funds available for spend in the currency's smallest unit (e.g., cents for USD)
9
- #
10
- # @return [Integer]
11
- required :available_amount, Integer
12
-
13
- # @!attribute created
14
- # Date and time for when the balance was first created.
15
- #
16
- # @return [Time]
17
- required :created, Time
18
-
19
- # @!attribute currency
20
- # 3-character alphabetic ISO 4217 code for the local currency of the balance.
21
- #
22
- # @return [String]
23
- required :currency, String
24
-
25
- # @!attribute financial_account_type
26
- # Type of financial account
27
- #
28
- # @return [Symbol, Lithic::Models::AggregateBalance::FinancialAccountType]
29
- required :financial_account_type, enum: -> { Lithic::AggregateBalance::FinancialAccountType }
30
-
31
- # @!attribute last_financial_account_token
32
- # Globally unique identifier for the financial account that had its balance
33
- # updated most recently
34
- #
35
- # @return [String]
36
- required :last_financial_account_token, String
37
-
38
- # @!attribute last_transaction_event_token
39
- # Globally unique identifier for the last transaction event that impacted this
40
- # balance
41
- #
42
- # @return [String]
43
- required :last_transaction_event_token, String
44
-
45
- # @!attribute last_transaction_token
46
- # Globally unique identifier for the last transaction that impacted this balance
47
- #
48
- # @return [String]
49
- required :last_transaction_token, String
50
-
51
- # @!attribute pending_amount
52
- # Funds not available for spend due to card authorizations or pending ACH release.
53
- # Shown in the currency's smallest unit (e.g., cents for USD)
54
- #
55
- # @return [Integer]
56
- required :pending_amount, Integer
57
-
58
- # @!attribute total_amount
59
- # The sum of available and pending balance in the currency's smallest unit (e.g.,
60
- # cents for USD)
61
- #
62
- # @return [Integer]
63
- required :total_amount, Integer
64
-
65
- # @!attribute updated
66
- # Date and time for when the balance was last updated.
67
- #
68
- # @return [Time]
69
- required :updated, Time
70
-
71
- # @!method initialize(available_amount:, created:, currency:, financial_account_type:, last_financial_account_token:, last_transaction_event_token:, last_transaction_token:, pending_amount:, total_amount:, updated:)
72
- # Some parameter documentations has been truncated, see
73
- # {Lithic::Models::AggregateBalance} for more details.
74
- #
75
- # Aggregate Balance across all end-user accounts
76
- #
77
- # @param available_amount [Integer] Funds available for spend in the currency's smallest unit (e.g., cents for USD)
78
- #
79
- # @param created [Time] Date and time for when the balance was first created.
80
- #
81
- # @param currency [String] 3-character alphabetic ISO 4217 code for the local currency of the balance.
82
- #
83
- # @param financial_account_type [Symbol, Lithic::Models::AggregateBalance::FinancialAccountType] Type of financial account
84
- #
85
- # @param last_financial_account_token [String] Globally unique identifier for the financial account that had its balance update
86
- #
87
- # @param last_transaction_event_token [String] Globally unique identifier for the last transaction event that impacted this bal
88
- #
89
- # @param last_transaction_token [String] Globally unique identifier for the last transaction that impacted this balance
90
- #
91
- # @param pending_amount [Integer] Funds not available for spend due to card authorizations or pending ACH release.
92
- #
93
- # @param total_amount [Integer] The sum of available and pending balance in the currency's smallest unit (e.g.,
94
- #
95
- # @param updated [Time] Date and time for when the balance was last updated.
96
-
97
- # Type of financial account
98
- #
99
- # @see Lithic::Models::AggregateBalance#financial_account_type
100
- module FinancialAccountType
101
- extend Lithic::Internal::Type::Enum
102
-
103
- ISSUING = :ISSUING
104
- OPERATING = :OPERATING
105
- RESERVE = :RESERVE
106
- SECURITY = :SECURITY
107
-
108
- # @!method self.values
109
- # @return [Array<Symbol>]
110
- end
111
- end
112
- end
113
- end
@@ -1,35 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Lithic
4
- module Models
5
- # @see Lithic::Resources::AggregateBalances#list
6
- class AggregateBalanceListParams < Lithic::Internal::Type::BaseModel
7
- extend Lithic::Internal::Type::RequestParameters::Converter
8
- include Lithic::Internal::Type::RequestParameters
9
-
10
- # @!attribute financial_account_type
11
- # Get the aggregate balance for a given Financial Account type.
12
- #
13
- # @return [Symbol, Lithic::Models::AggregateBalanceListParams::FinancialAccountType, nil]
14
- optional :financial_account_type, enum: -> { Lithic::AggregateBalanceListParams::FinancialAccountType }
15
-
16
- # @!method initialize(financial_account_type: nil, request_options: {})
17
- # @param financial_account_type [Symbol, Lithic::Models::AggregateBalanceListParams::FinancialAccountType] Get the aggregate balance for a given Financial Account type.
18
- #
19
- # @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
20
-
21
- # Get the aggregate balance for a given Financial Account type.
22
- module FinancialAccountType
23
- extend Lithic::Internal::Type::Enum
24
-
25
- ISSUING = :ISSUING
26
- OPERATING = :OPERATING
27
- RESERVE = :RESERVE
28
- SECURITY = :SECURITY
29
-
30
- # @!method self.values
31
- # @return [Array<Symbol>]
32
- end
33
- end
34
- end
35
- end
@@ -1,32 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Lithic
4
- module Models
5
- module Cards
6
- # @see Lithic::Resources::Cards::AggregateBalances#list
7
- class AggregateBalanceListParams < Lithic::Internal::Type::BaseModel
8
- extend Lithic::Internal::Type::RequestParameters::Converter
9
- include Lithic::Internal::Type::RequestParameters
10
-
11
- # @!attribute account_token
12
- # Cardholder to retrieve aggregate balances for.
13
- #
14
- # @return [String, nil]
15
- optional :account_token, String
16
-
17
- # @!attribute business_account_token
18
- # Business to retrieve aggregate balances for.
19
- #
20
- # @return [String, nil]
21
- optional :business_account_token, String
22
-
23
- # @!method initialize(account_token: nil, business_account_token: nil, request_options: {})
24
- # @param account_token [String] Cardholder to retrieve aggregate balances for.
25
- #
26
- # @param business_account_token [String] Business to retrieve aggregate balances for.
27
- #
28
- # @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
29
- end
30
- end
31
- end
32
- end
@@ -1,92 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Lithic
4
- module Models
5
- module Cards
6
- # @see Lithic::Resources::Cards::AggregateBalances#list
7
- class AggregateBalanceListResponse < Lithic::Internal::Type::BaseModel
8
- # @!attribute available_amount
9
- # Funds available for spend in the currency's smallest unit (e.g., cents for USD)
10
- #
11
- # @return [Integer]
12
- required :available_amount, Integer
13
-
14
- # @!attribute created
15
- # Date and time for when the balance was first created.
16
- #
17
- # @return [Time]
18
- required :created, Time
19
-
20
- # @!attribute currency
21
- # 3-character alphabetic ISO 4217 code for the local currency of the balance.
22
- #
23
- # @return [String]
24
- required :currency, String
25
-
26
- # @!attribute last_card_token
27
- # Globally unique identifier for the card that had its balance updated most
28
- # recently
29
- #
30
- # @return [String]
31
- required :last_card_token, String
32
-
33
- # @!attribute last_transaction_event_token
34
- # Globally unique identifier for the last transaction event that impacted this
35
- # balance
36
- #
37
- # @return [String]
38
- required :last_transaction_event_token, String
39
-
40
- # @!attribute last_transaction_token
41
- # Globally unique identifier for the last transaction that impacted this balance
42
- #
43
- # @return [String]
44
- required :last_transaction_token, String
45
-
46
- # @!attribute pending_amount
47
- # Funds not available for spend due to card authorizations or pending ACH release.
48
- # Shown in the currency's smallest unit (e.g., cents for USD)
49
- #
50
- # @return [Integer]
51
- required :pending_amount, Integer
52
-
53
- # @!attribute total_amount
54
- # The sum of available and pending balance in the currency's smallest unit (e.g.,
55
- # cents for USD)
56
- #
57
- # @return [Integer]
58
- required :total_amount, Integer
59
-
60
- # @!attribute updated
61
- # Date and time for when the balance was last updated.
62
- #
63
- # @return [Time]
64
- required :updated, Time
65
-
66
- # @!method initialize(available_amount:, created:, currency:, last_card_token:, last_transaction_event_token:, last_transaction_token:, pending_amount:, total_amount:, updated:)
67
- # Some parameter documentations has been truncated, see
68
- # {Lithic::Models::Cards::AggregateBalanceListResponse} for more details.
69
- #
70
- # Card Aggregate Balance across all end-user accounts
71
- #
72
- # @param available_amount [Integer] Funds available for spend in the currency's smallest unit (e.g., cents for USD)
73
- #
74
- # @param created [Time] Date and time for when the balance was first created.
75
- #
76
- # @param currency [String] 3-character alphabetic ISO 4217 code for the local currency of the balance.
77
- #
78
- # @param last_card_token [String] Globally unique identifier for the card that had its balance updated most recent
79
- #
80
- # @param last_transaction_event_token [String] Globally unique identifier for the last transaction event that impacted this bal
81
- #
82
- # @param last_transaction_token [String] Globally unique identifier for the last transaction that impacted this balance
83
- #
84
- # @param pending_amount [Integer] Funds not available for spend due to card authorizations or pending ACH release.
85
- #
86
- # @param total_amount [Integer] The sum of available and pending balance in the currency's smallest unit (e.g.,
87
- #
88
- # @param updated [Time] Date and time for when the balance was last updated.
89
- end
90
- end
91
- end
92
- end