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.
Files changed (307) hide show
  1. package/dist/pyright-langserver.js +1 -1
  2. package/dist/pyright-langserver.js.map +1 -1
  3. package/dist/pyright.js +1 -1
  4. package/dist/pyright.js.map +1 -1
  5. package/dist/typeshed-fallback/commit.txt +1 -1
  6. package/dist/typeshed-fallback/stdlib/_curses.pyi +549 -542
  7. package/dist/typeshed-fallback/stdlib/curses/__init__.pyi +14 -13
  8. package/dist/typeshed-fallback/stdlib/curses/ascii.pyi +58 -59
  9. package/dist/typeshed-fallback/stdlib/curses/has_key.pyi +1 -4
  10. package/dist/typeshed-fallback/stdlib/curses/panel.pyi +19 -22
  11. package/dist/typeshed-fallback/stdlib/curses/textpad.pyi +8 -10
  12. package/dist/typeshed-fallback/stdlib/importlib/resources/simple.pyi +11 -4
  13. package/dist/typeshed-fallback/stdlib/io.pyi +5 -5
  14. package/dist/typeshed-fallback/stdlib/multiprocessing/resource_tracker.pyi +3 -3
  15. package/dist/typeshed-fallback/stdlib/multiprocessing/util.pyi +25 -6
  16. package/dist/typeshed-fallback/stdlib/signal.pyi +2 -6
  17. package/dist/typeshed-fallback/stdlib/ssl.pyi +6 -0
  18. package/dist/typeshed-fallback/stdlib/tkinter/commondialog.pyi +2 -2
  19. package/dist/typeshed-fallback/stdlib/tkinter/dialog.pyi +1 -1
  20. package/dist/typeshed-fallback/stdlib/tkinter/scrolledtext.pyi +1 -2
  21. package/dist/typeshed-fallback/stdlib/traceback.pyi +4 -4
  22. package/dist/typeshed-fallback/stdlib/typing.pyi +5 -5
  23. package/dist/typeshed-fallback/stdlib/typing_extensions.pyi +4 -4
  24. package/dist/typeshed-fallback/stdlib/xml/dom/minidom.pyi +2 -2
  25. package/dist/typeshed-fallback/stdlib/xml/dom/xmlbuilder.pyi +1 -1
  26. package/dist/typeshed-fallback/stubs/Flask-Cors/flask_cors/core.pyi +5 -2
  27. package/dist/typeshed-fallback/stubs/Flask-Cors/flask_cors/extension.pyi +1 -2
  28. package/dist/typeshed-fallback/stubs/Flask-SocketIO/flask_socketio/namespace.pyi +2 -2
  29. package/dist/typeshed-fallback/stubs/Pillow/PIL/ImageTk.pyi +3 -3
  30. package/dist/typeshed-fallback/stubs/Pillow/PIL/PdfParser.pyi +1 -1
  31. package/dist/typeshed-fallback/stubs/Pillow/PIL/PyAccess.pyi +11 -4
  32. package/dist/typeshed-fallback/stubs/Pillow/PIL/_imaging.pyi +4 -4
  33. package/dist/typeshed-fallback/stubs/PyAutoGUI/METADATA.toml +1 -1
  34. package/dist/typeshed-fallback/stubs/PyScreeze/METADATA.toml +1 -1
  35. package/dist/typeshed-fallback/stubs/aiofiles/aiofiles/tempfile/__init__.pyi +1 -1
  36. package/dist/typeshed-fallback/stubs/aiofiles/aiofiles/tempfile/temptypes.pyi +4 -4
  37. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/error/Errors.pyi +1 -1
  38. package/dist/typeshed-fallback/stubs/bleach/bleach/sanitizer.pyi +1 -2
  39. package/dist/typeshed-fallback/stubs/boltons/boltons/debugutils.pyi +2 -3
  40. package/dist/typeshed-fallback/stubs/boltons/boltons/queueutils.pyi +2 -3
  41. package/dist/typeshed-fallback/stubs/braintree/METADATA.toml +1 -5
  42. package/dist/typeshed-fallback/stubs/braintree/braintree/account_updater_daily_report.pyi +4 -5
  43. package/dist/typeshed-fallback/stubs/braintree/braintree/ach_mandate.pyi +1 -2
  44. package/dist/typeshed-fallback/stubs/braintree/braintree/add_on.pyi +1 -2
  45. package/dist/typeshed-fallback/stubs/braintree/braintree/add_on_gateway.pyi +3 -6
  46. package/dist/typeshed-fallback/stubs/braintree/braintree/address.pyi +9 -10
  47. package/dist/typeshed-fallback/stubs/braintree/braintree/address_gateway.pyi +2 -9
  48. package/dist/typeshed-fallback/stubs/braintree/braintree/amex_express_checkout_card.pyi +3 -4
  49. package/dist/typeshed-fallback/stubs/braintree/braintree/android_pay_card.pyi +11 -4
  50. package/dist/typeshed-fallback/stubs/braintree/braintree/apple_pay_card.pyi +11 -7
  51. package/dist/typeshed-fallback/stubs/braintree/braintree/apple_pay_gateway.pyi +3 -8
  52. package/dist/typeshed-fallback/stubs/braintree/braintree/apple_pay_options.pyi +1 -1
  53. package/dist/typeshed-fallback/stubs/braintree/braintree/attribute_getter.pyi +5 -2
  54. package/dist/typeshed-fallback/stubs/braintree/braintree/authorization_adjustment.pyi +3 -3
  55. package/dist/typeshed-fallback/stubs/braintree/braintree/bin_data.pyi +1 -1
  56. package/dist/typeshed-fallback/stubs/braintree/braintree/braintree_gateway.pyi +59 -56
  57. package/dist/typeshed-fallback/stubs/braintree/braintree/client_token.pyi +0 -5
  58. package/dist/typeshed-fallback/stubs/braintree/braintree/client_token_gateway.pyi +2 -7
  59. package/dist/typeshed-fallback/stubs/braintree/braintree/configuration.pyi +9 -15
  60. package/dist/typeshed-fallback/stubs/braintree/braintree/connected_merchant_paypal_status_changed.pyi +1 -1
  61. package/dist/typeshed-fallback/stubs/braintree/braintree/connected_merchant_status_transitioned.pyi +1 -1
  62. package/dist/typeshed-fallback/stubs/braintree/braintree/credentials_parser.pyi +5 -9
  63. package/dist/typeshed-fallback/stubs/braintree/braintree/credit_card.pyi +50 -41
  64. package/dist/typeshed-fallback/stubs/braintree/braintree/credit_card_gateway.pyi +2 -11
  65. package/dist/typeshed-fallback/stubs/braintree/braintree/credit_card_verification.pyi +18 -18
  66. package/dist/typeshed-fallback/stubs/braintree/braintree/credit_card_verification_gateway.pyi +3 -11
  67. package/dist/typeshed-fallback/stubs/braintree/braintree/credit_card_verification_search.pyi +13 -18
  68. package/dist/typeshed-fallback/stubs/braintree/braintree/customer.pyi +26 -34
  69. package/dist/typeshed-fallback/stubs/braintree/braintree/customer_gateway.pyi +2 -11
  70. package/dist/typeshed-fallback/stubs/braintree/braintree/customer_search.pyi +25 -27
  71. package/dist/typeshed-fallback/stubs/braintree/braintree/descriptor.pyi +1 -1
  72. package/dist/typeshed-fallback/stubs/braintree/braintree/disbursement.pyi +8 -8
  73. package/dist/typeshed-fallback/stubs/braintree/braintree/disbursement_detail.pyi +4 -4
  74. package/dist/typeshed-fallback/stubs/braintree/braintree/discount.pyi +1 -2
  75. package/dist/typeshed-fallback/stubs/braintree/braintree/discount_gateway.pyi +3 -6
  76. package/dist/typeshed-fallback/stubs/braintree/braintree/dispute.pyi +51 -41
  77. package/dist/typeshed-fallback/stubs/braintree/braintree/dispute_details/evidence.pyi +1 -1
  78. package/dist/typeshed-fallback/stubs/braintree/braintree/dispute_details/paypal_message.pyi +1 -1
  79. package/dist/typeshed-fallback/stubs/braintree/braintree/dispute_details/status_history.pyi +1 -1
  80. package/dist/typeshed-fallback/stubs/braintree/braintree/dispute_gateway.pyi +4 -13
  81. package/dist/typeshed-fallback/stubs/braintree/braintree/dispute_search.pyi +21 -21
  82. package/dist/typeshed-fallback/stubs/braintree/braintree/document_upload.pyi +3 -4
  83. package/dist/typeshed-fallback/stubs/braintree/braintree/document_upload_gateway.pyi +2 -8
  84. package/dist/typeshed-fallback/stubs/braintree/braintree/enriched_customer_data.pyi +7 -0
  85. package/dist/typeshed-fallback/stubs/braintree/braintree/environment.pyi +0 -2
  86. package/dist/typeshed-fallback/stubs/braintree/braintree/error_codes.pyi +690 -675
  87. package/dist/typeshed-fallback/stubs/braintree/braintree/error_result.pyi +13 -10
  88. package/dist/typeshed-fallback/stubs/braintree/braintree/errors.pyi +3 -5
  89. package/dist/typeshed-fallback/stubs/braintree/braintree/europe_bank_account.pyi +5 -4
  90. package/dist/typeshed-fallback/stubs/braintree/braintree/exceptions/authentication_error.pyi +1 -1
  91. package/dist/typeshed-fallback/stubs/braintree/braintree/exceptions/authorization_error.pyi +1 -1
  92. package/dist/typeshed-fallback/stubs/braintree/braintree/exceptions/configuration_error.pyi +1 -1
  93. package/dist/typeshed-fallback/stubs/braintree/braintree/exceptions/gateway_timeout_error.pyi +1 -1
  94. package/dist/typeshed-fallback/stubs/braintree/braintree/exceptions/http/connection_error.pyi +1 -1
  95. package/dist/typeshed-fallback/stubs/braintree/braintree/exceptions/http/invalid_response_error.pyi +1 -1
  96. package/dist/typeshed-fallback/stubs/braintree/braintree/exceptions/http/timeout_error.pyi +1 -1
  97. package/dist/typeshed-fallback/stubs/braintree/braintree/exceptions/invalid_challenge_error.pyi +1 -1
  98. package/dist/typeshed-fallback/stubs/braintree/braintree/exceptions/invalid_signature_error.pyi +1 -1
  99. package/dist/typeshed-fallback/stubs/braintree/braintree/exceptions/not_found_error.pyi +1 -1
  100. package/dist/typeshed-fallback/stubs/braintree/braintree/exceptions/request_timeout_error.pyi +1 -1
  101. package/dist/typeshed-fallback/stubs/braintree/braintree/exceptions/server_error.pyi +1 -1
  102. package/dist/typeshed-fallback/stubs/braintree/braintree/exceptions/service_unavailable_error.pyi +1 -1
  103. package/dist/typeshed-fallback/stubs/braintree/braintree/exceptions/test_operation_performed_in_production_error.pyi +3 -0
  104. package/dist/typeshed-fallback/stubs/braintree/braintree/exceptions/too_many_requests_error.pyi +1 -1
  105. package/dist/typeshed-fallback/stubs/braintree/braintree/exceptions/unexpected_error.pyi +1 -1
  106. package/dist/typeshed-fallback/stubs/braintree/braintree/exceptions/upgrade_required_error.pyi +1 -1
  107. package/dist/typeshed-fallback/stubs/braintree/braintree/exchange_rate_quote.pyi +4 -0
  108. package/dist/typeshed-fallback/stubs/braintree/braintree/exchange_rate_quote_gateway.pyi +9 -0
  109. package/dist/typeshed-fallback/stubs/braintree/braintree/exchange_rate_quote_input.pyi +9 -0
  110. package/dist/typeshed-fallback/stubs/braintree/braintree/exchange_rate_quote_payload.pyi +6 -0
  111. package/dist/typeshed-fallback/stubs/braintree/braintree/exchange_rate_quote_request.pyi +7 -0
  112. package/dist/typeshed-fallback/stubs/braintree/braintree/facilitated_details.pyi +1 -1
  113. package/dist/typeshed-fallback/stubs/braintree/braintree/facilitator_details.pyi +1 -1
  114. package/dist/typeshed-fallback/stubs/braintree/braintree/granted_payment_instrument_update.pyi +3 -3
  115. package/dist/typeshed-fallback/stubs/braintree/braintree/iban_bank_account.pyi +1 -1
  116. package/dist/typeshed-fallback/stubs/braintree/braintree/ids_search.pyi +2 -4
  117. package/dist/typeshed-fallback/stubs/braintree/braintree/liability_shift.pyi +3 -0
  118. package/dist/typeshed-fallback/stubs/braintree/braintree/local_payment.pyi +1 -1
  119. package/dist/typeshed-fallback/stubs/braintree/braintree/local_payment_completed.pyi +3 -5
  120. package/dist/typeshed-fallback/stubs/braintree/braintree/local_payment_expired.pyi +4 -0
  121. package/dist/typeshed-fallback/stubs/braintree/braintree/local_payment_funded.pyi +7 -0
  122. package/dist/typeshed-fallback/stubs/braintree/braintree/local_payment_reversed.pyi +1 -1
  123. package/dist/typeshed-fallback/stubs/braintree/braintree/masterpass_card.pyi +5 -6
  124. package/dist/typeshed-fallback/stubs/braintree/braintree/merchant.pyi +3 -5
  125. package/dist/typeshed-fallback/stubs/braintree/braintree/merchant_account/address_details.pyi +3 -3
  126. package/dist/typeshed-fallback/stubs/braintree/braintree/merchant_account/business_details.pyi +5 -5
  127. package/dist/typeshed-fallback/stubs/braintree/braintree/merchant_account/funding_details.pyi +3 -3
  128. package/dist/typeshed-fallback/stubs/braintree/braintree/merchant_account/individual_details.pyi +5 -5
  129. package/dist/typeshed-fallback/stubs/braintree/braintree/merchant_account/merchant_account.pyi +14 -19
  130. package/dist/typeshed-fallback/stubs/braintree/braintree/merchant_account_gateway.pyi +2 -12
  131. package/dist/typeshed-fallback/stubs/braintree/braintree/merchant_gateway.pyi +3 -11
  132. package/dist/typeshed-fallback/stubs/braintree/braintree/meta_checkout_card.pyi +8 -0
  133. package/dist/typeshed-fallback/stubs/braintree/braintree/meta_checkout_token.pyi +8 -0
  134. package/dist/typeshed-fallback/stubs/braintree/braintree/modification.pyi +3 -3
  135. package/dist/typeshed-fallback/stubs/braintree/braintree/montary_amount.pyi +7 -0
  136. package/dist/typeshed-fallback/stubs/braintree/braintree/oauth_access_revocation.pyi +1 -1
  137. package/dist/typeshed-fallback/stubs/braintree/braintree/oauth_credentials.pyi +1 -1
  138. package/dist/typeshed-fallback/stubs/braintree/braintree/oauth_gateway.pyi +3 -8
  139. package/dist/typeshed-fallback/stubs/braintree/braintree/package_details.pyi +7 -0
  140. package/dist/typeshed-fallback/stubs/braintree/braintree/paginated_collection.pyi +2 -2
  141. package/dist/typeshed-fallback/stubs/braintree/braintree/paginated_result.pyi +4 -4
  142. package/dist/typeshed-fallback/stubs/braintree/braintree/partner_merchant.pyi +7 -8
  143. package/dist/typeshed-fallback/stubs/braintree/braintree/payment_instrument_type.pyi +18 -13
  144. package/dist/typeshed-fallback/stubs/braintree/braintree/payment_method.pyi +1 -3
  145. package/dist/typeshed-fallback/stubs/braintree/braintree/payment_method_customer_data_updated_metadata.pyi +8 -0
  146. package/dist/typeshed-fallback/stubs/braintree/braintree/payment_method_gateway.pyi +3 -26
  147. package/dist/typeshed-fallback/stubs/braintree/braintree/payment_method_nonce.pyi +7 -8
  148. package/dist/typeshed-fallback/stubs/braintree/braintree/payment_method_nonce_gateway.pyi +3 -10
  149. package/dist/typeshed-fallback/stubs/braintree/braintree/payment_method_parser.pyi +0 -14
  150. package/dist/typeshed-fallback/stubs/braintree/braintree/paypal_account.pyi +3 -4
  151. package/dist/typeshed-fallback/stubs/braintree/braintree/paypal_account_gateway.pyi +2 -9
  152. package/dist/typeshed-fallback/stubs/braintree/braintree/paypal_here.pyi +1 -1
  153. package/dist/typeshed-fallback/stubs/braintree/braintree/plan.pyi +16 -9
  154. package/dist/typeshed-fallback/stubs/braintree/braintree/plan_gateway.pyi +6 -10
  155. package/dist/typeshed-fallback/stubs/braintree/braintree/processor_response_types.pyi +5 -3
  156. package/dist/typeshed-fallback/stubs/braintree/braintree/resource.pyi +3 -3
  157. package/dist/typeshed-fallback/stubs/braintree/braintree/resource_collection.pyi +2 -4
  158. package/dist/typeshed-fallback/stubs/braintree/braintree/revoked_payment_method_metadata.pyi +5 -6
  159. package/dist/typeshed-fallback/stubs/braintree/braintree/risk_data.pyi +2 -4
  160. package/dist/typeshed-fallback/stubs/braintree/braintree/samsung_pay_card.pyi +5 -6
  161. package/dist/typeshed-fallback/stubs/braintree/braintree/search.pyi +9 -9
  162. package/dist/typeshed-fallback/stubs/braintree/braintree/sepa_direct_debit_account.pyi +10 -0
  163. package/dist/typeshed-fallback/stubs/braintree/braintree/sepa_direct_debit_account_gateway.pyi +8 -0
  164. package/dist/typeshed-fallback/stubs/braintree/braintree/settlement_batch_summary.pyi +1 -7
  165. package/dist/typeshed-fallback/stubs/braintree/braintree/settlement_batch_summary_gateway.pyi +2 -8
  166. package/dist/typeshed-fallback/stubs/braintree/braintree/signature_service.pyi +3 -5
  167. package/dist/typeshed-fallback/stubs/braintree/braintree/status_event.pyi +3 -3
  168. package/dist/typeshed-fallback/stubs/braintree/braintree/subscription.pyi +27 -32
  169. package/dist/typeshed-fallback/stubs/braintree/braintree/subscription_details.pyi +1 -1
  170. package/dist/typeshed-fallback/stubs/braintree/braintree/subscription_gateway.pyi +2 -11
  171. package/dist/typeshed-fallback/stubs/braintree/braintree/subscription_search.pyi +13 -17
  172. package/dist/typeshed-fallback/stubs/braintree/braintree/subscription_status_event.pyi +4 -4
  173. package/dist/typeshed-fallback/stubs/braintree/braintree/successful_result.pyi +1 -1
  174. package/dist/typeshed-fallback/stubs/braintree/braintree/test/__init__.pyi +0 -0
  175. package/dist/typeshed-fallback/stubs/braintree/braintree/test/authentication_ids.pyi +18 -0
  176. package/dist/typeshed-fallback/stubs/braintree/braintree/test/credit_card_defaults.pyi +5 -0
  177. package/dist/typeshed-fallback/stubs/braintree/braintree/test/credit_card_numbers.pyi +40 -0
  178. package/dist/typeshed-fallback/stubs/braintree/braintree/test/merchant_account.pyi +7 -0
  179. package/dist/typeshed-fallback/stubs/braintree/braintree/test/nonces.pyi +83 -0
  180. package/dist/typeshed-fallback/stubs/braintree/braintree/test/venmo_sdk.pyi +9 -0
  181. package/dist/typeshed-fallback/stubs/braintree/braintree/testing_gateway.pyi +3 -7
  182. package/dist/typeshed-fallback/stubs/braintree/braintree/three_d_secure_info.pyi +1 -1
  183. package/dist/typeshed-fallback/stubs/braintree/braintree/transaction.pyi +125 -115
  184. package/dist/typeshed-fallback/stubs/braintree/braintree/transaction_amounts.pyi +6 -4
  185. package/dist/typeshed-fallback/stubs/braintree/braintree/transaction_details.pyi +3 -3
  186. package/dist/typeshed-fallback/stubs/braintree/braintree/transaction_gateway.pyi +3 -11
  187. package/dist/typeshed-fallback/stubs/braintree/braintree/transaction_line_item.pyi +5 -5
  188. package/dist/typeshed-fallback/stubs/braintree/braintree/transaction_line_item_gateway.pyi +3 -10
  189. package/dist/typeshed-fallback/stubs/braintree/braintree/transaction_review.pyi +4 -0
  190. package/dist/typeshed-fallback/stubs/braintree/braintree/transaction_search.pyi +70 -71
  191. package/dist/typeshed-fallback/stubs/braintree/braintree/unknown_payment_method.pyi +1 -1
  192. package/dist/typeshed-fallback/stubs/braintree/braintree/us_bank_account.pyi +5 -8
  193. package/dist/typeshed-fallback/stubs/braintree/braintree/us_bank_account_gateway.pyi +3 -6
  194. package/dist/typeshed-fallback/stubs/braintree/braintree/us_bank_account_verification.pyi +17 -14
  195. package/dist/typeshed-fallback/stubs/braintree/braintree/us_bank_account_verification_gateway.pyi +3 -10
  196. package/dist/typeshed-fallback/stubs/braintree/braintree/us_bank_account_verification_search.pyi +13 -18
  197. package/dist/typeshed-fallback/stubs/braintree/braintree/util/constants.pyi +1 -0
  198. package/dist/typeshed-fallback/stubs/braintree/braintree/util/generator.pyi +2 -2
  199. package/dist/typeshed-fallback/stubs/braintree/braintree/util/graphql_client.pyi +2 -11
  200. package/dist/typeshed-fallback/stubs/braintree/braintree/util/http.pyi +6 -27
  201. package/dist/typeshed-fallback/stubs/braintree/braintree/util/parser.pyi +2 -4
  202. package/dist/typeshed-fallback/stubs/braintree/braintree/util/xml_util.pyi +0 -3
  203. package/dist/typeshed-fallback/stubs/braintree/braintree/validation_error.pyi +1 -1
  204. package/dist/typeshed-fallback/stubs/braintree/braintree/validation_error_collection.pyi +1 -4
  205. package/dist/typeshed-fallback/stubs/braintree/braintree/venmo_account.pyi +3 -4
  206. package/dist/typeshed-fallback/stubs/braintree/braintree/venmo_profile_data.pyi +4 -0
  207. package/dist/typeshed-fallback/stubs/braintree/braintree/version.pyi +3 -1
  208. package/dist/typeshed-fallback/stubs/braintree/braintree/visa_checkout_card.pyi +7 -8
  209. package/dist/typeshed-fallback/stubs/braintree/braintree/webhook_notification.pyi +84 -74
  210. package/dist/typeshed-fallback/stubs/braintree/braintree/webhook_notification_gateway.pyi +3 -9
  211. package/dist/typeshed-fallback/stubs/braintree/braintree/webhook_testing.pyi +0 -2
  212. package/dist/typeshed-fallback/stubs/braintree/braintree/webhook_testing_gateway.pyi +2 -6
  213. package/dist/typeshed-fallback/stubs/caldav/caldav/davclient.pyi +1 -1
  214. package/dist/typeshed-fallback/stubs/caldav/caldav/objects.pyi +4 -8
  215. package/dist/typeshed-fallback/stubs/cffi/_cffi_backend.pyi +1 -1
  216. package/dist/typeshed-fallback/stubs/dateparser/dateparser/utils/__init__.pyi +1 -1
  217. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/directives/__init__.pyi +1 -1
  218. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/directives/parts.pyi +9 -2
  219. package/dist/typeshed-fallback/stubs/docutils/docutils/utils/__init__.pyi +7 -32
  220. package/dist/typeshed-fallback/stubs/flake8-builtins/METADATA.toml +1 -1
  221. package/dist/typeshed-fallback/stubs/flake8-builtins/flake8_builtins.pyi +37 -6
  222. package/dist/typeshed-fallback/stubs/fpdf2/METADATA.toml +1 -1
  223. package/dist/typeshed-fallback/stubs/fpdf2/fpdf/html.pyi +1 -1
  224. package/dist/typeshed-fallback/stubs/gdb/METADATA.toml +2 -3
  225. package/dist/typeshed-fallback/stubs/gdb/gdb/FrameDecorator.pyi +19 -0
  226. package/dist/typeshed-fallback/stubs/gdb/gdb/FrameIterator.pyi +9 -0
  227. package/dist/typeshed-fallback/stubs/gdb/gdb/__init__.pyi +152 -56
  228. package/dist/typeshed-fallback/stubs/gdb/gdb/events.pyi +22 -89
  229. package/dist/typeshed-fallback/stubs/gdb/gdb/types.pyi +4 -0
  230. package/dist/typeshed-fallback/stubs/gdb/gdb/unwinder.pyi +9 -1
  231. package/dist/typeshed-fallback/stubs/gdb/gdb/xmethod.pyi +20 -10
  232. package/dist/typeshed-fallback/stubs/hdbcli/hdbcli/dbapi.pyi +3 -3
  233. package/dist/typeshed-fallback/stubs/hvac/METADATA.toml +1 -0
  234. package/dist/typeshed-fallback/stubs/hvac/hvac/adapters.pyi +25 -20
  235. package/dist/typeshed-fallback/stubs/hvac/hvac/api/vault_api_category.pyi +4 -3
  236. package/dist/typeshed-fallback/stubs/hvac/hvac/v1/__init__.pyi +3 -3
  237. package/dist/typeshed-fallback/stubs/jsonschema/jsonschema/exceptions.pyi +2 -2
  238. package/dist/typeshed-fallback/stubs/netaddr/netaddr/core.pyi +2 -2
  239. package/dist/typeshed-fallback/stubs/netaddr/netaddr/ip/__init__.pyi +2 -2
  240. package/dist/typeshed-fallback/stubs/netaddr/netaddr/ip/iana.pyi +2 -2
  241. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/operators/binary.pyi +1 -2
  242. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/planarity.pyi +1 -1
  243. package/dist/typeshed-fallback/stubs/networkx/networkx/classes/graph.pyi +3 -3
  244. package/dist/typeshed-fallback/stubs/networkx/networkx/classes/reportviews.pyi +8 -4
  245. package/dist/typeshed-fallback/stubs/networkx/networkx/convert.pyi +1 -1
  246. package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/cell/_writer.pyi +3 -3
  247. package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/cell/cell.pyi +8 -4
  248. package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/cell/read_only.pyi +9 -2
  249. package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/chart/chartspace.pyi +1 -0
  250. package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/chart/reference.pyi +6 -4
  251. package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/chartsheet/chartsheet.pyi +3 -2
  252. package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/descriptors/base.pyi +1 -1
  253. package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/descriptors/excel.pyi +1 -1
  254. package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/packaging/workbook.pyi +1 -1
  255. package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/reader/workbook.pyi +3 -4
  256. package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/styles/styleable.pyi +7 -3
  257. package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/styles/stylesheet.pyi +1 -1
  258. package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/workbook/_writer.pyi +5 -3
  259. package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/workbook/workbook.pyi +27 -16
  260. package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/worksheet/_read_only.pyi +8 -3
  261. package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/worksheet/_reader.pyi +3 -2
  262. package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/worksheet/_write_only.pyi +5 -2
  263. package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/worksheet/_writer.pyi +5 -2
  264. package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/worksheet/dimensions.pyi +3 -0
  265. package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/worksheet/merge.pyi +4 -2
  266. package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/worksheet/print_settings.pyi +3 -3
  267. package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/writer/excel.pyi +2 -1
  268. package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/xml/_functions_overloads.pyi +1 -1
  269. package/dist/typeshed-fallback/stubs/parsimonious/parsimonious/nodes.pyi +1 -1
  270. package/dist/typeshed-fallback/stubs/passlib/passlib/totp.pyi +85 -67
  271. package/dist/typeshed-fallback/stubs/polib/polib.pyi +2 -2
  272. package/dist/typeshed-fallback/stubs/pyasn1/METADATA.toml +1 -1
  273. package/dist/typeshed-fallback/stubs/pyasn1/pyasn1/codec/ber/encoder.pyi +1 -2
  274. package/dist/typeshed-fallback/stubs/python-xlib/METADATA.toml +0 -1
  275. package/dist/typeshed-fallback/stubs/python-xlib/Xlib/_typing.pyi +0 -1
  276. package/dist/typeshed-fallback/stubs/python-xlib/Xlib/ext/composite.pyi +2 -1
  277. package/dist/typeshed-fallback/stubs/python-xlib/Xlib/ext/dpms.pyi +1 -1
  278. package/dist/typeshed-fallback/stubs/python-xlib/Xlib/ext/ge.pyi +1 -1
  279. package/dist/typeshed-fallback/stubs/python-xlib/Xlib/ext/nvcontrol.pyi +1 -1
  280. package/dist/typeshed-fallback/stubs/python-xlib/Xlib/ext/record.pyi +1 -1
  281. package/dist/typeshed-fallback/stubs/python-xlib/Xlib/ext/res.pyi +1 -1
  282. package/dist/typeshed-fallback/stubs/python-xlib/Xlib/ext/security.pyi +1 -1
  283. package/dist/typeshed-fallback/stubs/python-xlib/Xlib/ext/xfixes.pyi +1 -1
  284. package/dist/typeshed-fallback/stubs/python-xlib/Xlib/ext/xinerama.pyi +1 -1
  285. package/dist/typeshed-fallback/stubs/python-xlib/Xlib/ext/xinput.pyi +1 -2
  286. package/dist/typeshed-fallback/stubs/python-xlib/Xlib/ext/xtest.pyi +1 -1
  287. package/dist/typeshed-fallback/stubs/python-xlib/Xlib/protocol/rq.pyi +2 -2
  288. package/dist/typeshed-fallback/stubs/python-xlib/Xlib/support/unix_connect.pyi +1 -2
  289. package/dist/typeshed-fallback/stubs/python-xlib/Xlib/support/vms_connect.pyi +1 -2
  290. package/dist/typeshed-fallback/stubs/python-xlib/Xlib/xobject/drawable.pyi +12 -3
  291. package/dist/typeshed-fallback/stubs/pywin32/_win32typing.pyi +39 -36
  292. package/dist/typeshed-fallback/stubs/pywin32/pythoncom.pyi +16 -8
  293. package/dist/typeshed-fallback/stubs/pywin32/pythonwin/win32ui.pyi +11 -8
  294. package/dist/typeshed-fallback/stubs/pywin32/pythonwin/win32uiole.pyi +1 -1
  295. package/dist/typeshed-fallback/stubs/pywin32/win32/lib/pywintypes.pyi +6 -5
  296. package/dist/typeshed-fallback/stubs/pywin32/win32/win32api.pyi +7 -7
  297. package/dist/typeshed-fallback/stubs/pywin32/win32/win32file.pyi +1 -1
  298. package/dist/typeshed-fallback/stubs/pywin32/win32/win32gui.pyi +9 -7
  299. package/dist/typeshed-fallback/stubs/pywin32/win32/win32ras.pyi +1 -1
  300. package/dist/typeshed-fallback/stubs/pywin32/win32/win32service.pyi +3 -1
  301. package/dist/typeshed-fallback/stubs/pywin32/win32com/server/util.pyi +3 -2
  302. package/dist/typeshed-fallback/stubs/pywin32/win32com/universal.pyi +9 -1
  303. package/dist/typeshed-fallback/stubs/pywin32/win32comext/mapi/mapi.pyi +1 -1
  304. package/dist/typeshed-fallback/stubs/pywin32/win32comext/shell/shell.pyi +3 -1
  305. package/dist/typeshed-fallback/stubs/requests/requests/__init__.pyi +1 -0
  306. package/dist/typeshed-fallback/stubs/requests/requests/cookies.pyi +24 -22
  307. package/package.json +1 -1
