moov_ruby 25.4.3 → 25.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (271) hide show
  1. checksums.yaml +4 -4
  2. data/lib/crystalline/metadata_fields.rb +3 -3
  3. data/lib/crystalline/module.rb +0 -2
  4. data/lib/crystalline/types.rb +0 -27
  5. data/lib/moov/client.rb +2 -1
  6. data/lib/moov/models/components/accounttype.rb +3 -0
  7. data/lib/moov/models/components/accountverificationstatus.rb +2 -0
  8. data/lib/moov/models/components/achcreditsamedaypaymentmethod_paymentmethodtype.rb +2 -0
  9. data/lib/moov/models/components/achcreditstandardpaymentmethod_paymentmethodtype.rb +2 -0
  10. data/lib/moov/models/components/achdebitcollectpaymentmethod_paymentmethodtype.rb +2 -0
  11. data/lib/moov/models/components/achdebitfundpaymentmethod_paymentmethodtype.rb +2 -0
  12. data/lib/moov/models/components/achreturncode.rb +2 -0
  13. data/lib/moov/models/components/achtransactionstatus.rb +2 -0
  14. data/lib/moov/models/components/applepaypaymentmethod_paymentmethodtype.rb +2 -0
  15. data/lib/moov/models/components/applicationscope.rb +2 -0
  16. data/lib/moov/models/components/bankaccountholdertype.rb +3 -0
  17. data/lib/moov/models/components/bankaccountstatus.rb +2 -0
  18. data/lib/moov/models/components/bankaccountstatusreason.rb +2 -0
  19. data/lib/moov/models/components/bankaccounttype.rb +2 -0
  20. data/lib/moov/models/components/bankaccountverificationmethod.rb +2 -0
  21. data/lib/moov/models/components/bankaccountverificationstatus.rb +2 -0
  22. data/lib/moov/models/components/bankaccountwaitfor.rb +2 -0
  23. data/lib/moov/models/components/businesspresence.rb +25 -0
  24. data/lib/moov/models/components/businesspresence.rbi +11 -0
  25. data/lib/moov/models/components/businesstype.rb +2 -0
  26. data/lib/moov/models/components/calltoaction.rb +2 -0
  27. data/lib/moov/models/components/cancellationstatus.rb +2 -0
  28. data/lib/moov/models/components/capabilityid.rb +13 -0
  29. data/lib/moov/models/components/capabilitystatus.rb +2 -0
  30. data/lib/moov/models/components/cardacceptancemethods.rb +40 -0
  31. data/lib/moov/models/components/cardacceptancemethods.rbi +17 -0
  32. data/lib/moov/models/components/cardacceptancemethodserror.rb +40 -0
  33. data/lib/moov/models/components/cardacceptancemethodserror.rbi +17 -0
  34. data/lib/moov/models/components/cardacquiringmodel.rb +2 -0
  35. data/lib/moov/models/components/cardbrand.rb +2 -0
  36. data/lib/moov/models/components/cardissuingnetwork.rb +2 -0
  37. data/lib/moov/models/components/cardpaymentpaymentmethod_paymentmethodtype.rb +2 -0
  38. data/lib/moov/models/components/cardpresentpaymentpaymentmethod_paymentmethodtype.rb +2 -0
  39. data/lib/moov/models/components/cardtransactionfailurecode.rb +2 -0
  40. data/lib/moov/models/components/cardtransactionstatus.rb +2 -0
  41. data/lib/moov/models/components/cardtype.rb +2 -0
  42. data/lib/moov/models/components/cardupdatereason.rb +2 -0
  43. data/lib/moov/models/components/cardverificationresult.rb +2 -0
  44. data/lib/moov/models/components/collectfunds.rb +36 -0
  45. data/lib/moov/models/components/collectfunds.rbi +15 -0
  46. data/lib/moov/models/components/collectfundsach.rb +32 -0
  47. data/lib/moov/models/components/collectfundsach.rbi +13 -0
  48. data/lib/moov/models/components/collectfundsacherror.rb +32 -0
  49. data/lib/moov/models/components/collectfundsacherror.rbi +13 -0
  50. data/lib/moov/models/components/collectfundscardpayments.rb +48 -0
  51. data/lib/moov/models/components/collectfundscardpayments.rbi +21 -0
  52. data/lib/moov/models/components/collectfundscardpaymentserror.rb +48 -0
  53. data/lib/moov/models/components/collectfundscardpaymentserror.rbi +21 -0
  54. data/lib/moov/models/components/collectfundserror.rb +36 -0
  55. data/lib/moov/models/components/collectfundserror.rbi +15 -0
  56. data/lib/moov/models/components/collectionpaymentmethodtype.rb +2 -0
  57. data/lib/moov/models/components/createaccount.rb +3 -3
  58. data/lib/moov/models/components/createaccounttype.rb +21 -0
  59. data/lib/moov/models/components/createaccounttype.rbi +11 -0
  60. data/lib/moov/models/components/createpaymentlinklineitem.rb +2 -6
  61. data/lib/moov/models/components/createpaymentlinklineitemoption.rb +1 -4
  62. data/lib/moov/models/components/createscheduledtransferlineitem.rb +1 -2
  63. data/lib/moov/models/components/createticket.rb +48 -0
  64. data/lib/moov/models/components/createticket.rbi +21 -0
  65. data/lib/moov/models/components/createticketcontacterror.rb +36 -0
  66. data/lib/moov/models/components/createticketcontacterror.rbi +15 -0
  67. data/lib/moov/models/components/createtransferlineitem.rb +1 -2
  68. data/lib/moov/models/components/debitholdperiod.rb +2 -0
  69. data/lib/moov/models/components/disbursementpaymentmethodtype.rb +2 -0
  70. data/lib/moov/models/components/disputephase.rb +2 -0
  71. data/lib/moov/models/components/disputestatus.rb +2 -0
  72. data/lib/moov/models/components/documenttype.rb +2 -0
  73. data/lib/moov/models/components/domesticpullfromcard.rb +2 -0
  74. data/lib/moov/models/components/domesticpushtocard.rb +2 -0
  75. data/lib/moov/models/components/enrichedindustries.rb +2 -2
  76. data/lib/moov/models/components/entrymode.rb +2 -0
  77. data/lib/moov/models/components/estimatedactivity.rb +40 -0
  78. data/lib/moov/models/components/estimatedactivity.rbi +17 -0
  79. data/lib/moov/models/components/estimatedactivityerror.rb +40 -0
  80. data/lib/moov/models/components/estimatedactivityerror.rbi +17 -0
  81. data/lib/moov/models/components/evidencetype.rb +2 -0
  82. data/lib/moov/models/components/feecategory.rb +2 -0
  83. data/lib/moov/models/components/feemodel.rb +2 -0
  84. data/lib/moov/models/components/feeplanagreementstatus.rb +2 -0
  85. data/lib/moov/models/components/filepurpose.rb +2 -0
  86. data/lib/moov/models/components/filestatus.rb +2 -0
  87. data/lib/moov/models/components/fulfillment.rb +36 -0
  88. data/lib/moov/models/components/fulfillment.rbi +15 -0
  89. data/lib/moov/models/components/fulfillmenterror.rb +36 -0
  90. data/lib/moov/models/components/fulfillmenterror.rbi +15 -0
  91. data/lib/moov/models/components/fulfillmentmethod.rb +28 -0
  92. data/lib/moov/models/components/fulfillmentmethod.rbi +11 -0
  93. data/lib/moov/models/components/fulfillmenttimeframe.rb +27 -0
  94. data/lib/moov/models/components/fulfillmenttimeframe.rbi +11 -0
  95. data/lib/moov/models/components/geographicreach.rb +22 -0
  96. data/lib/moov/models/components/geographicreach.rbi +11 -0
  97. data/lib/moov/models/components/granttype.rb +2 -0
  98. data/lib/moov/models/components/guestprofile.rb +41 -0
  99. data/lib/moov/models/components/guestprofile.rbi +17 -0
  100. data/lib/moov/models/components/imagemetadata.rb +1 -1
  101. data/lib/moov/models/components/industrytaxonomy.rb +48 -0
  102. data/lib/moov/models/components/industrytaxonomy.rbi +21 -0
  103. data/lib/moov/models/components/invoicestatus.rb +2 -0
  104. data/lib/moov/models/components/issuedcardauthorizationeventresult.rb +2 -0
  105. data/lib/moov/models/components/issuedcardeventtype.rb +2 -0
  106. data/lib/moov/models/components/issuedcardformfactor.rb +2 -0
  107. data/lib/moov/models/components/issuedcardstate.rb +2 -0
  108. data/lib/moov/models/components/issuingauthorizationstatus.rb +2 -0
  109. data/lib/moov/models/components/issuingintervallimit.rb +2 -0
  110. data/lib/moov/models/components/itemlistnextpage.rb +32 -0
  111. data/lib/moov/models/components/itemlistnextpage.rbi +13 -0
  112. data/lib/moov/models/components/kind.rb +2 -0
  113. data/lib/moov/models/components/linkcardwaitfor.rb +2 -0
  114. data/lib/moov/models/components/microdepositstatus.rb +2 -0
  115. data/lib/moov/models/components/mode.rb +2 -0
  116. data/lib/moov/models/components/moneytransfer.rb +36 -0
  117. data/lib/moov/models/components/moneytransfer.rbi +15 -0
  118. data/lib/moov/models/components/moneytransfererror.rb +36 -0
  119. data/lib/moov/models/components/moneytransfererror.rbi +15 -0
  120. data/lib/moov/models/components/moneytransferpullfromcard.rb +32 -0
  121. data/lib/moov/models/components/moneytransferpullfromcard.rbi +13 -0
  122. data/lib/moov/models/components/moneytransferpullfromcarderror.rb +32 -0
  123. data/lib/moov/models/components/moneytransferpullfromcarderror.rbi +13 -0
  124. data/lib/moov/models/components/moneytransferpushtocard.rb +32 -0
  125. data/lib/moov/models/components/moneytransferpushtocard.rbi +13 -0
  126. data/lib/moov/models/components/moneytransferpushtocarderror.rb +32 -0
  127. data/lib/moov/models/components/moneytransferpushtocarderror.rbi +13 -0
  128. data/lib/moov/models/components/monthlyvolumerange.rb +27 -0
  129. data/lib/moov/models/components/monthlyvolumerange.rbi +11 -0
  130. data/lib/moov/models/components/moovwalletpaymentmethod_paymentmethodtype.rb +2 -0
  131. data/lib/moov/models/components/occurrencestatus.rb +2 -0
  132. data/lib/moov/models/components/paymentlinkstatus.rb +2 -0
  133. data/lib/moov/models/components/paymentlinktype.rb +2 -0
  134. data/lib/moov/models/components/paymentmethodtype.rb +2 -0
  135. data/lib/moov/models/components/pendinglitigation.rb +29 -0
  136. data/lib/moov/models/components/pendinglitigation.rbi +11 -0
  137. data/lib/moov/models/components/primaryregulator.rb +2 -0
  138. data/lib/moov/models/components/profile.rb +6 -2
  139. data/lib/moov/models/components/profile.rbi +2 -0
  140. data/lib/moov/models/components/pullfromcardpaymentmethod_paymentmethodtype.rb +2 -0
  141. data/lib/moov/models/components/pushtocardpaymentmethod_paymentmethodtype.rb +2 -0
  142. data/lib/moov/models/components/receiptkind.rb +2 -0
  143. data/lib/moov/models/components/refundcardstatus.rb +2 -0
  144. data/lib/moov/models/components/refundpolicy.rb +28 -0
  145. data/lib/moov/models/components/refundpolicy.rbi +11 -0
  146. data/lib/moov/models/components/refundstatus.rb +2 -0
  147. data/lib/moov/models/components/requirementerrorcode.rb +2 -0
  148. data/lib/moov/models/components/requirementid.rb +56 -0
  149. data/lib/moov/models/components/returnpolicytype.rb +2 -0
  150. data/lib/moov/models/components/rtpcreditpaymentmethod_paymentmethodtype.rb +2 -0
  151. data/lib/moov/models/components/rtpfailurecode.rb +2 -0
  152. data/lib/moov/models/components/rtprejectioncode.rb +2 -0
  153. data/lib/moov/models/components/rtptransactionstatus.rb +2 -0
  154. data/lib/moov/models/components/seccode.rb +2 -0
  155. data/lib/moov/models/components/sendfunds.rb +44 -0
  156. data/lib/moov/models/components/sendfunds.rbi +19 -0
  157. data/lib/moov/models/components/sendfundsach.rb +32 -0
  158. data/lib/moov/models/components/sendfundsach.rbi +13 -0
  159. data/lib/moov/models/components/sendfundsacherror.rb +32 -0
  160. data/lib/moov/models/components/sendfundsacherror.rbi +13 -0
  161. data/lib/moov/models/components/sendfundserror.rb +44 -0
  162. data/lib/moov/models/components/sendfundserror.rbi +19 -0
  163. data/lib/moov/models/components/sendfundsinstantbank.rb +32 -0
  164. data/lib/moov/models/components/sendfundsinstantbank.rbi +13 -0
  165. data/lib/moov/models/components/sendfundsinstantbankerror.rb +32 -0
  166. data/lib/moov/models/components/sendfundsinstantbankerror.rbi +13 -0
  167. data/lib/moov/models/components/sendfundspushtocard.rb +32 -0
  168. data/lib/moov/models/components/sendfundspushtocard.rbi +13 -0
  169. data/lib/moov/models/components/sendfundspushtocarderror.rb +32 -0
  170. data/lib/moov/models/components/sendfundspushtocarderror.rbi +13 -0
  171. data/lib/moov/models/components/sendfundsrtp.rb +32 -0
  172. data/lib/moov/models/components/sendfundsrtp.rbi +13 -0
  173. data/lib/moov/models/components/sendfundsrtperror.rb +32 -0
  174. data/lib/moov/models/components/sendfundsrtperror.rbi +13 -0
  175. data/lib/moov/models/components/status.rb +2 -0
  176. data/lib/moov/models/components/submissionintent.rb +21 -0
  177. data/lib/moov/models/components/submissionintent.rbi +11 -0
  178. data/lib/moov/models/components/sweepconfigstatus.rb +2 -0
  179. data/lib/moov/models/components/sweepstatus.rb +2 -0
  180. data/lib/moov/models/components/terminalapplicationplatform.rb +2 -0
  181. data/lib/moov/models/components/terminalapplicationstatus.rb +2 -0
  182. data/lib/moov/models/components/ticket.rb +68 -0
  183. data/lib/moov/models/components/ticket.rbi +31 -0
  184. data/lib/moov/models/components/ticketcontact.rb +36 -0
  185. data/lib/moov/models/components/ticketcontact.rbi +15 -0
  186. data/lib/moov/models/components/ticketmessage.rb +40 -0
  187. data/lib/moov/models/components/ticketmessage.rbi +17 -0
  188. data/lib/moov/models/components/ticketstatus.rb +2 -0
  189. data/lib/moov/models/components/token_type_hint.rb +2 -0
  190. data/lib/moov/models/components/tokentype.rb +2 -0
  191. data/lib/moov/models/components/transactionsource.rb +2 -0
  192. data/lib/moov/models/components/transferfailurereason.rb +2 -0
  193. data/lib/moov/models/components/transferparty.rb +2 -0
  194. data/lib/moov/models/components/transfersource.rb +1 -1
  195. data/lib/moov/models/components/transferstatus.rb +2 -0
  196. data/lib/moov/models/components/transferwaitfor.rb +2 -0
  197. data/lib/moov/models/components/underwriting.rb +37 -9
  198. data/lib/moov/models/components/underwriting.rbi +14 -0
  199. data/lib/moov/models/components/underwritingstatus.rb +2 -0
  200. data/lib/moov/models/components/updateissuedcardstate.rb +2 -0
  201. data/lib/moov/models/components/updateticket.rb +32 -0
  202. data/lib/moov/models/components/updateticket.rbi +13 -0
  203. data/lib/moov/models/components/updateticketstatus.rb +20 -0
  204. data/lib/moov/models/components/updateticketstatus.rbi +11 -0
  205. data/lib/moov/models/components/upsertunderwriting.rb +60 -0
  206. data/lib/moov/models/components/upsertunderwriting.rbi +27 -0
  207. data/lib/moov/models/components/use.rb +2 -0
  208. data/lib/moov/models/components/verificationstatus.rb +2 -0
  209. data/lib/moov/models/components/verificationstatusdetail.rb +2 -0
  210. data/lib/moov/models/components/volumesharebycustomertype.rb +40 -0
  211. data/lib/moov/models/components/volumesharebycustomertype.rbi +17 -0
  212. data/lib/moov/models/components/volumesharebycustomertypeerror.rb +40 -0
  213. data/lib/moov/models/components/volumesharebycustomertypeerror.rbi +17 -0
  214. data/lib/moov/models/components/walletstatus.rb +2 -0
  215. data/lib/moov/models/components/wallettransactionsourcetype.rb +2 -0
  216. data/lib/moov/models/components/wallettransactionstatus.rb +2 -0
  217. data/lib/moov/models/components/wallettransactiontype.rb +2 -0
  218. data/lib/moov/models/components/wallettype.rb +2 -0
  219. data/lib/moov/models/components/webhookdatatransferstatus.rb +2 -0
  220. data/lib/moov/models/components/webhookeventtype.rb +2 -0
  221. data/lib/moov/models/components/webhookstatus.rb +2 -0
  222. data/lib/moov/models/components.rb +50 -1
  223. data/lib/moov/models/errors/createticketerror.rb +52 -0
  224. data/lib/moov/models/errors/createticketerror.rbi +23 -0
  225. data/lib/moov/models/errors/updateticketerror.rb +36 -0
  226. data/lib/moov/models/errors/updateticketerror.rbi +15 -0
  227. data/lib/moov/models/errors/upsertunderwritingerror.rb +88 -0
  228. data/lib/moov/models/errors/upsertunderwritingerror.rbi +41 -0
  229. data/lib/moov/models/errors.rb +3 -0
  230. data/lib/moov/models/operations/createticket_request.rb +49 -0
  231. data/lib/moov/models/operations/createticket_request.rbi +17 -0
  232. data/lib/moov/models/operations/createticket_response.rb +48 -0
  233. data/lib/moov/models/operations/createticket_response.rbi +21 -0
  234. data/lib/moov/models/operations/createtransfer_request.rb +2 -2
  235. data/lib/moov/models/operations/getscheduledoccurrence_request.rb +4 -4
  236. data/lib/moov/models/operations/getticket_request.rb +49 -0
  237. data/lib/moov/models/operations/getticket_request.rbi +17 -0
  238. data/lib/moov/models/operations/getticket_response.rb +48 -0
  239. data/lib/moov/models/operations/getticket_response.rbi +21 -0
  240. data/lib/moov/models/operations/hydrate.rb +2 -0
  241. data/lib/moov/models/operations/listaccounts_request.rb +2 -2
  242. data/lib/moov/models/operations/listconnectedaccountsforaccount_request.rb +2 -2
  243. data/lib/moov/models/operations/listticketmessages_request.rb +49 -0
  244. data/lib/moov/models/operations/listticketmessages_request.rbi +17 -0
  245. data/lib/moov/models/operations/listticketmessages_response.rb +48 -0
  246. data/lib/moov/models/operations/listticketmessages_response.rbi +21 -0
  247. data/lib/moov/models/operations/listtickets_request.rb +61 -0
  248. data/lib/moov/models/operations/listtickets_request.rbi +23 -0
  249. data/lib/moov/models/operations/listtickets_response.rb +48 -0
  250. data/lib/moov/models/operations/listtickets_response.rbi +21 -0
  251. data/lib/moov/models/operations/listtickets_responsebody.rb +36 -0
  252. data/lib/moov/models/operations/listtickets_responsebody.rbi +15 -0
  253. data/lib/moov/models/operations/saveunderwriting_request.rb +49 -0
  254. data/lib/moov/models/operations/saveunderwriting_request.rbi +17 -0
  255. data/lib/moov/models/operations/saveunderwriting_response.rb +48 -0
  256. data/lib/moov/models/operations/saveunderwriting_response.rbi +21 -0
  257. data/lib/moov/models/operations/updateticket_request.rb +53 -0
  258. data/lib/moov/models/operations/updateticket_request.rbi +19 -0
  259. data/lib/moov/models/operations/updateticket_response.rb +48 -0
  260. data/lib/moov/models/operations/updateticket_response.rbi +21 -0
  261. data/lib/moov/models/operations.rb +13 -0
  262. data/lib/moov/sdkconfiguration.rb +4 -4
  263. data/lib/moov/support.rb +748 -0
  264. data/lib/moov/underwriting.rb +166 -0
  265. data/lib/moov/utils/url.rb +1 -1
  266. data/lib/moov/utils/utils.rb +0 -12
  267. data/lib/moov_ruby.rb +1 -0
  268. metadata +135 -5
  269. data/lib/crystalline/enum.rbi +0 -17
  270. data/lib/moov/models/components/enrichedindustry.rb +0 -44
  271. data/lib/moov/models/components/enrichedindustry.rbi +0 -19
