moov_ruby 26.4.20 → 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.
Files changed (469) hide show
  1. checksums.yaml +4 -4
  2. data/lib/crystalline/module.rb +1 -1
  3. data/lib/moov/account_terminal_applications.rb +16 -16
  4. data/lib/moov/accounts.rb +54 -52
  5. data/lib/moov/adjustments.rb +8 -8
  6. data/lib/moov/apple_pay.rb +20 -20
  7. data/lib/moov/authentication.rb +8 -8
  8. data/lib/moov/avatars.rb +5 -5
  9. data/lib/moov/bank_accounts.rb +37 -37
  10. data/lib/moov/branding.rb +12 -12
  11. data/lib/moov/capabilities.rb +20 -20
  12. data/lib/moov/card_issuing.rb +26 -26
  13. data/lib/moov/cards.rb +178 -20
  14. data/lib/moov/disputes.rb +44 -44
  15. data/lib/moov/end_to_end_encryption.rb +8 -8
  16. data/lib/moov/enriched_address.rb +5 -5
  17. data/lib/moov/enriched_profile.rb +5 -5
  18. data/lib/moov/fee_plans.rb +40 -40
  19. data/lib/moov/files.rb +12 -12
  20. data/lib/moov/google_pay.rb +4 -4
  21. data/lib/moov/images.rb +29 -29
  22. data/lib/moov/industries.rb +4 -4
  23. data/lib/moov/institutions.rb +10 -10
  24. data/lib/moov/invoices.rb +28 -208
  25. data/lib/moov/issuing_transactions.rb +20 -20
  26. data/lib/moov/models/components/account.rb +2 -2
  27. data/lib/moov/models/components/accountnameverification.rb +4 -4
  28. data/lib/moov/models/components/accounttype.rb +1 -3
  29. data/lib/moov/models/components/accountverificationstatus.rb +1 -3
  30. data/lib/moov/models/components/achreturncode.rb +1 -3
  31. data/lib/moov/models/components/achtransactiondetails.rb +3 -3
  32. data/lib/moov/models/components/achtransactionstatus.rb +1 -3
  33. data/lib/moov/models/components/addcapabilities.rb +1 -5
  34. data/lib/moov/models/components/adjustmentfees.rb +15 -11
  35. data/lib/moov/models/components/adjustmentfees.rbi +4 -4
  36. data/lib/moov/models/components/amountdecimalrange.rb +36 -0
  37. data/lib/moov/models/components/amountdecimalrange.rbi +15 -0
  38. data/lib/moov/models/components/amountdecimalrangeupdate.rb +36 -0
  39. data/lib/moov/models/components/amountdecimalrangeupdate.rbi +15 -0
  40. data/lib/moov/models/components/applepayresponse.rb +2 -2
  41. data/lib/moov/models/components/applicationscope.rb +2 -4
  42. data/lib/moov/models/components/authmethod.rb +1 -3
  43. data/lib/moov/models/components/authorizeduser.rb +36 -0
  44. data/lib/moov/models/components/authorizeduser.rbi +15 -0
  45. data/lib/moov/models/components/authtokenrequest.rb +2 -6
  46. data/lib/moov/models/components/authtokenrequest.rbi +0 -2
  47. data/lib/moov/models/components/bankaccount.rb +4 -4
  48. data/lib/moov/models/components/bankaccountexception.rb +2 -2
  49. data/lib/moov/models/components/bankaccountholdertype.rb +1 -3
  50. data/lib/moov/models/components/bankaccountintegration.rb +2 -2
  51. data/lib/moov/models/components/bankaccountstatus.rb +1 -3
  52. data/lib/moov/models/components/bankaccountstatusreason.rb +1 -3
  53. data/lib/moov/models/components/bankaccounttype.rb +1 -3
  54. data/lib/moov/models/components/bankaccountverification.rb +2 -2
  55. data/lib/moov/models/components/bankaccountverificationcreated.rb +2 -2
  56. data/lib/moov/models/components/bankaccountverificationmethod.rb +1 -3
  57. data/lib/moov/models/components/bankaccountverificationstatus.rb +1 -3
  58. data/lib/moov/models/components/basicpaymentmethod.rb +1 -1
  59. data/lib/moov/models/components/billablefee.rb +2 -2
  60. data/lib/moov/models/components/billingsummary.rb +4 -8
  61. data/lib/moov/models/components/billingsummary.rbi +0 -2
  62. data/lib/moov/models/components/businesspresence.rb +1 -3
  63. data/lib/moov/models/components/businessprofile.rb +2 -2
  64. data/lib/moov/models/components/businesstype.rb +1 -3
  65. data/lib/moov/models/components/calltoaction.rb +1 -3
  66. data/lib/moov/models/components/cancellation.rb +2 -2
  67. data/lib/moov/models/components/cancellationstatus.rb +1 -3
  68. data/lib/moov/models/components/capability.rb +3 -9
  69. data/lib/moov/models/components/capabilityid.rb +2 -11
  70. data/lib/moov/models/components/capabilitystatus.rb +1 -3
  71. data/lib/moov/models/components/card.rb +4 -4
  72. data/lib/moov/models/components/cardaccountupdater.rb +1 -1
  73. data/lib/moov/models/components/cardacquiringmodel.rb +1 -3
  74. data/lib/moov/models/components/cardacquiringrefund.rb +1 -1
  75. data/lib/moov/models/components/cardbrand.rb +1 -3
  76. data/lib/moov/models/components/cardbrandfees.rb +2 -6
  77. data/lib/moov/models/components/cardbrandfees.rbi +0 -2
  78. data/lib/moov/models/components/cardissuingnetwork.rb +1 -3
  79. data/lib/moov/models/components/cardmetadata.rb +79 -0
  80. data/lib/moov/models/components/cardmetadata.rbi +35 -0
  81. data/lib/moov/models/components/cardmetadatarequest.rb +38 -0
  82. data/lib/moov/models/components/cardmetadatarequest.rbi +15 -0
  83. data/lib/moov/models/components/cardtransactiondetails.rb +5 -13
  84. data/lib/moov/models/components/cardtransactiondetails.rbi +0 -4
  85. data/lib/moov/models/components/cardtransactionfailurecode.rb +1 -3
  86. data/lib/moov/models/components/cardtransactionstatus.rb +1 -5
  87. data/lib/moov/models/components/cardtype.rb +1 -3
  88. data/lib/moov/models/components/cardupdatereason.rb +1 -3
  89. data/lib/moov/models/components/cardverification.rb +3 -3
  90. data/lib/moov/models/components/cardverificationresult.rb +1 -3
  91. data/lib/moov/models/components/collectfundscardpayments.rb +1 -1
  92. data/lib/moov/models/components/collectionpaymentmethodtype.rb +1 -3
  93. data/lib/moov/models/components/createaccount.rb +3 -7
  94. data/lib/moov/models/components/createaccounttype.rb +1 -3
  95. data/lib/moov/models/components/createauthorizeduser.rb +40 -0
  96. data/lib/moov/models/components/createauthorizeduser.rbi +17 -0
  97. data/lib/moov/models/components/createauthorizedusererror.rb +40 -0
  98. data/lib/moov/models/components/createauthorizedusererror.rbi +17 -0
  99. data/lib/moov/models/components/createauthorizeduserupdate.rb +40 -0
  100. data/lib/moov/models/components/createauthorizeduserupdate.rbi +17 -0
  101. data/lib/moov/models/components/createbusinessprofile.rb +2 -2
  102. data/lib/moov/models/components/createdtransfer.rb +6 -18
  103. data/lib/moov/models/components/createdtransfer.rbi +0 -4
  104. data/lib/moov/models/components/createevidencetext.rb +1 -1
  105. data/lib/moov/models/components/createfeeplanagreement.rb +3 -13
  106. data/lib/moov/models/components/createfeeplanagreement.rbi +0 -2
  107. data/lib/moov/models/components/createinvoice.rb +2 -14
  108. data/lib/moov/models/components/createinvoice.rbi +0 -6
  109. data/lib/moov/models/components/createpaymentlink.rb +16 -16
  110. data/lib/moov/models/components/createpaymentlink.rbi +4 -4
  111. data/lib/moov/models/components/createpaymentlinkamountdetails.rb +32 -0
  112. data/lib/moov/models/components/createpaymentlinkamountdetails.rbi +13 -0
  113. data/lib/moov/models/components/{webhookdataeventtest.rb → createpaymentlinkamountdetailsvalidationerror.rb} +7 -7
  114. data/lib/moov/models/components/{invoicenotificationlimitedchannel.rbi → createpaymentlinkamountdetailsvalidationerror.rbi} +4 -6
  115. data/lib/moov/models/components/createrefund.rb +2 -2
  116. data/lib/moov/models/components/createreversal.rb +1 -4
  117. data/lib/moov/models/components/createsweepconfig.rb +1 -1
  118. data/lib/moov/models/components/createterminalapplication.rb +1 -1
  119. data/lib/moov/models/components/createtippresets.rb +1 -1
  120. data/lib/moov/models/components/createtransfer.rb +2 -6
  121. data/lib/moov/models/components/createtransfer.rbi +0 -2
  122. data/lib/moov/models/components/createtransferamountdetails.rb +6 -2
  123. data/lib/moov/models/components/createtransferamountdetails.rbi +2 -0
  124. data/lib/moov/models/components/createtransferamountdetailsvalidationerror.rb +6 -2
  125. data/lib/moov/models/components/createtransferamountdetailsvalidationerror.rbi +2 -0
  126. data/lib/moov/models/components/createtransferdestinationcard.rb +2 -6
  127. data/lib/moov/models/components/createtransferdestinationcard.rbi +0 -2
  128. data/lib/moov/models/components/createtransfersourceach.rb +2 -2
  129. data/lib/moov/models/components/createtransfersourcecard.rb +1 -1
  130. data/lib/moov/models/components/createwebhook.rb +1 -1
  131. data/lib/moov/models/components/debitholdperiod.rb +1 -3
  132. data/lib/moov/models/components/disbursementpaymentmethodtype.rb +1 -3
  133. data/lib/moov/models/components/dispute.rb +2 -2
  134. data/lib/moov/models/components/disputeevidenceresponse.rb +1 -1
  135. data/lib/moov/models/components/disputephase.rb +1 -3
  136. data/lib/moov/models/components/disputestatus.rb +1 -3
  137. data/lib/moov/models/components/document.rb +1 -1
  138. data/lib/moov/models/components/documenttype.rb +1 -3
  139. data/lib/moov/models/components/domesticpullfromcard.rb +1 -3
  140. data/lib/moov/models/components/domesticpushtocard.rb +1 -3
  141. data/lib/moov/models/components/estimatedactivity.rb +1 -1
  142. data/lib/moov/models/components/evidencetextresponse.rb +1 -1
  143. data/lib/moov/models/components/evidencetype.rb +1 -3
  144. data/lib/moov/models/components/evidenceuploadresponse.rb +1 -1
  145. data/lib/moov/models/components/facilitatorfee.rb +2 -2
  146. data/lib/moov/models/components/feecategory.rb +1 -3
  147. data/lib/moov/models/components/feemodel.rb +1 -3
  148. data/lib/moov/models/components/feeplan.rb +1 -1
  149. data/lib/moov/models/components/feeplanagreement.rb +4 -12
  150. data/lib/moov/models/components/feeplanagreement.rbi +0 -4
  151. data/lib/moov/models/components/feeplanagreementstatus.rb +1 -3
  152. data/lib/moov/models/components/filedetails.rb +3 -3
  153. data/lib/moov/models/components/filepurpose.rb +2 -4
  154. data/lib/moov/models/components/filestatus.rb +1 -3
  155. data/lib/moov/models/components/fulfillment.rb +2 -2
  156. data/lib/moov/models/components/fulfillmentdetails.rb +1 -1
  157. data/lib/moov/models/components/fulfillmentmethod.rb +1 -3
  158. data/lib/moov/models/components/fulfillmenttimeframe.rb +1 -3
  159. data/lib/moov/models/components/fullissuedcard.rb +16 -27
  160. data/lib/moov/models/components/fullissuedcard.rbi +4 -10
  161. data/lib/moov/models/components/geographicreach.rb +1 -3
  162. data/lib/moov/models/components/googlepayresponse.rb +3 -3
  163. data/lib/moov/models/components/instantbankfailurecode.rb +1 -3
  164. data/lib/moov/models/components/instantbanknetwork.rb +1 -3
  165. data/lib/moov/models/components/instantbanktransactiondetails.rb +3 -3
  166. data/lib/moov/models/components/instantbanktransactionstatus.rb +1 -3
  167. data/lib/moov/models/components/invoice.rb +4 -12
  168. data/lib/moov/models/components/invoice.rbi +0 -4
  169. data/lib/moov/models/components/invoicepayment.rb +1 -1
  170. data/lib/moov/models/components/invoicepaymenttype.rb +1 -3
  171. data/lib/moov/models/components/invoicestatus.rb +1 -3
  172. data/lib/moov/models/components/issuedcard.rb +15 -26
  173. data/lib/moov/models/components/issuedcard.rbi +4 -10
  174. data/lib/moov/models/components/issuedcardauthorization.rb +4 -13
  175. data/lib/moov/models/components/issuedcardauthorization.rbi +0 -4
  176. data/lib/moov/models/components/issuedcardauthorizationevent.rb +4 -9
  177. data/lib/moov/models/components/issuedcardauthorizationevent.rbi +0 -2
  178. data/lib/moov/models/components/issuedcardauthorizationeventresult.rb +1 -3
  179. data/lib/moov/models/components/issuedcardeventtype.rb +1 -3
  180. data/lib/moov/models/components/issuedcardstate.rb +6 -6
  181. data/lib/moov/models/components/issuedcardtransaction.rb +2 -6
  182. data/lib/moov/models/components/issuedcardtransaction.rbi +0 -2
  183. data/lib/moov/models/components/issuingauthorizationstatus.rb +1 -3
  184. data/lib/moov/models/components/issuingcontrols.rb +1 -1
  185. data/lib/moov/models/components/issuingintervallimit.rb +1 -1
  186. data/lib/moov/models/components/issuingvelocitylimit.rb +1 -1
  187. data/lib/moov/models/components/jsonwebkey.rb +1 -1
  188. data/lib/moov/models/components/linkedapplepaypaymentmethod.rb +1 -1
  189. data/lib/moov/models/components/linkedgooglepaypaymentmethod.rb +1 -1
  190. data/lib/moov/models/components/manualtermsofservice.rb +1 -1
  191. data/lib/moov/models/components/manualtermsofserviceupdate.rb +1 -1
  192. data/lib/moov/models/components/mode.rb +1 -3
  193. data/lib/moov/models/components/monthlyvolumerange.rb +1 -3
  194. data/lib/moov/models/components/moovfee.rb +1 -1
  195. data/lib/moov/models/components/occurrencesresponse.rb +2 -2
  196. data/lib/moov/models/components/occurrencestatus.rb +1 -3
  197. data/lib/moov/models/components/onboardinginvite.rb +2 -2
  198. data/lib/moov/models/components/onboardinginviterequest.rb +1 -1
  199. data/lib/moov/models/components/onboardingpartneraccount.rb +1 -1
  200. data/lib/moov/models/components/partnerpricingagreement.rb +7 -15
  201. data/lib/moov/models/components/partnerpricingagreement.rbi +0 -4
  202. data/lib/moov/models/components/patchbusiness.rb +2 -2
  203. data/lib/moov/models/components/patchtransfer.rb +1 -1
  204. data/lib/moov/models/components/patchwallet.rb +1 -1
  205. data/lib/moov/models/components/paymentlink.rb +19 -19
  206. data/lib/moov/models/components/paymentlink.rbi +4 -4
  207. data/lib/moov/models/components/paymentlinkamountdetails.rb +32 -0
  208. data/lib/moov/models/components/paymentlinkamountdetails.rbi +13 -0
  209. data/lib/moov/models/components/paymentlinkdisplayoptions.rb +1 -1
  210. data/lib/moov/models/components/paymentlinkdisplayoptionsupdate.rb +1 -1
  211. data/lib/moov/models/components/paymentlinkpaymentdetails.rb +14 -2
  212. data/lib/moov/models/components/paymentlinkpaymentdetails.rbi +6 -0
  213. data/lib/moov/models/components/paymentlinkpaymentdetails_amounttype.rb +19 -0
  214. data/lib/moov/models/components/paymentlinkpaymentdetails_amounttype.rbi +11 -0
  215. data/lib/moov/models/components/paymentlinkpaymentdetailsupdate.rb +14 -2
  216. data/lib/moov/models/components/paymentlinkpaymentdetailsupdate.rbi +6 -0
  217. data/lib/moov/models/components/paymentlinkpaymentdetailsupdate_amounttype.rb +19 -0
  218. data/lib/moov/models/components/paymentlinkpaymentdetailsupdate_amounttype.rbi +11 -0
  219. data/lib/moov/models/components/paymentlinkpayoutdetails.rb +3 -7
  220. data/lib/moov/models/components/paymentlinkpayoutdetails.rbi +0 -2
  221. data/lib/moov/models/components/paymentlinkpayoutdetailsupdate.rb +3 -7
  222. data/lib/moov/models/components/paymentlinkpayoutdetailsupdate.rbi +0 -2
  223. data/lib/moov/models/components/paymentlinkstatus.rb +1 -3
  224. data/lib/moov/models/components/paymentlinktype.rb +1 -3
  225. data/lib/moov/models/components/paymentmethodsbankaccount.rb +3 -3
  226. data/lib/moov/models/components/paymentmethodscard.rb +4 -4
  227. data/lib/moov/models/components/paymentmethodswallet.rb +1 -2
  228. data/lib/moov/models/components/paymentmethodtype.rb +1 -3
  229. data/lib/moov/models/components/payoutdetailserror.rb +2 -6
  230. data/lib/moov/models/components/payoutdetailserror.rbi +0 -2
  231. data/lib/moov/models/components/pendinglitigation.rb +1 -3
  232. data/lib/moov/models/components/primaryregulator.rb +1 -3
  233. data/lib/moov/models/components/puttippresets.rb +1 -1
  234. data/lib/moov/models/components/refundcarddetails.rb +2 -2
  235. data/lib/moov/models/components/refundcardstatus.rb +1 -4
  236. data/lib/moov/models/components/refundpolicy.rb +1 -3
  237. data/lib/moov/models/components/refundstatus.rb +1 -3
  238. data/lib/moov/models/components/requestcard.rb +18 -18
  239. data/lib/moov/models/components/requestcard.rbi +8 -8
  240. data/lib/moov/models/components/requirementerror.rb +2 -2
  241. data/lib/moov/models/components/requirementerrorcode.rb +1 -3
  242. data/lib/moov/models/components/requirementid.rb +1 -10
  243. data/lib/moov/models/components/resolutionlink.rb +1 -1
  244. data/lib/moov/models/components/resolutionlinkstatus.rb +1 -3
  245. data/lib/moov/models/components/returnpolicytype.rb +1 -3
  246. data/lib/moov/models/components/reversedwithcancellation.rb +1 -1
  247. data/lib/moov/models/components/rtprejectioncode.rb +1 -3
  248. data/lib/moov/models/components/schedulelistresponse.rb +1 -1
  249. data/lib/moov/models/components/scheduleresponse.rb +1 -1
  250. data/lib/moov/models/components/seccode.rb +1 -3
  251. data/lib/moov/models/components/statement.rb +2 -6
  252. data/lib/moov/models/components/statement.rbi +0 -2
  253. data/lib/moov/models/components/sweep.rb +1 -1
  254. data/lib/moov/models/components/sweepconfig.rb +3 -3
  255. data/lib/moov/models/components/sweepconfigpaymentmethod.rb +1 -1
  256. data/lib/moov/models/components/sweepconfigstatus.rb +1 -3
  257. data/lib/moov/models/components/sweepstatus.rb +1 -3
  258. data/lib/moov/models/components/sweepsubtotal.rb +1 -1
  259. data/lib/moov/models/components/terminalapplication.rb +2 -2
  260. data/lib/moov/models/components/terminalapplicationplatform.rb +1 -3
  261. data/lib/moov/models/components/terminalapplicationstatus.rb +1 -3
  262. data/lib/moov/models/components/terminalcard.rb +2 -2
  263. data/lib/moov/models/components/termsofservice.rb +1 -1
  264. data/lib/moov/models/components/ticket.rb +1 -1
  265. data/lib/moov/models/components/ticketstatus.rb +1 -3
  266. data/lib/moov/models/components/tipcalculationbasis.rb +1 -3
  267. data/lib/moov/models/components/tippresets.rb +1 -1
  268. data/lib/moov/models/components/transactionsource.rb +1 -3
  269. data/lib/moov/models/components/transfer.rb +6 -18
  270. data/lib/moov/models/components/transfer.rbi +0 -4
  271. data/lib/moov/models/components/transferamountdetails.rb +6 -2
  272. data/lib/moov/models/components/transferamountdetails.rbi +2 -0
  273. data/lib/moov/models/components/transferconfig.rb +2 -6
  274. data/lib/moov/models/components/transferconfig.rbi +0 -2
  275. data/lib/moov/models/components/transferdestination.rb +3 -9
  276. data/lib/moov/models/components/transferdestination.rbi +0 -2
  277. data/lib/moov/models/components/transferfailurereason.rb +1 -3
  278. data/lib/moov/models/components/transferparty.rb +1 -3
  279. data/lib/moov/models/components/transferpaymentmethodsbankaccount.rb +3 -3
  280. data/lib/moov/models/components/transferpaymentmethodscard.rb +4 -4
  281. data/lib/moov/models/components/transferpaymentmethodswallet.rb +1 -2
  282. data/lib/moov/models/components/transferpaymentmethodtype.rb +1 -3
  283. data/lib/moov/models/components/transfersource.rb +1 -1
  284. data/lib/moov/models/components/transferstatus.rb +1 -3
  285. data/lib/moov/models/components/transferterminalcard.rb +2 -2
  286. data/lib/moov/models/components/underwriting.rb +4 -4
  287. data/lib/moov/models/components/underwritingstatus.rb +1 -3
  288. data/lib/moov/models/components/updateevidence.rb +1 -1
  289. data/lib/moov/models/components/updateinvoice.rb +9 -13
  290. data/lib/moov/models/components/updateinvoice.rbi +0 -2
  291. data/lib/moov/models/components/updateissuedcard.rb +9 -15
  292. data/lib/moov/models/components/updateissuedcard.rbi +4 -6
  293. data/lib/moov/models/components/updateissuedcardstate.rb +0 -4
  294. data/lib/moov/models/components/updatepaymentlink.rb +7 -7
  295. data/lib/moov/models/components/updatepaymentlink.rbi +2 -2
  296. data/lib/moov/models/components/updatepaymentlinkamountdetails.rb +32 -0
  297. data/lib/moov/models/components/updatepaymentlinkamountdetails.rbi +13 -0
  298. data/lib/moov/models/components/updatepaymentlinkamountdetailsvalidationerror.rb +32 -0
  299. data/lib/moov/models/components/updatepaymentlinkamountdetailsvalidationerror.rbi +13 -0
  300. data/lib/moov/models/components/updatewebhook.rb +1 -1
  301. data/lib/moov/models/components/upsertunderwriting.rb +3 -3
  302. data/lib/moov/models/components/use.rb +1 -3
  303. data/lib/moov/models/components/verification.rb +3 -3
  304. data/lib/moov/models/components/verificationstatus.rb +1 -3
  305. data/lib/moov/models/components/verificationstatusdetail.rb +1 -3
  306. data/lib/moov/models/components/wallet.rb +2 -3
  307. data/lib/moov/models/components/walletstatus.rb +1 -3
  308. data/lib/moov/models/components/wallettransaction.rb +3 -3
  309. data/lib/moov/models/components/wallettransactionsourcetype.rb +1 -3
  310. data/lib/moov/models/components/wallettransactionstatus.rb +1 -3
  311. data/lib/moov/models/components/wallettransactiontype.rb +1 -3
  312. data/lib/moov/models/components/wallettype.rb +1 -5
  313. data/lib/moov/models/components/webhook.rb +1 -1
  314. data/lib/moov/models/components/webhookdatabankaccountcreated.rb +1 -1
  315. data/lib/moov/models/components/webhookdatabankaccountdeleted.rb +2 -6
  316. data/lib/moov/models/components/webhookdatabankaccountdeleted.rbi +0 -2
  317. data/lib/moov/models/components/webhookdatabankaccountupdated.rb +2 -2
  318. data/lib/moov/models/components/webhookdatacancellationcreated.rb +1 -1
  319. data/lib/moov/models/components/webhookdatacancellationupdated.rb +1 -1
  320. data/lib/moov/models/components/webhookdatacapabilityrequested.rb +2 -8
  321. data/lib/moov/models/components/webhookdatacapabilityupdated.rb +3 -9
  322. data/lib/moov/models/components/webhookdatacardautoupdated.rb +1 -1
  323. data/lib/moov/models/components/webhookdatadisputecreated.rb +2 -2
  324. data/lib/moov/models/components/webhookdatadisputeupdated.rb +2 -2
  325. data/lib/moov/models/components/webhookdatainvoiceupdated.rb +1 -1
  326. data/lib/moov/models/components/webhookdatarefundupdated.rb +1 -1
  327. data/lib/moov/models/components/webhookdatasweepcreated.rb +2 -6
  328. data/lib/moov/models/components/webhookdatasweepcreated.rbi +0 -2
  329. data/lib/moov/models/components/webhookdatasweepupdated.rb +3 -7
  330. data/lib/moov/models/components/webhookdatasweepupdated.rbi +0 -2
  331. data/lib/moov/models/components/webhookdataterminalapplicationcreated.rb +1 -1
  332. data/lib/moov/models/components/webhookdataterminalapplicationupdated.rb +1 -1
  333. data/lib/moov/models/components/webhookdataticketupdated.rb +1 -1
  334. data/lib/moov/models/components/webhookdatatransferstatus.rb +0 -4
  335. data/lib/moov/models/components/webhookdatawallettransactionupdated.rb +1 -1
  336. data/lib/moov/models/components/webhookdatawalletupdated.rb +1 -1
  337. data/lib/moov/models/components/webhookevent.rb +3 -3
  338. data/lib/moov/models/components/webhookeventtype.rb +1 -5
  339. data/lib/moov/models/components/webhookstatus.rb +1 -3
  340. data/lib/moov/models/components.rb +16 -23
  341. data/lib/moov/models/errors/cardacquiringrefund_error.rb +1 -1
  342. data/lib/moov/models/errors/cardmetadatarequesterror.rb +44 -0
  343. data/lib/moov/models/errors/cardmetadatarequesterror.rbi +19 -0
  344. data/lib/moov/models/errors/createinvoiceerror.rb +2 -14
  345. data/lib/moov/models/errors/createinvoiceerror.rbi +0 -6
  346. data/lib/moov/models/errors/createpaymentlinkerror.rb +6 -6
  347. data/lib/moov/models/errors/createpaymentlinkerror.rbi +2 -2
  348. data/lib/moov/models/errors/requestcarderror.rb +14 -14
  349. data/lib/moov/models/errors/requestcarderror.rbi +8 -8
  350. data/lib/moov/models/errors/transfer_error.rb +6 -18
  351. data/lib/moov/models/errors/transfer_error.rbi +0 -4
  352. data/lib/moov/models/errors/transfervalidationerror.rb +2 -6
  353. data/lib/moov/models/errors/transfervalidationerror.rbi +0 -2
  354. data/lib/moov/models/errors/updateinvoiceerror.rb +2 -6
  355. data/lib/moov/models/errors/updateinvoiceerror.rbi +0 -2
  356. data/lib/moov/models/errors/updateissuedcarderror.rb +8 -12
  357. data/lib/moov/models/errors/updateissuedcarderror.rbi +4 -6
  358. data/lib/moov/models/errors/updatepaymentlinkerror.rb +6 -6
  359. data/lib/moov/models/errors/updatepaymentlinkerror.rbi +2 -2
  360. data/lib/moov/models/errors.rb +1 -2
  361. data/lib/moov/models/operations/createcancellation_request.rb +2 -7
  362. data/lib/moov/models/operations/createcancellation_request.rbi +0 -2
  363. data/lib/moov/models/operations/disablecapability_request.rb +1 -7
  364. data/lib/moov/models/operations/getcapability_request.rb +1 -7
  365. data/lib/moov/models/operations/{listcancellations_response.rb → getcardmetadata_response.rb} +6 -6
  366. data/lib/moov/models/operations/{createinvoicenotification_response.rbi → getcardmetadata_response.rbi} +4 -2
  367. data/lib/moov/models/operations/initiaterefund_request.rb +1 -1
  368. data/lib/moov/models/operations/linkbankaccount_request.rb +1 -1
  369. data/lib/moov/models/operations/listaccounts_request.rb +1 -1
  370. data/lib/moov/models/operations/listconnectedaccountsforaccount_request.rb +1 -1
  371. data/lib/moov/models/operations/listdisputes_request.rb +1 -1
  372. data/lib/moov/models/operations/listfeeplanagreements_request.rb +1 -1
  373. data/lib/moov/models/operations/listfeerevenue_request.rb +1 -1
  374. data/lib/moov/models/operations/listinvoices_request.rb +1 -1
  375. data/lib/moov/models/operations/listissuedcardauthorizationevents_request.rb +1 -1
  376. data/lib/moov/models/operations/listissuedcardauthorizations_request.rb +1 -1
  377. data/lib/moov/models/operations/listissuedcards_request.rb +2 -2
  378. data/lib/moov/models/operations/listissuedcardtransactions_request.rb +3 -7
  379. data/lib/moov/models/operations/listissuedcardtransactions_request.rbi +0 -2
  380. data/lib/moov/models/operations/listpartnerpricingagreements_request.rb +1 -1
  381. data/lib/moov/models/operations/listpaymentlinks_request.rb +1 -1
  382. data/lib/moov/models/operations/listproducts_request.rb +1 -1
  383. data/lib/moov/models/operations/listresidualfees_request.rb +1 -1
  384. data/lib/moov/models/operations/listresiduals_request.rb +1 -1
  385. data/lib/moov/models/operations/listschedules_request.rb +1 -1
  386. data/lib/moov/models/operations/liststatements_request.rb +1 -1
  387. data/lib/moov/models/operations/listsweeps_request.rb +1 -1
  388. data/lib/moov/models/operations/listtickets_request.rb +1 -1
  389. data/lib/moov/models/operations/listtransfers_request.rb +3 -15
  390. data/lib/moov/models/operations/listtransfers_request.rbi +0 -6
  391. data/lib/moov/models/operations/listwallets_request.rb +1 -1
  392. data/lib/moov/models/operations/listwallettransactions_request.rb +1 -1
  393. data/lib/moov/models/operations/retrievefees_request.rb +1 -1
  394. data/lib/moov/models/operations.rb +1 -4
  395. data/lib/moov/onboarding.rb +16 -16
  396. data/lib/moov/payment_links.rb +24 -24
  397. data/lib/moov/payment_methods.rb +8 -8
  398. data/lib/moov/ping.rb +4 -4
  399. data/lib/moov/products.rb +20 -20
  400. data/lib/moov/receipts.rb +8 -8
  401. data/lib/moov/representatives.rb +20 -20
  402. data/lib/moov/resolution_links.rb +16 -16
  403. data/lib/moov/scheduling.rb +24 -24
  404. data/lib/moov/sdkconfiguration.rb +4 -4
  405. data/lib/moov/statements.rb +8 -8
  406. data/lib/moov/support.rb +20 -20
  407. data/lib/moov/sweeps.rb +24 -24
  408. data/lib/moov/terminal_applications.rb +20 -20
  409. data/lib/moov/transfer_config.rb +12 -12
  410. data/lib/moov/transfers.rb +55 -186
  411. data/lib/moov/underwriting.rb +12 -12
  412. data/lib/moov/utils/retries.rb +1 -43
  413. data/lib/moov/utils/utils.rb +2 -6
  414. data/lib/moov/wallet_transactions.rb +8 -8
  415. data/lib/moov/wallets.rb +16 -16
  416. data/lib/moov/webhooks.rb +32 -32
  417. metadata +40 -62
  418. data/lib/moov/models/components/billingaddress.rb +0 -52
  419. data/lib/moov/models/components/billingaddress.rbi +0 -23
  420. data/lib/moov/models/components/billingadjustment.rb +0 -40
  421. data/lib/moov/models/components/billingadjustment.rbi +0 -17
  422. data/lib/moov/models/components/billingsummary_adjustmentfees.rb +0 -40
  423. data/lib/moov/models/components/billingsummary_adjustmentfees.rbi +0 -15
  424. data/lib/moov/models/components/createinvoicenotification.rb +0 -32
  425. data/lib/moov/models/components/createinvoicenotification.rbi +0 -13
  426. data/lib/moov/models/components/invoicenotificationlimitedchannel.rb +0 -36
  427. data/lib/moov/models/components/invoicepaymentoptions.rb +0 -40
  428. data/lib/moov/models/components/invoicepaymentoptions.rbi +0 -17
  429. data/lib/moov/models/components/invoicepaymentoptionserror.rb +0 -40
  430. data/lib/moov/models/components/invoicepaymentoptionserror.rbi +0 -17
  431. data/lib/moov/models/components/invoicepaymentoptionsupdate.rb +0 -40
  432. data/lib/moov/models/components/invoicepaymentoptionsupdate.rbi +0 -17
  433. data/lib/moov/models/components/issuingdeclinereason.rb +0 -35
  434. data/lib/moov/models/components/issuingdeclinereason.rbi +0 -11
  435. data/lib/moov/models/components/notificationchannel.rb +0 -18
  436. data/lib/moov/models/components/notificationchannel.rbi +0 -11
  437. data/lib/moov/models/components/oauth2clienttype.rb +0 -23
  438. data/lib/moov/models/components/oauth2clienttype.rbi +0 -11
  439. data/lib/moov/models/components/pushdeliveryspeed.rb +0 -21
  440. data/lib/moov/models/components/pushdeliveryspeed.rbi +0 -11
  441. data/lib/moov/models/components/pushoptions.rb +0 -39
  442. data/lib/moov/models/components/pushoptions.rbi +0 -15
  443. data/lib/moov/models/components/pushoptionserror.rb +0 -36
  444. data/lib/moov/models/components/pushoptionserror.rbi +0 -15
  445. data/lib/moov/models/components/pushoptionsupdate.rb +0 -39
  446. data/lib/moov/models/components/pushoptionsupdate.rbi +0 -15
  447. data/lib/moov/models/components/rtpfailurecode.rb +0 -29
  448. data/lib/moov/models/components/rtpfailurecode.rbi +0 -11
  449. data/lib/moov/models/components/rtptransactiondetails.rb +0 -58
  450. data/lib/moov/models/components/rtptransactiondetails.rbi +0 -25
  451. data/lib/moov/models/components/rtptransactionstatus.rb +0 -23
  452. data/lib/moov/models/components/rtptransactionstatus.rbi +0 -11
  453. data/lib/moov/models/components/transfercapture.rb +0 -36
  454. data/lib/moov/models/components/transfercapture.rbi +0 -15
  455. data/lib/moov/models/components/transfercontrols.rb +0 -48
  456. data/lib/moov/models/components/transfercontrols.rbi +0 -21
  457. data/lib/moov/models/components/webhookdataauthorizationexpiring.rb +0 -44
  458. data/lib/moov/models/components/webhookdataauthorizationexpiring.rbi +0 -19
  459. data/lib/moov/models/components/webhookdataeventtest.rbi +0 -13
  460. data/lib/moov/models/errors/invoicenotificationerror.rb +0 -36
  461. data/lib/moov/models/errors/invoicenotificationerror.rbi +0 -15
  462. data/lib/moov/models/errors/invoicenotificationratelimitederror.rb +0 -44
  463. data/lib/moov/models/errors/invoicenotificationratelimitederror.rbi +0 -19
  464. data/lib/moov/models/operations/createinvoicenotification_request.rb +0 -40
  465. data/lib/moov/models/operations/createinvoicenotification_request.rbi +0 -17
  466. data/lib/moov/models/operations/createinvoicenotification_response.rb +0 -44
  467. data/lib/moov/models/operations/listcancellations_request.rb +0 -36
  468. data/lib/moov/models/operations/listcancellations_request.rbi +0 -15
  469. data/lib/moov/models/operations/listcancellations_response.rbi +0 -21
