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,29 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Lithic
|
|
4
|
+
module Models
|
|
5
|
+
module AuthRules
|
|
6
|
+
# A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH`
|
|
7
|
+
module ConditionalValue
|
|
8
|
+
extend Lithic::Internal::Type::Union
|
|
9
|
+
|
|
10
|
+
Variants =
|
|
11
|
+
T.type_alias { T.any(String, Integer, T::Array[String], Time) }
|
|
12
|
+
|
|
13
|
+
sig do
|
|
14
|
+
override.returns(
|
|
15
|
+
T::Array[Lithic::AuthRules::ConditionalValue::Variants]
|
|
16
|
+
)
|
|
17
|
+
end
|
|
18
|
+
def self.variants
|
|
19
|
+
end
|
|
20
|
+
|
|
21
|
+
StringArray =
|
|
22
|
+
T.let(
|
|
23
|
+
Lithic::Internal::Type::ArrayOf[String],
|
|
24
|
+
Lithic::Internal::Type::Converter
|
|
25
|
+
)
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
end
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Lithic
|
|
4
|
+
module Models
|
|
5
|
+
module AuthRules
|
|
6
|
+
# The event stream during which the rule will be evaluated.
|
|
7
|
+
module EventStream
|
|
8
|
+
extend Lithic::Internal::Type::Enum
|
|
9
|
+
|
|
10
|
+
TaggedSymbol =
|
|
11
|
+
T.type_alias { T.all(Symbol, Lithic::AuthRules::EventStream) }
|
|
12
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
13
|
+
|
|
14
|
+
AUTHORIZATION =
|
|
15
|
+
T.let(:AUTHORIZATION, Lithic::AuthRules::EventStream::TaggedSymbol)
|
|
16
|
+
THREE_DS_AUTHENTICATION =
|
|
17
|
+
T.let(
|
|
18
|
+
:THREE_DS_AUTHENTICATION,
|
|
19
|
+
Lithic::AuthRules::EventStream::TaggedSymbol
|
|
20
|
+
)
|
|
21
|
+
TOKENIZATION =
|
|
22
|
+
T.let(:TOKENIZATION, Lithic::AuthRules::EventStream::TaggedSymbol)
|
|
23
|
+
ACH_CREDIT_RECEIPT =
|
|
24
|
+
T.let(
|
|
25
|
+
:ACH_CREDIT_RECEIPT,
|
|
26
|
+
Lithic::AuthRules::EventStream::TaggedSymbol
|
|
27
|
+
)
|
|
28
|
+
ACH_DEBIT_RECEIPT =
|
|
29
|
+
T.let(
|
|
30
|
+
:ACH_DEBIT_RECEIPT,
|
|
31
|
+
Lithic::AuthRules::EventStream::TaggedSymbol
|
|
32
|
+
)
|
|
33
|
+
|
|
34
|
+
sig do
|
|
35
|
+
override.returns(
|
|
36
|
+
T::Array[Lithic::AuthRules::EventStream::TaggedSymbol]
|
|
37
|
+
)
|
|
38
|
+
end
|
|
39
|
+
def self.values
|
|
40
|
+
end
|
|
41
|
+
end
|
|
42
|
+
end
|
|
43
|
+
end
|
|
44
|
+
end
|
|
@@ -20,7 +20,9 @@ module Lithic
|
|
|
20
20
|
Lithic::AuthRules::VelocityLimitParams,
|
|
21
21
|
Lithic::AuthRules::MerchantLockParameters,
|
|
22
22
|
Lithic::AuthRules::Conditional3DSActionParameters,
|
|
23
|
-
Lithic::AuthRules::ConditionalAuthorizationActionParameters
|
|
23
|
+
Lithic::AuthRules::ConditionalAuthorizationActionParameters,
|
|
24
|
+
Lithic::AuthRules::ConditionalACHActionParameters,
|
|
25
|
+
Lithic::AuthRules::ConditionalTokenizationActionParameters
|
|
24
26
|
)
|
|
25
27
|
)
|
|
26
28
|
end
|
|
@@ -34,7 +36,8 @@ module Lithic
|
|
|
34
36
|
# - `CONDITIONAL_BLOCK`: AUTHORIZATION event stream.
|
|
35
37
|
# - `VELOCITY_LIMIT`: AUTHORIZATION event stream.
|
|
36
38
|
# - `MERCHANT_LOCK`: AUTHORIZATION event stream.
|
|
37
|
-
# - `CONDITIONAL_ACTION`: AUTHORIZATION
|
|
39
|
+
# - `CONDITIONAL_ACTION`: AUTHORIZATION, THREE_DS_AUTHENTICATION, TOKENIZATION,
|
|
40
|
+
# ACH_CREDIT_RECEIPT, or ACH_DEBIT_RECEIPT event stream.
|
|
38
41
|
sig { returns(Lithic::AuthRules::V2CreateParams::Type::OrSymbol) }
|
|
39
42
|
attr_accessor :type
|
|
40
43
|
|
|
@@ -53,18 +56,11 @@ module Lithic
|
|
|
53
56
|
attr_writer :business_account_tokens
|
|
54
57
|
|
|
55
58
|
# The event stream during which the rule will be evaluated.
|
|
56
|
-
sig
|
|
57
|
-
returns(
|
|
58
|
-
T.nilable(Lithic::AuthRules::V2CreateParams::EventStream::OrSymbol)
|
|
59
|
-
)
|
|
60
|
-
end
|
|
59
|
+
sig { returns(T.nilable(Lithic::AuthRules::EventStream::OrSymbol)) }
|
|
61
60
|
attr_reader :event_stream
|
|
62
61
|
|
|
63
62
|
sig do
|
|
64
|
-
params(
|
|
65
|
-
event_stream:
|
|
66
|
-
Lithic::AuthRules::V2CreateParams::EventStream::OrSymbol
|
|
67
|
-
).void
|
|
63
|
+
params(event_stream: Lithic::AuthRules::EventStream::OrSymbol).void
|
|
68
64
|
end
|
|
69
65
|
attr_writer :event_stream
|
|
70
66
|
|
|
@@ -95,15 +91,16 @@ module Lithic
|
|
|
95
91
|
Lithic::AuthRules::VelocityLimitParams::OrHash,
|
|
96
92
|
Lithic::AuthRules::MerchantLockParameters::OrHash,
|
|
97
93
|
Lithic::AuthRules::Conditional3DSActionParameters::OrHash,
|
|
98
|
-
Lithic::AuthRules::ConditionalAuthorizationActionParameters::OrHash
|
|
94
|
+
Lithic::AuthRules::ConditionalAuthorizationActionParameters::OrHash,
|
|
95
|
+
Lithic::AuthRules::ConditionalACHActionParameters::OrHash,
|
|
96
|
+
Lithic::AuthRules::ConditionalTokenizationActionParameters::OrHash
|
|
99
97
|
),
|
|
100
98
|
type: Lithic::AuthRules::V2CreateParams::Type::OrSymbol,
|
|
101
99
|
card_tokens: T::Array[String],
|
|
102
100
|
program_level: T::Boolean,
|
|
103
101
|
account_tokens: T::Array[String],
|
|
104
102
|
business_account_tokens: T::Array[String],
|
|
105
|
-
event_stream:
|
|
106
|
-
Lithic::AuthRules::V2CreateParams::EventStream::OrSymbol,
|
|
103
|
+
event_stream: Lithic::AuthRules::EventStream::OrSymbol,
|
|
107
104
|
name: T.nilable(String),
|
|
108
105
|
excluded_card_tokens: T::Array[String],
|
|
109
106
|
request_options: Lithic::RequestOptions::OrHash
|
|
@@ -120,7 +117,8 @@ module Lithic
|
|
|
120
117
|
# - `CONDITIONAL_BLOCK`: AUTHORIZATION event stream.
|
|
121
118
|
# - `VELOCITY_LIMIT`: AUTHORIZATION event stream.
|
|
122
119
|
# - `MERCHANT_LOCK`: AUTHORIZATION event stream.
|
|
123
|
-
# - `CONDITIONAL_ACTION`: AUTHORIZATION
|
|
120
|
+
# - `CONDITIONAL_ACTION`: AUTHORIZATION, THREE_DS_AUTHENTICATION, TOKENIZATION,
|
|
121
|
+
# ACH_CREDIT_RECEIPT, or ACH_DEBIT_RECEIPT event stream.
|
|
124
122
|
type:,
|
|
125
123
|
# Card tokens to which the Auth Rule applies.
|
|
126
124
|
card_tokens:,
|
|
@@ -149,13 +147,14 @@ module Lithic
|
|
|
149
147
|
Lithic::AuthRules::VelocityLimitParams,
|
|
150
148
|
Lithic::AuthRules::MerchantLockParameters,
|
|
151
149
|
Lithic::AuthRules::Conditional3DSActionParameters,
|
|
152
|
-
Lithic::AuthRules::ConditionalAuthorizationActionParameters
|
|
150
|
+
Lithic::AuthRules::ConditionalAuthorizationActionParameters,
|
|
151
|
+
Lithic::AuthRules::ConditionalACHActionParameters,
|
|
152
|
+
Lithic::AuthRules::ConditionalTokenizationActionParameters
|
|
153
153
|
),
|
|
154
154
|
type: Lithic::AuthRules::V2CreateParams::Type::OrSymbol,
|
|
155
155
|
account_tokens: T::Array[String],
|
|
156
156
|
business_account_tokens: T::Array[String],
|
|
157
|
-
event_stream:
|
|
158
|
-
Lithic::AuthRules::V2CreateParams::EventStream::OrSymbol,
|
|
157
|
+
event_stream: Lithic::AuthRules::EventStream::OrSymbol,
|
|
159
158
|
name: T.nilable(String),
|
|
160
159
|
card_tokens: T::Array[String],
|
|
161
160
|
program_level: T::Boolean,
|
|
@@ -178,7 +177,9 @@ module Lithic
|
|
|
178
177
|
Lithic::AuthRules::VelocityLimitParams,
|
|
179
178
|
Lithic::AuthRules::MerchantLockParameters,
|
|
180
179
|
Lithic::AuthRules::Conditional3DSActionParameters,
|
|
181
|
-
Lithic::AuthRules::ConditionalAuthorizationActionParameters
|
|
180
|
+
Lithic::AuthRules::ConditionalAuthorizationActionParameters,
|
|
181
|
+
Lithic::AuthRules::ConditionalACHActionParameters,
|
|
182
|
+
Lithic::AuthRules::ConditionalTokenizationActionParameters
|
|
182
183
|
)
|
|
183
184
|
end
|
|
184
185
|
|
|
@@ -199,7 +200,8 @@ module Lithic
|
|
|
199
200
|
# - `CONDITIONAL_BLOCK`: AUTHORIZATION event stream.
|
|
200
201
|
# - `VELOCITY_LIMIT`: AUTHORIZATION event stream.
|
|
201
202
|
# - `MERCHANT_LOCK`: AUTHORIZATION event stream.
|
|
202
|
-
# - `CONDITIONAL_ACTION`: AUTHORIZATION
|
|
203
|
+
# - `CONDITIONAL_ACTION`: AUTHORIZATION, THREE_DS_AUTHENTICATION, TOKENIZATION,
|
|
204
|
+
# ACH_CREDIT_RECEIPT, or ACH_DEBIT_RECEIPT event stream.
|
|
203
205
|
module Type
|
|
204
206
|
extend Lithic::Internal::Type::Enum
|
|
205
207
|
|
|
@@ -238,38 +240,6 @@ module Lithic
|
|
|
238
240
|
def self.values
|
|
239
241
|
end
|
|
240
242
|
end
|
|
241
|
-
|
|
242
|
-
# The event stream during which the rule will be evaluated.
|
|
243
|
-
module EventStream
|
|
244
|
-
extend Lithic::Internal::Type::Enum
|
|
245
|
-
|
|
246
|
-
TaggedSymbol =
|
|
247
|
-
T.type_alias do
|
|
248
|
-
T.all(Symbol, Lithic::AuthRules::V2CreateParams::EventStream)
|
|
249
|
-
end
|
|
250
|
-
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
251
|
-
|
|
252
|
-
AUTHORIZATION =
|
|
253
|
-
T.let(
|
|
254
|
-
:AUTHORIZATION,
|
|
255
|
-
Lithic::AuthRules::V2CreateParams::EventStream::TaggedSymbol
|
|
256
|
-
)
|
|
257
|
-
THREE_DS_AUTHENTICATION =
|
|
258
|
-
T.let(
|
|
259
|
-
:THREE_DS_AUTHENTICATION,
|
|
260
|
-
Lithic::AuthRules::V2CreateParams::EventStream::TaggedSymbol
|
|
261
|
-
)
|
|
262
|
-
|
|
263
|
-
sig do
|
|
264
|
-
override.returns(
|
|
265
|
-
T::Array[
|
|
266
|
-
Lithic::AuthRules::V2CreateParams::EventStream::TaggedSymbol
|
|
267
|
-
]
|
|
268
|
-
)
|
|
269
|
-
end
|
|
270
|
-
def self.values
|
|
271
|
-
end
|
|
272
|
-
end
|
|
273
243
|
end
|
|
274
244
|
end
|
|
275
245
|
end
|
|
@@ -21,7 +21,9 @@ module Lithic
|
|
|
21
21
|
Lithic::AuthRules::VelocityLimitParams,
|
|
22
22
|
Lithic::AuthRules::MerchantLockParameters,
|
|
23
23
|
Lithic::AuthRules::Conditional3DSActionParameters,
|
|
24
|
-
Lithic::AuthRules::ConditionalAuthorizationActionParameters
|
|
24
|
+
Lithic::AuthRules::ConditionalAuthorizationActionParameters,
|
|
25
|
+
Lithic::AuthRules::ConditionalACHActionParameters,
|
|
26
|
+
Lithic::AuthRules::ConditionalTokenizationActionParameters
|
|
25
27
|
)
|
|
26
28
|
)
|
|
27
29
|
)
|
|
@@ -37,7 +39,9 @@ module Lithic
|
|
|
37
39
|
Lithic::AuthRules::VelocityLimitParams::OrHash,
|
|
38
40
|
Lithic::AuthRules::MerchantLockParameters::OrHash,
|
|
39
41
|
Lithic::AuthRules::Conditional3DSActionParameters::OrHash,
|
|
40
|
-
Lithic::AuthRules::ConditionalAuthorizationActionParameters::OrHash
|
|
42
|
+
Lithic::AuthRules::ConditionalAuthorizationActionParameters::OrHash,
|
|
43
|
+
Lithic::AuthRules::ConditionalACHActionParameters::OrHash,
|
|
44
|
+
Lithic::AuthRules::ConditionalTokenizationActionParameters::OrHash
|
|
41
45
|
)
|
|
42
46
|
),
|
|
43
47
|
request_options: Lithic::RequestOptions::OrHash
|
|
@@ -60,7 +64,9 @@ module Lithic
|
|
|
60
64
|
Lithic::AuthRules::VelocityLimitParams,
|
|
61
65
|
Lithic::AuthRules::MerchantLockParameters,
|
|
62
66
|
Lithic::AuthRules::Conditional3DSActionParameters,
|
|
63
|
-
Lithic::AuthRules::ConditionalAuthorizationActionParameters
|
|
67
|
+
Lithic::AuthRules::ConditionalAuthorizationActionParameters,
|
|
68
|
+
Lithic::AuthRules::ConditionalACHActionParameters,
|
|
69
|
+
Lithic::AuthRules::ConditionalTokenizationActionParameters
|
|
64
70
|
)
|
|
65
71
|
),
|
|
66
72
|
request_options: Lithic::RequestOptions
|
|
@@ -81,7 +87,9 @@ module Lithic
|
|
|
81
87
|
Lithic::AuthRules::VelocityLimitParams,
|
|
82
88
|
Lithic::AuthRules::MerchantLockParameters,
|
|
83
89
|
Lithic::AuthRules::Conditional3DSActionParameters,
|
|
84
|
-
Lithic::AuthRules::ConditionalAuthorizationActionParameters
|
|
90
|
+
Lithic::AuthRules::ConditionalAuthorizationActionParameters,
|
|
91
|
+
Lithic::AuthRules::ConditionalACHActionParameters,
|
|
92
|
+
Lithic::AuthRules::ConditionalTokenizationActionParameters
|
|
85
93
|
)
|
|
86
94
|
end
|
|
87
95
|
|
|
@@ -41,20 +41,30 @@ module Lithic
|
|
|
41
41
|
sig { params(ending_before: String).void }
|
|
42
42
|
attr_writer :ending_before
|
|
43
43
|
|
|
44
|
-
# Only return Auth rules that are executed
|
|
44
|
+
# Deprecated: Use event_streams instead. Only return Auth rules that are executed
|
|
45
|
+
# during the provided event stream.
|
|
46
|
+
sig { returns(T.nilable(Lithic::AuthRules::EventStream::OrSymbol)) }
|
|
47
|
+
attr_reader :event_stream
|
|
48
|
+
|
|
45
49
|
sig do
|
|
46
|
-
|
|
47
|
-
T.nilable(Lithic::AuthRules::V2ListParams::EventStream::OrSymbol)
|
|
48
|
-
)
|
|
50
|
+
params(event_stream: Lithic::AuthRules::EventStream::OrSymbol).void
|
|
49
51
|
end
|
|
50
|
-
|
|
52
|
+
attr_writer :event_stream
|
|
53
|
+
|
|
54
|
+
# Only return Auth rules that are executed during any of the provided event
|
|
55
|
+
# streams. If event_streams and event_stream are specified, the values will be
|
|
56
|
+
# combined.
|
|
57
|
+
sig do
|
|
58
|
+
returns(T.nilable(T::Array[Lithic::AuthRules::EventStream::OrSymbol]))
|
|
59
|
+
end
|
|
60
|
+
attr_reader :event_streams
|
|
51
61
|
|
|
52
62
|
sig do
|
|
53
63
|
params(
|
|
54
|
-
|
|
64
|
+
event_streams: T::Array[Lithic::AuthRules::EventStream::OrSymbol]
|
|
55
65
|
).void
|
|
56
66
|
end
|
|
57
|
-
attr_writer :
|
|
67
|
+
attr_writer :event_streams
|
|
58
68
|
|
|
59
69
|
# Page size (for pagination).
|
|
60
70
|
sig { returns(T.nilable(Integer)) }
|
|
@@ -88,8 +98,8 @@ module Lithic
|
|
|
88
98
|
business_account_token: String,
|
|
89
99
|
card_token: String,
|
|
90
100
|
ending_before: String,
|
|
91
|
-
event_stream:
|
|
92
|
-
|
|
101
|
+
event_stream: Lithic::AuthRules::EventStream::OrSymbol,
|
|
102
|
+
event_streams: T::Array[Lithic::AuthRules::EventStream::OrSymbol],
|
|
93
103
|
page_size: Integer,
|
|
94
104
|
scope: Lithic::AuthRules::V2ListParams::Scope::OrSymbol,
|
|
95
105
|
starting_after: String,
|
|
@@ -106,8 +116,13 @@ module Lithic
|
|
|
106
116
|
# A cursor representing an item's token before which a page of results should end.
|
|
107
117
|
# Used to retrieve the previous page of results before this item.
|
|
108
118
|
ending_before: nil,
|
|
109
|
-
# Only return Auth rules that are executed
|
|
119
|
+
# Deprecated: Use event_streams instead. Only return Auth rules that are executed
|
|
120
|
+
# during the provided event stream.
|
|
110
121
|
event_stream: nil,
|
|
122
|
+
# Only return Auth rules that are executed during any of the provided event
|
|
123
|
+
# streams. If event_streams and event_stream are specified, the values will be
|
|
124
|
+
# combined.
|
|
125
|
+
event_streams: nil,
|
|
111
126
|
# Page size (for pagination).
|
|
112
127
|
page_size: nil,
|
|
113
128
|
# Only return Auth Rules that are bound to the provided scope.
|
|
@@ -126,8 +141,8 @@ module Lithic
|
|
|
126
141
|
business_account_token: String,
|
|
127
142
|
card_token: String,
|
|
128
143
|
ending_before: String,
|
|
129
|
-
event_stream:
|
|
130
|
-
|
|
144
|
+
event_stream: Lithic::AuthRules::EventStream::OrSymbol,
|
|
145
|
+
event_streams: T::Array[Lithic::AuthRules::EventStream::OrSymbol],
|
|
131
146
|
page_size: Integer,
|
|
132
147
|
scope: Lithic::AuthRules::V2ListParams::Scope::OrSymbol,
|
|
133
148
|
starting_after: String,
|
|
@@ -138,38 +153,6 @@ module Lithic
|
|
|
138
153
|
def to_hash
|
|
139
154
|
end
|
|
140
155
|
|
|
141
|
-
# Only return Auth rules that are executed during the provided event stream.
|
|
142
|
-
module EventStream
|
|
143
|
-
extend Lithic::Internal::Type::Enum
|
|
144
|
-
|
|
145
|
-
TaggedSymbol =
|
|
146
|
-
T.type_alias do
|
|
147
|
-
T.all(Symbol, Lithic::AuthRules::V2ListParams::EventStream)
|
|
148
|
-
end
|
|
149
|
-
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
150
|
-
|
|
151
|
-
AUTHORIZATION =
|
|
152
|
-
T.let(
|
|
153
|
-
:AUTHORIZATION,
|
|
154
|
-
Lithic::AuthRules::V2ListParams::EventStream::TaggedSymbol
|
|
155
|
-
)
|
|
156
|
-
THREE_DS_AUTHENTICATION =
|
|
157
|
-
T.let(
|
|
158
|
-
:THREE_DS_AUTHENTICATION,
|
|
159
|
-
Lithic::AuthRules::V2ListParams::EventStream::TaggedSymbol
|
|
160
|
-
)
|
|
161
|
-
|
|
162
|
-
sig do
|
|
163
|
-
override.returns(
|
|
164
|
-
T::Array[
|
|
165
|
-
Lithic::AuthRules::V2ListParams::EventStream::TaggedSymbol
|
|
166
|
-
]
|
|
167
|
-
)
|
|
168
|
-
end
|
|
169
|
-
def self.values
|
|
170
|
-
end
|
|
171
|
-
end
|
|
172
|
-
|
|
173
156
|
# Only return Auth Rules that are bound to the provided scope.
|
|
174
157
|
module Scope
|
|
175
158
|
extend Lithic::Internal::Type::Enum
|
|
@@ -637,6 +637,8 @@ module Lithic
|
|
|
637
637
|
T.let(:REVERSED, Lithic::BookTransferResponse::Status::TaggedSymbol)
|
|
638
638
|
CANCELED =
|
|
639
639
|
T.let(:CANCELED, Lithic::BookTransferResponse::Status::TaggedSymbol)
|
|
640
|
+
RETURNED =
|
|
641
|
+
T.let(:RETURNED, Lithic::BookTransferResponse::Status::TaggedSymbol)
|
|
640
642
|
|
|
641
643
|
sig do
|
|
642
644
|
override.returns(
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Lithic
|
|
4
|
+
module Models
|
|
5
|
+
class CardBulkOrder < Lithic::Internal::Type::BaseModel
|
|
6
|
+
OrHash =
|
|
7
|
+
T.type_alias { T.any(Lithic::CardBulkOrder, Lithic::Internal::AnyHash) }
|
|
8
|
+
|
|
9
|
+
# Globally unique identifier for the bulk order
|
|
10
|
+
sig { returns(String) }
|
|
11
|
+
attr_accessor :token
|
|
12
|
+
|
|
13
|
+
# List of card tokens associated with this bulk order
|
|
14
|
+
sig { returns(T::Array[String]) }
|
|
15
|
+
attr_accessor :card_tokens
|
|
16
|
+
|
|
17
|
+
# An RFC 3339 timestamp for when the bulk order was created. UTC time zone
|
|
18
|
+
sig { returns(Time) }
|
|
19
|
+
attr_accessor :created
|
|
20
|
+
|
|
21
|
+
# Customer-specified product configuration for physical card manufacturing. This
|
|
22
|
+
# must be configured with Lithic before use
|
|
23
|
+
sig { returns(T.nilable(String)) }
|
|
24
|
+
attr_accessor :customer_product_id
|
|
25
|
+
|
|
26
|
+
# Shipping address for all cards in this bulk order
|
|
27
|
+
sig { returns(T.anything) }
|
|
28
|
+
attr_accessor :shipping_address
|
|
29
|
+
|
|
30
|
+
# Shipping method for all cards in this bulk order
|
|
31
|
+
sig { returns(Lithic::CardBulkOrder::ShippingMethod::TaggedSymbol) }
|
|
32
|
+
attr_accessor :shipping_method
|
|
33
|
+
|
|
34
|
+
# Status of the bulk order. OPEN indicates the order is accepting cards. LOCKED
|
|
35
|
+
# indicates the order is finalized and no more cards can be added
|
|
36
|
+
sig { returns(Lithic::CardBulkOrder::Status::TaggedSymbol) }
|
|
37
|
+
attr_accessor :status
|
|
38
|
+
|
|
39
|
+
# An RFC 3339 timestamp for when the bulk order was last updated. UTC time zone
|
|
40
|
+
sig { returns(Time) }
|
|
41
|
+
attr_accessor :updated
|
|
42
|
+
|
|
43
|
+
# Represents a bulk order for physical card shipments
|
|
44
|
+
sig do
|
|
45
|
+
params(
|
|
46
|
+
token: String,
|
|
47
|
+
card_tokens: T::Array[String],
|
|
48
|
+
created: Time,
|
|
49
|
+
customer_product_id: T.nilable(String),
|
|
50
|
+
shipping_address: T.anything,
|
|
51
|
+
shipping_method: Lithic::CardBulkOrder::ShippingMethod::OrSymbol,
|
|
52
|
+
status: Lithic::CardBulkOrder::Status::OrSymbol,
|
|
53
|
+
updated: Time
|
|
54
|
+
).returns(T.attached_class)
|
|
55
|
+
end
|
|
56
|
+
def self.new(
|
|
57
|
+
# Globally unique identifier for the bulk order
|
|
58
|
+
token:,
|
|
59
|
+
# List of card tokens associated with this bulk order
|
|
60
|
+
card_tokens:,
|
|
61
|
+
# An RFC 3339 timestamp for when the bulk order was created. UTC time zone
|
|
62
|
+
created:,
|
|
63
|
+
# Customer-specified product configuration for physical card manufacturing. This
|
|
64
|
+
# must be configured with Lithic before use
|
|
65
|
+
customer_product_id:,
|
|
66
|
+
# Shipping address for all cards in this bulk order
|
|
67
|
+
shipping_address:,
|
|
68
|
+
# Shipping method for all cards in this bulk order
|
|
69
|
+
shipping_method:,
|
|
70
|
+
# Status of the bulk order. OPEN indicates the order is accepting cards. LOCKED
|
|
71
|
+
# indicates the order is finalized and no more cards can be added
|
|
72
|
+
status:,
|
|
73
|
+
# An RFC 3339 timestamp for when the bulk order was last updated. UTC time zone
|
|
74
|
+
updated:
|
|
75
|
+
)
|
|
76
|
+
end
|
|
77
|
+
|
|
78
|
+
sig do
|
|
79
|
+
override.returns(
|
|
80
|
+
{
|
|
81
|
+
token: String,
|
|
82
|
+
card_tokens: T::Array[String],
|
|
83
|
+
created: Time,
|
|
84
|
+
customer_product_id: T.nilable(String),
|
|
85
|
+
shipping_address: T.anything,
|
|
86
|
+
shipping_method:
|
|
87
|
+
Lithic::CardBulkOrder::ShippingMethod::TaggedSymbol,
|
|
88
|
+
status: Lithic::CardBulkOrder::Status::TaggedSymbol,
|
|
89
|
+
updated: Time
|
|
90
|
+
}
|
|
91
|
+
)
|
|
92
|
+
end
|
|
93
|
+
def to_hash
|
|
94
|
+
end
|
|
95
|
+
|
|
96
|
+
# Shipping method for all cards in this bulk order
|
|
97
|
+
module ShippingMethod
|
|
98
|
+
extend Lithic::Internal::Type::Enum
|
|
99
|
+
|
|
100
|
+
TaggedSymbol =
|
|
101
|
+
T.type_alias { T.all(Symbol, Lithic::CardBulkOrder::ShippingMethod) }
|
|
102
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
103
|
+
|
|
104
|
+
BULK_EXPEDITED =
|
|
105
|
+
T.let(
|
|
106
|
+
:BULK_EXPEDITED,
|
|
107
|
+
Lithic::CardBulkOrder::ShippingMethod::TaggedSymbol
|
|
108
|
+
)
|
|
109
|
+
|
|
110
|
+
sig do
|
|
111
|
+
override.returns(
|
|
112
|
+
T::Array[Lithic::CardBulkOrder::ShippingMethod::TaggedSymbol]
|
|
113
|
+
)
|
|
114
|
+
end
|
|
115
|
+
def self.values
|
|
116
|
+
end
|
|
117
|
+
end
|
|
118
|
+
|
|
119
|
+
# Status of the bulk order. OPEN indicates the order is accepting cards. LOCKED
|
|
120
|
+
# indicates the order is finalized and no more cards can be added
|
|
121
|
+
module Status
|
|
122
|
+
extend Lithic::Internal::Type::Enum
|
|
123
|
+
|
|
124
|
+
TaggedSymbol =
|
|
125
|
+
T.type_alias { T.all(Symbol, Lithic::CardBulkOrder::Status) }
|
|
126
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
127
|
+
|
|
128
|
+
OPEN = T.let(:OPEN, Lithic::CardBulkOrder::Status::TaggedSymbol)
|
|
129
|
+
LOCKED = T.let(:LOCKED, Lithic::CardBulkOrder::Status::TaggedSymbol)
|
|
130
|
+
|
|
131
|
+
sig do
|
|
132
|
+
override.returns(
|
|
133
|
+
T::Array[Lithic::CardBulkOrder::Status::TaggedSymbol]
|
|
134
|
+
)
|
|
135
|
+
end
|
|
136
|
+
def self.values
|
|
137
|
+
end
|
|
138
|
+
end
|
|
139
|
+
end
|
|
140
|
+
end
|
|
141
|
+
end
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Lithic
|
|
4
|
+
module Models
|
|
5
|
+
class CardBulkOrderCreateParams < Lithic::Internal::Type::BaseModel
|
|
6
|
+
extend Lithic::Internal::Type::RequestParameters::Converter
|
|
7
|
+
include Lithic::Internal::Type::RequestParameters
|
|
8
|
+
|
|
9
|
+
OrHash =
|
|
10
|
+
T.type_alias do
|
|
11
|
+
T.any(Lithic::CardBulkOrderCreateParams, Lithic::Internal::AnyHash)
|
|
12
|
+
end
|
|
13
|
+
|
|
14
|
+
# Customer-specified product configuration for physical card manufacturing. This
|
|
15
|
+
# must be configured with Lithic before use
|
|
16
|
+
sig { returns(String) }
|
|
17
|
+
attr_accessor :customer_product_id
|
|
18
|
+
|
|
19
|
+
# Shipping address for all cards in this bulk order
|
|
20
|
+
sig { returns(T.anything) }
|
|
21
|
+
attr_accessor :shipping_address
|
|
22
|
+
|
|
23
|
+
# Shipping method for all cards in this bulk order
|
|
24
|
+
sig do
|
|
25
|
+
returns(Lithic::CardBulkOrderCreateParams::ShippingMethod::OrSymbol)
|
|
26
|
+
end
|
|
27
|
+
attr_accessor :shipping_method
|
|
28
|
+
|
|
29
|
+
sig do
|
|
30
|
+
params(
|
|
31
|
+
customer_product_id: String,
|
|
32
|
+
shipping_address: T.anything,
|
|
33
|
+
shipping_method:
|
|
34
|
+
Lithic::CardBulkOrderCreateParams::ShippingMethod::OrSymbol,
|
|
35
|
+
request_options: Lithic::RequestOptions::OrHash
|
|
36
|
+
).returns(T.attached_class)
|
|
37
|
+
end
|
|
38
|
+
def self.new(
|
|
39
|
+
# Customer-specified product configuration for physical card manufacturing. This
|
|
40
|
+
# must be configured with Lithic before use
|
|
41
|
+
customer_product_id:,
|
|
42
|
+
# Shipping address for all cards in this bulk order
|
|
43
|
+
shipping_address:,
|
|
44
|
+
# Shipping method for all cards in this bulk order
|
|
45
|
+
shipping_method:,
|
|
46
|
+
request_options: {}
|
|
47
|
+
)
|
|
48
|
+
end
|
|
49
|
+
|
|
50
|
+
sig do
|
|
51
|
+
override.returns(
|
|
52
|
+
{
|
|
53
|
+
customer_product_id: String,
|
|
54
|
+
shipping_address: T.anything,
|
|
55
|
+
shipping_method:
|
|
56
|
+
Lithic::CardBulkOrderCreateParams::ShippingMethod::OrSymbol,
|
|
57
|
+
request_options: Lithic::RequestOptions
|
|
58
|
+
}
|
|
59
|
+
)
|
|
60
|
+
end
|
|
61
|
+
def to_hash
|
|
62
|
+
end
|
|
63
|
+
|
|
64
|
+
# Shipping method for all cards in this bulk order
|
|
65
|
+
module ShippingMethod
|
|
66
|
+
extend Lithic::Internal::Type::Enum
|
|
67
|
+
|
|
68
|
+
TaggedSymbol =
|
|
69
|
+
T.type_alias do
|
|
70
|
+
T.all(Symbol, Lithic::CardBulkOrderCreateParams::ShippingMethod)
|
|
71
|
+
end
|
|
72
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
73
|
+
|
|
74
|
+
BULK_EXPEDITED =
|
|
75
|
+
T.let(
|
|
76
|
+
:BULK_EXPEDITED,
|
|
77
|
+
Lithic::CardBulkOrderCreateParams::ShippingMethod::TaggedSymbol
|
|
78
|
+
)
|
|
79
|
+
|
|
80
|
+
sig do
|
|
81
|
+
override.returns(
|
|
82
|
+
T::Array[
|
|
83
|
+
Lithic::CardBulkOrderCreateParams::ShippingMethod::TaggedSymbol
|
|
84
|
+
]
|
|
85
|
+
)
|
|
86
|
+
end
|
|
87
|
+
def self.values
|
|
88
|
+
end
|
|
89
|
+
end
|
|
90
|
+
end
|
|
91
|
+
end
|
|
92
|
+
end
|