@@ -1,9 +1,16 @@
1
1
  from _typeshed import Incomplete
2
-
3
- from PIL._imaging import _PixelAccessor
2
+ from typing import Protocol
4
3
 
5
4
  ffi: Incomplete
6
5
 
6
+ # Copy of PIL._imaging.PixelAccess.
7
+ # See https://github.com/python/typeshed/issues/11688.
8
+ class _PixelAccessor(Protocol):
9
+ def __setitem__(self, xy: tuple[int, int], color, /) -> None: ...
10
+ def __getitem__(self, xy: tuple[int, int], /): ...
11
+ def putpixel(self, xy: tuple[int, int], color, /) -> None: ...
12
+ def getpixel(self, xy: tuple[int, int], /): ...
13
+
7
14
  class PyAccess(_PixelAccessor):
8
15
  readonly: Incomplete
9
16
  image8: Incomplete
@@ -11,9 +18,9 @@ class PyAccess(_PixelAccessor):
11
18
  image: Incomplete
12
19
  def __init__(self, img, readonly: bool = False) -> None: ...
13
20
  def __setitem__(self, xy: tuple[int, int], color) -> None: ...
14
- def __getitem__(self, xy: tuple[int, int]) -> Incomplete: ...
21
+ def __getitem__(self, xy: tuple[int, int]): ...
15
22
  def putpixel(self, xy: tuple[int, int], color) -> None: ...
