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
@@ -26,10 +26,11 @@ module Moov
26
26
  # - For example, `v2024.01.00` is the initial release of the first quarter of 2024.
27
27
  #
28
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`.
29
30
  field :x_moov_version, Crystalline::Nilable.new(::String), { 'header': { 'field_name': 'X-Moov-Version', 'style': 'simple', 'explode': false } }
30
31
 
31
32
  sig { params(account_id: ::String, wallet_id: ::String, x_moov_version: T.nilable(::String)).void }
32
- def initialize(account_id:, wallet_id:, x_moov_version: 'v2024.01.00')
33
+ def initialize(account_id:, wallet_id:, x_moov_version: nil)
33
34
  @account_id = account_id
34
35
  @wallet_id = wallet_id
35
36
  @x_moov_version = x_moov_version
@@ -28,10 +28,11 @@ module Moov
28
28
  # - For example, `v2024.01.00` is the initial release of the first quarter of 2024.
29
29
  #
30
30
  # The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
31
+ # When no version is specified, the API defaults to `v2024.01.00`.
31
32
  field :x_moov_version, Crystalline::Nilable.new(::String), { 'header': { 'field_name': 'X-Moov-Version', 'style': 'simple', 'explode': false } }
32
33
 
33
34
  sig { params(account_id: ::String, wallet_id: ::String, transaction_id: ::String, x_moov_version: T.nilable(::String)).void }
34
- def initialize(account_id:, wallet_id:, transaction_id:, x_moov_version: 'v2024.01.00')
35
+ def initialize(account_id:, wallet_id:, transaction_id:, x_moov_version: nil)
35
36
  @account_id = account_id
36
37
  @wallet_id = wallet_id
37
38
  @transaction_id = transaction_id
@@ -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 :bank_account_id, ::String, { 'path_param': { 'field_name': 'bankAccountID', 'style': 'simple', 'explode': false } }
20
- # Optional header to wait for certain events, such as the rail response, to occur before returning a response.
21
- #
22
- # When this header is set to `rail-response`, the endpoint will wait for a sent-credit or failed status from the payment rail.
23
- field :x_wait_for, Crystalline::Nilable.new(Models::Components::BankAccountWaitFor), { 'header': { 'field_name': 'x-wait-for', 'style': 'simple', 'explode': false } }
24
20
  # Specify an API version.
25
21
  #
26
22
  # API versioning follows the format `vYYYY.QQ.BB`, where
@@ -30,14 +26,19 @@ 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 } }
31
+ # Optional header to wait for certain events, such as the rail response, to occur before returning a response.
32
+ #
33
+ # When this header is set to `rail-response`, the endpoint will wait for a sent-credit or failed status from the payment rail.
34
+ field :x_wait_for, Crystalline::Nilable.new(Models::Components::BankAccountWaitFor), { 'header': { 'field_name': 'x-wait-for', 'style': 'simple', 'explode': false } }
34
35
 
35
- sig { params(account_id: ::String, bank_account_id: ::String, x_wait_for: T.nilable(Models::Components::BankAccountWaitFor), x_moov_version: T.nilable(::String)).void }
36
- def initialize(account_id:, bank_account_id:, x_wait_for: nil, x_moov_version: 'v2024.01.00')
36
+ sig { params(account_id: ::String, bank_account_id: ::String, x_moov_version: T.nilable(::String), x_wait_for: T.nilable(Models::Components::BankAccountWaitFor)).void }
37
+ def initialize(account_id:, bank_account_id:, x_moov_version: nil, x_wait_for: nil)
37
38
  @account_id = account_id
38
39
  @bank_account_id = bank_account_id
39
- @x_wait_for = x_wait_for
40
40
  @x_moov_version = x_moov_version
41
+ @x_wait_for = x_wait_for
41
42
  end
42
43
 
43
44
  sig { params(other: T.untyped).returns(T::Boolean) }
@@ -45,8 +46,8 @@ module Moov
45
46
  return false unless other.is_a? self.class
46
47
  return false unless @account_id == other.account_id
47
48
  return false unless @bank_account_id == other.bank_account_id
48
- return false unless @x_wait_for == other.x_wait_for
49
49
  return false unless @x_moov_version == other.x_moov_version
50
+ return false unless @x_wait_for == other.x_wait_for
50
51
  true
51
52
  end
52
53
  end
@@ -12,8 +12,8 @@ class Moov::Models::Operations::InitiateBankAccountVerificationRequest
12
12
  def account_id=(str_); end
13
13
  def bank_account_id(); end
14
14
  def bank_account_id=(str_); end
15
- def x_wait_for(); end
16
- def x_wait_for=(str_); end
17
15
  def x_moov_version(); end
18
16
  def x_moov_version=(str_); end
17
+ def x_wait_for(); end
18
+ def x_wait_for=(str_); end
19
19
  end
@@ -26,10 +26,11 @@ module Moov
26
26
  # - For example, `v2024.01.00` is the initial release of the first quarter of 2024.
27
27
  #
28
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`.
29
30
  field :x_moov_version, Crystalline::Nilable.new(::String), { 'header': { 'field_name': 'X-Moov-Version', 'style': 'simple', 'explode': false } }
