@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,83 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
import * as z from "zod/v3";
|
|
6
|
-
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
-
import {
|
|
10
|
-
SendFundsAchError,
|
|
11
|
-
SendFundsAchError$inboundSchema,
|
|
12
|
-
SendFundsAchError$Outbound,
|
|
13
|
-
SendFundsAchError$outboundSchema,
|
|
14
|
-
} from "./sendfundsacherror.js";
|
|
15
|
-
import {
|
|
16
|
-
SendFundsInstantBankError,
|
|
17
|
-
SendFundsInstantBankError$inboundSchema,
|
|
18
|
-
SendFundsInstantBankError$Outbound,
|
|
19
|
-
SendFundsInstantBankError$outboundSchema,
|
|
20
|
-
} from "./sendfundsinstantbankerror.js";
|
|
21
|
-
import {
|
|
22
|
-
SendFundsPushToCardError,
|
|
23
|
-
SendFundsPushToCardError$inboundSchema,
|
|
24
|
-
SendFundsPushToCardError$Outbound,
|
|
25
|
-
SendFundsPushToCardError$outboundSchema,
|
|
26
|
-
} from "./sendfundspushtocarderror.js";
|
|
27
|
-
import {
|
|
28
|
-
SendFundsRtpError,
|
|
29
|
-
SendFundsRtpError$inboundSchema,
|
|
30
|
-
SendFundsRtpError$Outbound,
|
|
31
|
-
SendFundsRtpError$outboundSchema,
|
|
32
|
-
} from "./sendfundsrtperror.js";
|
|
33
|
-
|
|
34
|
-
export type SendFundsError = {
|
|
35
|
-
ach?: SendFundsAchError | undefined;
|
|
36
|
-
pushToCard?: SendFundsPushToCardError | undefined;
|
|
37
|
-
rtp?: SendFundsRtpError | undefined;
|
|
38
|
-
instantBank?: SendFundsInstantBankError | undefined;
|
|
39
|
-
};
|
|
40
|
-
|
|
41
|
-
/** @internal */
|
|
42
|
-
export const SendFundsError$inboundSchema: z.ZodType<
|
|
43
|
-
SendFundsError,
|
|
44
|
-
z.ZodTypeDef,
|
|
45
|
-
unknown
|
|
46
|
-
> = z.object({
|
|
47
|
-
ach: SendFundsAchError$inboundSchema.optional(),
|
|
48
|
-
pushToCard: SendFundsPushToCardError$inboundSchema.optional(),
|
|
49
|
-
rtp: SendFundsRtpError$inboundSchema.optional(),
|
|
50
|
-
instantBank: SendFundsInstantBankError$inboundSchema.optional(),
|
|
51
|
-
});
|
|
52
|
-
/** @internal */
|
|
53
|
-
export type SendFundsError$Outbound = {
|
|
54
|
-
ach?: SendFundsAchError$Outbound | undefined;
|
|
55
|
-
pushToCard?: SendFundsPushToCardError$Outbound | undefined;
|
|
56
|
-
rtp?: SendFundsRtpError$Outbound | undefined;
|
|
57
|
-
instantBank?: SendFundsInstantBankError$Outbound | undefined;
|
|
58
|
-
};
|
|
59
|
-
|
|
60
|
-
/** @internal */
|
|
61
|
-
export const SendFundsError$outboundSchema: z.ZodType<
|
|
62
|
-
SendFundsError$Outbound,
|
|
63
|
-
z.ZodTypeDef,
|
|
64
|
-
SendFundsError
|
|
65
|
-
> = z.object({
|
|
66
|
-
ach: SendFundsAchError$outboundSchema.optional(),
|
|
67
|
-
pushToCard: SendFundsPushToCardError$outboundSchema.optional(),
|
|
68
|
-
rtp: SendFundsRtpError$outboundSchema.optional(),
|
|
69
|
-
instantBank: SendFundsInstantBankError$outboundSchema.optional(),
|
|
70
|
-
});
|
|
71
|
-
|
|
72
|
-
export function sendFundsErrorToJSON(sendFundsError: SendFundsError): string {
|
|
73
|
-
return JSON.stringify(SendFundsError$outboundSchema.parse(sendFundsError));
|
|
74
|
-
}
|
|
75
|
-
export function sendFundsErrorFromJSON(
|
|
76
|
-
jsonString: string,
|
|
77
|
-
): SafeParseResult<SendFundsError, SDKValidationError> {
|
|
78
|
-
return safeParse(
|
|
79
|
-
jsonString,
|
|
80
|
-
(x) => SendFundsError$inboundSchema.parse(JSON.parse(x)),
|
|
81
|
-
`Failed to parse 'SendFundsError' from JSON`,
|
|
82
|
-
);
|
|
83
|
-
}
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
import * as z from "zod/v3";
|
|
6
|
-
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
-
import {
|
|
10
|
-
EstimatedActivity,
|
|
11
|
-
EstimatedActivity$inboundSchema,
|
|
12
|
-
EstimatedActivity$Outbound,
|
|
13
|
-
EstimatedActivity$outboundSchema,
|
|
14
|
-
} from "./estimatedactivity.js";
|
|
15
|
-
|
|
16
|
-
export type SendFundsInstantBank = {
|
|
17
|
-
estimatedActivity?: EstimatedActivity | undefined;
|
|
18
|
-
};
|
|
19
|
-
|
|
20
|
-
/** @internal */
|
|
21
|
-
export const SendFundsInstantBank$inboundSchema: z.ZodType<
|
|
22
|
-
SendFundsInstantBank,
|
|
23
|
-
z.ZodTypeDef,
|
|
24
|
-
unknown
|
|
25
|
-
> = z.object({
|
|
26
|
-
estimatedActivity: EstimatedActivity$inboundSchema.optional(),
|
|
27
|
-
});
|
|
28
|
-
/** @internal */
|
|
29
|
-
export type SendFundsInstantBank$Outbound = {
|
|
30
|
-
estimatedActivity?: EstimatedActivity$Outbound | undefined;
|
|
31
|
-
};
|
|
32
|
-
|
|
33
|
-
/** @internal */
|
|
34
|
-
export const SendFundsInstantBank$outboundSchema: z.ZodType<
|
|
35
|
-
SendFundsInstantBank$Outbound,
|
|
36
|
-
z.ZodTypeDef,
|
|
37
|
-
SendFundsInstantBank
|
|
38
|
-
> = z.object({
|
|
39
|
-
estimatedActivity: EstimatedActivity$outboundSchema.optional(),
|
|
40
|
-
});
|
|
41
|
-
|
|
42
|
-
export function sendFundsInstantBankToJSON(
|
|
43
|
-
sendFundsInstantBank: SendFundsInstantBank,
|
|
44
|
-
): string {
|
|
45
|
-
return JSON.stringify(
|
|
46
|
-
SendFundsInstantBank$outboundSchema.parse(sendFundsInstantBank),
|
|
47
|
-
);
|
|
48
|
-
}
|
|
49
|
-
export function sendFundsInstantBankFromJSON(
|
|
50
|
-
jsonString: string,
|
|
51
|
-
): SafeParseResult<SendFundsInstantBank, SDKValidationError> {
|
|
52
|
-
return safeParse(
|
|
53
|
-
jsonString,
|
|
54
|
-
(x) => SendFundsInstantBank$inboundSchema.parse(JSON.parse(x)),
|
|
55
|
-
`Failed to parse 'SendFundsInstantBank' from JSON`,
|
|
56
|
-
);
|
|
57
|
-
}
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
import * as z from "zod/v3";
|
|
6
|
-
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
-
import {
|
|
10
|
-
EstimatedActivityError,
|
|
11
|
-
EstimatedActivityError$inboundSchema,
|
|
12
|
-
EstimatedActivityError$Outbound,
|
|
13
|
-
EstimatedActivityError$outboundSchema,
|
|
14
|
-
} from "./estimatedactivityerror.js";
|
|
15
|
-
|
|
16
|
-
export type SendFundsInstantBankError = {
|
|
17
|
-
estimatedActivity?: EstimatedActivityError | undefined;
|
|
18
|
-
};
|
|
19
|
-
|
|
20
|
-
/** @internal */
|
|
21
|
-
export const SendFundsInstantBankError$inboundSchema: z.ZodType<
|
|
22
|
-
SendFundsInstantBankError,
|
|
23
|
-
z.ZodTypeDef,
|
|
24
|
-
unknown
|
|
25
|
-
> = z.object({
|
|
26
|
-
estimatedActivity: EstimatedActivityError$inboundSchema.optional(),
|
|
27
|
-
});
|
|
28
|
-
/** @internal */
|
|
29
|
-
export type SendFundsInstantBankError$Outbound = {
|
|
30
|
-
estimatedActivity?: EstimatedActivityError$Outbound | undefined;
|
|
31
|
-
};
|
|
32
|
-
|
|
33
|
-
/** @internal */
|
|
34
|
-
export const SendFundsInstantBankError$outboundSchema: z.ZodType<
|
|
35
|
-
SendFundsInstantBankError$Outbound,
|
|
36
|
-
z.ZodTypeDef,
|
|
37
|
-
SendFundsInstantBankError
|
|
38
|
-
> = z.object({
|
|
39
|
-
estimatedActivity: EstimatedActivityError$outboundSchema.optional(),
|
|
40
|
-
});
|
|
41
|
-
|
|
42
|
-
export function sendFundsInstantBankErrorToJSON(
|
|
43
|
-
sendFundsInstantBankError: SendFundsInstantBankError,
|
|
44
|
-
): string {
|
|
45
|
-
return JSON.stringify(
|
|
46
|
-
SendFundsInstantBankError$outboundSchema.parse(sendFundsInstantBankError),
|
|
47
|
-
);
|
|
48
|
-
}
|
|
49
|
-
export function sendFundsInstantBankErrorFromJSON(
|
|
50
|
-
jsonString: string,
|
|
51
|
-
): SafeParseResult<SendFundsInstantBankError, SDKValidationError> {
|
|
52
|
-
return safeParse(
|
|
53
|
-
jsonString,
|
|
54
|
-
(x) => SendFundsInstantBankError$inboundSchema.parse(JSON.parse(x)),
|
|
55
|
-
`Failed to parse 'SendFundsInstantBankError' from JSON`,
|
|
56
|
-
);
|
|
57
|
-
}
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
import * as z from "zod/v3";
|
|
6
|
-
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
-
import {
|
|
10
|
-
EstimatedActivity,
|
|
11
|
-
EstimatedActivity$inboundSchema,
|
|
12
|
-
EstimatedActivity$Outbound,
|
|
13
|
-
EstimatedActivity$outboundSchema,
|
|
14
|
-
} from "./estimatedactivity.js";
|
|
15
|
-
|
|
16
|
-
export type SendFundsPushToCard = {
|
|
17
|
-
estimatedActivity?: EstimatedActivity | undefined;
|
|
18
|
-
};
|
|
19
|
-
|
|
20
|
-
/** @internal */
|
|
21
|
-
export const SendFundsPushToCard$inboundSchema: z.ZodType<
|
|
22
|
-
SendFundsPushToCard,
|
|
23
|
-
z.ZodTypeDef,
|
|
24
|
-
unknown
|
|
25
|
-
> = z.object({
|
|
26
|
-
estimatedActivity: EstimatedActivity$inboundSchema.optional(),
|
|
27
|
-
});
|
|
28
|
-
/** @internal */
|
|
29
|
-
export type SendFundsPushToCard$Outbound = {
|
|
30
|
-
estimatedActivity?: EstimatedActivity$Outbound | undefined;
|
|
31
|
-
};
|
|
32
|
-
|
|
33
|
-
/** @internal */
|
|
34
|
-
export const SendFundsPushToCard$outboundSchema: z.ZodType<
|
|
35
|
-
SendFundsPushToCard$Outbound,
|
|
36
|
-
z.ZodTypeDef,
|
|
37
|
-
SendFundsPushToCard
|
|
38
|
-
> = z.object({
|
|
39
|
-
estimatedActivity: EstimatedActivity$outboundSchema.optional(),
|
|
40
|
-
});
|
|
41
|
-
|
|
42
|
-
export function sendFundsPushToCardToJSON(
|
|
43
|
-
sendFundsPushToCard: SendFundsPushToCard,
|
|
44
|
-
): string {
|
|
45
|
-
return JSON.stringify(
|
|
46
|
-
SendFundsPushToCard$outboundSchema.parse(sendFundsPushToCard),
|
|
47
|
-
);
|
|
48
|
-
}
|
|
49
|
-
export function sendFundsPushToCardFromJSON(
|
|
50
|
-
jsonString: string,
|
|
51
|
-
): SafeParseResult<SendFundsPushToCard, SDKValidationError> {
|
|
52
|
-
return safeParse(
|
|
53
|
-
jsonString,
|
|
54
|
-
(x) => SendFundsPushToCard$inboundSchema.parse(JSON.parse(x)),
|
|
55
|
-
`Failed to parse 'SendFundsPushToCard' from JSON`,
|
|
56
|
-
);
|
|
57
|
-
}
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
import * as z from "zod/v3";
|
|
6
|
-
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
-
import {
|
|
10
|
-
EstimatedActivityError,
|
|
11
|
-
EstimatedActivityError$inboundSchema,
|
|
12
|
-
EstimatedActivityError$Outbound,
|
|
13
|
-
EstimatedActivityError$outboundSchema,
|
|
14
|
-
} from "./estimatedactivityerror.js";
|
|
15
|
-
|
|
16
|
-
export type SendFundsPushToCardError = {
|
|
17
|
-
estimatedActivity?: EstimatedActivityError | undefined;
|
|
18
|
-
};
|
|
19
|
-
|
|
20
|
-
/** @internal */
|
|
21
|
-
export const SendFundsPushToCardError$inboundSchema: z.ZodType<
|
|
22
|
-
SendFundsPushToCardError,
|
|
23
|
-
z.ZodTypeDef,
|
|
24
|
-
unknown
|
|
25
|
-
> = z.object({
|
|
26
|
-
estimatedActivity: EstimatedActivityError$inboundSchema.optional(),
|
|
27
|
-
});
|
|
28
|
-
/** @internal */
|
|
29
|
-
export type SendFundsPushToCardError$Outbound = {
|
|
30
|
-
estimatedActivity?: EstimatedActivityError$Outbound | undefined;
|
|
31
|
-
};
|
|
32
|
-
|
|
33
|
-
/** @internal */
|
|
34
|
-
export const SendFundsPushToCardError$outboundSchema: z.ZodType<
|
|
35
|
-
SendFundsPushToCardError$Outbound,
|
|
36
|
-
z.ZodTypeDef,
|
|
37
|
-
SendFundsPushToCardError
|
|
38
|
-
> = z.object({
|
|
39
|
-
estimatedActivity: EstimatedActivityError$outboundSchema.optional(),
|
|
40
|
-
});
|
|
41
|
-
|
|
42
|
-
export function sendFundsPushToCardErrorToJSON(
|
|
43
|
-
sendFundsPushToCardError: SendFundsPushToCardError,
|
|
44
|
-
): string {
|
|
45
|
-
return JSON.stringify(
|
|
46
|
-
SendFundsPushToCardError$outboundSchema.parse(sendFundsPushToCardError),
|
|
47
|
-
);
|
|
48
|
-
}
|
|
49
|
-
export function sendFundsPushToCardErrorFromJSON(
|
|
50
|
-
jsonString: string,
|
|
51
|
-
): SafeParseResult<SendFundsPushToCardError, SDKValidationError> {
|
|
52
|
-
return safeParse(
|
|
53
|
-
jsonString,
|
|
54
|
-
(x) => SendFundsPushToCardError$inboundSchema.parse(JSON.parse(x)),
|
|
55
|
-
`Failed to parse 'SendFundsPushToCardError' from JSON`,
|
|
56
|
-
);
|
|
57
|
-
}
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
import * as z from "zod/v3";
|
|
6
|
-
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
-
import {
|
|
10
|
-
EstimatedActivity,
|
|
11
|
-
EstimatedActivity$inboundSchema,
|
|
12
|
-
EstimatedActivity$Outbound,
|
|
13
|
-
EstimatedActivity$outboundSchema,
|
|
14
|
-
} from "./estimatedactivity.js";
|
|
15
|
-
|
|
16
|
-
export type SendFundsRtp = {
|
|
17
|
-
estimatedActivity?: EstimatedActivity | undefined;
|
|
18
|
-
};
|
|
19
|
-
|
|
20
|
-
/** @internal */
|
|
21
|
-
export const SendFundsRtp$inboundSchema: z.ZodType<
|
|
22
|
-
SendFundsRtp,
|
|
23
|
-
z.ZodTypeDef,
|
|
24
|
-
unknown
|
|
25
|
-
> = z.object({
|
|
26
|
-
estimatedActivity: EstimatedActivity$inboundSchema.optional(),
|
|
27
|
-
});
|
|
28
|
-
/** @internal */
|
|
29
|
-
export type SendFundsRtp$Outbound = {
|
|
30
|
-
estimatedActivity?: EstimatedActivity$Outbound | undefined;
|
|
31
|
-
};
|
|
32
|
-
|
|
33
|
-
/** @internal */
|
|
34
|
-
export const SendFundsRtp$outboundSchema: z.ZodType<
|
|
35
|
-
SendFundsRtp$Outbound,
|
|
36
|
-
z.ZodTypeDef,
|
|
37
|
-
SendFundsRtp
|
|
38
|
-
> = z.object({
|
|
39
|
-
estimatedActivity: EstimatedActivity$outboundSchema.optional(),
|
|
40
|
-
});
|
|
41
|
-
|
|
42
|
-
export function sendFundsRtpToJSON(sendFundsRtp: SendFundsRtp): string {
|
|
43
|
-
return JSON.stringify(SendFundsRtp$outboundSchema.parse(sendFundsRtp));
|
|
44
|
-
}
|
|
45
|
-
export function sendFundsRtpFromJSON(
|
|
46
|
-
jsonString: string,
|
|
47
|
-
): SafeParseResult<SendFundsRtp, SDKValidationError> {
|
|
48
|
-
return safeParse(
|
|
49
|
-
jsonString,
|
|
50
|
-
(x) => SendFundsRtp$inboundSchema.parse(JSON.parse(x)),
|
|
51
|
-
`Failed to parse 'SendFundsRtp' from JSON`,
|
|
52
|
-
);
|
|
53
|
-
}
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
import * as z from "zod/v3";
|
|
6
|
-
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
-
import {
|
|
10
|
-
EstimatedActivityError,
|
|
11
|
-
EstimatedActivityError$inboundSchema,
|
|
12
|
-
EstimatedActivityError$Outbound,
|
|
13
|
-
EstimatedActivityError$outboundSchema,
|
|
14
|
-
} from "./estimatedactivityerror.js";
|
|
15
|
-
|
|
16
|
-
export type SendFundsRtpError = {
|
|
17
|
-
estimatedActivity?: EstimatedActivityError | undefined;
|
|
18
|
-
};
|
|
19
|
-
|
|
20
|
-
/** @internal */
|
|
21
|
-
export const SendFundsRtpError$inboundSchema: z.ZodType<
|
|
22
|
-
SendFundsRtpError,
|
|
23
|
-
z.ZodTypeDef,
|
|
24
|
-
unknown
|
|
25
|
-
> = z.object({
|
|
26
|
-
estimatedActivity: EstimatedActivityError$inboundSchema.optional(),
|
|
27
|
-
});
|
|
28
|
-
/** @internal */
|
|
29
|
-
export type SendFundsRtpError$Outbound = {
|
|
30
|
-
estimatedActivity?: EstimatedActivityError$Outbound | undefined;
|
|
31
|
-
};
|
|
32
|
-
|
|
33
|
-
/** @internal */
|
|
34
|
-
export const SendFundsRtpError$outboundSchema: z.ZodType<
|
|
35
|
-
SendFundsRtpError$Outbound,
|
|
36
|
-
z.ZodTypeDef,
|
|
37
|
-
SendFundsRtpError
|
|
38
|
-
> = z.object({
|
|
39
|
-
estimatedActivity: EstimatedActivityError$outboundSchema.optional(),
|
|
40
|
-
});
|
|
41
|
-
|
|
42
|
-
export function sendFundsRtpErrorToJSON(
|
|
43
|
-
sendFundsRtpError: SendFundsRtpError,
|
|
44
|
-
): string {
|
|
45
|
-
return JSON.stringify(
|
|
46
|
-
SendFundsRtpError$outboundSchema.parse(sendFundsRtpError),
|
|
47
|
-
);
|
|
48
|
-
}
|
|
49
|
-
export function sendFundsRtpErrorFromJSON(
|
|
50
|
-
jsonString: string,
|
|
51
|
-
): SafeParseResult<SendFundsRtpError, SDKValidationError> {
|
|
52
|
-
return safeParse(
|
|
53
|
-
jsonString,
|
|
54
|
-
(x) => SendFundsRtpError$inboundSchema.parse(JSON.parse(x)),
|
|
55
|
-
`Failed to parse 'SendFundsRtpError' from JSON`,
|
|
56
|
-
);
|
|
57
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
import * as z from "zod/v3";
|
|
6
|
-
import { ClosedEnum } from "../../types/enums.js";
|
|
7
|
-
|
|
8
|
-
export const SubmissionIntent = {
|
|
9
|
-
Wait: "wait",
|
|
10
|
-
Submit: "submit",
|
|
11
|
-
} as const;
|
|
12
|
-
export type SubmissionIntent = ClosedEnum<typeof SubmissionIntent>;
|
|
13
|
-
|
|
14
|
-
/** @internal */
|
|
15
|
-
export const SubmissionIntent$inboundSchema: z.ZodNativeEnum<
|
|
16
|
-
typeof SubmissionIntent
|
|
17
|
-
> = z.nativeEnum(SubmissionIntent);
|
|
18
|
-
/** @internal */
|
|
19
|
-
export const SubmissionIntent$outboundSchema: z.ZodNativeEnum<
|
|
20
|
-
typeof SubmissionIntent
|
|
21
|
-
> = SubmissionIntent$inboundSchema;
|
|
@@ -1,152 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
import * as z from "zod/v3";
|
|
6
|
-
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
-
import {
|
|
10
|
-
CardBrand,
|
|
11
|
-
CardBrand$inboundSchema,
|
|
12
|
-
CardBrand$outboundSchema,
|
|
13
|
-
} from "./cardbrand.js";
|
|
14
|
-
import {
|
|
15
|
-
CardExpiration,
|
|
16
|
-
CardExpiration$inboundSchema,
|
|
17
|
-
CardExpiration$Outbound,
|
|
18
|
-
CardExpiration$outboundSchema,
|
|
19
|
-
} from "./cardexpiration.js";
|
|
20
|
-
import {
|
|
21
|
-
CardType,
|
|
22
|
-
CardType$inboundSchema,
|
|
23
|
-
CardType$outboundSchema,
|
|
24
|
-
} from "./cardtype.js";
|
|
25
|
-
import {
|
|
26
|
-
EntryMode,
|
|
27
|
-
EntryMode$inboundSchema,
|
|
28
|
-
EntryMode$outboundSchema,
|
|
29
|
-
} from "./entrymode.js";
|
|
30
|
-
|
|
31
|
-
/**
|
|
32
|
-
* Describes payment card details captured with tap or in-person payment.
|
|
33
|
-
*/
|
|
34
|
-
export type TerminalCard = {
|
|
35
|
-
/**
|
|
36
|
-
* How the card information was entered into the point of sale terminal.
|
|
37
|
-
*/
|
|
38
|
-
entryMode?: EntryMode | undefined;
|
|
39
|
-
/**
|
|
40
|
-
* The card brand.
|
|
41
|
-
*/
|
|
42
|
-
brand?: CardBrand | undefined;
|
|
43
|
-
bin?: string | undefined;
|
|
44
|
-
/**
|
|
45
|
-
* The type of the card.
|
|
46
|
-
*/
|
|
47
|
-
cardType?: CardType | undefined;
|
|
48
|
-
/**
|
|
49
|
-
* The expiration date of the card or token.
|
|
50
|
-
*/
|
|
51
|
-
expiration?: CardExpiration | undefined;
|
|
52
|
-
/**
|
|
53
|
-
* Uniquely identifies a linked payment card or token.
|
|
54
|
-
*
|
|
55
|
-
* @remarks
|
|
56
|
-
* For Apple Pay, the fingerprint is based on the tokenized card number and may vary based on the user's device.
|
|
57
|
-
* This field can be used to identify specific payment methods across multiple accounts on your platform.
|
|
58
|
-
*/
|
|
59
|
-
fingerprint?: string | undefined;
|
|
60
|
-
/**
|
|
61
|
-
* The name of the cardholder as it appears on the card.
|
|
62
|
-
*/
|
|
63
|
-
holderName?: string | undefined;
|
|
64
|
-
/**
|
|
65
|
-
* Financial institution that issued the card.
|
|
66
|
-
*/
|
|
67
|
-
issuer?: string | undefined;
|
|
68
|
-
/**
|
|
69
|
-
* Country where the card was issued.
|
|
70
|
-
*/
|
|
71
|
-
issuerCountry?: string | undefined;
|
|
72
|
-
/**
|
|
73
|
-
* Last four digits of the card number
|
|
74
|
-
*/
|
|
75
|
-
lastFourCardNumber?: string | undefined;
|
|
76
|
-
/**
|
|
77
|
-
* Identifier for the point of sale terminal application.
|
|
78
|
-
*/
|
|
79
|
-
applicationID?: string | undefined;
|
|
80
|
-
/**
|
|
81
|
-
* Name label for the point of sale terminal application.
|
|
82
|
-
*/
|
|
83
|
-
applicationName?: string | undefined;
|
|
84
|
-
};
|
|
85
|
-
|
|
86
|
-
/** @internal */
|
|
87
|
-
export const TerminalCard$inboundSchema: z.ZodType<
|
|
88
|
-
TerminalCard,
|
|
89
|
-
z.ZodTypeDef,
|
|
90
|
-
unknown
|
|
91
|
-
> = z.object({
|
|
92
|
-
entryMode: EntryMode$inboundSchema.optional(),
|
|
93
|
-
brand: CardBrand$inboundSchema.optional(),
|
|
94
|
-
bin: z.string().optional(),
|
|
95
|
-
cardType: CardType$inboundSchema.optional(),
|
|
96
|
-
expiration: CardExpiration$inboundSchema.optional(),
|
|
97
|
-
fingerprint: z.string().optional(),
|
|
98
|
-
holderName: z.string().optional(),
|
|
99
|
-
issuer: z.string().optional(),
|
|
100
|
-
issuerCountry: z.string().optional(),
|
|
101
|
-
lastFourCardNumber: z.string().optional(),
|
|
102
|
-
applicationID: z.string().optional(),
|
|
103
|
-
applicationName: z.string().optional(),
|
|
104
|
-
});
|
|
105
|
-
/** @internal */
|
|
106
|
-
export type TerminalCard$Outbound = {
|
|
107
|
-
entryMode?: string | undefined;
|
|
108
|
-
brand?: string | undefined;
|
|
109
|
-
bin?: string | undefined;
|
|
110
|
-
cardType?: string | undefined;
|
|
111
|
-
expiration?: CardExpiration$Outbound | undefined;
|
|
112
|
-
fingerprint?: string | undefined;
|
|
113
|
-
holderName?: string | undefined;
|
|
114
|
-
issuer?: string | undefined;
|
|
115
|
-
issuerCountry?: string | undefined;
|
|
116
|
-
lastFourCardNumber?: string | undefined;
|
|
117
|
-
applicationID?: string | undefined;
|
|
118
|
-
applicationName?: string | undefined;
|
|
119
|
-
};
|
|
120
|
-
|
|
121
|
-
/** @internal */
|
|
122
|
-
export const TerminalCard$outboundSchema: z.ZodType<
|
|
123
|
-
TerminalCard$Outbound,
|
|
124
|
-
z.ZodTypeDef,
|
|
125
|
-
TerminalCard
|
|
126
|
-
> = z.object({
|
|
127
|
-
entryMode: EntryMode$outboundSchema.optional(),
|
|
128
|
-
brand: CardBrand$outboundSchema.optional(),
|
|
129
|
-
bin: z.string().optional(),
|
|
130
|
-
cardType: CardType$outboundSchema.optional(),
|
|
131
|
-
expiration: CardExpiration$outboundSchema.optional(),
|
|
132
|
-
fingerprint: z.string().optional(),
|
|
133
|
-
holderName: z.string().optional(),
|
|
134
|
-
issuer: z.string().optional(),
|
|
135
|
-
issuerCountry: z.string().optional(),
|
|
136
|
-
lastFourCardNumber: z.string().optional(),
|
|
137
|
-
applicationID: z.string().optional(),
|
|
138
|
-
applicationName: z.string().optional(),
|
|
139
|
-
});
|
|
140
|
-
|
|
141
|
-
export function terminalCardToJSON(terminalCard: TerminalCard): string {
|
|
142
|
-
return JSON.stringify(TerminalCard$outboundSchema.parse(terminalCard));
|
|
143
|
-
}
|
|
144
|
-
export function terminalCardFromJSON(
|
|
145
|
-
jsonString: string,
|
|
146
|
-
): SafeParseResult<TerminalCard, SDKValidationError> {
|
|
147
|
-
return safeParse(
|
|
148
|
-
jsonString,
|
|
149
|
-
(x) => TerminalCard$inboundSchema.parse(JSON.parse(x)),
|
|
150
|
-
`Failed to parse 'TerminalCard' from JSON`,
|
|
151
|
-
);
|
|
152
|
-
}
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
import * as z from "zod/v3";
|
|
6
|
-
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
-
import {
|
|
10
|
-
TicketContact,
|
|
11
|
-
TicketContact$inboundSchema,
|
|
12
|
-
TicketContact$Outbound,
|
|
13
|
-
TicketContact$outboundSchema,
|
|
14
|
-
} from "./ticketcontact.js";
|
|
15
|
-
import {
|
|
16
|
-
TicketStatus,
|
|
17
|
-
TicketStatus$inboundSchema,
|
|
18
|
-
TicketStatus$outboundSchema,
|
|
19
|
-
} from "./ticketstatus.js";
|
|
20
|
-
|
|
21
|
-
export type Ticket = {
|
|
22
|
-
ticketID: string;
|
|
23
|
-
number: number;
|
|
24
|
-
title: string;
|
|
25
|
-
contact: TicketContact;
|
|
26
|
-
status: TicketStatus;
|
|
27
|
-
createdOn: Date;
|
|
28
|
-
updatedOn: Date;
|
|
29
|
-
latestMessageOn?: Date | undefined;
|
|
30
|
-
closedOn?: Date | undefined;
|
|
31
|
-
foreignID?: string | undefined;
|
|
32
|
-
};
|
|
33
|
-
|
|
34
|
-
/** @internal */
|
|
35
|
-
export const Ticket$inboundSchema: z.ZodType<Ticket, z.ZodTypeDef, unknown> = z
|
|
36
|
-
.object({
|
|
37
|
-
ticketID: z.string(),
|
|
38
|
-
number: z.number().int(),
|
|
39
|
-
title: z.string(),
|
|
40
|
-
contact: TicketContact$inboundSchema,
|
|
41
|
-
status: TicketStatus$inboundSchema,
|
|
42
|
-
createdOn: z.string().datetime({ offset: true }).transform(v =>
|
|
43
|
-
new Date(v)
|
|
44
|
-
),
|
|
45
|
-
updatedOn: z.string().datetime({ offset: true }).transform(v =>
|
|
46
|
-
new Date(v)
|
|
47
|
-
),
|
|
48
|
-
latestMessageOn: z.string().datetime({ offset: true }).transform(v =>
|
|
49
|
-
new Date(v)
|
|
50
|
-
).optional(),
|
|
51
|
-
closedOn: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
52
|
-
.optional(),
|
|
53
|
-
foreignID: z.string().optional(),
|
|
54
|
-
});
|
|
55
|
-
/** @internal */
|
|
56
|
-
export type Ticket$Outbound = {
|
|
57
|
-
ticketID: string;
|
|
58
|
-
number: number;
|
|
59
|
-
title: string;
|
|
60
|
-
contact: TicketContact$Outbound;
|
|
61
|
-
status: string;
|
|
62
|
-
createdOn: string;
|
|
63
|
-
updatedOn: string;
|
|
64
|
-
latestMessageOn?: string | undefined;
|
|
65
|
-
closedOn?: string | undefined;
|
|
66
|
-
foreignID?: string | undefined;
|
|
67
|
-
};
|
|
68
|
-
|
|
69
|
-
/** @internal */
|
|
70
|
-
export const Ticket$outboundSchema: z.ZodType<
|
|
71
|
-
Ticket$Outbound,
|
|
72
|
-
z.ZodTypeDef,
|
|
73
|
-
Ticket
|
|
74
|
-
> = z.object({
|
|
75
|
-
ticketID: z.string(),
|
|
76
|
-
number: z.number().int(),
|
|
77
|
-
title: z.string(),
|
|
78
|
-
contact: TicketContact$outboundSchema,
|
|
79
|
-
status: TicketStatus$outboundSchema,
|
|
80
|
-
createdOn: z.date().transform(v => v.toISOString()),
|
|
81
|
-
updatedOn: z.date().transform(v => v.toISOString()),
|
|
82
|
-
latestMessageOn: z.date().transform(v => v.toISOString()).optional(),
|
|
83
|
-
closedOn: z.date().transform(v => v.toISOString()).optional(),
|
|
84
|
-
foreignID: z.string().optional(),
|
|
85
|
-
});
|
|
86
|
-
|
|
87
|
-
export function ticketToJSON(ticket: Ticket): string {
|
|
88
|
-
return JSON.stringify(Ticket$outboundSchema.parse(ticket));
|
|
89
|
-
}
|
|
90
|
-
export function ticketFromJSON(
|
|
91
|
-
jsonString: string,
|
|
92
|
-
): SafeParseResult<Ticket, SDKValidationError> {
|
|
93
|
-
return safeParse(
|
|
94
|
-
jsonString,
|
|
95
|
-
(x) => Ticket$inboundSchema.parse(JSON.parse(x)),
|
|
96
|
-
`Failed to parse 'Ticket' from JSON`,
|
|
97
|
-
);
|
|
98
|
-
}
|