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
@@ -0,0 +1,18 @@
1
+ from typing import Final
2
+
3
+ class AuthenticationIds:
4
+ ThreeDSecureVisaFullAuthentication: Final = "fake-three-d-secure-visa-full-authentication-id"
5
+ ThreeDSecureVisaLookupTimeout: Final = "fake-three-d-secure-visa-lookup-timeout-id"
6
+ ThreeDSecureVisaFailedSignature: Final = "fake-three-d-secure-visa-failed-signature-id"
7
+ ThreeDSecureVisaFailedAuthentication: Final = "fake-three-d-secure-visa-failed-authentication-id"
8
+ ThreeDSecureVisaAttemptsNonParticipating: Final[str]
9
+ ThreeDSecureVisaNoteEnrolled: Final = "fake-three-d-secure-visa-not-enrolled-id"
10
+ ThreeDSecureVisaUnavailable: Final = "fake-three-d-secure-visa-unavailable-id"
11
+ ThreeDSecureVisaMPILookupError: Final = "fake-three-d-secure-visa-mpi-lookup-error-id"
12
+ ThreeDSecureVisaMPIAuthenticateError: Final = "fake-three-d-secure-visa-mpi-authenticate-error-id"
13
+ ThreeDSecureVisaAuthenticationUnavailable: Final[str]
14
+ ThreeDSecureVisaBypassedAuthentication: Final[str]
15
+ ThreeDSecureTwoVisaSuccessfulFrictionlessAuthentication: Final[str]
16
+ ThreeDSecureTwoVisaSuccessfulStepUpAuthentication: Final[str]
17
+ ThreeDSecureTwoVisaErrorOnLookup: Final = "fake-three-d-secure-two-visa-error-on-lookup-id"
18
+ ThreeDSecureTwoVisaTimeoutOnLookup: Final = "fake-three-d-secure-two-visa-timeout-on-lookup-id"
@@ -0,0 +1,5 @@
1
+ from typing import Final
2
+
3
+ class CreditCardDefaults:
4
+ CountryOfIssuance: Final = "USA"
5
+ IssuingBank: Final = "NETWORK ONLY"
@@ -0,0 +1,40 @@
1
+ from typing import Final
2
+
3
+ class CreditCardNumbers:
4
+ class CardTypeIndicators:
5
+ Commercial: Final = "4111111111131010"
6
+ DurbinRegulated: Final = "4111161010101010"
7
+ Debit: Final = "4117101010101010"
8
+ Healthcare: Final = "4111111510101010"
9
+ Payroll: Final = "4111111114101010"
10
+ Prepaid: Final = "4111111111111210"
11
+ IssuingBank: Final = "4111111141010101"
12
+ CountryOfIssuance: Final = "4111111111121102"
13
+ No: Final = "4111111111310101"
14
+ Unknown: Final = "4111111111112101"
15
+
16
+ Maestro: Final = "6304000000000000"
17
+ MasterCard: Final = "5555555555554444"
18
+ MasterCardInternational: Final = "5105105105105100"
19
+ Visa: Final = "4012888888881881"
20
+ VisaInternational: Final = "4009348888881881"
21
+ VisaPrepaid: Final = "4500600000000061"
22
+ Discover: Final = "6011111111111117"
23
+ Elo: Final = "5066991111111118"
24
+ Hiper: Final = "6370950000000005"
25
+ Hipercard: Final = "6062820524845321"
26
+ Amex: Final = "378734493671000"
27
+
28
+ class FailsSandboxVerification:
29
+ AmEx: Final = "378734493671000"
30
+ Discover: Final = "6011000990139424"
31
+ MasterCard: Final = "5105105105105100"
32
+ Visa: Final = "4000111111111115"
33
+
34
+ class AmexPayWithPoints:
35
+ Success: Final = "371260714673002"
36
+ IneligibleCard: Final = "378267515471109"
37
+ InsufficientPoints: Final = "371544868764018"
38
+
39
+ class Disputes:
40
+ Chargeback: Final = "4023898493988028"
@@ -0,0 +1,7 @@
1
+ from typing import Final
2
+
3
+ Approve: Final = "approve_me"
4
+ InsufficientFundsContactUs: Final = "insufficient_funds__contact"
5
+ AccountNotAuthorizedContactUs: Final = "account_not_authorized__contact"
6
+ BankRejectedUpdateFundingInformation: Final = "bank_rejected__update"
7
+ BankRejectedNone: Final = "bank_rejected__none"
@@ -0,0 +1,83 @@
1
+ from typing import Final
2
+
3
+ class Nonces:
4
+ AbstractTransactable: Final = "fake-abstract-transactable-nonce"
5
+ AmexExpressCheckoutCard: Final = "fake-amex-express-checkout-nonce"
6
+ AndroidPayCard: Final = "fake-android-pay-nonce"
7
+ AndroidPayCardAmEx: Final = "fake-android-pay-amex-nonce"
8
+ AndroidPayCardDiscover: Final = "fake-android-pay-discover-nonce"
9
+ AndroidPayCardMasterCard: Final = "fake-android-pay-mastercard-nonce"
10
+ AndroidPayCardVisa: Final = "fake-android-pay-visa-nonce"
11
+ ApplePayAmEx: Final = "fake-apple-pay-amex-nonce"
12
+ ApplePayMasterCard: Final = "fake-apple-pay-mastercard-nonce"
13
+ ApplePayMpan: Final = "fake-apple-pay-mpan-nonce"
14
+ ApplePayVisa: Final = "fake-apple-pay-visa-nonce"
15
+ Consumed: Final = "fake-consumed-nonce"
16
+ Europe: Final = "fake-europe-bank-account-nonce"
17
+ GatewayRejectedFraud: Final = "fake-gateway-rejected-fraud-nonce"
18
+ GatewayRejectedRiskThreshold: Final = "fake-gateway-rejected-risk-thresholds-nonce"
19
+ LocalPayment: Final = "fake-local-payment-method-nonce"
20
+ LuhnInvalid: Final = "fake-luhn-invalid-nonce"
21
+ MasterpassAmEx: Final = "fake-masterpass-amex-nonce"
22
+ MasterpassDiscover: Final = "fake-masterpass-discover-nonce"
23
+ MasterpassMasterCard: Final = "fake-masterpass-mastercard-nonce"
24
+ MasterpassVisa: Final = "fake-masterpass-visa-nonce"
25
+ PayPalBillingAgreement: Final = "fake-paypal-billing-agreement-nonce"
26
+ PayPalFuturePayment: Final = "fake-paypal-future-nonce"
27
+ PayPalFuturePaymentRefreshToken: Final = "fake-paypal-future-refresh-token-nonce"
28
+ PayPalOneTimePayment: Final = "fake-paypal-one-time-nonce"
29
+ ProcessorDeclinedAmEx: Final = "fake-processor-declined-amex-nonce"
30
+ ProcessorDeclinedDiscover: Final = "fake-processor-declined-discover-nonce"
31
+ ProcessorDeclinedMasterCard: Final = "fake-processor-declined-mastercard-nonce"
32
+ ProcessorDeclinedVisa: Final = "fake-processor-declined-visa-nonce"
33
+ ProcessorFailureJCB: Final = "fake-processor-failure-jcb-nonce"
34
+ SEPA: Final = "fake-sepa-bank-account-nonce"
35
+ MetaCheckoutCard: Final = "fake-meta-checkout-card-nonce"
36
+ MetaCheckoutToken: Final = "fake-meta-checkout-token-nonce"
37
+ SamsungPayAmex: Final = "tokensam_fake_american_express"
38
+ SamsungPayDiscover: Final = "tokensam_fake_american_express"
39
+ SamsungPayMasterCard: Final = "tokensam_fake_mastercard"
40
+ SamsungPayVisa: Final = "tokensam_fake_visa"
41
+ SepaDirectDebit: Final = "fake-sepa-direct-debit-nonce"
42
+ ThreeDSecureTwoVisaErrorOnLookup: Final = "fake-three-d-secure-two-visa-error-on-lookup-nonce"
43
+ ThreeDSecureTwoVisaSuccessfulFrictionlessAuthentication: Final[str]
44
+ ThreeDSecureTwoVisaSuccessfulStepUpAuthentication: Final[str]
45
+ ThreeDSecureTwoVisaTimeoutOnLookup: Final[str]
46
+ ThreeDSecureVisaAttemptsNonParticipating: Final[str]
47
+ ThreeDSecureVisaAuthenticationUnavailable: Final[str]
48
+ ThreeDSecureVisaBypassedAuthentication: Final[str]
49
+ ThreeDSecureVisaFailedAuthentication: Final[str]
50
+ ThreeDSecureVisaFailedSignature: Final = "fake-three-d-secure-visa-failed-signature-nonce"
51
+ ThreeDSecureVisaFullAuthentication: Final = "fake-three-d-secure-visa-full-authentication-nonce"
52
+ ThreeDSecureVisaLookupTimeout: Final = "fake-three-d-secure-visa-lookup-timeout-nonce"
53
+ ThreeDSecureVisaMPIAuthenticateError: Final[str]
54
+ ThreeDSecureVisaMPILookupError: Final = "fake-three-d-secure-visa-mpi-lookup-error-nonce"
55
+ ThreeDSecureVisaNoteEnrolled: Final = "fake-three-d-secure-visa-not-enrolled-nonce"
56
+ ThreeDSecureVisaUnavailable: Final = "fake-three-d-secure-visa-unavailable-nonce"
57
+ Transactable: Final = "fake-valid-nonce"
58
+ TransactableAmEx: Final = "fake-valid-amex-nonce"
59
+ TransactableCommercial: Final = "fake-valid-commercial-nonce"
60
+ TransactableCountryOfIssuanceCAD: Final = "fake-valid-country-of-issuance-cad-nonce"
61
+ TransactableCountryOfIssuanceUSA: Final = "fake-valid-country-of-issuance-usa-nonce"
62
+ TransactableDebit: Final = "fake-valid-debit-nonce"
63
+ TransactableDinersClub: Final = "fake-valid-dinersclub-nonce"
64
+ TransactableDiscover: Final = "fake-valid-discover-nonce"
65
+ TransactableDurbinRegulated: Final = "fake-valid-durbin-regulated-nonce"
66
+ TransactableHealthcare: Final = "fake-valid-healthcare-nonce"
67
+ TransactableIssuingBankNetworkOnly: Final = "fake-valid-issuing-bank-network-only-nonce"
68
+ TransactableJCB: Final = "fake-valid-jcb-nonce"
69
+ TransactableMaestro: Final = "fake-valid-maestro-nonce"
70
+ TransactableMasterCard: Final = "fake-valid-mastercard-nonce"
71
+ TransactableNoIndicators: Final = "fake-valid-no-indicators-nonce"
72
+ TransactablePayroll: Final = "fake-valid-payroll-nonce"
73
+ TransactablePinlessDebitVisa: Final = "fake-pinless-debit-visa-nonce"
74
+ TransactablePrepaid: Final = "fake-valid-prepaid-nonce"
75
+ TransactableUnknownIndicators: Final = "fake-valid-unknown-indicators-nonce"
76
+ TransactableVisa: Final = "fake-valid-visa-nonce"
77
+ VenmoAccount: Final = "fake-venmo-account-nonce"
78
+ VenmoAccountTokenIssuanceError: Final = "fake-token-issuance-error-venmo-account-nonce"
79
+ VisaCheckoutAmEx: Final = "fake-visa-checkout-amex-nonce"
80
+ VisaCheckoutDiscover: Final = "fake-visa-checkout-discover-nonce"
81
+ VisaCheckoutMasterCard: Final = "fake-visa-checkout-mastercard-nonce"
82
+ VisaCheckoutVisa: Final = "fake-visa-checkout-visa-nonce"
83
+ UsBankAccount: Final = "fake-us-bank-account-nonce"
@@ -0,0 +1,9 @@
1
+ from typing import Final
2
+
3
+ def generate_test_payment_method_code(number): ...
4
+
5
+ VisaPaymentMethodCode: Final = "stub-4111111111111111"
6
+ InvalidPaymentMethodCode: Final = "stub-invalid-payment-method-code"
7
+
8
+ Session: Final = "stub-session"
9
+ InvalidSession: Final = "stub-invalid-session"
@@ -1,12 +1,8 @@
1
- from typing import Any
2
-
3
- from braintree.error_result import ErrorResult as ErrorResult
4
- from braintree.successful_result import SuccessfulResult as SuccessfulResult
5
- from braintree.transaction import Transaction as Transaction
1
+ from _typeshed import Incomplete
6
2
 
