@greensecurity/javascript-sdk 0.30.42 → 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__/vendormanagedbycompanies.test.js +1 -1
- package/dist/commonjs/__tests__/vendormanagedbycompanies.test.js.map +1 -1
- package/dist/commonjs/__tests__/vendors.test.js +40 -2
- 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 +86 -39
- 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/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__/vendormanagedbycompanies.test.js +1 -1
- package/dist/esm/__tests__/vendormanagedbycompanies.test.js.map +1 -1
- package/dist/esm/__tests__/vendors.test.js +40 -2
- 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 +86 -39
- 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/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__/vendormanagedbycompanies.test.ts +1 -1
- package/src/__tests__/vendors.test.ts +43 -2
- package/src/__tests__/webhooks.test.ts +49 -0
- package/src/__tests__/zones.test.ts +86 -39
- 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
|
@@ -0,0 +1,181 @@
|
|
|
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 GetVendorCredentialDetailsRequest = {
|
|
13
|
+
/**
|
|
14
|
+
* Either the ID of the vendor rep or the keyword "me" to represent the current vendor.
|
|
15
|
+
*/
|
|
16
|
+
vendorIdOrMe: string;
|
|
17
|
+
/**
|
|
18
|
+
* The identifier of the object
|
|
19
|
+
*/
|
|
20
|
+
id: number;
|
|
21
|
+
/**
|
|
22
|
+
* An array-style parameter to identify which sections of an object to expand. See documentation for the endpoint for a list of valid expansion values.
|
|
23
|
+
*/
|
|
24
|
+
expand?: Array<components.Expand> | undefined;
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* The request was successful, and the server has returned the requested resource in the response body.
|
|
29
|
+
*/
|
|
30
|
+
export type GetVendorCredentialDetailsResponseBody = {
|
|
31
|
+
/**
|
|
32
|
+
* Reduced list of attributes of Vendor Credential record
|
|
33
|
+
*/
|
|
34
|
+
vendorCredential?: components.VendorCredentialSummary | null | undefined;
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
/** @internal */
|
|
38
|
+
export const GetVendorCredentialDetailsRequest$inboundSchema: z.ZodType<
|
|
39
|
+
GetVendorCredentialDetailsRequest,
|
|
40
|
+
z.ZodTypeDef,
|
|
41
|
+
unknown
|
|
42
|
+
> = z.object({
|
|
43
|
+
vendor_id_or_me: z.string(),
|
|
44
|
+
id: z.number().int(),
|
|
45
|
+
expand: z.array(components.Expand$inboundSchema).optional(),
|
|
46
|
+
}).transform((v) => {
|
|
47
|
+
return remap$(v, {
|
|
48
|
+
"vendor_id_or_me": "vendorIdOrMe",
|
|
49
|
+
});
|
|
50
|
+
});
|
|
51
|
+
|
|
52
|
+
/** @internal */
|
|
53
|
+
export type GetVendorCredentialDetailsRequest$Outbound = {
|
|
54
|
+
vendor_id_or_me: string;
|
|
55
|
+
id: number;
|
|
56
|
+
expand?: Array<string> | undefined;
|
|
57
|
+
};
|
|
58
|
+
|
|
59
|
+
/** @internal */
|
|
60
|
+
export const GetVendorCredentialDetailsRequest$outboundSchema: z.ZodType<
|
|
61
|
+
GetVendorCredentialDetailsRequest$Outbound,
|
|
62
|
+
z.ZodTypeDef,
|
|
63
|
+
GetVendorCredentialDetailsRequest
|
|
64
|
+
> = z.object({
|
|
65
|
+
vendorIdOrMe: z.string(),
|
|
66
|
+
id: z.number().int(),
|
|
67
|
+
expand: z.array(components.Expand$outboundSchema).optional(),
|
|
68
|
+
}).transform((v) => {
|
|
69
|
+
return remap$(v, {
|
|
70
|
+
vendorIdOrMe: "vendor_id_or_me",
|
|
71
|
+
});
|
|
72
|
+
});
|
|
73
|
+
|
|
74
|
+
/**
|
|
75
|
+
* @internal
|
|
76
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
77
|
+
*/
|
|
78
|
+
export namespace GetVendorCredentialDetailsRequest$ {
|
|
79
|
+
/** @deprecated use `GetVendorCredentialDetailsRequest$inboundSchema` instead. */
|
|
80
|
+
export const inboundSchema = GetVendorCredentialDetailsRequest$inboundSchema;
|
|
81
|
+
/** @deprecated use `GetVendorCredentialDetailsRequest$outboundSchema` instead. */
|
|
82
|
+
export const outboundSchema =
|
|
83
|
+
GetVendorCredentialDetailsRequest$outboundSchema;
|
|
84
|
+
/** @deprecated use `GetVendorCredentialDetailsRequest$Outbound` instead. */
|
|
85
|
+
export type Outbound = GetVendorCredentialDetailsRequest$Outbound;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
export function getVendorCredentialDetailsRequestToJSON(
|
|
89
|
+
getVendorCredentialDetailsRequest: GetVendorCredentialDetailsRequest,
|
|
90
|
+
): string {
|
|
91
|
+
return JSON.stringify(
|
|
92
|
+
GetVendorCredentialDetailsRequest$outboundSchema.parse(
|
|
93
|
+
getVendorCredentialDetailsRequest,
|
|
94
|
+
),
|
|
95
|
+
);
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
export function getVendorCredentialDetailsRequestFromJSON(
|
|
99
|
+
jsonString: string,
|
|
100
|
+
): SafeParseResult<GetVendorCredentialDetailsRequest, SDKValidationError> {
|
|
101
|
+
return safeParse(
|
|
102
|
+
jsonString,
|
|
103
|
+
(x) => GetVendorCredentialDetailsRequest$inboundSchema.parse(JSON.parse(x)),
|
|
104
|
+
`Failed to parse 'GetVendorCredentialDetailsRequest' from JSON`,
|
|
105
|
+
);
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
/** @internal */
|
|
109
|
+
export const GetVendorCredentialDetailsResponseBody$inboundSchema: z.ZodType<
|
|
110
|
+
GetVendorCredentialDetailsResponseBody,
|
|
111
|
+
z.ZodTypeDef,
|
|
112
|
+
unknown
|
|
113
|
+
> = z.object({
|
|
114
|
+
vendor_credential: z.nullable(
|
|
115
|
+
components.VendorCredentialSummary$inboundSchema,
|
|
116
|
+
).optional(),
|
|
117
|
+
}).transform((v) => {
|
|
118
|
+
return remap$(v, {
|
|
119
|
+
"vendor_credential": "vendorCredential",
|
|
120
|
+
});
|
|
121
|
+
});
|
|
122
|
+
|
|
123
|
+
/** @internal */
|
|
124
|
+
export type GetVendorCredentialDetailsResponseBody$Outbound = {
|
|
125
|
+
vendor_credential?:
|
|
126
|
+
| components.VendorCredentialSummary$Outbound
|
|
127
|
+
| null
|
|
128
|
+
| undefined;
|
|
129
|
+
};
|
|
130
|
+
|
|
131
|
+
/** @internal */
|
|
132
|
+
export const GetVendorCredentialDetailsResponseBody$outboundSchema: z.ZodType<
|
|
133
|
+
GetVendorCredentialDetailsResponseBody$Outbound,
|
|
134
|
+
z.ZodTypeDef,
|
|
135
|
+
GetVendorCredentialDetailsResponseBody
|
|
136
|
+
> = z.object({
|
|
137
|
+
vendorCredential: z.nullable(
|
|
138
|
+
components.VendorCredentialSummary$outboundSchema,
|
|
139
|
+
).optional(),
|
|
140
|
+
}).transform((v) => {
|
|
141
|
+
return remap$(v, {
|
|
142
|
+
vendorCredential: "vendor_credential",
|
|
143
|
+
});
|
|
144
|
+
});
|
|
145
|
+
|
|
146
|
+
/**
|
|
147
|
+
* @internal
|
|
148
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
149
|
+
*/
|
|
150
|
+
export namespace GetVendorCredentialDetailsResponseBody$ {
|
|
151
|
+
/** @deprecated use `GetVendorCredentialDetailsResponseBody$inboundSchema` instead. */
|
|
152
|
+
export const inboundSchema =
|
|
153
|
+
GetVendorCredentialDetailsResponseBody$inboundSchema;
|
|
154
|
+
/** @deprecated use `GetVendorCredentialDetailsResponseBody$outboundSchema` instead. */
|
|
155
|
+
export const outboundSchema =
|
|
156
|
+
GetVendorCredentialDetailsResponseBody$outboundSchema;
|
|
157
|
+
/** @deprecated use `GetVendorCredentialDetailsResponseBody$Outbound` instead. */
|
|
158
|
+
export type Outbound = GetVendorCredentialDetailsResponseBody$Outbound;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
export function getVendorCredentialDetailsResponseBodyToJSON(
|
|
162
|
+
getVendorCredentialDetailsResponseBody:
|
|
163
|
+
GetVendorCredentialDetailsResponseBody,
|
|
164
|
+
): string {
|
|
165
|
+
return JSON.stringify(
|
|
166
|
+
GetVendorCredentialDetailsResponseBody$outboundSchema.parse(
|
|
167
|
+
getVendorCredentialDetailsResponseBody,
|
|
168
|
+
),
|
|
169
|
+
);
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
export function getVendorCredentialDetailsResponseBodyFromJSON(
|
|
173
|
+
jsonString: string,
|
|
174
|
+
): SafeParseResult<GetVendorCredentialDetailsResponseBody, SDKValidationError> {
|
|
175
|
+
return safeParse(
|
|
176
|
+
jsonString,
|
|
177
|
+
(x) =>
|
|
178
|
+
GetVendorCredentialDetailsResponseBody$inboundSchema.parse(JSON.parse(x)),
|
|
179
|
+
`Failed to parse 'GetVendorCredentialDetailsResponseBody' from JSON`,
|
|
180
|
+
);
|
|
181
|
+
}
|
|
@@ -11,6 +11,7 @@ export * from "./expeditetimeremaining.js";
|
|
|
11
11
|
export * from "./getfacility.js";
|
|
12
12
|
export * from "./getsupportarticle.js";
|
|
13
13
|
export * from "./getuserbyid.js";
|
|
14
|
+
export * from "./getvendorcredentialdetails.js";
|
|
14
15
|
export * from "./getvendorinvoicedetails.js";
|
|
15
16
|
export * from "./getvendorsdetails.js";
|
|
16
17
|
export * from "./getwebhookendpoint.js";
|
|
@@ -29,12 +30,13 @@ export * from "./listvendormanagedbycompanies.js";
|
|
|
29
30
|
export * from "./listvendorscrubdetails.js";
|
|
30
31
|
export * from "./listvendorscrubpackages.js";
|
|
31
32
|
export * from "./listvendorscrubpurchases.js";
|
|
32
|
-
export * from "./logsuserintothesystem.js";
|
|
33
33
|
export * from "./magiclink.js";
|
|
34
34
|
export * from "./password.js";
|
|
35
35
|
export * from "./passwordresetrequest.js";
|
|
36
|
+
export * from "./postauthenticate.js";
|
|
36
37
|
export * from "./purchasescrubcredits.js";
|
|
37
38
|
export * from "./securityzonecheckin.js";
|
|
39
|
+
export * from "./updatesthewebhookendpointwiththegivenid.js";
|
|
38
40
|
export * from "./updatevendordetails.js";
|
|
39
41
|
export * from "./updatevendormanagedbycompany.js";
|
|
40
42
|
export * from "./updatevendorscrubdetails.js";
|
|
@@ -31,7 +31,7 @@ export type ListAllWebhookEndpointsRequest = {
|
|
|
31
31
|
/**
|
|
32
32
|
* The request was successful, and the server has returned the requested resource in the response body.
|
|
33
33
|
*/
|
|
34
|
-
export type
|
|
34
|
+
export type ListAllWebhookEndpointsListAllWebhookEndpointsOk = {
|
|
35
35
|
/**
|
|
36
36
|
* Pagination information for a pageable list
|
|
37
37
|
*/
|
|
@@ -113,63 +113,72 @@ export function listAllWebhookEndpointsRequestFromJSON(
|
|
|
113
113
|
}
|
|
114
114
|
|
|
115
115
|
/** @internal */
|
|
116
|
-
export const
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
116
|
+
export const ListAllWebhookEndpointsListAllWebhookEndpointsOk$inboundSchema:
|
|
117
|
+
z.ZodType<
|
|
118
|
+
ListAllWebhookEndpointsListAllWebhookEndpointsOk,
|
|
119
|
+
z.ZodTypeDef,
|
|
120
|
+
unknown
|
|
121
|
+
> = z.object({
|
|
122
|
+
pager: components.Pager$inboundSchema,
|
|
123
|
+
items: z.array(components.WebhookEndpoint$inboundSchema),
|
|
124
|
+
});
|
|
124
125
|
|
|
125
126
|
/** @internal */
|
|
126
|
-
export type
|
|
127
|
+
export type ListAllWebhookEndpointsListAllWebhookEndpointsOk$Outbound = {
|
|
127
128
|
pager: components.Pager$Outbound;
|
|
128
129
|
items: Array<components.WebhookEndpoint$Outbound>;
|
|
129
130
|
};
|
|
130
131
|
|
|
131
132
|
/** @internal */
|
|
132
|
-
export const
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
133
|
+
export const ListAllWebhookEndpointsListAllWebhookEndpointsOk$outboundSchema:
|
|
134
|
+
z.ZodType<
|
|
135
|
+
ListAllWebhookEndpointsListAllWebhookEndpointsOk$Outbound,
|
|
136
|
+
z.ZodTypeDef,
|
|
137
|
+
ListAllWebhookEndpointsListAllWebhookEndpointsOk
|
|
138
|
+
> = z.object({
|
|
139
|
+
pager: components.Pager$outboundSchema,
|
|
140
|
+
items: z.array(components.WebhookEndpoint$outboundSchema),
|
|
141
|
+
});
|
|
140
142
|
|
|
141
143
|
/**
|
|
142
144
|
* @internal
|
|
143
145
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
144
146
|
*/
|
|
145
|
-
export namespace
|
|
146
|
-
/** @deprecated use `
|
|
147
|
+
export namespace ListAllWebhookEndpointsListAllWebhookEndpointsOk$ {
|
|
148
|
+
/** @deprecated use `ListAllWebhookEndpointsListAllWebhookEndpointsOk$inboundSchema` instead. */
|
|
147
149
|
export const inboundSchema =
|
|
148
|
-
|
|
149
|
-
/** @deprecated use `
|
|
150
|
+
ListAllWebhookEndpointsListAllWebhookEndpointsOk$inboundSchema;
|
|
151
|
+
/** @deprecated use `ListAllWebhookEndpointsListAllWebhookEndpointsOk$outboundSchema` instead. */
|
|
150
152
|
export const outboundSchema =
|
|
151
|
-
|
|
152
|
-
/** @deprecated use `
|
|
153
|
-
export type Outbound =
|
|
153
|
+
ListAllWebhookEndpointsListAllWebhookEndpointsOk$outboundSchema;
|
|
154
|
+
/** @deprecated use `ListAllWebhookEndpointsListAllWebhookEndpointsOk$Outbound` instead. */
|
|
155
|
+
export type Outbound =
|
|
156
|
+
ListAllWebhookEndpointsListAllWebhookEndpointsOk$Outbound;
|
|
154
157
|
}
|
|
155
158
|
|
|
156
|
-
export function
|
|
157
|
-
|
|
159
|
+
export function listAllWebhookEndpointsListAllWebhookEndpointsOkToJSON(
|
|
160
|
+
listAllWebhookEndpointsListAllWebhookEndpointsOk:
|
|
161
|
+
ListAllWebhookEndpointsListAllWebhookEndpointsOk,
|
|
158
162
|
): string {
|
|
159
163
|
return JSON.stringify(
|
|
160
|
-
|
|
161
|
-
|
|
164
|
+
ListAllWebhookEndpointsListAllWebhookEndpointsOk$outboundSchema.parse(
|
|
165
|
+
listAllWebhookEndpointsListAllWebhookEndpointsOk,
|
|
162
166
|
),
|
|
163
167
|
);
|
|
164
168
|
}
|
|
165
169
|
|
|
166
|
-
export function
|
|
170
|
+
export function listAllWebhookEndpointsListAllWebhookEndpointsOkFromJSON(
|
|
167
171
|
jsonString: string,
|
|
168
|
-
): SafeParseResult<
|
|
172
|
+
): SafeParseResult<
|
|
173
|
+
ListAllWebhookEndpointsListAllWebhookEndpointsOk,
|
|
174
|
+
SDKValidationError
|
|
175
|
+
> {
|
|
169
176
|
return safeParse(
|
|
170
177
|
jsonString,
|
|
171
178
|
(x) =>
|
|
172
|
-
|
|
173
|
-
|
|
179
|
+
ListAllWebhookEndpointsListAllWebhookEndpointsOk$inboundSchema.parse(
|
|
180
|
+
JSON.parse(x),
|
|
181
|
+
),
|
|
182
|
+
`Failed to parse 'ListAllWebhookEndpointsListAllWebhookEndpointsOk' from JSON`,
|
|
174
183
|
);
|
|
175
184
|
}
|
|
@@ -35,16 +35,18 @@ export type ListVendorAdditionalFacilityFieldsRequest = {
|
|
|
35
35
|
/**
|
|
36
36
|
* The request was successful, and the server has returned the requested resource in the response body.
|
|
37
37
|
*/
|
|
38
|
-
export type
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
38
|
+
export type ListVendorAdditionalFacilityFieldsListVendorAdditionalFacilityFieldsOk =
|
|
39
|
+
{
|
|
40
|
+
items: Array<components.VendorAdditionalFacilityFields>;
|
|
41
|
+
/**
|
|
42
|
+
* Pagination information for a pageable list
|
|
43
|
+
*/
|
|
44
|
+
pager: components.Pager;
|
|
45
|
+
};
|
|
45
46
|
|
|
46
47
|
export type ListVendorAdditionalFacilityFieldsResponse = {
|
|
47
|
-
result:
|
|
48
|
+
result:
|
|
49
|
+
ListVendorAdditionalFacilityFieldsListVendorAdditionalFacilityFieldsOk;
|
|
48
50
|
};
|
|
49
51
|
|
|
50
52
|
/** @internal */
|
|
@@ -136,9 +138,9 @@ export function listVendorAdditionalFacilityFieldsRequestFromJSON(
|
|
|
136
138
|
}
|
|
137
139
|
|
|
138
140
|
/** @internal */
|
|
139
|
-
export const
|
|
141
|
+
export const ListVendorAdditionalFacilityFieldsListVendorAdditionalFacilityFieldsOk$inboundSchema:
|
|
140
142
|
z.ZodType<
|
|
141
|
-
|
|
143
|
+
ListVendorAdditionalFacilityFieldsListVendorAdditionalFacilityFieldsOk,
|
|
142
144
|
z.ZodTypeDef,
|
|
143
145
|
unknown
|
|
144
146
|
> = z.object({
|
|
@@ -147,17 +149,18 @@ export const ListVendorAdditionalFacilityFieldsResponseBody$inboundSchema:
|
|
|
147
149
|
});
|
|
148
150
|
|
|
149
151
|
/** @internal */
|
|
150
|
-
export type
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
152
|
+
export type ListVendorAdditionalFacilityFieldsListVendorAdditionalFacilityFieldsOk$Outbound =
|
|
153
|
+
{
|
|
154
|
+
items: Array<components.VendorAdditionalFacilityFields$Outbound>;
|
|
155
|
+
pager: components.Pager$Outbound;
|
|
156
|
+
};
|
|
154
157
|
|
|
155
158
|
/** @internal */
|
|
156
|
-
export const
|
|
159
|
+
export const ListVendorAdditionalFacilityFieldsListVendorAdditionalFacilityFieldsOk$outboundSchema:
|
|
157
160
|
z.ZodType<
|
|
158
|
-
|
|
161
|
+
ListVendorAdditionalFacilityFieldsListVendorAdditionalFacilityFieldsOk$Outbound,
|
|
159
162
|
z.ZodTypeDef,
|
|
160
|
-
|
|
163
|
+
ListVendorAdditionalFacilityFieldsListVendorAdditionalFacilityFieldsOk
|
|
161
164
|
> = z.object({
|
|
162
165
|
items: z.array(components.VendorAdditionalFacilityFields$outboundSchema),
|
|
163
166
|
pager: components.Pager$outboundSchema,
|
|
@@ -167,42 +170,42 @@ export const ListVendorAdditionalFacilityFieldsResponseBody$outboundSchema:
|
|
|
167
170
|
* @internal
|
|
168
171
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
169
172
|
*/
|
|
170
|
-
export namespace
|
|
171
|
-
/** @deprecated use `
|
|
173
|
+
export namespace ListVendorAdditionalFacilityFieldsListVendorAdditionalFacilityFieldsOk$ {
|
|
174
|
+
/** @deprecated use `ListVendorAdditionalFacilityFieldsListVendorAdditionalFacilityFieldsOk$inboundSchema` instead. */
|
|
172
175
|
export const inboundSchema =
|
|
173
|
-
|
|
174
|
-
/** @deprecated use `
|
|
176
|
+
ListVendorAdditionalFacilityFieldsListVendorAdditionalFacilityFieldsOk$inboundSchema;
|
|
177
|
+
/** @deprecated use `ListVendorAdditionalFacilityFieldsListVendorAdditionalFacilityFieldsOk$outboundSchema` instead. */
|
|
175
178
|
export const outboundSchema =
|
|
176
|
-
|
|
177
|
-
/** @deprecated use `
|
|
179
|
+
ListVendorAdditionalFacilityFieldsListVendorAdditionalFacilityFieldsOk$outboundSchema;
|
|
180
|
+
/** @deprecated use `ListVendorAdditionalFacilityFieldsListVendorAdditionalFacilityFieldsOk$Outbound` instead. */
|
|
178
181
|
export type Outbound =
|
|
179
|
-
|
|
182
|
+
ListVendorAdditionalFacilityFieldsListVendorAdditionalFacilityFieldsOk$Outbound;
|
|
180
183
|
}
|
|
181
184
|
|
|
182
|
-
export function
|
|
183
|
-
|
|
184
|
-
|
|
185
|
+
export function listVendorAdditionalFacilityFieldsListVendorAdditionalFacilityFieldsOkToJSON(
|
|
186
|
+
listVendorAdditionalFacilityFieldsListVendorAdditionalFacilityFieldsOk:
|
|
187
|
+
ListVendorAdditionalFacilityFieldsListVendorAdditionalFacilityFieldsOk,
|
|
185
188
|
): string {
|
|
186
189
|
return JSON.stringify(
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
+
ListVendorAdditionalFacilityFieldsListVendorAdditionalFacilityFieldsOk$outboundSchema
|
|
191
|
+
.parse(
|
|
192
|
+
listVendorAdditionalFacilityFieldsListVendorAdditionalFacilityFieldsOk,
|
|
193
|
+
),
|
|
190
194
|
);
|
|
191
195
|
}
|
|
192
196
|
|
|
193
|
-
export function
|
|
197
|
+
export function listVendorAdditionalFacilityFieldsListVendorAdditionalFacilityFieldsOkFromJSON(
|
|
194
198
|
jsonString: string,
|
|
195
199
|
): SafeParseResult<
|
|
196
|
-
|
|
200
|
+
ListVendorAdditionalFacilityFieldsListVendorAdditionalFacilityFieldsOk,
|
|
197
201
|
SDKValidationError
|
|
198
202
|
> {
|
|
199
203
|
return safeParse(
|
|
200
204
|
jsonString,
|
|
201
205
|
(x) =>
|
|
202
|
-
|
|
203
|
-
JSON.parse(x),
|
|
204
|
-
|
|
205
|
-
`Failed to parse 'ListVendorAdditionalFacilityFieldsResponseBody' from JSON`,
|
|
206
|
+
ListVendorAdditionalFacilityFieldsListVendorAdditionalFacilityFieldsOk$inboundSchema
|
|
207
|
+
.parse(JSON.parse(x)),
|
|
208
|
+
`Failed to parse 'ListVendorAdditionalFacilityFieldsListVendorAdditionalFacilityFieldsOk' from JSON`,
|
|
206
209
|
);
|
|
207
210
|
}
|
|
208
211
|
|
|
@@ -211,7 +214,7 @@ export const ListVendorAdditionalFacilityFieldsResponse$inboundSchema:
|
|
|
211
214
|
z.ZodType<ListVendorAdditionalFacilityFieldsResponse, z.ZodTypeDef, unknown> =
|
|
212
215
|
z.object({
|
|
213
216
|
Result: z.lazy(() =>
|
|
214
|
-
|
|
217
|
+
ListVendorAdditionalFacilityFieldsListVendorAdditionalFacilityFieldsOk$inboundSchema
|
|
215
218
|
),
|
|
216
219
|
}).transform((v) => {
|
|
217
220
|
return remap$(v, {
|
|
@@ -221,7 +224,8 @@ export const ListVendorAdditionalFacilityFieldsResponse$inboundSchema:
|
|
|
221
224
|
|
|
222
225
|
/** @internal */
|
|
223
226
|
export type ListVendorAdditionalFacilityFieldsResponse$Outbound = {
|
|
224
|
-
Result:
|
|
227
|
+
Result:
|
|
228
|
+
ListVendorAdditionalFacilityFieldsListVendorAdditionalFacilityFieldsOk$Outbound;
|
|
225
229
|
};
|
|
226
230
|
|
|
227
231
|
/** @internal */
|
|
@@ -232,7 +236,7 @@ export const ListVendorAdditionalFacilityFieldsResponse$outboundSchema:
|
|
|
232
236
|
ListVendorAdditionalFacilityFieldsResponse
|
|
233
237
|
> = z.object({
|
|
234
238
|
result: z.lazy(() =>
|
|
235
|
-
|
|
239
|
+
ListVendorAdditionalFacilityFieldsListVendorAdditionalFacilityFieldsOk$outboundSchema
|
|
236
240
|
),
|
|
237
241
|
}).transform((v) => {
|
|
238
242
|
return remap$(v, {
|
|
@@ -72,23 +72,18 @@ export type Pager = {
|
|
|
72
72
|
/**
|
|
73
73
|
* The request was successful, and the server has returned the requested resource in the response body.
|
|
74
74
|
*/
|
|
75
|
-
export type
|
|
75
|
+
export type ListVendorCredentialsGetCredentialsOk = {
|
|
76
76
|
/**
|
|
77
77
|
* A simplified representation of a VendorRequiredCredential, typically used in list views.
|
|
78
78
|
*/
|
|
79
|
-
vendorRequiredCredentials
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
credentials?: Array<Credentials> | undefined;
|
|
84
|
-
vendorCredentials?:
|
|
85
|
-
| { [k: string]: components.VendorCredentialsContainer }
|
|
86
|
-
| undefined;
|
|
87
|
-
pager?: Pager | null | undefined;
|
|
79
|
+
vendorRequiredCredentials: components.VendorRequiredCredential | null;
|
|
80
|
+
credentials: Array<Credentials>;
|
|
81
|
+
vendorCredentials: { [k: string]: components.VendorCredentialsContainer };
|
|
82
|
+
pager: Pager | null;
|
|
88
83
|
};
|
|
89
84
|
|
|
90
85
|
export type ListVendorCredentialsResponse = {
|
|
91
|
-
result:
|
|
86
|
+
result: ListVendorCredentialsGetCredentialsOk;
|
|
92
87
|
};
|
|
93
88
|
|
|
94
89
|
/** @internal */
|
|
@@ -301,19 +296,19 @@ export function pagerFromJSON(
|
|
|
301
296
|
}
|
|
302
297
|
|
|
303
298
|
/** @internal */
|
|
304
|
-
export const
|
|
305
|
-
|
|
299
|
+
export const ListVendorCredentialsGetCredentialsOk$inboundSchema: z.ZodType<
|
|
300
|
+
ListVendorCredentialsGetCredentialsOk,
|
|
306
301
|
z.ZodTypeDef,
|
|
307
302
|
unknown
|
|
308
303
|
> = z.object({
|
|
309
304
|
vendor_required_credentials: z.nullable(
|
|
310
305
|
components.VendorRequiredCredential$inboundSchema,
|
|
311
|
-
)
|
|
312
|
-
credentials: z.array(z.lazy(() => Credentials$inboundSchema))
|
|
306
|
+
),
|
|
307
|
+
credentials: z.array(z.lazy(() => Credentials$inboundSchema)),
|
|
313
308
|
vendor_credentials: z.record(
|
|
314
309
|
components.VendorCredentialsContainer$inboundSchema,
|
|
315
|
-
)
|
|
316
|
-
pager: z.nullable(z.lazy(() => Pager$inboundSchema))
|
|
310
|
+
),
|
|
311
|
+
pager: z.nullable(z.lazy(() => Pager$inboundSchema)),
|
|
317
312
|
}).transform((v) => {
|
|
318
313
|
return remap$(v, {
|
|
319
314
|
"vendor_required_credentials": "vendorRequiredCredentials",
|
|
@@ -322,32 +317,31 @@ export const ListVendorCredentialsResponseBody$inboundSchema: z.ZodType<
|
|
|
322
317
|
});
|
|
323
318
|
|
|
324
319
|
/** @internal */
|
|
325
|
-
export type
|
|
326
|
-
vendor_required_credentials
|
|
320
|
+
export type ListVendorCredentialsGetCredentialsOk$Outbound = {
|
|
321
|
+
vendor_required_credentials:
|
|
327
322
|
| components.VendorRequiredCredential$Outbound
|
|
328
|
-
| null
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
vendor_credentials?: {
|
|
323
|
+
| null;
|
|
324
|
+
credentials: Array<Credentials$Outbound>;
|
|
325
|
+
vendor_credentials: {
|
|
332
326
|
[k: string]: components.VendorCredentialsContainer$Outbound;
|
|
333
|
-
}
|
|
334
|
-
pager
|
|
327
|
+
};
|
|
328
|
+
pager: Pager$Outbound | null;
|
|
335
329
|
};
|
|
336
330
|
|
|
337
331
|
/** @internal */
|
|
338
|
-
export const
|
|
339
|
-
|
|
332
|
+
export const ListVendorCredentialsGetCredentialsOk$outboundSchema: z.ZodType<
|
|
333
|
+
ListVendorCredentialsGetCredentialsOk$Outbound,
|
|
340
334
|
z.ZodTypeDef,
|
|
341
|
-
|
|
335
|
+
ListVendorCredentialsGetCredentialsOk
|
|
342
336
|
> = z.object({
|
|
343
337
|
vendorRequiredCredentials: z.nullable(
|
|
344
338
|
components.VendorRequiredCredential$outboundSchema,
|
|
345
|
-
)
|
|
346
|
-
credentials: z.array(z.lazy(() => Credentials$outboundSchema))
|
|
339
|
+
),
|
|
340
|
+
credentials: z.array(z.lazy(() => Credentials$outboundSchema)),
|
|
347
341
|
vendorCredentials: z.record(
|
|
348
342
|
components.VendorCredentialsContainer$outboundSchema,
|
|
349
|
-
)
|
|
350
|
-
pager: z.nullable(z.lazy(() => Pager$outboundSchema))
|
|
343
|
+
),
|
|
344
|
+
pager: z.nullable(z.lazy(() => Pager$outboundSchema)),
|
|
351
345
|
}).transform((v) => {
|
|
352
346
|
return remap$(v, {
|
|
353
347
|
vendorRequiredCredentials: "vendor_required_credentials",
|
|
@@ -359,33 +353,35 @@ export const ListVendorCredentialsResponseBody$outboundSchema: z.ZodType<
|
|
|
359
353
|
* @internal
|
|
360
354
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
361
355
|
*/
|
|
362
|
-
export namespace
|
|
363
|
-
/** @deprecated use `
|
|
364
|
-
export const inboundSchema =
|
|
365
|
-
|
|
356
|
+
export namespace ListVendorCredentialsGetCredentialsOk$ {
|
|
357
|
+
/** @deprecated use `ListVendorCredentialsGetCredentialsOk$inboundSchema` instead. */
|
|
358
|
+
export const inboundSchema =
|
|
359
|
+
ListVendorCredentialsGetCredentialsOk$inboundSchema;
|
|
360
|
+
/** @deprecated use `ListVendorCredentialsGetCredentialsOk$outboundSchema` instead. */
|
|
366
361
|
export const outboundSchema =
|
|
367
|
-
|
|
368
|
-
/** @deprecated use `
|
|
369
|
-
export type Outbound =
|
|
362
|
+
ListVendorCredentialsGetCredentialsOk$outboundSchema;
|
|
363
|
+
/** @deprecated use `ListVendorCredentialsGetCredentialsOk$Outbound` instead. */
|
|
364
|
+
export type Outbound = ListVendorCredentialsGetCredentialsOk$Outbound;
|
|
370
365
|
}
|
|
371
366
|
|
|
372
|
-
export function
|
|
373
|
-
|
|
367
|
+
export function listVendorCredentialsGetCredentialsOkToJSON(
|
|
368
|
+
listVendorCredentialsGetCredentialsOk: ListVendorCredentialsGetCredentialsOk,
|
|
374
369
|
): string {
|
|
375
370
|
return JSON.stringify(
|
|
376
|
-
|
|
377
|
-
|
|
371
|
+
ListVendorCredentialsGetCredentialsOk$outboundSchema.parse(
|
|
372
|
+
listVendorCredentialsGetCredentialsOk,
|
|
378
373
|
),
|
|
379
374
|
);
|
|
380
375
|
}
|
|
381
376
|
|
|
382
|
-
export function
|
|
377
|
+
export function listVendorCredentialsGetCredentialsOkFromJSON(
|
|
383
378
|
jsonString: string,
|
|
384
|
-
): SafeParseResult<
|
|
379
|
+
): SafeParseResult<ListVendorCredentialsGetCredentialsOk, SDKValidationError> {
|
|
385
380
|
return safeParse(
|
|
386
381
|
jsonString,
|
|
387
|
-
(x) =>
|
|
388
|
-
|
|
382
|
+
(x) =>
|
|
383
|
+
ListVendorCredentialsGetCredentialsOk$inboundSchema.parse(JSON.parse(x)),
|
|
384
|
+
`Failed to parse 'ListVendorCredentialsGetCredentialsOk' from JSON`,
|
|
389
385
|
);
|
|
390
386
|
}
|
|
391
387
|
|
|
@@ -395,7 +391,7 @@ export const ListVendorCredentialsResponse$inboundSchema: z.ZodType<
|
|
|
395
391
|
z.ZodTypeDef,
|
|
396
392
|
unknown
|
|
397
393
|
> = z.object({
|
|
398
|
-
Result: z.lazy(() =>
|
|
394
|
+
Result: z.lazy(() => ListVendorCredentialsGetCredentialsOk$inboundSchema),
|
|
399
395
|
}).transform((v) => {
|
|
400
396
|
return remap$(v, {
|
|
401
397
|
"Result": "result",
|
|
@@ -404,7 +400,7 @@ export const ListVendorCredentialsResponse$inboundSchema: z.ZodType<
|
|
|
404
400
|
|
|
405
401
|
/** @internal */
|
|
406
402
|
export type ListVendorCredentialsResponse$Outbound = {
|
|
407
|
-
Result:
|
|
403
|
+
Result: ListVendorCredentialsGetCredentialsOk$Outbound;
|
|
408
404
|
};
|
|
409
405
|
|
|
410
406
|
/** @internal */
|
|
@@ -413,7 +409,7 @@ export const ListVendorCredentialsResponse$outboundSchema: z.ZodType<
|
|
|
413
409
|
z.ZodTypeDef,
|
|
414
410
|
ListVendorCredentialsResponse
|
|
415
411
|
> = z.object({
|
|
416
|
-
result: z.lazy(() =>
|
|
412
|
+
result: z.lazy(() => ListVendorCredentialsGetCredentialsOk$outboundSchema),
|
|
417
413
|
}).transform((v) => {
|
|
418
414
|
return remap$(v, {
|
|
419
415
|
result: "Result",
|