@moovio/sdk 0.21.13 → 0.21.15

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 (275) hide show
  1. package/README.md +106 -49
  2. package/bin/mcp-server.js +2707 -977
  3. package/bin/mcp-server.js.map +56 -15
  4. package/examples/package-lock.json +1 -1
  5. package/funcs/feePlansListFeeRevenue.d.ts +17 -0
  6. package/funcs/feePlansListFeeRevenue.d.ts.map +1 -0
  7. package/funcs/feePlansListFeeRevenue.js +132 -0
  8. package/funcs/feePlansListFeeRevenue.js.map +1 -0
  9. package/funcs/feePlansRetrieveFees.d.ts +1 -1
  10. package/funcs/feePlansRetrieveFees.js +1 -1
  11. package/funcs/invoicesCreateInvoice.d.ts +18 -0
  12. package/funcs/invoicesCreateInvoice.d.ts.map +1 -0
  13. package/funcs/invoicesCreateInvoice.js +139 -0
  14. package/funcs/invoicesCreateInvoice.js.map +1 -0
  15. package/funcs/invoicesGetInvoice.d.ts +17 -0
  16. package/funcs/invoicesGetInvoice.d.ts.map +1 -0
  17. package/funcs/invoicesGetInvoice.js +129 -0
  18. package/funcs/invoicesGetInvoice.js.map +1 -0
  19. package/funcs/invoicesListInvoices.d.ts +18 -0
  20. package/funcs/invoicesListInvoices.d.ts.map +1 -0
  21. package/funcs/invoicesListInvoices.js +135 -0
  22. package/funcs/invoicesListInvoices.js.map +1 -0
  23. package/funcs/invoicesMarkPaidInvoice.d.ts +19 -0
  24. package/funcs/invoicesMarkPaidInvoice.d.ts.map +1 -0
  25. package/funcs/invoicesMarkPaidInvoice.js +144 -0
  26. package/funcs/invoicesMarkPaidInvoice.js.map +1 -0
  27. package/funcs/invoicesUpdateInvoice.d.ts +18 -0
  28. package/funcs/invoicesUpdateInvoice.d.ts.map +1 -0
  29. package/funcs/invoicesUpdateInvoice.js +143 -0
  30. package/funcs/invoicesUpdateInvoice.js.map +1 -0
  31. package/jsr.json +1 -1
  32. package/lib/config.d.ts +2 -2
  33. package/lib/config.js +2 -2
  34. package/mcp-server/mcp-server.js +1 -1
  35. package/mcp-server/server.d.ts.map +1 -1
  36. package/mcp-server/server.js +13 -1
  37. package/mcp-server/server.js.map +1 -1
  38. package/mcp-server/tools/feePlansListFeeRevenue.d.ts +8 -0
  39. package/mcp-server/tools/feePlansListFeeRevenue.d.ts.map +1 -0
  40. package/mcp-server/tools/feePlansListFeeRevenue.js +65 -0
  41. package/mcp-server/tools/feePlansListFeeRevenue.js.map +1 -0
  42. package/mcp-server/tools/feePlansRetrieveFees.js +1 -1
  43. package/mcp-server/tools/invoicesCreateInvoice.d.ts +8 -0
  44. package/mcp-server/tools/invoicesCreateInvoice.d.ts.map +1 -0
  45. package/mcp-server/tools/invoicesCreateInvoice.js +65 -0
  46. package/mcp-server/tools/invoicesCreateInvoice.js.map +1 -0
  47. package/mcp-server/tools/invoicesGetInvoice.d.ts +8 -0
  48. package/mcp-server/tools/invoicesGetInvoice.d.ts.map +1 -0
  49. package/mcp-server/tools/invoicesGetInvoice.js +65 -0
  50. package/mcp-server/tools/invoicesGetInvoice.js.map +1 -0
  51. package/mcp-server/tools/invoicesListInvoices.d.ts +8 -0
  52. package/mcp-server/tools/invoicesListInvoices.d.ts.map +1 -0
  53. package/mcp-server/tools/invoicesListInvoices.js +65 -0
  54. package/mcp-server/tools/invoicesListInvoices.js.map +1 -0
  55. package/mcp-server/tools/invoicesMarkPaidInvoice.d.ts +8 -0
  56. package/mcp-server/tools/invoicesMarkPaidInvoice.d.ts.map +1 -0
  57. package/mcp-server/tools/invoicesMarkPaidInvoice.js +66 -0
  58. package/mcp-server/tools/invoicesMarkPaidInvoice.js.map +1 -0
  59. package/mcp-server/tools/invoicesUpdateInvoice.d.ts +8 -0
  60. package/mcp-server/tools/invoicesUpdateInvoice.d.ts.map +1 -0
  61. package/mcp-server/tools/invoicesUpdateInvoice.js +65 -0
  62. package/mcp-server/tools/invoicesUpdateInvoice.js.map +1 -0
  63. package/models/components/amountdecimalupdate.d.ts +29 -0
  64. package/models/components/amountdecimalupdate.d.ts.map +1 -0
  65. package/models/components/amountdecimalupdate.js +60 -0
  66. package/models/components/amountdecimalupdate.js.map +1 -0
  67. package/models/components/createinvoice.d.ts +32 -0
  68. package/models/components/createinvoice.d.ts.map +1 -0
  69. package/models/components/createinvoice.js +72 -0
  70. package/models/components/createinvoice.js.map +1 -0
  71. package/models/components/index.d.ts +19 -0
  72. package/models/components/index.d.ts.map +1 -1
  73. package/models/components/index.js +19 -0
  74. package/models/components/index.js.map +1 -1
  75. package/models/components/instantbankcreditpaymentmethod.d.ts +40 -0
  76. package/models/components/instantbankcreditpaymentmethod.d.ts.map +1 -0
  77. package/models/components/instantbankcreditpaymentmethod.js +71 -0
  78. package/models/components/instantbankcreditpaymentmethod.js.map +1 -0
  79. package/models/components/invoice.d.ts +81 -0
  80. package/models/components/invoice.d.ts.map +1 -0
  81. package/models/components/invoice.js +107 -0
  82. package/models/components/invoice.js.map +1 -0
  83. package/models/components/invoiceexternalpayment.d.ts +35 -0
  84. package/models/components/invoiceexternalpayment.d.ts.map +1 -0
  85. package/models/components/invoiceexternalpayment.js +75 -0
  86. package/models/components/invoiceexternalpayment.js.map +1 -0
  87. package/models/components/invoicelineitem.d.ts +45 -0
  88. package/models/components/invoicelineitem.d.ts.map +1 -0
  89. package/models/components/invoicelineitem.js +68 -0
  90. package/models/components/invoicelineitem.js.map +1 -0
  91. package/models/components/invoicelineitemoption.d.ts +39 -0
  92. package/models/components/invoicelineitemoption.d.ts.map +1 -0
  93. package/models/components/invoicelineitemoption.js +65 -0
  94. package/models/components/invoicelineitemoption.js.map +1 -0
  95. package/models/components/invoicelineitemoptionvalidationerror.d.ts +24 -0
  96. package/models/components/invoicelineitemoptionvalidationerror.d.ts.map +1 -0
  97. package/models/components/invoicelineitemoptionvalidationerror.js +65 -0
  98. package/models/components/invoicelineitemoptionvalidationerror.js.map +1 -0
  99. package/models/components/invoicelineitems.d.ts +24 -0
  100. package/models/components/invoicelineitems.d.ts.map +1 -0
  101. package/models/components/invoicelineitems.js +59 -0
  102. package/models/components/invoicelineitems.js.map +1 -0
  103. package/models/components/invoicelineitemsupdate.d.ts +24 -0
  104. package/models/components/invoicelineitemsupdate.d.ts.map +1 -0
  105. package/models/components/invoicelineitemsupdate.js +59 -0
  106. package/models/components/invoicelineitemsupdate.js.map +1 -0
  107. package/models/components/invoicelineitemsvalidationerror.d.ts +22 -0
  108. package/models/components/invoicelineitemsvalidationerror.d.ts.map +1 -0
  109. package/models/components/invoicelineitemsvalidationerror.js +59 -0
  110. package/models/components/invoicelineitemsvalidationerror.js.map +1 -0
  111. package/models/components/invoicelineitemvalidationerror.d.ts +31 -0
  112. package/models/components/invoicelineitemvalidationerror.d.ts.map +1 -0
  113. package/models/components/invoicelineitemvalidationerror.js +70 -0
  114. package/models/components/invoicelineitemvalidationerror.js.map +1 -0
  115. package/models/components/invoicepayment.d.ts +23 -0
  116. package/models/components/invoicepayment.d.ts.map +1 -0
  117. package/models/components/invoicepayment.js +70 -0
  118. package/models/components/invoicepayment.js.map +1 -0
  119. package/models/components/invoicestatus.d.ts +16 -0
  120. package/models/components/invoicestatus.d.ts.map +1 -0
  121. package/models/components/invoicestatus.js +53 -0
  122. package/models/components/invoicestatus.js.map +1 -0
  123. package/models/components/invoicetransferpayment.d.ts +28 -0
  124. package/models/components/invoicetransferpayment.d.ts.map +1 -0
  125. package/models/components/invoicetransferpayment.js +68 -0
  126. package/models/components/invoicetransferpayment.js.map +1 -0
  127. package/models/components/markinvoicepaid.d.ts +21 -0
  128. package/models/components/markinvoicepaid.d.ts.map +1 -0
  129. package/models/components/markinvoicepaid.js +63 -0
  130. package/models/components/markinvoicepaid.js.map +1 -0
  131. package/models/components/paymentmethod.d.ts +5 -0
  132. package/models/components/paymentmethod.d.ts.map +1 -1
  133. package/models/components/paymentmethod.js +3 -0
  134. package/models/components/paymentmethod.js.map +1 -1
  135. package/models/components/paymentmethodtype.d.ts +1 -0
  136. package/models/components/paymentmethodtype.d.ts.map +1 -1
  137. package/models/components/paymentmethodtype.js +1 -0
  138. package/models/components/paymentmethodtype.js.map +1 -1
  139. package/models/components/updateinvoice.d.ts +36 -0
  140. package/models/components/updateinvoice.d.ts.map +1 -0
  141. package/models/components/updateinvoice.js +71 -0
  142. package/models/components/updateinvoice.js.map +1 -0
  143. package/models/components/webhookdata.d.ts +4 -2
  144. package/models/components/webhookdata.d.ts.map +1 -1
  145. package/models/components/webhookdata.js +6 -0
  146. package/models/components/webhookdata.js.map +1 -1
  147. package/models/components/webhookdatainvoicecreated.d.ts +19 -0
  148. package/models/components/webhookdatainvoicecreated.d.ts.map +1 -0
  149. package/models/components/webhookdatainvoicecreated.js +60 -0
  150. package/models/components/webhookdatainvoicecreated.js.map +1 -0
  151. package/models/components/webhookdatainvoiceupdated.d.ts +22 -0
  152. package/models/components/webhookdatainvoiceupdated.d.ts.map +1 -0
  153. package/models/components/webhookdatainvoiceupdated.js +63 -0
  154. package/models/components/webhookdatainvoiceupdated.js.map +1 -0
  155. package/models/components/webhookeventtype.d.ts +2 -0
  156. package/models/components/webhookeventtype.d.ts.map +1 -1
  157. package/models/components/webhookeventtype.js +2 -0
  158. package/models/components/webhookeventtype.js.map +1 -1
  159. package/models/errors/createinvoiceerror.d.ts +40 -0
  160. package/models/errors/createinvoiceerror.d.ts.map +1 -0
  161. package/models/errors/createinvoiceerror.js +100 -0
  162. package/models/errors/createinvoiceerror.js.map +1 -0
  163. package/models/errors/index.d.ts +4 -0
  164. package/models/errors/index.d.ts.map +1 -1
  165. package/models/errors/index.js +4 -0
  166. package/models/errors/index.js.map +1 -1
  167. package/models/errors/listinvoicesvalidationerror.d.ts +33 -0
  168. package/models/errors/listinvoicesvalidationerror.d.ts.map +1 -0
  169. package/models/errors/listinvoicesvalidationerror.js +88 -0
  170. package/models/errors/listinvoicesvalidationerror.js.map +1 -0
  171. package/models/errors/markinvoicepaiderror.d.ts +30 -0
  172. package/models/errors/markinvoicepaiderror.d.ts.map +1 -0
  173. package/models/errors/markinvoicepaiderror.js +83 -0
  174. package/models/errors/markinvoicepaiderror.js.map +1 -0
  175. package/models/errors/updateinvoiceerror.d.ts +40 -0
  176. package/models/errors/updateinvoiceerror.d.ts.map +1 -0
  177. package/models/errors/updateinvoiceerror.js +99 -0
  178. package/models/errors/updateinvoiceerror.js.map +1 -0
  179. package/models/operations/createinvoice.d.ts +66 -0
  180. package/models/operations/createinvoice.d.ts.map +1 -0
  181. package/models/operations/createinvoice.js +122 -0
  182. package/models/operations/createinvoice.js.map +1 -0
  183. package/models/operations/getinvoice.d.ts +66 -0
  184. package/models/operations/getinvoice.d.ts.map +1 -0
  185. package/models/operations/getinvoice.js +114 -0
  186. package/models/operations/getinvoice.js.map +1 -0
  187. package/models/operations/index.d.ts +6 -0
  188. package/models/operations/index.d.ts.map +1 -1
  189. package/models/operations/index.js +6 -0
  190. package/models/operations/index.js.map +1 -1
  191. package/models/operations/listfeerevenue.d.ts +81 -0
  192. package/models/operations/listfeerevenue.d.ts.map +1 -0
  193. package/models/operations/listfeerevenue.js +120 -0
  194. package/models/operations/listfeerevenue.js.map +1 -0
  195. package/models/operations/listinvoices.d.ts +72 -0
  196. package/models/operations/listinvoices.d.ts.map +1 -0
  197. package/models/operations/listinvoices.js +120 -0
  198. package/models/operations/listinvoices.js.map +1 -0
  199. package/models/operations/markpaidinvoice.d.ts +68 -0
  200. package/models/operations/markpaidinvoice.d.ts.map +1 -0
  201. package/models/operations/markpaidinvoice.js +124 -0
  202. package/models/operations/markpaidinvoice.js.map +1 -0
  203. package/models/operations/updateinvoice.d.ts +68 -0
  204. package/models/operations/updateinvoice.d.ts.map +1 -0
  205. package/models/operations/updateinvoice.js +124 -0
  206. package/models/operations/updateinvoice.js.map +1 -0
  207. package/package.json +1 -1
  208. package/sdk/feeplans.d.ts +8 -1
  209. package/sdk/feeplans.d.ts.map +1 -1
  210. package/sdk/feeplans.js +11 -1
  211. package/sdk/feeplans.js.map +1 -1
  212. package/sdk/invoices.d.ts +41 -0
  213. package/sdk/invoices.d.ts.map +1 -0
  214. package/sdk/invoices.js +63 -0
  215. package/sdk/invoices.js.map +1 -0
  216. package/sdk/sdk.d.ts +3 -0
  217. package/sdk/sdk.d.ts.map +1 -1
  218. package/sdk/sdk.js +4 -0
  219. package/sdk/sdk.js.map +1 -1
  220. package/src/funcs/feePlansListFeeRevenue.ts +187 -0
  221. package/src/funcs/feePlansRetrieveFees.ts +1 -1
  222. package/src/funcs/invoicesCreateInvoice.ts +201 -0
  223. package/src/funcs/invoicesGetInvoice.ts +185 -0
  224. package/src/funcs/invoicesListInvoices.ts +194 -0
  225. package/src/funcs/invoicesMarkPaidInvoice.ts +208 -0
  226. package/src/funcs/invoicesUpdateInvoice.ts +207 -0
  227. package/src/lib/config.ts +2 -2
  228. package/src/mcp-server/mcp-server.ts +1 -1
  229. package/src/mcp-server/server.ts +13 -1
  230. package/src/mcp-server/tools/feePlansListFeeRevenue.ts +39 -0
  231. package/src/mcp-server/tools/feePlansRetrieveFees.ts +1 -1
  232. package/src/mcp-server/tools/invoicesCreateInvoice.ts +38 -0
  233. package/src/mcp-server/tools/invoicesGetInvoice.ts +38 -0
  234. package/src/mcp-server/tools/invoicesListInvoices.ts +38 -0
  235. package/src/mcp-server/tools/invoicesMarkPaidInvoice.ts +39 -0
  236. package/src/mcp-server/tools/invoicesUpdateInvoice.ts +38 -0
  237. package/src/models/components/amountdecimalupdate.ts +65 -0
  238. package/src/models/components/createinvoice.ts +84 -0
  239. package/src/models/components/index.ts +19 -0
  240. package/src/models/components/instantbankcreditpaymentmethod.ts +95 -0
  241. package/src/models/components/invoice.ts +178 -0
  242. package/src/models/components/invoiceexternalpayment.ts +91 -0
  243. package/src/models/components/invoicelineitem.ts +95 -0
  244. package/src/models/components/invoicelineitemoption.ts +84 -0
  245. package/src/models/components/invoicelineitemoptionvalidationerror.ts +72 -0
  246. package/src/models/components/invoicelineitems.ts +63 -0
  247. package/src/models/components/invoicelineitemsupdate.ts +63 -0
  248. package/src/models/components/invoicelineitemsvalidationerror.ts +59 -0
  249. package/src/models/components/invoicelineitemvalidationerror.ts +85 -0
  250. package/src/models/components/invoicepayment.ts +77 -0
  251. package/src/models/components/invoicestatus.ts +25 -0
  252. package/src/models/components/invoicetransferpayment.ts +68 -0
  253. package/src/models/components/markinvoicepaid.ts +58 -0
  254. package/src/models/components/paymentmethod.ts +22 -0
  255. package/src/models/components/paymentmethodtype.ts +1 -0
  256. package/src/models/components/updateinvoice.ts +94 -0
  257. package/src/models/components/webhookdata.ts +20 -0
  258. package/src/models/components/webhookdatainvoicecreated.ts +55 -0
  259. package/src/models/components/webhookdatainvoiceupdated.ts +64 -0
  260. package/src/models/components/webhookeventtype.ts +2 -0
  261. package/src/models/errors/createinvoiceerror.ts +102 -0
  262. package/src/models/errors/index.ts +4 -0
  263. package/src/models/errors/listinvoicesvalidationerror.ts +86 -0
  264. package/src/models/errors/markinvoicepaiderror.ts +78 -0
  265. package/src/models/errors/updateinvoiceerror.ts +100 -0
  266. package/src/models/operations/createinvoice.ts +187 -0
  267. package/src/models/operations/getinvoice.ts +179 -0
  268. package/src/models/operations/index.ts +6 -0
  269. package/src/models/operations/listfeerevenue.ts +200 -0
  270. package/src/models/operations/listinvoices.ts +191 -0
  271. package/src/models/operations/markpaidinvoice.ts +191 -0
  272. package/src/models/operations/updateinvoice.ts +191 -0
  273. package/src/sdk/feeplans.ts +19 -1
  274. package/src/sdk/invoices.ts +100 -0
  275. package/src/sdk/sdk.ts +6 -0
