moovio_sdk 0.3.8__py3-none-any.whl

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 (586) hide show
  1. moovio_sdk/__init__.py +17 -0
  2. moovio_sdk/_hooks/__init__.py +5 -0
  3. moovio_sdk/_hooks/registration.py +13 -0
  4. moovio_sdk/_hooks/sdkhooks.py +76 -0
  5. moovio_sdk/_hooks/types.py +106 -0
  6. moovio_sdk/_version.py +15 -0
  7. moovio_sdk/accounts.py +2461 -0
  8. moovio_sdk/adjustments.py +463 -0
  9. moovio_sdk/apple_pay.py +1417 -0
  10. moovio_sdk/authentication.py +531 -0
  11. moovio_sdk/avatars.py +231 -0
  12. moovio_sdk/bank_accounts.py +2445 -0
  13. moovio_sdk/basesdk.py +363 -0
  14. moovio_sdk/branding.py +1089 -0
  15. moovio_sdk/capabilities.py +1001 -0
  16. moovio_sdk/card_issuing.py +1351 -0
  17. moovio_sdk/cards.py +1469 -0
  18. moovio_sdk/disputes.py +2985 -0
  19. moovio_sdk/end_to_end_encryption.py +453 -0
  20. moovio_sdk/enriched_address.py +307 -0
  21. moovio_sdk/enriched_profile.py +235 -0
  22. moovio_sdk/fee_plans.py +1759 -0
  23. moovio_sdk/files.py +775 -0
  24. moovio_sdk/httpclient.py +136 -0
  25. moovio_sdk/industries.py +239 -0
  26. moovio_sdk/institutions.py +261 -0
  27. moovio_sdk/issuing_transactions.py +1228 -0
  28. moovio_sdk/models/__init__.py +4 -0
  29. moovio_sdk/models/components/__init__.py +1411 -0
  30. moovio_sdk/models/components/account.py +96 -0
  31. moovio_sdk/models/components/accountcapability.py +20 -0
  32. moovio_sdk/models/components/accountcountries.py +18 -0
  33. moovio_sdk/models/components/accountnameverification.py +28 -0
  34. moovio_sdk/models/components/accounttype.py +11 -0
  35. moovio_sdk/models/components/accountverificationstatus.py +19 -0
  36. moovio_sdk/models/components/achcreditsamedaypaymentmethod.py +38 -0
  37. moovio_sdk/models/components/achcreditstandardpaymentmethod.py +38 -0
  38. moovio_sdk/models/components/achdebitcollectpaymentmethod.py +38 -0
  39. moovio_sdk/models/components/achdebitfundpaymentmethod.py +38 -0
  40. moovio_sdk/models/components/achexception.py +20 -0
  41. moovio_sdk/models/components/achlocation.py +26 -0
  42. moovio_sdk/models/components/achparticipant.py +93 -0
  43. moovio_sdk/models/components/achpaymentdetails.py +30 -0
  44. moovio_sdk/models/components/achpaymentdetailserror.py +22 -0
  45. moovio_sdk/models/components/achpaymentsettings.py +16 -0
  46. moovio_sdk/models/components/achreturncode.py +51 -0
  47. moovio_sdk/models/components/achtransactiondetails.py +94 -0
  48. moovio_sdk/models/components/achtransactionstatus.py +15 -0
  49. moovio_sdk/models/components/addcapabilities.py +15 -0
  50. moovio_sdk/models/components/address.py +30 -0
  51. moovio_sdk/models/components/addresserror.py +32 -0
  52. moovio_sdk/models/components/addresssuggestion.py +34 -0
  53. moovio_sdk/models/components/addressupdate.py +32 -0
  54. moovio_sdk/models/components/adjustment.py +29 -0
  55. moovio_sdk/models/components/amount.py +26 -0
  56. moovio_sdk/models/components/amountdecimal.py +27 -0
  57. moovio_sdk/models/components/amountupdate.py +27 -0
  58. moovio_sdk/models/components/amountvalidationerror.py +17 -0
  59. moovio_sdk/models/components/applebillingcontact.py +53 -0
  60. moovio_sdk/models/components/applepayheader.py +41 -0
  61. moovio_sdk/models/components/applepaymerchantdomains.py +32 -0
  62. moovio_sdk/models/components/applepaypaymentmethod.py +33 -0
  63. moovio_sdk/models/components/applepayresponse.py +70 -0
  64. moovio_sdk/models/components/applicationscope.py +41 -0
  65. moovio_sdk/models/components/asynccreatedrefund.py +26 -0
  66. moovio_sdk/models/components/asynctransfer.py +18 -0
  67. moovio_sdk/models/components/authorizeduser.py +21 -0
  68. moovio_sdk/models/components/authtoken.py +36 -0
  69. moovio_sdk/models/components/authtokenrequest.py +46 -0
  70. moovio_sdk/models/components/bankaccount.py +98 -0
  71. moovio_sdk/models/components/bankaccountexception.py +96 -0
  72. moovio_sdk/models/components/bankaccountholdertype.py +11 -0
  73. moovio_sdk/models/components/bankaccountintegration.py +34 -0
  74. moovio_sdk/models/components/bankaccountpayload.py +21 -0
  75. moovio_sdk/models/components/bankaccountstatus.py +12 -0
  76. moovio_sdk/models/components/bankaccountstatusreason.py +23 -0
  77. moovio_sdk/models/components/bankaccounttype.py +13 -0
  78. moovio_sdk/models/components/bankaccountverification.py +30 -0
  79. moovio_sdk/models/components/bankaccountverificationcreated.py +21 -0
  80. moovio_sdk/models/components/bankaccountverificationmethod.py +9 -0
  81. moovio_sdk/models/components/bankaccountverificationstatus.py +13 -0
  82. moovio_sdk/models/components/bankaccountwaitfor.py +9 -0
  83. moovio_sdk/models/components/basicpaymentmethod.py +24 -0
  84. moovio_sdk/models/components/billablefee.py +54 -0
  85. moovio_sdk/models/components/birthdate.py +19 -0
  86. moovio_sdk/models/components/birthdateerror.py +20 -0
  87. moovio_sdk/models/components/birthdateupdate.py +20 -0
  88. moovio_sdk/models/components/birthdatevalidationerror.py +20 -0
  89. moovio_sdk/models/components/brandcolor.py +15 -0
  90. moovio_sdk/models/components/brandcolors.py +21 -0
  91. moovio_sdk/models/components/brandcolorvalidationerror.py +14 -0
  92. moovio_sdk/models/components/brandproperties.py +16 -0
  93. moovio_sdk/models/components/businessprofile.py +81 -0
  94. moovio_sdk/models/components/businesstype.py +19 -0
  95. moovio_sdk/models/components/calltoaction.py +19 -0
  96. moovio_sdk/models/components/cancellation.py +22 -0
  97. moovio_sdk/models/components/cancellationstatus.py +10 -0
  98. moovio_sdk/models/components/capabilitieserror.py +14 -0
  99. moovio_sdk/models/components/capability.py +56 -0
  100. moovio_sdk/models/components/capabilityid.py +18 -0
  101. moovio_sdk/models/components/capabilityrequirement.py +26 -0
  102. moovio_sdk/models/components/capabilitystatus.py +13 -0
  103. moovio_sdk/models/components/card.py +164 -0
  104. moovio_sdk/models/components/cardaccountupdater.py +28 -0
  105. moovio_sdk/models/components/cardacquiringdispute.py +26 -0
  106. moovio_sdk/models/components/cardacquiringmodel.py +11 -0
  107. moovio_sdk/models/components/cardacquiringrefund.py +42 -0
  108. moovio_sdk/models/components/cardaddress.py +32 -0
  109. moovio_sdk/models/components/cardbrand.py +14 -0
  110. moovio_sdk/models/components/cardexpiration.py +20 -0
  111. moovio_sdk/models/components/cardexpirationerror.py +17 -0
  112. moovio_sdk/models/components/cardissuingnetwork.py +12 -0
  113. moovio_sdk/models/components/cardpaymentdetails.py +23 -0
  114. moovio_sdk/models/components/cardpaymentdetailserror.py +17 -0
  115. moovio_sdk/models/components/cardpaymentpaymentmethod.py +33 -0
  116. moovio_sdk/models/components/cardpaymentsettings.py +23 -0
  117. moovio_sdk/models/components/cardtransactiondetails.py +94 -0
  118. moovio_sdk/models/components/cardtransactionfailurecode.py +32 -0
  119. moovio_sdk/models/components/cardtransactionstatus.py +15 -0
  120. moovio_sdk/models/components/cardtype.py +13 -0
  121. moovio_sdk/models/components/cardupdatereason.py +16 -0
  122. moovio_sdk/models/components/cardverification.py +38 -0
  123. moovio_sdk/models/components/cardverificationresult.py +12 -0
  124. moovio_sdk/models/components/cardvolumedistribution.py +29 -0
  125. moovio_sdk/models/components/cardvolumedistributionerror.py +32 -0
  126. moovio_sdk/models/components/collectionpaymentmethodtype.py +12 -0
  127. moovio_sdk/models/components/colorsvalidationerror.py +21 -0
  128. moovio_sdk/models/components/completebankaccountverification.py +15 -0
  129. moovio_sdk/models/components/completedmicrodeposits.py +14 -0
  130. moovio_sdk/models/components/completemicrodeposits.py +20 -0
  131. moovio_sdk/models/components/countrieserrors.py +14 -0
  132. moovio_sdk/models/components/createaccount.py +78 -0
  133. moovio_sdk/models/components/createaccounterror.py +44 -0
  134. moovio_sdk/models/components/createaccountsettings.py +40 -0
  135. moovio_sdk/models/components/createapplepaysession.py +21 -0
  136. moovio_sdk/models/components/createauthorizeduser.py +26 -0
  137. moovio_sdk/models/components/createauthorizedusererror.py +24 -0
  138. moovio_sdk/models/components/createauthorizeduserupdate.py +28 -0
  139. moovio_sdk/models/components/createbusinesserror.py +88 -0
  140. moovio_sdk/models/components/createbusinessprofile.py +69 -0
  141. moovio_sdk/models/components/createevidencefilemultipart.py +63 -0
  142. moovio_sdk/models/components/createevidencetext.py +20 -0
  143. moovio_sdk/models/components/createfeeplanagreement.py +14 -0
  144. moovio_sdk/models/components/createindividualerror.py +72 -0
  145. moovio_sdk/models/components/createindividualprofile.py +37 -0
  146. moovio_sdk/models/components/createpaymentlink.py +95 -0
  147. moovio_sdk/models/components/createprofile.py +22 -0
  148. moovio_sdk/models/components/createprofileerror.py +19 -0
  149. moovio_sdk/models/components/createrefund.py +26 -0
  150. moovio_sdk/models/components/createrefundresponse.py +18 -0
  151. moovio_sdk/models/components/createrepresentative.py +50 -0
  152. moovio_sdk/models/components/createreversal.py +15 -0
  153. moovio_sdk/models/components/createsweepconfig.py +41 -0
  154. moovio_sdk/models/components/createterminalapplication.py +42 -0
  155. moovio_sdk/models/components/createtransfer.py +49 -0
  156. moovio_sdk/models/components/createtransferdestination.py +37 -0
  157. moovio_sdk/models/components/createtransferdestinationach.py +26 -0
  158. moovio_sdk/models/components/createtransferdestinationcard.py +19 -0
  159. moovio_sdk/models/components/createtransferoptions.py +24 -0
  160. moovio_sdk/models/components/createtransfersource.py +48 -0
  161. moovio_sdk/models/components/createtransfersourceach.py +40 -0
  162. moovio_sdk/models/components/createtransfersourcecard.py +35 -0
  163. moovio_sdk/models/components/customersupport.py +33 -0
  164. moovio_sdk/models/components/customersupporterror.py +25 -0
  165. moovio_sdk/models/components/debitholdperiod.py +12 -0
  166. moovio_sdk/models/components/disbursementpaymentmethodtype.py +13 -0
  167. moovio_sdk/models/components/displayoptionserror.py +23 -0
  168. moovio_sdk/models/components/dispute.py +76 -0
  169. moovio_sdk/models/components/disputeevidenceresponse.py +49 -0
  170. moovio_sdk/models/components/disputephase.py +13 -0
  171. moovio_sdk/models/components/disputestatus.py +20 -0
  172. moovio_sdk/models/components/disputetransferdetails.py +16 -0
  173. moovio_sdk/models/components/document.py +37 -0
  174. moovio_sdk/models/components/documenttype.py +13 -0
  175. moovio_sdk/models/components/domesticpullfromcard.py +12 -0
  176. moovio_sdk/models/components/domesticpushtocard.py +13 -0
  177. moovio_sdk/models/components/e2eetoken.py +25 -0
  178. moovio_sdk/models/components/e2eetokenupdate.py +26 -0
  179. moovio_sdk/models/components/end2endencryptionerror.py +14 -0
  180. moovio_sdk/models/components/enrichedaddressresponse.py +15 -0
  181. moovio_sdk/models/components/enrichedbusinessprofile.py +37 -0
  182. moovio_sdk/models/components/enrichedbusinessresponse.py +18 -0
  183. moovio_sdk/models/components/enrichedindustries.py +15 -0
  184. moovio_sdk/models/components/enrichedindustry.py +32 -0
  185. moovio_sdk/models/components/enrichedindustrycodes.py +17 -0
  186. moovio_sdk/models/components/evidencetextresponse.py +28 -0
  187. moovio_sdk/models/components/evidencetype.py +15 -0
  188. moovio_sdk/models/components/evidenceuploadresponse.py +50 -0
  189. moovio_sdk/models/components/facilitatorfee.py +48 -0
  190. moovio_sdk/models/components/feecategory.py +16 -0
  191. moovio_sdk/models/components/feemodel.py +12 -0
  192. moovio_sdk/models/components/feeplan.py +43 -0
  193. moovio_sdk/models/components/feeplanagreement.py +51 -0
  194. moovio_sdk/models/components/feeplanagreementstatus.py +9 -0
  195. moovio_sdk/models/components/feeproperties.py +49 -0
  196. moovio_sdk/models/components/filedetails.py +55 -0
  197. moovio_sdk/models/components/filepurpose.py +15 -0
  198. moovio_sdk/models/components/filestatus.py +12 -0
  199. moovio_sdk/models/components/fileuploadrequestmultipart.py +69 -0
  200. moovio_sdk/models/components/financialinstitutions.py +18 -0
  201. moovio_sdk/models/components/fulfillmentdetails.py +24 -0
  202. moovio_sdk/models/components/fulfillmentdetailserror.py +20 -0
  203. moovio_sdk/models/components/fullissuedcard.py +92 -0
  204. moovio_sdk/models/components/generatedby.py +39 -0
  205. moovio_sdk/models/components/generatedbyaccountid.py +15 -0
  206. moovio_sdk/models/components/generatedbybankaccountid.py +17 -0
  207. moovio_sdk/models/components/generatedbycardid.py +15 -0
  208. moovio_sdk/models/components/generatedbydisputeid.py +15 -0
  209. moovio_sdk/models/components/generatedbytransferid.py +15 -0
  210. moovio_sdk/models/components/governmentid.py +40 -0
  211. moovio_sdk/models/components/governmentiderror.py +40 -0
  212. moovio_sdk/models/components/granttype.py +15 -0
  213. moovio_sdk/models/components/incurredfee.py +44 -0
  214. moovio_sdk/models/components/individualname.py +32 -0
  215. moovio_sdk/models/components/individualnameerror.py +24 -0
  216. moovio_sdk/models/components/individualnameupdate.py +32 -0
  217. moovio_sdk/models/components/individualprofile.py +45 -0
  218. moovio_sdk/models/components/industrycodes.py +20 -0
  219. moovio_sdk/models/components/issuedcard.py +78 -0
  220. moovio_sdk/models/components/issuedcardauthorization.py +53 -0
  221. moovio_sdk/models/components/issuedcardauthorizationevent.py +37 -0
  222. moovio_sdk/models/components/issuedcardauthorizationeventresult.py +12 -0
  223. moovio_sdk/models/components/issuedcardeventtype.py +15 -0
  224. moovio_sdk/models/components/issuedcardformfactor.py +10 -0
  225. moovio_sdk/models/components/issuedcardstate.py +19 -0
  226. moovio_sdk/models/components/issuedcardtransaction.py +42 -0
  227. moovio_sdk/models/components/issuingauthorizationstatus.py +14 -0
  228. moovio_sdk/models/components/issuingcontrols.py +25 -0
  229. moovio_sdk/models/components/issuingcontrolserror.py +22 -0
  230. moovio_sdk/models/components/issuingintervallimit.py +10 -0
  231. moovio_sdk/models/components/issuingmerchantdata.py +47 -0
  232. moovio_sdk/models/components/issuingvelocitylimit.py +21 -0
  233. moovio_sdk/models/components/issuingvelocitylimiterror.py +17 -0
  234. moovio_sdk/models/components/jsonwebkey.py +103 -0
  235. moovio_sdk/models/components/linkapplepay.py +54 -0
  236. moovio_sdk/models/components/linkapplepaymentdata.py +51 -0
  237. moovio_sdk/models/components/linkapplepaymentmethod.py +38 -0
  238. moovio_sdk/models/components/linkapplepaytoken.py +63 -0
  239. moovio_sdk/models/components/linkbankaccount.py +26 -0
  240. moovio_sdk/models/components/linkcard.py +54 -0
  241. moovio_sdk/models/components/linkcardwaitfor.py +8 -0
  242. moovio_sdk/models/components/linkedapplepaypaymentmethod.py +30 -0
  243. moovio_sdk/models/components/listfeesfetchrequest.py +19 -0
  244. moovio_sdk/models/components/manualtermsofservice.py +34 -0
  245. moovio_sdk/models/components/manualtermsofserviceupdate.py +41 -0
  246. moovio_sdk/models/components/microdepositstatus.py +8 -0
  247. moovio_sdk/models/components/mode.py +11 -0
  248. moovio_sdk/models/components/moovfeedetails.py +36 -0
  249. moovio_sdk/models/components/moovwalletpaymentmethod.py +31 -0
  250. moovio_sdk/models/components/mxauthorizationcode.py +26 -0
  251. moovio_sdk/models/components/mxpayload.py +46 -0
  252. moovio_sdk/models/components/occurrence.py +44 -0
  253. moovio_sdk/models/components/occurrencesresponse.py +80 -0
  254. moovio_sdk/models/components/occurrencestatus.py +12 -0
  255. moovio_sdk/models/components/onboardinginvite.py +91 -0
  256. moovio_sdk/models/components/onboardinginviterequest.py +57 -0
  257. moovio_sdk/models/components/onboardingpartneraccount.py +31 -0
  258. moovio_sdk/models/components/partnerpricing.py +46 -0
  259. moovio_sdk/models/components/partnerpricingagreement.py +56 -0
  260. moovio_sdk/models/components/patchaccount.py +138 -0
  261. moovio_sdk/models/components/patchaccounterror.py +38 -0
  262. moovio_sdk/models/components/patchbusiness.py +72 -0
  263. moovio_sdk/models/components/patchindividual.py +43 -0
  264. moovio_sdk/models/components/patchprofile.py +29 -0
  265. moovio_sdk/models/components/patchsweepconfig.py +147 -0
  266. moovio_sdk/models/components/patchtransfer.py +51 -0
  267. moovio_sdk/models/components/paymentdetailserror.py +35 -0
  268. moovio_sdk/models/components/paymentlink.py +125 -0
  269. moovio_sdk/models/components/paymentlinkcustomeroptions.py +31 -0
  270. moovio_sdk/models/components/paymentlinkdisplayoptions.py +39 -0
  271. moovio_sdk/models/components/paymentlinkdisplayoptionsupdate.py +42 -0
  272. moovio_sdk/models/components/paymentlinkpaymentdetails.py +40 -0
  273. moovio_sdk/models/components/paymentlinkpaymentdetailsupdate.py +41 -0
  274. moovio_sdk/models/components/paymentlinkpayoutdetails.py +32 -0
  275. moovio_sdk/models/components/paymentlinkpayoutdetailsupdate.py +33 -0
  276. moovio_sdk/models/components/paymentlinkstatus.py +11 -0
  277. moovio_sdk/models/components/paymentmethod.py +82 -0
  278. moovio_sdk/models/components/paymentmethodsbankaccount.py +65 -0
  279. moovio_sdk/models/components/paymentmethodscard.py +121 -0
  280. moovio_sdk/models/components/paymentmethodswallet.py +14 -0
  281. moovio_sdk/models/components/paymentmethodtype.py +19 -0
  282. moovio_sdk/models/components/payoutdetailserror.py +21 -0
  283. moovio_sdk/models/components/payoutrecipient.py +23 -0
  284. moovio_sdk/models/components/payoutrecipienterror.py +14 -0
  285. moovio_sdk/models/components/payoutrecipientupdate.py +24 -0
  286. moovio_sdk/models/components/phonenumber.py +18 -0
  287. moovio_sdk/models/components/phonenumbererror.py +18 -0
  288. moovio_sdk/models/components/plaidintegration.py +39 -0
  289. moovio_sdk/models/components/plaidlinkintegration.py +36 -0
  290. moovio_sdk/models/components/plaidlinkpayload.py +45 -0
  291. moovio_sdk/models/components/plaidpayload.py +42 -0
  292. moovio_sdk/models/components/primaryregulator.py +13 -0
  293. moovio_sdk/models/components/profile.py +27 -0
  294. moovio_sdk/models/components/pullfromcardpaymentmethod.py +33 -0
  295. moovio_sdk/models/components/pushtocardpaymentmethod.py +33 -0
  296. moovio_sdk/models/components/qrcode.py +16 -0
  297. moovio_sdk/models/components/receiptkind.py +10 -0
  298. moovio_sdk/models/components/receiptrequest.py +75 -0
  299. moovio_sdk/models/components/receiptresponse.py +95 -0
  300. moovio_sdk/models/components/recur.py +40 -0
  301. moovio_sdk/models/components/refundcarddetails.py +44 -0
  302. moovio_sdk/models/components/refundcardstatus.py +12 -0
  303. moovio_sdk/models/components/refundstatus.py +11 -0
  304. moovio_sdk/models/components/registerapplepaymerchantdomains.py +22 -0
  305. moovio_sdk/models/components/representative.py +71 -0
  306. moovio_sdk/models/components/representativeresponsibilities.py +42 -0
  307. moovio_sdk/models/components/representativeresponsibilitieserror.py +26 -0
  308. moovio_sdk/models/components/requestcard.py +44 -0
  309. moovio_sdk/models/components/requirementerror.py +24 -0
  310. moovio_sdk/models/components/requirementerrorcode.py +25 -0
  311. moovio_sdk/models/components/requirementid.py +71 -0
  312. moovio_sdk/models/components/returnpolicytype.py +11 -0
  313. moovio_sdk/models/components/reversal.py +23 -0
  314. moovio_sdk/models/components/reversedwithcancellation.py +14 -0
  315. moovio_sdk/models/components/reversedwithrefund.py +16 -0
  316. moovio_sdk/models/components/revoketokenrequest.py +40 -0
  317. moovio_sdk/models/components/rtpcreditpaymentmethod.py +38 -0
  318. moovio_sdk/models/components/rtpfailurecode.py +19 -0
  319. moovio_sdk/models/components/rtprejectioncode.py +25 -0
  320. moovio_sdk/models/components/rtptransactiondetails.py +56 -0
  321. moovio_sdk/models/components/rtptransactionstatus.py +13 -0
  322. moovio_sdk/models/components/runtransfer.py +34 -0
  323. moovio_sdk/models/components/schedulepaymentmethod.py +56 -0
  324. moovio_sdk/models/components/scheduleresponse.py +60 -0
  325. moovio_sdk/models/components/seccode.py +13 -0
  326. moovio_sdk/models/components/security.py +32 -0
  327. moovio_sdk/models/components/sentreceipt.py +27 -0
  328. moovio_sdk/models/components/settings.py +30 -0
  329. moovio_sdk/models/components/sourcedestinationoptions.py +20 -0
  330. moovio_sdk/models/components/sweep.py +80 -0
  331. moovio_sdk/models/components/sweepconfig.py +81 -0
  332. moovio_sdk/models/components/sweepconfigpaymentmethod.py +31 -0
  333. moovio_sdk/models/components/sweepconfigstatus.py +9 -0
  334. moovio_sdk/models/components/sweepstatus.py +13 -0
  335. moovio_sdk/models/components/taxid.py +25 -0
  336. moovio_sdk/models/components/taxidupdate.py +26 -0
  337. moovio_sdk/models/components/terminalapplication.py +55 -0
  338. moovio_sdk/models/components/terminalapplicationplatform.py +12 -0
  339. moovio_sdk/models/components/terminalapplicationstatus.py +13 -0
  340. moovio_sdk/models/components/termsofservice.py +26 -0
  341. moovio_sdk/models/components/termsofserviceerror.py +39 -0
  342. moovio_sdk/models/components/termsofservicetoken.py +17 -0
  343. moovio_sdk/models/components/termsofservicetokenupdate.py +18 -0
  344. moovio_sdk/models/components/tokentype.py +10 -0
  345. moovio_sdk/models/components/transactionsource.py +16 -0
  346. moovio_sdk/models/components/transfer.py +126 -0
  347. moovio_sdk/models/components/transferaccount.py +20 -0
  348. moovio_sdk/models/components/transferdestination.py +83 -0
  349. moovio_sdk/models/components/transferfailurereason.py +14 -0
  350. moovio_sdk/models/components/transferoptions.py +23 -0
  351. moovio_sdk/models/components/transferresponse.py +15 -0
  352. moovio_sdk/models/components/transfersource.py +80 -0
  353. moovio_sdk/models/components/transferstatus.py +16 -0
  354. moovio_sdk/models/components/transferwaitfor.py +8 -0
  355. moovio_sdk/models/components/underwriting.py +56 -0
  356. moovio_sdk/models/components/underwritingstatus.py +16 -0
  357. moovio_sdk/models/components/updateapplepaymerchantdomains.py +26 -0
  358. moovio_sdk/models/components/updatebrand.py +15 -0
  359. moovio_sdk/models/components/updatecard.py +51 -0
  360. moovio_sdk/models/components/updatecardaddress.py +32 -0
  361. moovio_sdk/models/components/updatecardexpiration.py +17 -0
  362. moovio_sdk/models/components/updatecolor.py +14 -0
  363. moovio_sdk/models/components/updatecolors.py +18 -0
  364. moovio_sdk/models/components/updateevidence.py +23 -0
  365. moovio_sdk/models/components/updateissuedcard.py +44 -0
  366. moovio_sdk/models/components/updatepaymentlink.py +98 -0
  367. moovio_sdk/models/components/updaterepresentative.py +224 -0
  368. moovio_sdk/models/components/updateunderwriting.py +43 -0
  369. moovio_sdk/models/components/upsertschedule.py +26 -0
  370. moovio_sdk/models/components/verification.py +54 -0
  371. moovio_sdk/models/components/verificationstatus.py +17 -0
  372. moovio_sdk/models/components/verificationstatusdetail.py +23 -0
  373. moovio_sdk/models/components/volumebycustomertype.py +21 -0
  374. moovio_sdk/models/components/volumebycustomertypeerror.py +22 -0
  375. moovio_sdk/models/components/wallet.py +27 -0
  376. moovio_sdk/models/components/walletavailablebalance.py +30 -0
  377. moovio_sdk/models/components/wallettransaction.py +114 -0
  378. moovio_sdk/models/components/wallettransactionsourcetype.py +13 -0
  379. moovio_sdk/models/components/wallettransactionstatus.py +11 -0
  380. moovio_sdk/models/components/wallettransactiontype.py +32 -0
  381. moovio_sdk/models/errors/__init__.py +155 -0
  382. moovio_sdk/models/errors/addcapabilitieserror.py +23 -0
  383. moovio_sdk/models/errors/apierror.py +22 -0
  384. moovio_sdk/models/errors/assigncountrieserror.py +20 -0
  385. moovio_sdk/models/errors/authtokenrequesterror.py +22 -0
  386. moovio_sdk/models/errors/bankaccountvalidationerror.py +30 -0
  387. moovio_sdk/models/errors/brandvalidationerror.py +23 -0
  388. moovio_sdk/models/errors/cardacquiringrefund.py +44 -0
  389. moovio_sdk/models/errors/createaccount.py +24 -0
  390. moovio_sdk/models/errors/createpaymentlinkerror.py +46 -0
  391. moovio_sdk/models/errors/createsweepconfigerror.py +40 -0
  392. moovio_sdk/models/errors/feeplanagreementerror.py +22 -0
  393. moovio_sdk/models/errors/fileuploadvalidationerror.py +35 -0
  394. moovio_sdk/models/errors/filevalidationerror.py +28 -0
  395. moovio_sdk/models/errors/genericerror.py +19 -0
  396. moovio_sdk/models/errors/linkapplepayerror.py +36 -0
  397. moovio_sdk/models/errors/linkcarderror.py +47 -0
  398. moovio_sdk/models/errors/microdepositvalidationerror.py +20 -0
  399. moovio_sdk/models/errors/onboardinginviteerror.py +34 -0
  400. moovio_sdk/models/errors/patchsweepconfigerror.py +38 -0
  401. moovio_sdk/models/errors/receiptvalidationerror.py +40 -0
  402. moovio_sdk/models/errors/refundvalidationerror.py +23 -0
  403. moovio_sdk/models/errors/representativevalidationerror.py +68 -0
  404. moovio_sdk/models/errors/requestcarderror.py +42 -0
  405. moovio_sdk/models/errors/reversalvalidationerror.py +20 -0
  406. moovio_sdk/models/errors/revoketokenrequesterror.py +22 -0
  407. moovio_sdk/models/errors/schedulevalidationerror.py +24 -0
  408. moovio_sdk/models/errors/terminalapplicationerror.py +30 -0
  409. moovio_sdk/models/errors/transfer.py +108 -0
  410. moovio_sdk/models/errors/transferoptionsvalidationerror.py +24 -0
  411. moovio_sdk/models/errors/transfervalidationerror.py +49 -0
  412. moovio_sdk/models/errors/updateaccount.py +24 -0
  413. moovio_sdk/models/errors/updatecarderror.py +43 -0
  414. moovio_sdk/models/errors/updateissuedcarderror.py +32 -0
  415. moovio_sdk/models/errors/updatepaymentlinkerror.py +36 -0
  416. moovio_sdk/models/errors/updateunderwritingerror.py +70 -0
  417. moovio_sdk/models/internal/__init__.py +6 -0
  418. moovio_sdk/models/internal/globals.py +40 -0
  419. moovio_sdk/models/operations/__init__.py +1824 -0
  420. moovio_sdk/models/operations/acceptdispute.py +71 -0
  421. moovio_sdk/models/operations/assignaccountcountries.py +75 -0
  422. moovio_sdk/models/operations/cancelschedule.py +67 -0
  423. moovio_sdk/models/operations/completebankaccountverification.py +85 -0
  424. moovio_sdk/models/operations/completemicrodeposits.py +87 -0
  425. moovio_sdk/models/operations/createaccesstoken.py +52 -0
  426. moovio_sdk/models/operations/createaccount.py +52 -0
  427. moovio_sdk/models/operations/createapplepaysession.py +81 -0
  428. moovio_sdk/models/operations/createbrand.py +75 -0
  429. moovio_sdk/models/operations/createcancellation.py +75 -0
  430. moovio_sdk/models/operations/createfeeplanagreements.py +80 -0
  431. moovio_sdk/models/operations/createonboardinginvite.py +52 -0
  432. moovio_sdk/models/operations/createpaymentlink.py +78 -0
  433. moovio_sdk/models/operations/createreceipts.py +52 -0
  434. moovio_sdk/models/operations/createrepresentative.py +80 -0
  435. moovio_sdk/models/operations/createreversal.py +98 -0
  436. moovio_sdk/models/operations/createschedule.py +78 -0
  437. moovio_sdk/models/operations/createsweepconfig.py +78 -0
  438. moovio_sdk/models/operations/createterminalapplication.py +54 -0
  439. moovio_sdk/models/operations/createtransfer.py +125 -0
  440. moovio_sdk/models/operations/createtransferoptions.py +52 -0
  441. moovio_sdk/models/operations/deletedisputeevidencefile.py +74 -0
  442. moovio_sdk/models/operations/deleterepresentative.py +71 -0
  443. moovio_sdk/models/operations/deleteterminalapplication.py +60 -0
  444. moovio_sdk/models/operations/disablebankaccount.py +67 -0
  445. moovio_sdk/models/operations/disablecapability.py +76 -0
  446. moovio_sdk/models/operations/disablecard.py +67 -0
  447. moovio_sdk/models/operations/disablepaymentlink.py +67 -0
  448. moovio_sdk/models/operations/disconnectaccount.py +60 -0
  449. moovio_sdk/models/operations/generateendtoendkey.py +60 -0
  450. moovio_sdk/models/operations/getaccount.py +64 -0
  451. moovio_sdk/models/operations/getaccountcountries.py +64 -0
  452. moovio_sdk/models/operations/getadjustment.py +71 -0
  453. moovio_sdk/models/operations/getapplepaymerchantdomains.py +68 -0
  454. moovio_sdk/models/operations/getavatar.py +66 -0
  455. moovio_sdk/models/operations/getbankaccount.py +71 -0
  456. moovio_sdk/models/operations/getbankaccountverification.py +73 -0
  457. moovio_sdk/models/operations/getbrand.py +64 -0
  458. moovio_sdk/models/operations/getcancellation.py +84 -0
  459. moovio_sdk/models/operations/getcapability.py +82 -0
  460. moovio_sdk/models/operations/getcard.py +71 -0
  461. moovio_sdk/models/operations/getdispute.py +71 -0
  462. moovio_sdk/models/operations/getdisputeevidence.py +80 -0
  463. moovio_sdk/models/operations/getdisputeevidencedata.py +90 -0
  464. moovio_sdk/models/operations/getenrichmentaddress.py +178 -0
  465. moovio_sdk/models/operations/getenrichmentprofile.py +64 -0
  466. moovio_sdk/models/operations/getfiledetails.py +71 -0
  467. moovio_sdk/models/operations/getfullissuedcard.py +73 -0
  468. moovio_sdk/models/operations/getissuedcard.py +73 -0
  469. moovio_sdk/models/operations/getissuedcardauthorization.py +75 -0
  470. moovio_sdk/models/operations/getissuedcardtransaction.py +75 -0
  471. moovio_sdk/models/operations/getmerchantprocessingagreement.py +64 -0
  472. moovio_sdk/models/operations/getonboardinginvite.py +62 -0
  473. moovio_sdk/models/operations/getpaymentlink.py +71 -0
  474. moovio_sdk/models/operations/getpaymentlinkqrcode.py +84 -0
  475. moovio_sdk/models/operations/getpaymentmethod.py +71 -0
  476. moovio_sdk/models/operations/getrefund.py +84 -0
  477. moovio_sdk/models/operations/getrepresentative.py +75 -0
  478. moovio_sdk/models/operations/getscheduledoccurrence.py +92 -0
  479. moovio_sdk/models/operations/getschedules.py +71 -0
  480. moovio_sdk/models/operations/getsweep.py +78 -0
  481. moovio_sdk/models/operations/getsweepconfig.py +71 -0
  482. moovio_sdk/models/operations/getterminalapplication.py +66 -0
  483. moovio_sdk/models/operations/gettermsofservicetoken.py +75 -0
  484. moovio_sdk/models/operations/gettransfer.py +73 -0
  485. moovio_sdk/models/operations/getunderwriting.py +64 -0
  486. moovio_sdk/models/operations/getwallet.py +71 -0
  487. moovio_sdk/models/operations/getwallettransaction.py +80 -0
  488. moovio_sdk/models/operations/initiatebankaccountverification.py +89 -0
  489. moovio_sdk/models/operations/initiatemicrodeposits.py +67 -0
  490. moovio_sdk/models/operations/initiaterefund.py +131 -0
  491. moovio_sdk/models/operations/linkapplepaytoken.py +80 -0
  492. moovio_sdk/models/operations/linkbankaccount.py +96 -0
  493. moovio_sdk/models/operations/linkcard.py +96 -0
  494. moovio_sdk/models/operations/listaccounts.py +171 -0
  495. moovio_sdk/models/operations/listadjustments.py +78 -0
  496. moovio_sdk/models/operations/listbankaccounts.py +64 -0
  497. moovio_sdk/models/operations/listcapabilities.py +64 -0
  498. moovio_sdk/models/operations/listcards.py +64 -0
  499. moovio_sdk/models/operations/listdisputeevidence.py +73 -0
  500. moovio_sdk/models/operations/listdisputes.py +172 -0
  501. moovio_sdk/models/operations/listfeeplanagreements.py +101 -0
  502. moovio_sdk/models/operations/listfeeplans.py +78 -0
  503. moovio_sdk/models/operations/listfeesfetch.py +80 -0
  504. moovio_sdk/models/operations/listfiles.py +64 -0
  505. moovio_sdk/models/operations/listindustries.py +62 -0
  506. moovio_sdk/models/operations/listinstitutions.py +92 -0
  507. moovio_sdk/models/operations/listissuedcardauthorizationevents.py +94 -0
  508. moovio_sdk/models/operations/listissuedcardauthorizations.py +126 -0
  509. moovio_sdk/models/operations/listissuedcards.py +94 -0
  510. moovio_sdk/models/operations/listissuedcardtransactions.py +113 -0
  511. moovio_sdk/models/operations/listonboardinginvites.py +60 -0
  512. moovio_sdk/models/operations/listpartnerpricing.py +78 -0
  513. moovio_sdk/models/operations/listpartnerpricingagreements.py +101 -0
  514. moovio_sdk/models/operations/listpaymentlinks.py +64 -0
  515. moovio_sdk/models/operations/listpaymentmethods.py +98 -0
  516. moovio_sdk/models/operations/listreceipts.py +65 -0
  517. moovio_sdk/models/operations/listrefunds.py +75 -0
  518. moovio_sdk/models/operations/listrepresentatives.py +66 -0
  519. moovio_sdk/models/operations/listschedules.py +81 -0
  520. moovio_sdk/models/operations/listsweepconfigs.py +64 -0
  521. moovio_sdk/models/operations/listsweeps.py +108 -0
  522. moovio_sdk/models/operations/listterminalapplications.py +62 -0
  523. moovio_sdk/models/operations/listtransfers.py +145 -0
  524. moovio_sdk/models/operations/listwallets.py +64 -0
  525. moovio_sdk/models/operations/listwallettransactions.py +189 -0
  526. moovio_sdk/models/operations/ping.py +56 -0
  527. moovio_sdk/models/operations/registerapplepaymerchantdomains.py +80 -0
  528. moovio_sdk/models/operations/requestcapabilities.py +78 -0
  529. moovio_sdk/models/operations/requestcard.py +80 -0
  530. moovio_sdk/models/operations/retrievefees.py +117 -0
  531. moovio_sdk/models/operations/revokeaccesstoken.py +48 -0
  532. moovio_sdk/models/operations/revokeonboardinginvite.py +58 -0
  533. moovio_sdk/models/operations/submitdisputeevidence.py +71 -0
  534. moovio_sdk/models/operations/testendtoendtoken.py +56 -0
  535. moovio_sdk/models/operations/updateaccount.py +78 -0
  536. moovio_sdk/models/operations/updateapplepaymerchantdomains.py +78 -0
  537. moovio_sdk/models/operations/updatebrand.py +78 -0
  538. moovio_sdk/models/operations/updatecard.py +85 -0
  539. moovio_sdk/models/operations/updatedisputeevidence.py +92 -0
  540. moovio_sdk/models/operations/updateissuedcard.py +81 -0
  541. moovio_sdk/models/operations/updatepaymentlink.py +85 -0
  542. moovio_sdk/models/operations/updaterepresentative.py +89 -0
  543. moovio_sdk/models/operations/updateschedule.py +85 -0
  544. moovio_sdk/models/operations/updatesweepconfig.py +85 -0
  545. moovio_sdk/models/operations/updatetransfer.py +87 -0
  546. moovio_sdk/models/operations/uploaddisputeevidencefile.py +87 -0
  547. moovio_sdk/models/operations/uploaddisputeevidencetext.py +85 -0
  548. moovio_sdk/models/operations/uploadfile.py +80 -0
  549. moovio_sdk/models/operations/upsertbrand.py +75 -0
  550. moovio_sdk/models/operations/upsertunderwriting.py +78 -0
  551. moovio_sdk/onboarding.py +965 -0
  552. moovio_sdk/payment_links.py +1694 -0
  553. moovio_sdk/payment_methods.py +475 -0
  554. moovio_sdk/ping.py +233 -0
  555. moovio_sdk/py.typed +1 -0
  556. moovio_sdk/receipts.py +507 -0
  557. moovio_sdk/representatives.py +1513 -0
  558. moovio_sdk/scheduling.py +1565 -0
  559. moovio_sdk/sdk.py +242 -0
  560. moovio_sdk/sdkconfiguration.py +59 -0
  561. moovio_sdk/sweeps.py +1617 -0
  562. moovio_sdk/terminal_applications.py +1013 -0
  563. moovio_sdk/transfers.py +3040 -0
  564. moovio_sdk/types/__init__.py +21 -0
  565. moovio_sdk/types/basemodel.py +39 -0
  566. moovio_sdk/underwriting.py +581 -0
  567. moovio_sdk/utils/__init__.py +101 -0
  568. moovio_sdk/utils/annotations.py +55 -0
  569. moovio_sdk/utils/enums.py +34 -0
  570. moovio_sdk/utils/eventstreaming.py +238 -0
  571. moovio_sdk/utils/forms.py +202 -0
  572. moovio_sdk/utils/headers.py +136 -0
  573. moovio_sdk/utils/logger.py +27 -0
  574. moovio_sdk/utils/metadata.py +118 -0
  575. moovio_sdk/utils/queryparams.py +205 -0
  576. moovio_sdk/utils/requestbodies.py +66 -0
  577. moovio_sdk/utils/retries.py +217 -0
  578. moovio_sdk/utils/security.py +195 -0
  579. moovio_sdk/utils/serializers.py +215 -0
  580. moovio_sdk/utils/url.py +155 -0
  581. moovio_sdk/utils/values.py +137 -0
  582. moovio_sdk/wallet_transactions.py +558 -0
  583. moovio_sdk/wallets.py +465 -0
  584. moovio_sdk-0.3.8.dist-info/METADATA +1920 -0
  585. moovio_sdk-0.3.8.dist-info/RECORD +586 -0
  586. moovio_sdk-0.3.8.dist-info/WHEEL +4 -0