data/lib/moov/images.rb CHANGED
@@ -67,7 +67,7 @@ module Moov
67
67
 
68
68
  timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
69
69
  timeout ||= @sdk_configuration.timeout
70
-
70
+
71
71
 
72
72
  connection = @sdk_configuration.client
73
73
 
@@ -82,7 +82,7 @@ module Moov
82
82
  error = T.let(nil, T.nilable(StandardError))
83
83
  http_response = T.let(nil, T.nilable(Faraday::Response))
84
84
 
85
-
85
+
86
86
  begin
87
87
  http_response = T.must(connection).get(url) do |req|
88
88
  req.headers.merge!(headers)
@@ -119,13 +119,13 @@ module Moov
119
119
  response: http_response
120
120
  )
121
121
  end
122
-
122
+
123
123
  if http_response.nil?
124
124
  raise error if !error.nil?
125
125
  raise 'no response'
126
126
  end
127
127
  end
128
-
128
+
129
129
  content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
130
130
  if Utils.match_status_code(http_response.status, ['200'])
131
131
  if Utils.match_content_type(content_type, 'application/json')
@@ -167,7 +167,7 @@ module Moov
167
167
  sig { params(image_upload_request_multi_part: Models::Components::ImageUploadRequestMultiPart, account_id: ::String, timeout_ms: T.nilable(Integer), http_headers: T.nilable(T::Hash[T.any(String, Symbol), String])).returns(Models::Operations::UploadImageResponse) }