@@ -0,0 +1,13 @@
1
+ # typed: true
2
+ # frozen_string_literal: true
3
+
4
+
5
+ class Moov::Models::Components::ItemListNextPage
6
+ extend ::Crystalline::MetadataFields::ClassMethods
7
+ end
8
+
9
+
10
+ class Moov::Models::Components::ItemListNextPage
11
+ def cursor(); end
12
+ def cursor=(str_); end
13
+ end
@@ -9,6 +9,8 @@ module Moov
9
9
  module Components
10
10
  # Kind - The type of receipt being requested.
11
11
  class Kind < T::Enum
12
+
13
+
12
14
  enums do
13
15
  SALE_CUSTOMER_V1 = new('sale.customer.v1')
14
16
  end
@@ -9,6 +9,8 @@ module Moov
9
9
  module Components
10
10
 
11
11
  class LinkCardWaitFor < T::Enum
12
+
13
+
12
14
  enums do
13
15
  PAYMENT_METHOD = new('payment-method')
14
16
  end
@@ -9,6 +9,8 @@ module Moov
9
9
  module Components
10
10
 
11
11
  class MicroDepositStatus < T::Enum
12
+
13
+
12
14
  enums do
13
15
  VERIFIED = new('verified')
14
16
  end
@@ -9,6 +9,8 @@ module Moov
9
9
  module Components
