moov_ruby 26.7.8 → 26.10.0.pre.dev.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (458) hide show
  1. checksums.yaml +4 -4
  2. data/lib/crystalline/module.rb +1 -1
  3. data/lib/moov/avatars.rb +1 -276
  4. data/lib/moov/card_issuing.rb +1 -117
  5. data/lib/moov/client.rb +2 -2
  6. data/lib/moov/enriched_address.rb +1 -1
  7. data/lib/moov/enriched_profile.rb +1 -1
  8. data/lib/moov/images.rb +1 -1
  9. data/lib/moov/institutions.rb +2 -2
  10. data/lib/moov/invoices.rb +0 -180
  11. data/lib/moov/models/components/account.rb +2 -2
  12. data/lib/moov/models/components/accountnameverification.rb +4 -4
  13. data/lib/moov/models/components/accounttype.rb +1 -3
  14. data/lib/moov/models/components/accountverificationstatus.rb +1 -3
  15. data/lib/moov/models/components/achreturncode.rb +1 -3
  16. data/lib/moov/models/components/achtransactiondetails.rb +3 -3
  17. data/lib/moov/models/components/achtransactionstatus.rb +1 -3
  18. data/lib/moov/models/components/adjustmentfees.rb +15 -11
  19. data/lib/moov/models/components/adjustmentfees.rbi +4 -4
  20. data/lib/moov/models/components/amountdecimalrange.rb +2 -0
  21. data/lib/moov/models/components/amountdecimalrangeupdate.rb +2 -0
  22. data/lib/moov/models/components/applepayresponse.rb +2 -2
  23. data/lib/moov/models/components/applicationscope.rb +2 -4
  24. data/lib/moov/models/components/authmethod.rb +1 -3
  25. data/lib/moov/models/components/authtokenrequest.rb +2 -6
  26. data/lib/moov/models/components/authtokenrequest.rbi +0 -2
  27. data/lib/moov/models/components/bankaccount.rb +4 -4
  28. data/lib/moov/models/components/bankaccountexception.rb +2 -2
  29. data/lib/moov/models/components/bankaccountholdertype.rb +1 -3
  30. data/lib/moov/models/components/bankaccountintegration.rb +2 -2
  31. data/lib/moov/models/components/bankaccountstatus.rb +1 -3
  32. data/lib/moov/models/components/bankaccountstatusreason.rb +1 -3
  33. data/lib/moov/models/components/bankaccounttype.rb +1 -3
  34. data/lib/moov/models/components/bankaccountverification.rb +2 -2
  35. data/lib/moov/models/components/bankaccountverificationcreated.rb +2 -2
  36. data/lib/moov/models/components/bankaccountverificationmethod.rb +1 -3
  37. data/lib/moov/models/components/bankaccountverificationstatus.rb +1 -3
  38. data/lib/moov/models/components/basicpaymentmethod.rb +1 -1
  39. data/lib/moov/models/components/billablefee.rb +2 -2
  40. data/lib/moov/models/components/billingsummary.rb +4 -8
  41. data/lib/moov/models/components/billingsummary.rbi +0 -2
  42. data/lib/moov/models/components/businesspresence.rb +1 -3
  43. data/lib/moov/models/components/businessprofile.rb +2 -2
  44. data/lib/moov/models/components/businesstype.rb +1 -3
  45. data/lib/moov/models/components/calltoaction.rb +1 -3
  46. data/lib/moov/models/components/cancellation.rb +2 -2
  47. data/lib/moov/models/components/cancellationstatus.rb +1 -3
  48. data/lib/moov/models/components/capability.rb +2 -2
  49. data/lib/moov/models/components/capabilityid.rb +1 -4
  50. data/lib/moov/models/components/capabilitystatus.rb +1 -3
  51. data/lib/moov/models/components/card.rb +4 -4
  52. data/lib/moov/models/components/cardaccountupdater.rb +1 -1
  53. data/lib/moov/models/components/cardacquiringmodel.rb +1 -3
  54. data/lib/moov/models/components/cardacquiringrefund.rb +1 -1
  55. data/lib/moov/models/components/cardbrand.rb +1 -3
  56. data/lib/moov/models/components/cardissuingnetwork.rb +1 -3
  57. data/lib/moov/models/components/cardmetadata.rb +4 -4
  58. data/lib/moov/models/components/cardtransactiondetails.rb +3 -3
  59. data/lib/moov/models/components/cardtransactionfailurecode.rb +1 -3
  60. data/lib/moov/models/components/cardtransactionstatus.rb +1 -4
  61. data/lib/moov/models/components/cardtype.rb +1 -3
  62. data/lib/moov/models/components/cardupdatereason.rb +1 -3
  63. data/lib/moov/models/components/cardverification.rb +3 -3
  64. data/lib/moov/models/components/cardverificationresult.rb +1 -3
  65. data/lib/moov/models/components/collectfundscardpayments.rb +1 -1
  66. data/lib/moov/models/components/collectionpaymentmethodtype.rb +1 -3
  67. data/lib/moov/models/components/{webhookdataeventtest.rb → contributingrule.rb} +8 -8
  68. data/lib/moov/models/components/contributingrule.rbi +13 -0
  69. data/lib/moov/models/components/createaccount.rb +2 -2
  70. data/lib/moov/models/components/createaccounttype.rb +1 -3
  71. data/lib/moov/models/components/createbusinessprofile.rb +2 -2
  72. data/lib/moov/models/components/createdtransfer.rb +6 -14
  73. data/lib/moov/models/components/createdtransfer.rbi +0 -2
  74. data/lib/moov/models/components/createevidencetext.rb +1 -1
  75. data/lib/moov/models/components/createfeeplanagreement.rb +3 -13
  76. data/lib/moov/models/components/createfeeplanagreement.rbi +0 -2
  77. data/lib/moov/models/components/createinvoice.rb +2 -14
  78. data/lib/moov/models/components/createinvoice.rbi +0 -6
  79. data/lib/moov/models/components/createpaymentlink.rb +1 -1
  80. data/lib/moov/models/components/createrefund.rb +2 -2
  81. data/lib/moov/models/components/createreversal.rb +1 -4
  82. data/lib/moov/models/components/createsweepconfig.rb +1 -1
  83. data/lib/moov/models/components/createterminalapplication.rb +1 -1
  84. data/lib/moov/models/components/createtippresets.rb +1 -1
  85. data/lib/moov/models/components/createtransfer.rb +2 -6
  86. data/lib/moov/models/components/createtransfer.rbi +0 -2
  87. data/lib/moov/models/components/createtransfersourceach.rb +2 -2
  88. data/lib/moov/models/components/createtransfersourcecard.rb +1 -1
  89. data/lib/moov/models/components/createwebhook.rb +1 -1
  90. data/lib/moov/models/components/debitholdperiod.rb +1 -3
  91. data/lib/moov/models/components/depositaccountingestedresponse.rb +1 -1
  92. data/lib/moov/models/components/disbursementpaymentmethodtype.rb +1 -3
  93. data/lib/moov/models/components/dispute.rb +2 -2
  94. data/lib/moov/models/components/disputeevidenceresponse.rb +1 -1
  95. data/lib/moov/models/components/disputephase.rb +1 -3
  96. data/lib/moov/models/components/disputestatus.rb +1 -3
  97. data/lib/moov/models/components/document.rb +1 -1
  98. data/lib/moov/models/components/documenttype.rb +1 -3
  99. data/lib/moov/models/components/domesticpullfromcard.rb +1 -3
  100. data/lib/moov/models/components/domesticpushtocard.rb +1 -3
  101. data/lib/moov/models/components/estimatedactivity.rb +1 -1
  102. data/lib/moov/models/components/evidencetextresponse.rb +1 -1
  103. data/lib/moov/models/components/evidencetype.rb +1 -3
  104. data/lib/moov/models/components/evidenceuploadresponse.rb +1 -1
  105. data/lib/moov/models/components/facilitatorfee.rb +2 -2
  106. data/lib/moov/models/components/feecategory.rb +1 -3
  107. data/lib/moov/models/components/feemodel.rb +1 -3
  108. data/lib/moov/models/components/feeplan.rb +1 -1
  109. data/lib/moov/models/components/feeplanagreement.rb +4 -12
  110. data/lib/moov/models/components/feeplanagreement.rbi +0 -4
  111. data/lib/moov/models/components/feeplanagreementstatus.rb +1 -3
  112. data/lib/moov/models/components/filedetails.rb +2 -2
  113. data/lib/moov/models/components/filepurpose.rb +1 -3
  114. data/lib/moov/models/components/filestatus.rb +1 -3
  115. data/lib/moov/models/components/fulfillment.rb +2 -2
  116. data/lib/moov/models/components/fulfillmentdetails.rb +1 -1
  117. data/lib/moov/models/components/fulfillmentmethod.rb +1 -3
  118. data/lib/moov/models/components/fulfillmenttimeframe.rb +1 -3
  119. data/lib/moov/models/components/fullissuedcard.rb +5 -6
  120. data/lib/moov/models/components/geographicreach.rb +1 -3
  121. data/lib/moov/models/components/googlepayresponse.rb +3 -3
  122. data/lib/moov/models/components/incurredfee.rb +2 -6
  123. data/lib/moov/models/components/incurredfee.rbi +0 -2
  124. data/lib/moov/models/components/instantbankfailurecode.rb +1 -3
  125. data/lib/moov/models/components/instantbanknetwork.rb +1 -3
  126. data/lib/moov/models/components/instantbanktransactiondetails.rb +3 -3
  127. data/lib/moov/models/components/instantbanktransactionstatus.rb +1 -3
  128. data/lib/moov/models/components/invoice.rb +3 -7
  129. data/lib/moov/models/components/invoice.rbi +0 -2
  130. data/lib/moov/models/components/invoicepayment.rb +1 -1
  131. data/lib/moov/models/components/invoicepaymenttype.rb +1 -3
  132. data/lib/moov/models/components/invoicestatus.rb +1 -3
  133. data/lib/moov/models/components/issuedcard.rb +5 -6
  134. data/lib/moov/models/components/issuedcardauthorization.rb +4 -13
  135. data/lib/moov/models/components/issuedcardauthorization.rbi +0 -4
  136. data/lib/moov/models/components/issuedcardauthorizationevent.rb +4 -9
  137. data/lib/moov/models/components/issuedcardauthorizationevent.rbi +0 -2
  138. data/lib/moov/models/components/issuedcardauthorizationeventresult.rb +1 -3
  139. data/lib/moov/models/components/issuedcardeventtype.rb +1 -3
  140. data/lib/moov/models/components/issuedcardstate.rb +1 -5
  141. data/lib/moov/models/components/issuedcardtransaction.rb +2 -6
  142. data/lib/moov/models/components/issuedcardtransaction.rbi +0 -2
  143. data/lib/moov/models/components/issuingauthorizationstatus.rb +1 -3
  144. data/lib/moov/models/components/issuingcontrols.rb +3 -19
  145. data/lib/moov/models/components/issuingcontrols.rbi +0 -8
  146. data/lib/moov/models/components/issuingcontrolserror.rb +2 -18
  147. data/lib/moov/models/components/issuingcontrolserror.rbi +0 -8
  148. data/lib/moov/models/components/issuingintervallimit.rb +2 -7
  149. data/lib/moov/models/components/issuingvelocitylimit.rb +7 -11
  150. data/lib/moov/models/components/issuingvelocitylimit.rbi +2 -4
  151. data/lib/moov/models/components/issuingvelocitylimiterror.rb +2 -6
  152. data/lib/moov/models/components/issuingvelocitylimiterror.rbi +0 -2
  153. data/lib/moov/models/components/jsonwebkey.rb +1 -1
  154. data/lib/moov/models/components/linkedapplepaypaymentmethod.rb +1 -1
  155. data/lib/moov/models/components/linkedgooglepaypaymentmethod.rb +1 -1
  156. data/lib/moov/models/components/mode.rb +1 -3
  157. data/lib/moov/models/components/monthlyvolumerange.rb +1 -3
  158. data/lib/moov/models/components/moovfee.rb +1 -1
  159. data/lib/moov/models/components/occurrencesresponse.rb +2 -2
  160. data/lib/moov/models/components/occurrencestatus.rb +1 -3
  161. data/lib/moov/models/components/onboardingpartneraccount.rb +1 -1
  162. data/lib/moov/models/components/partnerpricingagreement.rb +7 -15
  163. data/lib/moov/models/components/partnerpricingagreement.rbi +0 -4
  164. data/lib/moov/models/components/partnerriskoutcomesresponse.rb +38 -0
  165. data/lib/moov/models/components/partnerriskoutcomesresponse.rbi +15 -0
  166. data/lib/moov/models/components/patchbusiness.rb +2 -2
  167. data/lib/moov/models/components/patchwallet.rb +1 -1
  168. data/lib/moov/models/components/paymentlink.rb +6 -4
  169. data/lib/moov/models/components/paymentlinkcustomamountpaymentdetails.rb +2 -0
  170. data/lib/moov/models/components/paymentlinkcustomamountpaymentdetailsupdate.rb +2 -0
  171. data/lib/moov/models/components/paymentlinkdisplayoptions.rb +1 -1
  172. data/lib/moov/models/components/paymentlinkdisplayoptionsupdate.rb +1 -1
  173. data/lib/moov/models/components/paymentlinkpayoutdetails.rb +7 -11
  174. data/lib/moov/models/components/paymentlinkpayoutdetails.rbi +0 -2
  175. data/lib/moov/models/components/paymentlinkpayoutdetailsupdate.rb +7 -11
  176. data/lib/moov/models/components/paymentlinkpayoutdetailsupdate.rbi +0 -2
  177. data/lib/moov/models/components/paymentlinkstatus.rb +1 -3
  178. data/lib/moov/models/components/paymentlinktype.rb +1 -3
  179. data/lib/moov/models/components/paymentmethodsbankaccount.rb +3 -3
  180. data/lib/moov/models/components/paymentmethodscard.rb +4 -4
  181. data/lib/moov/models/components/paymentmethodswallet.rb +1 -2
  182. data/lib/moov/models/components/paymentmethodtype.rb +1 -3
  183. data/lib/moov/models/components/payoutdetailserror.rb +2 -6
  184. data/lib/moov/models/components/payoutdetailserror.rbi +0 -2
  185. data/lib/moov/models/components/pendinglitigation.rb +1 -3
  186. data/lib/moov/models/components/primaryregulator.rb +1 -3
  187. data/lib/moov/models/components/product.rb +2 -6
  188. data/lib/moov/models/components/product.rbi +0 -2
  189. data/lib/moov/models/components/productrequest.rb +2 -6
  190. data/lib/moov/models/components/productrequest.rbi +0 -2
  191. data/lib/moov/models/components/pushdeliveryspeed.rb +1 -3
  192. data/lib/moov/models/components/pushoptions.rb +4 -5
  193. data/lib/moov/models/components/pushoptionsupdate.rb +4 -5
  194. data/lib/moov/models/components/puttippresets.rb +1 -1
  195. data/lib/moov/models/components/refundcarddetails.rb +2 -2
  196. data/lib/moov/models/components/refundcardstatus.rb +1 -4
  197. data/lib/moov/models/components/refundpolicy.rb +1 -3
  198. data/lib/moov/models/components/refundstatus.rb +1 -3
  199. data/lib/moov/models/components/requestcard.rb +1 -1
  200. data/lib/moov/models/components/requirementerror.rb +2 -2
  201. data/lib/moov/models/components/requirementerrorcode.rb +1 -3
  202. data/lib/moov/models/components/requirementid.rb +1 -17
  203. data/lib/moov/models/components/resolutionlink.rb +1 -1
  204. data/lib/moov/models/components/resolutionlinkstatus.rb +1 -3
  205. data/lib/moov/models/components/returnpolicytype.rb +1 -3
  206. data/lib/moov/models/components/reversalamountdetails.rb +1 -3
  207. data/lib/moov/models/components/reversedwithcancellation.rb +1 -1
  208. data/lib/moov/models/components/rtprejectioncode.rb +1 -3
  209. data/lib/moov/models/components/schedulelistresponse.rb +1 -1
  210. data/lib/moov/models/components/scheduleresponse.rb +1 -1
  211. data/lib/moov/models/components/seccode.rb +1 -3
  212. data/lib/moov/models/components/sendfunds.rb +2 -6
  213. data/lib/moov/models/components/sendfunds.rbi +0 -2
  214. data/lib/moov/models/components/sendfundserror.rb +2 -6
  215. data/lib/moov/models/components/sendfundserror.rbi +0 -2
  216. data/lib/moov/models/components/sourcesystem.rb +1 -3
  217. data/lib/moov/models/components/statement.rb +2 -6
  218. data/lib/moov/models/components/statement.rbi +0 -2
  219. data/lib/moov/models/components/sweep.rb +1 -1
  220. data/lib/moov/models/components/sweepconfig.rb +3 -3
  221. data/lib/moov/models/components/sweepconfigpaymentmethod.rb +1 -1
  222. data/lib/moov/models/components/sweepconfigstatus.rb +1 -3
  223. data/lib/moov/models/components/sweepstatus.rb +1 -3
  224. data/lib/moov/models/components/sweepsubtotal.rb +1 -1
  225. data/lib/moov/models/components/terminalapplication.rb +2 -2
  226. data/lib/moov/models/components/terminalapplicationplatform.rb +1 -3
  227. data/lib/moov/models/components/terminalapplicationstatus.rb +1 -3
  228. data/lib/moov/models/components/terminalcard.rb +2 -2
  229. data/lib/moov/models/components/ticket.rb +1 -1
  230. data/lib/moov/models/components/ticketstatus.rb +1 -3
  231. data/lib/moov/models/components/tipcalculationbasis.rb +1 -3
  232. data/lib/moov/models/components/tippresets.rb +1 -1
  233. data/lib/moov/models/components/transactionsource.rb +1 -3
  234. data/lib/moov/models/components/transfer.rb +6 -14
  235. data/lib/moov/models/components/transfer.rbi +0 -2
  236. data/lib/moov/models/components/transferdestination.rb +1 -1
  237. data/lib/moov/models/components/transferfailurereason.rb +1 -3
  238. data/lib/moov/models/components/transferparty.rb +1 -3
  239. data/lib/moov/models/components/transferpaymentmethodsbankaccount.rb +3 -3
  240. data/lib/moov/models/components/transferpaymentmethodscard.rb +4 -4
  241. data/lib/moov/models/components/transferpaymentmethodswallet.rb +1 -2
  242. data/lib/moov/models/components/transferpaymentmethodtype.rb +1 -3
  243. data/lib/moov/models/components/transfersource.rb +1 -1
  244. data/lib/moov/models/components/transferstatus.rb +1 -3
  245. data/lib/moov/models/components/transferterminalcard.rb +2 -2
  246. data/lib/moov/models/components/underwriting.rb +4 -4
  247. data/lib/moov/models/components/underwritingstatus.rb +1 -3
  248. data/lib/moov/models/components/updateevidence.rb +1 -1
  249. data/lib/moov/models/components/updateinvoice.rb +3 -7
  250. data/lib/moov/models/components/updateinvoice.rbi +0 -2
  251. data/lib/moov/models/components/updateissuedcard.rb +2 -8
  252. data/lib/moov/models/components/updateissuedcard.rbi +0 -2
  253. data/lib/moov/models/components/updateissuedcardstate.rb +0 -4
  254. data/lib/moov/models/components/updatepaymentlink.rb +1 -1
  255. data/lib/moov/models/components/updatewebhook.rb +1 -1
  256. data/lib/moov/models/components/upsertunderwriting.rb +3 -3
  257. data/lib/moov/models/components/use.rb +1 -3
  258. data/lib/moov/models/components/verification.rb +3 -3
  259. data/lib/moov/models/components/verificationstatus.rb +1 -3
  260. data/lib/moov/models/components/verificationstatusdetail.rb +1 -3
  261. data/lib/moov/models/components/wallet.rb +2 -3
  262. data/lib/moov/models/components/walletstatus.rb +1 -3
  263. data/lib/moov/models/components/wallettransaction.rb +3 -3
  264. data/lib/moov/models/components/wallettransactionsourcetype.rb +1 -3
  265. data/lib/moov/models/components/wallettransactionstatus.rb +1 -3
  266. data/lib/moov/models/components/wallettransactiontype.rb +1 -3
  267. data/lib/moov/models/components/wallettype.rb +1 -5
  268. data/lib/moov/models/components/webhook.rb +1 -1
  269. data/lib/moov/models/components/webhookdatabankaccountcreated.rb +1 -1
  270. data/lib/moov/models/components/webhookdatabankaccountdeleted.rb +1 -1
  271. data/lib/moov/models/components/webhookdatabankaccountupdated.rb +2 -2
  272. data/lib/moov/models/components/webhookdatacancellationcreated.rb +1 -1
  273. data/lib/moov/models/components/webhookdatacancellationupdated.rb +1 -1
  274. data/lib/moov/models/components/webhookdatacapabilityrequested.rb +1 -1
  275. data/lib/moov/models/components/webhookdatacapabilityupdated.rb +2 -2
  276. data/lib/moov/models/components/webhookdatacardautoupdated.rb +1 -1
  277. data/lib/moov/models/components/webhookdatadisputecreated.rb +2 -2
  278. data/lib/moov/models/components/webhookdatadisputeupdated.rb +2 -2
  279. data/lib/moov/models/components/webhookdatainvoiceupdated.rb +1 -1
  280. data/lib/moov/models/components/webhookdatarefundupdated.rb +1 -1
  281. data/lib/moov/models/components/webhookdatasweepupdated.rb +1 -1
  282. data/lib/moov/models/components/webhookdataterminalapplicationcreated.rb +1 -1
  283. data/lib/moov/models/components/webhookdataterminalapplicationupdated.rb +1 -1
  284. data/lib/moov/models/components/webhookdataticketupdated.rb +1 -1
  285. data/lib/moov/models/components/webhookdatatransferstatus.rb +0 -4
  286. data/lib/moov/models/components/webhookdatawallettransactionupdated.rb +1 -1
  287. data/lib/moov/models/components/webhookdatawalletupdated.rb +1 -1
  288. data/lib/moov/models/components/webhookevent.rb +3 -3
  289. data/lib/moov/models/components/webhookeventtype.rb +1 -4
  290. data/lib/moov/models/components/webhookstatus.rb +1 -3
  291. data/lib/moov/models/components.rb +3 -46
  292. data/lib/moov/models/errors/cardacquiringrefund_error.rb +1 -1
  293. data/lib/moov/models/errors/createinvoiceerror.rb +2 -14
  294. data/lib/moov/models/errors/createinvoiceerror.rbi +0 -6
  295. data/lib/moov/models/errors/productrequestvalidationerror.rb +2 -6
  296. data/lib/moov/models/errors/productrequestvalidationerror.rbi +0 -2
  297. data/lib/moov/models/errors/transfer_error.rb +6 -14
  298. data/lib/moov/models/errors/transfer_error.rbi +0 -2
  299. data/lib/moov/models/errors/updateinvoiceerror.rb +2 -6
  300. data/lib/moov/models/errors/updateinvoiceerror.rbi +0 -2
  301. data/lib/moov/models/errors/updateissuedcarderror.rb +2 -6
  302. data/lib/moov/models/errors/updateissuedcarderror.rbi +0 -2
  303. data/lib/moov/models/errors.rb +0 -2
  304. data/lib/moov/models/operations/createcancellation_request.rb +2 -7
  305. data/lib/moov/models/operations/createcancellation_request.rbi +0 -2
  306. data/lib/moov/models/operations/gettransferriskoutcomes_request.rb +37 -0
  307. data/lib/moov/models/operations/gettransferriskoutcomes_request.rbi +15 -0
  308. data/lib/moov/models/operations/{listproductcategories_response.rb → gettransferriskoutcomes_response.rb} +6 -6
  309. data/lib/moov/models/operations/{listissuingmerchantcategories_response.rbi → gettransferriskoutcomes_response.rbi} +4 -4
  310. data/lib/moov/models/operations/initiaterefund_request.rb +1 -1
  311. data/lib/moov/models/operations/listaccounts_request.rb +1 -1
  312. data/lib/moov/models/operations/listconnectedaccountsforaccount_request.rb +1 -1
  313. data/lib/moov/models/operations/listdisputes_request.rb +1 -1
  314. data/lib/moov/models/operations/listfeeplanagreements_request.rb +1 -1
  315. data/lib/moov/models/operations/listfeerevenue_request.rb +1 -1
  316. data/lib/moov/models/operations/listinvoices_request.rb +1 -1
  317. data/lib/moov/models/operations/listissuedcardauthorizationevents_request.rb +1 -1
  318. data/lib/moov/models/operations/listissuedcardauthorizations_request.rb +1 -1
  319. data/lib/moov/models/operations/listissuedcards_request.rb +1 -1
  320. data/lib/moov/models/operations/listissuedcardtransactions_request.rb +3 -7
  321. data/lib/moov/models/operations/listissuedcardtransactions_request.rbi +0 -2
  322. data/lib/moov/models/operations/listpartnerpricingagreements_request.rb +1 -1
  323. data/lib/moov/models/operations/listpaymentlinks_request.rb +1 -1
  324. data/lib/moov/models/operations/listproducts_request.rb +3 -9
  325. data/lib/moov/models/operations/listproducts_request.rbi +0 -2
  326. data/lib/moov/models/operations/listresidualfees_request.rb +1 -1
  327. data/lib/moov/models/operations/listresiduals_request.rb +1 -1
  328. data/lib/moov/models/operations/listschedules_request.rb +1 -1
  329. data/lib/moov/models/operations/liststatements_request.rb +1 -1
  330. data/lib/moov/models/operations/listsweeps_request.rb +1 -1
  331. data/lib/moov/models/operations/listtickets_request.rb +1 -1
  332. data/lib/moov/models/operations/listtransfers_request.rb +3 -15
  333. data/lib/moov/models/operations/listtransfers_request.rbi +0 -6
  334. data/lib/moov/models/operations/listwallets_request.rb +1 -1
  335. data/lib/moov/models/operations/listwallettransactions_request.rb +1 -1
  336. data/lib/moov/models/operations/retrievefees_request.rb +1 -1
  337. data/lib/moov/models/operations.rb +2 -10
  338. data/lib/moov/products.rb +8 -113
  339. data/lib/moov/sdk_hooks/hooks.rb +0 -6
  340. data/lib/moov/sdkconfiguration.rb +4 -4
  341. data/lib/moov/transfers.rb +134 -17
  342. data/lib/moov/utils/retries.rb +2 -41
  343. data/lib/moov/utils/utils.rb +2 -6
  344. data/lib/moov_ruby.rb +1 -1
  345. metadata +12 -120
  346. data/lib/moov/models/components/allowedscheduleerror.rb +0 -36
  347. data/lib/moov/models/components/allowedscheduleerror.rbi +0 -15
  348. data/lib/moov/models/components/avataruploadrequest.rb +0 -32
  349. data/lib/moov/models/components/avataruploadrequest.rbi +0 -13
  350. data/lib/moov/models/components/avataruploadrequest_file.rb +0 -36
  351. data/lib/moov/models/components/avataruploadrequest_file.rbi +0 -15
  352. data/lib/moov/models/components/billingadjustment.rb +0 -40
  353. data/lib/moov/models/components/billingadjustment.rbi +0 -17
  354. data/lib/moov/models/components/billingsummary_adjustmentfees.rb +0 -40
  355. data/lib/moov/models/components/billingsummary_adjustmentfees.rbi +0 -15
  356. data/lib/moov/models/components/createinvoicenotification.rb +0 -32
  357. data/lib/moov/models/components/createinvoicenotification.rbi +0 -13
  358. data/lib/moov/models/components/feepaidby.rb +0 -21
  359. data/lib/moov/models/components/feepaidby.rbi +0 -11
  360. data/lib/moov/models/components/invoicenotificationlimitedchannel.rb +0 -36
  361. data/lib/moov/models/components/invoicenotificationlimitedchannel.rbi +0 -15
  362. data/lib/moov/models/components/invoicepaymentoptions.rb +0 -40
  363. data/lib/moov/models/components/invoicepaymentoptions.rbi +0 -17
  364. data/lib/moov/models/components/invoicepaymentoptionserror.rb +0 -40
  365. data/lib/moov/models/components/invoicepaymentoptionserror.rbi +0 -17
  366. data/lib/moov/models/components/invoicepaymentoptionsupdate.rb +0 -40
  367. data/lib/moov/models/components/invoicepaymentoptionsupdate.rbi +0 -17
  368. data/lib/moov/models/components/issuedcontrols.rb +0 -52
  369. data/lib/moov/models/components/issuedcontrols.rbi +0 -23
  370. data/lib/moov/models/components/issuedcontrols_allowedschedule.rb +0 -36
  371. data/lib/moov/models/components/issuedcontrols_allowedschedule.rbi +0 -15
  372. data/lib/moov/models/components/issuedvelocitylimit.rb +0 -60
  373. data/lib/moov/models/components/issuedvelocitylimit.rbi +0 -27
  374. data/lib/moov/models/components/issuingcontrols_allowedschedule.rb +0 -36
  375. data/lib/moov/models/components/issuingcontrols_allowedschedule.rbi +0 -15
  376. data/lib/moov/models/components/issuingcontrolsrestrictionmode.rb +0 -21
  377. data/lib/moov/models/components/issuingcontrolsrestrictionmode.rbi +0 -11
  378. data/lib/moov/models/components/issuingdeclinereason.rb +0 -35
  379. data/lib/moov/models/components/issuingdeclinereason.rbi +0 -11
  380. data/lib/moov/models/components/issuingmerchantcategory.rb +0 -45
  381. data/lib/moov/models/components/issuingmerchantcategory.rbi +0 -11
  382. data/lib/moov/models/components/issuingscheduleday.rb +0 -24
  383. data/lib/moov/models/components/issuingscheduleday.rbi +0 -11
  384. data/lib/moov/models/components/merchantcategories.rb +0 -32
  385. data/lib/moov/models/components/merchantcategories.rbi +0 -13
  386. data/lib/moov/models/components/merchantcategory.rb +0 -37
  387. data/lib/moov/models/components/merchantcategory.rbi +0 -15
  388. data/lib/moov/models/components/merchantcategoryrestrictions.rb +0 -44
  389. data/lib/moov/models/components/merchantcategoryrestrictions.rbi +0 -19
  390. data/lib/moov/models/components/merchantcategoryrestrictionserror.rb +0 -44
  391. data/lib/moov/models/components/merchantcategoryrestrictionserror.rbi +0 -19
  392. data/lib/moov/models/components/merchantentry.rb +0 -40
  393. data/lib/moov/models/components/merchantentry.rbi +0 -17
  394. data/lib/moov/models/components/merchantentryerror.rb +0 -36
  395. data/lib/moov/models/components/merchantentryerror.rbi +0 -15
  396. data/lib/moov/models/components/merchantrestrictions.rb +0 -36
  397. data/lib/moov/models/components/merchantrestrictions.rbi +0 -15
  398. data/lib/moov/models/components/merchantrestrictionserror.rb +0 -36
  399. data/lib/moov/models/components/merchantrestrictionserror.rbi +0 -15
  400. data/lib/moov/models/components/notificationchannel.rb +0 -18
  401. data/lib/moov/models/components/notificationchannel.rbi +0 -11
  402. data/lib/moov/models/components/oauth2clienttype.rb +0 -23
  403. data/lib/moov/models/components/oauth2clienttype.rbi +0 -11
  404. data/lib/moov/models/components/productcategories.rb +0 -32
  405. data/lib/moov/models/components/productcategories.rbi +0 -13
  406. data/lib/moov/models/components/productcategory.rb +0 -48
  407. data/lib/moov/models/components/productcategory.rbi +0 -21
  408. data/lib/moov/models/components/schedulewindow.rb +0 -40
  409. data/lib/moov/models/components/schedulewindow.rbi +0 -17
  410. data/lib/moov/models/components/schedulewindowerror.rb +0 -40
  411. data/lib/moov/models/components/schedulewindowerror.rbi +0 -17
  412. data/lib/moov/models/components/schemebasicauth.rb +0 -36
  413. data/lib/moov/models/components/schemebasicauth.rbi +0 -15
  414. data/lib/moov/models/components/schemeoauth2auth.rb +0 -40
  415. data/lib/moov/models/components/schemeoauth2auth.rbi +0 -17
  416. data/lib/moov/models/components/sendfundswire.rb +0 -32
  417. data/lib/moov/models/components/sendfundswire.rbi +0 -13
  418. data/lib/moov/models/components/sendfundswireerror.rb +0 -32
  419. data/lib/moov/models/components/sendfundswireerror.rbi +0 -13
  420. data/lib/moov/models/components/transfercapture.rb +0 -36
  421. data/lib/moov/models/components/transfercapture.rbi +0 -15
  422. data/lib/moov/models/components/transferfeepaidby.rb +0 -32
  423. data/lib/moov/models/components/transferfeepaidby.rbi +0 -13
  424. data/lib/moov/models/components/updateissuingcontrols.rb +0 -48
  425. data/lib/moov/models/components/updateissuingcontrols.rbi +0 -21
  426. data/lib/moov/models/components/updateissuingcontrols_allowedschedule.rb +0 -36
  427. data/lib/moov/models/components/updateissuingcontrols_allowedschedule.rbi +0 -15
  428. data/lib/moov/models/components/updateissuingcontrols_merchantcategoryrestrictions.rb +0 -44
  429. data/lib/moov/models/components/updateissuingcontrols_merchantcategoryrestrictions.rbi +0 -19
  430. data/lib/moov/models/components/updateissuingcontrols_merchantrestrictions.rb +0 -36
  431. data/lib/moov/models/components/updateissuingcontrols_merchantrestrictions.rbi +0 -15
  432. data/lib/moov/models/components/updateissuingcontrolserror.rb +0 -48
  433. data/lib/moov/models/components/updateissuingcontrolserror.rbi +0 -21
  434. data/lib/moov/models/components/webhookdataeventtest.rbi +0 -13
  435. data/lib/moov/models/errors/invoicenotificationerror.rb +0 -36
  436. data/lib/moov/models/errors/invoicenotificationerror.rbi +0 -15
  437. data/lib/moov/models/errors/invoicenotificationratelimitederror.rb +0 -44
  438. data/lib/moov/models/errors/invoicenotificationratelimitederror.rbi +0 -19
  439. data/lib/moov/models/operations/createinvoicenotification_request.rb +0 -40
  440. data/lib/moov/models/operations/createinvoicenotification_request.rbi +0 -17
  441. data/lib/moov/models/operations/createinvoicenotification_response.rb +0 -44
  442. data/lib/moov/models/operations/createinvoicenotification_response.rbi +0 -19
  443. data/lib/moov/models/operations/deleteavatar_request.rb +0 -32
  444. data/lib/moov/models/operations/deleteavatar_request.rbi +0 -13
  445. data/lib/moov/models/operations/deleteavatar_response.rb +0 -44
  446. data/lib/moov/models/operations/deleteavatar_response.rbi +0 -19
  447. data/lib/moov/models/operations/deleteavatar_security.rb +0 -36
  448. data/lib/moov/models/operations/deleteavatar_security.rbi +0 -15
  449. data/lib/moov/models/operations/listissuingmerchantcategories_response.rb +0 -48
  450. data/lib/moov/models/operations/listproductcategories_response.rbi +0 -21
  451. data/lib/moov/models/operations/uploadavatar_request.rb +0 -36
  452. data/lib/moov/models/operations/uploadavatar_request.rbi +0 -15
  453. data/lib/moov/models/operations/uploadavatar_response.rb +0 -44
  454. data/lib/moov/models/operations/uploadavatar_response.rbi +0 -19
  455. data/lib/moov/models/operations/uploadavatar_security.rb +0 -36
  456. data/lib/moov/models/operations/uploadavatar_security.rbi +0 -15
  457. data/lib/moov/sdk_hooks/clientcredentials.rb +0 -386
  458. data/lib/moov/sdk_hooks/oauth2scopes.rb +0 -18