7
3
  class TestingGateway:
8
- gateway: Any
9
- config: Any
4
+ gateway: Incomplete
5
+ config: Incomplete
10
6
  def __init__(self, gateway) -> None: ...
11
7
  def make_past_due(self, subscription_id, number_of_days_past_due: int = 1) -> None: ...
12
8
  def escrow_transaction(self, transaction_id) -> None: ...
@@ -1,3 +1,3 @@
1
- from braintree.attribute_getter import AttributeGetter as AttributeGetter
1
+ from braintree.attribute_getter import AttributeGetter
2
2
 
3
3
  class ThreeDSecureInfo(AttributeGetter): ...
@@ -1,102 +1,104 @@
1
1
  from _typeshed import Incomplete
2
- from typing import Any
2
+ from decimal import Decimal
3
+ from typing import Final
3
4
 
4
- from braintree.add_on import AddOn as AddOn
5
- from braintree.address import Address as Address
6
- from braintree.amex_express_checkout_card import AmexExpressCheckoutCard as AmexExpressCheckoutCard
7
- from braintree.android_pay_card import AndroidPayCard as AndroidPayCard
8
- from braintree.apple_pay_card import ApplePayCard as ApplePayCard
9
- from braintree.authorization_adjustment import AuthorizationAdjustment as AuthorizationAdjustment
10
- from braintree.configuration import Configuration as Configuration
11
- from braintree.credit_card import CreditCard as CreditCard
12
- from braintree.customer import Customer as Customer
13
- from braintree.descriptor import Descriptor as Descriptor
14
- from braintree.disbursement_detail import DisbursementDetail as DisbursementDetail
15
- from braintree.discount import Discount as Discount
16
- from braintree.dispute import Dispute as Dispute
17
- from braintree.error_result import ErrorResult as ErrorResult
18
- from braintree.europe_bank_account import EuropeBankAccount as EuropeBankAccount
19
- from braintree.exceptions.not_found_error import NotFoundError as NotFoundError
20
- from braintree.facilitated_details import FacilitatedDetails as FacilitatedDetails
21
- from braintree.facilitator_details import FacilitatorDetails as FacilitatorDetails
22
- from braintree.local_payment import LocalPayment as LocalPayment
23
- from braintree.masterpass_card import MasterpassCard as MasterpassCard
24
- from braintree.payment_instrument_type import PaymentInstrumentType as PaymentInstrumentType
25
- from braintree.paypal_account import PayPalAccount as PayPalAccount
26
- from braintree.paypal_here import PayPalHere as PayPalHere
27
- from braintree.resource import Resource as Resource
28
- from braintree.resource_collection import ResourceCollection as ResourceCollection
29
- from braintree.risk_data import RiskData as RiskData
30
- from braintree.samsung_pay_card import SamsungPayCard as SamsungPayCard
31
- from braintree.status_event import StatusEvent as StatusEvent
32
- from braintree.subscription_details import SubscriptionDetails as SubscriptionDetails
33
- from braintree.successful_result import SuccessfulResult as SuccessfulResult
34
- from braintree.three_d_secure_info import ThreeDSecureInfo as ThreeDSecureInfo
35
- from braintree.transaction_line_item import TransactionLineItem as TransactionLineItem
36
- from braintree.us_bank_account import UsBankAccount as UsBankAccount
37
- from braintree.venmo_account import VenmoAccount as VenmoAccount
38
- from braintree.visa_checkout_card import VisaCheckoutCard as VisaCheckoutCard
5
+ from braintree.add_on import AddOn
6
+ from braintree.address import Address
7
+ from braintree.amex_express_checkout_card import AmexExpressCheckoutCard
8
+ from braintree.android_pay_card import AndroidPayCard
9
+ from braintree.apple_pay_card import ApplePayCard
10
+ from braintree.authorization_adjustment import AuthorizationAdjustment
11
+ from braintree.credit_card import CreditCard
12
+ from braintree.customer import Customer
13
+ from braintree.descriptor import Descriptor
14
+ from braintree.disbursement_detail import DisbursementDetail
15
+ from braintree.discount import Discount
16
+ from braintree.dispute import Dispute
17
+ from braintree.europe_bank_account import EuropeBankAccount
18
+ from braintree.facilitated_details import FacilitatedDetails
19
+ from braintree.facilitator_details import FacilitatorDetails
20
+ from braintree.local_payment import LocalPayment
21
+ from braintree.masterpass_card import MasterpassCard
22
+ from braintree.meta_checkout_card import MetaCheckoutCard
23
+ from braintree.meta_checkout_token import MetaCheckoutToken
24
+ from braintree.package_details import PackageDetails
25
+ from braintree.paypal_account import PayPalAccount
26
+ from braintree.paypal_here import PayPalHere
27
+ from braintree.resource import Resource
28
+ from braintree.risk_data import RiskData
29
+ from braintree.samsung_pay_card import SamsungPayCard
30
+ from braintree.sepa_direct_debit_account import SepaDirectDebitAccount
31
+ from braintree.status_event import StatusEvent
32
+ from braintree.subscription_details import SubscriptionDetails
33
+ from braintree.three_d_secure_info import ThreeDSecureInfo
34
+ from braintree.us_bank_account import UsBankAccount
35
+ from braintree.venmo_account import VenmoAccount
36
+ from braintree.visa_checkout_card import VisaCheckoutCard
39
37
 