10
10
  # Mode - The operating mode for an account.
11
11
  class Mode < T::Enum
12
+
13
+
12
14
  enums do
13
15
  SANDBOX = new('sandbox')
14
16
  PRODUCTION = new('production')
@@ -0,0 +1,36 @@
1
+ # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module Moov
8
+ module Models
9
+ module Components
10
+
11
+ class MoneyTransfer
12
+ extend T::Sig
13
+ include Crystalline::MetadataFields
14
+
15
+
16
+ field :pull_from_card, Crystalline::Nilable.new(Models::Components::MoneyTransferPullFromCard), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('pullFromCard') } }
17
+
18
+ field :push_to_card, Crystalline::Nilable.new(Models::Components::MoneyTransferPushToCard), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('pushToCard') } }
19
+
20
+ sig { params(pull_from_card: T.nilable(Models::Components::MoneyTransferPullFromCard), push_to_card: T.nilable(Models::Components::MoneyTransferPushToCard)).void }
21
+ def initialize(pull_from_card: nil, push_to_card: nil)
22
+ @pull_from_card = pull_from_card
23
+ @push_to_card = push_to_card
24
+ end
25
+
26
+ sig { params(other: T.untyped).returns(T::Boolean) }
27
+ def ==(other)
28
+ return false unless other.is_a? self.class
29
+ return false unless @pull_from_card == other.pull_from_card
30
+ return false unless @push_to_card == other.push_to_card
31
+ true
32
+ end
33
+ end
34
+ end
35
+ end
36
+ end
@@ -0,0 +1,15 @@
1
+ # typed: true
2
+ # frozen_string_literal: true
3
+
4
+
5
+ class Moov::Models::Components::MoneyTransfer
6
+ extend ::Crystalline::MetadataFields::ClassMethods
7
+ end
8
+
9
+
10
+ class Moov::Models::Components::MoneyTransfer
11
+ def pull_from_card(); end
12
+ def pull_from_card=(str_); end
13
+ def push_to_card(); end
14
+ def push_to_card=(str_); end
15
+ end
@@ -0,0 +1,36 @@
1
+ # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module Moov
8
+ module Models
9
+ module Components
10
+
11
+ class MoneyTransferError
12
+ extend T::Sig
13
+ include Crystalline::MetadataFields
14
+
15
+
16
+ field :pull_from_card, Crystalline::Nilable.new(Models::Components::MoneyTransferPullFromCardError), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('pullFromCard') } }
17
+
18
+ field :push_to_card, Crystalline::Nilable.new(Models::Components::MoneyTransferPushToCardError), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('pushToCard') } }
19
+
20
+ sig { params(pull_from_card: T.nilable(Models::Components::MoneyTransferPullFromCardError), push_to_card: T.nilable(Models::Components::MoneyTransferPushToCardError)).void }
21
+ def initialize(pull_from_card: nil, push_to_card: nil)
22
+ @pull_from_card = pull_from_card
23
+ @push_to_card = push_to_card
24
+ end
25
+
26
+ sig { params(other: T.untyped).returns(T::Boolean) }
27
+ def ==(other)
28
+ return false unless other.is_a? self.class
29
+ return false unless @pull_from_card == other.pull_from_card
30
+ return false unless @push_to_card == other.push_to_card
31
+ true
32
+ end
33
+ end
34
+ end
35
+ end
36
+ end
@@ -0,0 +1,15 @@
1
+ # typed: true
2
+ # frozen_string_literal: true
3
+
4
+
5
+ class Moov::Models::Components::MoneyTransferError
6
+ extend ::Crystalline::MetadataFields::ClassMethods
7
+ end
8
+
9
+
10
+ class Moov::Models::Components::MoneyTransferError
11
+ def pull_from_card(); end
12
+ def pull_from_card=(str_); end
13
+ def push_to_card(); end
14
+ def push_to_card=(str_); end
15
+ end
@@ -0,0 +1,32 @@
1
+ # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module Moov
8
+ module Models
9
+ module Components
10
+
11
+ class MoneyTransferPullFromCard
12
+ extend T::Sig
13
+ include Crystalline::MetadataFields
14
+
15
+
16
+ field :estimated_activity, Crystalline::Nilable.new(Models::Components::EstimatedActivity), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('estimatedActivity') } }
17
+
18
+ sig { params(estimated_activity: T.nilable(Models::Components::EstimatedActivity)).void }
19
+ def initialize(estimated_activity: nil)
20
+ @estimated_activity = estimated_activity
21
+ end
22
+
23
+ sig { params(other: T.untyped).returns(T::Boolean) }
24
+ def ==(other)
25
+ return false unless other.is_a? self.class
26
+ return false unless @estimated_activity == other.estimated_activity
27
+ true
28
+ end
29
+ end
30
+ end
31
+ end
32
+ end
@@ -0,0 +1,13 @@
1
+ # typed: true
2
+ # frozen_string_literal: true
3
+
4
+
5
+ class Moov::Models::Components::MoneyTransferPullFromCard
6
+ extend ::Crystalline::MetadataFields::ClassMethods
7
+ end
8
+
9
+
10
+ class Moov::Models::Components::MoneyTransferPullFromCard
11
+ def estimated_activity(); end
12
+ def estimated_activity=(str_); end
13
+ end
@@ -0,0 +1,32 @@
1
+ # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module Moov
8
+ module Models
9
+ module Components
10
+
11
+ class MoneyTransferPullFromCardError
12
+ extend T::Sig
13
+ include Crystalline::MetadataFields
14
+
15
+
16
+ field :estimated_activity, Crystalline::Nilable.new(Models::Components::EstimatedActivityError), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('estimatedActivity') } }
17
+
18
+ sig { params(estimated_activity: T.nilable(Models::Components::EstimatedActivityError)).void }
19
+ def initialize(estimated_activity: nil)
20
+ @estimated_activity = estimated_activity
21
+ end
22
+
23
+ sig { params(other: T.untyped).returns(T::Boolean) }
24
+ def ==(other)
25
+ return false unless other.is_a? self.class
26
+ return false unless @estimated_activity == other.estimated_activity
27
+ true
28
+ end
29
+ end
30
+ end
31
+ end
32
+ end
@@ -0,0 +1,13 @@
1
+ # typed: true
2
+ # frozen_string_literal: true
3
+
4
+
5
+ class Moov::Models::Components::MoneyTransferPullFromCardError
6
+ extend ::Crystalline::MetadataFields::ClassMethods
7
+ end
8
+
9
+
10
+ class Moov::Models::Components::MoneyTransferPullFromCardError
11
+ def estimated_activity(); end
12
+ def estimated_activity=(str_); end
13
+ end
@@ -0,0 +1,32 @@
1
+ # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module Moov
8
+ module Models
9
+ module Components
10
+
11
+ class MoneyTransferPushToCard
12
+ extend T::Sig
13
+ include Crystalline::MetadataFields
14
+
15
+
16
+ field :estimated_activity, Crystalline::Nilable.new(Models::Components::EstimatedActivity), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('estimatedActivity') } }
17
+
18
+ sig { params(estimated_activity: T.nilable(Models::Components::EstimatedActivity)).void }
19
+ def initialize(estimated_activity: nil)
20
+ @estimated_activity = estimated_activity
21
+ end
22
+
23
+ sig { params(other: T.untyped).returns(T::Boolean) }
24
+ def ==(other)
25
+ return false unless other.is_a? self.class
26
+ return false unless @estimated_activity == other.estimated_activity
27
+ true
28
+ end
29
+ end
30
+ end
31
+ end
32
+ end
@@ -0,0 +1,13 @@
1
+ # typed: true
2
+ # frozen_string_literal: true
3
+
4
+
5
+ class Moov::Models::Components::MoneyTransferPushToCard
6
+ extend ::Crystalline::MetadataFields::ClassMethods
7
+ end
8
+
9
+
10
+ class Moov::Models::Components::MoneyTransferPushToCard
11
+ def estimated_activity(); end
12
+ def estimated_activity=(str_); end
13
+ end
@@ -0,0 +1,32 @@
1
+ # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module Moov
8
+ module Models
9
+ module Components
10
+
11
+ class MoneyTransferPushToCardError
12
+ extend T::Sig
13
+ include Crystalline::MetadataFields
14
+
15
+
16
+ field :estimated_activity, Crystalline::Nilable.new(Models::Components::EstimatedActivityError), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('estimatedActivity') } }
17
+
18
+ sig { params(estimated_activity: T.nilable(Models::Components::EstimatedActivityError)).void }
19
+ def initialize(estimated_activity: nil)
20
+ @estimated_activity = estimated_activity
21
+ end
22
+
23
+ sig { params(other: T.untyped).returns(T::Boolean) }
24
+ def ==(other)
25
+ return false unless other.is_a? self.class
26
+ return false unless @estimated_activity == other.estimated_activity
27
+ true
28
+ end
29
+ end
30
+ end
31
+ end
32
+ end
@@ -0,0 +1,13 @@
1
+ # typed: true
2
+ # frozen_string_literal: true
3
+
4
+
5
+ class Moov::Models::Components::MoneyTransferPushToCardError
6
+ extend ::Crystalline::MetadataFields::ClassMethods
7
+ end
8
+
9
+
10
+ class Moov::Models::Components::MoneyTransferPushToCardError
11
+ def estimated_activity(); end
12
+ def estimated_activity=(str_); end
13
+ end
@@ -0,0 +1,27 @@
1
+ # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module Moov
8
+ module Models
9
+ module Components
10
+ # MonthlyVolumeRange - The low value in each range is included. The high value in each range is excluded.
11
+ class MonthlyVolumeRange < T::Enum
12
+
13
+
14
+ enums do
15
+ UNDER_10K = new('under-10k')
16
+ TENK_50K = new('10k-50k')
17
+ FIFTYK_100K = new('50k-100k')
18
+ ONE_HUNDREDK_250K = new('100k-250k')
19
+ TWO_HUNDRED_AND_FIFTYK_500K = new('250k-500k')
20
+ FIVE_HUNDREDK_1M = new('500k-1m')
21
+ ONEM_5M = new('1m-5m')
22
+ OVER_5M = new('over-5m')
23
+ end
24
+ end
25
+ end
26
+ end
27
+ end
@@ -0,0 +1,11 @@
1
+ # typed: true
2
+ # frozen_string_literal: true
3
+
4
+
5
+ class Moov::Models::Components::MonthlyVolumeRange
6
+ extend ::Crystalline::MetadataFields::ClassMethods
7
+ end
8
+
9
+
10
+ class Moov::Models::Components::MonthlyVolumeRange
11
+ end
@@ -9,6 +9,8 @@ module Moov
9
9
  module Components