16
- def getpixel(self, xy: tuple[int, int]) -> Incomplete: ...
23
+ def getpixel(self, xy: tuple[int, int]): ...
17
24
  def check_xy(self, xy: tuple[int, int]): ...
18
25
 
19
26
  class _PyAccess32_2(PyAccess):
@@ -17,10 +17,10 @@ class _PixelAccessor(Protocol): # noqa: Y046
17
17
  #
18
18
  # This protocol describes that interface.
19
19
  # TODO: should the color args and getter return types be _Color?
20
- def __setitem__(self, xy: tuple[int, int], color: Incomplete, /) -> None: ...
21
- def __getitem__(self, xy: tuple[int, int], /) -> Incomplete: ...
22
- def putpixel(self, xy: tuple[int, int], color: Incomplete, /) -> None: ...
23
- def getpixel(self, xy: tuple[int, int], /) -> Incomplete: ...
20
+ def __setitem__(self, xy: tuple[int, int], color, /) -> None: ...
21
+ def __getitem__(self, xy: tuple[int, int], /): ...
22
+ def putpixel(self, xy: tuple[int, int], color, /) -> None: ...
23
+ def getpixel(self, xy: tuple[int, int], /): ...
24
24
 
25
25
  class _Path:
26
26
  def __getattr__(self, item: str) -> Incomplete: ...