30
31
 
31
32
  sig { params(account_id: ::String, bank_account_id: ::String, x_moov_version: T.nilable(::String)).void }
32
- def initialize(account_id:, bank_account_id:, x_moov_version: 'v2024.01.00')
33
+ def initialize(account_id:, bank_account_id:, x_moov_version: nil)
33
34
  @account_id = account_id
34
35
  @bank_account_id = bank_account_id
35
36
  @x_moov_version = x_moov_version
@@ -19,11 +19,6 @@ module Moov
19
19
  field :account_id, ::String, { 'path_param': { 'field_name': 'accountID', 'style': 'simple', 'explode': false } }
20
20
  # Identifier for the transfer.
21
21
  field :transfer_id, ::String, { 'path_param': { 'field_name': 'transferID', 'style': 'simple', 'explode': false } }
22
- # Optional header that indicates whether to return a synchronous response that includes full transfer and rail-specific details or an
23
- # asynchronous response indicating the transfer was created (this is the default response if the header is omitted). A timeout will occur after 15 seconds.
24
- field :x_wait_for, Crystalline::Nilable.new(Models::Components::TransferWaitFor), { 'header': { 'field_name': 'x-wait-for', 'style': 'simple', 'explode': false } }
25
-
26
- field :create_refund, Crystalline::Nilable.new(Models::Components::CreateRefund), { 'request': { 'media_type': 'application/json' } }
27
22
  # Specify an API version.
28
23
  #
29
24
  # API versioning follows the format `vYYYY.QQ.BB`, where
@@ -33,16 +28,22 @@ module Moov
33
28
  # - For example, `v2024.01.00` is the initial release of the first quarter of 2024.
34
29
  #
35
30
  # The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
31
+ # When no version is specified, the API defaults to `v2024.01.00`.
36
32
  field :x_moov_version, Crystalline::Nilable.new(::String), { 'header': { 'field_name': 'X-Moov-Version', 'style': 'simple', 'explode': false } }
33
+ # Optional header that indicates whether to return a synchronous response that includes full transfer and rail-specific details or an
34
+ # asynchronous response indicating the transfer was created (this is the default response if the header is omitted). A timeout will occur after 15 seconds.
35
+ field :x_wait_for, Crystalline::Nilable.new(Models::Components::TransferWaitFor), { 'header': { 'field_name': 'x-wait-for', 'style': 'simple', 'explode': false } }
36
+
37
+ field :create_refund, Crystalline::Nilable.new(Models::Components::CreateRefund), { 'request': { 'media_type': 'application/json' } }
37
38
 