10
10
 
11
11
  class MoovWalletPaymentMethodPaymentMethodType < T::Enum
12
+
13
+
12
14
  enums do
13
15
  MOOV_WALLET = new('moov-wallet')
14
16
  end
@@ -9,6 +9,8 @@ module Moov
9
9
  module Components
10
10
  # OccurrenceStatus - Status of the completed occurrence.
11
11
  class OccurrenceStatus < T::Enum
12
+
13
+
12
14
  enums do
13
15
  PENDING = new('pending')
14
16
  FAILED = new('failed')
@@ -9,6 +9,8 @@ module Moov
9
9
  module Components
10
10
 
11
11
  class PaymentLinkStatus < T::Enum
12
+
13
+
12
14
  enums do
13
15
  ACTIVE = new('active')
14
16
  USED = new('used')
@@ -9,6 +9,8 @@ module Moov
9
9
  module Components
10
10
 
11
11
  class PaymentLinkType < T::Enum
12
+
13
+
12
14
  enums do
13
15
  PAYMENT = new('payment')
14
16
  PAYOUT = new('payout')
@@ -9,6 +9,8 @@ module Moov
9
9
  module Components
10
10
  # PaymentMethodType - The payment method type that represents a payment rail and directionality
11
11
  class PaymentMethodType < T::Enum
