@moovio/sdk 0.22.21 → 25.1.0-dev.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (747) hide show
  1. package/README.md +47 -192
  2. package/bin/mcp-server.js +857 -5015
  3. package/bin/mcp-server.js.map +29 -148
  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.d.ts.map +1 -1
  8. package/lib/config.js +4 -4
  9. package/lib/config.js.map +1 -1
  10. package/mcp-server/mcp-server.js +1 -1
  11. package/mcp-server/mcp-server.js.map +1 -1
  12. package/mcp-server/server.d.ts.map +1 -1
  13. package/mcp-server/server.js +1 -25
  14. package/mcp-server/server.js.map +1 -1
  15. package/models/components/accounttype.d.ts +0 -1
  16. package/models/components/accounttype.d.ts.map +1 -1
  17. package/models/components/accounttype.js +0 -1
  18. package/models/components/accounttype.js.map +1 -1
  19. package/models/components/bankaccountholdertype.d.ts +0 -1
  20. package/models/components/bankaccountholdertype.d.ts.map +1 -1
  21. package/models/components/bankaccountholdertype.js +0 -1
  22. package/models/components/bankaccountholdertype.js.map +1 -1
  23. package/models/components/capabilityid.d.ts +0 -11
  24. package/models/components/capabilityid.d.ts.map +1 -1
  25. package/models/components/capabilityid.js +0 -11
  26. package/models/components/capabilityid.js.map +1 -1
  27. package/models/components/createaccount.d.ts +5 -2
  28. package/models/components/createaccount.d.ts.map +1 -1
  29. package/models/components/createaccount.js +3 -3
  30. package/models/components/createaccount.js.map +1 -1
  31. package/models/components/enrichedindustries.d.ts +3 -3
  32. package/models/components/enrichedindustries.js +3 -3
  33. package/models/components/enrichedindustry.d.ts +35 -0
  34. package/models/components/enrichedindustry.d.ts.map +1 -0
  35. package/models/components/{fulfillmenterror.js → enrichedindustry.js} +18 -14
  36. package/models/components/enrichedindustry.js.map +1 -0
  37. package/models/components/incurredfee.d.ts +22 -1
  38. package/models/components/incurredfee.d.ts.map +1 -1
  39. package/models/components/incurredfee.js.map +1 -1
  40. package/models/components/index.d.ts +1 -77
  41. package/models/components/index.d.ts.map +1 -1
  42. package/models/components/index.js +1 -77
  43. package/models/components/index.js.map +1 -1
  44. package/models/components/paymentmethod.d.ts +2 -4
  45. package/models/components/paymentmethod.d.ts.map +1 -1
  46. package/models/components/paymentmethod.js +0 -6
  47. package/models/components/paymentmethod.js.map +1 -1
  48. package/models/components/paymentmethodtype.d.ts +0 -2
  49. package/models/components/paymentmethodtype.d.ts.map +1 -1
  50. package/models/components/paymentmethodtype.js +0 -2
  51. package/models/components/paymentmethodtype.js.map +1 -1
  52. package/models/components/profile.d.ts +0 -6
  53. package/models/components/profile.d.ts.map +1 -1
  54. package/models/components/profile.js +0 -3
  55. package/models/components/profile.js.map +1 -1
  56. package/models/components/requirementid.d.ts +0 -54
  57. package/models/components/requirementid.d.ts.map +1 -1
  58. package/models/components/requirementid.js +0 -54
  59. package/models/components/requirementid.js.map +1 -1
  60. package/models/components/residual.d.ts +31 -7
  61. package/models/components/residual.d.ts.map +1 -1
  62. package/models/components/residual.js +0 -2
  63. package/models/components/residual.js.map +1 -1
  64. package/models/components/transfer.d.ts +0 -5
  65. package/models/components/transfer.d.ts.map +1 -1
  66. package/models/components/transfer.js +0 -2
  67. package/models/components/transfer.js.map +1 -1
  68. package/models/components/transfersource.d.ts +0 -6
  69. package/models/components/transfersource.d.ts.map +1 -1
  70. package/models/components/transfersource.js +0 -3
  71. package/models/components/transfersource.js.map +1 -1
  72. package/models/components/underwriting.d.ts +14 -35
  73. package/models/components/underwriting.d.ts.map +1 -1
  74. package/models/components/underwriting.js +14 -36
  75. package/models/components/underwriting.js.map +1 -1
  76. package/models/errors/index.d.ts +0 -7
  77. package/models/errors/index.d.ts.map +1 -1
  78. package/models/errors/index.js +0 -7
  79. package/models/errors/index.js.map +1 -1
  80. package/models/errors/transfer.d.ts +0 -9
  81. package/models/errors/transfer.d.ts.map +1 -1
  82. package/models/errors/transfer.js +0 -4
  83. package/models/errors/transfer.js.map +1 -1
  84. package/models/operations/getresidual.d.ts +3 -0
  85. package/models/operations/getresidual.d.ts.map +1 -1
  86. package/models/operations/getresidual.js.map +1 -1
  87. package/models/operations/index.d.ts +0 -12
  88. package/models/operations/index.d.ts.map +1 -1
  89. package/models/operations/index.js +0 -12
  90. package/models/operations/index.js.map +1 -1
  91. package/models/operations/listaccounts.d.ts +1 -1
  92. package/models/operations/listaccounts.d.ts.map +1 -1
  93. package/models/operations/listaccounts.js +2 -2
  94. package/models/operations/listaccounts.js.map +1 -1
  95. package/models/operations/listconnectedaccountsforaccount.d.ts +1 -1
  96. package/models/operations/listconnectedaccountsforaccount.d.ts.map +1 -1
  97. package/models/operations/listconnectedaccountsforaccount.js +2 -2
  98. package/models/operations/listconnectedaccountsforaccount.js.map +1 -1
  99. package/models/operations/listresidualfees.d.ts +3 -0
  100. package/models/operations/listresidualfees.d.ts.map +1 -1
  101. package/models/operations/listresidualfees.js.map +1 -1
  102. package/package.json +1 -1
  103. package/sdk/sdk.d.ts +0 -6
  104. package/sdk/sdk.d.ts.map +1 -1
  105. package/sdk/sdk.js +0 -8
  106. package/sdk/sdk.js.map +1 -1
  107. package/sdk/underwriting.d.ts +0 -9
  108. package/sdk/underwriting.d.ts.map +1 -1
  109. package/sdk/underwriting.js +0 -12
  110. package/sdk/underwriting.js.map +1 -1
  111. package/src/lib/config.ts +5 -4
  112. package/src/mcp-server/mcp-server.ts +1 -1
  113. package/src/mcp-server/server.ts +1 -25
  114. package/src/models/components/accounttype.ts +0 -1
  115. package/src/models/components/bankaccountholdertype.ts +0 -1
  116. package/src/models/components/capabilityid.ts +0 -11
  117. package/src/models/components/createaccount.ts +11 -8
  118. package/src/models/components/enrichedindustries.ts +9 -9
  119. package/src/models/components/enrichedindustry.ts +75 -0
  120. package/src/models/components/incurredfee.ts +22 -1
  121. package/src/models/components/index.ts +1 -77
  122. package/src/models/components/paymentmethod.ts +2 -22
  123. package/src/models/components/paymentmethodtype.ts +0 -2
  124. package/src/models/components/profile.ts +0 -13
  125. package/src/models/components/requirementid.ts +0 -103
  126. package/src/models/components/residual.ts +31 -9
  127. package/src/models/components/transfer.ts +0 -7
  128. package/src/models/components/transfersource.ts +0 -13
  129. package/src/models/components/underwriting.ts +28 -96
  130. package/src/models/errors/index.ts +0 -7
  131. package/src/models/errors/transfer.ts +0 -12
  132. package/src/models/operations/getresidual.ts +3 -0
  133. package/src/models/operations/index.ts +0 -12
  134. package/src/models/operations/listaccounts.ts +3 -3
  135. package/src/models/operations/listconnectedaccountsforaccount.ts +3 -3
  136. package/src/models/operations/listresidualfees.ts +3 -0
  137. package/src/sdk/sdk.ts +0 -12
  138. package/src/sdk/underwriting.ts +0 -20
  139. package/funcs/invoicesCreateInvoice.d.ts +0 -18
  140. package/funcs/invoicesCreateInvoice.d.ts.map +0 -1
  141. package/funcs/invoicesCreateInvoice.js +0 -139
  142. package/funcs/invoicesCreateInvoice.js.map +0 -1
  143. package/funcs/invoicesCreateInvoicePayment.d.ts +0 -19
  144. package/funcs/invoicesCreateInvoicePayment.d.ts.map +0 -1
  145. package/funcs/invoicesCreateInvoicePayment.js +0 -148
  146. package/funcs/invoicesCreateInvoicePayment.js.map +0 -1
  147. package/funcs/invoicesGetInvoice.d.ts +0 -17
  148. package/funcs/invoicesGetInvoice.d.ts.map +0 -1
  149. package/funcs/invoicesGetInvoice.js +0 -129
  150. package/funcs/invoicesGetInvoice.js.map +0 -1
  151. package/funcs/invoicesListInvoicePayments.d.ts +0 -17
  152. package/funcs/invoicesListInvoicePayments.d.ts.map +0 -1
  153. package/funcs/invoicesListInvoicePayments.js +0 -129
  154. package/funcs/invoicesListInvoicePayments.js.map +0 -1
  155. package/funcs/invoicesListInvoices.d.ts +0 -18
  156. package/funcs/invoicesListInvoices.d.ts.map +0 -1
  157. package/funcs/invoicesListInvoices.js +0 -139
  158. package/funcs/invoicesListInvoices.js.map +0 -1
  159. package/funcs/invoicesUpdateInvoice.d.ts +0 -18
  160. package/funcs/invoicesUpdateInvoice.d.ts.map +0 -1
  161. package/funcs/invoicesUpdateInvoice.js +0 -143
  162. package/funcs/invoicesUpdateInvoice.js.map +0 -1
  163. package/funcs/supportCreateTicket.d.ts +0 -21
  164. package/funcs/supportCreateTicket.d.ts.map +0 -1
  165. package/funcs/supportCreateTicket.js +0 -142
  166. package/funcs/supportCreateTicket.js.map +0 -1
  167. package/funcs/supportGetTicket.d.ts +0 -20
  168. package/funcs/supportGetTicket.d.ts.map +0 -1
  169. package/funcs/supportGetTicket.js +0 -132
  170. package/funcs/supportGetTicket.js.map +0 -1
  171. package/funcs/supportListTicketMessages.d.ts +0 -20
  172. package/funcs/supportListTicketMessages.d.ts.map +0 -1
  173. package/funcs/supportListTicketMessages.js +0 -132
  174. package/funcs/supportListTicketMessages.js.map +0 -1
  175. package/funcs/supportListTickets.d.ts +0 -20
  176. package/funcs/supportListTickets.d.ts.map +0 -1
  177. package/funcs/supportListTickets.js +0 -135
  178. package/funcs/supportListTickets.js.map +0 -1
  179. package/funcs/supportUpdateTicket.d.ts +0 -21
  180. package/funcs/supportUpdateTicket.d.ts.map +0 -1
  181. package/funcs/supportUpdateTicket.js +0 -146
  182. package/funcs/supportUpdateTicket.js.map +0 -1
  183. package/funcs/underwritingSave.d.ts +0 -20
  184. package/funcs/underwritingSave.d.ts.map +0 -1
  185. package/funcs/underwritingSave.js +0 -145
  186. package/funcs/underwritingSave.js.map +0 -1
  187. package/mcp-server/tools/invoicesCreateInvoice.d.ts +0 -8
  188. package/mcp-server/tools/invoicesCreateInvoice.d.ts.map +0 -1
  189. package/mcp-server/tools/invoicesCreateInvoice.js +0 -65
  190. package/mcp-server/tools/invoicesCreateInvoice.js.map +0 -1
  191. package/mcp-server/tools/invoicesCreateInvoicePayment.d.ts +0 -8
  192. package/mcp-server/tools/invoicesCreateInvoicePayment.d.ts.map +0 -1
  193. package/mcp-server/tools/invoicesCreateInvoicePayment.js +0 -66
  194. package/mcp-server/tools/invoicesCreateInvoicePayment.js.map +0 -1
  195. package/mcp-server/tools/invoicesGetInvoice.d.ts +0 -8
  196. package/mcp-server/tools/invoicesGetInvoice.d.ts.map +0 -1
  197. package/mcp-server/tools/invoicesGetInvoice.js +0 -65
  198. package/mcp-server/tools/invoicesGetInvoice.js.map +0 -1
  199. package/mcp-server/tools/invoicesListInvoicePayments.d.ts +0 -8
  200. package/mcp-server/tools/invoicesListInvoicePayments.d.ts.map +0 -1
  201. package/mcp-server/tools/invoicesListInvoicePayments.js +0 -65
  202. package/mcp-server/tools/invoicesListInvoicePayments.js.map +0 -1
  203. package/mcp-server/tools/invoicesListInvoices.d.ts +0 -8
  204. package/mcp-server/tools/invoicesListInvoices.d.ts.map +0 -1
  205. package/mcp-server/tools/invoicesListInvoices.js +0 -65
  206. package/mcp-server/tools/invoicesListInvoices.js.map +0 -1
  207. package/mcp-server/tools/invoicesUpdateInvoice.d.ts +0 -8
  208. package/mcp-server/tools/invoicesUpdateInvoice.d.ts.map +0 -1
  209. package/mcp-server/tools/invoicesUpdateInvoice.js +0 -65
  210. package/mcp-server/tools/invoicesUpdateInvoice.js.map +0 -1
  211. package/mcp-server/tools/supportCreateTicket.d.ts +0 -8
  212. package/mcp-server/tools/supportCreateTicket.d.ts.map +0 -1
  213. package/mcp-server/tools/supportCreateTicket.js +0 -68
  214. package/mcp-server/tools/supportCreateTicket.js.map +0 -1
  215. package/mcp-server/tools/supportGetTicket.d.ts +0 -8
  216. package/mcp-server/tools/supportGetTicket.d.ts.map +0 -1
  217. package/mcp-server/tools/supportGetTicket.js +0 -68
  218. package/mcp-server/tools/supportGetTicket.js.map +0 -1
  219. package/mcp-server/tools/supportListTicketMessages.d.ts +0 -8
  220. package/mcp-server/tools/supportListTicketMessages.d.ts.map +0 -1
  221. package/mcp-server/tools/supportListTicketMessages.js +0 -68
  222. package/mcp-server/tools/supportListTicketMessages.js.map +0 -1
  223. package/mcp-server/tools/supportListTickets.d.ts +0 -8
  224. package/mcp-server/tools/supportListTickets.d.ts.map +0 -1
  225. package/mcp-server/tools/supportListTickets.js +0 -68
  226. package/mcp-server/tools/supportListTickets.js.map +0 -1
  227. package/mcp-server/tools/supportUpdateTicket.d.ts +0 -8
  228. package/mcp-server/tools/supportUpdateTicket.d.ts.map +0 -1
  229. package/mcp-server/tools/supportUpdateTicket.js +0 -68
  230. package/mcp-server/tools/supportUpdateTicket.js.map +0 -1
  231. package/mcp-server/tools/underwritingSave.d.ts +0 -8
  232. package/mcp-server/tools/underwritingSave.d.ts.map +0 -1
  233. package/mcp-server/tools/underwritingSave.js +0 -67
  234. package/mcp-server/tools/underwritingSave.js.map +0 -1
  235. package/models/components/amountdecimalupdate.d.ts +0 -29
  236. package/models/components/amountdecimalupdate.d.ts.map +0 -1
  237. package/models/components/amountdecimalupdate.js +0 -60
  238. package/models/components/amountdecimalupdate.js.map +0 -1
  239. package/models/components/businesspresence.d.ts +0 -16
  240. package/models/components/businesspresence.d.ts.map +0 -1
  241. package/models/components/businesspresence.js +0 -53
  242. package/models/components/businesspresence.js.map +0 -1
  243. package/models/components/cardacceptancemethods.d.ts +0 -33
  244. package/models/components/cardacceptancemethods.d.ts.map +0 -1
  245. package/models/components/cardacceptancemethods.js +0 -62
  246. package/models/components/cardacceptancemethods.js.map +0 -1
  247. package/models/components/cardacceptancemethodserror.d.ts +0 -21
  248. package/models/components/cardacceptancemethodserror.d.ts.map +0 -1
  249. package/models/components/cardacceptancemethodserror.js +0 -62
  250. package/models/components/cardacceptancemethodserror.js.map +0 -1
  251. package/models/components/cardpresentpaymentpaymentmethod.d.ts +0 -31
  252. package/models/components/cardpresentpaymentpaymentmethod.d.ts.map +0 -1
  253. package/models/components/cardpresentpaymentpaymentmethod.js +0 -63
  254. package/models/components/cardpresentpaymentpaymentmethod.js.map +0 -1
  255. package/models/components/collectfunds.d.ts +0 -21
  256. package/models/components/collectfunds.d.ts.map +0 -1
  257. package/models/components/collectfunds.js +0 -62
  258. package/models/components/collectfunds.js.map +0 -1
  259. package/models/components/collectfundsach.d.ts +0 -18
  260. package/models/components/collectfundsach.d.ts.map +0 -1
  261. package/models/components/collectfundsach.js +0 -59
  262. package/models/components/collectfundsach.js.map +0 -1
  263. package/models/components/collectfundsacherror.d.ts +0 -18
  264. package/models/components/collectfundsacherror.d.ts.map +0 -1
  265. package/models/components/collectfundsacherror.js +0 -59
  266. package/models/components/collectfundsacherror.js.map +0 -1
  267. package/models/components/collectfundscardpayments.d.ts +0 -32
  268. package/models/components/collectfundscardpayments.d.ts.map +0 -1
  269. package/models/components/collectfundscardpayments.js +0 -70
  270. package/models/components/collectfundscardpayments.js.map +0 -1
  271. package/models/components/collectfundscardpaymentserror.d.ts +0 -28
  272. package/models/components/collectfundscardpaymentserror.d.ts.map +0 -1
  273. package/models/components/collectfundscardpaymentserror.js +0 -69
  274. package/models/components/collectfundscardpaymentserror.js.map +0 -1
  275. package/models/components/collectfundserror.d.ts +0 -21
  276. package/models/components/collectfundserror.d.ts.map +0 -1
  277. package/models/components/collectfundserror.js +0 -62
  278. package/models/components/collectfundserror.js.map +0 -1
  279. package/models/components/createaccounttype.d.ts +0 -12
  280. package/models/components/createaccounttype.d.ts.map +0 -1
  281. package/models/components/createaccounttype.js +0 -49
  282. package/models/components/createaccounttype.js.map +0 -1
  283. package/models/components/createinvoice.d.ts +0 -35
  284. package/models/components/createinvoice.d.ts.map +0 -1
  285. package/models/components/createinvoice.js +0 -72
  286. package/models/components/createinvoice.js.map +0 -1
  287. package/models/components/createinvoicelineitem.d.ts +0 -50
  288. package/models/components/createinvoicelineitem.d.ts.map +0 -1
  289. package/models/components/createinvoicelineitem.js +0 -70
  290. package/models/components/createinvoicelineitem.js.map +0 -1
  291. package/models/components/createinvoicelineitemoption.d.ts +0 -44
  292. package/models/components/createinvoicelineitemoption.d.ts.map +0 -1
  293. package/models/components/createinvoicelineitemoption.js +0 -67
  294. package/models/components/createinvoicelineitemoption.js.map +0 -1
  295. package/models/components/createinvoicelineitemoptionvalidationerror.d.ts +0 -24
  296. package/models/components/createinvoicelineitemoptionvalidationerror.d.ts.map +0 -1
  297. package/models/components/createinvoicelineitemoptionvalidationerror.js +0 -65
  298. package/models/components/createinvoicelineitemoptionvalidationerror.js.map +0 -1
  299. package/models/components/createinvoicelineitems.d.ts +0 -24
  300. package/models/components/createinvoicelineitems.d.ts.map +0 -1
  301. package/models/components/createinvoicelineitems.js +0 -59
  302. package/models/components/createinvoicelineitems.js.map +0 -1
  303. package/models/components/createinvoicelineitemsupdate.d.ts +0 -24
  304. package/models/components/createinvoicelineitemsupdate.d.ts.map +0 -1
  305. package/models/components/createinvoicelineitemsupdate.js +0 -59
  306. package/models/components/createinvoicelineitemsupdate.js.map +0 -1
  307. package/models/components/createinvoicelineitemsvalidationerror.d.ts +0 -22
  308. package/models/components/createinvoicelineitemsvalidationerror.d.ts.map +0 -1
  309. package/models/components/createinvoicelineitemsvalidationerror.js +0 -61
  310. package/models/components/createinvoicelineitemsvalidationerror.js.map +0 -1
  311. package/models/components/createinvoicelineitemvalidationerror.d.ts +0 -31
  312. package/models/components/createinvoicelineitemvalidationerror.d.ts.map +0 -1
  313. package/models/components/createinvoicelineitemvalidationerror.js +0 -70
  314. package/models/components/createinvoicelineitemvalidationerror.js.map +0 -1
  315. package/models/components/createinvoicepayment.d.ts +0 -24
  316. package/models/components/createinvoicepayment.d.ts.map +0 -1
  317. package/models/components/createinvoicepayment.js +0 -66
  318. package/models/components/createinvoicepayment.js.map +0 -1
  319. package/models/components/createticket.d.ts +0 -29
  320. package/models/components/createticket.d.ts.map +0 -1
  321. package/models/components/createticket.js +0 -67
  322. package/models/components/createticket.js.map +0 -1
  323. package/models/components/createticketcontacterror.d.ts +0 -19
  324. package/models/components/createticketcontacterror.d.ts.map +0 -1
  325. package/models/components/createticketcontacterror.js +0 -60
  326. package/models/components/createticketcontacterror.js.map +0 -1
  327. package/models/components/entrymode.d.ts +0 -17
  328. package/models/components/entrymode.d.ts.map +0 -1
  329. package/models/components/entrymode.js +0 -52
  330. package/models/components/entrymode.js.map +0 -1
  331. package/models/components/estimatedactivity.d.ts +0 -25
  332. package/models/components/estimatedactivity.d.ts.map +0 -1
  333. package/models/components/estimatedactivity.js +0 -63
  334. package/models/components/estimatedactivity.js.map +0 -1
  335. package/models/components/estimatedactivityerror.d.ts +0 -21
  336. package/models/components/estimatedactivityerror.d.ts.map +0 -1
  337. package/models/components/estimatedactivityerror.js +0 -62
  338. package/models/components/estimatedactivityerror.js.map +0 -1
  339. package/models/components/fulfillment.d.ts +0 -21
  340. package/models/components/fulfillment.d.ts.map +0 -1
  341. package/models/components/fulfillment.js +0 -62
  342. package/models/components/fulfillment.js.map +0 -1
  343. package/models/components/fulfillmenterror.d.ts +0 -19
  344. package/models/components/fulfillmenterror.d.ts.map +0 -1
  345. package/models/components/fulfillmenterror.js.map +0 -1
  346. package/models/components/fulfillmentmethod.d.ts +0 -19
  347. package/models/components/fulfillmentmethod.d.ts.map +0 -1
  348. package/models/components/fulfillmentmethod.js +0 -56
  349. package/models/components/fulfillmentmethod.js.map +0 -1
  350. package/models/components/fulfillmenttimeframe.d.ts +0 -18
  351. package/models/components/fulfillmenttimeframe.d.ts.map +0 -1
  352. package/models/components/fulfillmenttimeframe.js +0 -55
  353. package/models/components/fulfillmenttimeframe.js.map +0 -1
  354. package/models/components/geographicreach.d.ts +0 -13
  355. package/models/components/geographicreach.d.ts.map +0 -1
  356. package/models/components/geographicreach.js +0 -50
  357. package/models/components/geographicreach.js.map +0 -1
  358. package/models/components/guestprofile.d.ts +0 -31
  359. package/models/components/guestprofile.d.ts.map +0 -1
  360. package/models/components/guestprofile.js +0 -63
  361. package/models/components/guestprofile.js.map +0 -1
  362. package/models/components/industrytaxonomy.d.ts +0 -43
  363. package/models/components/industrytaxonomy.d.ts.map +0 -1
  364. package/models/components/industrytaxonomy.js +0 -66
  365. package/models/components/industrytaxonomy.js.map +0 -1
  366. package/models/components/instantbankcreditpaymentmethod.d.ts +0 -31
  367. package/models/components/instantbankcreditpaymentmethod.d.ts.map +0 -1
  368. package/models/components/instantbankcreditpaymentmethod.js +0 -63
  369. package/models/components/instantbankcreditpaymentmethod.js.map +0 -1
  370. package/models/components/invoice.d.ts +0 -93
  371. package/models/components/invoice.d.ts.map +0 -1
  372. package/models/components/invoice.js +0 -107
  373. package/models/components/invoice.js.map +0 -1
  374. package/models/components/invoiceexternalpayment.d.ts +0 -21
  375. package/models/components/invoiceexternalpayment.d.ts.map +0 -1
  376. package/models/components/invoiceexternalpayment.js +0 -63
  377. package/models/components/invoiceexternalpayment.js.map +0 -1
  378. package/models/components/invoicelineitem.d.ts +0 -51
  379. package/models/components/invoicelineitem.d.ts.map +0 -1
  380. package/models/components/invoicelineitem.js +0 -71
  381. package/models/components/invoicelineitem.js.map +0 -1
  382. package/models/components/invoicelineitemimagemetadata.d.ts +0 -35
  383. package/models/components/invoicelineitemimagemetadata.d.ts.map +0 -1
  384. package/models/components/invoicelineitemimagemetadata.js +0 -64
  385. package/models/components/invoicelineitemimagemetadata.js.map +0 -1
  386. package/models/components/invoicelineitemoption.d.ts +0 -45
  387. package/models/components/invoicelineitemoption.d.ts.map +0 -1
  388. package/models/components/invoicelineitemoption.js +0 -68
  389. package/models/components/invoicelineitemoption.js.map +0 -1
  390. package/models/components/invoicelineitemoptionvalidationerror.d.ts +0 -24
  391. package/models/components/invoicelineitemoptionvalidationerror.d.ts.map +0 -1
  392. package/models/components/invoicelineitemoptionvalidationerror.js +0 -65
  393. package/models/components/invoicelineitemoptionvalidationerror.js.map +0 -1
  394. package/models/components/invoicelineitems.d.ts +0 -24
  395. package/models/components/invoicelineitems.d.ts.map +0 -1
  396. package/models/components/invoicelineitems.js +0 -59
  397. package/models/components/invoicelineitems.js.map +0 -1
  398. package/models/components/invoicelineitemsvalidationerror.d.ts +0 -22
  399. package/models/components/invoicelineitemsvalidationerror.d.ts.map +0 -1
  400. package/models/components/invoicelineitemsvalidationerror.js +0 -59
  401. package/models/components/invoicelineitemsvalidationerror.js.map +0 -1
  402. package/models/components/invoicelineitemvalidationerror.d.ts +0 -31
  403. package/models/components/invoicelineitemvalidationerror.d.ts.map +0 -1
  404. package/models/components/invoicelineitemvalidationerror.js +0 -70
  405. package/models/components/invoicelineitemvalidationerror.js.map +0 -1
  406. package/models/components/invoicepayment.d.ts +0 -35
  407. package/models/components/invoicepayment.d.ts.map +0 -1
  408. package/models/components/invoicepayment.js +0 -70
  409. package/models/components/invoicepayment.js.map +0 -1
  410. package/models/components/invoicepaymenttype.d.ts +0 -12
  411. package/models/components/invoicepaymenttype.d.ts.map +0 -1
  412. package/models/components/invoicepaymenttype.js +0 -49
  413. package/models/components/invoicepaymenttype.js.map +0 -1
  414. package/models/components/invoicetransferpayment.d.ts +0 -20
  415. package/models/components/invoicetransferpayment.d.ts.map +0 -1
  416. package/models/components/invoicetransferpayment.js +0 -58
  417. package/models/components/invoicetransferpayment.js.map +0 -1
  418. package/models/components/itemlistnextpage.d.ts +0 -20
  419. package/models/components/itemlistnextpage.d.ts.map +0 -1
  420. package/models/components/itemlistnextpage.js +0 -58
  421. package/models/components/itemlistnextpage.js.map +0 -1
  422. package/models/components/moneytransfer.d.ts +0 -21
  423. package/models/components/moneytransfer.d.ts.map +0 -1
  424. package/models/components/moneytransfer.js +0 -62
  425. package/models/components/moneytransfer.js.map +0 -1
  426. package/models/components/moneytransfererror.d.ts +0 -21
  427. package/models/components/moneytransfererror.d.ts.map +0 -1
  428. package/models/components/moneytransfererror.js +0 -62
  429. package/models/components/moneytransfererror.js.map +0 -1
  430. package/models/components/moneytransferpullfromcard.d.ts +0 -18
  431. package/models/components/moneytransferpullfromcard.d.ts.map +0 -1
  432. package/models/components/moneytransferpullfromcard.js +0 -59
  433. package/models/components/moneytransferpullfromcard.js.map +0 -1
  434. package/models/components/moneytransferpullfromcarderror.d.ts +0 -18
  435. package/models/components/moneytransferpullfromcarderror.d.ts.map +0 -1
  436. package/models/components/moneytransferpullfromcarderror.js +0 -59
  437. package/models/components/moneytransferpullfromcarderror.js.map +0 -1
  438. package/models/components/moneytransferpushtocard.d.ts +0 -18
  439. package/models/components/moneytransferpushtocard.d.ts.map +0 -1
  440. package/models/components/moneytransferpushtocard.js +0 -59
  441. package/models/components/moneytransferpushtocard.js.map +0 -1
  442. package/models/components/moneytransferpushtocarderror.d.ts +0 -18
  443. package/models/components/moneytransferpushtocarderror.d.ts.map +0 -1
  444. package/models/components/moneytransferpushtocarderror.js +0 -59
  445. package/models/components/moneytransferpushtocarderror.js.map +0 -1
  446. package/models/components/monthlyvolumerange.d.ts +0 -24
  447. package/models/components/monthlyvolumerange.d.ts.map +0 -1
  448. package/models/components/monthlyvolumerange.js +0 -58
  449. package/models/components/monthlyvolumerange.js.map +0 -1
  450. package/models/components/pendinglitigation.d.ts +0 -20
  451. package/models/components/pendinglitigation.d.ts.map +0 -1
  452. package/models/components/pendinglitigation.js +0 -57
  453. package/models/components/pendinglitigation.js.map +0 -1
  454. package/models/components/refundpolicy.d.ts +0 -19
  455. package/models/components/refundpolicy.d.ts.map +0 -1
  456. package/models/components/refundpolicy.js +0 -56
  457. package/models/components/refundpolicy.js.map +0 -1
  458. package/models/components/sendfunds.d.ts +0 -27
  459. package/models/components/sendfunds.d.ts.map +0 -1
  460. package/models/components/sendfunds.js +0 -68
  461. package/models/components/sendfunds.js.map +0 -1
  462. package/models/components/sendfundsach.d.ts +0 -18
  463. package/models/components/sendfundsach.d.ts.map +0 -1
  464. package/models/components/sendfundsach.js +0 -59
  465. package/models/components/sendfundsach.js.map +0 -1
  466. package/models/components/sendfundsacherror.d.ts +0 -18
  467. package/models/components/sendfundsacherror.d.ts.map +0 -1
  468. package/models/components/sendfundsacherror.js +0 -59
  469. package/models/components/sendfundsacherror.js.map +0 -1
  470. package/models/components/sendfundserror.d.ts +0 -27
  471. package/models/components/sendfundserror.d.ts.map +0 -1
  472. package/models/components/sendfundserror.js +0 -68
  473. package/models/components/sendfundserror.js.map +0 -1
  474. package/models/components/sendfundsinstantbank.d.ts +0 -18
  475. package/models/components/sendfundsinstantbank.d.ts.map +0 -1
  476. package/models/components/sendfundsinstantbank.js +0 -59
  477. package/models/components/sendfundsinstantbank.js.map +0 -1
  478. package/models/components/sendfundsinstantbankerror.d.ts +0 -18
  479. package/models/components/sendfundsinstantbankerror.d.ts.map +0 -1
  480. package/models/components/sendfundsinstantbankerror.js +0 -59
  481. package/models/components/sendfundsinstantbankerror.js.map +0 -1
  482. package/models/components/sendfundspushtocard.d.ts +0 -18
  483. package/models/components/sendfundspushtocard.d.ts.map +0 -1
  484. package/models/components/sendfundspushtocard.js +0 -59
  485. package/models/components/sendfundspushtocard.js.map +0 -1
  486. package/models/components/sendfundspushtocarderror.d.ts +0 -18
  487. package/models/components/sendfundspushtocarderror.d.ts.map +0 -1
  488. package/models/components/sendfundspushtocarderror.js +0 -59
  489. package/models/components/sendfundspushtocarderror.js.map +0 -1
  490. package/models/components/sendfundsrtp.d.ts +0 -18
  491. package/models/components/sendfundsrtp.d.ts.map +0 -1
  492. package/models/components/sendfundsrtp.js +0 -59
  493. package/models/components/sendfundsrtp.js.map +0 -1
  494. package/models/components/sendfundsrtperror.d.ts +0 -18
  495. package/models/components/sendfundsrtperror.d.ts.map +0 -1
  496. package/models/components/sendfundsrtperror.js +0 -59
  497. package/models/components/sendfundsrtperror.js.map +0 -1
  498. package/models/components/submissionintent.d.ts +0 -12
  499. package/models/components/submissionintent.d.ts.map +0 -1
  500. package/models/components/submissionintent.js +0 -49
  501. package/models/components/submissionintent.js.map +0 -1
  502. package/models/components/terminalcard.d.ts +0 -83
  503. package/models/components/terminalcard.d.ts.map +0 -1
  504. package/models/components/terminalcard.js +0 -84
  505. package/models/components/terminalcard.js.map +0 -1
  506. package/models/components/ticket.d.ts +0 -37
  507. package/models/components/ticket.d.ts.map +0 -1
  508. package/models/components/ticket.js +0 -80
  509. package/models/components/ticket.js.map +0 -1
  510. package/models/components/ticketcontact.d.ts +0 -19
  511. package/models/components/ticketcontact.d.ts.map +0 -1
  512. package/models/components/ticketcontact.js +0 -60
  513. package/models/components/ticketcontact.js.map +0 -1
  514. package/models/components/ticketmessage.d.ts +0 -21
  515. package/models/components/ticketmessage.d.ts.map +0 -1
  516. package/models/components/ticketmessage.js +0 -62
  517. package/models/components/ticketmessage.js.map +0 -1
  518. package/models/components/updateinvoice.d.ts +0 -40
  519. package/models/components/updateinvoice.d.ts.map +0 -1
  520. package/models/components/updateinvoice.js +0 -71
  521. package/models/components/updateinvoice.js.map +0 -1
  522. package/models/components/updateticket.d.ts +0 -21
  523. package/models/components/updateticket.d.ts.map +0 -1
  524. package/models/components/updateticket.js +0 -59
  525. package/models/components/updateticket.js.map +0 -1
  526. package/models/components/updateticketstatus.d.ts +0 -11
  527. package/models/components/updateticketstatus.d.ts.map +0 -1
  528. package/models/components/updateticketstatus.js +0 -48
  529. package/models/components/updateticketstatus.js.map +0 -1
  530. package/models/components/upsertunderwriting.d.ts +0 -39
  531. package/models/components/upsertunderwriting.d.ts.map +0 -1
  532. package/models/components/upsertunderwriting.js +0 -81
  533. package/models/components/upsertunderwriting.js.map +0 -1
  534. package/models/components/volumesharebycustomertype.d.ts +0 -21
  535. package/models/components/volumesharebycustomertype.d.ts.map +0 -1
  536. package/models/components/volumesharebycustomertype.js +0 -62
  537. package/models/components/volumesharebycustomertype.js.map +0 -1
  538. package/models/components/volumesharebycustomertypeerror.d.ts +0 -21
  539. package/models/components/volumesharebycustomertypeerror.d.ts.map +0 -1
  540. package/models/components/volumesharebycustomertypeerror.js +0 -62
  541. package/models/components/volumesharebycustomertypeerror.js.map +0 -1
  542. package/models/errors/createinvoiceerror.d.ts +0 -40
  543. package/models/errors/createinvoiceerror.d.ts.map +0 -1
  544. package/models/errors/createinvoiceerror.js +0 -100
  545. package/models/errors/createinvoiceerror.js.map +0 -1
  546. package/models/errors/createinvoicepaymenterror.d.ts +0 -34
  547. package/models/errors/createinvoicepaymenterror.d.ts.map +0 -1
  548. package/models/errors/createinvoicepaymenterror.js +0 -88
  549. package/models/errors/createinvoicepaymenterror.js.map +0 -1
  550. package/models/errors/createticketerror.d.ts +0 -36
  551. package/models/errors/createticketerror.d.ts.map +0 -1
  552. package/models/errors/createticketerror.js +0 -90
  553. package/models/errors/createticketerror.js.map +0 -1
  554. package/models/errors/listinvoicesvalidationerror.d.ts +0 -45
  555. package/models/errors/listinvoicesvalidationerror.d.ts.map +0 -1
  556. package/models/errors/listinvoicesvalidationerror.js +0 -107
  557. package/models/errors/listinvoicesvalidationerror.js.map +0 -1
  558. package/models/errors/updateinvoiceerror.d.ts +0 -40
  559. package/models/errors/updateinvoiceerror.d.ts.map +0 -1
  560. package/models/errors/updateinvoiceerror.js +0 -99
  561. package/models/errors/updateinvoiceerror.js.map +0 -1
  562. package/models/errors/updateticketerror.d.ts +0 -24
  563. package/models/errors/updateticketerror.d.ts.map +0 -1
  564. package/models/errors/updateticketerror.js +0 -75
  565. package/models/errors/updateticketerror.js.map +0 -1
  566. package/models/errors/upsertunderwritingerror.d.ts +0 -64
  567. package/models/errors/upsertunderwritingerror.d.ts.map +0 -1
  568. package/models/errors/upsertunderwritingerror.js +0 -143
  569. package/models/errors/upsertunderwritingerror.js.map +0 -1
  570. package/models/operations/createinvoice.d.ts +0 -66
  571. package/models/operations/createinvoice.d.ts.map +0 -1
  572. package/models/operations/createinvoice.js +0 -122
  573. package/models/operations/createinvoice.js.map +0 -1
  574. package/models/operations/createinvoicepayment.d.ts +0 -68
  575. package/models/operations/createinvoicepayment.d.ts.map +0 -1
  576. package/models/operations/createinvoicepayment.js +0 -124
  577. package/models/operations/createinvoicepayment.js.map +0 -1
  578. package/models/operations/createticket.d.ts +0 -66
  579. package/models/operations/createticket.d.ts.map +0 -1
  580. package/models/operations/createticket.js +0 -122
  581. package/models/operations/createticket.js.map +0 -1
  582. package/models/operations/getinvoice.d.ts +0 -66
  583. package/models/operations/getinvoice.d.ts.map +0 -1
  584. package/models/operations/getinvoice.js +0 -114
  585. package/models/operations/getinvoice.js.map +0 -1
  586. package/models/operations/getticket.d.ts +0 -66
  587. package/models/operations/getticket.d.ts.map +0 -1
  588. package/models/operations/getticket.js +0 -114
  589. package/models/operations/getticket.js.map +0 -1
  590. package/models/operations/listinvoicepayments.d.ts +0 -66
  591. package/models/operations/listinvoicepayments.d.ts.map +0 -1
  592. package/models/operations/listinvoicepayments.js +0 -114
  593. package/models/operations/listinvoicepayments.js.map +0 -1
  594. package/models/operations/listinvoices.d.ts +0 -80
  595. package/models/operations/listinvoices.d.ts.map +0 -1
  596. package/models/operations/listinvoices.js +0 -128
  597. package/models/operations/listinvoices.js.map +0 -1
  598. package/models/operations/listticketmessages.d.ts +0 -66
  599. package/models/operations/listticketmessages.d.ts.map +0 -1
  600. package/models/operations/listticketmessages.js +0 -114
  601. package/models/operations/listticketmessages.js.map +0 -1
  602. package/models/operations/listtickets.d.ts +0 -90
  603. package/models/operations/listtickets.d.ts.map +0 -1
  604. package/models/operations/listtickets.js +0 -138
  605. package/models/operations/listtickets.js.map +0 -1
  606. package/models/operations/saveunderwriting.d.ts +0 -66
  607. package/models/operations/saveunderwriting.d.ts.map +0 -1
  608. package/models/operations/saveunderwriting.js +0 -122
  609. package/models/operations/saveunderwriting.js.map +0 -1
  610. package/models/operations/updateinvoice.d.ts +0 -68
  611. package/models/operations/updateinvoice.d.ts.map +0 -1
  612. package/models/operations/updateinvoice.js +0 -124
  613. package/models/operations/updateinvoice.js.map +0 -1
  614. package/models/operations/updateticket.d.ts +0 -68
  615. package/models/operations/updateticket.d.ts.map +0 -1
  616. package/models/operations/updateticket.js +0 -124
  617. package/models/operations/updateticket.js.map +0 -1
  618. package/sdk/invoices.d.ts +0 -48
  619. package/sdk/invoices.d.ts.map +0 -1
  620. package/sdk/invoices.js +0 -73
  621. package/sdk/invoices.js.map +0 -1
  622. package/sdk/support.d.ts +0 -55
  623. package/sdk/support.d.ts.map +0 -1
  624. package/sdk/support.js +0 -77
  625. package/sdk/support.js.map +0 -1
  626. package/src/funcs/invoicesCreateInvoice.ts +0 -201
  627. package/src/funcs/invoicesCreateInvoicePayment.ts +0 -213
  628. package/src/funcs/invoicesGetInvoice.ts +0 -185
  629. package/src/funcs/invoicesListInvoicePayments.ts +0 -186
  630. package/src/funcs/invoicesListInvoices.ts +0 -198
  631. package/src/funcs/invoicesUpdateInvoice.ts +0 -207
  632. package/src/funcs/supportCreateTicket.ts +0 -204
  633. package/src/funcs/supportGetTicket.ts +0 -188
  634. package/src/funcs/supportListTicketMessages.ts +0 -188
  635. package/src/funcs/supportListTickets.ts +0 -190
  636. package/src/funcs/supportUpdateTicket.ts +0 -210
  637. package/src/funcs/underwritingSave.ts +0 -207
  638. package/src/mcp-server/tools/invoicesCreateInvoice.ts +0 -38
  639. package/src/mcp-server/tools/invoicesCreateInvoicePayment.ts +0 -40
  640. package/src/mcp-server/tools/invoicesGetInvoice.ts +0 -38
  641. package/src/mcp-server/tools/invoicesListInvoicePayments.ts +0 -38
  642. package/src/mcp-server/tools/invoicesListInvoices.ts +0 -38
  643. package/src/mcp-server/tools/invoicesUpdateInvoice.ts +0 -38
  644. package/src/mcp-server/tools/supportCreateTicket.ts +0 -41
  645. package/src/mcp-server/tools/supportGetTicket.ts +0 -41
  646. package/src/mcp-server/tools/supportListTicketMessages.ts +0 -41
  647. package/src/mcp-server/tools/supportListTickets.ts +0 -41
  648. package/src/mcp-server/tools/supportUpdateTicket.ts +0 -41
  649. package/src/mcp-server/tools/underwritingSave.ts +0 -40
  650. package/src/models/components/amountdecimalupdate.ts +0 -65
  651. package/src/models/components/businesspresence.ts +0 -25
  652. package/src/models/components/cardacceptancemethods.ts +0 -71
  653. package/src/models/components/cardacceptancemethodserror.ts +0 -59
  654. package/src/models/components/cardpresentpaymentpaymentmethod.ts +0 -76
  655. package/src/models/components/collectfunds.ts +0 -63
  656. package/src/models/components/collectfundsach.ts +0 -55
  657. package/src/models/components/collectfundsacherror.ts +0 -57
  658. package/src/models/components/collectfundscardpayments.ts +0 -93
  659. package/src/models/components/collectfundscardpaymentserror.ts +0 -87
  660. package/src/models/components/collectfundserror.ts +0 -67
  661. package/src/models/components/createaccounttype.ts +0 -21
  662. package/src/models/components/createinvoice.ts +0 -87
  663. package/src/models/components/createinvoicelineitem.ts +0 -104
  664. package/src/models/components/createinvoicelineitemoption.ts +0 -93
  665. package/src/models/components/createinvoicelineitemoptionvalidationerror.ts +0 -77
  666. package/src/models/components/createinvoicelineitems.ts +0 -63
  667. package/src/models/components/createinvoicelineitemsupdate.ts +0 -65
  668. package/src/models/components/createinvoicelineitemsvalidationerror.ts +0 -64
  669. package/src/models/components/createinvoicelineitemvalidationerror.ts +0 -88
  670. package/src/models/components/createinvoicepayment.ts +0 -70
  671. package/src/models/components/createticket.ts +0 -72
  672. package/src/models/components/createticketcontacterror.ts +0 -55
  673. package/src/models/components/entrymode.ts +0 -24
  674. package/src/models/components/estimatedactivity.ts +0 -67
  675. package/src/models/components/estimatedactivityerror.ts +0 -59
  676. package/src/models/components/fulfillment.ts +0 -61
  677. package/src/models/components/fulfillmenterror.ts +0 -55
  678. package/src/models/components/fulfillmentmethod.ts +0 -28
  679. package/src/models/components/fulfillmenttimeframe.ts +0 -27
  680. package/src/models/components/geographicreach.ts +0 -22
  681. package/src/models/components/guestprofile.ts +0 -70
  682. package/src/models/components/industrytaxonomy.ts +0 -85
  683. package/src/models/components/instantbankcreditpaymentmethod.ts +0 -76
  684. package/src/models/components/invoice.ts +0 -190
  685. package/src/models/components/invoiceexternalpayment.ts +0 -60
  686. package/src/models/components/invoicelineitem.ts +0 -108
  687. package/src/models/components/invoicelineitemimagemetadata.ts +0 -77
  688. package/src/models/components/invoicelineitemoption.ts +0 -97
  689. package/src/models/components/invoicelineitemoptionvalidationerror.ts +0 -72
  690. package/src/models/components/invoicelineitems.ts +0 -63
  691. package/src/models/components/invoicelineitemsvalidationerror.ts +0 -59
  692. package/src/models/components/invoicelineitemvalidationerror.ts +0 -85
  693. package/src/models/components/invoicepayment.ts +0 -92
  694. package/src/models/components/invoicepaymenttype.ts +0 -21
  695. package/src/models/components/invoicetransferpayment.ts +0 -54
  696. package/src/models/components/itemlistnextpage.ts +0 -54
  697. package/src/models/components/moneytransfer.ts +0 -63
  698. package/src/models/components/moneytransfererror.ts +0 -67
  699. package/src/models/components/moneytransferpullfromcard.ts +0 -57
  700. package/src/models/components/moneytransferpullfromcarderror.ts +0 -59
  701. package/src/models/components/moneytransferpushtocard.ts +0 -57
  702. package/src/models/components/moneytransferpushtocarderror.ts +0 -59
  703. package/src/models/components/monthlyvolumerange.ts +0 -33
  704. package/src/models/components/pendinglitigation.ts +0 -30
  705. package/src/models/components/refundpolicy.ts +0 -26
  706. package/src/models/components/sendfunds.ts +0 -83
  707. package/src/models/components/sendfundsach.ts +0 -53
  708. package/src/models/components/sendfundsacherror.ts +0 -57
  709. package/src/models/components/sendfundserror.ts +0 -83
  710. package/src/models/components/sendfundsinstantbank.ts +0 -57
  711. package/src/models/components/sendfundsinstantbankerror.ts +0 -57
  712. package/src/models/components/sendfundspushtocard.ts +0 -57
  713. package/src/models/components/sendfundspushtocarderror.ts +0 -57
  714. package/src/models/components/sendfundsrtp.ts +0 -53
  715. package/src/models/components/sendfundsrtperror.ts +0 -57
  716. package/src/models/components/submissionintent.ts +0 -21
  717. package/src/models/components/terminalcard.ts +0 -152
  718. package/src/models/components/ticket.ts +0 -98
  719. package/src/models/components/ticketcontact.ts +0 -51
  720. package/src/models/components/ticketmessage.ts +0 -55
  721. package/src/models/components/updateinvoice.ts +0 -98
  722. package/src/models/components/updateticket.ts +0 -55
  723. package/src/models/components/updateticketstatus.ts +0 -20
  724. package/src/models/components/upsertunderwriting.ts +0 -124
  725. package/src/models/components/volumesharebycustomertype.ts +0 -59
  726. package/src/models/components/volumesharebycustomertypeerror.ts +0 -61
  727. package/src/models/errors/createinvoiceerror.ts +0 -104
  728. package/src/models/errors/createinvoicepaymenterror.ts +0 -85
  729. package/src/models/errors/createticketerror.ts +0 -89
  730. package/src/models/errors/listinvoicesvalidationerror.ts +0 -116
  731. package/src/models/errors/updateinvoiceerror.ts +0 -100
  732. package/src/models/errors/updateticketerror.ts +0 -66
  733. package/src/models/errors/upsertunderwritingerror.ts +0 -178
  734. package/src/models/operations/createinvoice.ts +0 -187
  735. package/src/models/operations/createinvoicepayment.ts +0 -197
  736. package/src/models/operations/createticket.ts +0 -187
  737. package/src/models/operations/getinvoice.ts +0 -179
  738. package/src/models/operations/getticket.ts +0 -179
  739. package/src/models/operations/listinvoicepayments.ts +0 -181
  740. package/src/models/operations/listinvoices.ts +0 -215
  741. package/src/models/operations/listticketmessages.ts +0 -179
  742. package/src/models/operations/listtickets.ts +0 -241
  743. package/src/models/operations/saveunderwriting.ts +0 -187
  744. package/src/models/operations/updateinvoice.ts +0 -191
  745. package/src/models/operations/updateticket.ts +0 -191
  746. package/src/sdk/invoices.ts +0 -118
  747. package/src/sdk/support.ts +0 -114