38
- sig { params(x_idempotency_key: ::String, account_id: ::String, transfer_id: ::String, x_wait_for: T.nilable(Models::Components::TransferWaitFor), create_refund: T.nilable(Models::Components::CreateRefund), x_moov_version: T.nilable(::String)).void }
39
- def initialize(x_idempotency_key:, account_id:, transfer_id:, x_wait_for: nil, create_refund: nil, x_moov_version: 'v2024.01.00')
39
+ sig { params(x_idempotency_key: ::String, account_id: ::String, transfer_id: ::String, x_moov_version: T.nilable(::String), x_wait_for: T.nilable(Models::Components::TransferWaitFor), create_refund: T.nilable(Models::Components::CreateRefund)).void }
40
+ def initialize(x_idempotency_key:, account_id:, transfer_id:, x_moov_version: nil, x_wait_for: nil, create_refund: nil)
40
41
  @x_idempotency_key = x_idempotency_key
41
42
  @account_id = account_id
42
43
  @transfer_id = transfer_id
44
+ @x_moov_version = x_moov_version
43
45
  @x_wait_for = x_wait_for
44
46
  @create_refund = create_refund
45
- @x_moov_version = x_moov_version
46
47
  end
47
48
 
48
49
  sig { params(other: T.untyped).returns(T::Boolean) }
@@ -51,9 +52,9 @@ module Moov
51
52
  return false unless @x_idempotency_key == other.x_idempotency_key
52
53
  return false unless @account_id == other.account_id
53
54
  return false unless @transfer_id == other.transfer_id
55
+ return false unless @x_moov_version == other.x_moov_version
54
56
  return false unless @x_wait_for == other.x_wait_for
55
57
  return false unless @create_refund == other.create_refund
56
- return false unless @x_moov_version == other.x_moov_version
57
58
  true
58
59
  end
59
60
  end
@@ -14,10 +14,10 @@ class Moov::Models::Operations::InitiateRefundRequest
14
14
  def account_id=(str_); end
15
15
  def transfer_id(); end
16
16
  def transfer_id=(str_); end
17
+ def x_moov_version(); end
18
+ def x_moov_version=(str_); end
17
19
  def x_wait_for(); end
18
20
  def x_wait_for=(str_); end
19
21
  def create_refund(); end
20
22
  def create_refund=(str_); end
21
- def x_moov_version(); end
22
- def x_moov_version=(str_); end
23
23
  end
@@ -26,10 +26,11 @@ module Moov
26
26
  # - For example, `v2024.01.00` is the initial release of the first quarter of 2024.
27
27
  #
28
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`.
29
30
  field :x_moov_version, Crystalline::Nilable.new(::String), { 'header': { 'field_name': 'X-Moov-Version', 'style': 'simple', 'explode': false } }
30
31
 
31
32
  sig { params(account_id: ::String, link_account_terminal_application: Models::Components::LinkAccountTerminalApplication, x_moov_version: T.nilable(::String)).void }
32
- def initialize(account_id:, link_account_terminal_application:, x_moov_version: 'v2024.01.00')
33
+ def initialize(account_id:, link_account_terminal_application:, x_moov_version: nil)
33
34
  @account_id = account_id
34
35
  @link_account_terminal_application = link_account_terminal_application
35
36
  @x_moov_version = x_moov_version
@@ -26,10 +26,11 @@ module Moov
26
26
  # - For example, `v2024.01.00` is the initial release of the first quarter of 2024.
27
27
  #
28
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`.
29
30
  field :x_moov_version, Crystalline::Nilable.new(::String), { 'header': { 'field_name': 'X-Moov-Version', 'style': 'simple', 'explode': false } }
30
31
 
31
32
  sig { params(account_id: ::String, link_apple_pay: Models::Components::LinkApplePay, x_moov_version: T.nilable(::String)).void }
32
- def initialize(account_id:, link_apple_pay:, x_moov_version: 'v2024.01.00')
33
+ def initialize(account_id:, link_apple_pay:, x_moov_version: nil)
33
34
  @account_id = account_id