12
+
13
+
12
14
  enums do
13
15
  MOOV_WALLET = new('moov-wallet')
14
16
  ACH_DEBIT_FUND = new('ach-debit-fund')
@@ -0,0 +1,29 @@
1
+ # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module Moov
8
+ module Models
9
+ module Components
10
+
11
+ class PendingLitigation < T::Enum
12
+
13
+
14
+ enums do
15
+ BANKRUPTCY_OR_INSOLVENCY = new('bankruptcy-or-insolvency')
16
+ CONSUMER_PROTECTION_OR_CLASS_ACTION = new('consumer-protection-or-class-action')
17
+ DATA_BREACH_OR_PRIVACY = new('data-breach-or-privacy')
18
+ EMPLOYMENT_OR_WORKPLACE_DISPUTES = new('employment-or-workplace-disputes')
19
+ FRAUD_OR_FINANCIAL_CRIME = new('fraud-or-financial-crime')
20
+ GOVERNMENT_ENFORCEMENT_OR_INVESTIGATION = new('government-enforcement-or-investigation')
21
+ INTELLECTUAL_PROPERTY = new('intellectual-property')
22
+ NONE = new('none')
23
+ OTHER = new('other')
24
+ PERSONAL_INJURY_OR_MEDICAL = new('personal-injury-or-medical')
25
+ end
26
+ end
27
+ end
28
+ end
29
+ end
@@ -0,0 +1,11 @@
1
+ # typed: true
2
+ # frozen_string_literal: true
3
+
4
+
5
+ class Moov::Models::Components::PendingLitigation
6
+ extend ::Crystalline::MetadataFields::ClassMethods
7
+ end
8
+
9
+
10
+ class Moov::Models::Components::PendingLitigation
11
+ end
@@ -9,6 +9,8 @@ module Moov
9
9
  module Components
