moov_ruby 0.3.2 → 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, brand_properties: Models::Components::BrandProperties, x_moov_version: T.nilable(::String)).void }
32
- def initialize(account_id:, brand_properties:, x_moov_version: 'v2024.01.00')
33
+ def initialize(account_id:, brand_properties:, x_moov_version: nil)
33
34
  @account_id = account_id
34
35
  @brand_properties = brand_properties
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, transfer_id: ::String, x_moov_version: T.nilable(::String)).void }
32
- def initialize(account_id:, transfer_id:, x_moov_version: 'v2024.01.00')
33
+ def initialize(account_id:, transfer_id:, x_moov_version: nil)
33
34
  @account_id = account_id
34
35
  @transfer_id = transfer_id
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, create_fee_plan_agreement: Models::Components::CreateFeePlanAgreement, x_moov_version: T.nilable(::String)).void }
32
- def initialize(account_id:, create_fee_plan_agreement:, x_moov_version: 'v2024.01.00')
33
+ def initialize(account_id:, create_fee_plan_agreement:, x_moov_version: nil)
33
34
  @account_id = account_id
34
35
  @create_fee_plan_agreement = create_fee_plan_agreement
35
36
  @x_moov_version = x_moov_version
@@ -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(onboarding_invite_request: Models::Components::OnboardingInviteRequest, x_moov_version: T.nilable(::String)).void }
30
- def initialize(onboarding_invite_request:, x_moov_version: 'v2024.01.00')
31
+ def initialize(onboarding_invite_request:, x_moov_version: nil)
31
32
  @onboarding_invite_request = onboarding_invite_request
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, create_payment_link: Models::Components::CreatePaymentLink, x_moov_version: T.nilable(::String)).void }
32
- def initialize(account_id:, create_payment_link:, x_moov_version: 'v2024.01.00')
33
+ def initialize(account_id:, create_payment_link:, x_moov_version: nil)
33
34
  @account_id = account_id
34
35
  @create_payment_link = create_payment_link
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, product_request: Models::Components::ProductRequest, x_moov_version: T.nilable(::String)).void }
32
- def initialize(account_id:, product_request:, x_moov_version: 'v2024.01.00')
33
+ def initialize(account_id:, product_request:, x_moov_version: nil)
33
34
  @account_id = account_id
34
35
  @product_request = product_request
35
36
  @x_moov_version = x_moov_version
@@ -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(request_body: T::Array[Models::Components::ReceiptRequest], x_moov_version: T.nilable(::String)).void }
30
- def initialize(request_body:, x_moov_version: 'v2024.01.00')
31
+ def initialize(request_body:, x_moov_version: nil)
31
32
  @request_body = request_body
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, create_representative: Models::Components::CreateRepresentative, x_moov_version: T.nilable(::String)).void }
32
- def initialize(account_id:, create_representative:, x_moov_version: 'v2024.01.00')
33
+ def initialize(account_id:, create_representative:, x_moov_version: nil)
33
34
  @account_id = account_id
34
35
  @create_representative = create_representative
35
36
  @x_moov_version = x_moov_version
@@ -19,8 +19,6 @@ module Moov
19
19
  field :account_id, ::String, { 'path_param': { 'field_name': 'accountID', 'style': 'simple', 'explode': false } }
20
20
  # The transfer ID to reverse.
21
21
  field :transfer_id, ::String, { 'path_param': { 'field_name': 'transferID', 'style': 'simple', 'explode': false } }
22
-
23
- field :create_reversal, Crystalline::Nilable.new(Models::Components::CreateReversal), { 'request': { 'media_type': 'application/json' } }
24
22
  # Specify an API version.
25
23
  #
26
24
  # API versioning follows the format `vYYYY.QQ.BB`, where
@@ -30,15 +28,18 @@ module Moov
30
28
  # - For example, `v2024.01.00` is the initial release of the first quarter of 2024.
31
29
  #