34
35
  @link_apple_pay = link_apple_pay
35
36
  @x_moov_version = x_moov_version
@@ -17,11 +17,6 @@ module Moov
17
17
  field :account_id, ::String, { 'path_param': { 'field_name': 'accountID', 'style': 'simple', 'explode': false } }
18
18
 
19
19
  field :link_bank_account, Crystalline::Union.new(Models::Components::BankAccountPayload, Models::Components::PlaidPayload, Models::Components::PlaidLinkPayload, Models::Components::MxPayload), { 'request': { 'media_type': 'application/json' } }
20
- # Optional header to wait for certain events, such as the creation of a payment method, to occur before returning a response.
21
- #
22
- # When this header is set to `payment-method`, the response will include any payment methods that were created for the newly
23
- # linked card in the `paymentMethods` field. Otherwise, the `paymentMethods` field will be omitted from the response.
24
- field :x_wait_for, Crystalline::Nilable.new(Models::Components::BankAccountWaitFor), { 'header': { 'field_name': 'x-wait-for', 'style': 'simple', 'explode': false } }
25
20
  # Specify an API version.
26
21
  #
27
22
  # API versioning follows the format `vYYYY.QQ.BB`, where
@@ -31,14 +26,20 @@ module Moov
31
26
  # - For example, `v2024.01.00` is the initial release of the first quarter of 2024.
32
27
  #
33
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`.
34
30
  field :x_moov_version, Crystalline::Nilable.new(::String), { 'header': { 'field_name': 'X-Moov-Version', 'style': 'simple', 'explode': false } }
31
+ # Optional header to wait for certain events, such as the creation of a payment method, to occur before returning a response.
32
+ #
33
+ # When this header is set to `payment-method`, the response will include any payment methods that were created for the newly
34
+ # linked card in the `paymentMethods` field. Otherwise, the `paymentMethods` field will be omitted from the response.
35
+ field :x_wait_for, Crystalline::Nilable.new(Models::Components::BankAccountWaitFor), { 'header': { 'field_name': 'x-wait-for', 'style': 'simple', 'explode': false } }
35
36
 
36
- sig { params(account_id: ::String, link_bank_account: T.any(Models::Components::BankAccountPayload, Models::Components::PlaidPayload, Models::Components::PlaidLinkPayload, Models::Components::MxPayload), x_wait_for: T.nilable(Models::Components::BankAccountWaitFor), x_moov_version: T.nilable(::String)).void }
37
- def initialize(account_id:, link_bank_account:, x_wait_for: nil, x_moov_version: 'v2024.01.00')
37
+ sig { params(account_id: ::String, link_bank_account: T.any(Models::Components::BankAccountPayload, Models::Components::PlaidPayload, Models::Components::PlaidLinkPayload, Models::Components::MxPayload), x_moov_version: T.nilable(::String), x_wait_for: T.nilable(Models::Components::BankAccountWaitFor)).void }
38
+ def initialize(account_id:, link_bank_account:, x_moov_version: nil, x_wait_for: nil)
38
39
  @account_id = account_id
39
40
  @link_bank_account = link_bank_account
40
- @x_wait_for = x_wait_for
41
41
  @x_moov_version = x_moov_version
42
+ @x_wait_for = x_wait_for
42
43
  end
43
44
 
44
45
  sig { params(other: T.untyped).returns(T::Boolean) }
@@ -46,8 +47,8 @@ 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 @link_bank_account == other.link_bank_account
49
- return false unless @x_wait_for == other.x_wait_for
50
50
  return false unless @x_moov_version == other.x_moov_version
51
+ return false unless @x_wait_for == other.x_wait_for
51
52
  true
52
53
  end
53
54
  end
@@ -12,8 +12,8 @@ class Moov::Models::Operations::LinkBankAccountRequest
12
12
  def account_id=(str_); end
13
13
  def link_bank_account(); end
14
14
  def link_bank_account=(str_); end
15
- def x_wait_for(); end
16
- def x_wait_for=(str_); end
17
15
  def x_moov_version(); end
18
16
  def x_moov_version=(str_); end
17
+ def x_wait_for(); end
18
+ def x_wait_for=(str_); end
19
19
  end
@@ -17,11 +17,6 @@ module Moov
17
17
  field :account_id, ::String, { 'path_param': { 'field_name': 'accountID', 'style': 'simple', 'explode': false } }
18
18
 
19
19
  field :link_card, Models::Components::LinkCard, { 'request': { 'media_type': 'application/json' } }
20
- # Optional header to wait for certain events, such as the creation of a payment method, to occur before returning a response.
21
- #
22
- # When this header is set to `payment-method`, the response will include any payment methods that were created for the newly
23
- # linked card in the `paymentMethods` field. Otherwise, the `paymentMethods` field will be omitted from the response.
24
- field :x_wait_for, Crystalline::Nilable.new(Models::Components::LinkCardWaitFor), { 'header': { 'field_name': 'x-wait-for', 'style': 'simple', 'explode': false } }
25
20
  # Specify an API version.
26
21
  #
27
22
  # API versioning follows the format `vYYYY.QQ.BB`, where
@@ -31,14 +26,20 @@ module Moov
31
26
  # - For example, `v2024.01.00` is the initial release of the first quarter of 2024.
32
27
  #
33
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`.
34
30
  field :x_moov_version, Crystalline::Nilable.new(::String), { 'header': { 'field_name': 'X-Moov-Version', 'style': 'simple', 'explode': false } }
