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
|
@@ -1,496 +0,0 @@
|
|
|
1
|
-
# typed: strong
|
|
2
|
-
|
|
3
|
-
module Lithic
|
|
4
|
-
module Models
|
|
5
|
-
module AuthRules
|
|
6
|
-
class V2UpdateResponse < Lithic::Internal::Type::BaseModel
|
|
7
|
-
OrHash =
|
|
8
|
-
T.type_alias do
|
|
9
|
-
T.any(
|
|
10
|
-
Lithic::Models::AuthRules::V2UpdateResponse,
|
|
11
|
-
Lithic::Internal::AnyHash
|
|
12
|
-
)
|
|
13
|
-
end
|
|
14
|
-
|
|
15
|
-
# Auth Rule Token
|
|
16
|
-
sig { returns(String) }
|
|
17
|
-
attr_accessor :token
|
|
18
|
-
|
|
19
|
-
# Account tokens to which the Auth Rule applies.
|
|
20
|
-
sig { returns(T::Array[String]) }
|
|
21
|
-
attr_accessor :account_tokens
|
|
22
|
-
|
|
23
|
-
# Business Account tokens to which the Auth Rule applies.
|
|
24
|
-
sig { returns(T::Array[String]) }
|
|
25
|
-
attr_accessor :business_account_tokens
|
|
26
|
-
|
|
27
|
-
# Card tokens to which the Auth Rule applies.
|
|
28
|
-
sig { returns(T::Array[String]) }
|
|
29
|
-
attr_accessor :card_tokens
|
|
30
|
-
|
|
31
|
-
sig do
|
|
32
|
-
returns(
|
|
33
|
-
T.nilable(
|
|
34
|
-
Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion
|
|
35
|
-
)
|
|
36
|
-
)
|
|
37
|
-
end
|
|
38
|
-
attr_reader :current_version
|
|
39
|
-
|
|
40
|
-
sig do
|
|
41
|
-
params(
|
|
42
|
-
current_version:
|
|
43
|
-
T.nilable(
|
|
44
|
-
Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::OrHash
|
|
45
|
-
)
|
|
46
|
-
).void
|
|
47
|
-
end
|
|
48
|
-
attr_writer :current_version
|
|
49
|
-
|
|
50
|
-
sig do
|
|
51
|
-
returns(
|
|
52
|
-
T.nilable(Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion)
|
|
53
|
-
)
|
|
54
|
-
end
|
|
55
|
-
attr_reader :draft_version
|
|
56
|
-
|
|
57
|
-
sig do
|
|
58
|
-
params(
|
|
59
|
-
draft_version:
|
|
60
|
-
T.nilable(
|
|
61
|
-
Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::OrHash
|
|
62
|
-
)
|
|
63
|
-
).void
|
|
64
|
-
end
|
|
65
|
-
attr_writer :draft_version
|
|
66
|
-
|
|
67
|
-
# The event stream during which the rule will be evaluated.
|
|
68
|
-
sig do
|
|
69
|
-
returns(
|
|
70
|
-
Lithic::Models::AuthRules::V2UpdateResponse::EventStream::TaggedSymbol
|
|
71
|
-
)
|
|
72
|
-
end
|
|
73
|
-
attr_accessor :event_stream
|
|
74
|
-
|
|
75
|
-
# Indicates whether this auth rule is managed by Lithic. If true, the rule cannot
|
|
76
|
-
# be modified or deleted by the user
|
|
77
|
-
sig { returns(T::Boolean) }
|
|
78
|
-
attr_accessor :lithic_managed
|
|
79
|
-
|
|
80
|
-
# Auth Rule Name
|
|
81
|
-
sig { returns(T.nilable(String)) }
|
|
82
|
-
attr_accessor :name
|
|
83
|
-
|
|
84
|
-
# Whether the Auth Rule applies to all authorizations on the card program.
|
|
85
|
-
sig { returns(T::Boolean) }
|
|
86
|
-
attr_accessor :program_level
|
|
87
|
-
|
|
88
|
-
# The state of the Auth Rule
|
|
89
|
-
sig do
|
|
90
|
-
returns(
|
|
91
|
-
Lithic::Models::AuthRules::V2UpdateResponse::State::TaggedSymbol
|
|
92
|
-
)
|
|
93
|
-
end
|
|
94
|
-
attr_accessor :state
|
|
95
|
-
|
|
96
|
-
# The type of Auth Rule. For certain rule types, this determines the event stream
|
|
97
|
-
# during which it will be evaluated. For rules that can be applied to one of
|
|
98
|
-
# several event streams, the effective one is defined by the separate
|
|
99
|
-
# `event_stream` field.
|
|
100
|
-
#
|
|
101
|
-
# - `CONDITIONAL_BLOCK`: AUTHORIZATION event stream.
|
|
102
|
-
# - `VELOCITY_LIMIT`: AUTHORIZATION event stream.
|
|
103
|
-
# - `MERCHANT_LOCK`: AUTHORIZATION event stream.
|
|
104
|
-
# - `CONDITIONAL_ACTION`: AUTHORIZATION or THREE_DS_AUTHENTICATION event stream.
|
|
105
|
-
sig do
|
|
106
|
-
returns(
|
|
107
|
-
Lithic::Models::AuthRules::V2UpdateResponse::Type::TaggedSymbol
|
|
108
|
-
)
|
|
109
|
-
end
|
|
110
|
-
attr_accessor :type
|
|
111
|
-
|
|
112
|
-
# Card tokens to which the Auth Rule does not apply.
|
|
113
|
-
sig { returns(T.nilable(T::Array[String])) }
|
|
114
|
-
attr_reader :excluded_card_tokens
|
|
115
|
-
|
|
116
|
-
sig { params(excluded_card_tokens: T::Array[String]).void }
|
|
117
|
-
attr_writer :excluded_card_tokens
|
|
118
|
-
|
|
119
|
-
sig do
|
|
120
|
-
params(
|
|
121
|
-
token: String,
|
|
122
|
-
account_tokens: T::Array[String],
|
|
123
|
-
business_account_tokens: T::Array[String],
|
|
124
|
-
card_tokens: T::Array[String],
|
|
125
|
-
current_version:
|
|
126
|
-
T.nilable(
|
|
127
|
-
Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::OrHash
|
|
128
|
-
),
|
|
129
|
-
draft_version:
|
|
130
|
-
T.nilable(
|
|
131
|
-
Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::OrHash
|
|
132
|
-
),
|
|
133
|
-
event_stream:
|
|
134
|
-
Lithic::Models::AuthRules::V2UpdateResponse::EventStream::OrSymbol,
|
|
135
|
-
lithic_managed: T::Boolean,
|
|
136
|
-
name: T.nilable(String),
|
|
137
|
-
program_level: T::Boolean,
|
|
138
|
-
state: Lithic::Models::AuthRules::V2UpdateResponse::State::OrSymbol,
|
|
139
|
-
type: Lithic::Models::AuthRules::V2UpdateResponse::Type::OrSymbol,
|
|
140
|
-
excluded_card_tokens: T::Array[String]
|
|
141
|
-
).returns(T.attached_class)
|
|
142
|
-
end
|
|
143
|
-
def self.new(
|
|
144
|
-
# Auth Rule Token
|
|
145
|
-
token:,
|
|
146
|
-
# Account tokens to which the Auth Rule applies.
|
|
147
|
-
account_tokens:,
|
|
148
|
-
# Business Account tokens to which the Auth Rule applies.
|
|
149
|
-
business_account_tokens:,
|
|
150
|
-
# Card tokens to which the Auth Rule applies.
|
|
151
|
-
card_tokens:,
|
|
152
|
-
current_version:,
|
|
153
|
-
draft_version:,
|
|
154
|
-
# The event stream during which the rule will be evaluated.
|
|
155
|
-
event_stream:,
|
|
156
|
-
# Indicates whether this auth rule is managed by Lithic. If true, the rule cannot
|
|
157
|
-
# be modified or deleted by the user
|
|
158
|
-
lithic_managed:,
|
|
159
|
-
# Auth Rule Name
|
|
160
|
-
name:,
|
|
161
|
-
# Whether the Auth Rule applies to all authorizations on the card program.
|
|
162
|
-
program_level:,
|
|
163
|
-
# The state of the Auth Rule
|
|
164
|
-
state:,
|
|
165
|
-
# The type of Auth Rule. For certain rule types, this determines the event stream
|
|
166
|
-
# during which it will be evaluated. For rules that can be applied to one of
|
|
167
|
-
# several event streams, the effective one is defined by the separate
|
|
168
|
-
# `event_stream` field.
|
|
169
|
-
#
|
|
170
|
-
# - `CONDITIONAL_BLOCK`: AUTHORIZATION event stream.
|
|
171
|
-
# - `VELOCITY_LIMIT`: AUTHORIZATION event stream.
|
|
172
|
-
# - `MERCHANT_LOCK`: AUTHORIZATION event stream.
|
|
173
|
-
# - `CONDITIONAL_ACTION`: AUTHORIZATION or THREE_DS_AUTHENTICATION event stream.
|
|
174
|
-
type:,
|
|
175
|
-
# Card tokens to which the Auth Rule does not apply.
|
|
176
|
-
excluded_card_tokens: nil
|
|
177
|
-
)
|
|
178
|
-
end
|
|
179
|
-
|
|
180
|
-
sig do
|
|
181
|
-
override.returns(
|
|
182
|
-
{
|
|
183
|
-
token: String,
|
|
184
|
-
account_tokens: T::Array[String],
|
|
185
|
-
business_account_tokens: T::Array[String],
|
|
186
|
-
card_tokens: T::Array[String],
|
|
187
|
-
current_version:
|
|
188
|
-
T.nilable(
|
|
189
|
-
Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion
|
|
190
|
-
),
|
|
191
|
-
draft_version:
|
|
192
|
-
T.nilable(
|
|
193
|
-
Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion
|
|
194
|
-
),
|
|
195
|
-
event_stream:
|
|
196
|
-
Lithic::Models::AuthRules::V2UpdateResponse::EventStream::TaggedSymbol,
|
|
197
|
-
lithic_managed: T::Boolean,
|
|
198
|
-
name: T.nilable(String),
|
|
199
|
-
program_level: T::Boolean,
|
|
200
|
-
state:
|
|
201
|
-
Lithic::Models::AuthRules::V2UpdateResponse::State::TaggedSymbol,
|
|
202
|
-
type:
|
|
203
|
-
Lithic::Models::AuthRules::V2UpdateResponse::Type::TaggedSymbol,
|
|
204
|
-
excluded_card_tokens: T::Array[String]
|
|
205
|
-
}
|
|
206
|
-
)
|
|
207
|
-
end
|
|
208
|
-
def to_hash
|
|
209
|
-
end
|
|
210
|
-
|
|
211
|
-
class CurrentVersion < Lithic::Internal::Type::BaseModel
|
|
212
|
-
OrHash =
|
|
213
|
-
T.type_alias do
|
|
214
|
-
T.any(
|
|
215
|
-
Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion,
|
|
216
|
-
Lithic::Internal::AnyHash
|
|
217
|
-
)
|
|
218
|
-
end
|
|
219
|
-
|
|
220
|
-
# Parameters for the Auth Rule
|
|
221
|
-
sig do
|
|
222
|
-
returns(
|
|
223
|
-
Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::Variants
|
|
224
|
-
)
|
|
225
|
-
end
|
|
226
|
-
attr_accessor :parameters
|
|
227
|
-
|
|
228
|
-
# The version of the rule, this is incremented whenever the rule's parameters
|
|
229
|
-
# change.
|
|
230
|
-
sig { returns(Integer) }
|
|
231
|
-
attr_accessor :version
|
|
232
|
-
|
|
233
|
-
sig do
|
|
234
|
-
params(
|
|
235
|
-
parameters:
|
|
236
|
-
T.any(
|
|
237
|
-
Lithic::AuthRules::ConditionalBlockParameters::OrHash,
|
|
238
|
-
Lithic::AuthRules::VelocityLimitParams::OrHash,
|
|
239
|
-
Lithic::AuthRules::MerchantLockParameters::OrHash,
|
|
240
|
-
Lithic::AuthRules::Conditional3DSActionParameters::OrHash,
|
|
241
|
-
Lithic::AuthRules::ConditionalAuthorizationActionParameters::OrHash
|
|
242
|
-
),
|
|
243
|
-
version: Integer
|
|
244
|
-
).returns(T.attached_class)
|
|
245
|
-
end
|
|
246
|
-
def self.new(
|
|
247
|
-
# Parameters for the Auth Rule
|
|
248
|
-
parameters:,
|
|
249
|
-
# The version of the rule, this is incremented whenever the rule's parameters
|
|
250
|
-
# change.
|
|
251
|
-
version:
|
|
252
|
-
)
|
|
253
|
-
end
|
|
254
|
-
|
|
255
|
-
sig do
|
|
256
|
-
override.returns(
|
|
257
|
-
{
|
|
258
|
-
parameters:
|
|
259
|
-
Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::Variants,
|
|
260
|
-
version: Integer
|
|
261
|
-
}
|
|
262
|
-
)
|
|
263
|
-
end
|
|
264
|
-
def to_hash
|
|
265
|
-
end
|
|
266
|
-
|
|
267
|
-
# Parameters for the Auth Rule
|
|
268
|
-
module Parameters
|
|
269
|
-
extend Lithic::Internal::Type::Union
|
|
270
|
-
|
|
271
|
-
Variants =
|
|
272
|
-
T.type_alias do
|
|
273
|
-
T.any(
|
|
274
|
-
Lithic::AuthRules::ConditionalBlockParameters,
|
|
275
|
-
Lithic::AuthRules::VelocityLimitParams,
|
|
276
|
-
Lithic::AuthRules::MerchantLockParameters,
|
|
277
|
-
Lithic::AuthRules::Conditional3DSActionParameters,
|
|
278
|
-
Lithic::AuthRules::ConditionalAuthorizationActionParameters
|
|
279
|
-
)
|
|
280
|
-
end
|
|
281
|
-
|
|
282
|
-
sig do
|
|
283
|
-
override.returns(
|
|
284
|
-
T::Array[
|
|
285
|
-
Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::Variants
|
|
286
|
-
]
|
|
287
|
-
)
|
|
288
|
-
end
|
|
289
|
-
def self.variants
|
|
290
|
-
end
|
|
291
|
-
end
|
|
292
|
-
end
|
|
293
|
-
|
|
294
|
-
class DraftVersion < Lithic::Internal::Type::BaseModel
|
|
295
|
-
OrHash =
|
|
296
|
-
T.type_alias do
|
|
297
|
-
T.any(
|
|
298
|
-
Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion,
|
|
299
|
-
Lithic::Internal::AnyHash
|
|
300
|
-
)
|
|
301
|
-
end
|
|
302
|
-
|
|
303
|
-
# Parameters for the Auth Rule
|
|
304
|
-
sig do
|
|
305
|
-
returns(
|
|
306
|
-
Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::Variants
|
|
307
|
-
)
|
|
308
|
-
end
|
|
309
|
-
attr_accessor :parameters
|
|
310
|
-
|
|
311
|
-
# The version of the rule, this is incremented whenever the rule's parameters
|
|
312
|
-
# change.
|
|
313
|
-
sig { returns(Integer) }
|
|
314
|
-
attr_accessor :version
|
|
315
|
-
|
|
316
|
-
sig do
|
|
317
|
-
params(
|
|
318
|
-
parameters:
|
|
319
|
-
T.any(
|
|
320
|
-
Lithic::AuthRules::ConditionalBlockParameters::OrHash,
|
|
321
|
-
Lithic::AuthRules::VelocityLimitParams::OrHash,
|
|
322
|
-
Lithic::AuthRules::MerchantLockParameters::OrHash,
|
|
323
|
-
Lithic::AuthRules::Conditional3DSActionParameters::OrHash,
|
|
324
|
-
Lithic::AuthRules::ConditionalAuthorizationActionParameters::OrHash
|
|
325
|
-
),
|
|
326
|
-
version: Integer
|
|
327
|
-
).returns(T.attached_class)
|
|
328
|
-
end
|
|
329
|
-
def self.new(
|
|
330
|
-
# Parameters for the Auth Rule
|
|
331
|
-
parameters:,
|
|
332
|
-
# The version of the rule, this is incremented whenever the rule's parameters
|
|
333
|
-
# change.
|
|
334
|
-
version:
|
|
335
|
-
)
|
|
336
|
-
end
|
|
337
|
-
|
|
338
|
-
sig do
|
|
339
|
-
override.returns(
|
|
340
|
-
{
|
|
341
|
-
parameters:
|
|
342
|
-
Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::Variants,
|
|
343
|
-
version: Integer
|
|
344
|
-
}
|
|
345
|
-
)
|
|
346
|
-
end
|
|
347
|
-
def to_hash
|
|
348
|
-
end
|
|
349
|
-
|
|
350
|
-
# Parameters for the Auth Rule
|
|
351
|
-
module Parameters
|
|
352
|
-
extend Lithic::Internal::Type::Union
|
|
353
|
-
|
|
354
|
-
Variants =
|
|
355
|
-
T.type_alias do
|
|
356
|
-
T.any(
|
|
357
|
-
Lithic::AuthRules::ConditionalBlockParameters,
|
|
358
|
-
Lithic::AuthRules::VelocityLimitParams,
|
|
359
|
-
Lithic::AuthRules::MerchantLockParameters,
|
|
360
|
-
Lithic::AuthRules::Conditional3DSActionParameters,
|
|
361
|
-
Lithic::AuthRules::ConditionalAuthorizationActionParameters
|
|
362
|
-
)
|
|
363
|
-
end
|
|
364
|
-
|
|
365
|
-
sig do
|
|
366
|
-
override.returns(
|
|
367
|
-
T::Array[
|
|
368
|
-
Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::Variants
|
|
369
|
-
]
|
|
370
|
-
)
|
|
371
|
-
end
|
|
372
|
-
def self.variants
|
|
373
|
-
end
|
|
374
|
-
end
|
|
375
|
-
end
|
|
376
|
-
|
|
377
|
-
# The event stream during which the rule will be evaluated.
|
|
378
|
-
module EventStream
|
|
379
|
-
extend Lithic::Internal::Type::Enum
|
|
380
|
-
|
|
381
|
-
TaggedSymbol =
|
|
382
|
-
T.type_alias do
|
|
383
|
-
T.all(
|
|
384
|
-
Symbol,
|
|
385
|
-
Lithic::Models::AuthRules::V2UpdateResponse::EventStream
|
|
386
|
-
)
|
|
387
|
-
end
|
|
388
|
-
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
389
|
-
|
|
390
|
-
AUTHORIZATION =
|
|
391
|
-
T.let(
|
|
392
|
-
:AUTHORIZATION,
|
|
393
|
-
Lithic::Models::AuthRules::V2UpdateResponse::EventStream::TaggedSymbol
|
|
394
|
-
)
|
|
395
|
-
THREE_DS_AUTHENTICATION =
|
|
396
|
-
T.let(
|
|
397
|
-
:THREE_DS_AUTHENTICATION,
|
|
398
|
-
Lithic::Models::AuthRules::V2UpdateResponse::EventStream::TaggedSymbol
|
|
399
|
-
)
|
|
400
|
-
|
|
401
|
-
sig do
|
|
402
|
-
override.returns(
|
|
403
|
-
T::Array[
|
|
404
|
-
Lithic::Models::AuthRules::V2UpdateResponse::EventStream::TaggedSymbol
|
|
405
|
-
]
|
|
406
|
-
)
|
|
407
|
-
end
|
|
408
|
-
def self.values
|
|
409
|
-
end
|
|
410
|
-
end
|
|
411
|
-
|
|
412
|
-
# The state of the Auth Rule
|
|
413
|
-
module State
|
|
414
|
-
extend Lithic::Internal::Type::Enum
|
|
415
|
-
|
|
416
|
-
TaggedSymbol =
|
|
417
|
-
T.type_alias do
|
|
418
|
-
T.all(Symbol, Lithic::Models::AuthRules::V2UpdateResponse::State)
|
|
419
|
-
end
|
|
420
|
-
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
421
|
-
|
|
422
|
-
ACTIVE =
|
|
423
|
-
T.let(
|
|
424
|
-
:ACTIVE,
|
|
425
|
-
Lithic::Models::AuthRules::V2UpdateResponse::State::TaggedSymbol
|
|
426
|
-
)
|
|
427
|
-
INACTIVE =
|
|
428
|
-
T.let(
|
|
429
|
-
:INACTIVE,
|
|
430
|
-
Lithic::Models::AuthRules::V2UpdateResponse::State::TaggedSymbol
|
|
431
|
-
)
|
|
432
|
-
|
|
433
|
-
sig do
|
|
434
|
-
override.returns(
|
|
435
|
-
T::Array[
|
|
436
|
-
Lithic::Models::AuthRules::V2UpdateResponse::State::TaggedSymbol
|
|
437
|
-
]
|
|
438
|
-
)
|
|
439
|
-
end
|
|
440
|
-
def self.values
|
|
441
|
-
end
|
|
442
|
-
end
|
|
443
|
-
|
|
444
|
-
# The type of Auth Rule. For certain rule types, this determines the event stream
|
|
445
|
-
# during which it will be evaluated. For rules that can be applied to one of
|
|
446
|
-
# several event streams, the effective one is defined by the separate
|
|
447
|
-
# `event_stream` field.
|
|
448
|
-
#
|
|
449
|
-
# - `CONDITIONAL_BLOCK`: AUTHORIZATION event stream.
|
|
450
|
-
# - `VELOCITY_LIMIT`: AUTHORIZATION event stream.
|
|
451
|
-
# - `MERCHANT_LOCK`: AUTHORIZATION event stream.
|
|
452
|
-
# - `CONDITIONAL_ACTION`: AUTHORIZATION or THREE_DS_AUTHENTICATION event stream.
|
|
453
|
-
module Type
|
|
454
|
-
extend Lithic::Internal::Type::Enum
|
|
455
|
-
|
|
456
|
-
TaggedSymbol =
|
|
457
|
-
T.type_alias do
|
|
458
|
-
T.all(Symbol, Lithic::Models::AuthRules::V2UpdateResponse::Type)
|
|
459
|
-
end
|
|
460
|
-
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
461
|
-
|
|
462
|
-
CONDITIONAL_BLOCK =
|
|
463
|
-
T.let(
|
|
464
|
-
:CONDITIONAL_BLOCK,
|
|
465
|
-
Lithic::Models::AuthRules::V2UpdateResponse::Type::TaggedSymbol
|
|
466
|
-
)
|
|
467
|
-
VELOCITY_LIMIT =
|
|
468
|
-
T.let(
|
|
469
|
-
:VELOCITY_LIMIT,
|
|
470
|
-
Lithic::Models::AuthRules::V2UpdateResponse::Type::TaggedSymbol
|
|
471
|
-
)
|
|
472
|
-
MERCHANT_LOCK =
|
|
473
|
-
T.let(
|
|
474
|
-
:MERCHANT_LOCK,
|
|
475
|
-
Lithic::Models::AuthRules::V2UpdateResponse::Type::TaggedSymbol
|
|
476
|
-
)
|
|
477
|
-
CONDITIONAL_ACTION =
|
|
478
|
-
T.let(
|
|
479
|
-
:CONDITIONAL_ACTION,
|
|
480
|
-
Lithic::Models::AuthRules::V2UpdateResponse::Type::TaggedSymbol
|
|
481
|
-
)
|
|
482
|
-
|
|
483
|
-
sig do
|
|
484
|
-
override.returns(
|
|
485
|
-
T::Array[
|
|
486
|
-
Lithic::Models::AuthRules::V2UpdateResponse::Type::TaggedSymbol
|
|
487
|
-
]
|
|
488
|
-
)
|
|
489
|
-
end
|
|
490
|
-
def self.values
|
|
491
|
-
end
|
|
492
|
-
end
|
|
493
|
-
end
|
|
494
|
-
end
|
|
495
|
-
end
|
|
496
|
-
end
|
|
@@ -1,170 +0,0 @@
|
|
|
1
|
-
# typed: strong
|
|
2
|
-
|
|
3
|
-
module Lithic
|
|
4
|
-
module Models
|
|
5
|
-
module Cards
|
|
6
|
-
class BalanceListResponse < Lithic::Internal::Type::BaseModel
|
|
7
|
-
OrHash =
|
|
8
|
-
T.type_alias do
|
|
9
|
-
T.any(
|
|
10
|
-
Lithic::Models::Cards::BalanceListResponse,
|
|
11
|
-
Lithic::Internal::AnyHash
|
|
12
|
-
)
|
|
13
|
-
end
|
|
14
|
-
|
|
15
|
-
# Globally unique identifier for the financial account that holds this balance.
|
|
16
|
-
sig { returns(String) }
|
|
17
|
-
attr_accessor :token
|
|
18
|
-
|
|
19
|
-
# Funds available for spend in the currency's smallest unit (e.g., cents for USD)
|
|
20
|
-
sig { returns(Integer) }
|
|
21
|
-
attr_accessor :available_amount
|
|
22
|
-
|
|
23
|
-
# Date and time for when the balance was first created.
|
|
24
|
-
sig { returns(Time) }
|
|
25
|
-
attr_accessor :created
|
|
26
|
-
|
|
27
|
-
# 3-character alphabetic ISO 4217 code for the local currency of the balance.
|
|
28
|
-
sig { returns(String) }
|
|
29
|
-
attr_accessor :currency
|
|
30
|
-
|
|
31
|
-
# Globally unique identifier for the last financial transaction event that
|
|
32
|
-
# impacted this balance.
|
|
33
|
-
sig { returns(String) }
|
|
34
|
-
attr_accessor :last_transaction_event_token
|
|
35
|
-
|
|
36
|
-
# Globally unique identifier for the last financial transaction that impacted this
|
|
37
|
-
# balance.
|
|
38
|
-
sig { returns(String) }
|
|
39
|
-
attr_accessor :last_transaction_token
|
|
40
|
-
|
|
41
|
-
# Funds not available for spend due to card authorizations or pending ACH release.
|
|
42
|
-
# Shown in the currency's smallest unit (e.g., cents for USD).
|
|
43
|
-
sig { returns(Integer) }
|
|
44
|
-
attr_accessor :pending_amount
|
|
45
|
-
|
|
46
|
-
# The sum of available and pending balance in the currency's smallest unit (e.g.,
|
|
47
|
-
# cents for USD).
|
|
48
|
-
sig { returns(Integer) }
|
|
49
|
-
attr_accessor :total_amount
|
|
50
|
-
|
|
51
|
-
# Type of financial account.
|
|
52
|
-
sig do
|
|
53
|
-
returns(
|
|
54
|
-
Lithic::Models::Cards::BalanceListResponse::Type::TaggedSymbol
|
|
55
|
-
)
|
|
56
|
-
end
|
|
57
|
-
attr_accessor :type
|
|
58
|
-
|
|
59
|
-
# Date and time for when the balance was last updated.
|
|
60
|
-
sig { returns(Time) }
|
|
61
|
-
attr_accessor :updated
|
|
62
|
-
|
|
63
|
-
# Balance of a Financial Account
|
|
64
|
-
sig do
|
|
65
|
-
params(
|
|
66
|
-
token: String,
|
|
67
|
-
available_amount: Integer,
|
|
68
|
-
created: Time,
|
|
69
|
-
currency: String,
|
|
70
|
-
last_transaction_event_token: String,
|
|
71
|
-
last_transaction_token: String,
|
|
72
|
-
pending_amount: Integer,
|
|
73
|
-
total_amount: Integer,
|
|
74
|
-
type: Lithic::Models::Cards::BalanceListResponse::Type::OrSymbol,
|
|
75
|
-
updated: Time
|
|
76
|
-
).returns(T.attached_class)
|
|
77
|
-
end
|
|
78
|
-
def self.new(
|
|
79
|
-
# Globally unique identifier for the financial account that holds this balance.
|
|
80
|
-
token:,
|
|
81
|
-
# Funds available for spend in the currency's smallest unit (e.g., cents for USD)
|
|
82
|
-
available_amount:,
|
|
83
|
-
# Date and time for when the balance was first created.
|
|
84
|
-
created:,
|
|
85
|
-
# 3-character alphabetic ISO 4217 code for the local currency of the balance.
|
|
86
|
-
currency:,
|
|
87
|
-
# Globally unique identifier for the last financial transaction event that
|
|
88
|
-
# impacted this balance.
|
|
89
|
-
last_transaction_event_token:,
|
|
90
|
-
# Globally unique identifier for the last financial transaction that impacted this
|
|
91
|
-
# balance.
|
|
92
|
-
last_transaction_token:,
|
|
93
|
-
# Funds not available for spend due to card authorizations or pending ACH release.
|
|
94
|
-
# Shown in the currency's smallest unit (e.g., cents for USD).
|
|
95
|
-
pending_amount:,
|
|
96
|
-
# The sum of available and pending balance in the currency's smallest unit (e.g.,
|
|
97
|
-
# cents for USD).
|
|
98
|
-
total_amount:,
|
|
99
|
-
# Type of financial account.
|
|
100
|
-
type:,
|
|
101
|
-
# Date and time for when the balance was last updated.
|
|
102
|
-
updated:
|
|
103
|
-
)
|
|
104
|
-
end
|
|
105
|
-
|
|
106
|
-
sig do
|
|
107
|
-
override.returns(
|
|
108
|
-
{
|
|
109
|
-
token: String,
|
|
110
|
-
available_amount: Integer,
|
|
111
|
-
created: Time,
|
|
112
|
-
currency: String,
|
|
113
|
-
last_transaction_event_token: String,
|
|
114
|
-
last_transaction_token: String,
|
|
115
|
-
pending_amount: Integer,
|
|
116
|
-
total_amount: Integer,
|
|
117
|
-
type:
|
|
118
|
-
Lithic::Models::Cards::BalanceListResponse::Type::TaggedSymbol,
|
|
119
|
-
updated: Time
|
|
120
|
-
}
|
|
121
|
-
)
|
|
122
|
-
end
|
|
123
|
-
def to_hash
|
|
124
|
-
end
|
|
125
|
-
|
|
126
|
-
# Type of financial account.
|
|
127
|
-
module Type
|
|
128
|
-
extend Lithic::Internal::Type::Enum
|
|
129
|
-
|
|
130
|
-
TaggedSymbol =
|
|
131
|
-
T.type_alias do
|
|
132
|
-
T.all(Symbol, Lithic::Models::Cards::BalanceListResponse::Type)
|
|
133
|
-
end
|
|
134
|
-
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
135
|
-
|
|
136
|
-
ISSUING =
|
|
137
|
-
T.let(
|
|
138
|
-
:ISSUING,
|
|
139
|
-
Lithic::Models::Cards::BalanceListResponse::Type::TaggedSymbol
|
|
140
|
-
)
|
|
141
|
-
OPERATING =
|
|
142
|
-
T.let(
|
|
143
|
-
:OPERATING,
|
|
144
|
-
Lithic::Models::Cards::BalanceListResponse::Type::TaggedSymbol
|
|
145
|
-
)
|
|
146
|
-
RESERVE =
|
|
147
|
-
T.let(
|
|
148
|
-
:RESERVE,
|
|
149
|
-
Lithic::Models::Cards::BalanceListResponse::Type::TaggedSymbol
|
|
150
|
-
)
|
|
151
|
-
SECURITY =
|
|
152
|
-
T.let(
|
|
153
|
-
:SECURITY,
|
|
154
|
-
Lithic::Models::Cards::BalanceListResponse::Type::TaggedSymbol
|
|
155
|
-
)
|
|
156
|
-
|
|
157
|
-
sig do
|
|
158
|
-
override.returns(
|
|
159
|
-
T::Array[
|
|
160
|
-
Lithic::Models::Cards::BalanceListResponse::Type::TaggedSymbol
|
|
161
|
-
]
|
|
162
|
-
)
|
|
163
|
-
end
|
|
164
|
-
def self.values
|
|
165
|
-
end
|
|
166
|
-
end
|
|
167
|
-
end
|
|
168
|
-
end
|
|
169
|
-
end
|
|
170
|
-
end
|