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
@@ -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
@@ -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, transfer_id: ::String, cancellation_id: ::String, x_moov_version: T.nilable(::String)).void }
34
- def initialize(account_id:, transfer_id:, cancellation_id:, x_moov_version: 'v2024.01.00')
35
+ def initialize(account_id:, transfer_id:, cancellation_id:, x_moov_version: nil)
35
36
  @account_id = account_id
36
37
  @transfer_id = transfer_id
37
38
  @cancellation_id = cancellation_id
@@ -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, 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
@@ -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
@@ -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
@@ -15,6 +15,17 @@ module Moov
15
15
 
16
16
  # Partial or complete address to search.
17
17
  field :search, ::String, { 'query_param': { 'field_name': 'search', 'style': 'form', '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
  # Maximum number of results to return.
19
30
  field :max_results, Crystalline::Nilable.new(::Integer), { 'query_param': { 'field_name': 'maxResults', 'style': 'form', 'explode': false } }
20
31
  # Limits results to a list of given cities.
@@ -41,20 +52,11 @@ module Moov
41
52
  field :selected, Crystalline::Nilable.new(::String), { 'query_param': { 'field_name': 'selected', 'style': 'form', 'explode': false } }
42
53
  # Include results from alternate data sources. Allowed values are `all` (non-postal addresses), or `postal` (postal addresses only).
43
54
  field :source, Crystalline::Nilable.new(::String), { 'query_param': { 'field_name': 'source', 'style': 'form', 'explode': false } }
44
- # Specify an API version.
45
- #
46
- # API versioning follows the format `vYYYY.QQ.BB`, where
47
- # - `YYYY` is the year
48
- # - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
49
- # - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter.
50
- # - For example, `v2024.01.00` is the initial release of the first quarter of 2024.
51
- #
52
- # The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
53
- field :x_moov_version, Crystalline::Nilable.new(::String), { 'header': { 'field_name': 'X-Moov-Version', 'style': 'simple', 'explode': false } }
54
55
 
55
- sig { params(search: ::String, max_results: T.nilable(::Integer), include_cities: T.nilable(::String), include_states: T.nilable(::String), include_zipcodes: T.nilable(::String), exclude_states: T.nilable(::String), prefer_cities: T.nilable(::String), prefer_states: T.nilable(::String), prefer_zipcodes: T.nilable(::String), prefer_ratio: T.nilable(::Integer), prefer_geolocation: T.nilable(::String), selected: T.nilable(::String), source: T.nilable(::String), x_moov_version: T.nilable(::String)).void }
56
- def initialize(search:, max_results: nil, include_cities: nil, include_states: nil, include_zipcodes: nil, exclude_states: nil, prefer_cities: nil, prefer_states: nil, prefer_zipcodes: nil, prefer_ratio: nil, prefer_geolocation: nil, selected: nil, source: nil, x_moov_version: 'v2024.01.00')
56
+ sig { params(search: ::String, x_moov_version: T.nilable(::String), max_results: T.nilable(::Integer), include_cities: T.nilable(::String), include_states: T.nilable(::String), include_zipcodes: T.nilable(::String), exclude_states: T.nilable(::String), prefer_cities: T.nilable(::String), prefer_states: T.nilable(::String), prefer_zipcodes: T.nilable(::String), prefer_ratio: T.nilable(::Integer), prefer_geolocation: T.nilable(::String), selected: T.nilable(::String), source: T.nilable(::String)).void }
57
+ def initialize(search:, x_moov_version: nil, max_results: nil, include_cities: nil, include_states: nil, include_zipcodes: nil, exclude_states: nil, prefer_cities: nil, prefer_states: nil, prefer_zipcodes: nil, prefer_ratio: nil, prefer_geolocation: nil, selected: nil, source: nil)
57
58
  @search = search
59
+ @x_moov_version = x_moov_version
58
60
  @max_results = max_results
59
61
  @include_cities = include_cities
60
62
  @include_states = include_states
@@ -67,13 +69,13 @@ module Moov
67
69
  @prefer_geolocation = prefer_geolocation
68
70
  @selected = selected
69
71
  @source = source
70
- @x_moov_version = x_moov_version
71
72
  end
72
73
 
73
74
  sig { params(other: T.untyped).returns(T::Boolean) }
74
75
  def ==(other)
75
76
  return false unless other.is_a? self.class
76
77
  return false unless @search == other.search
78
+ return false unless @x_moov_version == other.x_moov_version
77
79
  return false unless @max_results == other.max_results
78
80
  return false unless @include_cities == other.include_cities
79
81
  return false unless @include_states == other.include_states
@@ -86,7 +88,6 @@ module Moov
86
88
  return false unless @prefer_geolocation == other.prefer_geolocation
87
89
  return false unless @selected == other.selected
88
90
  return false unless @source == other.source
89
- return false unless @x_moov_version == other.x_moov_version
90
91
  true
91
92
  end
92
93
  end
@@ -10,6 +10,8 @@ end
10
10
  class Moov::Models::Operations::GetEnrichmentAddressRequest
11
11
  def search(); end
12
12
  def search=(str_); end
13
+ def x_moov_version(); end
14
+ def x_moov_version=(str_); end
13
15
  def max_results(); end
14
16
  def max_results=(str_); end
15
17
  def include_cities(); end
@@ -34,6 +36,4 @@ class Moov::Models::Operations::GetEnrichmentAddressRequest
34
36
  def selected=(str_); end
35
37
  def source(); end
36
38
  def source=(str_); end
37
- def x_moov_version(); end
38
- def x_moov_version=(str_); end
39
39
  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(email: ::String, x_moov_version: T.nilable(::String)).void }
30
- def initialize(email:, x_moov_version: 'v2024.01.00')
31
+ def initialize(email:, x_moov_version: nil)
31
32
  @email = email
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, file_id: ::String, x_moov_version: T.nilable(::String)).void }
32
- def initialize(account_id:, file_id:, x_moov_version: 'v2024.01.00')
33
+ def initialize(account_id:, file_id:, x_moov_version: nil)
33
34
  @account_id = account_id
