@greensecurity/javascript-sdk 0.30.44 → 0.30.46
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/REACT_QUERY.md +27 -11
- package/README.md +10 -4
- package/bin/mcp-server.js +2205 -760
- package/bin/mcp-server.js.map +78 -64
- package/dist/commonjs/__tests__/vendors.test.js +39 -1
- package/dist/commonjs/__tests__/vendors.test.js.map +1 -1
- package/dist/commonjs/__tests__/webhooks.test.js +44 -0
- package/dist/commonjs/__tests__/webhooks.test.js.map +1 -1
- package/dist/commonjs/__tests__/zones.test.js +54 -56
- package/dist/commonjs/__tests__/zones.test.js.map +1 -1
- package/dist/commonjs/funcs/organizationsGetFacility.js +2 -2
- package/dist/commonjs/funcs/organizationsGetFacility.js.map +1 -1
- package/dist/commonjs/funcs/organizationsListOrSearchFacilities.js +2 -2
- package/dist/commonjs/funcs/supportArticlesGetSupportArticle.d.ts +1 -1
- package/dist/commonjs/funcs/supportArticlesGetSupportArticle.d.ts.map +1 -1
- package/dist/commonjs/funcs/supportArticlesGetSupportArticle.js +2 -2
- package/dist/commonjs/funcs/supportArticlesGetSupportArticle.js.map +1 -1
- package/dist/commonjs/funcs/supportArticlesListOrSearchSupportArticles.d.ts +2 -1
- package/dist/commonjs/funcs/supportArticlesListOrSearchSupportArticles.d.ts.map +1 -1
- package/dist/commonjs/funcs/supportArticlesListOrSearchSupportArticles.js +3 -2
- package/dist/commonjs/funcs/supportArticlesListOrSearchSupportArticles.js.map +1 -1
- package/dist/commonjs/funcs/usersChangePassword.d.ts +1 -1
- package/dist/commonjs/funcs/usersChangePassword.d.ts.map +1 -1
- package/dist/commonjs/funcs/usersChangePassword.js +1 -1
- package/dist/commonjs/funcs/usersChangePassword.js.map +1 -1
- package/dist/commonjs/funcs/usersGetCurrentUser.d.ts +1 -1
- package/dist/commonjs/funcs/usersGetCurrentUser.d.ts.map +1 -1
- package/dist/commonjs/funcs/usersGetCurrentUser.js +2 -2
- package/dist/commonjs/funcs/usersGetCurrentUser.js.map +1 -1
- package/dist/commonjs/funcs/usersGetUserById.d.ts +1 -1
- package/dist/commonjs/funcs/usersGetUserById.d.ts.map +1 -1
- package/dist/commonjs/funcs/usersGetUserById.js +2 -2
- package/dist/commonjs/funcs/usersGetUserById.js.map +1 -1
- package/dist/commonjs/funcs/usersMagiclink.d.ts +1 -1
- package/dist/commonjs/funcs/usersMagiclink.d.ts.map +1 -1
- package/dist/commonjs/funcs/usersMagiclink.js +2 -2
- package/dist/commonjs/funcs/usersMagiclink.js.map +1 -1
- package/dist/commonjs/funcs/usersPassword.d.ts +1 -1
- package/dist/commonjs/funcs/usersPassword.d.ts.map +1 -1
- package/dist/commonjs/funcs/usersPassword.js +2 -2
- package/dist/commonjs/funcs/usersPassword.js.map +1 -1
- package/dist/commonjs/funcs/usersPasswordResetRequest.d.ts +1 -1
- package/dist/commonjs/funcs/usersPasswordResetRequest.d.ts.map +1 -1
- package/dist/commonjs/funcs/usersPasswordResetRequest.js +2 -2
- package/dist/commonjs/funcs/usersPasswordResetRequest.js.map +1 -1
- package/dist/commonjs/funcs/{usersLogsUserIntoTheSystem.d.ts → usersPostAuthenticate.d.ts} +2 -2
- package/dist/commonjs/funcs/usersPostAuthenticate.d.ts.map +1 -0
- package/dist/commonjs/funcs/{usersLogsUserIntoTheSystem.js → usersPostAuthenticate.js} +7 -7
- package/dist/commonjs/funcs/usersPostAuthenticate.js.map +1 -0
- package/dist/commonjs/funcs/vendorScansVendorScanOut.d.ts +1 -1
- package/dist/commonjs/funcs/vendorScansVendorScanOut.d.ts.map +1 -1
- package/dist/commonjs/funcs/vendorScansVendorScanOut.js +1 -1
- package/dist/commonjs/funcs/vendorScansVendorScanOut.js.map +1 -1
- package/dist/commonjs/funcs/vendorsAddVendorManagedByCompany.d.ts +1 -1
- package/dist/commonjs/funcs/vendorsAddVendorManagedByCompany.d.ts.map +1 -1
- package/dist/commonjs/funcs/vendorsAddVendorManagedByCompany.js +2 -1
- package/dist/commonjs/funcs/vendorsAddVendorManagedByCompany.js.map +1 -1
- package/dist/commonjs/funcs/vendorsDeleteVendorManagedByCompany.d.ts +1 -1
- package/dist/commonjs/funcs/vendorsDeleteVendorManagedByCompany.d.ts.map +1 -1
- package/dist/commonjs/funcs/vendorsDeleteVendorManagedByCompany.js +2 -1
- package/dist/commonjs/funcs/vendorsDeleteVendorManagedByCompany.js.map +1 -1
- package/dist/commonjs/funcs/vendorsExpediteTimeRemaining.d.ts +1 -1
- package/dist/commonjs/funcs/vendorsExpediteTimeRemaining.d.ts.map +1 -1
- package/dist/commonjs/funcs/vendorsExpediteTimeRemaining.js +2 -2
- package/dist/commonjs/funcs/vendorsExpediteTimeRemaining.js.map +1 -1
- package/dist/commonjs/funcs/vendorsGetVendorCredentialDetails.d.ts +34 -0
- package/dist/commonjs/funcs/vendorsGetVendorCredentialDetails.d.ts.map +1 -0
- package/dist/commonjs/funcs/vendorsGetVendorCredentialDetails.js +145 -0
- package/dist/commonjs/funcs/vendorsGetVendorCredentialDetails.js.map +1 -0
- package/dist/commonjs/funcs/vendorsGetVendorInvoiceDetails.d.ts +1 -1
- package/dist/commonjs/funcs/vendorsGetVendorInvoiceDetails.d.ts.map +1 -1
- package/dist/commonjs/funcs/vendorsGetVendorInvoiceDetails.js +2 -2
- package/dist/commonjs/funcs/vendorsGetVendorInvoiceDetails.js.map +1 -1
- package/dist/commonjs/funcs/vendorsGetVendorsDetails.js +2 -2
- package/dist/commonjs/funcs/vendorsGetVendorsDetails.js.map +1 -1
- package/dist/commonjs/funcs/vendorsListVendorAdditionalFacilityFields.js +2 -2
- package/dist/commonjs/funcs/vendorsListVendorAdditionalFacilityFields.js.map +1 -1
- package/dist/commonjs/funcs/vendorsListVendorCredentials.d.ts +2 -1
- package/dist/commonjs/funcs/vendorsListVendorCredentials.d.ts.map +1 -1
- package/dist/commonjs/funcs/vendorsListVendorCredentials.js +3 -2
- package/dist/commonjs/funcs/vendorsListVendorCredentials.js.map +1 -1
- package/dist/commonjs/funcs/vendorsListVendorCredits.js +2 -2
- package/dist/commonjs/funcs/vendorsListVendorCredits.js.map +1 -1
- package/dist/commonjs/funcs/vendorsListVendorFacilityStatuses.js +2 -2
- package/dist/commonjs/funcs/vendorsListVendorFacilityStatuses.js.map +1 -1
- package/dist/commonjs/funcs/vendorsListVendorInvoices.d.ts +1 -1
- package/dist/commonjs/funcs/vendorsListVendorInvoices.d.ts.map +1 -1
- package/dist/commonjs/funcs/vendorsListVendorInvoices.js +2 -2
- package/dist/commonjs/funcs/vendorsListVendorInvoices.js.map +1 -1
- package/dist/commonjs/funcs/vendorsListVendorManagedByCompanies.js +2 -2
- package/dist/commonjs/funcs/vendorsListVendorManagedByCompanies.js.map +1 -1
- package/dist/commonjs/funcs/vendorsListVendorScrubDetails.d.ts +1 -1
- package/dist/commonjs/funcs/vendorsListVendorScrubDetails.d.ts.map +1 -1
- package/dist/commonjs/funcs/vendorsListVendorScrubDetails.js +2 -2
- package/dist/commonjs/funcs/vendorsListVendorScrubDetails.js.map +1 -1
- package/dist/commonjs/funcs/vendorsListVendorScrubPurchases.d.ts +1 -1
- package/dist/commonjs/funcs/vendorsListVendorScrubPurchases.d.ts.map +1 -1
- package/dist/commonjs/funcs/vendorsListVendorScrubPurchases.js +2 -2
- package/dist/commonjs/funcs/vendorsListVendorScrubPurchases.js.map +1 -1
- package/dist/commonjs/funcs/vendorsUpdateVendorManagedByCompany.d.ts +1 -1
- package/dist/commonjs/funcs/vendorsUpdateVendorManagedByCompany.d.ts.map +1 -1
- package/dist/commonjs/funcs/vendorsUpdateVendorManagedByCompany.js +2 -1
- package/dist/commonjs/funcs/vendorsUpdateVendorManagedByCompany.js.map +1 -1
- package/dist/commonjs/funcs/webhooksGetWebhookEndpoint.js +2 -2
- package/dist/commonjs/funcs/webhooksGetWebhookEndpoint.js.map +1 -1
- package/dist/commonjs/funcs/webhooksListAllWebhookEndpoints.d.ts +1 -1
- package/dist/commonjs/funcs/webhooksListAllWebhookEndpoints.d.ts.map +1 -1
- package/dist/commonjs/funcs/webhooksListAllWebhookEndpoints.js +1 -1
- package/dist/commonjs/funcs/webhooksListAllWebhookEndpoints.js.map +1 -1
- package/dist/commonjs/funcs/webhooksUpdatesTheWebhookEndpointWithTheGivenId.d.ts +18 -0
- package/dist/commonjs/funcs/webhooksUpdatesTheWebhookEndpointWithTheGivenId.d.ts.map +1 -0
- package/dist/commonjs/funcs/webhooksUpdatesTheWebhookEndpointWithTheGivenId.js +123 -0
- package/dist/commonjs/funcs/webhooksUpdatesTheWebhookEndpointWithTheGivenId.js.map +1 -0
- package/dist/commonjs/funcs/zonesSecurityZoneCheckin.d.ts +2 -3
- package/dist/commonjs/funcs/zonesSecurityZoneCheckin.d.ts.map +1 -1
- package/dist/commonjs/funcs/zonesSecurityZoneCheckin.js +2 -3
- package/dist/commonjs/funcs/zonesSecurityZoneCheckin.js.map +1 -1
- package/dist/commonjs/lib/config.d.ts +3 -3
- package/dist/commonjs/lib/config.js +3 -3
- package/dist/commonjs/lib/config.js.map +1 -1
- 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 +7 -3
- package/dist/commonjs/mcp-server/server.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/usersPostAuthenticate.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/usersPostAuthenticate.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/{usersLogsUserIntoTheSystem.js → usersPostAuthenticate.js} +7 -7
- package/dist/commonjs/mcp-server/tools/usersPostAuthenticate.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/vendorsGetVendorCredentialDetails.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/vendorsGetVendorCredentialDetails.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/vendorsGetVendorCredentialDetails.js +81 -0
- package/dist/commonjs/mcp-server/tools/vendorsGetVendorCredentialDetails.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/webhooksUpdatesTheWebhookEndpointWithTheGivenId.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/webhooksUpdatesTheWebhookEndpointWithTheGivenId.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/webhooksUpdatesTheWebhookEndpointWithTheGivenId.js +64 -0
- package/dist/commonjs/mcp-server/tools/webhooksUpdatesTheWebhookEndpointWithTheGivenId.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/zonesSecurityZoneCheckin.js +1 -1
- package/dist/commonjs/mcp-server/tools/zonesSecurityZoneCheckin.js.map +1 -1
- package/dist/commonjs/models/components/backgroundcheckresult.d.ts +186 -0
- package/dist/commonjs/models/components/backgroundcheckresult.d.ts.map +1 -0
- package/dist/commonjs/models/components/backgroundcheckresult.js +241 -0
- package/dist/commonjs/models/components/backgroundcheckresult.js.map +1 -0
- package/dist/commonjs/models/components/credential.d.ts +152 -0
- package/dist/commonjs/models/components/credential.d.ts.map +1 -0
- package/dist/commonjs/models/components/credential.js +178 -0
- package/dist/commonjs/models/components/credential.js.map +1 -0
- package/dist/commonjs/models/components/credentialdocument.d.ts +95 -0
- package/dist/commonjs/models/components/credentialdocument.d.ts.map +1 -0
- package/dist/commonjs/models/components/credentialdocument.js +152 -0
- package/dist/commonjs/models/components/credentialdocument.js.map +1 -0
- package/dist/commonjs/models/components/datarequest.d.ts +138 -0
- package/dist/commonjs/models/components/datarequest.d.ts.map +1 -0
- package/dist/commonjs/models/components/datarequest.js +203 -0
- package/dist/commonjs/models/components/datarequest.js.map +1 -0
- package/dist/commonjs/models/components/expand.d.ts +45 -0
- package/dist/commonjs/models/components/expand.d.ts.map +1 -1
- package/dist/commonjs/models/components/expand.js +15 -0
- package/dist/commonjs/models/components/expand.js.map +1 -1
- package/dist/commonjs/models/components/facility.d.ts +10 -10
- package/dist/commonjs/models/components/facility.d.ts.map +1 -1
- package/dist/commonjs/models/components/facility.js +10 -10
- package/dist/commonjs/models/components/facility.js.map +1 -1
- package/dist/commonjs/models/components/index.d.ts +8 -0
- package/dist/commonjs/models/components/index.d.ts.map +1 -1
- package/dist/commonjs/models/components/index.js +8 -0
- package/dist/commonjs/models/components/index.js.map +1 -1
- package/dist/commonjs/models/components/screeningresponse.d.ts +52 -0
- package/dist/commonjs/models/components/screeningresponse.d.ts.map +1 -0
- package/dist/commonjs/models/components/screeningresponse.js +116 -0
- package/dist/commonjs/models/components/screeningresponse.js.map +1 -0
- package/dist/commonjs/models/components/user.d.ts +2 -2
- package/dist/commonjs/models/components/user.d.ts.map +1 -1
- package/dist/commonjs/models/components/user.js +2 -2
- package/dist/commonjs/models/components/user.js.map +1 -1
- package/dist/commonjs/models/components/vendor.d.ts +48 -6
- package/dist/commonjs/models/components/vendor.d.ts.map +1 -1
- package/dist/commonjs/models/components/vendor.js +69 -7
- package/dist/commonjs/models/components/vendor.js.map +1 -1
- package/dist/commonjs/models/components/vendorcredentialdatarequest.d.ts +148 -0
- package/dist/commonjs/models/components/vendorcredentialdatarequest.d.ts.map +1 -0
- package/dist/commonjs/models/components/vendorcredentialdatarequest.js +228 -0
- package/dist/commonjs/models/components/vendorcredentialdatarequest.js.map +1 -0
- package/dist/commonjs/models/components/vendorcredentialfile.d.ts +125 -0
- package/dist/commonjs/models/components/vendorcredentialfile.d.ts.map +1 -0
- package/dist/commonjs/models/components/vendorcredentialfile.js +211 -0
- package/dist/commonjs/models/components/vendorcredentialfile.js.map +1 -0
- package/dist/commonjs/models/components/vendorcredentialsummary.d.ts +170 -0
- package/dist/commonjs/models/components/vendorcredentialsummary.d.ts.map +1 -1
- package/dist/commonjs/models/components/vendorcredentialsummary.js +234 -1
- package/dist/commonjs/models/components/vendorcredentialsummary.js.map +1 -1
- package/dist/commonjs/models/components/vendorscan.d.ts +80 -0
- package/dist/commonjs/models/components/vendorscan.d.ts.map +1 -0
- package/dist/commonjs/models/components/vendorscan.js +144 -0
- package/dist/commonjs/models/components/vendorscan.js.map +1 -0
- package/dist/commonjs/models/operations/addvendormanagedbycompany.d.ts +13 -13
- package/dist/commonjs/models/operations/addvendormanagedbycompany.d.ts.map +1 -1
- package/dist/commonjs/models/operations/addvendormanagedbycompany.js +16 -16
- package/dist/commonjs/models/operations/addvendormanagedbycompany.js.map +1 -1
- package/dist/commonjs/models/operations/changepassword.d.ts +13 -13
- package/dist/commonjs/models/operations/changepassword.d.ts.map +1 -1
- package/dist/commonjs/models/operations/changepassword.js +16 -16
- package/dist/commonjs/models/operations/changepassword.js.map +1 -1
- package/dist/commonjs/models/operations/deletevendormanagedbycompany.d.ts +13 -13
- package/dist/commonjs/models/operations/deletevendormanagedbycompany.d.ts.map +1 -1
- package/dist/commonjs/models/operations/deletevendormanagedbycompany.js +18 -16
- package/dist/commonjs/models/operations/deletevendormanagedbycompany.js.map +1 -1
- package/dist/commonjs/models/operations/expeditetimeremaining.d.ts +13 -13
- package/dist/commonjs/models/operations/expeditetimeremaining.d.ts.map +1 -1
- package/dist/commonjs/models/operations/expeditetimeremaining.js +16 -16
- package/dist/commonjs/models/operations/expeditetimeremaining.js.map +1 -1
- package/dist/commonjs/models/operations/getvendorcredentialdetails.d.ts +74 -0
- package/dist/commonjs/models/operations/getvendorcredentialdetails.d.ts.map +1 -0
- package/dist/commonjs/models/operations/getvendorcredentialdetails.js +118 -0
- package/dist/commonjs/models/operations/getvendorcredentialdetails.js.map +1 -0
- package/dist/commonjs/models/operations/index.d.ts +3 -1
- package/dist/commonjs/models/operations/index.d.ts.map +1 -1
- package/dist/commonjs/models/operations/index.js +3 -1
- package/dist/commonjs/models/operations/index.js.map +1 -1
- package/dist/commonjs/models/operations/listallwebhookendpoints.d.ts +13 -13
- package/dist/commonjs/models/operations/listallwebhookendpoints.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listallwebhookendpoints.js +16 -16
- package/dist/commonjs/models/operations/listallwebhookendpoints.js.map +1 -1
- package/dist/commonjs/models/operations/listvendoradditionalfacilityfields.d.ts +15 -15
- package/dist/commonjs/models/operations/listvendoradditionalfacilityfields.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listvendoradditionalfacilityfields.js +20 -18
- package/dist/commonjs/models/operations/listvendoradditionalfacilityfields.js.map +1 -1
- package/dist/commonjs/models/operations/listvendorcredentials.d.ts +25 -25
- package/dist/commonjs/models/operations/listvendorcredentials.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listvendorcredentials.js +26 -26
- package/dist/commonjs/models/operations/listvendorcredentials.js.map +1 -1
- package/dist/commonjs/models/operations/listvendorcredits.d.ts +15 -15
- package/dist/commonjs/models/operations/listvendorcredits.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listvendorcredits.js +18 -18
- package/dist/commonjs/models/operations/listvendorcredits.js.map +1 -1
- package/dist/commonjs/models/operations/listvendorfacilitystatuses.d.ts +15 -15
- package/dist/commonjs/models/operations/listvendorfacilitystatuses.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listvendorfacilitystatuses.js +19 -18
- package/dist/commonjs/models/operations/listvendorfacilitystatuses.js.map +1 -1
- package/dist/commonjs/models/operations/listvendorinvoices.d.ts +17 -17
- package/dist/commonjs/models/operations/listvendorinvoices.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listvendorinvoices.js +20 -20
- package/dist/commonjs/models/operations/listvendorinvoices.js.map +1 -1
- package/dist/commonjs/models/operations/listvendormanagedbycompanies.d.ts +15 -15
- package/dist/commonjs/models/operations/listvendormanagedbycompanies.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listvendormanagedbycompanies.js +20 -18
- package/dist/commonjs/models/operations/listvendormanagedbycompanies.js.map +1 -1
- package/dist/commonjs/models/operations/listvendorscrubpackages.d.ts +2 -2
- package/dist/commonjs/models/operations/listvendorscrubpackages.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listvendorscrubpackages.js +2 -2
- package/dist/commonjs/models/operations/listvendorscrubpackages.js.map +1 -1
- package/dist/commonjs/models/operations/listvendorscrubpurchases.d.ts +15 -15
- package/dist/commonjs/models/operations/listvendorscrubpurchases.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listvendorscrubpurchases.js +18 -18
- package/dist/commonjs/models/operations/listvendorscrubpurchases.js.map +1 -1
- package/dist/commonjs/models/operations/postauthenticate.d.ts +98 -0
- package/dist/commonjs/models/operations/postauthenticate.d.ts.map +1 -0
- package/dist/commonjs/models/operations/{logsuserintothesystem.js → postauthenticate.js} +47 -47
- package/dist/commonjs/models/operations/postauthenticate.js.map +1 -0
- package/dist/commonjs/models/operations/securityzonecheckin.d.ts +190 -4
- package/dist/commonjs/models/operations/securityzonecheckin.d.ts.map +1 -1
- package/dist/commonjs/models/operations/securityzonecheckin.js +244 -1
- package/dist/commonjs/models/operations/securityzonecheckin.js.map +1 -1
- package/dist/commonjs/models/operations/updatesthewebhookendpointwiththegivenid.d.ts +35 -0
- package/dist/commonjs/models/operations/updatesthewebhookendpointwiththegivenid.d.ts.map +1 -0
- package/dist/commonjs/models/operations/updatesthewebhookendpointwiththegivenid.js +81 -0
- package/dist/commonjs/models/operations/updatesthewebhookendpointwiththegivenid.js.map +1 -0
- package/dist/commonjs/models/operations/updatevendormanagedbycompany.d.ts +13 -13
- package/dist/commonjs/models/operations/updatevendormanagedbycompany.d.ts.map +1 -1
- package/dist/commonjs/models/operations/updatevendormanagedbycompany.js +18 -16
- package/dist/commonjs/models/operations/updatevendormanagedbycompany.js.map +1 -1
- package/dist/commonjs/models/operations/vendorscanout.d.ts +13 -13
- package/dist/commonjs/models/operations/vendorscanout.d.ts.map +1 -1
- package/dist/commonjs/models/operations/vendorscanout.js +16 -16
- package/dist/commonjs/models/operations/vendorscanout.js.map +1 -1
- package/dist/commonjs/react-query/index.d.ts +3 -1
- package/dist/commonjs/react-query/index.d.ts.map +1 -1
- package/dist/commonjs/react-query/index.js +3 -1
- package/dist/commonjs/react-query/index.js.map +1 -1
- package/dist/commonjs/react-query/usersChangePassword.d.ts +1 -1
- package/dist/commonjs/react-query/usersChangePassword.d.ts.map +1 -1
- package/dist/{esm/react-query/usersLogsUserIntoTheSystem.d.ts → commonjs/react-query/usersPostAuthenticate.d.ts} +8 -8
- package/dist/commonjs/react-query/usersPostAuthenticate.d.ts.map +1 -0
- package/dist/commonjs/react-query/{usersLogsUserIntoTheSystem.js → usersPostAuthenticate.js} +13 -13
- package/dist/commonjs/react-query/usersPostAuthenticate.js.map +1 -0
- package/dist/commonjs/react-query/vendorScansVendorScanOut.d.ts +1 -1
- package/dist/commonjs/react-query/vendorScansVendorScanOut.d.ts.map +1 -1
- package/dist/commonjs/react-query/vendorsAddVendorManagedByCompany.d.ts +1 -1
- package/dist/commonjs/react-query/vendorsAddVendorManagedByCompany.d.ts.map +1 -1
- package/dist/commonjs/react-query/vendorsDeleteVendorManagedByCompany.d.ts +1 -1
- package/dist/commonjs/react-query/vendorsDeleteVendorManagedByCompany.d.ts.map +1 -1
- package/dist/commonjs/react-query/vendorsExpediteTimeRemaining.d.ts +1 -1
- package/dist/commonjs/react-query/vendorsExpediteTimeRemaining.d.ts.map +1 -1
- package/dist/commonjs/react-query/vendorsGetVendorCredentialDetails.d.ts +79 -0
- package/dist/commonjs/react-query/vendorsGetVendorCredentialDetails.d.ts.map +1 -0
- package/dist/commonjs/react-query/vendorsGetVendorCredentialDetails.js +132 -0
- package/dist/commonjs/react-query/vendorsGetVendorCredentialDetails.js.map +1 -0
- package/dist/commonjs/react-query/vendorsUpdateVendorManagedByCompany.d.ts +1 -1
- package/dist/commonjs/react-query/vendorsUpdateVendorManagedByCompany.d.ts.map +1 -1
- package/dist/commonjs/react-query/webhooksListAllWebhookEndpoints.d.ts +1 -1
- package/dist/commonjs/react-query/webhooksListAllWebhookEndpoints.d.ts.map +1 -1
- package/dist/commonjs/react-query/webhooksUpdatesTheWebhookEndpointWithTheGivenId.d.ts +24 -0
- package/dist/commonjs/react-query/webhooksUpdatesTheWebhookEndpointWithTheGivenId.d.ts.map +1 -0
- package/dist/commonjs/react-query/webhooksUpdatesTheWebhookEndpointWithTheGivenId.js +51 -0
- package/dist/commonjs/react-query/webhooksUpdatesTheWebhookEndpointWithTheGivenId.js.map +1 -0
- package/dist/commonjs/react-query/zonesSecurityZoneCheckin.d.ts +2 -3
- package/dist/commonjs/react-query/zonesSecurityZoneCheckin.d.ts.map +1 -1
- package/dist/commonjs/react-query/zonesSecurityZoneCheckin.js +1 -1
- package/dist/commonjs/react-query/zonesSecurityZoneCheckin.js.map +1 -1
- package/dist/commonjs/sdk/users.d.ts +2 -2
- package/dist/commonjs/sdk/users.d.ts.map +1 -1
- package/dist/commonjs/sdk/users.js +3 -3
- package/dist/commonjs/sdk/users.js.map +1 -1
- package/dist/commonjs/sdk/vendors.d.ts +28 -4
- package/dist/commonjs/sdk/vendors.d.ts.map +1 -1
- package/dist/commonjs/sdk/vendors.js +27 -0
- package/dist/commonjs/sdk/vendors.js.map +1 -1
- package/dist/commonjs/sdk/vendorscans.d.ts +1 -1
- package/dist/commonjs/sdk/vendorscans.d.ts.map +1 -1
- package/dist/commonjs/sdk/webhooks.d.ts +8 -1
- package/dist/commonjs/sdk/webhooks.d.ts.map +1 -1
- package/dist/commonjs/sdk/webhooks.js +10 -0
- package/dist/commonjs/sdk/webhooks.js.map +1 -1
- package/dist/commonjs/sdk/zones.d.ts +2 -3
- package/dist/commonjs/sdk/zones.d.ts.map +1 -1
- package/dist/commonjs/sdk/zones.js +1 -1
- package/dist/commonjs/sdk/zones.js.map +1 -1
- package/dist/esm/__tests__/vendors.test.js +39 -1
- package/dist/esm/__tests__/vendors.test.js.map +1 -1
- package/dist/esm/__tests__/webhooks.test.js +44 -0
- package/dist/esm/__tests__/webhooks.test.js.map +1 -1
- package/dist/esm/__tests__/zones.test.js +54 -56
- package/dist/esm/__tests__/zones.test.js.map +1 -1
- package/dist/esm/funcs/organizationsGetFacility.js +2 -2
- package/dist/esm/funcs/organizationsGetFacility.js.map +1 -1
- package/dist/esm/funcs/organizationsListOrSearchFacilities.js +2 -2
- package/dist/esm/funcs/supportArticlesGetSupportArticle.d.ts +1 -1
- package/dist/esm/funcs/supportArticlesGetSupportArticle.d.ts.map +1 -1
- package/dist/esm/funcs/supportArticlesGetSupportArticle.js +2 -2
- package/dist/esm/funcs/supportArticlesGetSupportArticle.js.map +1 -1
- package/dist/esm/funcs/supportArticlesListOrSearchSupportArticles.d.ts +2 -1
- package/dist/esm/funcs/supportArticlesListOrSearchSupportArticles.d.ts.map +1 -1
- package/dist/esm/funcs/supportArticlesListOrSearchSupportArticles.js +3 -2
- package/dist/esm/funcs/supportArticlesListOrSearchSupportArticles.js.map +1 -1
- package/dist/esm/funcs/usersChangePassword.d.ts +1 -1
- package/dist/esm/funcs/usersChangePassword.d.ts.map +1 -1
- package/dist/esm/funcs/usersChangePassword.js +1 -1
- package/dist/esm/funcs/usersChangePassword.js.map +1 -1
- package/dist/esm/funcs/usersGetCurrentUser.d.ts +1 -1
- package/dist/esm/funcs/usersGetCurrentUser.d.ts.map +1 -1
- package/dist/esm/funcs/usersGetCurrentUser.js +2 -2
- package/dist/esm/funcs/usersGetCurrentUser.js.map +1 -1
- package/dist/esm/funcs/usersGetUserById.d.ts +1 -1
- package/dist/esm/funcs/usersGetUserById.d.ts.map +1 -1
- package/dist/esm/funcs/usersGetUserById.js +2 -2
- package/dist/esm/funcs/usersGetUserById.js.map +1 -1
- package/dist/esm/funcs/usersMagiclink.d.ts +1 -1
- package/dist/esm/funcs/usersMagiclink.d.ts.map +1 -1
- package/dist/esm/funcs/usersMagiclink.js +2 -2
- package/dist/esm/funcs/usersMagiclink.js.map +1 -1
- package/dist/esm/funcs/usersPassword.d.ts +1 -1
- package/dist/esm/funcs/usersPassword.d.ts.map +1 -1
- package/dist/esm/funcs/usersPassword.js +2 -2
- package/dist/esm/funcs/usersPassword.js.map +1 -1
- package/dist/esm/funcs/usersPasswordResetRequest.d.ts +1 -1
- package/dist/esm/funcs/usersPasswordResetRequest.d.ts.map +1 -1
- package/dist/esm/funcs/usersPasswordResetRequest.js +2 -2
- package/dist/esm/funcs/usersPasswordResetRequest.js.map +1 -1
- package/dist/esm/funcs/{usersLogsUserIntoTheSystem.d.ts → usersPostAuthenticate.d.ts} +2 -2
- package/dist/esm/funcs/usersPostAuthenticate.d.ts.map +1 -0
- package/dist/esm/funcs/{usersLogsUserIntoTheSystem.js → usersPostAuthenticate.js} +6 -6
- package/dist/esm/funcs/usersPostAuthenticate.js.map +1 -0
- package/dist/esm/funcs/vendorScansVendorScanOut.d.ts +1 -1
- package/dist/esm/funcs/vendorScansVendorScanOut.d.ts.map +1 -1
- package/dist/esm/funcs/vendorScansVendorScanOut.js +1 -1
- package/dist/esm/funcs/vendorScansVendorScanOut.js.map +1 -1
- package/dist/esm/funcs/vendorsAddVendorManagedByCompany.d.ts +1 -1
- package/dist/esm/funcs/vendorsAddVendorManagedByCompany.d.ts.map +1 -1
- package/dist/esm/funcs/vendorsAddVendorManagedByCompany.js +2 -1
- package/dist/esm/funcs/vendorsAddVendorManagedByCompany.js.map +1 -1
- package/dist/esm/funcs/vendorsDeleteVendorManagedByCompany.d.ts +1 -1
- package/dist/esm/funcs/vendorsDeleteVendorManagedByCompany.d.ts.map +1 -1
- package/dist/esm/funcs/vendorsDeleteVendorManagedByCompany.js +2 -1
- package/dist/esm/funcs/vendorsDeleteVendorManagedByCompany.js.map +1 -1
- package/dist/esm/funcs/vendorsExpediteTimeRemaining.d.ts +1 -1
- package/dist/esm/funcs/vendorsExpediteTimeRemaining.d.ts.map +1 -1
- package/dist/esm/funcs/vendorsExpediteTimeRemaining.js +2 -2
- package/dist/esm/funcs/vendorsExpediteTimeRemaining.js.map +1 -1
- package/dist/esm/funcs/vendorsGetVendorCredentialDetails.d.ts +34 -0
- package/dist/esm/funcs/vendorsGetVendorCredentialDetails.d.ts.map +1 -0
- package/dist/esm/funcs/vendorsGetVendorCredentialDetails.js +109 -0
- package/dist/esm/funcs/vendorsGetVendorCredentialDetails.js.map +1 -0
- package/dist/esm/funcs/vendorsGetVendorInvoiceDetails.d.ts +1 -1
- package/dist/esm/funcs/vendorsGetVendorInvoiceDetails.d.ts.map +1 -1
- package/dist/esm/funcs/vendorsGetVendorInvoiceDetails.js +2 -2
- package/dist/esm/funcs/vendorsGetVendorInvoiceDetails.js.map +1 -1
- package/dist/esm/funcs/vendorsGetVendorsDetails.js +2 -2
- package/dist/esm/funcs/vendorsGetVendorsDetails.js.map +1 -1
- package/dist/esm/funcs/vendorsListVendorAdditionalFacilityFields.js +2 -2
- package/dist/esm/funcs/vendorsListVendorAdditionalFacilityFields.js.map +1 -1
- package/dist/esm/funcs/vendorsListVendorCredentials.d.ts +2 -1
- package/dist/esm/funcs/vendorsListVendorCredentials.d.ts.map +1 -1
- package/dist/esm/funcs/vendorsListVendorCredentials.js +3 -2
- package/dist/esm/funcs/vendorsListVendorCredentials.js.map +1 -1
- package/dist/esm/funcs/vendorsListVendorCredits.js +2 -2
- package/dist/esm/funcs/vendorsListVendorCredits.js.map +1 -1
- package/dist/esm/funcs/vendorsListVendorFacilityStatuses.js +2 -2
- package/dist/esm/funcs/vendorsListVendorFacilityStatuses.js.map +1 -1
- package/dist/esm/funcs/vendorsListVendorInvoices.d.ts +1 -1
- package/dist/esm/funcs/vendorsListVendorInvoices.d.ts.map +1 -1
- package/dist/esm/funcs/vendorsListVendorInvoices.js +2 -2
- package/dist/esm/funcs/vendorsListVendorInvoices.js.map +1 -1
- package/dist/esm/funcs/vendorsListVendorManagedByCompanies.js +2 -2
- package/dist/esm/funcs/vendorsListVendorManagedByCompanies.js.map +1 -1
- package/dist/esm/funcs/vendorsListVendorScrubDetails.d.ts +1 -1
- package/dist/esm/funcs/vendorsListVendorScrubDetails.d.ts.map +1 -1
- package/dist/esm/funcs/vendorsListVendorScrubDetails.js +2 -2
- package/dist/esm/funcs/vendorsListVendorScrubDetails.js.map +1 -1
- package/dist/esm/funcs/vendorsListVendorScrubPurchases.d.ts +1 -1
- package/dist/esm/funcs/vendorsListVendorScrubPurchases.d.ts.map +1 -1
- package/dist/esm/funcs/vendorsListVendorScrubPurchases.js +2 -2
- package/dist/esm/funcs/vendorsListVendorScrubPurchases.js.map +1 -1
- package/dist/esm/funcs/vendorsUpdateVendorManagedByCompany.d.ts +1 -1
- package/dist/esm/funcs/vendorsUpdateVendorManagedByCompany.d.ts.map +1 -1
- package/dist/esm/funcs/vendorsUpdateVendorManagedByCompany.js +2 -1
- package/dist/esm/funcs/vendorsUpdateVendorManagedByCompany.js.map +1 -1
- package/dist/esm/funcs/webhooksGetWebhookEndpoint.js +2 -2
- package/dist/esm/funcs/webhooksGetWebhookEndpoint.js.map +1 -1
- package/dist/esm/funcs/webhooksListAllWebhookEndpoints.d.ts +1 -1
- package/dist/esm/funcs/webhooksListAllWebhookEndpoints.d.ts.map +1 -1
- package/dist/esm/funcs/webhooksListAllWebhookEndpoints.js +1 -1
- package/dist/esm/funcs/webhooksListAllWebhookEndpoints.js.map +1 -1
- package/dist/esm/funcs/webhooksUpdatesTheWebhookEndpointWithTheGivenId.d.ts +18 -0
- package/dist/esm/funcs/webhooksUpdatesTheWebhookEndpointWithTheGivenId.d.ts.map +1 -0
- package/dist/esm/funcs/webhooksUpdatesTheWebhookEndpointWithTheGivenId.js +87 -0
- package/dist/esm/funcs/webhooksUpdatesTheWebhookEndpointWithTheGivenId.js.map +1 -0
- package/dist/esm/funcs/zonesSecurityZoneCheckin.d.ts +2 -3
- package/dist/esm/funcs/zonesSecurityZoneCheckin.d.ts.map +1 -1
- package/dist/esm/funcs/zonesSecurityZoneCheckin.js +2 -3
- package/dist/esm/funcs/zonesSecurityZoneCheckin.js.map +1 -1
- package/dist/esm/lib/config.d.ts +3 -3
- package/dist/esm/lib/config.js +3 -3
- package/dist/esm/lib/config.js.map +1 -1
- 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 +7 -3
- package/dist/esm/mcp-server/server.js.map +1 -1
- package/dist/esm/mcp-server/tools/usersPostAuthenticate.d.ts +8 -0
- package/dist/esm/mcp-server/tools/usersPostAuthenticate.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/{usersLogsUserIntoTheSystem.js → usersPostAuthenticate.js} +6 -6
- package/dist/esm/mcp-server/tools/usersPostAuthenticate.js.map +1 -0
- package/dist/esm/mcp-server/tools/vendorsGetVendorCredentialDetails.d.ts +8 -0
- package/dist/esm/mcp-server/tools/vendorsGetVendorCredentialDetails.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/vendorsGetVendorCredentialDetails.js +45 -0
- package/dist/esm/mcp-server/tools/vendorsGetVendorCredentialDetails.js.map +1 -0
- package/dist/esm/mcp-server/tools/webhooksUpdatesTheWebhookEndpointWithTheGivenId.d.ts +8 -0
- package/dist/esm/mcp-server/tools/webhooksUpdatesTheWebhookEndpointWithTheGivenId.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/webhooksUpdatesTheWebhookEndpointWithTheGivenId.js +28 -0
- package/dist/esm/mcp-server/tools/webhooksUpdatesTheWebhookEndpointWithTheGivenId.js.map +1 -0
- package/dist/esm/mcp-server/tools/zonesSecurityZoneCheckin.js +1 -1
- package/dist/esm/mcp-server/tools/zonesSecurityZoneCheckin.js.map +1 -1
- package/dist/esm/models/components/backgroundcheckresult.d.ts +186 -0
- package/dist/esm/models/components/backgroundcheckresult.d.ts.map +1 -0
- package/dist/esm/models/components/backgroundcheckresult.js +197 -0
- package/dist/esm/models/components/backgroundcheckresult.js.map +1 -0
- package/dist/esm/models/components/credential.d.ts +152 -0
- package/dist/esm/models/components/credential.d.ts.map +1 -0
- package/dist/esm/models/components/credential.js +140 -0
- package/dist/esm/models/components/credential.js.map +1 -0
- package/dist/esm/models/components/credentialdocument.d.ts +95 -0
- package/dist/esm/models/components/credentialdocument.d.ts.map +1 -0
- package/dist/esm/models/components/credentialdocument.js +110 -0
- package/dist/esm/models/components/credentialdocument.js.map +1 -0
- package/dist/esm/models/components/datarequest.d.ts +138 -0
- package/dist/esm/models/components/datarequest.d.ts.map +1 -0
- package/dist/esm/models/components/datarequest.js +161 -0
- package/dist/esm/models/components/datarequest.js.map +1 -0
- package/dist/esm/models/components/expand.d.ts +45 -0
- package/dist/esm/models/components/expand.d.ts.map +1 -1
- package/dist/esm/models/components/expand.js +15 -0
- package/dist/esm/models/components/expand.js.map +1 -1
- package/dist/esm/models/components/facility.d.ts +10 -10
- package/dist/esm/models/components/facility.d.ts.map +1 -1
- package/dist/esm/models/components/facility.js +10 -10
- package/dist/esm/models/components/facility.js.map +1 -1
- package/dist/esm/models/components/index.d.ts +8 -0
- package/dist/esm/models/components/index.d.ts.map +1 -1
- package/dist/esm/models/components/index.js +8 -0
- package/dist/esm/models/components/index.js.map +1 -1
- package/dist/esm/models/components/screeningresponse.d.ts +52 -0
- package/dist/esm/models/components/screeningresponse.d.ts.map +1 -0
- package/dist/esm/models/components/screeningresponse.js +78 -0
- package/dist/esm/models/components/screeningresponse.js.map +1 -0
- package/dist/esm/models/components/user.d.ts +2 -2
- package/dist/esm/models/components/user.d.ts.map +1 -1
- package/dist/esm/models/components/user.js +2 -2
- package/dist/esm/models/components/user.js.map +1 -1
- package/dist/esm/models/components/vendor.d.ts +48 -6
- package/dist/esm/models/components/vendor.d.ts.map +1 -1
- package/dist/esm/models/components/vendor.js +64 -6
- package/dist/esm/models/components/vendor.js.map +1 -1
- package/dist/esm/models/components/vendorcredentialdatarequest.d.ts +148 -0
- package/dist/esm/models/components/vendorcredentialdatarequest.d.ts.map +1 -0
- package/dist/esm/models/components/vendorcredentialdatarequest.js +184 -0
- package/dist/esm/models/components/vendorcredentialdatarequest.js.map +1 -0
- package/dist/esm/models/components/vendorcredentialfile.d.ts +125 -0
- package/dist/esm/models/components/vendorcredentialfile.d.ts.map +1 -0
- package/dist/esm/models/components/vendorcredentialfile.js +167 -0
- package/dist/esm/models/components/vendorcredentialfile.js.map +1 -0
- package/dist/esm/models/components/vendorcredentialsummary.d.ts +170 -0
- package/dist/esm/models/components/vendorcredentialsummary.d.ts.map +1 -1
- package/dist/esm/models/components/vendorcredentialsummary.js +223 -0
- package/dist/esm/models/components/vendorcredentialsummary.js.map +1 -1
- package/dist/esm/models/components/vendorscan.d.ts +80 -0
- package/dist/esm/models/components/vendorscan.d.ts.map +1 -0
- package/dist/esm/models/components/vendorscan.js +104 -0
- package/dist/esm/models/components/vendorscan.js.map +1 -0
- package/dist/esm/models/operations/addvendormanagedbycompany.d.ts +13 -13
- package/dist/esm/models/operations/addvendormanagedbycompany.d.ts.map +1 -1
- package/dist/esm/models/operations/addvendormanagedbycompany.js +13 -13
- package/dist/esm/models/operations/addvendormanagedbycompany.js.map +1 -1
- package/dist/esm/models/operations/changepassword.d.ts +13 -13
- package/dist/esm/models/operations/changepassword.d.ts.map +1 -1
- package/dist/esm/models/operations/changepassword.js +13 -13
- package/dist/esm/models/operations/changepassword.js.map +1 -1
- package/dist/esm/models/operations/deletevendormanagedbycompany.d.ts +13 -13
- package/dist/esm/models/operations/deletevendormanagedbycompany.d.ts.map +1 -1
- package/dist/esm/models/operations/deletevendormanagedbycompany.js +15 -13
- package/dist/esm/models/operations/deletevendormanagedbycompany.js.map +1 -1
- package/dist/esm/models/operations/expeditetimeremaining.d.ts +13 -13
- package/dist/esm/models/operations/expeditetimeremaining.d.ts.map +1 -1
- package/dist/esm/models/operations/expeditetimeremaining.js +13 -13
- package/dist/esm/models/operations/expeditetimeremaining.js.map +1 -1
- package/dist/esm/models/operations/getvendorcredentialdetails.d.ts +74 -0
- package/dist/esm/models/operations/getvendorcredentialdetails.d.ts.map +1 -0
- package/dist/esm/models/operations/getvendorcredentialdetails.js +78 -0
- package/dist/esm/models/operations/getvendorcredentialdetails.js.map +1 -0
- package/dist/esm/models/operations/index.d.ts +3 -1
- package/dist/esm/models/operations/index.d.ts.map +1 -1
- package/dist/esm/models/operations/index.js +3 -1
- package/dist/esm/models/operations/index.js.map +1 -1
- package/dist/esm/models/operations/listallwebhookendpoints.d.ts +13 -13
- package/dist/esm/models/operations/listallwebhookendpoints.d.ts.map +1 -1
- package/dist/esm/models/operations/listallwebhookendpoints.js +13 -13
- package/dist/esm/models/operations/listallwebhookendpoints.js.map +1 -1
- package/dist/esm/models/operations/listvendoradditionalfacilityfields.d.ts +15 -15
- package/dist/esm/models/operations/listvendoradditionalfacilityfields.d.ts.map +1 -1
- package/dist/esm/models/operations/listvendoradditionalfacilityfields.js +17 -15
- package/dist/esm/models/operations/listvendoradditionalfacilityfields.js.map +1 -1
- package/dist/esm/models/operations/listvendorcredentials.d.ts +25 -25
- package/dist/esm/models/operations/listvendorcredentials.d.ts.map +1 -1
- package/dist/esm/models/operations/listvendorcredentials.js +23 -23
- package/dist/esm/models/operations/listvendorcredentials.js.map +1 -1
- package/dist/esm/models/operations/listvendorcredits.d.ts +15 -15
- package/dist/esm/models/operations/listvendorcredits.d.ts.map +1 -1
- package/dist/esm/models/operations/listvendorcredits.js +15 -15
- package/dist/esm/models/operations/listvendorcredits.js.map +1 -1
- package/dist/esm/models/operations/listvendorfacilitystatuses.d.ts +15 -15
- package/dist/esm/models/operations/listvendorfacilitystatuses.d.ts.map +1 -1
- package/dist/esm/models/operations/listvendorfacilitystatuses.js +16 -15
- package/dist/esm/models/operations/listvendorfacilitystatuses.js.map +1 -1
- package/dist/esm/models/operations/listvendorinvoices.d.ts +17 -17
- package/dist/esm/models/operations/listvendorinvoices.d.ts.map +1 -1
- package/dist/esm/models/operations/listvendorinvoices.js +17 -17
- package/dist/esm/models/operations/listvendorinvoices.js.map +1 -1
- package/dist/esm/models/operations/listvendormanagedbycompanies.d.ts +15 -15
- package/dist/esm/models/operations/listvendormanagedbycompanies.d.ts.map +1 -1
- package/dist/esm/models/operations/listvendormanagedbycompanies.js +17 -15
- package/dist/esm/models/operations/listvendormanagedbycompanies.js.map +1 -1
- package/dist/esm/models/operations/listvendorscrubpackages.d.ts +2 -2
- package/dist/esm/models/operations/listvendorscrubpackages.d.ts.map +1 -1
- package/dist/esm/models/operations/listvendorscrubpackages.js +2 -2
- package/dist/esm/models/operations/listvendorscrubpackages.js.map +1 -1
- package/dist/esm/models/operations/listvendorscrubpurchases.d.ts +15 -15
- package/dist/esm/models/operations/listvendorscrubpurchases.d.ts.map +1 -1
- package/dist/esm/models/operations/listvendorscrubpurchases.js +15 -15
- package/dist/esm/models/operations/listvendorscrubpurchases.js.map +1 -1
- package/dist/esm/models/operations/postauthenticate.d.ts +98 -0
- package/dist/esm/models/operations/postauthenticate.d.ts.map +1 -0
- package/dist/esm/models/operations/postauthenticate.js +122 -0
- package/dist/esm/models/operations/postauthenticate.js.map +1 -0
- package/dist/esm/models/operations/securityzonecheckin.d.ts +190 -4
- package/dist/esm/models/operations/securityzonecheckin.d.ts.map +1 -1
- package/dist/esm/models/operations/securityzonecheckin.js +239 -0
- package/dist/esm/models/operations/securityzonecheckin.js.map +1 -1
- package/dist/esm/models/operations/updatesthewebhookendpointwiththegivenid.d.ts +35 -0
- package/dist/esm/models/operations/updatesthewebhookendpointwiththegivenid.d.ts.map +1 -0
- package/dist/esm/models/operations/updatesthewebhookendpointwiththegivenid.js +43 -0
- package/dist/esm/models/operations/updatesthewebhookendpointwiththegivenid.js.map +1 -0
- package/dist/esm/models/operations/updatevendormanagedbycompany.d.ts +13 -13
- package/dist/esm/models/operations/updatevendormanagedbycompany.d.ts.map +1 -1
- package/dist/esm/models/operations/updatevendormanagedbycompany.js +15 -13
- package/dist/esm/models/operations/updatevendormanagedbycompany.js.map +1 -1
- package/dist/esm/models/operations/vendorscanout.d.ts +13 -13
- package/dist/esm/models/operations/vendorscanout.d.ts.map +1 -1
- package/dist/esm/models/operations/vendorscanout.js +13 -13
- package/dist/esm/models/operations/vendorscanout.js.map +1 -1
- package/dist/esm/react-query/index.d.ts +3 -1
- package/dist/esm/react-query/index.d.ts.map +1 -1
- package/dist/esm/react-query/index.js +3 -1
- package/dist/esm/react-query/index.js.map +1 -1
- package/dist/esm/react-query/usersChangePassword.d.ts +1 -1
- package/dist/esm/react-query/usersChangePassword.d.ts.map +1 -1
- package/dist/{commonjs/react-query/usersLogsUserIntoTheSystem.d.ts → esm/react-query/usersPostAuthenticate.d.ts} +8 -8
- package/dist/esm/react-query/usersPostAuthenticate.d.ts.map +1 -0
- package/dist/esm/react-query/{usersLogsUserIntoTheSystem.js → usersPostAuthenticate.js} +10 -10
- package/dist/esm/react-query/usersPostAuthenticate.js.map +1 -0
- package/dist/esm/react-query/vendorScansVendorScanOut.d.ts +1 -1
- package/dist/esm/react-query/vendorScansVendorScanOut.d.ts.map +1 -1
- package/dist/esm/react-query/vendorsAddVendorManagedByCompany.d.ts +1 -1
- package/dist/esm/react-query/vendorsAddVendorManagedByCompany.d.ts.map +1 -1
- package/dist/esm/react-query/vendorsDeleteVendorManagedByCompany.d.ts +1 -1
- package/dist/esm/react-query/vendorsDeleteVendorManagedByCompany.d.ts.map +1 -1
- package/dist/esm/react-query/vendorsExpediteTimeRemaining.d.ts +1 -1
- package/dist/esm/react-query/vendorsExpediteTimeRemaining.d.ts.map +1 -1
- package/dist/esm/react-query/vendorsGetVendorCredentialDetails.d.ts +79 -0
- package/dist/esm/react-query/vendorsGetVendorCredentialDetails.d.ts.map +1 -0
- package/dist/esm/react-query/vendorsGetVendorCredentialDetails.js +122 -0
- package/dist/esm/react-query/vendorsGetVendorCredentialDetails.js.map +1 -0
- package/dist/esm/react-query/vendorsUpdateVendorManagedByCompany.d.ts +1 -1
- package/dist/esm/react-query/vendorsUpdateVendorManagedByCompany.d.ts.map +1 -1
- package/dist/esm/react-query/webhooksListAllWebhookEndpoints.d.ts +1 -1
- package/dist/esm/react-query/webhooksListAllWebhookEndpoints.d.ts.map +1 -1
- package/dist/esm/react-query/webhooksUpdatesTheWebhookEndpointWithTheGivenId.d.ts +24 -0
- package/dist/esm/react-query/webhooksUpdatesTheWebhookEndpointWithTheGivenId.d.ts.map +1 -0
- package/dist/esm/react-query/webhooksUpdatesTheWebhookEndpointWithTheGivenId.js +46 -0
- package/dist/esm/react-query/webhooksUpdatesTheWebhookEndpointWithTheGivenId.js.map +1 -0
- package/dist/esm/react-query/zonesSecurityZoneCheckin.d.ts +2 -3
- package/dist/esm/react-query/zonesSecurityZoneCheckin.d.ts.map +1 -1
- package/dist/esm/react-query/zonesSecurityZoneCheckin.js +1 -1
- package/dist/esm/react-query/zonesSecurityZoneCheckin.js.map +1 -1
- package/dist/esm/sdk/users.d.ts +2 -2
- package/dist/esm/sdk/users.d.ts.map +1 -1
- package/dist/esm/sdk/users.js +3 -3
- package/dist/esm/sdk/users.js.map +1 -1
- package/dist/esm/sdk/vendors.d.ts +28 -4
- package/dist/esm/sdk/vendors.d.ts.map +1 -1
- package/dist/esm/sdk/vendors.js +27 -0
- package/dist/esm/sdk/vendors.js.map +1 -1
- package/dist/esm/sdk/vendorscans.d.ts +1 -1
- package/dist/esm/sdk/vendorscans.d.ts.map +1 -1
- package/dist/esm/sdk/webhooks.d.ts +8 -1
- package/dist/esm/sdk/webhooks.d.ts.map +1 -1
- package/dist/esm/sdk/webhooks.js +10 -0
- package/dist/esm/sdk/webhooks.js.map +1 -1
- package/dist/esm/sdk/zones.d.ts +2 -3
- package/dist/esm/sdk/zones.d.ts.map +1 -1
- package/dist/esm/sdk/zones.js +1 -1
- package/dist/esm/sdk/zones.js.map +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/__tests__/vendors.test.ts +42 -1
- package/src/__tests__/webhooks.test.ts +49 -0
- package/src/__tests__/zones.test.ts +54 -56
- package/src/funcs/organizationsGetFacility.ts +2 -2
- package/src/funcs/organizationsListOrSearchFacilities.ts +2 -2
- package/src/funcs/supportArticlesGetSupportArticle.ts +6 -2
- package/src/funcs/supportArticlesListOrSearchSupportArticles.ts +12 -1
- package/src/funcs/usersChangePassword.ts +4 -4
- package/src/funcs/usersGetCurrentUser.ts +5 -1
- package/src/funcs/usersGetUserById.ts +5 -1
- package/src/funcs/usersMagiclink.ts +5 -1
- package/src/funcs/usersPassword.ts +6 -2
- package/src/funcs/usersPasswordResetRequest.ts +6 -2
- package/src/funcs/{usersLogsUserIntoTheSystem.ts → usersPostAuthenticate.ts} +16 -12
- package/src/funcs/vendorScansVendorScanOut.ts +4 -4
- package/src/funcs/vendorsAddVendorManagedByCompany.ts +8 -4
- package/src/funcs/vendorsDeleteVendorManagedByCompany.ts +5 -4
- package/src/funcs/vendorsExpediteTimeRemaining.ts +13 -6
- package/src/funcs/vendorsGetVendorCredentialDetails.ts +204 -0
- package/src/funcs/vendorsGetVendorInvoiceDetails.ts +6 -2
- package/src/funcs/vendorsGetVendorsDetails.ts +2 -2
- package/src/funcs/vendorsListVendorAdditionalFacilityFields.ts +2 -2
- package/src/funcs/vendorsListVendorCredentials.ts +12 -1
- package/src/funcs/vendorsListVendorCredits.ts +2 -2
- package/src/funcs/vendorsListVendorFacilityStatuses.ts +2 -2
- package/src/funcs/vendorsListVendorInvoices.ts +7 -2
- package/src/funcs/vendorsListVendorManagedByCompanies.ts +2 -2
- package/src/funcs/vendorsListVendorScrubDetails.ts +6 -2
- package/src/funcs/vendorsListVendorScrubPurchases.ts +7 -2
- package/src/funcs/vendorsUpdateVendorManagedByCompany.ts +5 -4
- package/src/funcs/webhooksGetWebhookEndpoint.ts +2 -2
- package/src/funcs/webhooksListAllWebhookEndpoints.ts +7 -4
- package/src/funcs/webhooksUpdatesTheWebhookEndpointWithTheGivenId.ts +176 -0
- package/src/funcs/zonesSecurityZoneCheckin.ts +5 -6
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +7 -3
- package/src/mcp-server/tools/{usersLogsUserIntoTheSystem.ts → usersPostAuthenticate.ts} +5 -5
- package/src/mcp-server/tools/vendorsGetVendorCredentialDetails.ts +56 -0
- package/src/mcp-server/tools/webhooksUpdatesTheWebhookEndpointWithTheGivenId.ts +40 -0
- package/src/mcp-server/tools/zonesSecurityZoneCheckin.ts +1 -1
- package/src/models/components/backgroundcheckresult.ts +378 -0
- package/src/models/components/credential.ts +227 -0
- package/src/models/components/credentialdocument.ts +231 -0
- package/src/models/components/datarequest.ts +274 -0
- package/src/models/components/expand.ts +22 -0
- package/src/models/components/facility.ts +20 -20
- package/src/models/components/index.ts +8 -0
- package/src/models/components/screeningresponse.ts +136 -0
- package/src/models/components/user.ts +4 -4
- package/src/models/components/vendor.ts +115 -9
- package/src/models/components/vendorcredentialdatarequest.ts +397 -0
- package/src/models/components/vendorcredentialfile.ts +354 -0
- package/src/models/components/vendorcredentialsummary.ts +495 -0
- package/src/models/components/vendorscan.ts +198 -0
- package/src/models/operations/addvendormanagedbycompany.ts +40 -31
- package/src/models/operations/changepassword.ts +23 -21
- package/src/models/operations/deletevendormanagedbycompany.ts +39 -37
- package/src/models/operations/expeditetimeremaining.ts +48 -37
- package/src/models/operations/getvendorcredentialdetails.ts +181 -0
- package/src/models/operations/index.ts +3 -1
- package/src/models/operations/listallwebhookendpoints.ts +42 -33
- package/src/models/operations/listvendoradditionalfacilityfields.ts +43 -39
- package/src/models/operations/listvendorcredentials.ts +46 -50
- package/src/models/operations/listvendorcredits.ts +29 -26
- package/src/models/operations/listvendorfacilitystatuses.ts +49 -38
- package/src/models/operations/listvendorinvoices.ts +34 -30
- package/src/models/operations/listvendormanagedbycompanies.ts +52 -44
- package/src/models/operations/listvendorscrubpackages.ts +4 -4
- package/src/models/operations/listvendorscrubpurchases.ts +50 -37
- package/src/models/operations/{logsuserintothesystem.ts → postauthenticate.ts} +65 -68
- package/src/models/operations/securityzonecheckin.ts +428 -4
- package/src/models/operations/updatesthewebhookendpointwiththegivenid.ts +97 -0
- package/src/models/operations/updatevendormanagedbycompany.ts +39 -37
- package/src/models/operations/vendorscanout.ts +23 -21
- package/src/react-query/index.ts +3 -1
- package/src/react-query/usersChangePassword.ts +1 -1
- package/src/react-query/{usersLogsUserIntoTheSystem.ts → usersPostAuthenticate.ts} +20 -20
- package/src/react-query/vendorScansVendorScanOut.ts +1 -1
- package/src/react-query/vendorsAddVendorManagedByCompany.ts +1 -1
- package/src/react-query/vendorsDeleteVendorManagedByCompany.ts +1 -1
- package/src/react-query/vendorsExpediteTimeRemaining.ts +1 -1
- package/src/react-query/vendorsGetVendorCredentialDetails.ts +223 -0
- package/src/react-query/vendorsUpdateVendorManagedByCompany.ts +1 -1
- package/src/react-query/webhooksListAllWebhookEndpoints.ts +1 -1
- package/src/react-query/webhooksUpdatesTheWebhookEndpointWithTheGivenId.ts +98 -0
- package/src/react-query/zonesSecurityZoneCheckin.ts +3 -3
- package/src/sdk/users.ts +6 -6
- package/src/sdk/vendors.ts +43 -4
- package/src/sdk/vendorscans.ts +1 -1
- package/src/sdk/webhooks.ts +19 -1
- package/src/sdk/zones.ts +2 -3
- package/dist/commonjs/funcs/usersLogsUserIntoTheSystem.d.ts.map +0 -1
- package/dist/commonjs/funcs/usersLogsUserIntoTheSystem.js.map +0 -1
- package/dist/commonjs/mcp-server/tools/usersLogsUserIntoTheSystem.d.ts +0 -8
- package/dist/commonjs/mcp-server/tools/usersLogsUserIntoTheSystem.d.ts.map +0 -1
- package/dist/commonjs/mcp-server/tools/usersLogsUserIntoTheSystem.js.map +0 -1
- package/dist/commonjs/models/operations/logsuserintothesystem.d.ts +0 -98
- package/dist/commonjs/models/operations/logsuserintothesystem.d.ts.map +0 -1
- package/dist/commonjs/models/operations/logsuserintothesystem.js.map +0 -1
- package/dist/commonjs/react-query/usersLogsUserIntoTheSystem.d.ts.map +0 -1
- package/dist/commonjs/react-query/usersLogsUserIntoTheSystem.js.map +0 -1
- package/dist/esm/funcs/usersLogsUserIntoTheSystem.d.ts.map +0 -1
- package/dist/esm/funcs/usersLogsUserIntoTheSystem.js.map +0 -1
- package/dist/esm/mcp-server/tools/usersLogsUserIntoTheSystem.d.ts +0 -8
- package/dist/esm/mcp-server/tools/usersLogsUserIntoTheSystem.d.ts.map +0 -1
- package/dist/esm/mcp-server/tools/usersLogsUserIntoTheSystem.js.map +0 -1
- package/dist/esm/models/operations/logsuserintothesystem.d.ts +0 -98
- package/dist/esm/models/operations/logsuserintothesystem.d.ts.map +0 -1
- package/dist/esm/models/operations/logsuserintothesystem.js +0 -122
- package/dist/esm/models/operations/logsuserintothesystem.js.map +0 -1
- package/dist/esm/react-query/usersLogsUserIntoTheSystem.d.ts.map +0 -1
- package/dist/esm/react-query/usersLogsUserIntoTheSystem.js.map +0 -1
|
@@ -5,49 +5,199 @@
|
|
|
5
5
|
import * as z from "zod";
|
|
6
6
|
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
7
|
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
8
9
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
10
|
+
import * as components from "../components/index.js";
|
|
9
11
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
12
|
|
|
11
13
|
export type Two = {
|
|
14
|
+
qrCode: string;
|
|
15
|
+
zoneId: number;
|
|
16
|
+
handoffId?: number | undefined;
|
|
17
|
+
vendorId?: number | undefined;
|
|
18
|
+
pin?: string | undefined;
|
|
19
|
+
email?: string | undefined;
|
|
20
|
+
password?: string | undefined;
|
|
21
|
+
deviceId?: number | undefined;
|
|
22
|
+
departmentId?: number | undefined;
|
|
23
|
+
departmentOther?: string | undefined;
|
|
24
|
+
checkoutTime?: string | undefined;
|
|
25
|
+
visitPurpose?: string | undefined;
|
|
26
|
+
visitContact?: string | undefined;
|
|
27
|
+
token?: string | undefined;
|
|
12
28
|
/**
|
|
13
|
-
*
|
|
29
|
+
* Search for objects in the same scan_type as the search string
|
|
14
30
|
*/
|
|
15
|
-
|
|
31
|
+
scanType?: any | undefined;
|
|
32
|
+
recheckVendorScanId?: number | undefined;
|
|
33
|
+
temperature?: number | undefined;
|
|
16
34
|
};
|
|
17
35
|
|
|
18
36
|
export type One = {
|
|
37
|
+
zoneId: number;
|
|
19
38
|
/**
|
|
20
|
-
* The
|
|
39
|
+
* The longitude of the current Geo coordinates
|
|
21
40
|
*/
|
|
22
|
-
zoneId: number;
|
|
23
41
|
longitude?: any | undefined;
|
|
42
|
+
/**
|
|
43
|
+
* The latitude of the current Geo coordinates
|
|
44
|
+
*/
|
|
24
45
|
latitude?: any | undefined;
|
|
46
|
+
handoffId?: number | undefined;
|
|
47
|
+
vendorId?: number | undefined;
|
|
48
|
+
pin?: string | undefined;
|
|
49
|
+
email?: string | undefined;
|
|
50
|
+
password?: string | undefined;
|
|
51
|
+
deviceId?: number | undefined;
|
|
52
|
+
departmentId?: number | undefined;
|
|
53
|
+
departmentOther?: string | undefined;
|
|
54
|
+
checkoutTime?: string | undefined;
|
|
55
|
+
visitPurpose?: string | undefined;
|
|
56
|
+
visitContact?: string | undefined;
|
|
57
|
+
token?: string | undefined;
|
|
58
|
+
/**
|
|
59
|
+
* Search for objects in the same scan_type as the search string
|
|
60
|
+
*/
|
|
61
|
+
scanType?: any | undefined;
|
|
62
|
+
recheckVendorScanId?: number | undefined;
|
|
63
|
+
temperature?: number | undefined;
|
|
25
64
|
};
|
|
26
65
|
|
|
27
66
|
export type SecurityZoneCheckinRequestBody = Two | One;
|
|
28
67
|
|
|
68
|
+
export const Requires = {
|
|
69
|
+
CompleteCheckin: "complete_checkin",
|
|
70
|
+
} as const;
|
|
71
|
+
export type Requires = ClosedEnum<typeof Requires>;
|
|
72
|
+
|
|
73
|
+
export type Results = {
|
|
74
|
+
hasValidPaymentProfile?: boolean | undefined;
|
|
75
|
+
subscriptionExpires?: string | null | undefined;
|
|
76
|
+
subscriptionExpiresWithin30Days?: boolean | undefined;
|
|
77
|
+
qrToCredentials?: boolean | undefined;
|
|
78
|
+
dateExpires?: string | null | undefined;
|
|
79
|
+
dateLastScanned?: string | null | undefined;
|
|
80
|
+
dateLastIn?: string | null | undefined;
|
|
81
|
+
dateLastOut?: string | null | undefined;
|
|
82
|
+
height?: string | null | undefined;
|
|
83
|
+
eyeColor?: string | null | undefined;
|
|
84
|
+
isScannedIn?: boolean | undefined;
|
|
85
|
+
/**
|
|
86
|
+
* Reduced list of attributes of VendorScan record
|
|
87
|
+
*/
|
|
88
|
+
scanInVendorScan?: components.VendorScan | null | undefined;
|
|
89
|
+
screeningResponses?: Array<components.ScreeningResponse | null> | undefined;
|
|
90
|
+
/**
|
|
91
|
+
* Reduced list of attributes of VendorScan record
|
|
92
|
+
*/
|
|
93
|
+
vendorScan?: components.VendorScan | null | undefined;
|
|
94
|
+
};
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* The request was successful, and the server has returned the requested resource in the response body.
|
|
98
|
+
*/
|
|
99
|
+
export type SecurityZoneCheckinResponseBody = {
|
|
100
|
+
success?: boolean | undefined;
|
|
101
|
+
requires?: Requires | undefined;
|
|
102
|
+
/**
|
|
103
|
+
* Reduced list of attributes of Handoff record
|
|
104
|
+
*/
|
|
105
|
+
handoff?: components.Handoff | null | undefined;
|
|
106
|
+
results?: Results | undefined;
|
|
107
|
+
};
|
|
108
|
+
|
|
29
109
|
/** @internal */
|
|
30
110
|
export const Two$inboundSchema: z.ZodType<Two, z.ZodTypeDef, unknown> = z
|
|
31
111
|
.object({
|
|
32
112
|
qr_code: z.string(),
|
|
113
|
+
zone_id: z.number().int(),
|
|
114
|
+
handoff_id: z.number().int().optional(),
|
|
115
|
+
vendor_id: z.number().int().optional(),
|
|
116
|
+
pin: z.string().optional(),
|
|
117
|
+
email: z.string().optional(),
|
|
118
|
+
password: z.string().optional(),
|
|
119
|
+
device_id: z.number().int().optional(),
|
|
120
|
+
department_id: z.number().int().optional(),
|
|
121
|
+
department_other: z.string().optional(),
|
|
122
|
+
checkout_time: z.string().optional(),
|
|
123
|
+
visit_purpose: z.string().optional(),
|
|
124
|
+
visit_contact: z.string().optional(),
|
|
125
|
+
token: z.string().optional(),
|
|
126
|
+
scan_type: z.any().optional(),
|
|
127
|
+
recheck_vendor_scan_id: z.number().int().optional(),
|
|
128
|
+
temperature: z.number().optional(),
|
|
33
129
|
}).transform((v) => {
|
|
34
130
|
return remap$(v, {
|
|
35
131
|
"qr_code": "qrCode",
|
|
132
|
+
"zone_id": "zoneId",
|
|
133
|
+
"handoff_id": "handoffId",
|
|
134
|
+
"vendor_id": "vendorId",
|
|
135
|
+
"device_id": "deviceId",
|
|
136
|
+
"department_id": "departmentId",
|
|
137
|
+
"department_other": "departmentOther",
|
|
138
|
+
"checkout_time": "checkoutTime",
|
|
139
|
+
"visit_purpose": "visitPurpose",
|
|
140
|
+
"visit_contact": "visitContact",
|
|
141
|
+
"scan_type": "scanType",
|
|
142
|
+
"recheck_vendor_scan_id": "recheckVendorScanId",
|
|
36
143
|
});
|
|
37
144
|
});
|
|
38
145
|
|
|
39
146
|
/** @internal */
|
|
40
147
|
export type Two$Outbound = {
|
|
41
148
|
qr_code: string;
|
|
149
|
+
zone_id: number;
|
|
150
|
+
handoff_id?: number | undefined;
|
|
151
|
+
vendor_id?: number | undefined;
|
|
152
|
+
pin?: string | undefined;
|
|
153
|
+
email?: string | undefined;
|
|
154
|
+
password?: string | undefined;
|
|
155
|
+
device_id?: number | undefined;
|
|
156
|
+
department_id?: number | undefined;
|
|
157
|
+
department_other?: string | undefined;
|
|
158
|
+
checkout_time?: string | undefined;
|
|
159
|
+
visit_purpose?: string | undefined;
|
|
160
|
+
visit_contact?: string | undefined;
|
|
161
|
+
token?: string | undefined;
|
|
162
|
+
scan_type?: any | undefined;
|
|
163
|
+
recheck_vendor_scan_id?: number | undefined;
|
|
164
|
+
temperature?: number | undefined;
|
|
42
165
|
};
|
|
43
166
|
|
|
44
167
|
/** @internal */
|
|
45
168
|
export const Two$outboundSchema: z.ZodType<Two$Outbound, z.ZodTypeDef, Two> = z
|
|
46
169
|
.object({
|
|
47
170
|
qrCode: z.string(),
|
|
171
|
+
zoneId: z.number().int(),
|
|
172
|
+
handoffId: z.number().int().optional(),
|
|
173
|
+
vendorId: z.number().int().optional(),
|
|
174
|
+
pin: z.string().optional(),
|
|
175
|
+
email: z.string().optional(),
|
|
176
|
+
password: z.string().optional(),
|
|
177
|
+
deviceId: z.number().int().optional(),
|
|
178
|
+
departmentId: z.number().int().optional(),
|
|
179
|
+
departmentOther: z.string().optional(),
|
|
180
|
+
checkoutTime: z.string().optional(),
|
|
181
|
+
visitPurpose: z.string().optional(),
|
|
182
|
+
visitContact: z.string().optional(),
|
|
183
|
+
token: z.string().optional(),
|
|
184
|
+
scanType: z.any().optional(),
|
|
185
|
+
recheckVendorScanId: z.number().int().optional(),
|
|
186
|
+
temperature: z.number().optional(),
|
|
48
187
|
}).transform((v) => {
|
|
49
188
|
return remap$(v, {
|
|
50
189
|
qrCode: "qr_code",
|
|
190
|
+
zoneId: "zone_id",
|
|
191
|
+
handoffId: "handoff_id",
|
|
192
|
+
vendorId: "vendor_id",
|
|
193
|
+
deviceId: "device_id",
|
|
194
|
+
departmentId: "department_id",
|
|
195
|
+
departmentOther: "department_other",
|
|
196
|
+
checkoutTime: "checkout_time",
|
|
197
|
+
visitPurpose: "visit_purpose",
|
|
198
|
+
visitContact: "visit_contact",
|
|
199
|
+
scanType: "scan_type",
|
|
200
|
+
recheckVendorScanId: "recheck_vendor_scan_id",
|
|
51
201
|
});
|
|
52
202
|
});
|
|
53
203
|
|
|
@@ -84,9 +234,34 @@ export const One$inboundSchema: z.ZodType<One, z.ZodTypeDef, unknown> = z
|
|
|
84
234
|
zone_id: z.number().int(),
|
|
85
235
|
longitude: z.any().optional(),
|
|
86
236
|
latitude: z.any().optional(),
|
|
237
|
+
handoff_id: z.number().int().optional(),
|
|
238
|
+
vendor_id: z.number().int().optional(),
|
|
239
|
+
pin: z.string().optional(),
|
|
240
|
+
email: z.string().optional(),
|
|
241
|
+
password: z.string().optional(),
|
|
242
|
+
device_id: z.number().int().optional(),
|
|
243
|
+
department_id: z.number().int().optional(),
|
|
244
|
+
department_other: z.string().optional(),
|
|
245
|
+
checkout_time: z.string().optional(),
|
|
246
|
+
visit_purpose: z.string().optional(),
|
|
247
|
+
visit_contact: z.string().optional(),
|
|
248
|
+
token: z.string().optional(),
|
|
249
|
+
scan_type: z.any().optional(),
|
|
250
|
+
recheck_vendor_scan_id: z.number().int().optional(),
|
|
251
|
+
temperature: z.number().optional(),
|
|
87
252
|
}).transform((v) => {
|
|
88
253
|
return remap$(v, {
|
|
89
254
|
"zone_id": "zoneId",
|
|
255
|
+
"handoff_id": "handoffId",
|
|
256
|
+
"vendor_id": "vendorId",
|
|
257
|
+
"device_id": "deviceId",
|
|
258
|
+
"department_id": "departmentId",
|
|
259
|
+
"department_other": "departmentOther",
|
|
260
|
+
"checkout_time": "checkoutTime",
|
|
261
|
+
"visit_purpose": "visitPurpose",
|
|
262
|
+
"visit_contact": "visitContact",
|
|
263
|
+
"scan_type": "scanType",
|
|
264
|
+
"recheck_vendor_scan_id": "recheckVendorScanId",
|
|
90
265
|
});
|
|
91
266
|
});
|
|
92
267
|
|
|
@@ -95,6 +270,21 @@ export type One$Outbound = {
|
|
|
95
270
|
zone_id: number;
|
|
96
271
|
longitude?: any | undefined;
|
|
97
272
|
latitude?: any | undefined;
|
|
273
|
+
handoff_id?: number | undefined;
|
|
274
|
+
vendor_id?: number | undefined;
|
|
275
|
+
pin?: string | undefined;
|
|
276
|
+
email?: string | undefined;
|
|
277
|
+
password?: string | undefined;
|
|
278
|
+
device_id?: number | undefined;
|
|
279
|
+
department_id?: number | undefined;
|
|
280
|
+
department_other?: string | undefined;
|
|
281
|
+
checkout_time?: string | undefined;
|
|
282
|
+
visit_purpose?: string | undefined;
|
|
283
|
+
visit_contact?: string | undefined;
|
|
284
|
+
token?: string | undefined;
|
|
285
|
+
scan_type?: any | undefined;
|
|
286
|
+
recheck_vendor_scan_id?: number | undefined;
|
|
287
|
+
temperature?: number | undefined;
|
|
98
288
|
};
|
|
99
289
|
|
|
100
290
|
/** @internal */
|
|
@@ -103,9 +293,34 @@ export const One$outboundSchema: z.ZodType<One$Outbound, z.ZodTypeDef, One> = z
|
|
|
103
293
|
zoneId: z.number().int(),
|
|
104
294
|
longitude: z.any().optional(),
|
|
105
295
|
latitude: z.any().optional(),
|
|
296
|
+
handoffId: z.number().int().optional(),
|
|
297
|
+
vendorId: z.number().int().optional(),
|
|
298
|
+
pin: z.string().optional(),
|
|
299
|
+
email: z.string().optional(),
|
|
300
|
+
password: z.string().optional(),
|
|
301
|
+
deviceId: z.number().int().optional(),
|
|
302
|
+
departmentId: z.number().int().optional(),
|
|
303
|
+
departmentOther: z.string().optional(),
|
|
304
|
+
checkoutTime: z.string().optional(),
|
|
305
|
+
visitPurpose: z.string().optional(),
|
|
306
|
+
visitContact: z.string().optional(),
|
|
307
|
+
token: z.string().optional(),
|
|
308
|
+
scanType: z.any().optional(),
|
|
309
|
+
recheckVendorScanId: z.number().int().optional(),
|
|
310
|
+
temperature: z.number().optional(),
|
|
106
311
|
}).transform((v) => {
|
|
107
312
|
return remap$(v, {
|
|
108
313
|
zoneId: "zone_id",
|
|
314
|
+
handoffId: "handoff_id",
|
|
315
|
+
vendorId: "vendor_id",
|
|
316
|
+
deviceId: "device_id",
|
|
317
|
+
departmentId: "department_id",
|
|
318
|
+
departmentOther: "department_other",
|
|
319
|
+
checkoutTime: "checkout_time",
|
|
320
|
+
visitPurpose: "visit_purpose",
|
|
321
|
+
visitContact: "visit_contact",
|
|
322
|
+
scanType: "scan_type",
|
|
323
|
+
recheckVendorScanId: "recheck_vendor_scan_id",
|
|
109
324
|
});
|
|
110
325
|
});
|
|
111
326
|
|
|
@@ -190,3 +405,212 @@ export function securityZoneCheckinRequestBodyFromJSON(
|
|
|
190
405
|
`Failed to parse 'SecurityZoneCheckinRequestBody' from JSON`,
|
|
191
406
|
);
|
|
192
407
|
}
|
|
408
|
+
|
|
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
|
+
/** @internal */
|
|
429
|
+
export const Results$inboundSchema: z.ZodType<Results, z.ZodTypeDef, unknown> =
|
|
430
|
+
z.object({
|
|
431
|
+
has_valid_payment_profile: z.boolean().optional(),
|
|
432
|
+
subscription_expires: z.nullable(z.string()).optional(),
|
|
433
|
+
subscription_expires_within_30_days: z.boolean().optional(),
|
|
434
|
+
qr_to_credentials: z.boolean().optional(),
|
|
435
|
+
date_expires: z.nullable(z.string()).optional(),
|
|
436
|
+
date_last_scanned: z.nullable(z.string()).optional(),
|
|
437
|
+
date_last_in: z.nullable(z.string()).optional(),
|
|
438
|
+
date_last_out: z.nullable(z.string()).optional(),
|
|
439
|
+
height: z.nullable(z.string()).optional(),
|
|
440
|
+
eye_color: z.nullable(z.string()).optional(),
|
|
441
|
+
is_scanned_in: z.boolean().optional(),
|
|
442
|
+
scan_in_vendor_scan: z.nullable(components.VendorScan$inboundSchema)
|
|
443
|
+
.optional(),
|
|
444
|
+
screening_responses: z.array(
|
|
445
|
+
z.nullable(components.ScreeningResponse$inboundSchema),
|
|
446
|
+
).optional(),
|
|
447
|
+
vendor_scan: z.nullable(components.VendorScan$inboundSchema).optional(),
|
|
448
|
+
}).transform((v) => {
|
|
449
|
+
return remap$(v, {
|
|
450
|
+
"has_valid_payment_profile": "hasValidPaymentProfile",
|
|
451
|
+
"subscription_expires": "subscriptionExpires",
|
|
452
|
+
"subscription_expires_within_30_days": "subscriptionExpiresWithin30Days",
|
|
453
|
+
"qr_to_credentials": "qrToCredentials",
|
|
454
|
+
"date_expires": "dateExpires",
|
|
455
|
+
"date_last_scanned": "dateLastScanned",
|
|
456
|
+
"date_last_in": "dateLastIn",
|
|
457
|
+
"date_last_out": "dateLastOut",
|
|
458
|
+
"eye_color": "eyeColor",
|
|
459
|
+
"is_scanned_in": "isScannedIn",
|
|
460
|
+
"scan_in_vendor_scan": "scanInVendorScan",
|
|
461
|
+
"screening_responses": "screeningResponses",
|
|
462
|
+
"vendor_scan": "vendorScan",
|
|
463
|
+
});
|
|
464
|
+
});
|
|
465
|
+
|
|
466
|
+
/** @internal */
|
|
467
|
+
export type Results$Outbound = {
|
|
468
|
+
has_valid_payment_profile?: boolean | undefined;
|
|
469
|
+
subscription_expires?: string | null | undefined;
|
|
470
|
+
subscription_expires_within_30_days?: boolean | undefined;
|
|
471
|
+
qr_to_credentials?: boolean | undefined;
|
|
472
|
+
date_expires?: string | null | undefined;
|
|
473
|
+
date_last_scanned?: string | null | undefined;
|
|
474
|
+
date_last_in?: string | null | undefined;
|
|
475
|
+
date_last_out?: string | null | undefined;
|
|
476
|
+
height?: string | null | undefined;
|
|
477
|
+
eye_color?: string | null | undefined;
|
|
478
|
+
is_scanned_in?: boolean | undefined;
|
|
479
|
+
scan_in_vendor_scan?: components.VendorScan$Outbound | null | undefined;
|
|
480
|
+
screening_responses?:
|
|
481
|
+
| Array<components.ScreeningResponse$Outbound | null>
|
|
482
|
+
| undefined;
|
|
483
|
+
vendor_scan?: components.VendorScan$Outbound | null | undefined;
|
|
484
|
+
};
|
|
485
|
+
|
|
486
|
+
/** @internal */
|
|
487
|
+
export const Results$outboundSchema: z.ZodType<
|
|
488
|
+
Results$Outbound,
|
|
489
|
+
z.ZodTypeDef,
|
|
490
|
+
Results
|
|
491
|
+
> = z.object({
|
|
492
|
+
hasValidPaymentProfile: z.boolean().optional(),
|
|
493
|
+
subscriptionExpires: z.nullable(z.string()).optional(),
|
|
494
|
+
subscriptionExpiresWithin30Days: z.boolean().optional(),
|
|
495
|
+
qrToCredentials: z.boolean().optional(),
|
|
496
|
+
dateExpires: z.nullable(z.string()).optional(),
|
|
497
|
+
dateLastScanned: z.nullable(z.string()).optional(),
|
|
498
|
+
dateLastIn: z.nullable(z.string()).optional(),
|
|
499
|
+
dateLastOut: z.nullable(z.string()).optional(),
|
|
500
|
+
height: z.nullable(z.string()).optional(),
|
|
501
|
+
eyeColor: z.nullable(z.string()).optional(),
|
|
502
|
+
isScannedIn: z.boolean().optional(),
|
|
503
|
+
scanInVendorScan: z.nullable(components.VendorScan$outboundSchema).optional(),
|
|
504
|
+
screeningResponses: z.array(
|
|
505
|
+
z.nullable(components.ScreeningResponse$outboundSchema),
|
|
506
|
+
).optional(),
|
|
507
|
+
vendorScan: z.nullable(components.VendorScan$outboundSchema).optional(),
|
|
508
|
+
}).transform((v) => {
|
|
509
|
+
return remap$(v, {
|
|
510
|
+
hasValidPaymentProfile: "has_valid_payment_profile",
|
|
511
|
+
subscriptionExpires: "subscription_expires",
|
|
512
|
+
subscriptionExpiresWithin30Days: "subscription_expires_within_30_days",
|
|
513
|
+
qrToCredentials: "qr_to_credentials",
|
|
514
|
+
dateExpires: "date_expires",
|
|
515
|
+
dateLastScanned: "date_last_scanned",
|
|
516
|
+
dateLastIn: "date_last_in",
|
|
517
|
+
dateLastOut: "date_last_out",
|
|
518
|
+
eyeColor: "eye_color",
|
|
519
|
+
isScannedIn: "is_scanned_in",
|
|
520
|
+
scanInVendorScan: "scan_in_vendor_scan",
|
|
521
|
+
screeningResponses: "screening_responses",
|
|
522
|
+
vendorScan: "vendor_scan",
|
|
523
|
+
});
|
|
524
|
+
});
|
|
525
|
+
|
|
526
|
+
/**
|
|
527
|
+
* @internal
|
|
528
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
529
|
+
*/
|
|
530
|
+
export namespace Results$ {
|
|
531
|
+
/** @deprecated use `Results$inboundSchema` instead. */
|
|
532
|
+
export const inboundSchema = Results$inboundSchema;
|
|
533
|
+
/** @deprecated use `Results$outboundSchema` instead. */
|
|
534
|
+
export const outboundSchema = Results$outboundSchema;
|
|
535
|
+
/** @deprecated use `Results$Outbound` instead. */
|
|
536
|
+
export type Outbound = Results$Outbound;
|
|
537
|
+
}
|
|
538
|
+
|
|
539
|
+
export function resultsToJSON(results: Results): string {
|
|
540
|
+
return JSON.stringify(Results$outboundSchema.parse(results));
|
|
541
|
+
}
|
|
542
|
+
|
|
543
|
+
export function resultsFromJSON(
|
|
544
|
+
jsonString: string,
|
|
545
|
+
): SafeParseResult<Results, SDKValidationError> {
|
|
546
|
+
return safeParse(
|
|
547
|
+
jsonString,
|
|
548
|
+
(x) => Results$inboundSchema.parse(JSON.parse(x)),
|
|
549
|
+
`Failed to parse 'Results' from JSON`,
|
|
550
|
+
);
|
|
551
|
+
}
|
|
552
|
+
|
|
553
|
+
/** @internal */
|
|
554
|
+
export const SecurityZoneCheckinResponseBody$inboundSchema: z.ZodType<
|
|
555
|
+
SecurityZoneCheckinResponseBody,
|
|
556
|
+
z.ZodTypeDef,
|
|
557
|
+
unknown
|
|
558
|
+
> = z.object({
|
|
559
|
+
success: z.boolean().optional(),
|
|
560
|
+
requires: Requires$inboundSchema.optional(),
|
|
561
|
+
handoff: z.nullable(components.Handoff$inboundSchema).optional(),
|
|
562
|
+
results: z.lazy(() => Results$inboundSchema).optional(),
|
|
563
|
+
});
|
|
564
|
+
|
|
565
|
+
/** @internal */
|
|
566
|
+
export type SecurityZoneCheckinResponseBody$Outbound = {
|
|
567
|
+
success?: boolean | undefined;
|
|
568
|
+
requires?: string | undefined;
|
|
569
|
+
handoff?: components.Handoff$Outbound | null | undefined;
|
|
570
|
+
results?: Results$Outbound | undefined;
|
|
571
|
+
};
|
|
572
|
+
|
|
573
|
+
/** @internal */
|
|
574
|
+
export const SecurityZoneCheckinResponseBody$outboundSchema: z.ZodType<
|
|
575
|
+
SecurityZoneCheckinResponseBody$Outbound,
|
|
576
|
+
z.ZodTypeDef,
|
|
577
|
+
SecurityZoneCheckinResponseBody
|
|
578
|
+
> = z.object({
|
|
579
|
+
success: z.boolean().optional(),
|
|
580
|
+
requires: Requires$outboundSchema.optional(),
|
|
581
|
+
handoff: z.nullable(components.Handoff$outboundSchema).optional(),
|
|
582
|
+
results: z.lazy(() => Results$outboundSchema).optional(),
|
|
583
|
+
});
|
|
584
|
+
|
|
585
|
+
/**
|
|
586
|
+
* @internal
|
|
587
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
588
|
+
*/
|
|
589
|
+
export namespace SecurityZoneCheckinResponseBody$ {
|
|
590
|
+
/** @deprecated use `SecurityZoneCheckinResponseBody$inboundSchema` instead. */
|
|
591
|
+
export const inboundSchema = SecurityZoneCheckinResponseBody$inboundSchema;
|
|
592
|
+
/** @deprecated use `SecurityZoneCheckinResponseBody$outboundSchema` instead. */
|
|
593
|
+
export const outboundSchema = SecurityZoneCheckinResponseBody$outboundSchema;
|
|
594
|
+
/** @deprecated use `SecurityZoneCheckinResponseBody$Outbound` instead. */
|
|
595
|
+
export type Outbound = SecurityZoneCheckinResponseBody$Outbound;
|
|
596
|
+
}
|
|
597
|
+
|
|
598
|
+
export function securityZoneCheckinResponseBodyToJSON(
|
|
599
|
+
securityZoneCheckinResponseBody: SecurityZoneCheckinResponseBody,
|
|
600
|
+
): string {
|
|
601
|
+
return JSON.stringify(
|
|
602
|
+
SecurityZoneCheckinResponseBody$outboundSchema.parse(
|
|
603
|
+
securityZoneCheckinResponseBody,
|
|
604
|
+
),
|
|
605
|
+
);
|
|
606
|
+
}
|
|
607
|
+
|
|
608
|
+
export function securityZoneCheckinResponseBodyFromJSON(
|
|
609
|
+
jsonString: string,
|
|
610
|
+
): SafeParseResult<SecurityZoneCheckinResponseBody, SDKValidationError> {
|
|
611
|
+
return safeParse(
|
|
612
|
+
jsonString,
|
|
613
|
+
(x) => SecurityZoneCheckinResponseBody$inboundSchema.parse(JSON.parse(x)),
|
|
614
|
+
`Failed to parse 'SecurityZoneCheckinResponseBody' from JSON`,
|
|
615
|
+
);
|
|
616
|
+
}
|
|
@@ -0,0 +1,97 @@
|
|
|
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 UpdatesTheWebhookEndpointWithTheGivenIdRequest = {
|
|
13
|
+
/**
|
|
14
|
+
* The identifier of the object
|
|
15
|
+
*/
|
|
16
|
+
id: number;
|
|
17
|
+
webhookEndpoint: components.WebhookEndpoint;
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
/** @internal */
|
|
21
|
+
export const UpdatesTheWebhookEndpointWithTheGivenIdRequest$inboundSchema:
|
|
22
|
+
z.ZodType<
|
|
23
|
+
UpdatesTheWebhookEndpointWithTheGivenIdRequest,
|
|
24
|
+
z.ZodTypeDef,
|
|
25
|
+
unknown
|
|
26
|
+
> = z.object({
|
|
27
|
+
id: z.number().int(),
|
|
28
|
+
WebhookEndpoint: components.WebhookEndpoint$inboundSchema,
|
|
29
|
+
}).transform((v) => {
|
|
30
|
+
return remap$(v, {
|
|
31
|
+
"WebhookEndpoint": "webhookEndpoint",
|
|
32
|
+
});
|
|
33
|
+
});
|
|
34
|
+
|
|
35
|
+
/** @internal */
|
|
36
|
+
export type UpdatesTheWebhookEndpointWithTheGivenIdRequest$Outbound = {
|
|
37
|
+
id: number;
|
|
38
|
+
WebhookEndpoint: components.WebhookEndpoint$Outbound;
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
/** @internal */
|
|
42
|
+
export const UpdatesTheWebhookEndpointWithTheGivenIdRequest$outboundSchema:
|
|
43
|
+
z.ZodType<
|
|
44
|
+
UpdatesTheWebhookEndpointWithTheGivenIdRequest$Outbound,
|
|
45
|
+
z.ZodTypeDef,
|
|
46
|
+
UpdatesTheWebhookEndpointWithTheGivenIdRequest
|
|
47
|
+
> = z.object({
|
|
48
|
+
id: z.number().int(),
|
|
49
|
+
webhookEndpoint: components.WebhookEndpoint$outboundSchema,
|
|
50
|
+
}).transform((v) => {
|
|
51
|
+
return remap$(v, {
|
|
52
|
+
webhookEndpoint: "WebhookEndpoint",
|
|
53
|
+
});
|
|
54
|
+
});
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* @internal
|
|
58
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
59
|
+
*/
|
|
60
|
+
export namespace UpdatesTheWebhookEndpointWithTheGivenIdRequest$ {
|
|
61
|
+
/** @deprecated use `UpdatesTheWebhookEndpointWithTheGivenIdRequest$inboundSchema` instead. */
|
|
62
|
+
export const inboundSchema =
|
|
63
|
+
UpdatesTheWebhookEndpointWithTheGivenIdRequest$inboundSchema;
|
|
64
|
+
/** @deprecated use `UpdatesTheWebhookEndpointWithTheGivenIdRequest$outboundSchema` instead. */
|
|
65
|
+
export const outboundSchema =
|
|
66
|
+
UpdatesTheWebhookEndpointWithTheGivenIdRequest$outboundSchema;
|
|
67
|
+
/** @deprecated use `UpdatesTheWebhookEndpointWithTheGivenIdRequest$Outbound` instead. */
|
|
68
|
+
export type Outbound =
|
|
69
|
+
UpdatesTheWebhookEndpointWithTheGivenIdRequest$Outbound;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export function updatesTheWebhookEndpointWithTheGivenIdRequestToJSON(
|
|
73
|
+
updatesTheWebhookEndpointWithTheGivenIdRequest:
|
|
74
|
+
UpdatesTheWebhookEndpointWithTheGivenIdRequest,
|
|
75
|
+
): string {
|
|
76
|
+
return JSON.stringify(
|
|
77
|
+
UpdatesTheWebhookEndpointWithTheGivenIdRequest$outboundSchema.parse(
|
|
78
|
+
updatesTheWebhookEndpointWithTheGivenIdRequest,
|
|
79
|
+
),
|
|
80
|
+
);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
export function updatesTheWebhookEndpointWithTheGivenIdRequestFromJSON(
|
|
84
|
+
jsonString: string,
|
|
85
|
+
): SafeParseResult<
|
|
86
|
+
UpdatesTheWebhookEndpointWithTheGivenIdRequest,
|
|
87
|
+
SDKValidationError
|
|
88
|
+
> {
|
|
89
|
+
return safeParse(
|
|
90
|
+
jsonString,
|
|
91
|
+
(x) =>
|
|
92
|
+
UpdatesTheWebhookEndpointWithTheGivenIdRequest$inboundSchema.parse(
|
|
93
|
+
JSON.parse(x),
|
|
94
|
+
),
|
|
95
|
+
`Failed to parse 'UpdatesTheWebhookEndpointWithTheGivenIdRequest' from JSON`,
|
|
96
|
+
);
|
|
97
|
+
}
|