lithic 0.1.0.pre.alpha.55 → 0.1.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +53 -0
- data/README.md +1 -1
- data/lib/lithic/client.rb +12 -0
- data/lib/lithic/models/account_activity_list_params.rb +2 -0
- data/lib/lithic/models/account_activity_list_response.rb +62 -148
- data/lib/lithic/models/account_activity_retrieve_transaction_response.rb +62 -151
- data/lib/lithic/models/auth_rules/auth_rule.rb +208 -49
- data/lib/lithic/models/auth_rules/auth_rule_condition.rb +9 -52
- data/lib/lithic/models/auth_rules/conditional_3ds_action_parameters.rb +9 -52
- data/lib/lithic/models/auth_rules/conditional_ach_action_parameters.rb +260 -0
- data/lib/lithic/models/auth_rules/conditional_authorization_action_parameters.rb +9 -54
- data/lib/lithic/models/auth_rules/conditional_operation.rb +31 -0
- data/lib/lithic/models/auth_rules/conditional_tokenization_action_parameters.rb +271 -0
- data/lib/lithic/models/auth_rules/conditional_value.rb +30 -0
- data/lib/lithic/models/auth_rules/event_stream.rb +21 -0
- data/lib/lithic/models/auth_rules/v2_create_params.rb +14 -19
- data/lib/lithic/models/auth_rules/v2_draft_params.rb +7 -3
- data/lib/lithic/models/auth_rules/v2_list_params.rb +16 -16
- data/lib/lithic/models/book_transfer_response.rb +1 -0
- data/lib/lithic/models/card_bulk_order.rb +106 -0
- data/lib/lithic/models/card_bulk_order_create_params.rb +52 -0
- data/lib/lithic/models/card_bulk_order_list_params.rb +61 -0
- data/lib/lithic/models/card_bulk_order_retrieve_params.rb +14 -0
- data/lib/lithic/models/card_bulk_order_update_params.rb +32 -0
- data/lib/lithic/models/card_convert_physical_params.rb +3 -0
- data/lib/lithic/models/card_create_params.rb +14 -1
- data/lib/lithic/models/card_program.rb +10 -10
- data/lib/lithic/models/card_reissue_params.rb +3 -0
- data/lib/lithic/models/card_renew_params.rb +3 -0
- data/lib/lithic/models/card_web_provision_params.rb +32 -1
- data/lib/lithic/models/card_web_provision_response.rb +98 -60
- data/lib/lithic/models/cardholder_authentication.rb +132 -0
- data/lib/lithic/models/category_details.rb +27 -0
- data/lib/lithic/models/device.rb +37 -0
- data/lib/lithic/models/digital_wallet_token_metadata.rb +141 -0
- data/lib/lithic/models/dispute.rb +242 -510
- data/lib/lithic/models/dispute_v2.rb +555 -0
- data/lib/lithic/models/disputes_v2_list_params.rb +84 -0
- data/lib/lithic/models/disputes_v2_retrieve_params.rb +14 -0
- data/lib/lithic/models/{external_bank_account_retry_prenote_response.rb → external_bank_account.rb} +32 -33
- data/lib/lithic/models/external_bank_account_address.rb +2 -2
- data/lib/lithic/models/external_bank_account_create_response.rb +18 -18
- data/lib/lithic/models/external_bank_account_list_response.rb +18 -18
- data/lib/lithic/models/external_bank_account_retrieve_response.rb +18 -18
- data/lib/lithic/models/external_bank_account_retry_micro_deposits_response.rb +18 -18
- data/lib/lithic/models/external_bank_account_unpause_params.rb +14 -0
- data/lib/lithic/models/external_bank_account_update_response.rb +18 -18
- data/lib/lithic/models/external_bank_accounts/micro_deposit_create_response.rb +18 -18
- data/lib/lithic/models/external_payment.rb +15 -2
- data/lib/lithic/models/external_payment_create_params.rb +2 -0
- data/lib/lithic/models/external_payment_list_params.rb +3 -0
- data/lib/lithic/models/financial_account.rb +4 -3
- data/lib/lithic/models/financial_account_balance.rb +112 -0
- data/lib/lithic/models/financial_accounts/category_balances.rb +29 -0
- data/lib/lithic/models/financial_accounts/loan_tape.rb +35 -520
- data/lib/lithic/models/financial_accounts/statement.rb +73 -275
- data/lib/lithic/models/financial_accounts/statements/statement_line_items.rb +18 -0
- data/lib/lithic/models/financial_event.rb +164 -0
- data/lib/lithic/models/financial_transaction.rb +3 -146
- data/lib/lithic/models/{funding_event_retrieve_response.rb → funding_event.rb} +9 -10
- data/lib/lithic/models/internal_transaction.rb +166 -0
- data/lib/lithic/models/management_operation_create_params.rb +6 -0
- data/lib/lithic/models/management_operation_list_params.rb +1 -0
- data/lib/lithic/models/management_operation_transaction.rb +11 -4
- data/lib/lithic/models/merchant.rb +70 -0
- data/lib/lithic/models/network_total.rb +169 -0
- data/lib/lithic/models/non_pci_card.rb +10 -1
- data/lib/lithic/models/payment.rb +18 -6
- data/lib/lithic/models/payment_create_params.rb +10 -1
- data/lib/lithic/models/payment_return_params.rb +62 -0
- data/lib/lithic/models/statement_totals.rb +100 -0
- data/lib/lithic/models/three_ds_authentication.rb +1259 -0
- data/lib/lithic/models/token_info.rb +42 -0
- data/lib/lithic/models/tokenization.rb +9 -111
- data/lib/lithic/models/tokenization_decline_reason.rb +27 -0
- data/lib/lithic/models/tokenization_rule_result.rb +61 -0
- data/lib/lithic/models/tokenization_tfa_reason.rb +29 -0
- data/lib/lithic/models/transaction.rb +9 -243
- data/lib/lithic/models/transactions/events/enhanced_data.rb +49 -40
- data/lib/lithic/models/transfer.rb +3 -146
- data/lib/lithic/models/wallet_decisioning_info.rb +44 -0
- data/lib/lithic/models.rb +56 -0
- data/lib/lithic/resources/auth_rules/v2.rb +19 -17
- data/lib/lithic/resources/card_bulk_orders.rb +127 -0
- data/lib/lithic/resources/cards/balances.rb +2 -2
- data/lib/lithic/resources/cards.rb +14 -3
- data/lib/lithic/resources/disputes.rb +10 -10
- data/lib/lithic/resources/disputes_v2.rb +74 -0
- data/lib/lithic/resources/external_bank_accounts.rb +21 -2
- data/lib/lithic/resources/financial_accounts/balances.rb +2 -2
- data/lib/lithic/resources/funding_events.rb +4 -4
- data/lib/lithic/resources/internal_transaction.rb +14 -0
- data/lib/lithic/resources/payments.rb +48 -0
- data/lib/lithic/resources/reports/settlement/network_totals.rb +4 -4
- data/lib/lithic/resources/three_ds/authentication.rb +2 -2
- data/lib/lithic/resources/tokenizations.rb +4 -4
- data/lib/lithic/version.rb +1 -1
- data/lib/lithic.rb +38 -21
- data/manifest.yaml +1 -0
- data/rbi/lithic/client.rbi +9 -0
- data/rbi/lithic/models/account_activity_list_params.rbi +10 -0
- data/rbi/lithic/models/account_activity_list_response.rbi +131 -544
- data/rbi/lithic/models/account_activity_retrieve_transaction_response.rbi +131 -544
- data/rbi/lithic/models/auth_rules/auth_rule.rbi +339 -80
- data/rbi/lithic/models/auth_rules/auth_rule_condition.rbi +13 -139
- data/rbi/lithic/models/auth_rules/conditional_3ds_action_parameters.rbi +13 -153
- data/rbi/lithic/models/auth_rules/conditional_ach_action_parameters.rbi +789 -0
- data/rbi/lithic/models/auth_rules/conditional_authorization_action_parameters.rbi +13 -153
- data/rbi/lithic/models/auth_rules/conditional_operation.rbi +99 -0
- data/rbi/lithic/models/auth_rules/conditional_tokenization_action_parameters.rbi +703 -0
- data/rbi/lithic/models/auth_rules/conditional_value.rbi +29 -0
- data/rbi/lithic/models/auth_rules/event_stream.rbi +44 -0
- data/rbi/lithic/models/auth_rules/v2_create_params.rbi +22 -52
- data/rbi/lithic/models/auth_rules/v2_draft_params.rbi +12 -4
- data/rbi/lithic/models/auth_rules/v2_list_params.rbi +27 -44
- data/rbi/lithic/models/book_transfer_response.rbi +2 -0
- data/rbi/lithic/models/card_bulk_order.rbi +141 -0
- data/rbi/lithic/models/card_bulk_order_create_params.rbi +92 -0
- data/rbi/lithic/models/card_bulk_order_list_params.rbi +98 -0
- data/rbi/lithic/models/card_bulk_order_retrieve_params.rbi +27 -0
- data/rbi/lithic/models/card_bulk_order_update_params.rbi +68 -0
- data/rbi/lithic/models/card_convert_physical_params.rbi +8 -0
- data/rbi/lithic/models/card_create_params.rbi +23 -0
- data/rbi/lithic/models/card_program.rbi +10 -13
- data/rbi/lithic/models/card_reissue_params.rbi +8 -0
- data/rbi/lithic/models/card_renew_params.rbi +8 -0
- data/rbi/lithic/models/card_web_provision_params.rbi +44 -0
- data/rbi/lithic/models/card_web_provision_response.rbi +182 -102
- data/rbi/lithic/models/cardholder_authentication.rbi +296 -0
- data/rbi/lithic/models/category_details.rbi +43 -0
- data/rbi/lithic/models/device.rbi +54 -0
- data/rbi/lithic/models/digital_wallet_token_metadata.rbi +290 -0
- data/rbi/lithic/models/dispute.rbi +395 -942
- data/rbi/lithic/models/dispute_v2.rbi +965 -0
- data/rbi/lithic/models/disputes_v2_list_params.rbi +129 -0
- data/rbi/lithic/models/disputes_v2_retrieve_params.rbi +27 -0
- data/rbi/lithic/models/{external_bank_account_retry_prenote_response.rbi → external_bank_account.rbi} +57 -126
- data/rbi/lithic/models/external_bank_account_address.rbi +3 -6
- data/rbi/lithic/models/external_bank_account_create_response.rbi +31 -51
- data/rbi/lithic/models/external_bank_account_list_response.rbi +31 -51
- data/rbi/lithic/models/external_bank_account_retrieve_response.rbi +31 -51
- data/rbi/lithic/models/external_bank_account_retry_micro_deposits_response.rbi +31 -51
- data/rbi/lithic/models/external_bank_account_unpause_params.rbi +30 -0
- data/rbi/lithic/models/external_bank_account_update_response.rbi +31 -51
- data/rbi/lithic/models/external_bank_accounts/micro_deposit_create_response.rbi +31 -51
- data/rbi/lithic/models/external_payment.rbi +62 -6
- data/rbi/lithic/models/external_payment_create_params.rbi +10 -0
- data/rbi/lithic/models/external_payment_list_params.rbi +15 -0
- data/rbi/lithic/models/financial_account.rbi +12 -4
- data/rbi/lithic/models/financial_account_balance.rbi +144 -0
- data/rbi/lithic/models/financial_accounts/category_balances.rbi +42 -0
- data/rbi/lithic/models/financial_accounts/loan_tape.rbi +47 -802
- data/rbi/lithic/models/financial_accounts/statement.rbi +118 -430
- data/rbi/lithic/models/financial_accounts/statements/statement_line_items.rbi +90 -0
- data/rbi/lithic/models/financial_event.rbi +469 -0
- data/rbi/lithic/models/financial_transaction.rbi +3 -509
- data/rbi/lithic/models/{funding_event_list_response.rbi → funding_event.rbi} +13 -35
- data/rbi/lithic/models/internal_transaction.rbi +277 -0
- data/rbi/lithic/models/management_operation_create_params.rbi +30 -0
- data/rbi/lithic/models/management_operation_list_params.rbi +5 -0
- data/rbi/lithic/models/management_operation_transaction.rbi +41 -12
- data/rbi/lithic/models/merchant.rbi +89 -0
- data/rbi/lithic/models/network_total.rbi +226 -0
- data/rbi/lithic/models/non_pci_card.rbi +10 -0
- data/rbi/lithic/models/payment.rbi +28 -7
- data/rbi/lithic/models/payment_create_params.rbi +15 -1
- data/rbi/lithic/models/payment_return_params.rbi +85 -0
- data/rbi/lithic/models/statement_totals.rbi +128 -0
- data/rbi/lithic/models/three_ds_authentication.rbi +2432 -0
- data/rbi/lithic/models/token_info.rbi +70 -0
- data/rbi/lithic/models/tokenization.rbi +12 -335
- data/rbi/lithic/models/tokenization_decline_reason.rbi +73 -0
- data/rbi/lithic/models/tokenization_rule_result.rbi +96 -0
- data/rbi/lithic/models/tokenization_tfa_reason.rbi +74 -0
- data/rbi/lithic/models/transaction.rbi +12 -500
- data/rbi/lithic/models/transactions/events/enhanced_data.rbi +74 -133
- data/rbi/lithic/models/transfer.rbi +4 -436
- data/rbi/lithic/models/wallet_decisioning_info.rbi +63 -0
- data/rbi/lithic/models.rbi +57 -0
- data/rbi/lithic/resources/auth_rules/v2.rbi +23 -18
- data/rbi/lithic/resources/card_bulk_orders.rbi +101 -0
- data/rbi/lithic/resources/cards/balances.rbi +1 -3
- data/rbi/lithic/resources/cards.rbi +22 -1
- data/rbi/lithic/resources/disputes.rbi +5 -7
- data/rbi/lithic/resources/disputes_v2.rbi +64 -0
- data/rbi/lithic/resources/external_bank_accounts.rbi +11 -1
- data/rbi/lithic/resources/financial_accounts/balances.rbi +1 -3
- data/rbi/lithic/resources/funding_events.rbi +2 -4
- data/rbi/lithic/resources/internal_transaction.rbi +12 -0
- data/rbi/lithic/resources/payments.rbi +46 -0
- data/rbi/lithic/resources/reports/settlement/network_totals.rbi +2 -8
- data/rbi/lithic/resources/three_ds/authentication.rbi +1 -1
- data/rbi/lithic/resources/tokenizations.rbi +2 -2
- data/sig/lithic/client.rbs +6 -0
- data/sig/lithic/models/account_activity_list_params.rbs +4 -0
- data/sig/lithic/models/account_activity_list_response.rbs +71 -221
- data/sig/lithic/models/account_activity_retrieve_transaction_response.rbs +71 -221
- data/sig/lithic/models/auth_rules/auth_rule.rbs +135 -36
- data/sig/lithic/models/auth_rules/auth_rule_condition.rbs +10 -61
- data/sig/lithic/models/auth_rules/conditional_3ds_action_parameters.rbs +10 -61
- data/sig/lithic/models/auth_rules/conditional_ach_action_parameters.rbs +293 -0
- data/sig/lithic/models/auth_rules/conditional_authorization_action_parameters.rbs +10 -61
- data/sig/lithic/models/auth_rules/conditional_operation.rbs +44 -0
- data/sig/lithic/models/auth_rules/conditional_tokenization_action_parameters.rbs +239 -0
- data/sig/lithic/models/auth_rules/conditional_value.rbs +15 -0
- data/sig/lithic/models/auth_rules/event_stream.rbs +24 -0
- data/sig/lithic/models/auth_rules/v2_create_params.rbs +8 -17
- data/sig/lithic/models/auth_rules/v2_draft_params.rbs +2 -0
- data/sig/lithic/models/auth_rules/v2_list_params.rbs +15 -17
- data/sig/lithic/models/book_transfer_response.rbs +3 -1
- data/sig/lithic/models/card_bulk_order.rbs +76 -0
- data/sig/lithic/models/card_bulk_order_create_params.rbs +46 -0
- data/sig/lithic/models/card_bulk_order_list_params.rbs +56 -0
- data/sig/lithic/models/card_bulk_order_retrieve_params.rbs +15 -0
- data/sig/lithic/models/card_bulk_order_update_params.rbs +34 -0
- data/sig/lithic/models/card_convert_physical_params.rbs +2 -0
- data/sig/lithic/models/card_create_params.rbs +9 -0
- data/sig/lithic/models/card_program.rbs +5 -7
- data/sig/lithic/models/card_reissue_params.rbs +2 -0
- data/sig/lithic/models/card_renew_params.rbs +2 -0
- data/sig/lithic/models/card_web_provision_params.rbs +26 -2
- data/sig/lithic/models/card_web_provision_response.rbs +81 -51
- data/sig/lithic/models/cardholder_authentication.rbs +98 -0
- data/sig/lithic/models/category_details.rbs +26 -0
- data/sig/lithic/models/device.rbs +21 -0
- data/sig/lithic/models/digital_wallet_token_metadata.rbs +119 -0
- data/sig/lithic/models/dispute.rbs +157 -417
- data/sig/lithic/models/dispute_v2.rbs +438 -0
- data/sig/lithic/models/disputes_v2_list_params.rbs +77 -0
- data/sig/lithic/models/disputes_v2_retrieve_params.rbs +15 -0
- data/sig/lithic/models/external_bank_account.rbs +162 -0
- data/sig/lithic/models/external_bank_account_address.rbs +4 -6
- data/sig/lithic/models/external_bank_account_create_response.rbs +36 -56
- data/sig/lithic/models/external_bank_account_list_response.rbs +36 -56
- data/sig/lithic/models/external_bank_account_retrieve_response.rbs +36 -56
- data/sig/lithic/models/external_bank_account_retry_micro_deposits_response.rbs +36 -56
- data/sig/lithic/models/external_bank_account_unpause_params.rbs +15 -0
- data/sig/lithic/models/external_bank_account_update_response.rbs +36 -56
- data/sig/lithic/models/external_bank_accounts/micro_deposit_create_response.rbs +36 -56
- data/sig/lithic/models/external_payment.rbs +35 -8
- data/sig/lithic/models/external_payment_create_params.rbs +8 -1
- data/sig/lithic/models/external_payment_list_params.rbs +11 -2
- data/sig/lithic/models/financial_account.rbs +4 -4
- data/sig/lithic/models/financial_account_balance.rbs +78 -0
- data/sig/lithic/models/financial_accounts/category_balances.rbs +24 -0
- data/sig/lithic/models/financial_accounts/loan_tape.rbs +48 -464
- data/sig/lithic/models/financial_accounts/statement.rbs +59 -244
- data/sig/lithic/models/financial_accounts/statements/statement_line_items.rbs +36 -0
- data/sig/lithic/models/financial_event.rbs +248 -0
- data/sig/lithic/models/financial_transaction.rbs +4 -217
- data/sig/lithic/models/{funding_event_list_response.rbs → funding_event.rbs} +11 -11
- data/sig/lithic/models/internal_transaction.rbs +165 -0
- data/sig/lithic/models/management_operation_create_params.rbs +12 -0
- data/sig/lithic/models/management_operation_list_params.rbs +3 -1
- data/sig/lithic/models/management_operation_transaction.rbs +23 -13
- data/sig/lithic/models/merchant.rbs +50 -0
- data/sig/lithic/models/network_total.rbs +125 -0
- data/sig/lithic/models/non_pci_card.rbs +5 -0
- data/sig/lithic/models/payment.rbs +18 -5
- data/sig/lithic/models/payment_create_params.rbs +7 -0
- data/sig/lithic/models/payment_return_params.rbs +46 -0
- data/sig/lithic/models/statement_totals.rbs +76 -0
- data/sig/lithic/models/three_ds_authentication.rbs +911 -0
- data/sig/lithic/models/token_info.rbs +36 -0
- data/sig/lithic/models/tokenization.rbs +18 -137
- data/sig/lithic/models/tokenization_decline_reason.rbs +38 -0
- data/sig/lithic/models/tokenization_rule_result.rbs +48 -0
- data/sig/lithic/models/tokenization_tfa_reason.rbs +42 -0
- data/sig/lithic/models/transaction.rbs +12 -191
- data/sig/lithic/models/transactions/events/enhanced_data.rbs +78 -124
- data/sig/lithic/models/transfer.rbs +6 -219
- data/sig/lithic/models/wallet_decisioning_info.rbs +35 -0
- data/sig/lithic/models.rbs +56 -0
- data/sig/lithic/resources/auth_rules/v2.rbs +9 -8
- data/sig/lithic/resources/card_bulk_orders.rbs +34 -0
- data/sig/lithic/resources/cards/balances.rbs +1 -1
- data/sig/lithic/resources/cards.rbs +5 -1
- data/sig/lithic/resources/disputes.rbs +5 -5
- data/sig/lithic/resources/disputes_v2.rbs +24 -0
- data/sig/lithic/resources/external_bank_accounts.rbs +6 -1
- data/sig/lithic/resources/financial_accounts/balances.rbs +1 -1
- data/sig/lithic/resources/funding_events.rbs +2 -2
- data/sig/lithic/resources/internal_transaction.rbs +7 -0
- data/sig/lithic/resources/payments.rbs +10 -0
- data/sig/lithic/resources/reports/settlement/network_totals.rbs +2 -2
- data/sig/lithic/resources/three_ds/authentication.rbs +1 -1
- data/sig/lithic/resources/tokenizations.rbs +2 -2
- metadata +115 -67
- data/lib/lithic/models/auth_rules/v2_create_response.rb +0 -267
- data/lib/lithic/models/auth_rules/v2_draft_response.rb +0 -266
- data/lib/lithic/models/auth_rules/v2_list_response.rb +0 -266
- data/lib/lithic/models/auth_rules/v2_promote_response.rb +0 -267
- data/lib/lithic/models/auth_rules/v2_retrieve_response.rb +0 -271
- data/lib/lithic/models/auth_rules/v2_update_response.rb +0 -267
- data/lib/lithic/models/cards/balance_list_response.rb +0 -115
- data/lib/lithic/models/dispute_create_response.rb +0 -326
- data/lib/lithic/models/dispute_delete_response.rb +0 -326
- data/lib/lithic/models/dispute_list_response.rb +0 -326
- data/lib/lithic/models/dispute_retrieve_response.rb +0 -326
- data/lib/lithic/models/dispute_update_response.rb +0 -326
- data/lib/lithic/models/financial_accounts/balance_list_response.rb +0 -115
- data/lib/lithic/models/funding_event_list_response.rb +0 -108
- data/lib/lithic/models/reports/settlement/network_total_list_response.rb +0 -176
- data/lib/lithic/models/reports/settlement/network_total_retrieve_response.rb +0 -176
- data/lib/lithic/models/three_ds/authentication_retrieve_response.rb +0 -1288
- data/lib/lithic/models/tokenization_simulate_response.rb +0 -16
- data/lib/lithic/models/tokenization_update_digital_card_art_response.rb +0 -16
- data/rbi/lithic/models/auth_rules/v2_create_response.rbi +0 -496
- data/rbi/lithic/models/auth_rules/v2_draft_response.rbi +0 -496
- data/rbi/lithic/models/auth_rules/v2_list_response.rbi +0 -492
- data/rbi/lithic/models/auth_rules/v2_promote_response.rbi +0 -499
- data/rbi/lithic/models/auth_rules/v2_retrieve_response.rbi +0 -502
- data/rbi/lithic/models/auth_rules/v2_update_response.rbi +0 -496
- data/rbi/lithic/models/cards/balance_list_response.rbi +0 -170
- data/rbi/lithic/models/dispute_create_response.rbi +0 -599
- data/rbi/lithic/models/dispute_delete_response.rbi +0 -599
- data/rbi/lithic/models/dispute_list_response.rbi +0 -582
- data/rbi/lithic/models/dispute_retrieve_response.rbi +0 -601
- data/rbi/lithic/models/dispute_update_response.rbi +0 -599
- data/rbi/lithic/models/financial_accounts/balance_list_response.rbi +0 -174
- data/rbi/lithic/models/funding_event_retrieve_response.rbi +0 -184
- data/rbi/lithic/models/reports/settlement/network_total_list_response.rbi +0 -280
- data/rbi/lithic/models/reports/settlement/network_total_retrieve_response.rbi +0 -280
- data/rbi/lithic/models/three_ds/authentication_retrieve_response.rbi +0 -2580
- data/rbi/lithic/models/tokenization_simulate_response.rbi +0 -33
- data/rbi/lithic/models/tokenization_update_digital_card_art_response.rbi +0 -31
- data/sig/lithic/models/auth_rules/v2_create_response.rbs +0 -193
- data/sig/lithic/models/auth_rules/v2_draft_response.rbs +0 -193
- data/sig/lithic/models/auth_rules/v2_list_response.rbs +0 -193
- data/sig/lithic/models/auth_rules/v2_promote_response.rbs +0 -193
- data/sig/lithic/models/auth_rules/v2_retrieve_response.rbs +0 -193
- data/sig/lithic/models/auth_rules/v2_update_response.rbs +0 -193
- data/sig/lithic/models/cards/balance_list_response.rbs +0 -80
- data/sig/lithic/models/dispute_create_response.rbs +0 -210
- data/sig/lithic/models/dispute_delete_response.rbs +0 -210
- data/sig/lithic/models/dispute_list_response.rbs +0 -210
- data/sig/lithic/models/dispute_retrieve_response.rbs +0 -210
- data/sig/lithic/models/dispute_update_response.rbs +0 -210
- data/sig/lithic/models/external_bank_account_retry_prenote_response.rbs +0 -182
- data/sig/lithic/models/financial_accounts/balance_list_response.rbs +0 -80
- data/sig/lithic/models/funding_event_retrieve_response.rbs +0 -85
- data/sig/lithic/models/reports/settlement/network_total_list_response.rbs +0 -129
- data/sig/lithic/models/reports/settlement/network_total_retrieve_response.rbs +0 -129
- data/sig/lithic/models/three_ds/authentication_retrieve_response.rbs +0 -913
- data/sig/lithic/models/tokenization_simulate_response.rbs +0 -18
- data/sig/lithic/models/tokenization_update_digital_card_art_response.rbs +0 -16
|
@@ -95,68 +95,48 @@ module Lithic
|
|
|
95
95
|
# external accounts that are associated with the program, account_token field
|
|
96
96
|
# returned will be null
|
|
97
97
|
sig { returns(T.nilable(String)) }
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
sig { params(account_token: String).void }
|
|
101
|
-
attr_writer :account_token
|
|
98
|
+
attr_accessor :account_token
|
|
102
99
|
|
|
103
100
|
# Address
|
|
104
101
|
sig { returns(T.nilable(Lithic::ExternalBankAccountAddress)) }
|
|
105
102
|
attr_reader :address
|
|
106
103
|
|
|
107
|
-
sig
|
|
104
|
+
sig do
|
|
105
|
+
params(
|
|
106
|
+
address: T.nilable(Lithic::ExternalBankAccountAddress::OrHash)
|
|
107
|
+
).void
|
|
108
|
+
end
|
|
108
109
|
attr_writer :address
|
|
109
110
|
|
|
110
111
|
# Optional field that helps identify bank accounts in receipts
|
|
111
112
|
sig { returns(T.nilable(String)) }
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
sig { params(company_id: String).void }
|
|
115
|
-
attr_writer :company_id
|
|
113
|
+
attr_accessor :company_id
|
|
116
114
|
|
|
117
115
|
# Date of Birth of the Individual that owns the external bank account
|
|
118
116
|
sig { returns(T.nilable(Date)) }
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
sig { params(dob: Date).void }
|
|
122
|
-
attr_writer :dob
|
|
117
|
+
attr_accessor :dob
|
|
123
118
|
|
|
124
119
|
# Doing Business As
|
|
125
120
|
sig { returns(T.nilable(String)) }
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
sig { params(doing_business_as: String).void }
|
|
129
|
-
attr_writer :doing_business_as
|
|
121
|
+
attr_accessor :doing_business_as
|
|
130
122
|
|
|
131
123
|
# The financial account token of the operating account to fund the micro deposits
|
|
132
124
|
sig { returns(T.nilable(String)) }
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
sig { params(financial_account_token: String).void }
|
|
136
|
-
attr_writer :financial_account_token
|
|
125
|
+
attr_accessor :financial_account_token
|
|
137
126
|
|
|
138
127
|
# The nickname for this External Bank Account
|
|
139
128
|
sig { returns(T.nilable(String)) }
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
sig { params(name: String).void }
|
|
143
|
-
attr_writer :name
|
|
129
|
+
attr_accessor :name
|
|
144
130
|
|
|
145
131
|
# User Defined ID
|
|
146
132
|
sig { returns(T.nilable(String)) }
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
sig { params(user_defined_id: String).void }
|
|
150
|
-
attr_writer :user_defined_id
|
|
133
|
+
attr_accessor :user_defined_id
|
|
151
134
|
|
|
152
135
|
# Optional free text description of the reason for the failed verification. For
|
|
153
136
|
# ACH micro-deposits returned, this field will display the reason return code sent
|
|
154
137
|
# by the ACH network
|
|
155
138
|
sig { returns(T.nilable(String)) }
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
sig { params(verification_failed_reason: String).void }
|
|
159
|
-
attr_writer :verification_failed_reason
|
|
139
|
+
attr_accessor :verification_failed_reason
|
|
160
140
|
|
|
161
141
|
sig do
|
|
162
142
|
params(
|
|
@@ -178,15 +158,15 @@ module Lithic
|
|
|
178
158
|
Lithic::Models::ExternalBankAccounts::MicroDepositCreateResponse::VerificationMethod::OrSymbol,
|
|
179
159
|
verification_state:
|
|
180
160
|
Lithic::Models::ExternalBankAccounts::MicroDepositCreateResponse::VerificationState::OrSymbol,
|
|
181
|
-
account_token: String,
|
|
182
|
-
address: Lithic::ExternalBankAccountAddress::OrHash,
|
|
183
|
-
company_id: String,
|
|
184
|
-
dob: Date,
|
|
185
|
-
doing_business_as: String,
|
|
186
|
-
financial_account_token: String,
|
|
187
|
-
name: String,
|
|
188
|
-
user_defined_id: String,
|
|
189
|
-
verification_failed_reason: String
|
|
161
|
+
account_token: T.nilable(String),
|
|
162
|
+
address: T.nilable(Lithic::ExternalBankAccountAddress::OrHash),
|
|
163
|
+
company_id: T.nilable(String),
|
|
164
|
+
dob: T.nilable(Date),
|
|
165
|
+
doing_business_as: T.nilable(String),
|
|
166
|
+
financial_account_token: T.nilable(String),
|
|
167
|
+
name: T.nilable(String),
|
|
168
|
+
user_defined_id: T.nilable(String),
|
|
169
|
+
verification_failed_reason: T.nilable(String)
|
|
190
170
|
).returns(T.attached_class)
|
|
191
171
|
end
|
|
192
172
|
def self.new(
|
|
@@ -269,15 +249,15 @@ module Lithic
|
|
|
269
249
|
Lithic::Models::ExternalBankAccounts::MicroDepositCreateResponse::VerificationMethod::TaggedSymbol,
|
|
270
250
|
verification_state:
|
|
271
251
|
Lithic::Models::ExternalBankAccounts::MicroDepositCreateResponse::VerificationState::TaggedSymbol,
|
|
272
|
-
account_token: String,
|
|
273
|
-
address: Lithic::ExternalBankAccountAddress,
|
|
274
|
-
company_id: String,
|
|
275
|
-
dob: Date,
|
|
276
|
-
doing_business_as: String,
|
|
277
|
-
financial_account_token: String,
|
|
278
|
-
name: String,
|
|
279
|
-
user_defined_id: String,
|
|
280
|
-
verification_failed_reason: String
|
|
252
|
+
account_token: T.nilable(String),
|
|
253
|
+
address: T.nilable(Lithic::ExternalBankAccountAddress),
|
|
254
|
+
company_id: T.nilable(String),
|
|
255
|
+
dob: T.nilable(Date),
|
|
256
|
+
doing_business_as: T.nilable(String),
|
|
257
|
+
financial_account_token: T.nilable(String),
|
|
258
|
+
name: T.nilable(String),
|
|
259
|
+
user_defined_id: T.nilable(String),
|
|
260
|
+
verification_failed_reason: T.nilable(String)
|
|
281
261
|
}
|
|
282
262
|
)
|
|
283
263
|
end
|
|
@@ -90,10 +90,7 @@ module Lithic
|
|
|
90
90
|
attr_writer :settled_amount
|
|
91
91
|
|
|
92
92
|
sig { returns(T.nilable(String)) }
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
sig { params(user_defined_id: String).void }
|
|
96
|
-
attr_writer :user_defined_id
|
|
93
|
+
attr_accessor :user_defined_id
|
|
97
94
|
|
|
98
95
|
sig do
|
|
99
96
|
params(
|
|
@@ -110,7 +107,7 @@ module Lithic
|
|
|
110
107
|
pending_amount: Integer,
|
|
111
108
|
result: Lithic::ExternalPayment::Result::OrSymbol,
|
|
112
109
|
settled_amount: Integer,
|
|
113
|
-
user_defined_id: String
|
|
110
|
+
user_defined_id: T.nilable(String)
|
|
114
111
|
).returns(T.attached_class)
|
|
115
112
|
end
|
|
116
113
|
def self.new(
|
|
@@ -152,7 +149,7 @@ module Lithic
|
|
|
152
149
|
pending_amount: Integer,
|
|
153
150
|
result: Lithic::ExternalPayment::Result::TaggedSymbol,
|
|
154
151
|
settled_amount: Integer,
|
|
155
|
-
user_defined_id: String
|
|
152
|
+
user_defined_id: T.nilable(String)
|
|
156
153
|
}
|
|
157
154
|
)
|
|
158
155
|
end
|
|
@@ -175,6 +172,8 @@ module Lithic
|
|
|
175
172
|
T.let(:REVERSED, Lithic::ExternalPayment::Status::TaggedSymbol)
|
|
176
173
|
CANCELED =
|
|
177
174
|
T.let(:CANCELED, Lithic::ExternalPayment::Status::TaggedSymbol)
|
|
175
|
+
RETURNED =
|
|
176
|
+
T.let(:RETURNED, Lithic::ExternalPayment::Status::TaggedSymbol)
|
|
178
177
|
|
|
179
178
|
sig do
|
|
180
179
|
override.returns(
|
|
@@ -201,6 +200,13 @@ module Lithic
|
|
|
201
200
|
:EXTERNAL_CHECK,
|
|
202
201
|
Lithic::ExternalPayment::Category::TaggedSymbol
|
|
203
202
|
)
|
|
203
|
+
EXTERNAL_FEDNOW =
|
|
204
|
+
T.let(
|
|
205
|
+
:EXTERNAL_FEDNOW,
|
|
206
|
+
Lithic::ExternalPayment::Category::TaggedSymbol
|
|
207
|
+
)
|
|
208
|
+
EXTERNAL_RTP =
|
|
209
|
+
T.let(:EXTERNAL_RTP, Lithic::ExternalPayment::Category::TaggedSymbol)
|
|
204
210
|
EXTERNAL_TRANSFER =
|
|
205
211
|
T.let(
|
|
206
212
|
:EXTERNAL_TRANSFER,
|
|
@@ -466,6 +472,56 @@ module Lithic
|
|
|
466
472
|
:EXTERNAL_CHECK_RELEASED,
|
|
467
473
|
Lithic::ExternalPayment::Event::Type::TaggedSymbol
|
|
468
474
|
)
|
|
475
|
+
EXTERNAL_FEDNOW_INITIATED =
|
|
476
|
+
T.let(
|
|
477
|
+
:EXTERNAL_FEDNOW_INITIATED,
|
|
478
|
+
Lithic::ExternalPayment::Event::Type::TaggedSymbol
|
|
479
|
+
)
|
|
480
|
+
EXTERNAL_FEDNOW_CANCELED =
|
|
481
|
+
T.let(
|
|
482
|
+
:EXTERNAL_FEDNOW_CANCELED,
|
|
483
|
+
Lithic::ExternalPayment::Event::Type::TaggedSymbol
|
|
484
|
+
)
|
|
485
|
+
EXTERNAL_FEDNOW_SETTLED =
|
|
486
|
+
T.let(
|
|
487
|
+
:EXTERNAL_FEDNOW_SETTLED,
|
|
488
|
+
Lithic::ExternalPayment::Event::Type::TaggedSymbol
|
|
489
|
+
)
|
|
490
|
+
EXTERNAL_FEDNOW_REVERSED =
|
|
491
|
+
T.let(
|
|
492
|
+
:EXTERNAL_FEDNOW_REVERSED,
|
|
493
|
+
Lithic::ExternalPayment::Event::Type::TaggedSymbol
|
|
494
|
+
)
|
|
495
|
+
EXTERNAL_FEDNOW_RELEASED =
|
|
496
|
+
T.let(
|
|
497
|
+
:EXTERNAL_FEDNOW_RELEASED,
|
|
498
|
+
Lithic::ExternalPayment::Event::Type::TaggedSymbol
|
|
499
|
+
)
|
|
500
|
+
EXTERNAL_RTP_INITIATED =
|
|
501
|
+
T.let(
|
|
502
|
+
:EXTERNAL_RTP_INITIATED,
|
|
503
|
+
Lithic::ExternalPayment::Event::Type::TaggedSymbol
|
|
504
|
+
)
|
|
505
|
+
EXTERNAL_RTP_CANCELED =
|
|
506
|
+
T.let(
|
|
507
|
+
:EXTERNAL_RTP_CANCELED,
|
|
508
|
+
Lithic::ExternalPayment::Event::Type::TaggedSymbol
|
|
509
|
+
)
|
|
510
|
+
EXTERNAL_RTP_SETTLED =
|
|
511
|
+
T.let(
|
|
512
|
+
:EXTERNAL_RTP_SETTLED,
|
|
513
|
+
Lithic::ExternalPayment::Event::Type::TaggedSymbol
|
|
514
|
+
)
|
|
515
|
+
EXTERNAL_RTP_REVERSED =
|
|
516
|
+
T.let(
|
|
517
|
+
:EXTERNAL_RTP_REVERSED,
|
|
518
|
+
Lithic::ExternalPayment::Event::Type::TaggedSymbol
|
|
519
|
+
)
|
|
520
|
+
EXTERNAL_RTP_RELEASED =
|
|
521
|
+
T.let(
|
|
522
|
+
:EXTERNAL_RTP_RELEASED,
|
|
523
|
+
Lithic::ExternalPayment::Event::Type::TaggedSymbol
|
|
524
|
+
)
|
|
469
525
|
|
|
470
526
|
sig do
|
|
471
527
|
override.returns(
|
|
@@ -135,6 +135,16 @@ module Lithic
|
|
|
135
135
|
:EXTERNAL_CHECK,
|
|
136
136
|
Lithic::ExternalPaymentCreateParams::Category::TaggedSymbol
|
|
137
137
|
)
|
|
138
|
+
EXTERNAL_FEDNOW =
|
|
139
|
+
T.let(
|
|
140
|
+
:EXTERNAL_FEDNOW,
|
|
141
|
+
Lithic::ExternalPaymentCreateParams::Category::TaggedSymbol
|
|
142
|
+
)
|
|
143
|
+
EXTERNAL_RTP =
|
|
144
|
+
T.let(
|
|
145
|
+
:EXTERNAL_RTP,
|
|
146
|
+
Lithic::ExternalPaymentCreateParams::Category::TaggedSymbol
|
|
147
|
+
)
|
|
138
148
|
EXTERNAL_TRANSFER =
|
|
139
149
|
T.let(
|
|
140
150
|
:EXTERNAL_TRANSFER,
|
|
@@ -190,6 +190,16 @@ module Lithic
|
|
|
190
190
|
:EXTERNAL_CHECK,
|
|
191
191
|
Lithic::ExternalPaymentListParams::Category::TaggedSymbol
|
|
192
192
|
)
|
|
193
|
+
EXTERNAL_FEDNOW =
|
|
194
|
+
T.let(
|
|
195
|
+
:EXTERNAL_FEDNOW,
|
|
196
|
+
Lithic::ExternalPaymentListParams::Category::TaggedSymbol
|
|
197
|
+
)
|
|
198
|
+
EXTERNAL_RTP =
|
|
199
|
+
T.let(
|
|
200
|
+
:EXTERNAL_RTP,
|
|
201
|
+
Lithic::ExternalPaymentListParams::Category::TaggedSymbol
|
|
202
|
+
)
|
|
193
203
|
EXTERNAL_TRANSFER =
|
|
194
204
|
T.let(
|
|
195
205
|
:EXTERNAL_TRANSFER,
|
|
@@ -270,6 +280,11 @@ module Lithic
|
|
|
270
280
|
:CANCELED,
|
|
271
281
|
Lithic::ExternalPaymentListParams::Status::TaggedSymbol
|
|
272
282
|
)
|
|
283
|
+
RETURNED =
|
|
284
|
+
T.let(
|
|
285
|
+
:RETURNED,
|
|
286
|
+
Lithic::ExternalPaymentListParams::Status::TaggedSymbol
|
|
287
|
+
)
|
|
273
288
|
|
|
274
289
|
sig do
|
|
275
290
|
override.returns(
|
|
@@ -129,7 +129,9 @@ module Lithic
|
|
|
129
129
|
|
|
130
130
|
sig do
|
|
131
131
|
returns(
|
|
132
|
-
|
|
132
|
+
T.nilable(
|
|
133
|
+
Lithic::FinancialAccount::CreditConfiguration::AutoCollectionConfiguration
|
|
134
|
+
)
|
|
133
135
|
)
|
|
134
136
|
end
|
|
135
137
|
attr_reader :auto_collection_configuration
|
|
@@ -137,7 +139,9 @@ module Lithic
|
|
|
137
139
|
sig do
|
|
138
140
|
params(
|
|
139
141
|
auto_collection_configuration:
|
|
140
|
-
|
|
142
|
+
T.nilable(
|
|
143
|
+
Lithic::FinancialAccount::CreditConfiguration::AutoCollectionConfiguration::OrHash
|
|
144
|
+
)
|
|
141
145
|
).void
|
|
142
146
|
end
|
|
143
147
|
attr_writer :auto_collection_configuration
|
|
@@ -159,7 +163,9 @@ module Lithic
|
|
|
159
163
|
sig do
|
|
160
164
|
params(
|
|
161
165
|
auto_collection_configuration:
|
|
162
|
-
|
|
166
|
+
T.nilable(
|
|
167
|
+
Lithic::FinancialAccount::CreditConfiguration::AutoCollectionConfiguration::OrHash
|
|
168
|
+
),
|
|
163
169
|
credit_limit: T.nilable(Integer),
|
|
164
170
|
credit_product_token: T.nilable(String),
|
|
165
171
|
external_bank_account_token: T.nilable(String),
|
|
@@ -181,7 +187,9 @@ module Lithic
|
|
|
181
187
|
override.returns(
|
|
182
188
|
{
|
|
183
189
|
auto_collection_configuration:
|
|
184
|
-
|
|
190
|
+
T.nilable(
|
|
191
|
+
Lithic::FinancialAccount::CreditConfiguration::AutoCollectionConfiguration
|
|
192
|
+
),
|
|
185
193
|
credit_limit: T.nilable(Integer),
|
|
186
194
|
credit_product_token: T.nilable(String),
|
|
187
195
|
external_bank_account_token: T.nilable(String),
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Lithic
|
|
4
|
+
module Models
|
|
5
|
+
class FinancialAccountBalance < Lithic::Internal::Type::BaseModel
|
|
6
|
+
OrHash =
|
|
7
|
+
T.type_alias do
|
|
8
|
+
T.any(Lithic::FinancialAccountBalance, Lithic::Internal::AnyHash)
|
|
9
|
+
end
|
|
10
|
+
|
|
11
|
+
# Globally unique identifier for the financial account that holds this balance.
|
|
12
|
+
sig { returns(String) }
|
|
13
|
+
attr_accessor :token
|
|
14
|
+
|
|
15
|
+
# Funds available for spend in the currency's smallest unit (e.g., cents for USD)
|
|
16
|
+
sig { returns(Integer) }
|
|
17
|
+
attr_accessor :available_amount
|
|
18
|
+
|
|
19
|
+
# Date and time for when the balance was first created.
|
|
20
|
+
sig { returns(Time) }
|
|
21
|
+
attr_accessor :created
|
|
22
|
+
|
|
23
|
+
# 3-character alphabetic ISO 4217 code for the local currency of the balance.
|
|
24
|
+
sig { returns(String) }
|
|
25
|
+
attr_accessor :currency
|
|
26
|
+
|
|
27
|
+
# Globally unique identifier for the last financial transaction event that
|
|
28
|
+
# impacted this balance.
|
|
29
|
+
sig { returns(String) }
|
|
30
|
+
attr_accessor :last_transaction_event_token
|
|
31
|
+
|
|
32
|
+
# Globally unique identifier for the last financial transaction that impacted this
|
|
33
|
+
# balance.
|
|
34
|
+
sig { returns(String) }
|
|
35
|
+
attr_accessor :last_transaction_token
|
|
36
|
+
|
|
37
|
+
# Funds not available for spend due to card authorizations or pending ACH release.
|
|
38
|
+
# Shown in the currency's smallest unit (e.g., cents for USD).
|
|
39
|
+
sig { returns(Integer) }
|
|
40
|
+
attr_accessor :pending_amount
|
|
41
|
+
|
|
42
|
+
# The sum of available and pending balance in the currency's smallest unit (e.g.,
|
|
43
|
+
# cents for USD).
|
|
44
|
+
sig { returns(Integer) }
|
|
45
|
+
attr_accessor :total_amount
|
|
46
|
+
|
|
47
|
+
# Type of financial account.
|
|
48
|
+
sig { returns(Lithic::FinancialAccountBalance::Type::TaggedSymbol) }
|
|
49
|
+
attr_accessor :type
|
|
50
|
+
|
|
51
|
+
# Date and time for when the balance was last updated.
|
|
52
|
+
sig { returns(Time) }
|
|
53
|
+
attr_accessor :updated
|
|
54
|
+
|
|
55
|
+
# Balance of a Financial Account
|
|
56
|
+
sig do
|
|
57
|
+
params(
|
|
58
|
+
token: String,
|
|
59
|
+
available_amount: Integer,
|
|
60
|
+
created: Time,
|
|
61
|
+
currency: String,
|
|
62
|
+
last_transaction_event_token: String,
|
|
63
|
+
last_transaction_token: String,
|
|
64
|
+
pending_amount: Integer,
|
|
65
|
+
total_amount: Integer,
|
|
66
|
+
type: Lithic::FinancialAccountBalance::Type::OrSymbol,
|
|
67
|
+
updated: Time
|
|
68
|
+
).returns(T.attached_class)
|
|
69
|
+
end
|
|
70
|
+
def self.new(
|
|
71
|
+
# Globally unique identifier for the financial account that holds this balance.
|
|
72
|
+
token:,
|
|
73
|
+
# Funds available for spend in the currency's smallest unit (e.g., cents for USD)
|
|
74
|
+
available_amount:,
|
|
75
|
+
# Date and time for when the balance was first created.
|
|
76
|
+
created:,
|
|
77
|
+
# 3-character alphabetic ISO 4217 code for the local currency of the balance.
|
|
78
|
+
currency:,
|
|
79
|
+
# Globally unique identifier for the last financial transaction event that
|
|
80
|
+
# impacted this balance.
|
|
81
|
+
last_transaction_event_token:,
|
|
82
|
+
# Globally unique identifier for the last financial transaction that impacted this
|
|
83
|
+
# balance.
|
|
84
|
+
last_transaction_token:,
|
|
85
|
+
# Funds not available for spend due to card authorizations or pending ACH release.
|
|
86
|
+
# Shown in the currency's smallest unit (e.g., cents for USD).
|
|
87
|
+
pending_amount:,
|
|
88
|
+
# The sum of available and pending balance in the currency's smallest unit (e.g.,
|
|
89
|
+
# cents for USD).
|
|
90
|
+
total_amount:,
|
|
91
|
+
# Type of financial account.
|
|
92
|
+
type:,
|
|
93
|
+
# Date and time for when the balance was last updated.
|
|
94
|
+
updated:
|
|
95
|
+
)
|
|
96
|
+
end
|
|
97
|
+
|
|
98
|
+
sig do
|
|
99
|
+
override.returns(
|
|
100
|
+
{
|
|
101
|
+
token: String,
|
|
102
|
+
available_amount: Integer,
|
|
103
|
+
created: Time,
|
|
104
|
+
currency: String,
|
|
105
|
+
last_transaction_event_token: String,
|
|
106
|
+
last_transaction_token: String,
|
|
107
|
+
pending_amount: Integer,
|
|
108
|
+
total_amount: Integer,
|
|
109
|
+
type: Lithic::FinancialAccountBalance::Type::TaggedSymbol,
|
|
110
|
+
updated: Time
|
|
111
|
+
}
|
|
112
|
+
)
|
|
113
|
+
end
|
|
114
|
+
def to_hash
|
|
115
|
+
end
|
|
116
|
+
|
|
117
|
+
# Type of financial account.
|
|
118
|
+
module Type
|
|
119
|
+
extend Lithic::Internal::Type::Enum
|
|
120
|
+
|
|
121
|
+
TaggedSymbol =
|
|
122
|
+
T.type_alias { T.all(Symbol, Lithic::FinancialAccountBalance::Type) }
|
|
123
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
124
|
+
|
|
125
|
+
ISSUING =
|
|
126
|
+
T.let(:ISSUING, Lithic::FinancialAccountBalance::Type::TaggedSymbol)
|
|
127
|
+
OPERATING =
|
|
128
|
+
T.let(:OPERATING, Lithic::FinancialAccountBalance::Type::TaggedSymbol)
|
|
129
|
+
RESERVE =
|
|
130
|
+
T.let(:RESERVE, Lithic::FinancialAccountBalance::Type::TaggedSymbol)
|
|
131
|
+
SECURITY =
|
|
132
|
+
T.let(:SECURITY, Lithic::FinancialAccountBalance::Type::TaggedSymbol)
|
|
133
|
+
|
|
134
|
+
sig do
|
|
135
|
+
override.returns(
|
|
136
|
+
T::Array[Lithic::FinancialAccountBalance::Type::TaggedSymbol]
|
|
137
|
+
)
|
|
138
|
+
end
|
|
139
|
+
def self.values
|
|
140
|
+
end
|
|
141
|
+
end
|
|
142
|
+
end
|
|
143
|
+
end
|
|
144
|
+
end
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Lithic
|
|
4
|
+
module Models
|
|
5
|
+
module FinancialAccounts
|
|
6
|
+
class CategoryBalances < Lithic::Internal::Type::BaseModel
|
|
7
|
+
OrHash =
|
|
8
|
+
T.type_alias do
|
|
9
|
+
T.any(
|
|
10
|
+
Lithic::FinancialAccounts::CategoryBalances,
|
|
11
|
+
Lithic::Internal::AnyHash
|
|
12
|
+
)
|
|
13
|
+
end
|
|
14
|
+
|
|
15
|
+
sig { returns(Integer) }
|
|
16
|
+
attr_accessor :fees
|
|
17
|
+
|
|
18
|
+
sig { returns(Integer) }
|
|
19
|
+
attr_accessor :interest
|
|
20
|
+
|
|
21
|
+
sig { returns(Integer) }
|
|
22
|
+
attr_accessor :principal
|
|
23
|
+
|
|
24
|
+
sig do
|
|
25
|
+
params(fees: Integer, interest: Integer, principal: Integer).returns(
|
|
26
|
+
T.attached_class
|
|
27
|
+
)
|
|
28
|
+
end
|
|
29
|
+
def self.new(fees:, interest:, principal:)
|
|
30
|
+
end
|
|
31
|
+
|
|
32
|
+
sig do
|
|
33
|
+
override.returns(
|
|
34
|
+
{ fees: Integer, interest: Integer, principal: Integer }
|
|
35
|
+
)
|
|
36
|
+
end
|
|
37
|
+
def to_hash
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
end
|
|
42
|
+
end
|