32
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`.
33
32
  field :x_moov_version, Crystalline::Nilable.new(::String), { 'header': { 'field_name': 'X-Moov-Version', 'style': 'simple', 'explode': false } }
34
33
 
35
- sig { params(x_idempotency_key: ::String, account_id: ::String, transfer_id: ::String, create_reversal: T.nilable(Models::Components::CreateReversal), x_moov_version: T.nilable(::String)).void }
36
- def initialize(x_idempotency_key:, account_id:, transfer_id:, create_reversal: nil, x_moov_version: 'v2024.01.00')
34
+ field :create_reversal, Crystalline::Nilable.new(Models::Components::CreateReversal), { 'request': { 'media_type': 'application/json' } }
35
+
36
+ sig { params(x_idempotency_key: ::String, account_id: ::String, transfer_id: ::String, x_moov_version: T.nilable(::String), create_reversal: T.nilable(Models::Components::CreateReversal)).void }
37
+ def initialize(x_idempotency_key:, account_id:, transfer_id:, x_moov_version: nil, create_reversal: nil)
37
38
  @x_idempotency_key = x_idempotency_key
38
39
  @account_id = account_id
39
40
  @transfer_id = transfer_id
40
- @create_reversal = create_reversal
41
41
  @x_moov_version = x_moov_version
42
+ @create_reversal = create_reversal
42
43
  end
43
44
 
44
45
  sig { params(other: T.untyped).returns(T::Boolean) }
@@ -47,8 +48,8 @@ module Moov
47
48
  return false unless @x_idempotency_key == other.x_idempotency_key
48
49
  return false unless @account_id == other.account_id
49
50
  return false unless @transfer_id == other.transfer_id
50
- return false unless @create_reversal == other.create_reversal
51
51
  return false unless @x_moov_version == other.x_moov_version
52
+ return false unless @create_reversal == other.create_reversal
52
53
  true
53
54
  end
54
55
  end
@@ -14,8 +14,8 @@ class Moov::Models::Operations::CreateReversalRequest
14
14
  def account_id=(str_); end
15
15
  def transfer_id(); end
16
16
  def transfer_id=(str_); end
17
- def create_reversal(); end
18
- def create_reversal=(str_); end
19
17
  def x_moov_version(); end
20
18
  def x_moov_version=(str_); end
19
+ def create_reversal(); end
20
+ def create_reversal=(str_); end
21
21
  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, upsert_schedule: Models::Components::UpsertSchedule, x_moov_version: T.nilable(::String)).void }
32
- def initialize(account_id:, upsert_schedule:, x_moov_version: 'v2024.01.00')
33
+ def initialize(account_id:, upsert_schedule:, x_moov_version: nil)
33
34
  @account_id = account_id
34
35
  @upsert_schedule = upsert_schedule
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, create_sweep_config: Models::Components::CreateSweepConfig, x_moov_version: T.nilable(::String)).void }
32
- def initialize(account_id:, create_sweep_config:, x_moov_version: 'v2024.01.00')
33
+ def initialize(account_id:, create_sweep_config:, x_moov_version: nil)
33
34
  @account_id = account_id
34
35
  @create_sweep_config = create_sweep_config
35
36
  @x_moov_version = x_moov_version
@@ -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(create_terminal_application: Models::Components::CreateTerminalApplication, x_moov_version: T.nilable(::String)).void }
30
- def initialize(create_terminal_application:, x_moov_version: 'v2024.01.00')
31
+ def initialize(create_terminal_application:, x_moov_version: nil)
31
32
  @create_terminal_application = create_terminal_application
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(terminal_application_id: ::String, terminal_application_version: Models::Components::TerminalApplicationVersion, x_moov_version: T.nilable(::String)).void }
32
- def initialize(terminal_application_id:, terminal_application_version:, x_moov_version: 'v2024.01.00')
33
+ def initialize(terminal_application_id:, terminal_application_version:, x_moov_version: nil)
33
34
  @terminal_application_id = terminal_application_id
34
35
  @terminal_application_version = terminal_application_version
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, create_ticket: Models::Components::CreateTicket, x_moov_version: T.nilable(::String)).void }
32
- def initialize(account_id:, create_ticket:, x_moov_version: 'v2024.01.00')
33
+ def initialize(account_id:, create_ticket:, x_moov_version: nil)
33
34
  @account_id = account_id
34
35
  @create_ticket = create_ticket
35
36
  @x_moov_version = x_moov_version
@@ -19,9 +19,6 @@ module Moov
19
19
  field :account_id, ::String, { 'path_param': { 'field_name': 'accountID', 'style': 'simple', 'explode': false } }
20
20
 
21
21
  field :create_transfer, Models::Components::CreateTransfer, { 'request': { 'media_type': 'application/json' } }
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
22
  # Specify an API version.
26
23
  #
27
24
  # API versioning follows the format `vYYYY.QQ.BB`, where
@@ -31,15 +28,19 @@ module Moov
31
28
  # - For example, `v2024.01.00` is the initial release of the first quarter of 2024.
32
29
  #
33
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`.
34
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 } }
35
36
 