168
168
  def upload(image_upload_request_multi_part:, account_id:, timeout_ms: nil, http_headers: nil)
169
169
  # upload - Upload a new PNG, JPEG, or WebP image with optional metadata.
170
- # Duplicate images return the existing image's metadata with a 409 status. Requests larger than 16MB will be rejected.
170
+ # Duplicate images, and requests larger than 16MB will be rejected.
171
171
  request = Models::Operations::UploadImageRequest.new(
172
172
  account_id: account_id,
173
173
  image_upload_request_multi_part: image_upload_request_multi_part
@@ -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')
@@ -351,7 +351,7 @@ module Moov
351
351
 
352
352
  timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
353
353
  timeout ||= @sdk_configuration.timeout
354
-
354
+
355
355
 
356
356
  connection = @sdk_configuration.client
357
357
 
@@ -366,7 +366,7 @@ module Moov
366
366
  error = T.let(nil, T.nilable(StandardError))
367
367
  http_response = T.let(nil, T.nilable(Faraday::Response))
368
368
 
369
-
369
+
370
370
  begin
371
371
  http_response = T.must(connection).get(url) do |req|
372
372
  req.headers.merge!(headers)
@@ -402,13 +402,13 @@ module Moov
402
402
  response: http_response
403
403
  )
404
404
  end