10
10
  # PrimaryRegulator - If the business is a financial institution, this field describes its primary regulator.
11
11
  class PrimaryRegulator < T::Enum
12
+
13
+
12
14
  enums do
13
15
  OCC = new('OCC')
14
16
  FDIC = new('FDIC')
@@ -16,11 +16,14 @@ module Moov
16
16
  field :individual, Crystalline::Nilable.new(Models::Components::IndividualProfile), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('individual') } }
17
17
  # Describes a business.
18
18
  field :business, Crystalline::Nilable.new(Models::Components::BusinessProfile), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('business') } }
19
+ # Describes a guest account profile.
20
+ field :guest, Crystalline::Nilable.new(Models::Components::GuestProfile), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('guest') } }
19
21
 
20
- sig { params(individual: T.nilable(Models::Components::IndividualProfile), business: T.nilable(Models::Components::BusinessProfile)).void }
21
- def initialize(individual: nil, business: nil)
22
+ sig { params(individual: T.nilable(Models::Components::IndividualProfile), business: T.nilable(Models::Components::BusinessProfile), guest: T.nilable(Models::Components::GuestProfile)).void }
23
+ def initialize(individual: nil, business: nil, guest: nil)
22
24
  @individual = individual
23
25
  @business = business
26
+ @guest = guest
24
27
  end