@@ -1,124 +0,0 @@
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.UpdateTicketResponse$outboundSchema = exports.UpdateTicketResponse$inboundSchema = exports.UpdateTicketRequest$outboundSchema = exports.UpdateTicketRequest$inboundSchema = exports.UpdateTicketGlobals$outboundSchema = exports.UpdateTicketGlobals$inboundSchema = void 0;
40
- exports.updateTicketGlobalsToJSON = updateTicketGlobalsToJSON;
41
- exports.updateTicketGlobalsFromJSON = updateTicketGlobalsFromJSON;
42
- exports.updateTicketRequestToJSON = updateTicketRequestToJSON;
43
- exports.updateTicketRequestFromJSON = updateTicketRequestFromJSON;
44
- exports.updateTicketResponseToJSON = updateTicketResponseToJSON;
45
- exports.updateTicketResponseFromJSON = updateTicketResponseFromJSON;
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.UpdateTicketGlobals$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.UpdateTicketGlobals$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 updateTicketGlobalsToJSON(updateTicketGlobals) {
67
- return JSON.stringify(exports.UpdateTicketGlobals$outboundSchema.parse(updateTicketGlobals));
68
- }
69
- function updateTicketGlobalsFromJSON(jsonString) {
70
- return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.UpdateTicketGlobals$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UpdateTicketGlobals' from JSON`);
71
- }
72
- /** @internal */
73
- exports.UpdateTicketRequest$inboundSchema = z.object({
74
- accountID: z.string(),
75
- ticketID: z.string(),
76
- UpdateTicket: components.UpdateTicket$inboundSchema,
77
- }).transform((v) => {
78
- return (0, primitives_js_1.remap)(v, {
79
- "UpdateTicket": "updateTicket",
80
- });
81
- });
82
- /** @internal */
83
- exports.UpdateTicketRequest$outboundSchema = z.object({
84
- accountID: z.string(),
85
- ticketID: z.string(),
86
- updateTicket: components.UpdateTicket$outboundSchema,
87
- }).transform((v) => {
88
- return (0, primitives_js_1.remap)(v, {
89
- updateTicket: "UpdateTicket",
90
- });
91
- });
92
- function updateTicketRequestToJSON(updateTicketRequest) {
93
- return JSON.stringify(exports.UpdateTicketRequest$outboundSchema.parse(updateTicketRequest));
94
- }
95
- function updateTicketRequestFromJSON(jsonString) {
96
- return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.UpdateTicketRequest$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UpdateTicketRequest' from JSON`);
97
- }
98
- /** @internal */
99
- exports.UpdateTicketResponse$inboundSchema = z.object({
100
- Headers: z.record(z.array(z.string())).default({}),
101
- Result: components.Ticket$inboundSchema,
102
- }).transform((v) => {
103
- return (0, primitives_js_1.remap)(v, {
104
- "Headers": "headers",
105
- "Result": "result",
106
- });
107
- });
108
- /** @internal */
109
- exports.UpdateTicketResponse$outboundSchema = z.object({
110
- headers: z.record(z.array(z.string())),
111
- result: components.Ticket$outboundSchema,
112
- }).transform((v) => {
113
- return (0, primitives_js_1.remap)(v, {
114
- headers: "Headers",
115
- result: "Result",
116
- });
117
- });
118
- function updateTicketResponseToJSON(updateTicketResponse) {
119
- return JSON.stringify(exports.UpdateTicketResponse$outboundSchema.parse(updateTicketResponse));
120
- }
121
- function updateTicketResponseFromJSON(jsonString) {
122
- return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.UpdateTicketResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UpdateTicketResponse' from JSON`);
123
- }
124
- //# sourceMappingURL=updateticket.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"updateticket.js","sourceRoot":"","sources":["../../src/models/operations/updateticket.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoEH,8DAMC;AACD,kEAQC;AAsCD,8DAMC;AACD,kEAQC;AAqCD,gEAMC;AACD,oEAQC;AA1LD,0CAA4B;AAC5B,2DAA0D;AAC1D,qDAAiD;AAEjD,mEAAqD;AAgCrD,gBAAgB;AACH,QAAA,iCAAiC,GAI1C,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,kCAAkC,GAI3C,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,yBAAyB,CACvC,mBAAwC;IAExC,OAAO,IAAI,CAAC,SAAS,CACnB,0CAAkC,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAC9D,CAAC;AACJ,CAAC;AACD,SAAgB,2BAA2B,CACzC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,yCAAiC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC7D,iDAAiD,CAClD,CAAC;AACJ,CAAC;AAED,gBAAgB;AACH,QAAA,iCAAiC,GAI1C,CAAC,CAAC,MAAM,CAAC;IACX,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;IACrB,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,YAAY,EAAE,UAAU,CAAC,0BAA0B;CACpD,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,cAAc,EAAE,cAAc;KAC/B,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAQH,gBAAgB;AACH,QAAA,kCAAkC,GAI3C,CAAC,CAAC,MAAM,CAAC;IACX,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;IACrB,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,YAAY,EAAE,UAAU,CAAC,2BAA2B;CACrD,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,YAAY,EAAE,cAAc;KAC7B,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,SAAgB,yBAAyB,CACvC,mBAAwC;IAExC,OAAO,IAAI,CAAC,SAAS,CACnB,0CAAkC,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAC9D,CAAC;AACJ,CAAC;AACD,SAAgB,2BAA2B,CACzC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,yCAAiC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC7D,iDAAiD,CAClD,CAAC;AACJ,CAAC;AAED,gBAAgB;AACH,QAAA,kCAAkC,GAI3C,CAAC,CAAC,MAAM,CAAC;IACX,OAAO,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC,EAAE,CAAC;IAClD,MAAM,EAAE,UAAU,CAAC,oBAAoB;CACxC,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,UAAU,CAAC,qBAAqB;CACzC,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"}
package/sdk/invoices.d.ts DELETED
@@ -1,48 +0,0 @@
1
- import { ClientSDK, RequestOptions } from "../lib/sdks.js";
2
- import * as operations from "../models/operations/index.js";
3
- export declare class Invoices extends ClientSDK {
4
- /**
5
- * Create an invoice for a Moov account.
6
- *
7
- * To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
8
- * you'll need to specify the `/accounts/{accountID}/invoices.write` scope.
9
- */
10
- createInvoice(request: operations.CreateInvoiceRequest, options?: RequestOptions): Promise<operations.CreateInvoiceResponse>;
11
- /**
12
- * List all the invoices created under a Moov account.
13
- *
14
- * To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
15
- * you'll need to specify the `/accounts/{accountID}/invoices.read` scope.
16
- */
17
- listInvoices(request: operations.ListInvoicesRequest, options?: RequestOptions): Promise<operations.ListInvoicesResponse>;
18
- /**
19
- * Retrieve an invoice by ID.
20
- *
21
- * To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
22
- * you'll need to specify the `/accounts/{accountID}/invoices.read` scope.
23
- */
24
- getInvoice(request: operations.GetInvoiceRequest, options?: RequestOptions): Promise<operations.GetInvoiceResponse>;
25
- /**
26
- * Updates an invoice.
27
- *
28
- * To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
29
- * you'll need to specify the `/accounts/{accountID}/invoices.write` scope.
30
- */
31
- updateInvoice(request: operations.UpdateInvoiceRequest, options?: RequestOptions): Promise<operations.UpdateInvoiceResponse>;
32
- /**
33
- * Creates a payment resource to represent that an invoice was paid outside of the Moov platform.
34
- * If a payment link was created for the invoice, the corresponding payment link is canceled, but a receipt is still sent.
35
- *
36
- * To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
37
- * you'll need to specify the `/accounts/{accountID}/invoices.write` scope.
38
- */
39
- createInvoicePayment(request: operations.CreateInvoicePaymentRequest, options?: RequestOptions): Promise<operations.CreateInvoicePaymentResponse>;
40
- /**
41
- * List all the payments made towards an invoice.
42
- *
43
- * To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
44
- * you'll need to specify the `/accounts/{accountID}/invoices.read` scope.
45
- */
46
- listInvoicePayments(request: operations.ListInvoicePaymentsRequest, options?: RequestOptions): Promise<operations.ListInvoicePaymentsResponse>;
47
- }
48
- //# sourceMappingURL=invoices.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"invoices.d.ts","sourceRoot":"","sources":["../src/sdk/invoices.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAG5D,qBAAa,QAAS,SAAQ,SAAS;IACrC;;;;;OAKG;IACG,aAAa,CACjB,OAAO,EAAE,UAAU,CAAC,oBAAoB,EACxC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,qBAAqB,CAAC;IAQ5C;;;;;OAKG;IACG,YAAY,CAChB,OAAO,EAAE,UAAU,CAAC,mBAAmB,EACvC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,oBAAoB,CAAC;IAQ3C;;;;;OAKG;IACG,UAAU,CACd,OAAO,EAAE,UAAU,CAAC,iBAAiB,EACrC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,kBAAkB,CAAC;IAQzC;;;;;OAKG;IACG,aAAa,CACjB,OAAO,EAAE,UAAU,CAAC,oBAAoB,EACxC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,qBAAqB,CAAC;IAQ5C;;;;;;OAMG;IACG,oBAAoB,CACxB,OAAO,EAAE,UAAU,CAAC,2BAA2B,EAC/C,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,4BAA4B,CAAC;IAQnD;;;;;OAKG;IACG,mBAAmB,CACvB,OAAO,EAAE,UAAU,CAAC,0BAA0B,EAC9C,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,2BAA2B,CAAC;CAOnD"}
package/sdk/invoices.js DELETED
@@ -1,73 +0,0 @@
1
- "use strict";
2
- /*
3
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.Invoices = void 0;
7
- const invoicesCreateInvoice_js_1 = require("../funcs/invoicesCreateInvoice.js");
8
- const invoicesCreateInvoicePayment_js_1 = require("../funcs/invoicesCreateInvoicePayment.js");
9
- const invoicesGetInvoice_js_1 = require("../funcs/invoicesGetInvoice.js");
10
- const invoicesListInvoicePayments_js_1 = require("../funcs/invoicesListInvoicePayments.js");
11
- const invoicesListInvoices_js_1 = require("../funcs/invoicesListInvoices.js");
12
- const invoicesUpdateInvoice_js_1 = require("../funcs/invoicesUpdateInvoice.js");
13
- const sdks_js_1 = require("../lib/sdks.js");
14
- const fp_js_1 = require("../types/fp.js");
15
- class Invoices extends sdks_js_1.ClientSDK {
16
- /**
17
- * Create an invoice for a Moov account.
18
- *
19
- * To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
20
- * you'll need to specify the `/accounts/{accountID}/invoices.write` scope.
21
- */
22
- async createInvoice(request, options) {
23
- return (0, fp_js_1.unwrapAsync)((0, invoicesCreateInvoice_js_1.invoicesCreateInvoice)(this, request, options));
24
- }
25
- /**
26
- * List all the invoices created under a Moov account.
27
- *
28
- * To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
29
- * you'll need to specify the `/accounts/{accountID}/invoices.read` scope.
30
- */
31
- async listInvoices(request, options) {
32
- return (0, fp_js_1.unwrapAsync)((0, invoicesListInvoices_js_1.invoicesListInvoices)(this, request, options));
33
- }
34
- /**
35
- * Retrieve an invoice by ID.
36
- *
37
- * To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
38
- * you'll need to specify the `/accounts/{accountID}/invoices.read` scope.
39
- */
40
- async getInvoice(request, options) {
41
- return (0, fp_js_1.unwrapAsync)((0, invoicesGetInvoice_js_1.invoicesGetInvoice)(this, request, options));
42
- }
43
- /**
44
- * Updates an invoice.
45
- *
46
- * To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
47
- * you'll need to specify the `/accounts/{accountID}/invoices.write` scope.
48
- */
49
- async updateInvoice(request, options) {
50
- return (0, fp_js_1.unwrapAsync)((0, invoicesUpdateInvoice_js_1.invoicesUpdateInvoice)(this, request, options));
51
- }
52
- /**
53
- * Creates a payment resource to represent that an invoice was paid outside of the Moov platform.
54
- * If a payment link was created for the invoice, the corresponding payment link is canceled, but a receipt is still sent.
55
- *
56
- * To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
57
- * you'll need to specify the `/accounts/{accountID}/invoices.write` scope.
58
- */
59
- async createInvoicePayment(request, options) {
60
- return (0, fp_js_1.unwrapAsync)((0, invoicesCreateInvoicePayment_js_1.invoicesCreateInvoicePayment)(this, request, options));
61
- }
62
- /**
63
- * List all the payments made towards an invoice.
64
- *
65
- * To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
66
- * you'll need to specify the `/accounts/{accountID}/invoices.read` scope.
67
- */
68
- async listInvoicePayments(request, options) {
69
- return (0, fp_js_1.unwrapAsync)((0, invoicesListInvoicePayments_js_1.invoicesListInvoicePayments)(this, request, options));
70
- }
71
- }
72
- exports.Invoices = Invoices;
73
- //# sourceMappingURL=invoices.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"invoices.js","sourceRoot":"","sources":["../src/sdk/invoices.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,gFAA0E;AAC1E,8FAAwF;AACxF,0EAAoE;AACpE,4FAAsF;AACtF,8EAAwE;AACxE,gFAA0E;AAC1E,4CAA2D;AAE3D,0CAA6C;AAE7C,MAAa,QAAS,SAAQ,mBAAS;IACrC;;;;;OAKG;IACH,KAAK,CAAC,aAAa,CACjB,OAAwC,EACxC,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,gDAAqB,EACtC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,YAAY,CAChB,OAAuC,EACvC,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,8CAAoB,EACrC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,UAAU,CACd,OAAqC,EACrC,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,0CAAkB,EACnC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,aAAa,CACjB,OAAwC,EACxC,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,gDAAqB,EACtC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;;OAMG;IACH,KAAK,CAAC,oBAAoB,CACxB,OAA+C,EAC/C,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,8DAA4B,EAC7C,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,mBAAmB,CACvB,OAA8C,EAC9C,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,4DAA2B,EAC5C,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;CACF;AAvGD,4BAuGC"}
package/sdk/support.d.ts DELETED
@@ -1,55 +0,0 @@
1
- import { ClientSDK, RequestOptions } from "../lib/sdks.js";
2
- import * as operations from "../models/operations/index.js";
3
- export declare class Support extends ClientSDK {
4
- /**
5
- * Create a support ticket for a Moov account.
6
- *
7
- * To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
8
- * you'll need to specify the `/accounts/{accountID}/tickets.write` scope.
9
- *
10
- * If you're creating the ticket on behalf of another account, then you'll need to
11
- * specify the `/accounts/{partnerAccountID}/tickets.write` and `/accounts/{accountID}/profile.read` scopes.
12
- */
13
- createTicket(request: operations.CreateTicketRequest, options?: RequestOptions): Promise<operations.CreateTicketResponse>;
14
- /**
15
- * List all the support tickets created under a Moov account.
16
- *
17
- * To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
18
- * you'll need to specify the `/accounts/{accountID}/tickets.read` scope.
19
- *
20
- * If you're listing another account's tickets, then you'll need to
21
- * specify the `/accounts/{partnerAccountID}/tickets.read` and `/accounts/{accountID}/profile.read` scopes.
22
- */
23
- listTickets(request: operations.ListTicketsRequest, options?: RequestOptions): Promise<operations.ListTicketsResponse>;
24
- /**
25
- * Retrieve a support ticket by ID.
26
- *
27
- * To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
28
- * you'll need to specify the `/accounts/{accountID}/tickets.read` scope.
29
- *
30
- * If you're retrieving another account's ticket, then you'll need to
31
- * specify the `/accounts/{partnerAccountID}/tickets.read` and `/accounts/{accountID}/profile.read` scopes.
32
- */
33
- getTicket(request: operations.GetTicketRequest, options?: RequestOptions): Promise<operations.GetTicketResponse>;
34
- /**
35
- * Updates a support ticket.
36
- *
37
- * To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
38
- * you'll need to specify the `/accounts/{accountID}/tickets.write` scope.
39
- *
40
- * If you're updating the ticket on behalf of another account, then you'll need to
41
- * specify the `/accounts/{partnerAccountID}/tickets.write` and `/accounts/{accountID}/profile.read` scopes.
42
- */
43
- updateTicket(request: operations.UpdateTicketRequest, options?: RequestOptions): Promise<operations.UpdateTicketResponse>;
44
- /**
45
- * List all the messages for a support ticket.
46
- *
47
- * To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
48
- * you'll need to specify the `/accounts/{accountID}/tickets.read` scope.
49
- *
50
- * If you're listing another account's messages, then you'll need to
51
- * specify the `/accounts/{partnerAccountID}/tickets.read` and `/accounts/{accountID}/profile.read` scopes.
52
- */
53
- listTicketMessages(request: operations.ListTicketMessagesRequest, options?: RequestOptions): Promise<operations.ListTicketMessagesResponse>;
54
- }
55
- //# sourceMappingURL=support.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"support.d.ts","sourceRoot":"","sources":["../src/sdk/support.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAG5D,qBAAa,OAAQ,SAAQ,SAAS;IACpC;;;;;;;;OAQG;IACG,YAAY,CAChB,OAAO,EAAE,UAAU,CAAC,mBAAmB,EACvC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,oBAAoB,CAAC;IAQ3C;;;;;;;;OAQG;IACG,WAAW,CACf,OAAO,EAAE,UAAU,CAAC,kBAAkB,EACtC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,mBAAmB,CAAC;IAQ1C;;;;;;;;OAQG;IACG,SAAS,CACb,OAAO,EAAE,UAAU,CAAC,gBAAgB,EACpC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,iBAAiB,CAAC;IAQxC;;;;;;;;OAQG;IACG,YAAY,CAChB,OAAO,EAAE,UAAU,CAAC,mBAAmB,EACvC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,oBAAoB,CAAC;IAQ3C;;;;;;;;OAQG;IACG,kBAAkB,CACtB,OAAO,EAAE,UAAU,CAAC,yBAAyB,EAC7C,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,0BAA0B,CAAC;CAOlD"}
package/sdk/support.js DELETED
@@ -1,77 +0,0 @@
1
- "use strict";
2
- /*
3
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.Support = void 0;
7
- const supportCreateTicket_js_1 = require("../funcs/supportCreateTicket.js");
8
- const supportGetTicket_js_1 = require("../funcs/supportGetTicket.js");
9
- const supportListTicketMessages_js_1 = require("../funcs/supportListTicketMessages.js");
10
- const supportListTickets_js_1 = require("../funcs/supportListTickets.js");
11
- const supportUpdateTicket_js_1 = require("../funcs/supportUpdateTicket.js");
12
- const sdks_js_1 = require("../lib/sdks.js");
13
- const fp_js_1 = require("../types/fp.js");
14
- class Support extends sdks_js_1.ClientSDK {
15
- /**
16
- * Create a support ticket for a Moov account.
17
- *
18
- * To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
19
- * you'll need to specify the `/accounts/{accountID}/tickets.write` scope.
20
- *
21
- * If you're creating the ticket on behalf of another account, then you'll need to
22
- * specify the `/accounts/{partnerAccountID}/tickets.write` and `/accounts/{accountID}/profile.read` scopes.
23
- */
24
- async createTicket(request, options) {
25
- return (0, fp_js_1.unwrapAsync)((0, supportCreateTicket_js_1.supportCreateTicket)(this, request, options));
26
- }
27
- /**
28
- * List all the support tickets created under a Moov account.
29
- *
30
- * To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
31
- * you'll need to specify the `/accounts/{accountID}/tickets.read` scope.
32
- *
33
- * If you're listing another account's tickets, then you'll need to
34
- * specify the `/accounts/{partnerAccountID}/tickets.read` and `/accounts/{accountID}/profile.read` scopes.
35
- */
36
- async listTickets(request, options) {
37
- return (0, fp_js_1.unwrapAsync)((0, supportListTickets_js_1.supportListTickets)(this, request, options));
38
- }
39
- /**
40
- * Retrieve a support ticket by ID.
41
- *
42
- * To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
43
- * you'll need to specify the `/accounts/{accountID}/tickets.read` scope.
44
- *
45
- * If you're retrieving another account's ticket, then you'll need to
46
- * specify the `/accounts/{partnerAccountID}/tickets.read` and `/accounts/{accountID}/profile.read` scopes.
47
- */
48
- async getTicket(request, options) {
49
- return (0, fp_js_1.unwrapAsync)((0, supportGetTicket_js_1.supportGetTicket)(this, request, options));
50
- }
51
- /**
52
- * Updates a support ticket.
53
- *
54
- * To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
55
- * you'll need to specify the `/accounts/{accountID}/tickets.write` scope.
56
- *
57
- * If you're updating the ticket on behalf of another account, then you'll need to
58
- * specify the `/accounts/{partnerAccountID}/tickets.write` and `/accounts/{accountID}/profile.read` scopes.
59
- */
60
- async updateTicket(request, options) {
61
- return (0, fp_js_1.unwrapAsync)((0, supportUpdateTicket_js_1.supportUpdateTicket)(this, request, options));
62
- }
63
- /**
64
- * List all the messages for a support ticket.
65
- *
66
- * To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
67
- * you'll need to specify the `/accounts/{accountID}/tickets.read` scope.
68
- *
69
- * If you're listing another account's messages, then you'll need to
70
- * specify the `/accounts/{partnerAccountID}/tickets.read` and `/accounts/{accountID}/profile.read` scopes.
71
- */
72
- async listTicketMessages(request, options) {
73
- return (0, fp_js_1.unwrapAsync)((0, supportListTicketMessages_js_1.supportListTicketMessages)(this, request, options));
74
- }
75
- }
76
- exports.Support = Support;
77
- //# sourceMappingURL=support.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"support.js","sourceRoot":"","sources":["../src/sdk/support.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,4EAAsE;AACtE,sEAAgE;AAChE,wFAAkF;AAClF,0EAAoE;AACpE,4EAAsE;AACtE,4CAA2D;AAE3D,0CAA6C;AAE7C,MAAa,OAAQ,SAAQ,mBAAS;IACpC;;;;;;;;OAQG;IACH,KAAK,CAAC,YAAY,CAChB,OAAuC,EACvC,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,4CAAmB,EACpC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;OAQG;IACH,KAAK,CAAC,WAAW,CACf,OAAsC,EACtC,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,0CAAkB,EACnC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;OAQG;IACH,KAAK,CAAC,SAAS,CACb,OAAoC,EACpC,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,sCAAgB,EACjC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;OAQG;IACH,KAAK,CAAC,YAAY,CAChB,OAAuC,EACvC,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,4CAAmB,EACpC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;OAQG;IACH,KAAK,CAAC,kBAAkB,CACtB,OAA6C,EAC7C,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,wDAAyB,EAC1C,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;CACF;AApGD,0BAoGC"}
@@ -1,201 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
-
5
- import { MoovCore } from "../core.js";
6
- import { encodeJSON, encodeSimple } from "../lib/encodings.js";
7
- import * as M from "../lib/matchers.js";
8
- import { compactMap } from "../lib/primitives.js";
9
- import { safeParse } from "../lib/schemas.js";
10
- import { RequestOptions } from "../lib/sdks.js";
11
- import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
12
- import { pathToFunc } from "../lib/url.js";
13
- import {
14
- ConnectionError,
15
- InvalidRequestError,
16
- RequestAbortedError,
17
- RequestTimeoutError,
18
- UnexpectedClientError,
19
- } from "../models/errors/httpclienterrors.js";
20
- import * as errors from "../models/errors/index.js";
21
- import { MoovError } from "../models/errors/mooverror.js";
22
- import { ResponseValidationError } from "../models/errors/responsevalidationerror.js";
23
- import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
24
- import * as operations from "../models/operations/index.js";
25
- import { APICall, APIPromise } from "../types/async.js";
26
- import { Result } from "../types/fp.js";
27
-
28
- /**
29
- * Create an invoice for a Moov account.
30
- *
31
- * To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
32
- * you'll need to specify the `/accounts/{accountID}/invoices.write` scope.
33
- */
34
- export function invoicesCreateInvoice(
35
- client: MoovCore,
36
- request: operations.CreateInvoiceRequest,
37
- options?: RequestOptions,
38
- ): APIPromise<
39
- Result<
40
- operations.CreateInvoiceResponse,
41
- | errors.GenericError
42
- | errors.CreateInvoiceError
43
- | MoovError
44
- | ResponseValidationError
45
- | ConnectionError
46
- | RequestAbortedError
47
- | RequestTimeoutError
48
- | InvalidRequestError
49
- | UnexpectedClientError
50
- | SDKValidationError
51
- >
52
- > {
53
- return new APIPromise($do(
54
- client,
55
- request,
56
- options,
57
- ));
58
- }
59
-
60
- async function $do(
61
- client: MoovCore,
62
- request: operations.CreateInvoiceRequest,
63
- options?: RequestOptions,
64
- ): Promise<
65
- [
66
- Result<
67
- operations.CreateInvoiceResponse,
68
- | errors.GenericError
69
- | errors.CreateInvoiceError
70
- | MoovError
71
- | ResponseValidationError
72
- | ConnectionError
73
- | RequestAbortedError
74
- | RequestTimeoutError
75
- | InvalidRequestError
76
- | UnexpectedClientError
77
- | SDKValidationError
78
- >,
79
- APICall,
80
- ]
81
- > {
82
- const parsed = safeParse(
83
- request,
84
- (value) => operations.CreateInvoiceRequest$outboundSchema.parse(value),
85
- "Input validation failed",
86
- );
87
- if (!parsed.ok) {
88
- return [parsed, { status: "invalid" }];
89
- }
90
- const payload = parsed.value;
91
- const body = encodeJSON("body", payload.CreateInvoice, { explode: true });
92
-
93
- const pathParams = {
94
- accountID: encodeSimple("accountID", payload.accountID, {
95
- explode: false,
96
- charEncoding: "percent",
97
- }),
98
- };
99
-
100
- const path = pathToFunc("/accounts/{accountID}/invoices")(pathParams);
101
-
102
- const headers = new Headers(compactMap({
103
- "Content-Type": "application/json",
104
- Accept: "application/json",
105
- "X-Moov-Version": encodeSimple(
106
- "X-Moov-Version",
107
- client._options.xMoovVersion,
108
- { explode: false, charEncoding: "none" },
109
- ),
110
- }));
111
-
112
- const securityInput = await extractSecurity(client._options.security);
113
- const requestSecurity = resolveGlobalSecurity(securityInput);
114
-
115
- const context = {
116
- options: client._options,
117
- baseURL: options?.serverURL ?? client._baseURL ?? "",
118
- operationID: "createInvoice",
119
- oAuth2Scopes: null,
120
-
121
- resolvedSecurity: requestSecurity,
122
-
123
- securitySource: client._options.security,
124
- retryConfig: options?.retries
125
- || client._options.retryConfig
126
- || { strategy: "none" },
127
- retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
128
- };
129
-
130
- const requestRes = client._createRequest(context, {
131
- security: requestSecurity,
132
- method: "POST",
133
- baseURL: options?.serverURL,
134
- path: path,
135
- headers: headers,
136
- body: body,
137
- userAgent: client._options.userAgent,
138
- timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
139
- }, options);
140
- if (!requestRes.ok) {
141
- return [requestRes, { status: "invalid" }];
142
- }
143
- const req = requestRes.value;
144
-
145
- const doResult = await client._do(req, {
146
- context,
147
- errorCodes: [
148
- "400",
149
- "401",
150
- "403",
151
- "404",
152
- "409",
153
- "422",
154
- "429",
155
- "4XX",
156
- "500",
157
- "504",
158
- "5XX",
159
- ],
160
- retryConfig: context.retryConfig,
161
- retryCodes: context.retryCodes,
162
- });
163
- if (!doResult.ok) {
164
- return [doResult, { status: "request-error", request: req }];
165
- }
166
- const response = doResult.value;
167
-
168
- const responseFields = {
169
- HttpMeta: { Response: response, Request: req },
170
- };
171
-
172
- const [result] = await M.match<
173
- operations.CreateInvoiceResponse,
174
- | errors.GenericError
175
- | errors.CreateInvoiceError
176
- | MoovError
177
- | ResponseValidationError
178
- | ConnectionError
179
- | RequestAbortedError
180
- | RequestTimeoutError
181
- | InvalidRequestError
182
- | UnexpectedClientError
183
- | SDKValidationError
184
- >(
185
- M.json(201, operations.CreateInvoiceResponse$inboundSchema, {
186
- hdrs: true,
187
- key: "Result",
188
- }),
189
- M.jsonErr([400, 409], errors.GenericError$inboundSchema, { hdrs: true }),
190
- M.jsonErr(422, errors.CreateInvoiceError$inboundSchema, { hdrs: true }),
191
- M.fail([401, 403, 404, 429]),
192
- M.fail([500, 504]),
193
- M.fail("4XX"),
194
- M.fail("5XX"),
195
- )(response, req, { extraFields: responseFields });
196
- if (!result.ok) {
197
- return [result, { status: "complete", request: req, response }];
198
- }
199
-
200
- return [result, { status: "complete", request: req, response }];
201
- }