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