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,121 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module MethodRuby
|
|
4
|
+
module Resources
|
|
5
|
+
class Accounts
|
|
6
|
+
# Update records for accounts
|
|
7
|
+
class Updates
|
|
8
|
+
# Some parameter documentations has been truncated, see
|
|
9
|
+
# {MethodRuby::Models::Accounts::UpdateCreateParams} for more details.
|
|
10
|
+
#
|
|
11
|
+
# Creates a new update request for the specified account.
|
|
12
|
+
#
|
|
13
|
+
# @overload create(account_id, method_version:, idempotency_key: nil, request_options: {})
|
|
14
|
+
#
|
|
15
|
+
# @param account_id [String] Unique identifier for the account.
|
|
16
|
+
#
|
|
17
|
+
# @param method_version [Symbol, MethodRuby::Models::Accounts::UpdateCreateParams::MethodVersion] API version to use for this request. This spec targets `2025-12-01`.
|
|
18
|
+
#
|
|
19
|
+
# @param idempotency_key [String] Idempotency key for safely retrying a write request. Reuse the same value when
|
|
20
|
+
#
|
|
21
|
+
# @param request_options [MethodRuby::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
22
|
+
#
|
|
23
|
+
# @return [MethodRuby::Models::Accounts::UpdateCreateResponse]
|
|
24
|
+
#
|
|
25
|
+
# @see MethodRuby::Models::Accounts::UpdateCreateParams
|
|
26
|
+
def create(account_id, params)
|
|
27
|
+
parsed, options = MethodRuby::Accounts::UpdateCreateParams.dump_request(params)
|
|
28
|
+
@client.request(
|
|
29
|
+
method: :post,
|
|
30
|
+
path: ["accounts/%1$s/updates", account_id],
|
|
31
|
+
headers: parsed.transform_keys(
|
|
32
|
+
method_version: "method-version",
|
|
33
|
+
idempotency_key: "idempotency-key"
|
|
34
|
+
),
|
|
35
|
+
model: MethodRuby::Models::Accounts::UpdateCreateResponse,
|
|
36
|
+
security: {secret_key: true},
|
|
37
|
+
options: options
|
|
38
|
+
)
|
|
39
|
+
end
|
|
40
|
+
|
|
41
|
+
# Some parameter documentations has been truncated, see
|
|
42
|
+
# {MethodRuby::Models::Accounts::UpdateRetrieveParams} for more details.
|
|
43
|
+
#
|
|
44
|
+
# Retrieves an account update by its unique identifier.
|
|
45
|
+
#
|
|
46
|
+
# @overload retrieve(update_id, account_id:, method_version:, request_options: {})
|
|
47
|
+
#
|
|
48
|
+
# @param update_id [String] Path param: Unique identifier for the account update.
|
|
49
|
+
#
|
|
50
|
+
# @param account_id [String] Path param: Unique identifier for the account.
|
|
51
|
+
#
|
|
52
|
+
# @param method_version [Symbol, MethodRuby::Models::Accounts::UpdateRetrieveParams::MethodVersion] Header param: API version to use for this request. This spec targets `2025-12-01
|
|
53
|
+
#
|
|
54
|
+
# @param request_options [MethodRuby::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
55
|
+
#
|
|
56
|
+
# @return [MethodRuby::Models::Accounts::UpdateRetrieveResponse]
|
|
57
|
+
#
|
|
58
|
+
# @see MethodRuby::Models::Accounts::UpdateRetrieveParams
|
|
59
|
+
def retrieve(update_id, params)
|
|
60
|
+
parsed, options = MethodRuby::Accounts::UpdateRetrieveParams.dump_request(params)
|
|
61
|
+
account_id =
|
|
62
|
+
parsed.delete(:account_id) do
|
|
63
|
+
raise ArgumentError.new("missing required path argument #{_1}")
|
|
64
|
+
end
|
|
65
|
+
@client.request(
|
|
66
|
+
method: :get,
|
|
67
|
+
path: ["accounts/%1$s/updates/%2$s", account_id, update_id],
|
|
68
|
+
headers: parsed.transform_keys(method_version: "method-version"),
|
|
69
|
+
model: MethodRuby::Models::Accounts::UpdateRetrieveResponse,
|
|
70
|
+
security: {secret_key: true},
|
|
71
|
+
options: options
|
|
72
|
+
)
|
|
73
|
+
end
|
|
74
|
+
|
|
75
|
+
# Some parameter documentations has been truncated, see
|
|
76
|
+
# {MethodRuby::Models::Accounts::UpdateListParams} for more details.
|
|
77
|
+
#
|
|
78
|
+
# Returns a list of update records for the specified account.
|
|
79
|
+
#
|
|
80
|
+
# @overload list(account_id, method_version:, page: nil, page_cursor: nil, page_limit: nil, request_options: {})
|
|
81
|
+
#
|
|
82
|
+
# @param account_id [String] Path param: Unique identifier for the account.
|
|
83
|
+
#
|
|
84
|
+
# @param method_version [Symbol, MethodRuby::Models::Accounts::UpdateListParams::MethodVersion] Header param: API version to use for this request. This spec targets `2025-12-01
|
|
85
|
+
#
|
|
86
|
+
# @param page [Integer] Query param: Page number for pagination (1-indexed).
|
|
87
|
+
#
|
|
88
|
+
# @param page_cursor [String] Query param: Cursor for cursor-based pagination. Use the value from `Pagination-
|
|
89
|
+
#
|
|
90
|
+
# @param page_limit [Integer] Query param: Number of items per page.
|
|
91
|
+
#
|
|
92
|
+
# @param request_options [MethodRuby::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
93
|
+
#
|
|
94
|
+
# @return [MethodRuby::Models::Accounts::UpdateListResponse]
|
|
95
|
+
#
|
|
96
|
+
# @see MethodRuby::Models::Accounts::UpdateListParams
|
|
97
|
+
def list(account_id, params)
|
|
98
|
+
query_params = [:page, :page_cursor, :page_limit]
|
|
99
|
+
parsed, options = MethodRuby::Accounts::UpdateListParams.dump_request(params)
|
|
100
|
+
query = MethodRuby::Internal::Util.encode_query_params(parsed.slice(*query_params))
|
|
101
|
+
@client.request(
|
|
102
|
+
method: :get,
|
|
103
|
+
path: ["accounts/%1$s/updates", account_id],
|
|
104
|
+
query: query,
|
|
105
|
+
headers: parsed.except(*query_params).transform_keys(method_version: "method-version"),
|
|
106
|
+
model: MethodRuby::Models::Accounts::UpdateListResponse,
|
|
107
|
+
security: {secret_key: true},
|
|
108
|
+
options: options
|
|
109
|
+
)
|
|
110
|
+
end
|
|
111
|
+
|
|
112
|
+
# @api private
|
|
113
|
+
#
|
|
114
|
+
# @param client [MethodRuby::Client]
|
|
115
|
+
def initialize(client:)
|
|
116
|
+
@client = client
|
|
117
|
+
end
|
|
118
|
+
end
|
|
119
|
+
end
|
|
120
|
+
end
|
|
121
|
+
end
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module MethodRuby
|
|
4
|
+
module Resources
|
|
5
|
+
class Accounts
|
|
6
|
+
class VerificationSessions
|
|
7
|
+
# Verification sessions for accounts
|
|
8
|
+
class Amounts
|
|
9
|
+
# Some parameter documentations has been truncated, see
|
|
10
|
+
# {MethodRuby::Models::Accounts::VerificationSessions::AmountRetrieveParams} for
|
|
11
|
+
# more details.
|
|
12
|
+
#
|
|
13
|
+
# Retrieves the micro deposit amounts for a verification session.
|
|
14
|
+
#
|
|
15
|
+
# @overload retrieve(avf_id, account_id:, method_version:, request_options: {})
|
|
16
|
+
#
|
|
17
|
+
# @param avf_id [String] Path param: Unique identifier for the account verification session.
|
|
18
|
+
#
|
|
19
|
+
# @param account_id [String] Path param: Unique identifier for the account.
|
|
20
|
+
#
|
|
21
|
+
# @param method_version [Symbol, MethodRuby::Models::Accounts::VerificationSessions::AmountRetrieveParams::MethodVersion] Header param: API version to use for this request. This spec targets `2025-12-01
|
|
22
|
+
#
|
|
23
|
+
# @param request_options [MethodRuby::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
24
|
+
#
|
|
25
|
+
# @return [MethodRuby::Models::Accounts::VerificationSessions::AmountRetrieveResponse]
|
|
26
|
+
#
|
|
27
|
+
# @see MethodRuby::Models::Accounts::VerificationSessions::AmountRetrieveParams
|
|
28
|
+
def retrieve(avf_id, params)
|
|
29
|
+
parsed, options = MethodRuby::Accounts::VerificationSessions::AmountRetrieveParams.dump_request(params)
|
|
30
|
+
account_id =
|
|
31
|
+
parsed.delete(:account_id) do
|
|
32
|
+
raise ArgumentError.new("missing required path argument #{_1}")
|
|
33
|
+
end
|
|
34
|
+
@client.request(
|
|
35
|
+
method: :get,
|
|
36
|
+
path: ["accounts/%1$s/verification_sessions/%2$s/amounts", account_id, avf_id],
|
|
37
|
+
headers: parsed.transform_keys(method_version: "method-version"),
|
|
38
|
+
model: MethodRuby::Models::Accounts::VerificationSessions::AmountRetrieveResponse,
|
|
39
|
+
security: {secret_key: true},
|
|
40
|
+
options: options
|
|
41
|
+
)
|
|
42
|
+
end
|
|
43
|
+
|
|
44
|
+
# @api private
|
|
45
|
+
#
|
|
46
|
+
# @param client [MethodRuby::Client]
|
|
47
|
+
def initialize(client:)
|
|
48
|
+
@client = client
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
end
|
|
54
|
+
end
|
|
@@ -0,0 +1,185 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module MethodRuby
|
|
4
|
+
module Resources
|
|
5
|
+
class Accounts
|
|
6
|
+
# Verification sessions for accounts
|
|
7
|
+
class VerificationSessions
|
|
8
|
+
# Verification sessions for accounts
|
|
9
|
+
# @return [MethodRuby::Resources::Accounts::VerificationSessions::Amounts]
|
|
10
|
+
attr_reader :amounts
|
|
11
|
+
|
|
12
|
+
# Some parameter documentations has been truncated, see
|
|
13
|
+
# {MethodRuby::Models::Accounts::VerificationSessionCreateParams} for more
|
|
14
|
+
# details.
|
|
15
|
+
#
|
|
16
|
+
# Creates a new verification session for the specified account.
|
|
17
|
+
#
|
|
18
|
+
# @overload create(account_id, type:, method_version:, idempotency_key: nil, request_options: {})
|
|
19
|
+
#
|
|
20
|
+
# @param account_id [String] Path param: Unique identifier for the account.
|
|
21
|
+
#
|
|
22
|
+
# @param type [Symbol, MethodRuby::Models::Accounts::VerificationSessionCreateParams::Type] Body param: The type of verification to perform.
|
|
23
|
+
#
|
|
24
|
+
# @param method_version [Symbol, MethodRuby::Models::Accounts::VerificationSessionCreateParams::MethodVersion] Header param: API version to use for this request. This spec targets `2025-12-01
|
|
25
|
+
#
|
|
26
|
+
# @param idempotency_key [String] Header param: Idempotency key for safely retrying a write request. Reuse the sam
|
|
27
|
+
#
|
|
28
|
+
# @param request_options [MethodRuby::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
29
|
+
#
|
|
30
|
+
# @return [MethodRuby::Models::Accounts::VerificationSessionCreateResponse]
|
|
31
|
+
#
|
|
32
|
+
# @see MethodRuby::Models::Accounts::VerificationSessionCreateParams
|
|
33
|
+
def create(account_id, params)
|
|
34
|
+
parsed, options = MethodRuby::Accounts::VerificationSessionCreateParams.dump_request(params)
|
|
35
|
+
header_params = {method_version: "method-version", idempotency_key: "idempotency-key"}
|
|
36
|
+
@client.request(
|
|
37
|
+
method: :post,
|
|
38
|
+
path: ["accounts/%1$s/verification_sessions", account_id],
|
|
39
|
+
headers: parsed.slice(*header_params.keys).transform_keys(header_params),
|
|
40
|
+
body: parsed.except(*header_params.keys),
|
|
41
|
+
model: MethodRuby::Models::Accounts::VerificationSessionCreateResponse,
|
|
42
|
+
security: {secret_key: true},
|
|
43
|
+
options: options
|
|
44
|
+
)
|
|
45
|
+
end
|
|
46
|
+
|
|
47
|
+
# Some parameter documentations has been truncated, see
|
|
48
|
+
# {MethodRuby::Models::Accounts::VerificationSessionRetrieveParams} for more
|
|
49
|
+
# details.
|
|
50
|
+
#
|
|
51
|
+
# Retrieves an account verification session by its unique identifier.
|
|
52
|
+
#
|
|
53
|
+
# @overload retrieve(avf_id, account_id:, method_version:, request_options: {})
|
|
54
|
+
#
|
|
55
|
+
# @param avf_id [String] Path param: Unique identifier for the account verification session.
|
|
56
|
+
#
|
|
57
|
+
# @param account_id [String] Path param: Unique identifier for the account.
|
|
58
|
+
#
|
|
59
|
+
# @param method_version [Symbol, MethodRuby::Models::Accounts::VerificationSessionRetrieveParams::MethodVersion] Header param: API version to use for this request. This spec targets `2025-12-01
|
|
60
|
+
#
|
|
61
|
+
# @param request_options [MethodRuby::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
62
|
+
#
|
|
63
|
+
# @return [MethodRuby::Models::Accounts::VerificationSessionRetrieveResponse]
|
|
64
|
+
#
|
|
65
|
+
# @see MethodRuby::Models::Accounts::VerificationSessionRetrieveParams
|
|
66
|
+
def retrieve(avf_id, params)
|
|
67
|
+
parsed, options = MethodRuby::Accounts::VerificationSessionRetrieveParams.dump_request(params)
|
|
68
|
+
account_id =
|
|
69
|
+
parsed.delete(:account_id) do
|
|
70
|
+
raise ArgumentError.new("missing required path argument #{_1}")
|
|
71
|
+
end
|
|
72
|
+
@client.request(
|
|
73
|
+
method: :get,
|
|
74
|
+
path: ["accounts/%1$s/verification_sessions/%2$s", account_id, avf_id],
|
|
75
|
+
headers: parsed.transform_keys(method_version: "method-version"),
|
|
76
|
+
model: MethodRuby::Models::Accounts::VerificationSessionRetrieveResponse,
|
|
77
|
+
security: {secret_key: true},
|
|
78
|
+
options: options
|
|
79
|
+
)
|
|
80
|
+
end
|
|
81
|
+
|
|
82
|
+
# Some parameter documentations has been truncated, see
|
|
83
|
+
# {MethodRuby::Models::Accounts::VerificationSessionUpdateParams} for more
|
|
84
|
+
# details.
|
|
85
|
+
#
|
|
86
|
+
# Updates an account verification session, typically to submit micro deposit
|
|
87
|
+
# amounts for verification.
|
|
88
|
+
#
|
|
89
|
+
# @overload update(avf_id, account_id:, method_version:, instant: nil, micro_deposits: nil, mx: nil, network: nil, plaid: nil, pre_auth: nil, standard: nil, teller: nil, idempotency_key: nil, request_options: {})
|
|
90
|
+
#
|
|
91
|
+
# @param avf_id [String] Path param: Unique identifier for the account verification session.
|
|
92
|
+
#
|
|
93
|
+
# @param account_id [String] Path param: Unique identifier for the account.
|
|
94
|
+
#
|
|
95
|
+
# @param method_version [Symbol, MethodRuby::Models::Accounts::VerificationSessionUpdateParams::MethodVersion] Header param: API version to use for this request. This spec targets `2025-12-01
|
|
96
|
+
#
|
|
97
|
+
# @param instant [MethodRuby::Models::Accounts::VerificationSessionUpdateParams::Instant] Body param: Instant verification data. Required for instant type.
|
|
98
|
+
#
|
|
99
|
+
# @param micro_deposits [MethodRuby::Models::Accounts::VerificationSessionUpdateParams::MicroDeposits] Body param: Micro deposit verification amounts. Required for micro_deposits type
|
|
100
|
+
#
|
|
101
|
+
# @param mx [MethodRuby::Models::Accounts::VerificationSessionUpdateParams::Mx] Body param: MX verification data. Required for mx type.
|
|
102
|
+
#
|
|
103
|
+
# @param network [MethodRuby::Models::Accounts::VerificationSessionUpdateParams::Network] Body param: Network verification data. Required for network type.
|
|
104
|
+
#
|
|
105
|
+
# @param plaid [MethodRuby::Models::Accounts::VerificationSessionUpdateParams::Plaid] Body param: Plaid verification data. Required for plaid type.
|
|
106
|
+
#
|
|
107
|
+
# @param pre_auth [MethodRuby::Models::Accounts::VerificationSessionUpdateParams::PreAuth] Body param: Pre-auth verification data. Required for pre_auth type.
|
|
108
|
+
#
|
|
109
|
+
# @param standard [MethodRuby::Models::Accounts::VerificationSessionUpdateParams::Standard] Body param: Standard verification data. Required for standard type.
|
|
110
|
+
#
|
|
111
|
+
# @param teller [MethodRuby::Models::Accounts::VerificationSessionUpdateParams::Teller] Body param: Teller verification data. Required for teller type.
|
|
112
|
+
#
|
|
113
|
+
# @param idempotency_key [String] Header param: Idempotency key for safely retrying a write request. Reuse the sam
|
|
114
|
+
#
|
|
115
|
+
# @param request_options [MethodRuby::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
116
|
+
#
|
|
117
|
+
# @return [MethodRuby::Models::Accounts::VerificationSessionUpdateResponse]
|
|
118
|
+
#
|
|
119
|
+
# @see MethodRuby::Models::Accounts::VerificationSessionUpdateParams
|
|
120
|
+
def update(avf_id, params)
|
|
121
|
+
parsed, options = MethodRuby::Accounts::VerificationSessionUpdateParams.dump_request(params)
|
|
122
|
+
account_id =
|
|
123
|
+
parsed.delete(:account_id) do
|
|
124
|
+
raise ArgumentError.new("missing required path argument #{_1}")
|
|
125
|
+
end
|
|
126
|
+
header_params = {method_version: "method-version", idempotency_key: "idempotency-key"}
|
|
127
|
+
@client.request(
|
|
128
|
+
method: :put,
|
|
129
|
+
path: ["accounts/%1$s/verification_sessions/%2$s", account_id, avf_id],
|
|
130
|
+
headers: parsed.slice(*header_params.keys).transform_keys(header_params),
|
|
131
|
+
body: parsed.except(*header_params.keys),
|
|
132
|
+
model: MethodRuby::Models::Accounts::VerificationSessionUpdateResponse,
|
|
133
|
+
security: {secret_key: true},
|
|
134
|
+
options: options
|
|
135
|
+
)
|
|
136
|
+
end
|
|
137
|
+
|
|
138
|
+
# Some parameter documentations has been truncated, see
|
|
139
|
+
# {MethodRuby::Models::Accounts::VerificationSessionListParams} for more details.
|
|
140
|
+
#
|
|
141
|
+
# Returns a list of verification sessions for the specified account.
|
|
142
|
+
#
|
|
143
|
+
# @overload list(account_id, method_version:, page: nil, page_cursor: nil, page_limit: nil, request_options: {})
|
|
144
|
+
#
|
|
145
|
+
# @param account_id [String] Path param: Unique identifier for the account.
|
|
146
|
+
#
|
|
147
|
+
# @param method_version [Symbol, MethodRuby::Models::Accounts::VerificationSessionListParams::MethodVersion] Header param: API version to use for this request. This spec targets `2025-12-01
|
|
148
|
+
#
|
|
149
|
+
# @param page [Integer] Query param: Page number for pagination (1-indexed).
|
|
150
|
+
#
|
|
151
|
+
# @param page_cursor [String] Query param: Cursor for cursor-based pagination. Use the value from `Pagination-
|
|
152
|
+
#
|
|
153
|
+
# @param page_limit [Integer] Query param: Number of items per page.
|
|
154
|
+
#
|
|
155
|
+
# @param request_options [MethodRuby::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
156
|
+
#
|
|
157
|
+
# @return [MethodRuby::Models::Accounts::VerificationSessionListResponse]
|
|
158
|
+
#
|
|
159
|
+
# @see MethodRuby::Models::Accounts::VerificationSessionListParams
|
|
160
|
+
def list(account_id, params)
|
|
161
|
+
query_params = [:page, :page_cursor, :page_limit]
|
|
162
|
+
parsed, options = MethodRuby::Accounts::VerificationSessionListParams.dump_request(params)
|
|
163
|
+
query = MethodRuby::Internal::Util.encode_query_params(parsed.slice(*query_params))
|
|
164
|
+
@client.request(
|
|
165
|
+
method: :get,
|
|
166
|
+
path: ["accounts/%1$s/verification_sessions", account_id],
|
|
167
|
+
query: query,
|
|
168
|
+
headers: parsed.except(*query_params).transform_keys(method_version: "method-version"),
|
|
169
|
+
model: MethodRuby::Models::Accounts::VerificationSessionListResponse,
|
|
170
|
+
security: {secret_key: true},
|
|
171
|
+
options: options
|
|
172
|
+
)
|
|
173
|
+
end
|
|
174
|
+
|
|
175
|
+
# @api private
|
|
176
|
+
#
|
|
177
|
+
# @param client [MethodRuby::Client]
|
|
178
|
+
def initialize(client:)
|
|
179
|
+
@client = client
|
|
180
|
+
@amounts = MethodRuby::Resources::Accounts::VerificationSessions::Amounts.new(client: client)
|
|
181
|
+
end
|
|
182
|
+
end
|
|
183
|
+
end
|
|
184
|
+
end
|
|
185
|
+
end
|
|
@@ -0,0 +1,251 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module MethodRuby
|
|
4
|
+
module Resources
|
|
5
|
+
# Financial accounts (ACH, liability, clearing, debit card)
|
|
6
|
+
class Accounts
|
|
7
|
+
# Verification sessions for accounts
|
|
8
|
+
# @return [MethodRuby::Resources::Accounts::VerificationSessions]
|
|
9
|
+
attr_reader :verification_sessions
|
|
10
|
+
|
|
11
|
+
# Sensitive data for accounts
|
|
12
|
+
# @return [MethodRuby::Resources::Accounts::Sensitive]
|
|
13
|
+
attr_reader :sensitive
|
|
14
|
+
|
|
15
|
+
# Consent management for accounts
|
|
16
|
+
# @return [MethodRuby::Resources::Accounts::Consent]
|
|
17
|
+
attr_reader :consent
|
|
18
|
+
|
|
19
|
+
# Payoff data for accounts
|
|
20
|
+
# @return [MethodRuby::Resources::Accounts::Payoffs]
|
|
21
|
+
attr_reader :payoffs
|
|
22
|
+
|
|
23
|
+
# Balance data for accounts
|
|
24
|
+
# @return [MethodRuby::Resources::Accounts::Balances]
|
|
25
|
+
attr_reader :balances
|
|
26
|
+
|
|
27
|
+
# Card brand information for accounts
|
|
28
|
+
# @return [MethodRuby::Resources::Accounts::CardBrands]
|
|
29
|
+
attr_reader :card_brands
|
|
30
|
+
|
|
31
|
+
# Update records for accounts
|
|
32
|
+
# @return [MethodRuby::Resources::Accounts::Updates]
|
|
33
|
+
attr_reader :updates
|
|
34
|
+
|
|
35
|
+
# Products associated with accounts
|
|
36
|
+
# @return [MethodRuby::Resources::Accounts::Products]
|
|
37
|
+
attr_reader :products
|
|
38
|
+
|
|
39
|
+
# Subscriptions for accounts
|
|
40
|
+
# @return [MethodRuby::Resources::Accounts::Subscriptions]
|
|
41
|
+
attr_reader :subscriptions
|
|
42
|
+
|
|
43
|
+
# Attribute data for accounts
|
|
44
|
+
# @return [MethodRuby::Resources::Accounts::Attributes]
|
|
45
|
+
attr_reader :attributes
|
|
46
|
+
|
|
47
|
+
# Payment instruments for accounts
|
|
48
|
+
# @return [MethodRuby::Resources::Accounts::PaymentInstruments]
|
|
49
|
+
attr_reader :payment_instruments
|
|
50
|
+
|
|
51
|
+
# Transactions for accounts
|
|
52
|
+
# @return [MethodRuby::Resources::Accounts::Transactions]
|
|
53
|
+
attr_reader :transactions
|
|
54
|
+
|
|
55
|
+
# Some parameter documentations has been truncated, see
|
|
56
|
+
# {MethodRuby::Models::AccountCreateParams} for more details.
|
|
57
|
+
#
|
|
58
|
+
# Creates a new account for the specified entity. The request body must include
|
|
59
|
+
# exactly one of `ach`, `liability`, `clearing`, or `debit_card` to determine the
|
|
60
|
+
# account type.
|
|
61
|
+
#
|
|
62
|
+
# @overload create(body:, method_version:, idempotency_key: nil, request_options: {})
|
|
63
|
+
#
|
|
64
|
+
# @param body [MethodRuby::Models::AccountCreateParams::Body::ACH, MethodRuby::Models::AccountCreateParams::Body::Liability, MethodRuby::Models::AccountCreateParams::Body::Clearing, MethodRuby::Models::AccountCreateParams::Body::DebitCard] Body param: Request body for creating an account.
|
|
65
|
+
#
|
|
66
|
+
# @param method_version [Symbol, MethodRuby::Models::AccountCreateParams::MethodVersion] Header param: API version to use for this request. This spec targets `2025-12-01
|
|
67
|
+
#
|
|
68
|
+
# @param idempotency_key [String] Header param: Idempotency key for safely retrying a write request. Reuse the sam
|
|
69
|
+
#
|
|
70
|
+
# @param request_options [MethodRuby::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
71
|
+
#
|
|
72
|
+
# @return [MethodRuby::Models::AccountCreateResponse]
|
|
73
|
+
#
|
|
74
|
+
# @see MethodRuby::Models::AccountCreateParams
|
|
75
|
+
def create(params)
|
|
76
|
+
parsed, options = MethodRuby::AccountCreateParams.dump_request(params)
|
|
77
|
+
@client.request(
|
|
78
|
+
method: :post,
|
|
79
|
+
path: "accounts",
|
|
80
|
+
headers: parsed.except(:body).transform_keys(
|
|
81
|
+
method_version: "method-version",
|
|
82
|
+
idempotency_key: "idempotency-key"
|
|
83
|
+
),
|
|
84
|
+
body: parsed[:body],
|
|
85
|
+
model: MethodRuby::Models::AccountCreateResponse,
|
|
86
|
+
security: {secret_key: true},
|
|
87
|
+
options: options
|
|
88
|
+
)
|
|
89
|
+
end
|
|
90
|
+
|
|
91
|
+
# Some parameter documentations has been truncated, see
|
|
92
|
+
# {MethodRuby::Models::AccountRetrieveParams} for more details.
|
|
93
|
+
#
|
|
94
|
+
# Retrieves an account by its unique identifier.
|
|
95
|
+
#
|
|
96
|
+
# @overload retrieve(account_id, method_version:, expand: nil, request_options: {})
|
|
97
|
+
#
|
|
98
|
+
# @param account_id [String] Path param: Unique identifier for the account.
|
|
99
|
+
#
|
|
100
|
+
# @param method_version [Symbol, MethodRuby::Models::AccountRetrieveParams::MethodVersion] Header param: API version to use for this request. This spec targets `2025-12-01
|
|
101
|
+
#
|
|
102
|
+
# @param expand [Array<Symbol, MethodRuby::Models::AccountRetrieveParams::Expand>] Query param: Expand related account resources inline. Supports the account expan
|
|
103
|
+
#
|
|
104
|
+
# @param request_options [MethodRuby::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
105
|
+
#
|
|
106
|
+
# @return [MethodRuby::Models::AccountRetrieveResponse]
|
|
107
|
+
#
|
|
108
|
+
# @see MethodRuby::Models::AccountRetrieveParams
|
|
109
|
+
def retrieve(account_id, params)
|
|
110
|
+
query_params = [:expand]
|
|
111
|
+
parsed, options = MethodRuby::AccountRetrieveParams.dump_request(params)
|
|
112
|
+
query = MethodRuby::Internal::Util.encode_query_params(parsed.slice(*query_params))
|
|
113
|
+
@client.request(
|
|
114
|
+
method: :get,
|
|
115
|
+
path: ["accounts/%1$s", account_id],
|
|
116
|
+
query: query,
|
|
117
|
+
headers: parsed.except(*query_params).transform_keys(method_version: "method-version"),
|
|
118
|
+
model: MethodRuby::Models::AccountRetrieveResponse,
|
|
119
|
+
security: {secret_key: true},
|
|
120
|
+
options: options
|
|
121
|
+
)
|
|
122
|
+
end
|
|
123
|
+
|
|
124
|
+
# Some parameter documentations has been truncated, see
|
|
125
|
+
# {MethodRuby::Models::AccountUpdateParams} for more details.
|
|
126
|
+
#
|
|
127
|
+
# Updates an account's metadata or liability account number.
|
|
128
|
+
#
|
|
129
|
+
# @overload update(account_id, method_version:, liability: nil, metadata: nil, idempotency_key: nil, request_options: {})
|
|
130
|
+
#
|
|
131
|
+
# @param account_id [String] Path param: Unique identifier for the account.
|
|
132
|
+
#
|
|
133
|
+
# @param method_version [Symbol, MethodRuby::Models::AccountUpdateParams::MethodVersion] Header param: API version to use for this request. This spec targets `2025-12-01
|
|
134
|
+
#
|
|
135
|
+
# @param liability [MethodRuby::Models::AccountUpdateParams::Liability] Body param: Liability-specific update fields. Use either mortgage or credit_card
|
|
136
|
+
#
|
|
137
|
+
# @param metadata [Hash{Symbol=>Object}, nil] Body param: Arbitrary key-value metadata attached to the resource.
|
|
138
|
+
#
|
|
139
|
+
# @param idempotency_key [String] Header param: Idempotency key for safely retrying a write request. Reuse the sam
|
|
140
|
+
#
|
|
141
|
+
# @param request_options [MethodRuby::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
142
|
+
#
|
|
143
|
+
# @return [MethodRuby::Models::AccountUpdateResponse]
|
|
144
|
+
#
|
|
145
|
+
# @see MethodRuby::Models::AccountUpdateParams
|
|
146
|
+
def update(account_id, params)
|
|
147
|
+
parsed, options = MethodRuby::AccountUpdateParams.dump_request(params)
|
|
148
|
+
header_params = {method_version: "method-version", idempotency_key: "idempotency-key"}
|
|
149
|
+
@client.request(
|
|
150
|
+
method: :put,
|
|
151
|
+
path: ["accounts/%1$s", account_id],
|
|
152
|
+
headers: parsed.slice(*header_params.keys).transform_keys(header_params),
|
|
153
|
+
body: parsed.except(*header_params.keys),
|
|
154
|
+
model: MethodRuby::Models::AccountUpdateResponse,
|
|
155
|
+
security: {secret_key: true},
|
|
156
|
+
options: options
|
|
157
|
+
)
|
|
158
|
+
end
|
|
159
|
+
|
|
160
|
+
# Some parameter documentations has been truncated, see
|
|
161
|
+
# {MethodRuby::Models::AccountListParams} for more details.
|
|
162
|
+
#
|
|
163
|
+
# Returns a paginated list of accounts. Results can be filtered by status, type,
|
|
164
|
+
# holder, and date range.
|
|
165
|
+
#
|
|
166
|
+
# @overload list(method_version:, consent_status: nil, expand: nil, from_date: nil, holder_id: nil, holder_ids: nil, include_pending_consent: nil, liability: nil, page: nil, page_cursor: nil, page_limit: nil, status: nil, to_date: nil, type: nil, request_options: {})
|
|
167
|
+
#
|
|
168
|
+
# @param method_version [Symbol, MethodRuby::Models::AccountListParams::MethodVersion] Header param: API version to use for this request. This spec targets `2025-12-01
|
|
169
|
+
#
|
|
170
|
+
# @param consent_status [Symbol, MethodRuby::Models::AccountListParams::ConsentStatus] Query param: Filter accounts by consent status.
|
|
171
|
+
#
|
|
172
|
+
# @param expand [Array<Symbol, MethodRuby::Models::AccountListParams::Expand>] Query param: Expand related account resources inline. Supports the account expan
|
|
173
|
+
#
|
|
174
|
+
# @param from_date [Date] Query param: Filter results from this date (inclusive, YYYY-MM-DD format).
|
|
175
|
+
#
|
|
176
|
+
# @param holder_id [String] Query param: Filter accounts by the entity ID that owns them.
|
|
177
|
+
#
|
|
178
|
+
# @param holder_ids [Array<String>] Query param: Filter accounts by one or more entity IDs.
|
|
179
|
+
#
|
|
180
|
+
# @param include_pending_consent [Boolean] Query param: Include accounts that are still pending consent.
|
|
181
|
+
#
|
|
182
|
+
# @param liability [MethodRuby::Models::AccountListParams::Liability] Query param
|
|
183
|
+
#
|
|
184
|
+
# @param page [Integer] Query param: Page number for pagination (1-indexed).
|
|
185
|
+
#
|
|
186
|
+
# @param page_cursor [String] Query param: Cursor for cursor-based pagination. Use the value from `Pagination-
|
|
187
|
+
#
|
|
188
|
+
# @param page_limit [Integer] Query param: Number of items per page.
|
|
189
|
+
#
|
|
190
|
+
# @param status [Symbol, MethodRuby::Models::AccountListParams::Status] Query param: Filter accounts by status.
|
|
191
|
+
#
|
|
192
|
+
# @param to_date [Date] Query param: Filter results to this date (inclusive, YYYY-MM-DD format).
|
|
193
|
+
#
|
|
194
|
+
# @param type [Symbol, MethodRuby::Models::AccountListParams::Type] Query param: Filter accounts by type.
|
|
195
|
+
#
|
|
196
|
+
# @param request_options [MethodRuby::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
197
|
+
#
|
|
198
|
+
# @return [MethodRuby::Models::AccountListResponse]
|
|
199
|
+
#
|
|
200
|
+
# @see MethodRuby::Models::AccountListParams
|
|
201
|
+
def list(params)
|
|
202
|
+
query_params =
|
|
203
|
+
[
|
|
204
|
+
:consent_status,
|
|
205
|
+
:expand,
|
|
206
|
+
:from_date,
|
|
207
|
+
:holder_id,
|
|
208
|
+
:holder_ids,
|
|
209
|
+
:include_pending_consent,
|
|
210
|
+
:liability,
|
|
211
|
+
:page,
|
|
212
|
+
:page_cursor,
|
|
213
|
+
:page_limit,
|
|
214
|
+
:status,
|
|
215
|
+
:to_date,
|
|
216
|
+
:type
|
|
217
|
+
]
|
|
218
|
+
parsed, options = MethodRuby::AccountListParams.dump_request(params)
|
|
219
|
+
query = MethodRuby::Internal::Util.encode_query_params(parsed.slice(*query_params))
|
|
220
|
+
@client.request(
|
|
221
|
+
method: :get,
|
|
222
|
+
path: "accounts",
|
|
223
|
+
query: query,
|
|
224
|
+
headers: parsed.except(*query_params).transform_keys(method_version: "method-version"),
|
|
225
|
+
model: MethodRuby::Models::AccountListResponse,
|
|
226
|
+
security: {secret_key: true},
|
|
227
|
+
options: options
|
|
228
|
+
)
|
|
229
|
+
end
|
|
230
|
+
|
|
231
|
+
# @api private
|
|
232
|
+
#
|
|
233
|
+
# @param client [MethodRuby::Client]
|
|
234
|
+
def initialize(client:)
|
|
235
|
+
@client = client
|
|
236
|
+
@verification_sessions = MethodRuby::Resources::Accounts::VerificationSessions.new(client: client)
|
|
237
|
+
@sensitive = MethodRuby::Resources::Accounts::Sensitive.new(client: client)
|
|
238
|
+
@consent = MethodRuby::Resources::Accounts::Consent.new(client: client)
|
|
239
|
+
@payoffs = MethodRuby::Resources::Accounts::Payoffs.new(client: client)
|
|
240
|
+
@balances = MethodRuby::Resources::Accounts::Balances.new(client: client)
|
|
241
|
+
@card_brands = MethodRuby::Resources::Accounts::CardBrands.new(client: client)
|
|
242
|
+
@updates = MethodRuby::Resources::Accounts::Updates.new(client: client)
|
|
243
|
+
@products = MethodRuby::Resources::Accounts::Products.new(client: client)
|
|
244
|
+
@subscriptions = MethodRuby::Resources::Accounts::Subscriptions.new(client: client)
|
|
245
|
+
@attributes = MethodRuby::Resources::Accounts::Attributes.new(client: client)
|
|
246
|
+
@payment_instruments = MethodRuby::Resources::Accounts::PaymentInstruments.new(client: client)
|
|
247
|
+
@transactions = MethodRuby::Resources::Accounts::Transactions.new(client: client)
|
|
248
|
+
end
|
|
249
|
+
end
|
|
250
|
+
end
|
|
251
|
+
end
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module MethodRuby
|
|
4
|
+
module Resources
|
|
5
|
+
# Card product definitions
|
|
6
|
+
class CardProducts
|
|
7
|
+
# Some parameter documentations has been truncated, see
|
|
8
|
+
# {MethodRuby::Models::CardProductRetrieveParams} for more details.
|
|
9
|
+
#
|
|
10
|
+
# Returns a single card product by its identifier. Card products describe specific
|
|
11
|
+
# card programs from networks and issuers.
|
|
12
|
+
#
|
|
13
|
+
# @overload retrieve(product_id, method_version:, request_options: {})
|
|
14
|
+
#
|
|
15
|
+
# @param product_id [String] Unique identifier for the card product.
|
|
16
|
+
#
|
|
17
|
+
# @param method_version [Symbol, MethodRuby::Models::CardProductRetrieveParams::MethodVersion] API version to use for this request. This spec targets `2025-12-01`.
|
|
18
|
+
#
|
|
19
|
+
# @param request_options [MethodRuby::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
20
|
+
#
|
|
21
|
+
# @return [MethodRuby::Models::CardProductRetrieveResponse]
|
|
22
|
+
#
|
|
23
|
+
# @see MethodRuby::Models::CardProductRetrieveParams
|
|
24
|
+
def retrieve(product_id, params)
|
|
25
|
+
parsed, options = MethodRuby::CardProductRetrieveParams.dump_request(params)
|
|
26
|
+
@client.request(
|
|
27
|
+
method: :get,
|
|
28
|
+
path: ["card_products/%1$s", product_id],
|
|
29
|
+
headers: parsed.transform_keys(method_version: "method-version"),
|
|
30
|
+
model: MethodRuby::Models::CardProductRetrieveResponse,
|
|
31
|
+
security: {secret_key: true},
|
|
32
|
+
options: options
|
|
33
|
+
)
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
# @api private
|
|
37
|
+
#
|
|
38
|
+
# @param client [MethodRuby::Client]
|
|
39
|
+
def initialize(client:)
|
|
40
|
+
@client = client
|
|
41
|
+
end
|
|
42
|
+
end
|
|
43
|
+
end
|
|
44
|
+
end
|