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,73 +1,72 @@
1
- from typing import Any
2
-
3
- from braintree.credit_card import CreditCard as CreditCard
4
- from braintree.search import Search as Search
5
- from braintree.transaction import Transaction as Transaction
6
- from braintree.util import Constants as Constants
1
+ from braintree.search import Search
7
2
 
8
3
  class TransactionSearch:
9
- billing_first_name: Any
10
- billing_company: Any
11
- billing_country_name: Any
12
- billing_extended_address: Any
13
- billing_last_name: Any
14
- billing_locality: Any
15
- billing_postal_code: Any
16
- billing_region: Any
17
- billing_street_address: Any
18
- credit_card_cardholder_name: Any
19
- currency: Any
20
- customer_company: Any
21
- customer_email: Any
22
- customer_fax: Any
23
- customer_first_name: Any
24
- customer_id: Any
25
- customer_last_name: Any
26
- customer_phone: Any
27
- customer_website: Any
28
- id: Any
29
- order_id: Any
30
- payment_method_token: Any
31
- processor_authorization_code: Any
32
- europe_bank_account_iban: Any
33
- settlement_batch_id: Any
34
- shipping_company: Any
35
- shipping_country_name: Any
36
- shipping_extended_address: Any
37
- shipping_first_name: Any
38
- shipping_last_name: Any
39
- shipping_locality: Any
40
- shipping_postal_code: Any
41
- shipping_region: Any
42
- shipping_street_address: Any
43
- paypal_payer_email: Any
44
- paypal_payment_id: Any
45
- paypal_authorization_id: Any
46
- credit_card_unique_identifier: Any
47
- store_id: Any
48
- credit_card_expiration_date: Any
49
- credit_card_number: Any
50
- user: Any
51
- ids: Any
52
- merchant_account_id: Any
53
- payment_instrument_type: Any
54
- store_ids: Any
55
- created_using: Any
56
- credit_card_card_type: Any
57
- credit_card_customer_location: Any
58
- source: Any
59
- status: Any
60
- type: Any
61
- refund: Any
62
- amount: Any
63
- authorization_expired_at: Any
64
- authorized_at: Any
65
- created_at: Any
66
- disbursement_date: Any
67
- dispute_date: Any
68
- failed_at: Any
69
- gateway_rejected_at: Any
70
- processor_declined_at: Any
71
- settled_at: Any
72
- submitted_for_settlement_at: Any
73
- voided_at: Any
4
+ billing_company: Search.TextNodeBuilder
5
+ billing_country_name: Search.TextNodeBuilder
6
+ billing_extended_address: Search.TextNodeBuilder
7
+ billing_first_name: Search.TextNodeBuilder
8
+ billing_last_name: Search.TextNodeBuilder
9
+ billing_locality: Search.TextNodeBuilder
10
+ billing_postal_code: Search.TextNodeBuilder
11
+ billing_region: Search.TextNodeBuilder
12
+ billing_street_address: Search.TextNodeBuilder
13
+ credit_card_cardholder_name: Search.TextNodeBuilder
14
+ currency: Search.TextNodeBuilder
15
+ customer_company: Search.TextNodeBuilder
16
+ customer_email: Search.TextNodeBuilder
17
+ customer_fax: Search.TextNodeBuilder
18
+ customer_first_name: Search.TextNodeBuilder
19
+ customer_id: Search.TextNodeBuilder
20
+ customer_last_name: Search.TextNodeBuilder
21
+ customer_phone: Search.TextNodeBuilder
22
+ customer_website: Search.TextNodeBuilder
23
+ id: Search.TextNodeBuilder
24
+ order_id: Search.TextNodeBuilder
25
+ payment_method_token: Search.TextNodeBuilder
26
+ processor_authorization_code: Search.TextNodeBuilder
27
+ europe_bank_account_iban: Search.TextNodeBuilder
28
+ settlement_batch_id: Search.TextNodeBuilder
29
+ shipping_company: Search.TextNodeBuilder
30
+ shipping_country_name: Search.TextNodeBuilder
31
+ shipping_extended_address: Search.TextNodeBuilder
32
+ shipping_first_name: Search.TextNodeBuilder
33
+ shipping_last_name: Search.TextNodeBuilder
34
+ shipping_locality: Search.TextNodeBuilder
35
+ shipping_postal_code: Search.TextNodeBuilder
36
+ shipping_region: Search.TextNodeBuilder
37
+ shipping_street_address: Search.TextNodeBuilder
38
+ paypal_payer_email: Search.TextNodeBuilder
39
+ paypal_payment_id: Search.TextNodeBuilder
40
+ paypal_authorization_id: Search.TextNodeBuilder
41
+ sepa_debit_paypal_v2_order_id: Search.TextNodeBuilder
42
+ credit_card_unique_identifier: Search.TextNodeBuilder
43
+ store_id: Search.TextNodeBuilder
44
+ credit_card_expiration_date: Search.EqualityNodeBuilder
45
+ credit_card_number: Search.PartialMatchNodeBuilder
46
+ user: Search.MultipleValueNodeBuilder
47
+ ids: Search.MultipleValueNodeBuilder
48
+ merchant_account_id: Search.MultipleValueNodeBuilder
49
+ payment_instrument_type: Search.MultipleValueNodeBuilder
50
+ store_ids: Search.MultipleValueNodeBuilder
51
+ created_using: Search.MultipleValueNodeBuilder
52
+ credit_card_card_type: Search.MultipleValueNodeBuilder
53
+ credit_card_customer_location: Search.MultipleValueNodeBuilder
54
+ debit_network: Search.MultipleValueNodeBuilder
55
+ source: Search.MultipleValueNodeBuilder
56
+ status: Search.MultipleValueNodeBuilder
57
+ type: Search.MultipleValueNodeBuilder
58
+ refund: Search.KeyValueNodeBuilder
59
+ amount: Search.RangeNodeBuilder
60
+ authorization_expired_at: Search.RangeNodeBuilder
61
+ authorized_at: Search.RangeNodeBuilder
62
+ created_at: Search.RangeNodeBuilder
63
+ disbursement_date: Search.RangeNodeBuilder
64
+ dispute_date: Search.RangeNodeBuilder
65
+ failed_at: Search.RangeNodeBuilder
66
+ gateway_rejected_at: Search.RangeNodeBuilder
67
+ processor_declined_at: Search.RangeNodeBuilder
68
+ settled_at: Search.RangeNodeBuilder
69
+ submitted_for_settlement_at: Search.RangeNodeBuilder
70
+ voided_at: Search.RangeNodeBuilder
71
+ ach_return_responses_created_at: Search.RangeNodeBuilder
72
+ reason_code: Search.MultipleValueNodeBuilder
@@ -1,4 +1,4 @@
1
- from braintree.resource import Resource as Resource
1
+ from braintree.resource import Resource
2
2
 