31
+ # Optional header to wait for certain events, such as the creation of a payment method, to occur before returning a response.
32
+ #
33
+ # When this header is set to `payment-method`, the response will include any payment methods that were created for the newly
34
+ # linked card in the `paymentMethods` field. Otherwise, the `paymentMethods` field will be omitted from the response.
35
+ field :x_wait_for, Crystalline::Nilable.new(Models::Components::LinkCardWaitFor), { 'header': { 'field_name': 'x-wait-for', 'style': 'simple', 'explode': false } }
35
36
 
36
- sig { params(account_id: ::String, link_card: Models::Components::LinkCard, x_wait_for: T.nilable(Models::Components::LinkCardWaitFor), x_moov_version: T.nilable(::String)).void }
37
- def initialize(account_id:, link_card:, x_wait_for: nil, x_moov_version: 'v2024.01.00')
37
+ sig { params(account_id: ::String, link_card: Models::Components::LinkCard, x_moov_version: T.nilable(::String), x_wait_for: T.nilable(Models::Components::LinkCardWaitFor)).void }
38
+ def initialize(account_id:, link_card:, x_moov_version: nil, x_wait_for: nil)
38
39
  @account_id = account_id
39
40
  @link_card = link_card
40
- @x_wait_for = x_wait_for
41
41
  @x_moov_version = x_moov_version
42
+ @x_wait_for = x_wait_for
42
43
  end
43
44
 
44
45
  sig { params(other: T.untyped).returns(T::Boolean) }
@@ -46,8 +47,8 @@ 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 @link_card == other.link_card
49
- return false unless @x_wait_for == other.x_wait_for
50
50
  return false unless @x_moov_version == other.x_moov_version
51
+ return false unless @x_wait_for == other.x_wait_for
51
52
  true
52
53
  end
53
54
  end
@@ -12,8 +12,8 @@ class Moov::Models::Operations::LinkCardRequest
12
12
  def account_id=(str_); end
13
13
  def link_card(); end
14
14
  def link_card=(str_); end
15
- def x_wait_for(); end
16
- def x_wait_for=(str_); end
17
15
  def x_moov_version(); end
18
16
  def x_moov_version=(str_); end
