moovio_sdk 0.3.8__py3-none-any.whl
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.
- moovio_sdk/__init__.py +17 -0
- moovio_sdk/_hooks/__init__.py +5 -0
- moovio_sdk/_hooks/registration.py +13 -0
- moovio_sdk/_hooks/sdkhooks.py +76 -0
- moovio_sdk/_hooks/types.py +106 -0
- moovio_sdk/_version.py +15 -0
- moovio_sdk/accounts.py +2461 -0
- moovio_sdk/adjustments.py +463 -0
- moovio_sdk/apple_pay.py +1417 -0
- moovio_sdk/authentication.py +531 -0
- moovio_sdk/avatars.py +231 -0
- moovio_sdk/bank_accounts.py +2445 -0
- moovio_sdk/basesdk.py +363 -0
- moovio_sdk/branding.py +1089 -0
- moovio_sdk/capabilities.py +1001 -0
- moovio_sdk/card_issuing.py +1351 -0
- moovio_sdk/cards.py +1469 -0
- moovio_sdk/disputes.py +2985 -0
- moovio_sdk/end_to_end_encryption.py +453 -0
- moovio_sdk/enriched_address.py +307 -0
- moovio_sdk/enriched_profile.py +235 -0
- moovio_sdk/fee_plans.py +1759 -0
- moovio_sdk/files.py +775 -0
- moovio_sdk/httpclient.py +136 -0
- moovio_sdk/industries.py +239 -0
- moovio_sdk/institutions.py +261 -0
- moovio_sdk/issuing_transactions.py +1228 -0
- moovio_sdk/models/__init__.py +4 -0
- moovio_sdk/models/components/__init__.py +1411 -0
- moovio_sdk/models/components/account.py +96 -0
- moovio_sdk/models/components/accountcapability.py +20 -0
- moovio_sdk/models/components/accountcountries.py +18 -0
- moovio_sdk/models/components/accountnameverification.py +28 -0
- moovio_sdk/models/components/accounttype.py +11 -0
- moovio_sdk/models/components/accountverificationstatus.py +19 -0
- moovio_sdk/models/components/achcreditsamedaypaymentmethod.py +38 -0
- moovio_sdk/models/components/achcreditstandardpaymentmethod.py +38 -0
- moovio_sdk/models/components/achdebitcollectpaymentmethod.py +38 -0
- moovio_sdk/models/components/achdebitfundpaymentmethod.py +38 -0
- moovio_sdk/models/components/achexception.py +20 -0
- moovio_sdk/models/components/achlocation.py +26 -0
- moovio_sdk/models/components/achparticipant.py +93 -0
- moovio_sdk/models/components/achpaymentdetails.py +30 -0
- moovio_sdk/models/components/achpaymentdetailserror.py +22 -0
- moovio_sdk/models/components/achpaymentsettings.py +16 -0
- moovio_sdk/models/components/achreturncode.py +51 -0
- moovio_sdk/models/components/achtransactiondetails.py +94 -0
- moovio_sdk/models/components/achtransactionstatus.py +15 -0
- moovio_sdk/models/components/addcapabilities.py +15 -0
- moovio_sdk/models/components/address.py +30 -0
- moovio_sdk/models/components/addresserror.py +32 -0
- moovio_sdk/models/components/addresssuggestion.py +34 -0
- moovio_sdk/models/components/addressupdate.py +32 -0
- moovio_sdk/models/components/adjustment.py +29 -0
- moovio_sdk/models/components/amount.py +26 -0
- moovio_sdk/models/components/amountdecimal.py +27 -0
- moovio_sdk/models/components/amountupdate.py +27 -0
- moovio_sdk/models/components/amountvalidationerror.py +17 -0
- moovio_sdk/models/components/applebillingcontact.py +53 -0
- moovio_sdk/models/components/applepayheader.py +41 -0
- moovio_sdk/models/components/applepaymerchantdomains.py +32 -0
- moovio_sdk/models/components/applepaypaymentmethod.py +33 -0
- moovio_sdk/models/components/applepayresponse.py +70 -0
- moovio_sdk/models/components/applicationscope.py +41 -0
- moovio_sdk/models/components/asynccreatedrefund.py +26 -0
- moovio_sdk/models/components/asynctransfer.py +18 -0
- moovio_sdk/models/components/authorizeduser.py +21 -0
- moovio_sdk/models/components/authtoken.py +36 -0
- moovio_sdk/models/components/authtokenrequest.py +46 -0
- moovio_sdk/models/components/bankaccount.py +98 -0
- moovio_sdk/models/components/bankaccountexception.py +96 -0
- moovio_sdk/models/components/bankaccountholdertype.py +11 -0
- moovio_sdk/models/components/bankaccountintegration.py +34 -0
- moovio_sdk/models/components/bankaccountpayload.py +21 -0
- moovio_sdk/models/components/bankaccountstatus.py +12 -0
- moovio_sdk/models/components/bankaccountstatusreason.py +23 -0
- moovio_sdk/models/components/bankaccounttype.py +13 -0
- moovio_sdk/models/components/bankaccountverification.py +30 -0
- moovio_sdk/models/components/bankaccountverificationcreated.py +21 -0
- moovio_sdk/models/components/bankaccountverificationmethod.py +9 -0
- moovio_sdk/models/components/bankaccountverificationstatus.py +13 -0
- moovio_sdk/models/components/bankaccountwaitfor.py +9 -0
- moovio_sdk/models/components/basicpaymentmethod.py +24 -0
- moovio_sdk/models/components/billablefee.py +54 -0
- moovio_sdk/models/components/birthdate.py +19 -0
- moovio_sdk/models/components/birthdateerror.py +20 -0
- moovio_sdk/models/components/birthdateupdate.py +20 -0
- moovio_sdk/models/components/birthdatevalidationerror.py +20 -0
- moovio_sdk/models/components/brandcolor.py +15 -0
- moovio_sdk/models/components/brandcolors.py +21 -0
- moovio_sdk/models/components/brandcolorvalidationerror.py +14 -0
- moovio_sdk/models/components/brandproperties.py +16 -0
- moovio_sdk/models/components/businessprofile.py +81 -0
- moovio_sdk/models/components/businesstype.py +19 -0
- moovio_sdk/models/components/calltoaction.py +19 -0
- moovio_sdk/models/components/cancellation.py +22 -0
- moovio_sdk/models/components/cancellationstatus.py +10 -0
- moovio_sdk/models/components/capabilitieserror.py +14 -0
- moovio_sdk/models/components/capability.py +56 -0
- moovio_sdk/models/components/capabilityid.py +18 -0
- moovio_sdk/models/components/capabilityrequirement.py +26 -0
- moovio_sdk/models/components/capabilitystatus.py +13 -0
- moovio_sdk/models/components/card.py +164 -0
- moovio_sdk/models/components/cardaccountupdater.py +28 -0
- moovio_sdk/models/components/cardacquiringdispute.py +26 -0
- moovio_sdk/models/components/cardacquiringmodel.py +11 -0
- moovio_sdk/models/components/cardacquiringrefund.py +42 -0
- moovio_sdk/models/components/cardaddress.py +32 -0
- moovio_sdk/models/components/cardbrand.py +14 -0
- moovio_sdk/models/components/cardexpiration.py +20 -0
- moovio_sdk/models/components/cardexpirationerror.py +17 -0
- moovio_sdk/models/components/cardissuingnetwork.py +12 -0
- moovio_sdk/models/components/cardpaymentdetails.py +23 -0
- moovio_sdk/models/components/cardpaymentdetailserror.py +17 -0
- moovio_sdk/models/components/cardpaymentpaymentmethod.py +33 -0
- moovio_sdk/models/components/cardpaymentsettings.py +23 -0
- moovio_sdk/models/components/cardtransactiondetails.py +94 -0
- moovio_sdk/models/components/cardtransactionfailurecode.py +32 -0
- moovio_sdk/models/components/cardtransactionstatus.py +15 -0
- moovio_sdk/models/components/cardtype.py +13 -0
- moovio_sdk/models/components/cardupdatereason.py +16 -0
- moovio_sdk/models/components/cardverification.py +38 -0
- moovio_sdk/models/components/cardverificationresult.py +12 -0
- moovio_sdk/models/components/cardvolumedistribution.py +29 -0
- moovio_sdk/models/components/cardvolumedistributionerror.py +32 -0
- moovio_sdk/models/components/collectionpaymentmethodtype.py +12 -0
- moovio_sdk/models/components/colorsvalidationerror.py +21 -0
- moovio_sdk/models/components/completebankaccountverification.py +15 -0
- moovio_sdk/models/components/completedmicrodeposits.py +14 -0
- moovio_sdk/models/components/completemicrodeposits.py +20 -0
- moovio_sdk/models/components/countrieserrors.py +14 -0
- moovio_sdk/models/components/createaccount.py +78 -0
- moovio_sdk/models/components/createaccounterror.py +44 -0
- moovio_sdk/models/components/createaccountsettings.py +40 -0
- moovio_sdk/models/components/createapplepaysession.py +21 -0
- moovio_sdk/models/components/createauthorizeduser.py +26 -0
- moovio_sdk/models/components/createauthorizedusererror.py +24 -0
- moovio_sdk/models/components/createauthorizeduserupdate.py +28 -0
- moovio_sdk/models/components/createbusinesserror.py +88 -0
- moovio_sdk/models/components/createbusinessprofile.py +69 -0
- moovio_sdk/models/components/createevidencefilemultipart.py +63 -0
- moovio_sdk/models/components/createevidencetext.py +20 -0
- moovio_sdk/models/components/createfeeplanagreement.py +14 -0
- moovio_sdk/models/components/createindividualerror.py +72 -0
- moovio_sdk/models/components/createindividualprofile.py +37 -0
- moovio_sdk/models/components/createpaymentlink.py +95 -0
- moovio_sdk/models/components/createprofile.py +22 -0
- moovio_sdk/models/components/createprofileerror.py +19 -0
- moovio_sdk/models/components/createrefund.py +26 -0
- moovio_sdk/models/components/createrefundresponse.py +18 -0
- moovio_sdk/models/components/createrepresentative.py +50 -0
- moovio_sdk/models/components/createreversal.py +15 -0
- moovio_sdk/models/components/createsweepconfig.py +41 -0
- moovio_sdk/models/components/createterminalapplication.py +42 -0
- moovio_sdk/models/components/createtransfer.py +49 -0
- moovio_sdk/models/components/createtransferdestination.py +37 -0
- moovio_sdk/models/components/createtransferdestinationach.py +26 -0
- moovio_sdk/models/components/createtransferdestinationcard.py +19 -0
- moovio_sdk/models/components/createtransferoptions.py +24 -0
- moovio_sdk/models/components/createtransfersource.py +48 -0
- moovio_sdk/models/components/createtransfersourceach.py +40 -0
- moovio_sdk/models/components/createtransfersourcecard.py +35 -0
- moovio_sdk/models/components/customersupport.py +33 -0
- moovio_sdk/models/components/customersupporterror.py +25 -0
- moovio_sdk/models/components/debitholdperiod.py +12 -0
- moovio_sdk/models/components/disbursementpaymentmethodtype.py +13 -0
- moovio_sdk/models/components/displayoptionserror.py +23 -0
- moovio_sdk/models/components/dispute.py +76 -0
- moovio_sdk/models/components/disputeevidenceresponse.py +49 -0
- moovio_sdk/models/components/disputephase.py +13 -0
- moovio_sdk/models/components/disputestatus.py +20 -0
- moovio_sdk/models/components/disputetransferdetails.py +16 -0
- moovio_sdk/models/components/document.py +37 -0
- moovio_sdk/models/components/documenttype.py +13 -0
- moovio_sdk/models/components/domesticpullfromcard.py +12 -0
- moovio_sdk/models/components/domesticpushtocard.py +13 -0
- moovio_sdk/models/components/e2eetoken.py +25 -0
- moovio_sdk/models/components/e2eetokenupdate.py +26 -0
- moovio_sdk/models/components/end2endencryptionerror.py +14 -0
- moovio_sdk/models/components/enrichedaddressresponse.py +15 -0
- moovio_sdk/models/components/enrichedbusinessprofile.py +37 -0
- moovio_sdk/models/components/enrichedbusinessresponse.py +18 -0
- moovio_sdk/models/components/enrichedindustries.py +15 -0
- moovio_sdk/models/components/enrichedindustry.py +32 -0
- moovio_sdk/models/components/enrichedindustrycodes.py +17 -0
- moovio_sdk/models/components/evidencetextresponse.py +28 -0
- moovio_sdk/models/components/evidencetype.py +15 -0
- moovio_sdk/models/components/evidenceuploadresponse.py +50 -0
- moovio_sdk/models/components/facilitatorfee.py +48 -0
- moovio_sdk/models/components/feecategory.py +16 -0
- moovio_sdk/models/components/feemodel.py +12 -0
- moovio_sdk/models/components/feeplan.py +43 -0
- moovio_sdk/models/components/feeplanagreement.py +51 -0
- moovio_sdk/models/components/feeplanagreementstatus.py +9 -0
- moovio_sdk/models/components/feeproperties.py +49 -0
- moovio_sdk/models/components/filedetails.py +55 -0
- moovio_sdk/models/components/filepurpose.py +15 -0
- moovio_sdk/models/components/filestatus.py +12 -0
- moovio_sdk/models/components/fileuploadrequestmultipart.py +69 -0
- moovio_sdk/models/components/financialinstitutions.py +18 -0
- moovio_sdk/models/components/fulfillmentdetails.py +24 -0
- moovio_sdk/models/components/fulfillmentdetailserror.py +20 -0
- moovio_sdk/models/components/fullissuedcard.py +92 -0
- moovio_sdk/models/components/generatedby.py +39 -0
- moovio_sdk/models/components/generatedbyaccountid.py +15 -0
- moovio_sdk/models/components/generatedbybankaccountid.py +17 -0
- moovio_sdk/models/components/generatedbycardid.py +15 -0
- moovio_sdk/models/components/generatedbydisputeid.py +15 -0
- moovio_sdk/models/components/generatedbytransferid.py +15 -0
- moovio_sdk/models/components/governmentid.py +40 -0
- moovio_sdk/models/components/governmentiderror.py +40 -0
- moovio_sdk/models/components/granttype.py +15 -0
- moovio_sdk/models/components/incurredfee.py +44 -0
- moovio_sdk/models/components/individualname.py +32 -0
- moovio_sdk/models/components/individualnameerror.py +24 -0
- moovio_sdk/models/components/individualnameupdate.py +32 -0
- moovio_sdk/models/components/individualprofile.py +45 -0
- moovio_sdk/models/components/industrycodes.py +20 -0
- moovio_sdk/models/components/issuedcard.py +78 -0
- moovio_sdk/models/components/issuedcardauthorization.py +53 -0
- moovio_sdk/models/components/issuedcardauthorizationevent.py +37 -0
- moovio_sdk/models/components/issuedcardauthorizationeventresult.py +12 -0
- moovio_sdk/models/components/issuedcardeventtype.py +15 -0
- moovio_sdk/models/components/issuedcardformfactor.py +10 -0
- moovio_sdk/models/components/issuedcardstate.py +19 -0
- moovio_sdk/models/components/issuedcardtransaction.py +42 -0
- moovio_sdk/models/components/issuingauthorizationstatus.py +14 -0
- moovio_sdk/models/components/issuingcontrols.py +25 -0
- moovio_sdk/models/components/issuingcontrolserror.py +22 -0
- moovio_sdk/models/components/issuingintervallimit.py +10 -0
- moovio_sdk/models/components/issuingmerchantdata.py +47 -0
- moovio_sdk/models/components/issuingvelocitylimit.py +21 -0
- moovio_sdk/models/components/issuingvelocitylimiterror.py +17 -0
- moovio_sdk/models/components/jsonwebkey.py +103 -0
- moovio_sdk/models/components/linkapplepay.py +54 -0
- moovio_sdk/models/components/linkapplepaymentdata.py +51 -0
- moovio_sdk/models/components/linkapplepaymentmethod.py +38 -0
- moovio_sdk/models/components/linkapplepaytoken.py +63 -0
- moovio_sdk/models/components/linkbankaccount.py +26 -0
- moovio_sdk/models/components/linkcard.py +54 -0
- moovio_sdk/models/components/linkcardwaitfor.py +8 -0
- moovio_sdk/models/components/linkedapplepaypaymentmethod.py +30 -0
- moovio_sdk/models/components/listfeesfetchrequest.py +19 -0
- moovio_sdk/models/components/manualtermsofservice.py +34 -0
- moovio_sdk/models/components/manualtermsofserviceupdate.py +41 -0
- moovio_sdk/models/components/microdepositstatus.py +8 -0
- moovio_sdk/models/components/mode.py +11 -0
- moovio_sdk/models/components/moovfeedetails.py +36 -0
- moovio_sdk/models/components/moovwalletpaymentmethod.py +31 -0
- moovio_sdk/models/components/mxauthorizationcode.py +26 -0
- moovio_sdk/models/components/mxpayload.py +46 -0
- moovio_sdk/models/components/occurrence.py +44 -0
- moovio_sdk/models/components/occurrencesresponse.py +80 -0
- moovio_sdk/models/components/occurrencestatus.py +12 -0
- moovio_sdk/models/components/onboardinginvite.py +91 -0
- moovio_sdk/models/components/onboardinginviterequest.py +57 -0
- moovio_sdk/models/components/onboardingpartneraccount.py +31 -0
- moovio_sdk/models/components/partnerpricing.py +46 -0
- moovio_sdk/models/components/partnerpricingagreement.py +56 -0
- moovio_sdk/models/components/patchaccount.py +138 -0
- moovio_sdk/models/components/patchaccounterror.py +38 -0
- moovio_sdk/models/components/patchbusiness.py +72 -0
- moovio_sdk/models/components/patchindividual.py +43 -0
- moovio_sdk/models/components/patchprofile.py +29 -0
- moovio_sdk/models/components/patchsweepconfig.py +147 -0
- moovio_sdk/models/components/patchtransfer.py +51 -0
- moovio_sdk/models/components/paymentdetailserror.py +35 -0
- moovio_sdk/models/components/paymentlink.py +125 -0
- moovio_sdk/models/components/paymentlinkcustomeroptions.py +31 -0
- moovio_sdk/models/components/paymentlinkdisplayoptions.py +39 -0
- moovio_sdk/models/components/paymentlinkdisplayoptionsupdate.py +42 -0
- moovio_sdk/models/components/paymentlinkpaymentdetails.py +40 -0
- moovio_sdk/models/components/paymentlinkpaymentdetailsupdate.py +41 -0
- moovio_sdk/models/components/paymentlinkpayoutdetails.py +32 -0
- moovio_sdk/models/components/paymentlinkpayoutdetailsupdate.py +33 -0
- moovio_sdk/models/components/paymentlinkstatus.py +11 -0
- moovio_sdk/models/components/paymentmethod.py +82 -0
- moovio_sdk/models/components/paymentmethodsbankaccount.py +65 -0
- moovio_sdk/models/components/paymentmethodscard.py +121 -0
- moovio_sdk/models/components/paymentmethodswallet.py +14 -0
- moovio_sdk/models/components/paymentmethodtype.py +19 -0
- moovio_sdk/models/components/payoutdetailserror.py +21 -0
- moovio_sdk/models/components/payoutrecipient.py +23 -0
- moovio_sdk/models/components/payoutrecipienterror.py +14 -0
- moovio_sdk/models/components/payoutrecipientupdate.py +24 -0
- moovio_sdk/models/components/phonenumber.py +18 -0
- moovio_sdk/models/components/phonenumbererror.py +18 -0
- moovio_sdk/models/components/plaidintegration.py +39 -0
- moovio_sdk/models/components/plaidlinkintegration.py +36 -0
- moovio_sdk/models/components/plaidlinkpayload.py +45 -0
- moovio_sdk/models/components/plaidpayload.py +42 -0
- moovio_sdk/models/components/primaryregulator.py +13 -0
- moovio_sdk/models/components/profile.py +27 -0
- moovio_sdk/models/components/pullfromcardpaymentmethod.py +33 -0
- moovio_sdk/models/components/pushtocardpaymentmethod.py +33 -0
- moovio_sdk/models/components/qrcode.py +16 -0
- moovio_sdk/models/components/receiptkind.py +10 -0
- moovio_sdk/models/components/receiptrequest.py +75 -0
- moovio_sdk/models/components/receiptresponse.py +95 -0
- moovio_sdk/models/components/recur.py +40 -0
- moovio_sdk/models/components/refundcarddetails.py +44 -0
- moovio_sdk/models/components/refundcardstatus.py +12 -0
- moovio_sdk/models/components/refundstatus.py +11 -0
- moovio_sdk/models/components/registerapplepaymerchantdomains.py +22 -0
- moovio_sdk/models/components/representative.py +71 -0
- moovio_sdk/models/components/representativeresponsibilities.py +42 -0
- moovio_sdk/models/components/representativeresponsibilitieserror.py +26 -0
- moovio_sdk/models/components/requestcard.py +44 -0
- moovio_sdk/models/components/requirementerror.py +24 -0
- moovio_sdk/models/components/requirementerrorcode.py +25 -0
- moovio_sdk/models/components/requirementid.py +71 -0
- moovio_sdk/models/components/returnpolicytype.py +11 -0
- moovio_sdk/models/components/reversal.py +23 -0
- moovio_sdk/models/components/reversedwithcancellation.py +14 -0
- moovio_sdk/models/components/reversedwithrefund.py +16 -0
- moovio_sdk/models/components/revoketokenrequest.py +40 -0
- moovio_sdk/models/components/rtpcreditpaymentmethod.py +38 -0
- moovio_sdk/models/components/rtpfailurecode.py +19 -0
- moovio_sdk/models/components/rtprejectioncode.py +25 -0
- moovio_sdk/models/components/rtptransactiondetails.py +56 -0
- moovio_sdk/models/components/rtptransactionstatus.py +13 -0
- moovio_sdk/models/components/runtransfer.py +34 -0
- moovio_sdk/models/components/schedulepaymentmethod.py +56 -0
- moovio_sdk/models/components/scheduleresponse.py +60 -0
- moovio_sdk/models/components/seccode.py +13 -0
- moovio_sdk/models/components/security.py +32 -0
- moovio_sdk/models/components/sentreceipt.py +27 -0
- moovio_sdk/models/components/settings.py +30 -0
- moovio_sdk/models/components/sourcedestinationoptions.py +20 -0
- moovio_sdk/models/components/sweep.py +80 -0
- moovio_sdk/models/components/sweepconfig.py +81 -0
- moovio_sdk/models/components/sweepconfigpaymentmethod.py +31 -0
- moovio_sdk/models/components/sweepconfigstatus.py +9 -0
- moovio_sdk/models/components/sweepstatus.py +13 -0
- moovio_sdk/models/components/taxid.py +25 -0
- moovio_sdk/models/components/taxidupdate.py +26 -0
- moovio_sdk/models/components/terminalapplication.py +55 -0
- moovio_sdk/models/components/terminalapplicationplatform.py +12 -0
- moovio_sdk/models/components/terminalapplicationstatus.py +13 -0
- moovio_sdk/models/components/termsofservice.py +26 -0
- moovio_sdk/models/components/termsofserviceerror.py +39 -0
- moovio_sdk/models/components/termsofservicetoken.py +17 -0
- moovio_sdk/models/components/termsofservicetokenupdate.py +18 -0
- moovio_sdk/models/components/tokentype.py +10 -0
- moovio_sdk/models/components/transactionsource.py +16 -0
- moovio_sdk/models/components/transfer.py +126 -0
- moovio_sdk/models/components/transferaccount.py +20 -0
- moovio_sdk/models/components/transferdestination.py +83 -0
- moovio_sdk/models/components/transferfailurereason.py +14 -0
- moovio_sdk/models/components/transferoptions.py +23 -0
- moovio_sdk/models/components/transferresponse.py +15 -0
- moovio_sdk/models/components/transfersource.py +80 -0
- moovio_sdk/models/components/transferstatus.py +16 -0
- moovio_sdk/models/components/transferwaitfor.py +8 -0
- moovio_sdk/models/components/underwriting.py +56 -0
- moovio_sdk/models/components/underwritingstatus.py +16 -0
- moovio_sdk/models/components/updateapplepaymerchantdomains.py +26 -0
- moovio_sdk/models/components/updatebrand.py +15 -0
- moovio_sdk/models/components/updatecard.py +51 -0
- moovio_sdk/models/components/updatecardaddress.py +32 -0
- moovio_sdk/models/components/updatecardexpiration.py +17 -0
- moovio_sdk/models/components/updatecolor.py +14 -0
- moovio_sdk/models/components/updatecolors.py +18 -0
- moovio_sdk/models/components/updateevidence.py +23 -0
- moovio_sdk/models/components/updateissuedcard.py +44 -0
- moovio_sdk/models/components/updatepaymentlink.py +98 -0
- moovio_sdk/models/components/updaterepresentative.py +224 -0
- moovio_sdk/models/components/updateunderwriting.py +43 -0
- moovio_sdk/models/components/upsertschedule.py +26 -0
- moovio_sdk/models/components/verification.py +54 -0
- moovio_sdk/models/components/verificationstatus.py +17 -0
- moovio_sdk/models/components/verificationstatusdetail.py +23 -0
- moovio_sdk/models/components/volumebycustomertype.py +21 -0
- moovio_sdk/models/components/volumebycustomertypeerror.py +22 -0
- moovio_sdk/models/components/wallet.py +27 -0
- moovio_sdk/models/components/walletavailablebalance.py +30 -0
- moovio_sdk/models/components/wallettransaction.py +114 -0
- moovio_sdk/models/components/wallettransactionsourcetype.py +13 -0
- moovio_sdk/models/components/wallettransactionstatus.py +11 -0
- moovio_sdk/models/components/wallettransactiontype.py +32 -0
- moovio_sdk/models/errors/__init__.py +155 -0
- moovio_sdk/models/errors/addcapabilitieserror.py +23 -0
- moovio_sdk/models/errors/apierror.py +22 -0
- moovio_sdk/models/errors/assigncountrieserror.py +20 -0
- moovio_sdk/models/errors/authtokenrequesterror.py +22 -0
- moovio_sdk/models/errors/bankaccountvalidationerror.py +30 -0
- moovio_sdk/models/errors/brandvalidationerror.py +23 -0
- moovio_sdk/models/errors/cardacquiringrefund.py +44 -0
- moovio_sdk/models/errors/createaccount.py +24 -0
- moovio_sdk/models/errors/createpaymentlinkerror.py +46 -0
- moovio_sdk/models/errors/createsweepconfigerror.py +40 -0
- moovio_sdk/models/errors/feeplanagreementerror.py +22 -0
- moovio_sdk/models/errors/fileuploadvalidationerror.py +35 -0
- moovio_sdk/models/errors/filevalidationerror.py +28 -0
- moovio_sdk/models/errors/genericerror.py +19 -0
- moovio_sdk/models/errors/linkapplepayerror.py +36 -0
- moovio_sdk/models/errors/linkcarderror.py +47 -0
- moovio_sdk/models/errors/microdepositvalidationerror.py +20 -0
- moovio_sdk/models/errors/onboardinginviteerror.py +34 -0
- moovio_sdk/models/errors/patchsweepconfigerror.py +38 -0
- moovio_sdk/models/errors/receiptvalidationerror.py +40 -0
- moovio_sdk/models/errors/refundvalidationerror.py +23 -0
- moovio_sdk/models/errors/representativevalidationerror.py +68 -0
- moovio_sdk/models/errors/requestcarderror.py +42 -0
- moovio_sdk/models/errors/reversalvalidationerror.py +20 -0
- moovio_sdk/models/errors/revoketokenrequesterror.py +22 -0
- moovio_sdk/models/errors/schedulevalidationerror.py +24 -0
- moovio_sdk/models/errors/terminalapplicationerror.py +30 -0
- moovio_sdk/models/errors/transfer.py +108 -0
- moovio_sdk/models/errors/transferoptionsvalidationerror.py +24 -0
- moovio_sdk/models/errors/transfervalidationerror.py +49 -0
- moovio_sdk/models/errors/updateaccount.py +24 -0
- moovio_sdk/models/errors/updatecarderror.py +43 -0
- moovio_sdk/models/errors/updateissuedcarderror.py +32 -0
- moovio_sdk/models/errors/updatepaymentlinkerror.py +36 -0
- moovio_sdk/models/errors/updateunderwritingerror.py +70 -0
- moovio_sdk/models/internal/__init__.py +6 -0
- moovio_sdk/models/internal/globals.py +40 -0
- moovio_sdk/models/operations/__init__.py +1824 -0
- moovio_sdk/models/operations/acceptdispute.py +71 -0
- moovio_sdk/models/operations/assignaccountcountries.py +75 -0
- moovio_sdk/models/operations/cancelschedule.py +67 -0
- moovio_sdk/models/operations/completebankaccountverification.py +85 -0
- moovio_sdk/models/operations/completemicrodeposits.py +87 -0
- moovio_sdk/models/operations/createaccesstoken.py +52 -0
- moovio_sdk/models/operations/createaccount.py +52 -0
- moovio_sdk/models/operations/createapplepaysession.py +81 -0
- moovio_sdk/models/operations/createbrand.py +75 -0
- moovio_sdk/models/operations/createcancellation.py +75 -0
- moovio_sdk/models/operations/createfeeplanagreements.py +80 -0
- moovio_sdk/models/operations/createonboardinginvite.py +52 -0
- moovio_sdk/models/operations/createpaymentlink.py +78 -0
- moovio_sdk/models/operations/createreceipts.py +52 -0
- moovio_sdk/models/operations/createrepresentative.py +80 -0
- moovio_sdk/models/operations/createreversal.py +98 -0
- moovio_sdk/models/operations/createschedule.py +78 -0
- moovio_sdk/models/operations/createsweepconfig.py +78 -0
- moovio_sdk/models/operations/createterminalapplication.py +54 -0
- moovio_sdk/models/operations/createtransfer.py +125 -0
- moovio_sdk/models/operations/createtransferoptions.py +52 -0
- moovio_sdk/models/operations/deletedisputeevidencefile.py +74 -0
- moovio_sdk/models/operations/deleterepresentative.py +71 -0
- moovio_sdk/models/operations/deleteterminalapplication.py +60 -0
- moovio_sdk/models/operations/disablebankaccount.py +67 -0
- moovio_sdk/models/operations/disablecapability.py +76 -0
- moovio_sdk/models/operations/disablecard.py +67 -0
- moovio_sdk/models/operations/disablepaymentlink.py +67 -0
- moovio_sdk/models/operations/disconnectaccount.py +60 -0
- moovio_sdk/models/operations/generateendtoendkey.py +60 -0
- moovio_sdk/models/operations/getaccount.py +64 -0
- moovio_sdk/models/operations/getaccountcountries.py +64 -0
- moovio_sdk/models/operations/getadjustment.py +71 -0
- moovio_sdk/models/operations/getapplepaymerchantdomains.py +68 -0
- moovio_sdk/models/operations/getavatar.py +66 -0
- moovio_sdk/models/operations/getbankaccount.py +71 -0
- moovio_sdk/models/operations/getbankaccountverification.py +73 -0
- moovio_sdk/models/operations/getbrand.py +64 -0
- moovio_sdk/models/operations/getcancellation.py +84 -0
- moovio_sdk/models/operations/getcapability.py +82 -0
- moovio_sdk/models/operations/getcard.py +71 -0
- moovio_sdk/models/operations/getdispute.py +71 -0
- moovio_sdk/models/operations/getdisputeevidence.py +80 -0
- moovio_sdk/models/operations/getdisputeevidencedata.py +90 -0
- moovio_sdk/models/operations/getenrichmentaddress.py +178 -0
- moovio_sdk/models/operations/getenrichmentprofile.py +64 -0
- moovio_sdk/models/operations/getfiledetails.py +71 -0
- moovio_sdk/models/operations/getfullissuedcard.py +73 -0
- moovio_sdk/models/operations/getissuedcard.py +73 -0
- moovio_sdk/models/operations/getissuedcardauthorization.py +75 -0
- moovio_sdk/models/operations/getissuedcardtransaction.py +75 -0
- moovio_sdk/models/operations/getmerchantprocessingagreement.py +64 -0
- moovio_sdk/models/operations/getonboardinginvite.py +62 -0
- moovio_sdk/models/operations/getpaymentlink.py +71 -0
- moovio_sdk/models/operations/getpaymentlinkqrcode.py +84 -0
- moovio_sdk/models/operations/getpaymentmethod.py +71 -0
- moovio_sdk/models/operations/getrefund.py +84 -0
- moovio_sdk/models/operations/getrepresentative.py +75 -0
- moovio_sdk/models/operations/getscheduledoccurrence.py +92 -0
- moovio_sdk/models/operations/getschedules.py +71 -0
- moovio_sdk/models/operations/getsweep.py +78 -0
- moovio_sdk/models/operations/getsweepconfig.py +71 -0
- moovio_sdk/models/operations/getterminalapplication.py +66 -0
- moovio_sdk/models/operations/gettermsofservicetoken.py +75 -0
- moovio_sdk/models/operations/gettransfer.py +73 -0
- moovio_sdk/models/operations/getunderwriting.py +64 -0
- moovio_sdk/models/operations/getwallet.py +71 -0
- moovio_sdk/models/operations/getwallettransaction.py +80 -0
- moovio_sdk/models/operations/initiatebankaccountverification.py +89 -0
- moovio_sdk/models/operations/initiatemicrodeposits.py +67 -0
- moovio_sdk/models/operations/initiaterefund.py +131 -0
- moovio_sdk/models/operations/linkapplepaytoken.py +80 -0
- moovio_sdk/models/operations/linkbankaccount.py +96 -0
- moovio_sdk/models/operations/linkcard.py +96 -0
- moovio_sdk/models/operations/listaccounts.py +171 -0
- moovio_sdk/models/operations/listadjustments.py +78 -0
- moovio_sdk/models/operations/listbankaccounts.py +64 -0
- moovio_sdk/models/operations/listcapabilities.py +64 -0
- moovio_sdk/models/operations/listcards.py +64 -0
- moovio_sdk/models/operations/listdisputeevidence.py +73 -0
- moovio_sdk/models/operations/listdisputes.py +172 -0
- moovio_sdk/models/operations/listfeeplanagreements.py +101 -0
- moovio_sdk/models/operations/listfeeplans.py +78 -0
- moovio_sdk/models/operations/listfeesfetch.py +80 -0
- moovio_sdk/models/operations/listfiles.py +64 -0
- moovio_sdk/models/operations/listindustries.py +62 -0
- moovio_sdk/models/operations/listinstitutions.py +92 -0
- moovio_sdk/models/operations/listissuedcardauthorizationevents.py +94 -0
- moovio_sdk/models/operations/listissuedcardauthorizations.py +126 -0
- moovio_sdk/models/operations/listissuedcards.py +94 -0
- moovio_sdk/models/operations/listissuedcardtransactions.py +113 -0
- moovio_sdk/models/operations/listonboardinginvites.py +60 -0
- moovio_sdk/models/operations/listpartnerpricing.py +78 -0
- moovio_sdk/models/operations/listpartnerpricingagreements.py +101 -0
- moovio_sdk/models/operations/listpaymentlinks.py +64 -0
- moovio_sdk/models/operations/listpaymentmethods.py +98 -0
- moovio_sdk/models/operations/listreceipts.py +65 -0
- moovio_sdk/models/operations/listrefunds.py +75 -0
- moovio_sdk/models/operations/listrepresentatives.py +66 -0
- moovio_sdk/models/operations/listschedules.py +81 -0
- moovio_sdk/models/operations/listsweepconfigs.py +64 -0
- moovio_sdk/models/operations/listsweeps.py +108 -0
- moovio_sdk/models/operations/listterminalapplications.py +62 -0
- moovio_sdk/models/operations/listtransfers.py +145 -0
- moovio_sdk/models/operations/listwallets.py +64 -0
- moovio_sdk/models/operations/listwallettransactions.py +189 -0
- moovio_sdk/models/operations/ping.py +56 -0
- moovio_sdk/models/operations/registerapplepaymerchantdomains.py +80 -0
- moovio_sdk/models/operations/requestcapabilities.py +78 -0
- moovio_sdk/models/operations/requestcard.py +80 -0
- moovio_sdk/models/operations/retrievefees.py +117 -0
- moovio_sdk/models/operations/revokeaccesstoken.py +48 -0
- moovio_sdk/models/operations/revokeonboardinginvite.py +58 -0
- moovio_sdk/models/operations/submitdisputeevidence.py +71 -0
- moovio_sdk/models/operations/testendtoendtoken.py +56 -0
- moovio_sdk/models/operations/updateaccount.py +78 -0
- moovio_sdk/models/operations/updateapplepaymerchantdomains.py +78 -0
- moovio_sdk/models/operations/updatebrand.py +78 -0
- moovio_sdk/models/operations/updatecard.py +85 -0
- moovio_sdk/models/operations/updatedisputeevidence.py +92 -0
- moovio_sdk/models/operations/updateissuedcard.py +81 -0
- moovio_sdk/models/operations/updatepaymentlink.py +85 -0
- moovio_sdk/models/operations/updaterepresentative.py +89 -0
- moovio_sdk/models/operations/updateschedule.py +85 -0
- moovio_sdk/models/operations/updatesweepconfig.py +85 -0
- moovio_sdk/models/operations/updatetransfer.py +87 -0
- moovio_sdk/models/operations/uploaddisputeevidencefile.py +87 -0
- moovio_sdk/models/operations/uploaddisputeevidencetext.py +85 -0
- moovio_sdk/models/operations/uploadfile.py +80 -0
- moovio_sdk/models/operations/upsertbrand.py +75 -0
- moovio_sdk/models/operations/upsertunderwriting.py +78 -0
- moovio_sdk/onboarding.py +965 -0
- moovio_sdk/payment_links.py +1694 -0
- moovio_sdk/payment_methods.py +475 -0
- moovio_sdk/ping.py +233 -0
- moovio_sdk/py.typed +1 -0
- moovio_sdk/receipts.py +507 -0
- moovio_sdk/representatives.py +1513 -0
- moovio_sdk/scheduling.py +1565 -0
- moovio_sdk/sdk.py +242 -0
- moovio_sdk/sdkconfiguration.py +59 -0
- moovio_sdk/sweeps.py +1617 -0
- moovio_sdk/terminal_applications.py +1013 -0
- moovio_sdk/transfers.py +3040 -0
- moovio_sdk/types/__init__.py +21 -0
- moovio_sdk/types/basemodel.py +39 -0
- moovio_sdk/underwriting.py +581 -0
- moovio_sdk/utils/__init__.py +101 -0
- moovio_sdk/utils/annotations.py +55 -0
- moovio_sdk/utils/enums.py +34 -0
- moovio_sdk/utils/eventstreaming.py +238 -0
- moovio_sdk/utils/forms.py +202 -0
- moovio_sdk/utils/headers.py +136 -0
- moovio_sdk/utils/logger.py +27 -0
- moovio_sdk/utils/metadata.py +118 -0
- moovio_sdk/utils/queryparams.py +205 -0
- moovio_sdk/utils/requestbodies.py +66 -0
- moovio_sdk/utils/retries.py +217 -0
- moovio_sdk/utils/security.py +195 -0
- moovio_sdk/utils/serializers.py +215 -0
- moovio_sdk/utils/url.py +155 -0
- moovio_sdk/utils/values.py +137 -0
- moovio_sdk/wallet_transactions.py +558 -0
- moovio_sdk/wallets.py +465 -0
- moovio_sdk-0.3.8.dist-info/METADATA +1920 -0
- moovio_sdk-0.3.8.dist-info/RECORD +586 -0
- moovio_sdk-0.3.8.dist-info/WHEEL +4 -0
@@ -0,0 +1,138 @@
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
2
|
+
|
3
|
+
from __future__ import annotations
|
4
|
+
from .addressupdate import AddressUpdate, AddressUpdateTypedDict
|
5
|
+
from .createaccountsettings import CreateAccountSettings, CreateAccountSettingsTypedDict
|
6
|
+
from .manualtermsofserviceupdate import (
|
7
|
+
ManualTermsOfServiceUpdate,
|
8
|
+
ManualTermsOfServiceUpdateTypedDict,
|
9
|
+
)
|
10
|
+
from .patchprofile import PatchProfile, PatchProfileTypedDict
|
11
|
+
from .phonenumber import PhoneNumber, PhoneNumberTypedDict
|
12
|
+
from .termsofservicetokenupdate import (
|
13
|
+
TermsOfServiceTokenUpdate,
|
14
|
+
TermsOfServiceTokenUpdateTypedDict,
|
15
|
+
)
|
16
|
+
from moovio_sdk.types import (
|
17
|
+
BaseModel,
|
18
|
+
Nullable,
|
19
|
+
OptionalNullable,
|
20
|
+
UNSET,
|
21
|
+
UNSET_SENTINEL,
|
22
|
+
)
|
23
|
+
import pydantic
|
24
|
+
from pydantic import model_serializer
|
25
|
+
from typing import Dict, Optional, Union
|
26
|
+
from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict
|
27
|
+
|
28
|
+
|
29
|
+
PatchAccountTermsOfServiceTypedDict = TypeAliasType(
|
30
|
+
"PatchAccountTermsOfServiceTypedDict",
|
31
|
+
Union[TermsOfServiceTokenUpdateTypedDict, ManualTermsOfServiceUpdateTypedDict],
|
32
|
+
)
|
33
|
+
|
34
|
+
|
35
|
+
PatchAccountTermsOfService = TypeAliasType(
|
36
|
+
"PatchAccountTermsOfService",
|
37
|
+
Union[TermsOfServiceTokenUpdate, ManualTermsOfServiceUpdate],
|
38
|
+
)
|
39
|
+
|
40
|
+
|
41
|
+
class PatchAccountCustomerSupportTypedDict(TypedDict):
|
42
|
+
r"""User-provided information that can be displayed on credit card transactions for customers to use when
|
43
|
+
contacting a customer support team. This data is only allowed on a business account.
|
44
|
+
"""
|
45
|
+
|
46
|
+
phone: NotRequired[PhoneNumberTypedDict]
|
47
|
+
email: NotRequired[str]
|
48
|
+
address: NotRequired[AddressUpdateTypedDict]
|
49
|
+
website: NotRequired[str]
|
50
|
+
|
51
|
+
|
52
|
+
class PatchAccountCustomerSupport(BaseModel):
|
53
|
+
r"""User-provided information that can be displayed on credit card transactions for customers to use when
|
54
|
+
contacting a customer support team. This data is only allowed on a business account.
|
55
|
+
"""
|
56
|
+
|
57
|
+
phone: Optional[PhoneNumber] = None
|
58
|
+
|
59
|
+
email: Optional[str] = None
|
60
|
+
|
61
|
+
address: Optional[AddressUpdate] = None
|
62
|
+
|
63
|
+
website: Optional[str] = None
|
64
|
+
|
65
|
+
|
66
|
+
class PatchAccountTypedDict(TypedDict):
|
67
|
+
r"""Describes the fields available when patching a Moov account."""
|
68
|
+
|
69
|
+
profile: NotRequired[PatchProfileTypedDict]
|
70
|
+
r"""Describes the fields available when patching a profile.
|
71
|
+
Each object can be patched independent of patching the other fields.
|
72
|
+
"""
|
73
|
+
metadata: NotRequired[Nullable[Dict[str, str]]]
|
74
|
+
terms_of_service: NotRequired[PatchAccountTermsOfServiceTypedDict]
|
75
|
+
foreign_id: NotRequired[str]
|
76
|
+
customer_support: NotRequired[Nullable[PatchAccountCustomerSupportTypedDict]]
|
77
|
+
settings: NotRequired[CreateAccountSettingsTypedDict]
|
78
|
+
|
79
|
+
|
80
|
+
class PatchAccount(BaseModel):
|
81
|
+
r"""Describes the fields available when patching a Moov account."""
|
82
|
+
|
83
|
+
profile: Optional[PatchProfile] = None
|
84
|
+
r"""Describes the fields available when patching a profile.
|
85
|
+
Each object can be patched independent of patching the other fields.
|
86
|
+
"""
|
87
|
+
|
88
|
+
metadata: OptionalNullable[Dict[str, str]] = UNSET
|
89
|
+
|
90
|
+
terms_of_service: Annotated[
|
91
|
+
Optional[PatchAccountTermsOfService], pydantic.Field(alias="termsOfService")
|
92
|
+
] = None
|
93
|
+
|
94
|
+
foreign_id: Annotated[Optional[str], pydantic.Field(alias="foreignID")] = None
|
95
|
+
|
96
|
+
customer_support: Annotated[
|
97
|
+
OptionalNullable[PatchAccountCustomerSupport],
|
98
|
+
pydantic.Field(alias="customerSupport"),
|
99
|
+
] = UNSET
|
100
|
+
|
101
|
+
settings: Optional[CreateAccountSettings] = None
|
102
|
+
|
103
|
+
@model_serializer(mode="wrap")
|
104
|
+
def serialize_model(self, handler):
|
105
|
+
optional_fields = [
|
106
|
+
"profile",
|
107
|
+
"metadata",
|
108
|
+
"termsOfService",
|
109
|
+
"foreignID",
|
110
|
+
"customerSupport",
|
111
|
+
"settings",
|
112
|
+
]
|
113
|
+
nullable_fields = ["metadata", "customerSupport"]
|
114
|
+
null_default_fields = []
|
115
|
+
|
116
|
+
serialized = handler(self)
|
117
|
+
|
118
|
+
m = {}
|
119
|
+
|
120
|
+
for n, f in self.model_fields.items():
|
121
|
+
k = f.alias or n
|
122
|
+
val = serialized.get(k)
|
123
|
+
serialized.pop(k, None)
|
124
|
+
|
125
|
+
optional_nullable = k in optional_fields and k in nullable_fields
|
126
|
+
is_set = (
|
127
|
+
self.__pydantic_fields_set__.intersection({n})
|
128
|
+
or k in null_default_fields
|
129
|
+
) # pylint: disable=no-member
|
130
|
+
|
131
|
+
if val is not None and val != UNSET_SENTINEL:
|
132
|
+
m[k] = val
|
133
|
+
elif val != UNSET_SENTINEL and (
|
134
|
+
not k in optional_fields or (optional_nullable and is_set)
|
135
|
+
):
|
136
|
+
m[k] = val
|
137
|
+
|
138
|
+
return m
|
@@ -0,0 +1,38 @@
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
2
|
+
|
3
|
+
from __future__ import annotations
|
4
|
+
from .createaccountsettings import CreateAccountSettings, CreateAccountSettingsTypedDict
|
5
|
+
from .createprofileerror import CreateProfileError, CreateProfileErrorTypedDict
|
6
|
+
from .customersupporterror import CustomerSupportError, CustomerSupportErrorTypedDict
|
7
|
+
from .termsofserviceerror import TermsOfServiceError, TermsOfServiceErrorTypedDict
|
8
|
+
from moovio_sdk.types import BaseModel
|
9
|
+
import pydantic
|
10
|
+
from typing import Optional
|
11
|
+
from typing_extensions import Annotated, NotRequired, TypedDict
|
12
|
+
|
13
|
+
|
14
|
+
class PatchAccountErrorTypedDict(TypedDict):
|
15
|
+
profile: NotRequired[CreateProfileErrorTypedDict]
|
16
|
+
metadata: NotRequired[str]
|
17
|
+
terms_of_service: NotRequired[TermsOfServiceErrorTypedDict]
|
18
|
+
foreign_id: NotRequired[str]
|
19
|
+
customer_support: NotRequired[CustomerSupportErrorTypedDict]
|
20
|
+
settings: NotRequired[CreateAccountSettingsTypedDict]
|
21
|
+
|
22
|
+
|
23
|
+
class PatchAccountError(BaseModel):
|
24
|
+
profile: Optional[CreateProfileError] = None
|
25
|
+
|
26
|
+
metadata: Optional[str] = None
|
27
|
+
|
28
|
+
terms_of_service: Annotated[
|
29
|
+
Optional[TermsOfServiceError], pydantic.Field(alias="termsOfService")
|
30
|
+
] = None
|
31
|
+
|
32
|
+
foreign_id: Annotated[Optional[str], pydantic.Field(alias="foreignID")] = None
|
33
|
+
|
34
|
+
customer_support: Annotated[
|
35
|
+
Optional[CustomerSupportError], pydantic.Field(alias="customerSupport")
|
36
|
+
] = None
|
37
|
+
|
38
|
+
settings: Optional[CreateAccountSettings] = None
|
@@ -0,0 +1,72 @@
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
2
|
+
|
3
|
+
from __future__ import annotations
|
4
|
+
from .addressupdate import AddressUpdate, AddressUpdateTypedDict
|
5
|
+
from .businesstype import BusinessType
|
6
|
+
from .industrycodes import IndustryCodes, IndustryCodesTypedDict
|
7
|
+
from .phonenumber import PhoneNumber, PhoneNumberTypedDict
|
8
|
+
from .primaryregulator import PrimaryRegulator
|
9
|
+
from .taxidupdate import TaxIDUpdate, TaxIDUpdateTypedDict
|
10
|
+
from moovio_sdk.types import BaseModel
|
11
|
+
import pydantic
|
12
|
+
from typing import Optional
|
13
|
+
from typing_extensions import Annotated, NotRequired, TypedDict
|
14
|
+
|
15
|
+
|
16
|
+
class PatchBusinessTypedDict(TypedDict):
|
17
|
+
legal_business_name: NotRequired[str]
|
18
|
+
doing_business_as: NotRequired[str]
|
19
|
+
business_type: NotRequired[BusinessType]
|
20
|
+
r"""The type of entity represented by this business."""
|
21
|
+
address: NotRequired[AddressUpdateTypedDict]
|
22
|
+
phone: NotRequired[PhoneNumberTypedDict]
|
23
|
+
email: NotRequired[str]
|
24
|
+
website: NotRequired[str]
|
25
|
+
description: NotRequired[str]
|
26
|
+
tax_id: NotRequired[TaxIDUpdateTypedDict]
|
27
|
+
r"""An EIN (employer identification number) for the business. For sole proprietors, an SSN can be used as the EIN."""
|
28
|
+
owners_provided: NotRequired[bool]
|
29
|
+
industry_codes: NotRequired[IndustryCodesTypedDict]
|
30
|
+
primary_regulator: NotRequired[PrimaryRegulator]
|
31
|
+
r"""If the business is a financial institution, this field describes its primary regulator."""
|
32
|
+
|
33
|
+
|
34
|
+
class PatchBusiness(BaseModel):
|
35
|
+
legal_business_name: Annotated[
|
36
|
+
Optional[str], pydantic.Field(alias="legalBusinessName")
|
37
|
+
] = None
|
38
|
+
|
39
|
+
doing_business_as: Annotated[
|
40
|
+
Optional[str], pydantic.Field(alias="doingBusinessAs")
|
41
|
+
] = None
|
42
|
+
|
43
|
+
business_type: Annotated[
|
44
|
+
Optional[BusinessType], pydantic.Field(alias="businessType")
|
45
|
+
] = None
|
46
|
+
r"""The type of entity represented by this business."""
|
47
|
+
|
48
|
+
address: Optional[AddressUpdate] = None
|
49
|
+
|
50
|
+
phone: Optional[PhoneNumber] = None
|
51
|
+
|
52
|
+
email: Optional[str] = None
|
53
|
+
|
54
|
+
website: Optional[str] = None
|
55
|
+
|
56
|
+
description: Optional[str] = None
|
57
|
+
|
58
|
+
tax_id: Annotated[Optional[TaxIDUpdate], pydantic.Field(alias="taxID")] = None
|
59
|
+
r"""An EIN (employer identification number) for the business. For sole proprietors, an SSN can be used as the EIN."""
|
60
|
+
|
61
|
+
owners_provided: Annotated[
|
62
|
+
Optional[bool], pydantic.Field(alias="ownersProvided")
|
63
|
+
] = None
|
64
|
+
|
65
|
+
industry_codes: Annotated[
|
66
|
+
Optional[IndustryCodes], pydantic.Field(alias="industryCodes")
|
67
|
+
] = None
|
68
|
+
|
69
|
+
primary_regulator: Annotated[
|
70
|
+
Optional[PrimaryRegulator], pydantic.Field(alias="primaryRegulator")
|
71
|
+
] = None
|
72
|
+
r"""If the business is a financial institution, this field describes its primary regulator."""
|
@@ -0,0 +1,43 @@
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
2
|
+
|
3
|
+
from __future__ import annotations
|
4
|
+
from .addressupdate import AddressUpdate, AddressUpdateTypedDict
|
5
|
+
from .birthdateupdate import BirthDateUpdate, BirthDateUpdateTypedDict
|
6
|
+
from .governmentid import GovernmentID, GovernmentIDTypedDict
|
7
|
+
from .individualnameupdate import IndividualNameUpdate, IndividualNameUpdateTypedDict
|
8
|
+
from .phonenumber import PhoneNumber, PhoneNumberTypedDict
|
9
|
+
from moovio_sdk.types import BaseModel
|
10
|
+
import pydantic
|
11
|
+
from typing import Optional
|
12
|
+
from typing_extensions import Annotated, NotRequired, TypedDict
|
13
|
+
|
14
|
+
|
15
|
+
class PatchIndividualTypedDict(TypedDict):
|
16
|
+
r"""Describes the fields available when patching an individual."""
|
17
|
+
|
18
|
+
name: NotRequired[IndividualNameUpdateTypedDict]
|
19
|
+
phone: NotRequired[PhoneNumberTypedDict]
|
20
|
+
email: NotRequired[str]
|
21
|
+
address: NotRequired[AddressUpdateTypedDict]
|
22
|
+
birth_date: NotRequired[BirthDateUpdateTypedDict]
|
23
|
+
government_id: NotRequired[GovernmentIDTypedDict]
|
24
|
+
|
25
|
+
|
26
|
+
class PatchIndividual(BaseModel):
|
27
|
+
r"""Describes the fields available when patching an individual."""
|
28
|
+
|
29
|
+
name: Optional[IndividualNameUpdate] = None
|
30
|
+
|
31
|
+
phone: Optional[PhoneNumber] = None
|
32
|
+
|
33
|
+
email: Optional[str] = None
|
34
|
+
|
35
|
+
address: Optional[AddressUpdate] = None
|
36
|
+
|
37
|
+
birth_date: Annotated[
|
38
|
+
Optional[BirthDateUpdate], pydantic.Field(alias="birthDate")
|
39
|
+
] = None
|
40
|
+
|
41
|
+
government_id: Annotated[
|
42
|
+
Optional[GovernmentID], pydantic.Field(alias="governmentID")
|
43
|
+
] = None
|
@@ -0,0 +1,29 @@
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
2
|
+
|
3
|
+
from __future__ import annotations
|
4
|
+
from .patchbusiness import PatchBusiness, PatchBusinessTypedDict
|
5
|
+
from .patchindividual import PatchIndividual, PatchIndividualTypedDict
|
6
|
+
from moovio_sdk.types import BaseModel
|
7
|
+
from typing import Optional
|
8
|
+
from typing_extensions import NotRequired, TypedDict
|
9
|
+
|
10
|
+
|
11
|
+
class PatchProfileTypedDict(TypedDict):
|
12
|
+
r"""Describes the fields available when patching a profile.
|
13
|
+
Each object can be patched independent of patching the other fields.
|
14
|
+
"""
|
15
|
+
|
16
|
+
individual: NotRequired[PatchIndividualTypedDict]
|
17
|
+
r"""Describes the fields available when patching an individual."""
|
18
|
+
business: NotRequired[PatchBusinessTypedDict]
|
19
|
+
|
20
|
+
|
21
|
+
class PatchProfile(BaseModel):
|
22
|
+
r"""Describes the fields available when patching a profile.
|
23
|
+
Each object can be patched independent of patching the other fields.
|
24
|
+
"""
|
25
|
+
|
26
|
+
individual: Optional[PatchIndividual] = None
|
27
|
+
r"""Describes the fields available when patching an individual."""
|
28
|
+
|
29
|
+
business: Optional[PatchBusiness] = None
|
@@ -0,0 +1,147 @@
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
2
|
+
|
3
|
+
from __future__ import annotations
|
4
|
+
from enum import Enum
|
5
|
+
from moovio_sdk.types import (
|
6
|
+
BaseModel,
|
7
|
+
Nullable,
|
8
|
+
OptionalNullable,
|
9
|
+
UNSET,
|
10
|
+
UNSET_SENTINEL,
|
11
|
+
)
|
12
|
+
import pydantic
|
13
|
+
from pydantic import model_serializer
|
14
|
+
from typing import Union
|
15
|
+
from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict
|
16
|
+
|
17
|
+
|
18
|
+
class Status(str, Enum):
|
19
|
+
ENABLED = "enabled"
|
20
|
+
DISABLED = "disabled"
|
21
|
+
|
22
|
+
|
23
|
+
class PushPaymentMethodID2TypedDict(TypedDict):
|
24
|
+
pass
|
25
|
+
|
26
|
+
|
27
|
+
class PushPaymentMethodID2(BaseModel):
|
28
|
+
pass
|
29
|
+
|
30
|
+
|
31
|
+
PushPaymentMethodIDTypedDict = TypeAliasType(
|
32
|
+
"PushPaymentMethodIDTypedDict", Union[PushPaymentMethodID2TypedDict, str]
|
33
|
+
)
|
34
|
+
|
35
|
+
|
36
|
+
PushPaymentMethodID = TypeAliasType(
|
37
|
+
"PushPaymentMethodID", Union[PushPaymentMethodID2, str]
|
38
|
+
)
|
39
|
+
|
40
|
+
|
41
|
+
class PullPaymentMethodID2TypedDict(TypedDict):
|
42
|
+
pass
|
43
|
+
|
44
|
+
|
45
|
+
class PullPaymentMethodID2(BaseModel):
|
46
|
+
pass
|
47
|
+
|
48
|
+
|
49
|
+
PullPaymentMethodIDTypedDict = TypeAliasType(
|
50
|
+
"PullPaymentMethodIDTypedDict", Union[PullPaymentMethodID2TypedDict, str]
|
51
|
+
)
|
52
|
+
|
53
|
+
|
54
|
+
PullPaymentMethodID = TypeAliasType(
|
55
|
+
"PullPaymentMethodID", Union[PullPaymentMethodID2, str]
|
56
|
+
)
|
57
|
+
|
58
|
+
|
59
|
+
class StatementDescriptor2TypedDict(TypedDict):
|
60
|
+
pass
|
61
|
+
|
62
|
+
|
63
|
+
class StatementDescriptor2(BaseModel):
|
64
|
+
pass
|
65
|
+
|
66
|
+
|
67
|
+
StatementDescriptorTypedDict = TypeAliasType(
|
68
|
+
"StatementDescriptorTypedDict", Union[StatementDescriptor2TypedDict, str]
|
69
|
+
)
|
70
|
+
|
71
|
+
|
72
|
+
StatementDescriptor = TypeAliasType(
|
73
|
+
"StatementDescriptor", Union[StatementDescriptor2, str]
|
74
|
+
)
|
75
|
+
|
76
|
+
|
77
|
+
class PatchSweepConfigTypedDict(TypedDict):
|
78
|
+
status: NotRequired[Nullable[Status]]
|
79
|
+
push_payment_method_id: NotRequired[Nullable[PushPaymentMethodIDTypedDict]]
|
80
|
+
pull_payment_method_id: NotRequired[Nullable[PullPaymentMethodIDTypedDict]]
|
81
|
+
statement_descriptor: NotRequired[Nullable[StatementDescriptorTypedDict]]
|
82
|
+
minimum_balance: NotRequired[Nullable[str]]
|
83
|
+
|
84
|
+
|
85
|
+
class PatchSweepConfig(BaseModel):
|
86
|
+
status: OptionalNullable[Status] = UNSET
|
87
|
+
|
88
|
+
push_payment_method_id: Annotated[
|
89
|
+
OptionalNullable[PushPaymentMethodID],
|
90
|
+
pydantic.Field(alias="pushPaymentMethodID"),
|
91
|
+
] = UNSET
|
92
|
+
|
93
|
+
pull_payment_method_id: Annotated[
|
94
|
+
OptionalNullable[PullPaymentMethodID],
|
95
|
+
pydantic.Field(alias="pullPaymentMethodID"),
|
96
|
+
] = UNSET
|
97
|
+
|
98
|
+
statement_descriptor: Annotated[
|
99
|
+
OptionalNullable[StatementDescriptor],
|
100
|
+
pydantic.Field(alias="statementDescriptor"),
|
101
|
+
] = UNSET
|
102
|
+
|
103
|
+
minimum_balance: Annotated[
|
104
|
+
OptionalNullable[str], pydantic.Field(alias="minimumBalance")
|
105
|
+
] = UNSET
|
106
|
+
|
107
|
+
@model_serializer(mode="wrap")
|
108
|
+
def serialize_model(self, handler):
|
109
|
+
optional_fields = [
|
110
|
+
"status",
|
111
|
+
"pushPaymentMethodID",
|
112
|
+
"pullPaymentMethodID",
|
113
|
+
"statementDescriptor",
|
114
|
+
"minimumBalance",
|
115
|
+
]
|
116
|
+
nullable_fields = [
|
117
|
+
"status",
|
118
|
+
"pushPaymentMethodID",
|
119
|
+
"pullPaymentMethodID",
|
120
|
+
"statementDescriptor",
|
121
|
+
"minimumBalance",
|
122
|
+
]
|
123
|
+
null_default_fields = []
|
124
|
+
|
125
|
+
serialized = handler(self)
|
126
|
+
|
127
|
+
m = {}
|
128
|
+
|
129
|
+
for n, f in self.model_fields.items():
|
130
|
+
k = f.alias or n
|
131
|
+
val = serialized.get(k)
|
132
|
+
serialized.pop(k, None)
|
133
|
+
|
134
|
+
optional_nullable = k in optional_fields and k in nullable_fields
|
135
|
+
is_set = (
|
136
|
+
self.__pydantic_fields_set__.intersection({n})
|
137
|
+
or k in null_default_fields
|
138
|
+
) # pylint: disable=no-member
|
139
|
+
|
140
|
+
if val is not None and val != UNSET_SENTINEL:
|
141
|
+
m[k] = val
|
142
|
+
elif val != UNSET_SENTINEL and (
|
143
|
+
not k in optional_fields or (optional_nullable and is_set)
|
144
|
+
):
|
145
|
+
m[k] = val
|
146
|
+
|
147
|
+
return m
|
@@ -0,0 +1,51 @@
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
2
|
+
|
3
|
+
from __future__ import annotations
|
4
|
+
from moovio_sdk.types import (
|
5
|
+
BaseModel,
|
6
|
+
Nullable,
|
7
|
+
OptionalNullable,
|
8
|
+
UNSET,
|
9
|
+
UNSET_SENTINEL,
|
10
|
+
)
|
11
|
+
from pydantic import model_serializer
|
12
|
+
from typing import Dict
|
13
|
+
from typing_extensions import NotRequired, TypedDict
|
14
|
+
|
15
|
+
|
16
|
+
class PatchTransferTypedDict(TypedDict):
|
17
|
+
metadata: NotRequired[Nullable[Dict[str, str]]]
|
18
|
+
|
19
|
+
|
20
|
+
class PatchTransfer(BaseModel):
|
21
|
+
metadata: OptionalNullable[Dict[str, str]] = UNSET
|
22
|
+
|
23
|
+
@model_serializer(mode="wrap")
|
24
|
+
def serialize_model(self, handler):
|
25
|
+
optional_fields = ["metadata"]
|
26
|
+
nullable_fields = ["metadata"]
|
27
|
+
null_default_fields = []
|
28
|
+
|
29
|
+
serialized = handler(self)
|
30
|
+
|
31
|
+
m = {}
|
32
|
+
|
33
|
+
for n, f in self.model_fields.items():
|
34
|
+
k = f.alias or n
|
35
|
+
val = serialized.get(k)
|
36
|
+
serialized.pop(k, None)
|
37
|
+
|
38
|
+
optional_nullable = k in optional_fields and k in nullable_fields
|
39
|
+
is_set = (
|
40
|
+
self.__pydantic_fields_set__.intersection({n})
|
41
|
+
or k in null_default_fields
|
42
|
+
) # pylint: disable=no-member
|
43
|
+
|
44
|
+
if val is not None and val != UNSET_SENTINEL:
|
45
|
+
m[k] = val
|
46
|
+
elif val != UNSET_SENTINEL and (
|
47
|
+
not k in optional_fields or (optional_nullable and is_set)
|
48
|
+
):
|
49
|
+
m[k] = val
|
50
|
+
|
51
|
+
return m
|
@@ -0,0 +1,35 @@
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
2
|
+
|
3
|
+
from __future__ import annotations
|
4
|
+
from .achpaymentdetailserror import (
|
5
|
+
ACHPaymentDetailsError,
|
6
|
+
ACHPaymentDetailsErrorTypedDict,
|
7
|
+
)
|
8
|
+
from .cardpaymentdetailserror import (
|
9
|
+
CardPaymentDetailsError,
|
10
|
+
CardPaymentDetailsErrorTypedDict,
|
11
|
+
)
|
12
|
+
from moovio_sdk.types import BaseModel
|
13
|
+
import pydantic
|
14
|
+
from typing import Optional
|
15
|
+
from typing_extensions import Annotated, NotRequired, TypedDict
|
16
|
+
|
17
|
+
|
18
|
+
class PaymentDetailsErrorTypedDict(TypedDict):
|
19
|
+
allowed_methods: NotRequired[str]
|
20
|
+
card_details: NotRequired[CardPaymentDetailsErrorTypedDict]
|
21
|
+
ach_details: NotRequired[ACHPaymentDetailsErrorTypedDict]
|
22
|
+
|
23
|
+
|
24
|
+
class PaymentDetailsError(BaseModel):
|
25
|
+
allowed_methods: Annotated[
|
26
|
+
Optional[str], pydantic.Field(alias="allowedMethods")
|
27
|
+
] = None
|
28
|
+
|
29
|
+
card_details: Annotated[
|
30
|
+
Optional[CardPaymentDetailsError], pydantic.Field(alias="cardDetails")
|
31
|
+
] = None
|
32
|
+
|
33
|
+
ach_details: Annotated[
|
34
|
+
Optional[ACHPaymentDetailsError], pydantic.Field(alias="achDetails")
|
35
|
+
] = None
|
@@ -0,0 +1,125 @@
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
2
|
+
|
3
|
+
from __future__ import annotations
|
4
|
+
from .amount import Amount, AmountTypedDict
|
5
|
+
from .mode import Mode
|
6
|
+
from .paymentlinkcustomeroptions import (
|
7
|
+
PaymentLinkCustomerOptions,
|
8
|
+
PaymentLinkCustomerOptionsTypedDict,
|
9
|
+
)
|
10
|
+
from .paymentlinkdisplayoptions import (
|
11
|
+
PaymentLinkDisplayOptions,
|
12
|
+
PaymentLinkDisplayOptionsTypedDict,
|
13
|
+
)
|
14
|
+
from .paymentlinkpaymentdetails import (
|
15
|
+
PaymentLinkPaymentDetails,
|
16
|
+
PaymentLinkPaymentDetailsTypedDict,
|
17
|
+
)
|
18
|
+
from .paymentlinkpayoutdetails import (
|
19
|
+
PaymentLinkPayoutDetails,
|
20
|
+
PaymentLinkPayoutDetailsTypedDict,
|
21
|
+
)
|
22
|
+
from .paymentlinkstatus import PaymentLinkStatus
|
23
|
+
from datetime import datetime
|
24
|
+
from moovio_sdk.types import BaseModel
|
25
|
+
import pydantic
|
26
|
+
from typing import Optional
|
27
|
+
from typing_extensions import Annotated, NotRequired, TypedDict
|
28
|
+
|
29
|
+
|
30
|
+
class PaymentLinkTypedDict(TypedDict):
|
31
|
+
code: str
|
32
|
+
r"""Unique code identifying this payment link."""
|
33
|
+
mode: Mode
|
34
|
+
r"""The operating mode for an account."""
|
35
|
+
status: PaymentLinkStatus
|
36
|
+
partner_account_id: str
|
37
|
+
r"""The partner's Moov account ID."""
|
38
|
+
merchant_account_id: str
|
39
|
+
r"""The merchant's Moov account ID."""
|
40
|
+
merchant_payment_method_id: str
|
41
|
+
r"""The merchant's preferred payment method ID. Must be a wallet payment method."""
|
42
|
+
link: str
|
43
|
+
r"""Link to the payment landing page for this payment link."""
|
44
|
+
amount: AmountTypedDict
|
45
|
+
uses: int
|
46
|
+
r"""The number of times this payment link has been used."""
|
47
|
+
display: PaymentLinkDisplayOptionsTypedDict
|
48
|
+
r"""Customizable display options for a payment link."""
|
49
|
+
customer: PaymentLinkCustomerOptionsTypedDict
|
50
|
+
created_on: datetime
|
51
|
+
updated_on: datetime
|
52
|
+
max_uses: NotRequired[int]
|
53
|
+
r"""An optional limit on the number of times this payment link can be used.
|
54
|
+
|
55
|
+
**For payouts, `maxUses` is always 1.**
|
56
|
+
"""
|
57
|
+
last_used_on: NotRequired[datetime]
|
58
|
+
r"""The timestamp when this payment link was last used."""
|
59
|
+
expires_on: NotRequired[datetime]
|
60
|
+
r"""An optional expiration date for this payment link."""
|
61
|
+
payment: NotRequired[PaymentLinkPaymentDetailsTypedDict]
|
62
|
+
r"""Options for payment links used to collect payment."""
|
63
|
+
payout: NotRequired[PaymentLinkPayoutDetailsTypedDict]
|
64
|
+
disabled_on: NotRequired[datetime]
|
65
|
+
|
66
|
+
|
67
|
+
class PaymentLink(BaseModel):
|
68
|
+
code: str
|
69
|
+
r"""Unique code identifying this payment link."""
|
70
|
+
|
71
|
+
mode: Mode
|
72
|
+
r"""The operating mode for an account."""
|
73
|
+
|
74
|
+
status: PaymentLinkStatus
|
75
|
+
|
76
|
+
partner_account_id: Annotated[str, pydantic.Field(alias="partnerAccountID")]
|
77
|
+
r"""The partner's Moov account ID."""
|
78
|
+
|
79
|
+
merchant_account_id: Annotated[str, pydantic.Field(alias="merchantAccountID")]
|
80
|
+
r"""The merchant's Moov account ID."""
|
81
|
+
|
82
|
+
merchant_payment_method_id: Annotated[
|
83
|
+
str, pydantic.Field(alias="merchantPaymentMethodID")
|
84
|
+
]
|
85
|
+
r"""The merchant's preferred payment method ID. Must be a wallet payment method."""
|
86
|
+
|
87
|
+
link: str
|
88
|
+
r"""Link to the payment landing page for this payment link."""
|
89
|
+
|
90
|
+
amount: Amount
|
91
|
+
|
92
|
+
uses: int
|
93
|
+
r"""The number of times this payment link has been used."""
|
94
|
+
|
95
|
+
display: PaymentLinkDisplayOptions
|
96
|
+
r"""Customizable display options for a payment link."""
|
97
|
+
|
98
|
+
customer: PaymentLinkCustomerOptions
|
99
|
+
|
100
|
+
created_on: Annotated[datetime, pydantic.Field(alias="createdOn")]
|
101
|
+
|
102
|
+
updated_on: Annotated[datetime, pydantic.Field(alias="updatedOn")]
|
103
|
+
|
104
|
+
max_uses: Annotated[Optional[int], pydantic.Field(alias="maxUses")] = None
|
105
|
+
r"""An optional limit on the number of times this payment link can be used.
|
106
|
+
|
107
|
+
**For payouts, `maxUses` is always 1.**
|
108
|
+
"""
|
109
|
+
|
110
|
+
last_used_on: Annotated[Optional[datetime], pydantic.Field(alias="lastUsedOn")] = (
|
111
|
+
None
|
112
|
+
)
|
113
|
+
r"""The timestamp when this payment link was last used."""
|
114
|
+
|
115
|
+
expires_on: Annotated[Optional[datetime], pydantic.Field(alias="expiresOn")] = None
|
116
|
+
r"""An optional expiration date for this payment link."""
|
117
|
+
|
118
|
+
payment: Optional[PaymentLinkPaymentDetails] = None
|
119
|
+
r"""Options for payment links used to collect payment."""
|
120
|
+
|
121
|
+
payout: Optional[PaymentLinkPayoutDetails] = None
|
122
|
+
|
123
|
+
disabled_on: Annotated[Optional[datetime], pydantic.Field(alias="disabledOn")] = (
|
124
|
+
None
|
125
|
+
)
|