3
3
  class UnknownPaymentMethod(Resource):
4
4
  def image_url(self): ...
@@ -1,9 +1,6 @@
1
- from typing import Any
2
-
3
- from braintree.ach_mandate import AchMandate as AchMandate
4
- from braintree.configuration import Configuration as Configuration
5
- from braintree.resource import Resource as Resource
6
- from braintree.us_bank_account_verification import UsBankAccountVerification as UsBankAccountVerification
1
+ from braintree.ach_mandate import AchMandate
2
+ from braintree.resource import Resource
3
+ from braintree.us_bank_account_verification import UsBankAccountVerification
7
4
 
8
5
  class UsBankAccount(Resource):
9
6
  @staticmethod
@@ -12,6 +9,6 @@ class UsBankAccount(Resource):
12
9
  def sale(token, transactionRequest): ...
13
10
  @staticmethod
14
11
  def signature(): ...
15
- ach_mandate: Any
16
- verifications: Any
12
+ ach_mandate: AchMandate | None
13
+ verifications: list[UsBankAccountVerification]
17
14
  def __init__(self, gateway, attributes) -> None: ...
@@ -1,10 +1,7 @@
1
- from typing import Any
2
-
3
- from braintree.exceptions.not_found_error import NotFoundError as NotFoundError
4
- from braintree.us_bank_account import UsBankAccount as UsBankAccount
1
+ from _typeshed import Incomplete
5
2
 
6
3
  class UsBankAccountGateway:
7
- gateway: Any
8
- config: Any
4
+ gateway: Incomplete
5
+ config: Incomplete
9
6
  def __init__(self, gateway) -> None: ...
10
7
  def find(self, us_bank_account_token): ...