40
38
  class Transaction(Resource):
41
39
  class CreatedUsing:
42
- FullInformation: str
43
- Token: str
40
+ FullInformation: Final = "full_information"
41
+ Token: Final = "token"
44
42
 
45
43
  class GatewayRejectionReason:
46
- ApplicationIncomplete: str
47
- Avs: str
48
- AvsAndCvv: str
49
- Cvv: str
50
- Duplicate: str
51
- Fraud: str
52
- RiskThreshold: str
53
- ThreeDSecure: str
54
- TokenIssuance: str
44
+ ApplicationIncomplete: Final = "application_incomplete"
45
+ Avs: Final = "avs"
46
+ AvsAndCvv: Final = "avs_and_cvv"
47
+ Cvv: Final = "cvv"
48
+ Duplicate: Final = "duplicate"
49
+ ExcessiveRetry: Final = "excessive_retry"
50
+ Fraud: Final = "fraud"
51
+ RiskThreshold: Final = "risk_threshold"
52
+ ThreeDSecure: Final = "three_d_secure"
53
+ TokenIssuance: Final = "token_issuance"
54
+
55
+ class ReasonCode:
56
+ ANY_REASON_CODE: Final = "any_reason_code"
55
57
 
56
58
  class Source:
57
- Api: str
58
- ControlPanel: str
59
- Recurring: str
59
+ Api: Final = "api"
60
+ ControlPanel: Final = "control_panel"
61
+ Recurring: Final = "recurring"
60
62
 