@@ -1,3 +1,3 @@
1
1
  version = "0.9.*"
2
2
  upstream_repository = "https://github.com/asweigart/pyautogui"
3
- requires = ["types-Pillow", "types-PyScreeze"]
3
+ requires = ["types-PyScreeze"]
@@ -1,6 +1,6 @@
1
1
  version = "0.1.30"
2
2
  upstream_repository = "https://github.com/asweigart/pyscreeze"
3
- requires = ["types-Pillow"]
3
+ requires = ["Pillow>=10.3.0"]
4
4
 
5
5
  [tool.stubtest]
6
6
  # Linux has extra constants, win32 has different definitions
@@ -256,4 +256,4 @@ def TemporaryDirectory(
256
256
  ) -> AiofilesContextManagerTempDir[None, None, AsyncTemporaryDirectory]: ...
257
257
 
258
258
  class AiofilesContextManagerTempDir(AiofilesContextManager[_T_co, _T_contra, _V_co]):
259
- async def __aenter__(self) -> Incomplete: ...
259
+ async def __aenter__(self) -> str: ... # type: ignore[override]
@@ -20,8 +20,8 @@ class AsyncSpooledTemporaryFile(AsyncBase[_T]):
20
20
  async def flush(self) -> None: ...
21
21
  async def isatty(self) -> bool: ...
