moov_ruby 26.10.0.pre.dev.2 → 26.10.0.pre.dev.3
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.
- checksums.yaml +4 -4
- data/lib/crystalline/module.rb +1 -1
- data/lib/moov/bank_accounts.rb +439 -0
- data/lib/moov/card_issuing.rb +1 -1
- data/lib/moov/images.rb +17 -2
- data/lib/moov/institutions.rb +1 -1
- data/lib/moov/models/components/account.rb +2 -2
- data/lib/moov/models/components/accountnameverification.rb +4 -4
- data/lib/moov/models/components/accounttype.rb +3 -1
- data/lib/moov/models/components/accountverificationstatus.rb +3 -1
- data/lib/moov/models/components/achcredittransferprocessingdetails.rb +6 -2
- data/lib/moov/models/components/achcredittransferprocessingdetails.rbi +2 -0
- data/lib/moov/models/components/achdebitoptions.rb +2 -2
- data/lib/moov/models/components/achdebittransferprocessingdetails.rb +6 -2
- data/lib/moov/models/components/achdebittransferprocessingdetails.rbi +2 -0
- data/lib/moov/models/components/achreturncode.rb +3 -1
- data/lib/moov/models/components/achtransactionstatus.rb +26 -0
- data/lib/moov/models/components/achtransactionstatus.rbi +11 -0
- data/lib/moov/models/components/adjustmentfees.rb +11 -15
- data/lib/moov/models/components/adjustmentfees.rbi +4 -4
- data/lib/moov/models/components/amountdecimalrange.rb +0 -2
- data/lib/moov/models/components/amountdecimalrangeupdate.rb +0 -2
- data/lib/moov/models/components/applepayresponse.rb +2 -2
- data/lib/moov/models/components/applicationscope.rb +4 -2
- data/lib/moov/models/components/asynccreatedrefund.rb +1 -1
- data/lib/moov/models/components/authmethod.rb +3 -1
- data/lib/moov/models/components/bankaccount.rb +4 -4
- data/lib/moov/models/components/bankaccountattestation.rb +52 -0
- data/lib/moov/models/components/bankaccountattestation.rbi +23 -0
- data/lib/moov/models/components/bankaccountattestationeligibility.rb +36 -0
- data/lib/moov/models/components/bankaccountattestationeligibility.rbi +15 -0
- data/lib/moov/models/components/bankaccountattestationsummary.rb +44 -0
- data/lib/moov/models/components/bankaccountattestationsummary.rbi +19 -0
- data/lib/moov/models/components/bankaccountexception.rb +2 -2
- data/lib/moov/models/components/bankaccountholdertype.rb +3 -1
- data/lib/moov/models/components/bankaccountintegration.rb +2 -2
- data/lib/moov/models/components/bankaccountstatus.rb +3 -1
- data/lib/moov/models/components/bankaccountstatusreason.rb +3 -1
- data/lib/moov/models/components/bankaccounttype.rb +3 -1
- data/lib/moov/models/components/bankaccountverification.rb +2 -2
- data/lib/moov/models/components/bankaccountverificationcreated.rb +2 -2
- data/lib/moov/models/components/bankaccountverificationmethod.rb +3 -1
- data/lib/moov/models/components/bankaccountverificationstatus.rb +3 -1
- data/lib/moov/models/components/basicpaymentmethod.rb +1 -1
- data/lib/moov/models/components/billablefee.rb +2 -2
- data/lib/moov/models/components/billingadjustment.rb +40 -0
- data/lib/moov/models/components/billingadjustment.rbi +17 -0
- data/lib/moov/models/components/billingsummary.rb +8 -4
- data/lib/moov/models/components/billingsummary.rbi +2 -0
- data/lib/moov/models/components/billingsummary_adjustmentfees.rb +40 -0
- data/lib/moov/models/components/billingsummary_adjustmentfees.rbi +15 -0
- data/lib/moov/models/components/businesspresence.rb +3 -1
- data/lib/moov/models/components/businessprofile.rb +2 -2
- data/lib/moov/models/components/businesstype.rb +3 -1
- data/lib/moov/models/components/calltoaction.rb +3 -1
- data/lib/moov/models/components/cancellation.rb +2 -2
- data/lib/moov/models/components/cancellationstatus.rb +3 -1
- data/lib/moov/models/components/capability.rb +2 -2
- data/lib/moov/models/components/capabilityid.rb +3 -1
- data/lib/moov/models/components/capabilitystatus.rb +3 -1
- data/lib/moov/models/components/capture.rb +11 -6
- data/lib/moov/models/components/capture.rbi +2 -0
- data/lib/moov/models/components/capturestatus.rb +3 -3
- data/lib/moov/models/components/card.rb +4 -4
- data/lib/moov/models/components/cardaccountupdater.rb +1 -1
- data/lib/moov/models/components/cardacquiringmodel.rb +3 -1
- data/lib/moov/models/components/cardacquiringrefund.rb +2 -2
- data/lib/moov/models/components/cardbrand.rb +3 -1
- data/lib/moov/models/components/cardissuing.rb +34 -0
- data/lib/moov/models/components/cardissuing.rbi +13 -0
- data/lib/moov/models/components/cardissuingerror.rb +32 -0
- data/lib/moov/models/components/cardissuingerror.rbi +13 -0
- data/lib/moov/models/components/cardissuingnetwork.rb +3 -1
- data/lib/moov/models/components/cardmetadata.rb +4 -4
- data/lib/moov/models/components/cardpaymentoptions.rb +1 -1
- data/lib/moov/models/components/cardpaymentrefundprocessingdetails.rb +1 -1
- data/lib/moov/models/components/cardpaymenttransactionstatus.rb +25 -0
- data/lib/moov/models/components/cardpaymenttransactionstatus.rbi +11 -0
- data/lib/moov/models/components/cardpaymenttransferprocessingdetails.rb +11 -7
- data/lib/moov/models/components/cardpaymenttransferprocessingdetails.rbi +4 -2
- data/lib/moov/models/components/cardtransactionfailurecode.rb +19 -1
- data/lib/moov/models/components/cardtype.rb +3 -1
- data/lib/moov/models/components/cardupdatereason.rb +3 -1
- data/lib/moov/models/components/cardverification.rb +3 -3
- data/lib/moov/models/components/cardverificationresult.rb +3 -1
- data/lib/moov/models/components/collectfundscardpayments.rb +1 -1
- data/lib/moov/models/components/collectionpaymentmethodtype.rb +3 -1
- data/lib/moov/models/components/createaccount.rb +2 -2
- data/lib/moov/models/components/createaccounttype.rb +3 -1
- data/lib/moov/models/components/createbankaccountattestation.rb +36 -0
- data/lib/moov/models/components/createbankaccountattestation.rbi +15 -0
- data/lib/moov/models/components/createbusinessprofile.rb +2 -2
- data/lib/moov/models/components/createcancellation.rb +4 -2
- data/lib/moov/models/components/createcapture.rb +7 -4
- data/lib/moov/models/components/createdtransfer.rb +9 -5
- data/lib/moov/models/components/createevidencetext.rb +1 -1
- data/lib/moov/models/components/createfeeplanagreement.rb +13 -3
- data/lib/moov/models/components/createfeeplanagreement.rbi +2 -0
- data/lib/moov/models/components/createpaymentlink.rb +1 -1
- data/lib/moov/models/components/createrefund.rb +2 -2
- data/lib/moov/models/components/createreversal.rb +4 -1
- data/lib/moov/models/components/createsweepconfig.rb +1 -1
- data/lib/moov/models/components/createterminalapplication.rb +1 -1
- data/lib/moov/models/components/createtippresets.rb +1 -1
- data/lib/moov/models/components/createtransfer.rb +1 -1
- data/lib/moov/models/components/createtransferdestination.rb +6 -2
- data/lib/moov/models/components/createtransferdestination.rbi +2 -0
- data/lib/moov/models/components/createtransferdestinationwire.rb +32 -0
- data/lib/moov/models/components/createtransferdestinationwire.rbi +13 -0
- data/lib/moov/models/components/createtransfersourceach.rb +2 -2
- data/lib/moov/models/components/createtransfersourcecard.rb +1 -1
- data/lib/moov/models/components/createwebhook.rb +1 -1
- data/lib/moov/models/components/debitholdperiod.rb +3 -1
- data/lib/moov/models/components/depositaccountingestedresponse.rb +1 -1
- data/lib/moov/models/components/disbursementpaymentmethodtype.rb +3 -1
- data/lib/moov/models/components/dispute.rb +2 -2
- data/lib/moov/models/components/disputeevidenceresponse.rb +1 -1
- data/lib/moov/models/components/disputephase.rb +3 -1
- data/lib/moov/models/components/disputestatus.rb +3 -1
- data/lib/moov/models/components/document.rb +1 -1
- data/lib/moov/models/components/documenttype.rb +3 -1
- data/lib/moov/models/components/domesticpullfromcard.rb +3 -1
- data/lib/moov/models/components/domesticpushtocard.rb +3 -1
- data/lib/moov/models/components/estimatedactivity.rb +1 -1
- data/lib/moov/models/components/evidencetextresponse.rb +1 -1
- data/lib/moov/models/components/evidencetype.rb +3 -1
- data/lib/moov/models/components/evidenceuploadresponse.rb +1 -1
- data/lib/moov/models/components/facilitatorfee.rb +6 -17
- data/lib/moov/models/components/facilitatorfee.rbi +0 -4
- data/lib/moov/models/components/feecategory.rb +3 -1
- data/lib/moov/models/components/feemodel.rb +3 -1
- data/lib/moov/models/components/feepaidby.rb +4 -2
- data/lib/moov/models/components/feeplan.rb +1 -1
- data/lib/moov/models/components/feeplanagreement.rb +12 -4
- data/lib/moov/models/components/feeplanagreement.rbi +4 -0
- data/lib/moov/models/components/feeplanagreementstatus.rb +3 -1
- data/lib/moov/models/components/filedetails.rb +2 -2
- data/lib/moov/models/components/filepurpose.rb +3 -1
- data/lib/moov/models/components/filestatus.rb +3 -1
- data/lib/moov/models/components/fulfillment.rb +2 -2
- data/lib/moov/models/components/fulfillmentdetails.rb +1 -1
- data/lib/moov/models/components/fulfillmentmethod.rb +3 -1
- data/lib/moov/models/components/fulfillmenttimeframe.rb +3 -1
- data/lib/moov/models/components/fullissuedcard.rb +3 -2
- data/lib/moov/models/components/geographicreach.rb +3 -1
- data/lib/moov/models/components/googlepayresponse.rb +3 -3
- data/lib/moov/models/components/incurredfee.rb +1 -1
- data/lib/moov/models/components/instantbankcredittransferprocessingdetails.rb +8 -4
- data/lib/moov/models/components/instantbankcredittransferprocessingdetails.rbi +2 -0
- data/lib/moov/models/components/instantbankfailurecode.rb +3 -1
- data/lib/moov/models/components/instantbanknetwork.rb +3 -1
- data/lib/moov/models/components/instantbanktransactionstatus.rb +23 -0
- data/lib/moov/models/components/instantbanktransactionstatus.rbi +11 -0
- data/lib/moov/models/components/invoice.rb +1 -1
- data/lib/moov/models/components/invoicepayment.rb +1 -1
- data/lib/moov/models/components/invoicepaymenttype.rb +3 -1
- data/lib/moov/models/components/invoicestatus.rb +3 -1
- data/lib/moov/models/components/issuedcard.rb +3 -2
- data/lib/moov/models/components/issuedcardauthorization.rb +2 -2
- data/lib/moov/models/components/issuedcardauthorizationevent.rb +2 -2
- data/lib/moov/models/components/issuedcardauthorizationeventresult.rb +3 -1
- data/lib/moov/models/components/issuedcardeventtype.rb +3 -1
- data/lib/moov/models/components/issuedcardstate.rb +5 -1
- data/lib/moov/models/components/issuedcontrols.rb +2 -2
- data/lib/moov/models/components/issuedvelocitylimit.rb +1 -1
- data/lib/moov/models/components/issuingauthorizationstatus.rb +3 -1
- data/lib/moov/models/components/issuingcontrols.rb +3 -3
- data/lib/moov/models/components/issuingcontrols_allowedschedule.rb +1 -1
- data/lib/moov/models/components/issuingcontrolsrestrictionmode.rb +4 -2
- data/lib/moov/models/components/issuingintervallimit.rb +3 -1
- data/lib/moov/models/components/issuingmerchantcategory.rb +3 -1
- data/lib/moov/models/components/issuingvelocitylimit.rb +1 -1
- data/lib/moov/models/components/jsonwebkey.rb +1 -1
- data/lib/moov/models/components/linkedapplepaypaymentmethod.rb +1 -1
- data/lib/moov/models/components/linkedgooglepaypaymentmethod.rb +1 -1
- data/lib/moov/models/components/merchantcategory.rb +1 -1
- data/lib/moov/models/components/merchantcategoryrestrictions.rb +3 -3
- data/lib/moov/models/components/merchantentry.rb +6 -6
- data/lib/moov/models/components/merchantentry.rbi +2 -2
- data/lib/moov/models/components/merchantentryerror.rb +5 -5
- data/lib/moov/models/components/merchantentryerror.rbi +2 -2
- data/lib/moov/models/components/merchantrestrictions.rb +2 -2
- data/lib/moov/models/components/mode.rb +3 -1
- data/lib/moov/models/components/monthlyvolumerange.rb +3 -1
- data/lib/moov/models/components/moovfee.rb +1 -1
- data/lib/moov/models/components/occurrencesresponse.rb +2 -2
- data/lib/moov/models/components/occurrencestatus.rb +3 -1
- data/lib/moov/models/components/onboardingpartneraccount.rb +1 -1
- data/lib/moov/models/components/partnerpricingagreement.rb +15 -7
- data/lib/moov/models/components/partnerpricingagreement.rbi +4 -0
- data/lib/moov/models/components/patchbusiness.rb +2 -2
- data/lib/moov/models/components/patchwallet.rb +1 -1
- data/lib/moov/models/components/paymentlink.rb +4 -6
- data/lib/moov/models/components/paymentlinkcustomamountpaymentdetails.rb +0 -2
- data/lib/moov/models/components/paymentlinkcustomamountpaymentdetailsupdate.rb +0 -2
- data/lib/moov/models/components/paymentlinkdisplayoptions.rb +1 -1
- data/lib/moov/models/components/paymentlinkdisplayoptionsupdate.rb +1 -1
- data/lib/moov/models/components/paymentlinkpayoutdetails.rb +5 -7
- data/lib/moov/models/components/paymentlinkpayoutdetailsupdate.rb +5 -7
- data/lib/moov/models/components/paymentlinkstatus.rb +3 -1
- data/lib/moov/models/components/paymentlinktype.rb +3 -1
- data/lib/moov/models/components/paymentmethodsbankaccount.rb +3 -3
- data/lib/moov/models/components/paymentmethodscard.rb +4 -4
- data/lib/moov/models/components/paymentmethodswallet.rb +1 -1
- data/lib/moov/models/components/paymentmethodtype.rb +4 -1
- data/lib/moov/models/components/pendinglitigation.rb +3 -1
- data/lib/moov/models/components/primaryregulator.rb +3 -1
- data/lib/moov/models/components/pullfromcardoptions.rb +1 -1
- data/lib/moov/models/components/pullfromcardtransactionstatus.rb +22 -0
- data/lib/moov/models/components/pullfromcardtransactionstatus.rbi +11 -0
- data/lib/moov/models/components/pullfromcardtransferprocessingdetails.rb +7 -3
- data/lib/moov/models/components/pullfromcardtransferprocessingdetails.rbi +2 -0
- data/lib/moov/models/components/pushdeliveryspeed.rb +3 -1
- data/lib/moov/models/components/pushoptions.rb +5 -4
- data/lib/moov/models/components/pushoptionsupdate.rb +5 -4
- data/lib/moov/models/components/pushtocardtransactionstatus.rb +24 -0
- data/lib/moov/models/components/pushtocardtransactionstatus.rbi +11 -0
- data/lib/moov/models/components/pushtocardtransferprocessingdetails.rb +7 -3
- data/lib/moov/models/components/pushtocardtransferprocessingdetails.rbi +2 -0
- data/lib/moov/models/components/puttippresets.rb +1 -1
- data/lib/moov/models/components/refundpolicy.rb +3 -1
- data/lib/moov/models/components/refundstatus.rb +3 -1
- data/lib/moov/models/components/requestcard.rb +1 -1
- data/lib/moov/models/components/requirementerror.rb +2 -2
- data/lib/moov/models/components/requirementerrorcode.rb +3 -1
- data/lib/moov/models/components/requirementid.rb +18 -1
- data/lib/moov/models/components/resolutionlink.rb +1 -1
- data/lib/moov/models/components/resolutionlinkstatus.rb +3 -1
- data/lib/moov/models/components/returnpolicytype.rb +3 -1
- data/lib/moov/models/components/reversalamountdetails.rb +3 -1
- data/lib/moov/models/components/reversedwithcancellation.rb +1 -1
- data/lib/moov/models/components/rtprejectioncode.rb +3 -1
- data/lib/moov/models/components/schedulelistresponse.rb +1 -1
- data/lib/moov/models/components/scheduleresponse.rb +1 -1
- data/lib/moov/models/components/seccode.rb +3 -1
- data/lib/moov/models/components/sourcesystem.rb +3 -1
- data/lib/moov/models/components/statement.rb +6 -2
- data/lib/moov/models/components/statement.rbi +2 -0
- data/lib/moov/models/components/sweep.rb +1 -1
- data/lib/moov/models/components/sweepconfig.rb +3 -3
- data/lib/moov/models/components/sweepconfigpaymentmethod.rb +1 -1
- data/lib/moov/models/components/sweepconfigstatus.rb +3 -1
- data/lib/moov/models/components/sweepstatus.rb +3 -1
- data/lib/moov/models/components/sweepsubtotal.rb +1 -1
- data/lib/moov/models/components/terminalapplication.rb +2 -2
- data/lib/moov/models/components/terminalapplicationplatform.rb +3 -1
- data/lib/moov/models/components/terminalapplicationstatus.rb +3 -1
- data/lib/moov/models/components/terminalcard.rb +2 -2
- data/lib/moov/models/components/ticket.rb +1 -1
- data/lib/moov/models/components/ticketstatus.rb +3 -1
- data/lib/moov/models/components/tipcalculationbasis.rb +3 -1
- data/lib/moov/models/components/tippresets.rb +1 -1
- data/lib/moov/models/components/transactionsource.rb +3 -1
- data/lib/moov/models/components/transfer.rb +9 -5
- data/lib/moov/models/components/transferauthorization.rb +7 -7
- data/lib/moov/models/components/transferdestination.rb +1 -1
- data/lib/moov/models/components/transferfailurereason.rb +3 -1
- data/lib/moov/models/components/transferfeepaidby.rb +2 -2
- data/lib/moov/models/components/transferoptions.rb +3 -3
- data/lib/moov/models/components/transferparty.rb +3 -1
- data/lib/moov/models/components/transferpaymentmethodsbankaccount.rb +3 -3
- data/lib/moov/models/components/transferpaymentmethodscard.rb +4 -4
- data/lib/moov/models/components/transferpaymentmethodswallet.rb +1 -1
- data/lib/moov/models/components/transferpaymentmethodtype.rb +4 -1
- data/lib/moov/models/components/transferprocessingdetails.rb +6 -2
- data/lib/moov/models/components/transferprocessingdetails.rbi +2 -0
- data/lib/moov/models/components/transferrailoptions.rb +6 -2
- data/lib/moov/models/components/transferrailoptions.rbi +2 -0
- data/lib/moov/models/components/transfersource.rb +1 -1
- data/lib/moov/models/components/transferstatus.rb +3 -1
- data/lib/moov/models/components/transferterminalcard.rb +2 -2
- data/lib/moov/models/components/transfertype.rb +4 -1
- data/lib/moov/models/components/underwriting.rb +12 -6
- data/lib/moov/models/components/underwriting.rbi +2 -0
- data/lib/moov/models/components/underwritingstatus.rb +3 -1
- data/lib/moov/models/components/updateevidence.rb +1 -1
- data/lib/moov/models/components/updateinvoice.rb +1 -1
- data/lib/moov/models/components/updateissuedcard.rb +2 -0
- data/lib/moov/models/components/updateissuedcardstate.rb +4 -0
- data/lib/moov/models/components/updateissuingcontrols.rb +5 -5
- data/lib/moov/models/components/updateissuingcontrols_allowedschedule.rb +1 -1
- data/lib/moov/models/components/updateissuingcontrols_merchantcategoryrestrictions.rb +3 -3
- data/lib/moov/models/components/updateissuingcontrols_merchantrestrictions.rb +3 -3
- data/lib/moov/models/components/updatepaymentlink.rb +1 -1
- data/lib/moov/models/components/updatewebhook.rb +1 -1
- data/lib/moov/models/components/upsertunderwriting.rb +11 -5
- data/lib/moov/models/components/upsertunderwriting.rbi +2 -0
- data/lib/moov/models/components/use.rb +3 -1
- data/lib/moov/models/components/verification.rb +3 -3
- data/lib/moov/models/components/verificationstatus.rb +3 -1
- data/lib/moov/models/components/verificationstatusdetail.rb +3 -1
- data/lib/moov/models/components/wallet.rb +2 -2
- data/lib/moov/models/components/walletstatus.rb +3 -1
- data/lib/moov/models/components/wallettransaction.rb +3 -3
- data/lib/moov/models/components/wallettransactionsourcetype.rb +3 -1
- data/lib/moov/models/components/wallettransactionstatus.rb +3 -1
- data/lib/moov/models/components/wallettransactiontype.rb +4 -1
- data/lib/moov/models/components/wallettype.rb +3 -1
- data/lib/moov/models/components/webhook.rb +1 -1
- data/lib/moov/models/components/webhookdatabankaccountcreated.rb +1 -1
- data/lib/moov/models/components/webhookdatabankaccountdeleted.rb +1 -1
- data/lib/moov/models/components/webhookdatabankaccountupdated.rb +2 -2
- data/lib/moov/models/components/webhookdatacancellationcreated.rb +1 -1
- data/lib/moov/models/components/webhookdatacancellationupdated.rb +1 -1
- data/lib/moov/models/components/webhookdatacapabilityrequested.rb +1 -1
- data/lib/moov/models/components/webhookdatacapabilityupdated.rb +2 -2
- data/lib/moov/models/components/webhookdatacaptureupdated.rb +44 -0
- data/lib/moov/models/components/webhookdatacaptureupdated.rbi +19 -0
- data/lib/moov/models/components/webhookdatacardautoupdated.rb +1 -1
- data/lib/moov/models/components/webhookdatadisputecreated.rb +2 -2
- data/lib/moov/models/components/webhookdatadisputeupdated.rb +2 -2
- data/lib/moov/models/components/webhookdatainvoiceupdated.rb +1 -1
- data/lib/moov/models/components/webhookdatarefundupdated.rb +1 -1
- data/lib/moov/models/components/webhookdatasweepupdated.rb +1 -1
- data/lib/moov/models/components/webhookdataterminalapplicationcreated.rb +1 -1
- data/lib/moov/models/components/webhookdataterminalapplicationupdated.rb +1 -1
- data/lib/moov/models/components/webhookdataticketupdated.rb +1 -1
- data/lib/moov/models/components/webhookdatatransferstatus.rb +1 -0
- data/lib/moov/models/components/webhookdatawallettransactionupdated.rb +1 -1
- data/lib/moov/models/components/webhookdatawalletupdated.rb +1 -1
- data/lib/moov/models/components/webhookevent.rb +3 -3
- data/lib/moov/models/components/webhookeventtype.rb +4 -1
- data/lib/moov/models/components/webhookstatus.rb +3 -1
- data/lib/moov/models/components/wirecreditpaymentmethod.rb +40 -0
- data/lib/moov/models/components/wirecreditpaymentmethod.rbi +17 -0
- data/lib/moov/models/components/wirecreditpaymentmethod_paymentmethodtype.rb +18 -0
- data/lib/moov/models/components/wirecreditpaymentmethod_paymentmethodtype.rbi +11 -0
- data/lib/moov/models/components/wirecredittransferpaymentmethod.rb +40 -0
- data/lib/moov/models/components/wirecredittransferpaymentmethod.rbi +17 -0
- data/lib/moov/models/components/wirecredittransferpaymentmethod_paymentmethodtype.rb +18 -0
- data/lib/moov/models/components/wirecredittransferpaymentmethod_paymentmethodtype.rbi +11 -0
- data/lib/moov/models/components/wirefailurecode.rb +28 -0
- data/lib/moov/models/components/wirefailurecode.rbi +11 -0
- data/lib/moov/models/components/wireoptions.rb +32 -0
- data/lib/moov/models/components/wireoptions.rbi +13 -0
- data/lib/moov/models/components/wiretransactionstatus.rb +23 -0
- data/lib/moov/models/components/wiretransactionstatus.rbi +11 -0
- data/lib/moov/models/components/wiretransferprocessingdetails.rb +40 -0
- data/lib/moov/models/components/wiretransferprocessingdetails.rbi +17 -0
- data/lib/moov/models/components.rb +24 -1
- data/lib/moov/models/errors/bankaccountattestationvalidationerror.rb +40 -0
- data/lib/moov/models/errors/bankaccountattestationvalidationerror.rbi +17 -0
- data/lib/moov/models/errors/cardacquiringrefund_error.rb +2 -2
- data/lib/moov/models/errors/imagemetadata_error.rb +61 -0
- data/lib/moov/models/errors/imagemetadata_error.rbi +27 -0
- data/lib/moov/models/errors/transfer_error.rb +9 -5
- data/lib/moov/models/errors/upsertunderwritingerror.rb +6 -2
- data/lib/moov/models/errors/upsertunderwritingerror.rbi +2 -0
- data/lib/moov/models/errors.rb +2 -0
- data/lib/moov/models/operations/createbankaccountattestation_request.rb +40 -0
- data/lib/moov/models/operations/createbankaccountattestation_request.rbi +17 -0
- data/lib/moov/models/operations/createbankaccountattestation_response.rb +48 -0
- data/lib/moov/models/operations/createbankaccountattestation_response.rbi +21 -0
- data/lib/moov/models/operations/createcapture_request.rb +2 -2
- data/lib/moov/models/operations/getbankaccountattestationeligibility_request.rb +41 -0
- data/lib/moov/models/operations/getbankaccountattestationeligibility_request.rbi +17 -0
- data/lib/moov/models/operations/getbankaccountattestationeligibility_response.rb +48 -0
- data/lib/moov/models/operations/getbankaccountattestationeligibility_response.rbi +21 -0
- data/lib/moov/models/operations/getcapture_request.rb +2 -2
- data/lib/moov/models/operations/getpaymentmethod_response.rb +2 -2
- data/lib/moov/models/operations/listaccounts_request.rb +1 -1
- data/lib/moov/models/operations/listbankaccountattestations_request.rb +36 -0
- data/lib/moov/models/operations/listbankaccountattestations_request.rbi +15 -0
- data/lib/moov/models/operations/listbankaccountattestations_response.rb +48 -0
- data/lib/moov/models/operations/listbankaccountattestations_response.rbi +21 -0
- data/lib/moov/models/operations/listcaptures_request.rb +2 -2
- data/lib/moov/models/operations/listconnectedaccountsforaccount_request.rb +1 -1
- data/lib/moov/models/operations/listdisputes_request.rb +1 -1
- data/lib/moov/models/operations/listfeeplanagreements_request.rb +1 -1
- data/lib/moov/models/operations/listfeerevenue_request.rb +1 -1
- data/lib/moov/models/operations/listinvoices_request.rb +1 -1
- data/lib/moov/models/operations/listissuedcardauthorizationevents_request.rb +1 -1
- data/lib/moov/models/operations/listissuedcardauthorizations_request.rb +1 -1
- data/lib/moov/models/operations/listissuedcards_request.rb +1 -1
- data/lib/moov/models/operations/listissuedcardtransactions_request.rb +7 -3
- data/lib/moov/models/operations/listissuedcardtransactions_request.rbi +2 -0
- data/lib/moov/models/operations/listpartnerpricingagreements_request.rb +1 -1
- data/lib/moov/models/operations/listpaymentlinks_request.rb +1 -1
- data/lib/moov/models/operations/listpaymentmethods_response.rb +2 -2
- data/lib/moov/models/operations/listproducts_request.rb +1 -1
- data/lib/moov/models/operations/listresidualfees_request.rb +1 -1
- data/lib/moov/models/operations/listresiduals_request.rb +1 -1
- data/lib/moov/models/operations/listschedules_request.rb +1 -1
- data/lib/moov/models/operations/liststatements_request.rb +1 -1
- data/lib/moov/models/operations/listsweeps_request.rb +1 -1
- data/lib/moov/models/operations/listtickets_request.rb +1 -1
- data/lib/moov/models/operations/listtransfers_request.rb +4 -8
- data/lib/moov/models/operations/listtransfers_request.rbi +0 -2
- data/lib/moov/models/operations/listwallets_request.rb +1 -1
- data/lib/moov/models/operations/listwallettransactions_request.rb +1 -1
- data/lib/moov/models/operations/retrievefees_request.rb +1 -1
- data/lib/moov/models/operations.rb +6 -0
- data/lib/moov/payment_methods.rb +2 -2
- data/lib/moov/sdkconfiguration.rb +3 -3
- data/lib/moov/transfers.rb +16 -9
- data/lib/moov/utils/retries.rb +41 -2
- data/lib/moov/utils/utils.rb +6 -2
- metadata +64 -2
|
@@ -12,6 +12,8 @@ module Moov
|
|
|
12
12
|
extend T::Sig
|
|
13
13
|
include Crystalline::MetadataFields
|
|
14
14
|
|
|
15
|
+
# Status of a transaction within the ACH lifecycle.
|
|
16
|
+
field :status, Models::Components::ACHTransactionStatus, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('status'), required: true, 'decoder': ::Moov::Utils.open_enum_from_string(Models::Components::ACHTransactionStatus, false) } }
|
|
15
17
|
|
|
16
18
|
field :trace_number, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('traceNumber'), required: true } }
|
|
17
19
|
|
|
@@ -19,8 +21,9 @@ module Moov
|
|
|
19
21
|
|
|
20
22
|
field :correction, Crystalline::Nilable.new(Models::Components::ACHException), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('correction') } }
|
|
21
23
|
|
|
22
|
-
sig { params(trace_number: ::String, return_: T.nilable(Models::Components::ACHException), correction: T.nilable(Models::Components::ACHException)).void }
|
|
23
|
-
def initialize(trace_number:, return_: nil, correction: nil)
|
|
24
|
+
sig { params(status: Models::Components::ACHTransactionStatus, trace_number: ::String, return_: T.nilable(Models::Components::ACHException), correction: T.nilable(Models::Components::ACHException)).void }
|
|
25
|
+
def initialize(status:, trace_number:, return_: nil, correction: nil)
|
|
26
|
+
@status = status
|
|
24
27
|
@trace_number = trace_number
|
|
25
28
|
@return_ = return_
|
|
26
29
|
@correction = correction
|
|
@@ -29,6 +32,7 @@ module Moov
|
|
|
29
32
|
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
30
33
|
def ==(other)
|
|
31
34
|
return false unless other.is_a? self.class
|
|
35
|
+
return false unless @status == other.status
|
|
32
36
|
return false unless @trace_number == other.trace_number
|
|
33
37
|
return false unless @return_ == other.return_
|
|
34
38
|
return false unless @correction == other.correction
|
|
@@ -29,7 +29,8 @@ module Moov
|
|
|
29
29
|
# - R34: Limited participation RDFI
|
|
30
30
|
# - R38: Stop Payment on Source Document (Adjustment Entry)
|
|
31
31
|
# - R39: Improper Source Document
|
|
32
|
-
class ACHReturnCode
|
|
32
|
+
class ACHReturnCode
|
|
33
|
+
include ::Crystalline::Enum
|
|
33
34
|
enums do
|
|
34
35
|
R02 = new('R02')
|
|
35
36
|
R03 = new('R03')
|
|
@@ -52,6 +53,7 @@ module Moov
|
|
|
52
53
|
R38 = new('R38')
|
|
53
54
|
R39 = new('R39')
|
|
54
55
|
end
|
|
56
|
+
open!
|
|
55
57
|
end
|
|
56
58
|
end
|
|
57
59
|
end
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
2
|
+
|
|
3
|
+
# typed: true
|
|
4
|
+
# frozen_string_literal: true
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
module Moov
|
|
8
|
+
module Models
|
|
9
|
+
module Components
|
|
10
|
+
# ACHTransactionStatus - Status of a transaction within the ACH lifecycle.
|
|
11
|
+
class ACHTransactionStatus
|
|
12
|
+
include ::Crystalline::Enum
|
|
13
|
+
enums do
|
|
14
|
+
UNKNOWN = new('')
|
|
15
|
+
INITIATED = new('initiated')
|
|
16
|
+
ORIGINATED = new('originated')
|
|
17
|
+
CORRECTED = new('corrected')
|
|
18
|
+
RETURNED = new('returned')
|
|
19
|
+
COMPLETED = new('completed')
|
|
20
|
+
CANCELED = new('canceled')
|
|
21
|
+
end
|
|
22
|
+
open!
|
|
23
|
+
end
|
|
24
|
+
end
|
|
25
|
+
end
|
|
26
|
+
end
|
|
@@ -7,31 +7,27 @@
|
|
|
7
7
|
module Moov
|
|
8
8
|
module Models
|
|
9
9
|
module Components
|
|
10
|
-
#
|
|
11
|
-
#
|
|
12
|
-
# @deprecated class: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
10
|
+
# A detailed breakdown of adjustment (correction) fees by fee name.
|
|
13
11
|
class AdjustmentFees
|
|
14
12
|
extend T::Sig
|
|
15
13
|
include Crystalline::MetadataFields
|
|
16
14
|
|
|
17
|
-
#
|
|
18
|
-
field :
|
|
19
|
-
#
|
|
20
|
-
|
|
21
|
-
# For example, $12.987654321 is '12.987654321'.
|
|
22
|
-
field :value_decimal, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('valueDecimal'), required: true } }
|
|
15
|
+
# Adjustment fees grouped by fee name.
|
|
16
|
+
field :items, Crystalline::Array.new(Models::Components::BillingAdjustment), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('items'), required: true } }
|
|
17
|
+
# Total adjustment fees.
|
|
18
|
+
field :total, Models::Components::BillingCountAndAmount, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('total'), required: true } }
|
|
23
19
|
|
|
24
|
-
sig { params(
|
|
25
|
-
def initialize(
|
|
26
|
-
@
|
|
27
|
-
@
|
|
20
|
+
sig { params(items: T::Array[Models::Components::BillingAdjustment], total: Models::Components::BillingCountAndAmount).void }
|
|
21
|
+
def initialize(items:, total:)
|
|
22
|
+
@items = items
|
|
23
|
+
@total = total
|
|
28
24
|
end
|
|
29
25
|
|
|
30
26
|
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
31
27
|
def ==(other)
|
|
32
28
|
return false unless other.is_a? self.class
|
|
33
|
-
return false unless @
|
|
34
|
-
return false unless @
|
|
29
|
+
return false unless @items == other.items
|
|
30
|
+
return false unless @total == other.total
|
|
35
31
|
true
|
|
36
32
|
end
|
|
37
33
|
end
|
|
@@ -8,8 +8,8 @@ end
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
class Moov::Models::Components::AdjustmentFees
|
|
11
|
-
def
|
|
12
|
-
def
|
|
13
|
-
def
|
|
14
|
-
def
|
|
11
|
+
def items(); end
|
|
12
|
+
def items=(str_); end
|
|
13
|
+
def total(); end
|
|
14
|
+
def total=(str_); end
|
|
15
15
|
end
|
|
@@ -13,9 +13,9 @@ module Moov
|
|
|
13
13
|
include Crystalline::MetadataFields
|
|
14
14
|
|
|
15
15
|
# The card brand.
|
|
16
|
-
field :brand, Models::Components::CardBrand, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('brand'), required: true, 'decoder': ::Moov::Utils.
|
|
16
|
+
field :brand, Models::Components::CardBrand, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('brand'), required: true, 'decoder': ::Moov::Utils.open_enum_from_string(Models::Components::CardBrand, false) } }
|
|
17
17
|
# The type of the card.
|
|
18
|
-
field :card_type, Models::Components::CardType, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('cardType'), required: true, 'decoder': ::Moov::Utils.
|
|
18
|
+
field :card_type, Models::Components::CardType, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('cardType'), required: true, 'decoder': ::Moov::Utils.open_enum_from_string(Models::Components::CardType, false) } }
|
|
19
19
|
# User-friendly name of the tokenized card returned by Apple.
|
|
20
20
|
#
|
|
21
21
|
# It usually contains the brand and the last four digits of the underlying card.
|
|
@@ -8,7 +8,8 @@ module Moov
|
|
|
8
8
|
module Models
|
|
9
9
|
module Components
|
|
10
10
|
# ApplicationScope - A permission that the application requests on another account.
|
|
11
|
-
class ApplicationScope
|
|
11
|
+
class ApplicationScope
|
|
12
|
+
include ::Crystalline::Enum
|
|
12
13
|
enums do
|
|
13
14
|
ACCOUNTS_READ = new('accounts.read')
|
|
14
15
|
ACCOUNTS_WRITE = new('accounts.write')
|
|
@@ -30,7 +31,7 @@ module Moov
|
|
|
30
31
|
FILES_WRITE = new('files.write')
|
|
31
32
|
ISSUED_CARDS_READ = new('issued-cards.read')
|
|
32
33
|
ISSUED_CARDS_WRITE = new('issued-cards.write')
|
|
33
|
-
|
|
34
|
+
ISSUED_CARDS_READ_PRIVATE = new('issued-cards.read-private')
|
|
34
35
|
PAYMENT_METHODS_READ = new('payment-methods.read')
|
|
35
36
|
PING_READ = new('ping.read')
|
|
36
37
|
PROFILE_ENRICHMENT_READ = new('profile-enrichment.read')
|
|
@@ -43,6 +44,7 @@ module Moov
|
|
|
43
44
|
TRANSFERS_WRITE = new('transfers.write')
|
|
44
45
|
WALLETS_READ = new('wallets.read')
|
|
45
46
|
end
|
|
47
|
+
open!
|
|
46
48
|
end
|
|
47
49
|
end
|
|
48
50
|
end
|
|
@@ -18,7 +18,7 @@ module Moov
|
|
|
18
18
|
field :created_on, ::DateTime, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('createdOn'), required: true, 'decoder': ::Moov::Utils.datetime_from_iso_format(false) } }
|
|
19
19
|
|
|
20
20
|
field :amount, Models::Components::AmountDecimal, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('amount'), required: true } }
|
|
21
|
-
# ID of the capture
|
|
21
|
+
# ID of the capture refunded for an auth-capture `card-payment` transfer.
|
|
22
22
|
field :capture_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('captureID') } }
|
|
23
23
|
|
|
24
24
|
field :amount_details, Crystalline::Nilable.new(Models::Components::RefundAmountDetails), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('amountDetails') } }
|
|
@@ -8,11 +8,13 @@ module Moov
|
|
|
8
8
|
module Models
|
|
9
9
|
module Components
|
|
10
10
|
# AuthMethod - The authentication method used for the Google Pay token.
|
|
11
|
-
class AuthMethod
|
|
11
|
+
class AuthMethod
|
|
12
|
+
include ::Crystalline::Enum
|
|
12
13
|
enums do
|
|
13
14
|
PAN_ONLY = new('PAN_ONLY')
|
|
14
15
|
CRYPTOGRAM_3_DS = new('CRYPTOGRAM_3DS')
|
|
15
16
|
end
|
|
17
|
+
open!
|
|
16
18
|
end
|
|
17
19
|
end
|
|
18
20
|
end
|
|
@@ -19,15 +19,15 @@ module Moov
|
|
|
19
19
|
# The fingerprint acts as a way to identify whether two linked bank accounts are the same.
|
|
20
20
|
field :fingerprint, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('fingerprint'), required: true } }
|
|
21
21
|
|
|
22
|
-
field :status, Models::Components::BankAccountStatus, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('status'), required: true, 'decoder': ::Moov::Utils.
|
|
22
|
+
field :status, Models::Components::BankAccountStatus, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('status'), required: true, 'decoder': ::Moov::Utils.open_enum_from_string(Models::Components::BankAccountStatus, false) } }
|
|
23
23
|
|
|
24
24
|
field :holder_name, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('holderName'), required: true } }
|
|
25
25
|
# The type of holder on a funding source.
|
|
26
|
-
field :holder_type, Models::Components::BankAccountHolderType, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('holderType'), required: true, 'decoder': ::Moov::Utils.
|
|
26
|
+
field :holder_type, Models::Components::BankAccountHolderType, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('holderType'), required: true, 'decoder': ::Moov::Utils.open_enum_from_string(Models::Components::BankAccountHolderType, false) } }
|
|
27
27
|
|
|
28
28
|
field :bank_name, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('bankName'), required: true } }
|
|
29
29
|
# The bank account type.
|
|
30
|
-
field :bank_account_type, Models::Components::BankAccountType, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('bankAccountType'), required: true, 'decoder': ::Moov::Utils.
|
|
30
|
+
field :bank_account_type, Models::Components::BankAccountType, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('bankAccountType'), required: true, 'decoder': ::Moov::Utils.open_enum_from_string(Models::Components::BankAccountType, false) } }
|
|
31
31
|
|
|
32
32
|
field :routing_number, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('routingNumber'), required: true } }
|
|
33
33
|
|
|
@@ -35,7 +35,7 @@ module Moov
|
|
|
35
35
|
|
|
36
36
|
field :updated_on, ::DateTime, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('updatedOn'), required: true, 'decoder': ::Moov::Utils.datetime_from_iso_format(false) } }
|
|
37
37
|
# The reason the bank account status changed to the current value.
|
|
38
|
-
field :status_reason, Crystalline::Nilable.new(Models::Components::BankAccountStatusReason), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('statusReason'), 'decoder': ::Moov::Utils.
|
|
38
|
+
field :status_reason, Crystalline::Nilable.new(Models::Components::BankAccountStatusReason), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('statusReason'), 'decoder': ::Moov::Utils.open_enum_from_string(Models::Components::BankAccountStatusReason, true) } }
|
|
39
39
|
# Reason for, and details related to, an `errored` or `verificationFailed` bank account status.
|
|
40
40
|
field :exception_details, Crystalline::Nilable.new(Models::Components::BankAccountException), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('exceptionDetails') } }
|
|
41
41
|
# Includes any payment methods generated for a newly created bank account, removing the need to
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
2
|
+
|
|
3
|
+
# typed: true
|
|
4
|
+
# frozen_string_literal: true
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
module Moov
|
|
8
|
+
module Models
|
|
9
|
+
module Components
|
|
10
|
+
# An attestation that a new authorization was obtained for a R29-errored bank account.
|
|
11
|
+
class BankAccountAttestation
|
|
12
|
+
extend T::Sig
|
|
13
|
+
include Crystalline::MetadataFields
|
|
14
|
+
|
|
15
|
+
# ID of the created attestation.
|
|
16
|
+
field :attestation_id, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('attestationID'), required: true } }
|
|
17
|
+
# ID of the bank account the attestation belongs to.
|
|
18
|
+
field :bank_account_id, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('bankAccountID'), required: true } }
|
|
19
|
+
# ID of the Moov account the bank account is linked to.
|
|
20
|
+
field :account_id, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('accountID'), required: true } }
|
|
21
|
+
# Timestamp at which the attestation was created.
|
|
22
|
+
field :created_on, ::DateTime, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('createdOn'), required: true, 'decoder': ::Moov::Utils.datetime_from_iso_format(false) } }
|
|
23
|
+
# Date on which new authorization was obtained from the receiver, formatted as YYYY-MM-DD.
|
|
24
|
+
field :attested_at, ::Date, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('attestedAt'), required: true, 'decoder': ::Moov::Utils.date_from_iso_format(false) } }
|
|
25
|
+
# Freeform text description describing how the authorization was obtained.
|
|
26
|
+
field :description, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('description'), required: true } }
|
|
27
|
+
|
|
28
|
+
sig { params(attestation_id: ::String, bank_account_id: ::String, account_id: ::String, created_on: ::DateTime, attested_at: ::Date, description: ::String).void }
|
|
29
|
+
def initialize(attestation_id:, bank_account_id:, account_id:, created_on:, attested_at:, description:)
|
|
30
|
+
@attestation_id = attestation_id
|
|
31
|
+
@bank_account_id = bank_account_id
|
|
32
|
+
@account_id = account_id
|
|
33
|
+
@created_on = created_on
|
|
34
|
+
@attested_at = attested_at
|
|
35
|
+
@description = description
|
|
36
|
+
end
|
|
37
|
+
|
|
38
|
+
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
39
|
+
def ==(other)
|
|
40
|
+
return false unless other.is_a? self.class
|
|
41
|
+
return false unless @attestation_id == other.attestation_id
|
|
42
|
+
return false unless @bank_account_id == other.bank_account_id
|
|
43
|
+
return false unless @account_id == other.account_id
|
|
44
|
+
return false unless @created_on == other.created_on
|
|
45
|
+
return false unless @attested_at == other.attested_at
|
|
46
|
+
return false unless @description == other.description
|
|
47
|
+
true
|
|
48
|
+
end
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
end
|
|
52
|
+
end
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# typed: true
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
class Moov::Models::Components::BankAccountAttestation
|
|
6
|
+
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
|
+
end
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class Moov::Models::Components::BankAccountAttestation
|
|
11
|
+
def attestation_id(); end
|
|
12
|
+
def attestation_id=(str_); end
|
|
13
|
+
def bank_account_id(); end
|
|
14
|
+
def bank_account_id=(str_); end
|
|
15
|
+
def account_id(); end
|
|
16
|
+
def account_id=(str_); end
|
|
17
|
+
def created_on(); end
|
|
18
|
+
def created_on=(str_); end
|
|
19
|
+
def attested_at(); end
|
|
20
|
+
def attested_at=(str_); end
|
|
21
|
+
def description(); end
|
|
22
|
+
def description=(str_); end
|
|
23
|
+
end
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
2
|
+
|
|
3
|
+
# typed: true
|
|
4
|
+
# frozen_string_literal: true
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
module Moov
|
|
8
|
+
module Models
|
|
9
|
+
module Components
|
|
10
|
+
# Whether a bank account is currently eligible to receive a new attestation.
|
|
11
|
+
class BankAccountAttestationEligibility
|
|
12
|
+
extend T::Sig
|
|
13
|
+
include Crystalline::MetadataFields
|
|
14
|
+
|
|
15
|
+
# Whether the calling account is allowlisted for the attestations feature. When `false`, `eligible` is always `false`.
|
|
16
|
+
field :enabled, Crystalline::Boolean.new, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('enabled'), required: true } }
|
|
17
|
+
# Whether the bank account currently meets the requirements to receive a new attestation.
|
|
18
|
+
field :eligible, Crystalline::Boolean.new, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('eligible'), required: true } }
|
|
19
|
+
|
|
20
|
+
sig { params(enabled: T::Boolean, eligible: T::Boolean).void }
|
|
21
|
+
def initialize(enabled:, eligible:)
|
|
22
|
+
@enabled = enabled
|
|
23
|
+
@eligible = eligible
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
27
|
+
def ==(other)
|
|
28
|
+
return false unless other.is_a? self.class
|
|
29
|
+
return false unless @enabled == other.enabled
|
|
30
|
+
return false unless @eligible == other.eligible
|
|
31
|
+
true
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
end
|
|
36
|
+
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# typed: true
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
class Moov::Models::Components::BankAccountAttestationEligibility
|
|
6
|
+
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
|
+
end
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class Moov::Models::Components::BankAccountAttestationEligibility
|
|
11
|
+
def enabled(); end
|
|
12
|
+
def enabled=(str_); end
|
|
13
|
+
def eligible(); end
|
|
14
|
+
def eligible=(str_); end
|
|
15
|
+
end
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
2
|
+
|
|
3
|
+
# typed: true
|
|
4
|
+
# frozen_string_literal: true
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
module Moov
|
|
8
|
+
module Models
|
|
9
|
+
module Components
|
|
10
|
+
# A partner-visible summary of a bank account attestation.
|
|
11
|
+
class BankAccountAttestationSummary
|
|
12
|
+
extend T::Sig
|
|
13
|
+
include Crystalline::MetadataFields
|
|
14
|
+
|
|
15
|
+
# ID of the attestation.
|
|
16
|
+
field :attestation_id, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('attestationID'), required: true } }
|
|
17
|
+
# Freeform text description describing how the authorization was obtained.
|
|
18
|
+
field :description, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('description'), required: true } }
|
|
19
|
+
# Timestamp at which the attestation was created.
|
|
20
|
+
field :created_on, ::DateTime, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('createdOn'), required: true, 'decoder': ::Moov::Utils.datetime_from_iso_format(false) } }
|
|
21
|
+
# Date on which new authorization was obtained from the receiver, formatted as YYYY-MM-DD.
|
|
22
|
+
field :attested_at, ::Date, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('attestedAt'), required: true, 'decoder': ::Moov::Utils.date_from_iso_format(false) } }
|
|
23
|
+
|
|
24
|
+
sig { params(attestation_id: ::String, description: ::String, created_on: ::DateTime, attested_at: ::Date).void }
|
|
25
|
+
def initialize(attestation_id:, description:, created_on:, attested_at:)
|
|
26
|
+
@attestation_id = attestation_id
|
|
27
|
+
@description = description
|
|
28
|
+
@created_on = created_on
|
|
29
|
+
@attested_at = attested_at
|
|
30
|
+
end
|
|
31
|
+
|
|
32
|
+
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
33
|
+
def ==(other)
|
|
34
|
+
return false unless other.is_a? self.class
|
|
35
|
+
return false unless @attestation_id == other.attestation_id
|
|
36
|
+
return false unless @description == other.description
|
|
37
|
+
return false unless @created_on == other.created_on
|
|
38
|
+
return false unless @attested_at == other.attested_at
|
|
39
|
+
true
|
|
40
|
+
end
|
|
41
|
+
end
|
|
42
|
+
end
|
|
43
|
+
end
|
|
44
|
+
end
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# typed: true
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
class Moov::Models::Components::BankAccountAttestationSummary
|
|
6
|
+
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
|
+
end
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class Moov::Models::Components::BankAccountAttestationSummary
|
|
11
|
+
def attestation_id(); end
|
|
12
|
+
def attestation_id=(str_); end
|
|
13
|
+
def description(); end
|
|
14
|
+
def description=(str_); end
|
|
15
|
+
def created_on(); end
|
|
16
|
+
def created_on=(str_); end
|
|
17
|
+
def attested_at(); end
|
|
18
|
+
def attested_at=(str_); end
|
|
19
|
+
end
|
|
@@ -36,7 +36,7 @@ module Moov
|
|
|
36
36
|
# - R34: Limited participation RDFI
|
|
37
37
|
# - R38: Stop Payment on Source Document (Adjustment Entry)
|
|
38
38
|
# - R39: Improper Source Document
|
|
39
|
-
field :ach_return_code, Crystalline::Nilable.new(Models::Components::ACHReturnCode), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('achReturnCode'), 'decoder': ::Moov::Utils.
|
|
39
|
+
field :ach_return_code, Crystalline::Nilable.new(Models::Components::ACHReturnCode), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('achReturnCode'), 'decoder': ::Moov::Utils.open_enum_from_string(Models::Components::ACHReturnCode, true) } }
|
|
40
40
|
# The rejection code of an RTP transaction that caused the bank account status to change.
|
|
41
41
|
#
|
|
42
42
|
# - AC03: Account Invalid
|
|
@@ -46,7 +46,7 @@ module Moov
|
|
|
46
46
|
# - AG01: Transactions Forbidden On Account
|
|
47
47
|
# - AG03: Transaction Type Not Supported
|
|
48
48
|
# - MD07: Customer Deceased
|
|
49
|
-
field :rtp_rejection_code, Crystalline::Nilable.new(Models::Components::RTPRejectionCode), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('rtpRejectionCode'), 'decoder': ::Moov::Utils.
|
|
49
|
+
field :rtp_rejection_code, Crystalline::Nilable.new(Models::Components::RTPRejectionCode), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('rtpRejectionCode'), 'decoder': ::Moov::Utils.open_enum_from_string(Models::Components::RTPRejectionCode, true) } }
|
|
50
50
|
# The rejection code of a FedNow transaction that caused the bank account status to change.
|
|
51
51
|
#
|
|
52
52
|
# - AC02: Debtor account is invalid
|
|
@@ -8,12 +8,14 @@ module Moov
|
|
|
8
8
|
module Models
|
|
9
9
|
module Components
|
|
10
10
|
# BankAccountHolderType - The type of holder on a funding source.
|
|
11
|
-
class BankAccountHolderType
|
|
11
|
+
class BankAccountHolderType
|
|
12
|
+
include ::Crystalline::Enum
|
|
12
13
|
enums do
|
|
13
14
|
INDIVIDUAL = new('individual')
|
|
14
15
|
BUSINESS = new('business')
|
|
15
16
|
GUEST = new('guest')
|
|
16
17
|
end
|
|
18
|
+
open!
|
|
17
19
|
end
|
|
18
20
|
end
|
|
19
21
|
end
|
|
@@ -15,11 +15,11 @@ module Moov
|
|
|
15
15
|
|
|
16
16
|
field :holder_name, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('holderName'), required: true } }
|
|
17
17
|
# The type of holder on a funding source.
|
|
18
|
-
field :holder_type, Models::Components::BankAccountHolderType, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('holderType'), required: true, 'decoder': ::Moov::Utils.
|
|
18
|
+
field :holder_type, Models::Components::BankAccountHolderType, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('holderType'), required: true, 'decoder': ::Moov::Utils.open_enum_from_string(Models::Components::BankAccountHolderType, false) } }
|
|
19
19
|
|
|
20
20
|
field :account_number, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('accountNumber'), required: true } }
|
|
21
21
|
# The bank account type.
|
|
22
|
-
field :bank_account_type, Models::Components::BankAccountType, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('bankAccountType'), required: true, 'decoder': ::Moov::Utils.
|
|
22
|
+
field :bank_account_type, Models::Components::BankAccountType, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('bankAccountType'), required: true, 'decoder': ::Moov::Utils.open_enum_from_string(Models::Components::BankAccountType, false) } }
|
|
23
23
|
|
|
24
24
|
field :routing_number, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('routingNumber'), required: true } }
|
|
25
25
|
|
|
@@ -8,7 +8,8 @@ module Moov
|
|
|
8
8
|
module Models
|
|
9
9
|
module Components
|
|
10
10
|
|
|
11
|
-
class BankAccountStatus
|
|
11
|
+
class BankAccountStatus
|
|
12
|
+
include ::Crystalline::Enum
|
|
12
13
|
enums do
|
|
13
14
|
NEW = new('new')
|
|
14
15
|
VERIFIED = new('verified')
|
|
@@ -16,6 +17,7 @@ module Moov
|
|
|
16
17
|
PENDING = new('pending')
|
|
17
18
|
ERRORED = new('errored')
|
|
18
19
|
end
|
|
20
|
+
open!
|
|
19
21
|
end
|
|
20
22
|
end
|
|
21
23
|
end
|
|
@@ -8,7 +8,8 @@ module Moov
|
|
|
8
8
|
module Models
|
|
9
9
|
module Components
|
|
10
10
|
# BankAccountStatusReason - The reason the bank account status changed to the current value.
|
|
11
|
-
class BankAccountStatusReason
|
|
11
|
+
class BankAccountStatusReason
|
|
12
|
+
include ::Crystalline::Enum
|
|
12
13
|
enums do
|
|
13
14
|
BANK_ACCOUNT_CREATED = new('bank-account-created')
|
|
14
15
|
VERIFICATION_INITIATED = new('verification-initiated')
|
|
@@ -26,6 +27,7 @@ module Moov
|
|
|
26
27
|
ADMIN_ACTION = new('admin-action')
|
|
27
28
|
OTHER = new('other')
|
|
28
29
|
end
|
|
30
|
+
open!
|
|
29
31
|
end
|
|
30
32
|
end
|
|
31
33
|
end
|
|
@@ -8,13 +8,15 @@ module Moov
|
|
|
8
8
|
module Models
|
|
9
9
|
module Components
|
|
10
10
|
# BankAccountType - The bank account type.
|
|
11
|
-
class BankAccountType
|
|
11
|
+
class BankAccountType
|
|
12
|
+
include ::Crystalline::Enum
|
|
12
13
|
enums do
|
|
13
14
|
CHECKING = new('checking')
|
|
14
15
|
SAVINGS = new('savings')
|
|
15
16
|
GENERAL_LEDGER = new('general-ledger')
|
|
16
17
|
LOAN = new('loan')
|
|
17
18
|
end
|
|
19
|
+
open!
|
|
18
20
|
end
|
|
19
21
|
end
|
|
20
22
|
end
|
|
@@ -13,9 +13,9 @@ module Moov
|
|
|
13
13
|
include Crystalline::MetadataFields
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
field :verification_method, Models::Components::BankAccountVerificationMethod, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('verificationMethod'), required: true, 'decoder': ::Moov::Utils.
|
|
16
|
+
field :verification_method, Models::Components::BankAccountVerificationMethod, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('verificationMethod'), required: true, 'decoder': ::Moov::Utils.open_enum_from_string(Models::Components::BankAccountVerificationMethod, false) } }
|
|
17
17
|
|
|
18
|
-
field :status, Models::Components::BankAccountVerificationStatus, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('status'), required: true, 'decoder': ::Moov::Utils.
|
|
18
|
+
field :status, Models::Components::BankAccountVerificationStatus, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('status'), required: true, 'decoder': ::Moov::Utils.open_enum_from_string(Models::Components::BankAccountVerificationStatus, false) } }
|
|
19
19
|
# Reason for, and details related to, an `errored` or `verificationFailed` bank account status.
|
|
20
20
|
field :exception_details, Crystalline::Nilable.new(Models::Components::BankAccountException), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('exceptionDetails') } }
|
|
21
21
|
|
|
@@ -13,9 +13,9 @@ module Moov
|
|
|
13
13
|
include Crystalline::MetadataFields
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
field :verification_method, Models::Components::BankAccountVerificationMethod, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('verificationMethod'), required: true, 'decoder': ::Moov::Utils.
|
|
16
|
+
field :verification_method, Models::Components::BankAccountVerificationMethod, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('verificationMethod'), required: true, 'decoder': ::Moov::Utils.open_enum_from_string(Models::Components::BankAccountVerificationMethod, false) } }
|
|
17
17
|
|
|
18
|
-
field :status, Models::Components::BankAccountVerificationStatus, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('status'), required: true, 'decoder': ::Moov::Utils.
|
|
18
|
+
field :status, Models::Components::BankAccountVerificationStatus, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('status'), required: true, 'decoder': ::Moov::Utils.open_enum_from_string(Models::Components::BankAccountVerificationStatus, false) } }
|
|
19
19
|
|
|
20
20
|
sig { params(verification_method: Models::Components::BankAccountVerificationMethod, status: Models::Components::BankAccountVerificationStatus).void }
|
|
21
21
|
def initialize(verification_method:, status:)
|
|
@@ -8,11 +8,13 @@ module Moov
|
|
|
8
8
|
module Models
|
|
9
9
|
module Components
|
|
10
10
|
|
|
11
|
-
class BankAccountVerificationMethod
|
|
11
|
+
class BankAccountVerificationMethod
|
|
12
|
+
include ::Crystalline::Enum
|
|
12
13
|
enums do
|
|
13
14
|
INSTANT = new('instant')
|
|
14
15
|
ACH = new('ach')
|
|
15
16
|
end
|
|
17
|
+
open!
|
|
16
18
|
end
|
|
17
19
|
end
|
|
18
20
|
end
|
|
@@ -8,7 +8,8 @@ module Moov
|
|
|
8
8
|
module Models
|
|
9
9
|
module Components
|
|
10
10
|
|
|
11
|
-
class BankAccountVerificationStatus
|
|
11
|
+
class BankAccountVerificationStatus
|
|
12
|
+
include ::Crystalline::Enum
|
|
12
13
|
enums do
|
|
13
14
|
NEW = new('new')
|
|
14
15
|
SENT_CREDIT = new('sent-credit')
|
|
@@ -17,6 +18,7 @@ module Moov
|
|
|
17
18
|
EXPIRED = new('expired')
|
|
18
19
|
SUCCESSFUL = new('successful')
|
|
19
20
|
end
|
|
21
|
+
open!
|
|
20
22
|
end
|
|
21
23
|
end
|
|
22
24
|
end
|