61
63
  class EscrowStatus:
62
- HoldPending: str
63
- Held: str
64
- ReleasePending: str
65
- Released: str
66
- Refunded: str
64
+ HoldPending: Final = "hold_pending"
65
+ Held: Final = "held"
66
+ ReleasePending: Final = "release_pending"
67
+ Released: Final = "released"
68
+ Refunded: Final = "refunded"
67
69
 
68
70
  class Status:
69
- AuthorizationExpired: str
70
- Authorized: str
71
- Authorizing: str
72
- Failed: str
73
- GatewayRejected: str
74
- ProcessorDeclined: str
75
- Settled: str
76
- SettlementConfirmed: str
77
- SettlementDeclined: str
78
- SettlementFailed: str
79
- SettlementPending: str
80
- Settling: str
81
- SubmittedForSettlement: str
82
- Voided: str
71
+ AuthorizationExpired: Final = "authorization_expired"
72
+ Authorized: Final = "authorized"
73
+ Authorizing: Final = "authorizing"
74
+ Failed: Final = "failed"
75
+ GatewayRejected: Final = "gateway_rejected"
76
+ ProcessorDeclined: Final = "processor_declined"
77
+ Settled: Final = "settled"
78
+ SettlementConfirmed: Final = "settlement_confirmed"
79
+ SettlementDeclined: Final = "settlement_declined"
80
+ SettlementFailed: Final = "settlement_failed"
81
+ SettlementPending: Final = "settlement_pending"
82
+ Settling: Final = "settling"
83
+ SubmittedForSettlement: Final = "submitted_for_settlement"
84
+ Voided: Final = "voided"
83
85
 