22
22
  # All must return `AnyStr`:
23
- async def read(self, n: int = ..., /) -> Incomplete: ...
24
- async def readline(self, limit: int | None = ..., /) -> Incomplete: ...
23
+ async def read(self, n: int = ..., /): ...
24
+ async def readline(self, limit: int | None = ..., /): ...
25
25
  async def readlines(self, hint: int = ..., /) -> list[Incomplete]: ...
26
26
  # ---
27
27
  async def seek(self, offset: int, whence: int = ...) -> int: ...
@@ -38,13 +38,13 @@ class AsyncSpooledTemporaryFile(AsyncBase[_T]):
38
38
  @property
39
39
  def newlines(self) -> str: ...
40
40
  # Both should work with `AnyStr`, like in `tempfile`:
41
- async def write(self, s: Incomplete) -> int: ...
41
+ async def write(self, s) -> int: ...
42
42
  async def writelines(self, iterable: Iterable[Incomplete]) -> None: ...
43
43
 
44
44
  class AsyncTemporaryDirectory:
45
45
  async def cleanup(self) -> None: ...
46
46
  @property
47
- def name(self) -> Incomplete: ... # should be `AnyStr`
47
+ def name(self): ... # should be `AnyStr`
48
48
  def __init__(
49
49
  self, file: TemporaryDirectory[Incomplete], loop: AbstractEventLoop | None, executor: Incomplete | None
50
50
  ) -> None: ...
