moov_ruby 0.3.1 → 0.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (277) hide show
  1. checksums.yaml +4 -4
  2. data/lib/moov/models/components/createaccount.rb +2 -2
  3. data/lib/moov/models/components/createdtransfer.rb +7 -2
  4. data/lib/moov/models/components/createdtransfer.rbi +2 -0
  5. data/lib/moov/models/components/createpaymentlink.rb +7 -2
  6. data/lib/moov/models/components/createpaymentlink.rbi +2 -0
  7. data/lib/moov/models/components/createtransfer.rb +7 -2
  8. data/lib/moov/models/components/createtransfer.rbi +2 -0
  9. data/lib/moov/models/components/instantpaymentfees.rb +6 -2
  10. data/lib/moov/models/components/instantpaymentfees.rbi +2 -0
  11. data/lib/moov/models/components/patchaccount.rb +2 -2
  12. data/lib/moov/models/components/paymentdetailserror.rb +6 -2
  13. data/lib/moov/models/components/paymentdetailserror.rbi +2 -0
  14. data/lib/moov/models/components/paymentlink.rb +11 -2
  15. data/lib/moov/models/components/paymentlink.rbi +4 -0
  16. data/lib/moov/models/components/paymentlinklineitem.rb +49 -0
  17. data/lib/moov/models/components/paymentlinklineitem.rbi +21 -0
  18. data/lib/moov/models/components/paymentlinklineitemoption.rb +45 -0
  19. data/lib/moov/models/components/paymentlinklineitemoption.rbi +19 -0
  20. data/lib/moov/models/components/paymentlinklineitemoptionvalidationerror.rb +45 -0
  21. data/lib/moov/models/components/paymentlinklineitemoptionvalidationerror.rbi +19 -0
  22. data/lib/moov/models/components/paymentlinklineitems.rb +34 -0
  23. data/lib/moov/models/components/paymentlinklineitems.rbi +13 -0
  24. data/lib/moov/models/components/paymentlinklineitemsupdate.rb +34 -0
  25. data/lib/moov/models/components/paymentlinklineitemsupdate.rbi +13 -0
  26. data/lib/moov/models/components/paymentlinklineitemsvalidationerror.rb +33 -0
  27. data/lib/moov/models/components/paymentlinklineitemsvalidationerror.rbi +13 -0
  28. data/lib/moov/models/components/paymentlinklineitemvalidationerror.rb +49 -0
  29. data/lib/moov/models/components/paymentlinklineitemvalidationerror.rbi +21 -0
  30. data/lib/moov/models/components/paymentlinkpaymentdetails.rb +6 -2
  31. data/lib/moov/models/components/paymentlinkpaymentdetails.rbi +2 -0
  32. data/lib/moov/models/components/paymentlinkpaymentdetailsupdate.rb +6 -2
  33. data/lib/moov/models/components/paymentlinkpaymentdetailsupdate.rbi +2 -0
  34. data/lib/moov/models/components/paymentlinkpayoutdetails.rb +6 -2
  35. data/lib/moov/models/components/paymentlinkpayoutdetails.rbi +2 -0
  36. data/lib/moov/models/components/paymentlinkpayoutdetailsupdate.rb +6 -2
  37. data/lib/moov/models/components/paymentlinkpayoutdetailsupdate.rbi +2 -0
  38. data/lib/moov/models/components/paymentlinktype.rb +22 -0
  39. data/lib/moov/models/components/paymentlinktype.rbi +11 -0
  40. data/lib/moov/models/components/payoutdetailserror.rb +6 -2
  41. data/lib/moov/models/components/payoutdetailserror.rbi +2 -0
  42. data/lib/moov/models/components/{termsofservicetokenupdate.rb → termsofservicepayload.rb} +8 -4
  43. data/lib/moov/models/components/termsofservicepayload.rbi +15 -0
  44. data/lib/moov/models/components/termsofservicepayloadupdate.rb +37 -0
  45. data/lib/moov/models/components/termsofservicepayloadupdate.rbi +15 -0
  46. data/lib/moov/models/components/transfer.rb +7 -2
  47. data/lib/moov/models/components/transfer.rbi +2 -0
  48. data/lib/moov/models/components/transferlineitem.rb +49 -0
  49. data/lib/moov/models/components/transferlineitem.rbi +21 -0
  50. data/lib/moov/models/components/transferlineitemoption.rb +45 -0
  51. data/lib/moov/models/components/transferlineitemoption.rbi +19 -0
  52. data/lib/moov/models/components/transferlineitemoptionvalidationerror.rb +45 -0
  53. data/lib/moov/models/components/transferlineitemoptionvalidationerror.rbi +19 -0
  54. data/lib/moov/models/components/transferlineitems.rb +34 -0
  55. data/lib/moov/models/components/transferlineitems.rbi +13 -0
  56. data/lib/moov/models/components/transferlineitemsvalidationerror.rb +33 -0
  57. data/lib/moov/models/components/transferlineitemsvalidationerror.rbi +13 -0
  58. data/lib/moov/models/components/transferlineitemvalidationerror.rb +49 -0
  59. data/lib/moov/models/components/transferlineitemvalidationerror.rbi +21 -0
  60. data/lib/moov/models/components/updatepaymentlink.rb +7 -2
  61. data/lib/moov/models/components/updatepaymentlink.rbi +2 -0
  62. data/lib/moov/models/components.rb +16 -3
  63. data/lib/moov/models/errors/createpaymentlinkerror.rb +6 -2
  64. data/lib/moov/models/errors/createpaymentlinkerror.rbi +2 -0
  65. data/lib/moov/models/errors/transfer_error.rb +7 -2
  66. data/lib/moov/models/errors/transfer_error.rbi +2 -0
  67. data/lib/moov/models/errors/transfervalidationerror.rb +6 -2
  68. data/lib/moov/models/errors/transfervalidationerror.rbi +2 -0
  69. data/lib/moov/models/errors/updatepaymentlinkerror.rb +6 -2
  70. data/lib/moov/models/errors/updatepaymentlinkerror.rbi +2 -0
  71. data/lib/moov/models/operations/acceptdispute_request.rb +2 -1
  72. data/lib/moov/models/operations/assignaccountcountries_request.rb +2 -1
  73. data/lib/moov/models/operations/cancelschedule_request.rb +2 -1
  74. data/lib/moov/models/operations/completebankaccountverification_request.rb +2 -1
  75. data/lib/moov/models/operations/completemicrodeposits_request.rb +2 -1
  76. data/lib/moov/models/operations/createaccesstoken_request.rb +2 -1
  77. data/lib/moov/models/operations/createaccount_request.rb +2 -1
  78. data/lib/moov/models/operations/createapplepaysession_request.rb +2 -1
  79. data/lib/moov/models/operations/createbrand_request.rb +2 -1
  80. data/lib/moov/models/operations/createcancellation_request.rb +2 -1
  81. data/lib/moov/models/operations/createfeeplanagreements_request.rb +2 -1
  82. data/lib/moov/models/operations/createonboardinginvite_request.rb +2 -1
  83. data/lib/moov/models/operations/createpaymentlink_request.rb +2 -1
  84. data/lib/moov/models/operations/createproduct_request.rb +2 -1
  85. data/lib/moov/models/operations/createreceipts_request.rb +2 -1
  86. data/lib/moov/models/operations/createrepresentative_request.rb +2 -1
  87. data/lib/moov/models/operations/createreversal_request.rb +7 -6
  88. data/lib/moov/models/operations/createreversal_request.rbi +2 -2
  89. data/lib/moov/models/operations/createschedule_request.rb +2 -1
  90. data/lib/moov/models/operations/createsweepconfig_request.rb +2 -1
  91. data/lib/moov/models/operations/createterminalapplication_request.rb +2 -1
  92. data/lib/moov/models/operations/createterminalapplicationversion_request.rb +2 -1
  93. data/lib/moov/models/operations/createticket_request.rb +2 -1
  94. data/lib/moov/models/operations/createtransfer_request.rb +8 -7
  95. data/lib/moov/models/operations/createtransfer_request.rbi +2 -2
  96. data/lib/moov/models/operations/createtransferoptions_request.rb +2 -1
  97. data/lib/moov/models/operations/createwallet_request.rb +2 -1
  98. data/lib/moov/models/operations/deletedisputeevidencefile_request.rb +2 -1
  99. data/lib/moov/models/operations/deleteimage_request.rb +2 -1
  100. data/lib/moov/models/operations/deleterepresentative_request.rb +2 -1
  101. data/lib/moov/models/operations/deleteterminalapplication_request.rb +2 -1
  102. data/lib/moov/models/operations/disablebankaccount_request.rb +2 -1
  103. data/lib/moov/models/operations/disablecapability_request.rb +2 -1
  104. data/lib/moov/models/operations/disablecard_request.rb +2 -1
  105. data/lib/moov/models/operations/disablepaymentlink_request.rb +2 -1
  106. data/lib/moov/models/operations/disableproduct_request.rb +2 -1
  107. data/lib/moov/models/operations/disconnectaccount_request.rb +2 -1
  108. data/lib/moov/models/operations/generateendtoendkey_request.rb +2 -1
  109. data/lib/moov/models/operations/getaccount_request.rb +2 -1
  110. data/lib/moov/models/operations/getaccountcountries_request.rb +2 -1
  111. data/lib/moov/models/operations/getaccountterminalapplication_request.rb +2 -1
  112. data/lib/moov/models/operations/getadjustment_request.rb +2 -1
  113. data/lib/moov/models/operations/getapplepaymerchantdomains_request.rb +2 -1
  114. data/lib/moov/models/operations/getavatar_request.rb +2 -1
  115. data/lib/moov/models/operations/getbankaccount_request.rb +2 -1
  116. data/lib/moov/models/operations/getbankaccountverification_request.rb +2 -1
  117. data/lib/moov/models/operations/getbrand_request.rb +2 -1
  118. data/lib/moov/models/operations/getcancellation_request.rb +2 -1
  119. data/lib/moov/models/operations/getcapability_request.rb +2 -1
  120. data/lib/moov/models/operations/getcard_request.rb +2 -1
  121. data/lib/moov/models/operations/getdispute_request.rb +2 -1
  122. data/lib/moov/models/operations/getdisputeevidence_request.rb +2 -1
  123. data/lib/moov/models/operations/getdisputeevidencedata_request.rb +2 -1
  124. data/lib/moov/models/operations/getenrichmentaddress_request.rb +15 -14
  125. data/lib/moov/models/operations/getenrichmentaddress_request.rbi +2 -2
  126. data/lib/moov/models/operations/getenrichmentprofile_request.rb +2 -1
  127. data/lib/moov/models/operations/getfiledetails_request.rb +2 -1
  128. data/lib/moov/models/operations/getfullissuedcard_request.rb +2 -1
  129. data/lib/moov/models/operations/getimagemetadata_request.rb +2 -1
  130. data/lib/moov/models/operations/getissuedcard_request.rb +2 -1
  131. data/lib/moov/models/operations/getissuedcardauthorization_request.rb +2 -1
  132. data/lib/moov/models/operations/getissuedcardtransaction_request.rb +2 -1
  133. data/lib/moov/models/operations/getmerchantprocessingagreement_request.rb +2 -1
  134. data/lib/moov/models/operations/getonboardinginvite_request.rb +2 -1
  135. data/lib/moov/models/operations/getpaymentlink_request.rb +2 -1
  136. data/lib/moov/models/operations/getpaymentlinkqrcode_request.rb +2 -1
  137. data/lib/moov/models/operations/getpaymentmethod_request.rb +2 -1
  138. data/lib/moov/models/operations/getproduct_request.rb +2 -1
  139. data/lib/moov/models/operations/getrefund_request.rb +2 -1
  140. data/lib/moov/models/operations/getrepresentative_request.rb +2 -1
  141. data/lib/moov/models/operations/getresidual_request.rb +2 -1
  142. data/lib/moov/models/operations/getscheduledoccurrence_request.rb +2 -1
  143. data/lib/moov/models/operations/getschedules_request.rb +2 -1
  144. data/lib/moov/models/operations/getstatement_request.rb +2 -1
  145. data/lib/moov/models/operations/getsweep_request.rb +2 -1
  146. data/lib/moov/models/operations/getsweepconfig_request.rb +2 -1
  147. data/lib/moov/models/operations/getterminalapplication_request.rb +2 -1
  148. data/lib/moov/models/operations/getterminalconfiguration_request.rb +2 -1
  149. data/lib/moov/models/operations/gettermsofservicetoken_request.rb +9 -8
  150. data/lib/moov/models/operations/gettermsofservicetoken_request.rbi +2 -2
  151. data/lib/moov/models/operations/getticket_request.rb +2 -1
  152. data/lib/moov/models/operations/gettransfer_request.rb +2 -1
  153. data/lib/moov/models/operations/getunderwriting_request.rb +2 -1
  154. data/lib/moov/models/operations/getwallet_request.rb +2 -1
  155. data/lib/moov/models/operations/getwallettransaction_request.rb +2 -1
  156. data/lib/moov/models/operations/initiatebankaccountverification_request.rb +9 -8
  157. data/lib/moov/models/operations/initiatebankaccountverification_request.rbi +2 -2
  158. data/lib/moov/models/operations/initiatemicrodeposits_request.rb +2 -1
  159. data/lib/moov/models/operations/initiaterefund_request.rb +10 -9
  160. data/lib/moov/models/operations/initiaterefund_request.rbi +2 -2
  161. data/lib/moov/models/operations/linkaccountterminalapplication_request.rb +2 -1
  162. data/lib/moov/models/operations/linkapplepaytoken_request.rb +2 -1
  163. data/lib/moov/models/operations/linkbankaccount_request.rb +10 -9
  164. data/lib/moov/models/operations/linkbankaccount_request.rbi +2 -2
  165. data/lib/moov/models/operations/linkcard_request.rb +10 -9
  166. data/lib/moov/models/operations/linkcard_request.rbi +2 -2
  167. data/lib/moov/models/operations/listaccounts_request.rb +15 -14
  168. data/lib/moov/models/operations/listaccounts_request.rbi +2 -2
  169. data/lib/moov/models/operations/listaccountterminalapplications_request.rb +2 -1
  170. data/lib/moov/models/operations/listadjustments_request.rb +7 -6
  171. data/lib/moov/models/operations/listadjustments_request.rbi +2 -2
  172. data/lib/moov/models/operations/listbankaccounts_request.rb +2 -1
  173. data/lib/moov/models/operations/listcapabilities_request.rb +2 -1
  174. data/lib/moov/models/operations/listcards_request.rb +2 -1
  175. data/lib/moov/models/operations/listdisputeevidence_request.rb +2 -1
  176. data/lib/moov/models/operations/listdisputes_request.rb +15 -14
  177. data/lib/moov/models/operations/listdisputes_request.rbi +2 -2
  178. data/lib/moov/models/operations/listfeeplanagreements_request.rb +13 -12
  179. data/lib/moov/models/operations/listfeeplanagreements_request.rbi +2 -2
  180. data/lib/moov/models/operations/listfeeplans_request.rb +7 -6
  181. data/lib/moov/models/operations/listfeeplans_request.rbi +2 -2
  182. data/lib/moov/models/operations/listfeesfetch_request.rb +7 -6
  183. data/lib/moov/models/operations/listfeesfetch_request.rbi +2 -2
  184. data/lib/moov/models/operations/listfiles_request.rb +2 -1
  185. data/lib/moov/models/operations/listimagemetadata_request.rb +9 -8
  186. data/lib/moov/models/operations/listimagemetadata_request.rbi +2 -2
  187. data/lib/moov/models/operations/listindustries_request.rb +2 -1
  188. data/lib/moov/models/operations/listinstitutions_request.rb +13 -12
  189. data/lib/moov/models/operations/listinstitutions_request.rbi +2 -2
  190. data/lib/moov/models/operations/listissuedcardauthorizationevents_request.rb +9 -8
  191. data/lib/moov/models/operations/listissuedcardauthorizationevents_request.rbi +2 -2
  192. data/lib/moov/models/operations/listissuedcardauthorizations_request.rb +15 -14
  193. data/lib/moov/models/operations/listissuedcardauthorizations_request.rbi +2 -2
  194. data/lib/moov/models/operations/listissuedcards_request.rb +11 -10
  195. data/lib/moov/models/operations/listissuedcards_request.rbi +2 -2
  196. data/lib/moov/models/operations/listissuedcardtransactions_request.rb +15 -14
  197. data/lib/moov/models/operations/listissuedcardtransactions_request.rbi +2 -2
  198. data/lib/moov/models/operations/listonboardinginvites_request.rb +2 -1
  199. data/lib/moov/models/operations/listpartnerpricing_request.rb +7 -6
  200. data/lib/moov/models/operations/listpartnerpricing_request.rbi +2 -2
  201. data/lib/moov/models/operations/listpartnerpricingagreements_request.rb +13 -12
  202. data/lib/moov/models/operations/listpartnerpricingagreements_request.rbi +2 -2
  203. data/lib/moov/models/operations/listpaymentlinks_request.rb +19 -2
  204. data/lib/moov/models/operations/listpaymentlinks_request.rbi +8 -0
  205. data/lib/moov/models/operations/listpaymentmethods_request.rb +12 -11
  206. data/lib/moov/models/operations/listpaymentmethods_request.rbi +2 -2
  207. data/lib/moov/models/operations/listproducts_request.rb +9 -8
  208. data/lib/moov/models/operations/listproducts_request.rbi +2 -2
  209. data/lib/moov/models/operations/listreceipts_request.rb +2 -1
  210. data/lib/moov/models/operations/listrefunds_request.rb +2 -1
  211. data/lib/moov/models/operations/listrepresentatives_request.rb +2 -1
  212. data/lib/moov/models/operations/listresidualfees_request.rb +13 -12
  213. data/lib/moov/models/operations/listresidualfees_request.rbi +2 -2
  214. data/lib/moov/models/operations/listresiduals_request.rb +13 -12
  215. data/lib/moov/models/operations/listresiduals_request.rbi +2 -2
  216. data/lib/moov/models/operations/listschedules_request.rb +11 -10
  217. data/lib/moov/models/operations/listschedules_request.rbi +2 -2
  218. data/lib/moov/models/operations/liststatements_request.rb +13 -12
  219. data/lib/moov/models/operations/liststatements_request.rbi +2 -2
  220. data/lib/moov/models/operations/listsweepconfigs_request.rb +2 -1
  221. data/lib/moov/models/operations/listsweeps_request.rb +13 -12
  222. data/lib/moov/models/operations/listsweeps_request.rbi +2 -2
  223. data/lib/moov/models/operations/listterminalapplications_request.rb +2 -1
  224. data/lib/moov/models/operations/listticketmessages_request.rb +2 -1
  225. data/lib/moov/models/operations/listtickets_request.rb +13 -12
  226. data/lib/moov/models/operations/listtickets_request.rbi +2 -2
  227. data/lib/moov/models/operations/listtransfers_request.rb +15 -14
  228. data/lib/moov/models/operations/listtransfers_request.rbi +2 -2
  229. data/lib/moov/models/operations/listwallets_request.rb +13 -12
  230. data/lib/moov/models/operations/listwallets_request.rbi +2 -2
  231. data/lib/moov/models/operations/listwallettransactions_request.rb +15 -14
  232. data/lib/moov/models/operations/listwallettransactions_request.rbi +2 -2
  233. data/lib/moov/models/operations/ping_request.rb +2 -1
  234. data/lib/moov/models/operations/registerapplepaymerchantdomains_request.rb +2 -1
  235. data/lib/moov/models/operations/requestcapabilities_request.rb +2 -1
  236. data/lib/moov/models/operations/requestcard_request.rb +2 -1
  237. data/lib/moov/models/operations/retrievefees_request.rb +15 -14
  238. data/lib/moov/models/operations/retrievefees_request.rbi +2 -2
  239. data/lib/moov/models/operations/revokeaccesstoken_request.rb +2 -1
  240. data/lib/moov/models/operations/revokeonboardinginvite_request.rb +2 -1
  241. data/lib/moov/models/operations/saveunderwriting_request.rb +2 -1
  242. data/lib/moov/models/operations/searchinstitutions_request.rb +11 -10
  243. data/lib/moov/models/operations/searchinstitutions_request.rbi +2 -2
  244. data/lib/moov/models/operations/submitdisputeevidence_request.rb +2 -1
  245. data/lib/moov/models/operations/testendtoendtoken_request.rb +2 -1
  246. data/lib/moov/models/operations/updateaccount_request.rb +2 -1
  247. data/lib/moov/models/operations/updateapplepaymerchantdomains_request.rb +2 -1
  248. data/lib/moov/models/operations/updatebrand_request.rb +2 -1
  249. data/lib/moov/models/operations/updatecard_request.rb +2 -1
  250. data/lib/moov/models/operations/updatedisputeevidence_request.rb +2 -1
  251. data/lib/moov/models/operations/updateimage_request.rb +2 -1
  252. data/lib/moov/models/operations/updateimagemetadata_request.rb +2 -1
  253. data/lib/moov/models/operations/updateissuedcard_request.rb +2 -1
  254. data/lib/moov/models/operations/updatepaymentlink_request.rb +2 -1
  255. data/lib/moov/models/operations/updateproduct_request.rb +2 -1
  256. data/lib/moov/models/operations/updaterepresentative_request.rb +2 -1
  257. data/lib/moov/models/operations/updateschedule_request.rb +2 -1
  258. data/lib/moov/models/operations/updatesweepconfig_request.rb +2 -1
  259. data/lib/moov/models/operations/updateticket_request.rb +2 -1
  260. data/lib/moov/models/operations/updatetransfer_request.rb +2 -1
  261. data/lib/moov/models/operations/updatewallet_request.rb +2 -1
  262. data/lib/moov/models/operations/uploaddisputeevidencefile_request.rb +2 -1
  263. data/lib/moov/models/operations/uploaddisputeevidencetext_request.rb +2 -1
  264. data/lib/moov/models/operations/uploadfile_request.rb +2 -1
  265. data/lib/moov/models/operations/uploadimage_request.rb +2 -1
  266. data/lib/moov/models/operations/upsertbrand_request.rb +2 -1
  267. data/lib/moov/models/operations/upsertunderwriting_request.rb +2 -1
  268. data/lib/moov/payment_links.rb +4 -6
  269. data/lib/moov/sdk_hooks/moov_version.rb +26 -0
  270. data/lib/moov/sdk_hooks/registration.rb +3 -6
  271. data/lib/moov/sdkconfiguration.rb +3 -3
  272. metadata +35 -8
  273. data/lib/moov/models/components/createaccount_termsofservice.rb +0 -28
  274. data/lib/moov/models/components/createaccount_termsofservice.rbi +0 -11
  275. data/lib/moov/models/components/patchaccount_termsofservice.rb +0 -28
  276. data/lib/moov/models/components/patchaccount_termsofservice.rbi +0 -11
  277. data/lib/moov/models/components/termsofservicetokenupdate.rbi +0 -13
