Upgrade black version (#7089)

This commit is contained in:
Shantanu
2022-01-30 16:27:06 -08:00
committed by GitHub
parent 9854926289
commit b88a6f19cd
173 changed files with 496 additions and 2 deletions

View File

@@ -25,9 +25,11 @@ class CreditCard(Resource):
Switch: str
Visa: str
Unknown: str
class CustomerLocation:
International: str
US: str
class CardTypeIndicator:
Yes: str
No: str

View File

@@ -17,6 +17,7 @@ class Dispute(AttributeGetter):
Open: str
Won: str
Lost: str
class Reason:
CancelledRecurringTransaction: str
CreditNotProcessed: str
@@ -29,10 +30,12 @@ class Dispute(AttributeGetter):
ProductUnsatisfactory: str
Retrieval: str
TransactionAmountDiffers: str
class Kind:
Chargeback: str
PreArbitration: str
Retrieval: str
class ChargebackProtectionLevel:
Effortless: str
Standard: str

View File

@@ -29,6 +29,7 @@ class ErrorCodes:
StreetAddressIsRequired: str
StreetAddressIsTooLong: str
TooManyAddressesPerCustomer: str
class ApplePay:
ApplePayCardsAreNotAccepted: str
CustomerIdIsRequiredForVaulting: str
@@ -52,6 +53,7 @@ class ErrorCodes:
InvalidToken: str
PrivateKeyMismatch: str
KeyMismatchStoringCertificate: str
class AuthorizationFingerprint:
MissingFingerprint: str
InvalidFormat: str
@@ -60,6 +62,7 @@ class ErrorCodes:
InvalidPublicKey: str
InvalidSignature: str
OptionsNotAllowedWithoutCustomer: str
class ClientToken:
MakeDefaultRequiresCustomerId: str
VerifyCardRequiresCustomerId: str
@@ -68,6 +71,7 @@ class ErrorCodes:
ProxyMerchantDoesNotExist: str
UnsupportedVersion: str
MerchantAccountDoesNotExist: str
class CreditCard:
BillingAddressConflict: str
BillingAddressFormatIsInvalid: str
@@ -113,6 +117,7 @@ class ErrorCodes:
VerificationNotSupportedOnThisMerchantAccount: str
VerificationAccountTypeIsInvald: str
VerificationAccountTypeNotSupported: str
class Options:
UpdateExistingTokenIsInvalid: str
UpdateExistingTokenNotAllowed: str
@@ -124,6 +129,7 @@ class ErrorCodes:
VerificationMerchantAccountIsForbidden: str
VerificationMerchantAccountIsSuspended: str
VerificationMerchantAccountCannotBeSubMerchantAccount: str
class Customer:
CompanyIsTooLong: str
CustomFieldIsInvalid: str
@@ -145,6 +151,7 @@ class ErrorCodes:
WebsiteIsInvalid: str
WebsiteFormatIsInvalid: str
WebsiteIsTooLong: str
class Descriptor:
DynamicDescriptorsDisabled: str
InternationalNameFormatIsInvalid: str
@@ -152,6 +159,7 @@ class ErrorCodes:
NameFormatIsInvalid: str
PhoneFormatIsInvalid: str
UrlFormatIsInvalid: str
class Dispute:
CanOnlyAddEvidenceToOpenDispute: str
CanOnlyRemoveEvidenceFromOpenDispute: str
@@ -175,6 +183,7 @@ class ErrorCodes:
RecurringTransactionEvidenceMissingDate: str
RecurringTransactionEvidenceMissingARN: str
ValidEvidenceRequiredToFinalize: str
class DocumentUpload:
KindIsInvalid: str
FileIsTooLarge: str
@@ -182,6 +191,7 @@ class ErrorCodes:
FileIsMalformedOrEncrypted: str
FileIsTooLong: str
FileIsEmpty: str
class Merchant:
CountryCannotBeBlank: str
CountryCodeAlpha2IsInvalid: str
@@ -203,6 +213,7 @@ class ErrorCodes:
CurrencyIsInvalid: str
NoMerchantAccounts: str
MerchantAccountExistsForId: str
class MerchantAccount:
IdFormatIsInvalid: str
IdIsInUse: str
@@ -221,6 +232,7 @@ class ErrorCodes:
DeclinedFailedKYC: str
DeclinedSsnInvalid: str
DeclinedSsnMatchesDeceased: str
class ApplicantDetails:
AccountNumberIsRequired: str
CompanyNameIsInvalid: str
@@ -247,6 +259,7 @@ class ErrorCodes:
EmailAddressIsRequired: str
AccountNumberIsInvalid: str
TaxIdMustBeBlank: str
class Address:
LocalityIsRequired: str
PostalCodeIsInvalid: str
@@ -255,6 +268,7 @@ class ErrorCodes:
StreetAddressIsInvalid: str
StreetAddressIsRequired: str
RegionIsInvalid: str
class Individual:
FirstNameIsRequired: str
LastNameIsRequired: str
@@ -266,6 +280,7 @@ class ErrorCodes:
PhoneIsInvalid: str
DateOfBirthIsInvalid: str
EmailAddressIsRequired: str
class Address:
StreetAddressIsRequired: str
LocalityIsRequired: str
@@ -274,6 +289,7 @@ class ErrorCodes:
StreetAddressIsInvalid: str
PostalCodeIsInvalid: str
RegionIsInvalid: str
class Business:
DbaNameIsInvalid: str
LegalNameIsInvalid: str
@@ -281,10 +297,12 @@ class ErrorCodes:
TaxIdIsInvalid: str
TaxIdIsRequiredWithLegalName: str
TaxIdMustBeBlank: str
class Address:
StreetAddressIsInvalid: str
PostalCodeIsInvalid: str
RegionIsInvalid: str
class Funding:
RoutingNumberIsRequired: str
AccountNumberIsRequired: str
@@ -296,12 +314,14 @@ class ErrorCodes:
EmailAddressIsRequired: str
MobilePhoneIsInvalid: str
MobilePhoneIsRequired: str
class OAuth:
InvalidGrant: str
InvalidCredentials: str
InvalidScope: str
InvalidRequest: str
UnsupportedGrantType: str
class Verification:
ThreeDSecureAuthenticationIdIsInvalid: str
ThreeDSecureAuthenticationIdDoesntMatchNonceThreeDSecureAuthentication: str
@@ -313,6 +333,7 @@ class ErrorCodes:
MerchantAccountDoesNotSupport3DSecure: str
MerchantAcountDoesNotMatch3DSecureMerchantAccount: str
AmountDoesNotMatch3DSecureAmount: str
class ThreeDSecurePassThru:
EciFlagIsRequired: str
EciFlagIsInvalid: str
@@ -322,6 +343,7 @@ class ErrorCodes:
AuthenticationResponseIsInvalid: str
DirectoryResponseIsInvalid: str
CavvAlgorithmIsInvalid: str
class Options:
AmountCannotBeNegative: str
AmountFormatIsInvalid: str
@@ -333,6 +355,7 @@ class ErrorCodes:
MerchantAccountCannotBeSubMerchantAccount: str
AccountTypeIsInvalid: str
AccountTypeNotSupported: str
class PaymentMethod:
CannotForwardPaymentMethodType: str
PaymentMethodParamsAreRequired: str
@@ -348,8 +371,10 @@ class ErrorCodes:
CannotHaveFundingSourceWithoutAccessToken: str
InvalidFundingSourceSelection: str
CannotUpdatePayPalAccountUsingPaymentMethodNonce: str
class Options:
UsBankAccountVerificationMethodIsInvalid: str
class PayPalAccount:
CannotHaveBothAccessTokenAndConsentCode: str
CannotVaultOneTimeUsePayPalAccount: str
@@ -362,10 +387,12 @@ class ErrorCodes:
PaymentMethodNonceLocked: str
PaymentMethodNonceUnknown: str
TokenIsInUse: str
class SettlementBatchSummary:
CustomFieldIsInvalid: str
SettlementDateIsInvalid: str
SettlementDateIsRequired: str
class SEPAMandate:
TypeIsRequired: str
IBANInvalidCharacter: str
@@ -377,10 +404,12 @@ class ErrorCodes:
BillingAddressConflict: str
BillingAddressIdIsInvalid: str
TypeIsInvalid: str
class EuropeBankAccount:
BICIsRequired: str
IBANIsRequired: str
AccountHolderNameIsRequired: str
class Subscription:
BillingDayOfMonthCannotBeUpdated: str
BillingDayOfMonthIsInvalid: str
@@ -422,6 +451,7 @@ class ErrorCodes:
TrialDurationFormatIsInvalid: str
TrialDurationIsRequired: str
TrialDurationUnitIsInvalid: str
class Modification:
AmountCannotBeBlank: str
AmountIsInvalid: str
@@ -444,6 +474,7 @@ class ErrorCodes:
QuantityIsInvalid: str
QuantityMustBeGreaterThanZero: str
IdToRemoveIsInvalid: str
class Transaction:
AdjustmentAmountMustBeGreaterThanZero: str
AmountCannotBeNegative: str
@@ -586,24 +617,30 @@ class ErrorCodes:
UnsupportedVoiceAuthorization: str
UsBankAccountNonceMustBePlaidVerified: str
UsBankAccountNotVerified: str
class ExternalVault:
StatusIsInvalid: str
StatusWithPreviousNetworkTransactionIdIsInvalid: str
CardTypeIsInvalid: str
PreviousNetworkTransactionIdIsInvalid: str
class Options:
SubmitForSettlementIsRequiredForCloning: str
SubmitForSettlementIsRequiredForPayPalUnilateral: str
UseBillingForShippingDisabled: str
VaultIsDisabled: str
class PayPal:
CustomFieldTooLong: str
class CreditCard:
AccountTypeIsInvalid: str
AccountTypeNotSupported: str
AccountTypeDebitDoesNotSupportAuths: str
class Industry:
IndustryTypeIsInvalid: str
class Lodging:
EmptyData: str
FolioNumberIsInvalid: str
@@ -621,6 +658,7 @@ class ErrorCodes:
AdvancedDepositIndicatorIsInvalid: str
FireSafetyIndicatorIsInvalid: str
PropertyPhoneIsInvalid: str
class TravelCruise:
EmptyData: str
UnknownDataField: str
@@ -628,6 +666,7 @@ class ErrorCodes:
DepartureDateIsInvalid: str
LodgingCheckInDateIsInvalid: str
LodgingCheckOutDateIsInvalid: str
class TravelFlight:
EmptyData: str
UnknownDataField: str
@@ -648,6 +687,7 @@ class ErrorCodes:
TicketNumberIsTooLong: str
LegsExpected: str
TooManyLegs: str
class Leg:
class TravelFlight:
ArrivalAirportCodeIsTooLong: str
@@ -670,6 +710,7 @@ class ErrorCodes:
TaxAmountFormatIsInvalid: str
TaxAmountIsTooLarge: str
TicketNumberIsTooLong: str
class AdditionalCharge:
KindIsInvalid: str
KindMustBeUnique: str
@@ -677,6 +718,7 @@ class ErrorCodes:
AmountFormatIsInvalid: str
AmountIsTooLarge: str
AmountIsRequired: str
class LineItem:
CommodityCodeIsTooLong: str
DescriptionIsTooLong: str
@@ -706,6 +748,7 @@ class ErrorCodes:
TaxAmountFormatIsInvalid: str
TaxAmountIsTooLarge: str
TaxAmountCannotBeNegative: str
class UsBankAccountVerification:
NotConfirmable: str
MustBeMicroTransfersVerification: str
@@ -713,6 +756,7 @@ class ErrorCodes:
TooManyConfirmationAttempts: str
UnableToConfirmDepositAmounts: str
InvalidDepositAmounts: str
class RiskData:
CustomerBrowserIsTooLong: str
CustomerDeviceIdIsTooLong: str

View File

@@ -13,6 +13,7 @@ class MerchantAccount(Resource):
Active: str
Pending: str
Suspended: str
class FundingDestination:
Bank: str
Email: str

View File

@@ -6,9 +6,11 @@ class Search:
def __init__(self, name) -> None: ...
def __eq__(self, value): ...
def is_equal(self, value): ...
class EqualityNodeBuilder(IsNodeBuilder):
def __ne__(self, value): ...
def is_not_equal(self, value): ...
class KeyValueNodeBuilder:
name: Any
def __init__(self, name) -> None: ...
@@ -16,28 +18,35 @@ class Search:
def is_equal(self, value): ...
def __ne__(self, value): ...
def is_not_equal(self, value): ...
class PartialMatchNodeBuilder(EqualityNodeBuilder):
def starts_with(self, value): ...
def ends_with(self, value): ...
class EndsWithNodeBuilder:
name: Any
def __init__(self, name) -> None: ...
def ends_with(self, value): ...
class TextNodeBuilder(PartialMatchNodeBuilder):
def contains(self, value): ...
class Node:
name: Any
dict: Any
def __init__(self, name, dict) -> None: ...
def to_param(self): ...
class MultipleValueNodeBuilder:
name: Any
whitelist: Any
def __init__(self, name, whitelist=...) -> None: ...
def in_list(self, *values): ...
def __eq__(self, value): ...
class MultipleValueOrTextNodeBuilder(TextNodeBuilder, MultipleValueNodeBuilder):
def __init__(self, name, whitelist=...) -> None: ...
class RangeNodeBuilder:
name: Any
def __init__(self, name) -> None: ...

View File

@@ -17,10 +17,12 @@ class Subscription(Resource):
class TrialDurationUnit:
Day: str
Month: str
class Source:
Api: str
ControlPanel: str
Recurring: str
class Status:
Active: str
Canceled: str

View File

@@ -40,6 +40,7 @@ class Transaction(Resource):
class CreatedUsing:
FullInformation: str
Token: str
class GatewayRejectionReason:
ApplicationIncomplete: str
Avs: str
@@ -50,16 +51,19 @@ class Transaction(Resource):
RiskThreshold: str
ThreeDSecure: str
TokenIssuance: str
class Source:
Api: str
ControlPanel: str
Recurring: str
class EscrowStatus:
HoldPending: str
Held: str
ReleasePending: str
Released: str
Refunded: str
class Status:
AuthorizationExpired: str
Authorized: str
@@ -75,13 +79,16 @@ class Transaction(Resource):
Settling: str
SubmittedForSettlement: str
Voided: str
class Type:
Credit: str
Sale: str
class IndustryType:
Lodging: str
TravelAndCruise: str
TravelAndFlight: str
class AdditionalCharge:
Restaurant: str
GiftShop: str

View File

@@ -11,6 +11,7 @@ class UsBankAccountVerification(AttributeGetter):
Unrecognized: str
Verified: str
Pending: str
class VerificationMethod:
NetworkCheck: str
IndependentCheck: str