@moovio/sdk 25.4.0 → 25.7.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 +135 -47
- package/bin/mcp-server.js +2711 -483
- package/bin/mcp-server.js.map +90 -20
- package/examples/package-lock.json +1 -1
- package/funcs/supportCreateTicket.d.ts +21 -0
- package/funcs/supportCreateTicket.d.ts.map +1 -0
- package/funcs/supportCreateTicket.js +142 -0
- package/funcs/supportCreateTicket.js.map +1 -0
- package/funcs/supportGetTicket.d.ts +20 -0
- package/funcs/supportGetTicket.d.ts.map +1 -0
- package/funcs/supportGetTicket.js +132 -0
- package/funcs/supportGetTicket.js.map +1 -0
- package/funcs/supportListTicketMessages.d.ts +20 -0
- package/funcs/supportListTicketMessages.d.ts.map +1 -0
- package/funcs/supportListTicketMessages.js +132 -0
- package/funcs/supportListTicketMessages.js.map +1 -0
- package/funcs/supportListTickets.d.ts +20 -0
- package/funcs/supportListTickets.d.ts.map +1 -0
- package/funcs/supportListTickets.js +135 -0
- package/funcs/supportListTickets.js.map +1 -0
- package/funcs/supportUpdateTicket.d.ts +21 -0
- package/funcs/supportUpdateTicket.d.ts.map +1 -0
- package/funcs/supportUpdateTicket.js +146 -0
- package/funcs/supportUpdateTicket.js.map +1 -0
- package/funcs/underwritingSave.d.ts +20 -0
- package/funcs/underwritingSave.d.ts.map +1 -0
- package/funcs/underwritingSave.js +145 -0
- package/funcs/underwritingSave.js.map +1 -0
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.d.ts.map +1 -1
- package/mcp-server/server.js +13 -1
- package/mcp-server/server.js.map +1 -1
- package/mcp-server/tools/supportCreateTicket.d.ts +8 -0
- package/mcp-server/tools/supportCreateTicket.d.ts.map +1 -0
- package/mcp-server/tools/supportCreateTicket.js +68 -0
- package/mcp-server/tools/supportCreateTicket.js.map +1 -0
- package/mcp-server/tools/supportGetTicket.d.ts +8 -0
- package/mcp-server/tools/supportGetTicket.d.ts.map +1 -0
- package/mcp-server/tools/supportGetTicket.js +68 -0
- package/mcp-server/tools/supportGetTicket.js.map +1 -0
- package/mcp-server/tools/supportListTicketMessages.d.ts +8 -0
- package/mcp-server/tools/supportListTicketMessages.d.ts.map +1 -0
- package/mcp-server/tools/supportListTicketMessages.js +68 -0
- package/mcp-server/tools/supportListTicketMessages.js.map +1 -0
- package/mcp-server/tools/supportListTickets.d.ts +8 -0
- package/mcp-server/tools/supportListTickets.d.ts.map +1 -0
- package/mcp-server/tools/supportListTickets.js +68 -0
- package/mcp-server/tools/supportListTickets.js.map +1 -0
- package/mcp-server/tools/supportUpdateTicket.d.ts +8 -0
- package/mcp-server/tools/supportUpdateTicket.d.ts.map +1 -0
- package/mcp-server/tools/supportUpdateTicket.js +68 -0
- package/mcp-server/tools/supportUpdateTicket.js.map +1 -0
- package/mcp-server/tools/underwritingSave.d.ts +8 -0
- package/mcp-server/tools/underwritingSave.d.ts.map +1 -0
- package/mcp-server/tools/underwritingSave.js +67 -0
- package/mcp-server/tools/underwritingSave.js.map +1 -0
- package/models/components/accounttype.d.ts +1 -0
- package/models/components/accounttype.d.ts.map +1 -1
- package/models/components/accounttype.js +1 -0
- package/models/components/accounttype.js.map +1 -1
- package/models/components/bankaccountholdertype.d.ts +1 -0
- package/models/components/bankaccountholdertype.d.ts.map +1 -1
- package/models/components/bankaccountholdertype.js +1 -0
- package/models/components/bankaccountholdertype.js.map +1 -1
- package/models/components/businesspresence.d.ts +16 -0
- package/models/components/businesspresence.d.ts.map +1 -0
- package/models/components/businesspresence.js +53 -0
- package/models/components/businesspresence.js.map +1 -0
- package/models/components/capabilityid.d.ts +11 -0
- package/models/components/capabilityid.d.ts.map +1 -1
- package/models/components/capabilityid.js +11 -0
- package/models/components/capabilityid.js.map +1 -1
- package/models/components/cardacceptancemethods.d.ts +33 -0
- package/models/components/cardacceptancemethods.d.ts.map +1 -0
- package/models/components/cardacceptancemethods.js +62 -0
- package/models/components/cardacceptancemethods.js.map +1 -0
- package/models/components/cardacceptancemethodserror.d.ts +21 -0
- package/models/components/cardacceptancemethodserror.d.ts.map +1 -0
- package/models/components/cardacceptancemethodserror.js +62 -0
- package/models/components/cardacceptancemethodserror.js.map +1 -0
- package/models/components/collectfunds.d.ts +21 -0
- package/models/components/collectfunds.d.ts.map +1 -0
- package/models/components/collectfunds.js +62 -0
- package/models/components/collectfunds.js.map +1 -0
- package/models/components/collectfundsach.d.ts +18 -0
- package/models/components/collectfundsach.d.ts.map +1 -0
- package/models/components/collectfundsach.js +59 -0
- package/models/components/collectfundsach.js.map +1 -0
- package/models/components/collectfundsacherror.d.ts +18 -0
- package/models/components/collectfundsacherror.d.ts.map +1 -0
- package/models/components/collectfundsacherror.js +59 -0
- package/models/components/collectfundsacherror.js.map +1 -0
- package/models/components/collectfundscardpayments.d.ts +32 -0
- package/models/components/collectfundscardpayments.d.ts.map +1 -0
- package/models/components/collectfundscardpayments.js +70 -0
- package/models/components/collectfundscardpayments.js.map +1 -0
- package/models/components/collectfundscardpaymentserror.d.ts +28 -0
- package/models/components/collectfundscardpaymentserror.d.ts.map +1 -0
- package/models/components/collectfundscardpaymentserror.js +69 -0
- package/models/components/collectfundscardpaymentserror.js.map +1 -0
- package/models/components/collectfundserror.d.ts +21 -0
- package/models/components/collectfundserror.d.ts.map +1 -0
- package/models/components/collectfundserror.js +62 -0
- package/models/components/collectfundserror.js.map +1 -0
- package/models/components/createaccount.d.ts +2 -5
- 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/createaccounttype.d.ts +12 -0
- package/models/components/createaccounttype.d.ts.map +1 -0
- package/models/components/createaccounttype.js +49 -0
- package/models/components/createaccounttype.js.map +1 -0
- package/models/components/createticket.d.ts +29 -0
- package/models/components/createticket.d.ts.map +1 -0
- package/models/components/createticket.js +67 -0
- package/models/components/createticket.js.map +1 -0
- package/models/components/createticketcontacterror.d.ts +19 -0
- package/models/components/createticketcontacterror.d.ts.map +1 -0
- package/models/components/createticketcontacterror.js +60 -0
- package/models/components/createticketcontacterror.js.map +1 -0
- package/models/components/enrichedindustries.d.ts +3 -3
- package/models/components/enrichedindustries.js +3 -3
- package/models/components/estimatedactivity.d.ts +25 -0
- package/models/components/estimatedactivity.d.ts.map +1 -0
- package/models/components/estimatedactivity.js +63 -0
- package/models/components/estimatedactivity.js.map +1 -0
- package/models/components/estimatedactivityerror.d.ts +21 -0
- package/models/components/estimatedactivityerror.d.ts.map +1 -0
- package/models/components/estimatedactivityerror.js +62 -0
- package/models/components/estimatedactivityerror.js.map +1 -0
- package/models/components/fulfillment.d.ts +21 -0
- package/models/components/fulfillment.d.ts.map +1 -0
- package/models/components/fulfillment.js +62 -0
- package/models/components/fulfillment.js.map +1 -0
- package/models/components/fulfillmenterror.d.ts +19 -0
- package/models/components/fulfillmenterror.d.ts.map +1 -0
- package/models/components/{enrichedindustry.js → fulfillmenterror.js} +14 -18
- package/models/components/fulfillmenterror.js.map +1 -0
- package/models/components/fulfillmentmethod.d.ts +19 -0
- package/models/components/fulfillmentmethod.d.ts.map +1 -0
- package/models/components/fulfillmentmethod.js +56 -0
- package/models/components/fulfillmentmethod.js.map +1 -0
- package/models/components/fulfillmenttimeframe.d.ts +18 -0
- package/models/components/fulfillmenttimeframe.d.ts.map +1 -0
- package/models/components/fulfillmenttimeframe.js +55 -0
- package/models/components/fulfillmenttimeframe.js.map +1 -0
- package/models/components/geographicreach.d.ts +13 -0
- package/models/components/geographicreach.d.ts.map +1 -0
- package/models/components/geographicreach.js +50 -0
- package/models/components/geographicreach.js.map +1 -0
- package/models/components/guestprofile.d.ts +31 -0
- package/models/components/guestprofile.d.ts.map +1 -0
- package/models/components/guestprofile.js +63 -0
- package/models/components/guestprofile.js.map +1 -0
- package/models/components/index.d.ts +50 -1
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +50 -1
- package/models/components/index.js.map +1 -1
- package/models/components/industrytaxonomy.d.ts +43 -0
- package/models/components/industrytaxonomy.d.ts.map +1 -0
- package/models/components/industrytaxonomy.js +66 -0
- package/models/components/industrytaxonomy.js.map +1 -0
- package/models/components/itemlistnextpage.d.ts +20 -0
- package/models/components/itemlistnextpage.d.ts.map +1 -0
- package/models/components/itemlistnextpage.js +58 -0
- package/models/components/itemlistnextpage.js.map +1 -0
- package/models/components/moneytransfer.d.ts +21 -0
- package/models/components/moneytransfer.d.ts.map +1 -0
- package/models/components/moneytransfer.js +62 -0
- package/models/components/moneytransfer.js.map +1 -0
- package/models/components/moneytransfererror.d.ts +21 -0
- package/models/components/moneytransfererror.d.ts.map +1 -0
- package/models/components/moneytransfererror.js +62 -0
- package/models/components/moneytransfererror.js.map +1 -0
- package/models/components/moneytransferpullfromcard.d.ts +18 -0
- package/models/components/moneytransferpullfromcard.d.ts.map +1 -0
- package/models/components/moneytransferpullfromcard.js +59 -0
- package/models/components/moneytransferpullfromcard.js.map +1 -0
- package/models/components/moneytransferpullfromcarderror.d.ts +18 -0
- package/models/components/moneytransferpullfromcarderror.d.ts.map +1 -0
- package/models/components/moneytransferpullfromcarderror.js +59 -0
- package/models/components/moneytransferpullfromcarderror.js.map +1 -0
- package/models/components/moneytransferpushtocard.d.ts +18 -0
- package/models/components/moneytransferpushtocard.d.ts.map +1 -0
- package/models/components/moneytransferpushtocard.js +59 -0
- package/models/components/moneytransferpushtocard.js.map +1 -0
- package/models/components/moneytransferpushtocarderror.d.ts +18 -0
- package/models/components/moneytransferpushtocarderror.d.ts.map +1 -0
- package/models/components/moneytransferpushtocarderror.js +59 -0
- package/models/components/moneytransferpushtocarderror.js.map +1 -0
- package/models/components/monthlyvolumerange.d.ts +24 -0
- package/models/components/monthlyvolumerange.d.ts.map +1 -0
- package/models/components/monthlyvolumerange.js +58 -0
- package/models/components/monthlyvolumerange.js.map +1 -0
- package/models/components/pendinglitigation.d.ts +20 -0
- package/models/components/pendinglitigation.d.ts.map +1 -0
- package/models/components/pendinglitigation.js +57 -0
- package/models/components/pendinglitigation.js.map +1 -0
- package/models/components/profile.d.ts +6 -0
- package/models/components/profile.d.ts.map +1 -1
- package/models/components/profile.js +3 -0
- package/models/components/profile.js.map +1 -1
- package/models/components/refundpolicy.d.ts +19 -0
- package/models/components/refundpolicy.d.ts.map +1 -0
- package/models/components/refundpolicy.js +56 -0
- package/models/components/refundpolicy.js.map +1 -0
- package/models/components/requirementid.d.ts +54 -0
- package/models/components/requirementid.d.ts.map +1 -1
- package/models/components/requirementid.js +54 -0
- package/models/components/requirementid.js.map +1 -1
- package/models/components/sendfunds.d.ts +27 -0
- package/models/components/sendfunds.d.ts.map +1 -0
- package/models/components/sendfunds.js +68 -0
- package/models/components/sendfunds.js.map +1 -0
- package/models/components/sendfundsach.d.ts +18 -0
- package/models/components/sendfundsach.d.ts.map +1 -0
- package/models/components/sendfundsach.js +59 -0
- package/models/components/sendfundsach.js.map +1 -0
- package/models/components/sendfundsacherror.d.ts +18 -0
- package/models/components/sendfundsacherror.d.ts.map +1 -0
- package/models/components/sendfundsacherror.js +59 -0
- package/models/components/sendfundsacherror.js.map +1 -0
- package/models/components/sendfundserror.d.ts +27 -0
- package/models/components/sendfundserror.d.ts.map +1 -0
- package/models/components/sendfundserror.js +68 -0
- package/models/components/sendfundserror.js.map +1 -0
- package/models/components/sendfundsinstantbank.d.ts +18 -0
- package/models/components/sendfundsinstantbank.d.ts.map +1 -0
- package/models/components/sendfundsinstantbank.js +59 -0
- package/models/components/sendfundsinstantbank.js.map +1 -0
- package/models/components/sendfundsinstantbankerror.d.ts +18 -0
- package/models/components/sendfundsinstantbankerror.d.ts.map +1 -0
- package/models/components/sendfundsinstantbankerror.js +59 -0
- package/models/components/sendfundsinstantbankerror.js.map +1 -0
- package/models/components/sendfundspushtocard.d.ts +18 -0
- package/models/components/sendfundspushtocard.d.ts.map +1 -0
- package/models/components/sendfundspushtocard.js +59 -0
- package/models/components/sendfundspushtocard.js.map +1 -0
- package/models/components/sendfundspushtocarderror.d.ts +18 -0
- package/models/components/sendfundspushtocarderror.d.ts.map +1 -0
- package/models/components/sendfundspushtocarderror.js +59 -0
- package/models/components/sendfundspushtocarderror.js.map +1 -0
- package/models/components/sendfundsrtp.d.ts +18 -0
- package/models/components/sendfundsrtp.d.ts.map +1 -0
- package/models/components/sendfundsrtp.js +59 -0
- package/models/components/sendfundsrtp.js.map +1 -0
- package/models/components/sendfundsrtperror.d.ts +18 -0
- package/models/components/sendfundsrtperror.d.ts.map +1 -0
- package/models/components/sendfundsrtperror.js +59 -0
- package/models/components/sendfundsrtperror.js.map +1 -0
- package/models/components/submissionintent.d.ts +12 -0
- package/models/components/submissionintent.d.ts.map +1 -0
- package/models/components/submissionintent.js +49 -0
- package/models/components/submissionintent.js.map +1 -0
- package/models/components/ticket.d.ts +37 -0
- package/models/components/ticket.d.ts.map +1 -0
- package/models/components/ticket.js +80 -0
- package/models/components/ticket.js.map +1 -0
- package/models/components/ticketcontact.d.ts +19 -0
- package/models/components/ticketcontact.d.ts.map +1 -0
- package/models/components/ticketcontact.js +60 -0
- package/models/components/ticketcontact.js.map +1 -0
- package/models/components/ticketmessage.d.ts +21 -0
- package/models/components/ticketmessage.d.ts.map +1 -0
- package/models/components/ticketmessage.js +62 -0
- package/models/components/ticketmessage.js.map +1 -0
- package/models/components/underwriting.d.ts +35 -14
- package/models/components/underwriting.d.ts.map +1 -1
- package/models/components/underwriting.js +36 -14
- package/models/components/underwriting.js.map +1 -1
- package/models/components/updateticket.d.ts +21 -0
- package/models/components/updateticket.d.ts.map +1 -0
- package/models/components/updateticket.js +59 -0
- package/models/components/updateticket.js.map +1 -0
- package/models/components/updateticketstatus.d.ts +11 -0
- package/models/components/updateticketstatus.d.ts.map +1 -0
- package/models/components/updateticketstatus.js +48 -0
- package/models/components/updateticketstatus.js.map +1 -0
- package/models/components/upsertunderwriting.d.ts +39 -0
- package/models/components/upsertunderwriting.d.ts.map +1 -0
- package/models/components/upsertunderwriting.js +81 -0
- package/models/components/upsertunderwriting.js.map +1 -0
- package/models/components/volumesharebycustomertype.d.ts +21 -0
- package/models/components/volumesharebycustomertype.d.ts.map +1 -0
- package/models/components/volumesharebycustomertype.js +62 -0
- package/models/components/volumesharebycustomertype.js.map +1 -0
- package/models/components/volumesharebycustomertypeerror.d.ts +21 -0
- package/models/components/volumesharebycustomertypeerror.d.ts.map +1 -0
- package/models/components/volumesharebycustomertypeerror.js +62 -0
- package/models/components/volumesharebycustomertypeerror.js.map +1 -0
- package/models/errors/createticketerror.d.ts +36 -0
- package/models/errors/createticketerror.d.ts.map +1 -0
- package/models/errors/createticketerror.js +90 -0
- package/models/errors/createticketerror.js.map +1 -0
- package/models/errors/index.d.ts +3 -0
- package/models/errors/index.d.ts.map +1 -1
- package/models/errors/index.js +3 -0
- package/models/errors/index.js.map +1 -1
- package/models/errors/updateticketerror.d.ts +24 -0
- package/models/errors/updateticketerror.d.ts.map +1 -0
- package/models/errors/updateticketerror.js +75 -0
- package/models/errors/updateticketerror.js.map +1 -0
- package/models/errors/upsertunderwritingerror.d.ts +64 -0
- package/models/errors/upsertunderwritingerror.d.ts.map +1 -0
- package/models/errors/upsertunderwritingerror.js +143 -0
- package/models/errors/upsertunderwritingerror.js.map +1 -0
- package/models/operations/createticket.d.ts +66 -0
- package/models/operations/createticket.d.ts.map +1 -0
- package/models/operations/createticket.js +122 -0
- package/models/operations/createticket.js.map +1 -0
- package/models/operations/getticket.d.ts +66 -0
- package/models/operations/getticket.d.ts.map +1 -0
- package/models/operations/getticket.js +114 -0
- package/models/operations/getticket.js.map +1 -0
- package/models/operations/index.d.ts +6 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +6 -0
- 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/listticketmessages.d.ts +66 -0
- package/models/operations/listticketmessages.d.ts.map +1 -0
- package/models/operations/listticketmessages.js +114 -0
- package/models/operations/listticketmessages.js.map +1 -0
- package/models/operations/listtickets.d.ts +90 -0
- package/models/operations/listtickets.d.ts.map +1 -0
- package/models/operations/listtickets.js +138 -0
- package/models/operations/listtickets.js.map +1 -0
- package/models/operations/saveunderwriting.d.ts +66 -0
- package/models/operations/saveunderwriting.d.ts.map +1 -0
- package/models/operations/saveunderwriting.js +122 -0
- package/models/operations/saveunderwriting.js.map +1 -0
- package/models/operations/updateticket.d.ts +68 -0
- package/models/operations/updateticket.d.ts.map +1 -0
- package/models/operations/updateticket.js +124 -0
- package/models/operations/updateticket.js.map +1 -0
- package/package.json +1 -1
- package/sdk/sdk.d.ts +3 -0
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +4 -0
- package/sdk/sdk.js.map +1 -1
- package/sdk/support.d.ts +55 -0
- package/sdk/support.d.ts.map +1 -0
- package/sdk/support.js +77 -0
- package/sdk/support.js.map +1 -0
- package/sdk/underwriting.d.ts +9 -0
- package/sdk/underwriting.d.ts.map +1 -1
- package/sdk/underwriting.js +12 -0
- package/sdk/underwriting.js.map +1 -1
- package/src/funcs/supportCreateTicket.ts +204 -0
- package/src/funcs/supportGetTicket.ts +188 -0
- package/src/funcs/supportListTicketMessages.ts +188 -0
- package/src/funcs/supportListTickets.ts +190 -0
- package/src/funcs/supportUpdateTicket.ts +210 -0
- package/src/funcs/underwritingSave.ts +207 -0
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +13 -1
- package/src/mcp-server/tools/supportCreateTicket.ts +41 -0
- package/src/mcp-server/tools/supportGetTicket.ts +41 -0
- package/src/mcp-server/tools/supportListTicketMessages.ts +41 -0
- package/src/mcp-server/tools/supportListTickets.ts +41 -0
- package/src/mcp-server/tools/supportUpdateTicket.ts +41 -0
- package/src/mcp-server/tools/underwritingSave.ts +40 -0
- package/src/models/components/accounttype.ts +1 -0
- package/src/models/components/bankaccountholdertype.ts +1 -0
- package/src/models/components/businesspresence.ts +25 -0
- package/src/models/components/capabilityid.ts +11 -0
- package/src/models/components/cardacceptancemethods.ts +71 -0
- package/src/models/components/cardacceptancemethodserror.ts +59 -0
- package/src/models/components/collectfunds.ts +63 -0
- package/src/models/components/collectfundsach.ts +55 -0
- package/src/models/components/collectfundsacherror.ts +57 -0
- package/src/models/components/collectfundscardpayments.ts +93 -0
- package/src/models/components/collectfundscardpaymentserror.ts +87 -0
- package/src/models/components/collectfundserror.ts +67 -0
- package/src/models/components/createaccount.ts +8 -11
- package/src/models/components/createaccounttype.ts +21 -0
- package/src/models/components/createticket.ts +72 -0
- package/src/models/components/createticketcontacterror.ts +55 -0
- package/src/models/components/enrichedindustries.ts +9 -9
- package/src/models/components/estimatedactivity.ts +67 -0
- package/src/models/components/estimatedactivityerror.ts +59 -0
- package/src/models/components/fulfillment.ts +61 -0
- package/src/models/components/fulfillmenterror.ts +55 -0
- package/src/models/components/fulfillmentmethod.ts +28 -0
- package/src/models/components/fulfillmenttimeframe.ts +27 -0
- package/src/models/components/geographicreach.ts +22 -0
- package/src/models/components/guestprofile.ts +70 -0
- package/src/models/components/index.ts +50 -1
- package/src/models/components/industrytaxonomy.ts +85 -0
- package/src/models/components/itemlistnextpage.ts +54 -0
- package/src/models/components/moneytransfer.ts +63 -0
- package/src/models/components/moneytransfererror.ts +67 -0
- package/src/models/components/moneytransferpullfromcard.ts +57 -0
- package/src/models/components/moneytransferpullfromcarderror.ts +59 -0
- package/src/models/components/moneytransferpushtocard.ts +57 -0
- package/src/models/components/moneytransferpushtocarderror.ts +59 -0
- package/src/models/components/monthlyvolumerange.ts +33 -0
- package/src/models/components/pendinglitigation.ts +30 -0
- package/src/models/components/profile.ts +13 -0
- package/src/models/components/refundpolicy.ts +26 -0
- package/src/models/components/requirementid.ts +103 -0
- package/src/models/components/sendfunds.ts +83 -0
- package/src/models/components/sendfundsach.ts +53 -0
- package/src/models/components/sendfundsacherror.ts +57 -0
- package/src/models/components/sendfundserror.ts +83 -0
- package/src/models/components/sendfundsinstantbank.ts +57 -0
- package/src/models/components/sendfundsinstantbankerror.ts +57 -0
- package/src/models/components/sendfundspushtocard.ts +57 -0
- package/src/models/components/sendfundspushtocarderror.ts +57 -0
- package/src/models/components/sendfundsrtp.ts +53 -0
- package/src/models/components/sendfundsrtperror.ts +57 -0
- package/src/models/components/submissionintent.ts +21 -0
- package/src/models/components/ticket.ts +98 -0
- package/src/models/components/ticketcontact.ts +51 -0
- package/src/models/components/ticketmessage.ts +55 -0
- package/src/models/components/underwriting.ts +96 -28
- package/src/models/components/updateticket.ts +55 -0
- package/src/models/components/updateticketstatus.ts +20 -0
- package/src/models/components/upsertunderwriting.ts +124 -0
- package/src/models/components/volumesharebycustomertype.ts +59 -0
- package/src/models/components/volumesharebycustomertypeerror.ts +61 -0
- package/src/models/errors/createticketerror.ts +89 -0
- package/src/models/errors/index.ts +3 -0
- package/src/models/errors/updateticketerror.ts +66 -0
- package/src/models/errors/upsertunderwritingerror.ts +178 -0
- package/src/models/operations/createticket.ts +187 -0
- package/src/models/operations/getticket.ts +179 -0
- package/src/models/operations/index.ts +6 -0
- package/src/models/operations/listaccounts.ts +3 -3
- package/src/models/operations/listconnectedaccountsforaccount.ts +3 -3
- package/src/models/operations/listticketmessages.ts +179 -0
- package/src/models/operations/listtickets.ts +241 -0
- package/src/models/operations/saveunderwriting.ts +187 -0
- package/src/models/operations/updateticket.ts +191 -0
- package/src/sdk/sdk.ts +6 -0
- package/src/sdk/support.ts +114 -0
- package/src/sdk/underwriting.ts +20 -0
- package/models/components/enrichedindustry.d.ts +0 -35
- package/models/components/enrichedindustry.d.ts.map +0 -1
- package/models/components/enrichedindustry.js.map +0 -1
- package/src/models/components/enrichedindustry.ts +0 -75
|
@@ -0,0 +1,59 @@
|
|
|
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.SendFundsPushToCard$outboundSchema = exports.SendFundsPushToCard$inboundSchema = void 0;
|
|
40
|
+
exports.sendFundsPushToCardToJSON = sendFundsPushToCardToJSON;
|
|
41
|
+
exports.sendFundsPushToCardFromJSON = sendFundsPushToCardFromJSON;
|
|
42
|
+
const z = __importStar(require("zod/v3"));
|
|
43
|
+
const schemas_js_1 = require("../../lib/schemas.js");
|
|
44
|
+
const estimatedactivity_js_1 = require("./estimatedactivity.js");
|
|
45
|
+
/** @internal */
|
|
46
|
+
exports.SendFundsPushToCard$inboundSchema = z.object({
|
|
47
|
+
estimatedActivity: estimatedactivity_js_1.EstimatedActivity$inboundSchema.optional(),
|
|
48
|
+
});
|
|
49
|
+
/** @internal */
|
|
50
|
+
exports.SendFundsPushToCard$outboundSchema = z.object({
|
|
51
|
+
estimatedActivity: estimatedactivity_js_1.EstimatedActivity$outboundSchema.optional(),
|
|
52
|
+
});
|
|
53
|
+
function sendFundsPushToCardToJSON(sendFundsPushToCard) {
|
|
54
|
+
return JSON.stringify(exports.SendFundsPushToCard$outboundSchema.parse(sendFundsPushToCard));
|
|
55
|
+
}
|
|
56
|
+
function sendFundsPushToCardFromJSON(jsonString) {
|
|
57
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.SendFundsPushToCard$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SendFundsPushToCard' from JSON`);
|
|
58
|
+
}
|
|
59
|
+
//# sourceMappingURL=sendfundspushtocard.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sendfundspushtocard.js","sourceRoot":"","sources":["../../src/models/components/sendfundspushtocard.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuCH,8DAMC;AACD,kEAQC;AApDD,0CAA4B;AAC5B,qDAAiD;AAGjD,iEAKgC;AAMhC,gBAAgB;AACH,QAAA,iCAAiC,GAI1C,CAAC,CAAC,MAAM,CAAC;IACX,iBAAiB,EAAE,sDAA+B,CAAC,QAAQ,EAAE;CAC9D,CAAC,CAAC;AAMH,gBAAgB;AACH,QAAA,kCAAkC,GAI3C,CAAC,CAAC,MAAM,CAAC;IACX,iBAAiB,EAAE,uDAAgC,CAAC,QAAQ,EAAE;CAC/D,CAAC,CAAC;AAEH,SAAgB,yBAAyB,CACvC,mBAAwC;IAExC,OAAO,IAAI,CAAC,SAAS,CACnB,0CAAkC,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAC9D,CAAC;AACJ,CAAC;AACD,SAAgB,2BAA2B,CACzC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,yCAAiC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC7D,iDAAiD,CAClD,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
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 { EstimatedActivityError, EstimatedActivityError$Outbound } from "./estimatedactivityerror.js";
|
|
5
|
+
export type SendFundsPushToCardError = {
|
|
6
|
+
estimatedActivity?: EstimatedActivityError | undefined;
|
|
7
|
+
};
|
|
8
|
+
/** @internal */
|
|
9
|
+
export declare const SendFundsPushToCardError$inboundSchema: z.ZodType<SendFundsPushToCardError, z.ZodTypeDef, unknown>;
|
|
10
|
+
/** @internal */
|
|
11
|
+
export type SendFundsPushToCardError$Outbound = {
|
|
12
|
+
estimatedActivity?: EstimatedActivityError$Outbound | undefined;
|
|
13
|
+
};
|
|
14
|
+
/** @internal */
|
|
15
|
+
export declare const SendFundsPushToCardError$outboundSchema: z.ZodType<SendFundsPushToCardError$Outbound, z.ZodTypeDef, SendFundsPushToCardError>;
|
|
16
|
+
export declare function sendFundsPushToCardErrorToJSON(sendFundsPushToCardError: SendFundsPushToCardError): string;
|
|
17
|
+
export declare function sendFundsPushToCardErrorFromJSON(jsonString: string): SafeParseResult<SendFundsPushToCardError, SDKValidationError>;
|
|
18
|
+
//# sourceMappingURL=sendfundspushtocarderror.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sendfundspushtocarderror.d.ts","sourceRoot":"","sources":["../../src/models/components/sendfundspushtocarderror.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,sBAAsB,EAEtB,+BAA+B,EAEhC,MAAM,6BAA6B,CAAC;AAErC,MAAM,MAAM,wBAAwB,GAAG;IACrC,iBAAiB,CAAC,EAAE,sBAAsB,GAAG,SAAS,CAAC;CACxD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,sCAAsC,EAAE,CAAC,CAAC,OAAO,CAC5D,wBAAwB,EACxB,CAAC,CAAC,UAAU,EACZ,OAAO,CAGP,CAAC;AACH,gBAAgB;AAChB,MAAM,MAAM,iCAAiC,GAAG;IAC9C,iBAAiB,CAAC,EAAE,+BAA+B,GAAG,SAAS,CAAC;CACjE,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,uCAAuC,EAAE,CAAC,CAAC,OAAO,CAC7D,iCAAiC,EACjC,CAAC,CAAC,UAAU,EACZ,wBAAwB,CAGxB,CAAC;AAEH,wBAAgB,8BAA8B,CAC5C,wBAAwB,EAAE,wBAAwB,GACjD,MAAM,CAIR;AACD,wBAAgB,gCAAgC,CAC9C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,wBAAwB,EAAE,kBAAkB,CAAC,CAM/D"}
|
|
@@ -0,0 +1,59 @@
|
|
|
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.SendFundsPushToCardError$outboundSchema = exports.SendFundsPushToCardError$inboundSchema = void 0;
|
|
40
|
+
exports.sendFundsPushToCardErrorToJSON = sendFundsPushToCardErrorToJSON;
|
|
41
|
+
exports.sendFundsPushToCardErrorFromJSON = sendFundsPushToCardErrorFromJSON;
|
|
42
|
+
const z = __importStar(require("zod/v3"));
|
|
43
|
+
const schemas_js_1 = require("../../lib/schemas.js");
|
|
44
|
+
const estimatedactivityerror_js_1 = require("./estimatedactivityerror.js");
|
|
45
|
+
/** @internal */
|
|
46
|
+
exports.SendFundsPushToCardError$inboundSchema = z.object({
|
|
47
|
+
estimatedActivity: estimatedactivityerror_js_1.EstimatedActivityError$inboundSchema.optional(),
|
|
48
|
+
});
|
|
49
|
+
/** @internal */
|
|
50
|
+
exports.SendFundsPushToCardError$outboundSchema = z.object({
|
|
51
|
+
estimatedActivity: estimatedactivityerror_js_1.EstimatedActivityError$outboundSchema.optional(),
|
|
52
|
+
});
|
|
53
|
+
function sendFundsPushToCardErrorToJSON(sendFundsPushToCardError) {
|
|
54
|
+
return JSON.stringify(exports.SendFundsPushToCardError$outboundSchema.parse(sendFundsPushToCardError));
|
|
55
|
+
}
|
|
56
|
+
function sendFundsPushToCardErrorFromJSON(jsonString) {
|
|
57
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.SendFundsPushToCardError$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SendFundsPushToCardError' from JSON`);
|
|
58
|
+
}
|
|
59
|
+
//# sourceMappingURL=sendfundspushtocarderror.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sendfundspushtocarderror.js","sourceRoot":"","sources":["../../src/models/components/sendfundspushtocarderror.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuCH,wEAMC;AACD,4EAQC;AApDD,0CAA4B;AAC5B,qDAAiD;AAGjD,2EAKqC;AAMrC,gBAAgB;AACH,QAAA,sCAAsC,GAI/C,CAAC,CAAC,MAAM,CAAC;IACX,iBAAiB,EAAE,gEAAoC,CAAC,QAAQ,EAAE;CACnE,CAAC,CAAC;AAMH,gBAAgB;AACH,QAAA,uCAAuC,GAIhD,CAAC,CAAC,MAAM,CAAC;IACX,iBAAiB,EAAE,iEAAqC,CAAC,QAAQ,EAAE;CACpE,CAAC,CAAC;AAEH,SAAgB,8BAA8B,CAC5C,wBAAkD;IAElD,OAAO,IAAI,CAAC,SAAS,CACnB,+CAAuC,CAAC,KAAK,CAAC,wBAAwB,CAAC,CACxE,CAAC;AACJ,CAAC;AACD,SAAgB,gCAAgC,CAC9C,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,8CAAsC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAClE,sDAAsD,CACvD,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
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 { EstimatedActivity, EstimatedActivity$Outbound } from "./estimatedactivity.js";
|
|
5
|
+
export type SendFundsRtp = {
|
|
6
|
+
estimatedActivity?: EstimatedActivity | undefined;
|
|
7
|
+
};
|
|
8
|
+
/** @internal */
|
|
9
|
+
export declare const SendFundsRtp$inboundSchema: z.ZodType<SendFundsRtp, z.ZodTypeDef, unknown>;
|
|
10
|
+
/** @internal */
|
|
11
|
+
export type SendFundsRtp$Outbound = {
|
|
12
|
+
estimatedActivity?: EstimatedActivity$Outbound | undefined;
|
|
13
|
+
};
|
|
14
|
+
/** @internal */
|
|
15
|
+
export declare const SendFundsRtp$outboundSchema: z.ZodType<SendFundsRtp$Outbound, z.ZodTypeDef, SendFundsRtp>;
|
|
16
|
+
export declare function sendFundsRtpToJSON(sendFundsRtp: SendFundsRtp): string;
|
|
17
|
+
export declare function sendFundsRtpFromJSON(jsonString: string): SafeParseResult<SendFundsRtp, SDKValidationError>;
|
|
18
|
+
//# sourceMappingURL=sendfundsrtp.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sendfundsrtp.d.ts","sourceRoot":"","sources":["../../src/models/components/sendfundsrtp.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,iBAAiB,EAEjB,0BAA0B,EAE3B,MAAM,wBAAwB,CAAC;AAEhC,MAAM,MAAM,YAAY,GAAG;IACzB,iBAAiB,CAAC,EAAE,iBAAiB,GAAG,SAAS,CAAC;CACnD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,0BAA0B,EAAE,CAAC,CAAC,OAAO,CAChD,YAAY,EACZ,CAAC,CAAC,UAAU,EACZ,OAAO,CAGP,CAAC;AACH,gBAAgB;AAChB,MAAM,MAAM,qBAAqB,GAAG;IAClC,iBAAiB,CAAC,EAAE,0BAA0B,GAAG,SAAS,CAAC;CAC5D,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,2BAA2B,EAAE,CAAC,CAAC,OAAO,CACjD,qBAAqB,EACrB,CAAC,CAAC,UAAU,EACZ,YAAY,CAGZ,CAAC;AAEH,wBAAgB,kBAAkB,CAAC,YAAY,EAAE,YAAY,GAAG,MAAM,CAErE;AACD,wBAAgB,oBAAoB,CAClC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,YAAY,EAAE,kBAAkB,CAAC,CAMnD"}
|
|
@@ -0,0 +1,59 @@
|
|
|
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.SendFundsRtp$outboundSchema = exports.SendFundsRtp$inboundSchema = void 0;
|
|
40
|
+
exports.sendFundsRtpToJSON = sendFundsRtpToJSON;
|
|
41
|
+
exports.sendFundsRtpFromJSON = sendFundsRtpFromJSON;
|
|
42
|
+
const z = __importStar(require("zod/v3"));
|
|
43
|
+
const schemas_js_1 = require("../../lib/schemas.js");
|
|
44
|
+
const estimatedactivity_js_1 = require("./estimatedactivity.js");
|
|
45
|
+
/** @internal */
|
|
46
|
+
exports.SendFundsRtp$inboundSchema = z.object({
|
|
47
|
+
estimatedActivity: estimatedactivity_js_1.EstimatedActivity$inboundSchema.optional(),
|
|
48
|
+
});
|
|
49
|
+
/** @internal */
|
|
50
|
+
exports.SendFundsRtp$outboundSchema = z.object({
|
|
51
|
+
estimatedActivity: estimatedactivity_js_1.EstimatedActivity$outboundSchema.optional(),
|
|
52
|
+
});
|
|
53
|
+
function sendFundsRtpToJSON(sendFundsRtp) {
|
|
54
|
+
return JSON.stringify(exports.SendFundsRtp$outboundSchema.parse(sendFundsRtp));
|
|
55
|
+
}
|
|
56
|
+
function sendFundsRtpFromJSON(jsonString) {
|
|
57
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.SendFundsRtp$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SendFundsRtp' from JSON`);
|
|
58
|
+
}
|
|
59
|
+
//# sourceMappingURL=sendfundsrtp.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sendfundsrtp.js","sourceRoot":"","sources":["../../src/models/components/sendfundsrtp.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuCH,gDAEC;AACD,oDAQC;AAhDD,0CAA4B;AAC5B,qDAAiD;AAGjD,iEAKgC;AAMhC,gBAAgB;AACH,QAAA,0BAA0B,GAInC,CAAC,CAAC,MAAM,CAAC;IACX,iBAAiB,EAAE,sDAA+B,CAAC,QAAQ,EAAE;CAC9D,CAAC,CAAC;AAMH,gBAAgB;AACH,QAAA,2BAA2B,GAIpC,CAAC,CAAC,MAAM,CAAC;IACX,iBAAiB,EAAE,uDAAgC,CAAC,QAAQ,EAAE;CAC/D,CAAC,CAAC;AAEH,SAAgB,kBAAkB,CAAC,YAA0B;IAC3D,OAAO,IAAI,CAAC,SAAS,CAAC,mCAA2B,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC;AACzE,CAAC;AACD,SAAgB,oBAAoB,CAClC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,kCAA0B,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACtD,0CAA0C,CAC3C,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
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 { EstimatedActivityError, EstimatedActivityError$Outbound } from "./estimatedactivityerror.js";
|
|
5
|
+
export type SendFundsRtpError = {
|
|
6
|
+
estimatedActivity?: EstimatedActivityError | undefined;
|
|
7
|
+
};
|
|
8
|
+
/** @internal */
|
|
9
|
+
export declare const SendFundsRtpError$inboundSchema: z.ZodType<SendFundsRtpError, z.ZodTypeDef, unknown>;
|
|
10
|
+
/** @internal */
|
|
11
|
+
export type SendFundsRtpError$Outbound = {
|
|
12
|
+
estimatedActivity?: EstimatedActivityError$Outbound | undefined;
|
|
13
|
+
};
|
|
14
|
+
/** @internal */
|
|
15
|
+
export declare const SendFundsRtpError$outboundSchema: z.ZodType<SendFundsRtpError$Outbound, z.ZodTypeDef, SendFundsRtpError>;
|
|
16
|
+
export declare function sendFundsRtpErrorToJSON(sendFundsRtpError: SendFundsRtpError): string;
|
|
17
|
+
export declare function sendFundsRtpErrorFromJSON(jsonString: string): SafeParseResult<SendFundsRtpError, SDKValidationError>;
|
|
18
|
+
//# sourceMappingURL=sendfundsrtperror.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sendfundsrtperror.d.ts","sourceRoot":"","sources":["../../src/models/components/sendfundsrtperror.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,sBAAsB,EAEtB,+BAA+B,EAEhC,MAAM,6BAA6B,CAAC;AAErC,MAAM,MAAM,iBAAiB,GAAG;IAC9B,iBAAiB,CAAC,EAAE,sBAAsB,GAAG,SAAS,CAAC;CACxD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,+BAA+B,EAAE,CAAC,CAAC,OAAO,CACrD,iBAAiB,EACjB,CAAC,CAAC,UAAU,EACZ,OAAO,CAGP,CAAC;AACH,gBAAgB;AAChB,MAAM,MAAM,0BAA0B,GAAG;IACvC,iBAAiB,CAAC,EAAE,+BAA+B,GAAG,SAAS,CAAC;CACjE,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,gCAAgC,EAAE,CAAC,CAAC,OAAO,CACtD,0BAA0B,EAC1B,CAAC,CAAC,UAAU,EACZ,iBAAiB,CAGjB,CAAC;AAEH,wBAAgB,uBAAuB,CACrC,iBAAiB,EAAE,iBAAiB,GACnC,MAAM,CAIR;AACD,wBAAgB,yBAAyB,CACvC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,iBAAiB,EAAE,kBAAkB,CAAC,CAMxD"}
|
|
@@ -0,0 +1,59 @@
|
|
|
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.SendFundsRtpError$outboundSchema = exports.SendFundsRtpError$inboundSchema = void 0;
|
|
40
|
+
exports.sendFundsRtpErrorToJSON = sendFundsRtpErrorToJSON;
|
|
41
|
+
exports.sendFundsRtpErrorFromJSON = sendFundsRtpErrorFromJSON;
|
|
42
|
+
const z = __importStar(require("zod/v3"));
|
|
43
|
+
const schemas_js_1 = require("../../lib/schemas.js");
|
|
44
|
+
const estimatedactivityerror_js_1 = require("./estimatedactivityerror.js");
|
|
45
|
+
/** @internal */
|
|
46
|
+
exports.SendFundsRtpError$inboundSchema = z.object({
|
|
47
|
+
estimatedActivity: estimatedactivityerror_js_1.EstimatedActivityError$inboundSchema.optional(),
|
|
48
|
+
});
|
|
49
|
+
/** @internal */
|
|
50
|
+
exports.SendFundsRtpError$outboundSchema = z.object({
|
|
51
|
+
estimatedActivity: estimatedactivityerror_js_1.EstimatedActivityError$outboundSchema.optional(),
|
|
52
|
+
});
|
|
53
|
+
function sendFundsRtpErrorToJSON(sendFundsRtpError) {
|
|
54
|
+
return JSON.stringify(exports.SendFundsRtpError$outboundSchema.parse(sendFundsRtpError));
|
|
55
|
+
}
|
|
56
|
+
function sendFundsRtpErrorFromJSON(jsonString) {
|
|
57
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.SendFundsRtpError$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SendFundsRtpError' from JSON`);
|
|
58
|
+
}
|
|
59
|
+
//# sourceMappingURL=sendfundsrtperror.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sendfundsrtperror.js","sourceRoot":"","sources":["../../src/models/components/sendfundsrtperror.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuCH,0DAMC;AACD,8DAQC;AApDD,0CAA4B;AAC5B,qDAAiD;AAGjD,2EAKqC;AAMrC,gBAAgB;AACH,QAAA,+BAA+B,GAIxC,CAAC,CAAC,MAAM,CAAC;IACX,iBAAiB,EAAE,gEAAoC,CAAC,QAAQ,EAAE;CACnE,CAAC,CAAC;AAMH,gBAAgB;AACH,QAAA,gCAAgC,GAIzC,CAAC,CAAC,MAAM,CAAC;IACX,iBAAiB,EAAE,iEAAqC,CAAC,QAAQ,EAAE;CACpE,CAAC,CAAC;AAEH,SAAgB,uBAAuB,CACrC,iBAAoC;IAEpC,OAAO,IAAI,CAAC,SAAS,CACnB,wCAAgC,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAC1D,CAAC;AACJ,CAAC;AACD,SAAgB,yBAAyB,CACvC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,uCAA+B,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC3D,+CAA+C,CAChD,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as z from "zod/v3";
|
|
2
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
3
|
+
export declare const SubmissionIntent: {
|
|
4
|
+
readonly Wait: "wait";
|
|
5
|
+
readonly Submit: "submit";
|
|
6
|
+
};
|
|
7
|
+
export type SubmissionIntent = ClosedEnum<typeof SubmissionIntent>;
|
|
8
|
+
/** @internal */
|
|
9
|
+
export declare const SubmissionIntent$inboundSchema: z.ZodNativeEnum<typeof SubmissionIntent>;
|
|
10
|
+
/** @internal */
|
|
11
|
+
export declare const SubmissionIntent$outboundSchema: z.ZodNativeEnum<typeof SubmissionIntent>;
|
|
12
|
+
//# sourceMappingURL=submissionintent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"submissionintent.d.ts","sourceRoot":"","sources":["../../src/models/components/submissionintent.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD,eAAO,MAAM,gBAAgB;;;CAGnB,CAAC;AACX,MAAM,MAAM,gBAAgB,GAAG,UAAU,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAEnE,gBAAgB;AAChB,eAAO,MAAM,8BAA8B,EAAE,CAAC,CAAC,aAAa,CAC1D,OAAO,gBAAgB,CACS,CAAC;AACnC,gBAAgB;AAChB,eAAO,MAAM,+BAA+B,EAAE,CAAC,CAAC,aAAa,CAC3D,OAAO,gBAAgB,CACS,CAAC"}
|
|
@@ -0,0 +1,49 @@
|
|
|
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.SubmissionIntent$outboundSchema = exports.SubmissionIntent$inboundSchema = exports.SubmissionIntent = void 0;
|
|
40
|
+
const z = __importStar(require("zod/v3"));
|
|
41
|
+
exports.SubmissionIntent = {
|
|
42
|
+
Wait: "wait",
|
|
43
|
+
Submit: "submit",
|
|
44
|
+
};
|
|
45
|
+
/** @internal */
|
|
46
|
+
exports.SubmissionIntent$inboundSchema = z.nativeEnum(exports.SubmissionIntent);
|
|
47
|
+
/** @internal */
|
|
48
|
+
exports.SubmissionIntent$outboundSchema = exports.SubmissionIntent$inboundSchema;
|
|
49
|
+
//# sourceMappingURL=submissionintent.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"submissionintent.js","sourceRoot":"","sources":["../../src/models/components/submissionintent.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,0CAA4B;AAGf,QAAA,gBAAgB,GAAG;IAC9B,IAAI,EAAE,MAAM;IACZ,MAAM,EAAE,QAAQ;CACR,CAAC;AAGX,gBAAgB;AACH,QAAA,8BAA8B,GAEvC,CAAC,CAAC,UAAU,CAAC,wBAAgB,CAAC,CAAC;AACnC,gBAAgB;AACH,QAAA,+BAA+B,GAExC,sCAA8B,CAAC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
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 { TicketContact, TicketContact$Outbound } from "./ticketcontact.js";
|
|
5
|
+
import { TicketStatus } from "./ticketstatus.js";
|
|
6
|
+
export type Ticket = {
|
|
7
|
+
ticketID: string;
|
|
8
|
+
number: number;
|
|
9
|
+
title: string;
|
|
10
|
+
contact: TicketContact;
|
|
11
|
+
status: TicketStatus;
|
|
12
|
+
createdOn: Date;
|
|
13
|
+
updatedOn: Date;
|
|
14
|
+
latestMessageOn?: Date | undefined;
|
|
15
|
+
closedOn?: Date | undefined;
|
|
16
|
+
foreignID?: string | undefined;
|
|
17
|
+
};
|
|
18
|
+
/** @internal */
|
|
19
|
+
export declare const Ticket$inboundSchema: z.ZodType<Ticket, z.ZodTypeDef, unknown>;
|
|
20
|
+
/** @internal */
|
|
21
|
+
export type Ticket$Outbound = {
|
|
22
|
+
ticketID: string;
|
|
23
|
+
number: number;
|
|
24
|
+
title: string;
|
|
25
|
+
contact: TicketContact$Outbound;
|
|
26
|
+
status: string;
|
|
27
|
+
createdOn: string;
|
|
28
|
+
updatedOn: string;
|
|
29
|
+
latestMessageOn?: string | undefined;
|
|
30
|
+
closedOn?: string | undefined;
|
|
31
|
+
foreignID?: string | undefined;
|
|
32
|
+
};
|
|
33
|
+
/** @internal */
|
|
34
|
+
export declare const Ticket$outboundSchema: z.ZodType<Ticket$Outbound, z.ZodTypeDef, Ticket>;
|
|
35
|
+
export declare function ticketToJSON(ticket: Ticket): string;
|
|
36
|
+
export declare function ticketFromJSON(jsonString: string): SafeParseResult<Ticket, SDKValidationError>;
|
|
37
|
+
//# sourceMappingURL=ticket.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ticket.d.ts","sourceRoot":"","sources":["../../src/models/components/ticket.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,YAAY,EAGb,MAAM,mBAAmB,CAAC;AAE3B,MAAM,MAAM,MAAM,GAAG;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,aAAa,CAAC;IACvB,MAAM,EAAE,YAAY,CAAC;IACrB,SAAS,EAAE,IAAI,CAAC;IAChB,SAAS,EAAE,IAAI,CAAC;IAChB,eAAe,CAAC,EAAE,IAAI,GAAG,SAAS,CAAC;IACnC,QAAQ,CAAC,EAAE,IAAI,GAAG,SAAS,CAAC;IAC5B,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAChC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,oBAAoB,EAAE,CAAC,CAAC,OAAO,CAAC,MAAM,EAAE,CAAC,CAAC,UAAU,EAAE,OAAO,CAmBtE,CAAC;AACL,gBAAgB;AAChB,MAAM,MAAM,eAAe,GAAG;IAC5B,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,sBAAsB,CAAC;IAChC,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,eAAe,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACrC,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAChC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,qBAAqB,EAAE,CAAC,CAAC,OAAO,CAC3C,eAAe,EACf,CAAC,CAAC,UAAU,EACZ,MAAM,CAYN,CAAC;AAEH,wBAAgB,YAAY,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAEnD;AACD,wBAAgB,cAAc,CAC5B,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,MAAM,EAAE,kBAAkB,CAAC,CAM7C"}
|
|
@@ -0,0 +1,80 @@
|
|
|
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.Ticket$outboundSchema = exports.Ticket$inboundSchema = void 0;
|
|
40
|
+
exports.ticketToJSON = ticketToJSON;
|
|
41
|
+
exports.ticketFromJSON = ticketFromJSON;
|
|
42
|
+
const z = __importStar(require("zod/v3"));
|
|
43
|
+
const schemas_js_1 = require("../../lib/schemas.js");
|
|
44
|
+
const ticketcontact_js_1 = require("./ticketcontact.js");
|
|
45
|
+
const ticketstatus_js_1 = require("./ticketstatus.js");
|
|
46
|
+
/** @internal */
|
|
47
|
+
exports.Ticket$inboundSchema = z
|
|
48
|
+
.object({
|
|
49
|
+
ticketID: z.string(),
|
|
50
|
+
number: z.number().int(),
|
|
51
|
+
title: z.string(),
|
|
52
|
+
contact: ticketcontact_js_1.TicketContact$inboundSchema,
|
|
53
|
+
status: ticketstatus_js_1.TicketStatus$inboundSchema,
|
|
54
|
+
createdOn: z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
55
|
+
updatedOn: z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
56
|
+
latestMessageOn: z.string().datetime({ offset: true }).transform(v => new Date(v)).optional(),
|
|
57
|
+
closedOn: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
58
|
+
.optional(),
|
|
59
|
+
foreignID: z.string().optional(),
|
|
60
|
+
});
|
|
61
|
+
/** @internal */
|
|
62
|
+
exports.Ticket$outboundSchema = z.object({
|
|
63
|
+
ticketID: z.string(),
|
|
64
|
+
number: z.number().int(),
|
|
65
|
+
title: z.string(),
|
|
66
|
+
contact: ticketcontact_js_1.TicketContact$outboundSchema,
|
|
67
|
+
status: ticketstatus_js_1.TicketStatus$outboundSchema,
|
|
68
|
+
createdOn: z.date().transform(v => v.toISOString()),
|
|
69
|
+
updatedOn: z.date().transform(v => v.toISOString()),
|
|
70
|
+
latestMessageOn: z.date().transform(v => v.toISOString()).optional(),
|
|
71
|
+
closedOn: z.date().transform(v => v.toISOString()).optional(),
|
|
72
|
+
foreignID: z.string().optional(),
|
|
73
|
+
});
|
|
74
|
+
function ticketToJSON(ticket) {
|
|
75
|
+
return JSON.stringify(exports.Ticket$outboundSchema.parse(ticket));
|
|
76
|
+
}
|
|
77
|
+
function ticketFromJSON(jsonString) {
|
|
78
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.Ticket$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Ticket' from JSON`);
|
|
79
|
+
}
|
|
80
|
+
//# sourceMappingURL=ticket.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ticket.js","sourceRoot":"","sources":["../../src/models/components/ticket.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoFH,oCAEC;AACD,wCAQC;AA7FD,0CAA4B;AAC5B,qDAAiD;AAGjD,yDAK4B;AAC5B,uDAI2B;AAe3B,gBAAgB;AACH,QAAA,oBAAoB,GAA6C,CAAC;KAC5E,MAAM,CAAC;IACN,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IACxB,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;IACjB,OAAO,EAAE,8CAA2B;IACpC,MAAM,EAAE,4CAA0B;IAClC,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAC7D,IAAI,IAAI,CAAC,CAAC,CAAC,CACZ;IACD,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAC7D,IAAI,IAAI,CAAC,CAAC,CAAC,CACZ;IACD,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CACnE,IAAI,IAAI,CAAC,CAAC,CAAC,CACZ,CAAC,QAAQ,EAAE;IACZ,QAAQ,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;SACxE,QAAQ,EAAE;IACb,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACjC,CAAC,CAAC;AAeL,gBAAgB;AACH,QAAA,qBAAqB,GAI9B,CAAC,CAAC,MAAM,CAAC;IACX,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IACxB,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;IACjB,OAAO,EAAE,+CAA4B;IACrC,MAAM,EAAE,6CAA2B;IACnC,SAAS,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC;IACnD,SAAS,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC;IACnD,eAAe,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC,CAAC,QAAQ,EAAE;IACpE,QAAQ,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC7D,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACjC,CAAC,CAAC;AAEH,SAAgB,YAAY,CAAC,MAAc;IACzC,OAAO,IAAI,CAAC,SAAS,CAAC,6BAAqB,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC;AAC7D,CAAC;AACD,SAAgB,cAAc,CAC5B,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,4BAAoB,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAChD,oCAAoC,CACrC,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
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 TicketContact = {
|
|
5
|
+
email: string;
|
|
6
|
+
name?: string | undefined;
|
|
7
|
+
};
|
|
8
|
+
/** @internal */
|
|
9
|
+
export declare const TicketContact$inboundSchema: z.ZodType<TicketContact, z.ZodTypeDef, unknown>;
|
|
10
|
+
/** @internal */
|
|
11
|
+
export type TicketContact$Outbound = {
|
|
12
|
+
email: string;
|
|
13
|
+
name?: string | undefined;
|
|
14
|
+
};
|
|
15
|
+
/** @internal */
|
|
16
|
+
export declare const TicketContact$outboundSchema: z.ZodType<TicketContact$Outbound, z.ZodTypeDef, TicketContact>;
|
|
17
|
+
export declare function ticketContactToJSON(ticketContact: TicketContact): string;
|
|
18
|
+
export declare function ticketContactFromJSON(jsonString: string): SafeParseResult<TicketContact, SDKValidationError>;
|
|
19
|
+
//# sourceMappingURL=ticketcontact.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ticketcontact.d.ts","sourceRoot":"","sources":["../../src/models/components/ticketcontact.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,aAAa,GAAG;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC3B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,2BAA2B,EAAE,CAAC,CAAC,OAAO,CACjD,aAAa,EACb,CAAC,CAAC,UAAU,EACZ,OAAO,CAIP,CAAC;AACH,gBAAgB;AAChB,MAAM,MAAM,sBAAsB,GAAG;IACnC,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC3B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,4BAA4B,EAAE,CAAC,CAAC,OAAO,CAClD,sBAAsB,EACtB,CAAC,CAAC,UAAU,EACZ,aAAa,CAIb,CAAC;AAEH,wBAAgB,mBAAmB,CAAC,aAAa,EAAE,aAAa,GAAG,MAAM,CAExE;AACD,wBAAgB,qBAAqB,CACnC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,aAAa,EAAE,kBAAkB,CAAC,CAMpD"}
|
|
@@ -0,0 +1,60 @@
|
|
|
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.TicketContact$outboundSchema = exports.TicketContact$inboundSchema = void 0;
|
|
40
|
+
exports.ticketContactToJSON = ticketContactToJSON;
|
|
41
|
+
exports.ticketContactFromJSON = ticketContactFromJSON;
|
|
42
|
+
const z = __importStar(require("zod/v3"));
|
|
43
|
+
const schemas_js_1 = require("../../lib/schemas.js");
|
|
44
|
+
/** @internal */
|
|
45
|
+
exports.TicketContact$inboundSchema = z.object({
|
|
46
|
+
email: z.string(),
|
|
47
|
+
name: z.string().optional(),
|
|
48
|
+
});
|
|
49
|
+
/** @internal */
|
|
50
|
+
exports.TicketContact$outboundSchema = z.object({
|
|
51
|
+
email: z.string(),
|
|
52
|
+
name: z.string().optional(),
|
|
53
|
+
});
|
|
54
|
+
function ticketContactToJSON(ticketContact) {
|
|
55
|
+
return JSON.stringify(exports.TicketContact$outboundSchema.parse(ticketContact));
|
|
56
|
+
}
|
|
57
|
+
function ticketContactFromJSON(jsonString) {
|
|
58
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.TicketContact$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TicketContact' from JSON`);
|
|
59
|
+
}
|
|
60
|
+
//# sourceMappingURL=ticketcontact.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ticketcontact.js","sourceRoot":"","sources":["../../src/models/components/ticketcontact.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqCH,kDAEC;AACD,sDAQC;AA9CD,0CAA4B;AAC5B,qDAAiD;AASjD,gBAAgB;AACH,QAAA,2BAA2B,GAIpC,CAAC,CAAC,MAAM,CAAC;IACX,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;IACjB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAC5B,CAAC,CAAC;AAOH,gBAAgB;AACH,QAAA,4BAA4B,GAIrC,CAAC,CAAC,MAAM,CAAC;IACX,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;IACjB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAC5B,CAAC,CAAC;AAEH,SAAgB,mBAAmB,CAAC,aAA4B;IAC9D,OAAO,IAAI,CAAC,SAAS,CAAC,oCAA4B,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC;AAC3E,CAAC;AACD,SAAgB,qBAAqB,CACnC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,mCAA2B,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACvD,2CAA2C,CAC5C,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
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 TicketMessage = {
|
|
5
|
+
author: string;
|
|
6
|
+
body: string;
|
|
7
|
+
sentOn: Date;
|
|
8
|
+
};
|
|
9
|
+
/** @internal */
|
|
10
|
+
export declare const TicketMessage$inboundSchema: z.ZodType<TicketMessage, z.ZodTypeDef, unknown>;
|
|
11
|
+
/** @internal */
|
|
12
|
+
export type TicketMessage$Outbound = {
|
|
13
|
+
author: string;
|
|
14
|
+
body: string;
|
|
15
|
+
sentOn: string;
|
|
16
|
+
};
|
|
17
|
+
/** @internal */
|
|
18
|
+
export declare const TicketMessage$outboundSchema: z.ZodType<TicketMessage$Outbound, z.ZodTypeDef, TicketMessage>;
|
|
19
|
+
export declare function ticketMessageToJSON(ticketMessage: TicketMessage): string;
|
|
20
|
+
export declare function ticketMessageFromJSON(jsonString: string): SafeParseResult<TicketMessage, SDKValidationError>;
|
|
21
|
+
//# sourceMappingURL=ticketmessage.d.ts.map
|