84
86
  class Type:
85
- Credit: str
86
- Sale: str
87
+ Credit: Final = "credit"
88
+ Sale: Final = "sale"
87
89
 
88
90
  class IndustryType:
89
- Lodging: str
90
- TravelAndCruise: str
91
- TravelAndFlight: str
91
+ Lodging: Final = "lodging"
92
+ TravelAndCruise: Final = "travel_cruise"
93
+ TravelAndFlight: Final = "travel_flight"
92
94
 
93
95
  class AdditionalCharge:
94
- Restaurant: str
95
- GiftShop: str
96
- MiniBar: str
97
- Telephone: str
98
- Laundry: str
99
- Other: str
96
+ Restaurant: Final = "restaurant"
97
+ GiftShop: Final = "gift_shop"
98
+ MiniBar: Final = "mini_bar"
99
+ Telephone: Final = "telephone"
100
+ Laundry: Final = "laundry"
101
+ Other: Final = "other"
100
102
 
101
103
  @staticmethod
102
104
  def adjust_authorization(transaction_id, amount): ...
@@ -133,46 +135,54 @@ class Transaction(Resource):
133
135
  @staticmethod
134
136
  def submit_for_settlement_signature(): ...
135
137
  @staticmethod
138
+ def package_tracking_signature(): ...
139
+ @staticmethod
140
+ def package_tracking(transaction_id, params: Incomplete | None = None): ...
141
+ @staticmethod
136
142
  def update_details_signature(): ...
