@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
@@ -28,6 +28,7 @@ __exportStar(require("./createapplepaysession.js"), exports);
28
28
  __exportStar(require("./createbrand.js"), exports);
29
29
  __exportStar(require("./createcancellation.js"), exports);
30
30
  __exportStar(require("./createfeeplanagreements.js"), exports);
31
+ __exportStar(require("./createinvoice.js"), exports);
31
32
  __exportStar(require("./createonboardinginvite.js"), exports);
32
33
  __exportStar(require("./createpaymentlink.js"), exports);
33
34
  __exportStar(require("./createproduct.js"), exports);
@@ -73,6 +74,7 @@ __exportStar(require("./getenrichmentprofile.js"), exports);
73
74
  __exportStar(require("./getfiledetails.js"), exports);
74
75
  __exportStar(require("./getfullissuedcard.js"), exports);
75
76
  __exportStar(require("./getimagemetadata.js"), exports);
77
+ __exportStar(require("./getinvoice.js"), exports);
76
78
  __exportStar(require("./getissuedcard.js"), exports);
77
79
  __exportStar(require("./getissuedcardauthorization.js"), exports);
78
80
  __exportStar(require("./getissuedcardtransaction.js"), exports);
@@ -116,11 +118,13 @@ __exportStar(require("./listdisputeevidence.js"), exports);
116
118
  __exportStar(require("./listdisputes.js"), exports);
117
119
  __exportStar(require("./listfeeplanagreements.js"), exports);
118
120
  __exportStar(require("./listfeeplans.js"), exports);
121
+ __exportStar(require("./listfeerevenue.js"), exports);
119
122
  __exportStar(require("./listfeesfetch.js"), exports);
120
123
  __exportStar(require("./listfiles.js"), exports);
121
124
  __exportStar(require("./listimagemetadata.js"), exports);
122
125
  __exportStar(require("./listindustries.js"), exports);
123
126
  __exportStar(require("./listinstitutions.js"), exports);
127
+ __exportStar(require("./listinvoices.js"), exports);
124
128
  __exportStar(require("./listissuedcardauthorizationevents.js"), exports);
125
129
  __exportStar(require("./listissuedcardauthorizations.js"), exports);
126
130
  __exportStar(require("./listissuedcards.js"), exports);
@@ -146,6 +150,7 @@ __exportStar(require("./listtickets.js"), exports);
146
150
  __exportStar(require("./listtransfers.js"), exports);
147
151
  __exportStar(require("./listwallets.js"), exports);
148
152
  __exportStar(require("./listwallettransactions.js"), exports);
153
+ __exportStar(require("./markpaidinvoice.js"), exports);
149
154
  __exportStar(require("./ping.js"), exports);
150
155
  __exportStar(require("./registerapplepaymerchantdomains.js"), exports);
151
156
  __exportStar(require("./requestcapabilities.js"), exports);
@@ -164,6 +169,7 @@ __exportStar(require("./updatecard.js"), exports);
164
169
  __exportStar(require("./updatedisputeevidence.js"), exports);
165
170
  __exportStar(require("./updateimage.js"), exports);
166
171
  __exportStar(require("./updateimagemetadata.js"), exports);
172
+ __exportStar(require("./updateinvoice.js"), exports);
167
173
  __exportStar(require("./updateissuedcard.js"), exports);
168
174
  __exportStar(require("./updatepaymentlink.js"), exports);