405
-
405
+
406
406
  if http_response.nil?
407
407
  raise error if !error.nil?
408
408
  raise 'no response'
409
409
  end
410
410
  end
411
-
411
+
412
412
  content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
413
413
  if Utils.match_status_code(http_response.status, ['200'])
414
414
  if Utils.match_content_type(content_type, 'application/json')
@@ -486,7 +486,7 @@ module Moov
486
486
 
487
487
  timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
488
488
  timeout ||= @sdk_configuration.timeout
489
-
489
+
490
490
 
491
491
  connection = @sdk_configuration.client
492
492
 
@@ -501,7 +501,7 @@ module Moov
501
501
  error = T.let(nil, T.nilable(StandardError))
502
502
  http_response = T.let(nil, T.nilable(Faraday::Response))
503
503
 
504
-
504
+
505
505
  begin
506
506
  http_response = T.must(connection).put(url) do |req|
507
507
  req.body = body
@@ -538,13 +538,13 @@ module Moov
538
538
  response: http_response
539
539
  )
540
540
  end
541
-
541
+
542
542
  if http_response.nil?
543
543
  raise error if !error.nil?
544
544
  raise 'no response'
545
545
  end
546
546
  end
547
-
547
+
548
548
  content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
549
549
  if Utils.match_status_code(http_response.status, ['200'])