package/README.md CHANGED
@@ -710,7 +710,11 @@ selecting a fee plan to apply to a connected account.
710
710
 
711
711
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
712
712
  you'll need to specify the `/accounts/{accountID}/profile.read` scope.
713
- * [retrieveFees](docs/sdks/feeplans/README.md#retrievefees) - Retrieve fees associated with an account.
713
+ * [listFeeRevenue](docs/sdks/feeplans/README.md#listfeerevenue) - Used by a partner. Retrieve revenue generated from merchant fees.
714
+
715
+ To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
716
+ you'll need to specify the `/accounts/{accountID}/profile.read` scope.
717
+ * [retrieveFees](docs/sdks/feeplans/README.md#retrievefees) - Retrieve fees assessed to an account.
714
718
 
715
719
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
716
720
  you'll need to specify the `/accounts/{accountID}/transfers.read` scope.
@@ -794,6 +798,30 @@ you'll need to specify the `/institutions.read` scope.
794
798
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
795
799
  you'll need to specify the `/fed.read` scope.
796
800
 
801
+ ### [invoices](docs/sdks/invoices/README.md)
802
+
803
+ * [createInvoice](docs/sdks/invoices/README.md#createinvoice) - Create an invoice for a Moov account.
804
+
805
+ To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
806
+ you'll need to specify the `/accounts/{accountID}/invoices.write` scope.
807
+ * [listInvoices](docs/sdks/invoices/README.md#listinvoices) - List all the invoices created under a Moov account.
808
+
809
+ To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
810
+ you'll need to specify the `/accounts/{accountID}/invoices.read` scope.
811
+ * [getInvoice](docs/sdks/invoices/README.md#getinvoice) - Retrieve an invoice by ID.
812
+
813
+ To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
814
+ you'll need to specify the `/accounts/{accountID}/invoices.read` scope.
815
+ * [updateInvoice](docs/sdks/invoices/README.md#updateinvoice) - Updates an invoice.
816
+
817
+ To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
818
+ you'll need to specify the `/accounts/{accountID}/invoices.write` scope.
819
+ * [markPaidInvoice](docs/sdks/invoices/README.md#markpaidinvoice) - Marks an invoice as paid outside of the Moov platform.
820
+ If a payment link was created, the corresponding payment link is canceled, but a receipt is still sent.
821
+
822
+ To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
823
+ you'll need to specify the `/accounts/{accountID}/invoices.write` scope.
824
+
797
825
  ### [issuingTransactions](docs/sdks/issuingtransactions/README.md)
798
826
 
799
827
  * [listAuthorizations](docs/sdks/issuingtransactions/README.md#listauthorizations) - List issued card authorizations associated with a Moov account.
@@ -1643,6 +1671,10 @@ you'll need to specify the `/accounts/{accountID}/profile.read` scope.
1643
1671
  - [`feePlansListFeePlans`](docs/sdks/feeplans/README.md#listfeeplans) - List all fee plans available for use by an account. This is intended to be used by an account when
1644
1672
  selecting a fee plan to apply to a connected account.
1645
1673
 
1674
+ To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
1675
+ you'll need to specify the `/accounts/{accountID}/profile.read` scope.
1676
+ - [`feePlansListFeeRevenue`](docs/sdks/feeplans/README.md#listfeerevenue) - Used by a partner. Retrieve revenue generated from merchant fees.
1677
+
1646
1678
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
1647
1679
  you'll need to specify the `/accounts/{accountID}/profile.read` scope.
1648
1680
  - [`feePlansListFeesFetch`](docs/sdks/feeplans/README.md#listfeesfetch) - List fees associated with an account.
@@ -1665,7 +1697,7 @@ you'll need to specify the `/accounts/{accountID}/profile.read` scope.
1665
1697
 
1666
1698
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
1667
1699
  you'll need to specify the `/accounts/{accountID}/profile.read` scope.
1668
- - [`feePlansRetrieveFees`](docs/sdks/feeplans/README.md#retrievefees) - Retrieve fees associated with an account.
1700
+ - [`feePlansRetrieveFees`](docs/sdks/feeplans/README.md#retrievefees) - Retrieve fees assessed to an account.
1669
1701
 
1670
1702
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
1671
1703
  you'll need to specify the `/accounts/{accountID}/transfers.read` scope.
@@ -1712,6 +1744,27 @@ This can be used to validate a financial institution before initiating payment a
1712
1744
 
1713
1745
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
1714
1746
  you'll need to specify the `/institutions.read` scope.
1747
+ - [`invoicesCreateInvoice`](docs/sdks/invoices/README.md#createinvoice) - Create an invoice for a Moov account.
1748
+
1749
+ To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
1750
+ you'll need to specify the `/accounts/{accountID}/invoices.write` scope.
1751
+ - [`invoicesGetInvoice`](docs/sdks/invoices/README.md#getinvoice) - Retrieve an invoice by ID.
1752
+
1753
+ To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
1754
+ you'll need to specify the `/accounts/{accountID}/invoices.read` scope.
1755
+ - [`invoicesListInvoices`](docs/sdks/invoices/README.md#listinvoices) - List all the invoices created under a Moov account.
1756
+
1757
+ To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
1758
+ you'll need to specify the `/accounts/{accountID}/invoices.read` scope.
1759
+ - [`invoicesMarkPaidInvoice`](docs/sdks/invoices/README.md#markpaidinvoice) - Marks an invoice as paid outside of the Moov platform.
1760
+ If a payment link was created, the corresponding payment link is canceled, but a receipt is still sent.
1761
+
1762
+ To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
1763
+ you'll need to specify the `/accounts/{accountID}/invoices.write` scope.
1764
+ - [`invoicesUpdateInvoice`](docs/sdks/invoices/README.md#updateinvoice) - Updates an invoice.
1765
+
1766
+ To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
1767
+ you'll need to specify the `/accounts/{accountID}/invoices.write` scope.
1715
1768
  - [`issuingTransactionsGet`](docs/sdks/issuingtransactions/README.md#get) - Retrieves details of an issued card transaction associated with a specific Moov account.
1716
1769
 
1717
1770
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
@@ -2271,7 +2324,7 @@ run();
2271
2324
  **Primary error:**
2272
2325
  * [`MoovError`](./src/models/errors/mooverror.ts): The base class for HTTP error responses.
2273
2326
 
2274
- <details><summary>Less common errors (52)</summary>
2327
+ <details><summary>Less common errors (56)</summary>
2275
2328
 
2276
2329
  <br />
2277
2330
 
@@ -2284,52 +2337,56 @@ run();
2284
2337
 
2285
2338
 
2286
2339
  **Inherit from [`MoovError`](./src/models/errors/mooverror.ts)**:
2287
- * [`GenericError`](./src/models/errors/genericerror.ts): Applicable to 72 of 162 methods.*
2288
- * [`BrandValidationError`](./src/models/errors/brandvalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 3 of 162 methods.*
2289
- * [`ImageRequestValidationError`](./src/models/errors/imagerequestvalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 2 of 162 methods.*
2290
- * [`ProductRequestValidationError`](./src/models/errors/productrequestvalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 2 of 162 methods.*
2291
- * [`ScheduleValidationError`](./src/models/errors/schedulevalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 2 of 162 methods.*
2292
- * [`TerminalApplicationError`](./src/models/errors/terminalapplicationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 2 of 162 methods.*
2293
- * [`Transfer`](./src/models/errors/transfer.ts): Details of a Transfer. Status code `409`. Applicable to 1 of 162 methods.*
2294
- * [`CardAcquiringRefund`](./src/models/errors/cardacquiringrefund.ts): Details of a card refund. Status code `409`. Applicable to 1 of 162 methods.*
2295
- * [`CreateAccountError`](./src/models/errors/createaccounterror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 162 methods.*
2296
- * [`PatchAccountError`](./src/models/errors/patchaccounterror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 162 methods.*
2297
- * [`AssignCountriesError`](./src/models/errors/assigncountrieserror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 162 methods.*
2298
- * [`LinkApplePayError`](./src/models/errors/linkapplepayerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 162 methods.*
2299
- * [`BankAccountValidationError`](./src/models/errors/bankaccountvalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 162 methods.*
2300
- * [`MicroDepositValidationError`](./src/models/errors/microdepositvalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 162 methods.*
2301
- * [`AddCapabilitiesError`](./src/models/errors/addcapabilitieserror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 162 methods.*
2302
- * [`LinkCardError`](./src/models/errors/linkcarderror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 162 methods.*
2303
- * [`UpdateCardError`](./src/models/errors/updatecarderror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 162 methods.*
2304
- * [`FileUploadValidationError`](./src/models/errors/fileuploadvalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 162 methods.*
2305
- * [`FeePlanAgreementError`](./src/models/errors/feeplanagreementerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 162 methods.*
2306
- * [`FileValidationError`](./src/models/errors/filevalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 162 methods.*
2307
- * [`ImageMetadataValidationError`](./src/models/errors/imagemetadatavalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 162 methods.*
2308
- * [`CreatePaymentLinkError`](./src/models/errors/createpaymentlinkerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 162 methods.*
2309
- * [`UpdatePaymentLinkError`](./src/models/errors/updatepaymentlinkerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 162 methods.*
2310
- * [`RepresentativeValidationError`](./src/models/errors/representativevalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 162 methods.*
2311
- * [`CreateSweepConfigError`](./src/models/errors/createsweepconfigerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 162 methods.*
2312
- * [`PatchSweepConfigError`](./src/models/errors/patchsweepconfigerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 162 methods.*
2313
- * [`AccountTerminalApplicationError`](./src/models/errors/accountterminalapplicationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 162 methods.*
2314
- * [`CreateTicketError`](./src/models/errors/createticketerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 162 methods.*
2315
- * [`UpdateTicketError`](./src/models/errors/updateticketerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 162 methods.*
2316
- * [`TransferOptionsValidationError`](./src/models/errors/transferoptionsvalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 162 methods.*
2317
- * [`TransferValidationError`](./src/models/errors/transfervalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 162 methods.*
2318
- * [`ListTransfersValidationError`](./src/models/errors/listtransfersvalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 162 methods.*
2319
- * [`PatchTransferValidationError`](./src/models/errors/patchtransfervalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 162 methods.*
2320
- * [`RefundValidationError`](./src/models/errors/refundvalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 162 methods.*
2321
- * [`ReversalValidationError`](./src/models/errors/reversalvalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 162 methods.*
2322
- * [`UpsertUnderwritingError`](./src/models/errors/upsertunderwritingerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 162 methods.*
2323
- * [`UpdateUnderwritingError`](./src/models/errors/updateunderwritingerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 162 methods.*
2324
- * [`CreateWalletValidationError`](./src/models/errors/createwalletvalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 162 methods.*
2325
- * [`ListWalletsValidationError`](./src/models/errors/listwalletsvalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 162 methods.*
2326
- * [`PatchWalletValidationError`](./src/models/errors/patchwalletvalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 162 methods.*
2327
- * [`ListWalletTransactionsValidationError`](./src/models/errors/listwallettransactionsvalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 162 methods.*
2328
- * [`RequestCardError`](./src/models/errors/requestcarderror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 162 methods.*
2329
- * [`UpdateIssuedCardError`](./src/models/errors/updateissuedcarderror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 162 methods.*
2330
- * [`RevokeTokenRequestError`](./src/models/errors/revoketokenrequesterror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 162 methods.*
2331
- * [`AuthTokenRequestError`](./src/models/errors/authtokenrequesterror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 162 methods.*
2332
- * [`OnboardingInviteError`](./src/models/errors/onboardinginviteerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 162 methods.*
2340
+ * [`GenericError`](./src/models/errors/genericerror.ts): Applicable to 75 of 168 methods.*
2341
+ * [`BrandValidationError`](./src/models/errors/brandvalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 3 of 168 methods.*
2342
+ * [`ImageRequestValidationError`](./src/models/errors/imagerequestvalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 2 of 168 methods.*
2343
+ * [`ProductRequestValidationError`](./src/models/errors/productrequestvalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 2 of 168 methods.*
2344
+ * [`ScheduleValidationError`](./src/models/errors/schedulevalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 2 of 168 methods.*
2345
+ * [`TerminalApplicationError`](./src/models/errors/terminalapplicationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 2 of 168 methods.*
2346
+ * [`Transfer`](./src/models/errors/transfer.ts): Details of a Transfer. Status code `409`. Applicable to 1 of 168 methods.*
2347
+ * [`CardAcquiringRefund`](./src/models/errors/cardacquiringrefund.ts): Details of a card refund. Status code `409`. Applicable to 1 of 168 methods.*
2348
+ * [`CreateAccountError`](./src/models/errors/createaccounterror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 168 methods.*
2349
+ * [`PatchAccountError`](./src/models/errors/patchaccounterror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 168 methods.*
2350
+ * [`AssignCountriesError`](./src/models/errors/assigncountrieserror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 168 methods.*
2351
+ * [`LinkApplePayError`](./src/models/errors/linkapplepayerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 168 methods.*
2352
+ * [`BankAccountValidationError`](./src/models/errors/bankaccountvalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 168 methods.*
2353
+ * [`MicroDepositValidationError`](./src/models/errors/microdepositvalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 168 methods.*
2354
+ * [`AddCapabilitiesError`](./src/models/errors/addcapabilitieserror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 168 methods.*
2355
+ * [`LinkCardError`](./src/models/errors/linkcarderror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 168 methods.*
2356
+ * [`UpdateCardError`](./src/models/errors/updatecarderror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 168 methods.*
2357
+ * [`FileUploadValidationError`](./src/models/errors/fileuploadvalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 168 methods.*
2358
+ * [`FeePlanAgreementError`](./src/models/errors/feeplanagreementerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 168 methods.*
2359
+ * [`FileValidationError`](./src/models/errors/filevalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 168 methods.*
2360
+ * [`ImageMetadataValidationError`](./src/models/errors/imagemetadatavalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 168 methods.*
2361
+ * [`CreateInvoiceError`](./src/models/errors/createinvoiceerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 168 methods.*
2362
+ * [`ListInvoicesValidationError`](./src/models/errors/listinvoicesvalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 168 methods.*
2363
+ * [`UpdateInvoiceError`](./src/models/errors/updateinvoiceerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 168 methods.*
2364
+ * [`MarkInvoicePaidError`](./src/models/errors/markinvoicepaiderror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 168 methods.*
2365
+ * [`CreatePaymentLinkError`](./src/models/errors/createpaymentlinkerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 168 methods.*
2366
+ * [`UpdatePaymentLinkError`](./src/models/errors/updatepaymentlinkerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 168 methods.*
2367
+ * [`RepresentativeValidationError`](./src/models/errors/representativevalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 168 methods.*
2368
+ * [`CreateSweepConfigError`](./src/models/errors/createsweepconfigerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 168 methods.*
2369
+ * [`PatchSweepConfigError`](./src/models/errors/patchsweepconfigerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 168 methods.*
2370
+ * [`AccountTerminalApplicationError`](./src/models/errors/accountterminalapplicationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 168 methods.*
2371
+ * [`CreateTicketError`](./src/models/errors/createticketerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 168 methods.*
2372
+ * [`UpdateTicketError`](./src/models/errors/updateticketerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 168 methods.*
2373
+ * [`TransferOptionsValidationError`](./src/models/errors/transferoptionsvalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 168 methods.*
2374
+ * [`TransferValidationError`](./src/models/errors/transfervalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 168 methods.*
2375
+ * [`ListTransfersValidationError`](./src/models/errors/listtransfersvalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 168 methods.*
2376
+ * [`PatchTransferValidationError`](./src/models/errors/patchtransfervalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 168 methods.*
2377
+ * [`RefundValidationError`](./src/models/errors/refundvalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 168 methods.*
2378
+ * [`ReversalValidationError`](./src/models/errors/reversalvalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 168 methods.*
2379
+ * [`UpsertUnderwritingError`](./src/models/errors/upsertunderwritingerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 168 methods.*
2380
+ * [`UpdateUnderwritingError`](./src/models/errors/updateunderwritingerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 168 methods.*
2381
+ * [`CreateWalletValidationError`](./src/models/errors/createwalletvalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 168 methods.*
2382
+ * [`ListWalletsValidationError`](./src/models/errors/listwalletsvalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 168 methods.*
2383
+ * [`PatchWalletValidationError`](./src/models/errors/patchwalletvalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 168 methods.*
2384
+ * [`ListWalletTransactionsValidationError`](./src/models/errors/listwallettransactionsvalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 168 methods.*
2385
+ * [`RequestCardError`](./src/models/errors/requestcarderror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 168 methods.*
2386
+ * [`UpdateIssuedCardError`](./src/models/errors/updateissuedcarderror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 168 methods.*
2387
+ * [`RevokeTokenRequestError`](./src/models/errors/revoketokenrequesterror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 168 methods.*
2388
+ * [`AuthTokenRequestError`](./src/models/errors/authtokenrequesterror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 168 methods.*
2389
+ * [`OnboardingInviteError`](./src/models/errors/onboardinginviteerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 168 methods.*
2333
2390
  * [`ResponseValidationError`](./src/models/errors/responsevalidationerror.ts): Type mismatch between the data returned from the server and the structure expected by the SDK. See `error.rawValue` for the raw value and `error.pretty()` for a nicely formatted multi-line string.
2334
2391
 
2335
2392
  </details>