From 521cb937f702b35cce660077c717a91f043b15bf Mon Sep 17 00:00:00 2001 From: donbarbos Date: Sun, 19 Jul 2026 20:43:28 +0400 Subject: [PATCH] [braintree] Update to 4.45.* Closes: #15920 --- stubs/braintree/METADATA.toml | 2 +- stubs/braintree/braintree/error_codes.pyi | 3 +++ stubs/braintree/braintree/transaction.pyi | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/stubs/braintree/METADATA.toml b/stubs/braintree/METADATA.toml index 7e2486d96394..ff317f5b020a 100644 --- a/stubs/braintree/METADATA.toml +++ b/stubs/braintree/METADATA.toml @@ -1,2 +1,2 @@ -version = "4.44.*" +version = "4.45.*" upstream-repository = "https://github.com/braintree/braintree_python" diff --git a/stubs/braintree/braintree/error_codes.pyi b/stubs/braintree/braintree/error_codes.pyi index 6647617c60af..ee5086b0c5a3 100644 --- a/stubs/braintree/braintree/error_codes.pyi +++ b/stubs/braintree/braintree/error_codes.pyi @@ -469,6 +469,7 @@ class ErrorCodes: CannotCancelRelease: Final = "91562" CannotCloneCredit: Final = "91543" CannotCloneMarketplaceTransaction: Final = "915137" + CannotCloneThirdPartyCofNetworkTokenTransaction: Final = "915274" CannotCloneTransactionWithPayPalAccount: Final = "91573" CannotCloneTransactionWithVaultCreditCard: Final = "91540" CannotCloneUnsuccessfulTransaction: Final = "91542" @@ -596,10 +597,12 @@ class ErrorCodes: TransferDetailsAreNotApplicableForThisMerchantAccount: Final = "97511" TransferDetailsAreRequired: Final = "97510" TransferReceiverAccountReferenceNumberIsNotValid: Final = "97509" + TransferReceiverAccountReferenceNumberTypeIsNotValid: Final = "97514" TransferReceiverFirstNameIsNotValid: Final = "97507" TransferReceiverLastNameIsNotValid: Final = "97508" TransferReceiverTaxIdIsNotValid: Final = "97506" TransferSenderAccountReferenceNumberIsNotValid: Final = "97505" + TransferSenderAccountReferenceNumberTypeIsNotValid: Final = "97513" TransferSenderFirstNameIsNotValid: Final = "97503" TransferSenderLastNameIsNotValid: Final = "97504" TransferSenderTaxIdIsNotValid: Final = "97502" diff --git a/stubs/braintree/braintree/transaction.pyi b/stubs/braintree/braintree/transaction.pyi index b6207c2546c4..667c9152d98d 100644 --- a/stubs/braintree/braintree/transaction.pyi +++ b/stubs/braintree/braintree/transaction.pyi @@ -191,6 +191,6 @@ class Transaction(Resource): @property def vault_customer(self): ... @property - def is_disbursed(self): ... + def is_disbursed(self) -> bool: ... @property def line_items(self): ...