@@ -41,7 +41,7 @@ class NoViableAltException(RecognitionException):
41
41
  offendingToken: Incomplete
42
42
  def __init__(
43
43
  self,
44
- recognizer: Incomplete,
44
+ recognizer,
45
45
  input: Incomplete | None = None,
46
46
  startToken: Incomplete | None = None,
47
47
  offendingToken: Incomplete | None = None,
@@ -1,4 +1,3 @@
1
- from _typeshed import Incomplete
2
1
  from collections.abc import Callable, Container, Iterable, Iterator
3
2
  from re import Pattern
4
3
  from typing import Final, Protocol
@@ -25,7 +24,7 @@ class NoCssSanitizerWarning(UserWarning): ...
25
24
 
26
25
  # A html5lib Filter class
27
26
  class _Filter(Protocol):
28
- def __call__(self, *, source: BleachSanitizerFilter) -> Incomplete: ...
27
+ def __call__(self, *, source: BleachSanitizerFilter): ...
29
28
 
30
29
  _AttributeFilter: TypeAlias = Callable[[str, str, str], bool]
31
30
  _AttributeDict: TypeAlias = dict[str, list[str] | _AttributeFilter] | dict[str, list[str]] | dict[str, _AttributeFilter]
@@ -1,9 +1,8 @@
1
- from _typeshed import Incomplete
2
1
  from collections.abc import Callable
3
2
  from typing import Any
4
3
 
5
4
  def pdb_on_signal(signalnum: int | None = None) -> None: ...
6
5
  def pdb_on_exception(limit: int = 100) -> None: ...
7
6
  def wrap_trace(
8
- obj: Incomplete, hook: Callable[..., Any] = ..., which: str | None = None, events: str | None = None, label: str | None = None
9
- ) -> Incomplete: ...
7
+ obj, hook: Callable[..., Any] = ..., which: str | None = None, events: str | None = None, label: str | None = None
8
+ ): ...
@@ -1,12 +1,11 @@
1
- from binascii import Incomplete
2
1
  from typing_extensions import TypeAlias
3
2
 
4
3
  class BasePriorityQueue:
5
4
  def __init__(self, **kw) -> None: ...
6
5
  def add(self, task, priority: int | None = None) -> None: ...
7
6
  def remove(self, task) -> None: ...
8
- def peek(self, default=...) -> Incomplete: ...
9
- def pop(self, default=...) -> Incomplete: ...
7
+ def peek(self, default=...): ...
8
+ def pop(self, default=...): ...
10
9
  def __len__(self) -> int: ...
11
10
 
12
11
  class HeapPriorityQueue(BasePriorityQueue): ...
@@ -1,6 +1,2 @@
1
- version = "4.25.*"
1
+ version = "4.28.*"
2
2
  upstream_repository = "https://github.com/braintree/braintree_python"
3
- partial_stub = true
4
-
5
- [tool.stubtest]
6
- ignore_missing_stub = true
@@ -1,9 +1,8 @@
1
- from typing import Any
1
+ from _typeshed import Incomplete
2
2
 
3
- from braintree.configuration import Configuration as Configuration
4
- from braintree.resource import Resource as Resource
3
+ from braintree.resource import Resource
5
4
 
6
5
  class AccountUpdaterDailyReport(Resource):
7
- report_url: Any
8
- report_date: Any
6
+ report_url: Incomplete
7
+ report_date: Incomplete
9
8
  def __init__(self, gateway, attributes) -> None: ...
@@ -1,5 +1,4 @@
1
- from braintree.resource import Resource as Resource
2
- from braintree.util.datetime_parser import parse_datetime as parse_datetime
1
+ from braintree.resource import Resource
3
2
 
4
3
  class AchMandate(Resource):
5
4
  def __init__(self, gateway, attributes) -> None: ...
@@ -1,5 +1,4 @@
1
- from braintree.configuration import Configuration as Configuration
2
- from braintree.modification import Modification as Modification
1
+ from braintree.modification import Modification
3
2
 
4
3
  class AddOn(Modification):
5
4
  @staticmethod
@@ -1,10 +1,7 @@
1
- from typing import Any
2
-
3
- from braintree.add_on import AddOn as AddOn
4
- from braintree.resource_collection import ResourceCollection as ResourceCollection
1
+ from _typeshed import Incomplete
5
2
 
6
3
  class AddOnGateway:
7
- gateway: Any
8
- config: Any
4
+ gateway: Incomplete
5
+ config: Incomplete
9
6
  def __init__(self, gateway) -> None: ...
10
7
  def all(self): ...
@@ -1,18 +1,17 @@
1
1
  from _typeshed import Incomplete
2
+ from typing import Final
2
3
 
3
- from braintree.configuration import Configuration as Configuration
4
- from braintree.error_result import ErrorResult as ErrorResult
5
- from braintree.resource import Resource as Resource
6
- from braintree.successful_result import SuccessfulResult as SuccessfulResult
4
+ from braintree.resource import Resource
7
5
 
8
6
  class Address(Resource):
9
7
  class ShippingMethod:
10
- SameDay: str
11
- NextDay: str
12
- Priority: str
13
- Ground: str
14
- Electronic: str
15
- ShipToStore: str
8
+ SameDay: Final = "same_day"
9
+ NextDay: Final = "next_day"
10
+ Priority: Final = "priority"
11
+ Ground: Final = "ground"
12
+ Electronic: Final = "electronic"
13
+ ShipToStore: Final = "ship_to_store"
14
+ PickupInStore: Final = "pickup_in_store"
16
15
 
17
16
  @staticmethod
18
17
  def create(params: Incomplete | None = None): ...
@@ -1,15 +1,8 @@
1
1
  from _typeshed import Incomplete
2
- from typing import Any
3
-
4
- from braintree.address import Address as Address
5
- from braintree.error_result import ErrorResult as ErrorResult
6
- from braintree.exceptions.not_found_error import NotFoundError as NotFoundError
7
- from braintree.resource import Resource as Resource
8
- from braintree.successful_result import SuccessfulResult as SuccessfulResult
9
2
 
10
3
  class AddressGateway:
11
- gateway: Any
12
- config: Any
4
+ gateway: Incomplete
5
+ config: Incomplete
13
6
  def __init__(self, gateway) -> None: ...
14
7
  def create(self, params: Incomplete | None = None): ...
15
8
  def delete(self, customer_id, address_id): ...
@@ -1,9 +1,8 @@
1
- from typing import Any
2
-
3
- from braintree.resource import Resource as Resource
1
+ from braintree.resource import Resource
2
+ from braintree.subscription import Subscription
4
3
 
5
4
  class AmexExpressCheckoutCard(Resource):
6
- subscriptions: Any
5
+ subscriptions: list[Subscription]
7
6
  def __init__(self, gateway, attributes) -> None: ...
8
7
  @property
9
8
  def expiration_date(self): ...
@@ -1,10 +1,11 @@
1
- from typing import Any
1
+ from _typeshed import Incomplete
2
2
 