137
143
  @staticmethod
138
144
  def refund_signature(): ...
139
145
  @staticmethod
140
146
  def submit_for_partial_settlement(transaction_id, amount, params: Incomplete | None = None): ...
141
- amount: Any
142
- tax_amount: Any
143
- discount_amount: Any
144
- shipping_amount: Any
145
- billing_details: Any
146
- credit_card_details: Any
147
- paypal_details: Any
148
- paypal_here_details: Any
149
- local_payment_details: Any
150
- europe_bank_account_details: Any
151
- us_bank_account: Any
152
- apple_pay_details: Any
153
- android_pay_card_details: Any
154
- amex_express_checkout_card_details: Any
155
- venmo_account_details: Any
156
- visa_checkout_card_details: Any
157
- masterpass_card_details: Any
158
- samsung_pay_card_details: Any
159
- sca_exemption_requested: Any
160
- customer_details: Any
161
- shipping_details: Any
162
- add_ons: Any
163
- discounts: Any
164
- status_history: Any
165
- subscription_details: Any
166
- descriptor: Any
167
- disbursement_details: Any
168
- disputes: Any
169
- authorization_adjustments: Any
170
- payment_instrument_type: Any
171
- risk_data: Any
172
- three_d_secure_info: Any
173
- facilitated_details: Any
174
- facilitator_details: Any
175
- network_transaction_id: Any
147
+ amount: Decimal
148
+ tax_amount: Decimal | None
149
+ discount_amount: Decimal | None
150
+ shipping_amount: Decimal | None
151
+ billing_details: Address
152
+ credit_card_details: CreditCard
153
+ packages: list[PackageDetails]
154
+ paypal_details: PayPalAccount
155
+ paypal_here_details: PayPalHere
156
+ local_payment_details: LocalPayment
157
+ sepa_direct_debit_account_details: SepaDirectDebitAccount
158
+ europe_bank_account_details: EuropeBankAccount
159
+ us_bank_account: UsBankAccount
160
+ apple_pay_details: ApplePayCard
161
+ android_pay_card_details: AndroidPayCard
162
+ amex_express_checkout_card_details: AmexExpressCheckoutCard
163
+ venmo_account_details: VenmoAccount
164
+ visa_checkout_card_details: VisaCheckoutCard
165
+ masterpass_card_details: MasterpassCard
166
+ samsung_pay_card_details: SamsungPayCard
167
+ meta_checkout_card_details: MetaCheckoutCard
168
+ meta_checkout_token_details: MetaCheckoutToken
169
+ sca_exemption_requested: Incomplete
170
+ customer_details: Customer
171
+ shipping_details: Address
172
+ add_ons: list[AddOn]
173
+ discounts: list[Discount]
174
+ status_history: list[StatusEvent]
175
+ subscription_details: SubscriptionDetails
176
+ descriptor: Descriptor
177
+ disbursement_details: DisbursementDetail
178
+ disputes: list[Dispute]
179
+ authorization_adjustments: list[AuthorizationAdjustment]
180
+ payment_instrument_type: Incomplete
181
+ risk_data: RiskData | None
182
+ three_d_secure_info: ThreeDSecureInfo | None
183
+ facilitated_details: FacilitatedDetails
184
+ facilitator_details: FacilitatorDetails
185
+ network_transaction_id: Incomplete
176
186
  def __init__(self, gateway, attributes) -> None: ...
