method-ruby 0.1.0 → 0.2.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 +43 -0
- data/README.md +19 -18
- data/lib/method_ruby/client.rb +99 -9
- data/lib/method_ruby/internal/transport/base_client.rb +3 -3
- data/lib/method_ruby/internal/type/union.rb +11 -0
- data/lib/method_ruby/internal/util.rb +22 -7
- data/lib/method_ruby/models/account_create_params.rb +442 -0
- data/lib/method_ruby/models/account_create_response.rb +14382 -0
- data/lib/method_ruby/models/account_list_params.rb +259 -0
- data/lib/method_ruby/models/account_list_response.rb +31 -0
- data/lib/method_ruby/models/account_retrieve_params.rb +68 -0
- data/lib/method_ruby/models/account_retrieve_response.rb +14385 -0
- data/lib/method_ruby/models/account_update_params.rb +155 -0
- data/lib/method_ruby/models/account_update_response.rb +28 -0
- data/lib/method_ruby/models/accounts/attribute_create_params.rb +43 -0
- data/lib/method_ruby/models/accounts/attribute_create_response.rb +34 -0
- data/lib/method_ruby/models/accounts/attribute_list_params.rb +67 -0
- data/lib/method_ruby/models/accounts/attribute_list_response.rb +33 -0
- data/lib/method_ruby/models/accounts/attribute_retrieve_params.rb +43 -0
- data/lib/method_ruby/models/accounts/attribute_retrieve_response.rb +34 -0
- data/lib/method_ruby/models/accounts/balance_create_params.rb +43 -0
- data/lib/method_ruby/models/accounts/balance_create_response.rb +34 -0
- data/lib/method_ruby/models/accounts/balance_list_params.rb +67 -0
- data/lib/method_ruby/models/accounts/balance_list_response.rb +33 -0
- data/lib/method_ruby/models/accounts/balance_retrieve_params.rb +43 -0
- data/lib/method_ruby/models/accounts/balance_retrieve_response.rb +34 -0
- data/lib/method_ruby/models/accounts/card_brand_create_params.rb +43 -0
- data/lib/method_ruby/models/accounts/card_brand_create_response.rb +34 -0
- data/lib/method_ruby/models/accounts/card_brand_list_params.rb +67 -0
- data/lib/method_ruby/models/accounts/card_brand_list_response.rb +33 -0
- data/lib/method_ruby/models/accounts/card_brand_retrieve_params.rb +43 -0
- data/lib/method_ruby/models/accounts/card_brand_retrieve_response.rb +34 -0
- data/lib/method_ruby/models/accounts/consent_withdraw_params.rb +72 -0
- data/lib/method_ruby/models/accounts/consent_withdraw_response.rb +14396 -0
- data/lib/method_ruby/models/accounts/payment_instrument_create_params.rb +66 -0
- data/lib/method_ruby/models/accounts/payment_instrument_create_response.rb +34 -0
- data/lib/method_ruby/models/accounts/payment_instrument_delete_params.rb +49 -0
- data/lib/method_ruby/models/accounts/payment_instrument_delete_response.rb +34 -0
- data/lib/method_ruby/models/accounts/payment_instrument_list_params.rb +67 -0
- data/lib/method_ruby/models/accounts/payment_instrument_list_response.rb +33 -0
- data/lib/method_ruby/models/accounts/payment_instrument_retrieve_params.rb +44 -0
- data/lib/method_ruby/models/accounts/payment_instrument_retrieve_response.rb +34 -0
- data/lib/method_ruby/models/accounts/payoff_create_params.rb +43 -0
- data/lib/method_ruby/models/accounts/payoff_create_response.rb +34 -0
- data/lib/method_ruby/models/accounts/payoff_list_params.rb +67 -0
- data/lib/method_ruby/models/accounts/payoff_list_response.rb +33 -0
- data/lib/method_ruby/models/accounts/payoff_retrieve_params.rb +43 -0
- data/lib/method_ruby/models/accounts/payoff_retrieve_response.rb +34 -0
- data/lib/method_ruby/models/accounts/product_list_params.rb +37 -0
- data/lib/method_ruby/models/accounts/product_list_response.rb +34 -0
- data/lib/method_ruby/models/accounts/product_retrieve_params.rb +43 -0
- data/lib/method_ruby/models/accounts/product_retrieve_response.rb +34 -0
- data/lib/method_ruby/models/accounts/sensitive_create_params.rb +54 -0
- data/lib/method_ruby/models/accounts/sensitive_create_response.rb +34 -0
- data/lib/method_ruby/models/accounts/sensitive_list_params.rb +67 -0
- data/lib/method_ruby/models/accounts/sensitive_list_response.rb +33 -0
- data/lib/method_ruby/models/accounts/sensitive_retrieve_params.rb +43 -0
- data/lib/method_ruby/models/accounts/sensitive_retrieve_response.rb +34 -0
- data/lib/method_ruby/models/accounts/subscription_create_params.rb +54 -0
- data/lib/method_ruby/models/accounts/subscription_create_response.rb +34 -0
- data/lib/method_ruby/models/accounts/subscription_delete_params.rb +49 -0
- data/lib/method_ruby/models/accounts/subscription_delete_response.rb +34 -0
- data/lib/method_ruby/models/accounts/subscription_list_params.rb +37 -0
- data/lib/method_ruby/models/accounts/subscription_list_response.rb +34 -0
- data/lib/method_ruby/models/accounts/subscription_retrieve_params.rb +43 -0
- data/lib/method_ruby/models/accounts/subscription_retrieve_response.rb +34 -0
- data/lib/method_ruby/models/accounts/transaction_list_params.rb +83 -0
- data/lib/method_ruby/models/accounts/transaction_list_response.rb +33 -0
- data/lib/method_ruby/models/accounts/transaction_retrieve_params.rb +43 -0
- data/lib/method_ruby/models/accounts/transaction_retrieve_response.rb +34 -0
- data/lib/method_ruby/models/accounts/update_create_params.rb +43 -0
- data/lib/method_ruby/models/accounts/update_create_response.rb +34 -0
- data/lib/method_ruby/models/accounts/update_list_params.rb +67 -0
- data/lib/method_ruby/models/accounts/update_list_response.rb +33 -0
- data/lib/method_ruby/models/accounts/update_retrieve_params.rb +43 -0
- data/lib/method_ruby/models/accounts/update_retrieve_response.rb +34 -0
- data/lib/method_ruby/models/accounts/verification_session_create_params.rb +76 -0
- data/lib/method_ruby/models/accounts/verification_session_create_response.rb +34 -0
- data/lib/method_ruby/models/accounts/verification_session_list_params.rb +67 -0
- data/lib/method_ruby/models/accounts/verification_session_list_response.rb +33 -0
- data/lib/method_ruby/models/accounts/verification_session_retrieve_params.rb +44 -0
- data/lib/method_ruby/models/accounts/verification_session_retrieve_response.rb +34 -0
- data/lib/method_ruby/models/accounts/verification_session_update_params.rb +310 -0
- data/lib/method_ruby/models/accounts/verification_session_update_response.rb +34 -0
- data/lib/method_ruby/models/accounts/verification_sessions/amount_retrieve_params.rb +46 -0
- data/lib/method_ruby/models/accounts/verification_sessions/amount_retrieve_response.rb +35 -0
- data/lib/method_ruby/models/address.rb +12 -7
- data/lib/method_ruby/models/card_product_retrieve_params.rb +35 -0
- data/lib/method_ruby/models/card_product_retrieve_response.rb +32 -0
- data/lib/method_ruby/models/entities/attribute_create_params.rb +54 -0
- data/lib/method_ruby/models/entities/attribute_create_response.rb +33 -0
- data/lib/method_ruby/models/entities/attribute_list_params.rb +83 -0
- data/lib/method_ruby/models/entities/attribute_list_response.rb +33 -0
- data/lib/method_ruby/models/entities/attribute_retrieve_params.rb +43 -0
- data/lib/method_ruby/models/entities/attribute_retrieve_response.rb +33 -0
- data/lib/method_ruby/models/entities/connect_create_params.rb +94 -0
- data/lib/method_ruby/models/entities/connect_create_response.rb +33 -0
- data/lib/method_ruby/models/entities/connect_list_params.rb +112 -0
- data/lib/method_ruby/models/entities/connect_list_response.rb +33 -0
- data/lib/method_ruby/models/entities/connect_retrieve_params.rb +78 -0
- data/lib/method_ruby/models/entities/connect_retrieve_response.rb +33 -0
- data/lib/method_ruby/models/entities/consent_withdraw_params.rb +73 -0
- data/lib/method_ruby/models/entities/consent_withdraw_response.rb +34 -0
- data/lib/method_ruby/models/entities/credit_score_create_params.rb +43 -0
- data/lib/method_ruby/models/entities/credit_score_create_response.rb +33 -0
- data/lib/method_ruby/models/entities/credit_score_list_params.rb +83 -0
- data/lib/method_ruby/models/entities/credit_score_list_response.rb +33 -0
- data/lib/method_ruby/models/entities/credit_score_retrieve_params.rb +43 -0
- data/lib/method_ruby/models/entities/credit_score_retrieve_response.rb +33 -0
- data/lib/method_ruby/models/entities/identity_create_params.rb +43 -0
- data/lib/method_ruby/models/entities/identity_create_response.rb +33 -0
- data/lib/method_ruby/models/entities/identity_list_params.rb +83 -0
- data/lib/method_ruby/models/entities/identity_list_response.rb +33 -0
- data/lib/method_ruby/models/entities/identity_retrieve_params.rb +43 -0
- data/lib/method_ruby/models/entities/identity_retrieve_response.rb +33 -0
- data/lib/method_ruby/models/entities/manual_connect_create_params.rb +292 -0
- data/lib/method_ruby/models/entities/manual_connect_create_response.rb +33 -0
- data/lib/method_ruby/models/entities/manual_connect_retrieve_params.rb +43 -0
- data/lib/method_ruby/models/entities/manual_connect_retrieve_response.rb +33 -0
- data/lib/method_ruby/models/entities/product_list_params.rb +37 -0
- data/lib/method_ruby/models/entities/product_list_response.rb +34 -0
- data/lib/method_ruby/models/entities/product_retrieve_params.rb +43 -0
- data/lib/method_ruby/models/entities/product_retrieve_response.rb +33 -0
- data/lib/method_ruby/models/entities/subscription_create_params.rb +101 -0
- data/lib/method_ruby/models/entities/subscription_create_response.rb +33 -0
- data/lib/method_ruby/models/entities/subscription_delete_params.rb +49 -0
- data/lib/method_ruby/models/entities/subscription_delete_response.rb +33 -0
- data/lib/method_ruby/models/entities/subscription_list_params.rb +37 -0
- data/lib/method_ruby/models/entities/subscription_list_response.rb +34 -0
- data/lib/method_ruby/models/entities/subscription_retrieve_params.rb +43 -0
- data/lib/method_ruby/models/entities/subscription_retrieve_response.rb +33 -0
- data/lib/method_ruby/models/entities/vehicle_create_params.rb +54 -0
- data/lib/method_ruby/models/entities/vehicle_create_response.rb +33 -0
- data/lib/method_ruby/models/entities/vehicle_list_params.rb +37 -0
- data/lib/method_ruby/models/entities/vehicle_list_response.rb +33 -0
- data/lib/method_ruby/models/entities/vehicle_retrieve_params.rb +43 -0
- data/lib/method_ruby/models/entities/vehicle_retrieve_response.rb +33 -0
- data/lib/method_ruby/models/entities/verification_session_create_params.rb +145 -0
- data/lib/method_ruby/models/entities/verification_session_create_response.rb +33 -0
- data/lib/method_ruby/models/entities/verification_session_list_params.rb +83 -0
- data/lib/method_ruby/models/entities/verification_session_list_response.rb +33 -0
- data/lib/method_ruby/models/entities/verification_session_retrieve_params.rb +44 -0
- data/lib/method_ruby/models/entities/verification_session_retrieve_response.rb +33 -0
- data/lib/method_ruby/models/entities/verification_session_update_params.rb +158 -0
- data/lib/method_ruby/models/entities/verification_session_update_response.rb +33 -0
- data/lib/method_ruby/models/entity.rb +16944 -90
- data/lib/method_ruby/models/entity_corporation.rb +16 -7
- data/lib/method_ruby/models/entity_corporation_owner.rb +17 -6
- data/lib/method_ruby/models/entity_create_params.rb +82 -43
- data/lib/method_ruby/models/entity_create_response.rb +17 -17
- data/lib/method_ruby/models/entity_individual.rb +33 -8
- data/lib/method_ruby/models/entity_list_params.rb +94 -11
- data/lib/method_ruby/models/entity_list_response.rb +16 -17
- data/lib/method_ruby/models/entity_retrieve_params.rb +35 -8
- data/lib/method_ruby/models/entity_retrieve_response.rb +17 -17
- data/lib/method_ruby/models/entity_update_params.rb +114 -21
- data/lib/method_ruby/models/entity_update_response.rb +17 -17
- data/lib/method_ruby/models/event_list_params.rb +82 -0
- data/lib/method_ruby/models/event_list_response.rb +31 -0
- data/lib/method_ruby/models/event_retrieve_params.rb +35 -0
- data/lib/method_ruby/models/event_retrieve_response.rb +31 -0
- data/lib/method_ruby/models/forwarding_request_create_params.rb +99 -0
- data/lib/method_ruby/models/forwarding_request_create_response.rb +31 -0
- data/lib/method_ruby/models/forwarding_request_retrieve_params.rb +35 -0
- data/lib/method_ruby/models/forwarding_request_retrieve_response.rb +31 -0
- data/lib/method_ruby/models/managed_account_list_params.rb +29 -0
- data/lib/method_ruby/models/managed_account_list_response.rb +31 -0
- data/lib/method_ruby/models/managed_account_retrieve_params.rb +35 -0
- data/lib/method_ruby/models/managed_account_retrieve_response.rb +36 -0
- data/lib/method_ruby/models/managed_accounts/transaction_list_params.rb +83 -0
- data/lib/method_ruby/models/managed_accounts/transaction_list_response.rb +33 -0
- data/lib/method_ruby/models/merchant_list_params.rb +76 -0
- data/lib/method_ruby/models/merchant_list_response.rb +31 -0
- data/lib/method_ruby/models/merchant_retrieve_params.rb +35 -0
- data/lib/method_ruby/models/merchant_retrieve_response.rb +31 -0
- data/lib/method_ruby/models/payment_create_params.rb +134 -0
- data/lib/method_ruby/models/payment_create_response.rb +32 -0
- data/lib/method_ruby/models/payment_delete_params.rb +41 -0
- data/lib/method_ruby/models/payment_delete_response.rb +32 -0
- data/lib/method_ruby/models/payment_list_params.rb +196 -0
- data/lib/method_ruby/models/payment_list_response.rb +31 -0
- data/lib/method_ruby/models/payment_retrieve_params.rb +62 -0
- data/lib/method_ruby/models/payment_retrieve_response.rb +32 -0
- data/lib/method_ruby/models/payments/reversal_list_params.rb +37 -0
- data/lib/method_ruby/models/payments/reversal_list_response.rb +33 -0
- data/lib/method_ruby/models/payments/reversal_retrieve_params.rb +43 -0
- data/lib/method_ruby/models/payments/reversal_retrieve_response.rb +34 -0
- data/lib/method_ruby/models/payments/reversal_update_params.rb +61 -0
- data/lib/method_ruby/models/payments/reversal_update_response.rb +34 -0
- data/lib/method_ruby/models/ping_check_params.rb +16 -1
- data/lib/method_ruby/models/ping_check_response.rb +19 -27
- data/lib/method_ruby/models/report_create_params.rb +67 -0
- data/lib/method_ruby/models/report_create_response.rb +36 -0
- data/lib/method_ruby/models/report_retrieve_params.rb +35 -0
- data/lib/method_ruby/models/report_retrieve_response.rb +36 -0
- data/lib/method_ruby/models/reports/download_retrieve_params.rb +37 -0
- data/lib/method_ruby/models/reports/download_retrieve_response.rb +9 -0
- data/lib/method_ruby/models/resource_error.rb +11 -11
- data/lib/method_ruby/models/secret_create_params.rb +53 -0
- data/lib/method_ruby/models/secret_create_response.rb +31 -0
- data/lib/method_ruby/models/secret_delete_params.rb +41 -0
- data/lib/method_ruby/models/secret_delete_response.rb +28 -0
- data/lib/method_ruby/models/secret_list_params.rb +58 -0
- data/lib/method_ruby/models/secret_list_response.rb +31 -0
- data/lib/method_ruby/models/secret_retrieve_params.rb +35 -0
- data/lib/method_ruby/models/secret_retrieve_response.rb +31 -0
- data/lib/method_ruby/models/simulate/accounts/card_brand_create_params.rb +40 -0
- data/lib/method_ruby/models/simulate/accounts/card_brand_create_response.rb +36 -0
- data/lib/method_ruby/models/simulate/accounts/transaction_create_params.rb +66 -0
- data/lib/method_ruby/models/simulate/accounts/transaction_create_response.rb +36 -0
- data/lib/method_ruby/models/simulate/accounts/verification_sessions/amount_retrieve_params.rb +48 -0
- data/lib/method_ruby/models/simulate/accounts/verification_sessions/amount_retrieve_response.rb +37 -0
- data/lib/method_ruby/models/simulate/entities/attribute_create_params.rb +40 -0
- data/lib/method_ruby/models/simulate/entities/attribute_create_response.rb +35 -0
- data/lib/method_ruby/models/simulate/entities/connect_create_params.rb +39 -0
- data/lib/method_ruby/models/simulate/entities/connect_create_response.rb +35 -0
- data/lib/method_ruby/models/simulate/entities/credit_score_create_params.rb +65 -0
- data/lib/method_ruby/models/simulate/entities/credit_score_create_response.rb +35 -0
- data/lib/method_ruby/models/simulate/event_create_params.rb +48 -0
- data/lib/method_ruby/models/simulate/event_create_response.rb +33 -0
- data/lib/method_ruby/models/simulate/payment_create_params.rb +59 -0
- data/lib/method_ruby/models/simulate/payment_create_response.rb +34 -0
- data/lib/method_ruby/models/simulate/payments/payment_instrument_create_params.rb +50 -0
- data/lib/method_ruby/models/simulate/payments/payment_instrument_create_response.rb +36 -0
- data/lib/method_ruby/models/team_create_params.rb +45 -0
- data/lib/method_ruby/models/team_create_response.rb +32 -0
- data/lib/method_ruby/models/team_list_params.rb +29 -0
- data/lib/method_ruby/models/team_list_response.rb +32 -0
- data/lib/method_ruby/models/teams/default_encryption_key_create_params.rb +47 -0
- data/lib/method_ruby/models/teams/default_encryption_key_create_response.rb +34 -0
- data/lib/method_ruby/models/teams/mle/public_key_create_params.rb +49 -0
- data/lib/method_ruby/models/teams/mle/public_key_create_response.rb +36 -0
- data/lib/method_ruby/models/teams/mle/public_key_delete_params.rb +45 -0
- data/lib/method_ruby/models/teams/mle/public_key_delete_response.rb +36 -0
- data/lib/method_ruby/models/teams/mle/public_key_list_params.rb +33 -0
- data/lib/method_ruby/models/teams/mle/public_key_list_response.rb +35 -0
- data/lib/method_ruby/models/teams/mle/public_key_retrieve_params.rb +39 -0
- data/lib/method_ruby/models/teams/mle/public_key_retrieve_response.rb +36 -0
- data/lib/method_ruby/models/teams/mle_jwks_params.rb +16 -0
- data/lib/method_ruby/models/teams/mle_jwks_response.rb +70 -0
- data/lib/method_ruby/models/teams/mle_retrieve_method_key_params.rb +22 -0
- data/lib/method_ruby/models/teams/mle_retrieve_method_key_response.rb +33 -0
- data/lib/method_ruby/models/webhook_create_params.rb +203 -0
- data/lib/method_ruby/models/webhook_create_response.rb +31 -0
- data/lib/method_ruby/models/webhook_delete_params.rb +41 -0
- data/lib/method_ruby/models/webhook_delete_response.rb +31 -0
- data/lib/method_ruby/models/webhook_list_params.rb +29 -0
- data/lib/method_ruby/models/webhook_list_response.rb +31 -0
- data/lib/method_ruby/models/webhook_retrieve_params.rb +35 -0
- data/lib/method_ruby/models/webhook_retrieve_response.rb +31 -0
- data/lib/method_ruby/models/webhook_update_params.rb +59 -0
- data/lib/method_ruby/models/webhook_update_response.rb +31 -0
- data/lib/method_ruby/models.rb +74 -0
- data/lib/method_ruby/resources/accounts/attributes.rb +121 -0
- data/lib/method_ruby/resources/accounts/balances.rb +122 -0
- data/lib/method_ruby/resources/accounts/card_brands.rb +121 -0
- data/lib/method_ruby/resources/accounts/consent.rb +53 -0
- data/lib/method_ruby/resources/accounts/payment_instruments.rb +163 -0
- data/lib/method_ruby/resources/accounts/payoffs.rb +122 -0
- data/lib/method_ruby/resources/accounts/products.rb +79 -0
- data/lib/method_ruby/resources/accounts/sensitive.rb +122 -0
- data/lib/method_ruby/resources/accounts/subscriptions.rb +152 -0
- data/lib/method_ruby/resources/accounts/transactions.rb +93 -0
- data/lib/method_ruby/resources/accounts/updates.rb +121 -0
- data/lib/method_ruby/resources/accounts/verification_sessions/amounts.rb +54 -0
- data/lib/method_ruby/resources/accounts/verification_sessions.rb +185 -0
- data/lib/method_ruby/resources/accounts.rb +251 -0
- data/lib/method_ruby/resources/card_products.rb +44 -0
- data/lib/method_ruby/resources/entities/attributes.rb +126 -0
- data/lib/method_ruby/resources/entities/connect.rb +140 -0
- data/lib/method_ruby/resources/entities/consent.rb +53 -0
- data/lib/method_ruby/resources/entities/credit_scores.rb +125 -0
- data/lib/method_ruby/resources/entities/identities.rb +125 -0
- data/lib/method_ruby/resources/entities/manual_connect.rb +87 -0
- data/lib/method_ruby/resources/entities/products.rb +79 -0
- data/lib/method_ruby/resources/entities/subscriptions.rb +154 -0
- data/lib/method_ruby/resources/entities/vehicles.rb +115 -0
- data/lib/method_ruby/resources/entities/verification_sessions.rb +191 -0
- data/lib/method_ruby/resources/entities.rb +126 -38
- data/lib/method_ruby/resources/events.rb +84 -0
- data/lib/method_ruby/resources/forwarding_requests.rb +91 -0
- data/lib/method_ruby/resources/managed_accounts/transactions.rb +58 -0
- data/lib/method_ruby/resources/managed_accounts.rb +74 -0
- data/lib/method_ruby/resources/merchants.rb +76 -0
- data/lib/method_ruby/resources/payments/reversals.rb +119 -0
- data/lib/method_ruby/resources/payments.rb +211 -0
- data/lib/method_ruby/resources/ping.rb +13 -6
- data/lib/method_ruby/resources/reports/download.rb +45 -0
- data/lib/method_ruby/resources/reports.rb +82 -0
- data/lib/method_ruby/resources/secrets.rb +145 -0
- data/lib/method_ruby/resources/simulate/accounts/card_brands.rb +52 -0
- data/lib/method_ruby/resources/simulate/accounts/transactions.rb +60 -0
- data/lib/method_ruby/resources/simulate/accounts/verification_sessions/amounts.rb +62 -0
- data/lib/method_ruby/resources/simulate/accounts/verification_sessions.rb +23 -0
- data/lib/method_ruby/resources/simulate/accounts.rb +31 -0
- data/lib/method_ruby/resources/simulate/entities/attributes.rb +52 -0
- data/lib/method_ruby/resources/simulate/entities/connect.rb +51 -0
- data/lib/method_ruby/resources/simulate/entities/credit_scores.rb +64 -0
- data/lib/method_ruby/resources/simulate/entities.rb +31 -0
- data/lib/method_ruby/resources/simulate/events.rb +53 -0
- data/lib/method_ruby/resources/simulate/payments/payment_instruments.rb +56 -0
- data/lib/method_ruby/resources/simulate/payments.rb +60 -0
- data/lib/method_ruby/resources/simulate.rb +32 -0
- data/lib/method_ruby/resources/teams/default_encryption_key.rb +50 -0
- data/lib/method_ruby/resources/teams/mle/public_keys.rb +138 -0
- data/lib/method_ruby/resources/teams/mle.rb +62 -0
- data/lib/method_ruby/resources/teams.rb +83 -0
- data/lib/method_ruby/resources/webhooks.rb +178 -0
- data/lib/method_ruby/version.rb +1 -1
- data/lib/method_ruby.rb +283 -0
- data/rbi/method_ruby/client.rbi +72 -8
- data/rbi/method_ruby/internal/transport/base_client.rbi +10 -4
- data/rbi/method_ruby/internal/util.rbi +8 -0
- data/rbi/method_ruby/models/account_create_params.rbi +962 -0
- data/rbi/method_ruby/models/account_create_response.rbi +28236 -0
- data/rbi/method_ruby/models/account_list_params.rbi +585 -0
- data/rbi/method_ruby/models/account_list_response.rbi +48 -0
- data/rbi/method_ruby/models/account_retrieve_params.rbi +173 -0
- data/rbi/method_ruby/models/account_retrieve_response.rbi +28240 -0
- data/rbi/method_ruby/models/account_update_params.rbi +317 -0
- data/rbi/method_ruby/models/account_update_response.rbi +42 -0
- data/rbi/method_ruby/models/accounts/attribute_create_params.rbi +96 -0
- data/rbi/method_ruby/models/accounts/attribute_create_response.rbi +56 -0
- data/rbi/method_ruby/models/accounts/attribute_list_params.rbi +122 -0
- data/rbi/method_ruby/models/accounts/attribute_list_response.rbi +54 -0
- data/rbi/method_ruby/models/accounts/attribute_retrieve_params.rbi +93 -0
- data/rbi/method_ruby/models/accounts/attribute_retrieve_response.rbi +56 -0
- data/rbi/method_ruby/models/accounts/balance_create_params.rbi +96 -0
- data/rbi/method_ruby/models/accounts/balance_create_response.rbi +56 -0
- data/rbi/method_ruby/models/accounts/balance_list_params.rbi +122 -0
- data/rbi/method_ruby/models/accounts/balance_list_response.rbi +54 -0
- data/rbi/method_ruby/models/accounts/balance_retrieve_params.rbi +88 -0
- data/rbi/method_ruby/models/accounts/balance_retrieve_response.rbi +56 -0
- data/rbi/method_ruby/models/accounts/card_brand_create_params.rbi +96 -0
- data/rbi/method_ruby/models/accounts/card_brand_create_response.rbi +56 -0
- data/rbi/method_ruby/models/accounts/card_brand_list_params.rbi +122 -0
- data/rbi/method_ruby/models/accounts/card_brand_list_response.rbi +54 -0
- data/rbi/method_ruby/models/accounts/card_brand_retrieve_params.rbi +93 -0
- data/rbi/method_ruby/models/accounts/card_brand_retrieve_response.rbi +56 -0
- data/rbi/method_ruby/models/accounts/consent_withdraw_params.rbi +144 -0
- data/rbi/method_ruby/models/accounts/consent_withdraw_response.rbi +28313 -0
- data/rbi/method_ruby/models/accounts/payment_instrument_create_params.rbi +150 -0
- data/rbi/method_ruby/models/accounts/payment_instrument_create_response.rbi +56 -0
- data/rbi/method_ruby/models/accounts/payment_instrument_delete_params.rbi +102 -0
- data/rbi/method_ruby/models/accounts/payment_instrument_delete_response.rbi +56 -0
- data/rbi/method_ruby/models/accounts/payment_instrument_list_params.rbi +122 -0
- data/rbi/method_ruby/models/accounts/payment_instrument_list_response.rbi +54 -0
- data/rbi/method_ruby/models/accounts/payment_instrument_retrieve_params.rbi +93 -0
- data/rbi/method_ruby/models/accounts/payment_instrument_retrieve_response.rbi +56 -0
- data/rbi/method_ruby/models/accounts/payoff_create_params.rbi +96 -0
- data/rbi/method_ruby/models/accounts/payoff_create_response.rbi +56 -0
- data/rbi/method_ruby/models/accounts/payoff_list_params.rbi +122 -0
- data/rbi/method_ruby/models/accounts/payoff_list_response.rbi +54 -0
- data/rbi/method_ruby/models/accounts/payoff_retrieve_params.rbi +88 -0
- data/rbi/method_ruby/models/accounts/payoff_retrieve_response.rbi +56 -0
- data/rbi/method_ruby/models/accounts/product_list_params.rbi +83 -0
- data/rbi/method_ruby/models/accounts/product_list_response.rbi +56 -0
- data/rbi/method_ruby/models/accounts/product_retrieve_params.rbi +88 -0
- data/rbi/method_ruby/models/accounts/product_retrieve_response.rbi +56 -0
- data/rbi/method_ruby/models/accounts/sensitive_create_params.rbi +104 -0
- data/rbi/method_ruby/models/accounts/sensitive_create_response.rbi +56 -0
- data/rbi/method_ruby/models/accounts/sensitive_list_params.rbi +122 -0
- data/rbi/method_ruby/models/accounts/sensitive_list_response.rbi +54 -0
- data/rbi/method_ruby/models/accounts/sensitive_retrieve_params.rbi +93 -0
- data/rbi/method_ruby/models/accounts/sensitive_retrieve_response.rbi +56 -0
- data/rbi/method_ruby/models/accounts/subscription_create_params.rbi +104 -0
- data/rbi/method_ruby/models/accounts/subscription_create_response.rbi +56 -0
- data/rbi/method_ruby/models/accounts/subscription_delete_params.rbi +102 -0
- data/rbi/method_ruby/models/accounts/subscription_delete_response.rbi +56 -0
- data/rbi/method_ruby/models/accounts/subscription_list_params.rbi +83 -0
- data/rbi/method_ruby/models/accounts/subscription_list_response.rbi +56 -0
- data/rbi/method_ruby/models/accounts/subscription_retrieve_params.rbi +88 -0
- data/rbi/method_ruby/models/accounts/subscription_retrieve_response.rbi +56 -0
- data/rbi/method_ruby/models/accounts/transaction_list_params.rbi +144 -0
- data/rbi/method_ruby/models/accounts/transaction_list_response.rbi +54 -0
- data/rbi/method_ruby/models/accounts/transaction_retrieve_params.rbi +93 -0
- data/rbi/method_ruby/models/accounts/transaction_retrieve_response.rbi +56 -0
- data/rbi/method_ruby/models/accounts/update_create_params.rbi +96 -0
- data/rbi/method_ruby/models/accounts/update_create_response.rbi +56 -0
- data/rbi/method_ruby/models/accounts/update_list_params.rbi +122 -0
- data/rbi/method_ruby/models/accounts/update_list_response.rbi +54 -0
- data/rbi/method_ruby/models/accounts/update_retrieve_params.rbi +93 -0
- data/rbi/method_ruby/models/accounts/update_retrieve_response.rbi +56 -0
- data/rbi/method_ruby/models/accounts/verification_session_create_params.rbi +195 -0
- data/rbi/method_ruby/models/accounts/verification_session_create_response.rbi +56 -0
- data/rbi/method_ruby/models/accounts/verification_session_list_params.rbi +122 -0
- data/rbi/method_ruby/models/accounts/verification_session_list_response.rbi +54 -0
- data/rbi/method_ruby/models/accounts/verification_session_retrieve_params.rbi +88 -0
- data/rbi/method_ruby/models/accounts/verification_session_retrieve_response.rbi +56 -0
- data/rbi/method_ruby/models/accounts/verification_session_update_params.rbi +689 -0
- data/rbi/method_ruby/models/accounts/verification_session_update_response.rbi +56 -0
- data/rbi/method_ruby/models/accounts/verification_sessions/amount_retrieve_params.rbi +95 -0
- data/rbi/method_ruby/models/accounts/verification_sessions/amount_retrieve_response.rbi +56 -0
- data/rbi/method_ruby/models/address.rbi +11 -4
- data/rbi/method_ruby/models/card_product_retrieve_params.rbi +76 -0
- data/rbi/method_ruby/models/card_product_retrieve_response.rbi +50 -0
- data/rbi/method_ruby/models/entities/attribute_create_params.rbi +107 -0
- data/rbi/method_ruby/models/entities/attribute_create_response.rbi +54 -0
- data/rbi/method_ruby/models/entities/attribute_list_params.rbi +144 -0
- data/rbi/method_ruby/models/entities/attribute_list_response.rbi +54 -0
- data/rbi/method_ruby/models/entities/attribute_retrieve_params.rbi +88 -0
- data/rbi/method_ruby/models/entities/attribute_retrieve_response.rbi +54 -0
- data/rbi/method_ruby/models/entities/connect_create_params.rbi +228 -0
- data/rbi/method_ruby/models/entities/connect_create_response.rbi +54 -0
- data/rbi/method_ruby/models/entities/connect_list_params.rbi +254 -0
- data/rbi/method_ruby/models/entities/connect_list_response.rbi +54 -0
- data/rbi/method_ruby/models/entities/connect_retrieve_params.rbi +203 -0
- data/rbi/method_ruby/models/entities/connect_retrieve_response.rbi +54 -0
- data/rbi/method_ruby/models/entities/consent_withdraw_params.rbi +149 -0
- data/rbi/method_ruby/models/entities/consent_withdraw_response.rbi +60 -0
- data/rbi/method_ruby/models/entities/credit_score_create_params.rbi +96 -0
- data/rbi/method_ruby/models/entities/credit_score_create_response.rbi +54 -0
- data/rbi/method_ruby/models/entities/credit_score_list_params.rbi +144 -0
- data/rbi/method_ruby/models/entities/credit_score_list_response.rbi +54 -0
- data/rbi/method_ruby/models/entities/credit_score_retrieve_params.rbi +88 -0
- data/rbi/method_ruby/models/entities/credit_score_retrieve_response.rbi +54 -0
- data/rbi/method_ruby/models/entities/identity_create_params.rbi +96 -0
- data/rbi/method_ruby/models/entities/identity_create_response.rbi +54 -0
- data/rbi/method_ruby/models/entities/identity_list_params.rbi +144 -0
- data/rbi/method_ruby/models/entities/identity_list_response.rbi +54 -0
- data/rbi/method_ruby/models/entities/identity_retrieve_params.rbi +88 -0
- data/rbi/method_ruby/models/entities/identity_retrieve_response.rbi +54 -0
- data/rbi/method_ruby/models/entities/manual_connect_create_params.rbi +440 -0
- data/rbi/method_ruby/models/entities/manual_connect_create_response.rbi +54 -0
- data/rbi/method_ruby/models/entities/manual_connect_retrieve_params.rbi +88 -0
- data/rbi/method_ruby/models/entities/manual_connect_retrieve_response.rbi +54 -0
- data/rbi/method_ruby/models/entities/product_list_params.rbi +83 -0
- data/rbi/method_ruby/models/entities/product_list_response.rbi +56 -0
- data/rbi/method_ruby/models/entities/product_retrieve_params.rbi +88 -0
- data/rbi/method_ruby/models/entities/product_retrieve_response.rbi +54 -0
- data/rbi/method_ruby/models/entities/subscription_create_params.rbi +263 -0
- data/rbi/method_ruby/models/entities/subscription_create_response.rbi +54 -0
- data/rbi/method_ruby/models/entities/subscription_delete_params.rbi +102 -0
- data/rbi/method_ruby/models/entities/subscription_delete_response.rbi +54 -0
- data/rbi/method_ruby/models/entities/subscription_list_params.rbi +83 -0
- data/rbi/method_ruby/models/entities/subscription_list_response.rbi +56 -0
- data/rbi/method_ruby/models/entities/subscription_retrieve_params.rbi +88 -0
- data/rbi/method_ruby/models/entities/subscription_retrieve_response.rbi +54 -0
- data/rbi/method_ruby/models/entities/vehicle_create_params.rbi +104 -0
- data/rbi/method_ruby/models/entities/vehicle_create_response.rbi +54 -0
- data/rbi/method_ruby/models/entities/vehicle_list_params.rbi +83 -0
- data/rbi/method_ruby/models/entities/vehicle_list_response.rbi +54 -0
- data/rbi/method_ruby/models/entities/vehicle_retrieve_params.rbi +88 -0
- data/rbi/method_ruby/models/entities/vehicle_retrieve_response.rbi +54 -0
- data/rbi/method_ruby/models/entities/verification_session_create_params.rbi +316 -0
- data/rbi/method_ruby/models/entities/verification_session_create_response.rbi +54 -0
- data/rbi/method_ruby/models/entities/verification_session_list_params.rbi +144 -0
- data/rbi/method_ruby/models/entities/verification_session_list_response.rbi +54 -0
- data/rbi/method_ruby/models/entities/verification_session_retrieve_params.rbi +88 -0
- data/rbi/method_ruby/models/entities/verification_session_retrieve_response.rbi +54 -0
- data/rbi/method_ruby/models/entities/verification_session_update_params.rbi +365 -0
- data/rbi/method_ruby/models/entities/verification_session_update_response.rbi +54 -0
- data/rbi/method_ruby/models/entity.rbi +32808 -112
- data/rbi/method_ruby/models/entity_corporation.rbi +24 -23
- data/rbi/method_ruby/models/entity_corporation_owner.rbi +12 -0
- data/rbi/method_ruby/models/entity_create_params.rbi +96 -53
- data/rbi/method_ruby/models/entity_create_response.rbi +25 -51
- data/rbi/method_ruby/models/entity_individual.rbi +34 -14
- data/rbi/method_ruby/models/entity_list_params.rbi +156 -25
- data/rbi/method_ruby/models/entity_list_response.rbi +17 -53
- data/rbi/method_ruby/models/entity_retrieve_params.rbi +74 -19
- data/rbi/method_ruby/models/entity_retrieve_response.rbi +25 -56
- data/rbi/method_ruby/models/entity_update_params.rbi +210 -43
- data/rbi/method_ruby/models/entity_update_response.rbi +25 -51
- data/rbi/method_ruby/models/event_list_params.rbi +134 -0
- data/rbi/method_ruby/models/event_list_response.rbi +48 -0
- data/rbi/method_ruby/models/event_retrieve_params.rbi +71 -0
- data/rbi/method_ruby/models/event_retrieve_response.rbi +48 -0
- data/rbi/method_ruby/models/forwarding_request_create_params.rbi +186 -0
- data/rbi/method_ruby/models/forwarding_request_create_response.rbi +48 -0
- data/rbi/method_ruby/models/forwarding_request_retrieve_params.rbi +81 -0
- data/rbi/method_ruby/models/forwarding_request_retrieve_response.rbi +48 -0
- data/rbi/method_ruby/models/managed_account_list_params.rbi +71 -0
- data/rbi/method_ruby/models/managed_account_list_response.rbi +48 -0
- data/rbi/method_ruby/models/managed_account_retrieve_params.rbi +81 -0
- data/rbi/method_ruby/models/managed_account_retrieve_response.rbi +52 -0
- data/rbi/method_ruby/models/managed_accounts/transaction_list_params.rbi +144 -0
- data/rbi/method_ruby/models/managed_accounts/transaction_list_response.rbi +54 -0
- data/rbi/method_ruby/models/merchant_list_params.rbi +181 -0
- data/rbi/method_ruby/models/merchant_list_response.rbi +48 -0
- data/rbi/method_ruby/models/merchant_retrieve_params.rbi +76 -0
- data/rbi/method_ruby/models/merchant_retrieve_response.rbi +48 -0
- data/rbi/method_ruby/models/payment_create_params.rbi +234 -0
- data/rbi/method_ruby/models/payment_create_response.rbi +50 -0
- data/rbi/method_ruby/models/payment_delete_params.rbi +84 -0
- data/rbi/method_ruby/models/payment_delete_response.rbi +50 -0
- data/rbi/method_ruby/models/payment_list_params.rbi +342 -0
- data/rbi/method_ruby/models/payment_list_response.rbi +48 -0
- data/rbi/method_ruby/models/payment_retrieve_params.rbi +143 -0
- data/rbi/method_ruby/models/payment_retrieve_response.rbi +50 -0
- data/rbi/method_ruby/models/payments/reversal_list_params.rbi +83 -0
- data/rbi/method_ruby/models/payments/reversal_list_response.rbi +54 -0
- data/rbi/method_ruby/models/payments/reversal_retrieve_params.rbi +93 -0
- data/rbi/method_ruby/models/payments/reversal_retrieve_response.rbi +56 -0
- data/rbi/method_ruby/models/payments/reversal_update_params.rbi +113 -0
- data/rbi/method_ruby/models/payments/reversal_update_response.rbi +56 -0
- data/rbi/method_ruby/models/ping_check_params.rbi +41 -5
- data/rbi/method_ruby/models/ping_check_response.rbi +27 -69
- data/rbi/method_ruby/models/report_create_params.rbi +169 -0
- data/rbi/method_ruby/models/report_create_response.rbi +52 -0
- data/rbi/method_ruby/models/report_retrieve_params.rbi +71 -0
- data/rbi/method_ruby/models/report_retrieve_response.rbi +52 -0
- data/rbi/method_ruby/models/reports/download_retrieve_params.rbi +83 -0
- data/rbi/method_ruby/models/reports/download_retrieve_response.rbi +9 -0
- data/rbi/method_ruby/models/resource_error.rbi +16 -23
- data/rbi/method_ruby/models/secret_create_params.rbi +94 -0
- data/rbi/method_ruby/models/secret_create_response.rbi +48 -0
- data/rbi/method_ruby/models/secret_delete_params.rbi +84 -0
- data/rbi/method_ruby/models/secret_delete_response.rbi +42 -0
- data/rbi/method_ruby/models/secret_list_params.rbi +101 -0
- data/rbi/method_ruby/models/secret_list_response.rbi +48 -0
- data/rbi/method_ruby/models/secret_retrieve_params.rbi +71 -0
- data/rbi/method_ruby/models/secret_retrieve_response.rbi +48 -0
- data/rbi/method_ruby/models/simulate/accounts/card_brand_create_params.rbi +85 -0
- data/rbi/method_ruby/models/simulate/accounts/card_brand_create_response.rbi +58 -0
- data/rbi/method_ruby/models/simulate/accounts/transaction_create_params.rbi +119 -0
- data/rbi/method_ruby/models/simulate/accounts/transaction_create_response.rbi +58 -0
- data/rbi/method_ruby/models/simulate/accounts/verification_sessions/amount_retrieve_params.rbi +97 -0
- data/rbi/method_ruby/models/simulate/accounts/verification_sessions/amount_retrieve_response.rbi +58 -0
- data/rbi/method_ruby/models/simulate/entities/attribute_create_params.rbi +85 -0
- data/rbi/method_ruby/models/simulate/entities/attribute_create_response.rbi +56 -0
- data/rbi/method_ruby/models/simulate/entities/connect_create_params.rbi +85 -0
- data/rbi/method_ruby/models/simulate/entities/connect_create_response.rbi +56 -0
- data/rbi/method_ruby/models/simulate/entities/credit_score_create_params.rbi +114 -0
- data/rbi/method_ruby/models/simulate/entities/credit_score_create_response.rbi +56 -0
- data/rbi/method_ruby/models/simulate/event_create_params.rbi +97 -0
- data/rbi/method_ruby/models/simulate/event_create_response.rbi +54 -0
- data/rbi/method_ruby/models/simulate/payment_create_params.rbi +108 -0
- data/rbi/method_ruby/models/simulate/payment_create_response.rbi +56 -0
- data/rbi/method_ruby/models/simulate/payments/payment_instrument_create_params.rbi +97 -0
- data/rbi/method_ruby/models/simulate/payments/payment_instrument_create_response.rbi +58 -0
- data/rbi/method_ruby/models/team_create_params.rbi +83 -0
- data/rbi/method_ruby/models/team_create_response.rbi +50 -0
- data/rbi/method_ruby/models/team_list_params.rbi +62 -0
- data/rbi/method_ruby/models/team_list_response.rbi +50 -0
- data/rbi/method_ruby/models/teams/default_encryption_key_create_params.rbi +98 -0
- data/rbi/method_ruby/models/teams/default_encryption_key_create_response.rbi +56 -0
- data/rbi/method_ruby/models/teams/mle/public_key_create_params.rbi +100 -0
- data/rbi/method_ruby/models/teams/mle/public_key_create_response.rbi +58 -0
- data/rbi/method_ruby/models/teams/mle/public_key_delete_params.rbi +98 -0
- data/rbi/method_ruby/models/teams/mle/public_key_delete_response.rbi +58 -0
- data/rbi/method_ruby/models/teams/mle/public_key_list_params.rbi +80 -0
- data/rbi/method_ruby/models/teams/mle/public_key_list_response.rbi +56 -0
- data/rbi/method_ruby/models/teams/mle/public_key_retrieve_params.rbi +85 -0
- data/rbi/method_ruby/models/teams/mle/public_key_retrieve_response.rbi +58 -0
- data/rbi/method_ruby/models/teams/mle_jwks_params.rbi +34 -0
- data/rbi/method_ruby/models/teams/mle_jwks_response.rbi +114 -0
- data/rbi/method_ruby/models/teams/mle_retrieve_method_key_params.rbi +40 -0
- data/rbi/method_ruby/models/teams/mle_retrieve_method_key_response.rbi +54 -0
- data/rbi/method_ruby/models/webhook_create_params.rbi +610 -0
- data/rbi/method_ruby/models/webhook_create_response.rbi +48 -0
- data/rbi/method_ruby/models/webhook_delete_params.rbi +84 -0
- data/rbi/method_ruby/models/webhook_delete_response.rbi +48 -0
- data/rbi/method_ruby/models/webhook_list_params.rbi +64 -0
- data/rbi/method_ruby/models/webhook_list_response.rbi +48 -0
- data/rbi/method_ruby/models/webhook_retrieve_params.rbi +76 -0
- data/rbi/method_ruby/models/webhook_retrieve_response.rbi +48 -0
- data/rbi/method_ruby/models/webhook_update_params.rbi +123 -0
- data/rbi/method_ruby/models/webhook_update_response.rbi +48 -0
- data/rbi/method_ruby/models.rbi +77 -0
- data/rbi/method_ruby/resources/accounts/attributes.rbi +89 -0
- data/rbi/method_ruby/resources/accounts/balances.rbi +90 -0
- data/rbi/method_ruby/resources/accounts/card_brands.rbi +89 -0
- data/rbi/method_ruby/resources/accounts/consent.rbi +45 -0
- data/rbi/method_ruby/resources/accounts/payment_instruments.rbi +128 -0
- data/rbi/method_ruby/resources/accounts/payoffs.rbi +90 -0
- data/rbi/method_ruby/resources/accounts/products.rbi +56 -0
- data/rbi/method_ruby/resources/accounts/sensitive.rbi +93 -0
- data/rbi/method_ruby/resources/accounts/subscriptions.rbi +110 -0
- data/rbi/method_ruby/resources/accounts/transactions.rbi +73 -0
- data/rbi/method_ruby/resources/accounts/updates.rbi +89 -0
- data/rbi/method_ruby/resources/accounts/verification_sessions/amounts.rbi +41 -0
- data/rbi/method_ruby/resources/accounts/verification_sessions.rbi +171 -0
- data/rbi/method_ruby/resources/accounts.rbi +210 -0
- data/rbi/method_ruby/resources/card_products.rbi +33 -0
- data/rbi/method_ruby/resources/entities/attributes.rbi +99 -0
- data/rbi/method_ruby/resources/entities/connect.rbi +123 -0
- data/rbi/method_ruby/resources/entities/consent.rbi +45 -0
- data/rbi/method_ruby/resources/entities/credit_scores.rbi +95 -0
- data/rbi/method_ruby/resources/entities/identities.rbi +95 -0
- data/rbi/method_ruby/resources/entities/manual_connect.rbi +71 -0
- data/rbi/method_ruby/resources/entities/products.rbi +56 -0
- data/rbi/method_ruby/resources/entities/subscriptions.rbi +118 -0
- data/rbi/method_ruby/resources/entities/vehicles.rbi +84 -0
- data/rbi/method_ruby/resources/entities/verification_sessions.rbi +175 -0
- data/rbi/method_ruby/resources/entities.rbi +103 -36
- data/rbi/method_ruby/resources/events.rbi +66 -0
- data/rbi/method_ruby/resources/forwarding_requests.rbi +77 -0
- data/rbi/method_ruby/resources/managed_accounts/transactions.rbi +52 -0
- data/rbi/method_ruby/resources/managed_accounts.rbi +52 -0
- data/rbi/method_ruby/resources/merchants.rbi +54 -0
- data/rbi/method_ruby/resources/payments/reversals.rbi +86 -0
- data/rbi/method_ruby/resources/payments.rbi +177 -0
- data/rbi/method_ruby/resources/ping.rbi +12 -6
- data/rbi/method_ruby/resources/reports/download.rbi +34 -0
- data/rbi/method_ruby/resources/reports.rbi +62 -0
- data/rbi/method_ruby/resources/secrets.rbi +107 -0
- data/rbi/method_ruby/resources/simulate/accounts/card_brands.rbi +42 -0
- data/rbi/method_ruby/resources/simulate/accounts/transactions.rbi +51 -0
- data/rbi/method_ruby/resources/simulate/accounts/verification_sessions/amounts.rbi +48 -0
- data/rbi/method_ruby/resources/simulate/accounts/verification_sessions.rbi +24 -0
- data/rbi/method_ruby/resources/simulate/accounts.rbi +29 -0
- data/rbi/method_ruby/resources/simulate/entities/attributes.rbi +42 -0
- data/rbi/method_ruby/resources/simulate/entities/connect.rbi +42 -0
- data/rbi/method_ruby/resources/simulate/entities/credit_scores.rbi +51 -0
- data/rbi/method_ruby/resources/simulate/entities.rbi +26 -0
- data/rbi/method_ruby/resources/simulate/events.rbi +41 -0
- data/rbi/method_ruby/resources/simulate/payments/payment_instruments.rbi +45 -0
- data/rbi/method_ruby/resources/simulate/payments.rbi +51 -0
- data/rbi/method_ruby/resources/simulate.rbi +26 -0
- data/rbi/method_ruby/resources/teams/default_encryption_key.rbi +42 -0
- data/rbi/method_ruby/resources/teams/mle/public_keys.rbi +99 -0
- data/rbi/method_ruby/resources/teams/mle.rbi +42 -0
- data/rbi/method_ruby/resources/teams.rbi +59 -0
- data/rbi/method_ruby/resources/webhooks.rbi +139 -0
- data/sig/method_ruby/client.rbs +31 -2
- data/sig/method_ruby/internal/transport/base_client.rbs +2 -2
- data/sig/method_ruby/internal/util.rbs +4 -0
- data/sig/method_ruby/models/account_create_params.rbs +429 -0
- data/sig/method_ruby/models/account_create_response.rbs +11226 -0
- data/sig/method_ruby/models/account_list_params.rbs +289 -0
- data/sig/method_ruby/models/account_list_response.rbs +17 -0
- data/sig/method_ruby/models/account_retrieve_params.rbs +79 -0
- data/sig/method_ruby/models/account_retrieve_response.rbs +11226 -0
- data/sig/method_ruby/models/account_update_params.rbs +172 -0
- data/sig/method_ruby/models/account_update_response.rbs +18 -0
- data/sig/method_ruby/models/accounts/attribute_create_params.rbs +50 -0
- data/sig/method_ruby/models/accounts/attribute_create_response.rbs +20 -0
- data/sig/method_ruby/models/accounts/attribute_list_params.rbs +64 -0
- data/sig/method_ruby/models/accounts/attribute_list_response.rbs +20 -0
- data/sig/method_ruby/models/accounts/attribute_retrieve_params.rbs +48 -0
- data/sig/method_ruby/models/accounts/attribute_retrieve_response.rbs +20 -0
- data/sig/method_ruby/models/accounts/balance_create_params.rbs +50 -0
- data/sig/method_ruby/models/accounts/balance_create_response.rbs +20 -0
- data/sig/method_ruby/models/accounts/balance_list_params.rbs +64 -0
- data/sig/method_ruby/models/accounts/balance_list_response.rbs +20 -0
- data/sig/method_ruby/models/accounts/balance_retrieve_params.rbs +48 -0
- data/sig/method_ruby/models/accounts/balance_retrieve_response.rbs +20 -0
- data/sig/method_ruby/models/accounts/card_brand_create_params.rbs +50 -0
- data/sig/method_ruby/models/accounts/card_brand_create_response.rbs +20 -0
- data/sig/method_ruby/models/accounts/card_brand_list_params.rbs +64 -0
- data/sig/method_ruby/models/accounts/card_brand_list_response.rbs +20 -0
- data/sig/method_ruby/models/accounts/card_brand_retrieve_params.rbs +48 -0
- data/sig/method_ruby/models/accounts/card_brand_retrieve_response.rbs +20 -0
- data/sig/method_ruby/models/accounts/consent_withdraw_params.rbs +72 -0
- data/sig/method_ruby/models/accounts/consent_withdraw_response.rbs +11232 -0
- data/sig/method_ruby/models/accounts/payment_instrument_create_params.rbs +67 -0
- data/sig/method_ruby/models/accounts/payment_instrument_create_response.rbs +20 -0
- data/sig/method_ruby/models/accounts/payment_instrument_delete_params.rbs +55 -0
- data/sig/method_ruby/models/accounts/payment_instrument_delete_response.rbs +20 -0
- data/sig/method_ruby/models/accounts/payment_instrument_list_params.rbs +64 -0
- data/sig/method_ruby/models/accounts/payment_instrument_list_response.rbs +20 -0
- data/sig/method_ruby/models/accounts/payment_instrument_retrieve_params.rbs +48 -0
- data/sig/method_ruby/models/accounts/payment_instrument_retrieve_response.rbs +20 -0
- data/sig/method_ruby/models/accounts/payoff_create_params.rbs +50 -0
- data/sig/method_ruby/models/accounts/payoff_create_response.rbs +20 -0
- data/sig/method_ruby/models/accounts/payoff_list_params.rbs +64 -0
- data/sig/method_ruby/models/accounts/payoff_list_response.rbs +19 -0
- data/sig/method_ruby/models/accounts/payoff_retrieve_params.rbs +48 -0
- data/sig/method_ruby/models/accounts/payoff_retrieve_response.rbs +20 -0
- data/sig/method_ruby/models/accounts/product_list_params.rbs +43 -0
- data/sig/method_ruby/models/accounts/product_list_response.rbs +20 -0
- data/sig/method_ruby/models/accounts/product_retrieve_params.rbs +48 -0
- data/sig/method_ruby/models/accounts/product_retrieve_response.rbs +20 -0
- data/sig/method_ruby/models/accounts/sensitive_create_params.rbs +55 -0
- data/sig/method_ruby/models/accounts/sensitive_create_response.rbs +20 -0
- data/sig/method_ruby/models/accounts/sensitive_list_params.rbs +64 -0
- data/sig/method_ruby/models/accounts/sensitive_list_response.rbs +20 -0
- data/sig/method_ruby/models/accounts/sensitive_retrieve_params.rbs +48 -0
- data/sig/method_ruby/models/accounts/sensitive_retrieve_response.rbs +20 -0
- data/sig/method_ruby/models/accounts/subscription_create_params.rbs +55 -0
- data/sig/method_ruby/models/accounts/subscription_create_response.rbs +20 -0
- data/sig/method_ruby/models/accounts/subscription_delete_params.rbs +55 -0
- data/sig/method_ruby/models/accounts/subscription_delete_response.rbs +20 -0
- data/sig/method_ruby/models/accounts/subscription_list_params.rbs +43 -0
- data/sig/method_ruby/models/accounts/subscription_list_response.rbs +20 -0
- data/sig/method_ruby/models/accounts/subscription_retrieve_params.rbs +48 -0
- data/sig/method_ruby/models/accounts/subscription_retrieve_response.rbs +20 -0
- data/sig/method_ruby/models/accounts/transaction_list_params.rbs +78 -0
- data/sig/method_ruby/models/accounts/transaction_list_response.rbs +20 -0
- data/sig/method_ruby/models/accounts/transaction_retrieve_params.rbs +48 -0
- data/sig/method_ruby/models/accounts/transaction_retrieve_response.rbs +20 -0
- data/sig/method_ruby/models/accounts/update_create_params.rbs +50 -0
- data/sig/method_ruby/models/accounts/update_create_response.rbs +20 -0
- data/sig/method_ruby/models/accounts/update_list_params.rbs +64 -0
- data/sig/method_ruby/models/accounts/update_list_response.rbs +19 -0
- data/sig/method_ruby/models/accounts/update_retrieve_params.rbs +48 -0
- data/sig/method_ruby/models/accounts/update_retrieve_response.rbs +20 -0
- data/sig/method_ruby/models/accounts/verification_session_create_params.rbs +88 -0
- data/sig/method_ruby/models/accounts/verification_session_create_response.rbs +20 -0
- data/sig/method_ruby/models/accounts/verification_session_list_params.rbs +64 -0
- data/sig/method_ruby/models/accounts/verification_session_list_response.rbs +20 -0
- data/sig/method_ruby/models/accounts/verification_session_retrieve_params.rbs +48 -0
- data/sig/method_ruby/models/accounts/verification_session_retrieve_response.rbs +20 -0
- data/sig/method_ruby/models/accounts/verification_session_update_params.rbs +297 -0
- data/sig/method_ruby/models/accounts/verification_session_update_response.rbs +20 -0
- data/sig/method_ruby/models/accounts/verification_sessions/amount_retrieve_params.rbs +50 -0
- data/sig/method_ruby/models/accounts/verification_sessions/amount_retrieve_response.rbs +22 -0
- data/sig/method_ruby/models/card_product_retrieve_params.rbs +41 -0
- data/sig/method_ruby/models/card_product_retrieve_response.rbs +18 -0
- data/sig/method_ruby/models/entities/attribute_create_params.rbs +57 -0
- data/sig/method_ruby/models/entities/attribute_create_response.rbs +20 -0
- data/sig/method_ruby/models/entities/attribute_list_params.rbs +78 -0
- data/sig/method_ruby/models/entities/attribute_list_response.rbs +20 -0
- data/sig/method_ruby/models/entities/attribute_retrieve_params.rbs +48 -0
- data/sig/method_ruby/models/entities/attribute_retrieve_response.rbs +20 -0
- data/sig/method_ruby/models/entities/connect_create_params.rbs +104 -0
- data/sig/method_ruby/models/entities/connect_create_response.rbs +20 -0
- data/sig/method_ruby/models/entities/connect_list_params.rbs +118 -0
- data/sig/method_ruby/models/entities/connect_list_response.rbs +20 -0
- data/sig/method_ruby/models/entities/connect_retrieve_params.rbs +88 -0
- data/sig/method_ruby/models/entities/connect_retrieve_response.rbs +20 -0
- data/sig/method_ruby/models/entities/consent_withdraw_params.rbs +73 -0
- data/sig/method_ruby/models/entities/consent_withdraw_response.rbs +28 -0
- data/sig/method_ruby/models/entities/credit_score_create_params.rbs +50 -0
- data/sig/method_ruby/models/entities/credit_score_create_response.rbs +20 -0
- data/sig/method_ruby/models/entities/credit_score_list_params.rbs +78 -0
- data/sig/method_ruby/models/entities/credit_score_list_response.rbs +20 -0
- data/sig/method_ruby/models/entities/credit_score_retrieve_params.rbs +48 -0
- data/sig/method_ruby/models/entities/credit_score_retrieve_response.rbs +20 -0
- data/sig/method_ruby/models/entities/identity_create_params.rbs +50 -0
- data/sig/method_ruby/models/entities/identity_create_response.rbs +20 -0
- data/sig/method_ruby/models/entities/identity_list_params.rbs +78 -0
- data/sig/method_ruby/models/entities/identity_list_response.rbs +20 -0
- data/sig/method_ruby/models/entities/identity_retrieve_params.rbs +48 -0
- data/sig/method_ruby/models/entities/identity_retrieve_response.rbs +20 -0
- data/sig/method_ruby/models/entities/manual_connect_create_params.rbs +215 -0
- data/sig/method_ruby/models/entities/manual_connect_create_response.rbs +20 -0
- data/sig/method_ruby/models/entities/manual_connect_retrieve_params.rbs +48 -0
- data/sig/method_ruby/models/entities/manual_connect_retrieve_response.rbs +20 -0
- data/sig/method_ruby/models/entities/product_list_params.rbs +43 -0
- data/sig/method_ruby/models/entities/product_list_response.rbs +20 -0
- data/sig/method_ruby/models/entities/product_retrieve_params.rbs +48 -0
- data/sig/method_ruby/models/entities/product_retrieve_response.rbs +20 -0
- data/sig/method_ruby/models/entities/subscription_create_params.rbs +105 -0
- data/sig/method_ruby/models/entities/subscription_create_response.rbs +20 -0
- data/sig/method_ruby/models/entities/subscription_delete_params.rbs +55 -0
- data/sig/method_ruby/models/entities/subscription_delete_response.rbs +20 -0
- data/sig/method_ruby/models/entities/subscription_list_params.rbs +43 -0
- data/sig/method_ruby/models/entities/subscription_list_response.rbs +20 -0
- data/sig/method_ruby/models/entities/subscription_retrieve_params.rbs +48 -0
- data/sig/method_ruby/models/entities/subscription_retrieve_response.rbs +20 -0
- data/sig/method_ruby/models/entities/vehicle_create_params.rbs +55 -0
- data/sig/method_ruby/models/entities/vehicle_create_response.rbs +20 -0
- data/sig/method_ruby/models/entities/vehicle_list_params.rbs +43 -0
- data/sig/method_ruby/models/entities/vehicle_list_response.rbs +20 -0
- data/sig/method_ruby/models/entities/vehicle_retrieve_params.rbs +48 -0
- data/sig/method_ruby/models/entities/vehicle_retrieve_response.rbs +20 -0
- data/sig/method_ruby/models/entities/verification_session_create_params.rbs +137 -0
- data/sig/method_ruby/models/entities/verification_session_create_response.rbs +20 -0
- data/sig/method_ruby/models/entities/verification_session_list_params.rbs +78 -0
- data/sig/method_ruby/models/entities/verification_session_list_response.rbs +20 -0
- data/sig/method_ruby/models/entities/verification_session_retrieve_params.rbs +48 -0
- data/sig/method_ruby/models/entities/verification_session_retrieve_response.rbs +20 -0
- data/sig/method_ruby/models/entities/verification_session_update_params.rbs +152 -0
- data/sig/method_ruby/models/entities/verification_session_update_response.rbs +20 -0
- data/sig/method_ruby/models/entity.rbs +12996 -63
- data/sig/method_ruby/models/entity_corporation.rbs +12 -20
- data/sig/method_ruby/models/entity_create_params.rbs +45 -31
- data/sig/method_ruby/models/entity_create_response.rbs +10 -25
- data/sig/method_ruby/models/entity_individual.rbs +20 -14
- data/sig/method_ruby/models/entity_list_params.rbs +82 -10
- data/sig/method_ruby/models/entity_list_response.rbs +6 -30
- data/sig/method_ruby/models/entity_retrieve_params.rbs +37 -13
- data/sig/method_ruby/models/entity_retrieve_response.rbs +10 -25
- data/sig/method_ruby/models/entity_update_params.rbs +126 -29
- data/sig/method_ruby/models/entity_update_response.rbs +10 -25
- data/sig/method_ruby/models/event_list_params.rbs +78 -0
- data/sig/method_ruby/models/event_list_response.rbs +17 -0
- data/sig/method_ruby/models/event_retrieve_params.rbs +41 -0
- data/sig/method_ruby/models/event_retrieve_response.rbs +18 -0
- data/sig/method_ruby/models/forwarding_request_create_params.rbs +87 -0
- data/sig/method_ruby/models/forwarding_request_create_response.rbs +18 -0
- data/sig/method_ruby/models/forwarding_request_retrieve_params.rbs +41 -0
- data/sig/method_ruby/models/forwarding_request_retrieve_response.rbs +18 -0
- data/sig/method_ruby/models/managed_account_list_params.rbs +36 -0
- data/sig/method_ruby/models/managed_account_list_response.rbs +18 -0
- data/sig/method_ruby/models/managed_account_retrieve_params.rbs +41 -0
- data/sig/method_ruby/models/managed_account_retrieve_response.rbs +18 -0
- data/sig/method_ruby/models/managed_accounts/transaction_list_params.rbs +78 -0
- data/sig/method_ruby/models/managed_accounts/transaction_list_response.rbs +20 -0
- data/sig/method_ruby/models/merchant_list_params.rbs +103 -0
- data/sig/method_ruby/models/merchant_list_response.rbs +17 -0
- data/sig/method_ruby/models/merchant_retrieve_params.rbs +41 -0
- data/sig/method_ruby/models/merchant_retrieve_response.rbs +18 -0
- data/sig/method_ruby/models/payment_create_params.rbs +129 -0
- data/sig/method_ruby/models/payment_create_response.rbs +18 -0
- data/sig/method_ruby/models/payment_delete_params.rbs +48 -0
- data/sig/method_ruby/models/payment_delete_response.rbs +18 -0
- data/sig/method_ruby/models/payment_list_params.rbs +202 -0
- data/sig/method_ruby/models/payment_list_response.rbs +17 -0
- data/sig/method_ruby/models/payment_retrieve_params.rbs +67 -0
- data/sig/method_ruby/models/payment_retrieve_response.rbs +18 -0
- data/sig/method_ruby/models/payments/reversal_list_params.rbs +43 -0
- data/sig/method_ruby/models/payments/reversal_list_response.rbs +20 -0
- data/sig/method_ruby/models/payments/reversal_retrieve_params.rbs +48 -0
- data/sig/method_ruby/models/payments/reversal_retrieve_response.rbs +20 -0
- data/sig/method_ruby/models/payments/reversal_update_params.rbs +62 -0
- data/sig/method_ruby/models/payments/reversal_update_response.rbs +20 -0
- data/sig/method_ruby/models/ping_check_params.rbs +22 -3
- data/sig/method_ruby/models/ping_check_response.rbs +16 -35
- data/sig/method_ruby/models/report_create_params.rbs +83 -0
- data/sig/method_ruby/models/report_create_response.rbs +17 -0
- data/sig/method_ruby/models/report_retrieve_params.rbs +41 -0
- data/sig/method_ruby/models/report_retrieve_response.rbs +18 -0
- data/sig/method_ruby/models/reports/download_retrieve_params.rbs +43 -0
- data/sig/method_ruby/models/reports/download_retrieve_response.rbs +7 -0
- data/sig/method_ruby/models/resource_error.rbs +11 -19
- data/sig/method_ruby/models/secret_create_params.rbs +53 -0
- data/sig/method_ruby/models/secret_create_response.rbs +17 -0
- data/sig/method_ruby/models/secret_delete_params.rbs +48 -0
- data/sig/method_ruby/models/secret_delete_response.rbs +17 -0
- data/sig/method_ruby/models/secret_list_params.rbs +57 -0
- data/sig/method_ruby/models/secret_list_response.rbs +17 -0
- data/sig/method_ruby/models/secret_retrieve_params.rbs +41 -0
- data/sig/method_ruby/models/secret_retrieve_response.rbs +18 -0
- data/sig/method_ruby/models/simulate/accounts/card_brand_create_params.rbs +45 -0
- data/sig/method_ruby/models/simulate/accounts/card_brand_create_response.rbs +22 -0
- data/sig/method_ruby/models/simulate/accounts/transaction_create_params.rbs +64 -0
- data/sig/method_ruby/models/simulate/accounts/transaction_create_response.rbs +22 -0
- data/sig/method_ruby/models/simulate/accounts/verification_sessions/amount_retrieve_params.rbs +52 -0
- data/sig/method_ruby/models/simulate/accounts/verification_sessions/amount_retrieve_response.rbs +24 -0
- data/sig/method_ruby/models/simulate/entities/attribute_create_params.rbs +45 -0
- data/sig/method_ruby/models/simulate/entities/attribute_create_response.rbs +22 -0
- data/sig/method_ruby/models/simulate/entities/connect_create_params.rbs +45 -0
- data/sig/method_ruby/models/simulate/entities/connect_create_response.rbs +22 -0
- data/sig/method_ruby/models/simulate/entities/credit_score_create_params.rbs +62 -0
- data/sig/method_ruby/models/simulate/entities/credit_score_create_response.rbs +22 -0
- data/sig/method_ruby/models/simulate/event_create_params.rbs +48 -0
- data/sig/method_ruby/models/simulate/event_create_response.rbs +20 -0
- data/sig/method_ruby/models/simulate/payment_create_params.rbs +55 -0
- data/sig/method_ruby/models/simulate/payment_create_response.rbs +20 -0
- data/sig/method_ruby/models/simulate/payments/payment_instrument_create_params.rbs +50 -0
- data/sig/method_ruby/models/simulate/payments/payment_instrument_create_response.rbs +22 -0
- data/sig/method_ruby/models/team_create_params.rbs +48 -0
- data/sig/method_ruby/models/team_create_response.rbs +17 -0
- data/sig/method_ruby/models/team_list_params.rbs +34 -0
- data/sig/method_ruby/models/team_list_response.rbs +17 -0
- data/sig/method_ruby/models/teams/default_encryption_key_create_params.rbs +50 -0
- data/sig/method_ruby/models/teams/default_encryption_key_create_response.rbs +20 -0
- data/sig/method_ruby/models/teams/mle/public_key_create_params.rbs +52 -0
- data/sig/method_ruby/models/teams/mle/public_key_create_response.rbs +22 -0
- data/sig/method_ruby/models/teams/mle/public_key_delete_params.rbs +52 -0
- data/sig/method_ruby/models/teams/mle/public_key_delete_response.rbs +22 -0
- data/sig/method_ruby/models/teams/mle/public_key_list_params.rbs +40 -0
- data/sig/method_ruby/models/teams/mle/public_key_list_response.rbs +22 -0
- data/sig/method_ruby/models/teams/mle/public_key_retrieve_params.rbs +45 -0
- data/sig/method_ruby/models/teams/mle/public_key_retrieve_response.rbs +22 -0
- data/sig/method_ruby/models/teams/mle_jwks_params.rbs +17 -0
- data/sig/method_ruby/models/teams/mle_jwks_response.rbs +62 -0
- data/sig/method_ruby/models/teams/mle_retrieve_method_key_params.rbs +25 -0
- data/sig/method_ruby/models/teams/mle_retrieve_method_key_response.rbs +20 -0
- data/sig/method_ruby/models/webhook_create_params.rbs +270 -0
- data/sig/method_ruby/models/webhook_create_response.rbs +18 -0
- data/sig/method_ruby/models/webhook_delete_params.rbs +48 -0
- data/sig/method_ruby/models/webhook_delete_response.rbs +18 -0
- data/sig/method_ruby/models/webhook_list_params.rbs +34 -0
- data/sig/method_ruby/models/webhook_list_response.rbs +17 -0
- data/sig/method_ruby/models/webhook_retrieve_params.rbs +41 -0
- data/sig/method_ruby/models/webhook_retrieve_response.rbs +18 -0
- data/sig/method_ruby/models/webhook_update_params.rbs +66 -0
- data/sig/method_ruby/models/webhook_update_response.rbs +18 -0
- data/sig/method_ruby/models.rbs +75 -1
- data/sig/method_ruby/resources/accounts/attributes.rbs +32 -0
- data/sig/method_ruby/resources/accounts/balances.rbs +32 -0
- data/sig/method_ruby/resources/accounts/card_brands.rbs +32 -0
- data/sig/method_ruby/resources/accounts/consent.rbs +18 -0
- data/sig/method_ruby/resources/accounts/payment_instruments.rbs +41 -0
- data/sig/method_ruby/resources/accounts/payoffs.rbs +32 -0
- data/sig/method_ruby/resources/accounts/products.rbs +22 -0
- data/sig/method_ruby/resources/accounts/sensitive.rbs +33 -0
- data/sig/method_ruby/resources/accounts/subscriptions.rbs +38 -0
- data/sig/method_ruby/resources/accounts/transactions.rbs +27 -0
- data/sig/method_ruby/resources/accounts/updates.rbs +32 -0
- data/sig/method_ruby/resources/accounts/verification_sessions/amounts.rbs +18 -0
- data/sig/method_ruby/resources/accounts/verification_sessions.rbs +51 -0
- data/sig/method_ruby/resources/accounts.rbs +72 -0
- data/sig/method_ruby/resources/card_products.rbs +13 -0
- data/sig/method_ruby/resources/entities/attributes.rbs +35 -0
- data/sig/method_ruby/resources/entities/connect.rbs +39 -0
- data/sig/method_ruby/resources/entities/consent.rbs +18 -0
- data/sig/method_ruby/resources/entities/credit_scores.rbs +34 -0
- data/sig/method_ruby/resources/entities/identities.rbs +34 -0
- data/sig/method_ruby/resources/entities/manual_connect.rbs +25 -0
- data/sig/method_ruby/resources/entities/products.rbs +22 -0
- data/sig/method_ruby/resources/entities/subscriptions.rbs +39 -0
- data/sig/method_ruby/resources/entities/vehicles.rbs +30 -0
- data/sig/method_ruby/resources/entities/verification_sessions.rbs +54 -0
- data/sig/method_ruby/resources/entities.rbs +33 -8
- data/sig/method_ruby/resources/events.rbs +24 -0
- data/sig/method_ruby/resources/forwarding_requests.rbs +25 -0
- data/sig/method_ruby/resources/managed_accounts/transactions.rbs +20 -0
- data/sig/method_ruby/resources/managed_accounts.rbs +20 -0
- data/sig/method_ruby/resources/merchants.rbs +20 -0
- data/sig/method_ruby/resources/payments/reversals.rbs +31 -0
- data/sig/method_ruby/resources/payments.rbs +57 -0
- data/sig/method_ruby/resources/ping.rbs +1 -0
- data/sig/method_ruby/resources/reports/download.rbs +15 -0
- data/sig/method_ruby/resources/reports.rbs +22 -0
- data/sig/method_ruby/resources/secrets.rbs +36 -0
- data/sig/method_ruby/resources/simulate/accounts/card_brands.rbs +17 -0
- data/sig/method_ruby/resources/simulate/accounts/transactions.rbs +20 -0
- data/sig/method_ruby/resources/simulate/accounts/verification_sessions/amounts.rbs +20 -0
- data/sig/method_ruby/resources/simulate/accounts/verification_sessions.rbs +13 -0
- data/sig/method_ruby/resources/simulate/accounts.rbs +15 -0
- data/sig/method_ruby/resources/simulate/entities/attributes.rbs +17 -0
- data/sig/method_ruby/resources/simulate/entities/connect.rbs +17 -0
- data/sig/method_ruby/resources/simulate/entities/credit_scores.rbs +20 -0
- data/sig/method_ruby/resources/simulate/entities.rbs +15 -0
- data/sig/method_ruby/resources/simulate/events.rbs +16 -0
- data/sig/method_ruby/resources/simulate/payments/payment_instruments.rbs +18 -0
- data/sig/method_ruby/resources/simulate/payments.rbs +19 -0
- data/sig/method_ruby/resources/simulate.rbs +15 -0
- data/sig/method_ruby/resources/teams/default_encryption_key.rbs +16 -0
- data/sig/method_ruby/resources/teams/mle/public_keys.rbs +36 -0
- data/sig/method_ruby/resources/teams/mle.rbs +20 -0
- data/sig/method_ruby/resources/teams.rbs +23 -0
- data/sig/method_ruby/resources/webhooks.rbs +45 -0
- metadata +851 -2
|
@@ -0,0 +1,962 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module MethodRuby
|
|
4
|
+
module Models
|
|
5
|
+
class AccountCreateParams < MethodRuby::Internal::Type::BaseModel
|
|
6
|
+
extend MethodRuby::Internal::Type::RequestParameters::Converter
|
|
7
|
+
include MethodRuby::Internal::Type::RequestParameters
|
|
8
|
+
|
|
9
|
+
OrHash =
|
|
10
|
+
T.type_alias do
|
|
11
|
+
T.any(MethodRuby::AccountCreateParams, MethodRuby::Internal::AnyHash)
|
|
12
|
+
end
|
|
13
|
+
|
|
14
|
+
# Request body for creating an account. `type` is recommended and used for
|
|
15
|
+
# discrimination in generated clients, but the API can also infer the account type
|
|
16
|
+
# from the nested object you provide.
|
|
17
|
+
sig do
|
|
18
|
+
returns(
|
|
19
|
+
T.any(
|
|
20
|
+
MethodRuby::AccountCreateParams::Body::ACH,
|
|
21
|
+
MethodRuby::AccountCreateParams::Body::Liability,
|
|
22
|
+
MethodRuby::AccountCreateParams::Body::Clearing,
|
|
23
|
+
MethodRuby::AccountCreateParams::Body::DebitCard
|
|
24
|
+
)
|
|
25
|
+
)
|
|
26
|
+
end
|
|
27
|
+
attr_accessor :body
|
|
28
|
+
|
|
29
|
+
sig { returns(MethodRuby::AccountCreateParams::MethodVersion::OrSymbol) }
|
|
30
|
+
attr_accessor :method_version
|
|
31
|
+
|
|
32
|
+
sig { returns(T.nilable(String)) }
|
|
33
|
+
attr_reader :idempotency_key
|
|
34
|
+
|
|
35
|
+
sig { params(idempotency_key: String).void }
|
|
36
|
+
attr_writer :idempotency_key
|
|
37
|
+
|
|
38
|
+
sig do
|
|
39
|
+
params(
|
|
40
|
+
body:
|
|
41
|
+
T.any(
|
|
42
|
+
MethodRuby::AccountCreateParams::Body::ACH::OrHash,
|
|
43
|
+
MethodRuby::AccountCreateParams::Body::Liability::OrHash,
|
|
44
|
+
MethodRuby::AccountCreateParams::Body::Clearing::OrHash,
|
|
45
|
+
MethodRuby::AccountCreateParams::Body::DebitCard::OrHash
|
|
46
|
+
),
|
|
47
|
+
method_version:
|
|
48
|
+
MethodRuby::AccountCreateParams::MethodVersion::OrSymbol,
|
|
49
|
+
idempotency_key: String,
|
|
50
|
+
request_options: MethodRuby::RequestOptions::OrHash
|
|
51
|
+
).returns(T.attached_class)
|
|
52
|
+
end
|
|
53
|
+
def self.new(
|
|
54
|
+
# Request body for creating an account. `type` is recommended and used for
|
|
55
|
+
# discrimination in generated clients, but the API can also infer the account type
|
|
56
|
+
# from the nested object you provide.
|
|
57
|
+
body:,
|
|
58
|
+
method_version:,
|
|
59
|
+
idempotency_key: nil,
|
|
60
|
+
request_options: {}
|
|
61
|
+
)
|
|
62
|
+
end
|
|
63
|
+
|
|
64
|
+
sig do
|
|
65
|
+
override.returns(
|
|
66
|
+
{
|
|
67
|
+
body:
|
|
68
|
+
T.any(
|
|
69
|
+
MethodRuby::AccountCreateParams::Body::ACH,
|
|
70
|
+
MethodRuby::AccountCreateParams::Body::Liability,
|
|
71
|
+
MethodRuby::AccountCreateParams::Body::Clearing,
|
|
72
|
+
MethodRuby::AccountCreateParams::Body::DebitCard
|
|
73
|
+
),
|
|
74
|
+
method_version:
|
|
75
|
+
MethodRuby::AccountCreateParams::MethodVersion::OrSymbol,
|
|
76
|
+
idempotency_key: String,
|
|
77
|
+
request_options: MethodRuby::RequestOptions
|
|
78
|
+
}
|
|
79
|
+
)
|
|
80
|
+
end
|
|
81
|
+
def to_hash
|
|
82
|
+
end
|
|
83
|
+
|
|
84
|
+
# Request body for creating an account. `type` is recommended and used for
|
|
85
|
+
# discrimination in generated clients, but the API can also infer the account type
|
|
86
|
+
# from the nested object you provide.
|
|
87
|
+
module Body
|
|
88
|
+
extend MethodRuby::Internal::Type::Union
|
|
89
|
+
|
|
90
|
+
Variants =
|
|
91
|
+
T.type_alias do
|
|
92
|
+
T.any(
|
|
93
|
+
MethodRuby::AccountCreateParams::Body::ACH,
|
|
94
|
+
MethodRuby::AccountCreateParams::Body::Liability,
|
|
95
|
+
MethodRuby::AccountCreateParams::Body::Clearing,
|
|
96
|
+
MethodRuby::AccountCreateParams::Body::DebitCard
|
|
97
|
+
)
|
|
98
|
+
end
|
|
99
|
+
|
|
100
|
+
class ACH < MethodRuby::Internal::Type::BaseModel
|
|
101
|
+
OrHash =
|
|
102
|
+
T.type_alias do
|
|
103
|
+
T.any(
|
|
104
|
+
MethodRuby::AccountCreateParams::Body::ACH,
|
|
105
|
+
MethodRuby::Internal::AnyHash
|
|
106
|
+
)
|
|
107
|
+
end
|
|
108
|
+
|
|
109
|
+
# ACH account details.
|
|
110
|
+
sig { returns(MethodRuby::AccountCreateParams::Body::ACH::ACH) }
|
|
111
|
+
attr_reader :ach
|
|
112
|
+
|
|
113
|
+
sig do
|
|
114
|
+
params(
|
|
115
|
+
ach: MethodRuby::AccountCreateParams::Body::ACH::ACH::OrHash
|
|
116
|
+
).void
|
|
117
|
+
end
|
|
118
|
+
attr_writer :ach
|
|
119
|
+
|
|
120
|
+
# The entity ID that will own this account.
|
|
121
|
+
sig { returns(String) }
|
|
122
|
+
attr_accessor :holder_id
|
|
123
|
+
|
|
124
|
+
# Arbitrary key-value metadata attached to the resource.
|
|
125
|
+
sig { returns(T.nilable(T::Hash[Symbol, T.anything])) }
|
|
126
|
+
attr_accessor :metadata
|
|
127
|
+
|
|
128
|
+
sig do
|
|
129
|
+
returns(
|
|
130
|
+
T.nilable(
|
|
131
|
+
MethodRuby::AccountCreateParams::Body::ACH::Type::OrSymbol
|
|
132
|
+
)
|
|
133
|
+
)
|
|
134
|
+
end
|
|
135
|
+
attr_reader :type
|
|
136
|
+
|
|
137
|
+
sig do
|
|
138
|
+
params(
|
|
139
|
+
type: MethodRuby::AccountCreateParams::Body::ACH::Type::OrSymbol
|
|
140
|
+
).void
|
|
141
|
+
end
|
|
142
|
+
attr_writer :type
|
|
143
|
+
|
|
144
|
+
# Create an ACH account.
|
|
145
|
+
sig do
|
|
146
|
+
params(
|
|
147
|
+
ach: MethodRuby::AccountCreateParams::Body::ACH::ACH::OrHash,
|
|
148
|
+
holder_id: String,
|
|
149
|
+
metadata: T.nilable(T::Hash[Symbol, T.anything]),
|
|
150
|
+
type: MethodRuby::AccountCreateParams::Body::ACH::Type::OrSymbol
|
|
151
|
+
).returns(T.attached_class)
|
|
152
|
+
end
|
|
153
|
+
def self.new(
|
|
154
|
+
# ACH account details.
|
|
155
|
+
ach:,
|
|
156
|
+
# The entity ID that will own this account.
|
|
157
|
+
holder_id:,
|
|
158
|
+
# Arbitrary key-value metadata attached to the resource.
|
|
159
|
+
metadata: nil,
|
|
160
|
+
type: nil
|
|
161
|
+
)
|
|
162
|
+
end
|
|
163
|
+
|
|
164
|
+
sig do
|
|
165
|
+
override.returns(
|
|
166
|
+
{
|
|
167
|
+
ach: MethodRuby::AccountCreateParams::Body::ACH::ACH,
|
|
168
|
+
holder_id: String,
|
|
169
|
+
metadata: T.nilable(T::Hash[Symbol, T.anything]),
|
|
170
|
+
type: MethodRuby::AccountCreateParams::Body::ACH::Type::OrSymbol
|
|
171
|
+
}
|
|
172
|
+
)
|
|
173
|
+
end
|
|
174
|
+
def to_hash
|
|
175
|
+
end
|
|
176
|
+
|
|
177
|
+
class ACH < MethodRuby::Internal::Type::BaseModel
|
|
178
|
+
OrHash =
|
|
179
|
+
T.type_alias do
|
|
180
|
+
T.any(
|
|
181
|
+
MethodRuby::AccountCreateParams::Body::ACH::ACH,
|
|
182
|
+
MethodRuby::Internal::AnyHash
|
|
183
|
+
)
|
|
184
|
+
end
|
|
185
|
+
|
|
186
|
+
# The ACH account number.
|
|
187
|
+
sig { returns(String) }
|
|
188
|
+
attr_accessor :number
|
|
189
|
+
|
|
190
|
+
# The ACH routing number.
|
|
191
|
+
sig { returns(String) }
|
|
192
|
+
attr_accessor :routing
|
|
193
|
+
|
|
194
|
+
# The type of ACH account.
|
|
195
|
+
sig do
|
|
196
|
+
returns(
|
|
197
|
+
MethodRuby::AccountCreateParams::Body::ACH::ACH::Type::OrSymbol
|
|
198
|
+
)
|
|
199
|
+
end
|
|
200
|
+
attr_accessor :type
|
|
201
|
+
|
|
202
|
+
# ACH account details.
|
|
203
|
+
sig do
|
|
204
|
+
params(
|
|
205
|
+
number: String,
|
|
206
|
+
routing: String,
|
|
207
|
+
type:
|
|
208
|
+
MethodRuby::AccountCreateParams::Body::ACH::ACH::Type::OrSymbol
|
|
209
|
+
).returns(T.attached_class)
|
|
210
|
+
end
|
|
211
|
+
def self.new(
|
|
212
|
+
# The ACH account number.
|
|
213
|
+
number:,
|
|
214
|
+
# The ACH routing number.
|
|
215
|
+
routing:,
|
|
216
|
+
# The type of ACH account.
|
|
217
|
+
type:
|
|
218
|
+
)
|
|
219
|
+
end
|
|
220
|
+
|
|
221
|
+
sig do
|
|
222
|
+
override.returns(
|
|
223
|
+
{
|
|
224
|
+
number: String,
|
|
225
|
+
routing: String,
|
|
226
|
+
type:
|
|
227
|
+
MethodRuby::AccountCreateParams::Body::ACH::ACH::Type::OrSymbol
|
|
228
|
+
}
|
|
229
|
+
)
|
|
230
|
+
end
|
|
231
|
+
def to_hash
|
|
232
|
+
end
|
|
233
|
+
|
|
234
|
+
# The type of ACH account.
|
|
235
|
+
module Type
|
|
236
|
+
extend MethodRuby::Internal::Type::Enum
|
|
237
|
+
|
|
238
|
+
TaggedSymbol =
|
|
239
|
+
T.type_alias do
|
|
240
|
+
T.all(
|
|
241
|
+
Symbol,
|
|
242
|
+
MethodRuby::AccountCreateParams::Body::ACH::ACH::Type
|
|
243
|
+
)
|
|
244
|
+
end
|
|
245
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
246
|
+
|
|
247
|
+
CHECKING =
|
|
248
|
+
T.let(
|
|
249
|
+
:checking,
|
|
250
|
+
MethodRuby::AccountCreateParams::Body::ACH::ACH::Type::TaggedSymbol
|
|
251
|
+
)
|
|
252
|
+
SAVINGS =
|
|
253
|
+
T.let(
|
|
254
|
+
:savings,
|
|
255
|
+
MethodRuby::AccountCreateParams::Body::ACH::ACH::Type::TaggedSymbol
|
|
256
|
+
)
|
|
257
|
+
|
|
258
|
+
sig do
|
|
259
|
+
override.returns(
|
|
260
|
+
T::Array[
|
|
261
|
+
MethodRuby::AccountCreateParams::Body::ACH::ACH::Type::TaggedSymbol
|
|
262
|
+
]
|
|
263
|
+
)
|
|
264
|
+
end
|
|
265
|
+
def self.values
|
|
266
|
+
end
|
|
267
|
+
end
|
|
268
|
+
end
|
|
269
|
+
|
|
270
|
+
module Type
|
|
271
|
+
extend MethodRuby::Internal::Type::Enum
|
|
272
|
+
|
|
273
|
+
TaggedSymbol =
|
|
274
|
+
T.type_alias do
|
|
275
|
+
T.all(Symbol, MethodRuby::AccountCreateParams::Body::ACH::Type)
|
|
276
|
+
end
|
|
277
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
278
|
+
|
|
279
|
+
ACH =
|
|
280
|
+
T.let(
|
|
281
|
+
:ach,
|
|
282
|
+
MethodRuby::AccountCreateParams::Body::ACH::Type::TaggedSymbol
|
|
283
|
+
)
|
|
284
|
+
|
|
285
|
+
sig do
|
|
286
|
+
override.returns(
|
|
287
|
+
T::Array[
|
|
288
|
+
MethodRuby::AccountCreateParams::Body::ACH::Type::TaggedSymbol
|
|
289
|
+
]
|
|
290
|
+
)
|
|
291
|
+
end
|
|
292
|
+
def self.values
|
|
293
|
+
end
|
|
294
|
+
end
|
|
295
|
+
end
|
|
296
|
+
|
|
297
|
+
class Liability < MethodRuby::Internal::Type::BaseModel
|
|
298
|
+
OrHash =
|
|
299
|
+
T.type_alias do
|
|
300
|
+
T.any(
|
|
301
|
+
MethodRuby::AccountCreateParams::Body::Liability,
|
|
302
|
+
MethodRuby::Internal::AnyHash
|
|
303
|
+
)
|
|
304
|
+
end
|
|
305
|
+
|
|
306
|
+
# The entity ID that will own this account.
|
|
307
|
+
sig { returns(String) }
|
|
308
|
+
attr_accessor :holder_id
|
|
309
|
+
|
|
310
|
+
# Liability account details.
|
|
311
|
+
sig do
|
|
312
|
+
returns(MethodRuby::AccountCreateParams::Body::Liability::Liability)
|
|
313
|
+
end
|
|
314
|
+
attr_reader :liability
|
|
315
|
+
|
|
316
|
+
sig do
|
|
317
|
+
params(
|
|
318
|
+
liability:
|
|
319
|
+
MethodRuby::AccountCreateParams::Body::Liability::Liability::OrHash
|
|
320
|
+
).void
|
|
321
|
+
end
|
|
322
|
+
attr_writer :liability
|
|
323
|
+
|
|
324
|
+
# Arbitrary key-value metadata attached to the resource.
|
|
325
|
+
sig { returns(T.nilable(T::Hash[Symbol, T.anything])) }
|
|
326
|
+
attr_accessor :metadata
|
|
327
|
+
|
|
328
|
+
sig do
|
|
329
|
+
returns(
|
|
330
|
+
T.nilable(
|
|
331
|
+
MethodRuby::AccountCreateParams::Body::Liability::Type::OrSymbol
|
|
332
|
+
)
|
|
333
|
+
)
|
|
334
|
+
end
|
|
335
|
+
attr_reader :type
|
|
336
|
+
|
|
337
|
+
sig do
|
|
338
|
+
params(
|
|
339
|
+
type:
|
|
340
|
+
MethodRuby::AccountCreateParams::Body::Liability::Type::OrSymbol
|
|
341
|
+
).void
|
|
342
|
+
end
|
|
343
|
+
attr_writer :type
|
|
344
|
+
|
|
345
|
+
# Create a liability account.
|
|
346
|
+
sig do
|
|
347
|
+
params(
|
|
348
|
+
holder_id: String,
|
|
349
|
+
liability:
|
|
350
|
+
MethodRuby::AccountCreateParams::Body::Liability::Liability::OrHash,
|
|
351
|
+
metadata: T.nilable(T::Hash[Symbol, T.anything]),
|
|
352
|
+
type:
|
|
353
|
+
MethodRuby::AccountCreateParams::Body::Liability::Type::OrSymbol
|
|
354
|
+
).returns(T.attached_class)
|
|
355
|
+
end
|
|
356
|
+
def self.new(
|
|
357
|
+
# The entity ID that will own this account.
|
|
358
|
+
holder_id:,
|
|
359
|
+
# Liability account details.
|
|
360
|
+
liability:,
|
|
361
|
+
# Arbitrary key-value metadata attached to the resource.
|
|
362
|
+
metadata: nil,
|
|
363
|
+
type: nil
|
|
364
|
+
)
|
|
365
|
+
end
|
|
366
|
+
|
|
367
|
+
sig do
|
|
368
|
+
override.returns(
|
|
369
|
+
{
|
|
370
|
+
holder_id: String,
|
|
371
|
+
liability:
|
|
372
|
+
MethodRuby::AccountCreateParams::Body::Liability::Liability,
|
|
373
|
+
metadata: T.nilable(T::Hash[Symbol, T.anything]),
|
|
374
|
+
type:
|
|
375
|
+
MethodRuby::AccountCreateParams::Body::Liability::Type::OrSymbol
|
|
376
|
+
}
|
|
377
|
+
)
|
|
378
|
+
end
|
|
379
|
+
def to_hash
|
|
380
|
+
end
|
|
381
|
+
|
|
382
|
+
class Liability < MethodRuby::Internal::Type::BaseModel
|
|
383
|
+
OrHash =
|
|
384
|
+
T.type_alias do
|
|
385
|
+
T.any(
|
|
386
|
+
MethodRuby::AccountCreateParams::Body::Liability::Liability,
|
|
387
|
+
MethodRuby::Internal::AnyHash
|
|
388
|
+
)
|
|
389
|
+
end
|
|
390
|
+
|
|
391
|
+
# Full account number for the liability.
|
|
392
|
+
sig { returns(T.nilable(String)) }
|
|
393
|
+
attr_reader :account_number
|
|
394
|
+
|
|
395
|
+
sig { params(account_number: String).void }
|
|
396
|
+
attr_writer :account_number
|
|
397
|
+
|
|
398
|
+
# Optional supplemental card details for liability accounts.
|
|
399
|
+
sig do
|
|
400
|
+
returns(
|
|
401
|
+
T.nilable(
|
|
402
|
+
MethodRuby::AccountCreateParams::Body::Liability::Liability::CreditCard
|
|
403
|
+
)
|
|
404
|
+
)
|
|
405
|
+
end
|
|
406
|
+
attr_reader :credit_card
|
|
407
|
+
|
|
408
|
+
sig do
|
|
409
|
+
params(
|
|
410
|
+
credit_card:
|
|
411
|
+
MethodRuby::AccountCreateParams::Body::Liability::Liability::CreditCard::OrHash
|
|
412
|
+
).void
|
|
413
|
+
end
|
|
414
|
+
attr_writer :credit_card
|
|
415
|
+
|
|
416
|
+
# The merchant ID for the liability.
|
|
417
|
+
sig { returns(T.nilable(String)) }
|
|
418
|
+
attr_reader :mch_id
|
|
419
|
+
|
|
420
|
+
sig { params(mch_id: String).void }
|
|
421
|
+
attr_writer :mch_id
|
|
422
|
+
|
|
423
|
+
# Alternative liability account number field.
|
|
424
|
+
sig { returns(T.nilable(String)) }
|
|
425
|
+
attr_reader :number
|
|
426
|
+
|
|
427
|
+
sig { params(number: String).void }
|
|
428
|
+
attr_writer :number
|
|
429
|
+
|
|
430
|
+
# Liability account details.
|
|
431
|
+
sig do
|
|
432
|
+
params(
|
|
433
|
+
account_number: String,
|
|
434
|
+
credit_card:
|
|
435
|
+
MethodRuby::AccountCreateParams::Body::Liability::Liability::CreditCard::OrHash,
|
|
436
|
+
mch_id: String,
|
|
437
|
+
number: String
|
|
438
|
+
).returns(T.attached_class)
|
|
439
|
+
end
|
|
440
|
+
def self.new(
|
|
441
|
+
# Full account number for the liability.
|
|
442
|
+
account_number: nil,
|
|
443
|
+
# Optional supplemental card details for liability accounts.
|
|
444
|
+
credit_card: nil,
|
|
445
|
+
# The merchant ID for the liability.
|
|
446
|
+
mch_id: nil,
|
|
447
|
+
# Alternative liability account number field.
|
|
448
|
+
number: nil
|
|
449
|
+
)
|
|
450
|
+
end
|
|
451
|
+
|
|
452
|
+
sig do
|
|
453
|
+
override.returns(
|
|
454
|
+
{
|
|
455
|
+
account_number: String,
|
|
456
|
+
credit_card:
|
|
457
|
+
MethodRuby::AccountCreateParams::Body::Liability::Liability::CreditCard,
|
|
458
|
+
mch_id: String,
|
|
459
|
+
number: String
|
|
460
|
+
}
|
|
461
|
+
)
|
|
462
|
+
end
|
|
463
|
+
def to_hash
|
|
464
|
+
end
|
|
465
|
+
|
|
466
|
+
class CreditCard < MethodRuby::Internal::Type::BaseModel
|
|
467
|
+
OrHash =
|
|
468
|
+
T.type_alias do
|
|
469
|
+
T.any(
|
|
470
|
+
MethodRuby::AccountCreateParams::Body::Liability::Liability::CreditCard,
|
|
471
|
+
MethodRuby::Internal::AnyHash
|
|
472
|
+
)
|
|
473
|
+
end
|
|
474
|
+
|
|
475
|
+
sig { returns(String) }
|
|
476
|
+
attr_accessor :exp_month
|
|
477
|
+
|
|
478
|
+
sig { returns(Integer) }
|
|
479
|
+
attr_accessor :exp_year
|
|
480
|
+
|
|
481
|
+
sig { returns(T.nilable(String)) }
|
|
482
|
+
attr_reader :billing_zip_code
|
|
483
|
+
|
|
484
|
+
sig { params(billing_zip_code: String).void }
|
|
485
|
+
attr_writer :billing_zip_code
|
|
486
|
+
|
|
487
|
+
sig { returns(T.nilable(String)) }
|
|
488
|
+
attr_reader :cvv
|
|
489
|
+
|
|
490
|
+
sig { params(cvv: String).void }
|
|
491
|
+
attr_writer :cvv
|
|
492
|
+
|
|
493
|
+
# Optional supplemental card details for liability accounts.
|
|
494
|
+
sig do
|
|
495
|
+
params(
|
|
496
|
+
exp_month: String,
|
|
497
|
+
exp_year: Integer,
|
|
498
|
+
billing_zip_code: String,
|
|
499
|
+
cvv: String
|
|
500
|
+
).returns(T.attached_class)
|
|
501
|
+
end
|
|
502
|
+
def self.new(
|
|
503
|
+
exp_month:,
|
|
504
|
+
exp_year:,
|
|
505
|
+
billing_zip_code: nil,
|
|
506
|
+
cvv: nil
|
|
507
|
+
)
|
|
508
|
+
end
|
|
509
|
+
|
|
510
|
+
sig do
|
|
511
|
+
override.returns(
|
|
512
|
+
{
|
|
513
|
+
exp_month: String,
|
|
514
|
+
exp_year: Integer,
|
|
515
|
+
billing_zip_code: String,
|
|
516
|
+
cvv: String
|
|
517
|
+
}
|
|
518
|
+
)
|
|
519
|
+
end
|
|
520
|
+
def to_hash
|
|
521
|
+
end
|
|
522
|
+
end
|
|
523
|
+
end
|
|
524
|
+
|
|
525
|
+
module Type
|
|
526
|
+
extend MethodRuby::Internal::Type::Enum
|
|
527
|
+
|
|
528
|
+
TaggedSymbol =
|
|
529
|
+
T.type_alias do
|
|
530
|
+
T.all(
|
|
531
|
+
Symbol,
|
|
532
|
+
MethodRuby::AccountCreateParams::Body::Liability::Type
|
|
533
|
+
)
|
|
534
|
+
end
|
|
535
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
536
|
+
|
|
537
|
+
LIABILITY =
|
|
538
|
+
T.let(
|
|
539
|
+
:liability,
|
|
540
|
+
MethodRuby::AccountCreateParams::Body::Liability::Type::TaggedSymbol
|
|
541
|
+
)
|
|
542
|
+
|
|
543
|
+
sig do
|
|
544
|
+
override.returns(
|
|
545
|
+
T::Array[
|
|
546
|
+
MethodRuby::AccountCreateParams::Body::Liability::Type::TaggedSymbol
|
|
547
|
+
]
|
|
548
|
+
)
|
|
549
|
+
end
|
|
550
|
+
def self.values
|
|
551
|
+
end
|
|
552
|
+
end
|
|
553
|
+
end
|
|
554
|
+
|
|
555
|
+
class Clearing < MethodRuby::Internal::Type::BaseModel
|
|
556
|
+
OrHash =
|
|
557
|
+
T.type_alias do
|
|
558
|
+
T.any(
|
|
559
|
+
MethodRuby::AccountCreateParams::Body::Clearing,
|
|
560
|
+
MethodRuby::Internal::AnyHash
|
|
561
|
+
)
|
|
562
|
+
end
|
|
563
|
+
|
|
564
|
+
# Clearing account details.
|
|
565
|
+
sig do
|
|
566
|
+
returns(MethodRuby::AccountCreateParams::Body::Clearing::Clearing)
|
|
567
|
+
end
|
|
568
|
+
attr_reader :clearing
|
|
569
|
+
|
|
570
|
+
sig do
|
|
571
|
+
params(
|
|
572
|
+
clearing:
|
|
573
|
+
MethodRuby::AccountCreateParams::Body::Clearing::Clearing::OrHash
|
|
574
|
+
).void
|
|
575
|
+
end
|
|
576
|
+
attr_writer :clearing
|
|
577
|
+
|
|
578
|
+
# The entity ID that will own this account.
|
|
579
|
+
sig { returns(String) }
|
|
580
|
+
attr_accessor :holder_id
|
|
581
|
+
|
|
582
|
+
# Arbitrary key-value metadata attached to the resource.
|
|
583
|
+
sig { returns(T.nilable(T::Hash[Symbol, T.anything])) }
|
|
584
|
+
attr_accessor :metadata
|
|
585
|
+
|
|
586
|
+
sig do
|
|
587
|
+
returns(
|
|
588
|
+
T.nilable(
|
|
589
|
+
MethodRuby::AccountCreateParams::Body::Clearing::Type::OrSymbol
|
|
590
|
+
)
|
|
591
|
+
)
|
|
592
|
+
end
|
|
593
|
+
attr_reader :type
|
|
594
|
+
|
|
595
|
+
sig do
|
|
596
|
+
params(
|
|
597
|
+
type:
|
|
598
|
+
MethodRuby::AccountCreateParams::Body::Clearing::Type::OrSymbol
|
|
599
|
+
).void
|
|
600
|
+
end
|
|
601
|
+
attr_writer :type
|
|
602
|
+
|
|
603
|
+
# Create a clearing account.
|
|
604
|
+
sig do
|
|
605
|
+
params(
|
|
606
|
+
clearing:
|
|
607
|
+
MethodRuby::AccountCreateParams::Body::Clearing::Clearing::OrHash,
|
|
608
|
+
holder_id: String,
|
|
609
|
+
metadata: T.nilable(T::Hash[Symbol, T.anything]),
|
|
610
|
+
type:
|
|
611
|
+
MethodRuby::AccountCreateParams::Body::Clearing::Type::OrSymbol
|
|
612
|
+
).returns(T.attached_class)
|
|
613
|
+
end
|
|
614
|
+
def self.new(
|
|
615
|
+
# Clearing account details.
|
|
616
|
+
clearing:,
|
|
617
|
+
# The entity ID that will own this account.
|
|
618
|
+
holder_id:,
|
|
619
|
+
# Arbitrary key-value metadata attached to the resource.
|
|
620
|
+
metadata: nil,
|
|
621
|
+
type: nil
|
|
622
|
+
)
|
|
623
|
+
end
|
|
624
|
+
|
|
625
|
+
sig do
|
|
626
|
+
override.returns(
|
|
627
|
+
{
|
|
628
|
+
clearing:
|
|
629
|
+
MethodRuby::AccountCreateParams::Body::Clearing::Clearing,
|
|
630
|
+
holder_id: String,
|
|
631
|
+
metadata: T.nilable(T::Hash[Symbol, T.anything]),
|
|
632
|
+
type:
|
|
633
|
+
MethodRuby::AccountCreateParams::Body::Clearing::Type::OrSymbol
|
|
634
|
+
}
|
|
635
|
+
)
|
|
636
|
+
end
|
|
637
|
+
def to_hash
|
|
638
|
+
end
|
|
639
|
+
|
|
640
|
+
class Clearing < MethodRuby::Internal::Type::BaseModel
|
|
641
|
+
OrHash =
|
|
642
|
+
T.type_alias do
|
|
643
|
+
T.any(
|
|
644
|
+
MethodRuby::AccountCreateParams::Body::Clearing::Clearing,
|
|
645
|
+
MethodRuby::Internal::AnyHash
|
|
646
|
+
)
|
|
647
|
+
end
|
|
648
|
+
|
|
649
|
+
# The type of clearing account to create.
|
|
650
|
+
sig do
|
|
651
|
+
returns(
|
|
652
|
+
MethodRuby::AccountCreateParams::Body::Clearing::Clearing::Type::OrSymbol
|
|
653
|
+
)
|
|
654
|
+
end
|
|
655
|
+
attr_accessor :type
|
|
656
|
+
|
|
657
|
+
# Clearing account details.
|
|
658
|
+
sig do
|
|
659
|
+
params(
|
|
660
|
+
type:
|
|
661
|
+
MethodRuby::AccountCreateParams::Body::Clearing::Clearing::Type::OrSymbol
|
|
662
|
+
).returns(T.attached_class)
|
|
663
|
+
end
|
|
664
|
+
def self.new(
|
|
665
|
+
# The type of clearing account to create.
|
|
666
|
+
type:
|
|
667
|
+
)
|
|
668
|
+
end
|
|
669
|
+
|
|
670
|
+
sig do
|
|
671
|
+
override.returns(
|
|
672
|
+
{
|
|
673
|
+
type:
|
|
674
|
+
MethodRuby::AccountCreateParams::Body::Clearing::Clearing::Type::OrSymbol
|
|
675
|
+
}
|
|
676
|
+
)
|
|
677
|
+
end
|
|
678
|
+
def to_hash
|
|
679
|
+
end
|
|
680
|
+
|
|
681
|
+
# The type of clearing account to create.
|
|
682
|
+
module Type
|
|
683
|
+
extend MethodRuby::Internal::Type::Enum
|
|
684
|
+
|
|
685
|
+
TaggedSymbol =
|
|
686
|
+
T.type_alias do
|
|
687
|
+
T.all(
|
|
688
|
+
Symbol,
|
|
689
|
+
MethodRuby::AccountCreateParams::Body::Clearing::Clearing::Type
|
|
690
|
+
)
|
|
691
|
+
end
|
|
692
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
693
|
+
|
|
694
|
+
SINGLE_USE =
|
|
695
|
+
T.let(
|
|
696
|
+
:single_use,
|
|
697
|
+
MethodRuby::AccountCreateParams::Body::Clearing::Clearing::Type::TaggedSymbol
|
|
698
|
+
)
|
|
699
|
+
MULTI_USE =
|
|
700
|
+
T.let(
|
|
701
|
+
:multi_use,
|
|
702
|
+
MethodRuby::AccountCreateParams::Body::Clearing::Clearing::Type::TaggedSymbol
|
|
703
|
+
)
|
|
704
|
+
|
|
705
|
+
sig do
|
|
706
|
+
override.returns(
|
|
707
|
+
T::Array[
|
|
708
|
+
MethodRuby::AccountCreateParams::Body::Clearing::Clearing::Type::TaggedSymbol
|
|
709
|
+
]
|
|
710
|
+
)
|
|
711
|
+
end
|
|
712
|
+
def self.values
|
|
713
|
+
end
|
|
714
|
+
end
|
|
715
|
+
end
|
|
716
|
+
|
|
717
|
+
module Type
|
|
718
|
+
extend MethodRuby::Internal::Type::Enum
|
|
719
|
+
|
|
720
|
+
TaggedSymbol =
|
|
721
|
+
T.type_alias do
|
|
722
|
+
T.all(
|
|
723
|
+
Symbol,
|
|
724
|
+
MethodRuby::AccountCreateParams::Body::Clearing::Type
|
|
725
|
+
)
|
|
726
|
+
end
|
|
727
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
728
|
+
|
|
729
|
+
CLEARING =
|
|
730
|
+
T.let(
|
|
731
|
+
:clearing,
|
|
732
|
+
MethodRuby::AccountCreateParams::Body::Clearing::Type::TaggedSymbol
|
|
733
|
+
)
|
|
734
|
+
|
|
735
|
+
sig do
|
|
736
|
+
override.returns(
|
|
737
|
+
T::Array[
|
|
738
|
+
MethodRuby::AccountCreateParams::Body::Clearing::Type::TaggedSymbol
|
|
739
|
+
]
|
|
740
|
+
)
|
|
741
|
+
end
|
|
742
|
+
def self.values
|
|
743
|
+
end
|
|
744
|
+
end
|
|
745
|
+
end
|
|
746
|
+
|
|
747
|
+
class DebitCard < MethodRuby::Internal::Type::BaseModel
|
|
748
|
+
OrHash =
|
|
749
|
+
T.type_alias do
|
|
750
|
+
T.any(
|
|
751
|
+
MethodRuby::AccountCreateParams::Body::DebitCard,
|
|
752
|
+
MethodRuby::Internal::AnyHash
|
|
753
|
+
)
|
|
754
|
+
end
|
|
755
|
+
|
|
756
|
+
# Debit card details.
|
|
757
|
+
sig do
|
|
758
|
+
returns(MethodRuby::AccountCreateParams::Body::DebitCard::DebitCard)
|
|
759
|
+
end
|
|
760
|
+
attr_reader :debit_card
|
|
761
|
+
|
|
762
|
+
sig do
|
|
763
|
+
params(
|
|
764
|
+
debit_card:
|
|
765
|
+
MethodRuby::AccountCreateParams::Body::DebitCard::DebitCard::OrHash
|
|
766
|
+
).void
|
|
767
|
+
end
|
|
768
|
+
attr_writer :debit_card
|
|
769
|
+
|
|
770
|
+
# The entity ID that will own this account.
|
|
771
|
+
sig { returns(String) }
|
|
772
|
+
attr_accessor :holder_id
|
|
773
|
+
|
|
774
|
+
# Arbitrary key-value metadata attached to the resource.
|
|
775
|
+
sig { returns(T.nilable(T::Hash[Symbol, T.anything])) }
|
|
776
|
+
attr_accessor :metadata
|
|
777
|
+
|
|
778
|
+
sig do
|
|
779
|
+
returns(
|
|
780
|
+
T.nilable(
|
|
781
|
+
MethodRuby::AccountCreateParams::Body::DebitCard::Type::OrSymbol
|
|
782
|
+
)
|
|
783
|
+
)
|
|
784
|
+
end
|
|
785
|
+
attr_reader :type
|
|
786
|
+
|
|
787
|
+
sig do
|
|
788
|
+
params(
|
|
789
|
+
type:
|
|
790
|
+
MethodRuby::AccountCreateParams::Body::DebitCard::Type::OrSymbol
|
|
791
|
+
).void
|
|
792
|
+
end
|
|
793
|
+
attr_writer :type
|
|
794
|
+
|
|
795
|
+
# Create a debit card account.
|
|
796
|
+
sig do
|
|
797
|
+
params(
|
|
798
|
+
debit_card:
|
|
799
|
+
MethodRuby::AccountCreateParams::Body::DebitCard::DebitCard::OrHash,
|
|
800
|
+
holder_id: String,
|
|
801
|
+
metadata: T.nilable(T::Hash[Symbol, T.anything]),
|
|
802
|
+
type:
|
|
803
|
+
MethodRuby::AccountCreateParams::Body::DebitCard::Type::OrSymbol
|
|
804
|
+
).returns(T.attached_class)
|
|
805
|
+
end
|
|
806
|
+
def self.new(
|
|
807
|
+
# Debit card details.
|
|
808
|
+
debit_card:,
|
|
809
|
+
# The entity ID that will own this account.
|
|
810
|
+
holder_id:,
|
|
811
|
+
# Arbitrary key-value metadata attached to the resource.
|
|
812
|
+
metadata: nil,
|
|
813
|
+
type: nil
|
|
814
|
+
)
|
|
815
|
+
end
|
|
816
|
+
|
|
817
|
+
sig do
|
|
818
|
+
override.returns(
|
|
819
|
+
{
|
|
820
|
+
debit_card:
|
|
821
|
+
MethodRuby::AccountCreateParams::Body::DebitCard::DebitCard,
|
|
822
|
+
holder_id: String,
|
|
823
|
+
metadata: T.nilable(T::Hash[Symbol, T.anything]),
|
|
824
|
+
type:
|
|
825
|
+
MethodRuby::AccountCreateParams::Body::DebitCard::Type::OrSymbol
|
|
826
|
+
}
|
|
827
|
+
)
|
|
828
|
+
end
|
|
829
|
+
def to_hash
|
|
830
|
+
end
|
|
831
|
+
|
|
832
|
+
class DebitCard < MethodRuby::Internal::Type::BaseModel
|
|
833
|
+
OrHash =
|
|
834
|
+
T.type_alias do
|
|
835
|
+
T.any(
|
|
836
|
+
MethodRuby::AccountCreateParams::Body::DebitCard::DebitCard,
|
|
837
|
+
MethodRuby::Internal::AnyHash
|
|
838
|
+
)
|
|
839
|
+
end
|
|
840
|
+
|
|
841
|
+
sig { returns(String) }
|
|
842
|
+
attr_accessor :exp_month
|
|
843
|
+
|
|
844
|
+
sig { returns(Integer) }
|
|
845
|
+
attr_accessor :exp_year
|
|
846
|
+
|
|
847
|
+
sig { returns(String) }
|
|
848
|
+
attr_accessor :number
|
|
849
|
+
|
|
850
|
+
sig { returns(T.nilable(String)) }
|
|
851
|
+
attr_reader :billing_zip_code
|
|
852
|
+
|
|
853
|
+
sig { params(billing_zip_code: String).void }
|
|
854
|
+
attr_writer :billing_zip_code
|
|
855
|
+
|
|
856
|
+
sig { returns(T.nilable(String)) }
|
|
857
|
+
attr_reader :cvv
|
|
858
|
+
|
|
859
|
+
sig { params(cvv: String).void }
|
|
860
|
+
attr_writer :cvv
|
|
861
|
+
|
|
862
|
+
# Debit card details.
|
|
863
|
+
sig do
|
|
864
|
+
params(
|
|
865
|
+
exp_month: String,
|
|
866
|
+
exp_year: Integer,
|
|
867
|
+
number: String,
|
|
868
|
+
billing_zip_code: String,
|
|
869
|
+
cvv: String
|
|
870
|
+
).returns(T.attached_class)
|
|
871
|
+
end
|
|
872
|
+
def self.new(
|
|
873
|
+
exp_month:,
|
|
874
|
+
exp_year:,
|
|
875
|
+
number:,
|
|
876
|
+
billing_zip_code: nil,
|
|
877
|
+
cvv: nil
|
|
878
|
+
)
|
|
879
|
+
end
|
|
880
|
+
|
|
881
|
+
sig do
|
|
882
|
+
override.returns(
|
|
883
|
+
{
|
|
884
|
+
exp_month: String,
|
|
885
|
+
exp_year: Integer,
|
|
886
|
+
number: String,
|
|
887
|
+
billing_zip_code: String,
|
|
888
|
+
cvv: String
|
|
889
|
+
}
|
|
890
|
+
)
|
|
891
|
+
end
|
|
892
|
+
def to_hash
|
|
893
|
+
end
|
|
894
|
+
end
|
|
895
|
+
|
|
896
|
+
module Type
|
|
897
|
+
extend MethodRuby::Internal::Type::Enum
|
|
898
|
+
|
|
899
|
+
TaggedSymbol =
|
|
900
|
+
T.type_alias do
|
|
901
|
+
T.all(
|
|
902
|
+
Symbol,
|
|
903
|
+
MethodRuby::AccountCreateParams::Body::DebitCard::Type
|
|
904
|
+
)
|
|
905
|
+
end
|
|
906
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
907
|
+
|
|
908
|
+
DEBIT_CARD =
|
|
909
|
+
T.let(
|
|
910
|
+
:debit_card,
|
|
911
|
+
MethodRuby::AccountCreateParams::Body::DebitCard::Type::TaggedSymbol
|
|
912
|
+
)
|
|
913
|
+
|
|
914
|
+
sig do
|
|
915
|
+
override.returns(
|
|
916
|
+
T::Array[
|
|
917
|
+
MethodRuby::AccountCreateParams::Body::DebitCard::Type::TaggedSymbol
|
|
918
|
+
]
|
|
919
|
+
)
|
|
920
|
+
end
|
|
921
|
+
def self.values
|
|
922
|
+
end
|
|
923
|
+
end
|
|
924
|
+
end
|
|
925
|
+
|
|
926
|
+
sig do
|
|
927
|
+
override.returns(
|
|
928
|
+
T::Array[MethodRuby::AccountCreateParams::Body::Variants]
|
|
929
|
+
)
|
|
930
|
+
end
|
|
931
|
+
def self.variants
|
|
932
|
+
end
|
|
933
|
+
end
|
|
934
|
+
|
|
935
|
+
module MethodVersion
|
|
936
|
+
extend MethodRuby::Internal::Type::Enum
|
|
937
|
+
|
|
938
|
+
TaggedSymbol =
|
|
939
|
+
T.type_alias do
|
|
940
|
+
T.all(Symbol, MethodRuby::AccountCreateParams::MethodVersion)
|
|
941
|
+
end
|
|
942
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
943
|
+
|
|
944
|
+
METHOD_VERSION_2025_12_01 =
|
|
945
|
+
T.let(
|
|
946
|
+
:"2025-12-01",
|
|
947
|
+
MethodRuby::AccountCreateParams::MethodVersion::TaggedSymbol
|
|
948
|
+
)
|
|
949
|
+
|
|
950
|
+
sig do
|
|
951
|
+
override.returns(
|
|
952
|
+
T::Array[
|
|
953
|
+
MethodRuby::AccountCreateParams::MethodVersion::TaggedSymbol
|
|
954
|
+
]
|
|
955
|
+
)
|
|
956
|
+
end
|
|
957
|
+
def self.values
|
|
958
|
+
end
|
|
959
|
+
end
|
|
960
|
+
end
|
|
961
|
+
end
|
|
962
|
+
end
|