@@ -1,24 +1,27 @@
1
- from typing import Any
1
+ from typing import Final
2
2
 
3
- from braintree.attribute_getter import AttributeGetter as AttributeGetter
4
- from braintree.configuration import Configuration as Configuration
3
+ from braintree.attribute_getter import AttributeGetter
4
+ from braintree.us_bank_account import UsBankAccount
5
5
 
6
6
  class UsBankAccountVerification(AttributeGetter):
7
7
  class Status:
8
- Failed: str
9
- GatewayRejected: str
10
- ProcessorDeclined: str
11
- Unrecognized: str
12
- Verified: str
13
- Pending: str
8
+ Failed: Final = "failed"
9
+ GatewayRejected: Final = "gateway_rejected"
10
+ ProcessorDeclined: Final = "processor_declined"
11
+ Unrecognized: Final = "unrecognized"
12
+ Verified: Final = "verified"
13
+ Pending: Final = "pending"
14
14
 
15
15
  class VerificationMethod:
16
- NetworkCheck: str
17
- IndependentCheck: str
18
- TokenizedCheck: str
19
- MicroTransfers: str
16
+ NetworkCheck: Final = "network_check"
17
+ IndependentCheck: Final = "independent_check"
18
+ TokenizedCheck: Final = "tokenized_check"
19
+ MicroTransfers: Final = "micro_transfers"
20
20
 
21
- us_bank_account: Any
21
+ class VerificationAddOns:
22
+ CustomerVerification: Final = "customer_verification"
23
+
24
+ us_bank_account: UsBankAccount | None
22
25
  def __init__(self, gateway, attributes) -> None: ...
23
26
  @staticmethod
24
27
  def confirm_micro_transfer_amounts(verification_id, amounts): ...
@@ -1,15 +1,8 @@
1
- from typing import Any
2
-
3
- from braintree.error_result import ErrorResult as ErrorResult
4
- from braintree.exceptions.not_found_error import NotFoundError as NotFoundError
5
- from braintree.resource_collection import ResourceCollection as ResourceCollection
6
- from braintree.successful_result import SuccessfulResult as SuccessfulResult
7
- from braintree.us_bank_account_verification import UsBankAccountVerification as UsBankAccountVerification
8
- from braintree.us_bank_account_verification_search import UsBankAccountVerificationSearch as UsBankAccountVerificationSearch
1
+ from _typeshed import Incomplete
9
2
 
10
3
  class UsBankAccountVerificationGateway:
11
- gateway: Any
12
- config: Any
4
+ gateway: Incomplete
5
+ config: Incomplete
13
6
  def __init__(self, gateway) -> None: ...
14
7
  def confirm_micro_transfer_amounts(self, verification_id, amounts): ...
15
8
  def find(self, verification_id): ...
@@ -1,20 +1,15 @@
1
- from typing import Any
2
-
3
- from braintree.search import Search as Search
4
- from braintree.us_bank_account import UsBankAccount as UsBankAccount
5
- from braintree.us_bank_account_verification import UsBankAccountVerification as UsBankAccountVerification
6
- from braintree.util import Constants as Constants
1
+ from braintree.search import Search
7
2
 
8
3
  class UsBankAccountVerificationSearch:
9
- account_holder_name: Any
10
- customer_email: Any
11
- customer_id: Any
12
- id: Any
13
- payment_method_token: Any
14
- routing_number: Any
15
- ids: Any
16
- status: Any
17
- verification_method: Any
18
- created_at: Any
19
- account_type: Any
20
- account_number: Any
4
+ account_holder_name: Search.TextNodeBuilder
5
+ customer_email: Search.TextNodeBuilder
6
+ customer_id: Search.TextNodeBuilder
7
+ id: Search.TextNodeBuilder
8
+ payment_method_token: Search.TextNodeBuilder
9
+ routing_number: Search.TextNodeBuilder
10
+ ids: Search.MultipleValueNodeBuilder
11
+ status: Search.MultipleValueNodeBuilder
12
+ verification_method: Search.MultipleValueNodeBuilder
13
+ created_at: Search.RangeNodeBuilder
14
+ account_type: Search.EqualityNodeBuilder
15
+ account_number: Search.EndsWithNodeBuilder
@@ -1,3 +1,4 @@
1
1
  class Constants:
2
2
  @staticmethod