550
550
  if Utils.match_content_type(content_type, 'application/json')
@@ -640,7 +640,7 @@ module Moov
640
640
 
641
641
  timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
642
642
  timeout ||= @sdk_configuration.timeout
643
-
643
+
644
644
 
645
645
  connection = @sdk_configuration.client
646
646
 
@@ -655,7 +655,7 @@ module Moov
655
655
  error = T.let(nil, T.nilable(StandardError))
656
656
  http_response = T.let(nil, T.nilable(Faraday::Response))
657
657
 
658
-
658
+
659
659
  begin
660
660
  http_response = T.must(connection).delete(url) do |req|
661
661
  req.headers.merge!(headers)
@@ -691,13 +691,13 @@ module Moov
691
691
  response: http_response
692
692
  )
693
693
  end
694
-
694
+
695
695
  if http_response.nil?
696
696
  raise error if !error.nil?
697
697
  raise 'no response'
698
698
  end
699
699
  end
700
-
700
+
701
701
  content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
702
702
  if Utils.match_status_code(http_response.status, ['204'])
703
703
  http_response = @sdk_configuration.hooks.after_success(
@@ -778,7 +778,7 @@ module Moov
778
778
 
779
779
  timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
780
780
  timeout ||= @sdk_configuration.timeout
781
-
781
+
782
782
 
783
783
  connection = @sdk_configuration.client
784
784
 
@@ -793,7 +793,7 @@ module Moov
793
793
  error = T.let(nil, T.nilable(StandardError))
794
794
  http_response = T.let(nil, T.nilable(Faraday::Response))
795
795
 
796
-
796
+
797
797
  begin
798
798
  http_response = T.must(connection).put(url) do |req|
799
799
  req.body = body
@@ -830,13 +830,13 @@ module Moov
830
830
  response: http_response
831
831
  )