169
175
  __exportStar(require("./updateproduct.js"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/models/operations/index.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;AAEH,qDAAmC;AACnC,8DAA4C;AAC5C,sDAAoC;AACpC,uEAAqD;AACrD,6DAA2C;AAC3C,yDAAuC;AACvC,qDAAmC;AACnC,6DAA2C;AAC3C,mDAAiC;AACjC,0DAAwC;AACxC,+DAA6C;AAC7C,8DAA4C;AAC5C,yDAAuC;AACvC,qDAAmC;AACnC,sDAAoC;AACpC,4DAA0C;AAC1C,sDAAoC;AACpC,sDAAoC;AACpC,yDAAuC;AACvC,iEAA+C;AAC/C,wEAAsD;AACtD,oDAAkC;AAClC,sDAAoC;AACpC,6DAA2C;AAC3C,oDAAkC;AAClC,iEAA+C;AAC/C,mDAAiC;AACjC,4DAA0C;AAC1C,iEAA+C;AAC/C,0DAAwC;AACxC,yDAAuC;AACvC,mDAAiC;AACjC,0DAAwC;AACxC,sDAAoC;AACpC,yDAAuC;AACvC,2DAAyC;AACzC,kDAAgC;AAChC,2DAAyC;AACzC,qEAAmD;AACnD,qDAAmC;AACnC,kEAAgD;AAChD,iDAA+B;AAC/B,sDAAoC;AACpC,kEAAgD;AAChD,gDAA8B;AAC9B,uDAAqC;AACrC,qDAAmC;AACnC,+CAA6B;AAC7B,kDAAgC;AAChC,0DAAwC;AACxC,8DAA4C;AAC5C,4DAA0C;AAC1C,4DAA0C;AAC1C,sDAAoC;AACpC,yDAAuC;AACvC,wDAAsC;AACtC,qDAAmC;AACnC,kEAAgD;AAChD,gEAA8C;AAC9C,sEAAoD;AACpD,2DAAyC;AACzC,sDAAoC;AACpC,4DAA0C;AAC1C,wDAAsC;AACtC,kDAAgC;AAChC,sDAAoC;AACpC,iDAA+B;AAC/B,yDAAuC;AACvC,mDAAiC;AACjC,8DAA4C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DAAkC;AAClC,sDAAoC;AACpC,oDAAkC;AAClC,iEAA+C;AAC/C,iEAA+C;AAC/C,kDAAgC;AAChC,mDAAiC;AACjC,mDAAiC;AACjC,0DAAwC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/models/operations/index.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;AAEH,qDAAmC;AACnC,8DAA4C;AAC5C,sDAAoC;AACpC,uEAAqD;AACrD,6DAA2C;AAC3C,yDAAuC;AACvC,qDAAmC;AACnC,6DAA2C;AAC3C,mDAAiC;AACjC,0DAAwC;AACxC,+DAA6C;AAC7C,qDAAmC;AACnC,8DAA4C;AAC5C,yDAAuC;AACvC,qDAAmC;AACnC,sDAAoC;AACpC,4DAA0C;AAC1C,sDAAoC;AACpC,sDAAoC;AACpC,yDAAuC;AACvC,iEAA+C;AAC/C,wEAAsD;AACtD,oDAAkC;AAClC,sDAAoC;AACpC,6DAA2C;AAC3C,oDAAkC;AAClC,iEAA+C;AAC/C,mDAAiC;AACjC,4DAA0C;AAC1C,iEAA+C;AAC/C,0DAAwC;AACxC,yDAAuC;AACvC,mDAAiC;AACjC,0DAAwC;AACxC,sDAAoC;AACpC,yDAAuC;AACvC,2DAAyC;AACzC,kDAAgC;AAChC,2DAAyC;AACzC,qEAAmD;AACnD,qDAAmC;AACnC,kEAAgD;AAChD,iDAA+B;AAC/B,sDAAoC;AACpC,kEAAgD;AAChD,gDAA8B;AAC9B,uDAAqC;AACrC,qDAAmC;AACnC,+CAA6B;AAC7B,kDAAgC;AAChC,0DAAwC;AACxC,8DAA4C;AAC5C,4DAA0C;AAC1C,4DAA0C;AAC1C,sDAAoC;AACpC,yDAAuC;AACvC,wDAAsC;AACtC,kDAAgC;AAChC,qDAAmC;AACnC,kEAAgD;AAChD,gEAA8C;AAC9C,sEAAoD;AACpD,2DAAyC;AACzC,sDAAoC;AACpC,4DAA0C;AAC1C,wDAAsC;AACtC,kDAAgC;AAChC,sDAAoC;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AAyC;AACzC,qDAAmC;AACnC,wDAAsC;AACtC,yDAAuC;AACvC,qDAAmC;AACnC,4DAA0C;AAC1C,sDAAoC;AACpC,yDAAuC;AACvC,oDAAkC;AAClC,sDAAoC;AACpC,oDAAkC;AAClC,iEAA+C;AAC/C,iEAA+C;AAC/C,kDAAgC;AAChC,mDAAiC;AACjC,mDAAiC;AACjC,0DAAwC"}
@@ -0,0 +1,81 @@
1
+ import * as z from "zod/v3";
2
+ import { Result as SafeParseResult } from "../../types/fp.js";
3
+ import * as components from "../components/index.js";
4
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
5
+ export type ListFeeRevenueGlobals = {
6
+ /**
7
+ * Specify an API version.
8
+ *
9
+ * @remarks
10
+ *
11
+ * API versioning follows the format `vYYYY.QQ.BB`, where
12
+ * - `YYYY` is the year
13
+ * - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
14
+ * - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter.
15
+ * - For example, `v2024.01.00` is the initial release of the first quarter of 2024.
16
+ *
17
+ * The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
18
+ * When no version is specified, the API defaults to `v2024.01.00`.
19
+ */
20
+ xMoovVersion?: string | undefined;
21
+ };
22
+ export type ListFeeRevenueRequest = {
23
+ skip?: number | undefined;
24
+ count?: number | undefined;
25
+ /**
26
+ * The Partner's AccountID.
27
+ */
28
+ accountID: string;
29
+ /**
30
+ * Optional date-time to inclusively filter all fees created after this date-time.
31
+ */
32
+ startDateTime?: string | undefined;
33
+ /**
34
+ * Optional date-time to exclusively filter all fees created before this date-time.
35
+ */
36
+ endDateTime?: string | undefined;
37
+ };
38
+ export type ListFeeRevenueResponse = {
39
+ headers: {
40
+ [k: string]: Array<string>;
41
+ };
42
+ result: Array<components.IncurredFee>;
43
+ };
44
+ /** @internal */
45
+ export declare const ListFeeRevenueGlobals$inboundSchema: z.ZodType<ListFeeRevenueGlobals, z.ZodTypeDef, unknown>;
46
+ /** @internal */
47
+ export type ListFeeRevenueGlobals$Outbound = {
48
+ "X-Moov-Version"?: string | undefined;
49
+ };
50
+ /** @internal */
51
+ export declare const ListFeeRevenueGlobals$outboundSchema: z.ZodType<ListFeeRevenueGlobals$Outbound, z.ZodTypeDef, ListFeeRevenueGlobals>;
52
+ export declare function listFeeRevenueGlobalsToJSON(listFeeRevenueGlobals: ListFeeRevenueGlobals): string;
53
+ export declare function listFeeRevenueGlobalsFromJSON(jsonString: string): SafeParseResult<ListFeeRevenueGlobals, SDKValidationError>;
54
+ /** @internal */
55
+ export declare const ListFeeRevenueRequest$inboundSchema: z.ZodType<ListFeeRevenueRequest, z.ZodTypeDef, unknown>;
56
+ /** @internal */
57
+ export type ListFeeRevenueRequest$Outbound = {
58
+ skip?: number | undefined;
59
+ count?: number | undefined;
60
+ accountID: string;
61
+ startDateTime?: string | undefined;
62
+ endDateTime?: string | undefined;
63
+ };
64
+ /** @internal */
65
+ export declare const ListFeeRevenueRequest$outboundSchema: z.ZodType<ListFeeRevenueRequest$Outbound, z.ZodTypeDef, ListFeeRevenueRequest>;
66
+ export declare function listFeeRevenueRequestToJSON(listFeeRevenueRequest: ListFeeRevenueRequest): string;
67
+ export declare function listFeeRevenueRequestFromJSON(jsonString: string): SafeParseResult<ListFeeRevenueRequest, SDKValidationError>;
68
+ /** @internal */
69
+ export declare const ListFeeRevenueResponse$inboundSchema: z.ZodType<ListFeeRevenueResponse, z.ZodTypeDef, unknown>;
70
+ /** @internal */
71
+ export type ListFeeRevenueResponse$Outbound = {
72
+ Headers: {
73
+ [k: string]: Array<string>;
74
+ };
75
+ Result: Array<components.IncurredFee$Outbound>;
76
+ };
77
+ /** @internal */
78
+ export declare const ListFeeRevenueResponse$outboundSchema: z.ZodType<ListFeeRevenueResponse$Outbound, z.ZodTypeDef, ListFeeRevenueResponse>;
79
+ export declare function listFeeRevenueResponseToJSON(listFeeRevenueResponse: ListFeeRevenueResponse): string;
80
+ export declare function listFeeRevenueResponseFromJSON(jsonString: string): SafeParseResult<ListFeeRevenueResponse, SDKValidationError>;
81
+ //# sourceMappingURL=listfeerevenue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"listfeerevenue.d.ts","sourceRoot":"","sources":["../../src/models/operations/listfeerevenue.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,qBAAqB,GAAG;IAClC;;;;;;;;;;;;;OAaG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACnC,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG;IAClC,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACnC;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAClC,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG;IACnC,OAAO,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,CAAA;KAAE,CAAC;IACxC,MAAM,EAAE,KAAK,CAAC,UAAU,CAAC,WAAW,CAAC,CAAC;CACvC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,mCAAmC,EAAE,CAAC,CAAC,OAAO,CACzD,qBAAqB,EACrB,CAAC,CAAC,UAAU,EACZ,OAAO,CAOP,CAAC;AACH,gBAAgB;AAChB,MAAM,MAAM,8BAA8B,GAAG;IAC3C,gBAAgB,CAAC,EAAE,MAAM,GAAG,S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AE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,CAAA;KAAE,CAAC;IACxC,MAAM,EAAE,KAAK,CAAC,UAAU,CAAC,oBAAoB,CAAC,CAAC;CAChD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,qCAAqC,EAAE,CAAC,CAAC,OAAO,CAC3D,+BAA+B,EAC/B,CAAC,CAAC,UAAU,EACZ,sBAAsB,CAStB,CAAC;AAEH,wBAAgB,4BAA4B,CAC1C,sBAAsB,EAAE,sBAAsB,GAC7C,MAAM,CAIR;AACD,wBAAgB,8BAA8B,CAC5C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,sBAAsB,EAAE,kBAAkB,CAAC,CAM7D"}
@@ -0,0 +1,120 @@
1
+ "use strict";
2
+ /*
3
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.ListFeeRevenueResponse$outboundSchema = exports.ListFeeRevenueResponse$inboundSchema = exports.ListFeeRevenueRequest$outboundSchema = exports.ListFeeRevenueRequest$inboundSchema = exports.ListFeeRevenueGlobals$outboundSchema = exports.ListFeeRevenueGlobals$inboundSchema = void 0;
40
+ exports.listFeeRevenueGlobalsToJSON = listFeeRevenueGlobalsToJSON;
41
+ exports.listFeeRevenueGlobalsFromJSON = listFeeRevenueGlobalsFromJSON;
42
+ exports.listFeeRevenueRequestToJSON = listFeeRevenueRequestToJSON;
43
+ exports.listFeeRevenueRequestFromJSON = listFeeRevenueRequestFromJSON;
44
+ exports.listFeeRevenueResponseToJSON = listFeeRevenueResponseToJSON;
45
+ exports.listFeeRevenueResponseFromJSON = listFeeRevenueResponseFromJSON;
46
+ const z = __importStar(require("zod/v3"));
47
+ const primitives_js_1 = require("../../lib/primitives.js");
48
+ const schemas_js_1 = require("../../lib/schemas.js");
49
+ const components = __importStar(require("../components/index.js"));
50
+ /** @internal */
51
+ exports.ListFeeRevenueGlobals$inboundSchema = z.object({
52
+ "X-Moov-Version": z.string().optional(),
53
+ }).transform((v) => {
54
+ return (0, primitives_js_1.remap)(v, {
55
+ "X-Moov-Version": "xMoovVersion",
56
+ });
57
+ });
58
+ /** @internal */
59
+ exports.ListFeeRevenueGlobals$outboundSchema = z.object({
60
+ xMoovVersion: z.string().optional(),
61
+ }).transform((v) => {
62
+ return (0, primitives_js_1.remap)(v, {
63
+ xMoovVersion: "X-Moov-Version",
64
+ });
65
+ });
66
+ function listFeeRevenueGlobalsToJSON(listFeeRevenueGlobals) {
67
+ return JSON.stringify(exports.ListFeeRevenueGlobals$outboundSchema.parse(listFeeRevenueGlobals));
68
+ }
69
+ function listFeeRevenueGlobalsFromJSON(jsonString) {
70
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListFeeRevenueGlobals$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListFeeRevenueGlobals' from JSON`);
71
+ }
72
+ /** @internal */
73
+ exports.ListFeeRevenueRequest$inboundSchema = z.object({
74
+ skip: z.number().int().optional(),
75
+ count: z.number().int().optional(),
76
+ accountID: z.string(),
77
+ startDateTime: z.string().optional(),
78
+ endDateTime: z.string().optional(),
79
+ });
80
+ /** @internal */
81
+ exports.ListFeeRevenueRequest$outboundSchema = z.object({
82
+ skip: z.number().int().optional(),
83
+ count: z.number().int().optional(),
84
+ accountID: z.string(),
85
+ startDateTime: z.string().optional(),
86
+ endDateTime: z.string().optional(),
87
+ });
88
+ function listFeeRevenueRequestToJSON(listFeeRevenueRequest) {
89
+ return JSON.stringify(exports.ListFeeRevenueRequest$outboundSchema.parse(listFeeRevenueRequest));
90
+ }
91
+ function listFeeRevenueRequestFromJSON(jsonString) {
92
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListFeeRevenueRequest$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListFeeRevenueRequest' from JSON`);
93
+ }
94
+ /** @internal */
95
+ exports.ListFeeRevenueResponse$inboundSchema = z.object({
96
+ Headers: z.record(z.array(z.string())).default({}),
97
+ Result: z.array(components.IncurredFee$inboundSchema),
98
+ }).transform((v) => {
99
+ return (0, primitives_js_1.remap)(v, {
100
+ "Headers": "headers",
101
+ "Result": "result",
102
+ });
103
+ });
104
+ /** @internal */
105
+ exports.ListFeeRevenueResponse$outboundSchema = z.object({
106
+ headers: z.record(z.array(z.string())),
107
+ result: z.array(components.IncurredFee$outboundSchema),
108
+ }).transform((v) => {
109
+ return (0, primitives_js_1.remap)(v, {
110
+ headers: "Headers",
111
+ result: "Result",
112
+ });
113
+ });
114
+ function listFeeRevenueResponseToJSON(listFeeRevenueResponse) {
115
+ return JSON.stringify(exports.ListFeeRevenueResponse$outboundSchema.parse(listFeeRevenueResponse));
116
+ }
117
+ function listFeeRevenueResponseFromJSON(jsonString) {
118
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListFeeRevenueResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListFeeRevenueResponse' from JSON`);
119
+ }
120
+ //# sourceMappingURL=listfeerevenue.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"listfeerevenue.js","sourceRoot":"","sources":["../../src/models/operations/listfeerevenue.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA+EH,kEAMC;AACD,sEAQC;AAoCD,kEAMC;AACD,sEAQC;AAqCD,oEAMC;AACD,wEAQC;AAnMD,0CAA4B;AAC5B,2DAA0D;AAC1D,qDAAiD;AAEjD,mEAAqD;AA2CrD,gBAAgB;AACH,QAAA,mCAAmC,GAI5C,CAAC,CAAC,MAAM,CAAC;IACX,gBAAgB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACxC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,gBAAgB,EAAE,cAAc;KACjC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAMH,gBAAgB;AACH,QAAA,oCAAoC,GAI7C,CAAC,CAAC,MAAM,CAAC;IACX,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACpC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,YAAY,EAAE,gBAAgB;KAC/B,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,SAAgB,2BAA2B,CACzC,qBAA4C;IAE5C,OAAO,IAAI,CAAC,SAAS,CACnB,4CAAoC,CAAC,KAAK,CAAC,qB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,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,4CAAoC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAChE,oDAAoD,CACrD,CAAC;AACJ,CAAC"}
@@ -0,0 +1,72 @@
1
+ import * as z from "zod/v3";
2
+ import { Result as SafeParseResult } from "../../types/fp.js";
3
+ import * as components from "../components/index.js";
4
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
5
+ export type ListInvoicesGlobals = {
6
+ /**
7
+ * Specify an API version.
8
+ *
9
+ * @remarks
10
+ *
11
+ * API versioning follows the format `vYYYY.QQ.BB`, where
12
+ * - `YYYY` is the year
13
+ * - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
14
+ * - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter.
15
+ * - For example, `v2024.01.00` is the initial release of the first quarter of 2024.
16
+ *
17
+ * The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
18
+ * When no version is specified, the API defaults to `v2024.01.00`.
19
+ */
20
+ xMoovVersion?: string | undefined;
21
+ };
22
+ export type ListInvoicesRequest = {
23
+ skip?: number | undefined;
24
+ count?: number | undefined;
25
+ status?: components.InvoiceStatus | undefined;
26
+ customerAccountID?: string | undefined;
27
+ accountID: string;
28
+ };
29
+ export type ListInvoicesResponse = {
30
+ headers: {
31
+ [k: string]: Array<string>;
32
+ };
33
+ result: Array<components.Invoice>;
34
+ };
35
+ /** @internal */
36
+ export declare const ListInvoicesGlobals$inboundSchema: z.ZodType<ListInvoicesGlobals, z.ZodTypeDef, unknown>;
37
+ /** @internal */
38
+ export type ListInvoicesGlobals$Outbound = {
39
+ "X-Moov-Version"?: string | undefined;
40
+ };
41
+ /** @internal */
42
+ export declare const ListInvoicesGlobals$outboundSchema: z.ZodType<ListInvoicesGlobals$Outbound, z.ZodTypeDef, ListInvoicesGlobals>;
43
+ export declare function listInvoicesGlobalsToJSON(listInvoicesGlobals: ListInvoicesGlobals): string;
44
+ export declare function listInvoicesGlobalsFromJSON(jsonString: string): SafeParseResult<ListInvoicesGlobals, SDKValidationError>;
45
+ /** @internal */
46
+ export declare const ListInvoicesRequest$inboundSchema: z.ZodType<ListInvoicesRequest, z.ZodTypeDef, unknown>;
47
+ /** @internal */
48
+ export type ListInvoicesRequest$Outbound = {
49
+ skip?: number | undefined;
50
+ count?: number | undefined;
51
+ status?: string | undefined;
52
+ customerAccountID?: string | undefined;
53
+ accountID: string;
54
+ };
55
+ /** @internal */
56
+ export declare const ListInvoicesRequest$outboundSchema: z.ZodType<ListInvoicesRequest$Outbound, z.ZodTypeDef, ListInvoicesRequest>;
57
+ export declare function listInvoicesRequestToJSON(listInvoicesRequest: ListInvoicesRequest): string;
58
+ export declare function listInvoicesRequestFromJSON(jsonString: string): SafeParseResult<ListInvoicesRequest, SDKValidationError>;
59
+ /** @internal */
60
+ export declare const ListInvoicesResponse$inboundSchema: z.ZodType<ListInvoicesResponse, z.ZodTypeDef, unknown>;
61
+ /** @internal */
62
+ export type ListInvoicesResponse$Outbound = {
63
+ Headers: {
64
+ [k: string]: Array<string>;
65
+ };
66
+ Result: Array<components.Invoice$Outbound>;
67
+ };
68
+ /** @internal */
69
+ export declare const ListInvoicesResponse$outboundSchema: z.ZodType<ListInvoicesResponse$Outbound, z.ZodTypeDef, ListInvoicesResponse>;
70
+ export declare function listInvoicesResponseToJSON(listInvoicesResponse: ListInvoicesResponse): string;
71
+ export declare function listInvoicesResponseFromJSON(jsonString: string): SafeParseResult<ListInvoicesResponse, SDKValidationError>;
72
+ //# sourceMappingURL=listinvoices.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"listinvoices.d.ts","sourceRoot":"","sources":["../../src/models/operations/listinvoices.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC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EAAE,oBAAoB,GACzC,MAAM,CAIR;AACD,wBAAgB,4BAA4B,CAC1C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,oBAAoB,EAAE,kBAAkB,CAAC,CAM3D"}
@@ -0,0 +1,120 @@
1
+ "use strict";
2
+ /*
3
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.ListInvoicesResponse$outboundSchema = exports.ListInvoicesResponse$inboundSchema = exports.ListInvoicesRequest$outboundSchema = exports.ListInvoicesRequest$inboundSchema = exports.ListInvoicesGlobals$outboundSchema = exports.ListInvoicesGlobals$inboundSchema = void 0;
40
+ exports.listInvoicesGlobalsToJSON = listInvoicesGlobalsToJSON;
41
+ exports.listInvoicesGlobalsFromJSON = listInvoicesGlobalsFromJSON;
42
+ exports.listInvoicesRequestToJSON = listInvoicesRequestToJSON;
43
+ exports.listInvoicesRequestFromJSON = listInvoicesRequestFromJSON;
44
+ exports.listInvoicesResponseToJSON = listInvoicesResponseToJSON;
45
+ exports.listInvoicesResponseFromJSON = listInvoicesResponseFromJSON;
46
+ const z = __importStar(require("zod/v3"));
47
+ const primitives_js_1 = require("../../lib/primitives.js");
48
+ const schemas_js_1 = require("../../lib/schemas.js");
49
+ const components = __importStar(require("../components/index.js"));
50
+ /** @internal */
51
+ exports.ListInvoicesGlobals$inboundSchema = z.object({
52
+ "X-Moov-Version": z.string().optional(),
53
+ }).transform((v) => {
54
+ return (0, primitives_js_1.remap)(v, {
55
+ "X-Moov-Version": "xMoovVersion",
56
+ });
57
+ });
58
+ /** @internal */
59
+ exports.ListInvoicesGlobals$outboundSchema = z.object({
60
+ xMoovVersion: z.string().optional(),
61
+ }).transform((v) => {
62
+ return (0, primitives_js_1.remap)(v, {
63
+ xMoovVersion: "X-Moov-Version",
64
+ });
65
+ });
66
+ function listInvoicesGlobalsToJSON(listInvoicesGlobals) {
67
+ return JSON.stringify(exports.ListInvoicesGlobals$outboundSchema.parse(listInvoicesGlobals));
68
+ }
69
+ function listInvoicesGlobalsFromJSON(jsonString) {
70
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListInvoicesGlobals$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListInvoicesGlobals' from JSON`);
71
+ }
72
+ /** @internal */
73
+ exports.ListInvoicesRequest$inboundSchema = z.object({
74
+ skip: z.number().int().optional(),
75
+ count: z.number().int().optional(),
76
+ status: components.InvoiceStatus$inboundSchema.optional(),
77
+ customerAccountID: z.string().optional(),
78
+ accountID: z.string(),
79
+ });
80
+ /** @internal */
81
+ exports.ListInvoicesRequest$outboundSchema = z.object({
82
+ skip: z.number().int().optional(),
83
+ count: z.number().int().optional(),
84
+ status: components.InvoiceStatus$outboundSchema.optional(),
85
+ customerAccountID: z.string().optional(),
86
+ accountID: z.string(),
87
+ });
88
+ function listInvoicesRequestToJSON(listInvoicesRequest) {
89
+ return JSON.stringify(exports.ListInvoicesRequest$outboundSchema.parse(listInvoicesRequest));
90
+ }
91
+ function listInvoicesRequestFromJSON(jsonString) {
92
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListInvoicesRequest$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListInvoicesRequest' from JSON`);
93
+ }
94
+ /** @internal */
95
+ exports.ListInvoicesResponse$inboundSchema = z.object({
96
+ Headers: z.record(z.array(z.string())).default({}),
97
+ Result: z.array(components.Invoice$inboundSchema),
98
+ }).transform((v) => {
99
+ return (0, primitives_js_1.remap)(v, {
100
+ "Headers": "headers",
101
+ "Result": "result",
102
+ });
103
+ });
104
+ /** @internal */
105
+ exports.ListInvoicesResponse$outboundSchema = z.object({
106
+ headers: z.record(z.array(z.string())),
107
+ result: z.array(components.Invoice$outboundSchema),
108
+ }).transform((v) => {
109
+ return (0, primitives_js_1.remap)(v, {
110
+ headers: "Headers",
111
+ result: "Result",
112
+ });
113
+ });
114
+ function listInvoicesResponseToJSON(listInvoicesResponse) {
115
+ return JSON.stringify(exports.ListInvoicesResponse$outboundSchema.parse(listInvoicesResponse));
116
+ }
117
+ function listInvoicesResponseFromJSON(jsonString) {
118
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListInvoicesResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListInvoicesResponse' from JSON`);
119
+ }
120
+ //# sourceMappingURL=listinvoices.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"listinvoices.js","sourceRoot":"","sources":["../../src/models/operations/listinvoices.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsEH,8DAMC;AACD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AC,qBAAqB,CAAC;CAClD,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,SAAS,EAAE,SAAS;QACpB,QAAQ,EAAE,QAAQ;KACnB,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAOH,gBAAgB;AACH,QAAA,mCAAmC,GAI5C,CAAC,CAAC,MAAM,CAAC;IACX,OAAO,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC;IACtC,MAAM,EAAE,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,sBAAsB,CAAC;CACnD,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,OAAO,EAAE,SAAS;QAClB,MAAM,EAAE,QAAQ;KACjB,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,SAAgB,0BAA0B,CACxC,oBAA0C;IAE1C,OAAO,IAAI,CAAC,SAAS,CACnB,2CAAmC,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAChE,CAAC;AACJ,CAAC;AACD,SAAgB,4BAA4B,CAC1C,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,0CAAkC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC9D,kDAAkD,CACnD,CAAC;AACJ,CAAC"}
@@ -0,0 +1,68 @@
1
+ import * as z from "zod/v3";
2
+ import { Result as SafeParseResult } from "../../types/fp.js";
3
+ import * as components from "../components/index.js";
4
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
5
+ export type MarkPaidInvoiceGlobals = {
6
+ /**
7
+ * Specify an API version.
8
+ *
9
+ * @remarks
10
+ *
11
+ * API versioning follows the format `vYYYY.QQ.BB`, where
12
+ * - `YYYY` is the year
13
+ * - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
14
+ * - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter.
15
+ * - For example, `v2024.01.00` is the initial release of the first quarter of 2024.
16
+ *
17
+ * The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
18
+ * When no version is specified, the API defaults to `v2024.01.00`.
19
+ */
20
+ xMoovVersion?: string | undefined;
21
+ };
22
+ export type MarkPaidInvoiceRequest = {
23
+ accountID: string;
24
+ invoiceID: string;
25
+ markInvoicePaid: components.MarkInvoicePaid;
26
+ };
27
+ export type MarkPaidInvoiceResponse = {
28
+ headers: {
29
+ [k: string]: Array<string>;
30
+ };
31
+ result: components.Invoice;
32
+ };
33
+ /** @internal */
34
+ export declare const MarkPaidInvoiceGlobals$inboundSchema: z.ZodType<MarkPaidInvoiceGlobals, z.ZodTypeDef, unknown>;
35
+ /** @internal */
36
+ export type MarkPaidInvoiceGlobals$Outbound = {
37
+ "X-Moov-Version"?: string | undefined;
38
+ };
39
+ /** @internal */
40
+ export declare const MarkPaidInvoiceGlobals$outboundSchema: z.ZodType<MarkPaidInvoiceGlobals$Outbound, z.ZodTypeDef, MarkPaidInvoiceGlobals>;
41
+ export declare function markPaidInvoiceGlobalsToJSON(markPaidInvoiceGlobals: MarkPaidInvoiceGlobals): string;
42
+ export declare function markPaidInvoiceGlobalsFromJSON(jsonString: string): SafeParseResult<MarkPaidInvoiceGlobals, SDKValidationError>;
43
+ /** @internal */
44
+ export declare const MarkPaidInvoiceRequest$inboundSchema: z.ZodType<MarkPaidInvoiceRequest, z.ZodTypeDef, unknown>;
45
+ /** @internal */
46
+ export type MarkPaidInvoiceRequest$Outbound = {
47
+ accountID: string;
48
+ invoiceID: string;
49
+ MarkInvoicePaid: components.MarkInvoicePaid$Outbound;
50
+ };
51
+ /** @internal */
52
+ export declare const MarkPaidInvoiceRequest$outboundSchema: z.ZodType<MarkPaidInvoiceRequest$Outbound, z.ZodTypeDef, MarkPaidInvoiceRequest>;
53
+ export declare function markPaidInvoiceRequestToJSON(markPaidInvoiceRequest: MarkPaidInvoiceRequest): string;
54
+ export declare function markPaidInvoiceRequestFromJSON(jsonString: string): SafeParseResult<MarkPaidInvoiceRequest, SDKValidationError>;
55
+ /** @internal */
56
+ export declare const MarkPaidInvoiceResponse$inboundSchema: z.ZodType<MarkPaidInvoiceResponse, z.ZodTypeDef, unknown>;
57
+ /** @internal */
58
+ export type MarkPaidInvoiceResponse$Outbound = {
59
+ Headers: {
60
+ [k: string]: Array<string>;
61
+ };
62
+ Result: components.Invoice$Outbound;
63
+ };
64
+ /** @internal */
65
+ export declare const MarkPaidInvoiceResponse$outboundSchema: z.ZodType<MarkPaidInvoiceResponse$Outbound, z.ZodTypeDef, MarkPaidInvoiceResponse>;
66
+ export declare function markPaidInvoiceResponseToJSON(markPaidInvoiceResponse: MarkPaidInvoiceResponse): string;
67
+ export declare function markPaidInvoiceResponseFromJSON(jsonString: string): SafeParseResult<MarkPaidInvoiceResponse, SDKValidationError>;
68
+ //# sourceMappingURL=markpaidinvoice.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"markpaidinvoice.d.ts","sourceRoot":"","sources":["../../src/models/operations/markpaidinvoice.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,sBAAsB,GAAG;IACnC;;;;;;;;;;;;;OAaG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACnC,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG;IACnC,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,eAAe,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