25
28
 
26
29
  sig { params(other: T.untyped).returns(T::Boolean) }
@@ -28,6 +31,7 @@ module Moov
28
31
  return false unless other.is_a? self.class
29
32
  return false unless @individual == other.individual
30
33
  return false unless @business == other.business
34
+ return false unless @guest == other.guest
31
35
  true
32
36
  end
33
37
  end
@@ -12,4 +12,6 @@ class Moov::Models::Components::Profile
12
12
  def individual=(str_); end
13
13
  def business(); end
14
14
  def business=(str_); end
15
+ def guest(); end
16
+ def guest=(str_); end
15
17
  end
@@ -9,6 +9,8 @@ module Moov
9
9
  module Components
10
10
 
11
11
  class PullFromCardPaymentMethodPaymentMethodType < T::Enum
12
+
13
+
12
14
  enums do
13
15
  PULL_FROM_CARD = new('pull-from-card')
14
16
  end
@@ -9,6 +9,8 @@ module Moov
9
9
  module Components
10
10
 
11
11
  class PushToCardPaymentMethodPaymentMethodType < T::Enum
12
+
13
+
12
14
  enums do
13
15
  PUSH_TO_CARD = new('push-to-card')
14
16
  end
@@ -9,6 +9,8 @@ module Moov
9
9
  module Components