@@ -15,14 +15,6 @@ module Moov
15
15
 
16
16
 
17
17
  field :account_id, ::String, { 'path_param': { 'field_name': 'accountID', 'style': 'simple', 'explode': false } }
18
-
19
- field :skip, Crystalline::Nilable.new(::Integer), { 'query_param': { 'field_name': 'skip', 'style': 'form', 'explode': false } }
20
-
21
- field :count, Crystalline::Nilable.new(::Integer), { 'query_param': { 'field_name': 'count', 'style': 'form', 'explode': false } }
22
- # A comma-separated list of agreement IDs to filter the results by.
23
- field :agreement_id, Crystalline::Nilable.new(Crystalline::Array.new(::String)), { 'query_param': { 'field_name': 'agreementID', 'style': 'form', 'explode': false } }
24
- # A comma-separated list of statuses to filter the results by.
25
- field :status, Crystalline::Nilable.new(Crystalline::Array.new(Models::Components::FeePlanAgreementStatus)), { 'query_param': { 'field_name': 'status', 'style': 'form', 'explode': false } }
26
18
  # Specify an API version.
27
19
  #
28
20
  # API versioning follows the format `vYYYY.QQ.BB`, where
@@ -32,27 +24,36 @@ module Moov
32
24
  # - For example, `v2024.01.00` is the initial release of the first quarter of 2024.
