moov_ruby 26.4.15 → 26.7.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/account_terminal_applications.rb +16 -16
- data/lib/moov/accounts.rb +54 -52
- data/lib/moov/adjustments.rb +8 -8
- data/lib/moov/apple_pay.rb +20 -20
- data/lib/moov/authentication.rb +8 -8
- data/lib/moov/avatars.rb +5 -5
- data/lib/moov/bank_accounts.rb +37 -37
- data/lib/moov/branding.rb +12 -12
- data/lib/moov/capabilities.rb +20 -20
- data/lib/moov/card_issuing.rb +26 -26
- data/lib/moov/cards.rb +178 -20
- data/lib/moov/disputes.rb +44 -44
- data/lib/moov/end_to_end_encryption.rb +8 -8
- data/lib/moov/enriched_address.rb +5 -5
- data/lib/moov/enriched_profile.rb +5 -5
- data/lib/moov/fee_plans.rb +40 -40
- data/lib/moov/files.rb +12 -12
- data/lib/moov/google_pay.rb +4 -4
- data/lib/moov/images.rb +29 -29
- data/lib/moov/industries.rb +4 -4
- data/lib/moov/institutions.rb +10 -10
- data/lib/moov/invoices.rb +28 -28
- data/lib/moov/issuing_transactions.rb +20 -20
- 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/addcapabilities.rb +1 -5
- 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 +36 -0
- data/lib/moov/models/components/amountdecimalrange.rbi +15 -0
- data/lib/moov/models/components/amountdecimalrangeupdate.rb +36 -0
- data/lib/moov/models/components/amountdecimalrangeupdate.rbi +15 -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/authorizeduser.rb +36 -0
- data/lib/moov/models/components/authorizeduser.rbi +15 -0
- 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 +3 -9
- data/lib/moov/models/components/capabilityid.rb +2 -11
- 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/cardbrandfees.rb +2 -6
- data/lib/moov/models/components/cardbrandfees.rbi +0 -2
- data/lib/moov/models/components/cardissuingnetwork.rb +1 -3
- data/lib/moov/models/components/cardmetadata.rb +79 -0
- data/lib/moov/models/components/cardmetadata.rbi +35 -0
- data/lib/moov/models/components/cardmetadatarequest.rb +38 -0
- data/lib/moov/models/components/cardmetadatarequest.rbi +15 -0
- data/lib/moov/models/components/cardtransactiondetails.rb +5 -13
- data/lib/moov/models/components/cardtransactiondetails.rbi +0 -4
- 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/createaccount.rb +3 -7
- data/lib/moov/models/components/createaccounttype.rb +1 -3
- data/lib/moov/models/components/createauthorizeduser.rb +40 -0
- data/lib/moov/models/components/createauthorizeduser.rbi +17 -0
- data/lib/moov/models/components/createauthorizedusererror.rb +40 -0
- data/lib/moov/models/components/createauthorizedusererror.rbi +17 -0
- data/lib/moov/models/components/createauthorizeduserupdate.rb +40 -0
- data/lib/moov/models/components/createauthorizeduserupdate.rbi +17 -0
- data/lib/moov/models/components/createbusinessprofile.rb +2 -2
- data/lib/moov/models/components/createdtransfer.rb +5 -16
- data/lib/moov/models/components/createdtransfer.rbi +0 -4
- 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 +16 -16
- data/lib/moov/models/components/createpaymentlink.rbi +4 -4
- data/lib/moov/models/components/createpaymentlinkamountdetails.rb +32 -0
- data/lib/moov/models/components/createpaymentlinkamountdetails.rbi +13 -0
- data/lib/moov/models/components/{webhookdataeventtest.rb → createpaymentlinkamountdetailsvalidationerror.rb} +7 -7
- data/lib/moov/models/components/createpaymentlinkamountdetailsvalidationerror.rbi +13 -0
- 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/createtransferamountdetails.rb +6 -2
- data/lib/moov/models/components/createtransferamountdetails.rbi +2 -0
- data/lib/moov/models/components/createtransferamountdetailsvalidationerror.rb +6 -2
- data/lib/moov/models/components/createtransferamountdetailsvalidationerror.rbi +2 -0
- data/lib/moov/models/components/createtransferdestinationcard.rb +2 -6
- data/lib/moov/models/components/createtransferdestinationcard.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/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 +3 -3
- data/lib/moov/models/components/filepurpose.rb +2 -4
- 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 +16 -27
- data/lib/moov/models/components/fullissuedcard.rbi +4 -10
- data/lib/moov/models/components/geographicreach.rb +1 -3
- data/lib/moov/models/components/googlepayresponse.rb +3 -3
- 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 +4 -8
- data/lib/moov/models/components/invoice.rbi +0 -2
- 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 +15 -26
- data/lib/moov/models/components/issuedcard.rbi +4 -10
- data/lib/moov/models/components/issuedcardauthorization.rb +4 -8
- data/lib/moov/models/components/issuedcardauthorization.rbi +0 -2
- data/lib/moov/models/components/issuedcardauthorizationevent.rb +2 -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 +6 -6
- 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 +1 -1
- data/lib/moov/models/components/issuingintervallimit.rb +1 -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/manualtermsofservice.rb +1 -1
- data/lib/moov/models/components/manualtermsofserviceupdate.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/onboardinginvite.rb +2 -2
- data/lib/moov/models/components/onboardinginviterequest.rb +1 -1
- 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/patchbusiness.rb +2 -2
- data/lib/moov/models/components/patchtransfer.rb +1 -1
- data/lib/moov/models/components/patchwallet.rb +1 -1
- data/lib/moov/models/components/paymentlink.rb +19 -19
- data/lib/moov/models/components/paymentlink.rbi +4 -4
- data/lib/moov/models/components/paymentlinkamountdetails.rb +32 -0
- data/lib/moov/models/components/paymentlinkamountdetails.rbi +13 -0
- data/lib/moov/models/components/paymentlinkdisplayoptions.rb +1 -1
- data/lib/moov/models/components/paymentlinkdisplayoptionsupdate.rb +1 -1
- data/lib/moov/models/components/paymentlinkpaymentdetails.rb +14 -2
- data/lib/moov/models/components/paymentlinkpaymentdetails.rbi +6 -0
- data/lib/moov/models/components/paymentlinkpaymentdetails_amounttype.rb +19 -0
- data/lib/moov/models/components/paymentlinkpaymentdetails_amounttype.rbi +11 -0
- data/lib/moov/models/components/paymentlinkpaymentdetailsupdate.rb +14 -2
- data/lib/moov/models/components/paymentlinkpaymentdetailsupdate.rbi +6 -0
- data/lib/moov/models/components/paymentlinkpaymentdetailsupdate_amounttype.rb +19 -0
- data/lib/moov/models/components/paymentlinkpaymentdetailsupdate_amounttype.rbi +11 -0
- data/lib/moov/models/components/paymentlinkpayoutdetails.rb +3 -7
- data/lib/moov/models/components/paymentlinkpayoutdetails.rbi +0 -2
- data/lib/moov/models/components/paymentlinkpayoutdetailsupdate.rb +3 -7
- 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/puttippresets.rb +1 -1
- data/lib/moov/models/components/refundcarddetails.rb +2 -2
- data/lib/moov/models/components/refundcardstatus.rb +1 -3
- 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 +18 -18
- data/lib/moov/models/components/requestcard.rbi +8 -8
- 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 -10
- 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/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/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/termsofservice.rb +1 -1
- 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 -16
- data/lib/moov/models/components/transfer.rbi +0 -4
- data/lib/moov/models/components/transferamountdetails.rb +6 -2
- data/lib/moov/models/components/transferamountdetails.rbi +2 -0
- data/lib/moov/models/components/transferconfig.rb +2 -6
- data/lib/moov/models/components/transferconfig.rbi +0 -2
- data/lib/moov/models/components/transferdestination.rb +3 -9
- data/lib/moov/models/components/transferdestination.rbi +0 -2
- 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 +7 -7
- data/lib/moov/models/components/updateissuedcard.rb +9 -15
- data/lib/moov/models/components/updateissuedcard.rbi +4 -6
- data/lib/moov/models/components/updateissuedcardstate.rb +0 -4
- data/lib/moov/models/components/updatepaymentlink.rb +7 -7
- data/lib/moov/models/components/updatepaymentlink.rbi +2 -2
- data/lib/moov/models/components/updatepaymentlinkamountdetails.rb +32 -0
- data/lib/moov/models/components/updatepaymentlinkamountdetails.rbi +13 -0
- data/lib/moov/models/components/updatepaymentlinkamountdetailsvalidationerror.rb +32 -0
- data/lib/moov/models/components/updatepaymentlinkamountdetailsvalidationerror.rbi +13 -0
- 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 +2 -6
- data/lib/moov/models/components/webhookdatabankaccountdeleted.rbi +0 -2
- 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 +2 -8
- data/lib/moov/models/components/webhookdatacapabilityupdated.rb +3 -9
- 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/webhookdatasweepcreated.rb +2 -6
- data/lib/moov/models/components/webhookdatasweepcreated.rbi +0 -2
- data/lib/moov/models/components/webhookdatasweepupdated.rb +3 -7
- data/lib/moov/models/components/webhookdatasweepupdated.rbi +0 -2
- 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 -5
- data/lib/moov/models/components/webhookstatus.rb +1 -3
- data/lib/moov/models/components.rb +16 -15
- data/lib/moov/models/errors/cardacquiringrefund_error.rb +1 -1
- data/lib/moov/models/errors/cardmetadatarequesterror.rb +44 -0
- data/lib/moov/models/errors/cardmetadatarequesterror.rbi +19 -0
- data/lib/moov/models/errors/createpaymentlinkerror.rb +6 -6
- data/lib/moov/models/errors/createpaymentlinkerror.rbi +2 -2
- data/lib/moov/models/errors/requestcarderror.rb +14 -14
- data/lib/moov/models/errors/requestcarderror.rbi +8 -8
- data/lib/moov/models/errors/transfer_error.rb +5 -16
- data/lib/moov/models/errors/transfer_error.rbi +0 -4
- data/lib/moov/models/errors/transfervalidationerror.rb +2 -6
- data/lib/moov/models/errors/transfervalidationerror.rbi +0 -2
- data/lib/moov/models/errors/updateissuedcarderror.rb +8 -12
- data/lib/moov/models/errors/updateissuedcarderror.rbi +4 -6
- data/lib/moov/models/errors/updatepaymentlinkerror.rb +6 -6
- data/lib/moov/models/errors/updatepaymentlinkerror.rbi +2 -2
- data/lib/moov/models/errors.rb +1 -0
- data/lib/moov/models/operations/disablecapability_request.rb +1 -7
- data/lib/moov/models/operations/getcapability_request.rb +1 -7
- data/lib/moov/models/operations/{listcancellations_response.rb → getcardmetadata_response.rb} +6 -6
- data/lib/moov/models/operations/{listcancellations_response.rbi → getcardmetadata_response.rbi} +4 -4
- data/lib/moov/models/operations/linkbankaccount_request.rb +1 -1
- 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 +2 -2
- 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 +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 +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 +1 -2
- data/lib/moov/onboarding.rb +16 -16
- data/lib/moov/payment_links.rb +24 -24
- data/lib/moov/payment_methods.rb +8 -8
- data/lib/moov/ping.rb +4 -4
- data/lib/moov/products.rb +20 -20
- data/lib/moov/receipts.rb +8 -8
- data/lib/moov/representatives.rb +20 -20
- data/lib/moov/resolution_links.rb +16 -16
- data/lib/moov/scheduling.rb +24 -24
- data/lib/moov/sdkconfiguration.rb +4 -4
- data/lib/moov/statements.rb +8 -8
- data/lib/moov/support.rb +20 -20
- data/lib/moov/sweeps.rb +24 -24
- data/lib/moov/terminal_applications.rb +20 -20
- data/lib/moov/transfer_config.rb +12 -12
- data/lib/moov/transfers.rb +51 -180
- data/lib/moov/underwriting.rb +12 -12
- data/lib/moov/utils/retries.rb +1 -43
- data/lib/moov/utils/utils.rb +2 -6
- data/lib/moov/wallet_transactions.rb +8 -8
- data/lib/moov/wallets.rb +16 -16
- data/lib/moov/webhooks.rb +32 -32
- metadata +40 -38
- data/lib/moov/models/components/billingaddress.rb +0 -52
- data/lib/moov/models/components/billingaddress.rbi +0 -23
- 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/pushdeliveryspeed.rb +0 -21
- data/lib/moov/models/components/pushdeliveryspeed.rbi +0 -11
- data/lib/moov/models/components/pushoptions.rb +0 -39
- data/lib/moov/models/components/pushoptions.rbi +0 -15
- data/lib/moov/models/components/pushoptionserror.rb +0 -36
- data/lib/moov/models/components/pushoptionserror.rbi +0 -15
- data/lib/moov/models/components/pushoptionsupdate.rb +0 -39
- data/lib/moov/models/components/pushoptionsupdate.rbi +0 -15
- data/lib/moov/models/components/rtpfailurecode.rb +0 -29
- data/lib/moov/models/components/rtpfailurecode.rbi +0 -11
- data/lib/moov/models/components/rtptransactiondetails.rb +0 -58
- data/lib/moov/models/components/rtptransactiondetails.rbi +0 -25
- data/lib/moov/models/components/rtptransactionstatus.rb +0 -23
- data/lib/moov/models/components/rtptransactionstatus.rbi +0 -11
- data/lib/moov/models/components/transfercapture.rb +0 -36
- data/lib/moov/models/components/transfercapture.rbi +0 -15
- data/lib/moov/models/components/transfercontrols.rb +0 -48
- data/lib/moov/models/components/transfercontrols.rbi +0 -21
- data/lib/moov/models/components/webhookdataauthorizationexpiring.rb +0 -44
- data/lib/moov/models/components/webhookdataauthorizationexpiring.rbi +0 -19
- data/lib/moov/models/components/webhookdataeventtest.rbi +0 -13
- data/lib/moov/models/operations/listcancellations_request.rb +0 -36
- data/lib/moov/models/operations/listcancellations_request.rbi +0 -15
|
@@ -70,7 +70,7 @@ module Moov
|
|
|
70
70
|
|
|
71
71
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
72
72
|
timeout ||= @sdk_configuration.timeout
|
|
73
|
-
|
|
73
|
+
|
|
74
74
|
|
|
75
75
|
connection = @sdk_configuration.client
|
|
76
76
|
|
|
@@ -85,7 +85,7 @@ module Moov
|
|
|
85
85
|
error = T.let(nil, T.nilable(StandardError))
|
|
86
86
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
87
87
|
|
|
88
|
-
|
|
88
|
+
|
|
89
89
|
begin
|
|
90
90
|
http_response = T.must(connection).post(url) do |req|
|
|
91
91
|
req.body = body
|
|
@@ -122,13 +122,13 @@ module Moov
|
|
|
122
122
|
response: http_response
|
|
123
123
|
)
|
|
124
124
|
end
|
|
125
|
-
|
|
125
|
+
|
|
126
126
|
if http_response.nil?
|
|
127
127
|
raise error if !error.nil?
|
|
128
128
|
raise 'no response'
|
|
129
129
|
end
|
|
130
130
|
end
|
|
131
|
-
|
|
131
|
+
|
|
132
132
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
133
133
|
if Utils.match_status_code(http_response.status, ['204'])
|
|
134
134
|
http_response = @sdk_configuration.hooks.after_success(
|
|
@@ -188,7 +188,7 @@ module Moov
|
|
|
188
188
|
|
|
189
189
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
190
190
|
timeout ||= @sdk_configuration.timeout
|
|
191
|
-
|
|
191
|
+
|
|
192
192
|
|
|
193
193
|
connection = @sdk_configuration.client
|
|
194
194
|
|
|
@@ -203,7 +203,7 @@ module Moov
|
|
|
203
203
|
error = T.let(nil, T.nilable(StandardError))
|
|
204
204
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
205
205
|
|
|
206
|
-
|
|
206
|
+
|
|
207
207
|
begin
|
|
208
208
|
http_response = T.must(connection).post(url) do |req|
|
|
209
209
|
req.headers.merge!(headers)
|
|
@@ -239,13 +239,13 @@ module Moov
|
|
|
239
239
|
response: http_response
|
|
240
240
|
)
|
|
241
241
|
end
|
|
242
|
-
|
|
242
|
+
|
|
243
243
|
if http_response.nil?
|
|
244
244
|
raise error if !error.nil?
|
|
245
245
|
raise 'no response'
|
|
246
246
|
end
|
|
247
247
|
end
|
|
248
|
-
|
|
248
|
+
|
|
249
249
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
250
250
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
251
251
|
if Utils.match_content_type(content_type, 'application/json')
|
|
@@ -45,7 +45,7 @@ module Moov
|
|
|
45
45
|
def get(request:, timeout_ms: nil, http_headers: nil)
|
|
46
46
|
# get - Fetch enriched address suggestions. Requires a partial address.
|
|
47
47
|
#
|
|
48
|
-
# To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
48
|
+
# To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
49
49
|
# you'll need to specify the `/profile-enrichment.read` scope.
|
|
50
50
|
url, params = @sdk_configuration.get_server_details
|
|
51
51
|
base_url = Utils.template_url(url, params)
|
|
@@ -60,7 +60,7 @@ module Moov
|
|
|
60
60
|
|
|
61
61
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
62
62
|
timeout ||= @sdk_configuration.timeout
|
|
63
|
-
|
|
63
|
+
|
|
64
64
|
|
|
65
65
|
connection = @sdk_configuration.client
|
|
66
66
|
|
|
@@ -75,7 +75,7 @@ module Moov
|
|
|
75
75
|
error = T.let(nil, T.nilable(StandardError))
|
|
76
76
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
77
77
|
|
|
78
|
-
|
|
78
|
+
|
|
79
79
|
begin
|
|
80
80
|
http_response = T.must(connection).get(url) do |req|
|
|
81
81
|
req.headers.merge!(headers)
|
|
@@ -112,13 +112,13 @@ module Moov
|
|
|
112
112
|
response: http_response
|
|
113
113
|
)
|
|
114
114
|
end
|
|
115
|
-
|
|
115
|
+
|
|
116
116
|
if http_response.nil?
|
|
117
117
|
raise error if !error.nil?
|
|
118
118
|
raise 'no response'
|
|
119
119
|
end
|
|
120
120
|
end
|
|
121
|
-
|
|
121
|
+
|
|
122
122
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
123
123
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
124
124
|
if Utils.match_content_type(content_type, 'application/json')
|
|
@@ -45,7 +45,7 @@ module Moov
|
|
|
45
45
|
def get(email:, timeout_ms: nil, http_headers: nil)
|
|
46
46
|
# get - Fetch enriched profile data. Requires a valid email address. This service is offered in collaboration with Clearbit.
|
|
47
47
|
#
|
|
48
|
-
# To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
48
|
+
# To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
49
49
|
# you'll need to specify the `/profile-enrichment.read` scope.
|
|
50
50
|
request = Models::Operations::GetEnrichmentProfileRequest.new(
|
|
51
51
|
email: email
|
|
@@ -63,7 +63,7 @@ module Moov
|
|
|
63
63
|
|
|
64
64
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
65
65
|
timeout ||= @sdk_configuration.timeout
|
|
66
|
-
|
|
66
|
+
|
|
67
67
|
|
|
68
68
|
connection = @sdk_configuration.client
|
|
69
69
|
|
|
@@ -78,7 +78,7 @@ module Moov
|
|
|
78
78
|
error = T.let(nil, T.nilable(StandardError))
|
|
79
79
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
80
80
|
|
|
81
|
-
|
|
81
|
+
|
|
82
82
|
begin
|
|
83
83
|
http_response = T.must(connection).get(url) do |req|
|
|
84
84
|
req.headers.merge!(headers)
|
|
@@ -115,13 +115,13 @@ module Moov
|
|
|
115
115
|
response: http_response
|
|
116
116
|
)
|
|
117
117
|
end
|
|
118
|
-
|
|
118
|
+
|
|
119
119
|
if http_response.nil?
|
|
120
120
|
raise error if !error.nil?
|
|
121
121
|
raise 'no response'
|
|
122
122
|
end
|
|
123
123
|
end
|
|
124
|
-
|
|
124
|
+
|
|
125
125
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
126
126
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
127
127
|
if Utils.match_content_type(content_type, 'application/json')
|
data/lib/moov/fee_plans.rb
CHANGED
|
@@ -65,7 +65,7 @@ module Moov
|
|
|
65
65
|
|
|
66
66
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
67
67
|
timeout ||= @sdk_configuration.timeout
|
|
68
|
-
|
|
68
|
+
|
|
69
69
|
|
|
70
70
|
connection = @sdk_configuration.client
|
|
71
71
|
|
|
@@ -80,7 +80,7 @@ module Moov
|
|
|
80
80
|
error = T.let(nil, T.nilable(StandardError))
|
|
81
81
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
82
82
|
|
|
83
|
-
|
|
83
|
+
|
|
84
84
|
begin
|
|
85
85
|
http_response = T.must(connection).get(url) do |req|
|
|
86
86
|
req.headers.merge!(headers)
|
|
@@ -117,13 +117,13 @@ module Moov
|
|
|
117
117
|
response: http_response
|
|
118
118
|
)
|
|
119
119
|
end
|
|
120
|
-
|
|
120
|
+
|
|
121
121
|
if http_response.nil?
|
|
122
122
|
raise error if !error.nil?
|
|
123
123
|
raise 'no response'
|
|
124
124
|
end
|
|
125
125
|
end
|
|
126
|
-
|
|
126
|
+
|
|
127
127
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
128
128
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
129
129
|
if Utils.match_content_type(content_type, 'application/json')
|
|
@@ -200,7 +200,7 @@ module Moov
|
|
|
200
200
|
|
|
201
201
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
202
202
|
timeout ||= @sdk_configuration.timeout
|
|
203
|
-
|
|
203
|
+
|
|
204
204
|
|
|
205
205
|
connection = @sdk_configuration.client
|
|
206
206
|
|
|
@@ -215,7 +215,7 @@ module Moov
|
|
|
215
215
|
error = T.let(nil, T.nilable(StandardError))
|
|
216
216
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
217
217
|
|
|
218
|
-
|
|
218
|
+
|
|
219
219
|
begin
|
|
220
220
|
http_response = T.must(connection).post(url) do |req|
|
|
221
221
|
req.body = body
|
|
@@ -252,13 +252,13 @@ module Moov
|
|
|
252
252
|
response: http_response
|
|
253
253
|
)
|
|
254
254
|
end
|
|
255
|
-
|
|
255
|
+
|
|
256
256
|
if http_response.nil?
|
|
257
257
|
raise error if !error.nil?
|
|
258
258
|
raise 'no response'
|
|
259
259
|
end
|
|
260
260
|
end
|
|
261
|
-
|
|
261
|
+
|
|
262
262
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
263
263
|
if Utils.match_status_code(http_response.status, ['201'])
|
|
264
264
|
if Utils.match_content_type(content_type, 'application/json')
|
|
@@ -356,7 +356,7 @@ module Moov
|
|
|
356
356
|
|
|
357
357
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
358
358
|
timeout ||= @sdk_configuration.timeout
|
|
359
|
-
|
|
359
|
+
|
|
360
360
|
|
|
361
361
|
connection = @sdk_configuration.client
|
|
362
362
|
|
|
@@ -371,7 +371,7 @@ module Moov
|
|
|
371
371
|
error = T.let(nil, T.nilable(StandardError))
|
|
372
372
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
373
373
|
|
|
374
|
-
|
|
374
|
+
|
|
375
375
|
begin
|
|
376
376
|
http_response = T.must(connection).get(url) do |req|
|
|
377
377
|
req.headers.merge!(headers)
|
|
@@ -408,13 +408,13 @@ module Moov
|
|
|
408
408
|
response: http_response
|
|
409
409
|
)
|
|
410
410
|
end
|
|
411
|
-
|
|
411
|
+
|
|
412
412
|
if http_response.nil?
|
|
413
413
|
raise error if !error.nil?
|
|
414
414
|
raise 'no response'
|
|
415
415
|
end
|
|
416
416
|
end
|
|
417
|
-
|
|
417
|
+
|
|
418
418
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
419
419
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
420
420
|
if Utils.match_content_type(content_type, 'application/json')
|
|
@@ -477,7 +477,7 @@ module Moov
|
|
|
477
477
|
|
|
478
478
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
479
479
|
timeout ||= @sdk_configuration.timeout
|
|
480
|
-
|
|
480
|
+
|
|
481
481
|
|
|
482
482
|
connection = @sdk_configuration.client
|
|
483
483
|
|
|
@@ -492,7 +492,7 @@ module Moov
|
|
|
492
492
|
error = T.let(nil, T.nilable(StandardError))
|
|
493
493
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
494
494
|
|
|
495
|
-
|
|
495
|
+
|
|
496
496
|
begin
|
|
497
497
|
http_response = T.must(connection).get(url) do |req|
|
|
498
498
|
req.headers.merge!(headers)
|
|
@@ -529,13 +529,13 @@ module Moov
|
|
|
529
529
|
response: http_response
|
|
530
530
|
)
|
|
531
531
|
end
|
|
532
|
-
|
|
532
|
+
|
|
533
533
|
if http_response.nil?
|
|
534
534
|
raise error if !error.nil?
|
|
535
535
|
raise 'no response'
|
|
536
536
|
end
|
|
537
537
|
end
|
|
538
|
-
|
|
538
|
+
|
|
539
539
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
540
540
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
541
541
|
if Utils.match_content_type(content_type, 'application/json')
|
|
@@ -598,7 +598,7 @@ module Moov
|
|
|
598
598
|
|
|
599
599
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
600
600
|
timeout ||= @sdk_configuration.timeout
|
|
601
|
-
|
|
601
|
+
|
|
602
602
|
|
|
603
603
|
connection = @sdk_configuration.client
|
|
604
604
|
|
|
@@ -613,7 +613,7 @@ module Moov
|
|
|
613
613
|
error = T.let(nil, T.nilable(StandardError))
|
|
614
614
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
615
615
|
|
|
616
|
-
|
|
616
|
+
|
|
617
617
|
begin
|
|
618
618
|
http_response = T.must(connection).get(url) do |req|
|
|
619
619
|
req.headers.merge!(headers)
|
|
@@ -650,13 +650,13 @@ module Moov
|
|
|
650
650
|
response: http_response
|
|
651
651
|
)
|
|
652
652
|
end
|
|
653
|
-
|
|
653
|
+
|
|
654
654
|
if http_response.nil?
|
|
655
655
|
raise error if !error.nil?
|
|
656
656
|
raise 'no response'
|
|
657
657
|
end
|
|
658
658
|
end
|
|
659
|
-
|
|
659
|
+
|
|
660
660
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
661
661
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
662
662
|
if Utils.match_content_type(content_type, 'application/json')
|
|
@@ -732,7 +732,7 @@ module Moov
|
|
|
732
732
|
|
|
733
733
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
734
734
|
timeout ||= @sdk_configuration.timeout
|
|
735
|
-
|
|
735
|
+
|
|
736
736
|
|
|
737
737
|
connection = @sdk_configuration.client
|
|
738
738
|
|
|
@@ -747,7 +747,7 @@ module Moov
|
|
|
747
747
|
error = T.let(nil, T.nilable(StandardError))
|
|
748
748
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
749
749
|
|
|
750
|
-
|
|
750
|
+
|
|
751
751
|
begin
|
|
752
752
|
http_response = T.must(connection).post(url) do |req|
|
|
753
753
|
req.body = body
|
|
@@ -784,13 +784,13 @@ module Moov
|
|
|
784
784
|
response: http_response
|
|
785
785
|
)
|
|
786
786
|
end
|
|
787
|
-
|
|
787
|
+
|
|
788
788
|
if http_response.nil?
|
|
789
789
|
raise error if !error.nil?
|
|
790
790
|
raise 'no response'
|
|
791
791
|
end
|
|
792
792
|
end
|
|
793
|
-
|
|
793
|
+
|
|
794
794
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
795
795
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
796
796
|
if Utils.match_content_type(content_type, 'application/json')
|
|
@@ -853,7 +853,7 @@ module Moov
|
|
|
853
853
|
|
|
854
854
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
855
855
|
timeout ||= @sdk_configuration.timeout
|
|
856
|
-
|
|
856
|
+
|
|
857
857
|
|
|
858
858
|
connection = @sdk_configuration.client
|
|
859
859
|
|
|
@@ -868,7 +868,7 @@ module Moov
|
|
|
868
868
|
error = T.let(nil, T.nilable(StandardError))
|
|
869
869
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
870
870
|
|
|
871
|
-
|
|
871
|
+
|
|
872
872
|
begin
|
|
873
873
|
http_response = T.must(connection).get(url) do |req|
|
|
874
874
|
req.headers.merge!(headers)
|
|
@@ -905,13 +905,13 @@ module Moov
|
|
|
905
905
|
response: http_response
|
|
906
906
|
)
|
|
907
907
|
end
|
|
908
|
-
|
|
908
|
+
|
|
909
909
|
if http_response.nil?
|
|
910
910
|
raise error if !error.nil?
|
|
911
911
|
raise 'no response'
|
|
912
912
|
end
|
|
913
913
|
end
|
|
914
|
-
|
|
914
|
+
|
|
915
915
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
916
916
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
917
917
|
if Utils.match_content_type(content_type, 'application/json')
|
|
@@ -974,7 +974,7 @@ module Moov
|
|
|
974
974
|
|
|
975
975
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
976
976
|
timeout ||= @sdk_configuration.timeout
|
|
977
|
-
|
|
977
|
+
|
|
978
978
|
|
|
979
979
|
connection = @sdk_configuration.client
|
|
980
980
|
|
|
@@ -989,7 +989,7 @@ module Moov
|
|
|
989
989
|
error = T.let(nil, T.nilable(StandardError))
|
|
990
990
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
991
991
|
|
|
992
|
-
|
|
992
|
+
|
|
993
993
|
begin
|
|
994
994
|
http_response = T.must(connection).get(url) do |req|
|
|
995
995
|
req.headers.merge!(headers)
|
|
@@ -1026,13 +1026,13 @@ module Moov
|
|
|
1026
1026
|
response: http_response
|
|
1027
1027
|
)
|
|
1028
1028
|
end
|
|
1029
|
-
|
|
1029
|
+
|
|
1030
1030
|
if http_response.nil?
|
|
1031
1031
|
raise error if !error.nil?
|
|
1032
1032
|
raise 'no response'
|
|
1033
1033
|
end
|
|
1034
1034
|
end
|
|
1035
|
-
|
|
1035
|
+
|
|
1036
1036
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
1037
1037
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
1038
1038
|
if Utils.match_content_type(content_type, 'application/json')
|
|
@@ -1098,7 +1098,7 @@ module Moov
|
|
|
1098
1098
|
|
|
1099
1099
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
1100
1100
|
timeout ||= @sdk_configuration.timeout
|
|
1101
|
-
|
|
1101
|
+
|
|
1102
1102
|
|
|
1103
1103
|
connection = @sdk_configuration.client
|
|
1104
1104
|
|
|
@@ -1113,7 +1113,7 @@ module Moov
|
|
|
1113
1113
|
error = T.let(nil, T.nilable(StandardError))
|
|
1114
1114
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
1115
1115
|
|
|
1116
|
-
|
|
1116
|
+
|
|
1117
1117
|
begin
|
|
1118
1118
|
http_response = T.must(connection).get(url) do |req|
|
|
1119
1119
|
req.headers.merge!(headers)
|
|
@@ -1149,13 +1149,13 @@ module Moov
|
|
|
1149
1149
|
response: http_response
|
|
1150
1150
|
)
|
|
1151
1151
|
end
|
|
1152
|
-
|
|
1152
|
+
|
|
1153
1153
|
if http_response.nil?
|
|
1154
1154
|
raise error if !error.nil?
|
|
1155
1155
|
raise 'no response'
|
|
1156
1156
|
end
|
|
1157
1157
|
end
|
|
1158
|
-
|
|
1158
|
+
|
|
1159
1159
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
1160
1160
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
1161
1161
|
if Utils.match_content_type(content_type, 'application/json')
|
|
@@ -1218,7 +1218,7 @@ module Moov
|
|
|
1218
1218
|
|
|
1219
1219
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
1220
1220
|
timeout ||= @sdk_configuration.timeout
|
|
1221
|
-
|
|
1221
|
+
|
|
1222
1222
|
|
|
1223
1223
|
connection = @sdk_configuration.client
|
|
1224
1224
|
|
|
@@ -1233,7 +1233,7 @@ module Moov
|
|
|
1233
1233
|
error = T.let(nil, T.nilable(StandardError))
|
|
1234
1234
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
1235
1235
|
|
|
1236
|
-
|
|
1236
|
+
|
|
1237
1237
|
begin
|
|
1238
1238
|
http_response = T.must(connection).get(url) do |req|
|
|
1239
1239
|
req.headers.merge!(headers)
|
|
@@ -1270,13 +1270,13 @@ module Moov
|
|
|
1270
1270
|
response: http_response
|
|
1271
1271
|
)
|
|
1272
1272
|
end
|
|
1273
|
-
|
|
1273
|
+
|
|
1274
1274
|
if http_response.nil?
|
|
1275
1275
|
raise error if !error.nil?
|
|
1276
1276
|
raise 'no response'
|
|
1277
1277
|
end
|
|
1278
1278
|
end
|
|
1279
|
-
|
|
1279
|
+
|
|
1280
1280
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
1281
1281
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
1282
1282
|
if Utils.match_content_type(content_type, 'application/json')
|
data/lib/moov/files.rb
CHANGED
|
@@ -82,7 +82,7 @@ module Moov
|
|
|
82
82
|
|
|
83
83
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
84
84
|
timeout ||= @sdk_configuration.timeout
|
|
85
|
-
|
|
85
|
+
|
|
86
86
|
|
|
87
87
|
connection = @sdk_configuration.client
|
|
88
88
|
|
|
@@ -97,7 +97,7 @@ module Moov
|
|
|
97
97
|
error = T.let(nil, T.nilable(StandardError))
|
|
98
98
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
99
99
|
|
|
100
|
-
|
|
100
|
+
|
|
101
101
|
begin
|
|
102
102
|
http_response = T.must(connection).post(url) do |req|
|
|
103
103
|
req.body = body
|
|
@@ -134,13 +134,13 @@ module Moov
|
|
|
134
134
|
response: http_response
|
|
135
135
|
)
|
|
136
136
|
end
|
|
137
|
-
|
|
137
|
+
|
|
138
138
|
if http_response.nil?
|
|
139
139
|
raise error if !error.nil?
|
|
140
140
|
raise 'no response'
|
|
141
141
|
end
|
|
142
142
|
end
|
|
143
|
-
|
|
143
|
+
|
|
144
144
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
145
145
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
146
146
|
if Utils.match_content_type(content_type, 'application/json')
|
|
@@ -235,7 +235,7 @@ module Moov
|
|
|
235
235
|
|
|
236
236
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
237
237
|
timeout ||= @sdk_configuration.timeout
|
|
238
|
-
|
|
238
|
+
|
|
239
239
|
|
|
240
240
|
connection = @sdk_configuration.client
|
|
241
241
|
|
|
@@ -250,7 +250,7 @@ module Moov
|
|
|
250
250
|
error = T.let(nil, T.nilable(StandardError))
|
|
251
251
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
252
252
|
|
|
253
|
-
|
|
253
|
+
|
|
254
254
|
begin
|
|
255
255
|
http_response = T.must(connection).get(url) do |req|
|
|
256
256
|
req.headers.merge!(headers)
|
|
@@ -286,13 +286,13 @@ module Moov
|
|
|
286
286
|
response: http_response
|
|
287
287
|
)
|
|
288
288
|
end
|
|
289
|
-
|
|
289
|
+
|
|
290
290
|
if http_response.nil?
|
|
291
291
|
raise error if !error.nil?
|
|
292
292
|
raise 'no response'
|
|
293
293
|
end
|
|
294
294
|
end
|
|
295
|
-
|
|
295
|
+
|
|
296
296
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
297
297
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
298
298
|
if Utils.match_content_type(content_type, 'application/json')
|
|
@@ -358,7 +358,7 @@ module Moov
|
|
|
358
358
|
|
|
359
359
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
360
360
|
timeout ||= @sdk_configuration.timeout
|
|
361
|
-
|
|
361
|
+
|
|
362
362
|
|
|
363
363
|
connection = @sdk_configuration.client
|
|
364
364
|
|
|
@@ -373,7 +373,7 @@ module Moov
|
|
|
373
373
|
error = T.let(nil, T.nilable(StandardError))
|
|
374
374
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
375
375
|
|
|
376
|
-
|
|
376
|
+
|
|
377
377
|
begin
|
|
378
378
|
http_response = T.must(connection).get(url) do |req|
|
|
379
379
|
req.headers.merge!(headers)
|
|
@@ -409,13 +409,13 @@ module Moov
|
|
|
409
409
|
response: http_response
|
|
410
410
|
)
|
|
411
411
|
end
|
|
412
|
-
|
|
412
|
+
|
|
413
413
|
if http_response.nil?
|
|
414
414
|
raise error if !error.nil?
|
|
415
415
|
raise 'no response'
|
|
416
416
|
end
|
|
417
417
|
end
|
|
418
|
-
|
|
418
|
+
|
|
419
419
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
420
420
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
421
421
|
if Utils.match_content_type(content_type, 'application/json')
|
data/lib/moov/google_pay.rb
CHANGED
|
@@ -83,7 +83,7 @@ module Moov
|
|
|
83
83
|
|
|
84
84
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
85
85
|
timeout ||= @sdk_configuration.timeout
|
|
86
|
-
|
|
86
|
+
|
|
87
87
|
|
|
88
88
|
connection = @sdk_configuration.client
|
|
89
89
|
|
|
@@ -98,7 +98,7 @@ module Moov
|
|
|
98
98
|
error = T.let(nil, T.nilable(StandardError))
|
|
99
99
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
100
100
|
|
|
101
|
-
|
|
101
|
+
|
|
102
102
|
begin
|
|
103
103
|
http_response = T.must(connection).post(url) do |req|
|
|
104
104
|
req.body = body
|
|
@@ -135,13 +135,13 @@ module Moov
|
|
|
135
135
|
response: http_response
|
|
136
136
|
)
|
|
137
137
|
end
|
|
138
|
-
|
|
138
|
+
|
|
139
139
|
if http_response.nil?
|
|
140
140
|
raise error if !error.nil?
|
|
141
141
|
raise 'no response'
|
|
142
142
|
end
|
|
143
143
|
end
|
|
144
|
-
|
|
144
|
+
|
|
145
145
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
146
146
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
147
147
|
if Utils.match_content_type(content_type, 'application/json')
|