36
- sig { params(x_idempotency_key: ::String, account_id: ::String, create_transfer: Models::Components::CreateTransfer, x_wait_for: T.nilable(Models::Components::TransferWaitFor), x_moov_version: T.nilable(::String)).void }
37
- def initialize(x_idempotency_key:, account_id:, create_transfer:, x_wait_for: nil, x_moov_version: 'v2024.01.00')
37
+ sig { params(x_idempotency_key: ::String, account_id: ::String, create_transfer: Models::Components::CreateTransfer, x_moov_version: T.nilable(::String), x_wait_for: T.nilable(Models::Components::TransferWaitFor)).void }
38
+ def initialize(x_idempotency_key:, account_id:, create_transfer:, x_moov_version: nil, x_wait_for: nil)
38
39
  @x_idempotency_key = x_idempotency_key
39
40
  @account_id = account_id
40
41
  @create_transfer = create_transfer
41
- @x_wait_for = x_wait_for
42
42
  @x_moov_version = x_moov_version
43
+ @x_wait_for = x_wait_for
43
44
  end
44
45
 
45
46
  sig { params(other: T.untyped).returns(T::Boolean) }
@@ -48,8 +49,8 @@ module Moov
48
49
  return false unless @x_idempotency_key == other.x_idempotency_key
49
50
  return false unless @account_id == other.account_id
50
51
  return false unless @create_transfer == other.create_transfer
51
- return false unless @x_wait_for == other.x_wait_for
52
52
  return false unless @x_moov_version == other.x_moov_version
53
+ return false unless @x_wait_for == other.x_wait_for
53
54
  true
54
55
  end
55
56
  end
@@ -14,8 +14,8 @@ class Moov::Models::Operations::CreateTransferRequest
14
14
  def account_id=(str_); end
15
15
  def create_transfer(); end
16
16
  def create_transfer=(str_); end
17
- def x_wait_for(); end
18
- def x_wait_for=(str_); end
19
17
  def x_moov_version(); end
20
18
  def x_moov_version=(str_); end
19
+ def x_wait_for(); end
20
+ def x_wait_for=(str_); end
21
21
  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, create_transfer_options: Models::Components::CreateTransferOptions, x_moov_version: T.nilable(::String)).void }
32
- def initialize(account_id:, create_transfer_options:, x_moov_version: 'v2024.01.00')
33
+ def initialize(account_id:, create_transfer_options:, x_moov_version: nil)
33
34
  @account_id = account_id
34
35
  @create_transfer_options = create_transfer_options
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, create_wallet: Models::Components::CreateWallet, x_moov_version: T.nilable(::String)).void }
32
- def initialize(account_id:, create_wallet:, x_moov_version: 'v2024.01.00')
33
+ def initialize(account_id:, create_wallet:, x_moov_version: nil)
33
34
  @account_id = account_id