33
25
  #
34
26
  # The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
27
+ # When no version is specified, the API defaults to `v2024.01.00`.
35
28
  field :x_moov_version, Crystalline::Nilable.new(::String), { 'header': { 'field_name': 'X-Moov-Version', 'style': 'simple', 'explode': false } }
36
29
 
37
- sig { params(account_id: ::String, skip: T.nilable(::Integer), count: T.nilable(::Integer), agreement_id: T.nilable(T::Array[::String]), status: T.nilable(T::Array[Models::Components::FeePlanAgreementStatus]), x_moov_version: T.nilable(::String)).void }
38
- def initialize(account_id:, skip: nil, count: nil, agreement_id: nil, status: nil, x_moov_version: 'v2024.01.00')
30
+ field :skip, Crystalline::Nilable.new(::Integer), { 'query_param': { 'field_name': 'skip', 'style': 'form', 'explode': false } }
31
+
32
+ field :count, Crystalline::Nilable.new(::Integer), { 'query_param': { 'field_name': 'count', 'style': 'form', 'explode': false } }
33
+ # A comma-separated list of agreement IDs to filter the results by.
34
+ field :agreement_id, Crystalline::Nilable.new(Crystalline::Array.new(::String)), { 'query_param': { 'field_name': 'agreementID', 'style': 'form', 'explode': false } }
35
+ # A comma-separated list of statuses to filter the results by.
36
+ field :status, Crystalline::Nilable.new(Crystalline::Array.new(Models::Components::FeePlanAgreementStatus)), { 'query_param': { 'field_name': 'status', 'style': 'form', 'explode': false } }
37
+
38
+ sig { params(account_id: ::String, x_moov_version: T.nilable(::String), skip: T.nilable(::Integer), count: T.nilable(::Integer), agreement_id: T.nilable(T::Array[::String]), status: T.nilable(T::Array[Models::Components::FeePlanAgreementStatus])).void }
39
+ def initialize(account_id:, x_moov_version: nil, skip: nil, count: nil, agreement_id: nil, status: nil)
39
40
  @account_id = account_id