@@ -0,0 +1,138 @@
1
+ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
+
3
+ from __future__ import annotations
4
+ from .addressupdate import AddressUpdate, AddressUpdateTypedDict
5
+ from .createaccountsettings import CreateAccountSettings, CreateAccountSettingsTypedDict
6
+ from .manualtermsofserviceupdate import (
7
+ ManualTermsOfServiceUpdate,
8
+ ManualTermsOfServiceUpdateTypedDict,
9
+ )
10
+ from .patchprofile import PatchProfile, PatchProfileTypedDict
11
+ from .phonenumber import PhoneNumber, PhoneNumberTypedDict
12
+ from .termsofservicetokenupdate import (
13
+ TermsOfServiceTokenUpdate,
14
+ TermsOfServiceTokenUpdateTypedDict,
15
+ )
16
+ from moovio_sdk.types import (
17
+ BaseModel,
18
+ Nullable,
19
+ OptionalNullable,
20
+ UNSET,
21
+ UNSET_SENTINEL,
22
+ )
23
+ import pydantic
24
+ from pydantic import model_serializer
25
+ from typing import Dict, Optional, Union
26
+ from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict
27
+
28
+
29
+ PatchAccountTermsOfServiceTypedDict = TypeAliasType(
30
+ "PatchAccountTermsOfServiceTypedDict",
31
+ Union[TermsOfServiceTokenUpdateTypedDict, ManualTermsOfServiceUpdateTypedDict],
32
+ )
33
+
34
+
35
+ PatchAccountTermsOfService = TypeAliasType(
36
+ "PatchAccountTermsOfService",
37
+ Union[TermsOfServiceTokenUpdate, ManualTermsOfServiceUpdate],
38
+ )
39
+
40
+
41
+ class PatchAccountCustomerSupportTypedDict(TypedDict):
42
+ r"""User-provided information that can be displayed on credit card transactions for customers to use when
43
+ contacting a customer support team. This data is only allowed on a business account.
44
+ """
45
+
46
+ phone: NotRequired[PhoneNumberTypedDict]
47
+ email: NotRequired[str]
48
+ address: NotRequired[AddressUpdateTypedDict]
49
+ website: NotRequired[str]
50
+
51
+
52
+ class PatchAccountCustomerSupport(BaseModel):
53
+ r"""User-provided information that can be displayed on credit card transactions for customers to use when
54
+ contacting a customer support team. This data is only allowed on a business account.
55
+ """
56
+
57
+ phone: Optional[PhoneNumber] = None
58
+
59
+ email: Optional[str] = None
60
+
61
+ address: Optional[AddressUpdate] = None
62
+
63
+ website: Optional[str] = None
64
+
65
+
66
+ class PatchAccountTypedDict(TypedDict):
67
+ r"""Describes the fields available when patching a Moov account."""
68
+
69
+ profile: NotRequired[PatchProfileTypedDict]
70
+ r"""Describes the fields available when patching a profile.
71
+ Each object can be patched independent of patching the other fields.
72
+ """
73
+ metadata: NotRequired[Nullable[Dict[str, str]]]
74
+ terms_of_service: NotRequired[PatchAccountTermsOfServiceTypedDict]
75
+ foreign_id: NotRequired[str]
76
+ customer_support: NotRequired[Nullable[PatchAccountCustomerSupportTypedDict]]
77
+ settings: NotRequired[CreateAccountSettingsTypedDict]
78
+
79
+
80
+ class PatchAccount(BaseModel):
81
+ r"""Describes the fields available when patching a Moov account."""
82
+
83
+ profile: Optional[PatchProfile] = None
84
+ r"""Describes the fields available when patching a profile.
85
+ Each object can be patched independent of patching the other fields.
86
+ """
87
+
88
+ metadata: OptionalNullable[Dict[str, str]] = UNSET
89
+
90
+ terms_of_service: Annotated[
91
+ Optional[PatchAccountTermsOfService], pydantic.Field(alias="termsOfService")
92
+ ] = None
93
+
94
+ foreign_id: Annotated[Optional[str], pydantic.Field(alias="foreignID")] = None
95
+
96
+ customer_support: Annotated[
97
+ OptionalNullable[PatchAccountCustomerSupport],
98
+ pydantic.Field(alias="customerSupport"),
99
+ ] = UNSET
100
+
101
+ settings: Optional[CreateAccountSettings] = None
102
+
103
+ @model_serializer(mode="wrap")
104
+ def serialize_model(self, handler):
105
+ optional_fields = [
106
+ "profile",
107
+ "metadata",
108
+ "termsOfService",
109
+ "foreignID",
110
+ "customerSupport",
111
+ "settings",
112
+ ]
113
+ nullable_fields = ["metadata", "customerSupport"]
114
+ null_default_fields = []
115
+
116
+ serialized = handler(self)
117
+
118
+ m = {}
119
+
120
+ for n, f in self.model_fields.items():
121
+ k = f.alias or n
122
+ val = serialized.get(k)
123
+ serialized.pop(k, None)
124
+
125
+ optional_nullable = k in optional_fields and k in nullable_fields
126
+ is_set = (
127
+ self.__pydantic_fields_set__.intersection({n})
128
+ or k in null_default_fields
129
+ ) # pylint: disable=no-member
130
+
131
+ if val is not None and val != UNSET_SENTINEL:
132
+ m[k] = val
133
+ elif val != UNSET_SENTINEL and (
134
+ not k in optional_fields or (optional_nullable and is_set)
135
+ ):
136
+ m[k] = val
137
+
138
+ return m
@@ -0,0 +1,38 @@
1
+ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
+
3
+ from __future__ import annotations
4
+ from .createaccountsettings import CreateAccountSettings, CreateAccountSettingsTypedDict
5
+ from .createprofileerror import CreateProfileError, CreateProfileErrorTypedDict
6
+ from .customersupporterror import CustomerSupportError, CustomerSupportErrorTypedDict
7
+ from .termsofserviceerror import TermsOfServiceError, TermsOfServiceErrorTypedDict
8
+ from moovio_sdk.types import BaseModel
9
+ import pydantic
10
+ from typing import Optional
11
+ from typing_extensions import Annotated, NotRequired, TypedDict
12
+
13
+
14
+ class PatchAccountErrorTypedDict(TypedDict):
15
+ profile: NotRequired[CreateProfileErrorTypedDict]
16
+ metadata: NotRequired[str]
17
+ terms_of_service: NotRequired[TermsOfServiceErrorTypedDict]
18
+ foreign_id: NotRequired[str]
19
+ customer_support: NotRequired[CustomerSupportErrorTypedDict]
20
+ settings: NotRequired[CreateAccountSettingsTypedDict]
21
+
22
+
23
+ class PatchAccountError(BaseModel):
24
+ profile: Optional[CreateProfileError] = None
25
+
26
+ metadata: Optional[str] = None
27
+
28
+ terms_of_service: Annotated[
29
+ Optional[TermsOfServiceError], pydantic.Field(alias="termsOfService")
30
+ ] = None
31
+
32
+ foreign_id: Annotated[Optional[str], pydantic.Field(alias="foreignID")] = None
33
+
34
+ customer_support: Annotated[
35
+ Optional[CustomerSupportError], pydantic.Field(alias="customerSupport")
36
+ ] = None
37
+
38
+ settings: Optional[CreateAccountSettings] = None
@@ -0,0 +1,72 @@
1
+ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
+
3
+ from __future__ import annotations
4
+ from .addressupdate import AddressUpdate, AddressUpdateTypedDict
5
+ from .businesstype import BusinessType
6
+ from .industrycodes import IndustryCodes, IndustryCodesTypedDict
7
+ from .phonenumber import PhoneNumber, PhoneNumberTypedDict
8
+ from .primaryregulator import PrimaryRegulator
9
+ from .taxidupdate import TaxIDUpdate, TaxIDUpdateTypedDict
10
+ from moovio_sdk.types import BaseModel
11
+ import pydantic
12
+ from typing import Optional
13
+ from typing_extensions import Annotated, NotRequired, TypedDict
14
+
15
+
16
+ class PatchBusinessTypedDict(TypedDict):
17
+ legal_business_name: NotRequired[str]
18
+ doing_business_as: NotRequired[str]
19
+ business_type: NotRequired[BusinessType]
20
+ r"""The type of entity represented by this business."""
21
+ address: NotRequired[AddressUpdateTypedDict]
22
+ phone: NotRequired[PhoneNumberTypedDict]
23
+ email: NotRequired[str]
24
+ website: NotRequired[str]
25
+ description: NotRequired[str]
26
+ tax_id: NotRequired[TaxIDUpdateTypedDict]
27
+ r"""An EIN (employer identification number) for the business. For sole proprietors, an SSN can be used as the EIN."""
28
+ owners_provided: NotRequired[bool]
29
+ industry_codes: NotRequired[IndustryCodesTypedDict]
30
+ primary_regulator: NotRequired[PrimaryRegulator]
31
+ r"""If the business is a financial institution, this field describes its primary regulator."""
32
+
33
+
34
+ class PatchBusiness(BaseModel):
35
+ legal_business_name: Annotated[
36
+ Optional[str], pydantic.Field(alias="legalBusinessName")
37
+ ] = None
38
+
39
+ doing_business_as: Annotated[
40
+ Optional[str], pydantic.Field(alias="doingBusinessAs")
41
+ ] = None
42
+
43
+ business_type: Annotated[
44
+ Optional[BusinessType], pydantic.Field(alias="businessType")
45
+ ] = None
46
+ r"""The type of entity represented by this business."""
47
+
48
+ address: Optional[AddressUpdate] = None
49
+
50
+ phone: Optional[PhoneNumber] = None
51
+
52
+ email: Optional[str] = None
53
+
54
+ website: Optional[str] = None
55
+
56
+ description: Optional[str] = None
57
+
58
+ tax_id: Annotated[Optional[TaxIDUpdate], pydantic.Field(alias="taxID")] = None
59
+ r"""An EIN (employer identification number) for the business. For sole proprietors, an SSN can be used as the EIN."""
60
+
61
+ owners_provided: Annotated[
62
+ Optional[bool], pydantic.Field(alias="ownersProvided")
63
+ ] = None
64
+
65
+ industry_codes: Annotated[
66
+ Optional[IndustryCodes], pydantic.Field(alias="industryCodes")
67
+ ] = None
68
+
69
+ primary_regulator: Annotated[
70
+ Optional[PrimaryRegulator], pydantic.Field(alias="primaryRegulator")
71
+ ] = None
72
+ r"""If the business is a financial institution, this field describes its primary regulator."""
@@ -0,0 +1,43 @@
1
+ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
+
3
+ from __future__ import annotations
4
+ from .addressupdate import AddressUpdate, AddressUpdateTypedDict
5
+ from .birthdateupdate import BirthDateUpdate, BirthDateUpdateTypedDict
6
+ from .governmentid import GovernmentID, GovernmentIDTypedDict
7
+ from .individualnameupdate import IndividualNameUpdate, IndividualNameUpdateTypedDict
8
+ from .phonenumber import PhoneNumber, PhoneNumberTypedDict
9
+ from moovio_sdk.types import BaseModel
10
+ import pydantic
11
+ from typing import Optional
12
+ from typing_extensions import Annotated, NotRequired, TypedDict
13
+
14
+
15
+ class PatchIndividualTypedDict(TypedDict):
16
+ r"""Describes the fields available when patching an individual."""
17
+
18
+ name: NotRequired[IndividualNameUpdateTypedDict]
19
+ phone: NotRequired[PhoneNumberTypedDict]
20
+ email: NotRequired[str]
21
+ address: NotRequired[AddressUpdateTypedDict]
22
+ birth_date: NotRequired[BirthDateUpdateTypedDict]
23
+ government_id: NotRequired[GovernmentIDTypedDict]
24
+
25
+
26
+ class PatchIndividual(BaseModel):
27
+ r"""Describes the fields available when patching an individual."""
28
+
29
+ name: Optional[IndividualNameUpdate] = None
30
+
31
+ phone: Optional[PhoneNumber] = None
32
+
33
+ email: Optional[str] = None
34
+
35
+ address: Optional[AddressUpdate] = None
36
+
37
+ birth_date: Annotated[
38
+ Optional[BirthDateUpdate], pydantic.Field(alias="birthDate")
39
+ ] = None
40
+
41
+ government_id: Annotated[
42
+ Optional[GovernmentID], pydantic.Field(alias="governmentID")
43
+ ] = None
@@ -0,0 +1,29 @@
1
+ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
+
3
+ from __future__ import annotations
4
+ from .patchbusiness import PatchBusiness, PatchBusinessTypedDict
5
+ from .patchindividual import PatchIndividual, PatchIndividualTypedDict
6
+ from moovio_sdk.types import BaseModel
7
+ from typing import Optional
8
+ from typing_extensions import NotRequired, TypedDict
9
+
10
+
11
+ class PatchProfileTypedDict(TypedDict):
12
+ r"""Describes the fields available when patching a profile.
13
+ Each object can be patched independent of patching the other fields.
14
+ """
15
+
16
+ individual: NotRequired[PatchIndividualTypedDict]
17
+ r"""Describes the fields available when patching an individual."""
18
+ business: NotRequired[PatchBusinessTypedDict]
19
+
20
+
21
+ class PatchProfile(BaseModel):
22
+ r"""Describes the fields available when patching a profile.
23
+ Each object can be patched independent of patching the other fields.
24
+ """
25
+
26
+ individual: Optional[PatchIndividual] = None
27
+ r"""Describes the fields available when patching an individual."""
28
+
29
+ business: Optional[PatchBusiness] = None
@@ -0,0 +1,147 @@
1
+ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
+
3
+ from __future__ import annotations
4
+ from enum import Enum
5
+ from moovio_sdk.types import (
6
+ BaseModel,
7
+ Nullable,
8
+ OptionalNullable,
9
+ UNSET,
10
+ UNSET_SENTINEL,
11
+ )
12
+ import pydantic
13
+ from pydantic import model_serializer
14
+ from typing import Union
15
+ from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict
16
+
17
+
18
+ class Status(str, Enum):
19
+ ENABLED = "enabled"
20
+ DISABLED = "disabled"
21
+
22
+
23
+ class PushPaymentMethodID2TypedDict(TypedDict):
24
+ pass
25
+
26
+
27
+ class PushPaymentMethodID2(BaseModel):
28
+ pass
29
+
30
+
31
+ PushPaymentMethodIDTypedDict = TypeAliasType(
32
+ "PushPaymentMethodIDTypedDict", Union[PushPaymentMethodID2TypedDict, str]
33
+ )
34
+
35
+
36
+ PushPaymentMethodID = TypeAliasType(
37
+ "PushPaymentMethodID", Union[PushPaymentMethodID2, str]
38
+ )
39
+
40
+
41
+ class PullPaymentMethodID2TypedDict(TypedDict):
42
+ pass
43
+
44
+
45
+ class PullPaymentMethodID2(BaseModel):
46
+ pass
47
+
48
+
49
+ PullPaymentMethodIDTypedDict = TypeAliasType(
50
+ "PullPaymentMethodIDTypedDict", Union[PullPaymentMethodID2TypedDict, str]
51
+ )
52
+
53
+
54
+ PullPaymentMethodID = TypeAliasType(
55
+ "PullPaymentMethodID", Union[PullPaymentMethodID2, str]
56
+ )
57
+
58
+
59
+ class StatementDescriptor2TypedDict(TypedDict):
60
+ pass
61
+
62
+
63
+ class StatementDescriptor2(BaseModel):
64
+ pass
65
+
66
+
67
+ StatementDescriptorTypedDict = TypeAliasType(
68
+ "StatementDescriptorTypedDict", Union[StatementDescriptor2TypedDict, str]
69
+ )
70
+
71
+
72
+ StatementDescriptor = TypeAliasType(
73
+ "StatementDescriptor", Union[StatementDescriptor2, str]
74
+ )
75
+
76
+
77
+ class PatchSweepConfigTypedDict(TypedDict):
78
+ status: NotRequired[Nullable[Status]]
79
+ push_payment_method_id: NotRequired[Nullable[PushPaymentMethodIDTypedDict]]
80
+ pull_payment_method_id: NotRequired[Nullable[PullPaymentMethodIDTypedDict]]
81
+ statement_descriptor: NotRequired[Nullable[StatementDescriptorTypedDict]]
82
+ minimum_balance: NotRequired[Nullable[str]]
83
+
84
+
85
+ class PatchSweepConfig(BaseModel):
86
+ status: OptionalNullable[Status] = UNSET
87
+
88
+ push_payment_method_id: Annotated[
89
+ OptionalNullable[PushPaymentMethodID],
90
+ pydantic.Field(alias="pushPaymentMethodID"),
91
+ ] = UNSET
92
+
93
+ pull_payment_method_id: Annotated[
94
+ OptionalNullable[PullPaymentMethodID],
95
+ pydantic.Field(alias="pullPaymentMethodID"),
96
+ ] = UNSET
97
+
98
+ statement_descriptor: Annotated[
99
+ OptionalNullable[StatementDescriptor],
100
+ pydantic.Field(alias="statementDescriptor"),
101
+ ] = UNSET
102
+
103
+ minimum_balance: Annotated[
104
+ OptionalNullable[str], pydantic.Field(alias="minimumBalance")
105
+ ] = UNSET
106
+
107
+ @model_serializer(mode="wrap")
108
+ def serialize_model(self, handler):
109
+ optional_fields = [
110
+ "status",
111
+ "pushPaymentMethodID",
112
+ "pullPaymentMethodID",
113
+ "statementDescriptor",
114
+ "minimumBalance",
115
+ ]
116
+ nullable_fields = [
117
+ "status",
118
+ "pushPaymentMethodID",
119
+ "pullPaymentMethodID",
120
+ "statementDescriptor",
121
+ "minimumBalance",
122
+ ]
123
+ null_default_fields = []
124
+
125
+ serialized = handler(self)
126
+
127
+ m = {}
128
+
129
+ for n, f in self.model_fields.items():
130
+ k = f.alias or n
131
+ val = serialized.get(k)
132
+ serialized.pop(k, None)
133
+
134
+ optional_nullable = k in optional_fields and k in nullable_fields
135
+ is_set = (
136
+ self.__pydantic_fields_set__.intersection({n})
137
+ or k in null_default_fields
138
+ ) # pylint: disable=no-member
139
+
140
+ if val is not None and val != UNSET_SENTINEL:
141
+ m[k] = val
142
+ elif val != UNSET_SENTINEL and (
143
+ not k in optional_fields or (optional_nullable and is_set)
144
+ ):
145
+ m[k] = val
146
+
147
+ return m
@@ -0,0 +1,51 @@
1
+ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
+
3
+ from __future__ import annotations
4
+ from moovio_sdk.types import (
5
+ BaseModel,
6
+ Nullable,
7
+ OptionalNullable,
8
+ UNSET,
9
+ UNSET_SENTINEL,
10
+ )
11
+ from pydantic import model_serializer
12
+ from typing import Dict
13
+ from typing_extensions import NotRequired, TypedDict
14
+
15
+
16
+ class PatchTransferTypedDict(TypedDict):
17
+ metadata: NotRequired[Nullable[Dict[str, str]]]
18
+
19
+
20
+ class PatchTransfer(BaseModel):
21
+ metadata: OptionalNullable[Dict[str, str]] = UNSET
22
+
23
+ @model_serializer(mode="wrap")
24
+ def serialize_model(self, handler):
25
+ optional_fields = ["metadata"]
26
+ nullable_fields = ["metadata"]
27
+ null_default_fields = []
28
+
29
+ serialized = handler(self)
30
+
31
+ m = {}
32
+
33
+ for n, f in self.model_fields.items():
34
+ k = f.alias or n
35
+ val = serialized.get(k)
36
+ serialized.pop(k, None)
37
+
38
+ optional_nullable = k in optional_fields and k in nullable_fields
39
+ is_set = (
40
+ self.__pydantic_fields_set__.intersection({n})
41
+ or k in null_default_fields
42
+ ) # pylint: disable=no-member
43
+
44
+ if val is not None and val != UNSET_SENTINEL:
45
+ m[k] = val
46
+ elif val != UNSET_SENTINEL and (
47
+ not k in optional_fields or (optional_nullable and is_set)
48
+ ):
49
+ m[k] = val
50
+
51
+ return m
@@ -0,0 +1,35 @@
1
+ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
+
3
+ from __future__ import annotations
4
+ from .achpaymentdetailserror import (
5
+ ACHPaymentDetailsError,
6
+ ACHPaymentDetailsErrorTypedDict,
7
+ )
8
+ from .cardpaymentdetailserror import (
9
+ CardPaymentDetailsError,
10
+ CardPaymentDetailsErrorTypedDict,
11
+ )
12
+ from moovio_sdk.types import BaseModel
13
+ import pydantic
14
+ from typing import Optional
15
+ from typing_extensions import Annotated, NotRequired, TypedDict
16
+
17
+
18
+ class PaymentDetailsErrorTypedDict(TypedDict):
19
+ allowed_methods: NotRequired[str]
20
+ card_details: NotRequired[CardPaymentDetailsErrorTypedDict]
21
+ ach_details: NotRequired[ACHPaymentDetailsErrorTypedDict]
22
+
23
+
24
+ class PaymentDetailsError(BaseModel):
25
+ allowed_methods: Annotated[
26
+ Optional[str], pydantic.Field(alias="allowedMethods")
27
+ ] = None
28
+
29
+ card_details: Annotated[
30
+ Optional[CardPaymentDetailsError], pydantic.Field(alias="cardDetails")
31
+ ] = None
32
+
33
+ ach_details: Annotated[
34
+ Optional[ACHPaymentDetailsError], pydantic.Field(alias="achDetails")
35
+ ] = None
@@ -0,0 +1,125 @@
1
+ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
+
3
+ from __future__ import annotations
4
+ from .amount import Amount, AmountTypedDict
5
+ from .mode import Mode
6
+ from .paymentlinkcustomeroptions import (
7
+ PaymentLinkCustomerOptions,
8
+ PaymentLinkCustomerOptionsTypedDict,
9
+ )
10
+ from .paymentlinkdisplayoptions import (
11
+ PaymentLinkDisplayOptions,
12
+ PaymentLinkDisplayOptionsTypedDict,
13
+ )
14
+ from .paymentlinkpaymentdetails import (
15
+ PaymentLinkPaymentDetails,
16
+ PaymentLinkPaymentDetailsTypedDict,
17
+ )
18
+ from .paymentlinkpayoutdetails import (
19
+ PaymentLinkPayoutDetails,
20
+ PaymentLinkPayoutDetailsTypedDict,
21
+ )
22
+ from .paymentlinkstatus import PaymentLinkStatus
23
+ from datetime import datetime
24
+ from moovio_sdk.types import BaseModel
25
+ import pydantic
26
+ from typing import Optional
27
+ from typing_extensions import Annotated, NotRequired, TypedDict
28
+
29
+
30
+ class PaymentLinkTypedDict(TypedDict):
31
+ code: str
32
+ r"""Unique code identifying this payment link."""
33
+ mode: Mode
34
+ r"""The operating mode for an account."""
35
+ status: PaymentLinkStatus
36
+ partner_account_id: str
37
+ r"""The partner's Moov account ID."""
38
+ merchant_account_id: str
39
+ r"""The merchant's Moov account ID."""
40
+ merchant_payment_method_id: str
41
+ r"""The merchant's preferred payment method ID. Must be a wallet payment method."""
42
+ link: str
43
+ r"""Link to the payment landing page for this payment link."""
44
+ amount: AmountTypedDict
45
+ uses: int
46
+ r"""The number of times this payment link has been used."""
47
+ display: PaymentLinkDisplayOptionsTypedDict
48
+ r"""Customizable display options for a payment link."""
49
+ customer: PaymentLinkCustomerOptionsTypedDict
50
+ created_on: datetime
51
+ updated_on: datetime
52
+ max_uses: NotRequired[int]
53
+ r"""An optional limit on the number of times this payment link can be used.
54
+
55
+ **For payouts, `maxUses` is always 1.**
56
+ """
57
+ last_used_on: NotRequired[datetime]
58
+ r"""The timestamp when this payment link was last used."""
59
+ expires_on: NotRequired[datetime]
60
+ r"""An optional expiration date for this payment link."""
61
+ payment: NotRequired[PaymentLinkPaymentDetailsTypedDict]
62
+ r"""Options for payment links used to collect payment."""
63
+ payout: NotRequired[PaymentLinkPayoutDetailsTypedDict]
64
+ disabled_on: NotRequired[datetime]
65
+
66
+
67
+ class PaymentLink(BaseModel):
68
+ code: str
69
+ r"""Unique code identifying this payment link."""
70
+
71
+ mode: Mode
72
+ r"""The operating mode for an account."""
73
+
74
+ status: PaymentLinkStatus
75
+
76
+ partner_account_id: Annotated[str, pydantic.Field(alias="partnerAccountID")]
77
+ r"""The partner's Moov account ID."""
78
+
79
+ merchant_account_id: Annotated[str, pydantic.Field(alias="merchantAccountID")]
80
+ r"""The merchant's Moov account ID."""
81
+
82
+ merchant_payment_method_id: Annotated[
83
+ str, pydantic.Field(alias="merchantPaymentMethodID")
84
+ ]
85
+ r"""The merchant's preferred payment method ID. Must be a wallet payment method."""
86
+
87
+ link: str
88
+ r"""Link to the payment landing page for this payment link."""
89
+
90
+ amount: Amount
91
+
92
+ uses: int
93
+ r"""The number of times this payment link has been used."""
94
+
95
+ display: PaymentLinkDisplayOptions
96
+ r"""Customizable display options for a payment link."""
97
+
98
+ customer: PaymentLinkCustomerOptions
99
+
100
+ created_on: Annotated[datetime, pydantic.Field(alias="createdOn")]
101
+
102
+ updated_on: Annotated[datetime, pydantic.Field(alias="updatedOn")]
103
+
104
+ max_uses: Annotated[Optional[int], pydantic.Field(alias="maxUses")] = None
105
+ r"""An optional limit on the number of times this payment link can be used.
106
+
107
+ **For payouts, `maxUses` is always 1.**
108
+ """
109
+
110
+ last_used_on: Annotated[Optional[datetime], pydantic.Field(alias="lastUsedOn")] = (
111
+ None
112
+ )
113
+ r"""The timestamp when this payment link was last used."""
114
+
115
+ expires_on: Annotated[Optional[datetime], pydantic.Field(alias="expiresOn")] = None
116
+ r"""An optional expiration date for this payment link."""
117
+
118
+ payment: Optional[PaymentLinkPaymentDetails] = None
119
+ r"""Options for payment links used to collect payment."""
120
+
121
+ payout: Optional[PaymentLinkPayoutDetails] = None
122
+
123
+ disabled_on: Annotated[Optional[datetime], pydantic.Field(alias="disabledOn")] = (
124
+ None
125
+ )