3
3
  def get_all_constant_values_from_class(klass): ...
4
+ def get_all_enum_values(enum_class): ...
@@ -1,10 +1,10 @@
1
- from typing import Any
1
+ from _typeshed import Incomplete
2
2
 
3
3
  integer_types = int
4
4
  text_type = str
5
5
  binary_type = bytes
6
6
 
7
7
  class Generator:
8
- dict: Any
8
+ dict: dict[Incomplete, Incomplete]
9
9
  def __init__(self, dict) -> None: ...
10
10
  def generate(self): ...
@@ -1,19 +1,10 @@
1
1
  from _typeshed import Incomplete
2
- from typing import Any
3
2
 
4
- from braintree.exceptions.authentication_error import AuthenticationError as AuthenticationError
5
- from braintree.exceptions.authorization_error import AuthorizationError as AuthorizationError
6
- from braintree.exceptions.not_found_error import NotFoundError as NotFoundError
7
- from braintree.exceptions.server_error import ServerError as ServerError
8
- from braintree.exceptions.service_unavailable_error import ServiceUnavailableError as ServiceUnavailableError
9
- from braintree.exceptions.too_many_requests_error import TooManyRequestsError as TooManyRequestsError
10
- from braintree.exceptions.unexpected_error import UnexpectedError as UnexpectedError
11
- from braintree.exceptions.upgrade_required_error import UpgradeRequiredError as UpgradeRequiredError
12
- from braintree.util.http import Http as Http
3
+ from braintree.util.http import Http
13
4
 
14
5
  class GraphQLClient(Http):
15
6
  @staticmethod
16
7
  def raise_exception_for_graphql_error(response) -> None: ...
17
- graphql_headers: Any
8
+ graphql_headers: dict[str, str]
18
9
  def __init__(self, config: Incomplete | None = None, environment: Incomplete | None = None) -> None: ...
19
10
  def query(self, definition, variables: Incomplete | None = None, operation_name: Incomplete | None = None): ...
@@ -1,39 +1,18 @@
1
1
  from _typeshed import Incomplete
2
- from typing import Any
3
-
4
- from braintree import version as version
5
- from braintree.environment import Environment as Environment
6
- from braintree.exceptions.authentication_error import AuthenticationError as AuthenticationError
7
- from braintree.exceptions.authorization_error import AuthorizationError as AuthorizationError
8
- from braintree.exceptions.gateway_timeout_error import GatewayTimeoutError as GatewayTimeoutError
9
- from braintree.exceptions.http.connection_error import ConnectionError as ConnectionError
10
- from braintree.exceptions.http.invalid_response_error import InvalidResponseError as InvalidResponseError
11
- from braintree.exceptions.http.timeout_error import (
12
- ConnectTimeoutError as ConnectTimeoutError,
13
- ReadTimeoutError as ReadTimeoutError,
14
- TimeoutError as TimeoutError,
15
- )
16
- from braintree.exceptions.not_found_error import NotFoundError as NotFoundError
17
- from braintree.exceptions.request_timeout_error import RequestTimeoutError as RequestTimeoutError
18
- from braintree.exceptions.server_error import ServerError as ServerError
19
- from braintree.exceptions.service_unavailable_error import ServiceUnavailableError as ServiceUnavailableError
20
- from braintree.exceptions.too_many_requests_error import TooManyRequestsError as TooManyRequestsError
21
- from braintree.exceptions.unexpected_error import UnexpectedError as UnexpectedError
22
- from braintree.exceptions.upgrade_required_error import UpgradeRequiredError as UpgradeRequiredError
23
- from braintree.util.xml_util import XmlUtil as XmlUtil
2
+ from typing import Final
24
3
 
25
4
  class Http:
26
5
  class ContentType:
27
- Xml: str
28
- Multipart: str
29
- Json: str
6
+ Xml: Final = "application/xml"
7
+ Multipart: Final = "multipart/form-data"
8
+ Json: Final = "application/json"
30
9
 
31
10
  @staticmethod
32
11
  def is_error_status(status): ...
33
12
  @staticmethod
34
13
  def raise_exception_from_status(status, message: Incomplete | None = None) -> None: ...
35
- config: Any
36
- environment: Any
14
+ config: Incomplete
15
+ environment: Incomplete
37
16
  def __init__(self, config, environment: Incomplete | None = None) -> None: ...