41
+ @x_moov_version = x_moov_version
40
42
  @skip = skip
41
43
  @count = count
42
44
  @agreement_id = agreement_id
43
45
  @status = status
44
- @x_moov_version = x_moov_version
45
46
  end
46
47
 
47
48
  sig { params(other: T.untyped).returns(T::Boolean) }
48
49
  def ==(other)
49
50
  return false unless other.is_a? self.class
50
51
  return false unless @account_id == other.account_id
52
+ return false unless @x_moov_version == other.x_moov_version
51
53
  return false unless @skip == other.skip
52
54
  return false unless @count == other.count
53
55
  return false unless @agreement_id == other.agreement_id
54
56
  return false unless @status == other.status
55
- return false unless @x_moov_version == other.x_moov_version
56
57
  true
57
58
  end
58
59
  end
@@ -10,6 +10,8 @@ end
10
10
  class Moov::Models::Operations::ListFeePlanAgreementsRequest
11
11
  def account_id(); end
12
12
  def account_id=(str_); end
13
+ def x_moov_version(); end
14
+ def x_moov_version=(str_); end
13
15
  def skip(); end
14
16
  def skip=(str_); end
15
17
  def count(); end
@@ -18,6 +20,4 @@ class Moov::Models::Operations::ListFeePlanAgreementsRequest
18
20
  def agreement_id=(str_); end
19
21
  def status(); end
20
22
  def status=(str_); end
21
- def x_moov_version(); end
22
- def x_moov_version=(str_); end
23
23
  end
@@ -15,8 +15,6 @@ module Moov
15
15
 
16
16
 
17
17
  field :account_id, ::String, { 'path_param': { 'field_name': 'accountID', 'style': 'simple', 'explode': false } }
18
- # A comma-separated list of plan IDs to filter the results by.
19
- field :plan_i_ds, Crystalline::Nilable.new(Crystalline::Array.new(::String)), { 'query_param': { 'field_name': 'planIDs', 'style': 'form', 'explode': false } }
20
18
  # Specify an API version.
21
19
  #
22
20
  # API versioning follows the format `vYYYY.QQ.BB`, where
@@ -26,21 +24,24 @@ module Moov
26
24
  # - For example, `v2024.01.00` is the initial release of the first quarter of 2024.
27
25
  #
28
26
  # The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
27
+ # When no version is specified, the API defaults to `v2024.01.00`.
29
28
  field :x_moov_version, Crystalline::Nilable.new(::String), { 'header': { 'field_name': 'X-Moov-Version', 'style': 'simple', 'explode': false } }
29
+ # A comma-separated list of plan IDs to filter the results by.
30
+ field :plan_i_ds, Crystalline::Nilable.new(Crystalline::Array.new(::String)), { 'query_param': { 'field_name': 'planIDs', 'style': 'form', 'explode': false } }
30
31
 
31
- sig { params(account_id: ::String, plan_i_ds: T.nilable(T::Array[::String]), x_moov_version: T.nilable(::String)).void }
32
- def initialize(account_id:, plan_i_ds: nil, x_moov_version: 'v2024.01.00')
32
+ sig { params(account_id: ::String, x_moov_version: T.nilable(::String), plan_i_ds: T.nilable(T::Array[::String])).void }
33
+ def initialize(account_id:, x_moov_version: nil, plan_i_ds: nil)
33
34
  @account_id = account_id
34
- @plan_i_ds = plan_i_ds
35
35
  @x_moov_version = x_moov_version
36
+ @plan_i_ds = plan_i_ds
36
37
  end
37
38
 
38
39
  sig { params(other: T.untyped).returns(T::Boolean) }
39
40
  def ==(other)
40
41
  return false unless other.is_a? self.class
41
42
  return false unless @account_id == other.account_id
42
- return false unless @plan_i_ds == other.plan_i_ds
43
43
  return false unless @x_moov_version == other.x_moov_version