17
+ def x_wait_for(); end
18
+ def x_wait_for=(str_); end
19
19
  end
@@ -13,6 +13,17 @@ module Moov
13
13
  extend T::Sig
14
14
  include Crystalline::MetadataFields
15
15
 
16
+ # Specify an API version.
17
+ #
18
+ # API versioning follows the format `vYYYY.QQ.BB`, where
19
+ # - `YYYY` is the year
20
+ # - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
21
+ # - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter.
22
+ # - For example, `v2024.01.00` is the initial release of the first quarter of 2024.
23
+ #
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`.
26
+ field :x_moov_version, Crystalline::Nilable.new(::String), { 'header': { 'field_name': 'X-Moov-Version', 'style': 'simple', 'explode': false } }
16
27
  # Filter connected accounts by name.
17
28
  #
18
29
  # If provided, this query will attempt to find matches against the following Account and Profile fields:
@@ -50,19 +61,10 @@ module Moov
50
61
  field :skip, Crystalline::Nilable.new(::Integer), { 'query_param': { 'field_name': 'skip', 'style': 'form', 'explode': false } }
51
62
 
52
63
  field :count, Crystalline::Nilable.new(::Integer), { 'query_param': { 'field_name': 'count', 'style': 'form', 'explode': false } }
53
- # Specify an API version.
54
- #
55
- # API versioning follows the format `vYYYY.QQ.BB`, where
56
- # - `YYYY` is the year
57
- # - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
58
- # - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter.
59
- # - For example, `v2024.01.00` is the initial release of the first quarter of 2024.
60
- #
61
- # The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
62
- field :x_moov_version, Crystalline::Nilable.new(::String), { 'header': { 'field_name': 'X-Moov-Version', 'style': 'simple', 'explode': false } }
63
64
 
64
- sig { params(name: T.nilable(::String), email: T.nilable(::String), type: T.nilable(Models::Components::CreateAccountType), foreign_id: T.nilable(::String), include_disconnected: T.nilable(T::Boolean), capability: T.nilable(Models::Components::CapabilityID), capability_status: T.nilable(Models::Components::CapabilityStatus), skip: T.nilable(::Integer), count: T.nilable(::Integer), x_moov_version: T.nilable(::String)).void }
65
- def initialize(name: nil, email: nil, type: nil, foreign_id: nil, include_disconnected: nil, capability: nil, capability_status: nil, skip: nil, count: nil, x_moov_version: 'v2024.01.00')
65
+ sig { params(x_moov_version: T.nilable(::String), name: T.nilable(::String), email: T.nilable(::String), type: T.nilable(Models::Components::CreateAccountType), foreign_id: T.nilable(::String), include_disconnected: T.nilable(T::Boolean), capability: T.nilable(Models::Components::CapabilityID), capability_status: T.nilable(Models::Components::CapabilityStatus), skip: T.nilable(::Integer), count: T.nilable(::Integer)).void }
66
+ def initialize(x_moov_version: nil, name: nil, email: nil, type: nil, foreign_id: nil, include_disconnected: nil, capability: nil, capability_status: nil, skip: nil, count: nil)
67
+ @x_moov_version = x_moov_version
66
68
  @name = name
67
69
  @email = email
68
70
  @type = type
@@ -72,12 +74,12 @@ module Moov
72
74
  @capability_status = capability_status
73
75
  @skip = skip
74
76
  @count = count
75
- @x_moov_version = x_moov_version
76
77
  end
77
78
 
78
79
  sig { params(other: T.untyped).returns(T::Boolean) }
79
80
  def ==(other)
80
81
  return false unless other.is_a? self.class
82
+ return false unless @x_moov_version == other.x_moov_version
81
83
  return false unless @name == other.name
82
84
  return false unless @email == other.email
83
85
  return false unless @type == other.type
@@ -87,7 +89,6 @@ module Moov
87
89
  return false unless @capability_status == other.capability_status
88
90
  return false unless @skip == other.skip
89
91
  return false unless @count == other.count
90
- return false unless @x_moov_version == other.x_moov_version
91
92
  true
92
93
  end
93
94
  end
@@ -8,6 +8,8 @@ end
8
8
 
9
9
 
10
10
  class Moov::Models::Operations::ListAccountsRequest
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 email(); end
@@ -26,6 +28,4 @@ class Moov::Models::Operations::ListAccountsRequest
26
28
  def skip=(str_); end
27
29
  def count(); end
28
30
  def count=(str_); end
29
- def x_moov_version(); end
30
- def x_moov_version=(str_); end
31
31
  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,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 wallet ID to filter adjustments by.
19
- field :wallet_id, Crystalline::Nilable.new(::String), { 'query_param': { 'field_name': 'walletID', '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 wallet ID to filter adjustments by.
30
+ field :wallet_id, Crystalline::Nilable.new(::String), { 'query_param': { 'field_name': 'walletID', 'style': 'form', 'explode': false } }
30
31
 
31
- sig { params(account_id: ::String, wallet_id: T.nilable(::String), x_moov_version: T.nilable(::String)).void }
32
- def initialize(account_id:, wallet_id: nil, x_moov_version: 'v2024.01.00')
32
+ sig { params(account_id: ::String, x_moov_version: T.nilable(::String), wallet_id: T.nilable(::String)).void }
33
+ def initialize(account_id:, x_moov_version: nil, wallet_id: nil)
33
34
  @account_id = account_id
34
- @wallet_id = wallet_id
35
35
  @x_moov_version = x_moov_version
36
+ @wallet_id = wallet_id
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 @wallet_id == other.wallet_id
43
43
  return false unless @x_moov_version == other.x_moov_version
44
+ return false unless @wallet_id == other.wallet_id
44
45
  true
45
46
  end
46
47
  end
@@ -10,8 +10,8 @@ end
10
10
  class Moov::Models::Operations::ListAdjustmentsRequest
11
11
  def account_id(); end
12
12
  def account_id=(str_); end
13
- def wallet_id(); end
14
- def wallet_id=(str_); end
15
13
  def x_moov_version(); end
16
14
  def x_moov_version=(str_); end
15
+ def wallet_id(); end
16
+ def wallet_id=(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
@@ -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
@@ -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
@@ -26,10 +26,11 @@ module Moov
26
26
  # - For example, `v2024.01.00` is the initial release of the first quarter of 2024.
27
27
  #
28
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`.
29
30
  field :x_moov_version, Crystalline::Nilable.new(::String), { 'header': { 'field_name': 'X-Moov-Version', 'style': 'simple', 'explode': false } }
