basedpyright 1.10.0 → 1.10.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/pyright-langserver.js +1 -1
- package/dist/pyright-langserver.js.map +1 -1
- package/dist/pyright.js +1 -1
- package/dist/pyright.js.map +1 -1
- package/dist/typeshed-fallback/commit.txt +1 -1
- package/dist/typeshed-fallback/stdlib/_curses.pyi +549 -542
- package/dist/typeshed-fallback/stdlib/curses/__init__.pyi +14 -13
- package/dist/typeshed-fallback/stdlib/curses/ascii.pyi +58 -59
- package/dist/typeshed-fallback/stdlib/curses/has_key.pyi +1 -4
- package/dist/typeshed-fallback/stdlib/curses/panel.pyi +19 -22
- package/dist/typeshed-fallback/stdlib/curses/textpad.pyi +8 -10
- package/dist/typeshed-fallback/stdlib/importlib/resources/simple.pyi +11 -4
- package/dist/typeshed-fallback/stdlib/io.pyi +5 -5
- package/dist/typeshed-fallback/stdlib/multiprocessing/resource_tracker.pyi +3 -3
- package/dist/typeshed-fallback/stdlib/multiprocessing/util.pyi +25 -6
- package/dist/typeshed-fallback/stdlib/signal.pyi +2 -6
- package/dist/typeshed-fallback/stdlib/ssl.pyi +6 -0
- package/dist/typeshed-fallback/stdlib/tkinter/commondialog.pyi +2 -2
- package/dist/typeshed-fallback/stdlib/tkinter/dialog.pyi +1 -1
- package/dist/typeshed-fallback/stdlib/tkinter/scrolledtext.pyi +1 -2
- package/dist/typeshed-fallback/stdlib/traceback.pyi +4 -4
- package/dist/typeshed-fallback/stdlib/typing.pyi +5 -5
- package/dist/typeshed-fallback/stdlib/typing_extensions.pyi +4 -4
- package/dist/typeshed-fallback/stdlib/xml/dom/minidom.pyi +2 -2
- package/dist/typeshed-fallback/stdlib/xml/dom/xmlbuilder.pyi +1 -1
- package/dist/typeshed-fallback/stubs/Flask-Cors/flask_cors/core.pyi +5 -2
- package/dist/typeshed-fallback/stubs/Flask-Cors/flask_cors/extension.pyi +1 -2
- package/dist/typeshed-fallback/stubs/Flask-SocketIO/flask_socketio/namespace.pyi +2 -2
- package/dist/typeshed-fallback/stubs/Pillow/PIL/ImageTk.pyi +3 -3
- package/dist/typeshed-fallback/stubs/Pillow/PIL/PdfParser.pyi +1 -1
- package/dist/typeshed-fallback/stubs/Pillow/PIL/PyAccess.pyi +11 -4
- package/dist/typeshed-fallback/stubs/Pillow/PIL/_imaging.pyi +4 -4
- package/dist/typeshed-fallback/stubs/PyAutoGUI/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/PyScreeze/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/aiofiles/aiofiles/tempfile/__init__.pyi +1 -1
- package/dist/typeshed-fallback/stubs/aiofiles/aiofiles/tempfile/temptypes.pyi +4 -4
- package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/error/Errors.pyi +1 -1
- package/dist/typeshed-fallback/stubs/bleach/bleach/sanitizer.pyi +1 -2
- package/dist/typeshed-fallback/stubs/boltons/boltons/debugutils.pyi +2 -3
- package/dist/typeshed-fallback/stubs/boltons/boltons/queueutils.pyi +2 -3
- package/dist/typeshed-fallback/stubs/braintree/METADATA.toml +1 -5
- package/dist/typeshed-fallback/stubs/braintree/braintree/account_updater_daily_report.pyi +4 -5
- package/dist/typeshed-fallback/stubs/braintree/braintree/ach_mandate.pyi +1 -2
- package/dist/typeshed-fallback/stubs/braintree/braintree/add_on.pyi +1 -2
- package/dist/typeshed-fallback/stubs/braintree/braintree/add_on_gateway.pyi +3 -6
- package/dist/typeshed-fallback/stubs/braintree/braintree/address.pyi +9 -10
- package/dist/typeshed-fallback/stubs/braintree/braintree/address_gateway.pyi +2 -9
- package/dist/typeshed-fallback/stubs/braintree/braintree/amex_express_checkout_card.pyi +3 -4
- package/dist/typeshed-fallback/stubs/braintree/braintree/android_pay_card.pyi +11 -4
- package/dist/typeshed-fallback/stubs/braintree/braintree/apple_pay_card.pyi +11 -7
- package/dist/typeshed-fallback/stubs/braintree/braintree/apple_pay_gateway.pyi +3 -8
- package/dist/typeshed-fallback/stubs/braintree/braintree/apple_pay_options.pyi +1 -1
- package/dist/typeshed-fallback/stubs/braintree/braintree/attribute_getter.pyi +5 -2
- package/dist/typeshed-fallback/stubs/braintree/braintree/authorization_adjustment.pyi +3 -3
- package/dist/typeshed-fallback/stubs/braintree/braintree/bin_data.pyi +1 -1
- package/dist/typeshed-fallback/stubs/braintree/braintree/braintree_gateway.pyi +59 -56
- package/dist/typeshed-fallback/stubs/braintree/braintree/client_token.pyi +0 -5
- package/dist/typeshed-fallback/stubs/braintree/braintree/client_token_gateway.pyi +2 -7
- package/dist/typeshed-fallback/stubs/braintree/braintree/configuration.pyi +9 -15
- package/dist/typeshed-fallback/stubs/braintree/braintree/connected_merchant_paypal_status_changed.pyi +1 -1
- package/dist/typeshed-fallback/stubs/braintree/braintree/connected_merchant_status_transitioned.pyi +1 -1
- package/dist/typeshed-fallback/stubs/braintree/braintree/credentials_parser.pyi +5 -9
- package/dist/typeshed-fallback/stubs/braintree/braintree/credit_card.pyi +50 -41
- package/dist/typeshed-fallback/stubs/braintree/braintree/credit_card_gateway.pyi +2 -11
- package/dist/typeshed-fallback/stubs/braintree/braintree/credit_card_verification.pyi +18 -18
- package/dist/typeshed-fallback/stubs/braintree/braintree/credit_card_verification_gateway.pyi +3 -11
- package/dist/typeshed-fallback/stubs/braintree/braintree/credit_card_verification_search.pyi +13 -18
- package/dist/typeshed-fallback/stubs/braintree/braintree/customer.pyi +26 -34
- package/dist/typeshed-fallback/stubs/braintree/braintree/customer_gateway.pyi +2 -11
- package/dist/typeshed-fallback/stubs/braintree/braintree/customer_search.pyi +25 -27
- package/dist/typeshed-fallback/stubs/braintree/braintree/descriptor.pyi +1 -1
- package/dist/typeshed-fallback/stubs/braintree/braintree/disbursement.pyi +8 -8
- package/dist/typeshed-fallback/stubs/braintree/braintree/disbursement_detail.pyi +4 -4
- package/dist/typeshed-fallback/stubs/braintree/braintree/discount.pyi +1 -2
- package/dist/typeshed-fallback/stubs/braintree/braintree/discount_gateway.pyi +3 -6
- package/dist/typeshed-fallback/stubs/braintree/braintree/dispute.pyi +51 -41
- package/dist/typeshed-fallback/stubs/braintree/braintree/dispute_details/evidence.pyi +1 -1
- package/dist/typeshed-fallback/stubs/braintree/braintree/dispute_details/paypal_message.pyi +1 -1
- package/dist/typeshed-fallback/stubs/braintree/braintree/dispute_details/status_history.pyi +1 -1
- package/dist/typeshed-fallback/stubs/braintree/braintree/dispute_gateway.pyi +4 -13
- package/dist/typeshed-fallback/stubs/braintree/braintree/dispute_search.pyi +21 -21
- package/dist/typeshed-fallback/stubs/braintree/braintree/document_upload.pyi +3 -4
- package/dist/typeshed-fallback/stubs/braintree/braintree/document_upload_gateway.pyi +2 -8
- package/dist/typeshed-fallback/stubs/braintree/braintree/enriched_customer_data.pyi +7 -0
- package/dist/typeshed-fallback/stubs/braintree/braintree/environment.pyi +0 -2
- package/dist/typeshed-fallback/stubs/braintree/braintree/error_codes.pyi +690 -675
- package/dist/typeshed-fallback/stubs/braintree/braintree/error_result.pyi +13 -10
- package/dist/typeshed-fallback/stubs/braintree/braintree/errors.pyi +3 -5
- package/dist/typeshed-fallback/stubs/braintree/braintree/europe_bank_account.pyi +5 -4
- package/dist/typeshed-fallback/stubs/braintree/braintree/exceptions/authentication_error.pyi +1 -1
- package/dist/typeshed-fallback/stubs/braintree/braintree/exceptions/authorization_error.pyi +1 -1
- package/dist/typeshed-fallback/stubs/braintree/braintree/exceptions/configuration_error.pyi +1 -1
- package/dist/typeshed-fallback/stubs/braintree/braintree/exceptions/gateway_timeout_error.pyi +1 -1
- package/dist/typeshed-fallback/stubs/braintree/braintree/exceptions/http/connection_error.pyi +1 -1
- package/dist/typeshed-fallback/stubs/braintree/braintree/exceptions/http/invalid_response_error.pyi +1 -1
- package/dist/typeshed-fallback/stubs/braintree/braintree/exceptions/http/timeout_error.pyi +1 -1
- package/dist/typeshed-fallback/stubs/braintree/braintree/exceptions/invalid_challenge_error.pyi +1 -1
- package/dist/typeshed-fallback/stubs/braintree/braintree/exceptions/invalid_signature_error.pyi +1 -1
- package/dist/typeshed-fallback/stubs/braintree/braintree/exceptions/not_found_error.pyi +1 -1
- package/dist/typeshed-fallback/stubs/braintree/braintree/exceptions/request_timeout_error.pyi +1 -1
- package/dist/typeshed-fallback/stubs/braintree/braintree/exceptions/server_error.pyi +1 -1
- package/dist/typeshed-fallback/stubs/braintree/braintree/exceptions/service_unavailable_error.pyi +1 -1
- package/dist/typeshed-fallback/stubs/braintree/braintree/exceptions/test_operation_performed_in_production_error.pyi +3 -0
- package/dist/typeshed-fallback/stubs/braintree/braintree/exceptions/too_many_requests_error.pyi +1 -1
- package/dist/typeshed-fallback/stubs/braintree/braintree/exceptions/unexpected_error.pyi +1 -1
- package/dist/typeshed-fallback/stubs/braintree/braintree/exceptions/upgrade_required_error.pyi +1 -1
- package/dist/typeshed-fallback/stubs/braintree/braintree/exchange_rate_quote.pyi +4 -0
- package/dist/typeshed-fallback/stubs/braintree/braintree/exchange_rate_quote_gateway.pyi +9 -0
- package/dist/typeshed-fallback/stubs/braintree/braintree/exchange_rate_quote_input.pyi +9 -0
- package/dist/typeshed-fallback/stubs/braintree/braintree/exchange_rate_quote_payload.pyi +6 -0
- package/dist/typeshed-fallback/stubs/braintree/braintree/exchange_rate_quote_request.pyi +7 -0
- package/dist/typeshed-fallback/stubs/braintree/braintree/facilitated_details.pyi +1 -1
- package/dist/typeshed-fallback/stubs/braintree/braintree/facilitator_details.pyi +1 -1
- package/dist/typeshed-fallback/stubs/braintree/braintree/granted_payment_instrument_update.pyi +3 -3
- package/dist/typeshed-fallback/stubs/braintree/braintree/iban_bank_account.pyi +1 -1
- package/dist/typeshed-fallback/stubs/braintree/braintree/ids_search.pyi +2 -4
- package/dist/typeshed-fallback/stubs/braintree/braintree/liability_shift.pyi +3 -0
- package/dist/typeshed-fallback/stubs/braintree/braintree/local_payment.pyi +1 -1
- package/dist/typeshed-fallback/stubs/braintree/braintree/local_payment_completed.pyi +3 -5
- package/dist/typeshed-fallback/stubs/braintree/braintree/local_payment_expired.pyi +4 -0
- package/dist/typeshed-fallback/stubs/braintree/braintree/local_payment_funded.pyi +7 -0
- package/dist/typeshed-fallback/stubs/braintree/braintree/local_payment_reversed.pyi +1 -1
- package/dist/typeshed-fallback/stubs/braintree/braintree/masterpass_card.pyi +5 -6
- package/dist/typeshed-fallback/stubs/braintree/braintree/merchant.pyi +3 -5
- package/dist/typeshed-fallback/stubs/braintree/braintree/merchant_account/address_details.pyi +3 -3
- package/dist/typeshed-fallback/stubs/braintree/braintree/merchant_account/business_details.pyi +5 -5
- package/dist/typeshed-fallback/stubs/braintree/braintree/merchant_account/funding_details.pyi +3 -3
- package/dist/typeshed-fallback/stubs/braintree/braintree/merchant_account/individual_details.pyi +5 -5
- package/dist/typeshed-fallback/stubs/braintree/braintree/merchant_account/merchant_account.pyi +14 -19
- package/dist/typeshed-fallback/stubs/braintree/braintree/merchant_account_gateway.pyi +2 -12
- package/dist/typeshed-fallback/stubs/braintree/braintree/merchant_gateway.pyi +3 -11
- package/dist/typeshed-fallback/stubs/braintree/braintree/meta_checkout_card.pyi +8 -0
- package/dist/typeshed-fallback/stubs/braintree/braintree/meta_checkout_token.pyi +8 -0
- package/dist/typeshed-fallback/stubs/braintree/braintree/modification.pyi +3 -3
- package/dist/typeshed-fallback/stubs/braintree/braintree/montary_amount.pyi +7 -0
- package/dist/typeshed-fallback/stubs/braintree/braintree/oauth_access_revocation.pyi +1 -1
- package/dist/typeshed-fallback/stubs/braintree/braintree/oauth_credentials.pyi +1 -1
- package/dist/typeshed-fallback/stubs/braintree/braintree/oauth_gateway.pyi +3 -8
- package/dist/typeshed-fallback/stubs/braintree/braintree/package_details.pyi +7 -0
- package/dist/typeshed-fallback/stubs/braintree/braintree/paginated_collection.pyi +2 -2
- package/dist/typeshed-fallback/stubs/braintree/braintree/paginated_result.pyi +4 -4
- package/dist/typeshed-fallback/stubs/braintree/braintree/partner_merchant.pyi +7 -8
- package/dist/typeshed-fallback/stubs/braintree/braintree/payment_instrument_type.pyi +18 -13
- package/dist/typeshed-fallback/stubs/braintree/braintree/payment_method.pyi +1 -3
- package/dist/typeshed-fallback/stubs/braintree/braintree/payment_method_customer_data_updated_metadata.pyi +8 -0
- package/dist/typeshed-fallback/stubs/braintree/braintree/payment_method_gateway.pyi +3 -26
- package/dist/typeshed-fallback/stubs/braintree/braintree/payment_method_nonce.pyi +7 -8
- package/dist/typeshed-fallback/stubs/braintree/braintree/payment_method_nonce_gateway.pyi +3 -10
- package/dist/typeshed-fallback/stubs/braintree/braintree/payment_method_parser.pyi +0 -14
- package/dist/typeshed-fallback/stubs/braintree/braintree/paypal_account.pyi +3 -4
- package/dist/typeshed-fallback/stubs/braintree/braintree/paypal_account_gateway.pyi +2 -9
- package/dist/typeshed-fallback/stubs/braintree/braintree/paypal_here.pyi +1 -1
- package/dist/typeshed-fallback/stubs/braintree/braintree/plan.pyi +16 -9
- package/dist/typeshed-fallback/stubs/braintree/braintree/plan_gateway.pyi +6 -10
- package/dist/typeshed-fallback/stubs/braintree/braintree/processor_response_types.pyi +5 -3
- package/dist/typeshed-fallback/stubs/braintree/braintree/resource.pyi +3 -3
- package/dist/typeshed-fallback/stubs/braintree/braintree/resource_collection.pyi +2 -4
- package/dist/typeshed-fallback/stubs/braintree/braintree/revoked_payment_method_metadata.pyi +5 -6
- package/dist/typeshed-fallback/stubs/braintree/braintree/risk_data.pyi +2 -4
- package/dist/typeshed-fallback/stubs/braintree/braintree/samsung_pay_card.pyi +5 -6
- package/dist/typeshed-fallback/stubs/braintree/braintree/search.pyi +9 -9
- package/dist/typeshed-fallback/stubs/braintree/braintree/sepa_direct_debit_account.pyi +10 -0
- package/dist/typeshed-fallback/stubs/braintree/braintree/sepa_direct_debit_account_gateway.pyi +8 -0
- package/dist/typeshed-fallback/stubs/braintree/braintree/settlement_batch_summary.pyi +1 -7
- package/dist/typeshed-fallback/stubs/braintree/braintree/settlement_batch_summary_gateway.pyi +2 -8
- package/dist/typeshed-fallback/stubs/braintree/braintree/signature_service.pyi +3 -5
- package/dist/typeshed-fallback/stubs/braintree/braintree/status_event.pyi +3 -3
- package/dist/typeshed-fallback/stubs/braintree/braintree/subscription.pyi +27 -32
- package/dist/typeshed-fallback/stubs/braintree/braintree/subscription_details.pyi +1 -1
- package/dist/typeshed-fallback/stubs/braintree/braintree/subscription_gateway.pyi +2 -11
- package/dist/typeshed-fallback/stubs/braintree/braintree/subscription_search.pyi +13 -17
- package/dist/typeshed-fallback/stubs/braintree/braintree/subscription_status_event.pyi +4 -4
- package/dist/typeshed-fallback/stubs/braintree/braintree/successful_result.pyi +1 -1
- package/dist/typeshed-fallback/stubs/braintree/braintree/test/__init__.pyi +0 -0
- package/dist/typeshed-fallback/stubs/braintree/braintree/test/authentication_ids.pyi +18 -0
- package/dist/typeshed-fallback/stubs/braintree/braintree/test/credit_card_defaults.pyi +5 -0
- package/dist/typeshed-fallback/stubs/braintree/braintree/test/credit_card_numbers.pyi +40 -0
- package/dist/typeshed-fallback/stubs/braintree/braintree/test/merchant_account.pyi +7 -0
- package/dist/typeshed-fallback/stubs/braintree/braintree/test/nonces.pyi +83 -0
- package/dist/typeshed-fallback/stubs/braintree/braintree/test/venmo_sdk.pyi +9 -0
- package/dist/typeshed-fallback/stubs/braintree/braintree/testing_gateway.pyi +3 -7
- package/dist/typeshed-fallback/stubs/braintree/braintree/three_d_secure_info.pyi +1 -1
- package/dist/typeshed-fallback/stubs/braintree/braintree/transaction.pyi +125 -115
- package/dist/typeshed-fallback/stubs/braintree/braintree/transaction_amounts.pyi +6 -4
- package/dist/typeshed-fallback/stubs/braintree/braintree/transaction_details.pyi +3 -3
- package/dist/typeshed-fallback/stubs/braintree/braintree/transaction_gateway.pyi +3 -11
- package/dist/typeshed-fallback/stubs/braintree/braintree/transaction_line_item.pyi +5 -5
- package/dist/typeshed-fallback/stubs/braintree/braintree/transaction_line_item_gateway.pyi +3 -10
- package/dist/typeshed-fallback/stubs/braintree/braintree/transaction_review.pyi +4 -0
- package/dist/typeshed-fallback/stubs/braintree/braintree/transaction_search.pyi +70 -71
- package/dist/typeshed-fallback/stubs/braintree/braintree/unknown_payment_method.pyi +1 -1
- package/dist/typeshed-fallback/stubs/braintree/braintree/us_bank_account.pyi +5 -8
- package/dist/typeshed-fallback/stubs/braintree/braintree/us_bank_account_gateway.pyi +3 -6
- package/dist/typeshed-fallback/stubs/braintree/braintree/us_bank_account_verification.pyi +17 -14
- package/dist/typeshed-fallback/stubs/braintree/braintree/us_bank_account_verification_gateway.pyi +3 -10
- package/dist/typeshed-fallback/stubs/braintree/braintree/us_bank_account_verification_search.pyi +13 -18
- package/dist/typeshed-fallback/stubs/braintree/braintree/util/constants.pyi +1 -0
- package/dist/typeshed-fallback/stubs/braintree/braintree/util/generator.pyi +2 -2
- package/dist/typeshed-fallback/stubs/braintree/braintree/util/graphql_client.pyi +2 -11
- package/dist/typeshed-fallback/stubs/braintree/braintree/util/http.pyi +6 -27
- package/dist/typeshed-fallback/stubs/braintree/braintree/util/parser.pyi +2 -4
- package/dist/typeshed-fallback/stubs/braintree/braintree/util/xml_util.pyi +0 -3
- package/dist/typeshed-fallback/stubs/braintree/braintree/validation_error.pyi +1 -1
- package/dist/typeshed-fallback/stubs/braintree/braintree/validation_error_collection.pyi +1 -4
- package/dist/typeshed-fallback/stubs/braintree/braintree/venmo_account.pyi +3 -4
- package/dist/typeshed-fallback/stubs/braintree/braintree/venmo_profile_data.pyi +4 -0
- package/dist/typeshed-fallback/stubs/braintree/braintree/version.pyi +3 -1
- package/dist/typeshed-fallback/stubs/braintree/braintree/visa_checkout_card.pyi +7 -8
- package/dist/typeshed-fallback/stubs/braintree/braintree/webhook_notification.pyi +84 -74
- package/dist/typeshed-fallback/stubs/braintree/braintree/webhook_notification_gateway.pyi +3 -9
- package/dist/typeshed-fallback/stubs/braintree/braintree/webhook_testing.pyi +0 -2
- package/dist/typeshed-fallback/stubs/braintree/braintree/webhook_testing_gateway.pyi +2 -6
- package/dist/typeshed-fallback/stubs/caldav/caldav/davclient.pyi +1 -1
- package/dist/typeshed-fallback/stubs/caldav/caldav/objects.pyi +4 -8
- package/dist/typeshed-fallback/stubs/cffi/_cffi_backend.pyi +1 -1
- package/dist/typeshed-fallback/stubs/dateparser/dateparser/utils/__init__.pyi +1 -1
- package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/directives/__init__.pyi +1 -1
- package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/directives/parts.pyi +9 -2
- package/dist/typeshed-fallback/stubs/docutils/docutils/utils/__init__.pyi +7 -32
- package/dist/typeshed-fallback/stubs/flake8-builtins/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/flake8-builtins/flake8_builtins.pyi +37 -6
- package/dist/typeshed-fallback/stubs/fpdf2/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/fpdf2/fpdf/html.pyi +1 -1
- package/dist/typeshed-fallback/stubs/gdb/METADATA.toml +2 -3
- package/dist/typeshed-fallback/stubs/gdb/gdb/FrameDecorator.pyi +19 -0
- package/dist/typeshed-fallback/stubs/gdb/gdb/FrameIterator.pyi +9 -0
- package/dist/typeshed-fallback/stubs/gdb/gdb/__init__.pyi +152 -56
- package/dist/typeshed-fallback/stubs/gdb/gdb/events.pyi +22 -89
- package/dist/typeshed-fallback/stubs/gdb/gdb/types.pyi +4 -0
- package/dist/typeshed-fallback/stubs/gdb/gdb/unwinder.pyi +9 -1
- package/dist/typeshed-fallback/stubs/gdb/gdb/xmethod.pyi +20 -10
- package/dist/typeshed-fallback/stubs/hdbcli/hdbcli/dbapi.pyi +3 -3
- package/dist/typeshed-fallback/stubs/hvac/METADATA.toml +1 -0
- package/dist/typeshed-fallback/stubs/hvac/hvac/adapters.pyi +25 -20
- package/dist/typeshed-fallback/stubs/hvac/hvac/api/vault_api_category.pyi +4 -3
- package/dist/typeshed-fallback/stubs/hvac/hvac/v1/__init__.pyi +3 -3
- package/dist/typeshed-fallback/stubs/jsonschema/jsonschema/exceptions.pyi +2 -2
- package/dist/typeshed-fallback/stubs/netaddr/netaddr/core.pyi +2 -2
- package/dist/typeshed-fallback/stubs/netaddr/netaddr/ip/__init__.pyi +2 -2
- package/dist/typeshed-fallback/stubs/netaddr/netaddr/ip/iana.pyi +2 -2
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/operators/binary.pyi +1 -2
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/planarity.pyi +1 -1
- package/dist/typeshed-fallback/stubs/networkx/networkx/classes/graph.pyi +3 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/classes/reportviews.pyi +8 -4
- package/dist/typeshed-fallback/stubs/networkx/networkx/convert.pyi +1 -1
- package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/cell/_writer.pyi +3 -3
- package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/cell/cell.pyi +8 -4
- package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/cell/read_only.pyi +9 -2
- package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/chart/chartspace.pyi +1 -0
- package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/chart/reference.pyi +6 -4
- package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/chartsheet/chartsheet.pyi +3 -2
- package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/descriptors/base.pyi +1 -1
- package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/descriptors/excel.pyi +1 -1
- package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/packaging/workbook.pyi +1 -1
- package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/reader/workbook.pyi +3 -4
- package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/styles/styleable.pyi +7 -3
- package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/styles/stylesheet.pyi +1 -1
- package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/workbook/_writer.pyi +5 -3
- package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/workbook/workbook.pyi +27 -16
- package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/worksheet/_read_only.pyi +8 -3
- package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/worksheet/_reader.pyi +3 -2
- package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/worksheet/_write_only.pyi +5 -2
- package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/worksheet/_writer.pyi +5 -2
- package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/worksheet/dimensions.pyi +3 -0
- package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/worksheet/merge.pyi +4 -2
- package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/worksheet/print_settings.pyi +3 -3
- package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/writer/excel.pyi +2 -1
- package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/xml/_functions_overloads.pyi +1 -1
- package/dist/typeshed-fallback/stubs/parsimonious/parsimonious/nodes.pyi +1 -1
- package/dist/typeshed-fallback/stubs/passlib/passlib/totp.pyi +85 -67
- package/dist/typeshed-fallback/stubs/polib/polib.pyi +2 -2
- package/dist/typeshed-fallback/stubs/pyasn1/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/pyasn1/pyasn1/codec/ber/encoder.pyi +1 -2
- package/dist/typeshed-fallback/stubs/python-xlib/METADATA.toml +0 -1
- package/dist/typeshed-fallback/stubs/python-xlib/Xlib/_typing.pyi +0 -1
- package/dist/typeshed-fallback/stubs/python-xlib/Xlib/ext/composite.pyi +2 -1
- package/dist/typeshed-fallback/stubs/python-xlib/Xlib/ext/dpms.pyi +1 -1
- package/dist/typeshed-fallback/stubs/python-xlib/Xlib/ext/ge.pyi +1 -1
- package/dist/typeshed-fallback/stubs/python-xlib/Xlib/ext/nvcontrol.pyi +1 -1
- package/dist/typeshed-fallback/stubs/python-xlib/Xlib/ext/record.pyi +1 -1
- package/dist/typeshed-fallback/stubs/python-xlib/Xlib/ext/res.pyi +1 -1
- package/dist/typeshed-fallback/stubs/python-xlib/Xlib/ext/security.pyi +1 -1
- package/dist/typeshed-fallback/stubs/python-xlib/Xlib/ext/xfixes.pyi +1 -1
- package/dist/typeshed-fallback/stubs/python-xlib/Xlib/ext/xinerama.pyi +1 -1
- package/dist/typeshed-fallback/stubs/python-xlib/Xlib/ext/xinput.pyi +1 -2
- package/dist/typeshed-fallback/stubs/python-xlib/Xlib/ext/xtest.pyi +1 -1
- package/dist/typeshed-fallback/stubs/python-xlib/Xlib/protocol/rq.pyi +2 -2
- package/dist/typeshed-fallback/stubs/python-xlib/Xlib/support/unix_connect.pyi +1 -2
- package/dist/typeshed-fallback/stubs/python-xlib/Xlib/support/vms_connect.pyi +1 -2
- package/dist/typeshed-fallback/stubs/python-xlib/Xlib/xobject/drawable.pyi +12 -3
- package/dist/typeshed-fallback/stubs/pywin32/_win32typing.pyi +39 -36
- package/dist/typeshed-fallback/stubs/pywin32/pythoncom.pyi +16 -8
- package/dist/typeshed-fallback/stubs/pywin32/pythonwin/win32ui.pyi +11 -8
- package/dist/typeshed-fallback/stubs/pywin32/pythonwin/win32uiole.pyi +1 -1
- package/dist/typeshed-fallback/stubs/pywin32/win32/lib/pywintypes.pyi +6 -5
- package/dist/typeshed-fallback/stubs/pywin32/win32/win32api.pyi +7 -7
- package/dist/typeshed-fallback/stubs/pywin32/win32/win32file.pyi +1 -1
- package/dist/typeshed-fallback/stubs/pywin32/win32/win32gui.pyi +9 -7
- package/dist/typeshed-fallback/stubs/pywin32/win32/win32ras.pyi +1 -1
- package/dist/typeshed-fallback/stubs/pywin32/win32/win32service.pyi +3 -1
- package/dist/typeshed-fallback/stubs/pywin32/win32com/server/util.pyi +3 -2
- package/dist/typeshed-fallback/stubs/pywin32/win32com/universal.pyi +9 -1
- package/dist/typeshed-fallback/stubs/pywin32/win32comext/mapi/mapi.pyi +1 -1
- package/dist/typeshed-fallback/stubs/pywin32/win32comext/shell/shell.pyi +3 -1
- package/dist/typeshed-fallback/stubs/requests/requests/__init__.pyi +1 -0
- package/dist/typeshed-fallback/stubs/requests/requests/cookies.pyi +24 -22
- package/package.json +1 -1
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
from typing import Final
|
|
2
|
+
|
|
3
|
+
class AuthenticationIds:
|
|
4
|
+
ThreeDSecureVisaFullAuthentication: Final = "fake-three-d-secure-visa-full-authentication-id"
|
|
5
|
+
ThreeDSecureVisaLookupTimeout: Final = "fake-three-d-secure-visa-lookup-timeout-id"
|
|
6
|
+
ThreeDSecureVisaFailedSignature: Final = "fake-three-d-secure-visa-failed-signature-id"
|
|
7
|
+
ThreeDSecureVisaFailedAuthentication: Final = "fake-three-d-secure-visa-failed-authentication-id"
|
|
8
|
+
ThreeDSecureVisaAttemptsNonParticipating: Final[str]
|
|
9
|
+
ThreeDSecureVisaNoteEnrolled: Final = "fake-three-d-secure-visa-not-enrolled-id"
|
|
10
|
+
ThreeDSecureVisaUnavailable: Final = "fake-three-d-secure-visa-unavailable-id"
|
|
11
|
+
ThreeDSecureVisaMPILookupError: Final = "fake-three-d-secure-visa-mpi-lookup-error-id"
|
|
12
|
+
ThreeDSecureVisaMPIAuthenticateError: Final = "fake-three-d-secure-visa-mpi-authenticate-error-id"
|
|
13
|
+
ThreeDSecureVisaAuthenticationUnavailable: Final[str]
|
|
14
|
+
ThreeDSecureVisaBypassedAuthentication: Final[str]
|
|
15
|
+
ThreeDSecureTwoVisaSuccessfulFrictionlessAuthentication: Final[str]
|
|
16
|
+
ThreeDSecureTwoVisaSuccessfulStepUpAuthentication: Final[str]
|
|
17
|
+
ThreeDSecureTwoVisaErrorOnLookup: Final = "fake-three-d-secure-two-visa-error-on-lookup-id"
|
|
18
|
+
ThreeDSecureTwoVisaTimeoutOnLookup: Final = "fake-three-d-secure-two-visa-timeout-on-lookup-id"
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
from typing import Final
|
|
2
|
+
|
|
3
|
+
class CreditCardNumbers:
|
|
4
|
+
class CardTypeIndicators:
|
|
5
|
+
Commercial: Final = "4111111111131010"
|
|
6
|
+
DurbinRegulated: Final = "4111161010101010"
|
|
7
|
+
Debit: Final = "4117101010101010"
|
|
8
|
+
Healthcare: Final = "4111111510101010"
|
|
9
|
+
Payroll: Final = "4111111114101010"
|
|
10
|
+
Prepaid: Final = "4111111111111210"
|
|
11
|
+
IssuingBank: Final = "4111111141010101"
|
|
12
|
+
CountryOfIssuance: Final = "4111111111121102"
|
|
13
|
+
No: Final = "4111111111310101"
|
|
14
|
+
Unknown: Final = "4111111111112101"
|
|
15
|
+
|
|
16
|
+
Maestro: Final = "6304000000000000"
|
|
17
|
+
MasterCard: Final = "5555555555554444"
|
|
18
|
+
MasterCardInternational: Final = "5105105105105100"
|
|
19
|
+
Visa: Final = "4012888888881881"
|
|
20
|
+
VisaInternational: Final = "4009348888881881"
|
|
21
|
+
VisaPrepaid: Final = "4500600000000061"
|
|
22
|
+
Discover: Final = "6011111111111117"
|
|
23
|
+
Elo: Final = "5066991111111118"
|
|
24
|
+
Hiper: Final = "6370950000000005"
|
|
25
|
+
Hipercard: Final = "6062820524845321"
|
|
26
|
+
Amex: Final = "378734493671000"
|
|
27
|
+
|
|
28
|
+
class FailsSandboxVerification:
|
|
29
|
+
AmEx: Final = "378734493671000"
|
|
30
|
+
Discover: Final = "6011000990139424"
|
|
31
|
+
MasterCard: Final = "5105105105105100"
|
|
32
|
+
Visa: Final = "4000111111111115"
|
|
33
|
+
|
|
34
|
+
class AmexPayWithPoints:
|
|
35
|
+
Success: Final = "371260714673002"
|
|
36
|
+
IneligibleCard: Final = "378267515471109"
|
|
37
|
+
InsufficientPoints: Final = "371544868764018"
|
|
38
|
+
|
|
39
|
+
class Disputes:
|
|
40
|
+
Chargeback: Final = "4023898493988028"
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
from typing import Final
|
|
2
|
+
|
|
3
|
+
Approve: Final = "approve_me"
|
|
4
|
+
InsufficientFundsContactUs: Final = "insufficient_funds__contact"
|
|
5
|
+
AccountNotAuthorizedContactUs: Final = "account_not_authorized__contact"
|
|
6
|
+
BankRejectedUpdateFundingInformation: Final = "bank_rejected__update"
|
|
7
|
+
BankRejectedNone: Final = "bank_rejected__none"
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
from typing import Final
|
|
2
|
+
|
|
3
|
+
class Nonces:
|
|
4
|
+
AbstractTransactable: Final = "fake-abstract-transactable-nonce"
|
|
5
|
+
AmexExpressCheckoutCard: Final = "fake-amex-express-checkout-nonce"
|
|
6
|
+
AndroidPayCard: Final = "fake-android-pay-nonce"
|
|
7
|
+
AndroidPayCardAmEx: Final = "fake-android-pay-amex-nonce"
|
|
8
|
+
AndroidPayCardDiscover: Final = "fake-android-pay-discover-nonce"
|
|
9
|
+
AndroidPayCardMasterCard: Final = "fake-android-pay-mastercard-nonce"
|
|
10
|
+
AndroidPayCardVisa: Final = "fake-android-pay-visa-nonce"
|
|
11
|
+
ApplePayAmEx: Final = "fake-apple-pay-amex-nonce"
|
|
12
|
+
ApplePayMasterCard: Final = "fake-apple-pay-mastercard-nonce"
|
|
13
|
+
ApplePayMpan: Final = "fake-apple-pay-mpan-nonce"
|
|
14
|
+
ApplePayVisa: Final = "fake-apple-pay-visa-nonce"
|
|
15
|
+
Consumed: Final = "fake-consumed-nonce"
|
|
16
|
+
Europe: Final = "fake-europe-bank-account-nonce"
|
|
17
|
+
GatewayRejectedFraud: Final = "fake-gateway-rejected-fraud-nonce"
|
|
18
|
+
GatewayRejectedRiskThreshold: Final = "fake-gateway-rejected-risk-thresholds-nonce"
|
|
19
|
+
LocalPayment: Final = "fake-local-payment-method-nonce"
|
|
20
|
+
LuhnInvalid: Final = "fake-luhn-invalid-nonce"
|
|
21
|
+
MasterpassAmEx: Final = "fake-masterpass-amex-nonce"
|
|
22
|
+
MasterpassDiscover: Final = "fake-masterpass-discover-nonce"
|
|
23
|
+
MasterpassMasterCard: Final = "fake-masterpass-mastercard-nonce"
|
|
24
|
+
MasterpassVisa: Final = "fake-masterpass-visa-nonce"
|
|
25
|
+
PayPalBillingAgreement: Final = "fake-paypal-billing-agreement-nonce"
|
|
26
|
+
PayPalFuturePayment: Final = "fake-paypal-future-nonce"
|
|
27
|
+
PayPalFuturePaymentRefreshToken: Final = "fake-paypal-future-refresh-token-nonce"
|
|
28
|
+
PayPalOneTimePayment: Final = "fake-paypal-one-time-nonce"
|
|
29
|
+
ProcessorDeclinedAmEx: Final = "fake-processor-declined-amex-nonce"
|
|
30
|
+
ProcessorDeclinedDiscover: Final = "fake-processor-declined-discover-nonce"
|
|
31
|
+
ProcessorDeclinedMasterCard: Final = "fake-processor-declined-mastercard-nonce"
|
|
32
|
+
ProcessorDeclinedVisa: Final = "fake-processor-declined-visa-nonce"
|
|
33
|
+
ProcessorFailureJCB: Final = "fake-processor-failure-jcb-nonce"
|
|
34
|
+
SEPA: Final = "fake-sepa-bank-account-nonce"
|
|
35
|
+
MetaCheckoutCard: Final = "fake-meta-checkout-card-nonce"
|
|
36
|
+
MetaCheckoutToken: Final = "fake-meta-checkout-token-nonce"
|
|
37
|
+
SamsungPayAmex: Final = "tokensam_fake_american_express"
|
|
38
|
+
SamsungPayDiscover: Final = "tokensam_fake_american_express"
|
|
39
|
+
SamsungPayMasterCard: Final = "tokensam_fake_mastercard"
|
|
40
|
+
SamsungPayVisa: Final = "tokensam_fake_visa"
|
|
41
|
+
SepaDirectDebit: Final = "fake-sepa-direct-debit-nonce"
|
|
42
|
+
ThreeDSecureTwoVisaErrorOnLookup: Final = "fake-three-d-secure-two-visa-error-on-lookup-nonce"
|
|
43
|
+
ThreeDSecureTwoVisaSuccessfulFrictionlessAuthentication: Final[str]
|
|
44
|
+
ThreeDSecureTwoVisaSuccessfulStepUpAuthentication: Final[str]
|
|
45
|
+
ThreeDSecureTwoVisaTimeoutOnLookup: Final[str]
|
|
46
|
+
ThreeDSecureVisaAttemptsNonParticipating: Final[str]
|
|
47
|
+
ThreeDSecureVisaAuthenticationUnavailable: Final[str]
|
|
48
|
+
ThreeDSecureVisaBypassedAuthentication: Final[str]
|
|
49
|
+
ThreeDSecureVisaFailedAuthentication: Final[str]
|
|
50
|
+
ThreeDSecureVisaFailedSignature: Final = "fake-three-d-secure-visa-failed-signature-nonce"
|
|
51
|
+
ThreeDSecureVisaFullAuthentication: Final = "fake-three-d-secure-visa-full-authentication-nonce"
|
|
52
|
+
ThreeDSecureVisaLookupTimeout: Final = "fake-three-d-secure-visa-lookup-timeout-nonce"
|
|
53
|
+
ThreeDSecureVisaMPIAuthenticateError: Final[str]
|
|
54
|
+
ThreeDSecureVisaMPILookupError: Final = "fake-three-d-secure-visa-mpi-lookup-error-nonce"
|
|
55
|
+
ThreeDSecureVisaNoteEnrolled: Final = "fake-three-d-secure-visa-not-enrolled-nonce"
|
|
56
|
+
ThreeDSecureVisaUnavailable: Final = "fake-three-d-secure-visa-unavailable-nonce"
|
|
57
|
+
Transactable: Final = "fake-valid-nonce"
|
|
58
|
+
TransactableAmEx: Final = "fake-valid-amex-nonce"
|
|
59
|
+
TransactableCommercial: Final = "fake-valid-commercial-nonce"
|
|
60
|
+
TransactableCountryOfIssuanceCAD: Final = "fake-valid-country-of-issuance-cad-nonce"
|
|
61
|
+
TransactableCountryOfIssuanceUSA: Final = "fake-valid-country-of-issuance-usa-nonce"
|
|
62
|
+
TransactableDebit: Final = "fake-valid-debit-nonce"
|
|
63
|
+
TransactableDinersClub: Final = "fake-valid-dinersclub-nonce"
|
|
64
|
+
TransactableDiscover: Final = "fake-valid-discover-nonce"
|
|
65
|
+
TransactableDurbinRegulated: Final = "fake-valid-durbin-regulated-nonce"
|
|
66
|
+
TransactableHealthcare: Final = "fake-valid-healthcare-nonce"
|
|
67
|
+
TransactableIssuingBankNetworkOnly: Final = "fake-valid-issuing-bank-network-only-nonce"
|
|
68
|
+
TransactableJCB: Final = "fake-valid-jcb-nonce"
|
|
69
|
+
TransactableMaestro: Final = "fake-valid-maestro-nonce"
|
|
70
|
+
TransactableMasterCard: Final = "fake-valid-mastercard-nonce"
|
|
71
|
+
TransactableNoIndicators: Final = "fake-valid-no-indicators-nonce"
|
|
72
|
+
TransactablePayroll: Final = "fake-valid-payroll-nonce"
|
|
73
|
+
TransactablePinlessDebitVisa: Final = "fake-pinless-debit-visa-nonce"
|
|
74
|
+
TransactablePrepaid: Final = "fake-valid-prepaid-nonce"
|
|
75
|
+
TransactableUnknownIndicators: Final = "fake-valid-unknown-indicators-nonce"
|
|
76
|
+
TransactableVisa: Final = "fake-valid-visa-nonce"
|
|
77
|
+
VenmoAccount: Final = "fake-venmo-account-nonce"
|
|
78
|
+
VenmoAccountTokenIssuanceError: Final = "fake-token-issuance-error-venmo-account-nonce"
|
|
79
|
+
VisaCheckoutAmEx: Final = "fake-visa-checkout-amex-nonce"
|
|
80
|
+
VisaCheckoutDiscover: Final = "fake-visa-checkout-discover-nonce"
|
|
81
|
+
VisaCheckoutMasterCard: Final = "fake-visa-checkout-mastercard-nonce"
|
|
82
|
+
VisaCheckoutVisa: Final = "fake-visa-checkout-visa-nonce"
|
|
83
|
+
UsBankAccount: Final = "fake-us-bank-account-nonce"
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
from typing import Final
|
|
2
|
+
|
|
3
|
+
def generate_test_payment_method_code(number): ...
|
|
4
|
+
|
|
5
|
+
VisaPaymentMethodCode: Final = "stub-4111111111111111"
|
|
6
|
+
InvalidPaymentMethodCode: Final = "stub-invalid-payment-method-code"
|
|
7
|
+
|
|
8
|
+
Session: Final = "stub-session"
|
|
9
|
+
InvalidSession: Final = "stub-invalid-session"
|
|
@@ -1,12 +1,8 @@
|
|
|
1
|
-
from
|
|
2
|
-
|
|
3
|
-
from braintree.error_result import ErrorResult as ErrorResult
|
|
4
|
-
from braintree.successful_result import SuccessfulResult as SuccessfulResult
|
|
5
|
-
from braintree.transaction import Transaction as Transaction
|
|
1
|
+
from _typeshed import Incomplete
|
|
6
2
|
|
|
7
3
|
class TestingGateway:
|
|
8
|
-
gateway:
|
|
9
|
-
config:
|
|
4
|
+
gateway: Incomplete
|
|
5
|
+
config: Incomplete
|
|
10
6
|
def __init__(self, gateway) -> None: ...
|
|
11
7
|
def make_past_due(self, subscription_id, number_of_days_past_due: int = 1) -> None: ...
|
|
12
8
|
def escrow_transaction(self, transaction_id) -> None: ...
|
|
@@ -1,102 +1,104 @@
|
|
|
1
1
|
from _typeshed import Incomplete
|
|
2
|
-
from
|
|
2
|
+
from decimal import Decimal
|
|
3
|
+
from typing import Final
|
|
3
4
|
|
|
4
|
-
from braintree.add_on import AddOn
|
|
5
|
-
from braintree.address import Address
|
|
6
|
-
from braintree.amex_express_checkout_card import AmexExpressCheckoutCard
|
|
7
|
-
from braintree.android_pay_card import AndroidPayCard
|
|
8
|
-
from braintree.apple_pay_card import ApplePayCard
|
|
9
|
-
from braintree.authorization_adjustment import AuthorizationAdjustment
|
|
10
|
-
from braintree.
|
|
11
|
-
from braintree.
|
|
12
|
-
from braintree.
|
|
13
|
-
from braintree.
|
|
14
|
-
from braintree.
|
|
15
|
-
from braintree.
|
|
16
|
-
from braintree.
|
|
17
|
-
from braintree.
|
|
18
|
-
from braintree.
|
|
19
|
-
from braintree.
|
|
20
|
-
from braintree.
|
|
21
|
-
from braintree.
|
|
22
|
-
from braintree.
|
|
23
|
-
from braintree.
|
|
24
|
-
from braintree.
|
|
25
|
-
from braintree.
|
|
26
|
-
from braintree.
|
|
27
|
-
from braintree.
|
|
28
|
-
from braintree.
|
|
29
|
-
from braintree.
|
|
30
|
-
from braintree.
|
|
31
|
-
from braintree.
|
|
32
|
-
from braintree.
|
|
33
|
-
from braintree.
|
|
34
|
-
from braintree.
|
|
35
|
-
from braintree.
|
|
36
|
-
from braintree.us_bank_account import UsBankAccount as UsBankAccount
|
|
37
|
-
from braintree.venmo_account import VenmoAccount as VenmoAccount
|
|
38
|
-
from braintree.visa_checkout_card import VisaCheckoutCard as VisaCheckoutCard
|
|
5
|
+
from braintree.add_on import AddOn
|
|
6
|
+
from braintree.address import Address
|
|
7
|
+
from braintree.amex_express_checkout_card import AmexExpressCheckoutCard
|
|
8
|
+
from braintree.android_pay_card import AndroidPayCard
|
|
9
|
+
from braintree.apple_pay_card import ApplePayCard
|
|
10
|
+
from braintree.authorization_adjustment import AuthorizationAdjustment
|
|
11
|
+
from braintree.credit_card import CreditCard
|
|
12
|
+
from braintree.customer import Customer
|
|
13
|
+
from braintree.descriptor import Descriptor
|
|
14
|
+
from braintree.disbursement_detail import DisbursementDetail
|
|
15
|
+
from braintree.discount import Discount
|
|
16
|
+
from braintree.dispute import Dispute
|
|
17
|
+
from braintree.europe_bank_account import EuropeBankAccount
|
|
18
|
+
from braintree.facilitated_details import FacilitatedDetails
|
|
19
|
+
from braintree.facilitator_details import FacilitatorDetails
|
|
20
|
+
from braintree.local_payment import LocalPayment
|
|
21
|
+
from braintree.masterpass_card import MasterpassCard
|
|
22
|
+
from braintree.meta_checkout_card import MetaCheckoutCard
|
|
23
|
+
from braintree.meta_checkout_token import MetaCheckoutToken
|
|
24
|
+
from braintree.package_details import PackageDetails
|
|
25
|
+
from braintree.paypal_account import PayPalAccount
|
|
26
|
+
from braintree.paypal_here import PayPalHere
|
|
27
|
+
from braintree.resource import Resource
|
|
28
|
+
from braintree.risk_data import RiskData
|
|
29
|
+
from braintree.samsung_pay_card import SamsungPayCard
|
|
30
|
+
from braintree.sepa_direct_debit_account import SepaDirectDebitAccount
|
|
31
|
+
from braintree.status_event import StatusEvent
|
|
32
|
+
from braintree.subscription_details import SubscriptionDetails
|
|
33
|
+
from braintree.three_d_secure_info import ThreeDSecureInfo
|
|
34
|
+
from braintree.us_bank_account import UsBankAccount
|
|
35
|
+
from braintree.venmo_account import VenmoAccount
|
|
36
|
+
from braintree.visa_checkout_card import VisaCheckoutCard
|
|
39
37
|
|
|
40
38
|
class Transaction(Resource):
|
|
41
39
|
class CreatedUsing:
|
|
42
|
-
FullInformation:
|
|
43
|
-
Token:
|
|
40
|
+
FullInformation: Final = "full_information"
|
|
41
|
+
Token: Final = "token"
|
|
44
42
|
|
|
45
43
|
class GatewayRejectionReason:
|
|
46
|
-
ApplicationIncomplete:
|
|
47
|
-
Avs:
|
|
48
|
-
AvsAndCvv:
|
|
49
|
-
Cvv:
|
|
50
|
-
Duplicate:
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
44
|
+
ApplicationIncomplete: Final = "application_incomplete"
|
|
45
|
+
Avs: Final = "avs"
|
|
46
|
+
AvsAndCvv: Final = "avs_and_cvv"
|
|
47
|
+
Cvv: Final = "cvv"
|
|
48
|
+
Duplicate: Final = "duplicate"
|
|
49
|
+
ExcessiveRetry: Final = "excessive_retry"
|
|
50
|
+
Fraud: Final = "fraud"
|
|
51
|
+
RiskThreshold: Final = "risk_threshold"
|
|
52
|
+
ThreeDSecure: Final = "three_d_secure"
|
|
53
|
+
TokenIssuance: Final = "token_issuance"
|
|
54
|
+
|
|
55
|
+
class ReasonCode:
|
|
56
|
+
ANY_REASON_CODE: Final = "any_reason_code"
|
|
55
57
|
|
|
56
58
|
class Source:
|
|
57
|
-
Api:
|
|
58
|
-
ControlPanel:
|
|
59
|
-
Recurring:
|
|
59
|
+
Api: Final = "api"
|
|
60
|
+
ControlPanel: Final = "control_panel"
|
|
61
|
+
Recurring: Final = "recurring"
|
|
60
62
|
|
|
61
63
|
class EscrowStatus:
|
|
62
|
-
HoldPending:
|
|
63
|
-
Held:
|
|
64
|
-
ReleasePending:
|
|
65
|
-
Released:
|
|
66
|
-
Refunded:
|
|
64
|
+
HoldPending: Final = "hold_pending"
|
|
65
|
+
Held: Final = "held"
|
|
66
|
+
ReleasePending: Final = "release_pending"
|
|
67
|
+
Released: Final = "released"
|
|
68
|
+
Refunded: Final = "refunded"
|
|
67
69
|
|
|
68
70
|
class Status:
|
|
69
|
-
AuthorizationExpired:
|
|
70
|
-
Authorized:
|
|
71
|
-
Authorizing:
|
|
72
|
-
Failed:
|
|
73
|
-
GatewayRejected:
|
|
74
|
-
ProcessorDeclined:
|
|
75
|
-
Settled:
|
|
76
|
-
SettlementConfirmed:
|
|
77
|
-
SettlementDeclined:
|
|
78
|
-
SettlementFailed:
|
|
79
|
-
SettlementPending:
|
|
80
|
-
Settling:
|
|
81
|
-
SubmittedForSettlement:
|
|
82
|
-
Voided:
|
|
71
|
+
AuthorizationExpired: Final = "authorization_expired"
|
|
72
|
+
Authorized: Final = "authorized"
|
|
73
|
+
Authorizing: Final = "authorizing"
|
|
74
|
+
Failed: Final = "failed"
|
|
75
|
+
GatewayRejected: Final = "gateway_rejected"
|
|
76
|
+
ProcessorDeclined: Final = "processor_declined"
|
|
77
|
+
Settled: Final = "settled"
|
|
78
|
+
SettlementConfirmed: Final = "settlement_confirmed"
|
|
79
|
+
SettlementDeclined: Final = "settlement_declined"
|
|
80
|
+
SettlementFailed: Final = "settlement_failed"
|
|
81
|
+
SettlementPending: Final = "settlement_pending"
|
|
82
|
+
Settling: Final = "settling"
|
|
83
|
+
SubmittedForSettlement: Final = "submitted_for_settlement"
|
|
84
|
+
Voided: Final = "voided"
|
|
83
85
|
|
|
84
86
|
class Type:
|
|
85
|
-
Credit:
|
|
86
|
-
Sale:
|
|
87
|
+
Credit: Final = "credit"
|
|
88
|
+
Sale: Final = "sale"
|
|
87
89
|
|
|
88
90
|
class IndustryType:
|
|
89
|
-
Lodging:
|
|
90
|
-
TravelAndCruise:
|
|
91
|
-
TravelAndFlight:
|
|
91
|
+
Lodging: Final = "lodging"
|
|
92
|
+
TravelAndCruise: Final = "travel_cruise"
|
|
93
|
+
TravelAndFlight: Final = "travel_flight"
|
|
92
94
|
|
|
93
95
|
class AdditionalCharge:
|
|
94
|
-
Restaurant:
|
|
95
|
-
GiftShop:
|
|
96
|
-
MiniBar:
|
|
97
|
-
Telephone:
|
|
98
|
-
Laundry:
|
|
99
|
-
Other:
|
|
96
|
+
Restaurant: Final = "restaurant"
|
|
97
|
+
GiftShop: Final = "gift_shop"
|
|
98
|
+
MiniBar: Final = "mini_bar"
|
|
99
|
+
Telephone: Final = "telephone"
|
|
100
|
+
Laundry: Final = "laundry"
|
|
101
|
+
Other: Final = "other"
|
|
100
102
|
|
|
101
103
|
@staticmethod
|
|
102
104
|
def adjust_authorization(transaction_id, amount): ...
|
|
@@ -133,46 +135,54 @@ class Transaction(Resource):
|
|
|
133
135
|
@staticmethod
|
|
134
136
|
def submit_for_settlement_signature(): ...
|
|
135
137
|
@staticmethod
|
|
138
|
+
def package_tracking_signature(): ...
|
|
139
|
+
@staticmethod
|
|
140
|
+
def package_tracking(transaction_id, params: Incomplete | None = None): ...
|
|
141
|
+
@staticmethod
|
|
136
142
|
def update_details_signature(): ...
|
|
137
143
|
@staticmethod
|
|
138
144
|
def refund_signature(): ...
|
|
139
145
|
@staticmethod
|
|
140
146
|
def submit_for_partial_settlement(transaction_id, amount, params: Incomplete | None = None): ...
|
|
141
|
-
amount:
|
|
142
|
-
tax_amount:
|
|
143
|
-
discount_amount:
|
|
144
|
-
shipping_amount:
|
|
145
|
-
billing_details:
|
|
146
|
-
credit_card_details:
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
147
|
+
amount: Decimal
|
|
148
|
+
tax_amount: Decimal | None
|
|
149
|
+
discount_amount: Decimal | None
|
|
150
|
+
shipping_amount: Decimal | None
|
|
151
|
+
billing_details: Address
|
|
152
|
+
credit_card_details: CreditCard
|
|
153
|
+
packages: list[PackageDetails]
|
|
154
|
+
paypal_details: PayPalAccount
|
|
155
|
+
paypal_here_details: PayPalHere
|
|
156
|
+
local_payment_details: LocalPayment
|
|
157
|
+
sepa_direct_debit_account_details: SepaDirectDebitAccount
|
|
158
|
+
europe_bank_account_details: EuropeBankAccount
|
|
159
|
+
us_bank_account: UsBankAccount
|
|
160
|
+
apple_pay_details: ApplePayCard
|
|
161
|
+
android_pay_card_details: AndroidPayCard
|
|
162
|
+
amex_express_checkout_card_details: AmexExpressCheckoutCard
|
|
163
|
+
venmo_account_details: VenmoAccount
|
|
164
|
+
visa_checkout_card_details: VisaCheckoutCard
|
|
165
|
+
masterpass_card_details: MasterpassCard
|
|
166
|
+
samsung_pay_card_details: SamsungPayCard
|
|
167
|
+
meta_checkout_card_details: MetaCheckoutCard
|
|
168
|
+
meta_checkout_token_details: MetaCheckoutToken
|
|
169
|
+
sca_exemption_requested: Incomplete
|
|
170
|
+
customer_details: Customer
|
|
171
|
+
shipping_details: Address
|
|
172
|
+
add_ons: list[AddOn]
|
|
173
|
+
discounts: list[Discount]
|
|
174
|
+
status_history: list[StatusEvent]
|
|
175
|
+
subscription_details: SubscriptionDetails
|
|
176
|
+
descriptor: Descriptor
|
|
177
|
+
disbursement_details: DisbursementDetail
|
|
178
|
+
disputes: list[Dispute]
|
|
179
|
+
authorization_adjustments: list[AuthorizationAdjustment]
|
|
180
|
+
payment_instrument_type: Incomplete
|
|
181
|
+
risk_data: RiskData | None
|
|
182
|
+
three_d_secure_info: ThreeDSecureInfo | None
|
|
183
|
+
facilitated_details: FacilitatedDetails
|
|
184
|
+
facilitator_details: FacilitatorDetails
|
|
185
|
+
network_transaction_id: Incomplete
|
|
176
186
|
def __init__(self, gateway, attributes) -> None: ...
|
|
177
187
|
@property
|
|
178
188
|
def vault_billing_address(self): ...
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
from
|
|
1
|
+
from decimal import Decimal
|
|
2
2
|
|
|
3
|
-
from braintree.attribute_getter import AttributeGetter
|
|
3
|
+
from braintree.attribute_getter import AttributeGetter
|
|
4
4
|
|
|
5
5
|
class TransactionDetails(AttributeGetter):
|
|
6
|
-
amount:
|
|
6
|
+
amount: Decimal | None
|
|
7
7
|
def __init__(self, attributes) -> None: ...
|
|
@@ -1,17 +1,8 @@
|
|
|
1
1
|
from _typeshed import Incomplete
|
|
2
|
-
from typing import Any
|
|
3
|
-
|
|
4
|
-
from braintree.error_result import ErrorResult as ErrorResult
|
|
5
|
-
from braintree.exceptions.not_found_error import NotFoundError as NotFoundError
|
|
6
|
-
from braintree.exceptions.request_timeout_error import RequestTimeoutError as RequestTimeoutError
|
|
7
|
-
from braintree.resource import Resource as Resource
|
|
8
|
-
from braintree.resource_collection import ResourceCollection as ResourceCollection
|
|
9
|
-
from braintree.successful_result import SuccessfulResult as SuccessfulResult
|
|
10
|
-
from braintree.transaction import Transaction as Transaction
|
|
11
2
|
|
|
12
3
|
class TransactionGateway:
|
|
13
|
-
gateway:
|
|
14
|
-
config:
|
|
4
|
+
gateway: Incomplete
|
|
5
|
+
config: Incomplete
|
|
15
6
|
def __init__(self, gateway) -> None: ...
|
|
16
7
|
def adjust_authorization(self, transaction_id, amount): ...
|
|
17
8
|
def clone_transaction(self, transaction_id, params): ...
|
|
@@ -27,4 +18,5 @@ class TransactionGateway:
|
|
|
27
18
|
def submit_for_settlement(self, transaction_id, amount: Incomplete | None = None, params: Incomplete | None = None): ...
|
|
28
19
|
def update_details(self, transaction_id, params: Incomplete | None = None): ...
|
|
29
20
|
def submit_for_partial_settlement(self, transaction_id, amount, params: Incomplete | None = None): ...
|
|
21
|
+
def package_tracking(self, transaction_id, params: Incomplete | None = None): ...
|
|
30
22
|
def void(self, transaction_id): ...
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
from
|
|
2
|
-
|
|
3
|
-
from braintree.
|
|
1
|
+
from typing import Final
|
|
2
|
+
|
|
3
|
+
from braintree.attribute_getter import AttributeGetter
|
|
4
4
|
|
|
5
5
|
class TransactionLineItem(AttributeGetter):
|
|
6
6
|
class Kind:
|
|
7
|
-
Credit:
|
|
8
|
-
Debit:
|
|
7
|
+
Credit: Final = "credit"
|
|
8
|
+
Debit: Final = "debit"
|
|
9
9
|
|
|
10
10
|
def __init__(self, attributes) -> None: ...
|
|
11
11
|
@staticmethod
|
|
@@ -1,14 +1,7 @@
|
|
|
1
|
-
from
|
|
2
|
-
|
|
3
|
-
from braintree.error_result import ErrorResult as ErrorResult
|
|
4
|
-
from braintree.exceptions.not_found_error import NotFoundError as NotFoundError
|
|
5
|
-
from braintree.exceptions.request_timeout_error import RequestTimeoutError as RequestTimeoutError
|
|
6
|
-
from braintree.resource import Resource as Resource
|
|
7
|
-
from braintree.resource_collection import ResourceCollection as ResourceCollection
|
|
8
|
-
from braintree.transaction_line_item import TransactionLineItem as TransactionLineItem
|
|
1
|
+
from _typeshed import Incomplete
|
|
9
2
|
|
|
10
3
|
class TransactionLineItemGateway:
|
|
11
|
-
gateway:
|
|
12
|
-
config:
|
|
4
|
+
gateway: Incomplete
|
|
5
|
+
config: Incomplete
|
|
13
6
|
def __init__(self, gateway) -> None: ...
|
|
14
7
|
def find_all(self, transaction_id): ...
|