44
+ return false unless @plan_i_ds == other.plan_i_ds
44
45
  true
45
46
  end
46
47
  end
@@ -10,8 +10,8 @@ end
10
10
  class Moov::Models::Operations::ListFeePlansRequest
11
11
  def account_id(); end
12
12
  def account_id=(str_); end
13
- def plan_i_ds(); end
14
- def plan_i_ds=(str_); end
15
13
  def x_moov_version(); end
16
14
  def x_moov_version=(str_); end
15
+ def plan_i_ds(); end
16
+ def plan_i_ds=(str_); end
17
17
  end
@@ -15,8 +15,6 @@ module Moov
15
15
 
16
16
 
17
17
  field :account_id, ::String, { 'path_param': { 'field_name': 'accountID', 'style': 'simple', 'explode': false } }
18
-
19
- field :list_fees_fetch_request, Crystalline::Nilable.new(Models::Components::ListFeesFetchRequest), { 'request': { 'media_type': 'application/json' } }
20
18
  # Specify an API version.
21
19
  #
22
20
  # API versioning follows the format `vYYYY.QQ.BB`, where
@@ -26,21 +24,24 @@ module Moov
26
24
  # - For example, `v2024.01.00` is the initial release of the first quarter of 2024.
27
25
  #
28
26
  # The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
27
+ # When no version is specified, the API defaults to `v2024.01.00`.
29
28
  field :x_moov_version, Crystalline::Nilable.new(::String), { 'header': { 'field_name': 'X-Moov-Version', 'style': 'simple', 'explode': false } }
30
29
 
31
- sig { params(account_id: ::String, list_fees_fetch_request: T.nilable(Models::Components::ListFeesFetchRequest), x_moov_version: T.nilable(::String)).void }
32
- def initialize(account_id:, list_fees_fetch_request: nil, x_moov_version: 'v2024.01.00')
30
+ field :list_fees_fetch_request, Crystalline::Nilable.new(Models::Components::ListFeesFetchRequest), { 'request': { 'media_type': 'application/json' } }
31
+
32
+ sig { params(account_id: ::String, x_moov_version: T.nilable(::String), list_fees_fetch_request: T.nilable(Models::Components::ListFeesFetchRequest)).void }
33
+ def initialize(account_id:, x_moov_version: nil, list_fees_fetch_request: nil)
33
34
  @account_id = account_id
34
- @list_fees_fetch_request = list_fees_fetch_request
35
35
  @x_moov_version = x_moov_version
36
+ @list_fees_fetch_request = list_fees_fetch_request
36
37
  end
37
38
 
38
39
  sig { params(other: T.untyped).returns(T::Boolean) }
39
40
  def ==(other)
40
41
  return false unless other.is_a? self.class
41
42
  return false unless @account_id == other.account_id
42
- return false unless @list_fees_fetch_request == other.list_fees_fetch_request
43
43
  return false unless @x_moov_version == other.x_moov_version
44
+ return false unless @list_fees_fetch_request == other.list_fees_fetch_request
44
45
  true
45
46
  end
46
47
  end
@@ -10,8 +10,8 @@ end
10
10
  class Moov::Models::Operations::ListFeesFetchRequest
11
11
  def account_id(); end
12
12
  def account_id=(str_); end
13
- def list_fees_fetch_request(); end
14
- def list_fees_fetch_request=(str_); end
15
13
  def x_moov_version(); end
16
14
  def x_moov_version=(str_); end
15
+ def list_fees_fetch_request(); end
16
+ def list_fees_fetch_request=(str_); end
17
17
  end
@@ -24,10 +24,11 @@ module Moov
24
24
  # - For example, `v2024.01.00` is the initial release of the first quarter of 2024.
25
25
  #
26
26
  # The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
27
+ # When no version is specified, the API defaults to `v2024.01.00`.
27
28
  field :x_moov_version, Crystalline::Nilable.new(::String), { 'header': { 'field_name': 'X-Moov-Version', 'style': 'simple', 'explode': false } }
28
29
 
29
30
  sig { params(account_id: ::String, x_moov_version: T.nilable(::String)).void }
30
- def initialize(account_id:, x_moov_version: 'v2024.01.00')
31
+ def initialize(account_id:, x_moov_version: nil)
31
32
  @account_id = account_id
32
33
  @x_moov_version = x_moov_version
33
34
  end
@@ -15,10 +15,6 @@ module Moov
15
15
 
16
16
 
17
17
  field :account_id, ::String, { 'path_param': { 'field_name': 'accountID', 'style': 'simple', 'explode': false } }
18
-
19
- field :skip, Crystalline::Nilable.new(::Integer), { 'query_param': { 'field_name': 'skip', 'style': 'form', 'explode': false } }
20
-
21
- field :count, Crystalline::Nilable.new(::Integer), { 'query_param': { 'field_name': 'count', 'style': 'form', 'explode': false } }
22
18
  # Specify an API version.
23
19
  #
24
20
  # API versioning follows the format `vYYYY.QQ.BB`, where
@@ -28,23 +24,28 @@ module Moov
28
24
  # - For example, `v2024.01.00` is the initial release of the first quarter of 2024.
29
25
  #
30
26
  # The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
27
+ # When no version is specified, the API defaults to `v2024.01.00`.
31
28
  field :x_moov_version, Crystalline::Nilable.new(::String), { 'header': { 'field_name': 'X-Moov-Version', 'style': 'simple', 'explode': false } }
32
29
 
33
- sig { params(account_id: ::String, skip: T.nilable(::Integer), count: T.nilable(::Integer), x_moov_version: T.nilable(::String)).void }
34
- def initialize(account_id:, skip: nil, count: nil, x_moov_version: 'v2024.01.00')
30
+ field :skip, Crystalline::Nilable.new(::Integer), { 'query_param': { 'field_name': 'skip', 'style': 'form', 'explode': false } }
31
+
32
+ field :count, Crystalline::Nilable.new(::Integer), { 'query_param': { 'field_name': 'count', 'style': 'form', 'explode': false } }
33
+
34
+ sig { params(account_id: ::String, x_moov_version: T.nilable(::String), skip: T.nilable(::Integer), count: T.nilable(::Integer)).void }
35
+ def initialize(account_id:, x_moov_version: nil, skip: nil, count: nil)
35
36
  @account_id = account_id
37
+ @x_moov_version = x_moov_version
36
38
  @skip = skip
37
39
  @count = count
38
- @x_moov_version = x_moov_version
39
40
  end
40
41
 
41
42
  sig { params(other: T.untyped).returns(T::Boolean) }
42
43
  def ==(other)
43
44
  return false unless other.is_a? self.class
44
45
  return false unless @account_id == other.account_id
46
+ return false unless @x_moov_version == other.x_moov_version
45
47
  return false unless @skip == other.skip
46
48
  return false unless @count == other.count
47
- return false unless @x_moov_version == other.x_moov_version
48
49
  true
49
50
  end
50
51
  end
@@ -10,10 +10,10 @@ end
10
10
  class Moov::Models::Operations::ListImageMetadataRequest
11
11
  def account_id(); end
12
12
  def account_id=(str_); end
13
+ def x_moov_version(); end
14
+ def x_moov_version=(str_); end
13
15
  def skip(); end
14
16
  def skip=(str_); end
15
17
  def count(); end
16
18
  def count=(str_); end
17
- def x_moov_version(); end
18
- def x_moov_version=(str_); end
19
19
  end
@@ -22,10 +22,11 @@ module Moov
22
22
  # - For example, `v2024.01.00` is the initial release of the first quarter of 2024.
23
23
  #
24
24
  # The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