34
35
  @file_id = file_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, issued_card_id: ::String, x_moov_version: T.nilable(::String)).void }
32
- def initialize(account_id:, issued_card_id:, x_moov_version: 'v2024.01.00')
33
+ def initialize(account_id:, issued_card_id:, x_moov_version: nil)
33
34
  @account_id = account_id
34
35
  @issued_card_id = issued_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, 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, issued_card_id: ::String, x_moov_version: T.nilable(::String)).void }
32
- def initialize(account_id:, issued_card_id:, x_moov_version: 'v2024.01.00')
33
+ def initialize(account_id:, issued_card_id:, x_moov_version: nil)
33
34
  @account_id = account_id
34
35
  @issued_card_id = issued_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, authorization_id: ::String, x_moov_version: T.nilable(::String)).void }
32
- def initialize(account_id:, authorization_id:, x_moov_version: 'v2024.01.00')
33
+ def initialize(account_id:, authorization_id:, x_moov_version: nil)
33
34
  @account_id = account_id
34
35
  @authorization_id = authorization_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, card_transaction_id: ::String, x_moov_version: T.nilable(::String)).void }
32
- def initialize(account_id:, card_transaction_id:, x_moov_version: 'v2024.01.00')
33
+ def initialize(account_id:, card_transaction_id:, x_moov_version: nil)
33
34
  @account_id = account_id
34
35
  @card_transaction_id = card_transaction_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(code: ::String, x_moov_version: T.nilable(::String)).void }
30
- def initialize(code:, x_moov_version: 'v2024.01.00')
31
+ def initialize(code:, x_moov_version: nil)
31
32
  @code = code
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, 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, 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, payment_method_id: ::String, x_moov_version: T.nilable(::String)).void }
32
- def initialize(account_id:, payment_method_id:, x_moov_version: 'v2024.01.00')
33
+ def initialize(account_id:, payment_method_id:, x_moov_version: nil)
33
34
  @account_id = account_id
34
35
  @payment_method_id = payment_method_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, 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
@@ -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(transfer_id: ::String, account_id: ::String, refund_id: ::String, x_moov_version: T.nilable(::String)).void }
34
- def initialize(transfer_id:, account_id:, refund_id:, x_moov_version: 'v2024.01.00')
35
+ def initialize(transfer_id:, account_id:, refund_id:, x_moov_version: nil)
35
36
  @transfer_id = transfer_id
36
37
  @account_id = account_id
37
38
  @refund_id = refund_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, 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
@@ -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, residual_id: ::String, x_moov_version: T.nilable(::String)).void }
32
- def initialize(account_id:, residual_id:, x_moov_version: 'v2024.01.00')
33
+ def initialize(account_id:, residual_id:, x_moov_version: nil)
33
34
  @account_id = account_id
34
35
  @residual_id = residual_id
35
36
  @x_moov_version = x_moov_version
@@ -32,10 +32,11 @@ module Moov
32
32
  # - For example, `v2024.01.00` is the initial release of the first quarter of 2024.
33
33
  #
34
34
  # The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
35
+ # When no version is specified, the API defaults to `v2024.01.00`.
35
36
  field :x_moov_version, Crystalline::Nilable.new(::String), { 'header': { 'field_name': 'X-Moov-Version', 'style': 'simple', 'explode': false } }
36
37
 
37
38
  sig { params(account_id: ::String, schedule_id: ::String, occurrence_filter: ::String, x_moov_version: T.nilable(::String)).void }
38
- def initialize(account_id:, schedule_id:, occurrence_filter:, x_moov_version: 'v2024.01.00')
39
+ def initialize(account_id:, schedule_id:, occurrence_filter:, x_moov_version: nil)
39
40
  @account_id = account_id
40
41
  @schedule_id = schedule_id
41
42
  @occurrence_filter = occurrence_filter