3
- from braintree.resource import Resource as Resource
3
+ from braintree.resource import Resource
4
+ from braintree.subscription import Subscription
4
5
 
5
6
  class AndroidPayCard(Resource):
6
- is_expired: Any
7
- subscriptions: Any
7
+ is_expired: Incomplete
8
+ subscriptions: list[Subscription]
8
9
  def __init__(self, gateway, attributes) -> None: ...
9
10
  @property
10
11
  def expiration_date(self): ...
@@ -12,3 +13,9 @@ class AndroidPayCard(Resource):
12
13
  def last_4(self): ...
13
14
  @property
14
15
  def card_type(self): ...
16
+ @staticmethod
17
+ def signature(): ...
18
+ @staticmethod
19
+ def card_signature(): ...
20
+ @staticmethod
21
+ def network_token_signature(): ...
@@ -1,15 +1,19 @@
1
- from typing import Any
1
+ from _typeshed import Incomplete
2
+ from typing import Final
2
3
 
3
- from braintree.resource import Resource as Resource
4
+ from braintree.resource import Resource
5
+ from braintree.subscription import Subscription
4
6
 
5
7
  class ApplePayCard(Resource):
6
8
  class CardType:
7
- AmEx: str
8
- MasterCard: str
9
- Visa: str
9
+ AmEx: Final = "Apple Pay - American Express"
10
+ MasterCard: Final = "Apple Pay - MasterCard"
11
+ Visa: Final = "Apple Pay - Visa"
10
12
 
11
- is_expired: Any
12
- subscriptions: Any
13
+ is_expired: Incomplete
14
+ subscriptions: list[Subscription]
13
15
  def __init__(self, gateway, attributes) -> None: ...
14
16
  @property
15
17
  def expiration_date(self): ...
18
+ @staticmethod
19
+ def signature(): ...
@@ -1,13 +1,8 @@
1
- from typing import Any
2
-
3
- from braintree.apple_pay_options import ApplePayOptions as ApplePayOptions
4
- from braintree.error_result import ErrorResult as ErrorResult
5
- from braintree.exceptions.unexpected_error import UnexpectedError as UnexpectedError
6
- from braintree.successful_result import SuccessfulResult as SuccessfulResult
1
+ from _typeshed import Incomplete
7
2
 
8
3
  class ApplePayGateway:
9
- gateway: Any
10
- config: Any
4
+ gateway: Incomplete
5
+ config: Incomplete
11
6
  def __init__(self, gateway) -> None: ...
12
7
  def register_domain(self, domain): ...
13
8
  def unregister_domain(self, domain): ...
@@ -1,3 +1,3 @@
1
- from braintree.attribute_getter import AttributeGetter as AttributeGetter
1
+ from braintree.attribute_getter import AttributeGetter
2
2
 
3
3
  class ApplePayOptions(AttributeGetter): ...
@@ -1,4 +1,7 @@
1
- from _typeshed import Incomplete
1
+ from typing import Any
2
2
 
3
3
  class AttributeGetter:
4
- def __init__(self, attributes: Incomplete | None = None) -> None: ...
4
+ def __init__(self, attributes: dict[str, Any] | None = None) -> None: ...
5
+ # This doesn't exist at runtime, but subclasses should define their own fields populated by attributes in __init__
6
+ # Until that's done, keep __getattribute__ to fill in the gaps
7
+ def __getattribute__(self, name: str) -> Any: ...
@@ -1,7 +1,7 @@
1
- from typing import Any
1
+ from decimal import Decimal
2
2
 
3
- from braintree.attribute_getter import AttributeGetter as AttributeGetter
3
+ from braintree.attribute_getter import AttributeGetter
4
4
 
5
5
  class AuthorizationAdjustment(AttributeGetter):
6
- amount: Any
6
+ amount: Decimal | None
7
7
  def __init__(self, attributes) -> None: ...
@@ -1,3 +1,3 @@
1
- from braintree.attribute_getter import AttributeGetter as AttributeGetter
1
+ from braintree.attribute_getter import AttributeGetter
2
2
 
3
3
  class BinData(AttributeGetter): ...
@@ -1,61 +1,64 @@
1
1
  from _typeshed import Incomplete
2
- from typing import Any
3
2
 
4
- from braintree.add_on_gateway import AddOnGateway as AddOnGateway
5
- from braintree.address_gateway import AddressGateway as AddressGateway
6
- from braintree.apple_pay_gateway import ApplePayGateway as ApplePayGateway
7
- from braintree.client_token_gateway import ClientTokenGateway as ClientTokenGateway
8
- from braintree.configuration import Configuration as Configuration
9
- from braintree.credit_card_gateway import CreditCardGateway as CreditCardGateway
10
- from braintree.credit_card_verification_gateway import CreditCardVerificationGateway as CreditCardVerificationGateway
11
- from braintree.customer_gateway import CustomerGateway as CustomerGateway
12
- from braintree.discount_gateway import DiscountGateway as DiscountGateway
13
- from braintree.dispute_gateway import DisputeGateway as DisputeGateway
14
- from braintree.document_upload_gateway import DocumentUploadGateway as DocumentUploadGateway
15
- from braintree.merchant_account_gateway import MerchantAccountGateway as MerchantAccountGateway
16
- from braintree.merchant_gateway import MerchantGateway as MerchantGateway
17
- from braintree.oauth_gateway import OAuthGateway as OAuthGateway
18
- from braintree.payment_method_gateway import PaymentMethodGateway as PaymentMethodGateway
19
- from braintree.payment_method_nonce_gateway import PaymentMethodNonceGateway as PaymentMethodNonceGateway
20
- from braintree.paypal_account_gateway import PayPalAccountGateway as PayPalAccountGateway
21
- from braintree.plan_gateway import PlanGateway as PlanGateway
22
- from braintree.settlement_batch_summary_gateway import SettlementBatchSummaryGateway as SettlementBatchSummaryGateway
23
- from braintree.subscription_gateway import SubscriptionGateway as SubscriptionGateway
24
- from braintree.testing_gateway import TestingGateway as TestingGateway
25
- from braintree.transaction_gateway import TransactionGateway as TransactionGateway
26
- from braintree.transaction_line_item_gateway import TransactionLineItemGateway as TransactionLineItemGateway
27
- from braintree.us_bank_account_gateway import UsBankAccountGateway as UsBankAccountGateway
28
- from braintree.us_bank_account_verification_gateway import UsBankAccountVerificationGateway as UsBankAccountVerificationGateway
29
- from braintree.webhook_notification_gateway import WebhookNotificationGateway as WebhookNotificationGateway
30
- from braintree.webhook_testing_gateway import WebhookTestingGateway as WebhookTestingGateway
3
+ from braintree.add_on_gateway import AddOnGateway
4
+ from braintree.address_gateway import AddressGateway
5
+ from braintree.apple_pay_gateway import ApplePayGateway
6
+ from braintree.client_token_gateway import ClientTokenGateway
7
+ from braintree.configuration import Configuration
8
+ from braintree.credit_card_gateway import CreditCardGateway
9
+ from braintree.credit_card_verification_gateway import CreditCardVerificationGateway
10
+ from braintree.customer_gateway import CustomerGateway
11
+ from braintree.discount_gateway import DiscountGateway
12
+ from braintree.dispute_gateway import DisputeGateway
13
+ from braintree.document_upload_gateway import DocumentUploadGateway
14
+ from braintree.exchange_rate_quote_gateway import ExchangeRateQuoteGateway
15
+ from braintree.merchant_account_gateway import MerchantAccountGateway
16
+ from braintree.merchant_gateway import MerchantGateway
17
+ from braintree.oauth_gateway import OAuthGateway
18
+ from braintree.payment_method_gateway import PaymentMethodGateway
19
+ from braintree.payment_method_nonce_gateway import PaymentMethodNonceGateway
20
+ from braintree.paypal_account_gateway import PayPalAccountGateway
21
+ from braintree.plan_gateway import PlanGateway
22
+ from braintree.sepa_direct_debit_account_gateway import SepaDirectDebitAccountGateway
23
+ from braintree.settlement_batch_summary_gateway import SettlementBatchSummaryGateway
24
+ from braintree.subscription_gateway import SubscriptionGateway
25
+ from braintree.testing_gateway import TestingGateway
26
+ from braintree.transaction_gateway import TransactionGateway
27
+ from braintree.transaction_line_item_gateway import TransactionLineItemGateway
28
+ from braintree.us_bank_account_gateway import UsBankAccountGateway
29
+ from braintree.us_bank_account_verification_gateway import UsBankAccountVerificationGateway
30
+ from braintree.webhook_notification_gateway import WebhookNotificationGateway
31
+ from braintree.webhook_testing_gateway import WebhookTestingGateway
31
32
 