25
+ # When no version is specified, the API defaults to `v2024.01.00`.
25
26
  field :x_moov_version, Crystalline::Nilable.new(::String), { 'header': { 'field_name': 'X-Moov-Version', 'style': 'simple', 'explode': false } }
26
27
 
27
28
  sig { params(x_moov_version: T.nilable(::String)).void }
28
- def initialize(x_moov_version: 'v2024.01.00')
29
+ def initialize(x_moov_version: nil)
29
30
  @x_moov_version = x_moov_version
30
31
  end
31
32
 
@@ -13,14 +13,6 @@ module Moov
13
13
  extend T::Sig
14
14
  include Crystalline::MetadataFields
15
15
 
16
- # Name of the financial institution. Either `name` or `routingNumber` is required.
17
- field :name, Crystalline::Nilable.new(::String), { 'query_param': { 'field_name': 'name', 'style': 'form', 'explode': false } }
18
- # Routing number for a financial institution. Either `routingNumber` or `name` is required.
19
- field :routing_number, Crystalline::Nilable.new(::String), { 'query_param': { 'field_name': 'routingNumber', 'style': 'form', 'explode': false } }
20
- # The state where a financial institution is based.
21
- field :state, Crystalline::Nilable.new(::String), { 'query_param': { 'field_name': 'state', 'style': 'form', 'explode': false } }
22
- # Maximum results returned by a search.
23
- field :limit, Crystalline::Nilable.new(::Integer), { 'query_param': { 'field_name': 'limit', 'style': 'form', 'explode': false } }
24
16
  # Specify an API version.
25
17
  #
26
18
  # API versioning follows the format `vYYYY.QQ.BB`, where
@@ -30,25 +22,34 @@ module Moov
30
22
  # - For example, `v2024.01.00` is the initial release of the first quarter of 2024.
31
23
  #
32
24
  # The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
25
+ # When no version is specified, the API defaults to `v2024.01.00`.
33
26
  field :x_moov_version, Crystalline::Nilable.new(::String), { 'header': { 'field_name': 'X-Moov-Version', 'style': 'simple', 'explode': false } }
27
+ # Name of the financial institution. Either `name` or `routingNumber` is required.
28
+ field :name, Crystalline::Nilable.new(::String), { 'query_param': { 'field_name': 'name', 'style': 'form', 'explode': false } }
29
+ # Routing number for a financial institution. Either `routingNumber` or `name` is required.
30
+ field :routing_number, Crystalline::Nilable.new(::String), { 'query_param': { 'field_name': 'routingNumber', 'style': 'form', 'explode': false } }
31
+ # The state where a financial institution is based.
32
+ field :state, Crystalline::Nilable.new(::String), { 'query_param': { 'field_name': 'state', 'style': 'form', 'explode': false } }
33
+ # Maximum results returned by a search.
34
+ field :limit, Crystalline::Nilable.new(::Integer), { 'query_param': { 'field_name': 'limit', 'style': 'form', 'explode': false } }
34
35
 
35
- sig { params(name: T.nilable(::String), routing_number: T.nilable(::String), state: T.nilable(::String), limit: T.nilable(::Integer), x_moov_version: T.nilable(::String)).void }
36
- def initialize(name: nil, routing_number: nil, state: nil, limit: nil, x_moov_version: 'v2024.01.00')
36
+ sig { params(x_moov_version: T.nilable(::String), name: T.nilable(::String), routing_number: T.nilable(::String), state: T.nilable(::String), limit: T.nilable(::Integer)).void }
37
+ def initialize(x_moov_version: nil, name: nil, routing_number: nil, state: nil, limit: nil)
38
+ @x_moov_version = x_moov_version
37
39
  @name = name
38
40
  @routing_number = routing_number
39
41
  @state = state
40
42
  @limit = limit
41
- @x_moov_version = x_moov_version
42
43
  end
43
44
 
44
45
  sig { params(other: T.untyped).returns(T::Boolean) }
45
46
  def ==(other)
46
47
  return false unless other.is_a? self.class
48
+ return false unless @x_moov_version == other.x_moov_version
47
49
  return false unless @name == other.name
48
50
  return false unless @routing_number == other.routing_number
49
51
  return false unless @state == other.state
50
52
  return false unless @limit == other.limit
51
- return false unless @x_moov_version == other.x_moov_version
52
53
  true
53
54
  end
54
55
  end
@@ -8,6 +8,8 @@ end
8
8
 
9
9
 
10
10
  class Moov::Models::Operations::ListInstitutionsRequest
11
+ def x_moov_version(); end
12
+ def x_moov_version=(str_); end
11
13
  def name(); end
12
14
  def name=(str_); end
13
15
  def routing_number(); end
@@ -16,6 +18,4 @@ class Moov::Models::Operations::ListInstitutionsRequest
16
18
  def state=(str_); end
17
19
  def limit(); end
18
20
  def limit=(str_); end
19
- def x_moov_version(); end
20
- def x_moov_version=(str_); end
21
21
  end
@@ -17,10 +17,6 @@ module Moov
17
17
  field :account_id, ::String, { 'path_param': { 'field_name': 'accountID', 'style': 'simple', 'explode': false } }
18
18
 
19
19
  field :authorization_id, ::String, { 'path_param': { 'field_name': 'authorizationID', 'style': 'simple', 'explode': false } }
20
-
21
- field :skip, Crystalline::Nilable.new(::Integer), { 'query_param': { 'field_name': 'skip', 'style': 'form', 'explode': false } }
22
-
23
- field :count, Crystalline::Nilable.new(::Integer), { 'query_param': { 'field_name': 'count', 'style': 'form', 'explode': false } }
24
20
  # Specify an API version.
25
21
  #
26
22
  # API versioning follows the format `vYYYY.QQ.BB`, where
@@ -30,15 +26,20 @@ module Moov
30
26
  # - For example, `v2024.01.00` is the initial release of the first quarter of 2024.
31
27
  #
32
28
  # The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
29
+ # When no version is specified, the API defaults to `v2024.01.00`.
33
30
  field :x_moov_version, Crystalline::Nilable.new(::String), { 'header': { 'field_name': 'X-Moov-Version', 'style': 'simple', 'explode': false } }
34
31
 
35
- sig { params(account_id: ::String, authorization_id: ::String, skip: T.nilable(::Integer), count: T.nilable(::Integer), x_moov_version: T.nilable(::String)).void }
36
- def initialize(account_id:, authorization_id:, skip: nil, count: nil, x_moov_version: 'v2024.01.00')
32
+ field :skip, Crystalline::Nilable.new(::Integer), { 'query_param': { 'field_name': 'skip', 'style': 'form', 'explode': false } }
33
+
34
+ field :count, Crystalline::Nilable.new(::Integer), { 'query_param': { 'field_name': 'count', 'style': 'form', 'explode': false } }
35
+
36
+ sig { params(account_id: ::String, authorization_id: ::String, x_moov_version: T.nilable(::String), skip: T.nilable(::Integer), count: T.nilable(::Integer)).void }
37
+ def initialize(account_id:, authorization_id:, x_moov_version: nil, skip: nil, count: nil)
37
38
  @account_id = account_id
38
39
  @authorization_id = authorization_id
40
+ @x_moov_version = x_moov_version
39
41
  @skip = skip
40
42
  @count = count
41
- @x_moov_version = x_moov_version
42
43
  end
43
44
 
44
45
  sig { params(other: T.untyped).returns(T::Boolean) }
@@ -46,9 +47,9 @@ module Moov
46
47
  return false unless other.is_a? self.class
47
48
  return false unless @account_id == other.account_id
48
49
  return false unless @authorization_id == other.authorization_id
