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
|
@@ -0,0 +1,239 @@
|
|
|
1
|
+
module Lithic
|
|
2
|
+
module Models
|
|
3
|
+
module AuthRules
|
|
4
|
+
type conditional_tokenization_action_parameters =
|
|
5
|
+
{
|
|
6
|
+
action: Lithic::Models::AuthRules::ConditionalTokenizationActionParameters::action,
|
|
7
|
+
conditions: ::Array[Lithic::AuthRules::ConditionalTokenizationActionParameters::Condition]
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
class ConditionalTokenizationActionParameters < Lithic::Internal::Type::BaseModel
|
|
11
|
+
attr_accessor action: Lithic::Models::AuthRules::ConditionalTokenizationActionParameters::action
|
|
12
|
+
|
|
13
|
+
attr_accessor conditions: ::Array[Lithic::AuthRules::ConditionalTokenizationActionParameters::Condition]
|
|
14
|
+
|
|
15
|
+
def initialize: (
|
|
16
|
+
action: Lithic::Models::AuthRules::ConditionalTokenizationActionParameters::action,
|
|
17
|
+
conditions: ::Array[Lithic::AuthRules::ConditionalTokenizationActionParameters::Condition]
|
|
18
|
+
) -> void
|
|
19
|
+
|
|
20
|
+
def to_hash: -> {
|
|
21
|
+
action: Lithic::Models::AuthRules::ConditionalTokenizationActionParameters::action,
|
|
22
|
+
conditions: ::Array[Lithic::AuthRules::ConditionalTokenizationActionParameters::Condition]
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
type action =
|
|
26
|
+
Lithic::AuthRules::ConditionalTokenizationActionParameters::Action::DeclineAction
|
|
27
|
+
| Lithic::AuthRules::ConditionalTokenizationActionParameters::Action::RequireTfaAction
|
|
28
|
+
|
|
29
|
+
module Action
|
|
30
|
+
extend Lithic::Internal::Type::Union
|
|
31
|
+
|
|
32
|
+
type decline_action =
|
|
33
|
+
{
|
|
34
|
+
type: Lithic::Models::AuthRules::ConditionalTokenizationActionParameters::Action::DeclineAction::type_,
|
|
35
|
+
reason: Lithic::Models::AuthRules::ConditionalTokenizationActionParameters::Action::DeclineAction::reason
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
class DeclineAction < Lithic::Internal::Type::BaseModel
|
|
39
|
+
attr_accessor type: Lithic::Models::AuthRules::ConditionalTokenizationActionParameters::Action::DeclineAction::type_
|
|
40
|
+
|
|
41
|
+
attr_reader reason: Lithic::Models::AuthRules::ConditionalTokenizationActionParameters::Action::DeclineAction::reason?
|
|
42
|
+
|
|
43
|
+
def reason=: (
|
|
44
|
+
Lithic::Models::AuthRules::ConditionalTokenizationActionParameters::Action::DeclineAction::reason
|
|
45
|
+
) -> Lithic::Models::AuthRules::ConditionalTokenizationActionParameters::Action::DeclineAction::reason
|
|
46
|
+
|
|
47
|
+
def initialize: (
|
|
48
|
+
type: Lithic::Models::AuthRules::ConditionalTokenizationActionParameters::Action::DeclineAction::type_,
|
|
49
|
+
?reason: Lithic::Models::AuthRules::ConditionalTokenizationActionParameters::Action::DeclineAction::reason
|
|
50
|
+
) -> void
|
|
51
|
+
|
|
52
|
+
def to_hash: -> {
|
|
53
|
+
type: Lithic::Models::AuthRules::ConditionalTokenizationActionParameters::Action::DeclineAction::type_,
|
|
54
|
+
reason: Lithic::Models::AuthRules::ConditionalTokenizationActionParameters::Action::DeclineAction::reason
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
type type_ = :DECLINE
|
|
58
|
+
|
|
59
|
+
module Type
|
|
60
|
+
extend Lithic::Internal::Type::Enum
|
|
61
|
+
|
|
62
|
+
DECLINE: :DECLINE
|
|
63
|
+
|
|
64
|
+
def self?.values: -> ::Array[Lithic::Models::AuthRules::ConditionalTokenizationActionParameters::Action::DeclineAction::type_]
|
|
65
|
+
end
|
|
66
|
+
|
|
67
|
+
type reason =
|
|
68
|
+
:ACCOUNT_SCORE_1
|
|
69
|
+
| :DEVICE_SCORE_1
|
|
70
|
+
| :ALL_WALLET_DECLINE_REASONS_PRESENT
|
|
71
|
+
| :WALLET_RECOMMENDED_DECISION_RED
|
|
72
|
+
| :CVC_MISMATCH
|
|
73
|
+
| :CARD_EXPIRY_MONTH_MISMATCH
|
|
74
|
+
| :CARD_EXPIRY_YEAR_MISMATCH
|
|
75
|
+
| :CARD_INVALID_STATE
|
|
76
|
+
| :CUSTOMER_RED_PATH
|
|
77
|
+
| :INVALID_CUSTOMER_RESPONSE
|
|
78
|
+
| :NETWORK_FAILURE
|
|
79
|
+
| :GENERIC_DECLINE
|
|
80
|
+
| :DIGITAL_CARD_ART_REQUIRED
|
|
81
|
+
|
|
82
|
+
module Reason
|
|
83
|
+
extend Lithic::Internal::Type::Enum
|
|
84
|
+
|
|
85
|
+
ACCOUNT_SCORE_1: :ACCOUNT_SCORE_1
|
|
86
|
+
DEVICE_SCORE_1: :DEVICE_SCORE_1
|
|
87
|
+
ALL_WALLET_DECLINE_REASONS_PRESENT: :ALL_WALLET_DECLINE_REASONS_PRESENT
|
|
88
|
+
WALLET_RECOMMENDED_DECISION_RED: :WALLET_RECOMMENDED_DECISION_RED
|
|
89
|
+
CVC_MISMATCH: :CVC_MISMATCH
|
|
90
|
+
CARD_EXPIRY_MONTH_MISMATCH: :CARD_EXPIRY_MONTH_MISMATCH
|
|
91
|
+
CARD_EXPIRY_YEAR_MISMATCH: :CARD_EXPIRY_YEAR_MISMATCH
|
|
92
|
+
CARD_INVALID_STATE: :CARD_INVALID_STATE
|
|
93
|
+
CUSTOMER_RED_PATH: :CUSTOMER_RED_PATH
|
|
94
|
+
INVALID_CUSTOMER_RESPONSE: :INVALID_CUSTOMER_RESPONSE
|
|
95
|
+
NETWORK_FAILURE: :NETWORK_FAILURE
|
|
96
|
+
GENERIC_DECLINE: :GENERIC_DECLINE
|
|
97
|
+
DIGITAL_CARD_ART_REQUIRED: :DIGITAL_CARD_ART_REQUIRED
|
|
98
|
+
|
|
99
|
+
def self?.values: -> ::Array[Lithic::Models::AuthRules::ConditionalTokenizationActionParameters::Action::DeclineAction::reason]
|
|
100
|
+
end
|
|
101
|
+
end
|
|
102
|
+
|
|
103
|
+
type require_tfa_action =
|
|
104
|
+
{
|
|
105
|
+
type: Lithic::Models::AuthRules::ConditionalTokenizationActionParameters::Action::RequireTfaAction::type_,
|
|
106
|
+
reason: Lithic::Models::AuthRules::ConditionalTokenizationActionParameters::Action::RequireTfaAction::reason
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
class RequireTfaAction < Lithic::Internal::Type::BaseModel
|
|
110
|
+
attr_accessor type: Lithic::Models::AuthRules::ConditionalTokenizationActionParameters::Action::RequireTfaAction::type_
|
|
111
|
+
|
|
112
|
+
attr_reader reason: Lithic::Models::AuthRules::ConditionalTokenizationActionParameters::Action::RequireTfaAction::reason?
|
|
113
|
+
|
|
114
|
+
def reason=: (
|
|
115
|
+
Lithic::Models::AuthRules::ConditionalTokenizationActionParameters::Action::RequireTfaAction::reason
|
|
116
|
+
) -> Lithic::Models::AuthRules::ConditionalTokenizationActionParameters::Action::RequireTfaAction::reason
|
|
117
|
+
|
|
118
|
+
def initialize: (
|
|
119
|
+
type: Lithic::Models::AuthRules::ConditionalTokenizationActionParameters::Action::RequireTfaAction::type_,
|
|
120
|
+
?reason: Lithic::Models::AuthRules::ConditionalTokenizationActionParameters::Action::RequireTfaAction::reason
|
|
121
|
+
) -> void
|
|
122
|
+
|
|
123
|
+
def to_hash: -> {
|
|
124
|
+
type: Lithic::Models::AuthRules::ConditionalTokenizationActionParameters::Action::RequireTfaAction::type_,
|
|
125
|
+
reason: Lithic::Models::AuthRules::ConditionalTokenizationActionParameters::Action::RequireTfaAction::reason
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
type type_ = :REQUIRE_TFA
|
|
129
|
+
|
|
130
|
+
module Type
|
|
131
|
+
extend Lithic::Internal::Type::Enum
|
|
132
|
+
|
|
133
|
+
REQUIRE_TFA: :REQUIRE_TFA
|
|
134
|
+
|
|
135
|
+
def self?.values: -> ::Array[Lithic::Models::AuthRules::ConditionalTokenizationActionParameters::Action::RequireTfaAction::type_]
|
|
136
|
+
end
|
|
137
|
+
|
|
138
|
+
type reason =
|
|
139
|
+
:WALLET_RECOMMENDED_TFA
|
|
140
|
+
| :SUSPICIOUS_ACTIVITY
|
|
141
|
+
| :DEVICE_RECENTLY_LOST
|
|
142
|
+
| :TOO_MANY_RECENT_ATTEMPTS
|
|
143
|
+
| :TOO_MANY_RECENT_TOKENS
|
|
144
|
+
| :TOO_MANY_DIFFERENT_CARDHOLDERS
|
|
145
|
+
| :OUTSIDE_HOME_TERRITORY
|
|
146
|
+
| :HAS_SUSPENDED_TOKENS
|
|
147
|
+
| :HIGH_RISK
|
|
148
|
+
| :ACCOUNT_SCORE_LOW
|
|
149
|
+
| :DEVICE_SCORE_LOW
|
|
150
|
+
| :CARD_STATE_TFA
|
|
151
|
+
| :HARDCODED_TFA
|
|
152
|
+
| :CUSTOMER_RULE_TFA
|
|
153
|
+
| :DEVICE_HOST_CARD_EMULATION
|
|
154
|
+
|
|
155
|
+
module Reason
|
|
156
|
+
extend Lithic::Internal::Type::Enum
|
|
157
|
+
|
|
158
|
+
WALLET_RECOMMENDED_TFA: :WALLET_RECOMMENDED_TFA
|
|
159
|
+
SUSPICIOUS_ACTIVITY: :SUSPICIOUS_ACTIVITY
|
|
160
|
+
DEVICE_RECENTLY_LOST: :DEVICE_RECENTLY_LOST
|
|
161
|
+
TOO_MANY_RECENT_ATTEMPTS: :TOO_MANY_RECENT_ATTEMPTS
|
|
162
|
+
TOO_MANY_RECENT_TOKENS: :TOO_MANY_RECENT_TOKENS
|
|
163
|
+
TOO_MANY_DIFFERENT_CARDHOLDERS: :TOO_MANY_DIFFERENT_CARDHOLDERS
|
|
164
|
+
OUTSIDE_HOME_TERRITORY: :OUTSIDE_HOME_TERRITORY
|
|
165
|
+
HAS_SUSPENDED_TOKENS: :HAS_SUSPENDED_TOKENS
|
|
166
|
+
HIGH_RISK: :HIGH_RISK
|
|
167
|
+
ACCOUNT_SCORE_LOW: :ACCOUNT_SCORE_LOW
|
|
168
|
+
DEVICE_SCORE_LOW: :DEVICE_SCORE_LOW
|
|
169
|
+
CARD_STATE_TFA: :CARD_STATE_TFA
|
|
170
|
+
HARDCODED_TFA: :HARDCODED_TFA
|
|
171
|
+
CUSTOMER_RULE_TFA: :CUSTOMER_RULE_TFA
|
|
172
|
+
DEVICE_HOST_CARD_EMULATION: :DEVICE_HOST_CARD_EMULATION
|
|
173
|
+
|
|
174
|
+
def self?.values: -> ::Array[Lithic::Models::AuthRules::ConditionalTokenizationActionParameters::Action::RequireTfaAction::reason]
|
|
175
|
+
end
|
|
176
|
+
end
|
|
177
|
+
|
|
178
|
+
def self?.variants: -> ::Array[Lithic::Models::AuthRules::ConditionalTokenizationActionParameters::action]
|
|
179
|
+
end
|
|
180
|
+
|
|
181
|
+
type condition =
|
|
182
|
+
{
|
|
183
|
+
attribute: Lithic::Models::AuthRules::ConditionalTokenizationActionParameters::Condition::attribute,
|
|
184
|
+
operation: Lithic::Models::AuthRules::conditional_operation,
|
|
185
|
+
value: Lithic::Models::AuthRules::conditional_value
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
class Condition < Lithic::Internal::Type::BaseModel
|
|
189
|
+
attr_accessor attribute: Lithic::Models::AuthRules::ConditionalTokenizationActionParameters::Condition::attribute
|
|
190
|
+
|
|
191
|
+
attr_accessor operation: Lithic::Models::AuthRules::conditional_operation
|
|
192
|
+
|
|
193
|
+
attr_accessor value: Lithic::Models::AuthRules::conditional_value
|
|
194
|
+
|
|
195
|
+
def initialize: (
|
|
196
|
+
attribute: Lithic::Models::AuthRules::ConditionalTokenizationActionParameters::Condition::attribute,
|
|
197
|
+
operation: Lithic::Models::AuthRules::conditional_operation,
|
|
198
|
+
value: Lithic::Models::AuthRules::conditional_value
|
|
199
|
+
) -> void
|
|
200
|
+
|
|
201
|
+
def to_hash: -> {
|
|
202
|
+
attribute: Lithic::Models::AuthRules::ConditionalTokenizationActionParameters::Condition::attribute,
|
|
203
|
+
operation: Lithic::Models::AuthRules::conditional_operation,
|
|
204
|
+
value: Lithic::Models::AuthRules::conditional_value
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
type attribute =
|
|
208
|
+
:TIMESTAMP
|
|
209
|
+
| :TOKENIZATION_CHANNEL
|
|
210
|
+
| :TOKENIZATION_SOURCE
|
|
211
|
+
| :TOKEN_REQUESTOR_NAME
|
|
212
|
+
| :WALLET_ACCOUNT_SCORE
|
|
213
|
+
| :WALLET_DEVICE_SCORE
|
|
214
|
+
| :WALLET_RECOMMENDED_DECISION
|
|
215
|
+
| :WALLET_RECOMMENDATION_REASONS
|
|
216
|
+
| :TOKEN_REQUESTOR_ID
|
|
217
|
+
| :WALLET_TOKEN_STATUS
|
|
218
|
+
|
|
219
|
+
module Attribute
|
|
220
|
+
extend Lithic::Internal::Type::Enum
|
|
221
|
+
|
|
222
|
+
TIMESTAMP: :TIMESTAMP
|
|
223
|
+
TOKENIZATION_CHANNEL: :TOKENIZATION_CHANNEL
|
|
224
|
+
TOKENIZATION_SOURCE: :TOKENIZATION_SOURCE
|
|
225
|
+
TOKEN_REQUESTOR_NAME: :TOKEN_REQUESTOR_NAME
|
|
226
|
+
WALLET_ACCOUNT_SCORE: :WALLET_ACCOUNT_SCORE
|
|
227
|
+
WALLET_DEVICE_SCORE: :WALLET_DEVICE_SCORE
|
|
228
|
+
WALLET_RECOMMENDED_DECISION: :WALLET_RECOMMENDED_DECISION
|
|
229
|
+
WALLET_RECOMMENDATION_REASONS: :WALLET_RECOMMENDATION_REASONS
|
|
230
|
+
TOKEN_REQUESTOR_ID: :TOKEN_REQUESTOR_ID
|
|
231
|
+
WALLET_TOKEN_STATUS: :WALLET_TOKEN_STATUS
|
|
232
|
+
|
|
233
|
+
def self?.values: -> ::Array[Lithic::Models::AuthRules::ConditionalTokenizationActionParameters::Condition::attribute]
|
|
234
|
+
end
|
|
235
|
+
end
|
|
236
|
+
end
|
|
237
|
+
end
|
|
238
|
+
end
|
|
239
|
+
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
module Lithic
|
|
2
|
+
module Models
|
|
3
|
+
module AuthRules
|
|
4
|
+
type conditional_value = String | Integer | ::Array[String] | Time
|
|
5
|
+
|
|
6
|
+
module ConditionalValue
|
|
7
|
+
extend Lithic::Internal::Type::Union
|
|
8
|
+
|
|
9
|
+
def self?.variants: -> ::Array[Lithic::Models::AuthRules::conditional_value]
|
|
10
|
+
|
|
11
|
+
StringArray: Lithic::Internal::Type::Converter
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
module Lithic
|
|
2
|
+
module Models
|
|
3
|
+
module AuthRules
|
|
4
|
+
type event_stream =
|
|
5
|
+
:AUTHORIZATION
|
|
6
|
+
| :THREE_DS_AUTHENTICATION
|
|
7
|
+
| :TOKENIZATION
|
|
8
|
+
| :ACH_CREDIT_RECEIPT
|
|
9
|
+
| :ACH_DEBIT_RECEIPT
|
|
10
|
+
|
|
11
|
+
module EventStream
|
|
12
|
+
extend Lithic::Internal::Type::Enum
|
|
13
|
+
|
|
14
|
+
AUTHORIZATION: :AUTHORIZATION
|
|
15
|
+
THREE_DS_AUTHENTICATION: :THREE_DS_AUTHENTICATION
|
|
16
|
+
TOKENIZATION: :TOKENIZATION
|
|
17
|
+
ACH_CREDIT_RECEIPT: :ACH_CREDIT_RECEIPT
|
|
18
|
+
ACH_DEBIT_RECEIPT: :ACH_DEBIT_RECEIPT
|
|
19
|
+
|
|
20
|
+
def self?.values: -> ::Array[Lithic::Models::AuthRules::event_stream]
|
|
21
|
+
end
|
|
22
|
+
end
|
|
23
|
+
end
|
|
24
|
+
end
|
|
@@ -7,7 +7,7 @@ module Lithic
|
|
|
7
7
|
type: Lithic::Models::AuthRules::V2CreateParams::type_,
|
|
8
8
|
account_tokens: ::Array[String],
|
|
9
9
|
business_account_tokens: ::Array[String],
|
|
10
|
-
event_stream: Lithic::Models::AuthRules::
|
|
10
|
+
event_stream: Lithic::Models::AuthRules::event_stream,
|
|
11
11
|
name: String?,
|
|
12
12
|
card_tokens: ::Array[String],
|
|
13
13
|
program_level: bool,
|
|
@@ -31,11 +31,11 @@ module Lithic
|
|
|
31
31
|
|
|
32
32
|
def business_account_tokens=: (::Array[String]) -> ::Array[String]
|
|
33
33
|
|
|
34
|
-
attr_reader event_stream: Lithic::Models::AuthRules::
|
|
34
|
+
attr_reader event_stream: Lithic::Models::AuthRules::event_stream?
|
|
35
35
|
|
|
36
36
|
def event_stream=: (
|
|
37
|
-
Lithic::Models::AuthRules::
|
|
38
|
-
) -> Lithic::Models::AuthRules::
|
|
37
|
+
Lithic::Models::AuthRules::event_stream
|
|
38
|
+
) -> Lithic::Models::AuthRules::event_stream
|
|
39
39
|
|
|
40
40
|
attr_accessor name: String?
|
|
41
41
|
|
|
@@ -54,7 +54,7 @@ module Lithic
|
|
|
54
54
|
program_level: bool,
|
|
55
55
|
?account_tokens: ::Array[String],
|
|
56
56
|
?business_account_tokens: ::Array[String],
|
|
57
|
-
?event_stream: Lithic::Models::AuthRules::
|
|
57
|
+
?event_stream: Lithic::Models::AuthRules::event_stream,
|
|
58
58
|
?name: String?,
|
|
59
59
|
?excluded_card_tokens: ::Array[String],
|
|
60
60
|
?request_options: Lithic::request_opts
|
|
@@ -65,7 +65,7 @@ module Lithic
|
|
|
65
65
|
type: Lithic::Models::AuthRules::V2CreateParams::type_,
|
|
66
66
|
account_tokens: ::Array[String],
|
|
67
67
|
business_account_tokens: ::Array[String],
|
|
68
|
-
event_stream: Lithic::Models::AuthRules::
|
|
68
|
+
event_stream: Lithic::Models::AuthRules::event_stream,
|
|
69
69
|
name: String?,
|
|
70
70
|
card_tokens: ::Array[String],
|
|
71
71
|
program_level: bool,
|
|
@@ -79,6 +79,8 @@ module Lithic
|
|
|
79
79
|
| Lithic::AuthRules::MerchantLockParameters
|
|
80
80
|
| Lithic::AuthRules::Conditional3DSActionParameters
|
|
81
81
|
| Lithic::AuthRules::ConditionalAuthorizationActionParameters
|
|
82
|
+
| Lithic::AuthRules::ConditionalACHActionParameters
|
|
83
|
+
| Lithic::AuthRules::ConditionalTokenizationActionParameters
|
|
82
84
|
|
|
83
85
|
module Parameters
|
|
84
86
|
extend Lithic::Internal::Type::Union
|
|
@@ -102,17 +104,6 @@ module Lithic
|
|
|
102
104
|
|
|
103
105
|
def self?.values: -> ::Array[Lithic::Models::AuthRules::V2CreateParams::type_]
|
|
104
106
|
end
|
|
105
|
-
|
|
106
|
-
type event_stream = :AUTHORIZATION | :THREE_DS_AUTHENTICATION
|
|
107
|
-
|
|
108
|
-
module EventStream
|
|
109
|
-
extend Lithic::Internal::Type::Enum
|
|
110
|
-
|
|
111
|
-
AUTHORIZATION: :AUTHORIZATION
|
|
112
|
-
THREE_DS_AUTHENTICATION: :THREE_DS_AUTHENTICATION
|
|
113
|
-
|
|
114
|
-
def self?.values: -> ::Array[Lithic::Models::AuthRules::V2CreateParams::event_stream]
|
|
115
|
-
end
|
|
116
107
|
end
|
|
117
108
|
end
|
|
118
109
|
end
|
|
@@ -27,6 +27,8 @@ module Lithic
|
|
|
27
27
|
| Lithic::AuthRules::MerchantLockParameters
|
|
28
28
|
| Lithic::AuthRules::Conditional3DSActionParameters
|
|
29
29
|
| Lithic::AuthRules::ConditionalAuthorizationActionParameters
|
|
30
|
+
| Lithic::AuthRules::ConditionalACHActionParameters
|
|
31
|
+
| Lithic::AuthRules::ConditionalTokenizationActionParameters
|
|
30
32
|
|
|
31
33
|
module Parameters
|
|
32
34
|
extend Lithic::Internal::Type::Union
|
|
@@ -7,7 +7,8 @@ module Lithic
|
|
|
7
7
|
business_account_token: String,
|
|
8
8
|
card_token: String,
|
|
9
9
|
ending_before: String,
|
|
10
|
-
event_stream: Lithic::Models::AuthRules::
|
|
10
|
+
event_stream: Lithic::Models::AuthRules::event_stream,
|
|
11
|
+
event_streams: ::Array[Lithic::Models::AuthRules::event_stream],
|
|
11
12
|
page_size: Integer,
|
|
12
13
|
scope: Lithic::Models::AuthRules::V2ListParams::scope,
|
|
13
14
|
starting_after: String
|
|
@@ -34,11 +35,17 @@ module Lithic
|
|
|
34
35
|
|
|
35
36
|
def ending_before=: (String) -> String
|
|
36
37
|
|
|
37
|
-
attr_reader event_stream: Lithic::Models::AuthRules::
|
|
38
|
+
attr_reader event_stream: Lithic::Models::AuthRules::event_stream?
|
|
38
39
|
|
|
39
40
|
def event_stream=: (
|
|
40
|
-
Lithic::Models::AuthRules::
|
|
41
|
-
) -> Lithic::Models::AuthRules::
|
|
41
|
+
Lithic::Models::AuthRules::event_stream
|
|
42
|
+
) -> Lithic::Models::AuthRules::event_stream
|
|
43
|
+
|
|
44
|
+
attr_reader event_streams: ::Array[Lithic::Models::AuthRules::event_stream]?
|
|
45
|
+
|
|
46
|
+
def event_streams=: (
|
|
47
|
+
::Array[Lithic::Models::AuthRules::event_stream]
|
|
48
|
+
) -> ::Array[Lithic::Models::AuthRules::event_stream]
|
|
42
49
|
|
|
43
50
|
attr_reader page_size: Integer?
|
|
44
51
|
|
|
@@ -59,7 +66,8 @@ module Lithic
|
|
|
59
66
|
?business_account_token: String,
|
|
60
67
|
?card_token: String,
|
|
61
68
|
?ending_before: String,
|
|
62
|
-
?event_stream: Lithic::Models::AuthRules::
|
|
69
|
+
?event_stream: Lithic::Models::AuthRules::event_stream,
|
|
70
|
+
?event_streams: ::Array[Lithic::Models::AuthRules::event_stream],
|
|
63
71
|
?page_size: Integer,
|
|
64
72
|
?scope: Lithic::Models::AuthRules::V2ListParams::scope,
|
|
65
73
|
?starting_after: String,
|
|
@@ -71,24 +79,14 @@ module Lithic
|
|
|
71
79
|
business_account_token: String,
|
|
72
80
|
card_token: String,
|
|
73
81
|
ending_before: String,
|
|
74
|
-
event_stream: Lithic::Models::AuthRules::
|
|
82
|
+
event_stream: Lithic::Models::AuthRules::event_stream,
|
|
83
|
+
event_streams: ::Array[Lithic::Models::AuthRules::event_stream],
|
|
75
84
|
page_size: Integer,
|
|
76
85
|
scope: Lithic::Models::AuthRules::V2ListParams::scope,
|
|
77
86
|
starting_after: String,
|
|
78
87
|
request_options: Lithic::RequestOptions
|
|
79
88
|
}
|
|
80
89
|
|
|
81
|
-
type event_stream = :AUTHORIZATION | :THREE_DS_AUTHENTICATION
|
|
82
|
-
|
|
83
|
-
module EventStream
|
|
84
|
-
extend Lithic::Internal::Type::Enum
|
|
85
|
-
|
|
86
|
-
AUTHORIZATION: :AUTHORIZATION
|
|
87
|
-
THREE_DS_AUTHENTICATION: :THREE_DS_AUTHENTICATION
|
|
88
|
-
|
|
89
|
-
def self?.values: -> ::Array[Lithic::Models::AuthRules::V2ListParams::event_stream]
|
|
90
|
-
end
|
|
91
|
-
|
|
92
90
|
type scope = :PROGRAM | :ACCOUNT | :BUSINESS_ACCOUNT | :CARD | :ANY
|
|
93
91
|
|
|
94
92
|
module Scope
|
|
@@ -282,7 +282,8 @@ module Lithic
|
|
|
282
282
|
def self?.values: -> ::Array[Lithic::Models::BookTransferResponse::result]
|
|
283
283
|
end
|
|
284
284
|
|
|
285
|
-
type status =
|
|
285
|
+
type status =
|
|
286
|
+
:PENDING | :SETTLED | :DECLINED | :REVERSED | :CANCELED | :RETURNED
|
|
286
287
|
|
|
287
288
|
module Status
|
|
288
289
|
extend Lithic::Internal::Type::Enum
|
|
@@ -292,6 +293,7 @@ module Lithic
|
|
|
292
293
|
DECLINED: :DECLINED
|
|
293
294
|
REVERSED: :REVERSED
|
|
294
295
|
CANCELED: :CANCELED
|
|
296
|
+
RETURNED: :RETURNED
|
|
295
297
|
|
|
296
298
|
def self?.values: -> ::Array[Lithic::Models::BookTransferResponse::status]
|
|
297
299
|
end
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
module Lithic
|
|
2
|
+
module Models
|
|
3
|
+
type card_bulk_order =
|
|
4
|
+
{
|
|
5
|
+
token: String,
|
|
6
|
+
card_tokens: ::Array[String],
|
|
7
|
+
created: Time,
|
|
8
|
+
customer_product_id: String?,
|
|
9
|
+
shipping_address: top,
|
|
10
|
+
shipping_method: Lithic::Models::CardBulkOrder::shipping_method,
|
|
11
|
+
status: Lithic::Models::CardBulkOrder::status,
|
|
12
|
+
updated: Time
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
class CardBulkOrder < Lithic::Internal::Type::BaseModel
|
|
16
|
+
attr_accessor token: String
|
|
17
|
+
|
|
18
|
+
attr_accessor card_tokens: ::Array[String]
|
|
19
|
+
|
|
20
|
+
attr_accessor created: Time
|
|
21
|
+
|
|
22
|
+
attr_accessor customer_product_id: String?
|
|
23
|
+
|
|
24
|
+
attr_accessor shipping_address: top
|
|
25
|
+
|
|
26
|
+
attr_accessor shipping_method: Lithic::Models::CardBulkOrder::shipping_method
|
|
27
|
+
|
|
28
|
+
attr_accessor status: Lithic::Models::CardBulkOrder::status
|
|
29
|
+
|
|
30
|
+
attr_accessor updated: Time
|
|
31
|
+
|
|
32
|
+
def initialize: (
|
|
33
|
+
token: String,
|
|
34
|
+
card_tokens: ::Array[String],
|
|
35
|
+
created: Time,
|
|
36
|
+
customer_product_id: String?,
|
|
37
|
+
shipping_address: top,
|
|
38
|
+
shipping_method: Lithic::Models::CardBulkOrder::shipping_method,
|
|
39
|
+
status: Lithic::Models::CardBulkOrder::status,
|
|
40
|
+
updated: Time
|
|
41
|
+
) -> void
|
|
42
|
+
|
|
43
|
+
def to_hash: -> {
|
|
44
|
+
token: String,
|
|
45
|
+
card_tokens: ::Array[String],
|
|
46
|
+
created: Time,
|
|
47
|
+
customer_product_id: String?,
|
|
48
|
+
shipping_address: top,
|
|
49
|
+
shipping_method: Lithic::Models::CardBulkOrder::shipping_method,
|
|
50
|
+
status: Lithic::Models::CardBulkOrder::status,
|
|
51
|
+
updated: Time
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
type shipping_method = :BULK_EXPEDITED
|
|
55
|
+
|
|
56
|
+
module ShippingMethod
|
|
57
|
+
extend Lithic::Internal::Type::Enum
|
|
58
|
+
|
|
59
|
+
BULK_EXPEDITED: :BULK_EXPEDITED
|
|
60
|
+
|
|
61
|
+
def self?.values: -> ::Array[Lithic::Models::CardBulkOrder::shipping_method]
|
|
62
|
+
end
|
|
63
|
+
|
|
64
|
+
type status = :OPEN | :LOCKED
|
|
65
|
+
|
|
66
|
+
module Status
|
|
67
|
+
extend Lithic::Internal::Type::Enum
|
|
68
|
+
|
|
69
|
+
OPEN: :OPEN
|
|
70
|
+
LOCKED: :LOCKED
|
|
71
|
+
|
|
72
|
+
def self?.values: -> ::Array[Lithic::Models::CardBulkOrder::status]
|
|
73
|
+
end
|
|
74
|
+
end
|
|
75
|
+
end
|
|
76
|
+
end
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
module Lithic
|
|
2
|
+
module Models
|
|
3
|
+
type card_bulk_order_create_params =
|
|
4
|
+
{
|
|
5
|
+
customer_product_id: String,
|
|
6
|
+
shipping_address: top,
|
|
7
|
+
shipping_method: Lithic::Models::CardBulkOrderCreateParams::shipping_method
|
|
8
|
+
}
|
|
9
|
+
& Lithic::Internal::Type::request_parameters
|
|
10
|
+
|
|
11
|
+
class CardBulkOrderCreateParams < Lithic::Internal::Type::BaseModel
|
|
12
|
+
extend Lithic::Internal::Type::RequestParameters::Converter
|
|
13
|
+
include Lithic::Internal::Type::RequestParameters
|
|
14
|
+
|
|
15
|
+
attr_accessor customer_product_id: String
|
|
16
|
+
|
|
17
|
+
attr_accessor shipping_address: top
|
|
18
|
+
|
|
19
|
+
attr_accessor shipping_method: Lithic::Models::CardBulkOrderCreateParams::shipping_method
|
|
20
|
+
|
|
21
|
+
def initialize: (
|
|
22
|
+
customer_product_id: String,
|
|
23
|
+
shipping_address: top,
|
|
24
|
+
shipping_method: Lithic::Models::CardBulkOrderCreateParams::shipping_method,
|
|
25
|
+
?request_options: Lithic::request_opts
|
|
26
|
+
) -> void
|
|
27
|
+
|
|
28
|
+
def to_hash: -> {
|
|
29
|
+
customer_product_id: String,
|
|
30
|
+
shipping_address: top,
|
|
31
|
+
shipping_method: Lithic::Models::CardBulkOrderCreateParams::shipping_method,
|
|
32
|
+
request_options: Lithic::RequestOptions
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
type shipping_method = :BULK_EXPEDITED
|
|
36
|
+
|
|
37
|
+
module ShippingMethod
|
|
38
|
+
extend Lithic::Internal::Type::Enum
|
|
39
|
+
|
|
40
|
+
BULK_EXPEDITED: :BULK_EXPEDITED
|
|
41
|
+
|
|
42
|
+
def self?.values: -> ::Array[Lithic::Models::CardBulkOrderCreateParams::shipping_method]
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
end
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
module Lithic
|
|
2
|
+
module Models
|
|
3
|
+
type card_bulk_order_list_params =
|
|
4
|
+
{
|
|
5
|
+
begin_: Time,
|
|
6
|
+
end_: Time,
|
|
7
|
+
ending_before: String,
|
|
8
|
+
page_size: Integer,
|
|
9
|
+
starting_after: String
|
|
10
|
+
}
|
|
11
|
+
& Lithic::Internal::Type::request_parameters
|
|
12
|
+
|
|
13
|
+
class CardBulkOrderListParams < Lithic::Internal::Type::BaseModel
|
|
14
|
+
extend Lithic::Internal::Type::RequestParameters::Converter
|
|
15
|
+
include Lithic::Internal::Type::RequestParameters
|
|
16
|
+
|
|
17
|
+
attr_reader begin_: Time?
|
|
18
|
+
|
|
19
|
+
def begin_=: (Time) -> Time
|
|
20
|
+
|
|
21
|
+
attr_reader end_: Time?
|
|
22
|
+
|
|
23
|
+
def end_=: (Time) -> Time
|
|
24
|
+
|
|
25
|
+
attr_reader ending_before: String?
|
|
26
|
+
|
|
27
|
+
def ending_before=: (String) -> String
|
|
28
|
+
|
|
29
|
+
attr_reader page_size: Integer?
|
|
30
|
+
|
|
31
|
+
def page_size=: (Integer) -> Integer
|
|
32
|
+
|
|
33
|
+
attr_reader starting_after: String?
|
|
34
|
+
|
|
35
|
+
def starting_after=: (String) -> String
|
|
36
|
+
|
|
37
|
+
def initialize: (
|
|
38
|
+
?begin_: Time,
|
|
39
|
+
?end_: Time,
|
|
40
|
+
?ending_before: String,
|
|
41
|
+
?page_size: Integer,
|
|
42
|
+
?starting_after: String,
|
|
43
|
+
?request_options: Lithic::request_opts
|
|
44
|
+
) -> void
|
|
45
|
+
|
|
46
|
+
def to_hash: -> {
|
|
47
|
+
begin_: Time,
|
|
48
|
+
end_: Time,
|
|
49
|
+
ending_before: String,
|
|
50
|
+
page_size: Integer,
|
|
51
|
+
starting_after: String,
|
|
52
|
+
request_options: Lithic::RequestOptions
|
|
53
|
+
}
|
|
54
|
+
end
|
|
55
|
+
end
|
|
56
|
+
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
module Lithic
|
|
2
|
+
module Models
|
|
3
|
+
type card_bulk_order_retrieve_params =
|
|
4
|
+
{ } & Lithic::Internal::Type::request_parameters
|
|
5
|
+
|
|
6
|
+
class CardBulkOrderRetrieveParams < Lithic::Internal::Type::BaseModel
|
|
7
|
+
extend Lithic::Internal::Type::RequestParameters::Converter
|
|
8
|
+
include Lithic::Internal::Type::RequestParameters
|
|
9
|
+
|
|
10
|
+
def initialize: (?request_options: Lithic::request_opts) -> void
|
|
11
|
+
|
|
12
|
+
def to_hash: -> { request_options: Lithic::RequestOptions }
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
module Lithic
|
|
2
|
+
module Models
|
|
3
|
+
type card_bulk_order_update_params =
|
|
4
|
+
{ status: Lithic::Models::CardBulkOrderUpdateParams::status }
|
|
5
|
+
& Lithic::Internal::Type::request_parameters
|
|
6
|
+
|
|
7
|
+
class CardBulkOrderUpdateParams < Lithic::Internal::Type::BaseModel
|
|
8
|
+
extend Lithic::Internal::Type::RequestParameters::Converter
|
|
9
|
+
include Lithic::Internal::Type::RequestParameters
|
|
10
|
+
|
|
11
|
+
attr_accessor status: Lithic::Models::CardBulkOrderUpdateParams::status
|
|
12
|
+
|
|
13
|
+
def initialize: (
|
|
14
|
+
status: Lithic::Models::CardBulkOrderUpdateParams::status,
|
|
15
|
+
?request_options: Lithic::request_opts
|
|
16
|
+
) -> void
|
|
17
|
+
|
|
18
|
+
def to_hash: -> {
|
|
19
|
+
status: Lithic::Models::CardBulkOrderUpdateParams::status,
|
|
20
|
+
request_options: Lithic::RequestOptions
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
type status = :LOCKED
|
|
24
|
+
|
|
25
|
+
module Status
|
|
26
|
+
extend Lithic::Internal::Type::Enum
|
|
27
|
+
|
|
28
|
+
LOCKED: :LOCKED
|
|
29
|
+
|
|
30
|
+
def self?.values: -> ::Array[Lithic::Models::CardBulkOrderUpdateParams::status]
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
end
|