30
31
 
31
32
  sig { params(account_id: ::String, dispute_id: ::String, x_moov_version: T.nilable(::String)).void }
32
- def initialize(account_id:, dispute_id:, x_moov_version: 'v2024.01.00')
33
+ def initialize(account_id:, dispute_id:, x_moov_version: nil)
33
34
  @account_id = account_id
34
35
  @dispute_id = dispute_id
35
36
  @x_moov_version = x_moov_version
@@ -15,6 +15,17 @@ module Moov
15
15
 
16
16
 
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
 
@@ -39,20 +50,11 @@ module Moov
39
50
  field :transfer_i_ds, Crystalline::Nilable.new(Crystalline::Array.new(::String)), { 'query_param': { 'field_name': 'transferIDs', 'style': 'form', 'explode': false } }
40
51
 
41
52
  field :order_by, Crystalline::Nilable.new(::String), { 'query_param': { 'field_name': 'orderBy', 'style': 'form', 'explode': false } }
42
- # Specify an API version.
43
- #
44
- # API versioning follows the format `vYYYY.QQ.BB`, where
45
- # - `YYYY` is the year
46
- # - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
47
- # - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter.
48
- # - For example, `v2024.01.00` is the initial release of the first quarter of 2024.
49
- #
50
- # The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
51
- field :x_moov_version, Crystalline::Nilable.new(::String), { 'header': { 'field_name': 'X-Moov-Version', 'style': 'simple', 'explode': false } }
52
53
 