50
+ return false unless @x_moov_version == other.x_moov_version
49
51
  return false unless @skip == other.skip
50
52
  return false unless @count == other.count
51
- return false unless @x_moov_version == other.x_moov_version
52
53
  true
53
54
  end
54
55
  end
@@ -12,10 +12,10 @@ class Moov::Models::Operations::ListIssuedCardAuthorizationEventsRequest
12
12
  def account_id=(str_); end
13
13
  def authorization_id(); end
14
14
  def authorization_id=(str_); end
15
+ def x_moov_version(); end
16
+ def x_moov_version=(str_); end
15
17
  def skip(); end
16
18
  def skip=(str_); end
17
19
  def count(); end
18
20
  def count=(str_); end
19
- def x_moov_version(); end
20
- def x_moov_version=(str_); end
21
21
  end
@@ -15,6 +15,17 @@ module Moov
15
15
 
16
16
  # The Moov business account for which cards have been issued.
17
17
  field :account_id, ::String, { 'path_param': { 'field_name': 'accountID', 'style': 'simple', 'explode': false } }
18
+ # Specify an API version.
19
+ #
20
+ # API versioning follows the format `vYYYY.QQ.BB`, where
21
+ # - `YYYY` is the year
22
+ # - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
23
+ # - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter.
24
+ # - For example, `v2024.01.00` is the initial release of the first quarter of 2024.
25
+ #
26
+ # The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
27
+ # When no version is specified, the API defaults to `v2024.01.00`.
28
+ field :x_moov_version, Crystalline::Nilable.new(::String), { 'header': { 'field_name': 'X-Moov-Version', 'style': 'simple', 'explode': false } }
18
29
 
19
30
  field :skip, Crystalline::Nilable.new(::Integer), { 'query_param': { 'field_name': 'skip', 'style': 'form', 'explode': false } }
20
31
 
@@ -27,40 +38,30 @@ module Moov
27
38
  field :end_date_time, Crystalline::Nilable.new(::DateTime), { 'query_param': { 'field_name': 'endDateTime', 'style': 'form', 'explode': false } }
28
39
  # Optional, comma-separated statuses of the authorization to filter results.
29
40
  field :statuses, Crystalline::Nilable.new(Crystalline::Array.new(Models::Components::IssuingAuthorizationStatus)), { 'query_param': { 'field_name': 'statuses', 'style': 'form', 'explode': false } }
30
- # Specify an API version.
31
- #
32
- # API versioning follows the format `vYYYY.QQ.BB`, where
33
- # - `YYYY` is the year
34
- # - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
35
- # - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter.
36
- # - For example, `v2024.01.00` is the initial release of the first quarter of 2024.
37
- #
38
- # The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
39
- field :x_moov_version, Crystalline::Nilable.new(::String), { 'header': { 'field_name': 'X-Moov-Version', 'style': 'simple', 'explode': false } }
40
41
 
41
- sig { params(account_id: ::String, skip: T.nilable(::Integer), count: T.nilable(::Integer), issued_card_id: T.nilable(::String), start_date_time: T.nilable(::DateTime), end_date_time: T.nilable(::DateTime), statuses: T.nilable(T::Array[Models::Components::IssuingAuthorizationStatus]), x_moov_version: T.nilable(::String)).void }
42
- def initialize(account_id:, skip: nil, count: nil, issued_card_id: nil, start_date_time: nil, end_date_time: nil, statuses: nil, x_moov_version: 'v2024.01.00')
42
+ sig { params(account_id: ::String, x_moov_version: T.nilable(::String), skip: T.nilable(::Integer), count: T.nilable(::Integer), issued_card_id: T.nilable(::String), start_date_time: T.nilable(::DateTime), end_date_time: T.nilable(::DateTime), statuses: T.nilable(T::Array[Models::Components::IssuingAuthorizationStatus])).void }
43
+ def initialize(account_id:, x_moov_version: nil, skip: nil, count: nil, issued_card_id: nil, start_date_time: nil, end_date_time: nil, statuses: nil)
43
44
  @account_id = account_id
45
+ @x_moov_version = x_moov_version
44
46
  @skip = skip
45
47
  @count = count
46
48
  @issued_card_id = issued_card_id
47
49
  @start_date_time = start_date_time
48
50
  @end_date_time = end_date_time
49
51
  @statuses = statuses
50
- @x_moov_version = x_moov_version
51
52
  end
52
53
 
53
54
  sig { params(other: T.untyped).returns(T::Boolean) }
54
55
  def ==(other)
55
56
  return false unless other.is_a? self.class
56
57
  return false unless @account_id == other.account_id
58
+ return false unless @x_moov_version == other.x_moov_version
57
59
  return false unless @skip == other.skip
58
60
  return false unless @count == other.count
59
61
  return false unless @issued_card_id == other.issued_card_id
60
62
  return false unless @start_date_time == other.start_date_time
61
63
  return false unless @end_date_time == other.end_date_time
62
64
  return false unless @statuses == other.statuses
63
- return false unless @x_moov_version == other.x_moov_version
64
65
  true
65
66
  end
66
67
  end
@@ -10,6 +10,8 @@ end
10
10
  class Moov::Models::Operations::ListIssuedCardAuthorizationsRequest
11
11
  def account_id(); end
12
12
  def account_id=(str_); end
13
+ def x_moov_version(); end
14
+ def x_moov_version=(str_); end
13
15
  def skip(); end
14
16
  def skip=(str_); end
15
17
  def count(); end
@@ -22,6 +24,4 @@ class Moov::Models::Operations::ListIssuedCardAuthorizationsRequest
22
24
  def end_date_time=(str_); end
23
25
  def statuses(); end
24
26
  def statuses=(str_); end
25
- def x_moov_version(); end
26
- def x_moov_version=(str_); end
27
27
  end
@@ -15,12 +15,6 @@ module Moov
15
15
 
16
16
  # The Moov business account for which the cards have been issued.
17
17
  field :account_id, ::String, { 'path_param': { 'field_name': 'accountID', 'style': 'simple', 'explode': false } }
18
-
19
- field :skip, Crystalline::Nilable.new(::Integer), { 'query_param': { 'field_name': 'skip', 'style': 'form', 'explode': false } }
20
-
21
- field :count, Crystalline::Nilable.new(::Integer), { 'query_param': { 'field_name': 'count', 'style': 'form', 'explode': false } }
22
- # Optional, comma-separated states to filter the Moov list issued cards response. For example `active,pending-verification`
23
- field :states, Crystalline::Nilable.new(Crystalline::Array.new(Models::Components::IssuedCardState)), { 'query_param': { 'field_name': 'states', 'style': 'form', 'explode': false } }
24
18
  # Specify an API version.
25
19
  #
26
20
  # API versioning follows the format `vYYYY.QQ.BB`, where
@@ -30,25 +24,32 @@ module Moov
30
24
  # - For example, `v2024.01.00` is the initial release of the first quarter of 2024.
31
25
  #
32
26
  # The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
27
+ # When no version is specified, the API defaults to `v2024.01.00`.
33
28
  field :x_moov_version, Crystalline::Nilable.new(::String), { 'header': { 'field_name': 'X-Moov-Version', 'style': 'simple', 'explode': false } }
34
29
 