832
832
  end
833
-
833
+
834
834
  if http_response.nil?
835
835
  raise error if !error.nil?
836
836
  raise 'no response'
837
837
  end
838
838
  end
839
-
839
+
840
840
  content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
841
841
  if Utils.match_status_code(http_response.status, ['200'])
842
842
  if Utils.match_content_type(content_type, 'application/json')
@@ -929,7 +929,7 @@ module Moov
929
929
 
930
930
  timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
931
931
  timeout ||= @sdk_configuration.timeout
932
-
932
+
933
933
 
934
934
  connection = @sdk_configuration.client
935
935
 
@@ -944,7 +944,7 @@ module Moov
944
944
  error = T.let(nil, T.nilable(StandardError))
945
945
  http_response = T.let(nil, T.nilable(Faraday::Response))
946
946
 
947
-
947
+
948
948
  begin
949
949
  http_response = T.must(connection).get(url) do |req|
950
950
  req.headers.merge!(headers)
@@ -980,13 +980,13 @@ module Moov
980
980
  response: http_response
981
981
  )
982
982
  end
983
-
983
+
984
984
  if http_response.nil?
985
985
  raise error if !error.nil?
986
986
  raise 'no response'
987
987
  end
988
988
  end
989
-
989
+
990
990
  content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
