@moovio/sdk 0.23.4 → 24.1.4

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 (749) hide show
  1. package/README.md +54 -203
  2. package/bin/mcp-server.js +857 -5066
  3. package/bin/mcp-server.js.map +27 -149
  4. package/examples/package-lock.json +1 -1
  5. package/jsr.json +1 -1
  6. package/lib/config.d.ts +4 -4
  7. package/lib/config.js +4 -4
  8. package/lib/config.js.map +1 -1
  9. package/mcp-server/mcp-server.js +1 -1
  10. package/mcp-server/server.d.ts.map +1 -1
  11. package/mcp-server/server.js +1 -25
  12. package/mcp-server/server.js.map +1 -1
  13. package/models/components/accounttype.d.ts +0 -1
  14. package/models/components/accounttype.d.ts.map +1 -1
  15. package/models/components/accounttype.js +0 -1
  16. package/models/components/accounttype.js.map +1 -1
  17. package/models/components/bankaccountholdertype.d.ts +0 -1
  18. package/models/components/bankaccountholdertype.d.ts.map +1 -1
  19. package/models/components/bankaccountholdertype.js +0 -1
  20. package/models/components/bankaccountholdertype.js.map +1 -1
  21. package/models/components/capabilityid.d.ts +0 -11
  22. package/models/components/capabilityid.d.ts.map +1 -1
  23. package/models/components/capabilityid.js +0 -11
  24. package/models/components/capabilityid.js.map +1 -1
  25. package/models/components/createaccount.d.ts +5 -2
  26. package/models/components/createaccount.d.ts.map +1 -1
  27. package/models/components/createaccount.js +3 -3
  28. package/models/components/createaccount.js.map +1 -1
  29. package/models/components/enrichedindustries.d.ts +3 -3
  30. package/models/components/enrichedindustries.js +3 -3
  31. package/models/components/enrichedindustry.d.ts +35 -0
  32. package/models/components/enrichedindustry.d.ts.map +1 -0
  33. package/models/components/{fulfillmenterror.js → enrichedindustry.js} +18 -14
  34. package/models/components/enrichedindustry.js.map +1 -0
  35. package/models/components/imagemetadata.d.ts +0 -3
  36. package/models/components/imagemetadata.d.ts.map +1 -1
  37. package/models/components/imagemetadata.js.map +1 -1
  38. package/models/components/index.d.ts +1 -80
  39. package/models/components/index.d.ts.map +1 -1
  40. package/models/components/index.js +1 -80
  41. package/models/components/index.js.map +1 -1
  42. package/models/components/paymentmethod.d.ts +2 -4
  43. package/models/components/paymentmethod.d.ts.map +1 -1
  44. package/models/components/paymentmethod.js +0 -6
  45. package/models/components/paymentmethod.js.map +1 -1
  46. package/models/components/paymentmethodtype.d.ts +0 -2
  47. package/models/components/paymentmethodtype.d.ts.map +1 -1
  48. package/models/components/paymentmethodtype.js +0 -2
  49. package/models/components/paymentmethodtype.js.map +1 -1
  50. package/models/components/profile.d.ts +0 -6
  51. package/models/components/profile.d.ts.map +1 -1
  52. package/models/components/profile.js +0 -3
  53. package/models/components/profile.js.map +1 -1
  54. package/models/components/requirementid.d.ts +0 -54
  55. package/models/components/requirementid.d.ts.map +1 -1
  56. package/models/components/requirementid.js +0 -54
  57. package/models/components/requirementid.js.map +1 -1
  58. package/models/components/transfer.d.ts +0 -5
  59. package/models/components/transfer.d.ts.map +1 -1
  60. package/models/components/transfer.js +0 -2
  61. package/models/components/transfer.js.map +1 -1
  62. package/models/components/transfersource.d.ts +1 -7
  63. package/models/components/transfersource.d.ts.map +1 -1
  64. package/models/components/transfersource.js +0 -3
  65. package/models/components/transfersource.js.map +1 -1
  66. package/models/components/underwriting.d.ts +14 -35
  67. package/models/components/underwriting.d.ts.map +1 -1
  68. package/models/components/underwriting.js +14 -36
  69. package/models/components/underwriting.js.map +1 -1
  70. package/models/errors/index.d.ts +0 -7
  71. package/models/errors/index.d.ts.map +1 -1
  72. package/models/errors/index.js +0 -7
  73. package/models/errors/index.js.map +1 -1
  74. package/models/errors/transfer.d.ts +0 -9
  75. package/models/errors/transfer.d.ts.map +1 -1
  76. package/models/errors/transfer.js +0 -4
  77. package/models/errors/transfer.js.map +1 -1
  78. package/models/operations/getscheduledoccurrence.d.ts +2 -2
  79. package/models/operations/index.d.ts +0 -12
  80. package/models/operations/index.d.ts.map +1 -1
  81. package/models/operations/index.js +0 -12
  82. package/models/operations/index.js.map +1 -1
  83. package/models/operations/listaccounts.d.ts +1 -1
  84. package/models/operations/listaccounts.d.ts.map +1 -1
  85. package/models/operations/listaccounts.js +2 -2
  86. package/models/operations/listaccounts.js.map +1 -1
  87. package/models/operations/listconnectedaccountsforaccount.d.ts +1 -1
  88. package/models/operations/listconnectedaccountsforaccount.d.ts.map +1 -1
  89. package/models/operations/listconnectedaccountsforaccount.js +2 -2
  90. package/models/operations/listconnectedaccountsforaccount.js.map +1 -1
  91. package/package.json +1 -1
  92. package/sdk/sdk.d.ts +0 -6
  93. package/sdk/sdk.d.ts.map +1 -1
  94. package/sdk/sdk.js +0 -8
  95. package/sdk/sdk.js.map +1 -1
  96. package/sdk/underwriting.d.ts +0 -9
  97. package/sdk/underwriting.d.ts.map +1 -1
  98. package/sdk/underwriting.js +0 -12
  99. package/sdk/underwriting.js.map +1 -1
  100. package/src/lib/config.ts +4 -4
  101. package/src/mcp-server/mcp-server.ts +1 -1
  102. package/src/mcp-server/server.ts +1 -25
  103. package/src/models/components/accounttype.ts +0 -1
  104. package/src/models/components/bankaccountholdertype.ts +0 -1
  105. package/src/models/components/capabilityid.ts +0 -11
  106. package/src/models/components/createaccount.ts +11 -8
  107. package/src/models/components/enrichedindustries.ts +9 -9
  108. package/src/models/components/enrichedindustry.ts +75 -0
  109. package/src/models/components/imagemetadata.ts +0 -3
  110. package/src/models/components/index.ts +1 -80
  111. package/src/models/components/paymentmethod.ts +2 -22
  112. package/src/models/components/paymentmethodtype.ts +0 -2
  113. package/src/models/components/profile.ts +0 -13
  114. package/src/models/components/requirementid.ts +0 -103
  115. package/src/models/components/transfer.ts +0 -7
  116. package/src/models/components/transfersource.ts +1 -14
  117. package/src/models/components/underwriting.ts +28 -96
  118. package/src/models/errors/index.ts +0 -7
  119. package/src/models/errors/transfer.ts +0 -12
  120. package/src/models/operations/getscheduledoccurrence.ts +2 -2
  121. package/src/models/operations/index.ts +0 -12
  122. package/src/models/operations/listaccounts.ts +3 -3
  123. package/src/models/operations/listconnectedaccountsforaccount.ts +3 -3
  124. package/src/sdk/sdk.ts +0 -12
  125. package/src/sdk/underwriting.ts +0 -20
  126. package/funcs/invoicesCreateInvoice.d.ts +0 -18
  127. package/funcs/invoicesCreateInvoice.d.ts.map +0 -1
  128. package/funcs/invoicesCreateInvoice.js +0 -139
  129. package/funcs/invoicesCreateInvoice.js.map +0 -1
  130. package/funcs/invoicesCreateInvoicePayment.d.ts +0 -19
  131. package/funcs/invoicesCreateInvoicePayment.d.ts.map +0 -1
  132. package/funcs/invoicesCreateInvoicePayment.js +0 -148
  133. package/funcs/invoicesCreateInvoicePayment.js.map +0 -1
  134. package/funcs/invoicesGetInvoice.d.ts +0 -17
  135. package/funcs/invoicesGetInvoice.d.ts.map +0 -1
  136. package/funcs/invoicesGetInvoice.js +0 -129
  137. package/funcs/invoicesGetInvoice.js.map +0 -1
  138. package/funcs/invoicesListInvoicePayments.d.ts +0 -17
  139. package/funcs/invoicesListInvoicePayments.d.ts.map +0 -1
  140. package/funcs/invoicesListInvoicePayments.js +0 -129
  141. package/funcs/invoicesListInvoicePayments.js.map +0 -1
  142. package/funcs/invoicesListInvoices.d.ts +0 -18
  143. package/funcs/invoicesListInvoices.d.ts.map +0 -1
  144. package/funcs/invoicesListInvoices.js +0 -139
  145. package/funcs/invoicesListInvoices.js.map +0 -1
  146. package/funcs/invoicesUpdateInvoice.d.ts +0 -18
  147. package/funcs/invoicesUpdateInvoice.d.ts.map +0 -1
  148. package/funcs/invoicesUpdateInvoice.js +0 -143
  149. package/funcs/invoicesUpdateInvoice.js.map +0 -1
  150. package/funcs/supportCreateTicket.d.ts +0 -21
  151. package/funcs/supportCreateTicket.d.ts.map +0 -1
  152. package/funcs/supportCreateTicket.js +0 -142
  153. package/funcs/supportCreateTicket.js.map +0 -1
  154. package/funcs/supportGetTicket.d.ts +0 -20
  155. package/funcs/supportGetTicket.d.ts.map +0 -1
  156. package/funcs/supportGetTicket.js +0 -132
  157. package/funcs/supportGetTicket.js.map +0 -1
  158. package/funcs/supportListTicketMessages.d.ts +0 -20
  159. package/funcs/supportListTicketMessages.d.ts.map +0 -1
  160. package/funcs/supportListTicketMessages.js +0 -132
  161. package/funcs/supportListTicketMessages.js.map +0 -1
  162. package/funcs/supportListTickets.d.ts +0 -20
  163. package/funcs/supportListTickets.d.ts.map +0 -1
  164. package/funcs/supportListTickets.js +0 -135
  165. package/funcs/supportListTickets.js.map +0 -1
  166. package/funcs/supportUpdateTicket.d.ts +0 -21
  167. package/funcs/supportUpdateTicket.d.ts.map +0 -1
  168. package/funcs/supportUpdateTicket.js +0 -146
  169. package/funcs/supportUpdateTicket.js.map +0 -1
  170. package/funcs/underwritingSave.d.ts +0 -20
  171. package/funcs/underwritingSave.d.ts.map +0 -1
  172. package/funcs/underwritingSave.js +0 -145
  173. package/funcs/underwritingSave.js.map +0 -1
  174. package/mcp-server/tools/invoicesCreateInvoice.d.ts +0 -8
  175. package/mcp-server/tools/invoicesCreateInvoice.d.ts.map +0 -1
  176. package/mcp-server/tools/invoicesCreateInvoice.js +0 -65
  177. package/mcp-server/tools/invoicesCreateInvoice.js.map +0 -1
  178. package/mcp-server/tools/invoicesCreateInvoicePayment.d.ts +0 -8
  179. package/mcp-server/tools/invoicesCreateInvoicePayment.d.ts.map +0 -1
  180. package/mcp-server/tools/invoicesCreateInvoicePayment.js +0 -66
  181. package/mcp-server/tools/invoicesCreateInvoicePayment.js.map +0 -1
  182. package/mcp-server/tools/invoicesGetInvoice.d.ts +0 -8
  183. package/mcp-server/tools/invoicesGetInvoice.d.ts.map +0 -1
  184. package/mcp-server/tools/invoicesGetInvoice.js +0 -65
  185. package/mcp-server/tools/invoicesGetInvoice.js.map +0 -1
  186. package/mcp-server/tools/invoicesListInvoicePayments.d.ts +0 -8
  187. package/mcp-server/tools/invoicesListInvoicePayments.d.ts.map +0 -1
  188. package/mcp-server/tools/invoicesListInvoicePayments.js +0 -65
  189. package/mcp-server/tools/invoicesListInvoicePayments.js.map +0 -1
  190. package/mcp-server/tools/invoicesListInvoices.d.ts +0 -8
  191. package/mcp-server/tools/invoicesListInvoices.d.ts.map +0 -1
  192. package/mcp-server/tools/invoicesListInvoices.js +0 -65
  193. package/mcp-server/tools/invoicesListInvoices.js.map +0 -1
  194. package/mcp-server/tools/invoicesUpdateInvoice.d.ts +0 -8
  195. package/mcp-server/tools/invoicesUpdateInvoice.d.ts.map +0 -1
  196. package/mcp-server/tools/invoicesUpdateInvoice.js +0 -65
  197. package/mcp-server/tools/invoicesUpdateInvoice.js.map +0 -1
  198. package/mcp-server/tools/supportCreateTicket.d.ts +0 -8
  199. package/mcp-server/tools/supportCreateTicket.d.ts.map +0 -1
  200. package/mcp-server/tools/supportCreateTicket.js +0 -68
  201. package/mcp-server/tools/supportCreateTicket.js.map +0 -1
  202. package/mcp-server/tools/supportGetTicket.d.ts +0 -8
  203. package/mcp-server/tools/supportGetTicket.d.ts.map +0 -1
  204. package/mcp-server/tools/supportGetTicket.js +0 -68
  205. package/mcp-server/tools/supportGetTicket.js.map +0 -1
  206. package/mcp-server/tools/supportListTicketMessages.d.ts +0 -8
  207. package/mcp-server/tools/supportListTicketMessages.d.ts.map +0 -1
  208. package/mcp-server/tools/supportListTicketMessages.js +0 -68
  209. package/mcp-server/tools/supportListTicketMessages.js.map +0 -1
  210. package/mcp-server/tools/supportListTickets.d.ts +0 -8
  211. package/mcp-server/tools/supportListTickets.d.ts.map +0 -1
  212. package/mcp-server/tools/supportListTickets.js +0 -68
  213. package/mcp-server/tools/supportListTickets.js.map +0 -1
  214. package/mcp-server/tools/supportUpdateTicket.d.ts +0 -8
  215. package/mcp-server/tools/supportUpdateTicket.d.ts.map +0 -1
  216. package/mcp-server/tools/supportUpdateTicket.js +0 -68
  217. package/mcp-server/tools/supportUpdateTicket.js.map +0 -1
  218. package/mcp-server/tools/underwritingSave.d.ts +0 -8
  219. package/mcp-server/tools/underwritingSave.d.ts.map +0 -1
  220. package/mcp-server/tools/underwritingSave.js +0 -67
  221. package/mcp-server/tools/underwritingSave.js.map +0 -1
  222. package/models/components/amountdecimalupdate.d.ts +0 -29
  223. package/models/components/amountdecimalupdate.d.ts.map +0 -1
  224. package/models/components/amountdecimalupdate.js +0 -60
  225. package/models/components/amountdecimalupdate.js.map +0 -1
  226. package/models/components/businesspresence.d.ts +0 -16
  227. package/models/components/businesspresence.d.ts.map +0 -1
  228. package/models/components/businesspresence.js +0 -53
  229. package/models/components/businesspresence.js.map +0 -1
  230. package/models/components/cardacceptancemethods.d.ts +0 -33
  231. package/models/components/cardacceptancemethods.d.ts.map +0 -1
  232. package/models/components/cardacceptancemethods.js +0 -62
  233. package/models/components/cardacceptancemethods.js.map +0 -1
  234. package/models/components/cardacceptancemethodserror.d.ts +0 -21
  235. package/models/components/cardacceptancemethodserror.d.ts.map +0 -1
  236. package/models/components/cardacceptancemethodserror.js +0 -62
  237. package/models/components/cardacceptancemethodserror.js.map +0 -1
  238. package/models/components/cardpresentpaymentpaymentmethod.d.ts +0 -31
  239. package/models/components/cardpresentpaymentpaymentmethod.d.ts.map +0 -1
  240. package/models/components/cardpresentpaymentpaymentmethod.js +0 -63
  241. package/models/components/cardpresentpaymentpaymentmethod.js.map +0 -1
  242. package/models/components/collectfunds.d.ts +0 -21
  243. package/models/components/collectfunds.d.ts.map +0 -1
  244. package/models/components/collectfunds.js +0 -62
  245. package/models/components/collectfunds.js.map +0 -1
  246. package/models/components/collectfundsach.d.ts +0 -18
  247. package/models/components/collectfundsach.d.ts.map +0 -1
  248. package/models/components/collectfundsach.js +0 -59
  249. package/models/components/collectfundsach.js.map +0 -1
  250. package/models/components/collectfundsacherror.d.ts +0 -18
  251. package/models/components/collectfundsacherror.d.ts.map +0 -1
  252. package/models/components/collectfundsacherror.js +0 -59
  253. package/models/components/collectfundsacherror.js.map +0 -1
  254. package/models/components/collectfundscardpayments.d.ts +0 -32
  255. package/models/components/collectfundscardpayments.d.ts.map +0 -1
  256. package/models/components/collectfundscardpayments.js +0 -70
  257. package/models/components/collectfundscardpayments.js.map +0 -1
  258. package/models/components/collectfundscardpaymentserror.d.ts +0 -28
  259. package/models/components/collectfundscardpaymentserror.d.ts.map +0 -1
  260. package/models/components/collectfundscardpaymentserror.js +0 -69
  261. package/models/components/collectfundscardpaymentserror.js.map +0 -1
  262. package/models/components/collectfundserror.d.ts +0 -21
  263. package/models/components/collectfundserror.d.ts.map +0 -1
  264. package/models/components/collectfundserror.js +0 -62
  265. package/models/components/collectfundserror.js.map +0 -1
  266. package/models/components/createaccounttype.d.ts +0 -12
  267. package/models/components/createaccounttype.d.ts.map +0 -1
  268. package/models/components/createaccounttype.js +0 -49
  269. package/models/components/createaccounttype.js.map +0 -1
  270. package/models/components/createinvoice.d.ts +0 -35
  271. package/models/components/createinvoice.d.ts.map +0 -1
  272. package/models/components/createinvoice.js +0 -72
  273. package/models/components/createinvoice.js.map +0 -1
  274. package/models/components/createinvoicelineitem.d.ts +0 -54
  275. package/models/components/createinvoicelineitem.d.ts.map +0 -1
  276. package/models/components/createinvoicelineitem.js +0 -71
  277. package/models/components/createinvoicelineitem.js.map +0 -1
  278. package/models/components/createinvoicelineitemimage.d.ts +0 -23
  279. package/models/components/createinvoicelineitemimage.d.ts.map +0 -1
  280. package/models/components/createinvoicelineitemimage.js +0 -58
  281. package/models/components/createinvoicelineitemimage.js.map +0 -1
  282. package/models/components/createinvoicelineitemimagevalidationerror.d.ts +0 -17
  283. package/models/components/createinvoicelineitemimagevalidationerror.d.ts.map +0 -1
  284. package/models/components/createinvoicelineitemimagevalidationerror.js +0 -58
  285. package/models/components/createinvoicelineitemimagevalidationerror.js.map +0 -1
  286. package/models/components/createinvoicelineitemoption.d.ts +0 -45
  287. package/models/components/createinvoicelineitemoption.d.ts.map +0 -1
  288. package/models/components/createinvoicelineitemoption.js +0 -68
  289. package/models/components/createinvoicelineitemoption.js.map +0 -1
  290. package/models/components/createinvoicelineitemoptionvalidationerror.d.ts +0 -31
  291. package/models/components/createinvoicelineitemoptionvalidationerror.d.ts.map +0 -1
  292. package/models/components/createinvoicelineitemoptionvalidationerror.js +0 -70
  293. package/models/components/createinvoicelineitemoptionvalidationerror.js.map +0 -1
  294. package/models/components/createinvoicelineitems.d.ts +0 -24
  295. package/models/components/createinvoicelineitems.d.ts.map +0 -1
  296. package/models/components/createinvoicelineitems.js +0 -59
  297. package/models/components/createinvoicelineitems.js.map +0 -1
  298. package/models/components/createinvoicelineitemsupdate.d.ts +0 -24
  299. package/models/components/createinvoicelineitemsupdate.d.ts.map +0 -1
  300. package/models/components/createinvoicelineitemsupdate.js +0 -59
  301. package/models/components/createinvoicelineitemsupdate.js.map +0 -1
  302. package/models/components/createinvoicelineitemsvalidationerror.d.ts +0 -22
  303. package/models/components/createinvoicelineitemsvalidationerror.d.ts.map +0 -1
  304. package/models/components/createinvoicelineitemsvalidationerror.js +0 -61
  305. package/models/components/createinvoicelineitemsvalidationerror.js.map +0 -1
  306. package/models/components/createinvoicelineitemvalidationerror.d.ts +0 -38
  307. package/models/components/createinvoicelineitemvalidationerror.d.ts.map +0 -1
  308. package/models/components/createinvoicelineitemvalidationerror.js +0 -75
  309. package/models/components/createinvoicelineitemvalidationerror.js.map +0 -1
  310. package/models/components/createinvoicepayment.d.ts +0 -24
  311. package/models/components/createinvoicepayment.d.ts.map +0 -1
  312. package/models/components/createinvoicepayment.js +0 -66
  313. package/models/components/createinvoicepayment.js.map +0 -1
  314. package/models/components/createticket.d.ts +0 -29
  315. package/models/components/createticket.d.ts.map +0 -1
  316. package/models/components/createticket.js +0 -67
  317. package/models/components/createticket.js.map +0 -1
  318. package/models/components/createticketcontacterror.d.ts +0 -19
  319. package/models/components/createticketcontacterror.d.ts.map +0 -1
  320. package/models/components/createticketcontacterror.js +0 -60
  321. package/models/components/createticketcontacterror.js.map +0 -1
  322. package/models/components/entrymode.d.ts +0 -17
  323. package/models/components/entrymode.d.ts.map +0 -1
  324. package/models/components/entrymode.js +0 -52
  325. package/models/components/entrymode.js.map +0 -1
  326. package/models/components/estimatedactivity.d.ts +0 -25
  327. package/models/components/estimatedactivity.d.ts.map +0 -1
  328. package/models/components/estimatedactivity.js +0 -63
  329. package/models/components/estimatedactivity.js.map +0 -1
  330. package/models/components/estimatedactivityerror.d.ts +0 -21
  331. package/models/components/estimatedactivityerror.d.ts.map +0 -1
  332. package/models/components/estimatedactivityerror.js +0 -62
  333. package/models/components/estimatedactivityerror.js.map +0 -1
  334. package/models/components/fulfillment.d.ts +0 -21
  335. package/models/components/fulfillment.d.ts.map +0 -1
  336. package/models/components/fulfillment.js +0 -62
  337. package/models/components/fulfillment.js.map +0 -1
  338. package/models/components/fulfillmenterror.d.ts +0 -19
  339. package/models/components/fulfillmenterror.d.ts.map +0 -1
  340. package/models/components/fulfillmenterror.js.map +0 -1
  341. package/models/components/fulfillmentmethod.d.ts +0 -19
  342. package/models/components/fulfillmentmethod.d.ts.map +0 -1
  343. package/models/components/fulfillmentmethod.js +0 -56
  344. package/models/components/fulfillmentmethod.js.map +0 -1
  345. package/models/components/fulfillmenttimeframe.d.ts +0 -18
  346. package/models/components/fulfillmenttimeframe.d.ts.map +0 -1
  347. package/models/components/fulfillmenttimeframe.js +0 -55
  348. package/models/components/fulfillmenttimeframe.js.map +0 -1
  349. package/models/components/geographicreach.d.ts +0 -13
  350. package/models/components/geographicreach.d.ts.map +0 -1
  351. package/models/components/geographicreach.js +0 -50
  352. package/models/components/geographicreach.js.map +0 -1
  353. package/models/components/guestprofile.d.ts +0 -31
  354. package/models/components/guestprofile.d.ts.map +0 -1
  355. package/models/components/guestprofile.js +0 -63
  356. package/models/components/guestprofile.js.map +0 -1
  357. package/models/components/industrytaxonomy.d.ts +0 -43
  358. package/models/components/industrytaxonomy.d.ts.map +0 -1
  359. package/models/components/industrytaxonomy.js +0 -66
  360. package/models/components/industrytaxonomy.js.map +0 -1
  361. package/models/components/instantbankcreditpaymentmethod.d.ts +0 -31
  362. package/models/components/instantbankcreditpaymentmethod.d.ts.map +0 -1
  363. package/models/components/instantbankcreditpaymentmethod.js +0 -63
  364. package/models/components/instantbankcreditpaymentmethod.js.map +0 -1
  365. package/models/components/invoice.d.ts +0 -93
  366. package/models/components/invoice.d.ts.map +0 -1
  367. package/models/components/invoice.js +0 -107
  368. package/models/components/invoice.js.map +0 -1
  369. package/models/components/invoiceexternalpayment.d.ts +0 -21
  370. package/models/components/invoiceexternalpayment.d.ts.map +0 -1
  371. package/models/components/invoiceexternalpayment.js +0 -63
  372. package/models/components/invoiceexternalpayment.js.map +0 -1
  373. package/models/components/invoicelineitem.d.ts +0 -54
  374. package/models/components/invoicelineitem.d.ts.map +0 -1
  375. package/models/components/invoicelineitem.js +0 -71
  376. package/models/components/invoicelineitem.js.map +0 -1
  377. package/models/components/invoicelineitemimagemetadata.d.ts +0 -35
  378. package/models/components/invoicelineitemimagemetadata.d.ts.map +0 -1
  379. package/models/components/invoicelineitemimagemetadata.js +0 -64
  380. package/models/components/invoicelineitemimagemetadata.js.map +0 -1
  381. package/models/components/invoicelineitemimagevalidationerror.d.ts +0 -17
  382. package/models/components/invoicelineitemimagevalidationerror.d.ts.map +0 -1
  383. package/models/components/invoicelineitemimagevalidationerror.js +0 -58
  384. package/models/components/invoicelineitemimagevalidationerror.js.map +0 -1
  385. package/models/components/invoicelineitemoption.d.ts +0 -45
  386. package/models/components/invoicelineitemoption.d.ts.map +0 -1
  387. package/models/components/invoicelineitemoption.js +0 -68
  388. package/models/components/invoicelineitemoption.js.map +0 -1
  389. package/models/components/invoicelineitemoptionvalidationerror.d.ts +0 -31
  390. package/models/components/invoicelineitemoptionvalidationerror.d.ts.map +0 -1
  391. package/models/components/invoicelineitemoptionvalidationerror.js +0 -70
  392. package/models/components/invoicelineitemoptionvalidationerror.js.map +0 -1
  393. package/models/components/invoicelineitems.d.ts +0 -24
  394. package/models/components/invoicelineitems.d.ts.map +0 -1
  395. package/models/components/invoicelineitems.js +0 -59
  396. package/models/components/invoicelineitems.js.map +0 -1
  397. package/models/components/invoicelineitemsvalidationerror.d.ts +0 -22
  398. package/models/components/invoicelineitemsvalidationerror.d.ts.map +0 -1
  399. package/models/components/invoicelineitemsvalidationerror.js +0 -59
  400. package/models/components/invoicelineitemsvalidationerror.js.map +0 -1
  401. package/models/components/invoicelineitemvalidationerror.d.ts +0 -38
  402. package/models/components/invoicelineitemvalidationerror.d.ts.map +0 -1
  403. package/models/components/invoicelineitemvalidationerror.js +0 -75
  404. package/models/components/invoicelineitemvalidationerror.js.map +0 -1
  405. package/models/components/invoicepayment.d.ts +0 -35
  406. package/models/components/invoicepayment.d.ts.map +0 -1
  407. package/models/components/invoicepayment.js +0 -70
  408. package/models/components/invoicepayment.js.map +0 -1
  409. package/models/components/invoicepaymenttype.d.ts +0 -12
  410. package/models/components/invoicepaymenttype.d.ts.map +0 -1
  411. package/models/components/invoicepaymenttype.js +0 -49
  412. package/models/components/invoicepaymenttype.js.map +0 -1
  413. package/models/components/invoicetransferpayment.d.ts +0 -20
  414. package/models/components/invoicetransferpayment.d.ts.map +0 -1
  415. package/models/components/invoicetransferpayment.js +0 -58
  416. package/models/components/invoicetransferpayment.js.map +0 -1
  417. package/models/components/itemlistnextpage.d.ts +0 -20
  418. package/models/components/itemlistnextpage.d.ts.map +0 -1
  419. package/models/components/itemlistnextpage.js +0 -58
  420. package/models/components/itemlistnextpage.js.map +0 -1
  421. package/models/components/moneytransfer.d.ts +0 -21
  422. package/models/components/moneytransfer.d.ts.map +0 -1
  423. package/models/components/moneytransfer.js +0 -62
  424. package/models/components/moneytransfer.js.map +0 -1
  425. package/models/components/moneytransfererror.d.ts +0 -21
  426. package/models/components/moneytransfererror.d.ts.map +0 -1
  427. package/models/components/moneytransfererror.js +0 -62
  428. package/models/components/moneytransfererror.js.map +0 -1
  429. package/models/components/moneytransferpullfromcard.d.ts +0 -18
  430. package/models/components/moneytransferpullfromcard.d.ts.map +0 -1
  431. package/models/components/moneytransferpullfromcard.js +0 -59
  432. package/models/components/moneytransferpullfromcard.js.map +0 -1
  433. package/models/components/moneytransferpullfromcarderror.d.ts +0 -18
  434. package/models/components/moneytransferpullfromcarderror.d.ts.map +0 -1
  435. package/models/components/moneytransferpullfromcarderror.js +0 -59
  436. package/models/components/moneytransferpullfromcarderror.js.map +0 -1
  437. package/models/components/moneytransferpushtocard.d.ts +0 -18
  438. package/models/components/moneytransferpushtocard.d.ts.map +0 -1
  439. package/models/components/moneytransferpushtocard.js +0 -59
  440. package/models/components/moneytransferpushtocard.js.map +0 -1
  441. package/models/components/moneytransferpushtocarderror.d.ts +0 -18
  442. package/models/components/moneytransferpushtocarderror.d.ts.map +0 -1
  443. package/models/components/moneytransferpushtocarderror.js +0 -59
  444. package/models/components/moneytransferpushtocarderror.js.map +0 -1
  445. package/models/components/monthlyvolumerange.d.ts +0 -24
  446. package/models/components/monthlyvolumerange.d.ts.map +0 -1
  447. package/models/components/monthlyvolumerange.js +0 -58
  448. package/models/components/monthlyvolumerange.js.map +0 -1
  449. package/models/components/pendinglitigation.d.ts +0 -20
  450. package/models/components/pendinglitigation.d.ts.map +0 -1
  451. package/models/components/pendinglitigation.js +0 -57
  452. package/models/components/pendinglitigation.js.map +0 -1
  453. package/models/components/refundpolicy.d.ts +0 -19
  454. package/models/components/refundpolicy.d.ts.map +0 -1
  455. package/models/components/refundpolicy.js +0 -56
  456. package/models/components/refundpolicy.js.map +0 -1
  457. package/models/components/sendfunds.d.ts +0 -27
  458. package/models/components/sendfunds.d.ts.map +0 -1
  459. package/models/components/sendfunds.js +0 -68
  460. package/models/components/sendfunds.js.map +0 -1
  461. package/models/components/sendfundsach.d.ts +0 -18
  462. package/models/components/sendfundsach.d.ts.map +0 -1
  463. package/models/components/sendfundsach.js +0 -59
  464. package/models/components/sendfundsach.js.map +0 -1
  465. package/models/components/sendfundsacherror.d.ts +0 -18
  466. package/models/components/sendfundsacherror.d.ts.map +0 -1
  467. package/models/components/sendfundsacherror.js +0 -59
  468. package/models/components/sendfundsacherror.js.map +0 -1
  469. package/models/components/sendfundserror.d.ts +0 -27
  470. package/models/components/sendfundserror.d.ts.map +0 -1
  471. package/models/components/sendfundserror.js +0 -68
  472. package/models/components/sendfundserror.js.map +0 -1
  473. package/models/components/sendfundsinstantbank.d.ts +0 -18
  474. package/models/components/sendfundsinstantbank.d.ts.map +0 -1
  475. package/models/components/sendfundsinstantbank.js +0 -59
  476. package/models/components/sendfundsinstantbank.js.map +0 -1
  477. package/models/components/sendfundsinstantbankerror.d.ts +0 -18
  478. package/models/components/sendfundsinstantbankerror.d.ts.map +0 -1
  479. package/models/components/sendfundsinstantbankerror.js +0 -59
  480. package/models/components/sendfundsinstantbankerror.js.map +0 -1
  481. package/models/components/sendfundspushtocard.d.ts +0 -18
  482. package/models/components/sendfundspushtocard.d.ts.map +0 -1
  483. package/models/components/sendfundspushtocard.js +0 -59
  484. package/models/components/sendfundspushtocard.js.map +0 -1
  485. package/models/components/sendfundspushtocarderror.d.ts +0 -18
  486. package/models/components/sendfundspushtocarderror.d.ts.map +0 -1
  487. package/models/components/sendfundspushtocarderror.js +0 -59
  488. package/models/components/sendfundspushtocarderror.js.map +0 -1
  489. package/models/components/sendfundsrtp.d.ts +0 -18
  490. package/models/components/sendfundsrtp.d.ts.map +0 -1
  491. package/models/components/sendfundsrtp.js +0 -59
  492. package/models/components/sendfundsrtp.js.map +0 -1
  493. package/models/components/sendfundsrtperror.d.ts +0 -18
  494. package/models/components/sendfundsrtperror.d.ts.map +0 -1
  495. package/models/components/sendfundsrtperror.js +0 -59
  496. package/models/components/sendfundsrtperror.js.map +0 -1
  497. package/models/components/submissionintent.d.ts +0 -12
  498. package/models/components/submissionintent.d.ts.map +0 -1
  499. package/models/components/submissionintent.js +0 -49
  500. package/models/components/submissionintent.js.map +0 -1
  501. package/models/components/terminalcard.d.ts +0 -83
  502. package/models/components/terminalcard.d.ts.map +0 -1
  503. package/models/components/terminalcard.js +0 -84
  504. package/models/components/terminalcard.js.map +0 -1
  505. package/models/components/ticket.d.ts +0 -37
  506. package/models/components/ticket.d.ts.map +0 -1
  507. package/models/components/ticket.js +0 -80
  508. package/models/components/ticket.js.map +0 -1
  509. package/models/components/ticketcontact.d.ts +0 -19
  510. package/models/components/ticketcontact.d.ts.map +0 -1
  511. package/models/components/ticketcontact.js +0 -60
  512. package/models/components/ticketcontact.js.map +0 -1
  513. package/models/components/ticketmessage.d.ts +0 -21
  514. package/models/components/ticketmessage.d.ts.map +0 -1
  515. package/models/components/ticketmessage.js +0 -62
  516. package/models/components/ticketmessage.js.map +0 -1
  517. package/models/components/updateinvoice.d.ts +0 -40
  518. package/models/components/updateinvoice.d.ts.map +0 -1
  519. package/models/components/updateinvoice.js +0 -71
  520. package/models/components/updateinvoice.js.map +0 -1
  521. package/models/components/updateticket.d.ts +0 -21
  522. package/models/components/updateticket.d.ts.map +0 -1
  523. package/models/components/updateticket.js +0 -59
  524. package/models/components/updateticket.js.map +0 -1
  525. package/models/components/updateticketstatus.d.ts +0 -11
  526. package/models/components/updateticketstatus.d.ts.map +0 -1
  527. package/models/components/updateticketstatus.js +0 -48
  528. package/models/components/updateticketstatus.js.map +0 -1
  529. package/models/components/upsertunderwriting.d.ts +0 -39
  530. package/models/components/upsertunderwriting.d.ts.map +0 -1
  531. package/models/components/upsertunderwriting.js +0 -81
  532. package/models/components/upsertunderwriting.js.map +0 -1
  533. package/models/components/volumesharebycustomertype.d.ts +0 -21
  534. package/models/components/volumesharebycustomertype.d.ts.map +0 -1
  535. package/models/components/volumesharebycustomertype.js +0 -62
  536. package/models/components/volumesharebycustomertype.js.map +0 -1
  537. package/models/components/volumesharebycustomertypeerror.d.ts +0 -21
  538. package/models/components/volumesharebycustomertypeerror.d.ts.map +0 -1
  539. package/models/components/volumesharebycustomertypeerror.js +0 -62
  540. package/models/components/volumesharebycustomertypeerror.js.map +0 -1
  541. package/models/errors/createinvoiceerror.d.ts +0 -40
  542. package/models/errors/createinvoiceerror.d.ts.map +0 -1
  543. package/models/errors/createinvoiceerror.js +0 -100
  544. package/models/errors/createinvoiceerror.js.map +0 -1
  545. package/models/errors/createinvoicepaymenterror.d.ts +0 -34
  546. package/models/errors/createinvoicepaymenterror.d.ts.map +0 -1
  547. package/models/errors/createinvoicepaymenterror.js +0 -88
  548. package/models/errors/createinvoicepaymenterror.js.map +0 -1
  549. package/models/errors/createticketerror.d.ts +0 -36
  550. package/models/errors/createticketerror.d.ts.map +0 -1
  551. package/models/errors/createticketerror.js +0 -90
  552. package/models/errors/createticketerror.js.map +0 -1
  553. package/models/errors/listinvoicesvalidationerror.d.ts +0 -45
  554. package/models/errors/listinvoicesvalidationerror.d.ts.map +0 -1
  555. package/models/errors/listinvoicesvalidationerror.js +0 -107
  556. package/models/errors/listinvoicesvalidationerror.js.map +0 -1
  557. package/models/errors/updateinvoiceerror.d.ts +0 -40
  558. package/models/errors/updateinvoiceerror.d.ts.map +0 -1
  559. package/models/errors/updateinvoiceerror.js +0 -99
  560. package/models/errors/updateinvoiceerror.js.map +0 -1
  561. package/models/errors/updateticketerror.d.ts +0 -24
  562. package/models/errors/updateticketerror.d.ts.map +0 -1
  563. package/models/errors/updateticketerror.js +0 -75
  564. package/models/errors/updateticketerror.js.map +0 -1
  565. package/models/errors/upsertunderwritingerror.d.ts +0 -64
  566. package/models/errors/upsertunderwritingerror.d.ts.map +0 -1
  567. package/models/errors/upsertunderwritingerror.js +0 -143
  568. package/models/errors/upsertunderwritingerror.js.map +0 -1
  569. package/models/operations/createinvoice.d.ts +0 -66
  570. package/models/operations/createinvoice.d.ts.map +0 -1
  571. package/models/operations/createinvoice.js +0 -122
  572. package/models/operations/createinvoice.js.map +0 -1
  573. package/models/operations/createinvoicepayment.d.ts +0 -68
  574. package/models/operations/createinvoicepayment.d.ts.map +0 -1
  575. package/models/operations/createinvoicepayment.js +0 -124
  576. package/models/operations/createinvoicepayment.js.map +0 -1
  577. package/models/operations/createticket.d.ts +0 -66
  578. package/models/operations/createticket.d.ts.map +0 -1
  579. package/models/operations/createticket.js +0 -122
  580. package/models/operations/createticket.js.map +0 -1
  581. package/models/operations/getinvoice.d.ts +0 -66
  582. package/models/operations/getinvoice.d.ts.map +0 -1
  583. package/models/operations/getinvoice.js +0 -114
  584. package/models/operations/getinvoice.js.map +0 -1
  585. package/models/operations/getticket.d.ts +0 -66
  586. package/models/operations/getticket.d.ts.map +0 -1
  587. package/models/operations/getticket.js +0 -114
  588. package/models/operations/getticket.js.map +0 -1
  589. package/models/operations/listinvoicepayments.d.ts +0 -66
  590. package/models/operations/listinvoicepayments.d.ts.map +0 -1
  591. package/models/operations/listinvoicepayments.js +0 -114
  592. package/models/operations/listinvoicepayments.js.map +0 -1
  593. package/models/operations/listinvoices.d.ts +0 -80
  594. package/models/operations/listinvoices.d.ts.map +0 -1
  595. package/models/operations/listinvoices.js +0 -128
  596. package/models/operations/listinvoices.js.map +0 -1
  597. package/models/operations/listticketmessages.d.ts +0 -66
  598. package/models/operations/listticketmessages.d.ts.map +0 -1
  599. package/models/operations/listticketmessages.js +0 -114
  600. package/models/operations/listticketmessages.js.map +0 -1
  601. package/models/operations/listtickets.d.ts +0 -90
  602. package/models/operations/listtickets.d.ts.map +0 -1
  603. package/models/operations/listtickets.js +0 -138
  604. package/models/operations/listtickets.js.map +0 -1
  605. package/models/operations/saveunderwriting.d.ts +0 -66
  606. package/models/operations/saveunderwriting.d.ts.map +0 -1
  607. package/models/operations/saveunderwriting.js +0 -122
  608. package/models/operations/saveunderwriting.js.map +0 -1
  609. package/models/operations/updateinvoice.d.ts +0 -68
  610. package/models/operations/updateinvoice.d.ts.map +0 -1
  611. package/models/operations/updateinvoice.js +0 -124
  612. package/models/operations/updateinvoice.js.map +0 -1
  613. package/models/operations/updateticket.d.ts +0 -68
  614. package/models/operations/updateticket.d.ts.map +0 -1
  615. package/models/operations/updateticket.js +0 -124
  616. package/models/operations/updateticket.js.map +0 -1
  617. package/sdk/invoices.d.ts +0 -48
  618. package/sdk/invoices.d.ts.map +0 -1
  619. package/sdk/invoices.js +0 -73
  620. package/sdk/invoices.js.map +0 -1
  621. package/sdk/support.d.ts +0 -55
  622. package/sdk/support.d.ts.map +0 -1
  623. package/sdk/support.js +0 -77
  624. package/sdk/support.js.map +0 -1
  625. package/src/funcs/invoicesCreateInvoice.ts +0 -201
  626. package/src/funcs/invoicesCreateInvoicePayment.ts +0 -213
  627. package/src/funcs/invoicesGetInvoice.ts +0 -185
  628. package/src/funcs/invoicesListInvoicePayments.ts +0 -186
  629. package/src/funcs/invoicesListInvoices.ts +0 -198
  630. package/src/funcs/invoicesUpdateInvoice.ts +0 -207
  631. package/src/funcs/supportCreateTicket.ts +0 -204
  632. package/src/funcs/supportGetTicket.ts +0 -188
  633. package/src/funcs/supportListTicketMessages.ts +0 -188
  634. package/src/funcs/supportListTickets.ts +0 -190
  635. package/src/funcs/supportUpdateTicket.ts +0 -210
  636. package/src/funcs/underwritingSave.ts +0 -207
  637. package/src/mcp-server/tools/invoicesCreateInvoice.ts +0 -38
  638. package/src/mcp-server/tools/invoicesCreateInvoicePayment.ts +0 -40
  639. package/src/mcp-server/tools/invoicesGetInvoice.ts +0 -38
  640. package/src/mcp-server/tools/invoicesListInvoicePayments.ts +0 -38
  641. package/src/mcp-server/tools/invoicesListInvoices.ts +0 -38
  642. package/src/mcp-server/tools/invoicesUpdateInvoice.ts +0 -38
  643. package/src/mcp-server/tools/supportCreateTicket.ts +0 -41
  644. package/src/mcp-server/tools/supportGetTicket.ts +0 -41
  645. package/src/mcp-server/tools/supportListTicketMessages.ts +0 -41
  646. package/src/mcp-server/tools/supportListTickets.ts +0 -41
  647. package/src/mcp-server/tools/supportUpdateTicket.ts +0 -41
  648. package/src/mcp-server/tools/underwritingSave.ts +0 -40
  649. package/src/models/components/amountdecimalupdate.ts +0 -65
  650. package/src/models/components/businesspresence.ts +0 -25
  651. package/src/models/components/cardacceptancemethods.ts +0 -71
  652. package/src/models/components/cardacceptancemethodserror.ts +0 -59
  653. package/src/models/components/cardpresentpaymentpaymentmethod.ts +0 -76
  654. package/src/models/components/collectfunds.ts +0 -63
  655. package/src/models/components/collectfundsach.ts +0 -55
  656. package/src/models/components/collectfundsacherror.ts +0 -57
  657. package/src/models/components/collectfundscardpayments.ts +0 -93
  658. package/src/models/components/collectfundscardpaymentserror.ts +0 -87
  659. package/src/models/components/collectfundserror.ts +0 -67
  660. package/src/models/components/createaccounttype.ts +0 -21
  661. package/src/models/components/createinvoice.ts +0 -87
  662. package/src/models/components/createinvoicelineitem.ts +0 -113
  663. package/src/models/components/createinvoicelineitemimage.ts +0 -57
  664. package/src/models/components/createinvoicelineitemimagevalidationerror.ts +0 -61
  665. package/src/models/components/createinvoicelineitemoption.ts +0 -99
  666. package/src/models/components/createinvoicelineitemoptionvalidationerror.ts +0 -93
  667. package/src/models/components/createinvoicelineitems.ts +0 -63
  668. package/src/models/components/createinvoicelineitemsupdate.ts +0 -65
  669. package/src/models/components/createinvoicelineitemsvalidationerror.ts +0 -64
  670. package/src/models/components/createinvoicelineitemvalidationerror.ts +0 -104
  671. package/src/models/components/createinvoicepayment.ts +0 -70
  672. package/src/models/components/createticket.ts +0 -72
  673. package/src/models/components/createticketcontacterror.ts +0 -55
  674. package/src/models/components/entrymode.ts +0 -24
  675. package/src/models/components/estimatedactivity.ts +0 -67
  676. package/src/models/components/estimatedactivityerror.ts +0 -59
  677. package/src/models/components/fulfillment.ts +0 -61
  678. package/src/models/components/fulfillmenterror.ts +0 -55
  679. package/src/models/components/fulfillmentmethod.ts +0 -28
  680. package/src/models/components/fulfillmenttimeframe.ts +0 -27
  681. package/src/models/components/geographicreach.ts +0 -22
  682. package/src/models/components/guestprofile.ts +0 -70
  683. package/src/models/components/industrytaxonomy.ts +0 -85
  684. package/src/models/components/instantbankcreditpaymentmethod.ts +0 -76
  685. package/src/models/components/invoice.ts +0 -190
  686. package/src/models/components/invoiceexternalpayment.ts +0 -60
  687. package/src/models/components/invoicelineitem.ts +0 -111
  688. package/src/models/components/invoicelineitemimagemetadata.ts +0 -77
  689. package/src/models/components/invoicelineitemimagevalidationerror.ts +0 -54
  690. package/src/models/components/invoicelineitemoption.ts +0 -97
  691. package/src/models/components/invoicelineitemoptionvalidationerror.ts +0 -86
  692. package/src/models/components/invoicelineitems.ts +0 -63
  693. package/src/models/components/invoicelineitemsvalidationerror.ts +0 -59
  694. package/src/models/components/invoicelineitemvalidationerror.ts +0 -99
  695. package/src/models/components/invoicepayment.ts +0 -92
  696. package/src/models/components/invoicepaymenttype.ts +0 -21
  697. package/src/models/components/invoicetransferpayment.ts +0 -54
  698. package/src/models/components/itemlistnextpage.ts +0 -54
  699. package/src/models/components/moneytransfer.ts +0 -63
  700. package/src/models/components/moneytransfererror.ts +0 -67
  701. package/src/models/components/moneytransferpullfromcard.ts +0 -57
  702. package/src/models/components/moneytransferpullfromcarderror.ts +0 -59
  703. package/src/models/components/moneytransferpushtocard.ts +0 -57
  704. package/src/models/components/moneytransferpushtocarderror.ts +0 -59
  705. package/src/models/components/monthlyvolumerange.ts +0 -33
  706. package/src/models/components/pendinglitigation.ts +0 -30
  707. package/src/models/components/refundpolicy.ts +0 -26
  708. package/src/models/components/sendfunds.ts +0 -83
  709. package/src/models/components/sendfundsach.ts +0 -53
  710. package/src/models/components/sendfundsacherror.ts +0 -57
  711. package/src/models/components/sendfundserror.ts +0 -83
  712. package/src/models/components/sendfundsinstantbank.ts +0 -57
  713. package/src/models/components/sendfundsinstantbankerror.ts +0 -57
  714. package/src/models/components/sendfundspushtocard.ts +0 -57
  715. package/src/models/components/sendfundspushtocarderror.ts +0 -57
  716. package/src/models/components/sendfundsrtp.ts +0 -53
  717. package/src/models/components/sendfundsrtperror.ts +0 -57
  718. package/src/models/components/submissionintent.ts +0 -21
  719. package/src/models/components/terminalcard.ts +0 -152
  720. package/src/models/components/ticket.ts +0 -98
  721. package/src/models/components/ticketcontact.ts +0 -51
  722. package/src/models/components/ticketmessage.ts +0 -55
  723. package/src/models/components/updateinvoice.ts +0 -98
  724. package/src/models/components/updateticket.ts +0 -55
  725. package/src/models/components/updateticketstatus.ts +0 -20
  726. package/src/models/components/upsertunderwriting.ts +0 -124
  727. package/src/models/components/volumesharebycustomertype.ts +0 -59
  728. package/src/models/components/volumesharebycustomertypeerror.ts +0 -61
  729. package/src/models/errors/createinvoiceerror.ts +0 -104
  730. package/src/models/errors/createinvoicepaymenterror.ts +0 -85
  731. package/src/models/errors/createticketerror.ts +0 -89
  732. package/src/models/errors/listinvoicesvalidationerror.ts +0 -116
  733. package/src/models/errors/updateinvoiceerror.ts +0 -100
  734. package/src/models/errors/updateticketerror.ts +0 -66
  735. package/src/models/errors/upsertunderwritingerror.ts +0 -178
  736. package/src/models/operations/createinvoice.ts +0 -187
  737. package/src/models/operations/createinvoicepayment.ts +0 -197
  738. package/src/models/operations/createticket.ts +0 -187
  739. package/src/models/operations/getinvoice.ts +0 -179
  740. package/src/models/operations/getticket.ts +0 -179
  741. package/src/models/operations/listinvoicepayments.ts +0 -181
  742. package/src/models/operations/listinvoices.ts +0 -215
  743. package/src/models/operations/listticketmessages.ts +0 -179
  744. package/src/models/operations/listtickets.ts +0 -241
  745. package/src/models/operations/saveunderwriting.ts +0 -187
  746. package/src/models/operations/updateinvoice.ts +0 -191
  747. package/src/models/operations/updateticket.ts +0 -191
  748. package/src/sdk/invoices.ts +0 -118
  749. package/src/sdk/support.ts +0 -114
