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,110 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module MethodRuby
|
|
4
|
+
module Resources
|
|
5
|
+
class Accounts
|
|
6
|
+
# Subscriptions for accounts
|
|
7
|
+
class Subscriptions
|
|
8
|
+
# Creates a new subscription for the specified account.
|
|
9
|
+
sig do
|
|
10
|
+
params(
|
|
11
|
+
account_id: String,
|
|
12
|
+
enroll: String,
|
|
13
|
+
method_version:
|
|
14
|
+
MethodRuby::Accounts::SubscriptionCreateParams::MethodVersion::OrSymbol,
|
|
15
|
+
idempotency_key: String,
|
|
16
|
+
request_options: MethodRuby::RequestOptions::OrHash
|
|
17
|
+
).returns(MethodRuby::Models::Accounts::SubscriptionCreateResponse)
|
|
18
|
+
end
|
|
19
|
+
def create(
|
|
20
|
+
# Path param: Unique identifier for the account.
|
|
21
|
+
account_id,
|
|
22
|
+
# Body param: Subscription name to enroll.
|
|
23
|
+
enroll:,
|
|
24
|
+
# Header param: API version to use for this request. This spec targets
|
|
25
|
+
# `2025-12-01`. The SDK sets this header automatically.
|
|
26
|
+
method_version:,
|
|
27
|
+
# Header param: Idempotency key for safely retrying a write request. Reuse the
|
|
28
|
+
# same value when retrying the same logical operation to avoid creating duplicate
|
|
29
|
+
# side effects.
|
|
30
|
+
idempotency_key: nil,
|
|
31
|
+
request_options: {}
|
|
32
|
+
)
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
# Retrieves an account subscription by its unique identifier.
|
|
36
|
+
sig do
|
|
37
|
+
params(
|
|
38
|
+
sub_id: String,
|
|
39
|
+
account_id: String,
|
|
40
|
+
method_version:
|
|
41
|
+
MethodRuby::Accounts::SubscriptionRetrieveParams::MethodVersion::OrSymbol,
|
|
42
|
+
request_options: MethodRuby::RequestOptions::OrHash
|
|
43
|
+
).returns(MethodRuby::Models::Accounts::SubscriptionRetrieveResponse)
|
|
44
|
+
end
|
|
45
|
+
def retrieve(
|
|
46
|
+
# Path param: Unique identifier for the account subscription.
|
|
47
|
+
sub_id,
|
|
48
|
+
# Path param: Unique identifier for the account.
|
|
49
|
+
account_id:,
|
|
50
|
+
# Header param: API version to use for this request. This spec targets
|
|
51
|
+
# `2025-12-01`. The SDK sets this header automatically.
|
|
52
|
+
method_version:,
|
|
53
|
+
request_options: {}
|
|
54
|
+
)
|
|
55
|
+
end
|
|
56
|
+
|
|
57
|
+
# Returns a list of subscriptions for the specified account.
|
|
58
|
+
sig do
|
|
59
|
+
params(
|
|
60
|
+
account_id: String,
|
|
61
|
+
method_version:
|
|
62
|
+
MethodRuby::Accounts::SubscriptionListParams::MethodVersion::OrSymbol,
|
|
63
|
+
request_options: MethodRuby::RequestOptions::OrHash
|
|
64
|
+
).returns(MethodRuby::Models::Accounts::SubscriptionListResponse)
|
|
65
|
+
end
|
|
66
|
+
def list(
|
|
67
|
+
# Unique identifier for the account.
|
|
68
|
+
account_id,
|
|
69
|
+
# API version to use for this request. This spec targets `2025-12-01`. The SDK
|
|
70
|
+
# sets this header automatically.
|
|
71
|
+
method_version:,
|
|
72
|
+
request_options: {}
|
|
73
|
+
)
|
|
74
|
+
end
|
|
75
|
+
|
|
76
|
+
# Deletes an account subscription.
|
|
77
|
+
sig do
|
|
78
|
+
params(
|
|
79
|
+
sub_id: String,
|
|
80
|
+
account_id: String,
|
|
81
|
+
method_version:
|
|
82
|
+
MethodRuby::Accounts::SubscriptionDeleteParams::MethodVersion::OrSymbol,
|
|
83
|
+
idempotency_key: String,
|
|
84
|
+
request_options: MethodRuby::RequestOptions::OrHash
|
|
85
|
+
).returns(MethodRuby::Models::Accounts::SubscriptionDeleteResponse)
|
|
86
|
+
end
|
|
87
|
+
def delete(
|
|
88
|
+
# Path param: Unique identifier for the account subscription.
|
|
89
|
+
sub_id,
|
|
90
|
+
# Path param: Unique identifier for the account.
|
|
91
|
+
account_id:,
|
|
92
|
+
# Header param: API version to use for this request. This spec targets
|
|
93
|
+
# `2025-12-01`. The SDK sets this header automatically.
|
|
94
|
+
method_version:,
|
|
95
|
+
# Header param: Idempotency key for safely retrying a write request. Reuse the
|
|
96
|
+
# same value when retrying the same logical operation to avoid creating duplicate
|
|
97
|
+
# side effects.
|
|
98
|
+
idempotency_key: nil,
|
|
99
|
+
request_options: {}
|
|
100
|
+
)
|
|
101
|
+
end
|
|
102
|
+
|
|
103
|
+
# @api private
|
|
104
|
+
sig { params(client: MethodRuby::Client).returns(T.attached_class) }
|
|
105
|
+
def self.new(client:)
|
|
106
|
+
end
|
|
107
|
+
end
|
|
108
|
+
end
|
|
109
|
+
end
|
|
110
|
+
end
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module MethodRuby
|
|
4
|
+
module Resources
|
|
5
|
+
class Accounts
|
|
6
|
+
# Transactions for accounts
|
|
7
|
+
class Transactions
|
|
8
|
+
# Retrieves an account transaction by its unique identifier.
|
|
9
|
+
sig do
|
|
10
|
+
params(
|
|
11
|
+
acc_txn_id: String,
|
|
12
|
+
account_id: String,
|
|
13
|
+
method_version:
|
|
14
|
+
MethodRuby::Accounts::TransactionRetrieveParams::MethodVersion::OrSymbol,
|
|
15
|
+
request_options: MethodRuby::RequestOptions::OrHash
|
|
16
|
+
).returns(MethodRuby::Models::Accounts::TransactionRetrieveResponse)
|
|
17
|
+
end
|
|
18
|
+
def retrieve(
|
|
19
|
+
# Path param: Unique identifier for the account transaction.
|
|
20
|
+
acc_txn_id,
|
|
21
|
+
# Path param: Unique identifier for the account.
|
|
22
|
+
account_id:,
|
|
23
|
+
# Header param: API version to use for this request. This spec targets
|
|
24
|
+
# `2025-12-01`. The SDK sets this header automatically.
|
|
25
|
+
method_version:,
|
|
26
|
+
request_options: {}
|
|
27
|
+
)
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
# Returns a paginated list of transactions for the specified account. Results can
|
|
31
|
+
# be filtered by status and date range.
|
|
32
|
+
sig do
|
|
33
|
+
params(
|
|
34
|
+
account_id: String,
|
|
35
|
+
method_version:
|
|
36
|
+
MethodRuby::Accounts::TransactionListParams::MethodVersion::OrSymbol,
|
|
37
|
+
from_date: Date,
|
|
38
|
+
page: Integer,
|
|
39
|
+
page_cursor: String,
|
|
40
|
+
page_limit: Integer,
|
|
41
|
+
to_date: Date,
|
|
42
|
+
request_options: MethodRuby::RequestOptions::OrHash
|
|
43
|
+
).returns(MethodRuby::Models::Accounts::TransactionListResponse)
|
|
44
|
+
end
|
|
45
|
+
def list(
|
|
46
|
+
# Path param: Unique identifier for the account.
|
|
47
|
+
account_id,
|
|
48
|
+
# Header param: API version to use for this request. This spec targets
|
|
49
|
+
# `2025-12-01`. The SDK sets this header automatically.
|
|
50
|
+
method_version:,
|
|
51
|
+
# Query param: Filter results from this date (inclusive, YYYY-MM-DD format).
|
|
52
|
+
from_date: nil,
|
|
53
|
+
# Query param: Page number for pagination (1-indexed).
|
|
54
|
+
page: nil,
|
|
55
|
+
# Query param: Cursor for cursor-based pagination. Use the value from
|
|
56
|
+
# `Pagination-Page-Cursor-Next` or `Pagination-Page-Cursor-Prev` response headers.
|
|
57
|
+
page_cursor: nil,
|
|
58
|
+
# Query param: Number of items per page.
|
|
59
|
+
page_limit: nil,
|
|
60
|
+
# Query param: Filter results to this date (inclusive, YYYY-MM-DD format).
|
|
61
|
+
to_date: nil,
|
|
62
|
+
request_options: {}
|
|
63
|
+
)
|
|
64
|
+
end
|
|
65
|
+
|
|
66
|
+
# @api private
|
|
67
|
+
sig { params(client: MethodRuby::Client).returns(T.attached_class) }
|
|
68
|
+
def self.new(client:)
|
|
69
|
+
end
|
|
70
|
+
end
|
|
71
|
+
end
|
|
72
|
+
end
|
|
73
|
+
end
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module MethodRuby
|
|
4
|
+
module Resources
|
|
5
|
+
class Accounts
|
|
6
|
+
# Update records for accounts
|
|
7
|
+
class Updates
|
|
8
|
+
# Creates a new update request for the specified account.
|
|
9
|
+
sig do
|
|
10
|
+
params(
|
|
11
|
+
account_id: String,
|
|
12
|
+
method_version:
|
|
13
|
+
MethodRuby::Accounts::UpdateCreateParams::MethodVersion::OrSymbol,
|
|
14
|
+
idempotency_key: String,
|
|
15
|
+
request_options: MethodRuby::RequestOptions::OrHash
|
|
16
|
+
).returns(MethodRuby::Models::Accounts::UpdateCreateResponse)
|
|
17
|
+
end
|
|
18
|
+
def create(
|
|
19
|
+
# Unique identifier for the account.
|
|
20
|
+
account_id,
|
|
21
|
+
# API version to use for this request. This spec targets `2025-12-01`. The SDK
|
|
22
|
+
# sets this header automatically.
|
|
23
|
+
method_version:,
|
|
24
|
+
# Idempotency key for safely retrying a write request. Reuse the same value when
|
|
25
|
+
# retrying the same logical operation to avoid creating duplicate side effects.
|
|
26
|
+
idempotency_key: nil,
|
|
27
|
+
request_options: {}
|
|
28
|
+
)
|
|
29
|
+
end
|
|
30
|
+
|
|
31
|
+
# Retrieves an account update by its unique identifier.
|
|
32
|
+
sig do
|
|
33
|
+
params(
|
|
34
|
+
update_id: String,
|
|
35
|
+
account_id: String,
|
|
36
|
+
method_version:
|
|
37
|
+
MethodRuby::Accounts::UpdateRetrieveParams::MethodVersion::OrSymbol,
|
|
38
|
+
request_options: MethodRuby::RequestOptions::OrHash
|
|
39
|
+
).returns(MethodRuby::Models::Accounts::UpdateRetrieveResponse)
|
|
40
|
+
end
|
|
41
|
+
def retrieve(
|
|
42
|
+
# Path param: Unique identifier for the account update.
|
|
43
|
+
update_id,
|
|
44
|
+
# Path param: Unique identifier for the account.
|
|
45
|
+
account_id:,
|
|
46
|
+
# Header param: API version to use for this request. This spec targets
|
|
47
|
+
# `2025-12-01`. The SDK sets this header automatically.
|
|
48
|
+
method_version:,
|
|
49
|
+
request_options: {}
|
|
50
|
+
)
|
|
51
|
+
end
|
|
52
|
+
|
|
53
|
+
# Returns a list of update records for the specified account.
|
|
54
|
+
sig do
|
|
55
|
+
params(
|
|
56
|
+
account_id: String,
|
|
57
|
+
method_version:
|
|
58
|
+
MethodRuby::Accounts::UpdateListParams::MethodVersion::OrSymbol,
|
|
59
|
+
page: Integer,
|
|
60
|
+
page_cursor: String,
|
|
61
|
+
page_limit: Integer,
|
|
62
|
+
request_options: MethodRuby::RequestOptions::OrHash
|
|
63
|
+
).returns(MethodRuby::Models::Accounts::UpdateListResponse)
|
|
64
|
+
end
|
|
65
|
+
def list(
|
|
66
|
+
# Path param: Unique identifier for the account.
|
|
67
|
+
account_id,
|
|
68
|
+
# Header param: API version to use for this request. This spec targets
|
|
69
|
+
# `2025-12-01`. The SDK sets this header automatically.
|
|
70
|
+
method_version:,
|
|
71
|
+
# Query param: Page number for pagination (1-indexed).
|
|
72
|
+
page: nil,
|
|
73
|
+
# Query param: Cursor for cursor-based pagination. Use the value from
|
|
74
|
+
# `Pagination-Page-Cursor-Next` or `Pagination-Page-Cursor-Prev` response headers.
|
|
75
|
+
page_cursor: nil,
|
|
76
|
+
# Query param: Number of items per page.
|
|
77
|
+
page_limit: nil,
|
|
78
|
+
request_options: {}
|
|
79
|
+
)
|
|
80
|
+
end
|
|
81
|
+
|
|
82
|
+
# @api private
|
|
83
|
+
sig { params(client: MethodRuby::Client).returns(T.attached_class) }
|
|
84
|
+
def self.new(client:)
|
|
85
|
+
end
|
|
86
|
+
end
|
|
87
|
+
end
|
|
88
|
+
end
|
|
89
|
+
end
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module MethodRuby
|
|
4
|
+
module Resources
|
|
5
|
+
class Accounts
|
|
6
|
+
class VerificationSessions
|
|
7
|
+
# Verification sessions for accounts
|
|
8
|
+
class Amounts
|
|
9
|
+
# Retrieves the micro deposit amounts for a verification session.
|
|
10
|
+
sig do
|
|
11
|
+
params(
|
|
12
|
+
avf_id: String,
|
|
13
|
+
account_id: String,
|
|
14
|
+
method_version:
|
|
15
|
+
MethodRuby::Accounts::VerificationSessions::AmountRetrieveParams::MethodVersion::OrSymbol,
|
|
16
|
+
request_options: MethodRuby::RequestOptions::OrHash
|
|
17
|
+
).returns(
|
|
18
|
+
MethodRuby::Models::Accounts::VerificationSessions::AmountRetrieveResponse
|
|
19
|
+
)
|
|
20
|
+
end
|
|
21
|
+
def retrieve(
|
|
22
|
+
# Path param: Unique identifier for the account verification session.
|
|
23
|
+
avf_id,
|
|
24
|
+
# Path param: Unique identifier for the account.
|
|
25
|
+
account_id:,
|
|
26
|
+
# Header param: API version to use for this request. This spec targets
|
|
27
|
+
# `2025-12-01`. The SDK sets this header automatically.
|
|
28
|
+
method_version:,
|
|
29
|
+
request_options: {}
|
|
30
|
+
)
|
|
31
|
+
end
|
|
32
|
+
|
|
33
|
+
# @api private
|
|
34
|
+
sig { params(client: MethodRuby::Client).returns(T.attached_class) }
|
|
35
|
+
def self.new(client:)
|
|
36
|
+
end
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
end
|
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module MethodRuby
|
|
4
|
+
module Resources
|
|
5
|
+
class Accounts
|
|
6
|
+
# Verification sessions for accounts
|
|
7
|
+
class VerificationSessions
|
|
8
|
+
# Verification sessions for accounts
|
|
9
|
+
sig do
|
|
10
|
+
returns(
|
|
11
|
+
MethodRuby::Resources::Accounts::VerificationSessions::Amounts
|
|
12
|
+
)
|
|
13
|
+
end
|
|
14
|
+
attr_reader :amounts
|
|
15
|
+
|
|
16
|
+
# Creates a new verification session for the specified account.
|
|
17
|
+
sig do
|
|
18
|
+
params(
|
|
19
|
+
account_id: String,
|
|
20
|
+
type:
|
|
21
|
+
MethodRuby::Accounts::VerificationSessionCreateParams::Type::OrSymbol,
|
|
22
|
+
method_version:
|
|
23
|
+
MethodRuby::Accounts::VerificationSessionCreateParams::MethodVersion::OrSymbol,
|
|
24
|
+
idempotency_key: String,
|
|
25
|
+
request_options: MethodRuby::RequestOptions::OrHash
|
|
26
|
+
).returns(
|
|
27
|
+
MethodRuby::Models::Accounts::VerificationSessionCreateResponse
|
|
28
|
+
)
|
|
29
|
+
end
|
|
30
|
+
def create(
|
|
31
|
+
# Path param: Unique identifier for the account.
|
|
32
|
+
account_id,
|
|
33
|
+
# Body param: The type of verification to perform.
|
|
34
|
+
type:,
|
|
35
|
+
# Header param: API version to use for this request. This spec targets
|
|
36
|
+
# `2025-12-01`. The SDK sets this header automatically.
|
|
37
|
+
method_version:,
|
|
38
|
+
# Header param: Idempotency key for safely retrying a write request. Reuse the
|
|
39
|
+
# same value when retrying the same logical operation to avoid creating duplicate
|
|
40
|
+
# side effects.
|
|
41
|
+
idempotency_key: nil,
|
|
42
|
+
request_options: {}
|
|
43
|
+
)
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
# Retrieves an account verification session by its unique identifier.
|
|
47
|
+
sig do
|
|
48
|
+
params(
|
|
49
|
+
avf_id: String,
|
|
50
|
+
account_id: String,
|
|
51
|
+
method_version:
|
|
52
|
+
MethodRuby::Accounts::VerificationSessionRetrieveParams::MethodVersion::OrSymbol,
|
|
53
|
+
request_options: MethodRuby::RequestOptions::OrHash
|
|
54
|
+
).returns(
|
|
55
|
+
MethodRuby::Models::Accounts::VerificationSessionRetrieveResponse
|
|
56
|
+
)
|
|
57
|
+
end
|
|
58
|
+
def retrieve(
|
|
59
|
+
# Path param: Unique identifier for the account verification session.
|
|
60
|
+
avf_id,
|
|
61
|
+
# Path param: Unique identifier for the account.
|
|
62
|
+
account_id:,
|
|
63
|
+
# Header param: API version to use for this request. This spec targets
|
|
64
|
+
# `2025-12-01`. The SDK sets this header automatically.
|
|
65
|
+
method_version:,
|
|
66
|
+
request_options: {}
|
|
67
|
+
)
|
|
68
|
+
end
|
|
69
|
+
|
|
70
|
+
# Updates an account verification session, typically to submit micro deposit
|
|
71
|
+
# amounts for verification.
|
|
72
|
+
sig do
|
|
73
|
+
params(
|
|
74
|
+
avf_id: String,
|
|
75
|
+
account_id: String,
|
|
76
|
+
method_version:
|
|
77
|
+
MethodRuby::Accounts::VerificationSessionUpdateParams::MethodVersion::OrSymbol,
|
|
78
|
+
instant:
|
|
79
|
+
MethodRuby::Accounts::VerificationSessionUpdateParams::Instant::OrHash,
|
|
80
|
+
micro_deposits:
|
|
81
|
+
MethodRuby::Accounts::VerificationSessionUpdateParams::MicroDeposits::OrHash,
|
|
82
|
+
mx:
|
|
83
|
+
MethodRuby::Accounts::VerificationSessionUpdateParams::Mx::OrHash,
|
|
84
|
+
network:
|
|
85
|
+
MethodRuby::Accounts::VerificationSessionUpdateParams::Network::OrHash,
|
|
86
|
+
plaid:
|
|
87
|
+
MethodRuby::Accounts::VerificationSessionUpdateParams::Plaid::OrHash,
|
|
88
|
+
pre_auth:
|
|
89
|
+
MethodRuby::Accounts::VerificationSessionUpdateParams::PreAuth::OrHash,
|
|
90
|
+
standard:
|
|
91
|
+
MethodRuby::Accounts::VerificationSessionUpdateParams::Standard::OrHash,
|
|
92
|
+
teller:
|
|
93
|
+
MethodRuby::Accounts::VerificationSessionUpdateParams::Teller::OrHash,
|
|
94
|
+
idempotency_key: String,
|
|
95
|
+
request_options: MethodRuby::RequestOptions::OrHash
|
|
96
|
+
).returns(
|
|
97
|
+
MethodRuby::Models::Accounts::VerificationSessionUpdateResponse
|
|
98
|
+
)
|
|
99
|
+
end
|
|
100
|
+
def update(
|
|
101
|
+
# Path param: Unique identifier for the account verification session.
|
|
102
|
+
avf_id,
|
|
103
|
+
# Path param: Unique identifier for the account.
|
|
104
|
+
account_id:,
|
|
105
|
+
# Header param: API version to use for this request. This spec targets
|
|
106
|
+
# `2025-12-01`. The SDK sets this header automatically.
|
|
107
|
+
method_version:,
|
|
108
|
+
# Body param: Instant verification data. Required for instant type.
|
|
109
|
+
instant: nil,
|
|
110
|
+
# Body param: Micro deposit verification amounts. Required for micro_deposits
|
|
111
|
+
# type.
|
|
112
|
+
micro_deposits: nil,
|
|
113
|
+
# Body param: MX verification data. Required for mx type.
|
|
114
|
+
mx: nil,
|
|
115
|
+
# Body param: Network verification data. Required for network type.
|
|
116
|
+
network: nil,
|
|
117
|
+
# Body param: Plaid verification data. Required for plaid type.
|
|
118
|
+
plaid: nil,
|
|
119
|
+
# Body param: Pre-auth verification data. Required for pre_auth type.
|
|
120
|
+
pre_auth: nil,
|
|
121
|
+
# Body param: Standard verification data. Required for standard type.
|
|
122
|
+
standard: nil,
|
|
123
|
+
# Body param: Teller verification data. Required for teller type.
|
|
124
|
+
teller: nil,
|
|
125
|
+
# Header param: Idempotency key for safely retrying a write request. Reuse the
|
|
126
|
+
# same value when retrying the same logical operation to avoid creating duplicate
|
|
127
|
+
# side effects.
|
|
128
|
+
idempotency_key: nil,
|
|
129
|
+
request_options: {}
|
|
130
|
+
)
|
|
131
|
+
end
|
|
132
|
+
|
|
133
|
+
# Returns a list of verification sessions for the specified account.
|
|
134
|
+
sig do
|
|
135
|
+
params(
|
|
136
|
+
account_id: String,
|
|
137
|
+
method_version:
|
|
138
|
+
MethodRuby::Accounts::VerificationSessionListParams::MethodVersion::OrSymbol,
|
|
139
|
+
page: Integer,
|
|
140
|
+
page_cursor: String,
|
|
141
|
+
page_limit: Integer,
|
|
142
|
+
request_options: MethodRuby::RequestOptions::OrHash
|
|
143
|
+
).returns(
|
|
144
|
+
MethodRuby::Models::Accounts::VerificationSessionListResponse
|
|
145
|
+
)
|
|
146
|
+
end
|
|
147
|
+
def list(
|
|
148
|
+
# Path param: Unique identifier for the account.
|
|
149
|
+
account_id,
|
|
150
|
+
# Header param: API version to use for this request. This spec targets
|
|
151
|
+
# `2025-12-01`. The SDK sets this header automatically.
|
|
152
|
+
method_version:,
|
|
153
|
+
# Query param: Page number for pagination (1-indexed).
|
|
154
|
+
page: nil,
|
|
155
|
+
# Query param: Cursor for cursor-based pagination. Use the value from
|
|
156
|
+
# `Pagination-Page-Cursor-Next` or `Pagination-Page-Cursor-Prev` response headers.
|
|
157
|
+
page_cursor: nil,
|
|
158
|
+
# Query param: Number of items per page.
|
|
159
|
+
page_limit: nil,
|
|
160
|
+
request_options: {}
|
|
161
|
+
)
|
|
162
|
+
end
|
|
163
|
+
|
|
164
|
+
# @api private
|
|
165
|
+
sig { params(client: MethodRuby::Client).returns(T.attached_class) }
|
|
166
|
+
def self.new(client:)
|
|
167
|
+
end
|
|
168
|
+
end
|
|
169
|
+
end
|
|
170
|
+
end
|
|
171
|
+
end
|
|
@@ -0,0 +1,210 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module MethodRuby
|
|
4
|
+
module Resources
|
|
5
|
+
# Financial accounts (ACH, liability, clearing, debit card)
|
|
6
|
+
class Accounts
|
|
7
|
+
# Verification sessions for accounts
|
|
8
|
+
sig { returns(MethodRuby::Resources::Accounts::VerificationSessions) }
|
|
9
|
+
attr_reader :verification_sessions
|
|
10
|
+
|
|
11
|
+
# Sensitive data for accounts
|
|
12
|
+
sig { returns(MethodRuby::Resources::Accounts::Sensitive) }
|
|
13
|
+
attr_reader :sensitive
|
|
14
|
+
|
|
15
|
+
# Consent management for accounts
|
|
16
|
+
sig { returns(MethodRuby::Resources::Accounts::Consent) }
|
|
17
|
+
attr_reader :consent
|
|
18
|
+
|
|
19
|
+
# Payoff data for accounts
|
|
20
|
+
sig { returns(MethodRuby::Resources::Accounts::Payoffs) }
|
|
21
|
+
attr_reader :payoffs
|
|
22
|
+
|
|
23
|
+
# Balance data for accounts
|
|
24
|
+
sig { returns(MethodRuby::Resources::Accounts::Balances) }
|
|
25
|
+
attr_reader :balances
|
|
26
|
+
|
|
27
|
+
# Card brand information for accounts
|
|
28
|
+
sig { returns(MethodRuby::Resources::Accounts::CardBrands) }
|
|
29
|
+
attr_reader :card_brands
|
|
30
|
+
|
|
31
|
+
# Update records for accounts
|
|
32
|
+
sig { returns(MethodRuby::Resources::Accounts::Updates) }
|
|
33
|
+
attr_reader :updates
|
|
34
|
+
|
|
35
|
+
# Products associated with accounts
|
|
36
|
+
sig { returns(MethodRuby::Resources::Accounts::Products) }
|
|
37
|
+
attr_reader :products
|
|
38
|
+
|
|
39
|
+
# Subscriptions for accounts
|
|
40
|
+
sig { returns(MethodRuby::Resources::Accounts::Subscriptions) }
|
|
41
|
+
attr_reader :subscriptions
|
|
42
|
+
|
|
43
|
+
# Attribute data for accounts
|
|
44
|
+
sig { returns(MethodRuby::Resources::Accounts::Attributes) }
|
|
45
|
+
attr_reader :attributes
|
|
46
|
+
|
|
47
|
+
# Payment instruments for accounts
|
|
48
|
+
sig { returns(MethodRuby::Resources::Accounts::PaymentInstruments) }
|
|
49
|
+
attr_reader :payment_instruments
|
|
50
|
+
|
|
51
|
+
# Transactions for accounts
|
|
52
|
+
sig { returns(MethodRuby::Resources::Accounts::Transactions) }
|
|
53
|
+
attr_reader :transactions
|
|
54
|
+
|
|
55
|
+
# Creates a new account for the specified entity. The request body must include
|
|
56
|
+
# exactly one of `ach`, `liability`, `clearing`, or `debit_card` to determine the
|
|
57
|
+
# account type.
|
|
58
|
+
sig do
|
|
59
|
+
params(
|
|
60
|
+
body:
|
|
61
|
+
T.any(
|
|
62
|
+
MethodRuby::AccountCreateParams::Body::ACH::OrHash,
|
|
63
|
+
MethodRuby::AccountCreateParams::Body::Liability::OrHash,
|
|
64
|
+
MethodRuby::AccountCreateParams::Body::Clearing::OrHash,
|
|
65
|
+
MethodRuby::AccountCreateParams::Body::DebitCard::OrHash
|
|
66
|
+
),
|
|
67
|
+
method_version:
|
|
68
|
+
MethodRuby::AccountCreateParams::MethodVersion::OrSymbol,
|
|
69
|
+
idempotency_key: String,
|
|
70
|
+
request_options: MethodRuby::RequestOptions::OrHash
|
|
71
|
+
).returns(MethodRuby::Models::AccountCreateResponse)
|
|
72
|
+
end
|
|
73
|
+
def create(
|
|
74
|
+
# Body param: Request body for creating an account. `type` is recommended and used
|
|
75
|
+
# for discrimination in generated clients, but the API can also infer the account
|
|
76
|
+
# type from the nested object you provide.
|
|
77
|
+
body:,
|
|
78
|
+
# Header param: API version to use for this request. This spec targets
|
|
79
|
+
# `2025-12-01`. The SDK sets this header automatically.
|
|
80
|
+
method_version:,
|
|
81
|
+
# Header param: Idempotency key for safely retrying a write request. Reuse the
|
|
82
|
+
# same value when retrying the same logical operation to avoid creating duplicate
|
|
83
|
+
# side effects.
|
|
84
|
+
idempotency_key: nil,
|
|
85
|
+
request_options: {}
|
|
86
|
+
)
|
|
87
|
+
end
|
|
88
|
+
|
|
89
|
+
# Retrieves an account by its unique identifier.
|
|
90
|
+
sig do
|
|
91
|
+
params(
|
|
92
|
+
account_id: String,
|
|
93
|
+
method_version:
|
|
94
|
+
MethodRuby::AccountRetrieveParams::MethodVersion::OrSymbol,
|
|
95
|
+
expand: T::Array[MethodRuby::AccountRetrieveParams::Expand::OrSymbol],
|
|
96
|
+
request_options: MethodRuby::RequestOptions::OrHash
|
|
97
|
+
).returns(MethodRuby::Models::AccountRetrieveResponse)
|
|
98
|
+
end
|
|
99
|
+
def retrieve(
|
|
100
|
+
# Path param: Unique identifier for the account.
|
|
101
|
+
account_id,
|
|
102
|
+
# Header param: API version to use for this request. This spec targets
|
|
103
|
+
# `2025-12-01`. The SDK sets this header automatically.
|
|
104
|
+
method_version:,
|
|
105
|
+
# Query param: Expand related account resources inline. Supports the account
|
|
106
|
+
# expandable fields documented by the API validator for account list and retrieve
|
|
107
|
+
# operations.
|
|
108
|
+
expand: nil,
|
|
109
|
+
request_options: {}
|
|
110
|
+
)
|
|
111
|
+
end
|
|
112
|
+
|
|
113
|
+
# Updates an account's metadata or liability account number.
|
|
114
|
+
sig do
|
|
115
|
+
params(
|
|
116
|
+
account_id: String,
|
|
117
|
+
method_version:
|
|
118
|
+
MethodRuby::AccountUpdateParams::MethodVersion::OrSymbol,
|
|
119
|
+
liability: MethodRuby::AccountUpdateParams::Liability::OrHash,
|
|
120
|
+
metadata: T.nilable(T::Hash[Symbol, T.anything]),
|
|
121
|
+
idempotency_key: String,
|
|
122
|
+
request_options: MethodRuby::RequestOptions::OrHash
|
|
123
|
+
).returns(MethodRuby::Models::AccountUpdateResponse)
|
|
124
|
+
end
|
|
125
|
+
def update(
|
|
126
|
+
# Path param: Unique identifier for the account.
|
|
127
|
+
account_id,
|
|
128
|
+
# Header param: API version to use for this request. This spec targets
|
|
129
|
+
# `2025-12-01`. The SDK sets this header automatically.
|
|
130
|
+
method_version:,
|
|
131
|
+
# Body param: Liability-specific update fields. Use either mortgage or credit_card
|
|
132
|
+
# (mutually exclusive).
|
|
133
|
+
liability: nil,
|
|
134
|
+
# Body param: Arbitrary key-value metadata attached to the resource.
|
|
135
|
+
metadata: nil,
|
|
136
|
+
# Header param: Idempotency key for safely retrying a write request. Reuse the
|
|
137
|
+
# same value when retrying the same logical operation to avoid creating duplicate
|
|
138
|
+
# side effects.
|
|
139
|
+
idempotency_key: nil,
|
|
140
|
+
request_options: {}
|
|
141
|
+
)
|
|
142
|
+
end
|
|
143
|
+
|
|
144
|
+
# Returns a paginated list of accounts. Results can be filtered by status, type,
|
|
145
|
+
# holder, and date range.
|
|
146
|
+
sig do
|
|
147
|
+
params(
|
|
148
|
+
method_version:
|
|
149
|
+
MethodRuby::AccountListParams::MethodVersion::OrSymbol,
|
|
150
|
+
consent_status:
|
|
151
|
+
MethodRuby::AccountListParams::ConsentStatus::OrSymbol,
|
|
152
|
+
expand: T::Array[MethodRuby::AccountListParams::Expand::OrSymbol],
|
|
153
|
+
from_date: Date,
|
|
154
|
+
holder_id: String,
|
|
155
|
+
holder_ids: T::Array[String],
|
|
156
|
+
include_pending_consent: T::Boolean,
|
|
157
|
+
liability: MethodRuby::AccountListParams::Liability::OrHash,
|
|
158
|
+
page: Integer,
|
|
159
|
+
page_cursor: String,
|
|
160
|
+
page_limit: Integer,
|
|
161
|
+
status: MethodRuby::AccountListParams::Status::OrSymbol,
|
|
162
|
+
to_date: Date,
|
|
163
|
+
type: MethodRuby::AccountListParams::Type::OrSymbol,
|
|
164
|
+
request_options: MethodRuby::RequestOptions::OrHash
|
|
165
|
+
).returns(MethodRuby::Models::AccountListResponse)
|
|
166
|
+
end
|
|
167
|
+
def list(
|
|
168
|
+
# Header param: API version to use for this request. This spec targets
|
|
169
|
+
# `2025-12-01`. The SDK sets this header automatically.
|
|
170
|
+
method_version:,
|
|
171
|
+
# Query param: Filter accounts by consent status.
|
|
172
|
+
consent_status: nil,
|
|
173
|
+
# Query param: Expand related account resources inline. Supports the account
|
|
174
|
+
# expandable fields documented by the API validator for account list and retrieve
|
|
175
|
+
# operations.
|
|
176
|
+
expand: nil,
|
|
177
|
+
# Query param: Filter results from this date (inclusive, YYYY-MM-DD format).
|
|
178
|
+
from_date: nil,
|
|
179
|
+
# Query param: Filter accounts by the entity ID that owns them.
|
|
180
|
+
holder_id: nil,
|
|
181
|
+
# Query param: Filter accounts by one or more entity IDs.
|
|
182
|
+
holder_ids: nil,
|
|
183
|
+
# Query param: Include accounts that are still pending consent.
|
|
184
|
+
include_pending_consent: nil,
|
|
185
|
+
# Query param
|
|
186
|
+
liability: nil,
|
|
187
|
+
# Query param: Page number for pagination (1-indexed).
|
|
188
|
+
page: nil,
|
|
189
|
+
# Query param: Cursor for cursor-based pagination. Use the value from
|
|
190
|
+
# `Pagination-Page-Cursor-Next` or `Pagination-Page-Cursor-Prev` response headers.
|
|
191
|
+
page_cursor: nil,
|
|
192
|
+
# Query param: Number of items per page.
|
|
193
|
+
page_limit: nil,
|
|
194
|
+
# Query param: Filter accounts by status.
|
|
195
|
+
status: nil,
|
|
196
|
+
# Query param: Filter results to this date (inclusive, YYYY-MM-DD format).
|
|
197
|
+
to_date: nil,
|
|
198
|
+
# Query param: Filter accounts by type.
|
|
199
|
+
type: nil,
|
|
200
|
+
request_options: {}
|
|
201
|
+
)
|
|
202
|
+
end
|
|
203
|
+
|
|
204
|
+
# @api private
|
|
205
|
+
sig { params(client: MethodRuby::Client).returns(T.attached_class) }
|
|
206
|
+
def self.new(client:)
|
|
207
|
+
end
|
|
208
|
+
end
|
|
209
|
+
end
|
|
210
|
+
end
|