991
991
  if Utils.match_status_code(http_response.status, ['200'])
992
992
  if Utils.match_content_type(content_type, 'image/webp')
@@ -59,7 +59,7 @@ module Moov
59
59
 
60
60
  timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
61
61
  timeout ||= @sdk_configuration.timeout
62
-
62
+
63
63
 
64
64
  connection = @sdk_configuration.client
65
65
 
@@ -74,7 +74,7 @@ module Moov
74
74
  error = T.let(nil, T.nilable(StandardError))
75
75
  http_response = T.let(nil, T.nilable(Faraday::Response))
76
76
 
77
-
77
+
78
78
  begin
79
79
  http_response = T.must(connection).get(url) do |req|
80
80
  req.headers.merge!(headers)
@@ -110,13 +110,13 @@ module Moov
110
110
  response: http_response
111
111
  )
112
112
  end
113
-
113
+
114
114
  if http_response.nil?
115
115
  raise error if !error.nil?
116
116
  raise 'no response'
117
117
  end
118
118
  end
119
-
119
+
120
120
  content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
121
121
  if Utils.match_status_code(http_response.status, ['200'])
122
122
  if Utils.match_content_type(content_type, 'application/json')
@@ -69,7 +69,7 @@ module Moov
69
69
 
70
70
  timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
