method-ruby 0.1.0 → 0.2.1
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 +51 -0
- data/README.md +19 -18
- data/lib/method_ruby/client.rb +99 -9
- data/lib/method_ruby/internal/transport/base_client.rb +5 -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
|
@@ -2,18 +2,60 @@
|
|
|
2
2
|
|
|
3
3
|
module MethodRuby
|
|
4
4
|
module Resources
|
|
5
|
-
#
|
|
6
|
-
# of an Account and can be either an individual or a corporation.
|
|
5
|
+
# Individuals, corporations, and receive-only entities
|
|
7
6
|
class Entities
|
|
8
|
-
#
|
|
7
|
+
# Attribute data for entities
|
|
8
|
+
# @return [MethodRuby::Resources::Entities::Attributes]
|
|
9
|
+
attr_reader :attributes
|
|
10
|
+
|
|
11
|
+
# Credit score data for entities
|
|
12
|
+
# @return [MethodRuby::Resources::Entities::CreditScores]
|
|
13
|
+
attr_reader :credit_scores
|
|
14
|
+
|
|
15
|
+
# Consent management for entities
|
|
16
|
+
# @return [MethodRuby::Resources::Entities::Consent]
|
|
17
|
+
attr_reader :consent
|
|
18
|
+
|
|
19
|
+
# Vehicle data for entities
|
|
20
|
+
# @return [MethodRuby::Resources::Entities::Vehicles]
|
|
21
|
+
attr_reader :vehicles
|
|
22
|
+
|
|
23
|
+
# Products associated with entities
|
|
24
|
+
# @return [MethodRuby::Resources::Entities::Products]
|
|
25
|
+
attr_reader :products
|
|
26
|
+
|
|
27
|
+
# Subscriptions for entities
|
|
28
|
+
# @return [MethodRuby::Resources::Entities::Subscriptions]
|
|
29
|
+
attr_reader :subscriptions
|
|
30
|
+
|
|
31
|
+
# Account connection sessions for entities
|
|
32
|
+
# @return [MethodRuby::Resources::Entities::Connect]
|
|
33
|
+
attr_reader :connect
|
|
34
|
+
|
|
35
|
+
# Account connection sessions for entities
|
|
36
|
+
# @return [MethodRuby::Resources::Entities::ManualConnect]
|
|
37
|
+
attr_reader :manual_connect
|
|
38
|
+
|
|
39
|
+
# Identity verification data for entities
|
|
40
|
+
# @return [MethodRuby::Resources::Entities::Identities]
|
|
41
|
+
attr_reader :identities
|
|
42
|
+
|
|
43
|
+
# Verification sessions for entities
|
|
44
|
+
# @return [MethodRuby::Resources::Entities::VerificationSessions]
|
|
45
|
+
attr_reader :verification_sessions
|
|
46
|
+
|
|
47
|
+
# Some parameter documentations has been truncated, see
|
|
48
|
+
# {MethodRuby::Models::EntityCreateParams} for more details.
|
|
49
|
+
#
|
|
50
|
+
# Creates a new entity.
|
|
9
51
|
#
|
|
10
|
-
# @overload create(body:, idempotency_key: nil,
|
|
52
|
+
# @overload create(body:, method_version:, idempotency_key: nil, request_options: {})
|
|
11
53
|
#
|
|
12
|
-
# @param body [MethodRuby::Models::EntityCreateParams::Body::Individual, MethodRuby::Models::EntityCreateParams::Body::Corporation] Body param
|
|
54
|
+
# @param body [MethodRuby::Models::EntityCreateParams::Body::Individual, MethodRuby::Models::EntityCreateParams::Body::Corporation] Body param: Request body for creating an entity.
|
|
13
55
|
#
|
|
14
|
-
# @param
|
|
56
|
+
# @param method_version [Symbol, MethodRuby::Models::EntityCreateParams::MethodVersion] Header param: API version to use for this request. This spec targets `2025-12-01
|
|
15
57
|
#
|
|
16
|
-
# @param
|
|
58
|
+
# @param idempotency_key [String] Header param: Idempotency key for safely retrying a write request. Reuse the sam
|
|
17
59
|
#
|
|
18
60
|
# @param request_options [MethodRuby::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
19
61
|
#
|
|
@@ -26,98 +68,133 @@ module MethodRuby
|
|
|
26
68
|
method: :post,
|
|
27
69
|
path: "entities",
|
|
28
70
|
headers: parsed.except(:body).transform_keys(
|
|
29
|
-
|
|
30
|
-
|
|
71
|
+
method_version: "method-version",
|
|
72
|
+
idempotency_key: "idempotency-key"
|
|
31
73
|
),
|
|
32
74
|
body: parsed[:body],
|
|
33
75
|
model: MethodRuby::Models::EntityCreateResponse,
|
|
76
|
+
security: {secret_key: true},
|
|
34
77
|
options: options
|
|
35
78
|
)
|
|
36
79
|
end
|
|
37
80
|
|
|
38
|
-
#
|
|
81
|
+
# Some parameter documentations has been truncated, see
|
|
82
|
+
# {MethodRuby::Models::EntityRetrieveParams} for more details.
|
|
39
83
|
#
|
|
40
|
-
#
|
|
84
|
+
# Returns a single entity by its identifier.
|
|
41
85
|
#
|
|
42
|
-
# @
|
|
86
|
+
# @overload retrieve(entity_id, method_version:, expand: nil, request_options: {})
|
|
43
87
|
#
|
|
44
|
-
# @param
|
|
88
|
+
# @param entity_id [String] Path param: Unique identifier for the entity.
|
|
89
|
+
#
|
|
90
|
+
# @param method_version [Symbol, MethodRuby::Models::EntityRetrieveParams::MethodVersion] Header param: API version to use for this request. This spec targets `2025-12-01
|
|
91
|
+
#
|
|
92
|
+
# @param expand [Array<Symbol, MethodRuby::Models::EntityRetrieveParams::Expand>] Query param: Expand related entity resources inline. Supports the entity expanda
|
|
45
93
|
#
|
|
46
94
|
# @param request_options [MethodRuby::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
47
95
|
#
|
|
48
96
|
# @return [MethodRuby::Models::EntityRetrieveResponse]
|
|
49
97
|
#
|
|
50
98
|
# @see MethodRuby::Models::EntityRetrieveParams
|
|
51
|
-
def retrieve(
|
|
99
|
+
def retrieve(entity_id, params)
|
|
100
|
+
query_params = [:expand]
|
|
52
101
|
parsed, options = MethodRuby::EntityRetrieveParams.dump_request(params)
|
|
102
|
+
query = MethodRuby::Internal::Util.encode_query_params(parsed.slice(*query_params))
|
|
53
103
|
@client.request(
|
|
54
104
|
method: :get,
|
|
55
|
-
path: ["entities/%1$s",
|
|
56
|
-
|
|
105
|
+
path: ["entities/%1$s", entity_id],
|
|
106
|
+
query: query,
|
|
107
|
+
headers: parsed.except(*query_params).transform_keys(method_version: "method-version"),
|
|
57
108
|
model: MethodRuby::Models::EntityRetrieveResponse,
|
|
109
|
+
security: {secret_key: true},
|
|
58
110
|
options: options
|
|
59
111
|
)
|
|
60
112
|
end
|
|
61
113
|
|
|
62
|
-
#
|
|
114
|
+
# Some parameter documentations has been truncated, see
|
|
115
|
+
# {MethodRuby::Models::EntityUpdateParams} for more details.
|
|
116
|
+
#
|
|
117
|
+
# Updates an existing entity.
|
|
63
118
|
#
|
|
64
|
-
# @overload update(
|
|
119
|
+
# @overload update(entity_id, method_version:, address: nil, corporation: nil, individual: nil, metadata: nil, idempotency_key: nil, request_options: {})
|
|
65
120
|
#
|
|
66
|
-
# @param
|
|
121
|
+
# @param entity_id [String] Path param: Unique identifier for the entity.
|
|
67
122
|
#
|
|
68
|
-
# @param
|
|
123
|
+
# @param method_version [Symbol, MethodRuby::Models::EntityUpdateParams::MethodVersion] Header param: API version to use for this request. This spec targets `2025-12-01
|
|
69
124
|
#
|
|
70
|
-
# @param
|
|
125
|
+
# @param address [MethodRuby::Models::Address] Body param: Postal mailing address.
|
|
71
126
|
#
|
|
72
|
-
# @param
|
|
127
|
+
# @param corporation [MethodRuby::Models::EntityUpdateParams::Corporation] Body param
|
|
73
128
|
#
|
|
74
|
-
# @param
|
|
129
|
+
# @param individual [MethodRuby::Models::EntityUpdateParams::Individual] Body param
|
|
75
130
|
#
|
|
76
|
-
# @param
|
|
131
|
+
# @param metadata [Hash{Symbol=>Object}, nil] Body param: Arbitrary key-value metadata attached to the resource.
|
|
77
132
|
#
|
|
78
|
-
# @param
|
|
133
|
+
# @param idempotency_key [String] Header param: Idempotency key for safely retrying a write request. Reuse the sam
|
|
79
134
|
#
|
|
80
135
|
# @param request_options [MethodRuby::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
81
136
|
#
|
|
82
137
|
# @return [MethodRuby::Models::EntityUpdateResponse]
|
|
83
138
|
#
|
|
84
139
|
# @see MethodRuby::Models::EntityUpdateParams
|
|
85
|
-
def update(
|
|
140
|
+
def update(entity_id, params)
|
|
86
141
|
parsed, options = MethodRuby::EntityUpdateParams.dump_request(params)
|
|
87
|
-
header_params = {
|
|
142
|
+
header_params = {method_version: "method-version", idempotency_key: "idempotency-key"}
|
|
88
143
|
@client.request(
|
|
89
144
|
method: :put,
|
|
90
|
-
path: ["entities/%1$s",
|
|
145
|
+
path: ["entities/%1$s", entity_id],
|
|
91
146
|
headers: parsed.slice(*header_params.keys).transform_keys(header_params),
|
|
92
147
|
body: parsed.except(*header_params.keys),
|
|
93
148
|
model: MethodRuby::Models::EntityUpdateResponse,
|
|
149
|
+
security: {secret_key: true},
|
|
94
150
|
options: options
|
|
95
151
|
)
|
|
96
152
|
end
|
|
97
153
|
|
|
98
|
-
#
|
|
154
|
+
# Some parameter documentations has been truncated, see
|
|
155
|
+
# {MethodRuby::Models::EntityListParams} for more details.
|
|
156
|
+
#
|
|
157
|
+
# Returns a paginated list of entities.
|
|
158
|
+
#
|
|
159
|
+
# @overload list(method_version:, expand: nil, from_date: nil, name: nil, page: nil, page_cursor: nil, page_limit: nil, status: nil, to_date: nil, type: nil, request_options: {})
|
|
160
|
+
#
|
|
161
|
+
# @param method_version [Symbol, MethodRuby::Models::EntityListParams::MethodVersion] Header param: API version to use for this request. This spec targets `2025-12-01
|
|
162
|
+
#
|
|
163
|
+
# @param expand [Array<Symbol, MethodRuby::Models::EntityListParams::Expand>] Query param: Expand related entity resources inline. Supports the entity expanda
|
|
164
|
+
#
|
|
165
|
+
# @param from_date [Date] Query param: Filter results from this date (inclusive, YYYY-MM-DD format).
|
|
99
166
|
#
|
|
100
|
-
# @
|
|
167
|
+
# @param name [String] Query param: Filter entities by their name.
|
|
101
168
|
#
|
|
102
|
-
# @param
|
|
169
|
+
# @param page [Integer] Query param: Page number for pagination (1-indexed).
|
|
103
170
|
#
|
|
104
|
-
# @param
|
|
171
|
+
# @param page_cursor [String] Query param: Cursor for cursor-based pagination. Use the value from `Pagination-
|
|
105
172
|
#
|
|
106
|
-
# @param
|
|
173
|
+
# @param page_limit [Integer] Query param: Number of items per page.
|
|
107
174
|
#
|
|
108
|
-
# @param
|
|
175
|
+
# @param status [Symbol, MethodRuby::Models::EntityListParams::Status] Query param: Filter entities by status.
|
|
109
176
|
#
|
|
110
|
-
# @param to_date [Date] Query param
|
|
177
|
+
# @param to_date [Date] Query param: Filter results to this date (inclusive, YYYY-MM-DD format).
|
|
111
178
|
#
|
|
112
|
-
# @param
|
|
179
|
+
# @param type [Symbol, MethodRuby::Models::EntityListParams::Type] Query param: Filter entities by type.
|
|
113
180
|
#
|
|
114
181
|
# @param request_options [MethodRuby::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
115
182
|
#
|
|
116
183
|
# @return [MethodRuby::Models::EntityListResponse]
|
|
117
184
|
#
|
|
118
185
|
# @see MethodRuby::Models::EntityListParams
|
|
119
|
-
def list(params
|
|
120
|
-
query_params = [
|
|
186
|
+
def list(params)
|
|
187
|
+
query_params = [
|
|
188
|
+
:expand,
|
|
189
|
+
:from_date,
|
|
190
|
+
:name,
|
|
191
|
+
:page,
|
|
192
|
+
:page_cursor,
|
|
193
|
+
:page_limit,
|
|
194
|
+
:status,
|
|
195
|
+
:to_date,
|
|
196
|
+
:type
|
|
197
|
+
]
|
|
121
198
|
parsed, options = MethodRuby::EntityListParams.dump_request(params)
|
|
122
199
|
query = MethodRuby::Internal::Util.encode_query_params(parsed.slice(*query_params))
|
|
123
200
|
@client.request(
|
|
@@ -126,6 +203,7 @@ module MethodRuby
|
|
|
126
203
|
query: query,
|
|
127
204
|
headers: parsed.except(*query_params).transform_keys(method_version: "method-version"),
|
|
128
205
|
model: MethodRuby::Models::EntityListResponse,
|
|
206
|
+
security: {secret_key: true},
|
|
129
207
|
options: options
|
|
130
208
|
)
|
|
131
209
|
end
|
|
@@ -135,6 +213,16 @@ module MethodRuby
|
|
|
135
213
|
# @param client [MethodRuby::Client]
|
|
136
214
|
def initialize(client:)
|
|
137
215
|
@client = client
|
|
216
|
+
@attributes = MethodRuby::Resources::Entities::Attributes.new(client: client)
|
|
217
|
+
@credit_scores = MethodRuby::Resources::Entities::CreditScores.new(client: client)
|
|
218
|
+
@consent = MethodRuby::Resources::Entities::Consent.new(client: client)
|
|
219
|
+
@vehicles = MethodRuby::Resources::Entities::Vehicles.new(client: client)
|
|
220
|
+
@products = MethodRuby::Resources::Entities::Products.new(client: client)
|
|
221
|
+
@subscriptions = MethodRuby::Resources::Entities::Subscriptions.new(client: client)
|
|
222
|
+
@connect = MethodRuby::Resources::Entities::Connect.new(client: client)
|
|
223
|
+
@manual_connect = MethodRuby::Resources::Entities::ManualConnect.new(client: client)
|
|
224
|
+
@identities = MethodRuby::Resources::Entities::Identities.new(client: client)
|
|
225
|
+
@verification_sessions = MethodRuby::Resources::Entities::VerificationSessions.new(client: client)
|
|
138
226
|
end
|
|
139
227
|
end
|
|
140
228
|
end
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module MethodRuby
|
|
4
|
+
module Resources
|
|
5
|
+
# Webhook event log
|
|
6
|
+
class Events
|
|
7
|
+
# Some parameter documentations has been truncated, see
|
|
8
|
+
# {MethodRuby::Models::EventRetrieveParams} for more details.
|
|
9
|
+
#
|
|
10
|
+
# Returns a single event by its identifier.
|
|
11
|
+
#
|
|
12
|
+
# @overload retrieve(evt_id, method_version:, request_options: {})
|
|
13
|
+
#
|
|
14
|
+
# @param evt_id [String] Unique identifier for the event.
|
|
15
|
+
#
|
|
16
|
+
# @param method_version [Symbol, MethodRuby::Models::EventRetrieveParams::MethodVersion] API version to use for this request. This spec targets `2025-12-01`.
|
|
17
|
+
#
|
|
18
|
+
# @param request_options [MethodRuby::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
19
|
+
#
|
|
20
|
+
# @return [MethodRuby::Models::EventRetrieveResponse]
|
|
21
|
+
#
|
|
22
|
+
# @see MethodRuby::Models::EventRetrieveParams
|
|
23
|
+
def retrieve(evt_id, params)
|
|
24
|
+
parsed, options = MethodRuby::EventRetrieveParams.dump_request(params)
|
|
25
|
+
@client.request(
|
|
26
|
+
method: :get,
|
|
27
|
+
path: ["events/%1$s", evt_id],
|
|
28
|
+
headers: parsed.transform_keys(method_version: "method-version"),
|
|
29
|
+
model: MethodRuby::Models::EventRetrieveResponse,
|
|
30
|
+
security: {secret_key: true},
|
|
31
|
+
options: options
|
|
32
|
+
)
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
# Some parameter documentations has been truncated, see
|
|
36
|
+
# {MethodRuby::Models::EventListParams} for more details.
|
|
37
|
+
#
|
|
38
|
+
# Returns a paginated list of webhook event records.
|
|
39
|
+
#
|
|
40
|
+
# @overload list(method_version:, from_date: nil, page: nil, page_cursor: nil, page_limit: nil, to_date: nil, type: nil, request_options: {})
|
|
41
|
+
#
|
|
42
|
+
# @param method_version [Symbol, MethodRuby::Models::EventListParams::MethodVersion] Header param: API version to use for this request. This spec targets `2025-12-01
|
|
43
|
+
#
|
|
44
|
+
# @param from_date [Date] Query param: Filter results from this date (inclusive, YYYY-MM-DD format).
|
|
45
|
+
#
|
|
46
|
+
# @param page [Integer] Query param: Page number for pagination (1-indexed).
|
|
47
|
+
#
|
|
48
|
+
# @param page_cursor [String] Query param: Cursor for cursor-based pagination. Use the value from `Pagination-
|
|
49
|
+
#
|
|
50
|
+
# @param page_limit [Integer] Query param: Number of items per page.
|
|
51
|
+
#
|
|
52
|
+
# @param to_date [Date] Query param: Filter results to this date (inclusive, YYYY-MM-DD format).
|
|
53
|
+
#
|
|
54
|
+
# @param type [String] Query param: Filter events by event type.
|
|
55
|
+
#
|
|
56
|
+
# @param request_options [MethodRuby::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
57
|
+
#
|
|
58
|
+
# @return [MethodRuby::Models::EventListResponse]
|
|
59
|
+
#
|
|
60
|
+
# @see MethodRuby::Models::EventListParams
|
|
61
|
+
def list(params)
|
|
62
|
+
query_params = [:from_date, :page, :page_cursor, :page_limit, :to_date, :type]
|
|
63
|
+
parsed, options = MethodRuby::EventListParams.dump_request(params)
|
|
64
|
+
query = MethodRuby::Internal::Util.encode_query_params(parsed.slice(*query_params))
|
|
65
|
+
@client.request(
|
|
66
|
+
method: :get,
|
|
67
|
+
path: "events",
|
|
68
|
+
query: query,
|
|
69
|
+
headers: parsed.except(*query_params).transform_keys(method_version: "method-version"),
|
|
70
|
+
model: MethodRuby::Models::EventListResponse,
|
|
71
|
+
security: {secret_key: true},
|
|
72
|
+
options: options
|
|
73
|
+
)
|
|
74
|
+
end
|
|
75
|
+
|
|
76
|
+
# @api private
|
|
77
|
+
#
|
|
78
|
+
# @param client [MethodRuby::Client]
|
|
79
|
+
def initialize(client:)
|
|
80
|
+
@client = client
|
|
81
|
+
end
|
|
82
|
+
end
|
|
83
|
+
end
|
|
84
|
+
end
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module MethodRuby
|
|
4
|
+
module Resources
|
|
5
|
+
# Request forwarding with sensitive data injection
|
|
6
|
+
class ForwardingRequests
|
|
7
|
+
# Some parameter documentations has been truncated, see
|
|
8
|
+
# {MethodRuby::Models::ForwardingRequestCreateParams} for more details.
|
|
9
|
+
#
|
|
10
|
+
# Creates a new forwarding request that proxies an HTTP request to a third-party
|
|
11
|
+
# endpoint with sensitive data injection.
|
|
12
|
+
#
|
|
13
|
+
# Forwarding-specific validation and execution failures are returned in the
|
|
14
|
+
# standard error envelope. Common forwarding `sub_type` values include
|
|
15
|
+
# `URL_NOT_ALLOWED`, `INVALID_METHOD`, `BODY_JSON_INVALID`, `BINDING_NOT_FOUND`,
|
|
16
|
+
# `FORWARDED_REQUEST_NETWORK_ERROR`, and `FORWARDED_REQUEST_TIMEOUT`.
|
|
17
|
+
#
|
|
18
|
+
# @overload create(bindings:, body:, headers:, method_:, url:, method_version:, metadata: nil, idempotency_key: nil, request_options: {})
|
|
19
|
+
#
|
|
20
|
+
# @param bindings [Hash{Symbol=>String}] Body param: Key-value map of secret bindings to inject into the request.
|
|
21
|
+
#
|
|
22
|
+
# @param body [String] Body param: Body to send with the forwarded request.
|
|
23
|
+
#
|
|
24
|
+
# @param headers [Hash{Symbol=>String}] Body param: HTTP headers to include in the forwarded request.
|
|
25
|
+
#
|
|
26
|
+
# @param method_ [Symbol, MethodRuby::Models::ForwardingRequestCreateParams::Method] Body param: HTTP method to use.
|
|
27
|
+
#
|
|
28
|
+
# @param url [String] Body param: The destination URL for the forwarded request.
|
|
29
|
+
#
|
|
30
|
+
# @param method_version [Symbol, MethodRuby::Models::ForwardingRequestCreateParams::MethodVersion] Header param: API version to use for this request. This spec targets `2025-12-01
|
|
31
|
+
#
|
|
32
|
+
# @param metadata [Object, nil] Body param: Optional metadata to attach to the forwarding request.
|
|
33
|
+
#
|
|
34
|
+
# @param idempotency_key [String] Header param: Idempotency key for safely retrying a write request. Reuse the sam
|
|
35
|
+
#
|
|
36
|
+
# @param request_options [MethodRuby::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
37
|
+
#
|
|
38
|
+
# @return [MethodRuby::Models::ForwardingRequestCreateResponse]
|
|
39
|
+
#
|
|
40
|
+
# @see MethodRuby::Models::ForwardingRequestCreateParams
|
|
41
|
+
def create(params)
|
|
42
|
+
parsed, options = MethodRuby::ForwardingRequestCreateParams.dump_request(params)
|
|
43
|
+
header_params = {method_version: "method-version", idempotency_key: "idempotency-key"}
|
|
44
|
+
@client.request(
|
|
45
|
+
method: :post,
|
|
46
|
+
path: "forwarding_requests",
|
|
47
|
+
headers: parsed.slice(*header_params.keys).transform_keys(header_params),
|
|
48
|
+
body: parsed.except(*header_params.keys),
|
|
49
|
+
model: MethodRuby::Models::ForwardingRequestCreateResponse,
|
|
50
|
+
security: {secret_key: true},
|
|
51
|
+
options: options
|
|
52
|
+
)
|
|
53
|
+
end
|
|
54
|
+
|
|
55
|
+
# Some parameter documentations has been truncated, see
|
|
56
|
+
# {MethodRuby::Models::ForwardingRequestRetrieveParams} for more details.
|
|
57
|
+
#
|
|
58
|
+
# Returns a single forwarding request by its identifier.
|
|
59
|
+
#
|
|
60
|
+
# @overload retrieve(id, method_version:, request_options: {})
|
|
61
|
+
#
|
|
62
|
+
# @param id [String] Unique identifier for the forwarding request.
|
|
63
|
+
#
|
|
64
|
+
# @param method_version [Symbol, MethodRuby::Models::ForwardingRequestRetrieveParams::MethodVersion] API version to use for this request. This spec targets `2025-12-01`.
|
|
65
|
+
#
|
|
66
|
+
# @param request_options [MethodRuby::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
67
|
+
#
|
|
68
|
+
# @return [MethodRuby::Models::ForwardingRequestRetrieveResponse]
|
|
69
|
+
#
|
|
70
|
+
# @see MethodRuby::Models::ForwardingRequestRetrieveParams
|
|
71
|
+
def retrieve(id, params)
|
|
72
|
+
parsed, options = MethodRuby::ForwardingRequestRetrieveParams.dump_request(params)
|
|
73
|
+
@client.request(
|
|
74
|
+
method: :get,
|
|
75
|
+
path: ["forwarding_requests/%1$s", id],
|
|
76
|
+
headers: parsed.transform_keys(method_version: "method-version"),
|
|
77
|
+
model: MethodRuby::Models::ForwardingRequestRetrieveResponse,
|
|
78
|
+
security: {secret_key: true},
|
|
79
|
+
options: options
|
|
80
|
+
)
|
|
81
|
+
end
|
|
82
|
+
|
|
83
|
+
# @api private
|
|
84
|
+
#
|
|
85
|
+
# @param client [MethodRuby::Client]
|
|
86
|
+
def initialize(client:)
|
|
87
|
+
@client = client
|
|
88
|
+
end
|
|
89
|
+
end
|
|
90
|
+
end
|
|
91
|
+
end
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module MethodRuby
|
|
4
|
+
module Resources
|
|
5
|
+
class ManagedAccounts
|
|
6
|
+
# Method-managed accounts
|
|
7
|
+
class Transactions
|
|
8
|
+
# Some parameter documentations has been truncated, see
|
|
9
|
+
# {MethodRuby::Models::ManagedAccounts::TransactionListParams} for more details.
|
|
10
|
+
#
|
|
11
|
+
# Returns a paginated list of transactions for a specific managed account.
|
|
12
|
+
#
|
|
13
|
+
# @overload list(macc_id, method_version:, from_date: nil, page: nil, page_cursor: nil, page_limit: nil, to_date: nil, request_options: {})
|
|
14
|
+
#
|
|
15
|
+
# @param macc_id [String] Path param: Unique identifier for the managed account.
|
|
16
|
+
#
|
|
17
|
+
# @param method_version [Symbol, MethodRuby::Models::ManagedAccounts::TransactionListParams::MethodVersion] Header param: API version to use for this request. This spec targets `2025-12-01
|
|
18
|
+
#
|
|
19
|
+
# @param from_date [Date] Query param: Filter results from this date (inclusive, YYYY-MM-DD format).
|
|
20
|
+
#
|
|
21
|
+
# @param page [Integer] Query param: Page number for pagination (1-indexed).
|
|
22
|
+
#
|
|
23
|
+
# @param page_cursor [String] Query param: Cursor for cursor-based pagination. Use the value from `Pagination-
|
|
24
|
+
#
|
|
25
|
+
# @param page_limit [Integer] Query param: Number of items per page.
|
|
26
|
+
#
|
|
27
|
+
# @param to_date [Date] Query param: Filter results to this date (inclusive, YYYY-MM-DD format).
|
|
28
|
+
#
|
|
29
|
+
# @param request_options [MethodRuby::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
30
|
+
#
|
|
31
|
+
# @return [MethodRuby::Models::ManagedAccounts::TransactionListResponse]
|
|
32
|
+
#
|
|
33
|
+
# @see MethodRuby::Models::ManagedAccounts::TransactionListParams
|
|
34
|
+
def list(macc_id, params)
|
|
35
|
+
query_params = [:from_date, :page, :page_cursor, :page_limit, :to_date]
|
|
36
|
+
parsed, options = MethodRuby::ManagedAccounts::TransactionListParams.dump_request(params)
|
|
37
|
+
query = MethodRuby::Internal::Util.encode_query_params(parsed.slice(*query_params))
|
|
38
|
+
@client.request(
|
|
39
|
+
method: :get,
|
|
40
|
+
path: ["managed_accounts/%1$s/transactions", macc_id],
|
|
41
|
+
query: query,
|
|
42
|
+
headers: parsed.except(*query_params).transform_keys(method_version: "method-version"),
|
|
43
|
+
model: MethodRuby::Models::ManagedAccounts::TransactionListResponse,
|
|
44
|
+
security: {secret_key: true},
|
|
45
|
+
options: options
|
|
46
|
+
)
|
|
47
|
+
end
|
|
48
|
+
|
|
49
|
+
# @api private
|
|
50
|
+
#
|
|
51
|
+
# @param client [MethodRuby::Client]
|
|
52
|
+
def initialize(client:)
|
|
53
|
+
@client = client
|
|
54
|
+
end
|
|
55
|
+
end
|
|
56
|
+
end
|
|
57
|
+
end
|
|
58
|
+
end
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module MethodRuby
|
|
4
|
+
module Resources
|
|
5
|
+
# Method-managed accounts
|
|
6
|
+
class ManagedAccounts
|
|
7
|
+
# Method-managed accounts
|
|
8
|
+
# @return [MethodRuby::Resources::ManagedAccounts::Transactions]
|
|
9
|
+
attr_reader :transactions
|
|
10
|
+
|
|
11
|
+
# Some parameter documentations has been truncated, see
|
|
12
|
+
# {MethodRuby::Models::ManagedAccountRetrieveParams} for more details.
|
|
13
|
+
#
|
|
14
|
+
# Returns a single managed account by its identifier.
|
|
15
|
+
#
|
|
16
|
+
# @overload retrieve(macc_id, method_version:, request_options: {})
|
|
17
|
+
#
|
|
18
|
+
# @param macc_id [String] Unique identifier for the managed account.
|
|
19
|
+
#
|
|
20
|
+
# @param method_version [Symbol, MethodRuby::Models::ManagedAccountRetrieveParams::MethodVersion] API version to use for this request. This spec targets `2025-12-01`.
|
|
21
|
+
#
|
|
22
|
+
# @param request_options [MethodRuby::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
23
|
+
#
|
|
24
|
+
# @return [MethodRuby::Models::ManagedAccountRetrieveResponse]
|
|
25
|
+
#
|
|
26
|
+
# @see MethodRuby::Models::ManagedAccountRetrieveParams
|
|
27
|
+
def retrieve(macc_id, params)
|
|
28
|
+
parsed, options = MethodRuby::ManagedAccountRetrieveParams.dump_request(params)
|
|
29
|
+
@client.request(
|
|
30
|
+
method: :get,
|
|
31
|
+
path: ["managed_accounts/%1$s", macc_id],
|
|
32
|
+
headers: parsed.transform_keys(method_version: "method-version"),
|
|
33
|
+
model: MethodRuby::Models::ManagedAccountRetrieveResponse,
|
|
34
|
+
security: {secret_key: true},
|
|
35
|
+
options: options
|
|
36
|
+
)
|
|
37
|
+
end
|
|
38
|
+
|
|
39
|
+
# Some parameter documentations has been truncated, see
|
|
40
|
+
# {MethodRuby::Models::ManagedAccountListParams} for more details.
|
|
41
|
+
#
|
|
42
|
+
# Returns all managed accounts for the team.
|
|
43
|
+
#
|
|
44
|
+
# @overload list(method_version:, request_options: {})
|
|
45
|
+
#
|
|
46
|
+
# @param method_version [Symbol, MethodRuby::Models::ManagedAccountListParams::MethodVersion] API version to use for this request. This spec targets `2025-12-01`.
|
|
47
|
+
#
|
|
48
|
+
# @param request_options [MethodRuby::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
49
|
+
#
|
|
50
|
+
# @return [MethodRuby::Models::ManagedAccountListResponse]
|
|
51
|
+
#
|
|
52
|
+
# @see MethodRuby::Models::ManagedAccountListParams
|
|
53
|
+
def list(params)
|
|
54
|
+
parsed, options = MethodRuby::ManagedAccountListParams.dump_request(params)
|
|
55
|
+
@client.request(
|
|
56
|
+
method: :get,
|
|
57
|
+
path: "managed_accounts",
|
|
58
|
+
headers: parsed.transform_keys(method_version: "method-version"),
|
|
59
|
+
model: MethodRuby::Models::ManagedAccountListResponse,
|
|
60
|
+
security: {secret_key: true},
|
|
61
|
+
options: options
|
|
62
|
+
)
|
|
63
|
+
end
|
|
64
|
+
|
|
65
|
+
# @api private
|
|
66
|
+
#
|
|
67
|
+
# @param client [MethodRuby::Client]
|
|
68
|
+
def initialize(client:)
|
|
69
|
+
@client = client
|
|
70
|
+
@transactions = MethodRuby::Resources::ManagedAccounts::Transactions.new(client: client)
|
|
71
|
+
end
|
|
72
|
+
end
|
|
73
|
+
end
|
|
74
|
+
end
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module MethodRuby
|
|
4
|
+
module Resources
|
|
5
|
+
# Merchant directory
|
|
6
|
+
class Merchants
|
|
7
|
+
# Some parameter documentations has been truncated, see
|
|
8
|
+
# {MethodRuby::Models::MerchantRetrieveParams} for more details.
|
|
9
|
+
#
|
|
10
|
+
# Returns a single merchant by its identifier.
|
|
11
|
+
#
|
|
12
|
+
# @overload retrieve(mch_id, method_version:, request_options: {})
|
|
13
|
+
#
|
|
14
|
+
# @param mch_id [String] Unique identifier for the merchant.
|
|
15
|
+
#
|
|
16
|
+
# @param method_version [Symbol, MethodRuby::Models::MerchantRetrieveParams::MethodVersion] API version to use for this request. This spec targets `2025-12-01`.
|
|
17
|
+
#
|
|
18
|
+
# @param request_options [MethodRuby::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
19
|
+
#
|
|
20
|
+
# @return [MethodRuby::Models::MerchantRetrieveResponse]
|
|
21
|
+
#
|
|
22
|
+
# @see MethodRuby::Models::MerchantRetrieveParams
|
|
23
|
+
def retrieve(mch_id, params)
|
|
24
|
+
parsed, options = MethodRuby::MerchantRetrieveParams.dump_request(params)
|
|
25
|
+
@client.request(
|
|
26
|
+
method: :get,
|
|
27
|
+
path: ["merchants/%1$s", mch_id],
|
|
28
|
+
headers: parsed.transform_keys(method_version: "method-version"),
|
|
29
|
+
model: MethodRuby::Models::MerchantRetrieveResponse,
|
|
30
|
+
security: {secret_key: true},
|
|
31
|
+
options: options
|
|
32
|
+
)
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
# Some parameter documentations has been truncated, see
|
|
36
|
+
# {MethodRuby::Models::MerchantListParams} for more details.
|
|
37
|
+
#
|
|
38
|
+
# Returns a list of merchants from the Method merchant directory.
|
|
39
|
+
#
|
|
40
|
+
# @overload list(method_version:, name: nil, type: nil, request_options: {})
|
|
41
|
+
#
|
|
42
|
+
# @param method_version [Symbol, MethodRuby::Models::MerchantListParams::MethodVersion] Header param: API version to use for this request. This spec targets `2025-12-01
|
|
43
|
+
#
|
|
44
|
+
# @param name [String] Query param: Search merchants by name.
|
|
45
|
+
#
|
|
46
|
+
# @param type [Symbol, MethodRuby::Models::MerchantListParams::Type] Query param: Filter merchants by account type.
|
|
47
|
+
#
|
|
48
|
+
# @param request_options [MethodRuby::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
49
|
+
#
|
|
50
|
+
# @return [MethodRuby::Models::MerchantListResponse]
|
|
51
|
+
#
|
|
52
|
+
# @see MethodRuby::Models::MerchantListParams
|
|
53
|
+
def list(params)
|
|
54
|
+
query_params = [:name, :type]
|
|
55
|
+
parsed, options = MethodRuby::MerchantListParams.dump_request(params)
|
|
56
|
+
query = MethodRuby::Internal::Util.encode_query_params(parsed.slice(*query_params))
|
|
57
|
+
@client.request(
|
|
58
|
+
method: :get,
|
|
59
|
+
path: "merchants",
|
|
60
|
+
query: query,
|
|
61
|
+
headers: parsed.except(*query_params).transform_keys(method_version: "method-version"),
|
|
62
|
+
model: MethodRuby::Models::MerchantListResponse,
|
|
63
|
+
security: {secret_key: true},
|
|
64
|
+
options: options
|
|
65
|
+
)
|
|
66
|
+
end
|
|
67
|
+
|
|
68
|
+
# @api private
|
|
69
|
+
#
|
|
70
|
+
# @param client [MethodRuby::Client]
|
|
71
|
+
def initialize(client:)
|
|
72
|
+
@client = client
|
|
73
|
+
end
|
|
74
|
+
end
|
|
75
|
+
end
|
|
76
|
+
end
|