177
187
  @property
178
188
  def vault_billing_address(self): ...
@@ -1,5 +1,7 @@
1
+ from typing import Final
2
+
1
3
  class TransactionAmounts:
2
- Authorize: str
3
- Decline: str
4
- HardDecline: str
5
- Fail: str
4
+ Authorize: Final = "1000.00"
5
+ Decline: Final = "2000.00"
6
+ HardDecline: Final = "2015.00"
7
+ Fail: Final = "3000.00"
@@ -1,7 +1,7 @@
1
- from typing import Any
1
+ from decimal import Decimal
2
2
 
3
- from braintree.attribute_getter import AttributeGetter as AttributeGetter
3
+ from braintree.attribute_getter import AttributeGetter
4
4
 
5
5
  class TransactionDetails(AttributeGetter):
6
- amount: Any
6
+ amount: Decimal | None
7
7
  def __init__(self, attributes) -> None: ...
@@ -1,17 +1,8 @@
1
1
  from _typeshed import Incomplete
2
- from typing import Any
3
-
4
- from braintree.error_result import ErrorResult as ErrorResult
5
- from braintree.exceptions.not_found_error import NotFoundError as NotFoundError
6
- from braintree.exceptions.request_timeout_error import RequestTimeoutError as RequestTimeoutError
7
- from braintree.resource import Resource as Resource
8
- from braintree.resource_collection import ResourceCollection as ResourceCollection
9
- from braintree.successful_result import SuccessfulResult as SuccessfulResult
10
- from braintree.transaction import Transaction as Transaction
11
2
 
12
3
  class TransactionGateway:
13
- gateway: Any
14
- config: Any
4
+ gateway: Incomplete
5
+ config: Incomplete
15
6
  def __init__(self, gateway) -> None: ...
16
7
  def adjust_authorization(self, transaction_id, amount): ...
17
8
  def clone_transaction(self, transaction_id, params): ...
@@ -27,4 +18,5 @@ class TransactionGateway:
27
18
  def submit_for_settlement(self, transaction_id, amount: Incomplete | None = None, params: Incomplete | None = None): ...
28
19
  def update_details(self, transaction_id, params: Incomplete | None = None): ...
29
20
  def submit_for_partial_settlement(self, transaction_id, amount, params: Incomplete | None = None): ...
21
+ def package_tracking(self, transaction_id, params: Incomplete | None = None): ...
30
22
  def void(self, transaction_id): ...
@@ -1,11 +1,11 @@
1
- from braintree.attribute_getter import AttributeGetter as AttributeGetter
2
- from braintree.configuration import Configuration as Configuration
3
- from braintree.resource import Resource as Resource
1
+ from typing import Final
2
+
3
+ from braintree.attribute_getter import AttributeGetter
4
4
 
5
5
  class TransactionLineItem(AttributeGetter):
6
6
  class Kind:
7
- Credit: str
8
- Debit: str
7
+ Credit: Final = "credit"
8
+ Debit: Final = "debit"
9
9
 
10
10
  def __init__(self, attributes) -> None: ...
11
11
  @staticmethod
@@ -1,14 +1,7 @@
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.exceptions.request_timeout_error import RequestTimeoutError as RequestTimeoutError
6
- from braintree.resource import Resource as Resource
7
- from braintree.resource_collection import ResourceCollection as ResourceCollection
8
- from braintree.transaction_line_item import TransactionLineItem as TransactionLineItem
1
+ from _typeshed import Incomplete
9
2
 
10
3
  class TransactionLineItemGateway:
11
- gateway: Any
12
- config: Any
4
+ gateway: Incomplete
5
+ config: Incomplete
13
6
  def __init__(self, gateway) -> None: ...
14
7
  def find_all(self, transaction_id): ...
@@ -0,0 +1,4 @@
1
+ from braintree.resource import Resource
2
+
3
+ class TransactionReview(Resource):
4
+ def __init__(self, attributes) -> None: ...