38
17
  def post(self, path, params: Incomplete | None = None): ...
39
18
  def delete(self, path): ...
@@ -1,10 +1,8 @@
1
- from typing import Any
2
-
3
- from braintree.util.datetime_parser import parse_datetime as parse_datetime
1
+ from xml.dom.minidom import Document
4
2
 
5
3
  binary_type = bytes
6
4
 
7
5
  class Parser:
8
- doc: Any
6
+ doc: Document
9
7
  def __init__(self, xml) -> None: ...
10
8
  def parse(self): ...
@@ -1,6 +1,3 @@
1
- from braintree.util.generator import Generator as Generator
2
- from braintree.util.parser import Parser as Parser
3
-
4
1
  class XmlUtil:
5
2
  @staticmethod
6
3
  def xml_from_dict(dict): ...
@@ -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 ValidationError(AttributeGetter): ...
@@ -1,10 +1,7 @@
1
1
  from _typeshed import Incomplete
2
- from typing import Any
3
-
4
- from braintree.validation_error import ValidationError as ValidationError
5
2
 
6
3
  class ValidationErrorCollection:
7
- data: Any
4
+ data: dict[str, Incomplete]
8
5
  def __init__(self, data: Incomplete | None = None) -> None: ...
9
6
  @property
10
7
  def deep_errors(self): ...
@@ -1,7 +1,6 @@
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 VenmoAccount(Resource):
6
- subscriptions: Any
5
+ subscriptions: list[Subscription]
7
6
  def __init__(self, gateway, attributes) -> None: ...
@@ -0,0 +1,4 @@
1
+ from braintree.resource import Resource
2
+
3
+ class VenmoProfileData(Resource):
4
+ def __init__(self, gateway, attributes) -> None: ...
@@ -1 +1,3 @@
1
- Version: str
1
+ from typing import Final
2
+
3
+ Version: Final[str]
@@ -1,13 +1,12 @@
1
- from typing import Any
2
-
3
- from braintree.address import Address as Address
4
- from braintree.credit_card_verification import CreditCardVerification as CreditCardVerification
5
- from braintree.resource import Resource as Resource
1
+ from braintree.address import Address
2
+ from braintree.credit_card_verification import CreditCardVerification
3
+ from braintree.resource import Resource
4
+ from braintree.subscription import Subscription
6
5
 
7
6
  class VisaCheckoutCard(Resource):
8
- billing_address: Any
9
- subscriptions: Any
10
- verification: Any
7
+ billing_address: Address | None
8
+ subscriptions: list[Subscription]
9
+ verification: CreditCardVerification
11
10
  def __init__(self, gateway, attributes): ...
12
11
  @property
13
12
  def expiration_date(self): ...
@@ -1,84 +1,94 @@
1
- from typing import Any
1
+ from _typeshed import Incomplete
2
+ from typing import Final
2
3
 