@@ -1,54 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
-
5
- import * as z from "zod/v3";
6
- import { safeParse } from "../../lib/schemas.js";
7
- import { Result as SafeParseResult } from "../../types/fp.js";
8
- import { SDKValidationError } from "../errors/sdkvalidationerror.js";
9
-
10
- export type InvoiceLineItemImageValidationError = {
11
- imageID?: string | undefined;
12
- };
13
-
14
- /** @internal */
15
- export const InvoiceLineItemImageValidationError$inboundSchema: z.ZodType<
16
- InvoiceLineItemImageValidationError,
17
- z.ZodTypeDef,
18
- unknown
19
- > = z.object({
20
- imageID: z.string().optional(),
21
- });
22
- /** @internal */
23
- export type InvoiceLineItemImageValidationError$Outbound = {
24
- imageID?: string | undefined;
25
- };
26
-
27
- /** @internal */
28
- export const InvoiceLineItemImageValidationError$outboundSchema: z.ZodType<
29
- InvoiceLineItemImageValidationError$Outbound,
30
- z.ZodTypeDef,
31
- InvoiceLineItemImageValidationError
32
- > = z.object({
33
- imageID: z.string().optional(),
34
- });
35
-
36
- export function invoiceLineItemImageValidationErrorToJSON(
37
- invoiceLineItemImageValidationError: InvoiceLineItemImageValidationError,
38
- ): string {
39
- return JSON.stringify(
40
- InvoiceLineItemImageValidationError$outboundSchema.parse(
41
- invoiceLineItemImageValidationError,
42
- ),
43
- );
44
- }
45
- export function invoiceLineItemImageValidationErrorFromJSON(
46
- jsonString: string,
47
- ): SafeParseResult<InvoiceLineItemImageValidationError, SDKValidationError> {
48
- return safeParse(
49
- jsonString,
50
- (x) =>
51
- InvoiceLineItemImageValidationError$inboundSchema.parse(JSON.parse(x)),
52
- `Failed to parse 'InvoiceLineItemImageValidationError' from JSON`,
53
- );
54
- }
@@ -1,97 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
-
5
- import * as z from "zod/v3";
6
- import { safeParse } from "../../lib/schemas.js";
7
- import { Result as SafeParseResult } from "../../types/fp.js";
8
- import { SDKValidationError } from "../errors/sdkvalidationerror.js";
9
- import {
10
- AmountDecimal,
11
- AmountDecimal$inboundSchema,
12
- AmountDecimal$Outbound,
13
- AmountDecimal$outboundSchema,
14
- } from "./amountdecimal.js";
15
- import {
16
- InvoiceLineItemImageMetadata,
17
- InvoiceLineItemImageMetadata$inboundSchema,
18
- InvoiceLineItemImageMetadata$Outbound,
19
- InvoiceLineItemImageMetadata$outboundSchema,
20
- } from "./invoicelineitemimagemetadata.js";
21
-
22
- /**
23
- * Represents a modifier or option applied to a line item.
24
- */
25
- export type InvoiceLineItemOption = {
26
- /**
27
- * The name of the option or modifier.
28
- */
29
- name: string;
30
- /**
31
- * The quantity of this option.
32
- */
33
- quantity: number;
34
- /**
35
- * Optional price modification applied by this option. Can be positive, negative, or zero.
36
- */
37
- priceModifier?: AmountDecimal | undefined;
38
- /**
39
- * Optional group identifier to categorize related options (e.g., 'toppings').
40
- */
41
- group?: string | undefined;
42
- /**
43
- * Optional list of images associated with this line item option.
44
- */
45
- images?: Array<InvoiceLineItemImageMetadata> | undefined;
46
- };
47
-
48
- /** @internal */
49
- export const InvoiceLineItemOption$inboundSchema: z.ZodType<
50
- InvoiceLineItemOption,
51
- z.ZodTypeDef,
52
- unknown
53
- > = z.object({
54
- name: z.string(),
55
- quantity: z.number().int(),
56
- priceModifier: AmountDecimal$inboundSchema.optional(),
57
- group: z.string().optional(),
58
- images: z.array(InvoiceLineItemImageMetadata$inboundSchema).optional(),
59
- });
60
- /** @internal */
61
- export type InvoiceLineItemOption$Outbound = {
62
- name: string;
63
- quantity: number;
64
- priceModifier?: AmountDecimal$Outbound | undefined;
65
- group?: string | undefined;
66
- images?: Array<InvoiceLineItemImageMetadata$Outbound> | undefined;
67
- };
68
-
69
- /** @internal */
70
- export const InvoiceLineItemOption$outboundSchema: z.ZodType<
71
- InvoiceLineItemOption$Outbound,
72
- z.ZodTypeDef,
73
- InvoiceLineItemOption
74
- > = z.object({
75
- name: z.string(),
76
- quantity: z.number().int(),
77
- priceModifier: AmountDecimal$outboundSchema.optional(),
78
- group: z.string().optional(),
79
- images: z.array(InvoiceLineItemImageMetadata$outboundSchema).optional(),
80
- });
81
-
82
- export function invoiceLineItemOptionToJSON(
83
- invoiceLineItemOption: InvoiceLineItemOption,
84
- ): string {
85
- return JSON.stringify(
86
- InvoiceLineItemOption$outboundSchema.parse(invoiceLineItemOption),
87
- );
88
- }
89
- export function invoiceLineItemOptionFromJSON(
90
- jsonString: string,
91
- ): SafeParseResult<InvoiceLineItemOption, SDKValidationError> {
92
- return safeParse(
93
- jsonString,
94
- (x) => InvoiceLineItemOption$inboundSchema.parse(JSON.parse(x)),
95
- `Failed to parse 'InvoiceLineItemOption' from JSON`,
96
- );
97
- }
@@ -1,86 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
-
5
- import * as z from "zod/v3";
6
- import { safeParse } from "../../lib/schemas.js";
7
- import { Result as SafeParseResult } from "../../types/fp.js";
8
- import { SDKValidationError } from "../errors/sdkvalidationerror.js";
9
- import {
10
- AmountDecimalValidationError,
11
- AmountDecimalValidationError$inboundSchema,
12
- AmountDecimalValidationError$Outbound,
13
- AmountDecimalValidationError$outboundSchema,
14
- } from "./amountdecimalvalidationerror.js";
15
- import {
16
- InvoiceLineItemImageValidationError,
17
- InvoiceLineItemImageValidationError$inboundSchema,
18
- InvoiceLineItemImageValidationError$Outbound,
19
- InvoiceLineItemImageValidationError$outboundSchema,
20
- } from "./invoicelineitemimagevalidationerror.js";
21
-
22
- export type InvoiceLineItemOptionValidationError = {
23
- name?: string | undefined;
24
- group?: string | undefined;
25
- priceModifier?: AmountDecimalValidationError | undefined;
26
- quantity?: string | undefined;
27
- images?: { [k: string]: InvoiceLineItemImageValidationError } | undefined;
28
- };
29
-
30
- /** @internal */
31
- export const InvoiceLineItemOptionValidationError$inboundSchema: z.ZodType<
32
- InvoiceLineItemOptionValidationError,
33
- z.ZodTypeDef,
34
- unknown
35
- > = z.object({
36
- name: z.string().optional(),
37
- group: z.string().optional(),
38
- priceModifier: AmountDecimalValidationError$inboundSchema.optional(),
39
- quantity: z.string().optional(),
40
- images: z.record(InvoiceLineItemImageValidationError$inboundSchema)
41
- .optional(),
42
- });
43
- /** @internal */
44
- export type InvoiceLineItemOptionValidationError$Outbound = {
45
- name?: string | undefined;
46
- group?: string | undefined;
47
- priceModifier?: AmountDecimalValidationError$Outbound | undefined;
48
- quantity?: string | undefined;
49
- images?:
50
- | { [k: string]: InvoiceLineItemImageValidationError$Outbound }
51
- | undefined;
52
- };
53
-
54
- /** @internal */
55
- export const InvoiceLineItemOptionValidationError$outboundSchema: z.ZodType<
56
- InvoiceLineItemOptionValidationError$Outbound,
57
- z.ZodTypeDef,
58
- InvoiceLineItemOptionValidationError
59
- > = z.object({
60
- name: z.string().optional(),
61
- group: z.string().optional(),
62
- priceModifier: AmountDecimalValidationError$outboundSchema.optional(),
63
- quantity: z.string().optional(),
64
- images: z.record(InvoiceLineItemImageValidationError$outboundSchema)
65
- .optional(),
66
- });
67
-
68
- export function invoiceLineItemOptionValidationErrorToJSON(
69
- invoiceLineItemOptionValidationError: InvoiceLineItemOptionValidationError,
70
- ): string {
71
- return JSON.stringify(
72
- InvoiceLineItemOptionValidationError$outboundSchema.parse(
73
- invoiceLineItemOptionValidationError,
74
- ),
75
- );
76
- }
77
- export function invoiceLineItemOptionValidationErrorFromJSON(
78
- jsonString: string,
79
- ): SafeParseResult<InvoiceLineItemOptionValidationError, SDKValidationError> {
80
- return safeParse(
81
- jsonString,
82
- (x) =>
83
- InvoiceLineItemOptionValidationError$inboundSchema.parse(JSON.parse(x)),
84
- `Failed to parse 'InvoiceLineItemOptionValidationError' from JSON`,
85
- );
86
- }
@@ -1,63 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
-
5
- import * as z from "zod/v3";
6
- import { safeParse } from "../../lib/schemas.js";
7
- import { Result as SafeParseResult } from "../../types/fp.js";
8
- import { SDKValidationError } from "../errors/sdkvalidationerror.js";
9
- import {
10
- InvoiceLineItem,
11
- InvoiceLineItem$inboundSchema,
12
- InvoiceLineItem$Outbound,
13
- InvoiceLineItem$outboundSchema,
14
- } from "./invoicelineitem.js";
15
-
16
- /**
17
- * A collection of line items for an invoice.
18
- */
19
- export type InvoiceLineItems = {
20
- /**
21
- * The list of line items.
22
- */
23
- items: Array<InvoiceLineItem>;
24
- };
25
-
26
- /** @internal */
27
- export const InvoiceLineItems$inboundSchema: z.ZodType<
28
- InvoiceLineItems,
29
- z.ZodTypeDef,
30
- unknown
31
- > = z.object({
32
- items: z.array(InvoiceLineItem$inboundSchema),
33
- });
34
- /** @internal */
35
- export type InvoiceLineItems$Outbound = {
36
- items: Array<InvoiceLineItem$Outbound>;
37
- };
38
-
39
- /** @internal */
40
- export const InvoiceLineItems$outboundSchema: z.ZodType<
41
- InvoiceLineItems$Outbound,
42
- z.ZodTypeDef,
43
- InvoiceLineItems
44
- > = z.object({
45
- items: z.array(InvoiceLineItem$outboundSchema),
46
- });
47
-
48
- export function invoiceLineItemsToJSON(
49
- invoiceLineItems: InvoiceLineItems,
50
- ): string {
51
- return JSON.stringify(
52
- InvoiceLineItems$outboundSchema.parse(invoiceLineItems),
53
- );
54
- }
55
- export function invoiceLineItemsFromJSON(
56
- jsonString: string,
57
- ): SafeParseResult<InvoiceLineItems, SDKValidationError> {
58
- return safeParse(
59
- jsonString,
60
- (x) => InvoiceLineItems$inboundSchema.parse(JSON.parse(x)),
61
- `Failed to parse 'InvoiceLineItems' from JSON`,
62
- );
63
- }
@@ -1,59 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
-
5
- import * as z from "zod/v3";
6
- import { safeParse } from "../../lib/schemas.js";
7
- import { Result as SafeParseResult } from "../../types/fp.js";
8
- import { SDKValidationError } from "../errors/sdkvalidationerror.js";
9
- import {
10
- InvoiceLineItemValidationError,
11
- InvoiceLineItemValidationError$inboundSchema,
12
- InvoiceLineItemValidationError$Outbound,
13
- InvoiceLineItemValidationError$outboundSchema,
14
- } from "./invoicelineitemvalidationerror.js";
15
-
16
- export type InvoiceLineItemsValidationError = {
17
- items?: { [k: string]: InvoiceLineItemValidationError } | undefined;
18
- };
19
-
20
- /** @internal */
21
- export const InvoiceLineItemsValidationError$inboundSchema: z.ZodType<
22
- InvoiceLineItemsValidationError,
23
- z.ZodTypeDef,
24
- unknown
25
- > = z.object({
26
- items: z.record(InvoiceLineItemValidationError$inboundSchema).optional(),
27
- });
28
- /** @internal */
29
- export type InvoiceLineItemsValidationError$Outbound = {
30
- items?: { [k: string]: InvoiceLineItemValidationError$Outbound } | undefined;
31
- };
32
-
33
- /** @internal */
34
- export const InvoiceLineItemsValidationError$outboundSchema: z.ZodType<
35
- InvoiceLineItemsValidationError$Outbound,
36
- z.ZodTypeDef,
37
- InvoiceLineItemsValidationError
38
- > = z.object({
39
- items: z.record(InvoiceLineItemValidationError$outboundSchema).optional(),
40
- });
41
-
42
- export function invoiceLineItemsValidationErrorToJSON(
43
- invoiceLineItemsValidationError: InvoiceLineItemsValidationError,
44
- ): string {
45
- return JSON.stringify(
46
- InvoiceLineItemsValidationError$outboundSchema.parse(
47
- invoiceLineItemsValidationError,
48
- ),
49
- );
50
- }
51
- export function invoiceLineItemsValidationErrorFromJSON(
52
- jsonString: string,
53
- ): SafeParseResult<InvoiceLineItemsValidationError, SDKValidationError> {
54
- return safeParse(
55
- jsonString,
56
- (x) => InvoiceLineItemsValidationError$inboundSchema.parse(JSON.parse(x)),
57
- `Failed to parse 'InvoiceLineItemsValidationError' from JSON`,
58
- );
59
- }
@@ -1,99 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
-
5
- import * as z from "zod/v3";
6
- import { safeParse } from "../../lib/schemas.js";
7
- import { Result as SafeParseResult } from "../../types/fp.js";
8
- import { SDKValidationError } from "../errors/sdkvalidationerror.js";
9
- import {
10
- AmountDecimalValidationError,
11
- AmountDecimalValidationError$inboundSchema,
12
- AmountDecimalValidationError$Outbound,
13
- AmountDecimalValidationError$outboundSchema,
14
- } from "./amountdecimalvalidationerror.js";
15
- import {
16
- InvoiceLineItemImageValidationError,
17
- InvoiceLineItemImageValidationError$inboundSchema,
18
- InvoiceLineItemImageValidationError$Outbound,
19
- InvoiceLineItemImageValidationError$outboundSchema,
20
- } from "./invoicelineitemimagevalidationerror.js";
21
- import {
22
- InvoiceLineItemOptionValidationError,
23
- InvoiceLineItemOptionValidationError$inboundSchema,
24
- InvoiceLineItemOptionValidationError$Outbound,
25
- InvoiceLineItemOptionValidationError$outboundSchema,
26
- } from "./invoicelineitemoptionvalidationerror.js";
27
-
28
- export type InvoiceLineItemValidationError = {
29
- productID?: string | undefined;
30
- name?: string | undefined;
31
- basePrice?: AmountDecimalValidationError | undefined;
32
- options?: { [k: string]: InvoiceLineItemOptionValidationError } | undefined;
33
- quantity?: string | undefined;
34
- images?: { [k: string]: InvoiceLineItemImageValidationError } | undefined;
35
- };
36
-
37
- /** @internal */
38
- export const InvoiceLineItemValidationError$inboundSchema: z.ZodType<
39
- InvoiceLineItemValidationError,
40
- z.ZodTypeDef,
41
- unknown
42
- > = z.object({
43
- productID: z.string().optional(),
44
- name: z.string().optional(),
45
- basePrice: AmountDecimalValidationError$inboundSchema.optional(),
46
- options: z.record(InvoiceLineItemOptionValidationError$inboundSchema)
47
- .optional(),
48
- quantity: z.string().optional(),
49
- images: z.record(InvoiceLineItemImageValidationError$inboundSchema)
50
- .optional(),
51
- });
52
- /** @internal */
53
- export type InvoiceLineItemValidationError$Outbound = {
54
- productID?: string | undefined;
55
- name?: string | undefined;
56
- basePrice?: AmountDecimalValidationError$Outbound | undefined;
57
- options?:
58
- | { [k: string]: InvoiceLineItemOptionValidationError$Outbound }
59
- | undefined;
60
- quantity?: string | undefined;
61
- images?:
62
- | { [k: string]: InvoiceLineItemImageValidationError$Outbound }
63
- | undefined;
64
- };
65
-
66
- /** @internal */
67
- export const InvoiceLineItemValidationError$outboundSchema: z.ZodType<
68
- InvoiceLineItemValidationError$Outbound,
69
- z.ZodTypeDef,
70
- InvoiceLineItemValidationError
71
- > = z.object({
72
- productID: z.string().optional(),
73
- name: z.string().optional(),
74
- basePrice: AmountDecimalValidationError$outboundSchema.optional(),
75
- options: z.record(InvoiceLineItemOptionValidationError$outboundSchema)
76
- .optional(),
77
- quantity: z.string().optional(),
78
- images: z.record(InvoiceLineItemImageValidationError$outboundSchema)
79
- .optional(),
80
- });
81
-
82
- export function invoiceLineItemValidationErrorToJSON(
83
- invoiceLineItemValidationError: InvoiceLineItemValidationError,
84
- ): string {
85
- return JSON.stringify(
86
- InvoiceLineItemValidationError$outboundSchema.parse(
87
- invoiceLineItemValidationError,
88
- ),
89
- );
90
- }
91
- export function invoiceLineItemValidationErrorFromJSON(
92
- jsonString: string,
93
- ): SafeParseResult<InvoiceLineItemValidationError, SDKValidationError> {
94
- return safeParse(
95
- jsonString,
96
- (x) => InvoiceLineItemValidationError$inboundSchema.parse(JSON.parse(x)),
97
- `Failed to parse 'InvoiceLineItemValidationError' from JSON`,
98
- );
99
- }
@@ -1,92 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
-
5
- import * as z from "zod/v3";
6
- import { safeParse } from "../../lib/schemas.js";
7
- import { Result as SafeParseResult } from "../../types/fp.js";
8
- import { SDKValidationError } from "../errors/sdkvalidationerror.js";
9
- import {
10
- AmountDecimal,
11
- AmountDecimal$inboundSchema,
12
- AmountDecimal$Outbound,
13
- AmountDecimal$outboundSchema,
14
- } from "./amountdecimal.js";
15
- import {
16
- InvoiceExternalPayment,
17
- InvoiceExternalPayment$inboundSchema,
18
- InvoiceExternalPayment$Outbound,
19
- InvoiceExternalPayment$outboundSchema,
20
- } from "./invoiceexternalpayment.js";
21
- import {
22
- InvoicePaymentType,
23
- InvoicePaymentType$inboundSchema,
24
- InvoicePaymentType$outboundSchema,
25
- } from "./invoicepaymenttype.js";
26
- import {
27
- InvoiceTransferPayment,
28
- InvoiceTransferPayment$inboundSchema,
29
- InvoiceTransferPayment$Outbound,
30
- InvoiceTransferPayment$outboundSchema,
31
- } from "./invoicetransferpayment.js";
32
-
33
- /**
34
- * Payment made towards an invoice, will be either a transfer or an external payment.
35
- */
36
- export type InvoicePayment = {
37
- /**
38
- * A unique identifier for a Moov resource. Supports UUID format (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx) or typed format with base32-encoded UUID and type suffix (e.g., kuoaydiojf7uszaokc2ggnaaaa_xfer).
39
- */
40
- invoicePaymentID: string;
41
- invoicePaymentType: InvoicePaymentType;
42
- amount: AmountDecimal;
43
- transfer?: InvoiceTransferPayment | undefined;
44
- external?: InvoiceExternalPayment | undefined;
45
- };
46
-
47
- /** @internal */
48
- export const InvoicePayment$inboundSchema: z.ZodType<
49
- InvoicePayment,
50
- z.ZodTypeDef,
51
- unknown
52
- > = z.object({
53
- invoicePaymentID: z.string(),
54
- invoicePaymentType: InvoicePaymentType$inboundSchema,
55
- amount: AmountDecimal$inboundSchema,
56
- transfer: InvoiceTransferPayment$inboundSchema.optional(),
57
- external: InvoiceExternalPayment$inboundSchema.optional(),
58
- });
59
- /** @internal */
60
- export type InvoicePayment$Outbound = {
61
- invoicePaymentID: string;
62
- invoicePaymentType: string;
63
- amount: AmountDecimal$Outbound;
64
- transfer?: InvoiceTransferPayment$Outbound | undefined;
65
- external?: InvoiceExternalPayment$Outbound | undefined;
66
- };
67
-
68
- /** @internal */
69
- export const InvoicePayment$outboundSchema: z.ZodType<
70
- InvoicePayment$Outbound,
71
- z.ZodTypeDef,
72
- InvoicePayment
73
- > = z.object({
74
- invoicePaymentID: z.string(),
75
- invoicePaymentType: InvoicePaymentType$outboundSchema,
76
- amount: AmountDecimal$outboundSchema,
77
- transfer: InvoiceTransferPayment$outboundSchema.optional(),
78
- external: InvoiceExternalPayment$outboundSchema.optional(),
79
- });
80
-
81
- export function invoicePaymentToJSON(invoicePayment: InvoicePayment): string {
82
- return JSON.stringify(InvoicePayment$outboundSchema.parse(invoicePayment));
83
- }
84
- export function invoicePaymentFromJSON(
85
- jsonString: string,
86
- ): SafeParseResult<InvoicePayment, SDKValidationError> {
87
- return safeParse(
88
- jsonString,
89
- (x) => InvoicePayment$inboundSchema.parse(JSON.parse(x)),
90
- `Failed to parse 'InvoicePayment' from JSON`,
91
- );
92
- }
@@ -1,21 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
-
5
- import * as z from "zod/v3";
6
- import { ClosedEnum } from "../../types/enums.js";
7
-
8
- export const InvoicePaymentType = {
9
- Transfer: "transfer",
10
- External: "external",
11
- } as const;
12
- export type InvoicePaymentType = ClosedEnum<typeof InvoicePaymentType>;
13
-
14
- /** @internal */
15
- export const InvoicePaymentType$inboundSchema: z.ZodNativeEnum<
16
- typeof InvoicePaymentType
17
- > = z.nativeEnum(InvoicePaymentType);
18
- /** @internal */
19
- export const InvoicePaymentType$outboundSchema: z.ZodNativeEnum<
20
- typeof InvoicePaymentType
21
- > = InvoicePaymentType$inboundSchema;
@@ -1,54 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
-
5
- import * as z from "zod/v3";
6
- import { safeParse } from "../../lib/schemas.js";
7
- import { Result as SafeParseResult } from "../../types/fp.js";
8
- import { SDKValidationError } from "../errors/sdkvalidationerror.js";
9
-
10
- export type InvoiceTransferPayment = {
11
- /**
12
- * A unique identifier for a Moov resource. Supports UUID format (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx) or typed format with base32-encoded UUID and type suffix (e.g., kuoaydiojf7uszaokc2ggnaaaa_xfer).
13
- */
14
- transferID: string;
15
- };
16
-
17
- /** @internal */
18
- export const InvoiceTransferPayment$inboundSchema: z.ZodType<
19
- InvoiceTransferPayment,
20
- z.ZodTypeDef,
21
- unknown
22
- > = z.object({
23
- transferID: z.string(),
24
- });
25
- /** @internal */
26
- export type InvoiceTransferPayment$Outbound = {
27
- transferID: string;
28
- };
29
-
30
- /** @internal */
31
- export const InvoiceTransferPayment$outboundSchema: z.ZodType<
32
- InvoiceTransferPayment$Outbound,
33
- z.ZodTypeDef,
34
- InvoiceTransferPayment
35
- > = z.object({
36
- transferID: z.string(),
37
- });
38
-
39
- export function invoiceTransferPaymentToJSON(
40
- invoiceTransferPayment: InvoiceTransferPayment,
41
- ): string {
42
- return JSON.stringify(
43
- InvoiceTransferPayment$outboundSchema.parse(invoiceTransferPayment),
44
- );
45
- }
46
- export function invoiceTransferPaymentFromJSON(
47
- jsonString: string,
48
- ): SafeParseResult<InvoiceTransferPayment, SDKValidationError> {
49
- return safeParse(
50
- jsonString,
51
- (x) => InvoiceTransferPayment$inboundSchema.parse(JSON.parse(x)),
52
- `Failed to parse 'InvoiceTransferPayment' from JSON`,
53
- );
54
- }
@@ -1,54 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
-
5
- import * as z from "zod/v3";
6
- import { safeParse } from "../../lib/schemas.js";
7
- import { Result as SafeParseResult } from "../../types/fp.js";
8
- import { SDKValidationError } from "../errors/sdkvalidationerror.js";
9
-
10
- export type ItemListNextPage = {
11
- /**
12
- * The cursor value to use for the next page of items.
13
- */
14
- cursor: string;
15
- };
16
-
17
- /** @internal */
18
- export const ItemListNextPage$inboundSchema: z.ZodType<
19
- ItemListNextPage,
20
- z.ZodTypeDef,
21
- unknown
22
- > = z.object({
23
- cursor: z.string(),
24
- });
25
- /** @internal */
26
- export type ItemListNextPage$Outbound = {
27
- cursor: string;
28
- };
29
-
30
- /** @internal */
31
- export const ItemListNextPage$outboundSchema: z.ZodType<
32
- ItemListNextPage$Outbound,
33
- z.ZodTypeDef,
34
- ItemListNextPage
35
- > = z.object({
36
- cursor: z.string(),
37
- });
38
-
39
- export function itemListNextPageToJSON(
40
- itemListNextPage: ItemListNextPage,
41
- ): string {
42
- return JSON.stringify(
43
- ItemListNextPage$outboundSchema.parse(itemListNextPage),
44
- );
45
- }
46
- export function itemListNextPageFromJSON(
47
- jsonString: string,
48
- ): SafeParseResult<ItemListNextPage, SDKValidationError> {
49
- return safeParse(
50
- jsonString,
51
- (x) => ItemListNextPage$inboundSchema.parse(JSON.parse(x)),
52
- `Failed to parse 'ItemListNextPage' from JSON`,
53
- );
54
- }