@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,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.IndustryTaxonomy$outboundSchema = exports.IndustryTaxonomy$inboundSchema = void 0;
|
|
40
|
-
exports.industryTaxonomyToJSON = industryTaxonomyToJSON;
|
|
41
|
-
exports.industryTaxonomyFromJSON = industryTaxonomyFromJSON;
|
|
42
|
-
const z = __importStar(require("zod/v3"));
|
|
43
|
-
const schemas_js_1 = require("../../lib/schemas.js");
|
|
44
|
-
/** @internal */
|
|
45
|
-
exports.IndustryTaxonomy$inboundSchema = z.object({
|
|
46
|
-
industry: z.string(),
|
|
47
|
-
displayName: z.string(),
|
|
48
|
-
category: z.string(),
|
|
49
|
-
categoryDisplayName: z.string(),
|
|
50
|
-
defaultMcc: z.string(),
|
|
51
|
-
});
|
|
52
|
-
/** @internal */
|
|
53
|
-
exports.IndustryTaxonomy$outboundSchema = z.object({
|
|
54
|
-
industry: z.string(),
|
|
55
|
-
displayName: z.string(),
|
|
56
|
-
category: z.string(),
|
|
57
|
-
categoryDisplayName: z.string(),
|
|
58
|
-
defaultMcc: z.string(),
|
|
59
|
-
});
|
|
60
|
-
function industryTaxonomyToJSON(industryTaxonomy) {
|
|
61
|
-
return JSON.stringify(exports.IndustryTaxonomy$outboundSchema.parse(industryTaxonomy));
|
|
62
|
-
}
|
|
63
|
-
function industryTaxonomyFromJSON(jsonString) {
|
|
64
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.IndustryTaxonomy$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'IndustryTaxonomy' from JSON`);
|
|
65
|
-
}
|
|
66
|
-
//# sourceMappingURL=industrytaxonomy.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"industrytaxonomy.js","sourceRoot":"","sources":["../../src/models/components/industrytaxonomy.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmEH,wDAMC;AACD,4DAQC;AAhFD,0CAA4B;AAC5B,qDAAiD;AA8BjD,gBAAgB;AACH,QAAA,8BAA8B,GAIvC,CAAC,CAAC,MAAM,CAAC;IACX,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE;IACvB,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,mBAAmB,EAAE,CAAC,CAAC,MAAM,EAAE;IAC/B,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE;CACvB,CAAC,CAAC;AAUH,gBAAgB;AACH,QAAA,+BAA+B,GAIxC,CAAC,CAAC,MAAM,CAAC;IACX,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE;IACvB,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,mBAAmB,EAAE,CAAC,CAAC,MAAM,EAAE;IAC/B,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE;CACvB,CAAC,CAAC;AAEH,SAAgB,sBAAsB,CACpC,gBAAkC;IAElC,OAAO,IAAI,CAAC,SAAS,CACnB,uCAA+B,CAAC,KAAK,CAAC,gBAAgB,CAAC,CACxD,CAAC;AACJ,CAAC;AACD,SAAgB,wBAAwB,CACtC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,sCAA8B,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC1D,8CAA8C,CAC/C,CAAC;AACJ,CAAC"}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import * as z from "zod/v3";
|
|
2
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
-
import { PaymentMethodsBankAccount, PaymentMethodsBankAccount$Outbound } from "./paymentmethodsbankaccount.js";
|
|
5
|
-
/**
|
|
6
|
-
* Instantly send funds to a bank account.
|
|
7
|
-
*/
|
|
8
|
-
export type InstantBankCreditPaymentMethod = {
|
|
9
|
-
/**
|
|
10
|
-
* ID of the payment method.
|
|
11
|
-
*/
|
|
12
|
-
paymentMethodID: string;
|
|
13
|
-
paymentMethodType: "instant-bank-credit";
|
|
14
|
-
/**
|
|
15
|
-
* A bank account as contained within a payment method.
|
|
16
|
-
*/
|
|
17
|
-
bankAccount: PaymentMethodsBankAccount;
|
|
18
|
-
};
|
|
19
|
-
/** @internal */
|
|
20
|
-
export declare const InstantBankCreditPaymentMethod$inboundSchema: z.ZodType<InstantBankCreditPaymentMethod, z.ZodTypeDef, unknown>;
|
|
21
|
-
/** @internal */
|
|
22
|
-
export type InstantBankCreditPaymentMethod$Outbound = {
|
|
23
|
-
paymentMethodID: string;
|
|
24
|
-
paymentMethodType: "instant-bank-credit";
|
|
25
|
-
bankAccount: PaymentMethodsBankAccount$Outbound;
|
|
26
|
-
};
|
|
27
|
-
/** @internal */
|
|
28
|
-
export declare const InstantBankCreditPaymentMethod$outboundSchema: z.ZodType<InstantBankCreditPaymentMethod$Outbound, z.ZodTypeDef, InstantBankCreditPaymentMethod>;
|
|
29
|
-
export declare function instantBankCreditPaymentMethodToJSON(instantBankCreditPaymentMethod: InstantBankCreditPaymentMethod): string;
|
|
30
|
-
export declare function instantBankCreditPaymentMethodFromJSON(jsonString: string): SafeParseResult<InstantBankCreditPaymentMethod, SDKValidationError>;
|
|
31
|
-
//# sourceMappingURL=instantbankcreditpaymentmethod.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"instantbankcreditpaymentmethod.d.ts","sourceRoot":"","sources":["../../src/models/components/instantbankcreditpaymentmethod.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,yBAAyB,EAEzB,kCAAkC,EAEnC,MAAM,gCAAgC,CAAC;AAExC;;GAEG;AACH,MAAM,MAAM,8BAA8B,GAAG;IAC3C;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC;IACxB,iBAAiB,EAAE,qBAAqB,CAAC;IACzC;;OAEG;IACH,WAAW,EAAE,yBAAyB,CAAC;CACxC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,4CAA4C,EAAE,CAAC,CAAC,OAAO,CAClE,8BAA8B,EAC9B,CAAC,CAAC,UAAU,EACZ,OAAO,CAKP,CAAC;AACH,gBAAgB;AAChB,MAAM,MAAM,uCAAuC,GAAG;IACpD,eAAe,EAAE,MAAM,CAAC;IACxB,iBAAiB,EAAE,qBAAqB,CAAC;IACzC,WAAW,EAAE,kCAAkC,CAAC;CACjD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,6CAA6C,EAAE,CAAC,CAAC,OAAO,CACnE,uCAAuC,EACvC,CAAC,CAAC,UAAU,EACZ,8BAA8B,CAK9B,CAAC;AAEH,wBAAgB,oCAAoC,CAClD,8BAA8B,EAAE,8BAA8B,GAC7D,MAAM,CAMR;AACD,wBAAgB,sCAAsC,CACpD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,8BAA8B,EAAE,kBAAkB,CAAC,CAMrE"}
|
|
@@ -1,63 +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.InstantBankCreditPaymentMethod$outboundSchema = exports.InstantBankCreditPaymentMethod$inboundSchema = void 0;
|
|
40
|
-
exports.instantBankCreditPaymentMethodToJSON = instantBankCreditPaymentMethodToJSON;
|
|
41
|
-
exports.instantBankCreditPaymentMethodFromJSON = instantBankCreditPaymentMethodFromJSON;
|
|
42
|
-
const z = __importStar(require("zod/v3"));
|
|
43
|
-
const schemas_js_1 = require("../../lib/schemas.js");
|
|
44
|
-
const paymentmethodsbankaccount_js_1 = require("./paymentmethodsbankaccount.js");
|
|
45
|
-
/** @internal */
|
|
46
|
-
exports.InstantBankCreditPaymentMethod$inboundSchema = z.object({
|
|
47
|
-
paymentMethodID: z.string(),
|
|
48
|
-
paymentMethodType: z.literal("instant-bank-credit"),
|
|
49
|
-
bankAccount: paymentmethodsbankaccount_js_1.PaymentMethodsBankAccount$inboundSchema,
|
|
50
|
-
});
|
|
51
|
-
/** @internal */
|
|
52
|
-
exports.InstantBankCreditPaymentMethod$outboundSchema = z.object({
|
|
53
|
-
paymentMethodID: z.string(),
|
|
54
|
-
paymentMethodType: z.literal("instant-bank-credit"),
|
|
55
|
-
bankAccount: paymentmethodsbankaccount_js_1.PaymentMethodsBankAccount$outboundSchema,
|
|
56
|
-
});
|
|
57
|
-
function instantBankCreditPaymentMethodToJSON(instantBankCreditPaymentMethod) {
|
|
58
|
-
return JSON.stringify(exports.InstantBankCreditPaymentMethod$outboundSchema.parse(instantBankCreditPaymentMethod));
|
|
59
|
-
}
|
|
60
|
-
function instantBankCreditPaymentMethodFromJSON(jsonString) {
|
|
61
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.InstantBankCreditPaymentMethod$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'InstantBankCreditPaymentMethod' from JSON`);
|
|
62
|
-
}
|
|
63
|
-
//# sourceMappingURL=instantbankcreditpaymentmethod.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"instantbankcreditpaymentmethod.js","sourceRoot":"","sources":["../../src/models/components/instantbankcreditpaymentmethod.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwDH,oFAQC;AACD,wFAQC;AAvED,0CAA4B;AAC5B,qDAAiD;AAGjD,iFAKwC;AAiBxC,gBAAgB;AACH,QAAA,4CAA4C,GAIrD,CAAC,CAAC,MAAM,CAAC;IACX,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE;IAC3B,iBAAiB,EAAE,CAAC,CAAC,OAAO,CAAC,qBAAqB,CAAC;IACnD,WAAW,EAAE,sEAAuC;CACrD,CAAC,CAAC;AAQH,gBAAgB;AACH,QAAA,6CAA6C,GAItD,CAAC,CAAC,MAAM,CAAC;IACX,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE;IAC3B,iBAAiB,EAAE,CAAC,CAAC,OAAO,CAAC,qBAAqB,CAAC;IACnD,WAAW,EAAE,uEAAwC;CACtD,CAAC,CAAC;AAEH,SAAgB,oCAAoC,CAClD,8BAA8D;IAE9D,OAAO,IAAI,CAAC,SAAS,CACnB,qDAA6C,CAAC,KAAK,CACjD,8BAA8B,CAC/B,CACF,CAAC;AACJ,CAAC;AACD,SAAgB,sCAAsC,CACpD,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,oDAA4C,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACxE,4DAA4D,CAC7D,CAAC;AACJ,CAAC"}
|
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
import * as z from "zod/v3";
|
|
2
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
-
import { AmountDecimal, AmountDecimal$Outbound } from "./amountdecimal.js";
|
|
5
|
-
import { InvoiceLineItems, InvoiceLineItems$Outbound } from "./invoicelineitems.js";
|
|
6
|
-
import { InvoicePayment, InvoicePayment$Outbound } from "./invoicepayment.js";
|
|
7
|
-
import { InvoiceStatus } from "./invoicestatus.js";
|
|
8
|
-
export type Invoice = {
|
|
9
|
-
/**
|
|
10
|
-
* A unique identifier for a Moov resource. Supports UUID format (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx) or typed format with base32-encoded UUID and type suffix (e.g., kuoaydiojf7uszaokc2ggnaaaa_xfer).
|
|
11
|
-
*/
|
|
12
|
-
invoiceID: string;
|
|
13
|
-
invoiceNumber: string;
|
|
14
|
-
description?: string | undefined;
|
|
15
|
-
/**
|
|
16
|
-
* A unique identifier for a Moov resource. Supports UUID format (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx) or typed format with base32-encoded UUID and type suffix (e.g., kuoaydiojf7uszaokc2ggnaaaa_xfer).
|
|
17
|
-
*/
|
|
18
|
-
customerAccountID: string;
|
|
19
|
-
/**
|
|
20
|
-
* A unique identifier for a Moov resource. Supports UUID format (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx) or typed format with base32-encoded UUID and type suffix (e.g., kuoaydiojf7uszaokc2ggnaaaa_xfer).
|
|
21
|
-
*/
|
|
22
|
-
partnerAccountID: string;
|
|
23
|
-
status: InvoiceStatus;
|
|
24
|
-
/**
|
|
25
|
-
* A collection of line items for an invoice.
|
|
26
|
-
*/
|
|
27
|
-
lineItems: InvoiceLineItems;
|
|
28
|
-
subtotalAmount: AmountDecimal;
|
|
29
|
-
taxAmount: AmountDecimal;
|
|
30
|
-
/**
|
|
31
|
-
* Total amount of the invoice, sum of subTotalAmount and taxAmount
|
|
32
|
-
*/
|
|
33
|
-
totalAmount: AmountDecimal;
|
|
34
|
-
/**
|
|
35
|
-
* Total amount of pending transfers paid towards the invoice
|
|
36
|
-
*/
|
|
37
|
-
pendingAmount: AmountDecimal;
|
|
38
|
-
/**
|
|
39
|
-
* Total amount of completed transfers paid towards the invoice
|
|
40
|
-
*/
|
|
41
|
-
paidAmount: AmountDecimal;
|
|
42
|
-
/**
|
|
43
|
-
* Total amount of refunds initiated against transfers paid towards the invoice
|
|
44
|
-
*/
|
|
45
|
-
refundedAmount: AmountDecimal;
|
|
46
|
-
/**
|
|
47
|
-
* Total amount of disputes initiated against transfers paid towards the invoice
|
|
48
|
-
*/
|
|
49
|
-
disputedAmount: AmountDecimal;
|
|
50
|
-
paymentLinkCode?: string | undefined;
|
|
51
|
-
/**
|
|
52
|
-
* Payment made towards an invoice, will be either a transfer or an external payment.
|
|
53
|
-
*/
|
|
54
|
-
invoicePayments?: Array<InvoicePayment> | undefined;
|
|
55
|
-
createdOn: Date;
|
|
56
|
-
invoiceDate?: Date | undefined;
|
|
57
|
-
dueDate?: Date | undefined;
|
|
58
|
-
sentOn?: Date | undefined;
|
|
59
|
-
paidOn?: Date | undefined;
|
|
60
|
-
canceledOn?: Date | undefined;
|
|
61
|
-
};
|
|
62
|
-
/** @internal */
|
|
63
|
-
export declare const Invoice$inboundSchema: z.ZodType<Invoice, z.ZodTypeDef, unknown>;
|
|
64
|
-
/** @internal */
|
|
65
|
-
export type Invoice$Outbound = {
|
|
66
|
-
invoiceID: string;
|
|
67
|
-
invoiceNumber: string;
|
|
68
|
-
description?: string | undefined;
|
|
69
|
-
customerAccountID: string;
|
|
70
|
-
partnerAccountID: string;
|
|
71
|
-
status: string;
|
|
72
|
-
lineItems: InvoiceLineItems$Outbound;
|
|
73
|
-
subtotalAmount: AmountDecimal$Outbound;
|
|
74
|
-
taxAmount: AmountDecimal$Outbound;
|
|
75
|
-
totalAmount: AmountDecimal$Outbound;
|
|
76
|
-
pendingAmount: AmountDecimal$Outbound;
|
|
77
|
-
paidAmount: AmountDecimal$Outbound;
|
|
78
|
-
refundedAmount: AmountDecimal$Outbound;
|
|
79
|
-
disputedAmount: AmountDecimal$Outbound;
|
|
80
|
-
paymentLinkCode?: string | undefined;
|
|
81
|
-
invoicePayments?: Array<InvoicePayment$Outbound> | undefined;
|
|
82
|
-
createdOn: string;
|
|
83
|
-
invoiceDate?: string | undefined;
|
|
84
|
-
dueDate?: string | undefined;
|
|
85
|
-
sentOn?: string | undefined;
|
|
86
|
-
paidOn?: string | undefined;
|
|
87
|
-
canceledOn?: string | undefined;
|
|
88
|
-
};
|
|
89
|
-
/** @internal */
|
|
90
|
-
export declare const Invoice$outboundSchema: z.ZodType<Invoice$Outbound, z.ZodTypeDef, Invoice>;
|
|
91
|
-
export declare function invoiceToJSON(invoice: Invoice): string;
|
|
92
|
-
export declare function invoiceFromJSON(jsonString: string): SafeParseResult<Invoice, SDKValidationError>;
|
|
93
|
-
//# sourceMappingURL=invoice.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"invoice.d.ts","sourceRoot":"","sources":["../../src/models/components/invoice.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,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C,CAAC,OAAO,CAC5C,gBAAgB,EAChB,CAAC,CAAC,UAAU,EACZ,OAAO,CAwBP,CAAC;AAEH,wBAAgB,aAAa,CAAC,OAAO,EAAE,OAAO,GAAG,MAAM,CAEtD;AACD,wBAAgB,eAAe,CAC7B,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,OAAO,EAAE,kBAAkB,CAAC,CAM9C"}
|
|
@@ -1,107 +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.Invoice$outboundSchema = exports.Invoice$inboundSchema = void 0;
|
|
40
|
-
exports.invoiceToJSON = invoiceToJSON;
|
|
41
|
-
exports.invoiceFromJSON = invoiceFromJSON;
|
|
42
|
-
const z = __importStar(require("zod/v3"));
|
|
43
|
-
const schemas_js_1 = require("../../lib/schemas.js");
|
|
44
|
-
const amountdecimal_js_1 = require("./amountdecimal.js");
|
|
45
|
-
const invoicelineitems_js_1 = require("./invoicelineitems.js");
|
|
46
|
-
const invoicepayment_js_1 = require("./invoicepayment.js");
|
|
47
|
-
const invoicestatus_js_1 = require("./invoicestatus.js");
|
|
48
|
-
/** @internal */
|
|
49
|
-
exports.Invoice$inboundSchema = z.object({
|
|
50
|
-
invoiceID: z.string(),
|
|
51
|
-
invoiceNumber: z.string(),
|
|
52
|
-
description: z.string().optional(),
|
|
53
|
-
customerAccountID: z.string(),
|
|
54
|
-
partnerAccountID: z.string(),
|
|
55
|
-
status: invoicestatus_js_1.InvoiceStatus$inboundSchema,
|
|
56
|
-
lineItems: invoicelineitems_js_1.InvoiceLineItems$inboundSchema,
|
|
57
|
-
subtotalAmount: amountdecimal_js_1.AmountDecimal$inboundSchema,
|
|
58
|
-
taxAmount: amountdecimal_js_1.AmountDecimal$inboundSchema,
|
|
59
|
-
totalAmount: amountdecimal_js_1.AmountDecimal$inboundSchema,
|
|
60
|
-
pendingAmount: amountdecimal_js_1.AmountDecimal$inboundSchema,
|
|
61
|
-
paidAmount: amountdecimal_js_1.AmountDecimal$inboundSchema,
|
|
62
|
-
refundedAmount: amountdecimal_js_1.AmountDecimal$inboundSchema,
|
|
63
|
-
disputedAmount: amountdecimal_js_1.AmountDecimal$inboundSchema,
|
|
64
|
-
paymentLinkCode: z.string().optional(),
|
|
65
|
-
invoicePayments: z.array(invoicepayment_js_1.InvoicePayment$inboundSchema).optional(),
|
|
66
|
-
createdOn: z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
67
|
-
invoiceDate: z.string().datetime({ offset: true }).transform(v => new Date(v)).optional(),
|
|
68
|
-
dueDate: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
69
|
-
.optional(),
|
|
70
|
-
sentOn: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
71
|
-
.optional(),
|
|
72
|
-
paidOn: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
73
|
-
.optional(),
|
|
74
|
-
canceledOn: z.string().datetime({ offset: true }).transform(v => new Date(v)).optional(),
|
|
75
|
-
});
|
|
76
|
-
/** @internal */
|
|
77
|
-
exports.Invoice$outboundSchema = z.object({
|
|
78
|
-
invoiceID: z.string(),
|
|
79
|
-
invoiceNumber: z.string(),
|
|
80
|
-
description: z.string().optional(),
|
|
81
|
-
customerAccountID: z.string(),
|
|
82
|
-
partnerAccountID: z.string(),
|
|
83
|
-
status: invoicestatus_js_1.InvoiceStatus$outboundSchema,
|
|
84
|
-
lineItems: invoicelineitems_js_1.InvoiceLineItems$outboundSchema,
|
|
85
|
-
subtotalAmount: amountdecimal_js_1.AmountDecimal$outboundSchema,
|
|
86
|
-
taxAmount: amountdecimal_js_1.AmountDecimal$outboundSchema,
|
|
87
|
-
totalAmount: amountdecimal_js_1.AmountDecimal$outboundSchema,
|
|
88
|
-
pendingAmount: amountdecimal_js_1.AmountDecimal$outboundSchema,
|
|
89
|
-
paidAmount: amountdecimal_js_1.AmountDecimal$outboundSchema,
|
|
90
|
-
refundedAmount: amountdecimal_js_1.AmountDecimal$outboundSchema,
|
|
91
|
-
disputedAmount: amountdecimal_js_1.AmountDecimal$outboundSchema,
|
|
92
|
-
paymentLinkCode: z.string().optional(),
|
|
93
|
-
invoicePayments: z.array(invoicepayment_js_1.InvoicePayment$outboundSchema).optional(),
|
|
94
|
-
createdOn: z.date().transform(v => v.toISOString()),
|
|
95
|
-
invoiceDate: z.date().transform(v => v.toISOString()).optional(),
|
|
96
|
-
dueDate: z.date().transform(v => v.toISOString()).optional(),
|
|
97
|
-
sentOn: z.date().transform(v => v.toISOString()).optional(),
|
|
98
|
-
paidOn: z.date().transform(v => v.toISOString()).optional(),
|
|
99
|
-
canceledOn: z.date().transform(v => v.toISOString()).optional(),
|
|
100
|
-
});
|
|
101
|
-
function invoiceToJSON(invoice) {
|
|
102
|
-
return JSON.stringify(exports.Invoice$outboundSchema.parse(invoice));
|
|
103
|
-
}
|
|
104
|
-
function invoiceFromJSON(jsonString) {
|
|
105
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.Invoice$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Invoice' from JSON`);
|
|
106
|
-
}
|
|
107
|
-
//# sourceMappingURL=invoice.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"invoice.js","sourceRoot":"","sources":["../../src/models/components/invoice.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgLH,sCAEC;AACD,0CAQC;AAzLD,0CAA4B;AAC5B,qDAAiD;AAGjD,yDAK4B;AAC5B,+DAK+B;AAC/B,2DAK6B;AAC7B,yDAI4B;AAyD5B,gBAAgB;AACH,QAAA,qBAAqB,GAChC,CAAC,CAAC,MAAM,CAAC;IACP,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;IACrB,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE;IACzB,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAClC,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE;IAC7B,gBAAgB,EAAE,CAAC,CAAC,MAAM,EAAE;IAC5B,MAA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AE;IAChE,OAAO,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC5D,MAAM,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC3D,MAAM,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC3D,UAAU,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC,CAAC,QAAQ,EAAE;CAChE,CAAC,CAAC;AAEH,SAAgB,aAAa,CAAC,OAAgB;IAC5C,OAAO,IAAI,CAAC,SAAS,CAAC,8BAAsB,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC;AAC/D,CAAC;AACD,SAAgB,eAAe,CAC7B,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,6BAAqB,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACjD,qCAAqC,CACtC,CAAC;AACJ,CAAC"}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import * as z from "zod/v3";
|
|
2
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
-
export type InvoiceExternalPayment = {
|
|
5
|
-
description?: string | undefined;
|
|
6
|
-
foreignID?: string | undefined;
|
|
7
|
-
paymentDate?: Date | undefined;
|
|
8
|
-
};
|
|
9
|
-
/** @internal */
|
|
10
|
-
export declare const InvoiceExternalPayment$inboundSchema: z.ZodType<InvoiceExternalPayment, z.ZodTypeDef, unknown>;
|
|
11
|
-
/** @internal */
|
|
12
|
-
export type InvoiceExternalPayment$Outbound = {
|
|
13
|
-
description?: string | undefined;
|
|
14
|
-
foreignID?: string | undefined;
|
|
15
|
-
paymentDate?: string | undefined;
|
|
16
|
-
};
|
|
17
|
-
/** @internal */
|
|
18
|
-
export declare const InvoiceExternalPayment$outboundSchema: z.ZodType<InvoiceExternalPayment$Outbound, z.ZodTypeDef, InvoiceExternalPayment>;
|
|
19
|
-
export declare function invoiceExternalPaymentToJSON(invoiceExternalPayment: InvoiceExternalPayment): string;
|
|
20
|
-
export declare function invoiceExternalPaymentFromJSON(jsonString: string): SafeParseResult<InvoiceExternalPayment, SDKValidationError>;
|
|
21
|
-
//# sourceMappingURL=invoiceexternalpayment.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"invoiceexternalpayment.d.ts","sourceRoot":"","sources":["../../src/models/components/invoiceexternalpayment.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,sBAAsB,GAAG;IACnC,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,WAAW,CAAC,EAAE,IAAI,GAAG,SAAS,CAAC;CAChC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,oCAAoC,EAAE,CAAC,CAAC,OAAO,CAC1D,sBAAsB,EACtB,CAAC,CAAC,UAAU,EACZ,OAAO,CAMP,CAAC;AACH,gBAAgB;AAChB,MAAM,MAAM,+BAA+B,GAAG;IAC5C,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAClC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,qCAAqC,EAAE,CAAC,CAAC,OAAO,CAC3D,+BAA+B,EAC/B,CAAC,CAAC,UAAU,EACZ,sBAAsB,CAKtB,CAAC;AAEH,wBAAgB,4BAA4B,CAC1C,sBAAsB,EAAE,sBAAsB,GAC7C,MAAM,CAIR;AACD,wBAAgB,8BAA8B,CAC5C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,sBAAsB,EAAE,kBAAkB,CAAC,CAM7D"}
|
|
@@ -1,63 +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.InvoiceExternalPayment$outboundSchema = exports.InvoiceExternalPayment$inboundSchema = void 0;
|
|
40
|
-
exports.invoiceExternalPaymentToJSON = invoiceExternalPaymentToJSON;
|
|
41
|
-
exports.invoiceExternalPaymentFromJSON = invoiceExternalPaymentFromJSON;
|
|
42
|
-
const z = __importStar(require("zod/v3"));
|
|
43
|
-
const schemas_js_1 = require("../../lib/schemas.js");
|
|
44
|
-
/** @internal */
|
|
45
|
-
exports.InvoiceExternalPayment$inboundSchema = z.object({
|
|
46
|
-
description: z.string().optional(),
|
|
47
|
-
foreignID: z.string().optional(),
|
|
48
|
-
paymentDate: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
49
|
-
.optional(),
|
|
50
|
-
});
|
|
51
|
-
/** @internal */
|
|
52
|
-
exports.InvoiceExternalPayment$outboundSchema = z.object({
|
|
53
|
-
description: z.string().optional(),
|
|
54
|
-
foreignID: z.string().optional(),
|
|
55
|
-
paymentDate: z.date().transform(v => v.toISOString()).optional(),
|
|
56
|
-
});
|
|
57
|
-
function invoiceExternalPaymentToJSON(invoiceExternalPayment) {
|
|
58
|
-
return JSON.stringify(exports.InvoiceExternalPayment$outboundSchema.parse(invoiceExternalPayment));
|
|
59
|
-
}
|
|
60
|
-
function invoiceExternalPaymentFromJSON(jsonString) {
|
|
61
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.InvoiceExternalPayment$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'InvoiceExternalPayment' from JSON`);
|
|
62
|
-
}
|
|
63
|
-
//# sourceMappingURL=invoiceexternalpayment.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"invoiceexternalpayment.js","sourceRoot":"","sources":["../../src/models/components/invoiceexternalpayment.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0CH,oEAMC;AACD,wEAQC;AAvDD,0CAA4B;AAC5B,qDAAiD;AAUjD,gBAAgB;AACH,QAAA,oCAAoC,GAI7C,CAAC,CAAC,MAAM,CAAC;IACX,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAClC,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAChC,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,CAAC;SAC3E,QAAQ,EAAE;CACd,CAAC,CAAC;AAQH,gBAAgB;AACH,QAAA,qCAAqC,GAI9C,CAAC,CAAC,MAAM,CAAC;IACX,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAClC,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAChC,WAAW,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC,CAAC,QAAQ,EAAE;CACjE,CAAC,CAAC;AAEH,SAAgB,4BAA4B,CAC1C,sBAA8C;IAE9C,OAAO,IAAI,CAAC,SAAS,CACnB,6CAAqC,CAAC,KAAK,CAAC,sBAAsB,CAAC,CACpE,CAAC;AACJ,CAAC;AACD,SAAgB,8BAA8B,CAC5C,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,4CAAoC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAChE,oDAAoD,CACrD,CAAC;AACJ,CAAC"}
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import * as z from "zod/v3";
|
|
2
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
-
import { AmountDecimal, AmountDecimal$Outbound } from "./amountdecimal.js";
|
|
5
|
-
import { InvoiceLineItemImageMetadata, InvoiceLineItemImageMetadata$Outbound } from "./invoicelineitemimagemetadata.js";
|
|
6
|
-
import { InvoiceLineItemOption, InvoiceLineItemOption$Outbound } from "./invoicelineitemoption.js";
|
|
7
|
-
/**
|
|
8
|
-
* Represents a single item in an invoice, including optional modifiers and quantity.
|
|
9
|
-
*/
|
|
10
|
-
export type InvoiceLineItem = {
|
|
11
|
-
/**
|
|
12
|
-
* The name of the item.
|
|
13
|
-
*/
|
|
14
|
-
name: string;
|
|
15
|
-
/**
|
|
16
|
-
* The base price of the item before applying option modifiers.
|
|
17
|
-
*/
|
|
18
|
-
basePrice: AmountDecimal;
|
|
19
|
-
/**
|
|
20
|
-
* The quantity of this item.
|
|
21
|
-
*/
|
|
22
|
-
quantity: number;
|
|
23
|
-
/**
|
|
24
|
-
* Optional unique identifier associating the line item with a product.
|
|
25
|
-
*/
|
|
26
|
-
productID?: string | undefined;
|
|
27
|
-
/**
|
|
28
|
-
* Optional list of modifiers applied to this item (e.g., toppings, upgrades, customizations).
|
|
29
|
-
*/
|
|
30
|
-
options?: Array<InvoiceLineItemOption> | undefined;
|
|
31
|
-
/**
|
|
32
|
-
* Optional list of images associated with this line item.
|
|
33
|
-
*/
|
|
34
|
-
images?: Array<InvoiceLineItemImageMetadata> | undefined;
|
|
35
|
-
};
|
|
36
|
-
/** @internal */
|
|
37
|
-
export declare const InvoiceLineItem$inboundSchema: z.ZodType<InvoiceLineItem, z.ZodTypeDef, unknown>;
|
|
38
|
-
/** @internal */
|
|
39
|
-
export type InvoiceLineItem$Outbound = {
|
|
40
|
-
name: string;
|
|
41
|
-
basePrice: AmountDecimal$Outbound;
|
|
42
|
-
quantity: number;
|
|
43
|
-
productID?: string | undefined;
|
|
44
|
-
options?: Array<InvoiceLineItemOption$Outbound> | undefined;
|
|
45
|
-
images?: Array<InvoiceLineItemImageMetadata$Outbound> | undefined;
|
|
46
|
-
};
|
|
47
|
-
/** @internal */
|
|
48
|
-
export declare const InvoiceLineItem$outboundSchema: z.ZodType<InvoiceLineItem$Outbound, z.ZodTypeDef, InvoiceLineItem>;
|
|
49
|
-
export declare function invoiceLineItemToJSON(invoiceLineItem: InvoiceLineItem): string;
|
|
50
|
-
export declare function invoiceLineItemFromJSON(jsonString: string): SafeParseResult<InvoiceLineItem, SDKValidationError>;
|
|
51
|
-
//# sourceMappingURL=invoicelineitem.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"invoicelineitem.d.ts","sourceRoot":"","sources":["../../src/models/components/invoicelineitem.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,aAAa,EAEb,sBAAsB,EAEvB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,4BAA4B,EAE5B,qCAAqC,EAEtC,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EACL,qBAAqB,EAErB,8BAA8B,EAE/B,MAAM,4BAA4B,CAAC;AAEpC;;GAEG;AACH,MAAM,MAAM,eAA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T 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.InvoiceLineItem$outboundSchema = exports.InvoiceLineItem$inboundSchema = void 0;
|
|
40
|
-
exports.invoiceLineItemToJSON = invoiceLineItemToJSON;
|
|
41
|
-
exports.invoiceLineItemFromJSON = invoiceLineItemFromJSON;
|
|
42
|
-
const z = __importStar(require("zod/v3"));
|
|
43
|
-
const schemas_js_1 = require("../../lib/schemas.js");
|
|
44
|
-
const amountdecimal_js_1 = require("./amountdecimal.js");
|
|
45
|
-
const invoicelineitemimagemetadata_js_1 = require("./invoicelineitemimagemetadata.js");
|
|
46
|
-
const invoicelineitemoption_js_1 = require("./invoicelineitemoption.js");
|
|
47
|
-
/** @internal */
|
|
48
|
-
exports.InvoiceLineItem$inboundSchema = z.object({
|
|
49
|
-
name: z.string(),
|
|
50
|
-
basePrice: amountdecimal_js_1.AmountDecimal$inboundSchema,
|
|
51
|
-
quantity: z.number().int(),
|
|
52
|
-
productID: z.string().optional(),
|
|
53
|
-
options: z.array(invoicelineitemoption_js_1.InvoiceLineItemOption$inboundSchema).optional(),
|
|
54
|
-
images: z.array(invoicelineitemimagemetadata_js_1.InvoiceLineItemImageMetadata$inboundSchema).optional(),
|
|
55
|
-
});
|
|
56
|
-
/** @internal */
|
|
57
|
-
exports.InvoiceLineItem$outboundSchema = z.object({
|
|
58
|
-
name: z.string(),
|
|
59
|
-
basePrice: amountdecimal_js_1.AmountDecimal$outboundSchema,
|
|
60
|
-
quantity: z.number().int(),
|
|
61
|
-
productID: z.string().optional(),
|
|
62
|
-
options: z.array(invoicelineitemoption_js_1.InvoiceLineItemOption$outboundSchema).optional(),
|
|
63
|
-
images: z.array(invoicelineitemimagemetadata_js_1.InvoiceLineItemImageMetadata$outboundSchema).optional(),
|
|
64
|
-
});
|
|
65
|
-
function invoiceLineItemToJSON(invoiceLineItem) {
|
|
66
|
-
return JSON.stringify(exports.InvoiceLineItem$outboundSchema.parse(invoiceLineItem));
|
|
67
|
-
}
|
|
68
|
-
function invoiceLineItemFromJSON(jsonString) {
|
|
69
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.InvoiceLineItem$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'InvoiceLineItem' from JSON`);
|
|
70
|
-
}
|
|
71
|
-
//# sourceMappingURL=invoicelineitem.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"invoicelineitem.js","sourceRoot":"","sources":["../../src/models/components/invoicelineitem.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4FH,sDAIC;AACD,0DAQC;AAvGD,0CAA4B;AAC5B,qDAAiD;AAGjD,yDAK4B;AAC5B,uFAK2C;AAC3C,yEAKoC;AAgCpC,gBAAgB;AACH,QAAA,6BAA6B,GAItC,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,SAAS,EAAE,8CAA2B;IACtC,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IAC1B,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAChC,OAAO,EAAE,CAAC,CAAC,KAAK,CAAC,8DAAmC,CAAC,CAAC,QAAQ,EAAE;IAChE,MAAM,EAAE,CAAC,CAAC,KAAK,CAAC,4EAA0C,CAAC,CAAC,QAAQ,EAAE;CACvE,CAAC,CAAC;AAWH,gBAAgB;AACH,QAAA,8BAA8B,GAIvC,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,SAAS,EAAE,+CAA4B;IACvC,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IAC1B,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAChC,OAAO,EAAE,CAAC,CAAC,KAAK,CAAC,+DAAoC,CAAC,CAAC,QAAQ,EAAE;IACjE,MAAM,EAAE,CAAC,CAAC,KAAK,CAAC,6EAA2C,CAAC,CAAC,QAAQ,EAAE;CACxE,CAAC,CAAC;AAEH,SAAgB,qBAAqB,CACnC,eAAgC;I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