3
- from braintree.account_updater_daily_report import AccountUpdaterDailyReport as AccountUpdaterDailyReport
4
- from braintree.configuration import Configuration as Configuration
5
- from braintree.connected_merchant_paypal_status_changed import (
6
- ConnectedMerchantPayPalStatusChanged as ConnectedMerchantPayPalStatusChanged,
7
- )
8
- from braintree.connected_merchant_status_transitioned import (
9
- ConnectedMerchantStatusTransitioned as ConnectedMerchantStatusTransitioned,
10
- )
11
- from braintree.disbursement import Disbursement as Disbursement
12
- from braintree.dispute import Dispute as Dispute
13
- from braintree.error_result import ErrorResult as ErrorResult
14
- from braintree.granted_payment_instrument_update import GrantedPaymentInstrumentUpdate as GrantedPaymentInstrumentUpdate
15
- from braintree.local_payment_completed import LocalPaymentCompleted as LocalPaymentCompleted
16
- from braintree.local_payment_reversed import LocalPaymentReversed as LocalPaymentReversed
17
- from braintree.merchant_account import MerchantAccount as MerchantAccount
18
- from braintree.oauth_access_revocation import OAuthAccessRevocation as OAuthAccessRevocation
19
- from braintree.partner_merchant import PartnerMerchant as PartnerMerchant
20
- from braintree.resource import Resource as Resource
21
- from braintree.revoked_payment_method_metadata import RevokedPaymentMethodMetadata as RevokedPaymentMethodMetadata
22
- from braintree.subscription import Subscription as Subscription
23
- from braintree.transaction import Transaction as Transaction
24
- from braintree.validation_error_collection import ValidationErrorCollection as ValidationErrorCollection
4
+ from braintree.account_updater_daily_report import AccountUpdaterDailyReport
5
+ from braintree.connected_merchant_paypal_status_changed import ConnectedMerchantPayPalStatusChanged
6
+ from braintree.connected_merchant_status_transitioned import ConnectedMerchantStatusTransitioned
7
+ from braintree.disbursement import Disbursement
8
+ from braintree.dispute import Dispute
9
+ from braintree.granted_payment_instrument_update import GrantedPaymentInstrumentUpdate
10
+ from braintree.local_payment_completed import LocalPaymentCompleted
11
+ from braintree.local_payment_expired import LocalPaymentExpired
12
+ from braintree.local_payment_funded import LocalPaymentFunded
13
+ from braintree.local_payment_reversed import LocalPaymentReversed
14
+ from braintree.merchant_account import MerchantAccount
15
+ from braintree.oauth_access_revocation import OAuthAccessRevocation
16
+ from braintree.partner_merchant import PartnerMerchant
17
+ from braintree.payment_method_customer_data_updated_metadata import PaymentMethodCustomerDataUpdatedMetadata
18
+ from braintree.resource import Resource
19
+ from braintree.revoked_payment_method_metadata import RevokedPaymentMethodMetadata
20
+ from braintree.subscription import Subscription
21
+ from braintree.transaction import Transaction
22
+ from braintree.transaction_review import TransactionReview
23
+ from braintree.validation_error_collection import ValidationErrorCollection
25
24
 
26
25
  class WebhookNotification(Resource):
27
26
  class Kind:
28
- AccountUpdaterDailyReport: str
29
- Check: str
30
- ConnectedMerchantPayPalStatusChanged: str
31
- ConnectedMerchantStatusTransitioned: str
32
- Disbursement: str
33
- DisbursementException: str
34
- DisputeAccepted: str
35
- DisputeDisputed: str
36
- DisputeExpired: str
37
- DisputeLost: str
38
- DisputeOpened: str
39
- DisputeWon: str
40
- GrantedPaymentMethodRevoked: str
41
- GrantorUpdatedGrantedPaymentMethod: str
42
- LocalPaymentCompleted: str
43
- LocalPaymentReversed: str
44
- OAuthAccessRevoked: str
45
- PartnerMerchantConnected: str
46
- PartnerMerchantDeclined: str
47
- PartnerMerchantDisconnected: str
48
- PaymentMethodRevokedByCustomer: str
49
- RecipientUpdatedGrantedPaymentMethod: str
50
- SubMerchantAccountApproved: str
51
- SubMerchantAccountDeclined: str
52
- SubscriptionCanceled: str
53
- SubscriptionChargedSuccessfully: str
54
- SubscriptionChargedUnsuccessfully: str
55
- SubscriptionExpired: str
56
- SubscriptionTrialEnded: str
57
- SubscriptionWentActive: str
58
- SubscriptionWentPastDue: str
59
- TransactionDisbursed: str
60
- TransactionSettled: str
61
- TransactionSettlementDeclined: str
27
+ AccountUpdaterDailyReport: Final = "account_updater_daily_report"
28
+ Check: Final = "check"
29
+ ConnectedMerchantPayPalStatusChanged: Final = "connected_merchant_paypal_status_changed"
30
+ ConnectedMerchantStatusTransitioned: Final = "connected_merchant_status_transitioned"
31
+ Disbursement: Final = "disbursement"
32
+ DisbursementException: Final = "disbursement_exception"
33
+ DisputeAccepted: Final = "dispute_accepted"
34
+ DisputeAutoAccepted: Final = "dispute_auto_accepted"
35
+ DisputeDisputed: Final = "dispute_disputed"
36
+ DisputeExpired: Final = "dispute_expired"
37
+ DisputeLost: Final = "dispute_lost"
38
+ DisputeOpened: Final = "dispute_opened"
39
+ DisputeUnderReview: Final = "dispute_under_review"
40
+ DisputeWon: Final = "dispute_won"
41
+ GrantedPaymentMethodRevoked: Final = "granted_payment_method_revoked"
42
+ GrantorUpdatedGrantedPaymentMethod: Final = "grantor_updated_granted_payment_method"
43
+ LocalPaymentCompleted: Final = "local_payment_completed"
44
+ LocalPaymentExpired: Final = "local_payment_expired"
45
+ LocalPaymentFunded: Final = "local_payment_funded"
46
+ LocalPaymentReversed: Final = "local_payment_reversed"
47
+ OAuthAccessRevoked: Final = "oauth_access_revoked"
48
+ PartnerMerchantConnected: Final = "partner_merchant_connected"
49
+ PartnerMerchantDeclined: Final = "partner_merchant_declined"
50
+ PartnerMerchantDisconnected: Final = "partner_merchant_disconnected"
51
+ PaymentMethodCustomerDataUpdated: Final = "payment_method_customer_data_updated"
52
+ PaymentMethodRevokedByCustomer: Final = "payment_method_revoked_by_customer"
53
+ RecipientUpdatedGrantedPaymentMethod: Final = "recipient_updated_granted_payment_method"
54
+ SubMerchantAccountApproved: Final = "sub_merchant_account_approved"
55
+ SubMerchantAccountDeclined: Final = "sub_merchant_account_declined"
56
+ SubscriptionBillingSkipped: Final = "subscription_billing_skipped"
57
+ SubscriptionCanceled: Final = "subscription_canceled"
58
+ SubscriptionChargedSuccessfully: Final = "subscription_charged_successfully"
59
+ SubscriptionChargedUnsuccessfully: Final = "subscription_charged_unsuccessfully"
60
+ SubscriptionExpired: Final = "subscription_expired"
61
+ SubscriptionTrialEnded: Final = "subscription_trial_ended"
62
+ SubscriptionWentActive: Final = "subscription_went_active"
63
+ SubscriptionWentPastDue: Final = "subscription_went_past_due"
64
+ TransactionDisbursed: Final = "transaction_disbursed"
65
+ TransactionReviewed: Final = "transaction_reviewed"
66
+ TransactionSettled: Final = "transaction_settled"
67
+ TransactionSettlementDeclined: Final = "transaction_settlement_declined"
62
68
 