34
35
  @create_wallet = create_wallet
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, dispute_id: ::String, evidence_id: ::String, x_moov_version: T.nilable(::String)).void }
34
- def initialize(account_id:, dispute_id:, evidence_id:, x_moov_version: 'v2024.01.00')
35
+ def initialize(account_id:, dispute_id:, evidence_id:, x_moov_version: nil)
35
36
  @account_id = account_id
36
37
  @dispute_id = dispute_id
37
38
  @evidence_id = evidence_id
@@ -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, image_id: ::String, x_moov_version: T.nilable(::String)).void }
32
- def initialize(account_id:, image_id:, x_moov_version: 'v2024.01.00')
33
+ def initialize(account_id:, image_id:, x_moov_version: nil)
33
34
  @account_id = account_id
34
35
  @image_id = image_id
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, representative_id: ::String, x_moov_version: T.nilable(::String)).void }
32
- def initialize(account_id:, representative_id:, x_moov_version: 'v2024.01.00')
33
+ def initialize(account_id:, representative_id:, x_moov_version: nil)
33
34
  @account_id = account_id
34
35
  @representative_id = representative_id
35
36
  @x_moov_version = x_moov_version
@@ -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(terminal_application_id: ::String, x_moov_version: T.nilable(::String)).void }
30
- def initialize(terminal_application_id:, x_moov_version: 'v2024.01.00')
31
+ def initialize(terminal_application_id:, x_moov_version: nil)
31
32
  @terminal_application_id = terminal_application_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, 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
@@ -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, capability_id: Models::Components::CapabilityID, x_moov_version: T.nilable(::String)).void }
34
- def initialize(account_id:, capability_id:, x_moov_version: 'v2024.01.00')
35
+ def initialize(account_id:, capability_id:, x_moov_version: nil)
35
36
  @account_id = account_id
36
37
  @capability_id = capability_id
37
38
  @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, card_id: ::String, x_moov_version: T.nilable(::String)).void }
32
- def initialize(account_id:, card_id:, x_moov_version: 'v2024.01.00')
33
+ def initialize(account_id:, card_id:, x_moov_version: nil)
33
34
  @account_id = account_id
34
35
  @card_id = card_id
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, payment_link_code: ::String, x_moov_version: T.nilable(::String)).void }
32
- def initialize(account_id:, payment_link_code:, x_moov_version: 'v2024.01.00')
33
+ def initialize(account_id:, payment_link_code:, x_moov_version: nil)
33
34
  @account_id = account_id
34
35
  @payment_link_code = payment_link_code
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, product_id: ::String, x_moov_version: T.nilable(::String)).void }
32
- def initialize(account_id:, product_id:, x_moov_version: 'v2024.01.00')
33
+ def initialize(account_id:, product_id:, x_moov_version: nil)
33
34
  @account_id = account_id
34
35
  @product_id = product_id
35
36
  @x_moov_version = x_moov_version
@@ -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
@@ -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
 
@@ -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, terminal_application_id: ::String, x_moov_version: T.nilable(::String)).void }
32
- def initialize(account_id:, terminal_application_id:, x_moov_version: 'v2024.01.00')
33
+ def initialize(account_id:, terminal_application_id:, x_moov_version: nil)
33
34
  @account_id = account_id
34
35
  @terminal_application_id = terminal_application_id
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, adjustment_id: ::String, x_moov_version: T.nilable(::String)).void }
32
- def initialize(account_id:, adjustment_id:, x_moov_version: 'v2024.01.00')
33
+ def initialize(account_id:, adjustment_id:, x_moov_version: nil)
33
34
  @account_id = account_id
34
35
  @adjustment_id = adjustment_id
35
36
  @x_moov_version = x_moov_version
@@ -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(unique_id: ::String, x_moov_version: T.nilable(::String)).void }
30
- def initialize(unique_id:, x_moov_version: 'v2024.01.00')
31
+ def initialize(unique_id:, x_moov_version: nil)
31
32
  @unique_id = unique_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, 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
@@ -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