method-ruby 0.1.0 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +43 -0
- data/README.md +19 -18
- data/lib/method_ruby/client.rb +99 -9
- data/lib/method_ruby/internal/transport/base_client.rb +3 -3
- data/lib/method_ruby/internal/type/union.rb +11 -0
- data/lib/method_ruby/internal/util.rb +22 -7
- data/lib/method_ruby/models/account_create_params.rb +442 -0
- data/lib/method_ruby/models/account_create_response.rb +14382 -0
- data/lib/method_ruby/models/account_list_params.rb +259 -0
- data/lib/method_ruby/models/account_list_response.rb +31 -0
- data/lib/method_ruby/models/account_retrieve_params.rb +68 -0
- data/lib/method_ruby/models/account_retrieve_response.rb +14385 -0
- data/lib/method_ruby/models/account_update_params.rb +155 -0
- data/lib/method_ruby/models/account_update_response.rb +28 -0
- data/lib/method_ruby/models/accounts/attribute_create_params.rb +43 -0
- data/lib/method_ruby/models/accounts/attribute_create_response.rb +34 -0
- data/lib/method_ruby/models/accounts/attribute_list_params.rb +67 -0
- data/lib/method_ruby/models/accounts/attribute_list_response.rb +33 -0
- data/lib/method_ruby/models/accounts/attribute_retrieve_params.rb +43 -0
- data/lib/method_ruby/models/accounts/attribute_retrieve_response.rb +34 -0
- data/lib/method_ruby/models/accounts/balance_create_params.rb +43 -0
- data/lib/method_ruby/models/accounts/balance_create_response.rb +34 -0
- data/lib/method_ruby/models/accounts/balance_list_params.rb +67 -0
- data/lib/method_ruby/models/accounts/balance_list_response.rb +33 -0
- data/lib/method_ruby/models/accounts/balance_retrieve_params.rb +43 -0
- data/lib/method_ruby/models/accounts/balance_retrieve_response.rb +34 -0
- data/lib/method_ruby/models/accounts/card_brand_create_params.rb +43 -0
- data/lib/method_ruby/models/accounts/card_brand_create_response.rb +34 -0
- data/lib/method_ruby/models/accounts/card_brand_list_params.rb +67 -0
- data/lib/method_ruby/models/accounts/card_brand_list_response.rb +33 -0
- data/lib/method_ruby/models/accounts/card_brand_retrieve_params.rb +43 -0
- data/lib/method_ruby/models/accounts/card_brand_retrieve_response.rb +34 -0
- data/lib/method_ruby/models/accounts/consent_withdraw_params.rb +72 -0
- data/lib/method_ruby/models/accounts/consent_withdraw_response.rb +14396 -0
- data/lib/method_ruby/models/accounts/payment_instrument_create_params.rb +66 -0
- data/lib/method_ruby/models/accounts/payment_instrument_create_response.rb +34 -0
- data/lib/method_ruby/models/accounts/payment_instrument_delete_params.rb +49 -0
- data/lib/method_ruby/models/accounts/payment_instrument_delete_response.rb +34 -0
- data/lib/method_ruby/models/accounts/payment_instrument_list_params.rb +67 -0
- data/lib/method_ruby/models/accounts/payment_instrument_list_response.rb +33 -0
- data/lib/method_ruby/models/accounts/payment_instrument_retrieve_params.rb +44 -0
- data/lib/method_ruby/models/accounts/payment_instrument_retrieve_response.rb +34 -0
- data/lib/method_ruby/models/accounts/payoff_create_params.rb +43 -0
- data/lib/method_ruby/models/accounts/payoff_create_response.rb +34 -0
- data/lib/method_ruby/models/accounts/payoff_list_params.rb +67 -0
- data/lib/method_ruby/models/accounts/payoff_list_response.rb +33 -0
- data/lib/method_ruby/models/accounts/payoff_retrieve_params.rb +43 -0
- data/lib/method_ruby/models/accounts/payoff_retrieve_response.rb +34 -0
- data/lib/method_ruby/models/accounts/product_list_params.rb +37 -0
- data/lib/method_ruby/models/accounts/product_list_response.rb +34 -0
- data/lib/method_ruby/models/accounts/product_retrieve_params.rb +43 -0
- data/lib/method_ruby/models/accounts/product_retrieve_response.rb +34 -0
- data/lib/method_ruby/models/accounts/sensitive_create_params.rb +54 -0
- data/lib/method_ruby/models/accounts/sensitive_create_response.rb +34 -0
- data/lib/method_ruby/models/accounts/sensitive_list_params.rb +67 -0
- data/lib/method_ruby/models/accounts/sensitive_list_response.rb +33 -0
- data/lib/method_ruby/models/accounts/sensitive_retrieve_params.rb +43 -0
- data/lib/method_ruby/models/accounts/sensitive_retrieve_response.rb +34 -0
- data/lib/method_ruby/models/accounts/subscription_create_params.rb +54 -0
- data/lib/method_ruby/models/accounts/subscription_create_response.rb +34 -0
- data/lib/method_ruby/models/accounts/subscription_delete_params.rb +49 -0
- data/lib/method_ruby/models/accounts/subscription_delete_response.rb +34 -0
- data/lib/method_ruby/models/accounts/subscription_list_params.rb +37 -0
- data/lib/method_ruby/models/accounts/subscription_list_response.rb +34 -0
- data/lib/method_ruby/models/accounts/subscription_retrieve_params.rb +43 -0
- data/lib/method_ruby/models/accounts/subscription_retrieve_response.rb +34 -0
- data/lib/method_ruby/models/accounts/transaction_list_params.rb +83 -0
- data/lib/method_ruby/models/accounts/transaction_list_response.rb +33 -0
- data/lib/method_ruby/models/accounts/transaction_retrieve_params.rb +43 -0
- data/lib/method_ruby/models/accounts/transaction_retrieve_response.rb +34 -0
- data/lib/method_ruby/models/accounts/update_create_params.rb +43 -0
- data/lib/method_ruby/models/accounts/update_create_response.rb +34 -0
- data/lib/method_ruby/models/accounts/update_list_params.rb +67 -0
- data/lib/method_ruby/models/accounts/update_list_response.rb +33 -0
- data/lib/method_ruby/models/accounts/update_retrieve_params.rb +43 -0
- data/lib/method_ruby/models/accounts/update_retrieve_response.rb +34 -0
- data/lib/method_ruby/models/accounts/verification_session_create_params.rb +76 -0
- data/lib/method_ruby/models/accounts/verification_session_create_response.rb +34 -0
- data/lib/method_ruby/models/accounts/verification_session_list_params.rb +67 -0
- data/lib/method_ruby/models/accounts/verification_session_list_response.rb +33 -0
- data/lib/method_ruby/models/accounts/verification_session_retrieve_params.rb +44 -0
- data/lib/method_ruby/models/accounts/verification_session_retrieve_response.rb +34 -0
- data/lib/method_ruby/models/accounts/verification_session_update_params.rb +310 -0
- data/lib/method_ruby/models/accounts/verification_session_update_response.rb +34 -0
- data/lib/method_ruby/models/accounts/verification_sessions/amount_retrieve_params.rb +46 -0
- data/lib/method_ruby/models/accounts/verification_sessions/amount_retrieve_response.rb +35 -0
- data/lib/method_ruby/models/address.rb +12 -7
- data/lib/method_ruby/models/card_product_retrieve_params.rb +35 -0
- data/lib/method_ruby/models/card_product_retrieve_response.rb +32 -0
- data/lib/method_ruby/models/entities/attribute_create_params.rb +54 -0
- data/lib/method_ruby/models/entities/attribute_create_response.rb +33 -0
- data/lib/method_ruby/models/entities/attribute_list_params.rb +83 -0
- data/lib/method_ruby/models/entities/attribute_list_response.rb +33 -0
- data/lib/method_ruby/models/entities/attribute_retrieve_params.rb +43 -0
- data/lib/method_ruby/models/entities/attribute_retrieve_response.rb +33 -0
- data/lib/method_ruby/models/entities/connect_create_params.rb +94 -0
- data/lib/method_ruby/models/entities/connect_create_response.rb +33 -0
- data/lib/method_ruby/models/entities/connect_list_params.rb +112 -0
- data/lib/method_ruby/models/entities/connect_list_response.rb +33 -0
- data/lib/method_ruby/models/entities/connect_retrieve_params.rb +78 -0
- data/lib/method_ruby/models/entities/connect_retrieve_response.rb +33 -0
- data/lib/method_ruby/models/entities/consent_withdraw_params.rb +73 -0
- data/lib/method_ruby/models/entities/consent_withdraw_response.rb +34 -0
- data/lib/method_ruby/models/entities/credit_score_create_params.rb +43 -0
- data/lib/method_ruby/models/entities/credit_score_create_response.rb +33 -0
- data/lib/method_ruby/models/entities/credit_score_list_params.rb +83 -0
- data/lib/method_ruby/models/entities/credit_score_list_response.rb +33 -0
- data/lib/method_ruby/models/entities/credit_score_retrieve_params.rb +43 -0
- data/lib/method_ruby/models/entities/credit_score_retrieve_response.rb +33 -0
- data/lib/method_ruby/models/entities/identity_create_params.rb +43 -0
- data/lib/method_ruby/models/entities/identity_create_response.rb +33 -0
- data/lib/method_ruby/models/entities/identity_list_params.rb +83 -0
- data/lib/method_ruby/models/entities/identity_list_response.rb +33 -0
- data/lib/method_ruby/models/entities/identity_retrieve_params.rb +43 -0
- data/lib/method_ruby/models/entities/identity_retrieve_response.rb +33 -0
- data/lib/method_ruby/models/entities/manual_connect_create_params.rb +292 -0
- data/lib/method_ruby/models/entities/manual_connect_create_response.rb +33 -0
- data/lib/method_ruby/models/entities/manual_connect_retrieve_params.rb +43 -0
- data/lib/method_ruby/models/entities/manual_connect_retrieve_response.rb +33 -0
- data/lib/method_ruby/models/entities/product_list_params.rb +37 -0
- data/lib/method_ruby/models/entities/product_list_response.rb +34 -0
- data/lib/method_ruby/models/entities/product_retrieve_params.rb +43 -0
- data/lib/method_ruby/models/entities/product_retrieve_response.rb +33 -0
- data/lib/method_ruby/models/entities/subscription_create_params.rb +101 -0
- data/lib/method_ruby/models/entities/subscription_create_response.rb +33 -0
- data/lib/method_ruby/models/entities/subscription_delete_params.rb +49 -0
- data/lib/method_ruby/models/entities/subscription_delete_response.rb +33 -0
- data/lib/method_ruby/models/entities/subscription_list_params.rb +37 -0
- data/lib/method_ruby/models/entities/subscription_list_response.rb +34 -0
- data/lib/method_ruby/models/entities/subscription_retrieve_params.rb +43 -0
- data/lib/method_ruby/models/entities/subscription_retrieve_response.rb +33 -0
- data/lib/method_ruby/models/entities/vehicle_create_params.rb +54 -0
- data/lib/method_ruby/models/entities/vehicle_create_response.rb +33 -0
- data/lib/method_ruby/models/entities/vehicle_list_params.rb +37 -0
- data/lib/method_ruby/models/entities/vehicle_list_response.rb +33 -0
- data/lib/method_ruby/models/entities/vehicle_retrieve_params.rb +43 -0
- data/lib/method_ruby/models/entities/vehicle_retrieve_response.rb +33 -0
- data/lib/method_ruby/models/entities/verification_session_create_params.rb +145 -0
- data/lib/method_ruby/models/entities/verification_session_create_response.rb +33 -0
- data/lib/method_ruby/models/entities/verification_session_list_params.rb +83 -0
- data/lib/method_ruby/models/entities/verification_session_list_response.rb +33 -0
- data/lib/method_ruby/models/entities/verification_session_retrieve_params.rb +44 -0
- data/lib/method_ruby/models/entities/verification_session_retrieve_response.rb +33 -0
- data/lib/method_ruby/models/entities/verification_session_update_params.rb +158 -0
- data/lib/method_ruby/models/entities/verification_session_update_response.rb +33 -0
- data/lib/method_ruby/models/entity.rb +16944 -90
- data/lib/method_ruby/models/entity_corporation.rb +16 -7
- data/lib/method_ruby/models/entity_corporation_owner.rb +17 -6
- data/lib/method_ruby/models/entity_create_params.rb +82 -43
- data/lib/method_ruby/models/entity_create_response.rb +17 -17
- data/lib/method_ruby/models/entity_individual.rb +33 -8
- data/lib/method_ruby/models/entity_list_params.rb +94 -11
- data/lib/method_ruby/models/entity_list_response.rb +16 -17
- data/lib/method_ruby/models/entity_retrieve_params.rb +35 -8
- data/lib/method_ruby/models/entity_retrieve_response.rb +17 -17
- data/lib/method_ruby/models/entity_update_params.rb +114 -21
- data/lib/method_ruby/models/entity_update_response.rb +17 -17
- data/lib/method_ruby/models/event_list_params.rb +82 -0
- data/lib/method_ruby/models/event_list_response.rb +31 -0
- data/lib/method_ruby/models/event_retrieve_params.rb +35 -0
- data/lib/method_ruby/models/event_retrieve_response.rb +31 -0
- data/lib/method_ruby/models/forwarding_request_create_params.rb +99 -0
- data/lib/method_ruby/models/forwarding_request_create_response.rb +31 -0
- data/lib/method_ruby/models/forwarding_request_retrieve_params.rb +35 -0
- data/lib/method_ruby/models/forwarding_request_retrieve_response.rb +31 -0
- data/lib/method_ruby/models/managed_account_list_params.rb +29 -0
- data/lib/method_ruby/models/managed_account_list_response.rb +31 -0
- data/lib/method_ruby/models/managed_account_retrieve_params.rb +35 -0
- data/lib/method_ruby/models/managed_account_retrieve_response.rb +36 -0
- data/lib/method_ruby/models/managed_accounts/transaction_list_params.rb +83 -0
- data/lib/method_ruby/models/managed_accounts/transaction_list_response.rb +33 -0
- data/lib/method_ruby/models/merchant_list_params.rb +76 -0
- data/lib/method_ruby/models/merchant_list_response.rb +31 -0
- data/lib/method_ruby/models/merchant_retrieve_params.rb +35 -0
- data/lib/method_ruby/models/merchant_retrieve_response.rb +31 -0
- data/lib/method_ruby/models/payment_create_params.rb +134 -0
- data/lib/method_ruby/models/payment_create_response.rb +32 -0
- data/lib/method_ruby/models/payment_delete_params.rb +41 -0
- data/lib/method_ruby/models/payment_delete_response.rb +32 -0
- data/lib/method_ruby/models/payment_list_params.rb +196 -0
- data/lib/method_ruby/models/payment_list_response.rb +31 -0
- data/lib/method_ruby/models/payment_retrieve_params.rb +62 -0
- data/lib/method_ruby/models/payment_retrieve_response.rb +32 -0
- data/lib/method_ruby/models/payments/reversal_list_params.rb +37 -0
- data/lib/method_ruby/models/payments/reversal_list_response.rb +33 -0
- data/lib/method_ruby/models/payments/reversal_retrieve_params.rb +43 -0
- data/lib/method_ruby/models/payments/reversal_retrieve_response.rb +34 -0
- data/lib/method_ruby/models/payments/reversal_update_params.rb +61 -0
- data/lib/method_ruby/models/payments/reversal_update_response.rb +34 -0
- data/lib/method_ruby/models/ping_check_params.rb +16 -1
- data/lib/method_ruby/models/ping_check_response.rb +19 -27
- data/lib/method_ruby/models/report_create_params.rb +67 -0
- data/lib/method_ruby/models/report_create_response.rb +36 -0
- data/lib/method_ruby/models/report_retrieve_params.rb +35 -0
- data/lib/method_ruby/models/report_retrieve_response.rb +36 -0
- data/lib/method_ruby/models/reports/download_retrieve_params.rb +37 -0
- data/lib/method_ruby/models/reports/download_retrieve_response.rb +9 -0
- data/lib/method_ruby/models/resource_error.rb +11 -11
- data/lib/method_ruby/models/secret_create_params.rb +53 -0
- data/lib/method_ruby/models/secret_create_response.rb +31 -0
- data/lib/method_ruby/models/secret_delete_params.rb +41 -0
- data/lib/method_ruby/models/secret_delete_response.rb +28 -0
- data/lib/method_ruby/models/secret_list_params.rb +58 -0
- data/lib/method_ruby/models/secret_list_response.rb +31 -0
- data/lib/method_ruby/models/secret_retrieve_params.rb +35 -0
- data/lib/method_ruby/models/secret_retrieve_response.rb +31 -0
- data/lib/method_ruby/models/simulate/accounts/card_brand_create_params.rb +40 -0
- data/lib/method_ruby/models/simulate/accounts/card_brand_create_response.rb +36 -0
- data/lib/method_ruby/models/simulate/accounts/transaction_create_params.rb +66 -0
- data/lib/method_ruby/models/simulate/accounts/transaction_create_response.rb +36 -0
- data/lib/method_ruby/models/simulate/accounts/verification_sessions/amount_retrieve_params.rb +48 -0
- data/lib/method_ruby/models/simulate/accounts/verification_sessions/amount_retrieve_response.rb +37 -0
- data/lib/method_ruby/models/simulate/entities/attribute_create_params.rb +40 -0
- data/lib/method_ruby/models/simulate/entities/attribute_create_response.rb +35 -0
- data/lib/method_ruby/models/simulate/entities/connect_create_params.rb +39 -0
- data/lib/method_ruby/models/simulate/entities/connect_create_response.rb +35 -0
- data/lib/method_ruby/models/simulate/entities/credit_score_create_params.rb +65 -0
- data/lib/method_ruby/models/simulate/entities/credit_score_create_response.rb +35 -0
- data/lib/method_ruby/models/simulate/event_create_params.rb +48 -0
- data/lib/method_ruby/models/simulate/event_create_response.rb +33 -0
- data/lib/method_ruby/models/simulate/payment_create_params.rb +59 -0
- data/lib/method_ruby/models/simulate/payment_create_response.rb +34 -0
- data/lib/method_ruby/models/simulate/payments/payment_instrument_create_params.rb +50 -0
- data/lib/method_ruby/models/simulate/payments/payment_instrument_create_response.rb +36 -0
- data/lib/method_ruby/models/team_create_params.rb +45 -0
- data/lib/method_ruby/models/team_create_response.rb +32 -0
- data/lib/method_ruby/models/team_list_params.rb +29 -0
- data/lib/method_ruby/models/team_list_response.rb +32 -0
- data/lib/method_ruby/models/teams/default_encryption_key_create_params.rb +47 -0
- data/lib/method_ruby/models/teams/default_encryption_key_create_response.rb +34 -0
- data/lib/method_ruby/models/teams/mle/public_key_create_params.rb +49 -0
- data/lib/method_ruby/models/teams/mle/public_key_create_response.rb +36 -0
- data/lib/method_ruby/models/teams/mle/public_key_delete_params.rb +45 -0
- data/lib/method_ruby/models/teams/mle/public_key_delete_response.rb +36 -0
- data/lib/method_ruby/models/teams/mle/public_key_list_params.rb +33 -0
- data/lib/method_ruby/models/teams/mle/public_key_list_response.rb +35 -0
- data/lib/method_ruby/models/teams/mle/public_key_retrieve_params.rb +39 -0
- data/lib/method_ruby/models/teams/mle/public_key_retrieve_response.rb +36 -0
- data/lib/method_ruby/models/teams/mle_jwks_params.rb +16 -0
- data/lib/method_ruby/models/teams/mle_jwks_response.rb +70 -0
- data/lib/method_ruby/models/teams/mle_retrieve_method_key_params.rb +22 -0
- data/lib/method_ruby/models/teams/mle_retrieve_method_key_response.rb +33 -0
- data/lib/method_ruby/models/webhook_create_params.rb +203 -0
- data/lib/method_ruby/models/webhook_create_response.rb +31 -0
- data/lib/method_ruby/models/webhook_delete_params.rb +41 -0
- data/lib/method_ruby/models/webhook_delete_response.rb +31 -0
- data/lib/method_ruby/models/webhook_list_params.rb +29 -0
- data/lib/method_ruby/models/webhook_list_response.rb +31 -0
- data/lib/method_ruby/models/webhook_retrieve_params.rb +35 -0
- data/lib/method_ruby/models/webhook_retrieve_response.rb +31 -0
- data/lib/method_ruby/models/webhook_update_params.rb +59 -0
- data/lib/method_ruby/models/webhook_update_response.rb +31 -0
- data/lib/method_ruby/models.rb +74 -0
- data/lib/method_ruby/resources/accounts/attributes.rb +121 -0
- data/lib/method_ruby/resources/accounts/balances.rb +122 -0
- data/lib/method_ruby/resources/accounts/card_brands.rb +121 -0
- data/lib/method_ruby/resources/accounts/consent.rb +53 -0
- data/lib/method_ruby/resources/accounts/payment_instruments.rb +163 -0
- data/lib/method_ruby/resources/accounts/payoffs.rb +122 -0
- data/lib/method_ruby/resources/accounts/products.rb +79 -0
- data/lib/method_ruby/resources/accounts/sensitive.rb +122 -0
- data/lib/method_ruby/resources/accounts/subscriptions.rb +152 -0
- data/lib/method_ruby/resources/accounts/transactions.rb +93 -0
- data/lib/method_ruby/resources/accounts/updates.rb +121 -0
- data/lib/method_ruby/resources/accounts/verification_sessions/amounts.rb +54 -0
- data/lib/method_ruby/resources/accounts/verification_sessions.rb +185 -0
- data/lib/method_ruby/resources/accounts.rb +251 -0
- data/lib/method_ruby/resources/card_products.rb +44 -0
- data/lib/method_ruby/resources/entities/attributes.rb +126 -0
- data/lib/method_ruby/resources/entities/connect.rb +140 -0
- data/lib/method_ruby/resources/entities/consent.rb +53 -0
- data/lib/method_ruby/resources/entities/credit_scores.rb +125 -0
- data/lib/method_ruby/resources/entities/identities.rb +125 -0
- data/lib/method_ruby/resources/entities/manual_connect.rb +87 -0
- data/lib/method_ruby/resources/entities/products.rb +79 -0
- data/lib/method_ruby/resources/entities/subscriptions.rb +154 -0
- data/lib/method_ruby/resources/entities/vehicles.rb +115 -0
- data/lib/method_ruby/resources/entities/verification_sessions.rb +191 -0
- data/lib/method_ruby/resources/entities.rb +126 -38
- data/lib/method_ruby/resources/events.rb +84 -0
- data/lib/method_ruby/resources/forwarding_requests.rb +91 -0
- data/lib/method_ruby/resources/managed_accounts/transactions.rb +58 -0
- data/lib/method_ruby/resources/managed_accounts.rb +74 -0
- data/lib/method_ruby/resources/merchants.rb +76 -0
- data/lib/method_ruby/resources/payments/reversals.rb +119 -0
- data/lib/method_ruby/resources/payments.rb +211 -0
- data/lib/method_ruby/resources/ping.rb +13 -6
- data/lib/method_ruby/resources/reports/download.rb +45 -0
- data/lib/method_ruby/resources/reports.rb +82 -0
- data/lib/method_ruby/resources/secrets.rb +145 -0
- data/lib/method_ruby/resources/simulate/accounts/card_brands.rb +52 -0
- data/lib/method_ruby/resources/simulate/accounts/transactions.rb +60 -0
- data/lib/method_ruby/resources/simulate/accounts/verification_sessions/amounts.rb +62 -0
- data/lib/method_ruby/resources/simulate/accounts/verification_sessions.rb +23 -0
- data/lib/method_ruby/resources/simulate/accounts.rb +31 -0
- data/lib/method_ruby/resources/simulate/entities/attributes.rb +52 -0
- data/lib/method_ruby/resources/simulate/entities/connect.rb +51 -0
- data/lib/method_ruby/resources/simulate/entities/credit_scores.rb +64 -0
- data/lib/method_ruby/resources/simulate/entities.rb +31 -0
- data/lib/method_ruby/resources/simulate/events.rb +53 -0
- data/lib/method_ruby/resources/simulate/payments/payment_instruments.rb +56 -0
- data/lib/method_ruby/resources/simulate/payments.rb +60 -0
- data/lib/method_ruby/resources/simulate.rb +32 -0
- data/lib/method_ruby/resources/teams/default_encryption_key.rb +50 -0
- data/lib/method_ruby/resources/teams/mle/public_keys.rb +138 -0
- data/lib/method_ruby/resources/teams/mle.rb +62 -0
- data/lib/method_ruby/resources/teams.rb +83 -0
- data/lib/method_ruby/resources/webhooks.rb +178 -0
- data/lib/method_ruby/version.rb +1 -1
- data/lib/method_ruby.rb +283 -0
- data/rbi/method_ruby/client.rbi +72 -8
- data/rbi/method_ruby/internal/transport/base_client.rbi +10 -4
- data/rbi/method_ruby/internal/util.rbi +8 -0
- data/rbi/method_ruby/models/account_create_params.rbi +962 -0
- data/rbi/method_ruby/models/account_create_response.rbi +28236 -0
- data/rbi/method_ruby/models/account_list_params.rbi +585 -0
- data/rbi/method_ruby/models/account_list_response.rbi +48 -0
- data/rbi/method_ruby/models/account_retrieve_params.rbi +173 -0
- data/rbi/method_ruby/models/account_retrieve_response.rbi +28240 -0
- data/rbi/method_ruby/models/account_update_params.rbi +317 -0
- data/rbi/method_ruby/models/account_update_response.rbi +42 -0
- data/rbi/method_ruby/models/accounts/attribute_create_params.rbi +96 -0
- data/rbi/method_ruby/models/accounts/attribute_create_response.rbi +56 -0
- data/rbi/method_ruby/models/accounts/attribute_list_params.rbi +122 -0
- data/rbi/method_ruby/models/accounts/attribute_list_response.rbi +54 -0
- data/rbi/method_ruby/models/accounts/attribute_retrieve_params.rbi +93 -0
- data/rbi/method_ruby/models/accounts/attribute_retrieve_response.rbi +56 -0
- data/rbi/method_ruby/models/accounts/balance_create_params.rbi +96 -0
- data/rbi/method_ruby/models/accounts/balance_create_response.rbi +56 -0
- data/rbi/method_ruby/models/accounts/balance_list_params.rbi +122 -0
- data/rbi/method_ruby/models/accounts/balance_list_response.rbi +54 -0
- data/rbi/method_ruby/models/accounts/balance_retrieve_params.rbi +88 -0
- data/rbi/method_ruby/models/accounts/balance_retrieve_response.rbi +56 -0
- data/rbi/method_ruby/models/accounts/card_brand_create_params.rbi +96 -0
- data/rbi/method_ruby/models/accounts/card_brand_create_response.rbi +56 -0
- data/rbi/method_ruby/models/accounts/card_brand_list_params.rbi +122 -0
- data/rbi/method_ruby/models/accounts/card_brand_list_response.rbi +54 -0
- data/rbi/method_ruby/models/accounts/card_brand_retrieve_params.rbi +93 -0
- data/rbi/method_ruby/models/accounts/card_brand_retrieve_response.rbi +56 -0
- data/rbi/method_ruby/models/accounts/consent_withdraw_params.rbi +144 -0
- data/rbi/method_ruby/models/accounts/consent_withdraw_response.rbi +28313 -0
- data/rbi/method_ruby/models/accounts/payment_instrument_create_params.rbi +150 -0
- data/rbi/method_ruby/models/accounts/payment_instrument_create_response.rbi +56 -0
- data/rbi/method_ruby/models/accounts/payment_instrument_delete_params.rbi +102 -0
- data/rbi/method_ruby/models/accounts/payment_instrument_delete_response.rbi +56 -0
- data/rbi/method_ruby/models/accounts/payment_instrument_list_params.rbi +122 -0
- data/rbi/method_ruby/models/accounts/payment_instrument_list_response.rbi +54 -0
- data/rbi/method_ruby/models/accounts/payment_instrument_retrieve_params.rbi +93 -0
- data/rbi/method_ruby/models/accounts/payment_instrument_retrieve_response.rbi +56 -0
- data/rbi/method_ruby/models/accounts/payoff_create_params.rbi +96 -0
- data/rbi/method_ruby/models/accounts/payoff_create_response.rbi +56 -0
- data/rbi/method_ruby/models/accounts/payoff_list_params.rbi +122 -0
- data/rbi/method_ruby/models/accounts/payoff_list_response.rbi +54 -0
- data/rbi/method_ruby/models/accounts/payoff_retrieve_params.rbi +88 -0
- data/rbi/method_ruby/models/accounts/payoff_retrieve_response.rbi +56 -0
- data/rbi/method_ruby/models/accounts/product_list_params.rbi +83 -0
- data/rbi/method_ruby/models/accounts/product_list_response.rbi +56 -0
- data/rbi/method_ruby/models/accounts/product_retrieve_params.rbi +88 -0
- data/rbi/method_ruby/models/accounts/product_retrieve_response.rbi +56 -0
- data/rbi/method_ruby/models/accounts/sensitive_create_params.rbi +104 -0
- data/rbi/method_ruby/models/accounts/sensitive_create_response.rbi +56 -0
- data/rbi/method_ruby/models/accounts/sensitive_list_params.rbi +122 -0
- data/rbi/method_ruby/models/accounts/sensitive_list_response.rbi +54 -0
- data/rbi/method_ruby/models/accounts/sensitive_retrieve_params.rbi +93 -0
- data/rbi/method_ruby/models/accounts/sensitive_retrieve_response.rbi +56 -0
- data/rbi/method_ruby/models/accounts/subscription_create_params.rbi +104 -0
- data/rbi/method_ruby/models/accounts/subscription_create_response.rbi +56 -0
- data/rbi/method_ruby/models/accounts/subscription_delete_params.rbi +102 -0
- data/rbi/method_ruby/models/accounts/subscription_delete_response.rbi +56 -0
- data/rbi/method_ruby/models/accounts/subscription_list_params.rbi +83 -0
- data/rbi/method_ruby/models/accounts/subscription_list_response.rbi +56 -0
- data/rbi/method_ruby/models/accounts/subscription_retrieve_params.rbi +88 -0
- data/rbi/method_ruby/models/accounts/subscription_retrieve_response.rbi +56 -0
- data/rbi/method_ruby/models/accounts/transaction_list_params.rbi +144 -0
- data/rbi/method_ruby/models/accounts/transaction_list_response.rbi +54 -0
- data/rbi/method_ruby/models/accounts/transaction_retrieve_params.rbi +93 -0
- data/rbi/method_ruby/models/accounts/transaction_retrieve_response.rbi +56 -0
- data/rbi/method_ruby/models/accounts/update_create_params.rbi +96 -0
- data/rbi/method_ruby/models/accounts/update_create_response.rbi +56 -0
- data/rbi/method_ruby/models/accounts/update_list_params.rbi +122 -0
- data/rbi/method_ruby/models/accounts/update_list_response.rbi +54 -0
- data/rbi/method_ruby/models/accounts/update_retrieve_params.rbi +93 -0
- data/rbi/method_ruby/models/accounts/update_retrieve_response.rbi +56 -0
- data/rbi/method_ruby/models/accounts/verification_session_create_params.rbi +195 -0
- data/rbi/method_ruby/models/accounts/verification_session_create_response.rbi +56 -0
- data/rbi/method_ruby/models/accounts/verification_session_list_params.rbi +122 -0
- data/rbi/method_ruby/models/accounts/verification_session_list_response.rbi +54 -0
- data/rbi/method_ruby/models/accounts/verification_session_retrieve_params.rbi +88 -0
- data/rbi/method_ruby/models/accounts/verification_session_retrieve_response.rbi +56 -0
- data/rbi/method_ruby/models/accounts/verification_session_update_params.rbi +689 -0
- data/rbi/method_ruby/models/accounts/verification_session_update_response.rbi +56 -0
- data/rbi/method_ruby/models/accounts/verification_sessions/amount_retrieve_params.rbi +95 -0
- data/rbi/method_ruby/models/accounts/verification_sessions/amount_retrieve_response.rbi +56 -0
- data/rbi/method_ruby/models/address.rbi +11 -4
- data/rbi/method_ruby/models/card_product_retrieve_params.rbi +76 -0
- data/rbi/method_ruby/models/card_product_retrieve_response.rbi +50 -0
- data/rbi/method_ruby/models/entities/attribute_create_params.rbi +107 -0
- data/rbi/method_ruby/models/entities/attribute_create_response.rbi +54 -0
- data/rbi/method_ruby/models/entities/attribute_list_params.rbi +144 -0
- data/rbi/method_ruby/models/entities/attribute_list_response.rbi +54 -0
- data/rbi/method_ruby/models/entities/attribute_retrieve_params.rbi +88 -0
- data/rbi/method_ruby/models/entities/attribute_retrieve_response.rbi +54 -0
- data/rbi/method_ruby/models/entities/connect_create_params.rbi +228 -0
- data/rbi/method_ruby/models/entities/connect_create_response.rbi +54 -0
- data/rbi/method_ruby/models/entities/connect_list_params.rbi +254 -0
- data/rbi/method_ruby/models/entities/connect_list_response.rbi +54 -0
- data/rbi/method_ruby/models/entities/connect_retrieve_params.rbi +203 -0
- data/rbi/method_ruby/models/entities/connect_retrieve_response.rbi +54 -0
- data/rbi/method_ruby/models/entities/consent_withdraw_params.rbi +149 -0
- data/rbi/method_ruby/models/entities/consent_withdraw_response.rbi +60 -0
- data/rbi/method_ruby/models/entities/credit_score_create_params.rbi +96 -0
- data/rbi/method_ruby/models/entities/credit_score_create_response.rbi +54 -0
- data/rbi/method_ruby/models/entities/credit_score_list_params.rbi +144 -0
- data/rbi/method_ruby/models/entities/credit_score_list_response.rbi +54 -0
- data/rbi/method_ruby/models/entities/credit_score_retrieve_params.rbi +88 -0
- data/rbi/method_ruby/models/entities/credit_score_retrieve_response.rbi +54 -0
- data/rbi/method_ruby/models/entities/identity_create_params.rbi +96 -0
- data/rbi/method_ruby/models/entities/identity_create_response.rbi +54 -0
- data/rbi/method_ruby/models/entities/identity_list_params.rbi +144 -0
- data/rbi/method_ruby/models/entities/identity_list_response.rbi +54 -0
- data/rbi/method_ruby/models/entities/identity_retrieve_params.rbi +88 -0
- data/rbi/method_ruby/models/entities/identity_retrieve_response.rbi +54 -0
- data/rbi/method_ruby/models/entities/manual_connect_create_params.rbi +440 -0
- data/rbi/method_ruby/models/entities/manual_connect_create_response.rbi +54 -0
- data/rbi/method_ruby/models/entities/manual_connect_retrieve_params.rbi +88 -0
- data/rbi/method_ruby/models/entities/manual_connect_retrieve_response.rbi +54 -0
- data/rbi/method_ruby/models/entities/product_list_params.rbi +83 -0
- data/rbi/method_ruby/models/entities/product_list_response.rbi +56 -0
- data/rbi/method_ruby/models/entities/product_retrieve_params.rbi +88 -0
- data/rbi/method_ruby/models/entities/product_retrieve_response.rbi +54 -0
- data/rbi/method_ruby/models/entities/subscription_create_params.rbi +263 -0
- data/rbi/method_ruby/models/entities/subscription_create_response.rbi +54 -0
- data/rbi/method_ruby/models/entities/subscription_delete_params.rbi +102 -0
- data/rbi/method_ruby/models/entities/subscription_delete_response.rbi +54 -0
- data/rbi/method_ruby/models/entities/subscription_list_params.rbi +83 -0
- data/rbi/method_ruby/models/entities/subscription_list_response.rbi +56 -0
- data/rbi/method_ruby/models/entities/subscription_retrieve_params.rbi +88 -0
- data/rbi/method_ruby/models/entities/subscription_retrieve_response.rbi +54 -0
- data/rbi/method_ruby/models/entities/vehicle_create_params.rbi +104 -0
- data/rbi/method_ruby/models/entities/vehicle_create_response.rbi +54 -0
- data/rbi/method_ruby/models/entities/vehicle_list_params.rbi +83 -0
- data/rbi/method_ruby/models/entities/vehicle_list_response.rbi +54 -0
- data/rbi/method_ruby/models/entities/vehicle_retrieve_params.rbi +88 -0
- data/rbi/method_ruby/models/entities/vehicle_retrieve_response.rbi +54 -0
- data/rbi/method_ruby/models/entities/verification_session_create_params.rbi +316 -0
- data/rbi/method_ruby/models/entities/verification_session_create_response.rbi +54 -0
- data/rbi/method_ruby/models/entities/verification_session_list_params.rbi +144 -0
- data/rbi/method_ruby/models/entities/verification_session_list_response.rbi +54 -0
- data/rbi/method_ruby/models/entities/verification_session_retrieve_params.rbi +88 -0
- data/rbi/method_ruby/models/entities/verification_session_retrieve_response.rbi +54 -0
- data/rbi/method_ruby/models/entities/verification_session_update_params.rbi +365 -0
- data/rbi/method_ruby/models/entities/verification_session_update_response.rbi +54 -0
- data/rbi/method_ruby/models/entity.rbi +32808 -112
- data/rbi/method_ruby/models/entity_corporation.rbi +24 -23
- data/rbi/method_ruby/models/entity_corporation_owner.rbi +12 -0
- data/rbi/method_ruby/models/entity_create_params.rbi +96 -53
- data/rbi/method_ruby/models/entity_create_response.rbi +25 -51
- data/rbi/method_ruby/models/entity_individual.rbi +34 -14
- data/rbi/method_ruby/models/entity_list_params.rbi +156 -25
- data/rbi/method_ruby/models/entity_list_response.rbi +17 -53
- data/rbi/method_ruby/models/entity_retrieve_params.rbi +74 -19
- data/rbi/method_ruby/models/entity_retrieve_response.rbi +25 -56
- data/rbi/method_ruby/models/entity_update_params.rbi +210 -43
- data/rbi/method_ruby/models/entity_update_response.rbi +25 -51
- data/rbi/method_ruby/models/event_list_params.rbi +134 -0
- data/rbi/method_ruby/models/event_list_response.rbi +48 -0
- data/rbi/method_ruby/models/event_retrieve_params.rbi +71 -0
- data/rbi/method_ruby/models/event_retrieve_response.rbi +48 -0
- data/rbi/method_ruby/models/forwarding_request_create_params.rbi +186 -0
- data/rbi/method_ruby/models/forwarding_request_create_response.rbi +48 -0
- data/rbi/method_ruby/models/forwarding_request_retrieve_params.rbi +81 -0
- data/rbi/method_ruby/models/forwarding_request_retrieve_response.rbi +48 -0
- data/rbi/method_ruby/models/managed_account_list_params.rbi +71 -0
- data/rbi/method_ruby/models/managed_account_list_response.rbi +48 -0
- data/rbi/method_ruby/models/managed_account_retrieve_params.rbi +81 -0
- data/rbi/method_ruby/models/managed_account_retrieve_response.rbi +52 -0
- data/rbi/method_ruby/models/managed_accounts/transaction_list_params.rbi +144 -0
- data/rbi/method_ruby/models/managed_accounts/transaction_list_response.rbi +54 -0
- data/rbi/method_ruby/models/merchant_list_params.rbi +181 -0
- data/rbi/method_ruby/models/merchant_list_response.rbi +48 -0
- data/rbi/method_ruby/models/merchant_retrieve_params.rbi +76 -0
- data/rbi/method_ruby/models/merchant_retrieve_response.rbi +48 -0
- data/rbi/method_ruby/models/payment_create_params.rbi +234 -0
- data/rbi/method_ruby/models/payment_create_response.rbi +50 -0
- data/rbi/method_ruby/models/payment_delete_params.rbi +84 -0
- data/rbi/method_ruby/models/payment_delete_response.rbi +50 -0
- data/rbi/method_ruby/models/payment_list_params.rbi +342 -0
- data/rbi/method_ruby/models/payment_list_response.rbi +48 -0
- data/rbi/method_ruby/models/payment_retrieve_params.rbi +143 -0
- data/rbi/method_ruby/models/payment_retrieve_response.rbi +50 -0
- data/rbi/method_ruby/models/payments/reversal_list_params.rbi +83 -0
- data/rbi/method_ruby/models/payments/reversal_list_response.rbi +54 -0
- data/rbi/method_ruby/models/payments/reversal_retrieve_params.rbi +93 -0
- data/rbi/method_ruby/models/payments/reversal_retrieve_response.rbi +56 -0
- data/rbi/method_ruby/models/payments/reversal_update_params.rbi +113 -0
- data/rbi/method_ruby/models/payments/reversal_update_response.rbi +56 -0
- data/rbi/method_ruby/models/ping_check_params.rbi +41 -5
- data/rbi/method_ruby/models/ping_check_response.rbi +27 -69
- data/rbi/method_ruby/models/report_create_params.rbi +169 -0
- data/rbi/method_ruby/models/report_create_response.rbi +52 -0
- data/rbi/method_ruby/models/report_retrieve_params.rbi +71 -0
- data/rbi/method_ruby/models/report_retrieve_response.rbi +52 -0
- data/rbi/method_ruby/models/reports/download_retrieve_params.rbi +83 -0
- data/rbi/method_ruby/models/reports/download_retrieve_response.rbi +9 -0
- data/rbi/method_ruby/models/resource_error.rbi +16 -23
- data/rbi/method_ruby/models/secret_create_params.rbi +94 -0
- data/rbi/method_ruby/models/secret_create_response.rbi +48 -0
- data/rbi/method_ruby/models/secret_delete_params.rbi +84 -0
- data/rbi/method_ruby/models/secret_delete_response.rbi +42 -0
- data/rbi/method_ruby/models/secret_list_params.rbi +101 -0
- data/rbi/method_ruby/models/secret_list_response.rbi +48 -0
- data/rbi/method_ruby/models/secret_retrieve_params.rbi +71 -0
- data/rbi/method_ruby/models/secret_retrieve_response.rbi +48 -0
- data/rbi/method_ruby/models/simulate/accounts/card_brand_create_params.rbi +85 -0
- data/rbi/method_ruby/models/simulate/accounts/card_brand_create_response.rbi +58 -0
- data/rbi/method_ruby/models/simulate/accounts/transaction_create_params.rbi +119 -0
- data/rbi/method_ruby/models/simulate/accounts/transaction_create_response.rbi +58 -0
- data/rbi/method_ruby/models/simulate/accounts/verification_sessions/amount_retrieve_params.rbi +97 -0
- data/rbi/method_ruby/models/simulate/accounts/verification_sessions/amount_retrieve_response.rbi +58 -0
- data/rbi/method_ruby/models/simulate/entities/attribute_create_params.rbi +85 -0
- data/rbi/method_ruby/models/simulate/entities/attribute_create_response.rbi +56 -0
- data/rbi/method_ruby/models/simulate/entities/connect_create_params.rbi +85 -0
- data/rbi/method_ruby/models/simulate/entities/connect_create_response.rbi +56 -0
- data/rbi/method_ruby/models/simulate/entities/credit_score_create_params.rbi +114 -0
- data/rbi/method_ruby/models/simulate/entities/credit_score_create_response.rbi +56 -0
- data/rbi/method_ruby/models/simulate/event_create_params.rbi +97 -0
- data/rbi/method_ruby/models/simulate/event_create_response.rbi +54 -0
- data/rbi/method_ruby/models/simulate/payment_create_params.rbi +108 -0
- data/rbi/method_ruby/models/simulate/payment_create_response.rbi +56 -0
- data/rbi/method_ruby/models/simulate/payments/payment_instrument_create_params.rbi +97 -0
- data/rbi/method_ruby/models/simulate/payments/payment_instrument_create_response.rbi +58 -0
- data/rbi/method_ruby/models/team_create_params.rbi +83 -0
- data/rbi/method_ruby/models/team_create_response.rbi +50 -0
- data/rbi/method_ruby/models/team_list_params.rbi +62 -0
- data/rbi/method_ruby/models/team_list_response.rbi +50 -0
- data/rbi/method_ruby/models/teams/default_encryption_key_create_params.rbi +98 -0
- data/rbi/method_ruby/models/teams/default_encryption_key_create_response.rbi +56 -0
- data/rbi/method_ruby/models/teams/mle/public_key_create_params.rbi +100 -0
- data/rbi/method_ruby/models/teams/mle/public_key_create_response.rbi +58 -0
- data/rbi/method_ruby/models/teams/mle/public_key_delete_params.rbi +98 -0
- data/rbi/method_ruby/models/teams/mle/public_key_delete_response.rbi +58 -0
- data/rbi/method_ruby/models/teams/mle/public_key_list_params.rbi +80 -0
- data/rbi/method_ruby/models/teams/mle/public_key_list_response.rbi +56 -0
- data/rbi/method_ruby/models/teams/mle/public_key_retrieve_params.rbi +85 -0
- data/rbi/method_ruby/models/teams/mle/public_key_retrieve_response.rbi +58 -0
- data/rbi/method_ruby/models/teams/mle_jwks_params.rbi +34 -0
- data/rbi/method_ruby/models/teams/mle_jwks_response.rbi +114 -0
- data/rbi/method_ruby/models/teams/mle_retrieve_method_key_params.rbi +40 -0
- data/rbi/method_ruby/models/teams/mle_retrieve_method_key_response.rbi +54 -0
- data/rbi/method_ruby/models/webhook_create_params.rbi +610 -0
- data/rbi/method_ruby/models/webhook_create_response.rbi +48 -0
- data/rbi/method_ruby/models/webhook_delete_params.rbi +84 -0
- data/rbi/method_ruby/models/webhook_delete_response.rbi +48 -0
- data/rbi/method_ruby/models/webhook_list_params.rbi +64 -0
- data/rbi/method_ruby/models/webhook_list_response.rbi +48 -0
- data/rbi/method_ruby/models/webhook_retrieve_params.rbi +76 -0
- data/rbi/method_ruby/models/webhook_retrieve_response.rbi +48 -0
- data/rbi/method_ruby/models/webhook_update_params.rbi +123 -0
- data/rbi/method_ruby/models/webhook_update_response.rbi +48 -0
- data/rbi/method_ruby/models.rbi +77 -0
- data/rbi/method_ruby/resources/accounts/attributes.rbi +89 -0
- data/rbi/method_ruby/resources/accounts/balances.rbi +90 -0
- data/rbi/method_ruby/resources/accounts/card_brands.rbi +89 -0
- data/rbi/method_ruby/resources/accounts/consent.rbi +45 -0
- data/rbi/method_ruby/resources/accounts/payment_instruments.rbi +128 -0
- data/rbi/method_ruby/resources/accounts/payoffs.rbi +90 -0
- data/rbi/method_ruby/resources/accounts/products.rbi +56 -0
- data/rbi/method_ruby/resources/accounts/sensitive.rbi +93 -0
- data/rbi/method_ruby/resources/accounts/subscriptions.rbi +110 -0
- data/rbi/method_ruby/resources/accounts/transactions.rbi +73 -0
- data/rbi/method_ruby/resources/accounts/updates.rbi +89 -0
- data/rbi/method_ruby/resources/accounts/verification_sessions/amounts.rbi +41 -0
- data/rbi/method_ruby/resources/accounts/verification_sessions.rbi +171 -0
- data/rbi/method_ruby/resources/accounts.rbi +210 -0
- data/rbi/method_ruby/resources/card_products.rbi +33 -0
- data/rbi/method_ruby/resources/entities/attributes.rbi +99 -0
- data/rbi/method_ruby/resources/entities/connect.rbi +123 -0
- data/rbi/method_ruby/resources/entities/consent.rbi +45 -0
- data/rbi/method_ruby/resources/entities/credit_scores.rbi +95 -0
- data/rbi/method_ruby/resources/entities/identities.rbi +95 -0
- data/rbi/method_ruby/resources/entities/manual_connect.rbi +71 -0
- data/rbi/method_ruby/resources/entities/products.rbi +56 -0
- data/rbi/method_ruby/resources/entities/subscriptions.rbi +118 -0
- data/rbi/method_ruby/resources/entities/vehicles.rbi +84 -0
- data/rbi/method_ruby/resources/entities/verification_sessions.rbi +175 -0
- data/rbi/method_ruby/resources/entities.rbi +103 -36
- data/rbi/method_ruby/resources/events.rbi +66 -0
- data/rbi/method_ruby/resources/forwarding_requests.rbi +77 -0
- data/rbi/method_ruby/resources/managed_accounts/transactions.rbi +52 -0
- data/rbi/method_ruby/resources/managed_accounts.rbi +52 -0
- data/rbi/method_ruby/resources/merchants.rbi +54 -0
- data/rbi/method_ruby/resources/payments/reversals.rbi +86 -0
- data/rbi/method_ruby/resources/payments.rbi +177 -0
- data/rbi/method_ruby/resources/ping.rbi +12 -6
- data/rbi/method_ruby/resources/reports/download.rbi +34 -0
- data/rbi/method_ruby/resources/reports.rbi +62 -0
- data/rbi/method_ruby/resources/secrets.rbi +107 -0
- data/rbi/method_ruby/resources/simulate/accounts/card_brands.rbi +42 -0
- data/rbi/method_ruby/resources/simulate/accounts/transactions.rbi +51 -0
- data/rbi/method_ruby/resources/simulate/accounts/verification_sessions/amounts.rbi +48 -0
- data/rbi/method_ruby/resources/simulate/accounts/verification_sessions.rbi +24 -0
- data/rbi/method_ruby/resources/simulate/accounts.rbi +29 -0
- data/rbi/method_ruby/resources/simulate/entities/attributes.rbi +42 -0
- data/rbi/method_ruby/resources/simulate/entities/connect.rbi +42 -0
- data/rbi/method_ruby/resources/simulate/entities/credit_scores.rbi +51 -0
- data/rbi/method_ruby/resources/simulate/entities.rbi +26 -0
- data/rbi/method_ruby/resources/simulate/events.rbi +41 -0
- data/rbi/method_ruby/resources/simulate/payments/payment_instruments.rbi +45 -0
- data/rbi/method_ruby/resources/simulate/payments.rbi +51 -0
- data/rbi/method_ruby/resources/simulate.rbi +26 -0
- data/rbi/method_ruby/resources/teams/default_encryption_key.rbi +42 -0
- data/rbi/method_ruby/resources/teams/mle/public_keys.rbi +99 -0
- data/rbi/method_ruby/resources/teams/mle.rbi +42 -0
- data/rbi/method_ruby/resources/teams.rbi +59 -0
- data/rbi/method_ruby/resources/webhooks.rbi +139 -0
- data/sig/method_ruby/client.rbs +31 -2
- data/sig/method_ruby/internal/transport/base_client.rbs +2 -2
- data/sig/method_ruby/internal/util.rbs +4 -0
- data/sig/method_ruby/models/account_create_params.rbs +429 -0
- data/sig/method_ruby/models/account_create_response.rbs +11226 -0
- data/sig/method_ruby/models/account_list_params.rbs +289 -0
- data/sig/method_ruby/models/account_list_response.rbs +17 -0
- data/sig/method_ruby/models/account_retrieve_params.rbs +79 -0
- data/sig/method_ruby/models/account_retrieve_response.rbs +11226 -0
- data/sig/method_ruby/models/account_update_params.rbs +172 -0
- data/sig/method_ruby/models/account_update_response.rbs +18 -0
- data/sig/method_ruby/models/accounts/attribute_create_params.rbs +50 -0
- data/sig/method_ruby/models/accounts/attribute_create_response.rbs +20 -0
- data/sig/method_ruby/models/accounts/attribute_list_params.rbs +64 -0
- data/sig/method_ruby/models/accounts/attribute_list_response.rbs +20 -0
- data/sig/method_ruby/models/accounts/attribute_retrieve_params.rbs +48 -0
- data/sig/method_ruby/models/accounts/attribute_retrieve_response.rbs +20 -0
- data/sig/method_ruby/models/accounts/balance_create_params.rbs +50 -0
- data/sig/method_ruby/models/accounts/balance_create_response.rbs +20 -0
- data/sig/method_ruby/models/accounts/balance_list_params.rbs +64 -0
- data/sig/method_ruby/models/accounts/balance_list_response.rbs +20 -0
- data/sig/method_ruby/models/accounts/balance_retrieve_params.rbs +48 -0
- data/sig/method_ruby/models/accounts/balance_retrieve_response.rbs +20 -0
- data/sig/method_ruby/models/accounts/card_brand_create_params.rbs +50 -0
- data/sig/method_ruby/models/accounts/card_brand_create_response.rbs +20 -0
- data/sig/method_ruby/models/accounts/card_brand_list_params.rbs +64 -0
- data/sig/method_ruby/models/accounts/card_brand_list_response.rbs +20 -0
- data/sig/method_ruby/models/accounts/card_brand_retrieve_params.rbs +48 -0
- data/sig/method_ruby/models/accounts/card_brand_retrieve_response.rbs +20 -0
- data/sig/method_ruby/models/accounts/consent_withdraw_params.rbs +72 -0
- data/sig/method_ruby/models/accounts/consent_withdraw_response.rbs +11232 -0
- data/sig/method_ruby/models/accounts/payment_instrument_create_params.rbs +67 -0
- data/sig/method_ruby/models/accounts/payment_instrument_create_response.rbs +20 -0
- data/sig/method_ruby/models/accounts/payment_instrument_delete_params.rbs +55 -0
- data/sig/method_ruby/models/accounts/payment_instrument_delete_response.rbs +20 -0
- data/sig/method_ruby/models/accounts/payment_instrument_list_params.rbs +64 -0
- data/sig/method_ruby/models/accounts/payment_instrument_list_response.rbs +20 -0
- data/sig/method_ruby/models/accounts/payment_instrument_retrieve_params.rbs +48 -0
- data/sig/method_ruby/models/accounts/payment_instrument_retrieve_response.rbs +20 -0
- data/sig/method_ruby/models/accounts/payoff_create_params.rbs +50 -0
- data/sig/method_ruby/models/accounts/payoff_create_response.rbs +20 -0
- data/sig/method_ruby/models/accounts/payoff_list_params.rbs +64 -0
- data/sig/method_ruby/models/accounts/payoff_list_response.rbs +19 -0
- data/sig/method_ruby/models/accounts/payoff_retrieve_params.rbs +48 -0
- data/sig/method_ruby/models/accounts/payoff_retrieve_response.rbs +20 -0
- data/sig/method_ruby/models/accounts/product_list_params.rbs +43 -0
- data/sig/method_ruby/models/accounts/product_list_response.rbs +20 -0
- data/sig/method_ruby/models/accounts/product_retrieve_params.rbs +48 -0
- data/sig/method_ruby/models/accounts/product_retrieve_response.rbs +20 -0
- data/sig/method_ruby/models/accounts/sensitive_create_params.rbs +55 -0
- data/sig/method_ruby/models/accounts/sensitive_create_response.rbs +20 -0
- data/sig/method_ruby/models/accounts/sensitive_list_params.rbs +64 -0
- data/sig/method_ruby/models/accounts/sensitive_list_response.rbs +20 -0
- data/sig/method_ruby/models/accounts/sensitive_retrieve_params.rbs +48 -0
- data/sig/method_ruby/models/accounts/sensitive_retrieve_response.rbs +20 -0
- data/sig/method_ruby/models/accounts/subscription_create_params.rbs +55 -0
- data/sig/method_ruby/models/accounts/subscription_create_response.rbs +20 -0
- data/sig/method_ruby/models/accounts/subscription_delete_params.rbs +55 -0
- data/sig/method_ruby/models/accounts/subscription_delete_response.rbs +20 -0
- data/sig/method_ruby/models/accounts/subscription_list_params.rbs +43 -0
- data/sig/method_ruby/models/accounts/subscription_list_response.rbs +20 -0
- data/sig/method_ruby/models/accounts/subscription_retrieve_params.rbs +48 -0
- data/sig/method_ruby/models/accounts/subscription_retrieve_response.rbs +20 -0
- data/sig/method_ruby/models/accounts/transaction_list_params.rbs +78 -0
- data/sig/method_ruby/models/accounts/transaction_list_response.rbs +20 -0
- data/sig/method_ruby/models/accounts/transaction_retrieve_params.rbs +48 -0
- data/sig/method_ruby/models/accounts/transaction_retrieve_response.rbs +20 -0
- data/sig/method_ruby/models/accounts/update_create_params.rbs +50 -0
- data/sig/method_ruby/models/accounts/update_create_response.rbs +20 -0
- data/sig/method_ruby/models/accounts/update_list_params.rbs +64 -0
- data/sig/method_ruby/models/accounts/update_list_response.rbs +19 -0
- data/sig/method_ruby/models/accounts/update_retrieve_params.rbs +48 -0
- data/sig/method_ruby/models/accounts/update_retrieve_response.rbs +20 -0
- data/sig/method_ruby/models/accounts/verification_session_create_params.rbs +88 -0
- data/sig/method_ruby/models/accounts/verification_session_create_response.rbs +20 -0
- data/sig/method_ruby/models/accounts/verification_session_list_params.rbs +64 -0
- data/sig/method_ruby/models/accounts/verification_session_list_response.rbs +20 -0
- data/sig/method_ruby/models/accounts/verification_session_retrieve_params.rbs +48 -0
- data/sig/method_ruby/models/accounts/verification_session_retrieve_response.rbs +20 -0
- data/sig/method_ruby/models/accounts/verification_session_update_params.rbs +297 -0
- data/sig/method_ruby/models/accounts/verification_session_update_response.rbs +20 -0
- data/sig/method_ruby/models/accounts/verification_sessions/amount_retrieve_params.rbs +50 -0
- data/sig/method_ruby/models/accounts/verification_sessions/amount_retrieve_response.rbs +22 -0
- data/sig/method_ruby/models/card_product_retrieve_params.rbs +41 -0
- data/sig/method_ruby/models/card_product_retrieve_response.rbs +18 -0
- data/sig/method_ruby/models/entities/attribute_create_params.rbs +57 -0
- data/sig/method_ruby/models/entities/attribute_create_response.rbs +20 -0
- data/sig/method_ruby/models/entities/attribute_list_params.rbs +78 -0
- data/sig/method_ruby/models/entities/attribute_list_response.rbs +20 -0
- data/sig/method_ruby/models/entities/attribute_retrieve_params.rbs +48 -0
- data/sig/method_ruby/models/entities/attribute_retrieve_response.rbs +20 -0
- data/sig/method_ruby/models/entities/connect_create_params.rbs +104 -0
- data/sig/method_ruby/models/entities/connect_create_response.rbs +20 -0
- data/sig/method_ruby/models/entities/connect_list_params.rbs +118 -0
- data/sig/method_ruby/models/entities/connect_list_response.rbs +20 -0
- data/sig/method_ruby/models/entities/connect_retrieve_params.rbs +88 -0
- data/sig/method_ruby/models/entities/connect_retrieve_response.rbs +20 -0
- data/sig/method_ruby/models/entities/consent_withdraw_params.rbs +73 -0
- data/sig/method_ruby/models/entities/consent_withdraw_response.rbs +28 -0
- data/sig/method_ruby/models/entities/credit_score_create_params.rbs +50 -0
- data/sig/method_ruby/models/entities/credit_score_create_response.rbs +20 -0
- data/sig/method_ruby/models/entities/credit_score_list_params.rbs +78 -0
- data/sig/method_ruby/models/entities/credit_score_list_response.rbs +20 -0
- data/sig/method_ruby/models/entities/credit_score_retrieve_params.rbs +48 -0
- data/sig/method_ruby/models/entities/credit_score_retrieve_response.rbs +20 -0
- data/sig/method_ruby/models/entities/identity_create_params.rbs +50 -0
- data/sig/method_ruby/models/entities/identity_create_response.rbs +20 -0
- data/sig/method_ruby/models/entities/identity_list_params.rbs +78 -0
- data/sig/method_ruby/models/entities/identity_list_response.rbs +20 -0
- data/sig/method_ruby/models/entities/identity_retrieve_params.rbs +48 -0
- data/sig/method_ruby/models/entities/identity_retrieve_response.rbs +20 -0
- data/sig/method_ruby/models/entities/manual_connect_create_params.rbs +215 -0
- data/sig/method_ruby/models/entities/manual_connect_create_response.rbs +20 -0
- data/sig/method_ruby/models/entities/manual_connect_retrieve_params.rbs +48 -0
- data/sig/method_ruby/models/entities/manual_connect_retrieve_response.rbs +20 -0
- data/sig/method_ruby/models/entities/product_list_params.rbs +43 -0
- data/sig/method_ruby/models/entities/product_list_response.rbs +20 -0
- data/sig/method_ruby/models/entities/product_retrieve_params.rbs +48 -0
- data/sig/method_ruby/models/entities/product_retrieve_response.rbs +20 -0
- data/sig/method_ruby/models/entities/subscription_create_params.rbs +105 -0
- data/sig/method_ruby/models/entities/subscription_create_response.rbs +20 -0
- data/sig/method_ruby/models/entities/subscription_delete_params.rbs +55 -0
- data/sig/method_ruby/models/entities/subscription_delete_response.rbs +20 -0
- data/sig/method_ruby/models/entities/subscription_list_params.rbs +43 -0
- data/sig/method_ruby/models/entities/subscription_list_response.rbs +20 -0
- data/sig/method_ruby/models/entities/subscription_retrieve_params.rbs +48 -0
- data/sig/method_ruby/models/entities/subscription_retrieve_response.rbs +20 -0
- data/sig/method_ruby/models/entities/vehicle_create_params.rbs +55 -0
- data/sig/method_ruby/models/entities/vehicle_create_response.rbs +20 -0
- data/sig/method_ruby/models/entities/vehicle_list_params.rbs +43 -0
- data/sig/method_ruby/models/entities/vehicle_list_response.rbs +20 -0
- data/sig/method_ruby/models/entities/vehicle_retrieve_params.rbs +48 -0
- data/sig/method_ruby/models/entities/vehicle_retrieve_response.rbs +20 -0
- data/sig/method_ruby/models/entities/verification_session_create_params.rbs +137 -0
- data/sig/method_ruby/models/entities/verification_session_create_response.rbs +20 -0
- data/sig/method_ruby/models/entities/verification_session_list_params.rbs +78 -0
- data/sig/method_ruby/models/entities/verification_session_list_response.rbs +20 -0
- data/sig/method_ruby/models/entities/verification_session_retrieve_params.rbs +48 -0
- data/sig/method_ruby/models/entities/verification_session_retrieve_response.rbs +20 -0
- data/sig/method_ruby/models/entities/verification_session_update_params.rbs +152 -0
- data/sig/method_ruby/models/entities/verification_session_update_response.rbs +20 -0
- data/sig/method_ruby/models/entity.rbs +12996 -63
- data/sig/method_ruby/models/entity_corporation.rbs +12 -20
- data/sig/method_ruby/models/entity_create_params.rbs +45 -31
- data/sig/method_ruby/models/entity_create_response.rbs +10 -25
- data/sig/method_ruby/models/entity_individual.rbs +20 -14
- data/sig/method_ruby/models/entity_list_params.rbs +82 -10
- data/sig/method_ruby/models/entity_list_response.rbs +6 -30
- data/sig/method_ruby/models/entity_retrieve_params.rbs +37 -13
- data/sig/method_ruby/models/entity_retrieve_response.rbs +10 -25
- data/sig/method_ruby/models/entity_update_params.rbs +126 -29
- data/sig/method_ruby/models/entity_update_response.rbs +10 -25
- data/sig/method_ruby/models/event_list_params.rbs +78 -0
- data/sig/method_ruby/models/event_list_response.rbs +17 -0
- data/sig/method_ruby/models/event_retrieve_params.rbs +41 -0
- data/sig/method_ruby/models/event_retrieve_response.rbs +18 -0
- data/sig/method_ruby/models/forwarding_request_create_params.rbs +87 -0
- data/sig/method_ruby/models/forwarding_request_create_response.rbs +18 -0
- data/sig/method_ruby/models/forwarding_request_retrieve_params.rbs +41 -0
- data/sig/method_ruby/models/forwarding_request_retrieve_response.rbs +18 -0
- data/sig/method_ruby/models/managed_account_list_params.rbs +36 -0
- data/sig/method_ruby/models/managed_account_list_response.rbs +18 -0
- data/sig/method_ruby/models/managed_account_retrieve_params.rbs +41 -0
- data/sig/method_ruby/models/managed_account_retrieve_response.rbs +18 -0
- data/sig/method_ruby/models/managed_accounts/transaction_list_params.rbs +78 -0
- data/sig/method_ruby/models/managed_accounts/transaction_list_response.rbs +20 -0
- data/sig/method_ruby/models/merchant_list_params.rbs +103 -0
- data/sig/method_ruby/models/merchant_list_response.rbs +17 -0
- data/sig/method_ruby/models/merchant_retrieve_params.rbs +41 -0
- data/sig/method_ruby/models/merchant_retrieve_response.rbs +18 -0
- data/sig/method_ruby/models/payment_create_params.rbs +129 -0
- data/sig/method_ruby/models/payment_create_response.rbs +18 -0
- data/sig/method_ruby/models/payment_delete_params.rbs +48 -0
- data/sig/method_ruby/models/payment_delete_response.rbs +18 -0
- data/sig/method_ruby/models/payment_list_params.rbs +202 -0
- data/sig/method_ruby/models/payment_list_response.rbs +17 -0
- data/sig/method_ruby/models/payment_retrieve_params.rbs +67 -0
- data/sig/method_ruby/models/payment_retrieve_response.rbs +18 -0
- data/sig/method_ruby/models/payments/reversal_list_params.rbs +43 -0
- data/sig/method_ruby/models/payments/reversal_list_response.rbs +20 -0
- data/sig/method_ruby/models/payments/reversal_retrieve_params.rbs +48 -0
- data/sig/method_ruby/models/payments/reversal_retrieve_response.rbs +20 -0
- data/sig/method_ruby/models/payments/reversal_update_params.rbs +62 -0
- data/sig/method_ruby/models/payments/reversal_update_response.rbs +20 -0
- data/sig/method_ruby/models/ping_check_params.rbs +22 -3
- data/sig/method_ruby/models/ping_check_response.rbs +16 -35
- data/sig/method_ruby/models/report_create_params.rbs +83 -0
- data/sig/method_ruby/models/report_create_response.rbs +17 -0
- data/sig/method_ruby/models/report_retrieve_params.rbs +41 -0
- data/sig/method_ruby/models/report_retrieve_response.rbs +18 -0
- data/sig/method_ruby/models/reports/download_retrieve_params.rbs +43 -0
- data/sig/method_ruby/models/reports/download_retrieve_response.rbs +7 -0
- data/sig/method_ruby/models/resource_error.rbs +11 -19
- data/sig/method_ruby/models/secret_create_params.rbs +53 -0
- data/sig/method_ruby/models/secret_create_response.rbs +17 -0
- data/sig/method_ruby/models/secret_delete_params.rbs +48 -0
- data/sig/method_ruby/models/secret_delete_response.rbs +17 -0
- data/sig/method_ruby/models/secret_list_params.rbs +57 -0
- data/sig/method_ruby/models/secret_list_response.rbs +17 -0
- data/sig/method_ruby/models/secret_retrieve_params.rbs +41 -0
- data/sig/method_ruby/models/secret_retrieve_response.rbs +18 -0
- data/sig/method_ruby/models/simulate/accounts/card_brand_create_params.rbs +45 -0
- data/sig/method_ruby/models/simulate/accounts/card_brand_create_response.rbs +22 -0
- data/sig/method_ruby/models/simulate/accounts/transaction_create_params.rbs +64 -0
- data/sig/method_ruby/models/simulate/accounts/transaction_create_response.rbs +22 -0
- data/sig/method_ruby/models/simulate/accounts/verification_sessions/amount_retrieve_params.rbs +52 -0
- data/sig/method_ruby/models/simulate/accounts/verification_sessions/amount_retrieve_response.rbs +24 -0
- data/sig/method_ruby/models/simulate/entities/attribute_create_params.rbs +45 -0
- data/sig/method_ruby/models/simulate/entities/attribute_create_response.rbs +22 -0
- data/sig/method_ruby/models/simulate/entities/connect_create_params.rbs +45 -0
- data/sig/method_ruby/models/simulate/entities/connect_create_response.rbs +22 -0
- data/sig/method_ruby/models/simulate/entities/credit_score_create_params.rbs +62 -0
- data/sig/method_ruby/models/simulate/entities/credit_score_create_response.rbs +22 -0
- data/sig/method_ruby/models/simulate/event_create_params.rbs +48 -0
- data/sig/method_ruby/models/simulate/event_create_response.rbs +20 -0
- data/sig/method_ruby/models/simulate/payment_create_params.rbs +55 -0
- data/sig/method_ruby/models/simulate/payment_create_response.rbs +20 -0
- data/sig/method_ruby/models/simulate/payments/payment_instrument_create_params.rbs +50 -0
- data/sig/method_ruby/models/simulate/payments/payment_instrument_create_response.rbs +22 -0
- data/sig/method_ruby/models/team_create_params.rbs +48 -0
- data/sig/method_ruby/models/team_create_response.rbs +17 -0
- data/sig/method_ruby/models/team_list_params.rbs +34 -0
- data/sig/method_ruby/models/team_list_response.rbs +17 -0
- data/sig/method_ruby/models/teams/default_encryption_key_create_params.rbs +50 -0
- data/sig/method_ruby/models/teams/default_encryption_key_create_response.rbs +20 -0
- data/sig/method_ruby/models/teams/mle/public_key_create_params.rbs +52 -0
- data/sig/method_ruby/models/teams/mle/public_key_create_response.rbs +22 -0
- data/sig/method_ruby/models/teams/mle/public_key_delete_params.rbs +52 -0
- data/sig/method_ruby/models/teams/mle/public_key_delete_response.rbs +22 -0
- data/sig/method_ruby/models/teams/mle/public_key_list_params.rbs +40 -0
- data/sig/method_ruby/models/teams/mle/public_key_list_response.rbs +22 -0
- data/sig/method_ruby/models/teams/mle/public_key_retrieve_params.rbs +45 -0
- data/sig/method_ruby/models/teams/mle/public_key_retrieve_response.rbs +22 -0
- data/sig/method_ruby/models/teams/mle_jwks_params.rbs +17 -0
- data/sig/method_ruby/models/teams/mle_jwks_response.rbs +62 -0
- data/sig/method_ruby/models/teams/mle_retrieve_method_key_params.rbs +25 -0
- data/sig/method_ruby/models/teams/mle_retrieve_method_key_response.rbs +20 -0
- data/sig/method_ruby/models/webhook_create_params.rbs +270 -0
- data/sig/method_ruby/models/webhook_create_response.rbs +18 -0
- data/sig/method_ruby/models/webhook_delete_params.rbs +48 -0
- data/sig/method_ruby/models/webhook_delete_response.rbs +18 -0
- data/sig/method_ruby/models/webhook_list_params.rbs +34 -0
- data/sig/method_ruby/models/webhook_list_response.rbs +17 -0
- data/sig/method_ruby/models/webhook_retrieve_params.rbs +41 -0
- data/sig/method_ruby/models/webhook_retrieve_response.rbs +18 -0
- data/sig/method_ruby/models/webhook_update_params.rbs +66 -0
- data/sig/method_ruby/models/webhook_update_response.rbs +18 -0
- data/sig/method_ruby/models.rbs +75 -1
- data/sig/method_ruby/resources/accounts/attributes.rbs +32 -0
- data/sig/method_ruby/resources/accounts/balances.rbs +32 -0
- data/sig/method_ruby/resources/accounts/card_brands.rbs +32 -0
- data/sig/method_ruby/resources/accounts/consent.rbs +18 -0
- data/sig/method_ruby/resources/accounts/payment_instruments.rbs +41 -0
- data/sig/method_ruby/resources/accounts/payoffs.rbs +32 -0
- data/sig/method_ruby/resources/accounts/products.rbs +22 -0
- data/sig/method_ruby/resources/accounts/sensitive.rbs +33 -0
- data/sig/method_ruby/resources/accounts/subscriptions.rbs +38 -0
- data/sig/method_ruby/resources/accounts/transactions.rbs +27 -0
- data/sig/method_ruby/resources/accounts/updates.rbs +32 -0
- data/sig/method_ruby/resources/accounts/verification_sessions/amounts.rbs +18 -0
- data/sig/method_ruby/resources/accounts/verification_sessions.rbs +51 -0
- data/sig/method_ruby/resources/accounts.rbs +72 -0
- data/sig/method_ruby/resources/card_products.rbs +13 -0
- data/sig/method_ruby/resources/entities/attributes.rbs +35 -0
- data/sig/method_ruby/resources/entities/connect.rbs +39 -0
- data/sig/method_ruby/resources/entities/consent.rbs +18 -0
- data/sig/method_ruby/resources/entities/credit_scores.rbs +34 -0
- data/sig/method_ruby/resources/entities/identities.rbs +34 -0
- data/sig/method_ruby/resources/entities/manual_connect.rbs +25 -0
- data/sig/method_ruby/resources/entities/products.rbs +22 -0
- data/sig/method_ruby/resources/entities/subscriptions.rbs +39 -0
- data/sig/method_ruby/resources/entities/vehicles.rbs +30 -0
- data/sig/method_ruby/resources/entities/verification_sessions.rbs +54 -0
- data/sig/method_ruby/resources/entities.rbs +33 -8
- data/sig/method_ruby/resources/events.rbs +24 -0
- data/sig/method_ruby/resources/forwarding_requests.rbs +25 -0
- data/sig/method_ruby/resources/managed_accounts/transactions.rbs +20 -0
- data/sig/method_ruby/resources/managed_accounts.rbs +20 -0
- data/sig/method_ruby/resources/merchants.rbs +20 -0
- data/sig/method_ruby/resources/payments/reversals.rbs +31 -0
- data/sig/method_ruby/resources/payments.rbs +57 -0
- data/sig/method_ruby/resources/ping.rbs +1 -0
- data/sig/method_ruby/resources/reports/download.rbs +15 -0
- data/sig/method_ruby/resources/reports.rbs +22 -0
- data/sig/method_ruby/resources/secrets.rbs +36 -0
- data/sig/method_ruby/resources/simulate/accounts/card_brands.rbs +17 -0
- data/sig/method_ruby/resources/simulate/accounts/transactions.rbs +20 -0
- data/sig/method_ruby/resources/simulate/accounts/verification_sessions/amounts.rbs +20 -0
- data/sig/method_ruby/resources/simulate/accounts/verification_sessions.rbs +13 -0
- data/sig/method_ruby/resources/simulate/accounts.rbs +15 -0
- data/sig/method_ruby/resources/simulate/entities/attributes.rbs +17 -0
- data/sig/method_ruby/resources/simulate/entities/connect.rbs +17 -0
- data/sig/method_ruby/resources/simulate/entities/credit_scores.rbs +20 -0
- data/sig/method_ruby/resources/simulate/entities.rbs +15 -0
- data/sig/method_ruby/resources/simulate/events.rbs +16 -0
- data/sig/method_ruby/resources/simulate/payments/payment_instruments.rbs +18 -0
- data/sig/method_ruby/resources/simulate/payments.rbs +19 -0
- data/sig/method_ruby/resources/simulate.rbs +15 -0
- data/sig/method_ruby/resources/teams/default_encryption_key.rbs +16 -0
- data/sig/method_ruby/resources/teams/mle/public_keys.rbs +36 -0
- data/sig/method_ruby/resources/teams/mle.rbs +20 -0
- data/sig/method_ruby/resources/teams.rbs +23 -0
- data/sig/method_ruby/resources/webhooks.rbs +45 -0
- metadata +851 -2
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module MethodRuby
|
|
4
|
+
module Resources
|
|
5
|
+
class Entities
|
|
6
|
+
# Products associated with entities
|
|
7
|
+
class Products
|
|
8
|
+
# Some parameter documentations has been truncated, see
|
|
9
|
+
# {MethodRuby::Models::Entities::ProductRetrieveParams} for more details.
|
|
10
|
+
#
|
|
11
|
+
# Returns a single entity product by its identifier.
|
|
12
|
+
#
|
|
13
|
+
# @overload retrieve(prd_id, entity_id:, method_version:, request_options: {})
|
|
14
|
+
#
|
|
15
|
+
# @param prd_id [String] Path param: Unique identifier for the entity product.
|
|
16
|
+
#
|
|
17
|
+
# @param entity_id [String] Path param: Unique identifier for the entity.
|
|
18
|
+
#
|
|
19
|
+
# @param method_version [Symbol, MethodRuby::Models::Entities::ProductRetrieveParams::MethodVersion] Header param: API version to use for this request. This spec targets `2025-12-01
|
|
20
|
+
#
|
|
21
|
+
# @param request_options [MethodRuby::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
22
|
+
#
|
|
23
|
+
# @return [MethodRuby::Models::Entities::ProductRetrieveResponse]
|
|
24
|
+
#
|
|
25
|
+
# @see MethodRuby::Models::Entities::ProductRetrieveParams
|
|
26
|
+
def retrieve(prd_id, params)
|
|
27
|
+
parsed, options = MethodRuby::Entities::ProductRetrieveParams.dump_request(params)
|
|
28
|
+
entity_id =
|
|
29
|
+
parsed.delete(:entity_id) do
|
|
30
|
+
raise ArgumentError.new("missing required path argument #{_1}")
|
|
31
|
+
end
|
|
32
|
+
@client.request(
|
|
33
|
+
method: :get,
|
|
34
|
+
path: ["entities/%1$s/products/%2$s", entity_id, prd_id],
|
|
35
|
+
headers: parsed.transform_keys(method_version: "method-version"),
|
|
36
|
+
model: MethodRuby::Models::Entities::ProductRetrieveResponse,
|
|
37
|
+
security: {secret_key: true},
|
|
38
|
+
options: options
|
|
39
|
+
)
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
# Some parameter documentations has been truncated, see
|
|
43
|
+
# {MethodRuby::Models::Entities::ProductListParams} for more details.
|
|
44
|
+
#
|
|
45
|
+
# Returns a list of products for the specified entity.
|
|
46
|
+
#
|
|
47
|
+
# @overload list(entity_id, method_version:, request_options: {})
|
|
48
|
+
#
|
|
49
|
+
# @param entity_id [String] Unique identifier for the entity.
|
|
50
|
+
#
|
|
51
|
+
# @param method_version [Symbol, MethodRuby::Models::Entities::ProductListParams::MethodVersion] API version to use for this request. This spec targets `2025-12-01`.
|
|
52
|
+
#
|
|
53
|
+
# @param request_options [MethodRuby::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
54
|
+
#
|
|
55
|
+
# @return [MethodRuby::Models::Entities::ProductListResponse]
|
|
56
|
+
#
|
|
57
|
+
# @see MethodRuby::Models::Entities::ProductListParams
|
|
58
|
+
def list(entity_id, params)
|
|
59
|
+
parsed, options = MethodRuby::Entities::ProductListParams.dump_request(params)
|
|
60
|
+
@client.request(
|
|
61
|
+
method: :get,
|
|
62
|
+
path: ["entities/%1$s/products", entity_id],
|
|
63
|
+
headers: parsed.transform_keys(method_version: "method-version"),
|
|
64
|
+
model: MethodRuby::Models::Entities::ProductListResponse,
|
|
65
|
+
security: {secret_key: true},
|
|
66
|
+
options: options
|
|
67
|
+
)
|
|
68
|
+
end
|
|
69
|
+
|
|
70
|
+
# @api private
|
|
71
|
+
#
|
|
72
|
+
# @param client [MethodRuby::Client]
|
|
73
|
+
def initialize(client:)
|
|
74
|
+
@client = client
|
|
75
|
+
end
|
|
76
|
+
end
|
|
77
|
+
end
|
|
78
|
+
end
|
|
79
|
+
end
|
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module MethodRuby
|
|
4
|
+
module Resources
|
|
5
|
+
class Entities
|
|
6
|
+
# Subscriptions for entities
|
|
7
|
+
class Subscriptions
|
|
8
|
+
# Some parameter documentations has been truncated, see
|
|
9
|
+
# {MethodRuby::Models::Entities::SubscriptionCreateParams} for more details.
|
|
10
|
+
#
|
|
11
|
+
# Creates a new subscription for the specified entity.
|
|
12
|
+
#
|
|
13
|
+
# @overload create(entity_id, enroll:, method_version:, payload: nil, idempotency_key: nil, request_options: {})
|
|
14
|
+
#
|
|
15
|
+
# @param entity_id [String] Path param: Unique identifier for the entity.
|
|
16
|
+
#
|
|
17
|
+
# @param enroll [Symbol, MethodRuby::Models::Entities::SubscriptionCreateParams::Enroll] Body param: Subscription name to enroll.
|
|
18
|
+
#
|
|
19
|
+
# @param method_version [Symbol, MethodRuby::Models::Entities::SubscriptionCreateParams::MethodVersion] Header param: API version to use for this request. This spec targets `2025-12-01
|
|
20
|
+
#
|
|
21
|
+
# @param payload [MethodRuby::Models::Entities::SubscriptionCreateParams::Payload, nil] Body param: Optional payload for the subscription. Required when enroll is attri
|
|
22
|
+
#
|
|
23
|
+
# @param idempotency_key [String] Header param: Idempotency key for safely retrying a write request. Reuse the sam
|
|
24
|
+
#
|
|
25
|
+
# @param request_options [MethodRuby::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
26
|
+
#
|
|
27
|
+
# @return [MethodRuby::Models::Entities::SubscriptionCreateResponse]
|
|
28
|
+
#
|
|
29
|
+
# @see MethodRuby::Models::Entities::SubscriptionCreateParams
|
|
30
|
+
def create(entity_id, params)
|
|
31
|
+
parsed, options = MethodRuby::Entities::SubscriptionCreateParams.dump_request(params)
|
|
32
|
+
header_params = {method_version: "method-version", idempotency_key: "idempotency-key"}
|
|
33
|
+
@client.request(
|
|
34
|
+
method: :post,
|
|
35
|
+
path: ["entities/%1$s/subscriptions", entity_id],
|
|
36
|
+
headers: parsed.slice(*header_params.keys).transform_keys(header_params),
|
|
37
|
+
body: parsed.except(*header_params.keys),
|
|
38
|
+
model: MethodRuby::Models::Entities::SubscriptionCreateResponse,
|
|
39
|
+
security: {secret_key: true},
|
|
40
|
+
options: options
|
|
41
|
+
)
|
|
42
|
+
end
|
|
43
|
+
|
|
44
|
+
# Some parameter documentations has been truncated, see
|
|
45
|
+
# {MethodRuby::Models::Entities::SubscriptionRetrieveParams} for more details.
|
|
46
|
+
#
|
|
47
|
+
# Returns a single entity subscription by its identifier.
|
|
48
|
+
#
|
|
49
|
+
# @overload retrieve(sub_id, entity_id:, method_version:, request_options: {})
|
|
50
|
+
#
|
|
51
|
+
# @param sub_id [String] Path param: Unique identifier for the entity subscription.
|
|
52
|
+
#
|
|
53
|
+
# @param entity_id [String] Path param: Unique identifier for the entity.
|
|
54
|
+
#
|
|
55
|
+
# @param method_version [Symbol, MethodRuby::Models::Entities::SubscriptionRetrieveParams::MethodVersion] Header param: API version to use for this request. This spec targets `2025-12-01
|
|
56
|
+
#
|
|
57
|
+
# @param request_options [MethodRuby::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
58
|
+
#
|
|
59
|
+
# @return [MethodRuby::Models::Entities::SubscriptionRetrieveResponse]
|
|
60
|
+
#
|
|
61
|
+
# @see MethodRuby::Models::Entities::SubscriptionRetrieveParams
|
|
62
|
+
def retrieve(sub_id, params)
|
|
63
|
+
parsed, options = MethodRuby::Entities::SubscriptionRetrieveParams.dump_request(params)
|
|
64
|
+
entity_id =
|
|
65
|
+
parsed.delete(:entity_id) do
|
|
66
|
+
raise ArgumentError.new("missing required path argument #{_1}")
|
|
67
|
+
end
|
|
68
|
+
@client.request(
|
|
69
|
+
method: :get,
|
|
70
|
+
path: ["entities/%1$s/subscriptions/%2$s", entity_id, sub_id],
|
|
71
|
+
headers: parsed.transform_keys(method_version: "method-version"),
|
|
72
|
+
model: MethodRuby::Models::Entities::SubscriptionRetrieveResponse,
|
|
73
|
+
security: {secret_key: true},
|
|
74
|
+
options: options
|
|
75
|
+
)
|
|
76
|
+
end
|
|
77
|
+
|
|
78
|
+
# Some parameter documentations has been truncated, see
|
|
79
|
+
# {MethodRuby::Models::Entities::SubscriptionListParams} for more details.
|
|
80
|
+
#
|
|
81
|
+
# Returns a list of subscriptions for the specified entity.
|
|
82
|
+
#
|
|
83
|
+
# @overload list(entity_id, method_version:, request_options: {})
|
|
84
|
+
#
|
|
85
|
+
# @param entity_id [String] Unique identifier for the entity.
|
|
86
|
+
#
|
|
87
|
+
# @param method_version [Symbol, MethodRuby::Models::Entities::SubscriptionListParams::MethodVersion] API version to use for this request. This spec targets `2025-12-01`.
|
|
88
|
+
#
|
|
89
|
+
# @param request_options [MethodRuby::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
90
|
+
#
|
|
91
|
+
# @return [MethodRuby::Models::Entities::SubscriptionListResponse]
|
|
92
|
+
#
|
|
93
|
+
# @see MethodRuby::Models::Entities::SubscriptionListParams
|
|
94
|
+
def list(entity_id, params)
|
|
95
|
+
parsed, options = MethodRuby::Entities::SubscriptionListParams.dump_request(params)
|
|
96
|
+
@client.request(
|
|
97
|
+
method: :get,
|
|
98
|
+
path: ["entities/%1$s/subscriptions", entity_id],
|
|
99
|
+
headers: parsed.transform_keys(method_version: "method-version"),
|
|
100
|
+
model: MethodRuby::Models::Entities::SubscriptionListResponse,
|
|
101
|
+
security: {secret_key: true},
|
|
102
|
+
options: options
|
|
103
|
+
)
|
|
104
|
+
end
|
|
105
|
+
|
|
106
|
+
# Some parameter documentations has been truncated, see
|
|
107
|
+
# {MethodRuby::Models::Entities::SubscriptionDeleteParams} for more details.
|
|
108
|
+
#
|
|
109
|
+
# Deletes an entity subscription by its identifier.
|
|
110
|
+
#
|
|
111
|
+
# @overload delete(sub_id, entity_id:, method_version:, idempotency_key: nil, request_options: {})
|
|
112
|
+
#
|
|
113
|
+
# @param sub_id [String] Path param: Unique identifier for the entity subscription.
|
|
114
|
+
#
|
|
115
|
+
# @param entity_id [String] Path param: Unique identifier for the entity.
|
|
116
|
+
#
|
|
117
|
+
# @param method_version [Symbol, MethodRuby::Models::Entities::SubscriptionDeleteParams::MethodVersion] Header param: API version to use for this request. This spec targets `2025-12-01
|
|
118
|
+
#
|
|
119
|
+
# @param idempotency_key [String] Header param: Idempotency key for safely retrying a write request. Reuse the sam
|
|
120
|
+
#
|
|
121
|
+
# @param request_options [MethodRuby::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
122
|
+
#
|
|
123
|
+
# @return [MethodRuby::Models::Entities::SubscriptionDeleteResponse]
|
|
124
|
+
#
|
|
125
|
+
# @see MethodRuby::Models::Entities::SubscriptionDeleteParams
|
|
126
|
+
def delete(sub_id, params)
|
|
127
|
+
parsed, options = MethodRuby::Entities::SubscriptionDeleteParams.dump_request(params)
|
|
128
|
+
entity_id =
|
|
129
|
+
parsed.delete(:entity_id) do
|
|
130
|
+
raise ArgumentError.new("missing required path argument #{_1}")
|
|
131
|
+
end
|
|
132
|
+
@client.request(
|
|
133
|
+
method: :delete,
|
|
134
|
+
path: ["entities/%1$s/subscriptions/%2$s", entity_id, sub_id],
|
|
135
|
+
headers: parsed.transform_keys(
|
|
136
|
+
method_version: "method-version",
|
|
137
|
+
idempotency_key: "idempotency-key"
|
|
138
|
+
),
|
|
139
|
+
model: MethodRuby::Models::Entities::SubscriptionDeleteResponse,
|
|
140
|
+
security: {secret_key: true},
|
|
141
|
+
options: options
|
|
142
|
+
)
|
|
143
|
+
end
|
|
144
|
+
|
|
145
|
+
# @api private
|
|
146
|
+
#
|
|
147
|
+
# @param client [MethodRuby::Client]
|
|
148
|
+
def initialize(client:)
|
|
149
|
+
@client = client
|
|
150
|
+
end
|
|
151
|
+
end
|
|
152
|
+
end
|
|
153
|
+
end
|
|
154
|
+
end
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module MethodRuby
|
|
4
|
+
module Resources
|
|
5
|
+
class Entities
|
|
6
|
+
# Vehicle data for entities
|
|
7
|
+
class Vehicles
|
|
8
|
+
# Some parameter documentations has been truncated, see
|
|
9
|
+
# {MethodRuby::Models::Entities::VehicleCreateParams} for more details.
|
|
10
|
+
#
|
|
11
|
+
# Searches for vehicles associated with the specified entity.
|
|
12
|
+
#
|
|
13
|
+
# @overload create(entity_id, body:, method_version:, idempotency_key: nil, request_options: {})
|
|
14
|
+
#
|
|
15
|
+
# @param entity_id [String] Path param: Unique identifier for the entity.
|
|
16
|
+
#
|
|
17
|
+
# @param body [Object] Body param: Request body for searching entity vehicles. Treated as a product exe
|
|
18
|
+
#
|
|
19
|
+
# @param method_version [Symbol, MethodRuby::Models::Entities::VehicleCreateParams::MethodVersion] Header param: API version to use for this request. This spec targets `2025-12-01
|
|
20
|
+
#
|
|
21
|
+
# @param idempotency_key [String] Header param: Idempotency key for safely retrying a write request. Reuse the sam
|
|
22
|
+
#
|
|
23
|
+
# @param request_options [MethodRuby::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
24
|
+
#
|
|
25
|
+
# @return [MethodRuby::Models::Entities::VehicleCreateResponse]
|
|
26
|
+
#
|
|
27
|
+
# @see MethodRuby::Models::Entities::VehicleCreateParams
|
|
28
|
+
def create(entity_id, params)
|
|
29
|
+
parsed, options = MethodRuby::Entities::VehicleCreateParams.dump_request(params)
|
|
30
|
+
@client.request(
|
|
31
|
+
method: :post,
|
|
32
|
+
path: ["entities/%1$s/vehicles", entity_id],
|
|
33
|
+
headers: parsed.except(:body).transform_keys(
|
|
34
|
+
method_version: "method-version",
|
|
35
|
+
idempotency_key: "idempotency-key"
|
|
36
|
+
),
|
|
37
|
+
body: parsed[:body],
|
|
38
|
+
model: MethodRuby::Models::Entities::VehicleCreateResponse,
|
|
39
|
+
security: {secret_key: true},
|
|
40
|
+
options: options
|
|
41
|
+
)
|
|
42
|
+
end
|
|
43
|
+
|
|
44
|
+
# Some parameter documentations has been truncated, see
|
|
45
|
+
# {MethodRuby::Models::Entities::VehicleRetrieveParams} for more details.
|
|
46
|
+
#
|
|
47
|
+
# Returns a single entity vehicle by its identifier.
|
|
48
|
+
#
|
|
49
|
+
# @overload retrieve(vhl_id, entity_id:, method_version:, request_options: {})
|
|
50
|
+
#
|
|
51
|
+
# @param vhl_id [String] Path param: Unique identifier for the entity vehicle.
|
|
52
|
+
#
|
|
53
|
+
# @param entity_id [String] Path param: Unique identifier for the entity.
|
|
54
|
+
#
|
|
55
|
+
# @param method_version [Symbol, MethodRuby::Models::Entities::VehicleRetrieveParams::MethodVersion] Header param: API version to use for this request. This spec targets `2025-12-01
|
|
56
|
+
#
|
|
57
|
+
# @param request_options [MethodRuby::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
58
|
+
#
|
|
59
|
+
# @return [MethodRuby::Models::Entities::VehicleRetrieveResponse]
|
|
60
|
+
#
|
|
61
|
+
# @see MethodRuby::Models::Entities::VehicleRetrieveParams
|
|
62
|
+
def retrieve(vhl_id, params)
|
|
63
|
+
parsed, options = MethodRuby::Entities::VehicleRetrieveParams.dump_request(params)
|
|
64
|
+
entity_id =
|
|
65
|
+
parsed.delete(:entity_id) do
|
|
66
|
+
raise ArgumentError.new("missing required path argument #{_1}")
|
|
67
|
+
end
|
|
68
|
+
@client.request(
|
|
69
|
+
method: :get,
|
|
70
|
+
path: ["entities/%1$s/vehicles/%2$s", entity_id, vhl_id],
|
|
71
|
+
headers: parsed.transform_keys(method_version: "method-version"),
|
|
72
|
+
model: MethodRuby::Models::Entities::VehicleRetrieveResponse,
|
|
73
|
+
security: {secret_key: true},
|
|
74
|
+
options: options
|
|
75
|
+
)
|
|
76
|
+
end
|
|
77
|
+
|
|
78
|
+
# Some parameter documentations has been truncated, see
|
|
79
|
+
# {MethodRuby::Models::Entities::VehicleListParams} for more details.
|
|
80
|
+
#
|
|
81
|
+
# Returns a list of vehicles for the specified entity.
|
|
82
|
+
#
|
|
83
|
+
# @overload list(entity_id, method_version:, request_options: {})
|
|
84
|
+
#
|
|
85
|
+
# @param entity_id [String] Unique identifier for the entity.
|
|
86
|
+
#
|
|
87
|
+
# @param method_version [Symbol, MethodRuby::Models::Entities::VehicleListParams::MethodVersion] API version to use for this request. This spec targets `2025-12-01`.
|
|
88
|
+
#
|
|
89
|
+
# @param request_options [MethodRuby::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
90
|
+
#
|
|
91
|
+
# @return [MethodRuby::Models::Entities::VehicleListResponse]
|
|
92
|
+
#
|
|
93
|
+
# @see MethodRuby::Models::Entities::VehicleListParams
|
|
94
|
+
def list(entity_id, params)
|
|
95
|
+
parsed, options = MethodRuby::Entities::VehicleListParams.dump_request(params)
|
|
96
|
+
@client.request(
|
|
97
|
+
method: :get,
|
|
98
|
+
path: ["entities/%1$s/vehicles", entity_id],
|
|
99
|
+
headers: parsed.transform_keys(method_version: "method-version"),
|
|
100
|
+
model: MethodRuby::Models::Entities::VehicleListResponse,
|
|
101
|
+
security: {secret_key: true},
|
|
102
|
+
options: options
|
|
103
|
+
)
|
|
104
|
+
end
|
|
105
|
+
|
|
106
|
+
# @api private
|
|
107
|
+
#
|
|
108
|
+
# @param client [MethodRuby::Client]
|
|
109
|
+
def initialize(client:)
|
|
110
|
+
@client = client
|
|
111
|
+
end
|
|
112
|
+
end
|
|
113
|
+
end
|
|
114
|
+
end
|
|
115
|
+
end
|
|
@@ -0,0 +1,191 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module MethodRuby
|
|
4
|
+
module Resources
|
|
5
|
+
class Entities
|
|
6
|
+
# Verification sessions for entities
|
|
7
|
+
class VerificationSessions
|
|
8
|
+
# Some parameter documentations has been truncated, see
|
|
9
|
+
# {MethodRuby::Models::Entities::VerificationSessionCreateParams} for more
|
|
10
|
+
# details.
|
|
11
|
+
#
|
|
12
|
+
# Creates a new verification session for the specified entity.
|
|
13
|
+
#
|
|
14
|
+
# @overload create(entity_id, method_:, type:, method_version:, byo_kyc: nil, byo_sms: nil, kba: nil, sms: nil, sna: nil, idempotency_key: nil, request_options: {})
|
|
15
|
+
#
|
|
16
|
+
# @param entity_id [String] Path param: Unique identifier for the entity.
|
|
17
|
+
#
|
|
18
|
+
# @param method_ [Symbol, MethodRuby::Models::Entities::VerificationSessionCreateParams::Method] Body param: The verification method to use.
|
|
19
|
+
#
|
|
20
|
+
# @param type [Symbol, MethodRuby::Models::Entities::VerificationSessionCreateParams::Type] Body param: The type of verification to perform.
|
|
21
|
+
#
|
|
22
|
+
# @param method_version [Symbol, MethodRuby::Models::Entities::VerificationSessionCreateParams::MethodVersion] Header param: API version to use for this request. This spec targets `2025-12-01
|
|
23
|
+
#
|
|
24
|
+
# @param byo_kyc [Object] Body param: BYO KYC-specific options. Required when method is byo_kyc.
|
|
25
|
+
#
|
|
26
|
+
# @param byo_sms [MethodRuby::Models::Entities::VerificationSessionCreateParams::ByoSMS] Body param: BYO SMS-specific options. Required when method is byo_sms.
|
|
27
|
+
#
|
|
28
|
+
# @param kba [Object] Body param: KBA-specific options. Required when method is kba.
|
|
29
|
+
#
|
|
30
|
+
# @param sms [Object] Body param: SMS-specific options. Required when method is sms.
|
|
31
|
+
#
|
|
32
|
+
# @param sna [Object] Body param: SNA-specific options. Required when method is sna.
|
|
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::Entities::VerificationSessionCreateResponse]
|
|
39
|
+
#
|
|
40
|
+
# @see MethodRuby::Models::Entities::VerificationSessionCreateParams
|
|
41
|
+
def create(entity_id, params)
|
|
42
|
+
parsed, options = MethodRuby::Entities::VerificationSessionCreateParams.dump_request(params)
|
|
43
|
+
header_params = {method_version: "method-version", idempotency_key: "idempotency-key"}
|
|
44
|
+
@client.request(
|
|
45
|
+
method: :post,
|
|
46
|
+
path: ["entities/%1$s/verification_sessions", entity_id],
|
|
47
|
+
headers: parsed.slice(*header_params.keys).transform_keys(header_params),
|
|
48
|
+
body: parsed.except(*header_params.keys),
|
|
49
|
+
model: MethodRuby::Models::Entities::VerificationSessionCreateResponse,
|
|
50
|
+
security: {secret_key: true},
|
|
51
|
+
options: options
|
|
52
|
+
)
|
|
53
|
+
end
|
|
54
|
+
|
|
55
|
+
# Some parameter documentations has been truncated, see
|
|
56
|
+
# {MethodRuby::Models::Entities::VerificationSessionRetrieveParams} for more
|
|
57
|
+
# details.
|
|
58
|
+
#
|
|
59
|
+
# Returns a single entity verification session by its identifier.
|
|
60
|
+
#
|
|
61
|
+
# @overload retrieve(evf_id, entity_id:, method_version:, request_options: {})
|
|
62
|
+
#
|
|
63
|
+
# @param evf_id [String] Path param: Unique identifier for the entity verification session.
|
|
64
|
+
#
|
|
65
|
+
# @param entity_id [String] Path param: Unique identifier for the entity.
|
|
66
|
+
#
|
|
67
|
+
# @param method_version [Symbol, MethodRuby::Models::Entities::VerificationSessionRetrieveParams::MethodVersion] Header param: API version to use for this request. This spec targets `2025-12-01
|
|
68
|
+
#
|
|
69
|
+
# @param request_options [MethodRuby::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
70
|
+
#
|
|
71
|
+
# @return [MethodRuby::Models::Entities::VerificationSessionRetrieveResponse]
|
|
72
|
+
#
|
|
73
|
+
# @see MethodRuby::Models::Entities::VerificationSessionRetrieveParams
|
|
74
|
+
def retrieve(evf_id, params)
|
|
75
|
+
parsed, options = MethodRuby::Entities::VerificationSessionRetrieveParams.dump_request(params)
|
|
76
|
+
entity_id =
|
|
77
|
+
parsed.delete(:entity_id) do
|
|
78
|
+
raise ArgumentError.new("missing required path argument #{_1}")
|
|
79
|
+
end
|
|
80
|
+
@client.request(
|
|
81
|
+
method: :get,
|
|
82
|
+
path: ["entities/%1$s/verification_sessions/%2$s", entity_id, evf_id],
|
|
83
|
+
headers: parsed.transform_keys(method_version: "method-version"),
|
|
84
|
+
model: MethodRuby::Models::Entities::VerificationSessionRetrieveResponse,
|
|
85
|
+
security: {secret_key: true},
|
|
86
|
+
options: options
|
|
87
|
+
)
|
|
88
|
+
end
|
|
89
|
+
|
|
90
|
+
# Some parameter documentations has been truncated, see
|
|
91
|
+
# {MethodRuby::Models::Entities::VerificationSessionUpdateParams} for more
|
|
92
|
+
# details.
|
|
93
|
+
#
|
|
94
|
+
# Updates a verification session, for example by submitting an SMS verification
|
|
95
|
+
# code or KBA answers. The request body shape depends on the verification type and
|
|
96
|
+
# method.
|
|
97
|
+
#
|
|
98
|
+
# @overload update(evf_id, entity_id:, method_:, type:, method_version:, kba: nil, sms: nil, sna: nil, idempotency_key: nil, request_options: {})
|
|
99
|
+
#
|
|
100
|
+
# @param evf_id [String] Path param: Unique identifier for the entity verification session.
|
|
101
|
+
#
|
|
102
|
+
# @param entity_id [String] Path param: Unique identifier for the entity.
|
|
103
|
+
#
|
|
104
|
+
# @param method_ [Symbol, MethodRuby::Models::Entities::VerificationSessionUpdateParams::Method] Body param: The verification method.
|
|
105
|
+
#
|
|
106
|
+
# @param type [String] Body param: The verification session type.
|
|
107
|
+
#
|
|
108
|
+
# @param method_version [Symbol, MethodRuby::Models::Entities::VerificationSessionUpdateParams::MethodVersion] Header param: API version to use for this request. This spec targets `2025-12-01
|
|
109
|
+
#
|
|
110
|
+
# @param kba [MethodRuby::Models::Entities::VerificationSessionUpdateParams::Kba] Body param: KBA verification data.
|
|
111
|
+
#
|
|
112
|
+
# @param sms [MethodRuby::Models::Entities::VerificationSessionUpdateParams::SMS] Body param: SMS verification data.
|
|
113
|
+
#
|
|
114
|
+
# @param sna [Object] Body param: SNA verification data.
|
|
115
|
+
#
|
|
116
|
+
# @param idempotency_key [String] Header param: Idempotency key for safely retrying a write request. Reuse the sam
|
|
117
|
+
#
|
|
118
|
+
# @param request_options [MethodRuby::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
119
|
+
#
|
|
120
|
+
# @return [MethodRuby::Models::Entities::VerificationSessionUpdateResponse]
|
|
121
|
+
#
|
|
122
|
+
# @see MethodRuby::Models::Entities::VerificationSessionUpdateParams
|
|
123
|
+
def update(evf_id, params)
|
|
124
|
+
parsed, options = MethodRuby::Entities::VerificationSessionUpdateParams.dump_request(params)
|
|
125
|
+
entity_id =
|
|
126
|
+
parsed.delete(:entity_id) do
|
|
127
|
+
raise ArgumentError.new("missing required path argument #{_1}")
|
|
128
|
+
end
|
|
129
|
+
header_params = {method_version: "method-version", idempotency_key: "idempotency-key"}
|
|
130
|
+
@client.request(
|
|
131
|
+
method: :put,
|
|
132
|
+
path: ["entities/%1$s/verification_sessions/%2$s", entity_id, evf_id],
|
|
133
|
+
headers: parsed.slice(*header_params.keys).transform_keys(header_params),
|
|
134
|
+
body: parsed.except(*header_params.keys),
|
|
135
|
+
model: MethodRuby::Models::Entities::VerificationSessionUpdateResponse,
|
|
136
|
+
security: {secret_key: true},
|
|
137
|
+
options: options
|
|
138
|
+
)
|
|
139
|
+
end
|
|
140
|
+
|
|
141
|
+
# Some parameter documentations has been truncated, see
|
|
142
|
+
# {MethodRuby::Models::Entities::VerificationSessionListParams} for more details.
|
|
143
|
+
#
|
|
144
|
+
# Returns a list of verification sessions for the specified entity.
|
|
145
|
+
#
|
|
146
|
+
# @overload list(entity_id, method_version:, from_date: nil, page: nil, page_cursor: nil, page_limit: nil, to_date: nil, request_options: {})
|
|
147
|
+
#
|
|
148
|
+
# @param entity_id [String] Path param: Unique identifier for the entity.
|
|
149
|
+
#
|
|
150
|
+
# @param method_version [Symbol, MethodRuby::Models::Entities::VerificationSessionListParams::MethodVersion] Header param: API version to use for this request. This spec targets `2025-12-01
|
|
151
|
+
#
|
|
152
|
+
# @param from_date [Date] Query param: Filter results from this date (inclusive, YYYY-MM-DD format).
|
|
153
|
+
#
|
|
154
|
+
# @param page [Integer] Query param: Page number for pagination (1-indexed).
|
|
155
|
+
#
|
|
156
|
+
# @param page_cursor [String] Query param: Cursor for cursor-based pagination. Use the value from `Pagination-
|
|
157
|
+
#
|
|
158
|
+
# @param page_limit [Integer] Query param: Number of items per page.
|
|
159
|
+
#
|
|
160
|
+
# @param to_date [Date] Query param: Filter results to this date (inclusive, YYYY-MM-DD format).
|
|
161
|
+
#
|
|
162
|
+
# @param request_options [MethodRuby::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
163
|
+
#
|
|
164
|
+
# @return [MethodRuby::Models::Entities::VerificationSessionListResponse]
|
|
165
|
+
#
|
|
166
|
+
# @see MethodRuby::Models::Entities::VerificationSessionListParams
|
|
167
|
+
def list(entity_id, params)
|
|
168
|
+
query_params = [:from_date, :page, :page_cursor, :page_limit, :to_date]
|
|
169
|
+
parsed, options = MethodRuby::Entities::VerificationSessionListParams.dump_request(params)
|
|
170
|
+
query = MethodRuby::Internal::Util.encode_query_params(parsed.slice(*query_params))
|
|
171
|
+
@client.request(
|
|
172
|
+
method: :get,
|
|
173
|
+
path: ["entities/%1$s/verification_sessions", entity_id],
|
|
174
|
+
query: query,
|
|
175
|
+
headers: parsed.except(*query_params).transform_keys(method_version: "method-version"),
|
|
176
|
+
model: MethodRuby::Models::Entities::VerificationSessionListResponse,
|
|
177
|
+
security: {secret_key: true},
|
|
178
|
+
options: options
|
|
179
|
+
)
|
|
180
|
+
end
|
|
181
|
+
|
|
182
|
+
# @api private
|
|
183
|
+
#
|
|
184
|
+
# @param client [MethodRuby::Client]
|
|
185
|
+
def initialize(client:)
|
|
186
|
+
@client = client
|
|
187
|
+
end
|
|
188
|
+
end
|
|
189
|
+
end
|
|
190
|
+
end
|
|
191
|
+
end
|