@@ -1,21 +0,0 @@
1
- # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
-
3
- # typed: true
4
- # frozen_string_literal: true
5
-
6
-
7
- module Moov
8
- module Models
9
- module Components
10
-
11
- class FeePaidBy
12
- include ::Crystalline::Enum
13
- enums do
14
- SOURCE = new('source')
15
- DESTINATION = new('destination')
16
- end
17
- open!
18
- end
19
- end
20
- end
21
- end
@@ -1,11 +0,0 @@
1
- # typed: true
2
- # frozen_string_literal: true
3
-
4
-
5
- class Moov::Models::Components::FeePaidBy
6
- extend ::Crystalline::MetadataFields::ClassMethods
7
- end
8
-
9
-
10
- class Moov::Models::Components::FeePaidBy
11
- end
@@ -1,36 +0,0 @@
1
- # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
-
3
- # typed: true
4
- # frozen_string_literal: true
5
-
6
-
7
- module Moov
8
- module Models
9
- module Components
10
-
11
- class InvoiceNotificationLimitedChannel
12
- extend T::Sig
13
- include Crystalline::MetadataFields
14
-
15
-
16
- field :channel, Models::Components::NotificationChannel, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('channel'), required: true, 'decoder': ::Moov::Utils.enum_from_string(Models::Components::NotificationChannel, false) } }
17
- # When a notification to the channel can be sent again.
18
- field :available_on, ::DateTime, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('availableOn'), required: true, 'decoder': ::Moov::Utils.datetime_from_iso_format(false) } }
19
-
20
- sig { params(channel: Models::Components::NotificationChannel, available_on: ::DateTime).void }
21
- def initialize(channel:, available_on:)
22
- @channel = channel
23
- @available_on = available_on
24
- end
25
-
26
- sig { params(other: T.untyped).returns(T::Boolean) }
27
- def ==(other)
28
- return false unless other.is_a? self.class
29
- return false unless @channel == other.channel
30
- return false unless @available_on == other.available_on
31
- true
32
- end
33
- end
34
- end
35
- end
36
- end
@@ -1,15 +0,0 @@
1
- # typed: true
2
- # frozen_string_literal: true
3
-
4
-
5
- class Moov::Models::Components::InvoiceNotificationLimitedChannel
6
- extend ::Crystalline::MetadataFields::ClassMethods
7
- end
8
-
9
-
10
- class Moov::Models::Components::InvoiceNotificationLimitedChannel
11
- def channel(); end
12
- def channel=(str_); end
13
- def available_on(); end
14
- def available_on=(str_); end
15
- end
@@ -1,40 +0,0 @@
1
- # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
-
3
- # typed: true
4
- # frozen_string_literal: true
5
-
6
-
7
- module Moov
8
- module Models
9
- module Components
10
- # Payment options for an invoice.
11
- class InvoicePaymentOptions
12
- extend T::Sig
13
- include Crystalline::MetadataFields
14
-
15
- # Payment methods the customer can use to pay the invoice. If omitted, all methods the merchant supports are allowed. The request is rejected if a listed method is not supported by the merchant.
16
- field :allowed_methods, Crystalline::Nilable.new(Crystalline::Array.new(Models::Components::CollectionPaymentMethodType)), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('allowedMethods') } }
17
- # Options for payment links used to collect a card payment.
18
- field :card_details, Crystalline::Nilable.new(Models::Components::CardPaymentDetails), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('cardDetails') } }
19
- # Options for payment links used to collect an ACH payment.
20
- field :ach_details, Crystalline::Nilable.new(Models::Components::ACHPaymentDetails), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('achDetails') } }
21
-
22
- sig { params(allowed_methods: T.nilable(T::Array[Models::Components::CollectionPaymentMethodType]), card_details: T.nilable(Models::Components::CardPaymentDetails), ach_details: T.nilable(Models::Components::ACHPaymentDetails)).void }
23
- def initialize(allowed_methods: nil, card_details: nil, ach_details: nil)
24
- @allowed_methods = allowed_methods
25
- @card_details = card_details
26
- @ach_details = ach_details
27
- end
28
-
29
- sig { params(other: T.untyped).returns(T::Boolean) }
30
- def ==(other)
31
- return false unless other.is_a? self.class
32
- return false unless @allowed_methods == other.allowed_methods
33
- return false unless @card_details == other.card_details
34
- return false unless @ach_details == other.ach_details
35
- true
36
- end
37
- end
38
- end
39
- end
40
- end
@@ -1,17 +0,0 @@
1
- # typed: true
2
- # frozen_string_literal: true
3
-
4
-
5
- class Moov::Models::Components::InvoicePaymentOptions
6
- extend ::Crystalline::MetadataFields::ClassMethods
7
- end
8
-
9
-
10
- class Moov::Models::Components::InvoicePaymentOptions
11
- def allowed_methods(); end
12
- def allowed_methods=(str_); end
13
- def card_details(); end
14
- def card_details=(str_); end
15
- def ach_details(); end
16
- def ach_details=(str_); end
17
- end
@@ -1,40 +0,0 @@
1
- # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
-
3
- # typed: true
4
- # frozen_string_literal: true
5
-
6
-
7
- module Moov
8
- module Models
9
- module Components
10
-
11
- class InvoicePaymentOptionsError
12
- extend T::Sig
13
- include Crystalline::MetadataFields
14
-
15
-
16
- field :allowed_methods, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('allowedMethods') } }
17
-
18
- field :card_details, Crystalline::Nilable.new(Models::Components::CardPaymentDetailsError), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('cardDetails') } }
19
-
20
- field :ach_details, Crystalline::Nilable.new(Models::Components::ACHPaymentDetailsError), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('achDetails') } }
21
-
22
- sig { params(allowed_methods: T.nilable(::String), card_details: T.nilable(Models::Components::CardPaymentDetailsError), ach_details: T.nilable(Models::Components::ACHPaymentDetailsError)).void }
23
- def initialize(allowed_methods: nil, card_details: nil, ach_details: nil)
24
- @allowed_methods = allowed_methods
25
- @card_details = card_details
26
- @ach_details = ach_details
27
- end
28
-
29
- sig { params(other: T.untyped).returns(T::Boolean) }
30
- def ==(other)
31
- return false unless other.is_a? self.class
32
- return false unless @allowed_methods == other.allowed_methods
33
- return false unless @card_details == other.card_details
34
- return false unless @ach_details == other.ach_details
35
- true
36
- end
37
- end
38
- end
39
- end
40
- end
@@ -1,17 +0,0 @@
1
- # typed: true
2
- # frozen_string_literal: true
3
-
4
-
5
- class Moov::Models::Components::InvoicePaymentOptionsError
6
- extend ::Crystalline::MetadataFields::ClassMethods
7
- end
8
-
9
-
10
- class Moov::Models::Components::InvoicePaymentOptionsError
11
- def allowed_methods(); end
12
- def allowed_methods=(str_); end
13
- def card_details(); end
14
- def card_details=(str_); end
15
- def ach_details(); end
16
- def ach_details=(str_); end
17
- end
@@ -1,40 +0,0 @@
1
- # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
-
3
- # typed: true
4
- # frozen_string_literal: true
5
-
6
-
7
- module Moov
8
- module Models
9
- module Components
10
- # Payment options to update on an invoice.
11
- class InvoicePaymentOptionsUpdate
12
- extend T::Sig
13
- include Crystalline::MetadataFields
14
-
15
- # Options for payment links used to collect a card payment.
16
- field :card_details, Crystalline::Nilable.new(Models::Components::CardPaymentDetails), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('cardDetails') } }
17
- # Options for payment links used to collect an ACH payment.
18
- field :ach_details, Crystalline::Nilable.new(Models::Components::ACHPaymentDetails), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('achDetails') } }
19
- # Payment methods the customer can use to pay the invoice. Omit to leave unchanged. Set to null to allow all methods the merchant supports. The request is rejected if a listed method is not supported by the merchant.
20
- field :allowed_methods, Crystalline::Nilable.new(Crystalline::Array.new(Models::Components::CollectionPaymentMethodType)), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('allowedMethods') } }
21
-
22
- sig { params(card_details: T.nilable(Models::Components::CardPaymentDetails), ach_details: T.nilable(Models::Components::ACHPaymentDetails), allowed_methods: T.nilable(T::Array[Models::Components::CollectionPaymentMethodType])).void }
23
- def initialize(card_details: nil, ach_details: nil, allowed_methods: nil)
24
- @card_details = card_details
25
- @ach_details = ach_details
26
- @allowed_methods = allowed_methods
27
- end
28
-
29
- sig { params(other: T.untyped).returns(T::Boolean) }
30
- def ==(other)
31
- return false unless other.is_a? self.class
32
- return false unless @card_details == other.card_details
33
- return false unless @ach_details == other.ach_details
34
- return false unless @allowed_methods == other.allowed_methods
35
- true
36
- end
37
- end
38
- end
39
- end
40
- end
@@ -1,17 +0,0 @@
1
- # typed: true
2
- # frozen_string_literal: true
3
-
4
-
5
- class Moov::Models::Components::InvoicePaymentOptionsUpdate
6
- extend ::Crystalline::MetadataFields::ClassMethods
7
- end
8
-
9
-
10
- class Moov::Models::Components::InvoicePaymentOptionsUpdate
11
- def card_details(); end
12
- def card_details=(str_); end
13
- def ach_details(); end
14
- def ach_details=(str_); end
15
- def allowed_methods(); end
16
- def allowed_methods=(str_); end
17
- end
@@ -1,52 +0,0 @@
1
- # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
-
3
- # typed: true
4
- # frozen_string_literal: true
5
-
6
-
7
- module Moov
8
- module Models
9
- module Components
10
- # Spend controls applied to an issued card, including velocity runtime state.
11
- class IssuedControls
12
- extend T::Sig
13
- include Crystalline::MetadataFields
14
-
15
- # Indicates if the card is single-use. If true, the card closes after the first authorization.
16
- field :single_use, Crystalline::Nilable.new(Crystalline::Boolean.new), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('singleUse') } }
17
- # The spending limits per time interval, including current runtime state.
18
- field :velocity_limits, Crystalline::Nilable.new(Crystalline::Array.new(Models::Components::IssuedVelocityLimit)), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('velocityLimits') } }
19
- # Restricts card usage by merchant category. When not set, all categories are allowed.
20
- field :merchant_category_restrictions, Crystalline::Nilable.new(Models::Components::MerchantCategoryRestrictions), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('merchantCategoryRestrictions') } }
21
- # Restricts card usage to specific merchants, independent of merchant category.
22
- field :merchant_restrictions, Crystalline::Nilable.new(Models::Components::MerchantRestrictions), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('merchantRestrictions') } }
23
-
24
- field :allowed_schedule, Crystalline::Nilable.new(Models::Components::IssuedControlsAllowedSchedule), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('allowedSchedule') } }
25
- # A spend cutoff date and time. When set, all authorizations after this datetime are declined regardless of other controls.
26
- field :expires_on, Crystalline::Nilable.new(::DateTime), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('expiresOn'), 'decoder': ::Moov::Utils.datetime_from_iso_format(true) } }
27
-
28
- sig { params(single_use: T.nilable(T::Boolean), velocity_limits: T.nilable(T::Array[Models::Components::IssuedVelocityLimit]), merchant_category_restrictions: T.nilable(Models::Components::MerchantCategoryRestrictions), merchant_restrictions: T.nilable(Models::Components::MerchantRestrictions), allowed_schedule: T.nilable(Models::Components::IssuedControlsAllowedSchedule), expires_on: T.nilable(::DateTime)).void }
29
- def initialize(single_use: nil, velocity_limits: nil, merchant_category_restrictions: nil, merchant_restrictions: nil, allowed_schedule: nil, expires_on: nil)
30
- @single_use = single_use
31
- @velocity_limits = velocity_limits
32
- @merchant_category_restrictions = merchant_category_restrictions
33
- @merchant_restrictions = merchant_restrictions
34
- @allowed_schedule = allowed_schedule
35
- @expires_on = expires_on
36
- end
37
-
38
- sig { params(other: T.untyped).returns(T::Boolean) }
39
- def ==(other)
40
- return false unless other.is_a? self.class
41
- return false unless @single_use == other.single_use
42
- return false unless @velocity_limits == other.velocity_limits
43
- return false unless @merchant_category_restrictions == other.merchant_category_restrictions
44
- return false unless @merchant_restrictions == other.merchant_restrictions
45
- return false unless @allowed_schedule == other.allowed_schedule
46
- return false unless @expires_on == other.expires_on
47
- true
48
- end
49
- end
50
- end
51
- end
52
- end
@@ -1,23 +0,0 @@
1
- # typed: true
2
- # frozen_string_literal: true
3
-
4
-
5
- class Moov::Models::Components::IssuedControls
6
- extend ::Crystalline::MetadataFields::ClassMethods
7
- end
8
-
9
-
10
- class Moov::Models::Components::IssuedControls
11
- def single_use(); end
12
- def single_use=(str_); end
13
- def velocity_limits(); end
14
- def velocity_limits=(str_); end
15
- def merchant_category_restrictions(); end
16
- def merchant_category_restrictions=(str_); end
17
- def merchant_restrictions(); end
18
- def merchant_restrictions=(str_); end
19
- def allowed_schedule(); end
20
- def allowed_schedule=(str_); end
21
- def expires_on(); end
22
- def expires_on=(str_); end
23
- end
@@ -1,36 +0,0 @@
1
- # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
-
3
- # typed: true
4
- # frozen_string_literal: true
5
-
6
-
7
- module Moov
8
- module Models
9
- module Components
10
- # Limits card usage to specific days and times.
11
- class IssuedControlsAllowedSchedule
12
- extend T::Sig
13
- include Crystalline::MetadataFields
14
-
15
- # IANA timezone string used to evaluate window boundaries against the authorization time.
16
- field :timezone, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('timezone'), required: true } }
17
- # Time windows during which the card may authorize. Any matching window allows the transaction.
18
- field :windows, Crystalline::Array.new(Models::Components::ScheduleWindow), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('windows'), required: true } }
19
-
20
- sig { params(timezone: ::String, windows: T::Array[Models::Components::ScheduleWindow]).void }
21
- def initialize(timezone:, windows:)
22
- @timezone = timezone
23
- @windows = windows
24
- end
25
-
26
- sig { params(other: T.untyped).returns(T::Boolean) }
27
- def ==(other)
28
- return false unless other.is_a? self.class
29
- return false unless @timezone == other.timezone
30
- return false unless @windows == other.windows
31
- true
32
- end
33
- end
34
- end
35
- end
36
- end
@@ -1,15 +0,0 @@
1
- # typed: true
2
- # frozen_string_literal: true
3
-
4
-
5
- class Moov::Models::Components::IssuedControlsAllowedSchedule
6
- extend ::Crystalline::MetadataFields::ClassMethods
7
- end
8
-
9
-
10
- class Moov::Models::Components::IssuedControlsAllowedSchedule
11
- def timezone(); end
12
- def timezone=(str_); end
13
- def windows(); end
14
- def windows=(str_); end
15
- end
@@ -1,60 +0,0 @@
1
- # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
-
3
- # typed: true
4
- # frozen_string_literal: true
5
-
6
-
7
- module Moov
8
- module Models
9
- module Components
10
- # A velocity limit with its current runtime state.
11
- class IssuedVelocityLimit
12
- extend T::Sig
13
- include Crystalline::MetadataFields
14
-
15
- # Specifies the time frame for a velocity limit. `per-transaction` applies to each individual authorization and never resets. Time-based intervals (where supported) reset at midnight ET.
16
- field :interval, Models::Components::IssuingIntervalLimit, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('interval'), required: true, 'decoder': ::Moov::Utils.open_enum_from_string(Models::Components::IssuingIntervalLimit, false) } }
17
- # The maximum amount in cents that can be spent in a given interval.
18
- field :amount, Crystalline::Nilable.new(::Integer), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('amount') } }
19
- # The maximum number of transactions allowed in the given interval.
20
- field :count, Crystalline::Nilable.new(::Integer), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('count') } }
21
- # The amount in cents already spent in the current interval.
22
- field :amount_used, Crystalline::Nilable.new(::Integer), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('amountUsed') } }
23
- # The amount in cents remaining in the current interval.
24
- field :amount_remaining, Crystalline::Nilable.new(::Integer), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('amountRemaining') } }
25
- # The number of transactions already made in the current interval.
26
- field :count_used, Crystalline::Nilable.new(::Integer), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('countUsed') } }
27
- # The number of transactions remaining in the current interval.
28
- field :count_remaining, Crystalline::Nilable.new(::Integer), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('countRemaining') } }
29
- # When the current interval resets. Absent for per-transaction limits.
30
- field :resets_on, Crystalline::Nilable.new(::DateTime), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('resetsOn'), 'decoder': ::Moov::Utils.datetime_from_iso_format(true) } }
31
-
32
- sig { params(interval: Models::Components::IssuingIntervalLimit, amount: T.nilable(::Integer), count: T.nilable(::Integer), amount_used: T.nilable(::Integer), amount_remaining: T.nilable(::Integer), count_used: T.nilable(::Integer), count_remaining: T.nilable(::Integer), resets_on: T.nilable(::DateTime)).void }
33
- def initialize(interval:, amount: nil, count: nil, amount_used: nil, amount_remaining: nil, count_used: nil, count_remaining: nil, resets_on: nil)
34
- @interval = interval
35
- @amount = amount
36
- @count = count
37
- @amount_used = amount_used
38
- @amount_remaining = amount_remaining
39
- @count_used = count_used
40
- @count_remaining = count_remaining
41
- @resets_on = resets_on
42
- end
43
-
44
- sig { params(other: T.untyped).returns(T::Boolean) }
45
- def ==(other)
46
- return false unless other.is_a? self.class
47
- return false unless @interval == other.interval
48
- return false unless @amount == other.amount
49
- return false unless @count == other.count
50
- return false unless @amount_used == other.amount_used
51
- return false unless @amount_remaining == other.amount_remaining
52
- return false unless @count_used == other.count_used
53
- return false unless @count_remaining == other.count_remaining
54
- return false unless @resets_on == other.resets_on
55
- true
56
- end
57
- end
58
- end
59
- end
60
- end
@@ -1,27 +0,0 @@
1
- # typed: true
2
- # frozen_string_literal: true
3
-
4
-
5
- class Moov::Models::Components::IssuedVelocityLimit
6
- extend ::Crystalline::MetadataFields::ClassMethods
7
- end
8
-
9
-
10
- class Moov::Models::Components::IssuedVelocityLimit
11
- def interval(); end
12
- def interval=(str_); end
13
- def amount(); end
14
- def amount=(str_); end
15
- def count(); end
16
- def count=(str_); end
17
- def amount_used(); end
18
- def amount_used=(str_); end
19
- def amount_remaining(); end
20
- def amount_remaining=(str_); end
21
- def count_used(); end
22
- def count_used=(str_); end
23
- def count_remaining(); end
24
- def count_remaining=(str_); end
25
- def resets_on(); end
26
- def resets_on=(str_); end
27
- end
@@ -1,36 +0,0 @@
1
- # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
-
3
- # typed: true
4
- # frozen_string_literal: true
5
-
6
-
7
- module Moov
8
- module Models
9
- module Components
10
- # Limits card usage to specific days and times.
11
- class IssuingControlsAllowedSchedule
12
- extend T::Sig
13
- include Crystalline::MetadataFields
14
-
15
- # IANA timezone string used to evaluate window boundaries against the authorization time.
16
- field :timezone, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('timezone'), required: true } }
17
- # Time windows during which the card may authorize. Any matching window allows the transaction.
18
- field :windows, Crystalline::Array.new(Models::Components::ScheduleWindow), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('windows'), required: true } }
19
-
20
- sig { params(timezone: ::String, windows: T::Array[Models::Components::ScheduleWindow]).void }
21
- def initialize(timezone:, windows:)
22
- @timezone = timezone
23
- @windows = windows
24
- end
25
-
26
- sig { params(other: T.untyped).returns(T::Boolean) }
27
- def ==(other)
28
- return false unless other.is_a? self.class
29
- return false unless @timezone == other.timezone
30
- return false unless @windows == other.windows
31
- true
32
- end
33
- end
34
- end
35
- end
36
- end
@@ -1,15 +0,0 @@
1
- # typed: true
2
- # frozen_string_literal: true
3
-
4
-
5
- class Moov::Models::Components::IssuingControlsAllowedSchedule
6
- extend ::Crystalline::MetadataFields::ClassMethods
7
- end
8
-
9
-
10
- class Moov::Models::Components::IssuingControlsAllowedSchedule
11
- def timezone(); end
12
- def timezone=(str_); end
13
- def windows(); end
14
- def windows=(str_); end
15
- end
@@ -1,21 +0,0 @@
1
- # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
-
3
- # typed: true
4
- # frozen_string_literal: true
5
-
6
-
7
- module Moov
8
- module Models
9
- module Components
10
- # IssuingControlsRestrictionMode - Whether the listed items should be allowed (`allow`) or blocked (`block`).
11
- class IssuingControlsRestrictionMode
12
- include ::Crystalline::Enum
13
- enums do
14
- ALLOW = new('allow')
15
- BLOCK = new('block')
16
- end
17
- open!
18
- end
19
- end
20
- end
21
- end
@@ -1,11 +0,0 @@
1
- # typed: true
2
- # frozen_string_literal: true
3
-
4
-
5
- class Moov::Models::Components::IssuingControlsRestrictionMode
6
- extend ::Crystalline::MetadataFields::ClassMethods
7
- end
8
-
9
-
10
- class Moov::Models::Components::IssuingControlsRestrictionMode
11
- end
@@ -1,35 +0,0 @@
1
- # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
-
3
- # typed: true
4
- # frozen_string_literal: true
5
-
6
-
7
- module Moov
8
- module Models
9
- module Components
10
- # IssuingDeclineReason - The reason an authorization or authorization event was declined. Only present if the
11
- # authorization or event has been declined.
12
- class IssuingDeclineReason
13
- include ::Crystalline::Enum
14
- enums do
15
- INSUFFICIENT_FUNDS = new('insufficient-funds')
16
- CARD_NOT_ACTIVE = new('card-not-active')
17
- CARD_EXPIRATION = new('card-expiration')
18
- SPEND_CUTOFF_REACHED = new('spend-cutoff-reached')
19
- OUTSIDE_ALLOWED_SCHEDULE = new('outside-allowed-schedule')
20
- SPEND_LIMIT_EXCEEDED = new('spend-limit-exceeded')
21
- MERCHANT_CATEGORY_NOT_SUPPORTED = new('merchant-category-not-supported')
22
- MERCHANT_CATEGORY_RESTRICTED = new('merchant-category-restricted')
23
- MERCHANT_RESTRICTED = new('merchant-restricted')
24
- MERCHANT_COUNTRY_NOT_SUPPORTED = new('merchant-country-not-supported')
25
- UNSUPPORTED_TRANSACTION = new('unsupported-transaction')
26
- NETWORK_STAND_IN = new('network-stand-in')
27
- DECLINED_BY_ISSUER = new('declined-by-issuer')
28
- INVALID_REQUEST = new('invalid-request')
29
- SYSTEM_ERROR = new('system-error')
30
- end
31
- open!
32
- end
33
- end
34
- end
35
- end
@@ -1,11 +0,0 @@
1
- # typed: true
2
- # frozen_string_literal: true
3
-
4
-
5
- class Moov::Models::Components::IssuingDeclineReason
6
- extend ::Crystalline::MetadataFields::ClassMethods
7
- end
8
-
9
-
10
- class Moov::Models::Components::IssuingDeclineReason
11
- end