32
33
  class BraintreeGateway:
33
- config: Any
34
- add_on: Any
35
- address: Any
36
- apple_pay: Any
37
- client_token: Any
38
- credit_card: Any
39
- customer: Any
40
- discount: Any
41
- dispute: Any
42
- document_upload: Any
43
- graphql_client: Any
44
- merchant: Any
45
- merchant_account: Any
46
- oauth: Any
47
- payment_method: Any
48
- payment_method_nonce: Any
49
- paypal_account: Any
50
- plan: Any
51
- settlement_batch_summary: Any
52
- subscription: Any
53
- testing: Any
54
- transaction: Any
55
- transaction_line_item: Any
56
- us_bank_account: Any
57
- us_bank_account_verification: Any
58
- verification: Any
59
- webhook_notification: Any
60
- webhook_testing: Any
34
+ config: Configuration
35
+ add_on: AddOnGateway
36
+ address: AddressGateway
37
+ apple_pay: ApplePayGateway
38
+ client_token: ClientTokenGateway
39
+ credit_card: CreditCardGateway
40
+ customer: CustomerGateway
41
+ discount: DiscountGateway
42
+ dispute: DisputeGateway
43
+ document_upload: DocumentUploadGateway
44
+ exchange_rate_quote: ExchangeRateQuoteGateway
45
+ graphql_client: Incomplete
46
+ merchant: MerchantGateway
47
+ merchant_account: MerchantAccountGateway
48
+ oauth: OAuthGateway
49
+ payment_method: PaymentMethodGateway
50
+ payment_method_nonce: PaymentMethodNonceGateway
51
+ paypal_account: PayPalAccountGateway
52
+ plan: PlanGateway
53
+ sepa_direct_debit_account: SepaDirectDebitAccountGateway
54
+ settlement_batch_summary: SettlementBatchSummaryGateway
55
+ subscription: SubscriptionGateway
56
+ testing: TestingGateway
57
+ transaction: TransactionGateway
58
+ transaction_line_item: TransactionLineItemGateway
59
+ us_bank_account: UsBankAccountGateway
60
+ us_bank_account_verification: UsBankAccountVerificationGateway
61
+ verification: CreditCardVerificationGateway
62
+ webhook_notification: WebhookNotificationGateway
63
+ webhook_testing: WebhookTestingGateway
61
64
  def __init__(self, config: Incomplete | None = None, **kwargs) -> None: ...
@@ -1,10 +1,5 @@
1
1
  from _typeshed import Incomplete
2
2
 
3
- from braintree import exceptions as exceptions
4
- from braintree.configuration import Configuration as Configuration
5
- from braintree.signature_service import SignatureService as SignatureService
6
- from braintree.util.crypto import Crypto as Crypto
7
-
8
3
  class ClientToken:
9
4
  @staticmethod
10
5
  def generate(params: Incomplete | None = None, gateway: Incomplete | None = None): ...
@@ -1,12 +1,7 @@
1
1
  from _typeshed import Incomplete
2
- from typing import Any
3
-
4
- from braintree import exceptions as exceptions
5
- from braintree.client_token import ClientToken as ClientToken
6
- from braintree.resource import Resource as Resource
7
2
 
8
3
  class ClientTokenGateway:
9
- gateway: Any
10
- config: Any
4
+ gateway: Incomplete
5
+ config: Incomplete
11
6
  def __init__(self, gateway) -> None: ...
12
7
  def generate(self, params: Incomplete | None = None): ...
@@ -1,10 +1,4 @@
1
1
  from _typeshed import Incomplete
2
- from typing import Any
3
-
4
- from braintree.credentials_parser import CredentialsParser as CredentialsParser
5
- from braintree.environment import Environment as Environment
6
- from braintree.exceptions.configuration_error import ConfigurationError as ConfigurationError
7
- from braintree.util.graphql_client import GraphQLClient as GraphQLClient
8
2
 
9
3
  class Configuration:
10
4
  @staticmethod
@@ -19,15 +13,15 @@ class Configuration:
19
13
  def api_version(): ...
20
14
  @staticmethod
21
15
  def graphql_api_version(): ...
22
- environment: Any
23
- merchant_id: Any
24
- public_key: Any
25
- private_key: Any
26
- client_id: Any
27
- client_secret: Any
28
- access_token: Any
29
- timeout: Any
30
- wrap_http_exceptions: Any
16
+ environment: Incomplete
17
+ merchant_id: Incomplete
18
+ public_key: Incomplete
19
+ private_key: Incomplete
20
+ client_id: Incomplete
21
+ client_secret: Incomplete
22
+ access_token: Incomplete
23
+ timeout: Incomplete
24
+ wrap_http_exceptions: Incomplete
31
25
  def __init__(
32
26
  self,
33
27
  environment: Incomplete | None = None,
@@ -1,4 +1,4 @@
1
- from braintree.resource import Resource as Resource
1
+ from braintree.resource import Resource
2
2
 
3
3
  class ConnectedMerchantPayPalStatusChanged(Resource):
4
4
  def __init__(self, gateway, attributes) -> None: ...
@@ -1,4 +1,4 @@
1
- from braintree.resource import Resource as Resource
1
+ from braintree.resource import Resource
2
2
 
3
3
  class ConnectedMerchantStatusTransitioned(Resource):
4
4
  def __init__(self, gateway, attributes) -> None: ...
@@ -1,19 +1,15 @@
1
1
  from _typeshed import Incomplete
2
- from typing import Any
3
-
4
- from braintree.environment import Environment as Environment
5
- from braintree.exceptions.configuration_error import ConfigurationError as ConfigurationError
6
2
 
7
3
  class CredentialsParser:
8
- client_id: Any
9
- client_secret: Any
10
- access_token: Any
4
+ client_id: Incomplete
5
+ client_secret: Incomplete
6
+ access_token: Incomplete
11
7
  def __init__(
12
8
  self, client_id: Incomplete | None = None, client_secret: Incomplete | None = None, access_token: Incomplete | None = None
13
9
  ) -> None: ...
14
- environment: Any
10
+ environment: Incomplete
15
11
  def parse_client_credentials(self) -> None: ...
16
- merchant_id: Any
12
+ merchant_id: Incomplete
17
13
  def parse_access_token(self) -> None: ...
18
14
  def get_environment(self, credential): ...
19
15
  def get_merchant_id(self, credential): ...