53
- sig { params(account_id: ::String, skip: T.nilable(::Integer), count: T.nilable(::Integer), start_date_time: T.nilable(::DateTime), end_date_time: T.nilable(::DateTime), respond_start_date_time: T.nilable(::DateTime), respond_end_date_time: T.nilable(::DateTime), status: T.nilable(Models::Components::DisputeStatus), merchant_account_id: T.nilable(::String), cardholder_account_id: T.nilable(::String), dispute_i_ds: T.nilable(T::Array[::String]), transfer_i_ds: T.nilable(T::Array[::String]), order_by: T.nilable(::String), x_moov_version: T.nilable(::String)).void }
54
- def initialize(account_id:, skip: nil, count: nil, start_date_time: nil, end_date_time: nil, respond_start_date_time: nil, respond_end_date_time: nil, status: nil, merchant_account_id: nil, cardholder_account_id: nil, dispute_i_ds: nil, transfer_i_ds: nil, order_by: nil, x_moov_version: 'v2024.01.00')
54
+ sig { params(account_id: ::String, x_moov_version: T.nilable(::String), skip: T.nilable(::Integer), count: T.nilable(::Integer), start_date_time: T.nilable(::DateTime), end_date_time: T.nilable(::DateTime), respond_start_date_time: T.nilable(::DateTime), respond_end_date_time: T.nilable(::DateTime), status: T.nilable(Models::Components::DisputeStatus), merchant_account_id: T.nilable(::String), cardholder_account_id: T.nilable(::String), dispute_i_ds: T.nilable(T::Array[::String]), transfer_i_ds: T.nilable(T::Array[::String]), order_by: T.nilable(::String)).void }
55
+ def initialize(account_id:, x_moov_version: nil, skip: nil, count: nil, start_date_time: nil, end_date_time: nil, respond_start_date_time: nil, respond_end_date_time: nil, status: nil, merchant_account_id: nil, cardholder_account_id: nil, dispute_i_ds: nil, transfer_i_ds: nil, order_by: nil)
55
56
  @account_id = account_id
57
+ @x_moov_version = x_moov_version
56
58
  @skip = skip
57
59
  @count = count
58
60
  @start_date_time = start_date_time
@@ -65,13 +67,13 @@ module Moov
65
67
  @dispute_i_ds = dispute_i_ds
66
68
  @transfer_i_ds = transfer_i_ds
67
69
  @order_by = order_by
68
- @x_moov_version = x_moov_version
69
70
  end
70
71
 
71
72
  sig { params(other: T.untyped).returns(T::Boolean) }
72
73
  def ==(other)
73
74
  return false unless other.is_a? self.class
74
75
  return false unless @account_id == other.account_id
76
+ return false unless @x_moov_version == other.x_moov_version
75
77
  return false unless @skip == other.skip
76
78
  return false unless @count == other.count
77
79
  return false unless @start_date_time == other.start_date_time
@@ -84,7 +86,6 @@ module Moov
84
86
  return false unless @dispute_i_ds == other.dispute_i_ds
85
87
  return false unless @transfer_i_ds == other.transfer_i_ds
86
88
  return false unless @order_by == other.order_by
87
- return false unless @x_moov_version == other.x_moov_version
88
89
  true
89
90
  end
90
91
  end
@@ -10,6 +10,8 @@ end
10
10
  class Moov::Models::Operations::ListDisputesRequest
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
@@ -34,6 +36,4 @@ class Moov::Models::Operations::ListDisputesRequest
34
36
  def transfer_i_ds=(str_); end
35
37
  def order_by(); end
36
38
  def order_by=(str_); end
37
- def x_moov_version(); end
38
- def x_moov_version=(str_); end
39
39
  end