@@ -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, schedule_id: ::String, x_moov_version: T.nilable(::String)).void }
32
- def initialize(account_id:, schedule_id:, x_moov_version: 'v2024.01.00')
33
+ def initialize(account_id:, schedule_id:, x_moov_version: nil)
33
34
  @account_id = account_id
34
35
  @schedule_id = schedule_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, statement_id: ::String, x_moov_version: T.nilable(::String)).void }
32
- def initialize(account_id:, statement_id:, x_moov_version: 'v2024.01.00')
33
+ def initialize(account_id:, statement_id:, x_moov_version: nil)
33
34
  @account_id = account_id
34
35
  @statement_id = statement_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, sweep_id: ::String, x_moov_version: T.nilable(::String)).void }
34
- def initialize(account_id:, wallet_id:, sweep_id:, x_moov_version: 'v2024.01.00')
35
+ def initialize(account_id:, wallet_id:, sweep_id:, x_moov_version: nil)
35
36
  @account_id = account_id
36
37
  @wallet_id = wallet_id
37
38
  @sweep_id = sweep_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, sweep_config_id: ::String, x_moov_version: T.nilable(::String)).void }
32
- def initialize(account_id:, sweep_config_id:, x_moov_version: 'v2024.01.00')
33
+ def initialize(account_id:, sweep_config_id:, x_moov_version: nil)
33
34
  @account_id = account_id
34
35
  @sweep_config_id = sweep_config_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, 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
@@ -13,10 +13,6 @@ module Moov
13
13
  extend T::Sig
14
14
  include Crystalline::MetadataFields
15
15
 
16
- # Indicates the domain from which the request originated. Required if referer header is not present.
17
- field :origin, Crystalline::Nilable.new(::String), { 'header': { 'field_name': 'origin', 'style': 'simple', 'explode': false } }
18
- # Specifies the URL of the resource from which the request originated. Required if origin header is not present.
19
- field :referer, Crystalline::Nilable.new(::String), { 'header': { 'field_name': 'referer', 'style': 'simple', 'explode': false } }
20
16
  # Specify an API version.
21
17
  #
22
18
  # API versioning follows the format `vYYYY.QQ.BB`, where
@@ -26,21 +22,26 @@ module Moov
26
22
  # - For example, `v2024.01.00` is the initial release of the first quarter of 2024.
27
23
  #
28
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`.
29
26
  field :x_moov_version, Crystalline::Nilable.new(::String), { 'header': { 'field_name': 'X-Moov-Version', 'style': 'simple', 'explode': false } }
27
+ # Indicates the domain from which the request originated. Required if referer header is not present.
28
+ field :origin, Crystalline::Nilable.new(::String), { 'header': { 'field_name': 'origin', 'style': 'simple', 'explode': false } }
29
+ # Specifies the URL of the resource from which the request originated. Required if origin header is not present.
30
+ field :referer, Crystalline::Nilable.new(::String), { 'header': { 'field_name': 'referer', 'style': 'simple', 'explode': false } }
30
31
 
31
- sig { params(origin: T.nilable(::String), referer: T.nilable(::String), x_moov_version: T.nilable(::String)).void }
32
- def initialize(origin: nil, referer: nil, x_moov_version: 'v2024.01.00')
32
+ sig { params(x_moov_version: T.nilable(::String), origin: T.nilable(::String), referer: T.nilable(::String)).void }
33
+ def initialize(x_moov_version: nil, origin: nil, referer: nil)
34
+ @x_moov_version = x_moov_version
33
35
  @origin = origin
34
36
  @referer = referer
35
- @x_moov_version = x_moov_version
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
42
+ return false unless @x_moov_version == other.x_moov_version
41
43
  return false unless @origin == other.origin
42
44
  return false unless @referer == other.referer
43
- return false unless @x_moov_version == other.x_moov_version
44
45
  true
45
46
  end
46
47
  end
@@ -8,10 +8,10 @@ end
8
8
 
9
9
 
10
10
  class Moov::Models::Operations::GetTermsOfServiceTokenRequest
11
+ def x_moov_version(); end
12
+ def x_moov_version=(str_); end
11
13
  def origin(); end
12
14
  def origin=(str_); end
13
15
  def referer(); end
14
16
  def referer=(str_); end
15
- def x_moov_version(); end
16
- def x_moov_version=(str_); end
17
17
  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, ticket_id: ::String, x_moov_version: T.nilable(::String)).void }
32
- def initialize(account_id:, ticket_id:, x_moov_version: 'v2024.01.00')
33
+ def initialize(account_id:, ticket_id:, x_moov_version: nil)
33
34
  @account_id = account_id
34
35
  @ticket_id = ticket_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(transfer_id: ::String, account_id: ::String, x_moov_version: T.nilable(::String)).void }
32
- def initialize(transfer_id:, account_id:, x_moov_version: 'v2024.01.00')
33
+ def initialize(transfer_id:, account_id:, x_moov_version: nil)
33
34
  @transfer_id = transfer_id
34
35
  @account_id = account_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