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
|
@@ -1,50 +1,59 @@
|
|
|
1
1
|
from _typeshed import Incomplete
|
|
2
|
-
from
|
|
2
|
+
from enum import Enum
|
|
3
|
+
from typing import Final
|
|
3
4
|
|
|
4
|
-
from braintree.address import Address
|
|
5
|
-
from braintree.
|
|
6
|
-
from braintree.
|
|
7
|
-
from braintree.
|
|
5
|
+
from braintree.address import Address
|
|
6
|
+
from braintree.credit_card_verification import CreditCardVerification
|
|
7
|
+
from braintree.resource import Resource
|
|
8
|
+
from braintree.subscription import Subscription
|
|
8
9
|
|
|
9
10
|
class CreditCard(Resource):
|
|
10
11
|
class CardType:
|
|
11
|
-
AmEx:
|
|
12
|
-
CarteBlanche:
|
|
13
|
-
ChinaUnionPay:
|
|
14
|
-
DinersClubInternational:
|
|
15
|
-
Discover:
|
|
16
|
-
Electron:
|
|
17
|
-
Elo:
|
|
18
|
-
Hiper:
|
|
19
|
-
Hipercard:
|
|
20
|
-
JCB:
|
|
21
|
-
Laser:
|
|
22
|
-
UK_Maestro:
|
|
23
|
-
Maestro:
|
|
24
|
-
MasterCard:
|
|
25
|
-
Solo:
|
|
26
|
-
Switch:
|
|
27
|
-
Visa:
|
|
28
|
-
Unknown:
|
|
12
|
+
AmEx: Final = "American Express"
|
|
13
|
+
CarteBlanche: Final = "Carte Blanche"
|
|
14
|
+
ChinaUnionPay: Final = "China UnionPay"
|
|
15
|
+
DinersClubInternational: Final = "Diners Club"
|
|
16
|
+
Discover: Final = "Discover"
|
|
17
|
+
Electron: Final = "Electron"
|
|
18
|
+
Elo: Final = "Elo"
|
|
19
|
+
Hiper: Final = "Hiper"
|
|
20
|
+
Hipercard: Final = "Hipercard"
|
|
21
|
+
JCB: Final = "JCB"
|
|
22
|
+
Laser: Final = "Laser"
|
|
23
|
+
UK_Maestro: Final = "UK Maestro"
|
|
24
|
+
Maestro: Final = "Maestro"
|
|
25
|
+
MasterCard: Final = "MasterCard"
|
|
26
|
+
Solo: Final = "Solo"
|
|
27
|
+
Switch: Final = "Switch"
|
|
28
|
+
Visa: Final = "Visa"
|
|
29
|
+
Unknown: Final = "Unknown"
|
|
29
30
|
|
|
30
31
|
class CustomerLocation:
|
|
31
|
-
International:
|
|
32
|
-
US:
|
|
32
|
+
International: Final = "international"
|
|
33
|
+
US: Final = "us"
|
|
33
34
|
|
|
34
35
|
class CardTypeIndicator:
|
|
35
|
-
Yes:
|
|
36
|
-
No:
|
|
37
|
-
Unknown:
|
|
36
|
+
Yes: Final = "Yes"
|
|
37
|
+
No: Final = "No"
|
|
38
|
+
Unknown: Final = "Unknown"
|
|
38
39
|
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
40
|
+
class DebitNetwork(Enum):
|
|
41
|
+
Accel = "ACCEL"
|
|
42
|
+
Maestro = "MAESTRO"
|
|
43
|
+
Nyce = "NYCE"
|
|
44
|
+
Pulse = "PULSE"
|
|
45
|
+
Star = "STAR"
|
|
46
|
+
Star_Access = "STAR_ACCESS"
|
|
47
|
+
|
|
48
|
+
Commercial: type[CardTypeIndicator]
|
|
49
|
+
DurbinRegulated: type[CardTypeIndicator]
|
|
50
|
+
Debit: type[CardTypeIndicator]
|
|
51
|
+
Healthcare: type[CardTypeIndicator]
|
|
52
|
+
CountryOfIssuance: type[CardTypeIndicator]
|
|
53
|
+
IssuingBank: type[CardTypeIndicator]
|
|
54
|
+
Payroll: type[CardTypeIndicator]
|
|
55
|
+
Prepaid: type[CardTypeIndicator]
|
|
56
|
+
ProductId: type[CardTypeIndicator]
|
|
48
57
|
@staticmethod
|
|
49
58
|
def create(params: Incomplete | None = None): ...
|
|
50
59
|
@staticmethod
|
|
@@ -65,10 +74,10 @@ class CreditCard(Resource):
|
|
|
65
74
|
def update_signature(): ...
|
|
66
75
|
@staticmethod
|
|
67
76
|
def signature(type): ...
|
|
68
|
-
is_expired
|
|
69
|
-
billing_address:
|
|
70
|
-
subscriptions:
|
|
71
|
-
verification:
|
|
77
|
+
is_expired = expired
|
|
78
|
+
billing_address: Address | None
|
|
79
|
+
subscriptions: list[Subscription]
|
|
80
|
+
verification: CreditCardVerification
|
|
72
81
|
def __init__(self, gateway, attributes): ...
|
|
73
82
|
@property
|
|
74
83
|
def expiration_date(self): ...
|
|
@@ -1,17 +1,8 @@
|
|
|
1
1
|
from _typeshed import Incomplete
|
|
2
|
-
from typing import Any
|
|
3
|
-
|
|
4
|
-
from braintree.credit_card import CreditCard as CreditCard
|
|
5
|
-
from braintree.error_result import ErrorResult as ErrorResult
|
|
6
|
-
from braintree.exceptions.not_found_error import NotFoundError as NotFoundError
|
|
7
|
-
from braintree.ids_search import IdsSearch as IdsSearch
|
|
8
|
-
from braintree.resource import Resource as Resource
|
|
9
|
-
from braintree.resource_collection import ResourceCollection as ResourceCollection
|
|
10
|
-
from braintree.successful_result import SuccessfulResult as SuccessfulResult
|
|
11
2
|
|
|
12
3
|
class CreditCardGateway:
|
|
13
|
-
gateway:
|
|
14
|
-
config:
|
|
4
|
+
gateway: Incomplete
|
|
5
|
+
config: Incomplete
|
|
15
6
|
def __init__(self, gateway) -> None: ...
|
|
16
7
|
def create(self, params: Incomplete | None = None): ...
|
|
17
8
|
def delete(self, credit_card_token): ...
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
from
|
|
1
|
+
from _typeshed import Incomplete
|
|
2
|
+
from decimal import Decimal
|
|
3
|
+
from typing import Final
|
|
2
4
|
|
|
3
|
-
from braintree.attribute_getter import AttributeGetter
|
|
4
|
-
from braintree.
|
|
5
|
-
from braintree.
|
|
6
|
-
from braintree.risk_data import RiskData as RiskData
|
|
7
|
-
from braintree.three_d_secure_info import ThreeDSecureInfo as ThreeDSecureInfo
|
|
5
|
+
from braintree.attribute_getter import AttributeGetter
|
|
6
|
+
from braintree.risk_data import RiskData
|
|
7
|
+
from braintree.three_d_secure_info import ThreeDSecureInfo
|
|
8
8
|
|
|
9
9
|
class CreditCardVerification(AttributeGetter):
|
|
10
10
|
class Status:
|
|
11
|
-
Failed:
|
|
12
|
-
GatewayRejected:
|
|
13
|
-
ProcessorDeclined:
|
|
14
|
-
Verified:
|
|
11
|
+
Failed: Final = "failed"
|
|
12
|
+
GatewayRejected: Final = "gateway_rejected"
|
|
13
|
+
ProcessorDeclined: Final = "processor_declined"
|
|
14
|
+
Verified: Final = "verified"
|
|
15
15
|
|
|
16
|
-
amount:
|
|
17
|
-
currency_iso_code:
|
|
18
|
-
processor_response_code:
|
|
19
|
-
processor_response_text:
|
|
20
|
-
network_response_code:
|
|
21
|
-
network_response_text:
|
|
22
|
-
risk_data:
|
|
23
|
-
three_d_secure_info:
|
|
16
|
+
amount: Decimal | None
|
|
17
|
+
currency_iso_code: Incomplete
|
|
18
|
+
processor_response_code: Incomplete
|
|
19
|
+
processor_response_text: Incomplete
|
|
20
|
+
network_response_code: Incomplete
|
|
21
|
+
network_response_text: Incomplete
|
|
22
|
+
risk_data: RiskData | None
|
|
23
|
+
three_d_secure_info: ThreeDSecureInfo | None
|
|
24
24
|
def __init__(self, gateway, attributes) -> None: ...
|
|
25
25
|
@staticmethod
|
|
26
26
|
def find(verification_id): ...
|
package/dist/typeshed-fallback/stubs/braintree/braintree/credit_card_verification_gateway.pyi
CHANGED
|
@@ -1,16 +1,8 @@
|
|
|
1
|
-
from
|
|
2
|
-
|
|
3
|
-
from braintree.credit_card_verification import CreditCardVerification as CreditCardVerification
|
|
4
|
-
from braintree.credit_card_verification_search import CreditCardVerificationSearch as CreditCardVerificationSearch
|
|
5
|
-
from braintree.error_result import ErrorResult as ErrorResult
|
|
6
|
-
from braintree.exceptions.not_found_error import NotFoundError as NotFoundError
|
|
7
|
-
from braintree.ids_search import IdsSearch as IdsSearch
|
|
8
|
-
from braintree.resource_collection import ResourceCollection as ResourceCollection
|
|
9
|
-
from braintree.successful_result import SuccessfulResult as SuccessfulResult
|
|
1
|
+
from _typeshed import Incomplete
|
|
10
2
|
|
|
11
3
|
class CreditCardVerificationGateway:
|
|
12
|
-
gateway:
|
|
13
|
-
config:
|
|
4
|
+
gateway: Incomplete
|
|
5
|
+
config: Incomplete
|
|
14
6
|
def __init__(self, gateway) -> None: ...
|
|
15
7
|
def find(self, verification_id): ...
|
|
16
8
|
def search(self, *query): ...
|
package/dist/typeshed-fallback/stubs/braintree/braintree/credit_card_verification_search.pyi
CHANGED
|
@@ -1,20 +1,15 @@
|
|
|
1
|
-
from
|
|
2
|
-
|
|
3
|
-
from braintree.credit_card import CreditCard as CreditCard
|
|
4
|
-
from braintree.credit_card_verification import CreditCardVerification as CreditCardVerification
|
|
5
|
-
from braintree.search import Search as Search
|
|
6
|
-
from braintree.util import Constants as Constants
|
|
1
|
+
from braintree.search import Search
|
|
7
2
|
|
|
8
3
|
class CreditCardVerificationSearch:
|
|
9
|
-
credit_card_cardholder_name:
|
|
10
|
-
id:
|
|
11
|
-
credit_card_expiration_date:
|
|
12
|
-
credit_card_number:
|
|
13
|
-
credit_card_card_type:
|
|
14
|
-
ids:
|
|
15
|
-
created_at:
|
|
16
|
-
status:
|
|
17
|
-
billing_postal_code:
|
|
18
|
-
customer_email:
|
|
19
|
-
customer_id:
|
|
20
|
-
payment_method_token:
|
|
4
|
+
credit_card_cardholder_name: Search.TextNodeBuilder
|
|
5
|
+
id: Search.TextNodeBuilder
|
|
6
|
+
credit_card_expiration_date: Search.EqualityNodeBuilder
|
|
7
|
+
credit_card_number: Search.PartialMatchNodeBuilder
|
|
8
|
+
credit_card_card_type: Search.MultipleValueNodeBuilder
|
|
9
|
+
ids: Search.MultipleValueNodeBuilder
|
|
10
|
+
created_at: Search.RangeNodeBuilder
|
|
11
|
+
status: Search.MultipleValueNodeBuilder
|
|
12
|
+
billing_postal_code: Search.TextNodeBuilder
|
|
13
|
+
customer_email: Search.TextNodeBuilder
|
|
14
|
+
customer_id: Search.TextNodeBuilder
|
|
15
|
+
payment_method_token: Search.TextNodeBuilder
|
|
@@ -1,26 +1,18 @@
|
|
|
1
1
|
from _typeshed import Incomplete
|
|
2
|
-
from typing import Any
|
|
3
2
|
|
|
4
|
-
from braintree.address import Address
|
|
5
|
-
from braintree.amex_express_checkout_card import AmexExpressCheckoutCard
|
|
6
|
-
from braintree.android_pay_card import AndroidPayCard
|
|
7
|
-
from braintree.apple_pay_card import ApplePayCard
|
|
8
|
-
from braintree.
|
|
9
|
-
from braintree.
|
|
10
|
-
from braintree.
|
|
11
|
-
from braintree.
|
|
12
|
-
from braintree.
|
|
13
|
-
from braintree.
|
|
14
|
-
from braintree.
|
|
15
|
-
from braintree.
|
|
16
|
-
from braintree.
|
|
17
|
-
from braintree.resource_collection import ResourceCollection as ResourceCollection
|
|
18
|
-
from braintree.samsung_pay_card import SamsungPayCard as SamsungPayCard
|
|
19
|
-
from braintree.successful_result import SuccessfulResult as SuccessfulResult
|
|
20
|
-
from braintree.us_bank_account import UsBankAccount as UsBankAccount
|
|
21
|
-
from braintree.util.http import Http as Http
|
|
22
|
-
from braintree.venmo_account import VenmoAccount as VenmoAccount
|
|
23
|
-
from braintree.visa_checkout_card import VisaCheckoutCard as VisaCheckoutCard
|
|
3
|
+
from braintree.address import Address
|
|
4
|
+
from braintree.amex_express_checkout_card import AmexExpressCheckoutCard
|
|
5
|
+
from braintree.android_pay_card import AndroidPayCard
|
|
6
|
+
from braintree.apple_pay_card import ApplePayCard
|
|
7
|
+
from braintree.credit_card import CreditCard
|
|
8
|
+
from braintree.europe_bank_account import EuropeBankAccount
|
|
9
|
+
from braintree.masterpass_card import MasterpassCard
|
|
10
|
+
from braintree.paypal_account import PayPalAccount
|
|
11
|
+
from braintree.resource import Resource
|
|
12
|
+
from braintree.samsung_pay_card import SamsungPayCard
|
|
13
|
+
from braintree.us_bank_account import UsBankAccount
|
|
14
|
+
from braintree.venmo_account import VenmoAccount
|
|
15
|
+
from braintree.visa_checkout_card import VisaCheckoutCard
|
|
24
16
|
|
|
25
17
|
class Customer(Resource):
|
|
26
18
|
@staticmethod
|
|
@@ -39,17 +31,17 @@ class Customer(Resource):
|
|
|
39
31
|
def create_signature(): ...
|
|
40
32
|
@staticmethod
|
|
41
33
|
def update_signature(): ...
|
|
42
|
-
payment_methods:
|
|
43
|
-
credit_cards:
|
|
44
|
-
addresses:
|
|
45
|
-
paypal_accounts:
|
|
46
|
-
apple_pay_cards:
|
|
47
|
-
android_pay_cards:
|
|
48
|
-
amex_express_checkout_cards:
|
|
49
|
-
europe_bank_accounts:
|
|
50
|
-
venmo_accounts:
|
|
51
|
-
us_bank_accounts:
|
|
52
|
-
visa_checkout_cards:
|
|
53
|
-
masterpass_cards:
|
|
54
|
-
samsung_pay_cards:
|
|
34
|
+
payment_methods: list[Resource]
|
|
35
|
+
credit_cards: list[CreditCard]
|
|
36
|
+
addresses: list[Address]
|
|
37
|
+
paypal_accounts: list[PayPalAccount]
|
|
38
|
+
apple_pay_cards: list[ApplePayCard]
|
|
39
|
+
android_pay_cards: list[AndroidPayCard]
|
|
40
|
+
amex_express_checkout_cards: list[AmexExpressCheckoutCard]
|
|
41
|
+
europe_bank_accounts: list[EuropeBankAccount]
|
|
42
|
+
venmo_accounts: list[VenmoAccount]
|
|
43
|
+
us_bank_accounts: list[UsBankAccount]
|
|
44
|
+
visa_checkout_cards: list[VisaCheckoutCard]
|
|
45
|
+
masterpass_cards: list[MasterpassCard]
|
|
46
|
+
samsung_pay_cards: list[SamsungPayCard]
|
|
55
47
|
def __init__(self, gateway, attributes) -> None: ...
|
|
@@ -1,17 +1,8 @@
|
|
|
1
1
|
from _typeshed import Incomplete
|
|
2
|
-
from typing import Any
|
|
3
|
-
|
|
4
|
-
from braintree.customer import Customer as Customer
|
|
5
|
-
from braintree.error_result import ErrorResult as ErrorResult
|
|
6
|
-
from braintree.exceptions.not_found_error import NotFoundError as NotFoundError
|
|
7
|
-
from braintree.ids_search import IdsSearch as IdsSearch
|
|
8
|
-
from braintree.resource import Resource as Resource
|
|
9
|
-
from braintree.resource_collection import ResourceCollection as ResourceCollection
|
|
10
|
-
from braintree.successful_result import SuccessfulResult as SuccessfulResult
|
|
11
2
|
|
|
12
3
|
class CustomerGateway:
|
|
13
|
-
gateway:
|
|
14
|
-
config:
|
|
4
|
+
gateway: Incomplete
|
|
5
|
+
config: Incomplete
|
|
15
6
|
def __init__(self, gateway) -> None: ...
|
|
16
7
|
def all(self): ...
|
|
17
8
|
def create(self, params: Incomplete | None = None): ...
|
|
@@ -1,29 +1,27 @@
|
|
|
1
|
-
from
|
|
2
|
-
|
|
3
|
-
from braintree.search import Search as Search
|
|
1
|
+
from braintree.search import Search
|
|
4
2
|
|
|
5
3
|
class CustomerSearch:
|
|
6
|
-
address_extended_address:
|
|
7
|
-
address_first_name:
|
|
8
|
-
address_last_name:
|
|
9
|
-
address_locality:
|
|
10
|
-
address_postal_code:
|
|
11
|
-
address_region:
|
|
12
|
-
address_street_address:
|
|
13
|
-
address_country_name:
|
|
14
|
-
cardholder_name:
|
|
15
|
-
company:
|
|
16
|
-
created_at:
|
|
17
|
-
credit_card_expiration_date:
|
|
18
|
-
credit_card_number:
|
|
19
|
-
email:
|
|
20
|
-
fax:
|
|
21
|
-
first_name:
|
|
22
|
-
id:
|
|
23
|
-
ids:
|
|
24
|
-
last_name:
|
|
25
|
-
payment_method_token:
|
|
26
|
-
payment_method_token_with_duplicates:
|
|
27
|
-
phone:
|
|
28
|
-
website:
|
|
29
|
-
paypal_account_email:
|
|
4
|
+
address_extended_address: Search.TextNodeBuilder
|
|
5
|
+
address_first_name: Search.TextNodeBuilder
|
|
6
|
+
address_last_name: Search.TextNodeBuilder
|
|
7
|
+
address_locality: Search.TextNodeBuilder
|
|
8
|
+
address_postal_code: Search.TextNodeBuilder
|
|
9
|
+
address_region: Search.TextNodeBuilder
|
|
10
|
+
address_street_address: Search.TextNodeBuilder
|
|
11
|
+
address_country_name: Search.TextNodeBuilder
|
|
12
|
+
cardholder_name: Search.TextNodeBuilder
|
|
13
|
+
company: Search.TextNodeBuilder
|
|
14
|
+
created_at: Search.RangeNodeBuilder
|
|
15
|
+
credit_card_expiration_date: Search.EqualityNodeBuilder
|
|
16
|
+
credit_card_number: Search.TextNodeBuilder
|
|
17
|
+
email: Search.TextNodeBuilder
|
|
18
|
+
fax: Search.TextNodeBuilder
|
|
19
|
+
first_name: Search.TextNodeBuilder
|
|
20
|
+
id: Search.TextNodeBuilder
|
|
21
|
+
ids: Search.MultipleValueNodeBuilder
|
|
22
|
+
last_name: Search.TextNodeBuilder
|
|
23
|
+
payment_method_token: Search.TextNodeBuilder
|
|
24
|
+
payment_method_token_with_duplicates: Search.IsNodeBuilder
|
|
25
|
+
phone: Search.TextNodeBuilder
|
|
26
|
+
website: Search.TextNodeBuilder
|
|
27
|
+
paypal_account_email: Search.TextNodeBuilder
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
from
|
|
1
|
+
from decimal import Decimal
|
|
2
|
+
from typing import Final
|
|
2
3
|
|
|
3
|
-
from braintree.merchant_account import MerchantAccount
|
|
4
|
-
from braintree.resource import Resource
|
|
5
|
-
from braintree.transaction_search import TransactionSearch as TransactionSearch
|
|
4
|
+
from braintree.merchant_account import MerchantAccount
|
|
5
|
+
from braintree.resource import Resource
|
|
6
6
|
|
|
7
7
|
class Disbursement(Resource):
|
|
8
8
|
class Type:
|
|
9
|
-
Credit:
|
|
10
|
-
Debit:
|
|
9
|
+
Credit: Final = "credit"
|
|
10
|
+
Debit: Final = "debit"
|
|
11
11
|
|
|
12
|
-
amount:
|
|
13
|
-
merchant_account:
|
|
12
|
+
amount: Decimal
|
|
13
|
+
merchant_account: MerchantAccount
|
|
14
14
|
def __init__(self, gateway, attributes) -> None: ...
|
|
15
15
|
def transactions(self): ...
|
|
16
16
|
def is_credit(self): ...
|
|
@@ -1,10 +1,10 @@
|
|
|
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 DisbursementDetail(AttributeGetter):
|
|
6
|
-
settlement_amount:
|
|
7
|
-
settlement_currency_exchange_rate:
|
|
6
|
+
settlement_amount: Decimal | None
|
|
7
|
+
settlement_currency_exchange_rate: Decimal | None
|
|
8
8
|
def __init__(self, attributes) -> None: ...
|
|
9
9
|
@property
|
|
10
10
|
def is_valid(self): ...
|
|
@@ -1,10 +1,7 @@
|
|
|
1
|
-
from
|
|
2
|
-
|
|
3
|
-
from braintree.discount import Discount as Discount
|
|
4
|
-
from braintree.resource_collection import ResourceCollection as ResourceCollection
|
|
1
|
+
from _typeshed import Incomplete
|
|
5
2
|
|
|
6
3
|
class DiscountGateway:
|
|
7
|
-
gateway:
|
|
8
|
-
config:
|
|
4
|
+
gateway: Incomplete
|
|
5
|
+
config: Incomplete
|
|
9
6
|
def __init__(self, gateway) -> None: ...
|
|
10
7
|
def all(self): ...
|
|
@@ -1,45 +1,53 @@
|
|
|
1
|
-
from
|
|
1
|
+
from _typeshed import Incomplete
|
|
2
|
+
from decimal import Decimal
|
|
3
|
+
from typing import Final
|
|
2
4
|
|
|
3
|
-
from braintree.attribute_getter import AttributeGetter
|
|
4
|
-
from braintree.
|
|
5
|
-
from braintree.
|
|
6
|
-
DisputeEvidence as DisputeEvidence,
|
|
7
|
-
DisputePayPalMessage as DisputePayPalMessage,
|
|
8
|
-
DisputeStatusHistory as DisputeStatusHistory,
|
|
9
|
-
)
|
|
10
|
-
from braintree.transaction_details import TransactionDetails as TransactionDetails
|
|
5
|
+
from braintree.attribute_getter import AttributeGetter
|
|
6
|
+
from braintree.dispute_details import DisputeEvidence, DisputePayPalMessage, DisputeStatusHistory
|
|
7
|
+
from braintree.transaction_details import TransactionDetails
|
|
11
8
|
|
|
12
9
|
class Dispute(AttributeGetter):
|
|
13
10
|
class Status:
|
|
14
|
-
Accepted:
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
11
|
+
Accepted: Final = "accepted"
|
|
12
|
+
AutoAccepted: Final = "auto_accepted"
|
|
13
|
+
Disputed: Final = "disputed"
|
|
14
|
+
Expired: Final = "expired"
|
|
15
|
+
Lost: Final = "lost"
|
|
16
|
+
Open: Final = "open"
|
|
17
|
+
UnderReview: Final = "under_review"
|
|
18
|
+
Won: Final = "won"
|
|
20
19
|
|
|
21
20
|
class Reason:
|
|
22
|
-
CancelledRecurringTransaction:
|
|
23
|
-
CreditNotProcessed:
|
|
24
|
-
Duplicate:
|
|
25
|
-
Fraud:
|
|
26
|
-
General:
|
|
27
|
-
InvalidAccount:
|
|
28
|
-
NotRecognized:
|
|
29
|
-
ProductNotReceived:
|
|
30
|
-
ProductUnsatisfactory:
|
|
31
|
-
Retrieval:
|
|
32
|
-
TransactionAmountDiffers:
|
|
21
|
+
CancelledRecurringTransaction: Final = "cancelled_recurring_transaction"
|
|
22
|
+
CreditNotProcessed: Final = "credit_not_processed"
|
|
23
|
+
Duplicate: Final = "duplicate"
|
|
24
|
+
Fraud: Final = "fraud"
|
|
25
|
+
General: Final = "general"
|
|
26
|
+
InvalidAccount: Final = "invalid_account"
|
|
27
|
+
NotRecognized: Final = "not_recognized"
|
|
28
|
+
ProductNotReceived: Final = "product_not_received"
|
|
29
|
+
ProductUnsatisfactory: Final = "product_unsatisfactory"
|
|
30
|
+
Retrieval: Final = "retrieval"
|
|
31
|
+
TransactionAmountDiffers: Final = "transaction_amount_differs"
|
|
33
32
|
|
|
34
33
|
class Kind:
|
|
35
|
-
Chargeback:
|
|
36
|
-
PreArbitration:
|
|
37
|
-
Retrieval:
|
|
34
|
+
Chargeback: Final = "chargeback"
|
|
35
|
+
PreArbitration: Final = "pre_arbitration"
|
|
36
|
+
Retrieval: Final = "retrieval"
|
|
38
37
|
|
|
39
38
|
class ChargebackProtectionLevel:
|
|
40
|
-
Effortless:
|
|
41
|
-
Standard:
|
|
42
|
-
NotProtected:
|
|
39
|
+
Effortless: Final = "effortless"
|
|
40
|
+
Standard: Final = "standard"
|
|
41
|
+
NotProtected: Final = "not_protected"
|
|
42
|
+
|
|
43
|
+
class PreDisputeProgram:
|
|
44
|
+
NONE: Final = "none"
|
|
45
|
+
VisaRdr: Final = "visa_rdr"
|
|
46
|
+
|
|
47
|
+
class ProtectionLevel:
|
|
48
|
+
EffortlessCBP: Final = "Effortless Chargeback Protection tool"
|
|
49
|
+
StandardCBP: Final = "Chargeback Protection tool"
|
|
50
|
+
NoProtection: Final = "No Protection"
|
|
43
51
|
|
|
44
52
|
@staticmethod
|
|
45
53
|
def accept(id): ...
|
|
@@ -55,13 +63,15 @@ class Dispute(AttributeGetter):
|
|
|
55
63
|
def remove_evidence(id, evidence_id): ...
|
|
56
64
|
@staticmethod
|
|
57
65
|
def search(*query): ...
|
|
58
|
-
amount:
|
|
59
|
-
amount_disputed:
|
|
60
|
-
amount_won:
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
66
|
+
amount: Decimal | None
|
|
67
|
+
amount_disputed: Decimal | None
|
|
68
|
+
amount_won: Decimal | None
|
|
69
|
+
protection_level: Incomplete
|
|
70
|
+
transaction_details: TransactionDetails
|
|
71
|
+
transaction = transaction_details
|
|
72
|
+
evidence: list[DisputeEvidence] | None
|
|
73
|
+
paypal_messages: list[DisputePayPalMessage] | None
|
|
74
|
+
status_history: list[DisputeStatusHistory] | None
|
|
75
|
+
processor_comments: Incomplete
|
|
76
|
+
forwarded_comments: processor_comments
|
|
67
77
|
def __init__(self, attributes) -> None: ...
|
|
@@ -1,17 +1,8 @@
|
|
|
1
|
-
from
|
|
2
|
-
|
|
3
|
-
from braintree.dispute import Dispute as Dispute
|
|
4
|
-
from braintree.dispute_details import DisputeEvidence as DisputeEvidence
|
|
5
|
-
from braintree.error_result import ErrorResult as ErrorResult
|
|
6
|
-
from braintree.exceptions.not_found_error import NotFoundError as NotFoundError
|
|
7
|
-
from braintree.paginated_collection import PaginatedCollection as PaginatedCollection
|
|
8
|
-
from braintree.paginated_result import PaginatedResult as PaginatedResult
|
|
9
|
-
from braintree.resource_collection import ResourceCollection as ResourceCollection
|
|
10
|
-
from braintree.successful_result import SuccessfulResult as SuccessfulResult
|
|
1
|
+
from _typeshed import Incomplete
|
|
11
2
|
|
|
12
3
|
class DisputeGateway:
|
|
13
|
-
gateway:
|
|
14
|
-
config:
|
|
4
|
+
gateway: Incomplete
|
|
5
|
+
config: Incomplete
|
|
15
6
|
def __init__(self, gateway) -> None: ...
|
|
16
7
|
def accept(self, dispute_id): ...
|
|
17
8
|
def add_file_evidence(self, dispute_id, document_upload_id_or_request): ...
|
|
@@ -19,5 +10,5 @@ class DisputeGateway:
|
|
|
19
10
|
def finalize(self, dispute_id): ...
|
|
20
11
|
def find(self, dispute_id): ...
|
|
21
12
|
def remove_evidence(self, dispute_id, evidence_id): ...
|
|
22
|
-
search_criteria:
|
|
13
|
+
search_criteria: dict[Incomplete, Incomplete]
|
|
23
14
|
def search(self, *query): ...
|