71
71
  timeout ||= @sdk_configuration.timeout
72
-
72
+
73
73
 
74
74
  connection = @sdk_configuration.client
75
75
 
@@ -84,7 +84,7 @@ module Moov
84
84
  error = T.let(nil, T.nilable(StandardError))
85
85
  http_response = T.let(nil, T.nilable(Faraday::Response))
86
86
 
87
-
87
+
88
88
  begin
89
89
  http_response = T.must(connection).get(url) do |req|
90
90
  req.headers.merge!(headers)
@@ -121,13 +121,13 @@ module Moov
121
121
  response: http_response
122
122
  )
123
123
  end
124
-
124
+
125
125
  if http_response.nil?
126
126
  raise error if !error.nil?
127
127
  raise 'no response'
128
128
  end
129
129
  end
130
-
130
+
131
131
  content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
132
132
  if Utils.match_status_code(http_response.status, ['200'])
133
133
  if Utils.match_content_type(content_type, 'application/json')
@@ -168,11 +168,11 @@ module Moov
168
168
 
169
169
  sig { params(name: T.nilable(::String), routing_number: T.nilable(::String), state: T.nilable(::String), limit: T.nilable(::Integer), timeout_ms: T.nilable(Integer), http_headers: T.nilable(T::Hash[T.any(String, Symbol), String])).returns(Models::Operations::ListInstitutionsResponse) }
170
170
  def search(name: nil, routing_number: nil, state: nil, limit: nil, timeout_ms: nil, http_headers: nil)
171
- # search - This endpoint has been deprecated and will be removed in a future release. Use [/institutions](https://docs.moov.io/api/enrichment/institutions/get/).
171
+ # search - This endpoint has been deprecated and will be removed in a future release. Use [/institutions](https://docs.moov.io/api/enrichment/form-shortening/institutions/get/).
172
172
  #
173
173
  # Search for institutions by either their name or routing number.
174
174
  #
175
- # To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
175
+ # To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
176
176
  # you'll need to specify the `/fed.read` scope.
177
177
  #
178
178
  # @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
@@ -195,7 +195,7 @@ module Moov
195
195
 
196
196
  timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
197
197
  timeout ||= @sdk_configuration.timeout
198
-
198
+
199
199
 
200
200
  connection = @sdk_configuration.client
201
201
 
@@ -210,7 +210,7 @@ module Moov
210
210
  error = T.let(nil, T.nilable(StandardError))
211
211
  http_response = T.let(nil, T.nilable(Faraday::Response))
212
212
 
213
-
213
+
214
214
  begin
215
215
  http_response = T.must(connection).get(url) do |req|
216
216
  req.headers.merge!(headers)
@@ -247,13 +247,13 @@ module Moov
247
247
  response: http_response
248
248
  )
249
249
  end
250
-
250
+
251
251
  if http_response.nil?
252
252
  raise error if !error.nil?
253
253
  raise 'no response'
254
254
  end
255
255
  end
256
-
256
+
257
257
  content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
258
258
  if Utils.match_status_code(http_response.status, ['200'])
259
259
  if Utils.match_content_type(content_type, 'application/json')