moov_ruby 26.7.6 → 26.10.0.pre.dev.0
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/avatars.rb +1 -276
- data/lib/moov/card_issuing.rb +1 -117
- data/lib/moov/client.rb +2 -2
- data/lib/moov/enriched_address.rb +1 -1
- data/lib/moov/enriched_profile.rb +1 -1
- data/lib/moov/images.rb +1 -1
- data/lib/moov/institutions.rb +2 -2
- 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 +1 -3
- data/lib/moov/models/components/accountverificationstatus.rb +1 -3
- data/lib/moov/models/components/achreturncode.rb +1 -3
- data/lib/moov/models/components/achtransactiondetails.rb +3 -3
- data/lib/moov/models/components/achtransactionstatus.rb +1 -3
- data/lib/moov/models/components/adjustmentfees.rb +15 -11
- data/lib/moov/models/components/adjustmentfees.rbi +4 -4
- data/lib/moov/models/components/amountdecimalrange.rb +2 -0
- data/lib/moov/models/components/amountdecimalrangeupdate.rb +2 -0
- data/lib/moov/models/components/applepayresponse.rb +2 -2
- data/lib/moov/models/components/applicationscope.rb +2 -4
- data/lib/moov/models/components/authmethod.rb +1 -3
- data/lib/moov/models/components/authtokenrequest.rb +2 -6
- data/lib/moov/models/components/authtokenrequest.rbi +0 -2
- data/lib/moov/models/components/bankaccount.rb +4 -4
- data/lib/moov/models/components/bankaccountexception.rb +2 -2
- data/lib/moov/models/components/bankaccountholdertype.rb +1 -3
- data/lib/moov/models/components/bankaccountintegration.rb +2 -2
- data/lib/moov/models/components/bankaccountstatus.rb +1 -3
- data/lib/moov/models/components/bankaccountstatusreason.rb +1 -3
- data/lib/moov/models/components/bankaccounttype.rb +1 -3
- 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 +1 -3
- data/lib/moov/models/components/bankaccountverificationstatus.rb +1 -3
- data/lib/moov/models/components/basicpaymentmethod.rb +1 -1
- data/lib/moov/models/components/billablefee.rb +2 -2
- data/lib/moov/models/components/billingsummary.rb +4 -8
- data/lib/moov/models/components/billingsummary.rbi +0 -2
- data/lib/moov/models/components/businesspresence.rb +1 -3
- data/lib/moov/models/components/businessprofile.rb +2 -2
- data/lib/moov/models/components/businesstype.rb +1 -3
- data/lib/moov/models/components/calltoaction.rb +1 -3
- data/lib/moov/models/components/cancellation.rb +2 -2
- data/lib/moov/models/components/cancellationstatus.rb +1 -3
- data/lib/moov/models/components/capability.rb +2 -2
- data/lib/moov/models/components/capabilityid.rb +1 -4
- data/lib/moov/models/components/capabilitystatus.rb +1 -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 +1 -3
- data/lib/moov/models/components/cardacquiringrefund.rb +1 -1
- data/lib/moov/models/components/cardbrand.rb +1 -3
- data/lib/moov/models/components/cardissuingnetwork.rb +1 -3
- data/lib/moov/models/components/cardmetadata.rb +4 -4
- data/lib/moov/models/components/cardtransactiondetails.rb +3 -3
- data/lib/moov/models/components/cardtransactionfailurecode.rb +1 -3
- data/lib/moov/models/components/cardtransactionstatus.rb +1 -4
- data/lib/moov/models/components/cardtype.rb +1 -3
- data/lib/moov/models/components/cardupdatereason.rb +1 -3
- data/lib/moov/models/components/cardverification.rb +3 -3
- data/lib/moov/models/components/cardverificationresult.rb +1 -3
- data/lib/moov/models/components/collectfundscardpayments.rb +1 -1
- data/lib/moov/models/components/collectionpaymentmethodtype.rb +1 -3
- data/lib/moov/models/components/{webhookdataeventtest.rb → contributingrule.rb} +8 -8
- data/lib/moov/models/components/contributingrule.rbi +13 -0
- data/lib/moov/models/components/createaccount.rb +2 -2
- data/lib/moov/models/components/createaccounttype.rb +1 -3
- data/lib/moov/models/components/createbusinessprofile.rb +2 -2
- data/lib/moov/models/components/createdtransfer.rb +5 -12
- data/lib/moov/models/components/createdtransfer.rbi +0 -2
- data/lib/moov/models/components/createevidencetext.rb +1 -1
- data/lib/moov/models/components/createfeeplanagreement.rb +3 -13
- data/lib/moov/models/components/createfeeplanagreement.rbi +0 -2
- 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 +1 -4
- 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 +2 -6
- data/lib/moov/models/components/createtransfer.rbi +0 -2
- 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 +1 -3
- data/lib/moov/models/components/depositaccountingestedresponse.rb +1 -1
- data/lib/moov/models/components/disbursementpaymentmethodtype.rb +1 -3
- 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 +1 -3
- data/lib/moov/models/components/disputestatus.rb +1 -3
- data/lib/moov/models/components/document.rb +1 -1
- data/lib/moov/models/components/documenttype.rb +1 -3
- data/lib/moov/models/components/domesticpullfromcard.rb +1 -3
- data/lib/moov/models/components/domesticpushtocard.rb +1 -3
- 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 +1 -3
- data/lib/moov/models/components/evidenceuploadresponse.rb +1 -1
- data/lib/moov/models/components/facilitatorfee.rb +2 -2
- data/lib/moov/models/components/feecategory.rb +1 -3
- data/lib/moov/models/components/feemodel.rb +1 -3
- data/lib/moov/models/components/feeplan.rb +1 -1
- data/lib/moov/models/components/feeplanagreement.rb +4 -12
- data/lib/moov/models/components/feeplanagreement.rbi +0 -4
- data/lib/moov/models/components/feeplanagreementstatus.rb +1 -3
- data/lib/moov/models/components/filedetails.rb +2 -2
- data/lib/moov/models/components/filepurpose.rb +1 -3
- data/lib/moov/models/components/filestatus.rb +1 -3
- 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 +1 -3
- data/lib/moov/models/components/fulfillmenttimeframe.rb +1 -3
- data/lib/moov/models/components/fullissuedcard.rb +5 -6
- data/lib/moov/models/components/geographicreach.rb +1 -3
- data/lib/moov/models/components/googlepayresponse.rb +3 -3
- data/lib/moov/models/components/incurredfee.rb +2 -6
- data/lib/moov/models/components/incurredfee.rbi +0 -2
- data/lib/moov/models/components/instantbankfailurecode.rb +1 -3
- data/lib/moov/models/components/instantbanknetwork.rb +1 -3
- data/lib/moov/models/components/instantbanktransactiondetails.rb +3 -3
- data/lib/moov/models/components/instantbanktransactionstatus.rb +1 -3
- 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 +1 -3
- data/lib/moov/models/components/invoicestatus.rb +1 -3
- data/lib/moov/models/components/issuedcard.rb +5 -6
- data/lib/moov/models/components/issuedcardauthorization.rb +4 -13
- data/lib/moov/models/components/issuedcardauthorization.rbi +0 -4
- data/lib/moov/models/components/issuedcardauthorizationevent.rb +4 -9
- data/lib/moov/models/components/issuedcardauthorizationevent.rbi +0 -2
- data/lib/moov/models/components/issuedcardauthorizationeventresult.rb +1 -3
- data/lib/moov/models/components/issuedcardeventtype.rb +1 -3
- data/lib/moov/models/components/issuedcardstate.rb +1 -5
- data/lib/moov/models/components/issuedcardtransaction.rb +2 -6
- data/lib/moov/models/components/issuedcardtransaction.rbi +0 -2
- data/lib/moov/models/components/issuingauthorizationstatus.rb +1 -3
- data/lib/moov/models/components/issuingcontrols.rb +3 -19
- data/lib/moov/models/components/issuingcontrols.rbi +0 -8
- data/lib/moov/models/components/issuingcontrolserror.rb +2 -18
- data/lib/moov/models/components/issuingcontrolserror.rbi +0 -8
- data/lib/moov/models/components/issuingintervallimit.rb +2 -7
- data/lib/moov/models/components/issuingvelocitylimit.rb +7 -11
- data/lib/moov/models/components/issuingvelocitylimit.rbi +2 -4
- data/lib/moov/models/components/issuingvelocitylimiterror.rb +2 -6
- data/lib/moov/models/components/issuingvelocitylimiterror.rbi +0 -2
- 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/mode.rb +1 -3
- data/lib/moov/models/components/monthlyvolumerange.rb +1 -3
- 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 +1 -3
- data/lib/moov/models/components/onboardingpartneraccount.rb +1 -1
- data/lib/moov/models/components/partnerpricingagreement.rb +7 -15
- data/lib/moov/models/components/partnerpricingagreement.rbi +0 -4
- data/lib/moov/models/components/partnerriskoutcomesresponse.rb +38 -0
- data/lib/moov/models/components/partnerriskoutcomesresponse.rbi +15 -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 +6 -4
- data/lib/moov/models/components/paymentlinkcustomamountpaymentdetails.rb +2 -0
- data/lib/moov/models/components/paymentlinkcustomamountpaymentdetailsupdate.rb +2 -0
- 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 +7 -11
- data/lib/moov/models/components/paymentlinkpayoutdetails.rbi +0 -2
- data/lib/moov/models/components/paymentlinkpayoutdetailsupdate.rb +7 -11
- data/lib/moov/models/components/paymentlinkpayoutdetailsupdate.rbi +0 -2
- data/lib/moov/models/components/paymentlinkstatus.rb +1 -3
- data/lib/moov/models/components/paymentlinktype.rb +1 -3
- 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 -2
- data/lib/moov/models/components/paymentmethodtype.rb +1 -3
- data/lib/moov/models/components/payoutdetailserror.rb +2 -6
- data/lib/moov/models/components/payoutdetailserror.rbi +0 -2
- data/lib/moov/models/components/pendinglitigation.rb +1 -3
- data/lib/moov/models/components/primaryregulator.rb +1 -3
- data/lib/moov/models/components/product.rb +2 -6
- data/lib/moov/models/components/product.rbi +0 -2
- data/lib/moov/models/components/productrequest.rb +2 -6
- data/lib/moov/models/components/productrequest.rbi +0 -2
- data/lib/moov/models/components/pushdeliveryspeed.rb +1 -3
- data/lib/moov/models/components/pushoptions.rb +4 -5
- data/lib/moov/models/components/pushoptionsupdate.rb +4 -5
- data/lib/moov/models/components/puttippresets.rb +1 -1
- data/lib/moov/models/components/refundcarddetails.rb +2 -2
- data/lib/moov/models/components/refundcardstatus.rb +1 -4
- data/lib/moov/models/components/refundpolicy.rb +1 -3
- data/lib/moov/models/components/refundstatus.rb +1 -3
- 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 +1 -3
- data/lib/moov/models/components/requirementid.rb +1 -17
- data/lib/moov/models/components/resolutionlink.rb +1 -1
- data/lib/moov/models/components/resolutionlinkstatus.rb +1 -3
- data/lib/moov/models/components/returnpolicytype.rb +1 -3
- data/lib/moov/models/components/reversalamountdetails.rb +1 -3
- data/lib/moov/models/components/reversedwithcancellation.rb +1 -1
- data/lib/moov/models/components/rtprejectioncode.rb +1 -3
- 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 +1 -3
- data/lib/moov/models/components/sendfunds.rb +2 -6
- data/lib/moov/models/components/sendfunds.rbi +0 -2
- data/lib/moov/models/components/sendfundserror.rb +2 -6
- data/lib/moov/models/components/sendfundserror.rbi +0 -2
- data/lib/moov/models/components/sourcesystem.rb +1 -3
- data/lib/moov/models/components/statement.rb +2 -6
- data/lib/moov/models/components/statement.rbi +0 -2
- 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 +1 -3
- data/lib/moov/models/components/sweepstatus.rb +1 -3
- 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 +1 -3
- data/lib/moov/models/components/terminalapplicationstatus.rb +1 -3
- 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 +1 -3
- data/lib/moov/models/components/tipcalculationbasis.rb +1 -3
- data/lib/moov/models/components/tippresets.rb +1 -1
- data/lib/moov/models/components/transactionsource.rb +1 -3
- data/lib/moov/models/components/transfer.rb +5 -12
- data/lib/moov/models/components/transfer.rbi +0 -2
- data/lib/moov/models/components/transferdestination.rb +1 -1
- data/lib/moov/models/components/transferfailurereason.rb +1 -3
- data/lib/moov/models/components/transferparty.rb +1 -3
- 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 -2
- data/lib/moov/models/components/transferpaymentmethodtype.rb +1 -3
- data/lib/moov/models/components/transfersource.rb +1 -1
- data/lib/moov/models/components/transferstatus.rb +1 -3
- data/lib/moov/models/components/transferterminalcard.rb +2 -2
- data/lib/moov/models/components/underwriting.rb +4 -4
- data/lib/moov/models/components/underwritingstatus.rb +1 -3
- 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 -8
- data/lib/moov/models/components/updateissuedcard.rbi +0 -2
- data/lib/moov/models/components/updateissuedcardstate.rb +0 -4
- 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 +3 -3
- data/lib/moov/models/components/use.rb +1 -3
- data/lib/moov/models/components/verification.rb +3 -3
- data/lib/moov/models/components/verificationstatus.rb +1 -3
- data/lib/moov/models/components/verificationstatusdetail.rb +1 -3
- data/lib/moov/models/components/wallet.rb +2 -3
- data/lib/moov/models/components/walletstatus.rb +1 -3
- data/lib/moov/models/components/wallettransaction.rb +3 -3
- data/lib/moov/models/components/wallettransactionsourcetype.rb +1 -3
- data/lib/moov/models/components/wallettransactionstatus.rb +1 -3
- data/lib/moov/models/components/wallettransactiontype.rb +1 -3
- data/lib/moov/models/components/wallettype.rb +1 -5
- 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/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 +0 -3
- 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 +1 -4
- data/lib/moov/models/components/webhookstatus.rb +1 -3
- data/lib/moov/models/components.rb +3 -40
- data/lib/moov/models/errors/cardacquiringrefund_error.rb +1 -1
- data/lib/moov/models/errors/productrequestvalidationerror.rb +2 -6
- data/lib/moov/models/errors/productrequestvalidationerror.rbi +0 -2
- data/lib/moov/models/errors/transfer_error.rb +5 -12
- data/lib/moov/models/errors/transfer_error.rbi +0 -2
- data/lib/moov/models/errors/updateissuedcarderror.rb +2 -6
- data/lib/moov/models/errors/updateissuedcarderror.rbi +0 -2
- data/lib/moov/models/operations/gettransferriskoutcomes_request.rb +37 -0
- data/lib/moov/models/operations/gettransferriskoutcomes_request.rbi +15 -0
- data/lib/moov/models/operations/{listissuingmerchantcategories_response.rb → gettransferriskoutcomes_response.rb} +6 -6
- data/lib/moov/models/operations/{deleteavatar_response.rbi → gettransferriskoutcomes_response.rbi} +4 -2
- data/lib/moov/models/operations/listaccounts_request.rb +1 -1
- 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 +3 -7
- data/lib/moov/models/operations/listissuedcardtransactions_request.rbi +0 -2
- 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/listproducts_request.rb +3 -9
- data/lib/moov/models/operations/listproducts_request.rbi +0 -2
- 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 +3 -11
- data/lib/moov/models/operations/listtransfers_request.rbi +0 -4
- 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 +2 -8
- data/lib/moov/products.rb +8 -113
- data/lib/moov/sdk_hooks/hooks.rb +0 -6
- data/lib/moov/sdkconfiguration.rb +4 -4
- data/lib/moov/transfers.rb +130 -11
- data/lib/moov/utils/retries.rb +2 -41
- data/lib/moov/utils/utils.rb +2 -6
- data/lib/moov_ruby.rb +1 -1
- metadata +12 -100
- data/lib/moov/models/components/allowedscheduleerror.rb +0 -36
- data/lib/moov/models/components/allowedscheduleerror.rbi +0 -15
- data/lib/moov/models/components/avataruploadrequest.rb +0 -32
- data/lib/moov/models/components/avataruploadrequest.rbi +0 -13
- data/lib/moov/models/components/avataruploadrequest_file.rb +0 -36
- data/lib/moov/models/components/avataruploadrequest_file.rbi +0 -15
- data/lib/moov/models/components/billingadjustment.rb +0 -40
- data/lib/moov/models/components/billingadjustment.rbi +0 -17
- data/lib/moov/models/components/billingsummary_adjustmentfees.rb +0 -40
- data/lib/moov/models/components/billingsummary_adjustmentfees.rbi +0 -15
- data/lib/moov/models/components/feepaidby.rb +0 -21
- data/lib/moov/models/components/feepaidby.rbi +0 -11
- data/lib/moov/models/components/issuedcontrols.rb +0 -52
- data/lib/moov/models/components/issuedcontrols.rbi +0 -23
- data/lib/moov/models/components/issuedcontrols_allowedschedule.rb +0 -36
- data/lib/moov/models/components/issuedcontrols_allowedschedule.rbi +0 -15
- data/lib/moov/models/components/issuedvelocitylimit.rb +0 -60
- data/lib/moov/models/components/issuedvelocitylimit.rbi +0 -27
- data/lib/moov/models/components/issuingcontrols_allowedschedule.rb +0 -36
- data/lib/moov/models/components/issuingcontrols_allowedschedule.rbi +0 -15
- data/lib/moov/models/components/issuingcontrolsrestrictionmode.rb +0 -21
- data/lib/moov/models/components/issuingcontrolsrestrictionmode.rbi +0 -11
- data/lib/moov/models/components/issuingdeclinereason.rb +0 -35
- data/lib/moov/models/components/issuingdeclinereason.rbi +0 -11
- data/lib/moov/models/components/issuingmerchantcategory.rb +0 -45
- data/lib/moov/models/components/issuingmerchantcategory.rbi +0 -11
- data/lib/moov/models/components/issuingscheduleday.rb +0 -24
- data/lib/moov/models/components/issuingscheduleday.rbi +0 -11
- data/lib/moov/models/components/merchantcategories.rb +0 -32
- data/lib/moov/models/components/merchantcategories.rbi +0 -13
- data/lib/moov/models/components/merchantcategory.rb +0 -37
- data/lib/moov/models/components/merchantcategory.rbi +0 -15
- data/lib/moov/models/components/merchantcategoryrestrictions.rb +0 -44
- data/lib/moov/models/components/merchantcategoryrestrictions.rbi +0 -19
- data/lib/moov/models/components/merchantcategoryrestrictionserror.rb +0 -44
- data/lib/moov/models/components/merchantcategoryrestrictionserror.rbi +0 -19
- data/lib/moov/models/components/merchantentry.rb +0 -40
- data/lib/moov/models/components/merchantentry.rbi +0 -17
- data/lib/moov/models/components/merchantentryerror.rb +0 -36
- data/lib/moov/models/components/merchantentryerror.rbi +0 -15
- data/lib/moov/models/components/merchantrestrictions.rb +0 -36
- data/lib/moov/models/components/merchantrestrictions.rbi +0 -15
- data/lib/moov/models/components/merchantrestrictionserror.rb +0 -36
- data/lib/moov/models/components/merchantrestrictionserror.rbi +0 -15
- data/lib/moov/models/components/oauth2clienttype.rb +0 -23
- data/lib/moov/models/components/oauth2clienttype.rbi +0 -11
- data/lib/moov/models/components/productcategories.rb +0 -32
- data/lib/moov/models/components/productcategories.rbi +0 -13
- data/lib/moov/models/components/productcategory.rb +0 -48
- data/lib/moov/models/components/productcategory.rbi +0 -21
- data/lib/moov/models/components/schedulewindow.rb +0 -40
- data/lib/moov/models/components/schedulewindow.rbi +0 -17
- data/lib/moov/models/components/schedulewindowerror.rb +0 -40
- data/lib/moov/models/components/schedulewindowerror.rbi +0 -17
- data/lib/moov/models/components/schemebasicauth.rb +0 -36
- data/lib/moov/models/components/schemebasicauth.rbi +0 -15
- data/lib/moov/models/components/schemeoauth2auth.rb +0 -40
- data/lib/moov/models/components/schemeoauth2auth.rbi +0 -17
- data/lib/moov/models/components/sendfundswire.rb +0 -32
- data/lib/moov/models/components/sendfundswire.rbi +0 -13
- data/lib/moov/models/components/sendfundswireerror.rb +0 -32
- data/lib/moov/models/components/sendfundswireerror.rbi +0 -13
- data/lib/moov/models/components/transfercapture.rb +0 -36
- data/lib/moov/models/components/transfercapture.rbi +0 -15
- data/lib/moov/models/components/transferfeepaidby.rb +0 -32
- data/lib/moov/models/components/transferfeepaidby.rbi +0 -13
- data/lib/moov/models/components/updateissuingcontrols.rb +0 -48
- data/lib/moov/models/components/updateissuingcontrols.rbi +0 -21
- data/lib/moov/models/components/updateissuingcontrols_allowedschedule.rb +0 -36
- data/lib/moov/models/components/updateissuingcontrols_allowedschedule.rbi +0 -15
- data/lib/moov/models/components/updateissuingcontrols_merchantcategoryrestrictions.rb +0 -44
- data/lib/moov/models/components/updateissuingcontrols_merchantcategoryrestrictions.rbi +0 -19
- data/lib/moov/models/components/updateissuingcontrols_merchantrestrictions.rb +0 -36
- data/lib/moov/models/components/updateissuingcontrols_merchantrestrictions.rbi +0 -15
- data/lib/moov/models/components/updateissuingcontrolserror.rb +0 -48
- data/lib/moov/models/components/updateissuingcontrolserror.rbi +0 -21
- data/lib/moov/models/components/webhookdataeventtest.rbi +0 -13
- data/lib/moov/models/operations/deleteavatar_request.rb +0 -32
- data/lib/moov/models/operations/deleteavatar_request.rbi +0 -13
- data/lib/moov/models/operations/deleteavatar_response.rb +0 -44
- data/lib/moov/models/operations/deleteavatar_security.rb +0 -36
- data/lib/moov/models/operations/deleteavatar_security.rbi +0 -15
- data/lib/moov/models/operations/listissuingmerchantcategories_response.rbi +0 -21
- data/lib/moov/models/operations/listproductcategories_response.rb +0 -48
- data/lib/moov/models/operations/listproductcategories_response.rbi +0 -21
- data/lib/moov/models/operations/uploadavatar_request.rb +0 -36
- data/lib/moov/models/operations/uploadavatar_request.rbi +0 -15
- data/lib/moov/models/operations/uploadavatar_response.rb +0 -44
- data/lib/moov/models/operations/uploadavatar_response.rbi +0 -19
- data/lib/moov/models/operations/uploadavatar_security.rb +0 -36
- data/lib/moov/models/operations/uploadavatar_security.rbi +0 -15
- data/lib/moov/sdk_hooks/clientcredentials.rb +0 -386
- data/lib/moov/sdk_hooks/oauth2scopes.rb +0 -18
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
# typed: true
|
|
2
|
-
# frozen_string_literal: true
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
class Moov::Models::Components::AvatarUploadRequest
|
|
6
|
-
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
|
-
end
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
class Moov::Models::Components::AvatarUploadRequest
|
|
11
|
-
def file(); end
|
|
12
|
-
def file=(str_); end
|
|
13
|
-
end
|
|
@@ -1,36 +0,0 @@
|
|
|
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
|
-
|
|
11
|
-
class AvatarUploadRequestFile
|
|
12
|
-
extend T::Sig
|
|
13
|
-
include Crystalline::MetadataFields
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
field :file_name, ::String, { 'multipart_form': { 'field_name': 'fileName' } }
|
|
17
|
-
|
|
18
|
-
field :content, ::String, { 'multipart_form': { 'content': true } }
|
|
19
|
-
|
|
20
|
-
sig { params(file_name: ::String, content: ::String).void }
|
|
21
|
-
def initialize(file_name:, content:)
|
|
22
|
-
@file_name = file_name
|
|
23
|
-
@content = content
|
|
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 @file_name == other.file_name
|
|
30
|
-
return false unless @content == other.content
|
|
31
|
-
true
|
|
32
|
-
end
|
|
33
|
-
end
|
|
34
|
-
end
|
|
35
|
-
end
|
|
36
|
-
end
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
# typed: true
|
|
2
|
-
# frozen_string_literal: true
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
class Moov::Models::Components::AvatarUploadRequestFile
|
|
6
|
-
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
|
-
end
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
class Moov::Models::Components::AvatarUploadRequestFile
|
|
11
|
-
def file_name(); end
|
|
12
|
-
def file_name=(str_); end
|
|
13
|
-
def content(); end
|
|
14
|
-
def content=(str_); end
|
|
15
|
-
end
|
|
@@ -1,40 +0,0 @@
|
|
|
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 adjustment (correction) fee grouped by its statement line-item name.
|
|
11
|
-
class BillingAdjustment
|
|
12
|
-
extend T::Sig
|
|
13
|
-
include Crystalline::MetadataFields
|
|
14
|
-
|
|
15
|
-
# The name of the adjustment fee, shown as the statement line item.
|
|
16
|
-
field :fee_name, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('feeName'), required: true } }
|
|
17
|
-
# The number of adjustments with this fee name.
|
|
18
|
-
field :count, ::Integer, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('count'), required: true } }
|
|
19
|
-
# The total amount for this fee name. May be negative for a credit/refund.
|
|
20
|
-
field :amount, Models::Components::AmountDecimal, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('amount'), required: true } }
|
|
21
|
-
|
|
22
|
-
sig { params(fee_name: ::String, count: ::Integer, amount: Models::Components::AmountDecimal).void }
|
|
23
|
-
def initialize(fee_name:, count:, amount:)
|
|
24
|
-
@fee_name = fee_name
|
|
25
|
-
@count = count
|
|
26
|
-
@amount = amount
|
|
27
|
-
end
|
|
28
|
-
|
|
29
|
-
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
30
|
-
def ==(other)
|
|
31
|
-
return false unless other.is_a? self.class
|
|
32
|
-
return false unless @fee_name == other.fee_name
|
|
33
|
-
return false unless @count == other.count
|
|
34
|
-
return false unless @amount == other.amount
|
|
35
|
-
true
|
|
36
|
-
end
|
|
37
|
-
end
|
|
38
|
-
end
|
|
39
|
-
end
|
|
40
|
-
end
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
# typed: true
|
|
2
|
-
# frozen_string_literal: true
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
class Moov::Models::Components::BillingAdjustment
|
|
6
|
-
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
|
-
end
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
class Moov::Models::Components::BillingAdjustment
|
|
11
|
-
def fee_name(); end
|
|
12
|
-
def fee_name=(str_); end
|
|
13
|
-
def count(); end
|
|
14
|
-
def count=(str_); end
|
|
15
|
-
def amount(); end
|
|
16
|
-
def amount=(str_); end
|
|
17
|
-
end
|
|
@@ -1,40 +0,0 @@
|
|
|
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
|
-
# The total amount of adjustment fees. This field is deprecated and will be removed in a future release. Use adjustments.total.
|
|
11
|
-
#
|
|
12
|
-
# @deprecated class: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
13
|
-
class BillingSummaryAdjustmentFees
|
|
14
|
-
extend T::Sig
|
|
15
|
-
include Crystalline::MetadataFields
|
|
16
|
-
|
|
17
|
-
# A 3-letter ISO 4217 currency code.
|
|
18
|
-
field :currency, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('currency'), required: true } }
|
|
19
|
-
# A decimal-formatted numerical string that represents up to 9 decimal place precision.
|
|
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 } }
|
|
23
|
-
|
|
24
|
-
sig { params(currency: ::String, value_decimal: ::String).void }
|
|
25
|
-
def initialize(currency:, value_decimal:)
|
|
26
|
-
@currency = currency
|
|
27
|
-
@value_decimal = value_decimal
|
|
28
|
-
end
|
|
29
|
-
|
|
30
|
-
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
31
|
-
def ==(other)
|
|
32
|
-
return false unless other.is_a? self.class
|
|
33
|
-
return false unless @currency == other.currency
|
|
34
|
-
return false unless @value_decimal == other.value_decimal
|
|
35
|
-
true
|
|
36
|
-
end
|
|
37
|
-
end
|
|
38
|
-
end
|
|
39
|
-
end
|
|
40
|
-
end
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
# typed: true
|
|
2
|
-
# frozen_string_literal: true
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
class Moov::Models::Components::BillingSummaryAdjustmentFees
|
|
6
|
-
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
|
-
end
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
class Moov::Models::Components::BillingSummaryAdjustmentFees
|
|
11
|
-
def currency(); end
|
|
12
|
-
def currency=(str_); end
|
|
13
|
-
def value_decimal(); end
|
|
14
|
-
def value_decimal=(str_); end
|
|
15
|
-
end
|
|
@@ -1,21 +0,0 @@
|
|
|
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
|
-
|
|
11
|
-
class FeePaidBy
|
|
12
|
-
include ::Crystalline::Enum
|
|
13
|
-
enums do
|
|
14
|
-
SOURCE = new('source')
|
|
15
|
-
DESTINATION = new('destination')
|
|
16
|
-
end
|
|
17
|
-
open!
|
|
18
|
-
end
|
|
19
|
-
end
|
|
20
|
-
end
|
|
21
|
-
end
|
|
@@ -1,52 +0,0 @@
|
|
|
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
|
-
# Spend controls applied to an issued card, including velocity runtime state.
|
|
11
|
-
class IssuedControls
|
|
12
|
-
extend T::Sig
|
|
13
|
-
include Crystalline::MetadataFields
|
|
14
|
-
|
|
15
|
-
# Indicates if the card is single-use. If true, the card closes after the first authorization.
|
|
16
|
-
field :single_use, Crystalline::Nilable.new(Crystalline::Boolean.new), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('singleUse') } }
|
|
17
|
-
# The spending limits per time interval, including current runtime state.
|
|
18
|
-
field :velocity_limits, Crystalline::Nilable.new(Crystalline::Array.new(Models::Components::IssuedVelocityLimit)), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('velocityLimits') } }
|
|
19
|
-
# Restricts card usage by merchant category. When not set, all categories are allowed.
|
|
20
|
-
field :merchant_category_restrictions, Crystalline::Nilable.new(Models::Components::MerchantCategoryRestrictions), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('merchantCategoryRestrictions') } }
|
|
21
|
-
# Restricts card usage to specific merchants, independent of merchant category.
|
|
22
|
-
field :merchant_restrictions, Crystalline::Nilable.new(Models::Components::MerchantRestrictions), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('merchantRestrictions') } }
|
|
23
|
-
|
|
24
|
-
field :allowed_schedule, Crystalline::Nilable.new(Models::Components::IssuedControlsAllowedSchedule), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('allowedSchedule') } }
|
|
25
|
-
# A spend cutoff date and time. When set, all authorizations after this datetime are declined regardless of other controls.
|
|
26
|
-
field :expires_on, Crystalline::Nilable.new(::DateTime), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('expiresOn'), 'decoder': ::Moov::Utils.datetime_from_iso_format(true) } }
|
|
27
|
-
|
|
28
|
-
sig { params(single_use: T.nilable(T::Boolean), velocity_limits: T.nilable(T::Array[Models::Components::IssuedVelocityLimit]), merchant_category_restrictions: T.nilable(Models::Components::MerchantCategoryRestrictions), merchant_restrictions: T.nilable(Models::Components::MerchantRestrictions), allowed_schedule: T.nilable(Models::Components::IssuedControlsAllowedSchedule), expires_on: T.nilable(::DateTime)).void }
|
|
29
|
-
def initialize(single_use: nil, velocity_limits: nil, merchant_category_restrictions: nil, merchant_restrictions: nil, allowed_schedule: nil, expires_on: nil)
|
|
30
|
-
@single_use = single_use
|
|
31
|
-
@velocity_limits = velocity_limits
|
|
32
|
-
@merchant_category_restrictions = merchant_category_restrictions
|
|
33
|
-
@merchant_restrictions = merchant_restrictions
|
|
34
|
-
@allowed_schedule = allowed_schedule
|
|
35
|
-
@expires_on = expires_on
|
|
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 @single_use == other.single_use
|
|
42
|
-
return false unless @velocity_limits == other.velocity_limits
|
|
43
|
-
return false unless @merchant_category_restrictions == other.merchant_category_restrictions
|
|
44
|
-
return false unless @merchant_restrictions == other.merchant_restrictions
|
|
45
|
-
return false unless @allowed_schedule == other.allowed_schedule
|
|
46
|
-
return false unless @expires_on == other.expires_on
|
|
47
|
-
true
|
|
48
|
-
end
|
|
49
|
-
end
|
|
50
|
-
end
|
|
51
|
-
end
|
|
52
|
-
end
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
# typed: true
|
|
2
|
-
# frozen_string_literal: true
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
class Moov::Models::Components::IssuedControls
|
|
6
|
-
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
|
-
end
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
class Moov::Models::Components::IssuedControls
|
|
11
|
-
def single_use(); end
|
|
12
|
-
def single_use=(str_); end
|
|
13
|
-
def velocity_limits(); end
|
|
14
|
-
def velocity_limits=(str_); end
|
|
15
|
-
def merchant_category_restrictions(); end
|
|
16
|
-
def merchant_category_restrictions=(str_); end
|
|
17
|
-
def merchant_restrictions(); end
|
|
18
|
-
def merchant_restrictions=(str_); end
|
|
19
|
-
def allowed_schedule(); end
|
|
20
|
-
def allowed_schedule=(str_); end
|
|
21
|
-
def expires_on(); end
|
|
22
|
-
def expires_on=(str_); end
|
|
23
|
-
end
|
|
@@ -1,36 +0,0 @@
|
|
|
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
|
-
# Limits card usage to specific days and times.
|
|
11
|
-
class IssuedControlsAllowedSchedule
|
|
12
|
-
extend T::Sig
|
|
13
|
-
include Crystalline::MetadataFields
|
|
14
|
-
|
|
15
|
-
# IANA timezone string used to evaluate window boundaries against the authorization time.
|
|
16
|
-
field :timezone, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('timezone'), required: true } }
|
|
17
|
-
# Time windows during which the card may authorize. Any matching window allows the transaction.
|
|
18
|
-
field :windows, Crystalline::Array.new(Models::Components::ScheduleWindow), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('windows'), required: true } }
|
|
19
|
-
|
|
20
|
-
sig { params(timezone: ::String, windows: T::Array[Models::Components::ScheduleWindow]).void }
|
|
21
|
-
def initialize(timezone:, windows:)
|
|
22
|
-
@timezone = timezone
|
|
23
|
-
@windows = windows
|
|
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 @timezone == other.timezone
|
|
30
|
-
return false unless @windows == other.windows
|
|
31
|
-
true
|
|
32
|
-
end
|
|
33
|
-
end
|
|
34
|
-
end
|
|
35
|
-
end
|
|
36
|
-
end
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
# typed: true
|
|
2
|
-
# frozen_string_literal: true
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
class Moov::Models::Components::IssuedControlsAllowedSchedule
|
|
6
|
-
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
|
-
end
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
class Moov::Models::Components::IssuedControlsAllowedSchedule
|
|
11
|
-
def timezone(); end
|
|
12
|
-
def timezone=(str_); end
|
|
13
|
-
def windows(); end
|
|
14
|
-
def windows=(str_); end
|
|
15
|
-
end
|
|
@@ -1,60 +0,0 @@
|
|
|
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 velocity limit with its current runtime state.
|
|
11
|
-
class IssuedVelocityLimit
|
|
12
|
-
extend T::Sig
|
|
13
|
-
include Crystalline::MetadataFields
|
|
14
|
-
|
|
15
|
-
# Specifies the time frame for a velocity limit. `per-transaction` applies to each individual authorization and never resets. Time-based intervals (where supported) reset at midnight ET.
|
|
16
|
-
field :interval, Models::Components::IssuingIntervalLimit, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('interval'), required: true, 'decoder': ::Moov::Utils.open_enum_from_string(Models::Components::IssuingIntervalLimit, false) } }
|
|
17
|
-
# The maximum amount in cents that can be spent in a given interval.
|
|
18
|
-
field :amount, Crystalline::Nilable.new(::Integer), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('amount') } }
|
|
19
|
-
# The maximum number of transactions allowed in the given interval.
|
|
20
|
-
field :count, Crystalline::Nilable.new(::Integer), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('count') } }
|
|
21
|
-
# The amount in cents already spent in the current interval.
|
|
22
|
-
field :amount_used, Crystalline::Nilable.new(::Integer), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('amountUsed') } }
|
|
23
|
-
# The amount in cents remaining in the current interval.
|
|
24
|
-
field :amount_remaining, Crystalline::Nilable.new(::Integer), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('amountRemaining') } }
|
|
25
|
-
# The number of transactions already made in the current interval.
|
|
26
|
-
field :count_used, Crystalline::Nilable.new(::Integer), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('countUsed') } }
|
|
27
|
-
# The number of transactions remaining in the current interval.
|
|
28
|
-
field :count_remaining, Crystalline::Nilable.new(::Integer), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('countRemaining') } }
|
|
29
|
-
# When the current interval resets. Absent for per-transaction limits.
|
|
30
|
-
field :resets_on, Crystalline::Nilable.new(::DateTime), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('resetsOn'), 'decoder': ::Moov::Utils.datetime_from_iso_format(true) } }
|
|
31
|
-
|
|
32
|
-
sig { params(interval: Models::Components::IssuingIntervalLimit, amount: T.nilable(::Integer), count: T.nilable(::Integer), amount_used: T.nilable(::Integer), amount_remaining: T.nilable(::Integer), count_used: T.nilable(::Integer), count_remaining: T.nilable(::Integer), resets_on: T.nilable(::DateTime)).void }
|
|
33
|
-
def initialize(interval:, amount: nil, count: nil, amount_used: nil, amount_remaining: nil, count_used: nil, count_remaining: nil, resets_on: nil)
|
|
34
|
-
@interval = interval
|
|
35
|
-
@amount = amount
|
|
36
|
-
@count = count
|
|
37
|
-
@amount_used = amount_used
|
|
38
|
-
@amount_remaining = amount_remaining
|
|
39
|
-
@count_used = count_used
|
|
40
|
-
@count_remaining = count_remaining
|
|
41
|
-
@resets_on = resets_on
|
|
42
|
-
end
|
|
43
|
-
|
|
44
|
-
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
45
|
-
def ==(other)
|
|
46
|
-
return false unless other.is_a? self.class
|
|
47
|
-
return false unless @interval == other.interval
|
|
48
|
-
return false unless @amount == other.amount
|
|
49
|
-
return false unless @count == other.count
|
|
50
|
-
return false unless @amount_used == other.amount_used
|
|
51
|
-
return false unless @amount_remaining == other.amount_remaining
|
|
52
|
-
return false unless @count_used == other.count_used
|
|
53
|
-
return false unless @count_remaining == other.count_remaining
|
|
54
|
-
return false unless @resets_on == other.resets_on
|
|
55
|
-
true
|
|
56
|
-
end
|
|
57
|
-
end
|
|
58
|
-
end
|
|
59
|
-
end
|
|
60
|
-
end
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
# typed: true
|
|
2
|
-
# frozen_string_literal: true
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
class Moov::Models::Components::IssuedVelocityLimit
|
|
6
|
-
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
|
-
end
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
class Moov::Models::Components::IssuedVelocityLimit
|
|
11
|
-
def interval(); end
|
|
12
|
-
def interval=(str_); end
|
|
13
|
-
def amount(); end
|
|
14
|
-
def amount=(str_); end
|
|
15
|
-
def count(); end
|
|
16
|
-
def count=(str_); end
|
|
17
|
-
def amount_used(); end
|
|
18
|
-
def amount_used=(str_); end
|
|
19
|
-
def amount_remaining(); end
|
|
20
|
-
def amount_remaining=(str_); end
|
|
21
|
-
def count_used(); end
|
|
22
|
-
def count_used=(str_); end
|
|
23
|
-
def count_remaining(); end
|
|
24
|
-
def count_remaining=(str_); end
|
|
25
|
-
def resets_on(); end
|
|
26
|
-
def resets_on=(str_); end
|
|
27
|
-
end
|
|
@@ -1,36 +0,0 @@
|
|
|
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
|
-
# Limits card usage to specific days and times.
|
|
11
|
-
class IssuingControlsAllowedSchedule
|
|
12
|
-
extend T::Sig
|
|
13
|
-
include Crystalline::MetadataFields
|
|
14
|
-
|
|
15
|
-
# IANA timezone string used to evaluate window boundaries against the authorization time.
|
|
16
|
-
field :timezone, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('timezone'), required: true } }
|
|
17
|
-
# Time windows during which the card may authorize. Any matching window allows the transaction.
|
|
18
|
-
field :windows, Crystalline::Array.new(Models::Components::ScheduleWindow), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('windows'), required: true } }
|
|
19
|
-
|
|
20
|
-
sig { params(timezone: ::String, windows: T::Array[Models::Components::ScheduleWindow]).void }
|
|
21
|
-
def initialize(timezone:, windows:)
|
|
22
|
-
@timezone = timezone
|
|
23
|
-
@windows = windows
|
|
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 @timezone == other.timezone
|
|
30
|
-
return false unless @windows == other.windows
|
|
31
|
-
true
|
|
32
|
-
end
|
|
33
|
-
end
|
|
34
|
-
end
|
|
35
|
-
end
|
|
36
|
-
end
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
# typed: true
|
|
2
|
-
# frozen_string_literal: true
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
class Moov::Models::Components::IssuingControlsAllowedSchedule
|
|
6
|
-
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
|
-
end
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
class Moov::Models::Components::IssuingControlsAllowedSchedule
|
|
11
|
-
def timezone(); end
|
|
12
|
-
def timezone=(str_); end
|
|
13
|
-
def windows(); end
|
|
14
|
-
def windows=(str_); end
|
|
15
|
-
end
|
|
@@ -1,21 +0,0 @@
|
|
|
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
|
-
# IssuingControlsRestrictionMode - Whether the listed items should be allowed (`allow`) or blocked (`block`).
|
|
11
|
-
class IssuingControlsRestrictionMode
|
|
12
|
-
include ::Crystalline::Enum
|
|
13
|
-
enums do
|
|
14
|
-
ALLOW = new('allow')
|
|
15
|
-
BLOCK = new('block')
|
|
16
|
-
end
|
|
17
|
-
open!
|
|
18
|
-
end
|
|
19
|
-
end
|
|
20
|
-
end
|
|
21
|
-
end
|
|
@@ -1,35 +0,0 @@
|
|
|
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
|
-
# IssuingDeclineReason - The reason an authorization or authorization event was declined. Only present if the
|
|
11
|
-
# authorization or event has been declined.
|
|
12
|
-
class IssuingDeclineReason
|
|
13
|
-
include ::Crystalline::Enum
|
|
14
|
-
enums do
|
|
15
|
-
INSUFFICIENT_FUNDS = new('insufficient-funds')
|
|
16
|
-
CARD_NOT_ACTIVE = new('card-not-active')
|
|
17
|
-
CARD_EXPIRATION = new('card-expiration')
|
|
18
|
-
SPEND_CUTOFF_REACHED = new('spend-cutoff-reached')
|
|
19
|
-
OUTSIDE_ALLOWED_SCHEDULE = new('outside-allowed-schedule')
|
|
20
|
-
SPEND_LIMIT_EXCEEDED = new('spend-limit-exceeded')
|
|
21
|
-
MERCHANT_CATEGORY_NOT_SUPPORTED = new('merchant-category-not-supported')
|
|
22
|
-
MERCHANT_CATEGORY_RESTRICTED = new('merchant-category-restricted')
|
|
23
|
-
MERCHANT_RESTRICTED = new('merchant-restricted')
|
|
24
|
-
MERCHANT_COUNTRY_NOT_SUPPORTED = new('merchant-country-not-supported')
|
|
25
|
-
UNSUPPORTED_TRANSACTION = new('unsupported-transaction')
|
|
26
|
-
NETWORK_STAND_IN = new('network-stand-in')
|
|
27
|
-
DECLINED_BY_ISSUER = new('declined-by-issuer')
|
|
28
|
-
INVALID_REQUEST = new('invalid-request')
|
|
29
|
-
SYSTEM_ERROR = new('system-error')
|
|
30
|
-
end
|
|
31
|
-
open!
|
|
32
|
-
end
|
|
33
|
-
end
|
|
34
|
-
end
|
|
35
|
-
end
|
|
@@ -1,45 +0,0 @@
|
|
|
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
|
-
# IssuingMerchantCategory - Predefined merchant category groups.
|
|
11
|
-
class IssuingMerchantCategory
|
|
12
|
-
include ::Crystalline::Enum
|
|
13
|
-
enums do
|
|
14
|
-
ADVERTISING = new('advertising')
|
|
15
|
-
AIRLINES = new('airlines')
|
|
16
|
-
ALCOHOL_AND_BARS = new('alcohol-and-bars')
|
|
17
|
-
CAR_RENTAL = new('car-rental')
|
|
18
|
-
EDUCATION = new('education')
|
|
19
|
-
ELECTRONICS = new('electronics')
|
|
20
|
-
FUEL_AND_GAS = new('fuel-and-gas')
|
|
21
|
-
GAMBLING = new('gambling')
|
|
22
|
-
GROCERIES = new('groceries')
|
|
23
|
-
GROUND_TRANSPORTATION = new('ground-transportation')
|
|
24
|
-
HARDWARE_AND_HOME = new('hardware-and-home')
|
|
25
|
-
HEALTHCARE = new('healthcare')
|
|
26
|
-
LIVE_ENTERTAINMENT = new('live-entertainment')
|
|
27
|
-
LODGING = new('lodging')
|
|
28
|
-
MOVIES = new('movies')
|
|
29
|
-
OFFICE_SUPPLIES = new('office-supplies')
|
|
30
|
-
PARKING = new('parking')
|
|
31
|
-
PERSONAL_CARE = new('personal-care')
|
|
32
|
-
PROFESSIONAL_SERVICES = new('professional-services')
|
|
33
|
-
RESTAURANTS_AND_DINING = new('restaurants-and-dining')
|
|
34
|
-
RETAIL_GENERAL = new('retail-general')
|
|
35
|
-
RIDESHARE_AND_TAXIS = new('rideshare-and-taxis')
|
|
36
|
-
SOFTWARE_AND_SAAS = new('software-and-saas')
|
|
37
|
-
SPORTS_AND_RECREATION = new('sports-and-recreation')
|
|
38
|
-
SUBSCRIPTIONS = new('subscriptions')
|
|
39
|
-
TRAVEL_AGENCIES = new('travel-agencies')
|
|
40
|
-
end
|
|
41
|
-
open!
|
|
42
|
-
end
|
|
43
|
-
end
|
|
44
|
-
end
|
|
45
|
-
end
|
|
@@ -1,24 +0,0 @@
|
|
|
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
|
-
|
|
11
|
-
class IssuingScheduleDay < T::Enum
|
|
12
|
-
enums do
|
|
13
|
-
MONDAY = new('monday')
|
|
14
|
-
TUESDAY = new('tuesday')
|
|
15
|
-
WEDNESDAY = new('wednesday')
|
|
16
|
-
THURSDAY = new('thursday')
|
|
17
|
-
FRIDAY = new('friday')
|
|
18
|
-
SATURDAY = new('saturday')
|
|
19
|
-
SUNDAY = new('sunday')
|
|
20
|
-
end
|
|
21
|
-
end
|
|
22
|
-
end
|
|
23
|
-
end
|
|
24
|
-
end
|