35
- sig { params(account_id: ::String, skip: T.nilable(::Integer), count: T.nilable(::Integer), states: T.nilable(T::Array[Models::Components::IssuedCardState]), x_moov_version: T.nilable(::String)).void }
36
- def initialize(account_id:, skip: nil, count: nil, states: nil, x_moov_version: 'v2024.01.00')
30
+ field :skip, Crystalline::Nilable.new(::Integer), { 'query_param': { 'field_name': 'skip', 'style': 'form', 'explode': false } }
31
+
32
+ field :count, Crystalline::Nilable.new(::Integer), { 'query_param': { 'field_name': 'count', 'style': 'form', 'explode': false } }
33
+ # Optional, comma-separated states to filter the Moov list issued cards response. For example `active,pending-verification`
34
+ field :states, Crystalline::Nilable.new(Crystalline::Array.new(Models::Components::IssuedCardState)), { 'query_param': { 'field_name': 'states', 'style': 'form', 'explode': false } }
35
+
36
+ sig { params(account_id: ::String, x_moov_version: T.nilable(::String), skip: T.nilable(::Integer), count: T.nilable(::Integer), states: T.nilable(T::Array[Models::Components::IssuedCardState])).void }
37
+ def initialize(account_id:, x_moov_version: nil, skip: nil, count: nil, states: nil)
37
38
  @account_id = account_id
39
+ @x_moov_version = x_moov_version
38
40
  @skip = skip
39
41
  @count = count
40
42
  @states = states
41
- @x_moov_version = x_moov_version
42
43
  end
43
44
 
44
45
  sig { params(other: T.untyped).returns(T::Boolean) }
45
46
  def ==(other)
46
47
  return false unless other.is_a? self.class
47
48
  return false unless @account_id == other.account_id
49
+ return false unless @x_moov_version == other.x_moov_version
48
50
  return false unless @skip == other.skip
49
51
  return false unless @count == other.count
50
52
  return false unless @states == other.states
51
- return false unless @x_moov_version == other.x_moov_version
52
53
  true
53
54
  end
54
55
  end
@@ -10,12 +10,12 @@ end
10
10
  class Moov::Models::Operations::ListIssuedCardsRequest
11
11
  def account_id(); end
12
12
  def account_id=(str_); end
13
+ def x_moov_version(); end
14
+ def x_moov_version=(str_); end
13
15
  def skip(); end
14
16
  def skip=(str_); end
15
17
  def count(); end
16
18
  def count=(str_); end
17
19
  def states(); end
18
20
  def states=(str_); end
19
- def x_moov_version(); end
20
- def x_moov_version=(str_); end
21
21
  end
@@ -15,16 +15,6 @@ module Moov
15
15
 
16
16
  # The Moov business account for which cards have been issued.
17
17
  field :account_id, ::String, { 'path_param': { 'field_name': 'accountID', 'style': 'simple', 'explode': false } }
18
-
19
- field :skip, Crystalline::Nilable.new(::Integer), { 'query_param': { 'field_name': 'skip', 'style': 'form', 'explode': false } }
20
-
21
- field :count, Crystalline::Nilable.new(::Integer), { 'query_param': { 'field_name': 'count', 'style': 'form', 'explode': false } }
22
- # Optional ID of the issued card to filter results.
23
- field :issued_card_id, Crystalline::Nilable.new(::String), { 'query_param': { 'field_name': 'issuedCardID', 'style': 'form', 'explode': false } }
24
- # Optional date-time which inclusively filters all card transactions created after this date-time.
25
- field :start_date_time, Crystalline::Nilable.new(::DateTime), { 'query_param': { 'field_name': 'startDateTime', 'style': 'form', 'explode': false } }
26
- # Optional date-time which exclusively filters all card transactions created before this date-time.
27
- field :end_date_time, Crystalline::Nilable.new(::DateTime), { 'query_param': { 'field_name': 'endDateTime', 'style': 'form', 'explode': false } }
28
18
  # Specify an API version.
29
19
  #
30
20
  # API versioning follows the format `vYYYY.QQ.BB`, where
@@ -34,29 +24,40 @@ module Moov
34
24
  # - For example, `v2024.01.00` is the initial release of the first quarter of 2024.
35
25
  #
36
26
  # The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
27
+ # When no version is specified, the API defaults to `v2024.01.00`.
37
28
  field :x_moov_version, Crystalline::Nilable.new(::String), { 'header': { 'field_name': 'X-Moov-Version', 'style': 'simple', 'explode': false } }
38
29
 
39
- sig { params(account_id: ::String, skip: T.nilable(::Integer), count: T.nilable(::Integer), issued_card_id: T.nilable(::String), start_date_time: T.nilable(::DateTime), end_date_time: T.nilable(::DateTime), x_moov_version: T.nilable(::String)).void }
40
- def initialize(account_id:, skip: nil, count: nil, issued_card_id: nil, start_date_time: nil, end_date_time: nil, x_moov_version: 'v2024.01.00')
30
+ field :skip, Crystalline::Nilable.new(::Integer), { 'query_param': { 'field_name': 'skip', 'style': 'form', 'explode': false } }
31
+
32
+ field :count, Crystalline::Nilable.new(::Integer), { 'query_param': { 'field_name': 'count', 'style': 'form', 'explode': false } }
33
+ # Optional ID of the issued card to filter results.
34
+ field :issued_card_id, Crystalline::Nilable.new(::String), { 'query_param': { 'field_name': 'issuedCardID', 'style': 'form', 'explode': false } }
35
+ # Optional date-time which inclusively filters all card transactions created after this date-time.
36
+ field :start_date_time, Crystalline::Nilable.new(::DateTime), { 'query_param': { 'field_name': 'startDateTime', 'style': 'form', 'explode': false } }
37
+ # Optional date-time which exclusively filters all card transactions created before this date-time.
38
+ field :end_date_time, Crystalline::Nilable.new(::DateTime), { 'query_param': { 'field_name': 'endDateTime', 'style': 'form', 'explode': false } }
39
+
40
+ sig { params(account_id: ::String, x_moov_version: T.nilable(::String), skip: T.nilable(::Integer), count: T.nilable(::Integer), issued_card_id: T.nilable(::String), start_date_time: T.nilable(::DateTime), end_date_time: T.nilable(::DateTime)).void }
41
+ def initialize(account_id:, x_moov_version: nil, skip: nil, count: nil, issued_card_id: nil, start_date_time: nil, end_date_time: nil)
41
42
  @account_id = account_id
43
+ @x_moov_version = x_moov_version
42
44
  @skip = skip
43
45
  @count = count
44
46
  @issued_card_id = issued_card_id
45
47
  @start_date_time = start_date_time
46
48
  @end_date_time = end_date_time
47
- @x_moov_version = x_moov_version
48
49
  end
49
50
 
50
51
  sig { params(other: T.untyped).returns(T::Boolean) }
51
52
  def ==(other)
52
53
  return false unless other.is_a? self.class
53
54
  return false unless @account_id == other.account_id
55
+ return false unless @x_moov_version == other.x_moov_version
54
56
  return false unless @skip == other.skip
55
57
  return false unless @count == other.count
56
58
  return false unless @issued_card_id == other.issued_card_id
57
59
  return false unless @start_date_time == other.start_date_time
58
60
  return false unless @end_date_time == other.end_date_time
59
- return false unless @x_moov_version == other.x_moov_version
60
61
  true
61
62
  end
62
63
  end
@@ -10,6 +10,8 @@ end
10
10
  class Moov::Models::Operations::ListIssuedCardTransactionsRequest
11
11
  def account_id(); end
12
12
  def account_id=(str_); end
13
+ def x_moov_version(); end
14
+ def x_moov_version=(str_); end
13
15
  def skip(); end
14
16
  def skip=(str_); end
15
17
  def count(); end
@@ -20,6 +22,4 @@ class Moov::Models::Operations::ListIssuedCardTransactionsRequest
20
22
  def start_date_time=(str_); end
21
23
  def end_date_time(); end
22
24
  def end_date_time=(str_); end
23
- def x_moov_version(); end
24
- def x_moov_version=(str_); end
25
25
  end