@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.
- package/README.md +47 -192
- package/bin/mcp-server.js +857 -5015
- package/bin/mcp-server.js.map +29 -148
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +4 -4
- package/lib/config.d.ts.map +1 -1
- package/lib/config.js +4 -4
- package/lib/config.js.map +1 -1
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/mcp-server.js.map +1 -1
- package/mcp-server/server.d.ts.map +1 -1
- package/mcp-server/server.js +1 -25
- package/mcp-server/server.js.map +1 -1
- package/models/components/accounttype.d.ts +0 -1
- package/models/components/accounttype.d.ts.map +1 -1
- package/models/components/accounttype.js +0 -1
- package/models/components/accounttype.js.map +1 -1
- package/models/components/bankaccountholdertype.d.ts +0 -1
- package/models/components/bankaccountholdertype.d.ts.map +1 -1
- package/models/components/bankaccountholdertype.js +0 -1
- package/models/components/bankaccountholdertype.js.map +1 -1
- package/models/components/capabilityid.d.ts +0 -11
- package/models/components/capabilityid.d.ts.map +1 -1
- package/models/components/capabilityid.js +0 -11
- package/models/components/capabilityid.js.map +1 -1
- package/models/components/createaccount.d.ts +5 -2
- package/models/components/createaccount.d.ts.map +1 -1
- package/models/components/createaccount.js +3 -3
- package/models/components/createaccount.js.map +1 -1
- package/models/components/enrichedindustries.d.ts +3 -3
- package/models/components/enrichedindustries.js +3 -3
- package/models/components/enrichedindustry.d.ts +35 -0
- package/models/components/enrichedindustry.d.ts.map +1 -0
- package/models/components/{fulfillmenterror.js → enrichedindustry.js} +18 -14
- package/models/components/enrichedindustry.js.map +1 -0
- package/models/components/incurredfee.d.ts +22 -1
- package/models/components/incurredfee.d.ts.map +1 -1
- package/models/components/incurredfee.js.map +1 -1
- package/models/components/index.d.ts +1 -77
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +1 -77
- package/models/components/index.js.map +1 -1
- package/models/components/paymentmethod.d.ts +2 -4
- package/models/components/paymentmethod.d.ts.map +1 -1
- package/models/components/paymentmethod.js +0 -6
- package/models/components/paymentmethod.js.map +1 -1
- package/models/components/paymentmethodtype.d.ts +0 -2
- package/models/components/paymentmethodtype.d.ts.map +1 -1
- package/models/components/paymentmethodtype.js +0 -2
- package/models/components/paymentmethodtype.js.map +1 -1
- package/models/components/profile.d.ts +0 -6
- package/models/components/profile.d.ts.map +1 -1
- package/models/components/profile.js +0 -3
- package/models/components/profile.js.map +1 -1
- package/models/components/requirementid.d.ts +0 -54
- package/models/components/requirementid.d.ts.map +1 -1
- package/models/components/requirementid.js +0 -54
- package/models/components/requirementid.js.map +1 -1
- package/models/components/residual.d.ts +31 -7
- package/models/components/residual.d.ts.map +1 -1
- package/models/components/residual.js +0 -2
- package/models/components/residual.js.map +1 -1
- package/models/components/transfer.d.ts +0 -5
- package/models/components/transfer.d.ts.map +1 -1
- package/models/components/transfer.js +0 -2
- package/models/components/transfer.js.map +1 -1
- package/models/components/transfersource.d.ts +0 -6
- package/models/components/transfersource.d.ts.map +1 -1
- package/models/components/transfersource.js +0 -3
- package/models/components/transfersource.js.map +1 -1
- package/models/components/underwriting.d.ts +14 -35
- package/models/components/underwriting.d.ts.map +1 -1
- package/models/components/underwriting.js +14 -36
- package/models/components/underwriting.js.map +1 -1
- package/models/errors/index.d.ts +0 -7
- package/models/errors/index.d.ts.map +1 -1
- package/models/errors/index.js +0 -7
- package/models/errors/index.js.map +1 -1
- package/models/errors/transfer.d.ts +0 -9
- package/models/errors/transfer.d.ts.map +1 -1
- package/models/errors/transfer.js +0 -4
- package/models/errors/transfer.js.map +1 -1
- package/models/operations/getresidual.d.ts +3 -0
- package/models/operations/getresidual.d.ts.map +1 -1
- package/models/operations/getresidual.js.map +1 -1
- package/models/operations/index.d.ts +0 -12
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +0 -12
- package/models/operations/index.js.map +1 -1
- package/models/operations/listaccounts.d.ts +1 -1
- package/models/operations/listaccounts.d.ts.map +1 -1
- package/models/operations/listaccounts.js +2 -2
- package/models/operations/listaccounts.js.map +1 -1
- package/models/operations/listconnectedaccountsforaccount.d.ts +1 -1
- package/models/operations/listconnectedaccountsforaccount.d.ts.map +1 -1
- package/models/operations/listconnectedaccountsforaccount.js +2 -2
- package/models/operations/listconnectedaccountsforaccount.js.map +1 -1
- package/models/operations/listresidualfees.d.ts +3 -0
- package/models/operations/listresidualfees.d.ts.map +1 -1
- package/models/operations/listresidualfees.js.map +1 -1
- package/package.json +1 -1
- package/sdk/sdk.d.ts +0 -6
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +0 -8
- package/sdk/sdk.js.map +1 -1
- package/sdk/underwriting.d.ts +0 -9
- package/sdk/underwriting.d.ts.map +1 -1
- package/sdk/underwriting.js +0 -12
- package/sdk/underwriting.js.map +1 -1
- package/src/lib/config.ts +5 -4
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -25
- package/src/models/components/accounttype.ts +0 -1
- package/src/models/components/bankaccountholdertype.ts +0 -1
- package/src/models/components/capabilityid.ts +0 -11
- package/src/models/components/createaccount.ts +11 -8
- package/src/models/components/enrichedindustries.ts +9 -9
- package/src/models/components/enrichedindustry.ts +75 -0
- package/src/models/components/incurredfee.ts +22 -1
- package/src/models/components/index.ts +1 -77
- package/src/models/components/paymentmethod.ts +2 -22
- package/src/models/components/paymentmethodtype.ts +0 -2
- package/src/models/components/profile.ts +0 -13
- package/src/models/components/requirementid.ts +0 -103
- package/src/models/components/residual.ts +31 -9
- package/src/models/components/transfer.ts +0 -7
- package/src/models/components/transfersource.ts +0 -13
- package/src/models/components/underwriting.ts +28 -96
- package/src/models/errors/index.ts +0 -7
- package/src/models/errors/transfer.ts +0 -12
- package/src/models/operations/getresidual.ts +3 -0
- package/src/models/operations/index.ts +0 -12
- package/src/models/operations/listaccounts.ts +3 -3
- package/src/models/operations/listconnectedaccountsforaccount.ts +3 -3
- package/src/models/operations/listresidualfees.ts +3 -0
- package/src/sdk/sdk.ts +0 -12
- package/src/sdk/underwriting.ts +0 -20
- package/funcs/invoicesCreateInvoice.d.ts +0 -18
- package/funcs/invoicesCreateInvoice.d.ts.map +0 -1
- package/funcs/invoicesCreateInvoice.js +0 -139
- package/funcs/invoicesCreateInvoice.js.map +0 -1
- package/funcs/invoicesCreateInvoicePayment.d.ts +0 -19
- package/funcs/invoicesCreateInvoicePayment.d.ts.map +0 -1
- package/funcs/invoicesCreateInvoicePayment.js +0 -148
- package/funcs/invoicesCreateInvoicePayment.js.map +0 -1
- package/funcs/invoicesGetInvoice.d.ts +0 -17
- package/funcs/invoicesGetInvoice.d.ts.map +0 -1
- package/funcs/invoicesGetInvoice.js +0 -129
- package/funcs/invoicesGetInvoice.js.map +0 -1
- package/funcs/invoicesListInvoicePayments.d.ts +0 -17
- package/funcs/invoicesListInvoicePayments.d.ts.map +0 -1
- package/funcs/invoicesListInvoicePayments.js +0 -129
- package/funcs/invoicesListInvoicePayments.js.map +0 -1
- package/funcs/invoicesListInvoices.d.ts +0 -18
- package/funcs/invoicesListInvoices.d.ts.map +0 -1
- package/funcs/invoicesListInvoices.js +0 -139
- package/funcs/invoicesListInvoices.js.map +0 -1
- package/funcs/invoicesUpdateInvoice.d.ts +0 -18
- package/funcs/invoicesUpdateInvoice.d.ts.map +0 -1
- package/funcs/invoicesUpdateInvoice.js +0 -143
- package/funcs/invoicesUpdateInvoice.js.map +0 -1
- package/funcs/supportCreateTicket.d.ts +0 -21
- package/funcs/supportCreateTicket.d.ts.map +0 -1
- package/funcs/supportCreateTicket.js +0 -142
- package/funcs/supportCreateTicket.js.map +0 -1
- package/funcs/supportGetTicket.d.ts +0 -20
- package/funcs/supportGetTicket.d.ts.map +0 -1
- package/funcs/supportGetTicket.js +0 -132
- package/funcs/supportGetTicket.js.map +0 -1
- package/funcs/supportListTicketMessages.d.ts +0 -20
- package/funcs/supportListTicketMessages.d.ts.map +0 -1
- package/funcs/supportListTicketMessages.js +0 -132
- package/funcs/supportListTicketMessages.js.map +0 -1
- package/funcs/supportListTickets.d.ts +0 -20
- package/funcs/supportListTickets.d.ts.map +0 -1
- package/funcs/supportListTickets.js +0 -135
- package/funcs/supportListTickets.js.map +0 -1
- package/funcs/supportUpdateTicket.d.ts +0 -21
- package/funcs/supportUpdateTicket.d.ts.map +0 -1
- package/funcs/supportUpdateTicket.js +0 -146
- package/funcs/supportUpdateTicket.js.map +0 -1
- package/funcs/underwritingSave.d.ts +0 -20
- package/funcs/underwritingSave.d.ts.map +0 -1
- package/funcs/underwritingSave.js +0 -145
- package/funcs/underwritingSave.js.map +0 -1
- package/mcp-server/tools/invoicesCreateInvoice.d.ts +0 -8
- package/mcp-server/tools/invoicesCreateInvoice.d.ts.map +0 -1
- package/mcp-server/tools/invoicesCreateInvoice.js +0 -65
- package/mcp-server/tools/invoicesCreateInvoice.js.map +0 -1
- package/mcp-server/tools/invoicesCreateInvoicePayment.d.ts +0 -8
- package/mcp-server/tools/invoicesCreateInvoicePayment.d.ts.map +0 -1
- package/mcp-server/tools/invoicesCreateInvoicePayment.js +0 -66
- package/mcp-server/tools/invoicesCreateInvoicePayment.js.map +0 -1
- package/mcp-server/tools/invoicesGetInvoice.d.ts +0 -8
- package/mcp-server/tools/invoicesGetInvoice.d.ts.map +0 -1
- package/mcp-server/tools/invoicesGetInvoice.js +0 -65
- package/mcp-server/tools/invoicesGetInvoice.js.map +0 -1
- package/mcp-server/tools/invoicesListInvoicePayments.d.ts +0 -8
- package/mcp-server/tools/invoicesListInvoicePayments.d.ts.map +0 -1
- package/mcp-server/tools/invoicesListInvoicePayments.js +0 -65
- package/mcp-server/tools/invoicesListInvoicePayments.js.map +0 -1
- package/mcp-server/tools/invoicesListInvoices.d.ts +0 -8
- package/mcp-server/tools/invoicesListInvoices.d.ts.map +0 -1
- package/mcp-server/tools/invoicesListInvoices.js +0 -65
- package/mcp-server/tools/invoicesListInvoices.js.map +0 -1
- package/mcp-server/tools/invoicesUpdateInvoice.d.ts +0 -8
- package/mcp-server/tools/invoicesUpdateInvoice.d.ts.map +0 -1
- package/mcp-server/tools/invoicesUpdateInvoice.js +0 -65
- package/mcp-server/tools/invoicesUpdateInvoice.js.map +0 -1
- package/mcp-server/tools/supportCreateTicket.d.ts +0 -8
- package/mcp-server/tools/supportCreateTicket.d.ts.map +0 -1
- package/mcp-server/tools/supportCreateTicket.js +0 -68
- package/mcp-server/tools/supportCreateTicket.js.map +0 -1
- package/mcp-server/tools/supportGetTicket.d.ts +0 -8
- package/mcp-server/tools/supportGetTicket.d.ts.map +0 -1
- package/mcp-server/tools/supportGetTicket.js +0 -68
- package/mcp-server/tools/supportGetTicket.js.map +0 -1
- package/mcp-server/tools/supportListTicketMessages.d.ts +0 -8
- package/mcp-server/tools/supportListTicketMessages.d.ts.map +0 -1
- package/mcp-server/tools/supportListTicketMessages.js +0 -68
- package/mcp-server/tools/supportListTicketMessages.js.map +0 -1
- package/mcp-server/tools/supportListTickets.d.ts +0 -8
- package/mcp-server/tools/supportListTickets.d.ts.map +0 -1
- package/mcp-server/tools/supportListTickets.js +0 -68
- package/mcp-server/tools/supportListTickets.js.map +0 -1
- package/mcp-server/tools/supportUpdateTicket.d.ts +0 -8
- package/mcp-server/tools/supportUpdateTicket.d.ts.map +0 -1
- package/mcp-server/tools/supportUpdateTicket.js +0 -68
- package/mcp-server/tools/supportUpdateTicket.js.map +0 -1
- package/mcp-server/tools/underwritingSave.d.ts +0 -8
- package/mcp-server/tools/underwritingSave.d.ts.map +0 -1
- package/mcp-server/tools/underwritingSave.js +0 -67
- package/mcp-server/tools/underwritingSave.js.map +0 -1
- package/models/components/amountdecimalupdate.d.ts +0 -29
- package/models/components/amountdecimalupdate.d.ts.map +0 -1
- package/models/components/amountdecimalupdate.js +0 -60
- package/models/components/amountdecimalupdate.js.map +0 -1
- package/models/components/businesspresence.d.ts +0 -16
- package/models/components/businesspresence.d.ts.map +0 -1
- package/models/components/businesspresence.js +0 -53
- package/models/components/businesspresence.js.map +0 -1
- package/models/components/cardacceptancemethods.d.ts +0 -33
- package/models/components/cardacceptancemethods.d.ts.map +0 -1
- package/models/components/cardacceptancemethods.js +0 -62
- package/models/components/cardacceptancemethods.js.map +0 -1
- package/models/components/cardacceptancemethodserror.d.ts +0 -21
- package/models/components/cardacceptancemethodserror.d.ts.map +0 -1
- package/models/components/cardacceptancemethodserror.js +0 -62
- package/models/components/cardacceptancemethodserror.js.map +0 -1
- package/models/components/cardpresentpaymentpaymentmethod.d.ts +0 -31
- package/models/components/cardpresentpaymentpaymentmethod.d.ts.map +0 -1
- package/models/components/cardpresentpaymentpaymentmethod.js +0 -63
- package/models/components/cardpresentpaymentpaymentmethod.js.map +0 -1
- package/models/components/collectfunds.d.ts +0 -21
- package/models/components/collectfunds.d.ts.map +0 -1
- package/models/components/collectfunds.js +0 -62
- package/models/components/collectfunds.js.map +0 -1
- package/models/components/collectfundsach.d.ts +0 -18
- package/models/components/collectfundsach.d.ts.map +0 -1
- package/models/components/collectfundsach.js +0 -59
- package/models/components/collectfundsach.js.map +0 -1
- package/models/components/collectfundsacherror.d.ts +0 -18
- package/models/components/collectfundsacherror.d.ts.map +0 -1
- package/models/components/collectfundsacherror.js +0 -59
- package/models/components/collectfundsacherror.js.map +0 -1
- package/models/components/collectfundscardpayments.d.ts +0 -32
- package/models/components/collectfundscardpayments.d.ts.map +0 -1
- package/models/components/collectfundscardpayments.js +0 -70
- package/models/components/collectfundscardpayments.js.map +0 -1
- package/models/components/collectfundscardpaymentserror.d.ts +0 -28
- package/models/components/collectfundscardpaymentserror.d.ts.map +0 -1
- package/models/components/collectfundscardpaymentserror.js +0 -69
- package/models/components/collectfundscardpaymentserror.js.map +0 -1
- package/models/components/collectfundserror.d.ts +0 -21
- package/models/components/collectfundserror.d.ts.map +0 -1
- package/models/components/collectfundserror.js +0 -62
- package/models/components/collectfundserror.js.map +0 -1
- package/models/components/createaccounttype.d.ts +0 -12
- package/models/components/createaccounttype.d.ts.map +0 -1
- package/models/components/createaccounttype.js +0 -49
- package/models/components/createaccounttype.js.map +0 -1
- package/models/components/createinvoice.d.ts +0 -35
- package/models/components/createinvoice.d.ts.map +0 -1
- package/models/components/createinvoice.js +0 -72
- package/models/components/createinvoice.js.map +0 -1
- package/models/components/createinvoicelineitem.d.ts +0 -50
- package/models/components/createinvoicelineitem.d.ts.map +0 -1
- package/models/components/createinvoicelineitem.js +0 -70
- package/models/components/createinvoicelineitem.js.map +0 -1
- package/models/components/createinvoicelineitemoption.d.ts +0 -44
- package/models/components/createinvoicelineitemoption.d.ts.map +0 -1
- package/models/components/createinvoicelineitemoption.js +0 -67
- package/models/components/createinvoicelineitemoption.js.map +0 -1
- package/models/components/createinvoicelineitemoptionvalidationerror.d.ts +0 -24
- package/models/components/createinvoicelineitemoptionvalidationerror.d.ts.map +0 -1
- package/models/components/createinvoicelineitemoptionvalidationerror.js +0 -65
- package/models/components/createinvoicelineitemoptionvalidationerror.js.map +0 -1
- package/models/components/createinvoicelineitems.d.ts +0 -24
- package/models/components/createinvoicelineitems.d.ts.map +0 -1
- package/models/components/createinvoicelineitems.js +0 -59
- package/models/components/createinvoicelineitems.js.map +0 -1
- package/models/components/createinvoicelineitemsupdate.d.ts +0 -24
- package/models/components/createinvoicelineitemsupdate.d.ts.map +0 -1
- package/models/components/createinvoicelineitemsupdate.js +0 -59
- package/models/components/createinvoicelineitemsupdate.js.map +0 -1
- package/models/components/createinvoicelineitemsvalidationerror.d.ts +0 -22
- package/models/components/createinvoicelineitemsvalidationerror.d.ts.map +0 -1
- package/models/components/createinvoicelineitemsvalidationerror.js +0 -61
- package/models/components/createinvoicelineitemsvalidationerror.js.map +0 -1
- package/models/components/createinvoicelineitemvalidationerror.d.ts +0 -31
- package/models/components/createinvoicelineitemvalidationerror.d.ts.map +0 -1
- package/models/components/createinvoicelineitemvalidationerror.js +0 -70
- package/models/components/createinvoicelineitemvalidationerror.js.map +0 -1
- package/models/components/createinvoicepayment.d.ts +0 -24
- package/models/components/createinvoicepayment.d.ts.map +0 -1
- package/models/components/createinvoicepayment.js +0 -66
- package/models/components/createinvoicepayment.js.map +0 -1
- package/models/components/createticket.d.ts +0 -29
- package/models/components/createticket.d.ts.map +0 -1
- package/models/components/createticket.js +0 -67
- package/models/components/createticket.js.map +0 -1
- package/models/components/createticketcontacterror.d.ts +0 -19
- package/models/components/createticketcontacterror.d.ts.map +0 -1
- package/models/components/createticketcontacterror.js +0 -60
- package/models/components/createticketcontacterror.js.map +0 -1
- package/models/components/entrymode.d.ts +0 -17
- package/models/components/entrymode.d.ts.map +0 -1
- package/models/components/entrymode.js +0 -52
- package/models/components/entrymode.js.map +0 -1
- package/models/components/estimatedactivity.d.ts +0 -25
- package/models/components/estimatedactivity.d.ts.map +0 -1
- package/models/components/estimatedactivity.js +0 -63
- package/models/components/estimatedactivity.js.map +0 -1
- package/models/components/estimatedactivityerror.d.ts +0 -21
- package/models/components/estimatedactivityerror.d.ts.map +0 -1
- package/models/components/estimatedactivityerror.js +0 -62
- package/models/components/estimatedactivityerror.js.map +0 -1
- package/models/components/fulfillment.d.ts +0 -21
- package/models/components/fulfillment.d.ts.map +0 -1
- package/models/components/fulfillment.js +0 -62
- package/models/components/fulfillment.js.map +0 -1
- package/models/components/fulfillmenterror.d.ts +0 -19
- package/models/components/fulfillmenterror.d.ts.map +0 -1
- package/models/components/fulfillmenterror.js.map +0 -1
- package/models/components/fulfillmentmethod.d.ts +0 -19
- package/models/components/fulfillmentmethod.d.ts.map +0 -1
- package/models/components/fulfillmentmethod.js +0 -56
- package/models/components/fulfillmentmethod.js.map +0 -1
- package/models/components/fulfillmenttimeframe.d.ts +0 -18
- package/models/components/fulfillmenttimeframe.d.ts.map +0 -1
- package/models/components/fulfillmenttimeframe.js +0 -55
- package/models/components/fulfillmenttimeframe.js.map +0 -1
- package/models/components/geographicreach.d.ts +0 -13
- package/models/components/geographicreach.d.ts.map +0 -1
- package/models/components/geographicreach.js +0 -50
- package/models/components/geographicreach.js.map +0 -1
- package/models/components/guestprofile.d.ts +0 -31
- package/models/components/guestprofile.d.ts.map +0 -1
- package/models/components/guestprofile.js +0 -63
- package/models/components/guestprofile.js.map +0 -1
- package/models/components/industrytaxonomy.d.ts +0 -43
- package/models/components/industrytaxonomy.d.ts.map +0 -1
- package/models/components/industrytaxonomy.js +0 -66
- package/models/components/industrytaxonomy.js.map +0 -1
- package/models/components/instantbankcreditpaymentmethod.d.ts +0 -31
- package/models/components/instantbankcreditpaymentmethod.d.ts.map +0 -1
- package/models/components/instantbankcreditpaymentmethod.js +0 -63
- package/models/components/instantbankcreditpaymentmethod.js.map +0 -1
- package/models/components/invoice.d.ts +0 -93
- package/models/components/invoice.d.ts.map +0 -1
- package/models/components/invoice.js +0 -107
- package/models/components/invoice.js.map +0 -1
- package/models/components/invoiceexternalpayment.d.ts +0 -21
- package/models/components/invoiceexternalpayment.d.ts.map +0 -1
- package/models/components/invoiceexternalpayment.js +0 -63
- package/models/components/invoiceexternalpayment.js.map +0 -1
- package/models/components/invoicelineitem.d.ts +0 -51
- package/models/components/invoicelineitem.d.ts.map +0 -1
- package/models/components/invoicelineitem.js +0 -71
- package/models/components/invoicelineitem.js.map +0 -1
- package/models/components/invoicelineitemimagemetadata.d.ts +0 -35
- package/models/components/invoicelineitemimagemetadata.d.ts.map +0 -1
- package/models/components/invoicelineitemimagemetadata.js +0 -64
- package/models/components/invoicelineitemimagemetadata.js.map +0 -1
- package/models/components/invoicelineitemoption.d.ts +0 -45
- package/models/components/invoicelineitemoption.d.ts.map +0 -1
- package/models/components/invoicelineitemoption.js +0 -68
- package/models/components/invoicelineitemoption.js.map +0 -1
- package/models/components/invoicelineitemoptionvalidationerror.d.ts +0 -24
- package/models/components/invoicelineitemoptionvalidationerror.d.ts.map +0 -1
- package/models/components/invoicelineitemoptionvalidationerror.js +0 -65
- package/models/components/invoicelineitemoptionvalidationerror.js.map +0 -1
- package/models/components/invoicelineitems.d.ts +0 -24
- package/models/components/invoicelineitems.d.ts.map +0 -1
- package/models/components/invoicelineitems.js +0 -59
- package/models/components/invoicelineitems.js.map +0 -1
- package/models/components/invoicelineitemsvalidationerror.d.ts +0 -22
- package/models/components/invoicelineitemsvalidationerror.d.ts.map +0 -1
- package/models/components/invoicelineitemsvalidationerror.js +0 -59
- package/models/components/invoicelineitemsvalidationerror.js.map +0 -1
- package/models/components/invoicelineitemvalidationerror.d.ts +0 -31
- package/models/components/invoicelineitemvalidationerror.d.ts.map +0 -1
- package/models/components/invoicelineitemvalidationerror.js +0 -70
- package/models/components/invoicelineitemvalidationerror.js.map +0 -1
- package/models/components/invoicepayment.d.ts +0 -35
- package/models/components/invoicepayment.d.ts.map +0 -1
- package/models/components/invoicepayment.js +0 -70
- package/models/components/invoicepayment.js.map +0 -1
- package/models/components/invoicepaymenttype.d.ts +0 -12
- package/models/components/invoicepaymenttype.d.ts.map +0 -1
- package/models/components/invoicepaymenttype.js +0 -49
- package/models/components/invoicepaymenttype.js.map +0 -1
- package/models/components/invoicetransferpayment.d.ts +0 -20
- package/models/components/invoicetransferpayment.d.ts.map +0 -1
- package/models/components/invoicetransferpayment.js +0 -58
- package/models/components/invoicetransferpayment.js.map +0 -1
- package/models/components/itemlistnextpage.d.ts +0 -20
- package/models/components/itemlistnextpage.d.ts.map +0 -1
- package/models/components/itemlistnextpage.js +0 -58
- package/models/components/itemlistnextpage.js.map +0 -1
- package/models/components/moneytransfer.d.ts +0 -21
- package/models/components/moneytransfer.d.ts.map +0 -1
- package/models/components/moneytransfer.js +0 -62
- package/models/components/moneytransfer.js.map +0 -1
- package/models/components/moneytransfererror.d.ts +0 -21
- package/models/components/moneytransfererror.d.ts.map +0 -1
- package/models/components/moneytransfererror.js +0 -62
- package/models/components/moneytransfererror.js.map +0 -1
- package/models/components/moneytransferpullfromcard.d.ts +0 -18
- package/models/components/moneytransferpullfromcard.d.ts.map +0 -1
- package/models/components/moneytransferpullfromcard.js +0 -59
- package/models/components/moneytransferpullfromcard.js.map +0 -1
- package/models/components/moneytransferpullfromcarderror.d.ts +0 -18
- package/models/components/moneytransferpullfromcarderror.d.ts.map +0 -1
- package/models/components/moneytransferpullfromcarderror.js +0 -59
- package/models/components/moneytransferpullfromcarderror.js.map +0 -1
- package/models/components/moneytransferpushtocard.d.ts +0 -18
- package/models/components/moneytransferpushtocard.d.ts.map +0 -1
- package/models/components/moneytransferpushtocard.js +0 -59
- package/models/components/moneytransferpushtocard.js.map +0 -1
- package/models/components/moneytransferpushtocarderror.d.ts +0 -18
- package/models/components/moneytransferpushtocarderror.d.ts.map +0 -1
- package/models/components/moneytransferpushtocarderror.js +0 -59
- package/models/components/moneytransferpushtocarderror.js.map +0 -1
- package/models/components/monthlyvolumerange.d.ts +0 -24
- package/models/components/monthlyvolumerange.d.ts.map +0 -1
- package/models/components/monthlyvolumerange.js +0 -58
- package/models/components/monthlyvolumerange.js.map +0 -1
- package/models/components/pendinglitigation.d.ts +0 -20
- package/models/components/pendinglitigation.d.ts.map +0 -1
- package/models/components/pendinglitigation.js +0 -57
- package/models/components/pendinglitigation.js.map +0 -1
- package/models/components/refundpolicy.d.ts +0 -19
- package/models/components/refundpolicy.d.ts.map +0 -1
- package/models/components/refundpolicy.js +0 -56
- package/models/components/refundpolicy.js.map +0 -1
- package/models/components/sendfunds.d.ts +0 -27
- package/models/components/sendfunds.d.ts.map +0 -1
- package/models/components/sendfunds.js +0 -68
- package/models/components/sendfunds.js.map +0 -1
- package/models/components/sendfundsach.d.ts +0 -18
- package/models/components/sendfundsach.d.ts.map +0 -1
- package/models/components/sendfundsach.js +0 -59
- package/models/components/sendfundsach.js.map +0 -1
- package/models/components/sendfundsacherror.d.ts +0 -18
- package/models/components/sendfundsacherror.d.ts.map +0 -1
- package/models/components/sendfundsacherror.js +0 -59
- package/models/components/sendfundsacherror.js.map +0 -1
- package/models/components/sendfundserror.d.ts +0 -27
- package/models/components/sendfundserror.d.ts.map +0 -1
- package/models/components/sendfundserror.js +0 -68
- package/models/components/sendfundserror.js.map +0 -1
- package/models/components/sendfundsinstantbank.d.ts +0 -18
- package/models/components/sendfundsinstantbank.d.ts.map +0 -1
- package/models/components/sendfundsinstantbank.js +0 -59
- package/models/components/sendfundsinstantbank.js.map +0 -1
- package/models/components/sendfundsinstantbankerror.d.ts +0 -18
- package/models/components/sendfundsinstantbankerror.d.ts.map +0 -1
- package/models/components/sendfundsinstantbankerror.js +0 -59
- package/models/components/sendfundsinstantbankerror.js.map +0 -1
- package/models/components/sendfundspushtocard.d.ts +0 -18
- package/models/components/sendfundspushtocard.d.ts.map +0 -1
- package/models/components/sendfundspushtocard.js +0 -59
- package/models/components/sendfundspushtocard.js.map +0 -1
- package/models/components/sendfundspushtocarderror.d.ts +0 -18
- package/models/components/sendfundspushtocarderror.d.ts.map +0 -1
- package/models/components/sendfundspushtocarderror.js +0 -59
- package/models/components/sendfundspushtocarderror.js.map +0 -1
- package/models/components/sendfundsrtp.d.ts +0 -18
- package/models/components/sendfundsrtp.d.ts.map +0 -1
- package/models/components/sendfundsrtp.js +0 -59
- package/models/components/sendfundsrtp.js.map +0 -1
- package/models/components/sendfundsrtperror.d.ts +0 -18
- package/models/components/sendfundsrtperror.d.ts.map +0 -1
- package/models/components/sendfundsrtperror.js +0 -59
- package/models/components/sendfundsrtperror.js.map +0 -1
- package/models/components/submissionintent.d.ts +0 -12
- package/models/components/submissionintent.d.ts.map +0 -1
- package/models/components/submissionintent.js +0 -49
- package/models/components/submissionintent.js.map +0 -1
- package/models/components/terminalcard.d.ts +0 -83
- package/models/components/terminalcard.d.ts.map +0 -1
- package/models/components/terminalcard.js +0 -84
- package/models/components/terminalcard.js.map +0 -1
- package/models/components/ticket.d.ts +0 -37
- package/models/components/ticket.d.ts.map +0 -1
- package/models/components/ticket.js +0 -80
- package/models/components/ticket.js.map +0 -1
- package/models/components/ticketcontact.d.ts +0 -19
- package/models/components/ticketcontact.d.ts.map +0 -1
- package/models/components/ticketcontact.js +0 -60
- package/models/components/ticketcontact.js.map +0 -1
- package/models/components/ticketmessage.d.ts +0 -21
- package/models/components/ticketmessage.d.ts.map +0 -1
- package/models/components/ticketmessage.js +0 -62
- package/models/components/ticketmessage.js.map +0 -1
- package/models/components/updateinvoice.d.ts +0 -40
- package/models/components/updateinvoice.d.ts.map +0 -1
- package/models/components/updateinvoice.js +0 -71
- package/models/components/updateinvoice.js.map +0 -1
- package/models/components/updateticket.d.ts +0 -21
- package/models/components/updateticket.d.ts.map +0 -1
- package/models/components/updateticket.js +0 -59
- package/models/components/updateticket.js.map +0 -1
- package/models/components/updateticketstatus.d.ts +0 -11
- package/models/components/updateticketstatus.d.ts.map +0 -1
- package/models/components/updateticketstatus.js +0 -48
- package/models/components/updateticketstatus.js.map +0 -1
- package/models/components/upsertunderwriting.d.ts +0 -39
- package/models/components/upsertunderwriting.d.ts.map +0 -1
- package/models/components/upsertunderwriting.js +0 -81
- package/models/components/upsertunderwriting.js.map +0 -1
- package/models/components/volumesharebycustomertype.d.ts +0 -21
- package/models/components/volumesharebycustomertype.d.ts.map +0 -1
- package/models/components/volumesharebycustomertype.js +0 -62
- package/models/components/volumesharebycustomertype.js.map +0 -1
- package/models/components/volumesharebycustomertypeerror.d.ts +0 -21
- package/models/components/volumesharebycustomertypeerror.d.ts.map +0 -1
- package/models/components/volumesharebycustomertypeerror.js +0 -62
- package/models/components/volumesharebycustomertypeerror.js.map +0 -1
- package/models/errors/createinvoiceerror.d.ts +0 -40
- package/models/errors/createinvoiceerror.d.ts.map +0 -1
- package/models/errors/createinvoiceerror.js +0 -100
- package/models/errors/createinvoiceerror.js.map +0 -1
- package/models/errors/createinvoicepaymenterror.d.ts +0 -34
- package/models/errors/createinvoicepaymenterror.d.ts.map +0 -1
- package/models/errors/createinvoicepaymenterror.js +0 -88
- package/models/errors/createinvoicepaymenterror.js.map +0 -1
- package/models/errors/createticketerror.d.ts +0 -36
- package/models/errors/createticketerror.d.ts.map +0 -1
- package/models/errors/createticketerror.js +0 -90
- package/models/errors/createticketerror.js.map +0 -1
- package/models/errors/listinvoicesvalidationerror.d.ts +0 -45
- package/models/errors/listinvoicesvalidationerror.d.ts.map +0 -1
- package/models/errors/listinvoicesvalidationerror.js +0 -107
- package/models/errors/listinvoicesvalidationerror.js.map +0 -1
- package/models/errors/updateinvoiceerror.d.ts +0 -40
- package/models/errors/updateinvoiceerror.d.ts.map +0 -1
- package/models/errors/updateinvoiceerror.js +0 -99
- package/models/errors/updateinvoiceerror.js.map +0 -1
- package/models/errors/updateticketerror.d.ts +0 -24
- package/models/errors/updateticketerror.d.ts.map +0 -1
- package/models/errors/updateticketerror.js +0 -75
- package/models/errors/updateticketerror.js.map +0 -1
- package/models/errors/upsertunderwritingerror.d.ts +0 -64
- package/models/errors/upsertunderwritingerror.d.ts.map +0 -1
- package/models/errors/upsertunderwritingerror.js +0 -143
- package/models/errors/upsertunderwritingerror.js.map +0 -1
- package/models/operations/createinvoice.d.ts +0 -66
- package/models/operations/createinvoice.d.ts.map +0 -1
- package/models/operations/createinvoice.js +0 -122
- package/models/operations/createinvoice.js.map +0 -1
- package/models/operations/createinvoicepayment.d.ts +0 -68
- package/models/operations/createinvoicepayment.d.ts.map +0 -1
- package/models/operations/createinvoicepayment.js +0 -124
- package/models/operations/createinvoicepayment.js.map +0 -1
- package/models/operations/createticket.d.ts +0 -66
- package/models/operations/createticket.d.ts.map +0 -1
- package/models/operations/createticket.js +0 -122
- package/models/operations/createticket.js.map +0 -1
- package/models/operations/getinvoice.d.ts +0 -66
- package/models/operations/getinvoice.d.ts.map +0 -1
- package/models/operations/getinvoice.js +0 -114
- package/models/operations/getinvoice.js.map +0 -1
- package/models/operations/getticket.d.ts +0 -66
- package/models/operations/getticket.d.ts.map +0 -1
- package/models/operations/getticket.js +0 -114
- package/models/operations/getticket.js.map +0 -1
- package/models/operations/listinvoicepayments.d.ts +0 -66
- package/models/operations/listinvoicepayments.d.ts.map +0 -1
- package/models/operations/listinvoicepayments.js +0 -114
- package/models/operations/listinvoicepayments.js.map +0 -1
- package/models/operations/listinvoices.d.ts +0 -80
- package/models/operations/listinvoices.d.ts.map +0 -1
- package/models/operations/listinvoices.js +0 -128
- package/models/operations/listinvoices.js.map +0 -1
- package/models/operations/listticketmessages.d.ts +0 -66
- package/models/operations/listticketmessages.d.ts.map +0 -1
- package/models/operations/listticketmessages.js +0 -114
- package/models/operations/listticketmessages.js.map +0 -1
- package/models/operations/listtickets.d.ts +0 -90
- package/models/operations/listtickets.d.ts.map +0 -1
- package/models/operations/listtickets.js +0 -138
- package/models/operations/listtickets.js.map +0 -1
- package/models/operations/saveunderwriting.d.ts +0 -66
- package/models/operations/saveunderwriting.d.ts.map +0 -1
- package/models/operations/saveunderwriting.js +0 -122
- package/models/operations/saveunderwriting.js.map +0 -1
- package/models/operations/updateinvoice.d.ts +0 -68
- package/models/operations/updateinvoice.d.ts.map +0 -1
- package/models/operations/updateinvoice.js +0 -124
- package/models/operations/updateinvoice.js.map +0 -1
- package/models/operations/updateticket.d.ts +0 -68
- package/models/operations/updateticket.d.ts.map +0 -1
- package/models/operations/updateticket.js +0 -124
- package/models/operations/updateticket.js.map +0 -1
- package/sdk/invoices.d.ts +0 -48
- package/sdk/invoices.d.ts.map +0 -1
- package/sdk/invoices.js +0 -73
- package/sdk/invoices.js.map +0 -1
- package/sdk/support.d.ts +0 -55
- package/sdk/support.d.ts.map +0 -1
- package/sdk/support.js +0 -77
- package/sdk/support.js.map +0 -1
- package/src/funcs/invoicesCreateInvoice.ts +0 -201
- package/src/funcs/invoicesCreateInvoicePayment.ts +0 -213
- package/src/funcs/invoicesGetInvoice.ts +0 -185
- package/src/funcs/invoicesListInvoicePayments.ts +0 -186
- package/src/funcs/invoicesListInvoices.ts +0 -198
- package/src/funcs/invoicesUpdateInvoice.ts +0 -207
- package/src/funcs/supportCreateTicket.ts +0 -204
- package/src/funcs/supportGetTicket.ts +0 -188
- package/src/funcs/supportListTicketMessages.ts +0 -188
- package/src/funcs/supportListTickets.ts +0 -190
- package/src/funcs/supportUpdateTicket.ts +0 -210
- package/src/funcs/underwritingSave.ts +0 -207
- package/src/mcp-server/tools/invoicesCreateInvoice.ts +0 -38
- package/src/mcp-server/tools/invoicesCreateInvoicePayment.ts +0 -40
- package/src/mcp-server/tools/invoicesGetInvoice.ts +0 -38
- package/src/mcp-server/tools/invoicesListInvoicePayments.ts +0 -38
- package/src/mcp-server/tools/invoicesListInvoices.ts +0 -38
- package/src/mcp-server/tools/invoicesUpdateInvoice.ts +0 -38
- package/src/mcp-server/tools/supportCreateTicket.ts +0 -41
- package/src/mcp-server/tools/supportGetTicket.ts +0 -41
- package/src/mcp-server/tools/supportListTicketMessages.ts +0 -41
- package/src/mcp-server/tools/supportListTickets.ts +0 -41
- package/src/mcp-server/tools/supportUpdateTicket.ts +0 -41
- package/src/mcp-server/tools/underwritingSave.ts +0 -40
- package/src/models/components/amountdecimalupdate.ts +0 -65
- package/src/models/components/businesspresence.ts +0 -25
- package/src/models/components/cardacceptancemethods.ts +0 -71
- package/src/models/components/cardacceptancemethodserror.ts +0 -59
- package/src/models/components/cardpresentpaymentpaymentmethod.ts +0 -76
- package/src/models/components/collectfunds.ts +0 -63
- package/src/models/components/collectfundsach.ts +0 -55
- package/src/models/components/collectfundsacherror.ts +0 -57
- package/src/models/components/collectfundscardpayments.ts +0 -93
- package/src/models/components/collectfundscardpaymentserror.ts +0 -87
- package/src/models/components/collectfundserror.ts +0 -67
- package/src/models/components/createaccounttype.ts +0 -21
- package/src/models/components/createinvoice.ts +0 -87
- package/src/models/components/createinvoicelineitem.ts +0 -104
- package/src/models/components/createinvoicelineitemoption.ts +0 -93
- package/src/models/components/createinvoicelineitemoptionvalidationerror.ts +0 -77
- package/src/models/components/createinvoicelineitems.ts +0 -63
- package/src/models/components/createinvoicelineitemsupdate.ts +0 -65
- package/src/models/components/createinvoicelineitemsvalidationerror.ts +0 -64
- package/src/models/components/createinvoicelineitemvalidationerror.ts +0 -88
- package/src/models/components/createinvoicepayment.ts +0 -70
- package/src/models/components/createticket.ts +0 -72
- package/src/models/components/createticketcontacterror.ts +0 -55
- package/src/models/components/entrymode.ts +0 -24
- package/src/models/components/estimatedactivity.ts +0 -67
- package/src/models/components/estimatedactivityerror.ts +0 -59
- package/src/models/components/fulfillment.ts +0 -61
- package/src/models/components/fulfillmenterror.ts +0 -55
- package/src/models/components/fulfillmentmethod.ts +0 -28
- package/src/models/components/fulfillmenttimeframe.ts +0 -27
- package/src/models/components/geographicreach.ts +0 -22
- package/src/models/components/guestprofile.ts +0 -70
- package/src/models/components/industrytaxonomy.ts +0 -85
- package/src/models/components/instantbankcreditpaymentmethod.ts +0 -76
- package/src/models/components/invoice.ts +0 -190
- package/src/models/components/invoiceexternalpayment.ts +0 -60
- package/src/models/components/invoicelineitem.ts +0 -108
- package/src/models/components/invoicelineitemimagemetadata.ts +0 -77
- package/src/models/components/invoicelineitemoption.ts +0 -97
- package/src/models/components/invoicelineitemoptionvalidationerror.ts +0 -72
- package/src/models/components/invoicelineitems.ts +0 -63
- package/src/models/components/invoicelineitemsvalidationerror.ts +0 -59
- package/src/models/components/invoicelineitemvalidationerror.ts +0 -85
- package/src/models/components/invoicepayment.ts +0 -92
- package/src/models/components/invoicepaymenttype.ts +0 -21
- package/src/models/components/invoicetransferpayment.ts +0 -54
- package/src/models/components/itemlistnextpage.ts +0 -54
- package/src/models/components/moneytransfer.ts +0 -63
- package/src/models/components/moneytransfererror.ts +0 -67
- package/src/models/components/moneytransferpullfromcard.ts +0 -57
- package/src/models/components/moneytransferpullfromcarderror.ts +0 -59
- package/src/models/components/moneytransferpushtocard.ts +0 -57
- package/src/models/components/moneytransferpushtocarderror.ts +0 -59
- package/src/models/components/monthlyvolumerange.ts +0 -33
- package/src/models/components/pendinglitigation.ts +0 -30
- package/src/models/components/refundpolicy.ts +0 -26
- package/src/models/components/sendfunds.ts +0 -83
- package/src/models/components/sendfundsach.ts +0 -53
- package/src/models/components/sendfundsacherror.ts +0 -57
- package/src/models/components/sendfundserror.ts +0 -83
- package/src/models/components/sendfundsinstantbank.ts +0 -57
- package/src/models/components/sendfundsinstantbankerror.ts +0 -57
- package/src/models/components/sendfundspushtocard.ts +0 -57
- package/src/models/components/sendfundspushtocarderror.ts +0 -57
- package/src/models/components/sendfundsrtp.ts +0 -53
- package/src/models/components/sendfundsrtperror.ts +0 -57
- package/src/models/components/submissionintent.ts +0 -21
- package/src/models/components/terminalcard.ts +0 -152
- package/src/models/components/ticket.ts +0 -98
- package/src/models/components/ticketcontact.ts +0 -51
- package/src/models/components/ticketmessage.ts +0 -55
- package/src/models/components/updateinvoice.ts +0 -98
- package/src/models/components/updateticket.ts +0 -55
- package/src/models/components/updateticketstatus.ts +0 -20
- package/src/models/components/upsertunderwriting.ts +0 -124
- package/src/models/components/volumesharebycustomertype.ts +0 -59
- package/src/models/components/volumesharebycustomertypeerror.ts +0 -61
- package/src/models/errors/createinvoiceerror.ts +0 -104
- package/src/models/errors/createinvoicepaymenterror.ts +0 -85
- package/src/models/errors/createticketerror.ts +0 -89
- package/src/models/errors/listinvoicesvalidationerror.ts +0 -116
- package/src/models/errors/updateinvoiceerror.ts +0 -100
- package/src/models/errors/updateticketerror.ts +0 -66
- package/src/models/errors/upsertunderwritingerror.ts +0 -178
- package/src/models/operations/createinvoice.ts +0 -187
- package/src/models/operations/createinvoicepayment.ts +0 -197
- package/src/models/operations/createticket.ts +0 -187
- package/src/models/operations/getinvoice.ts +0 -179
- package/src/models/operations/getticket.ts +0 -179
- package/src/models/operations/listinvoicepayments.ts +0 -181
- package/src/models/operations/listinvoices.ts +0 -215
- package/src/models/operations/listticketmessages.ts +0 -179
- package/src/models/operations/listtickets.ts +0 -241
- package/src/models/operations/saveunderwriting.ts +0 -187
- package/src/models/operations/updateinvoice.ts +0 -191
- package/src/models/operations/updateticket.ts +0 -191
- package/src/sdk/invoices.ts +0 -118
- package/src/sdk/support.ts +0 -114
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"supportUpdateTicket.js","sourceRoot":"","sources":["../src/funcs/supportUpdateTicket.ts"],"names":[],"mappings":";AAAA;;GAEG;;;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,0BAA0B,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,EACxE,CAAC,CAAC,OAAO,CAAC,GAAG,EAAE,MAAM,CAAC,+BAA+B,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,EACtE,CAAC,CAAC,IAAI,CAAC,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC,EAC5B,CAAC,CAAC,IAAI,CAAC,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC,EAClB,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,EACb,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CACd,CAAC,QAAQ,EAAE,GAAG,EAAE,EAAE,WAAW,EAAE,cAAc,EAAE,CAAC,CAAC;IAClD,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;QACf,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;IAClE,CAAC;IAED,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;AAClE,CAAC"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { MoovCore } from "../core.js";
|
|
2
|
-
import { RequestOptions } from "../lib/sdks.js";
|
|
3
|
-
import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/httpclienterrors.js";
|
|
4
|
-
import * as errors from "../models/errors/index.js";
|
|
5
|
-
import { MoovError } from "../models/errors/mooverror.js";
|
|
6
|
-
import { ResponseValidationError } from "../models/errors/responsevalidationerror.js";
|
|
7
|
-
import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
|
|
8
|
-
import * as operations from "../models/operations/index.js";
|
|
9
|
-
import { APIPromise } from "../types/async.js";
|
|
10
|
-
import { Result } from "../types/fp.js";
|
|
11
|
-
/**
|
|
12
|
-
* Create or update the account's underwriting.
|
|
13
|
-
*
|
|
14
|
-
* Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/underwriting/) to learn more.
|
|
15
|
-
*
|
|
16
|
-
* To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
17
|
-
* you'll need to specify the `/accounts/{accountID}/profile.write` scope.
|
|
18
|
-
*/
|
|
19
|
-
export declare function underwritingSave(client: MoovCore, request: operations.SaveUnderwritingRequest, options?: RequestOptions): APIPromise<Result<operations.SaveUnderwritingResponse, errors.GenericError | errors.UpsertUnderwritingError | MoovError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
|
|
20
|
-
//# sourceMappingURL=underwritingSave.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"underwritingSave.d.ts","sourceRoot":"","sources":["../src/funcs/underwritingSave.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAKtC,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,KAAK,MAAM,MAAM,2BAA2B,CAAC;AACpD,OAAO,EAAE,SAAS,EAAE,MAAM,+BAA+B,CAAC;AAC1D,OAAO,EAAE,uBAAuB,EAAE,MAAM,6CAA6C,CAAC;AACtF,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC;;;;;;;GAOG;AACH,wBAAgB,gBAAgB,CAC9B,MAAM,EAAE,QAAQ,EAChB,OAAO,EAAE,UAAU,CAAC,uBAAuB,EAC3C,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CACX,MAAM,CACJ,UAAU,CAAC,wBAAwB,EACjC,MAAM,CAAC,YAAY,GACnB,MAAM,CAAC,uBAAuB,GAC9B,SAAS,GACT,uBAAuB,GACvB,eAAe,GACf,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,qBAAqB,GACrB,kBAAkB,CACrB,CACF,CAMA"}
|
|
@@ -1,145 +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.underwritingSave = underwritingSave;
|
|
40
|
-
const encodings_js_1 = require("../lib/encodings.js");
|
|
41
|
-
const M = __importStar(require("../lib/matchers.js"));
|
|
42
|
-
const primitives_js_1 = require("../lib/primitives.js");
|
|
43
|
-
const schemas_js_1 = require("../lib/schemas.js");
|
|
44
|
-
const security_js_1 = require("../lib/security.js");
|
|
45
|
-
const url_js_1 = require("../lib/url.js");
|
|
46
|
-
const errors = __importStar(require("../models/errors/index.js"));
|
|
47
|
-
const operations = __importStar(require("../models/operations/index.js"));
|
|
48
|
-
const async_js_1 = require("../types/async.js");
|
|
49
|
-
/**
|
|
50
|
-
* Create or update the account's underwriting.
|
|
51
|
-
*
|
|
52
|
-
* Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/underwriting/) to learn more.
|
|
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}/profile.write` scope.
|
|
56
|
-
*/
|
|
57
|
-
function underwritingSave(client, request, options) {
|
|
58
|
-
return new async_js_1.APIPromise($do(client, request, options));
|
|
59
|
-
}
|
|
60
|
-
async function $do(client, request, options) {
|
|
61
|
-
const parsed = (0, schemas_js_1.safeParse)(request, (value) => operations.SaveUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
62
|
-
if (!parsed.ok) {
|
|
63
|
-
return [parsed, { status: "invalid" }];
|
|
64
|
-
}
|
|
65
|
-
const payload = parsed.value;
|
|
66
|
-
const body = (0, encodings_js_1.encodeJSON)("body", payload.UpsertUnderwriting, {
|
|
67
|
-
explode: true,
|
|
68
|
-
});
|
|
69
|
-
const pathParams = {
|
|
70
|
-
accountID: (0, encodings_js_1.encodeSimple)("accountID", payload.accountID, {
|
|
71
|
-
explode: false,
|
|
72
|
-
charEncoding: "percent",
|
|
73
|
-
}),
|
|
74
|
-
};
|
|
75
|
-
const path = (0, url_js_1.pathToFunc)("/accounts/{accountID}/underwriting")(pathParams);
|
|
76
|
-
const headers = new Headers((0, primitives_js_1.compactMap)({
|
|
77
|
-
"Content-Type": "application/json",
|
|
78
|
-
Accept: "application/json",
|
|
79
|
-
"X-Moov-Version": (0, encodings_js_1.encodeSimple)("X-Moov-Version", client._options.xMoovVersion, { explode: false, charEncoding: "none" }),
|
|
80
|
-
}));
|
|
81
|
-
const securityInput = await (0, security_js_1.extractSecurity)(client._options.security);
|
|
82
|
-
const requestSecurity = (0, security_js_1.resolveGlobalSecurity)(securityInput);
|
|
83
|
-
const context = {
|
|
84
|
-
options: client._options,
|
|
85
|
-
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
86
|
-
operationID: "saveUnderwriting",
|
|
87
|
-
oAuth2Scopes: null,
|
|
88
|
-
resolvedSecurity: requestSecurity,
|
|
89
|
-
securitySource: client._options.security,
|
|
90
|
-
retryConfig: options?.retries
|
|
91
|
-
|| client._options.retryConfig
|
|
92
|
-
|| { strategy: "none" },
|
|
93
|
-
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
|
94
|
-
};
|
|
95
|
-
const requestRes = client._createRequest(context, {
|
|
96
|
-
security: requestSecurity,
|
|
97
|
-
method: "POST",
|
|
98
|
-
baseURL: options?.serverURL,
|
|
99
|
-
path: path,
|
|
100
|
-
headers: headers,
|
|
101
|
-
body: body,
|
|
102
|
-
userAgent: client._options.userAgent,
|
|
103
|
-
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
104
|
-
}, options);
|
|
105
|
-
if (!requestRes.ok) {
|
|
106
|
-
return [requestRes, { status: "invalid" }];
|
|
107
|
-
}
|
|
108
|
-
const req = requestRes.value;
|
|
109
|
-
const doResult = await client._do(req, {
|
|
110
|
-
context,
|
|
111
|
-
errorCodes: [
|
|
112
|
-
"400",
|
|
113
|
-
"401",
|
|
114
|
-
"403",
|
|
115
|
-
"404",
|
|
116
|
-
"409",
|
|
117
|
-
"422",
|
|
118
|
-
"429",
|
|
119
|
-
"4XX",
|
|
120
|
-
"500",
|
|
121
|
-
"504",
|
|
122
|
-
"5XX",
|
|
123
|
-
],
|
|
124
|
-
retryConfig: context.retryConfig,
|
|
125
|
-
retryCodes: context.retryCodes,
|
|
126
|
-
});
|
|
127
|
-
if (!doResult.ok) {
|
|
128
|
-
return [doResult, { status: "request-error", request: req }];
|
|
129
|
-
}
|
|
130
|
-
const response = doResult.value;
|
|
131
|
-
const responseFields = {
|
|
132
|
-
HttpMeta: { Response: response, Request: req },
|
|
133
|
-
};
|
|
134
|
-
const [result] = await M.match(M.json(200, operations.SaveUnderwritingResponse$inboundSchema, {
|
|
135
|
-
hdrs: true,
|
|
136
|
-
key: "Result",
|
|
137
|
-
}), M.jsonErr([400, 409], errors.GenericError$inboundSchema, { hdrs: true }), M.jsonErr(422, errors.UpsertUnderwritingError$inboundSchema, {
|
|
138
|
-
hdrs: true,
|
|
139
|
-
}), M.fail([401, 403, 404, 429]), M.fail([500, 504]), M.fail("4XX"), M.fail("5XX"))(response, req, { extraFields: responseFields });
|
|
140
|
-
if (!result.ok) {
|
|
141
|
-
return [result, { status: "complete", request: req, response }];
|
|
142
|
-
}
|
|
143
|
-
return [result, { status: "complete", request: req, response }];
|
|
144
|
-
}
|
|
145
|
-
//# sourceMappingURL=underwritingSave.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"underwritingSave.js","sourceRoot":"","sources":["../src/funcs/underwritingSave.ts"],"names":[],"mappings":";AAAA;;GAE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;QAC3D,IAAI,EAAE,IAAI;KACX,CAAC,EACF,CAAC,CAAC,IAAI,CAAC,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC,EAC5B,CAAC,CAAC,IAAI,CAAC,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC,EAClB,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,EACb,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CACd,CAAC,QAAQ,EAAE,GAAG,EAAE,EAAE,WAAW,EAAE,cAAc,EAAE,CAAC,CAAC;IAClD,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;QACf,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;IAClE,CAAC;IAED,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;AAClE,CAAC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import * as operations from "../../models/operations/index.js";
|
|
2
|
-
import { ToolDefinition } from "../tools.js";
|
|
3
|
-
declare const args: {
|
|
4
|
-
request: import("zod").ZodType<operations.CreateInvoiceRequest, import("zod").ZodTypeDef, unknown>;
|
|
5
|
-
};
|
|
6
|
-
export declare const tool$invoicesCreateInvoice: ToolDefinition<typeof args>;
|
|
7
|
-
export {};
|
|
8
|
-
//# sourceMappingURL=invoicesCreateInvoice.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"invoicesCreateInvoice.d.ts","sourceRoot":"","sources":["../../src/mcp-server/tools/invoicesCreateInvoice.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,UAAU,MAAM,kCAAkC,CAAC;AAC/D,OAAO,EAAgB,cAAc,EAAE,MAAM,aAAa,CAAC;AAE3D,QAAA,MAAM,IAAI;;CAET,CAAC;AAEF,eAAO,MAAM,0BAA0B,EAAE,cAAc,CAAC,OAAO,IAAI,CAyBlE,CAAC"}
|
|
@@ -1,65 +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.tool$invoicesCreateInvoice = void 0;
|
|
40
|
-
const invoicesCreateInvoice_js_1 = require("../../funcs/invoicesCreateInvoice.js");
|
|
41
|
-
const operations = __importStar(require("../../models/operations/index.js"));
|
|
42
|
-
const tools_js_1 = require("../tools.js");
|
|
43
|
-
const args = {
|
|
44
|
-
request: operations.CreateInvoiceRequest$inboundSchema,
|
|
45
|
-
};
|
|
46
|
-
exports.tool$invoicesCreateInvoice = {
|
|
47
|
-
name: "invoices-create-invoice",
|
|
48
|
-
description: `Create an invoice for a Moov account.
|
|
49
|
-
|
|
50
|
-
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
51
|
-
you'll need to specify the \`/accounts/{accountID}/invoices.write\` scope.`,
|
|
52
|
-
args,
|
|
53
|
-
tool: async (client, args, ctx) => {
|
|
54
|
-
const [result, apiCall] = await (0, invoicesCreateInvoice_js_1.invoicesCreateInvoice)(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
55
|
-
if (!result.ok) {
|
|
56
|
-
return {
|
|
57
|
-
content: [{ type: "text", text: result.error.message }],
|
|
58
|
-
isError: true,
|
|
59
|
-
};
|
|
60
|
-
}
|
|
61
|
-
const value = result.value.result;
|
|
62
|
-
return (0, tools_js_1.formatResult)(value, apiCall);
|
|
63
|
-
},
|
|
64
|
-
};
|
|
65
|
-
//# sourceMappingURL=invoicesCreateInvoice.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"invoicesCreateInvoice.js","sourceRoot":"","sources":["../../src/mcp-server/tools/invoicesCreateInvoice.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,mFAA6E;AAC7E,6EAA+D;AAC/D,0CAA2D;AAE3D,MAAM,IAAI,GAAG;IACX,OAAO,EAAE,UAAU,CAAC,kCAAkC;CACvD,CAAC;AAEW,QAAA,0BAA0B,GAAgC;IACrE,IAAI,EAAE,yBAAyB;IAC/B,WAAW,EAAE;;;2EAG4D;IACzE,IAAI;IACJ,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,EAAE,EAAE;QAChC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,IAAA,gDAAqB,EACnD,MAAM,EACN,IAAI,CAAC,OAAO,EACZ,EAAE,YAAY,EAAE,EAAE,MAAM,EAAE,GAAG,CAAC,MAAM,EAAE,EAAE,CACzC,CAAC,QAAQ,EAAE,CAAC;QAEb,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;YACf,OAAO;gBACL,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,EAAE,CAAC;gBACvD,OAAO,EAAE,IAAI;aACd,CAAC;QACJ,CAAC;QAED,MAAM,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC;QAElC,OAAO,IAAA,uBAAY,EAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACtC,CAAC;CACF,CAAC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import * as operations from "../../models/operations/index.js";
|
|
2
|
-
import { ToolDefinition } from "../tools.js";
|
|
3
|
-
declare const args: {
|
|
4
|
-
request: import("zod").ZodType<operations.CreateInvoicePaymentRequest, import("zod").ZodTypeDef, unknown>;
|
|
5
|
-
};
|
|
6
|
-
export declare const tool$invoicesCreateInvoicePayment: ToolDefinition<typeof args>;
|
|
7
|
-
export {};
|
|
8
|
-
//# sourceMappingURL=invoicesCreateInvoicePayment.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"invoicesCreateInvoicePayment.d.ts","sourceRoot":"","sources":["../../src/mcp-server/tools/invoicesCreateInvoicePayment.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,UAAU,MAAM,kCAAkC,CAAC;AAC/D,OAAO,EAAgB,cAAc,EAAE,MAAM,aAAa,CAAC;AAE3D,QAAA,MAAM,IAAI;;CAET,CAAC;AAEF,eAAO,MAAM,iCAAiC,EAAE,cAAc,CAAC,OAAO,IAAI,CA2BzE,CAAC"}
|
|
@@ -1,66 +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.tool$invoicesCreateInvoicePayment = void 0;
|
|
40
|
-
const invoicesCreateInvoicePayment_js_1 = require("../../funcs/invoicesCreateInvoicePayment.js");
|
|
41
|
-
const operations = __importStar(require("../../models/operations/index.js"));
|
|
42
|
-
const tools_js_1 = require("../tools.js");
|
|
43
|
-
const args = {
|
|
44
|
-
request: operations.CreateInvoicePaymentRequest$inboundSchema,
|
|
45
|
-
};
|
|
46
|
-
exports.tool$invoicesCreateInvoicePayment = {
|
|
47
|
-
name: "invoices-create-invoice-payment",
|
|
48
|
-
description: `Creates a payment resource to represent that an invoice was paid outside of the Moov platform.
|
|
49
|
-
If a payment link was created for the invoice, the corresponding payment link is canceled, but a receipt is still sent.
|
|
50
|
-
|
|
51
|
-
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
52
|
-
you'll need to specify the \`/accounts/{accountID}/invoices.write\` scope.`,
|
|
53
|
-
args,
|
|
54
|
-
tool: async (client, args, ctx) => {
|
|
55
|
-
const [result, apiCall] = await (0, invoicesCreateInvoicePayment_js_1.invoicesCreateInvoicePayment)(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
56
|
-
if (!result.ok) {
|
|
57
|
-
return {
|
|
58
|
-
content: [{ type: "text", text: result.error.message }],
|
|
59
|
-
isError: true,
|
|
60
|
-
};
|
|
61
|
-
}
|
|
62
|
-
const value = result.value.result;
|
|
63
|
-
return (0, tools_js_1.formatResult)(value, apiCall);
|
|
64
|
-
},
|
|
65
|
-
};
|
|
66
|
-
//# sourceMappingURL=invoicesCreateInvoicePayment.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"invoicesCreateInvoicePayment.js","sourceRoot":"","sources":["../../src/mcp-server/tools/invoicesCreateInvoicePayment.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,iGAA2F;AAC3F,6EAA+D;AAC/D,0CAA2D;AAE3D,MAAM,IAAI,GAAG;IACX,OAAO,EAAE,UAAU,CAAC,yCAAyC;CAC9D,CAAC;AAEW,QAAA,iCAAiC,GAAgC;IAC5E,IAAI,EAAE,iCAAiC;IACvC,WAAW,EACT;;;;2EAIuE;IACzE,IAAI;IACJ,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,EAAE,EAAE;QAChC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,IAAA,8DAA4B,EAC1D,MAAM,EACN,IAAI,CAAC,OAAO,EACZ,EAAE,YAAY,EAAE,EAAE,MAAM,EAAE,GAAG,CAAC,MAAM,EAAE,EAAE,CACzC,CAAC,QAAQ,EAAE,CAAC;QAEb,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;YACf,OAAO;gBACL,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,EAAE,CAAC;gBACvD,OAAO,EAAE,IAAI;aACd,CAAC;QACJ,CAAC;QAED,MAAM,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC;QAElC,OAAO,IAAA,uBAAY,EAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACtC,CAAC;CACF,CAAC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import * as operations from "../../models/operations/index.js";
|
|
2
|
-
import { ToolDefinition } from "../tools.js";
|
|
3
|
-
declare const args: {
|
|
4
|
-
request: import("zod").ZodType<operations.GetInvoiceRequest, import("zod").ZodTypeDef, unknown>;
|
|
5
|
-
};
|
|
6
|
-
export declare const tool$invoicesGetInvoice: ToolDefinition<typeof args>;
|
|
7
|
-
export {};
|
|
8
|
-
//# sourceMappingURL=invoicesGetInvoice.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"invoicesGetInvoice.d.ts","sourceRoot":"","sources":["../../src/mcp-server/tools/invoicesGetInvoice.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,UAAU,MAAM,kCAAkC,CAAC;AAC/D,OAAO,EAAgB,cAAc,EAAE,MAAM,aAAa,CAAC;AAE3D,QAAA,MAAM,IAAI;;CAET,CAAC;AAEF,eAAO,MAAM,uBAAuB,EAAE,cAAc,CAAC,OAAO,IAAI,CAyB/D,CAAC"}
|
|
@@ -1,65 +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.tool$invoicesGetInvoice = void 0;
|
|
40
|
-
const invoicesGetInvoice_js_1 = require("../../funcs/invoicesGetInvoice.js");
|
|
41
|
-
const operations = __importStar(require("../../models/operations/index.js"));
|
|
42
|
-
const tools_js_1 = require("../tools.js");
|
|
43
|
-
const args = {
|
|
44
|
-
request: operations.GetInvoiceRequest$inboundSchema,
|
|
45
|
-
};
|
|
46
|
-
exports.tool$invoicesGetInvoice = {
|
|
47
|
-
name: "invoices-get-invoice",
|
|
48
|
-
description: `Retrieve an invoice by ID.
|
|
49
|
-
|
|
50
|
-
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
51
|
-
you'll need to specify the \`/accounts/{accountID}/invoices.read\` scope.`,
|
|
52
|
-
args,
|
|
53
|
-
tool: async (client, args, ctx) => {
|
|
54
|
-
const [result, apiCall] = await (0, invoicesGetInvoice_js_1.invoicesGetInvoice)(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
55
|
-
if (!result.ok) {
|
|
56
|
-
return {
|
|
57
|
-
content: [{ type: "text", text: result.error.message }],
|
|
58
|
-
isError: true,
|
|
59
|
-
};
|
|
60
|
-
}
|
|
61
|
-
const value = result.value.result;
|
|
62
|
-
return (0, tools_js_1.formatResult)(value, apiCall);
|
|
63
|
-
},
|
|
64
|
-
};
|
|
65
|
-
//# sourceMappingURL=invoicesGetInvoice.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"invoicesGetInvoice.js","sourceRoot":"","sources":["../../src/mcp-server/tools/invoicesGetInvoice.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,6EAAuE;AACvE,6EAA+D;AAC/D,0CAA2D;AAE3D,MAAM,IAAI,GAAG;IACX,OAAO,EAAE,UAAU,CAAC,+BAA+B;CACpD,CAAC;AAEW,QAAA,uBAAuB,GAAgC;IAClE,IAAI,EAAE,sBAAsB;IAC5B,WAAW,EAAE;;;0EAG2D;IACxE,IAAI;IACJ,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,EAAE,EAAE;QAChC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,IAAA,0CAAkB,EAChD,MAAM,EACN,IAAI,CAAC,OAAO,EACZ,EAAE,YAAY,EAAE,EAAE,MAAM,EAAE,GAAG,CAAC,MAAM,EAAE,EAAE,CACzC,CAAC,QAAQ,EAAE,CAAC;QAEb,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;YACf,OAAO;gBACL,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,EAAE,CAAC;gBACvD,OAAO,EAAE,IAAI;aACd,CAAC;QACJ,CAAC;QAED,MAAM,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC;QAElC,OAAO,IAAA,uBAAY,EAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACtC,CAAC;CACF,CAAC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import * as operations from "../../models/operations/index.js";
|
|
2
|
-
import { ToolDefinition } from "../tools.js";
|
|
3
|
-
declare const args: {
|
|
4
|
-
request: import("zod").ZodType<operations.ListInvoicePaymentsRequest, import("zod").ZodTypeDef, unknown>;
|
|
5
|
-
};
|
|
6
|
-
export declare const tool$invoicesListInvoicePayments: ToolDefinition<typeof args>;
|
|
7
|
-
export {};
|
|
8
|
-
//# sourceMappingURL=invoicesListInvoicePayments.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"invoicesListInvoicePayments.d.ts","sourceRoot":"","sources":["../../src/mcp-server/tools/invoicesListInvoicePayments.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,UAAU,MAAM,kCAAkC,CAAC;AAC/D,OAAO,EAAgB,cAAc,EAAE,MAAM,aAAa,CAAC;AAE3D,QAAA,MAAM,IAAI;;CAET,CAAC;AAEF,eAAO,MAAM,gCAAgC,EAAE,cAAc,CAAC,OAAO,IAAI,CAyBxE,CAAC"}
|
|
@@ -1,65 +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.tool$invoicesListInvoicePayments = void 0;
|
|
40
|
-
const invoicesListInvoicePayments_js_1 = require("../../funcs/invoicesListInvoicePayments.js");
|
|
41
|
-
const operations = __importStar(require("../../models/operations/index.js"));
|
|
42
|
-
const tools_js_1 = require("../tools.js");
|
|
43
|
-
const args = {
|
|
44
|
-
request: operations.ListInvoicePaymentsRequest$inboundSchema,
|
|
45
|
-
};
|
|
46
|
-
exports.tool$invoicesListInvoicePayments = {
|
|
47
|
-
name: "invoices-list-invoice-payments",
|
|
48
|
-
description: `List all the payments made towards an invoice.
|
|
49
|
-
|
|
50
|
-
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
51
|
-
you'll need to specify the \`/accounts/{accountID}/invoices.read\` scope.`,
|
|
52
|
-
args,
|
|
53
|
-
tool: async (client, args, ctx) => {
|
|
54
|
-
const [result, apiCall] = await (0, invoicesListInvoicePayments_js_1.invoicesListInvoicePayments)(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
55
|
-
if (!result.ok) {
|
|
56
|
-
return {
|
|
57
|
-
content: [{ type: "text", text: result.error.message }],
|
|
58
|
-
isError: true,
|
|
59
|
-
};
|
|
60
|
-
}
|
|
61
|
-
const value = result.value.result;
|
|
62
|
-
return (0, tools_js_1.formatResult)(value, apiCall);
|
|
63
|
-
},
|
|
64
|
-
};
|
|
65
|
-
//# sourceMappingURL=invoicesListInvoicePayments.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"invoicesListInvoicePayments.js","sourceRoot":"","sources":["../../src/mcp-server/tools/invoicesListInvoicePayments.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,+FAAyF;AACzF,6EAA+D;AAC/D,0CAA2D;AAE3D,MAAM,IAAI,GAAG;IACX,OAAO,EAAE,UAAU,CAAC,wCAAwC;CAC7D,CAAC;AAEW,QAAA,gCAAgC,GAAgC;IAC3E,IAAI,EAAE,gCAAgC;IACtC,WAAW,EAAE;;;0EAG2D;IACxE,IAAI;IACJ,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,EAAE,EAAE;QAChC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,IAAA,4DAA2B,EACzD,MAAM,EACN,IAAI,CAAC,OAAO,EACZ,EAAE,YAAY,EAAE,EAAE,MAAM,EAAE,GAAG,CAAC,MAAM,EAAE,EAAE,CACzC,CAAC,QAAQ,EAAE,CAAC;QAEb,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;YACf,OAAO;gBACL,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,EAAE,CAAC;gBACvD,OAAO,EAAE,IAAI;aACd,CAAC;QACJ,CAAC;QAED,MAAM,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC;QAElC,OAAO,IAAA,uBAAY,EAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACtC,CAAC;CACF,CAAC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import * as operations from "../../models/operations/index.js";
|
|
2
|
-
import { ToolDefinition } from "../tools.js";
|
|
3
|
-
declare const args: {
|
|
4
|
-
request: import("zod").ZodType<operations.ListInvoicesRequest, import("zod").ZodTypeDef, unknown>;
|
|
5
|
-
};
|
|
6
|
-
export declare const tool$invoicesListInvoices: ToolDefinition<typeof args>;
|
|
7
|
-
export {};
|
|
8
|
-
//# sourceMappingURL=invoicesListInvoices.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"invoicesListInvoices.d.ts","sourceRoot":"","sources":["../../src/mcp-server/tools/invoicesListInvoices.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,UAAU,MAAM,kCAAkC,CAAC;AAC/D,OAAO,EAAgB,cAAc,EAAE,MAAM,aAAa,CAAC;AAE3D,QAAA,MAAM,IAAI;;CAET,CAAC;AAEF,eAAO,MAAM,yBAAyB,EAAE,cAAc,CAAC,OAAO,IAAI,CAyBjE,CAAC"}
|
|
@@ -1,65 +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.tool$invoicesListInvoices = void 0;
|
|
40
|
-
const invoicesListInvoices_js_1 = require("../../funcs/invoicesListInvoices.js");
|
|
41
|
-
const operations = __importStar(require("../../models/operations/index.js"));
|
|
42
|
-
const tools_js_1 = require("../tools.js");
|
|
43
|
-
const args = {
|
|
44
|
-
request: operations.ListInvoicesRequest$inboundSchema,
|
|
45
|
-
};
|
|
46
|
-
exports.tool$invoicesListInvoices = {
|
|
47
|
-
name: "invoices-list-invoices",
|
|
48
|
-
description: `List all the invoices created under a Moov account.
|
|
49
|
-
|
|
50
|
-
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
51
|
-
you'll need to specify the \`/accounts/{accountID}/invoices.read\` scope.`,
|
|
52
|
-
args,
|
|
53
|
-
tool: async (client, args, ctx) => {
|
|
54
|
-
const [result, apiCall] = await (0, invoicesListInvoices_js_1.invoicesListInvoices)(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
55
|
-
if (!result.ok) {
|
|
56
|
-
return {
|
|
57
|
-
content: [{ type: "text", text: result.error.message }],
|
|
58
|
-
isError: true,
|
|
59
|
-
};
|
|
60
|
-
}
|
|
61
|
-
const value = result.value.result;
|
|
62
|
-
return (0, tools_js_1.formatResult)(value, apiCall);
|
|
63
|
-
},
|
|
64
|
-
};
|
|
65
|
-
//# sourceMappingURL=invoicesListInvoices.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"invoicesListInvoices.js","sourceRoot":"","sources":["../../src/mcp-server/tools/invoicesListInvoices.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,iFAA2E;AAC3E,6EAA+D;AAC/D,0CAA2D;AAE3D,MAAM,IAAI,GAAG;IACX,OAAO,EAAE,UAAU,CAAC,iCAAiC;CACtD,CAAC;AAEW,QAAA,yBAAyB,GAAgC;IACpE,IAAI,EAAE,wBAAwB;IAC9B,WAAW,EAAE;;;0EAG2D;IACxE,IAAI;IACJ,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,EAAE,EAAE;QAChC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,IAAA,8CAAoB,EAClD,MAAM,EACN,IAAI,CAAC,OAAO,EACZ,EAAE,YAAY,EAAE,EAAE,MAAM,EAAE,GAAG,CAAC,MAAM,EAAE,EAAE,CACzC,CAAC,QAAQ,EAAE,CAAC;QAEb,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;YACf,OAAO;gBACL,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,EAAE,CAAC;gBACvD,OAAO,EAAE,IAAI;aACd,CAAC;QACJ,CAAC;QAED,MAAM,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC;QAElC,OAAO,IAAA,uBAAY,EAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACtC,CAAC;CACF,CAAC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import * as operations from "../../models/operations/index.js";
|
|
2
|
-
import { ToolDefinition } from "../tools.js";
|
|
3
|
-
declare const args: {
|
|
4
|
-
request: import("zod").ZodType<operations.UpdateInvoiceRequest, import("zod").ZodTypeDef, unknown>;
|
|
5
|
-
};
|
|
6
|
-
export declare const tool$invoicesUpdateInvoice: ToolDefinition<typeof args>;
|
|
7
|
-
export {};
|
|
8
|
-
//# sourceMappingURL=invoicesUpdateInvoice.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"invoicesUpdateInvoice.d.ts","sourceRoot":"","sources":["../../src/mcp-server/tools/invoicesUpdateInvoice.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,UAAU,MAAM,kCAAkC,CAAC;AAC/D,OAAO,EAAgB,cAAc,EAAE,MAAM,aAAa,CAAC;AAE3D,QAAA,MAAM,IAAI;;CAET,CAAC;AAEF,eAAO,MAAM,0BAA0B,EAAE,cAAc,CAAC,OAAO,IAAI,CAyBlE,CAAC"}
|