10
10
  # ReceiptKind - The type of receipt being requested.
11
11
  class ReceiptKind < T::Enum
12
+
13
+
12
14
  enums do
13
15
  SALE_CUSTOMER_V1 = new('sale.customer.v1')
14
16
  end
@@ -9,6 +9,8 @@ module Moov
9
9
  module Components
10
10
 
11
11
  class RefundCardStatus < T::Enum
12
+
13
+
12
14
  enums do
13
15
  INITIATED = new('initiated')
14
16
  CONFIRMED = new('confirmed')
@@ -0,0 +1,28 @@
1
+ # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module Moov
8
+ module Models
9
+ module Components
10
+
11
+ class RefundPolicy < T::Enum
12
+
13
+
14
+ enums do
15
+ CONDITIONAL_REFUND = new('conditional-refund')
16
+ CUSTOM_POLICY = new('custom-policy')
17
+ EVENT_BASED_POLICY = new('event-based-policy')
18
+ FULL_REFUND_EXTENDED_WINDOW = new('full-refund-extended-window')
19
+ FULL_REFUND_WITHIN_30_DAYS = new('full-refund-within-30-days')
20
+ NO_REFUNDS = new('no-refunds')
21
+ PARTIAL_REFUND = new('partial-refund')
22
+ PRORATED_REFUND = new('prorated-refund')
23
+ STORE_CREDIT_ONLY = new('store-credit-only')
24
+ end
25
+ end
26
+ end
27
+ end
28
+ end
@@ -0,0 +1,11 @@
1
+ # typed: true
2
+ # frozen_string_literal: true
3
+
4
+
5
+ class Moov::Models::Components::RefundPolicy
6
+ extend ::Crystalline::MetadataFields::ClassMethods
7
+ end
8
+
9
+
10
+ class Moov::Models::Components::RefundPolicy
11
+ end
@@ -9,6 +9,8 @@ module Moov
9
9
  module Components
10
10
 
11
11
  class RefundStatus < T::Enum
12
+
13
+
12
14
  enums do
13
15
  CREATED = new('created')
14
16
  PENDING = new('pending')
@@ -9,6 +9,8 @@ module Moov
9
9
  module Components
10
10
 
11
11
  class RequirementErrorCode < T::Enum
12
+
13
+
12
14
  enums do
13
15
  INVALID_VALUE = new('invalid-value')
14
16
  FAILED_AUTOMATIC_VERIFICATION = new('failed-automatic-verification')