@greensecurity/javascript-sdk 0.39.36 → 0.39.41
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 +12 -0
- package/bin/mcp-server.js +1756 -625
- package/bin/mcp-server.js.map +45 -30
- package/dist/commonjs/__tests__/events.test.js +124 -0
- package/dist/commonjs/__tests__/events.test.js.map +1 -1
- package/dist/commonjs/__tests__/webhooks.test.js +1 -1
- package/dist/commonjs/__tests__/webhooks.test.js.map +1 -1
- package/dist/commonjs/__tests__/zones.test.js +2 -5
- package/dist/commonjs/__tests__/zones.test.js.map +1 -1
- package/dist/commonjs/funcs/eventsListFeed.d.ts +21 -0
- package/dist/commonjs/funcs/eventsListFeed.d.ts.map +1 -0
- package/dist/commonjs/funcs/eventsListFeed.js +166 -0
- package/dist/commonjs/funcs/eventsListFeed.js.map +1 -0
- package/dist/commonjs/funcs/eventsListLocations.d.ts +21 -0
- package/dist/commonjs/funcs/eventsListLocations.d.ts.map +1 -0
- package/dist/commonjs/funcs/eventsListLocations.js +159 -0
- package/dist/commonjs/funcs/eventsListLocations.js.map +1 -0
- package/dist/commonjs/funcs/eventsListPendingInvitations.d.ts +21 -0
- package/dist/commonjs/funcs/eventsListPendingInvitations.d.ts.map +1 -0
- package/dist/commonjs/funcs/eventsListPendingInvitations.js +162 -0
- package/dist/commonjs/funcs/eventsListPendingInvitations.js.map +1 -0
- package/dist/commonjs/funcs/eventsListStandingAppointments.d.ts +21 -0
- package/dist/commonjs/funcs/eventsListStandingAppointments.d.ts.map +1 -0
- package/dist/commonjs/funcs/eventsListStandingAppointments.js +168 -0
- package/dist/commonjs/funcs/eventsListStandingAppointments.js.map +1 -0
- package/dist/commonjs/lib/config.d.ts +3 -3
- package/dist/commonjs/lib/config.js +3 -3
- package/dist/commonjs/mcp-server/mcp-server.js +1 -1
- package/dist/commonjs/mcp-server/server.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/server.js +9 -1
- package/dist/commonjs/mcp-server/server.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/eventsListFeed.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/eventsListFeed.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/eventsListFeed.js +64 -0
- package/dist/commonjs/mcp-server/tools/eventsListFeed.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/eventsListLocations.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/eventsListLocations.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/eventsListLocations.js +64 -0
- package/dist/commonjs/mcp-server/tools/eventsListLocations.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/eventsListPendingInvitations.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/eventsListPendingInvitations.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/eventsListPendingInvitations.js +64 -0
- package/dist/commonjs/mcp-server/tools/eventsListPendingInvitations.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/eventsListStandingAppointments.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/eventsListStandingAppointments.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/eventsListStandingAppointments.js +64 -0
- package/dist/commonjs/mcp-server/tools/eventsListStandingAppointments.js.map +1 -0
- package/dist/commonjs/models/components/backgroundcheckresult.d.ts +27 -27
- package/dist/commonjs/models/components/backgroundcheckresult.d.ts.map +1 -1
- package/dist/commonjs/models/components/backgroundcheckresult.js.map +1 -1
- package/dist/commonjs/models/components/contact.d.ts +25 -25
- package/dist/commonjs/models/components/contact.d.ts.map +1 -1
- package/dist/commonjs/models/components/contact.js +17 -17
- package/dist/commonjs/models/components/contact.js.map +1 -1
- package/dist/commonjs/models/components/credential.d.ts +25 -25
- package/dist/commonjs/models/components/credential.d.ts.map +1 -1
- package/dist/commonjs/models/components/credential.js.map +1 -1
- package/dist/commonjs/models/components/credit.d.ts +10 -10
- package/dist/commonjs/models/components/credit.d.ts.map +1 -1
- package/dist/commonjs/models/components/credit.js.map +1 -1
- package/dist/commonjs/models/components/datarequest.d.ts +21 -21
- package/dist/commonjs/models/components/datarequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/datarequest.js.map +1 -1
- package/dist/commonjs/models/components/facility.d.ts +25 -25
- package/dist/commonjs/models/components/facility.d.ts.map +1 -1
- package/dist/commonjs/models/components/facility.js +16 -16
- package/dist/commonjs/models/components/facility.js.map +1 -1
- package/dist/commonjs/models/components/feed.d.ts +42 -0
- package/dist/commonjs/models/components/feed.d.ts.map +1 -0
- package/dist/commonjs/models/components/feed.js +89 -0
- package/dist/commonjs/models/components/feed.js.map +1 -0
- package/dist/commonjs/models/components/index.d.ts +3 -0
- package/dist/commonjs/models/components/index.d.ts.map +1 -1
- package/dist/commonjs/models/components/index.js +3 -0
- package/dist/commonjs/models/components/index.js.map +1 -1
- package/dist/commonjs/models/components/mfarequiredresponse.d.ts +20 -20
- package/dist/commonjs/models/components/mfarequiredresponse.d.ts.map +1 -1
- package/dist/commonjs/models/components/mfarequiredresponse.js.map +1 -1
- package/dist/commonjs/models/components/passwordrequiredresponse.d.ts +11 -11
- package/dist/commonjs/models/components/passwordrequiredresponse.d.ts.map +1 -1
- package/dist/commonjs/models/components/passwordrequiredresponse.js.map +1 -1
- package/dist/commonjs/models/components/pendinginvitation.d.ts +80 -0
- package/dist/commonjs/models/components/pendinginvitation.d.ts.map +1 -0
- package/dist/commonjs/models/components/pendinginvitation.js +130 -0
- package/dist/commonjs/models/components/pendinginvitation.js.map +1 -0
- package/dist/commonjs/models/components/samlloginrequiredresponse.d.ts +18 -18
- package/dist/commonjs/models/components/samlloginrequiredresponse.d.ts.map +1 -1
- package/dist/commonjs/models/components/samlloginrequiredresponse.js.map +1 -1
- package/dist/commonjs/models/components/standingappointment.d.ts +46 -0
- package/dist/commonjs/models/components/standingappointment.d.ts.map +1 -0
- package/dist/commonjs/models/components/standingappointment.js +92 -0
- package/dist/commonjs/models/components/standingappointment.js.map +1 -0
- package/dist/commonjs/models/components/user.d.ts +65 -65
- package/dist/commonjs/models/components/user.d.ts.map +1 -1
- package/dist/commonjs/models/components/user.js +17 -17
- package/dist/commonjs/models/components/user.js.map +1 -1
- package/dist/commonjs/models/components/userlocation.d.ts +19 -19
- package/dist/commonjs/models/components/userlocation.d.ts.map +1 -1
- package/dist/commonjs/models/components/userlocation.js.map +1 -1
- package/dist/commonjs/models/components/vendorcredentialdatarequest.d.ts +22 -22
- package/dist/commonjs/models/components/vendorcredentialdatarequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/vendorcredentialdatarequest.js +16 -16
- package/dist/commonjs/models/components/vendorcredentialdatarequest.js.map +1 -1
- package/dist/commonjs/models/components/webhookendpoint.d.ts +18 -18
- package/dist/commonjs/models/components/webhookendpoint.d.ts.map +1 -1
- package/dist/commonjs/models/components/webhookendpoint.js.map +1 -1
- package/dist/commonjs/models/operations/createinvoice.d.ts +106 -106
- package/dist/commonjs/models/operations/createinvoice.d.ts.map +1 -1
- package/dist/commonjs/models/operations/createinvoice.js +46 -46
- package/dist/commonjs/models/operations/createinvoice.js.map +1 -1
- package/dist/commonjs/models/operations/createorupdatebcr.d.ts +20 -20
- package/dist/commonjs/models/operations/createorupdatebcr.d.ts.map +1 -1
- package/dist/commonjs/models/operations/createorupdatebcr.js.map +1 -1
- package/dist/commonjs/models/operations/index.d.ts +4 -0
- package/dist/commonjs/models/operations/index.d.ts.map +1 -1
- package/dist/commonjs/models/operations/index.js +4 -0
- package/dist/commonjs/models/operations/index.js.map +1 -1
- package/dist/commonjs/models/operations/listfeed.d.ts +166 -0
- package/dist/commonjs/models/operations/listfeed.d.ts.map +1 -0
- package/dist/commonjs/models/operations/listfeed.js +197 -0
- package/dist/commonjs/models/operations/listfeed.js.map +1 -0
- package/dist/commonjs/models/operations/listlocations.d.ts +148 -0
- package/dist/commonjs/models/operations/listlocations.d.ts.map +1 -0
- package/dist/commonjs/models/operations/listlocations.js +191 -0
- package/dist/commonjs/models/operations/listlocations.js.map +1 -0
- package/dist/commonjs/models/operations/listpendinginvitations.d.ts +136 -0
- package/dist/commonjs/models/operations/listpendinginvitations.d.ts.map +1 -0
- package/dist/commonjs/models/operations/listpendinginvitations.js +173 -0
- package/dist/commonjs/models/operations/listpendinginvitations.js.map +1 -0
- package/dist/commonjs/models/operations/liststandingappointments.d.ts +166 -0
- package/dist/commonjs/models/operations/liststandingappointments.d.ts.map +1 -0
- package/dist/commonjs/models/operations/liststandingappointments.js +197 -0
- package/dist/commonjs/models/operations/liststandingappointments.js.map +1 -0
- package/dist/commonjs/models/operations/listvendorinvoices.d.ts +20 -20
- package/dist/commonjs/models/operations/listvendorinvoices.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listvendorinvoices.js.map +1 -1
- package/dist/commonjs/models/operations/securityzonecheckin.d.ts +22 -22
- package/dist/commonjs/models/operations/securityzonecheckin.d.ts.map +1 -1
- package/dist/commonjs/models/operations/securityzonecheckin.js +17 -17
- package/dist/commonjs/models/operations/securityzonecheckin.js.map +1 -1
- package/dist/commonjs/models/operations/senddownloadcode.d.ts +10 -10
- package/dist/commonjs/models/operations/senddownloadcode.d.ts.map +1 -1
- package/dist/commonjs/models/operations/senddownloadcode.js.map +1 -1
- package/dist/commonjs/models/operations/updateinvoice.d.ts +106 -106
- package/dist/commonjs/models/operations/updateinvoice.d.ts.map +1 -1
- package/dist/commonjs/models/operations/updateinvoice.js +47 -47
- package/dist/commonjs/models/operations/updateinvoice.js.map +1 -1
- package/dist/commonjs/models/operations/updatevendorcredentialdata.d.ts +22 -22
- package/dist/commonjs/models/operations/updatevendorcredentialdata.d.ts.map +1 -1
- package/dist/commonjs/models/operations/updatevendorcredentialdata.js.map +1 -1
- package/dist/commonjs/models/operations/updatevendordetails.d.ts +24 -24
- package/dist/commonjs/models/operations/updatevendordetails.d.ts.map +1 -1
- package/dist/commonjs/models/operations/updatevendordetails.js.map +1 -1
- package/dist/commonjs/models/operations/updatevendorscrubdetails.d.ts +21 -21
- package/dist/commonjs/models/operations/updatevendorscrubdetails.d.ts.map +1 -1
- package/dist/commonjs/models/operations/updatevendorscrubdetails.js.map +1 -1
- package/dist/commonjs/react-query/eventsListFeed.d.ts +111 -0
- package/dist/commonjs/react-query/eventsListFeed.d.ts.map +1 -0
- package/dist/commonjs/react-query/eventsListFeed.js +174 -0
- package/dist/commonjs/react-query/eventsListFeed.js.map +1 -0
- package/dist/commonjs/react-query/eventsListLocations.d.ts +84 -0
- package/dist/commonjs/react-query/eventsListLocations.d.ts.map +1 -0
- package/dist/commonjs/react-query/eventsListLocations.js +161 -0
- package/dist/commonjs/react-query/eventsListLocations.js.map +1 -0
- package/dist/commonjs/react-query/eventsListPendingInvitations.d.ts +93 -0
- package/dist/commonjs/react-query/eventsListPendingInvitations.d.ts.map +1 -0
- package/dist/commonjs/react-query/eventsListPendingInvitations.js +171 -0
- package/dist/commonjs/react-query/eventsListPendingInvitations.js.map +1 -0
- package/dist/commonjs/react-query/eventsListStandingAppointments.d.ts +111 -0
- package/dist/commonjs/react-query/eventsListStandingAppointments.d.ts.map +1 -0
- package/dist/commonjs/react-query/eventsListStandingAppointments.js +183 -0
- package/dist/commonjs/react-query/eventsListStandingAppointments.js.map +1 -0
- package/dist/commonjs/react-query/index.d.ts +4 -0
- package/dist/commonjs/react-query/index.d.ts.map +1 -1
- package/dist/commonjs/react-query/index.js +4 -0
- package/dist/commonjs/react-query/index.js.map +1 -1
- package/dist/commonjs/sdk/events.d.ts +36 -0
- package/dist/commonjs/sdk/events.d.ts.map +1 -1
- package/dist/commonjs/sdk/events.js +40 -0
- package/dist/commonjs/sdk/events.js.map +1 -1
- package/dist/esm/__tests__/events.test.js +124 -0
- package/dist/esm/__tests__/events.test.js.map +1 -1
- package/dist/esm/__tests__/webhooks.test.js +1 -1
- package/dist/esm/__tests__/webhooks.test.js.map +1 -1
- package/dist/esm/__tests__/zones.test.js +2 -5
- package/dist/esm/__tests__/zones.test.js.map +1 -1
- package/dist/esm/funcs/eventsListFeed.d.ts +21 -0
- package/dist/esm/funcs/eventsListFeed.d.ts.map +1 -0
- package/dist/esm/funcs/eventsListFeed.js +130 -0
- package/dist/esm/funcs/eventsListFeed.js.map +1 -0
- package/dist/esm/funcs/eventsListLocations.d.ts +21 -0
- package/dist/esm/funcs/eventsListLocations.d.ts.map +1 -0
- package/dist/esm/funcs/eventsListLocations.js +123 -0
- package/dist/esm/funcs/eventsListLocations.js.map +1 -0
- package/dist/esm/funcs/eventsListPendingInvitations.d.ts +21 -0
- package/dist/esm/funcs/eventsListPendingInvitations.d.ts.map +1 -0
- package/dist/esm/funcs/eventsListPendingInvitations.js +126 -0
- package/dist/esm/funcs/eventsListPendingInvitations.js.map +1 -0
- package/dist/esm/funcs/eventsListStandingAppointments.d.ts +21 -0
- package/dist/esm/funcs/eventsListStandingAppointments.d.ts.map +1 -0
- package/dist/esm/funcs/eventsListStandingAppointments.js +132 -0
- package/dist/esm/funcs/eventsListStandingAppointments.js.map +1 -0
- package/dist/esm/lib/config.d.ts +3 -3
- package/dist/esm/lib/config.js +3 -3
- package/dist/esm/mcp-server/mcp-server.js +1 -1
- package/dist/esm/mcp-server/server.d.ts.map +1 -1
- package/dist/esm/mcp-server/server.js +9 -1
- package/dist/esm/mcp-server/server.js.map +1 -1
- package/dist/esm/mcp-server/tools/eventsListFeed.d.ts +8 -0
- package/dist/esm/mcp-server/tools/eventsListFeed.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/eventsListFeed.js +28 -0
- package/dist/esm/mcp-server/tools/eventsListFeed.js.map +1 -0
- package/dist/esm/mcp-server/tools/eventsListLocations.d.ts +8 -0
- package/dist/esm/mcp-server/tools/eventsListLocations.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/eventsListLocations.js +28 -0
- package/dist/esm/mcp-server/tools/eventsListLocations.js.map +1 -0
- package/dist/esm/mcp-server/tools/eventsListPendingInvitations.d.ts +8 -0
- package/dist/esm/mcp-server/tools/eventsListPendingInvitations.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/eventsListPendingInvitations.js +28 -0
- package/dist/esm/mcp-server/tools/eventsListPendingInvitations.js.map +1 -0
- package/dist/esm/mcp-server/tools/eventsListStandingAppointments.d.ts +8 -0
- package/dist/esm/mcp-server/tools/eventsListStandingAppointments.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/eventsListStandingAppointments.js +28 -0
- package/dist/esm/mcp-server/tools/eventsListStandingAppointments.js.map +1 -0
- package/dist/esm/models/components/backgroundcheckresult.d.ts +27 -27
- package/dist/esm/models/components/backgroundcheckresult.d.ts.map +1 -1
- package/dist/esm/models/components/backgroundcheckresult.js.map +1 -1
- package/dist/esm/models/components/contact.d.ts +25 -25
- package/dist/esm/models/components/contact.d.ts.map +1 -1
- package/dist/esm/models/components/contact.js +16 -16
- package/dist/esm/models/components/contact.js.map +1 -1
- package/dist/esm/models/components/credential.d.ts +25 -25
- package/dist/esm/models/components/credential.d.ts.map +1 -1
- package/dist/esm/models/components/credential.js.map +1 -1
- package/dist/esm/models/components/credit.d.ts +10 -10
- package/dist/esm/models/components/credit.d.ts.map +1 -1
- package/dist/esm/models/components/credit.js.map +1 -1
- package/dist/esm/models/components/datarequest.d.ts +21 -21
- package/dist/esm/models/components/datarequest.d.ts.map +1 -1
- package/dist/esm/models/components/datarequest.js.map +1 -1
- package/dist/esm/models/components/facility.d.ts +25 -25
- package/dist/esm/models/components/facility.d.ts.map +1 -1
- package/dist/esm/models/components/facility.js +15 -15
- package/dist/esm/models/components/facility.js.map +1 -1
- package/dist/esm/models/components/feed.d.ts +42 -0
- package/dist/esm/models/components/feed.d.ts.map +1 -0
- package/dist/esm/models/components/feed.js +51 -0
- package/dist/esm/models/components/feed.js.map +1 -0
- package/dist/esm/models/components/index.d.ts +3 -0
- package/dist/esm/models/components/index.d.ts.map +1 -1
- package/dist/esm/models/components/index.js +3 -0
- package/dist/esm/models/components/index.js.map +1 -1
- package/dist/esm/models/components/mfarequiredresponse.d.ts +20 -20
- package/dist/esm/models/components/mfarequiredresponse.d.ts.map +1 -1
- package/dist/esm/models/components/mfarequiredresponse.js.map +1 -1
- package/dist/esm/models/components/passwordrequiredresponse.d.ts +11 -11
- package/dist/esm/models/components/passwordrequiredresponse.d.ts.map +1 -1
- package/dist/esm/models/components/passwordrequiredresponse.js.map +1 -1
- package/dist/esm/models/components/pendinginvitation.d.ts +80 -0
- package/dist/esm/models/components/pendinginvitation.d.ts.map +1 -0
- package/dist/esm/models/components/pendinginvitation.js +90 -0
- package/dist/esm/models/components/pendinginvitation.js.map +1 -0
- package/dist/esm/models/components/samlloginrequiredresponse.d.ts +18 -18
- package/dist/esm/models/components/samlloginrequiredresponse.d.ts.map +1 -1
- package/dist/esm/models/components/samlloginrequiredresponse.js.map +1 -1
- package/dist/esm/models/components/standingappointment.d.ts +46 -0
- package/dist/esm/models/components/standingappointment.d.ts.map +1 -0
- package/dist/esm/models/components/standingappointment.js +54 -0
- package/dist/esm/models/components/standingappointment.js.map +1 -0
- package/dist/esm/models/components/user.d.ts +65 -65
- package/dist/esm/models/components/user.d.ts.map +1 -1
- package/dist/esm/models/components/user.js +16 -16
- package/dist/esm/models/components/user.js.map +1 -1
- package/dist/esm/models/components/userlocation.d.ts +19 -19
- package/dist/esm/models/components/userlocation.d.ts.map +1 -1
- package/dist/esm/models/components/userlocation.js.map +1 -1
- package/dist/esm/models/components/vendorcredentialdatarequest.d.ts +22 -22
- package/dist/esm/models/components/vendorcredentialdatarequest.d.ts.map +1 -1
- package/dist/esm/models/components/vendorcredentialdatarequest.js +15 -15
- package/dist/esm/models/components/vendorcredentialdatarequest.js.map +1 -1
- package/dist/esm/models/components/webhookendpoint.d.ts +18 -18
- package/dist/esm/models/components/webhookendpoint.d.ts.map +1 -1
- package/dist/esm/models/components/webhookendpoint.js.map +1 -1
- package/dist/esm/models/operations/createinvoice.d.ts +106 -106
- package/dist/esm/models/operations/createinvoice.d.ts.map +1 -1
- package/dist/esm/models/operations/createinvoice.js +45 -45
- package/dist/esm/models/operations/createinvoice.js.map +1 -1
- package/dist/esm/models/operations/createorupdatebcr.d.ts +20 -20
- package/dist/esm/models/operations/createorupdatebcr.d.ts.map +1 -1
- package/dist/esm/models/operations/createorupdatebcr.js.map +1 -1
- package/dist/esm/models/operations/index.d.ts +4 -0
- package/dist/esm/models/operations/index.d.ts.map +1 -1
- package/dist/esm/models/operations/index.js +4 -0
- package/dist/esm/models/operations/index.js.map +1 -1
- package/dist/esm/models/operations/listfeed.d.ts +166 -0
- package/dist/esm/models/operations/listfeed.d.ts.map +1 -0
- package/dist/esm/models/operations/listfeed.js +155 -0
- package/dist/esm/models/operations/listfeed.js.map +1 -0
- package/dist/esm/models/operations/listlocations.d.ts +148 -0
- package/dist/esm/models/operations/listlocations.d.ts.map +1 -0
- package/dist/esm/models/operations/listlocations.js +147 -0
- package/dist/esm/models/operations/listlocations.js.map +1 -0
- package/dist/esm/models/operations/listpendinginvitations.d.ts +136 -0
- package/dist/esm/models/operations/listpendinginvitations.d.ts.map +1 -0
- package/dist/esm/models/operations/listpendinginvitations.js +131 -0
- package/dist/esm/models/operations/listpendinginvitations.js.map +1 -0
- package/dist/esm/models/operations/liststandingappointments.d.ts +166 -0
- package/dist/esm/models/operations/liststandingappointments.d.ts.map +1 -0
- package/dist/esm/models/operations/liststandingappointments.js +155 -0
- package/dist/esm/models/operations/liststandingappointments.js.map +1 -0
- package/dist/esm/models/operations/listvendorinvoices.d.ts +20 -20
- package/dist/esm/models/operations/listvendorinvoices.d.ts.map +1 -1
- package/dist/esm/models/operations/listvendorinvoices.js.map +1 -1
- package/dist/esm/models/operations/securityzonecheckin.d.ts +22 -22
- package/dist/esm/models/operations/securityzonecheckin.d.ts.map +1 -1
- package/dist/esm/models/operations/securityzonecheckin.js +16 -16
- package/dist/esm/models/operations/securityzonecheckin.js.map +1 -1
- package/dist/esm/models/operations/senddownloadcode.d.ts +10 -10
- package/dist/esm/models/operations/senddownloadcode.d.ts.map +1 -1
- package/dist/esm/models/operations/senddownloadcode.js.map +1 -1
- package/dist/esm/models/operations/updateinvoice.d.ts +106 -106
- package/dist/esm/models/operations/updateinvoice.d.ts.map +1 -1
- package/dist/esm/models/operations/updateinvoice.js +46 -46
- package/dist/esm/models/operations/updateinvoice.js.map +1 -1
- package/dist/esm/models/operations/updatevendorcredentialdata.d.ts +22 -22
- package/dist/esm/models/operations/updatevendorcredentialdata.d.ts.map +1 -1
- package/dist/esm/models/operations/updatevendorcredentialdata.js.map +1 -1
- package/dist/esm/models/operations/updatevendordetails.d.ts +24 -24
- package/dist/esm/models/operations/updatevendordetails.d.ts.map +1 -1
- package/dist/esm/models/operations/updatevendordetails.js.map +1 -1
- package/dist/esm/models/operations/updatevendorscrubdetails.d.ts +21 -21
- package/dist/esm/models/operations/updatevendorscrubdetails.d.ts.map +1 -1
- package/dist/esm/models/operations/updatevendorscrubdetails.js.map +1 -1
- package/dist/esm/react-query/eventsListFeed.d.ts +111 -0
- package/dist/esm/react-query/eventsListFeed.d.ts.map +1 -0
- package/dist/esm/react-query/eventsListFeed.js +161 -0
- package/dist/esm/react-query/eventsListFeed.js.map +1 -0
- package/dist/esm/react-query/eventsListLocations.d.ts +84 -0
- package/dist/esm/react-query/eventsListLocations.d.ts.map +1 -0
- package/dist/esm/react-query/eventsListLocations.js +148 -0
- package/dist/esm/react-query/eventsListLocations.js.map +1 -0
- package/dist/esm/react-query/eventsListPendingInvitations.d.ts +93 -0
- package/dist/esm/react-query/eventsListPendingInvitations.d.ts.map +1 -0
- package/dist/esm/react-query/eventsListPendingInvitations.js +158 -0
- package/dist/esm/react-query/eventsListPendingInvitations.js.map +1 -0
- package/dist/esm/react-query/eventsListStandingAppointments.d.ts +111 -0
- package/dist/esm/react-query/eventsListStandingAppointments.d.ts.map +1 -0
- package/dist/esm/react-query/eventsListStandingAppointments.js +170 -0
- package/dist/esm/react-query/eventsListStandingAppointments.js.map +1 -0
- package/dist/esm/react-query/index.d.ts +4 -0
- package/dist/esm/react-query/index.d.ts.map +1 -1
- package/dist/esm/react-query/index.js +4 -0
- package/dist/esm/react-query/index.js.map +1 -1
- package/dist/esm/sdk/events.d.ts +36 -0
- package/dist/esm/sdk/events.d.ts.map +1 -1
- package/dist/esm/sdk/events.js +40 -0
- package/dist/esm/sdk/events.js.map +1 -1
- package/examples/package-lock.json +6 -5
- package/jsr.json +1 -1
- package/package.json +6 -6
- package/src/__tests__/events.test.ts +136 -0
- package/src/__tests__/webhooks.test.ts +1 -1
- package/src/__tests__/zones.test.ts +2 -5
- package/src/funcs/eventsListFeed.ts +257 -0
- package/src/funcs/eventsListLocations.ts +250 -0
- package/src/funcs/eventsListPendingInvitations.ts +254 -0
- package/src/funcs/eventsListStandingAppointments.ts +260 -0
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +9 -1
- package/src/mcp-server/tools/eventsListFeed.ts +37 -0
- package/src/mcp-server/tools/eventsListLocations.ts +37 -0
- package/src/mcp-server/tools/eventsListPendingInvitations.ts +37 -0
- package/src/mcp-server/tools/eventsListStandingAppointments.ts +38 -0
- package/src/models/components/backgroundcheckresult.ts +31 -31
- package/src/models/components/contact.ts +25 -25
- package/src/models/components/credential.ts +26 -26
- package/src/models/components/credit.ts +11 -11
- package/src/models/components/datarequest.ts +19 -19
- package/src/models/components/facility.ts +27 -27
- package/src/models/components/feed.ts +88 -0
- package/src/models/components/index.ts +3 -0
- package/src/models/components/mfarequiredresponse.ts +21 -21
- package/src/models/components/passwordrequiredresponse.ts +12 -12
- package/src/models/components/pendinginvitation.ts +176 -0
- package/src/models/components/samlloginrequiredresponse.ts +21 -21
- package/src/models/components/standingappointment.ts +106 -0
- package/src/models/components/user.ts +50 -50
- package/src/models/components/userlocation.ts +19 -19
- package/src/models/components/vendorcredentialdatarequest.ts +28 -28
- package/src/models/components/webhookendpoint.ts +21 -21
- package/src/models/operations/createinvoice.ts +114 -114
- package/src/models/operations/createorupdatebcr.ts +21 -21
- package/src/models/operations/index.ts +4 -0
- package/src/models/operations/listfeed.ts +340 -0
- package/src/models/operations/listlocations.ts +316 -0
- package/src/models/operations/listpendinginvitations.ts +296 -0
- package/src/models/operations/liststandingappointments.ts +351 -0
- package/src/models/operations/listvendorinvoices.ts +21 -21
- package/src/models/operations/securityzonecheckin.ts +24 -24
- package/src/models/operations/senddownloadcode.ts +12 -12
- package/src/models/operations/updateinvoice.ts +124 -124
- package/src/models/operations/updatevendorcredentialdata.ts +24 -24
- package/src/models/operations/updatevendordetails.ts +21 -21
- package/src/models/operations/updatevendorscrubdetails.ts +23 -23
- package/src/react-query/eventsListFeed.ts +366 -0
- package/src/react-query/eventsListLocations.ts +342 -0
- package/src/react-query/eventsListPendingInvitations.ts +367 -0
- package/src/react-query/eventsListStandingAppointments.ts +400 -0
- package/src/react-query/index.ts +4 -0
- package/src/sdk/events.ts +76 -0
|
@@ -0,0 +1,351 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import * as components from "../components/index.js";
|
|
10
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
|
+
|
|
12
|
+
export type ListStandingAppointmentsRequest = {
|
|
13
|
+
/**
|
|
14
|
+
* A comma-separated list of object attributes to sort on.
|
|
15
|
+
*/
|
|
16
|
+
sort?: string | null | undefined;
|
|
17
|
+
/**
|
|
18
|
+
* Sort desc
|
|
19
|
+
*/
|
|
20
|
+
desc?: components.Desc | undefined;
|
|
21
|
+
/**
|
|
22
|
+
* A 1-based offset for which page to request (defaults to 1)
|
|
23
|
+
*/
|
|
24
|
+
page?: number | undefined;
|
|
25
|
+
/**
|
|
26
|
+
* Number of items to show in a given page
|
|
27
|
+
*/
|
|
28
|
+
itemsPerPage?: number | undefined;
|
|
29
|
+
/**
|
|
30
|
+
* An ID representing a Hospital
|
|
31
|
+
*/
|
|
32
|
+
facilityId?: number | undefined;
|
|
33
|
+
/**
|
|
34
|
+
* An ID representing a Department
|
|
35
|
+
*/
|
|
36
|
+
departmentId?: number | undefined;
|
|
37
|
+
/**
|
|
38
|
+
* An ID representing a User
|
|
39
|
+
*/
|
|
40
|
+
userId?: number | undefined;
|
|
41
|
+
/**
|
|
42
|
+
* JSON-encoded array of facility_ids.
|
|
43
|
+
*/
|
|
44
|
+
facilityIds?: string | undefined;
|
|
45
|
+
/**
|
|
46
|
+
* JSON-encoded array of department_ids.
|
|
47
|
+
*/
|
|
48
|
+
departmentIds?: string | undefined;
|
|
49
|
+
/**
|
|
50
|
+
* JSON-encoded array of user_ids.
|
|
51
|
+
*/
|
|
52
|
+
userIds?: string | undefined;
|
|
53
|
+
/**
|
|
54
|
+
* Start date timestamp.
|
|
55
|
+
*/
|
|
56
|
+
startDate?: number | undefined;
|
|
57
|
+
/**
|
|
58
|
+
* End date timestamp.
|
|
59
|
+
*/
|
|
60
|
+
endDate?: number | undefined;
|
|
61
|
+
/**
|
|
62
|
+
* Status_pending_approver value.
|
|
63
|
+
*/
|
|
64
|
+
statusPendingApprover?: boolean | undefined;
|
|
65
|
+
/**
|
|
66
|
+
* Status_pending_invitee value.
|
|
67
|
+
*/
|
|
68
|
+
statusPendingInvitee?: boolean | undefined;
|
|
69
|
+
/**
|
|
70
|
+
* Status_approved value.
|
|
71
|
+
*/
|
|
72
|
+
statusApproved?: boolean | undefined;
|
|
73
|
+
/**
|
|
74
|
+
* Status_denied value.
|
|
75
|
+
*/
|
|
76
|
+
statusDenied?: boolean | undefined;
|
|
77
|
+
};
|
|
78
|
+
|
|
79
|
+
/**
|
|
80
|
+
* The request was successful, and the server has returned the requested resource in the response body.
|
|
81
|
+
*/
|
|
82
|
+
export type ListStandingAppointmentsResponseBody = {
|
|
83
|
+
/**
|
|
84
|
+
* Pagination information for a pageable list
|
|
85
|
+
*/
|
|
86
|
+
pager: components.Pager;
|
|
87
|
+
items: Array<components.StandingAppointment | null>;
|
|
88
|
+
};
|
|
89
|
+
|
|
90
|
+
export type ListStandingAppointmentsResponse = {
|
|
91
|
+
result: ListStandingAppointmentsResponseBody;
|
|
92
|
+
};
|
|
93
|
+
|
|
94
|
+
/** @internal */
|
|
95
|
+
export const ListStandingAppointmentsRequest$inboundSchema: z.ZodType<
|
|
96
|
+
ListStandingAppointmentsRequest,
|
|
97
|
+
z.ZodTypeDef,
|
|
98
|
+
unknown
|
|
99
|
+
> = z.object({
|
|
100
|
+
sort: z.nullable(z.string()).optional(),
|
|
101
|
+
desc: components.Desc$inboundSchema.optional(),
|
|
102
|
+
page: z.number().int().optional(),
|
|
103
|
+
items_per_page: z.number().int().optional(),
|
|
104
|
+
facility_id: z.number().int().optional(),
|
|
105
|
+
department_id: z.number().int().optional(),
|
|
106
|
+
user_id: z.number().int().optional(),
|
|
107
|
+
facility_ids: z.string().optional(),
|
|
108
|
+
department_ids: z.string().optional(),
|
|
109
|
+
user_ids: z.string().optional(),
|
|
110
|
+
start_date: z.number().int().optional(),
|
|
111
|
+
end_date: z.number().int().optional(),
|
|
112
|
+
status_pending_approver: z.boolean().optional(),
|
|
113
|
+
status_pending_invitee: z.boolean().optional(),
|
|
114
|
+
status_approved: z.boolean().optional(),
|
|
115
|
+
status_denied: z.boolean().optional(),
|
|
116
|
+
}).transform((v) => {
|
|
117
|
+
return remap$(v, {
|
|
118
|
+
"items_per_page": "itemsPerPage",
|
|
119
|
+
"facility_id": "facilityId",
|
|
120
|
+
"department_id": "departmentId",
|
|
121
|
+
"user_id": "userId",
|
|
122
|
+
"facility_ids": "facilityIds",
|
|
123
|
+
"department_ids": "departmentIds",
|
|
124
|
+
"user_ids": "userIds",
|
|
125
|
+
"start_date": "startDate",
|
|
126
|
+
"end_date": "endDate",
|
|
127
|
+
"status_pending_approver": "statusPendingApprover",
|
|
128
|
+
"status_pending_invitee": "statusPendingInvitee",
|
|
129
|
+
"status_approved": "statusApproved",
|
|
130
|
+
"status_denied": "statusDenied",
|
|
131
|
+
});
|
|
132
|
+
});
|
|
133
|
+
|
|
134
|
+
/** @internal */
|
|
135
|
+
export type ListStandingAppointmentsRequest$Outbound = {
|
|
136
|
+
sort?: string | null | undefined;
|
|
137
|
+
desc?: components.Desc$Outbound | undefined;
|
|
138
|
+
page?: number | undefined;
|
|
139
|
+
items_per_page?: number | undefined;
|
|
140
|
+
facility_id?: number | undefined;
|
|
141
|
+
department_id?: number | undefined;
|
|
142
|
+
user_id?: number | undefined;
|
|
143
|
+
facility_ids?: string | undefined;
|
|
144
|
+
department_ids?: string | undefined;
|
|
145
|
+
user_ids?: string | undefined;
|
|
146
|
+
start_date?: number | undefined;
|
|
147
|
+
end_date?: number | undefined;
|
|
148
|
+
status_pending_approver?: boolean | undefined;
|
|
149
|
+
status_pending_invitee?: boolean | undefined;
|
|
150
|
+
status_approved?: boolean | undefined;
|
|
151
|
+
status_denied?: boolean | undefined;
|
|
152
|
+
};
|
|
153
|
+
|
|
154
|
+
/** @internal */
|
|
155
|
+
export const ListStandingAppointmentsRequest$outboundSchema: z.ZodType<
|
|
156
|
+
ListStandingAppointmentsRequest$Outbound,
|
|
157
|
+
z.ZodTypeDef,
|
|
158
|
+
ListStandingAppointmentsRequest
|
|
159
|
+
> = z.object({
|
|
160
|
+
sort: z.nullable(z.string()).optional(),
|
|
161
|
+
desc: components.Desc$outboundSchema.optional(),
|
|
162
|
+
page: z.number().int().optional(),
|
|
163
|
+
itemsPerPage: z.number().int().optional(),
|
|
164
|
+
facilityId: z.number().int().optional(),
|
|
165
|
+
departmentId: z.number().int().optional(),
|
|
166
|
+
userId: z.number().int().optional(),
|
|
167
|
+
facilityIds: z.string().optional(),
|
|
168
|
+
departmentIds: z.string().optional(),
|
|
169
|
+
userIds: z.string().optional(),
|
|
170
|
+
startDate: z.number().int().optional(),
|
|
171
|
+
endDate: z.number().int().optional(),
|
|
172
|
+
statusPendingApprover: z.boolean().optional(),
|
|
173
|
+
statusPendingInvitee: z.boolean().optional(),
|
|
174
|
+
statusApproved: z.boolean().optional(),
|
|
175
|
+
statusDenied: z.boolean().optional(),
|
|
176
|
+
}).transform((v) => {
|
|
177
|
+
return remap$(v, {
|
|
178
|
+
itemsPerPage: "items_per_page",
|
|
179
|
+
facilityId: "facility_id",
|
|
180
|
+
departmentId: "department_id",
|
|
181
|
+
userId: "user_id",
|
|
182
|
+
facilityIds: "facility_ids",
|
|
183
|
+
departmentIds: "department_ids",
|
|
184
|
+
userIds: "user_ids",
|
|
185
|
+
startDate: "start_date",
|
|
186
|
+
endDate: "end_date",
|
|
187
|
+
statusPendingApprover: "status_pending_approver",
|
|
188
|
+
statusPendingInvitee: "status_pending_invitee",
|
|
189
|
+
statusApproved: "status_approved",
|
|
190
|
+
statusDenied: "status_denied",
|
|
191
|
+
});
|
|
192
|
+
});
|
|
193
|
+
|
|
194
|
+
/**
|
|
195
|
+
* @internal
|
|
196
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
197
|
+
*/
|
|
198
|
+
export namespace ListStandingAppointmentsRequest$ {
|
|
199
|
+
/** @deprecated use `ListStandingAppointmentsRequest$inboundSchema` instead. */
|
|
200
|
+
export const inboundSchema = ListStandingAppointmentsRequest$inboundSchema;
|
|
201
|
+
/** @deprecated use `ListStandingAppointmentsRequest$outboundSchema` instead. */
|
|
202
|
+
export const outboundSchema = ListStandingAppointmentsRequest$outboundSchema;
|
|
203
|
+
/** @deprecated use `ListStandingAppointmentsRequest$Outbound` instead. */
|
|
204
|
+
export type Outbound = ListStandingAppointmentsRequest$Outbound;
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
export function listStandingAppointmentsRequestToJSON(
|
|
208
|
+
listStandingAppointmentsRequest: ListStandingAppointmentsRequest,
|
|
209
|
+
): string {
|
|
210
|
+
return JSON.stringify(
|
|
211
|
+
ListStandingAppointmentsRequest$outboundSchema.parse(
|
|
212
|
+
listStandingAppointmentsRequest,
|
|
213
|
+
),
|
|
214
|
+
);
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
export function listStandingAppointmentsRequestFromJSON(
|
|
218
|
+
jsonString: string,
|
|
219
|
+
): SafeParseResult<ListStandingAppointmentsRequest, SDKValidationError> {
|
|
220
|
+
return safeParse(
|
|
221
|
+
jsonString,
|
|
222
|
+
(x) => ListStandingAppointmentsRequest$inboundSchema.parse(JSON.parse(x)),
|
|
223
|
+
`Failed to parse 'ListStandingAppointmentsRequest' from JSON`,
|
|
224
|
+
);
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
/** @internal */
|
|
228
|
+
export const ListStandingAppointmentsResponseBody$inboundSchema: z.ZodType<
|
|
229
|
+
ListStandingAppointmentsResponseBody,
|
|
230
|
+
z.ZodTypeDef,
|
|
231
|
+
unknown
|
|
232
|
+
> = z.object({
|
|
233
|
+
pager: components.Pager$inboundSchema,
|
|
234
|
+
items: z.array(z.nullable(components.StandingAppointment$inboundSchema)),
|
|
235
|
+
});
|
|
236
|
+
|
|
237
|
+
/** @internal */
|
|
238
|
+
export type ListStandingAppointmentsResponseBody$Outbound = {
|
|
239
|
+
pager: components.Pager$Outbound;
|
|
240
|
+
items: Array<components.StandingAppointment$Outbound | null>;
|
|
241
|
+
};
|
|
242
|
+
|
|
243
|
+
/** @internal */
|
|
244
|
+
export const ListStandingAppointmentsResponseBody$outboundSchema: z.ZodType<
|
|
245
|
+
ListStandingAppointmentsResponseBody$Outbound,
|
|
246
|
+
z.ZodTypeDef,
|
|
247
|
+
ListStandingAppointmentsResponseBody
|
|
248
|
+
> = z.object({
|
|
249
|
+
pager: components.Pager$outboundSchema,
|
|
250
|
+
items: z.array(z.nullable(components.StandingAppointment$outboundSchema)),
|
|
251
|
+
});
|
|
252
|
+
|
|
253
|
+
/**
|
|
254
|
+
* @internal
|
|
255
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
256
|
+
*/
|
|
257
|
+
export namespace ListStandingAppointmentsResponseBody$ {
|
|
258
|
+
/** @deprecated use `ListStandingAppointmentsResponseBody$inboundSchema` instead. */
|
|
259
|
+
export const inboundSchema =
|
|
260
|
+
ListStandingAppointmentsResponseBody$inboundSchema;
|
|
261
|
+
/** @deprecated use `ListStandingAppointmentsResponseBody$outboundSchema` instead. */
|
|
262
|
+
export const outboundSchema =
|
|
263
|
+
ListStandingAppointmentsResponseBody$outboundSchema;
|
|
264
|
+
/** @deprecated use `ListStandingAppointmentsResponseBody$Outbound` instead. */
|
|
265
|
+
export type Outbound = ListStandingAppointmentsResponseBody$Outbound;
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
export function listStandingAppointmentsResponseBodyToJSON(
|
|
269
|
+
listStandingAppointmentsResponseBody: ListStandingAppointmentsResponseBody,
|
|
270
|
+
): string {
|
|
271
|
+
return JSON.stringify(
|
|
272
|
+
ListStandingAppointmentsResponseBody$outboundSchema.parse(
|
|
273
|
+
listStandingAppointmentsResponseBody,
|
|
274
|
+
),
|
|
275
|
+
);
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
export function listStandingAppointmentsResponseBodyFromJSON(
|
|
279
|
+
jsonString: string,
|
|
280
|
+
): SafeParseResult<ListStandingAppointmentsResponseBody, SDKValidationError> {
|
|
281
|
+
return safeParse(
|
|
282
|
+
jsonString,
|
|
283
|
+
(x) =>
|
|
284
|
+
ListStandingAppointmentsResponseBody$inboundSchema.parse(JSON.parse(x)),
|
|
285
|
+
`Failed to parse 'ListStandingAppointmentsResponseBody' from JSON`,
|
|
286
|
+
);
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
/** @internal */
|
|
290
|
+
export const ListStandingAppointmentsResponse$inboundSchema: z.ZodType<
|
|
291
|
+
ListStandingAppointmentsResponse,
|
|
292
|
+
z.ZodTypeDef,
|
|
293
|
+
unknown
|
|
294
|
+
> = z.object({
|
|
295
|
+
Result: z.lazy(() => ListStandingAppointmentsResponseBody$inboundSchema),
|
|
296
|
+
}).transform((v) => {
|
|
297
|
+
return remap$(v, {
|
|
298
|
+
"Result": "result",
|
|
299
|
+
});
|
|
300
|
+
});
|
|
301
|
+
|
|
302
|
+
/** @internal */
|
|
303
|
+
export type ListStandingAppointmentsResponse$Outbound = {
|
|
304
|
+
Result: ListStandingAppointmentsResponseBody$Outbound;
|
|
305
|
+
};
|
|
306
|
+
|
|
307
|
+
/** @internal */
|
|
308
|
+
export const ListStandingAppointmentsResponse$outboundSchema: z.ZodType<
|
|
309
|
+
ListStandingAppointmentsResponse$Outbound,
|
|
310
|
+
z.ZodTypeDef,
|
|
311
|
+
ListStandingAppointmentsResponse
|
|
312
|
+
> = z.object({
|
|
313
|
+
result: z.lazy(() => ListStandingAppointmentsResponseBody$outboundSchema),
|
|
314
|
+
}).transform((v) => {
|
|
315
|
+
return remap$(v, {
|
|
316
|
+
result: "Result",
|
|
317
|
+
});
|
|
318
|
+
});
|
|
319
|
+
|
|
320
|
+
/**
|
|
321
|
+
* @internal
|
|
322
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
323
|
+
*/
|
|
324
|
+
export namespace ListStandingAppointmentsResponse$ {
|
|
325
|
+
/** @deprecated use `ListStandingAppointmentsResponse$inboundSchema` instead. */
|
|
326
|
+
export const inboundSchema = ListStandingAppointmentsResponse$inboundSchema;
|
|
327
|
+
/** @deprecated use `ListStandingAppointmentsResponse$outboundSchema` instead. */
|
|
328
|
+
export const outboundSchema = ListStandingAppointmentsResponse$outboundSchema;
|
|
329
|
+
/** @deprecated use `ListStandingAppointmentsResponse$Outbound` instead. */
|
|
330
|
+
export type Outbound = ListStandingAppointmentsResponse$Outbound;
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
export function listStandingAppointmentsResponseToJSON(
|
|
334
|
+
listStandingAppointmentsResponse: ListStandingAppointmentsResponse,
|
|
335
|
+
): string {
|
|
336
|
+
return JSON.stringify(
|
|
337
|
+
ListStandingAppointmentsResponse$outboundSchema.parse(
|
|
338
|
+
listStandingAppointmentsResponse,
|
|
339
|
+
),
|
|
340
|
+
);
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
export function listStandingAppointmentsResponseFromJSON(
|
|
344
|
+
jsonString: string,
|
|
345
|
+
): SafeParseResult<ListStandingAppointmentsResponse, SDKValidationError> {
|
|
346
|
+
return safeParse(
|
|
347
|
+
jsonString,
|
|
348
|
+
(x) => ListStandingAppointmentsResponse$inboundSchema.parse(JSON.parse(x)),
|
|
349
|
+
`Failed to parse 'ListStandingAppointmentsResponse' from JSON`,
|
|
350
|
+
);
|
|
351
|
+
}
|
|
@@ -22,6 +22,27 @@ export const InvoiceFinancialStatus = {
|
|
|
22
22
|
*/
|
|
23
23
|
export type InvoiceFinancialStatus = ClosedEnum<typeof InvoiceFinancialStatus>;
|
|
24
24
|
|
|
25
|
+
/** @internal */
|
|
26
|
+
export const InvoiceFinancialStatus$inboundSchema: z.ZodNativeEnum<
|
|
27
|
+
typeof InvoiceFinancialStatus
|
|
28
|
+
> = z.nativeEnum(InvoiceFinancialStatus);
|
|
29
|
+
|
|
30
|
+
/** @internal */
|
|
31
|
+
export const InvoiceFinancialStatus$outboundSchema: z.ZodNativeEnum<
|
|
32
|
+
typeof InvoiceFinancialStatus
|
|
33
|
+
> = InvoiceFinancialStatus$inboundSchema;
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* @internal
|
|
37
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
38
|
+
*/
|
|
39
|
+
export namespace InvoiceFinancialStatus$ {
|
|
40
|
+
/** @deprecated use `InvoiceFinancialStatus$inboundSchema` instead. */
|
|
41
|
+
export const inboundSchema = InvoiceFinancialStatus$inboundSchema;
|
|
42
|
+
/** @deprecated use `InvoiceFinancialStatus$outboundSchema` instead. */
|
|
43
|
+
export const outboundSchema = InvoiceFinancialStatus$outboundSchema;
|
|
44
|
+
}
|
|
45
|
+
|
|
25
46
|
export type ListVendorInvoicesRequest = {
|
|
26
47
|
/**
|
|
27
48
|
* A comma-separated list of object attributes to sort on.
|
|
@@ -72,27 +93,6 @@ export type ListVendorInvoicesResponse = {
|
|
|
72
93
|
result: ListVendorInvoicesListVendorInvoicesOk;
|
|
73
94
|
};
|
|
74
95
|
|
|
75
|
-
/** @internal */
|
|
76
|
-
export const InvoiceFinancialStatus$inboundSchema: z.ZodNativeEnum<
|
|
77
|
-
typeof InvoiceFinancialStatus
|
|
78
|
-
> = z.nativeEnum(InvoiceFinancialStatus);
|
|
79
|
-
|
|
80
|
-
/** @internal */
|
|
81
|
-
export const InvoiceFinancialStatus$outboundSchema: z.ZodNativeEnum<
|
|
82
|
-
typeof InvoiceFinancialStatus
|
|
83
|
-
> = InvoiceFinancialStatus$inboundSchema;
|
|
84
|
-
|
|
85
|
-
/**
|
|
86
|
-
* @internal
|
|
87
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
88
|
-
*/
|
|
89
|
-
export namespace InvoiceFinancialStatus$ {
|
|
90
|
-
/** @deprecated use `InvoiceFinancialStatus$inboundSchema` instead. */
|
|
91
|
-
export const inboundSchema = InvoiceFinancialStatus$inboundSchema;
|
|
92
|
-
/** @deprecated use `InvoiceFinancialStatus$outboundSchema` instead. */
|
|
93
|
-
export const outboundSchema = InvoiceFinancialStatus$outboundSchema;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
96
|
/** @internal */
|
|
97
97
|
export const ListVendorInvoicesRequest$inboundSchema: z.ZodType<
|
|
98
98
|
ListVendorInvoicesRequest,
|
|
@@ -10,6 +10,30 @@ import { Result as SafeParseResult } from "../../types/fp.js";
|
|
|
10
10
|
import * as components from "../components/index.js";
|
|
11
11
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
12
12
|
|
|
13
|
+
export const Requires = {
|
|
14
|
+
CompleteCheckin: "complete_checkin",
|
|
15
|
+
} as const;
|
|
16
|
+
export type Requires = ClosedEnum<typeof Requires>;
|
|
17
|
+
|
|
18
|
+
/** @internal */
|
|
19
|
+
export const Requires$inboundSchema: z.ZodNativeEnum<typeof Requires> = z
|
|
20
|
+
.nativeEnum(Requires);
|
|
21
|
+
|
|
22
|
+
/** @internal */
|
|
23
|
+
export const Requires$outboundSchema: z.ZodNativeEnum<typeof Requires> =
|
|
24
|
+
Requires$inboundSchema;
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* @internal
|
|
28
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
29
|
+
*/
|
|
30
|
+
export namespace Requires$ {
|
|
31
|
+
/** @deprecated use `Requires$inboundSchema` instead. */
|
|
32
|
+
export const inboundSchema = Requires$inboundSchema;
|
|
33
|
+
/** @deprecated use `Requires$outboundSchema` instead. */
|
|
34
|
+
export const outboundSchema = Requires$outboundSchema;
|
|
35
|
+
}
|
|
36
|
+
|
|
13
37
|
export type Two = {
|
|
14
38
|
qrCode: string;
|
|
15
39
|
zoneId: number;
|
|
@@ -65,11 +89,6 @@ export type One = {
|
|
|
65
89
|
|
|
66
90
|
export type SecurityZoneCheckinRequestBody = One | Two;
|
|
67
91
|
|
|
68
|
-
export const Requires = {
|
|
69
|
-
CompleteCheckin: "complete_checkin",
|
|
70
|
-
} as const;
|
|
71
|
-
export type Requires = ClosedEnum<typeof Requires>;
|
|
72
|
-
|
|
73
92
|
export type Results = {
|
|
74
93
|
hasValidPaymentProfile?: boolean | undefined;
|
|
75
94
|
subscriptionExpires?: string | null | undefined;
|
|
@@ -406,25 +425,6 @@ export function securityZoneCheckinRequestBodyFromJSON(
|
|
|
406
425
|
);
|
|
407
426
|
}
|
|
408
427
|
|
|
409
|
-
/** @internal */
|
|
410
|
-
export const Requires$inboundSchema: z.ZodNativeEnum<typeof Requires> = z
|
|
411
|
-
.nativeEnum(Requires);
|
|
412
|
-
|
|
413
|
-
/** @internal */
|
|
414
|
-
export const Requires$outboundSchema: z.ZodNativeEnum<typeof Requires> =
|
|
415
|
-
Requires$inboundSchema;
|
|
416
|
-
|
|
417
|
-
/**
|
|
418
|
-
* @internal
|
|
419
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
420
|
-
*/
|
|
421
|
-
export namespace Requires$ {
|
|
422
|
-
/** @deprecated use `Requires$inboundSchema` instead. */
|
|
423
|
-
export const inboundSchema = Requires$inboundSchema;
|
|
424
|
-
/** @deprecated use `Requires$outboundSchema` instead. */
|
|
425
|
-
export const outboundSchema = Requires$outboundSchema;
|
|
426
|
-
}
|
|
427
|
-
|
|
428
428
|
/** @internal */
|
|
429
429
|
export const Results$inboundSchema: z.ZodType<Results, z.ZodTypeDef, unknown> =
|
|
430
430
|
z.object({
|
|
@@ -15,18 +15,6 @@ export const Via = {
|
|
|
15
15
|
} as const;
|
|
16
16
|
export type Via = ClosedEnum<typeof Via>;
|
|
17
17
|
|
|
18
|
-
export type SendDownloadCodeRequestBody = {
|
|
19
|
-
via: Via;
|
|
20
|
-
};
|
|
21
|
-
|
|
22
|
-
export type SendDownloadCodeRequest = {
|
|
23
|
-
/**
|
|
24
|
-
* ID of the vendor credential rep.
|
|
25
|
-
*/
|
|
26
|
-
vendorCredentialId: number;
|
|
27
|
-
requestBody: SendDownloadCodeRequestBody;
|
|
28
|
-
};
|
|
29
|
-
|
|
30
18
|
/** @internal */
|
|
31
19
|
export const Via$inboundSchema: z.ZodNativeEnum<typeof Via> = z.nativeEnum(Via);
|
|
32
20
|
|
|
@@ -45,6 +33,18 @@ export namespace Via$ {
|
|
|
45
33
|
export const outboundSchema = Via$outboundSchema;
|
|
46
34
|
}
|
|
47
35
|
|
|
36
|
+
export type SendDownloadCodeRequestBody = {
|
|
37
|
+
via: Via;
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
export type SendDownloadCodeRequest = {
|
|
41
|
+
/**
|
|
42
|
+
* ID of the vendor credential rep.
|
|
43
|
+
*/
|
|
44
|
+
vendorCredentialId: number;
|
|
45
|
+
requestBody: SendDownloadCodeRequestBody;
|
|
46
|
+
};
|
|
47
|
+
|
|
48
48
|
/** @internal */
|
|
49
49
|
export const SendDownloadCodeRequestBody$inboundSchema: z.ZodType<
|
|
50
50
|
SendDownloadCodeRequestBody,
|