63
69
  @staticmethod
64
70
  def parse(signature, payload): ...
65
71
  @staticmethod
66
72
  def verify(challenge): ...
67
- source_merchant_id: Any
68
- subscription: Any
69
- merchant_account: Any
70
- transaction: Any
71
- connected_merchant_status_transitioned: Any
72
- connected_merchant_paypal_status_changed: Any
73
- partner_merchant: Any
74
- oauth_access_revocation: Any
75
- disbursement: Any
76
- dispute: Any
77
- account_updater_daily_report: Any
78
- granted_payment_instrument_update: Any
79
- revoked_payment_method_metadata: Any
80
- local_payment_completed: Any
81
- local_payment_reversed: Any
82
- errors: Any
83
- message: Any
73
+ source_merchant_id: Incomplete
74
+ subscription: Subscription
75
+ merchant_account: MerchantAccount
76
+ transaction: Transaction
77
+ transaction_review: TransactionReview
78
+ connected_merchant_status_transitioned: ConnectedMerchantStatusTransitioned
79
+ connected_merchant_paypal_status_changed: ConnectedMerchantPayPalStatusChanged
80
+ partner_merchant: PartnerMerchant
81
+ oauth_access_revocation: OAuthAccessRevocation
82
+ disbursement: Disbursement
83
+ dispute: Dispute
84
+ account_updater_daily_report: AccountUpdaterDailyReport
85
+ granted_payment_instrument_update: GrantedPaymentInstrumentUpdate
86
+ revoked_payment_method_metadata: RevokedPaymentMethodMetadata
87
+ local_payment_completed: LocalPaymentCompleted
88
+ local_payment_expired: LocalPaymentExpired
89
+ local_payment_funded: LocalPaymentFunded
90
+ local_payment_reversed: LocalPaymentReversed
91
+ payment_method_customer_data_updated_metadata: PaymentMethodCustomerDataUpdatedMetadata
92
+ errors: ValidationErrorCollection
93
+ message: Incomplete
84
94
  def __init__(self, gateway, attributes) -> None: ...