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,14 +1,19 @@
|
|
|
1
|
+
from typing import Final
|
|
2
|
+
|
|
1
3
|
class PaymentInstrumentType:
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
CreditCard:
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
SamsungPayCard:
|
|
14
|
-
|
|
4
|
+
AmexExpressCheckoutCard: Final = "amex_express_checkout_card"
|
|
5
|
+
AndroidPayCard: Final = "android_pay_card"
|
|
6
|
+
ApplePayCard: Final = "apple_pay_card"
|
|
7
|
+
CreditCard: Final = "credit_card"
|
|
8
|
+
EuropeBankAccount: Final = "europe_bank_account"
|
|
9
|
+
LocalPayment: Final = "local_payment"
|
|
10
|
+
MasterpassCard: Final = "masterpass_card"
|
|
11
|
+
MetaCheckoutCard: Final = "meta_checkout_card"
|
|
12
|
+
MetaCheckoutToken: Final = "meta_checkout_token"
|
|
13
|
+
PayPalAccount: Final = "paypal_account"
|
|
14
|
+
PayPalHere: Final = "paypal_here"
|
|
15
|
+
SamsungPayCard: Final = "samsung_pay_card"
|
|
16
|
+
SepaDirectDebitAccount: Final = "sepa_debit_account"
|
|
17
|
+
UsBankAccount: Final = "us_bank_account"
|
|
18
|
+
VenmoAccount: Final = "venmo_account"
|
|
19
|
+
VisaCheckoutCard: Final = "visa_checkout_card"
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
from _typeshed import Incomplete
|
|
2
2
|
|
|
3
|
-
from braintree.
|
|
4
|
-
from braintree.configuration import Configuration as Configuration
|
|
5
|
-
from braintree.resource import Resource as Resource
|
|
3
|
+
from braintree.resource import Resource
|
|
6
4
|
|
|
7
5
|
class PaymentMethod(Resource):
|
|
8
6
|
@staticmethod
|
|
@@ -1,36 +1,13 @@
|
|
|
1
1
|
from _typeshed import Incomplete
|
|
2
|
-
from typing import Any
|
|
3
|
-
|
|
4
|
-
from braintree.amex_express_checkout_card import AmexExpressCheckoutCard as AmexExpressCheckoutCard
|
|
5
|
-
from braintree.android_pay_card import AndroidPayCard as AndroidPayCard
|
|
6
|
-
from braintree.apple_pay_card import ApplePayCard as ApplePayCard
|
|
7
|
-
from braintree.credit_card import CreditCard as CreditCard
|
|
8
|
-
from braintree.error_result import ErrorResult as ErrorResult
|
|
9
|
-
from braintree.europe_bank_account import EuropeBankAccount as EuropeBankAccount
|
|
10
|
-
from braintree.exceptions.not_found_error import NotFoundError as NotFoundError
|
|
11
|
-
from braintree.ids_search import IdsSearch as IdsSearch
|
|
12
|
-
from braintree.masterpass_card import MasterpassCard as MasterpassCard
|
|
13
|
-
from braintree.payment_method import PaymentMethod as PaymentMethod
|
|
14
|
-
from braintree.payment_method_nonce import PaymentMethodNonce as PaymentMethodNonce
|
|
15
|
-
from braintree.payment_method_parser import parse_payment_method as parse_payment_method
|
|
16
|
-
from braintree.paypal_account import PayPalAccount as PayPalAccount
|
|
17
|
-
from braintree.resource import Resource as Resource
|
|
18
|
-
from braintree.resource_collection import ResourceCollection as ResourceCollection
|
|
19
|
-
from braintree.samsung_pay_card import SamsungPayCard as SamsungPayCard
|
|
20
|
-
from braintree.successful_result import SuccessfulResult as SuccessfulResult
|
|
21
|
-
from braintree.unknown_payment_method import UnknownPaymentMethod as UnknownPaymentMethod
|
|
22
|
-
from braintree.us_bank_account import UsBankAccount as UsBankAccount
|
|
23
|
-
from braintree.venmo_account import VenmoAccount as VenmoAccount
|
|
24
|
-
from braintree.visa_checkout_card import VisaCheckoutCard as VisaCheckoutCard
|
|
25
2
|
|
|
26
3
|
class PaymentMethodGateway:
|
|
27
|
-
gateway:
|
|
28
|
-
config:
|
|
4
|
+
gateway: Incomplete
|
|
5
|
+
config: Incomplete
|
|
29
6
|
def __init__(self, gateway) -> None: ...
|
|
30
7
|
def create(self, params: Incomplete | None = None): ...
|
|
31
8
|
def find(self, payment_method_token): ...
|
|
32
9
|
def update(self, payment_method_token, params): ...
|
|
33
10
|
def delete(self, payment_method_token, options: Incomplete | None = None): ...
|
|
34
|
-
options:
|
|
11
|
+
options: dict[str, Incomplete]
|
|
35
12
|
def grant(self, payment_method_token, options: Incomplete | None = None): ...
|
|
36
13
|
def revoke(self, payment_method_token): ...
|
|
@@ -1,16 +1,15 @@
|
|
|
1
|
-
from
|
|
1
|
+
from _typeshed import Incomplete
|
|
2
2
|
|
|
3
|
-
from braintree.bin_data import BinData
|
|
4
|
-
from braintree.
|
|
5
|
-
from braintree.
|
|
6
|
-
from braintree.three_d_secure_info import ThreeDSecureInfo as ThreeDSecureInfo
|
|
3
|
+
from braintree.bin_data import BinData
|
|
4
|
+
from braintree.resource import Resource
|
|
5
|
+
from braintree.three_d_secure_info import ThreeDSecureInfo
|
|
7
6
|
|
|
8
7
|
class PaymentMethodNonce(Resource):
|
|
9
8
|
@staticmethod
|
|
10
9
|
def create(payment_method_token, params={}): ...
|
|
11
10
|
@staticmethod
|
|
12
11
|
def find(payment_method_nonce): ...
|
|
13
|
-
three_d_secure_info:
|
|
14
|
-
authentication_insight:
|
|
15
|
-
bin_data:
|
|
12
|
+
three_d_secure_info: ThreeDSecureInfo | None
|
|
13
|
+
authentication_insight: Incomplete
|
|
14
|
+
bin_data: BinData
|
|
16
15
|
def __init__(self, gateway, attributes) -> None: ...
|
|
@@ -1,15 +1,8 @@
|
|
|
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.payment_method_nonce import PaymentMethodNonce as PaymentMethodNonce
|
|
6
|
-
from braintree.resource import Resource as Resource
|
|
7
|
-
from braintree.resource_collection import ResourceCollection as ResourceCollection
|
|
8
|
-
from braintree.successful_result import SuccessfulResult as SuccessfulResult
|
|
1
|
+
from _typeshed import Incomplete
|
|
9
2
|
|
|
10
3
|
class PaymentMethodNonceGateway:
|
|
11
|
-
gateway:
|
|
12
|
-
config:
|
|
4
|
+
gateway: Incomplete
|
|
5
|
+
config: Incomplete
|
|
13
6
|
def __init__(self, gateway) -> None: ...
|
|
14
7
|
def create(self, payment_method_token, params=...): ...
|
|
15
8
|
def find(self, payment_method_nonce): ...
|
|
@@ -1,15 +1 @@
|
|
|
1
|
-
from braintree.amex_express_checkout_card import AmexExpressCheckoutCard as AmexExpressCheckoutCard
|
|
2
|
-
from braintree.android_pay_card import AndroidPayCard as AndroidPayCard
|
|
3
|
-
from braintree.apple_pay_card import ApplePayCard as ApplePayCard
|
|
4
|
-
from braintree.credit_card import CreditCard as CreditCard
|
|
5
|
-
from braintree.europe_bank_account import EuropeBankAccount as EuropeBankAccount
|
|
6
|
-
from braintree.masterpass_card import MasterpassCard as MasterpassCard
|
|
7
|
-
from braintree.payment_method import PaymentMethod as PaymentMethod
|
|
8
|
-
from braintree.paypal_account import PayPalAccount as PayPalAccount
|
|
9
|
-
from braintree.samsung_pay_card import SamsungPayCard as SamsungPayCard
|
|
10
|
-
from braintree.unknown_payment_method import UnknownPaymentMethod as UnknownPaymentMethod
|
|
11
|
-
from braintree.us_bank_account import UsBankAccount as UsBankAccount
|
|
12
|
-
from braintree.venmo_account import VenmoAccount as VenmoAccount
|
|
13
|
-
from braintree.visa_checkout_card import VisaCheckoutCard as VisaCheckoutCard
|
|
14
|
-
|
|
15
1
|
def parse_payment_method(gateway, attributes): ...
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
from _typeshed import Incomplete
|
|
2
|
-
from typing import Any
|
|
3
2
|
|
|
4
|
-
from braintree.
|
|
5
|
-
from braintree.
|
|
3
|
+
from braintree.resource import Resource
|
|
4
|
+
from braintree.subscription import Subscription
|
|
6
5
|
|
|
7
6
|
class PayPalAccount(Resource):
|
|
8
7
|
@staticmethod
|
|
@@ -13,5 +12,5 @@ class PayPalAccount(Resource):
|
|
|
13
12
|
def update(paypal_account_token, params: Incomplete | None = None): ...
|
|
14
13
|
@staticmethod
|
|
15
14
|
def signature(): ...
|
|
16
|
-
subscriptions:
|
|
15
|
+
subscriptions: list[Subscription]
|
|
17
16
|
def __init__(self, gateway, attributes) -> None: ...
|
|
@@ -1,15 +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.paypal_account import PayPalAccount as PayPalAccount
|
|
7
|
-
from braintree.resource import Resource as Resource
|
|
8
|
-
from braintree.successful_result import SuccessfulResult as SuccessfulResult
|
|
9
2
|
|
|
10
3
|
class PayPalAccountGateway:
|
|
11
|
-
gateway:
|
|
12
|
-
config:
|
|
4
|
+
gateway: Incomplete
|
|
5
|
+
config: Incomplete
|
|
13
6
|
def __init__(self, gateway) -> None: ...
|
|
14
7
|
def find(self, paypal_account_token): ...
|
|
15
8
|
def delete(self, paypal_account_token): ...
|
|
@@ -1,15 +1,22 @@
|
|
|
1
|
-
from
|
|
1
|
+
from _typeshed import Incomplete
|
|
2
2
|
|
|
3
|
-
from braintree.add_on import AddOn
|
|
4
|
-
from braintree.
|
|
5
|
-
from braintree.
|
|
6
|
-
from braintree.resource import Resource as Resource
|
|
7
|
-
from braintree.resource_collection import ResourceCollection as ResourceCollection
|
|
8
|
-
from braintree.util.http import Http as Http
|
|
3
|
+
from braintree.add_on import AddOn
|
|
4
|
+
from braintree.discount import Discount
|
|
5
|
+
from braintree.resource import Resource
|
|
9
6
|
|
|
10
7
|
class Plan(Resource):
|
|
11
|
-
add_ons:
|
|
12
|
-
discounts:
|
|
8
|
+
add_ons: list[AddOn]
|
|
9
|
+
discounts: list[Discount]
|
|
13
10
|
def __init__(self, gateway, attributes) -> None: ...
|
|
14
11
|
@staticmethod
|
|
15
12
|
def all(): ...
|
|
13
|
+
@staticmethod
|
|
14
|
+
def create(params: Incomplete | None = None): ...
|
|
15
|
+
@staticmethod
|
|
16
|
+
def find(subscription_id): ...
|
|
17
|
+
@staticmethod
|
|
18
|
+
def update(subscription_id, params: Incomplete | None = None): ...
|
|
19
|
+
@staticmethod
|
|
20
|
+
def create_signature(): ...
|
|
21
|
+
@staticmethod
|
|
22
|
+
def update_signature(): ...
|
|
@@ -1,14 +1,10 @@
|
|
|
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.plan import Plan as Plan
|
|
6
|
-
from braintree.resource import Resource as Resource
|
|
7
|
-
from braintree.resource_collection import ResourceCollection as ResourceCollection
|
|
8
|
-
from braintree.successful_result import SuccessfulResult as SuccessfulResult
|
|
1
|
+
from _typeshed import Incomplete
|
|
9
2
|
|
|
10
3
|
class PlanGateway:
|
|
11
|
-
gateway:
|
|
12
|
-
config:
|
|
4
|
+
gateway: Incomplete
|
|
5
|
+
config: Incomplete
|
|
13
6
|
def __init__(self, gateway) -> None: ...
|
|
14
7
|
def all(self): ...
|
|
8
|
+
def create(self, params: Incomplete | None = None): ...
|
|
9
|
+
def find(self, plan_id): ...
|
|
10
|
+
def update(self, plan_id, params: Incomplete | None = None): ...
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
from
|
|
1
|
+
from _typeshed import Incomplete
|
|
2
2
|
|
|
3
|
-
from braintree.attribute_getter import AttributeGetter
|
|
3
|
+
from braintree.attribute_getter import AttributeGetter
|
|
4
4
|
|
|
5
5
|
text_type = str
|
|
6
6
|
raw_type = bytes
|
|
@@ -8,5 +8,5 @@ raw_type = bytes
|
|
|
8
8
|
class Resource(AttributeGetter):
|
|
9
9
|
@staticmethod
|
|
10
10
|
def verify_keys(params, signature) -> None: ...
|
|
11
|
-
gateway:
|
|
11
|
+
gateway: Incomplete
|
|
12
12
|
def __init__(self, gateway, attributes) -> None: ...
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
+
from _typeshed import Incomplete
|
|
1
2
|
from collections.abc import Generator
|
|
2
|
-
from typing import Any
|
|
3
|
-
|
|
4
|
-
from braintree.exceptions.unexpected_error import UnexpectedError as UnexpectedError
|
|
5
3
|
|
|
6
4
|
class ResourceCollection:
|
|
7
5
|
def __init__(self, query, results, method) -> None: ...
|
|
@@ -10,7 +8,7 @@ class ResourceCollection:
|
|
|
10
8
|
@property
|
|
11
9
|
def first(self): ...
|
|
12
10
|
@property
|
|
13
|
-
def items(self) -> Generator[
|
|
11
|
+
def items(self) -> Generator[Incomplete, None, None]: ...
|
|
14
12
|
@property
|
|
15
13
|
def ids(self): ...
|
|
16
14
|
def __iter__(self): ...
|
package/dist/typeshed-fallback/stubs/braintree/braintree/revoked_payment_method_metadata.pyi
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
from
|
|
1
|
+
from _typeshed import Incomplete
|
|
2
2
|
|
|
3
|
-
from braintree.
|
|
4
|
-
from braintree.resource import Resource as Resource
|
|
3
|
+
from braintree.resource import Resource
|
|
5
4
|
|
|
6
5
|
class RevokedPaymentMethodMetadata(Resource):
|
|
7
|
-
revoked_payment_method:
|
|
8
|
-
customer_id:
|
|
9
|
-
token:
|
|
6
|
+
revoked_payment_method: Incomplete
|
|
7
|
+
customer_id: Incomplete
|
|
8
|
+
token: Incomplete
|
|
10
9
|
def __init__(self, gateway, attributes) -> None: ...
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
from
|
|
2
|
-
|
|
3
|
-
from braintree.attribute_getter import AttributeGetter as AttributeGetter
|
|
1
|
+
from braintree.attribute_getter import AttributeGetter
|
|
4
2
|
|
|
5
3
|
class RiskData(AttributeGetter):
|
|
6
|
-
def __init__(self, attributes
|
|
4
|
+
def __init__(self, attributes) -> None: ...
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
from
|
|
2
|
-
|
|
3
|
-
from braintree.
|
|
4
|
-
from braintree.resource import Resource as Resource
|
|
1
|
+
from braintree.address import Address
|
|
2
|
+
from braintree.resource import Resource
|
|
3
|
+
from braintree.subscription import Subscription
|
|
5
4
|
|
|
6
5
|
class SamsungPayCard(Resource):
|
|
7
|
-
billing_address:
|
|
8
|
-
subscriptions:
|
|
6
|
+
billing_address: Address | None
|
|
7
|
+
subscriptions: list[Subscription]
|
|
9
8
|
def __init__(self, gateway, attributes) -> None: ...
|
|
10
9
|
@property
|
|
11
10
|
def expiration_date(self): ...
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
from
|
|
1
|
+
from _typeshed import Incomplete
|
|
2
2
|
|
|
3
3
|
class Search:
|
|
4
4
|
class IsNodeBuilder:
|
|
5
|
-
name:
|
|
5
|
+
name: Incomplete
|
|
6
6
|
def __init__(self, name) -> None: ...
|
|
7
7
|
def __eq__(self, value): ...
|
|
8
8
|
def is_equal(self, value): ...
|
|
@@ -12,7 +12,7 @@ class Search:
|
|
|
12
12
|
def is_not_equal(self, value): ...
|
|
13
13
|
|
|
14
14
|
class KeyValueNodeBuilder:
|
|
15
|
-
name:
|
|
15
|
+
name: Incomplete
|
|
16
16
|
def __init__(self, name) -> None: ...
|
|
17
17
|
def __eq__(self, value): ...
|
|
18
18
|
def is_equal(self, value): ...
|
|
@@ -24,7 +24,7 @@ class Search:
|
|
|
24
24
|
def ends_with(self, value): ...
|
|
25
25
|
|
|
26
26
|
class EndsWithNodeBuilder:
|
|
27
|
-
name:
|
|
27
|
+
name: Incomplete
|
|
28
28
|
def __init__(self, name) -> None: ...
|
|
29
29
|
def ends_with(self, value): ...
|
|
30
30
|
|
|
@@ -32,14 +32,14 @@ class Search:
|
|
|
32
32
|
def contains(self, value): ...
|
|
33
33
|
|
|
34
34
|
class Node:
|
|
35
|
-
name:
|
|
36
|
-
dict:
|
|
35
|
+
name: Incomplete
|
|
36
|
+
dict: Incomplete
|
|
37
37
|
def __init__(self, name, dict) -> None: ...
|
|
38
38
|
def to_param(self): ...
|
|
39
39
|
|
|
40
40
|
class MultipleValueNodeBuilder:
|
|
41
|
-
name:
|
|
42
|
-
whitelist:
|
|
41
|
+
name: Incomplete
|
|
42
|
+
whitelist: Incomplete
|
|
43
43
|
def __init__(self, name, whitelist=[]) -> None: ...
|
|
44
44
|
def in_list(self, *values): ...
|
|
45
45
|
def __eq__(self, value): ...
|
|
@@ -48,7 +48,7 @@ class Search:
|
|
|
48
48
|
def __init__(self, name, whitelist=[]) -> None: ...
|
|
49
49
|
|
|
50
50
|
class RangeNodeBuilder:
|
|
51
|
-
name:
|
|
51
|
+
name: Incomplete
|
|
52
52
|
def __init__(self, name) -> None: ...
|
|
53
53
|
def __eq__(self, value): ...
|
|
54
54
|
def is_equal(self, value): ...
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
from braintree.resource import Resource
|
|
2
|
+
from braintree.subscription import Subscription
|
|
3
|
+
|
|
4
|
+
class SepaDirectDebitAccount(Resource):
|
|
5
|
+
@staticmethod
|
|
6
|
+
def find(sepa_direct_debit_account_token): ...
|
|
7
|
+
@staticmethod
|
|
8
|
+
def delete(sepa_direct_debit_account_token): ...
|
|
9
|
+
subscriptions: list[Subscription]
|
|
10
|
+
def __init__(self, gateway, attributes) -> None: ...
|
package/dist/typeshed-fallback/stubs/braintree/braintree/sepa_direct_debit_account_gateway.pyi
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
from _typeshed import Incomplete
|
|
2
|
+
|
|
3
|
+
class SepaDirectDebitAccountGateway:
|
|
4
|
+
gateway: Incomplete
|
|
5
|
+
config: Incomplete
|
|
6
|
+
def __init__(self, gateway) -> None: ...
|
|
7
|
+
def find(self, sepa_direct_debit_account_token): ...
|
|
8
|
+
def delete(self, sepa_direct_debit_account_token): ...
|
|
@@ -1,12 +1,6 @@
|
|
|
1
1
|
from _typeshed import Incomplete
|
|
2
2
|
|
|
3
|
-
from braintree.
|
|
4
|
-
from braintree.error_result import ErrorResult as ErrorResult
|
|
5
|
-
from braintree.exceptions.not_found_error import NotFoundError as NotFoundError
|
|
6
|
-
from braintree.resource import Resource as Resource
|
|
7
|
-
from braintree.resource_collection import ResourceCollection as ResourceCollection
|
|
8
|
-
from braintree.successful_result import SuccessfulResult as SuccessfulResult
|
|
9
|
-
from braintree.util.http import Http as Http
|
|
3
|
+
from braintree.resource import Resource
|
|
10
4
|
|
|
11
5
|
class SettlementBatchSummary(Resource):
|
|
12
6
|
@staticmethod
|
package/dist/typeshed-fallback/stubs/braintree/braintree/settlement_batch_summary_gateway.pyi
CHANGED
|
@@ -1,13 +1,7 @@
|
|
|
1
1
|
from _typeshed import Incomplete
|
|
2
|
-
from typing import Any
|
|
3
|
-
|
|
4
|
-
from braintree.error_result import ErrorResult as ErrorResult
|
|
5
|
-
from braintree.resource import Resource as Resource
|
|
6
|
-
from braintree.settlement_batch_summary import SettlementBatchSummary as SettlementBatchSummary
|
|
7
|
-
from braintree.successful_result import SuccessfulResult as SuccessfulResult
|
|
8
2
|
|
|
9
3
|
class SettlementBatchSummaryGateway:
|
|
10
|
-
gateway:
|
|
11
|
-
config:
|
|
4
|
+
gateway: Incomplete
|
|
5
|
+
config: Incomplete
|
|
12
6
|
def __init__(self, gateway) -> None: ...
|
|
13
7
|
def generate(self, settlement_date, group_by_custom_field: Incomplete | None = None): ...
|
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
from
|
|
2
|
-
|
|
3
|
-
from braintree.util.crypto import Crypto as Crypto
|
|
1
|
+
from _typeshed import Incomplete
|
|
4
2
|
|
|
5
3
|
class SignatureService:
|
|
6
|
-
private_key:
|
|
7
|
-
hmac_hash:
|
|
4
|
+
private_key: Incomplete
|
|
5
|
+
hmac_hash: Incomplete
|
|
8
6
|
def __init__(self, private_key, hashfunc=...) -> None: ...
|
|
9
7
|
def sign(self, data): ...
|
|
10
8
|
def hash(self, data): ...
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
from
|
|
1
|
+
from decimal import Decimal
|
|
2
2
|
|
|
3
|
-
from braintree.resource import Resource
|
|
3
|
+
from braintree.resource import Resource
|
|
4
4
|
|
|
5
5
|
class StatusEvent(Resource):
|
|
6
|
-
amount:
|
|
6
|
+
amount: Decimal
|
|
7
7
|
def __init__(self, gateway, attributes) -> None: ...
|
|
@@ -1,35 +1,30 @@
|
|
|
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.
|
|
6
|
-
from braintree.
|
|
7
|
-
from braintree.
|
|
8
|
-
from braintree.
|
|
9
|
-
from braintree.
|
|
10
|
-
from braintree.resource import Resource as Resource
|
|
11
|
-
from braintree.resource_collection import ResourceCollection as ResourceCollection
|
|
12
|
-
from braintree.subscription_status_event import SubscriptionStatusEvent as SubscriptionStatusEvent
|
|
13
|
-
from braintree.successful_result import SuccessfulResult as SuccessfulResult
|
|
14
|
-
from braintree.transaction import Transaction as Transaction
|
|
15
|
-
from braintree.util.http import Http as Http
|
|
5
|
+
from braintree.add_on import AddOn
|
|
6
|
+
from braintree.descriptor import Descriptor
|
|
7
|
+
from braintree.discount import Discount
|
|
8
|
+
from braintree.resource import Resource
|
|
9
|
+
from braintree.subscription_status_event import SubscriptionStatusEvent
|
|
10
|
+
from braintree.transaction import Transaction
|
|
16
11
|
|
|
17
12
|
class Subscription(Resource):
|
|
18
13
|
class TrialDurationUnit:
|
|
19
|
-
Day:
|
|
20
|
-
Month:
|
|
14
|
+
Day: Final = "day"
|
|
15
|
+
Month: Final = "month"
|
|
21
16
|
|
|
22
17
|
class Source:
|
|
23
|
-
Api:
|
|
24
|
-
ControlPanel:
|
|
25
|
-
Recurring:
|
|
18
|
+
Api: Final = "api"
|
|
19
|
+
ControlPanel: Final = "control_panel"
|
|
20
|
+
Recurring: Final = "recurring"
|
|
26
21
|
|
|
27
22
|
class Status:
|
|
28
|
-
Active:
|
|
29
|
-
Canceled:
|
|
30
|
-
Expired:
|
|
31
|
-
PastDue:
|
|
32
|
-
Pending:
|
|
23
|
+
Active: Final = "Active"
|
|
24
|
+
Canceled: Final = "Canceled"
|
|
25
|
+
Expired: Final = "Expired"
|
|
26
|
+
PastDue: Final = "Past Due"
|
|
27
|
+
Pending: Final = "Pending"
|
|
33
28
|
|
|
34
29
|
@staticmethod
|
|
35
30
|
def create(params: Incomplete | None = None): ...
|
|
@@ -47,13 +42,13 @@ class Subscription(Resource):
|
|
|
47
42
|
def search(*query): ...
|
|
48
43
|
@staticmethod
|
|
49
44
|
def update_signature(): ...
|
|
50
|
-
price:
|
|
51
|
-
balance:
|
|
52
|
-
next_billing_period_amount:
|
|
53
|
-
add_ons:
|
|
54
|
-
descriptor:
|
|
55
|
-
description:
|
|
56
|
-
discounts:
|
|
57
|
-
status_history:
|
|
58
|
-
transactions:
|
|
45
|
+
price: Decimal
|
|
46
|
+
balance: Decimal
|
|
47
|
+
next_billing_period_amount: Decimal
|
|
48
|
+
add_ons: list[AddOn]
|
|
49
|
+
descriptor: Descriptor
|
|
50
|
+
description: Incomplete
|
|
51
|
+
discounts: list[Discount]
|
|
52
|
+
status_history: list[SubscriptionStatusEvent]
|
|
53
|
+
transactions: list[Transaction]
|
|
59
54
|
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.error_result import ErrorResult as ErrorResult
|
|
5
|
-
from braintree.exceptions.not_found_error import NotFoundError as NotFoundError
|
|
6
|
-
from braintree.resource import Resource as Resource
|
|
7
|
-
from braintree.resource_collection import ResourceCollection as ResourceCollection
|
|
8
|
-
from braintree.subscription import Subscription as Subscription
|
|
9
|
-
from braintree.successful_result import SuccessfulResult as SuccessfulResult
|
|
10
|
-
from braintree.transaction import Transaction as Transaction
|
|
11
2
|
|
|
12
3
|
class SubscriptionGateway:
|
|
13
|
-
gateway:
|
|
14
|
-
config:
|
|
4
|
+
gateway: Incomplete
|
|
5
|
+
config: Incomplete
|
|
15
6
|
def __init__(self, gateway) -> None: ...
|
|
16
7
|
def cancel(self, subscription_id): ...
|
|
17
8
|
def create(self, params: Incomplete | None = None): ...
|
|
@@ -1,19 +1,15 @@
|
|
|
1
|
-
from
|
|
2
|
-
|
|
3
|
-
from braintree import Subscription as Subscription
|
|
4
|
-
from braintree.search import Search as Search
|
|
5
|
-
from braintree.util import Constants as Constants
|
|
1
|
+
from braintree.search import Search
|
|
6
2
|
|
|
7
3
|
class SubscriptionSearch:
|
|
8
|
-
billing_cycles_remaining:
|
|
9
|
-
created_at:
|
|
10
|
-
days_past_due:
|
|
11
|
-
id:
|
|
12
|
-
ids:
|
|
13
|
-
in_trial_period:
|
|
14
|
-
merchant_account_id:
|
|
15
|
-
next_billing_date:
|
|
16
|
-
plan_id:
|
|
17
|
-
price:
|
|
18
|
-
status:
|
|
19
|
-
transaction_id:
|
|
4
|
+
billing_cycles_remaining: Search.RangeNodeBuilder
|
|
5
|
+
created_at: Search.RangeNodeBuilder
|
|
6
|
+
days_past_due: Search.RangeNodeBuilder
|
|
7
|
+
id: Search.TextNodeBuilder
|
|
8
|
+
ids: Search.MultipleValueNodeBuilder
|
|
9
|
+
in_trial_period: Search.MultipleValueNodeBuilder
|
|
10
|
+
merchant_account_id: Search.MultipleValueNodeBuilder
|
|
11
|
+
next_billing_date: Search.RangeNodeBuilder
|
|
12
|
+
plan_id: Search.MultipleValueOrTextNodeBuilder
|
|
13
|
+
price: Search.RangeNodeBuilder
|
|
14
|
+
status: Search.MultipleValueNodeBuilder
|
|
15
|
+
transaction_id: Search.TextNodeBuilder
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
from
|
|
1
|
+
from decimal import Decimal
|
|
2
2
|
|
|
3
|
-
from braintree.resource import Resource
|
|
3
|
+
from braintree.resource import Resource
|
|
4
4
|
|
|
5
5
|
class SubscriptionStatusEvent(Resource):
|
|
6
|
-
balance:
|
|
7
|
-
price:
|
|
6
|
+
balance: Decimal
|
|
7
|
+
price: Decimal
|
|
8
8
|
def __init__(self, gateway, attributes) -> None: ...
|
|
File without changes
|