@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
package/bin/mcp-server.js
CHANGED
|
@@ -34192,9 +34192,9 @@ var init_config = __esm(() => {
|
|
|
34192
34192
|
SDK_METADATA = {
|
|
34193
34193
|
language: "typescript",
|
|
34194
34194
|
openapiDocVersion: "0.0.3",
|
|
34195
|
-
sdkVersion: "0.30.
|
|
34196
|
-
genVersion: "2.
|
|
34197
|
-
userAgent: "speakeasy-sdk/typescript 0.30.
|
|
34195
|
+
sdkVersion: "0.30.46",
|
|
34196
|
+
genVersion: "2.604.2",
|
|
34197
|
+
userAgent: "speakeasy-sdk/typescript 0.30.46 2.604.2 0.0.3 @greensecurity/javascript-sdk"
|
|
34198
34198
|
};
|
|
34199
34199
|
});
|
|
34200
34200
|
|
|
@@ -35632,7 +35632,7 @@ var init_errors = __esm(() => {
|
|
|
35632
35632
|
});
|
|
35633
35633
|
|
|
35634
35634
|
// src/models/operations/addvendormanagedbycompany.ts
|
|
35635
|
-
var AddVendorManagedByCompanyRequestBody$inboundSchema, AddVendorManagedByCompanyRequestBody$outboundSchema, AddVendorManagedByCompanyRequestBody$, AddVendorManagedByCompanyRequest$inboundSchema, AddVendorManagedByCompanyRequest$outboundSchema, AddVendorManagedByCompanyRequest$,
|
|
35635
|
+
var AddVendorManagedByCompanyRequestBody$inboundSchema, AddVendorManagedByCompanyRequestBody$outboundSchema, AddVendorManagedByCompanyRequestBody$, AddVendorManagedByCompanyRequest$inboundSchema, AddVendorManagedByCompanyRequest$outboundSchema, AddVendorManagedByCompanyRequest$, AddVendorManagedByCompanyAddVendorManagedByCompanyOk$inboundSchema, AddVendorManagedByCompanyAddVendorManagedByCompanyOk$outboundSchema, AddVendorManagedByCompanyAddVendorManagedByCompanyOk$;
|
|
35636
35636
|
var init_addvendormanagedbycompany = __esm(() => {
|
|
35637
35637
|
init_lib();
|
|
35638
35638
|
init_primitives();
|
|
@@ -35676,20 +35676,20 @@ var init_addvendormanagedbycompany = __esm(() => {
|
|
|
35676
35676
|
AddVendorManagedByCompanyRequest$.inboundSchema = AddVendorManagedByCompanyRequest$inboundSchema;
|
|
35677
35677
|
AddVendorManagedByCompanyRequest$.outboundSchema = AddVendorManagedByCompanyRequest$outboundSchema;
|
|
35678
35678
|
})(AddVendorManagedByCompanyRequest$ ||= {});
|
|
35679
|
-
|
|
35679
|
+
AddVendorManagedByCompanyAddVendorManagedByCompanyOk$inboundSchema = objectType({
|
|
35680
35680
|
success: booleanType()
|
|
35681
35681
|
});
|
|
35682
|
-
|
|
35682
|
+
AddVendorManagedByCompanyAddVendorManagedByCompanyOk$outboundSchema = objectType({
|
|
35683
35683
|
success: booleanType()
|
|
35684
35684
|
});
|
|
35685
|
-
((
|
|
35686
|
-
|
|
35687
|
-
|
|
35688
|
-
})(
|
|
35685
|
+
((AddVendorManagedByCompanyAddVendorManagedByCompanyOk$) => {
|
|
35686
|
+
AddVendorManagedByCompanyAddVendorManagedByCompanyOk$.inboundSchema = AddVendorManagedByCompanyAddVendorManagedByCompanyOk$inboundSchema;
|
|
35687
|
+
AddVendorManagedByCompanyAddVendorManagedByCompanyOk$.outboundSchema = AddVendorManagedByCompanyAddVendorManagedByCompanyOk$outboundSchema;
|
|
35688
|
+
})(AddVendorManagedByCompanyAddVendorManagedByCompanyOk$ ||= {});
|
|
35689
35689
|
});
|
|
35690
35690
|
|
|
35691
35691
|
// src/models/operations/changepassword.ts
|
|
35692
|
-
var ChangePasswordRequestBody$inboundSchema, ChangePasswordRequestBody$outboundSchema, ChangePasswordRequestBody$, ChangePasswordRequest$inboundSchema, ChangePasswordRequest$outboundSchema, ChangePasswordRequest$,
|
|
35692
|
+
var ChangePasswordRequestBody$inboundSchema, ChangePasswordRequestBody$outboundSchema, ChangePasswordRequestBody$, ChangePasswordRequest$inboundSchema, ChangePasswordRequest$outboundSchema, ChangePasswordRequest$, ChangePasswordChangePasswordOk$inboundSchema, ChangePasswordChangePasswordOk$outboundSchema, ChangePasswordChangePasswordOk$;
|
|
35693
35693
|
var init_changepassword = __esm(() => {
|
|
35694
35694
|
init_lib();
|
|
35695
35695
|
init_primitives();
|
|
@@ -35737,16 +35737,16 @@ var init_changepassword = __esm(() => {
|
|
|
35737
35737
|
ChangePasswordRequest$.inboundSchema = ChangePasswordRequest$inboundSchema;
|
|
35738
35738
|
ChangePasswordRequest$.outboundSchema = ChangePasswordRequest$outboundSchema;
|
|
35739
35739
|
})(ChangePasswordRequest$ ||= {});
|
|
35740
|
-
|
|
35740
|
+
ChangePasswordChangePasswordOk$inboundSchema = objectType({
|
|
35741
35741
|
success: booleanType()
|
|
35742
35742
|
});
|
|
35743
|
-
|
|
35743
|
+
ChangePasswordChangePasswordOk$outboundSchema = objectType({
|
|
35744
35744
|
success: booleanType()
|
|
35745
35745
|
});
|
|
35746
|
-
((
|
|
35747
|
-
|
|
35748
|
-
|
|
35749
|
-
})(
|
|
35746
|
+
((ChangePasswordChangePasswordOk$) => {
|
|
35747
|
+
ChangePasswordChangePasswordOk$.inboundSchema = ChangePasswordChangePasswordOk$inboundSchema;
|
|
35748
|
+
ChangePasswordChangePasswordOk$.outboundSchema = ChangePasswordChangePasswordOk$outboundSchema;
|
|
35749
|
+
})(ChangePasswordChangePasswordOk$ ||= {});
|
|
35750
35750
|
});
|
|
35751
35751
|
|
|
35752
35752
|
// src/models/components/activestatus.ts
|
|
@@ -35766,6 +35766,276 @@ var init_activestatus = __esm(() => {
|
|
|
35766
35766
|
})(ActiveStatus$ ||= {});
|
|
35767
35767
|
});
|
|
35768
35768
|
|
|
35769
|
+
// src/models/components/invoiceitem.ts
|
|
35770
|
+
var InvoiceItem$inboundSchema, InvoiceItem$outboundSchema, InvoiceItem$;
|
|
35771
|
+
var init_invoiceitem = __esm(() => {
|
|
35772
|
+
init_lib();
|
|
35773
|
+
init_primitives();
|
|
35774
|
+
InvoiceItem$inboundSchema = objectType({
|
|
35775
|
+
item_id: numberType().int().optional(),
|
|
35776
|
+
date_starts: nullableType(stringType()).optional(),
|
|
35777
|
+
date_ends: nullableType(stringType()).optional(),
|
|
35778
|
+
is_subscription: nullableType(booleanType()).optional(),
|
|
35779
|
+
product_title: nullableType(stringType()).optional(),
|
|
35780
|
+
item_title: nullableType(stringType()).optional(),
|
|
35781
|
+
quantity: nullableType(numberType()).optional(),
|
|
35782
|
+
unit_price: nullableType(numberType().int()).optional(),
|
|
35783
|
+
subtotal: nullableType(numberType().int()).optional()
|
|
35784
|
+
}).transform((v2) => {
|
|
35785
|
+
return remap(v2, {
|
|
35786
|
+
item_id: "itemId",
|
|
35787
|
+
date_starts: "dateStarts",
|
|
35788
|
+
date_ends: "dateEnds",
|
|
35789
|
+
is_subscription: "isSubscription",
|
|
35790
|
+
product_title: "productTitle",
|
|
35791
|
+
item_title: "itemTitle",
|
|
35792
|
+
unit_price: "unitPrice"
|
|
35793
|
+
});
|
|
35794
|
+
});
|
|
35795
|
+
InvoiceItem$outboundSchema = objectType({
|
|
35796
|
+
itemId: numberType().int().optional(),
|
|
35797
|
+
dateStarts: nullableType(stringType()).optional(),
|
|
35798
|
+
dateEnds: nullableType(stringType()).optional(),
|
|
35799
|
+
isSubscription: nullableType(booleanType()).optional(),
|
|
35800
|
+
productTitle: nullableType(stringType()).optional(),
|
|
35801
|
+
itemTitle: nullableType(stringType()).optional(),
|
|
35802
|
+
quantity: nullableType(numberType()).optional(),
|
|
35803
|
+
unitPrice: nullableType(numberType().int()).optional(),
|
|
35804
|
+
subtotal: nullableType(numberType().int()).optional()
|
|
35805
|
+
}).transform((v2) => {
|
|
35806
|
+
return remap(v2, {
|
|
35807
|
+
itemId: "item_id",
|
|
35808
|
+
dateStarts: "date_starts",
|
|
35809
|
+
dateEnds: "date_ends",
|
|
35810
|
+
isSubscription: "is_subscription",
|
|
35811
|
+
productTitle: "product_title",
|
|
35812
|
+
itemTitle: "item_title",
|
|
35813
|
+
unitPrice: "unit_price"
|
|
35814
|
+
});
|
|
35815
|
+
});
|
|
35816
|
+
((InvoiceItem$) => {
|
|
35817
|
+
InvoiceItem$.inboundSchema = InvoiceItem$inboundSchema;
|
|
35818
|
+
InvoiceItem$.outboundSchema = InvoiceItem$outboundSchema;
|
|
35819
|
+
})(InvoiceItem$ ||= {});
|
|
35820
|
+
});
|
|
35821
|
+
|
|
35822
|
+
// src/models/components/invoicetransaction.ts
|
|
35823
|
+
var InvoiceTransaction$inboundSchema, InvoiceTransaction$outboundSchema, InvoiceTransaction$;
|
|
35824
|
+
var init_invoicetransaction = __esm(() => {
|
|
35825
|
+
init_lib();
|
|
35826
|
+
init_primitives();
|
|
35827
|
+
InvoiceTransaction$inboundSchema = objectType({
|
|
35828
|
+
date_processed: nullableType(stringType()).optional(),
|
|
35829
|
+
payee: nullableType(stringType()).optional(),
|
|
35830
|
+
amount: nullableType(numberType().int()).optional(),
|
|
35831
|
+
credit_id: nullableType(numberType().int()).optional(),
|
|
35832
|
+
transaction_id: nullableType(stringType()).optional(),
|
|
35833
|
+
success: nullableType(booleanType()).optional(),
|
|
35834
|
+
card_last4: nullableType(stringType()).optional()
|
|
35835
|
+
}).transform((v2) => {
|
|
35836
|
+
return remap(v2, {
|
|
35837
|
+
date_processed: "dateProcessed",
|
|
35838
|
+
credit_id: "creditId",
|
|
35839
|
+
transaction_id: "transactionId",
|
|
35840
|
+
card_last4: "cardLast4"
|
|
35841
|
+
});
|
|
35842
|
+
});
|
|
35843
|
+
InvoiceTransaction$outboundSchema = objectType({
|
|
35844
|
+
dateProcessed: nullableType(stringType()).optional(),
|
|
35845
|
+
payee: nullableType(stringType()).optional(),
|
|
35846
|
+
amount: nullableType(numberType().int()).optional(),
|
|
35847
|
+
creditId: nullableType(numberType().int()).optional(),
|
|
35848
|
+
transactionId: nullableType(stringType()).optional(),
|
|
35849
|
+
success: nullableType(booleanType()).optional(),
|
|
35850
|
+
cardLast4: nullableType(stringType()).optional()
|
|
35851
|
+
}).transform((v2) => {
|
|
35852
|
+
return remap(v2, {
|
|
35853
|
+
dateProcessed: "date_processed",
|
|
35854
|
+
creditId: "credit_id",
|
|
35855
|
+
transactionId: "transaction_id",
|
|
35856
|
+
cardLast4: "card_last4"
|
|
35857
|
+
});
|
|
35858
|
+
});
|
|
35859
|
+
((InvoiceTransaction$) => {
|
|
35860
|
+
InvoiceTransaction$.inboundSchema = InvoiceTransaction$inboundSchema;
|
|
35861
|
+
InvoiceTransaction$.outboundSchema = InvoiceTransaction$outboundSchema;
|
|
35862
|
+
})(InvoiceTransaction$ ||= {});
|
|
35863
|
+
});
|
|
35864
|
+
|
|
35865
|
+
// src/models/components/invoice.ts
|
|
35866
|
+
var Invoice$inboundSchema, Invoice$outboundSchema, Invoice$;
|
|
35867
|
+
var init_invoice = __esm(() => {
|
|
35868
|
+
init_lib();
|
|
35869
|
+
init_primitives();
|
|
35870
|
+
init_invoiceitem();
|
|
35871
|
+
init_invoicetransaction();
|
|
35872
|
+
Invoice$inboundSchema = objectType({
|
|
35873
|
+
id: numberType().int(),
|
|
35874
|
+
invoice_number: nullableType(stringType()).optional(),
|
|
35875
|
+
date_processed: nullableType(stringType()).optional(),
|
|
35876
|
+
amount: nullableType(numberType().int()).optional(),
|
|
35877
|
+
status: nullableType(stringType()).optional(),
|
|
35878
|
+
financial_status: nullableType(stringType()).optional(),
|
|
35879
|
+
amount_not_paid: nullableType(numberType().int()).optional(),
|
|
35880
|
+
tax: nullableType(numberType().int()).optional(),
|
|
35881
|
+
convenience_fee: nullableType(numberType()).optional(),
|
|
35882
|
+
shipping: nullableType(numberType().int()).optional(),
|
|
35883
|
+
discount: numberType().int().optional(),
|
|
35884
|
+
items: nullableType(arrayType(InvoiceItem$inboundSchema)).optional(),
|
|
35885
|
+
transactions: nullableType(arrayType(InvoiceTransaction$inboundSchema)).optional()
|
|
35886
|
+
}).transform((v2) => {
|
|
35887
|
+
return remap(v2, {
|
|
35888
|
+
invoice_number: "invoiceNumber",
|
|
35889
|
+
date_processed: "dateProcessed",
|
|
35890
|
+
financial_status: "financialStatus",
|
|
35891
|
+
amount_not_paid: "amountNotPaid",
|
|
35892
|
+
convenience_fee: "convenienceFee"
|
|
35893
|
+
});
|
|
35894
|
+
});
|
|
35895
|
+
Invoice$outboundSchema = objectType({
|
|
35896
|
+
id: numberType().int(),
|
|
35897
|
+
invoiceNumber: nullableType(stringType()).optional(),
|
|
35898
|
+
dateProcessed: nullableType(stringType()).optional(),
|
|
35899
|
+
amount: nullableType(numberType().int()).optional(),
|
|
35900
|
+
status: nullableType(stringType()).optional(),
|
|
35901
|
+
financialStatus: nullableType(stringType()).optional(),
|
|
35902
|
+
amountNotPaid: nullableType(numberType().int()).optional(),
|
|
35903
|
+
tax: nullableType(numberType().int()).optional(),
|
|
35904
|
+
convenienceFee: nullableType(numberType()).optional(),
|
|
35905
|
+
shipping: nullableType(numberType().int()).optional(),
|
|
35906
|
+
discount: numberType().int().optional(),
|
|
35907
|
+
items: nullableType(arrayType(InvoiceItem$outboundSchema)).optional(),
|
|
35908
|
+
transactions: nullableType(arrayType(InvoiceTransaction$outboundSchema)).optional()
|
|
35909
|
+
}).transform((v2) => {
|
|
35910
|
+
return remap(v2, {
|
|
35911
|
+
invoiceNumber: "invoice_number",
|
|
35912
|
+
dateProcessed: "date_processed",
|
|
35913
|
+
financialStatus: "financial_status",
|
|
35914
|
+
amountNotPaid: "amount_not_paid",
|
|
35915
|
+
convenienceFee: "convenience_fee"
|
|
35916
|
+
});
|
|
35917
|
+
});
|
|
35918
|
+
((Invoice$) => {
|
|
35919
|
+
Invoice$.inboundSchema = Invoice$inboundSchema;
|
|
35920
|
+
Invoice$.outboundSchema = Invoice$outboundSchema;
|
|
35921
|
+
})(Invoice$ ||= {});
|
|
35922
|
+
});
|
|
35923
|
+
|
|
35924
|
+
// src/models/components/backgroundcheckresult.ts
|
|
35925
|
+
var BackgroundCheckResultStatus, DeliveryMethod, BackgroundCheckResultStatus$inboundSchema, BackgroundCheckResultStatus$outboundSchema, BackgroundCheckResultStatus$, DeliveryMethod$inboundSchema, DeliveryMethod$outboundSchema, DeliveryMethod$, BackgroundCheckResultInvoice$inboundSchema, BackgroundCheckResultInvoice$outboundSchema, BackgroundCheckResultInvoice$, Bcp$inboundSchema, Bcp$outboundSchema, Bcp$, BackgroundCheckResultLocation$inboundSchema, BackgroundCheckResultLocation$outboundSchema, BackgroundCheckResultLocation$, BackgroundCheckResult$inboundSchema, BackgroundCheckResult$outboundSchema, BackgroundCheckResult$;
|
|
35926
|
+
var init_backgroundcheckresult = __esm(() => {
|
|
35927
|
+
init_lib();
|
|
35928
|
+
init_primitives();
|
|
35929
|
+
init_invoice();
|
|
35930
|
+
BackgroundCheckResultStatus = {
|
|
35931
|
+
Pending: "Pending",
|
|
35932
|
+
Requested: "Requested",
|
|
35933
|
+
Available: "Available"
|
|
35934
|
+
};
|
|
35935
|
+
DeliveryMethod = {
|
|
35936
|
+
Email: "email",
|
|
35937
|
+
Mail: "mail"
|
|
35938
|
+
};
|
|
35939
|
+
BackgroundCheckResultStatus$inboundSchema = nativeEnumType(BackgroundCheckResultStatus);
|
|
35940
|
+
BackgroundCheckResultStatus$outboundSchema = BackgroundCheckResultStatus$inboundSchema;
|
|
35941
|
+
((BackgroundCheckResultStatus$) => {
|
|
35942
|
+
BackgroundCheckResultStatus$.inboundSchema = BackgroundCheckResultStatus$inboundSchema;
|
|
35943
|
+
BackgroundCheckResultStatus$.outboundSchema = BackgroundCheckResultStatus$outboundSchema;
|
|
35944
|
+
})(BackgroundCheckResultStatus$ ||= {});
|
|
35945
|
+
DeliveryMethod$inboundSchema = nativeEnumType(DeliveryMethod);
|
|
35946
|
+
DeliveryMethod$outboundSchema = DeliveryMethod$inboundSchema;
|
|
35947
|
+
((DeliveryMethod$) => {
|
|
35948
|
+
DeliveryMethod$.inboundSchema = DeliveryMethod$inboundSchema;
|
|
35949
|
+
DeliveryMethod$.outboundSchema = DeliveryMethod$outboundSchema;
|
|
35950
|
+
})(DeliveryMethod$ ||= {});
|
|
35951
|
+
BackgroundCheckResultInvoice$inboundSchema = unionType([Invoice$inboundSchema, numberType().int()]);
|
|
35952
|
+
BackgroundCheckResultInvoice$outboundSchema = unionType([Invoice$outboundSchema, numberType().int()]);
|
|
35953
|
+
((BackgroundCheckResultInvoice$) => {
|
|
35954
|
+
BackgroundCheckResultInvoice$.inboundSchema = BackgroundCheckResultInvoice$inboundSchema;
|
|
35955
|
+
BackgroundCheckResultInvoice$.outboundSchema = BackgroundCheckResultInvoice$outboundSchema;
|
|
35956
|
+
})(BackgroundCheckResultInvoice$ ||= {});
|
|
35957
|
+
Bcp$inboundSchema = objectType({
|
|
35958
|
+
order_id: nullableType(numberType().int()).optional(),
|
|
35959
|
+
order_status: nullableType(stringType()).optional(),
|
|
35960
|
+
notes: nullableType(stringType()).optional(),
|
|
35961
|
+
date_sent: nullableType(stringType()).optional(),
|
|
35962
|
+
date_received: nullableType(stringType()).optional()
|
|
35963
|
+
}).transform((v2) => {
|
|
35964
|
+
return remap(v2, {
|
|
35965
|
+
order_id: "orderId",
|
|
35966
|
+
order_status: "orderStatus",
|
|
35967
|
+
date_sent: "dateSent",
|
|
35968
|
+
date_received: "dateReceived"
|
|
35969
|
+
});
|
|
35970
|
+
});
|
|
35971
|
+
Bcp$outboundSchema = objectType({
|
|
35972
|
+
orderId: nullableType(numberType().int()).optional(),
|
|
35973
|
+
orderStatus: nullableType(stringType()).optional(),
|
|
35974
|
+
notes: nullableType(stringType()).optional(),
|
|
35975
|
+
dateSent: nullableType(stringType()).optional(),
|
|
35976
|
+
dateReceived: nullableType(stringType()).optional()
|
|
35977
|
+
}).transform((v2) => {
|
|
35978
|
+
return remap(v2, {
|
|
35979
|
+
orderId: "order_id",
|
|
35980
|
+
orderStatus: "order_status",
|
|
35981
|
+
dateSent: "date_sent",
|
|
35982
|
+
dateReceived: "date_received"
|
|
35983
|
+
});
|
|
35984
|
+
});
|
|
35985
|
+
((Bcp$) => {
|
|
35986
|
+
Bcp$.inboundSchema = Bcp$inboundSchema;
|
|
35987
|
+
Bcp$.outboundSchema = Bcp$outboundSchema;
|
|
35988
|
+
})(Bcp$ ||= {});
|
|
35989
|
+
BackgroundCheckResultLocation$inboundSchema = objectType({
|
|
35990
|
+
address1: nullableType(stringType()).optional(),
|
|
35991
|
+
address2: nullableType(stringType()).optional(),
|
|
35992
|
+
city: nullableType(stringType()).optional(),
|
|
35993
|
+
state: nullableType(stringType()).optional(),
|
|
35994
|
+
zip: nullableType(stringType()).optional()
|
|
35995
|
+
});
|
|
35996
|
+
BackgroundCheckResultLocation$outboundSchema = objectType({
|
|
35997
|
+
address1: nullableType(stringType()).optional(),
|
|
35998
|
+
address2: nullableType(stringType()).optional(),
|
|
35999
|
+
city: nullableType(stringType()).optional(),
|
|
36000
|
+
state: nullableType(stringType()).optional(),
|
|
36001
|
+
zip: nullableType(stringType()).optional()
|
|
36002
|
+
});
|
|
36003
|
+
((BackgroundCheckResultLocation$) => {
|
|
36004
|
+
BackgroundCheckResultLocation$.inboundSchema = BackgroundCheckResultLocation$inboundSchema;
|
|
36005
|
+
BackgroundCheckResultLocation$.outboundSchema = BackgroundCheckResultLocation$outboundSchema;
|
|
36006
|
+
})(BackgroundCheckResultLocation$ ||= {});
|
|
36007
|
+
BackgroundCheckResult$inboundSchema = objectType({
|
|
36008
|
+
id: numberType().int().optional(),
|
|
36009
|
+
status: BackgroundCheckResultStatus$inboundSchema.optional(),
|
|
36010
|
+
delivery_method: nullableType(DeliveryMethod$inboundSchema).optional(),
|
|
36011
|
+
invoice: nullableType(unionType([Invoice$inboundSchema, numberType().int()])).optional(),
|
|
36012
|
+
email: nullableType(stringType()).optional(),
|
|
36013
|
+
bcp: lazyType(() => Bcp$inboundSchema).optional(),
|
|
36014
|
+
location: nullableType(lazyType(() => BackgroundCheckResultLocation$inboundSchema)).optional()
|
|
36015
|
+
}).transform((v2) => {
|
|
36016
|
+
return remap(v2, {
|
|
36017
|
+
delivery_method: "deliveryMethod"
|
|
36018
|
+
});
|
|
36019
|
+
});
|
|
36020
|
+
BackgroundCheckResult$outboundSchema = objectType({
|
|
36021
|
+
id: numberType().int().optional(),
|
|
36022
|
+
status: BackgroundCheckResultStatus$outboundSchema.optional(),
|
|
36023
|
+
deliveryMethod: nullableType(DeliveryMethod$outboundSchema).optional(),
|
|
36024
|
+
invoice: nullableType(unionType([Invoice$outboundSchema, numberType().int()])).optional(),
|
|
36025
|
+
email: nullableType(stringType()).optional(),
|
|
36026
|
+
bcp: lazyType(() => Bcp$outboundSchema).optional(),
|
|
36027
|
+
location: nullableType(lazyType(() => BackgroundCheckResultLocation$outboundSchema)).optional()
|
|
36028
|
+
}).transform((v2) => {
|
|
36029
|
+
return remap(v2, {
|
|
36030
|
+
deliveryMethod: "delivery_method"
|
|
36031
|
+
});
|
|
36032
|
+
});
|
|
36033
|
+
((BackgroundCheckResult$) => {
|
|
36034
|
+
BackgroundCheckResult$.inboundSchema = BackgroundCheckResult$inboundSchema;
|
|
36035
|
+
BackgroundCheckResult$.outboundSchema = BackgroundCheckResult$outboundSchema;
|
|
36036
|
+
})(BackgroundCheckResult$ ||= {});
|
|
36037
|
+
});
|
|
36038
|
+
|
|
35769
36039
|
// src/types/rfcdate.ts
|
|
35770
36040
|
class RFCDate {
|
|
35771
36041
|
serialized;
|
|
@@ -36051,6 +36321,167 @@ var init_contact = __esm(() => {
|
|
|
36051
36321
|
})(Contact$ ||= {});
|
|
36052
36322
|
});
|
|
36053
36323
|
|
|
36324
|
+
// src/models/components/credentialdocument.ts
|
|
36325
|
+
var CredentialDocumentCredential$inboundSchema, CredentialDocumentCredential$outboundSchema, CredentialDocumentCredential$, FileT$inboundSchema, FileT$outboundSchema, FileT$, CredentialDocument$inboundSchema, CredentialDocument$outboundSchema, CredentialDocument$;
|
|
36326
|
+
var init_credentialdocument = __esm(() => {
|
|
36327
|
+
init_lib();
|
|
36328
|
+
init_primitives();
|
|
36329
|
+
init_credential();
|
|
36330
|
+
CredentialDocumentCredential$inboundSchema = unionType([lazyType(() => Credential$inboundSchema), numberType().int()]);
|
|
36331
|
+
CredentialDocumentCredential$outboundSchema = unionType([lazyType(() => Credential$outboundSchema), numberType().int()]);
|
|
36332
|
+
((CredentialDocumentCredential$) => {
|
|
36333
|
+
CredentialDocumentCredential$.inboundSchema = CredentialDocumentCredential$inboundSchema;
|
|
36334
|
+
CredentialDocumentCredential$.outboundSchema = CredentialDocumentCredential$outboundSchema;
|
|
36335
|
+
})(CredentialDocumentCredential$ ||= {});
|
|
36336
|
+
FileT$inboundSchema = objectType({
|
|
36337
|
+
file_name: nullableType(stringType()).optional(),
|
|
36338
|
+
content_type: nullableType(stringType()).optional(),
|
|
36339
|
+
file_size: nullableType(numberType().int()).optional(),
|
|
36340
|
+
updated_at: nullableType(stringType()).optional(),
|
|
36341
|
+
url: nullableType(stringType()).optional()
|
|
36342
|
+
}).transform((v2) => {
|
|
36343
|
+
return remap(v2, {
|
|
36344
|
+
file_name: "fileName",
|
|
36345
|
+
content_type: "contentType",
|
|
36346
|
+
file_size: "fileSize",
|
|
36347
|
+
updated_at: "updatedAt"
|
|
36348
|
+
});
|
|
36349
|
+
});
|
|
36350
|
+
FileT$outboundSchema = objectType({
|
|
36351
|
+
fileName: nullableType(stringType()).optional(),
|
|
36352
|
+
contentType: nullableType(stringType()).optional(),
|
|
36353
|
+
fileSize: nullableType(numberType().int()).optional(),
|
|
36354
|
+
updatedAt: nullableType(stringType()).optional(),
|
|
36355
|
+
url: nullableType(stringType()).optional()
|
|
36356
|
+
}).transform((v2) => {
|
|
36357
|
+
return remap(v2, {
|
|
36358
|
+
fileName: "file_name",
|
|
36359
|
+
contentType: "content_type",
|
|
36360
|
+
fileSize: "file_size",
|
|
36361
|
+
updatedAt: "updated_at"
|
|
36362
|
+
});
|
|
36363
|
+
});
|
|
36364
|
+
((FileT$) => {
|
|
36365
|
+
FileT$.inboundSchema = FileT$inboundSchema;
|
|
36366
|
+
FileT$.outboundSchema = FileT$outboundSchema;
|
|
36367
|
+
})(FileT$ ||= {});
|
|
36368
|
+
CredentialDocument$inboundSchema = objectType({
|
|
36369
|
+
id: numberType().int(),
|
|
36370
|
+
credential: nullableType(unionType([lazyType(() => Credential$inboundSchema), numberType().int()])).optional(),
|
|
36371
|
+
name: nullableType(stringType()).optional(),
|
|
36372
|
+
description: nullableType(stringType()).optional(),
|
|
36373
|
+
file: nullableType(lazyType(() => FileT$inboundSchema)).optional()
|
|
36374
|
+
});
|
|
36375
|
+
CredentialDocument$outboundSchema = objectType({
|
|
36376
|
+
id: numberType().int(),
|
|
36377
|
+
credential: nullableType(unionType([lazyType(() => Credential$outboundSchema), numberType().int()])).optional(),
|
|
36378
|
+
name: nullableType(stringType()).optional(),
|
|
36379
|
+
description: nullableType(stringType()).optional(),
|
|
36380
|
+
file: nullableType(lazyType(() => FileT$outboundSchema)).optional()
|
|
36381
|
+
});
|
|
36382
|
+
((CredentialDocument$) => {
|
|
36383
|
+
CredentialDocument$.inboundSchema = CredentialDocument$inboundSchema;
|
|
36384
|
+
CredentialDocument$.outboundSchema = CredentialDocument$outboundSchema;
|
|
36385
|
+
})(CredentialDocument$ ||= {});
|
|
36386
|
+
});
|
|
36387
|
+
|
|
36388
|
+
// src/models/components/credential.ts
|
|
36389
|
+
var CredentialType, ValidFor, CredentialStatus1, CredentialType$inboundSchema, CredentialType$outboundSchema, CredentialType$, ValidFor$inboundSchema, ValidFor$outboundSchema, ValidFor$, CredentialStatus1$inboundSchema, CredentialStatus1$outboundSchema, CredentialStatus1$, Credential$inboundSchema, Credential$outboundSchema, Credential$;
|
|
36390
|
+
var init_credential = __esm(() => {
|
|
36391
|
+
init_lib();
|
|
36392
|
+
init_primitives();
|
|
36393
|
+
init_credentialdocument();
|
|
36394
|
+
CredentialType = {
|
|
36395
|
+
Zero: "0",
|
|
36396
|
+
One: "1",
|
|
36397
|
+
Two: "2",
|
|
36398
|
+
Three: "3",
|
|
36399
|
+
Four: "4"
|
|
36400
|
+
};
|
|
36401
|
+
ValidFor = {
|
|
36402
|
+
Ongoing: "Ongoing",
|
|
36403
|
+
Variable: "Variable",
|
|
36404
|
+
Custom: "Custom",
|
|
36405
|
+
EndOfYear: "End of Year",
|
|
36406
|
+
DayOfYear: "Day of Year"
|
|
36407
|
+
};
|
|
36408
|
+
CredentialStatus1 = {
|
|
36409
|
+
Active: "Active",
|
|
36410
|
+
Inactive: "Inactive",
|
|
36411
|
+
Deleted: "Deleted"
|
|
36412
|
+
};
|
|
36413
|
+
CredentialType$inboundSchema = nativeEnumType(CredentialType);
|
|
36414
|
+
CredentialType$outboundSchema = CredentialType$inboundSchema;
|
|
36415
|
+
((CredentialType$) => {
|
|
36416
|
+
CredentialType$.inboundSchema = CredentialType$inboundSchema;
|
|
36417
|
+
CredentialType$.outboundSchema = CredentialType$outboundSchema;
|
|
36418
|
+
})(CredentialType$ ||= {});
|
|
36419
|
+
ValidFor$inboundSchema = nativeEnumType(ValidFor);
|
|
36420
|
+
ValidFor$outboundSchema = ValidFor$inboundSchema;
|
|
36421
|
+
((ValidFor$) => {
|
|
36422
|
+
ValidFor$.inboundSchema = ValidFor$inboundSchema;
|
|
36423
|
+
ValidFor$.outboundSchema = ValidFor$outboundSchema;
|
|
36424
|
+
})(ValidFor$ ||= {});
|
|
36425
|
+
CredentialStatus1$inboundSchema = nativeEnumType(CredentialStatus1);
|
|
36426
|
+
CredentialStatus1$outboundSchema = CredentialStatus1$inboundSchema;
|
|
36427
|
+
((CredentialStatus1$) => {
|
|
36428
|
+
CredentialStatus1$.inboundSchema = CredentialStatus1$inboundSchema;
|
|
36429
|
+
CredentialStatus1$.outboundSchema = CredentialStatus1$outboundSchema;
|
|
36430
|
+
})(CredentialStatus1$ ||= {});
|
|
36431
|
+
Credential$inboundSchema = objectType({
|
|
36432
|
+
id: numberType().int(),
|
|
36433
|
+
name: nullableType(stringType()).optional(),
|
|
36434
|
+
description: nullableType(stringType()).optional(),
|
|
36435
|
+
credential_type: CredentialType$inboundSchema.optional(),
|
|
36436
|
+
valid_for: ValidFor$inboundSchema.optional(),
|
|
36437
|
+
status: CredentialStatus1$inboundSchema.optional(),
|
|
36438
|
+
js_schema: nullableType(stringType()).optional(),
|
|
36439
|
+
ui_schema: nullableType(stringType()).optional(),
|
|
36440
|
+
behavior: nullableType(stringType()).optional(),
|
|
36441
|
+
credential_documents: arrayType(nullableType(lazyType(() => CredentialDocument$inboundSchema))).optional(),
|
|
36442
|
+
file_url: nullableType(stringType()).optional(),
|
|
36443
|
+
decline_file_url: nullableType(stringType()).optional()
|
|
36444
|
+
}).transform((v2) => {
|
|
36445
|
+
return remap(v2, {
|
|
36446
|
+
credential_type: "credentialType",
|
|
36447
|
+
valid_for: "validFor",
|
|
36448
|
+
js_schema: "jsSchema",
|
|
36449
|
+
ui_schema: "uiSchema",
|
|
36450
|
+
credential_documents: "credentialDocuments",
|
|
36451
|
+
file_url: "fileUrl",
|
|
36452
|
+
decline_file_url: "declineFileUrl"
|
|
36453
|
+
});
|
|
36454
|
+
});
|
|
36455
|
+
Credential$outboundSchema = objectType({
|
|
36456
|
+
id: numberType().int(),
|
|
36457
|
+
name: nullableType(stringType()).optional(),
|
|
36458
|
+
description: nullableType(stringType()).optional(),
|
|
36459
|
+
credentialType: CredentialType$outboundSchema.optional(),
|
|
36460
|
+
validFor: ValidFor$outboundSchema.optional(),
|
|
36461
|
+
status: CredentialStatus1$outboundSchema.optional(),
|
|
36462
|
+
jsSchema: nullableType(stringType()).optional(),
|
|
36463
|
+
uiSchema: nullableType(stringType()).optional(),
|
|
36464
|
+
behavior: nullableType(stringType()).optional(),
|
|
36465
|
+
credentialDocuments: arrayType(nullableType(lazyType(() => CredentialDocument$outboundSchema))).optional(),
|
|
36466
|
+
fileUrl: nullableType(stringType()).optional(),
|
|
36467
|
+
declineFileUrl: nullableType(stringType()).optional()
|
|
36468
|
+
}).transform((v2) => {
|
|
36469
|
+
return remap(v2, {
|
|
36470
|
+
credentialType: "credential_type",
|
|
36471
|
+
validFor: "valid_for",
|
|
36472
|
+
jsSchema: "js_schema",
|
|
36473
|
+
uiSchema: "ui_schema",
|
|
36474
|
+
credentialDocuments: "credential_documents",
|
|
36475
|
+
fileUrl: "file_url",
|
|
36476
|
+
declineFileUrl: "decline_file_url"
|
|
36477
|
+
});
|
|
36478
|
+
});
|
|
36479
|
+
((Credential$) => {
|
|
36480
|
+
Credential$.inboundSchema = Credential$inboundSchema;
|
|
36481
|
+
Credential$.outboundSchema = Credential$outboundSchema;
|
|
36482
|
+
})(Credential$ ||= {});
|
|
36483
|
+
});
|
|
36484
|
+
|
|
36054
36485
|
// src/models/components/credentialstatus.ts
|
|
36055
36486
|
var CredentialStatus, CredentialStatus$inboundSchema, CredentialStatus$outboundSchema, CredentialStatus$;
|
|
36056
36487
|
var init_credentialstatus = __esm(() => {
|
|
@@ -36123,6 +36554,110 @@ var init_credit = __esm(() => {
|
|
|
36123
36554
|
})(Credit$ ||= {});
|
|
36124
36555
|
});
|
|
36125
36556
|
|
|
36557
|
+
// src/models/components/datarequest.ts
|
|
36558
|
+
var DataType, DataType$inboundSchema, DataType$outboundSchema, DataType$, Url$inboundSchema, Url$outboundSchema, Url$, DataRequestFile$inboundSchema, DataRequestFile$outboundSchema, DataRequestFile$, DataRequest$inboundSchema, DataRequest$outboundSchema, DataRequest$;
|
|
36559
|
+
var init_datarequest = __esm(() => {
|
|
36560
|
+
init_lib();
|
|
36561
|
+
init_primitives();
|
|
36562
|
+
DataType = {
|
|
36563
|
+
File: "File",
|
|
36564
|
+
Url: "URL",
|
|
36565
|
+
ShortText: "Short Text",
|
|
36566
|
+
LongText: "Long Text",
|
|
36567
|
+
Date: "Date"
|
|
36568
|
+
};
|
|
36569
|
+
DataType$inboundSchema = nativeEnumType(DataType);
|
|
36570
|
+
DataType$outboundSchema = DataType$inboundSchema;
|
|
36571
|
+
((DataType$) => {
|
|
36572
|
+
DataType$.inboundSchema = DataType$inboundSchema;
|
|
36573
|
+
DataType$.outboundSchema = DataType$outboundSchema;
|
|
36574
|
+
})(DataType$ ||= {});
|
|
36575
|
+
Url$inboundSchema = objectType({
|
|
36576
|
+
value: nullableType(stringType()).optional(),
|
|
36577
|
+
func: nullableType(stringType()).optional(),
|
|
36578
|
+
expires: nullableType(stringType()).optional(),
|
|
36579
|
+
days_valid: nullableType(numberType().int()).optional()
|
|
36580
|
+
}).transform((v2) => {
|
|
36581
|
+
return remap(v2, {
|
|
36582
|
+
days_valid: "daysValid"
|
|
36583
|
+
});
|
|
36584
|
+
});
|
|
36585
|
+
Url$outboundSchema = objectType({
|
|
36586
|
+
value: nullableType(stringType()).optional(),
|
|
36587
|
+
func: nullableType(stringType()).optional(),
|
|
36588
|
+
expires: nullableType(stringType()).optional(),
|
|
36589
|
+
daysValid: nullableType(numberType().int()).optional()
|
|
36590
|
+
}).transform((v2) => {
|
|
36591
|
+
return remap(v2, {
|
|
36592
|
+
daysValid: "days_valid"
|
|
36593
|
+
});
|
|
36594
|
+
});
|
|
36595
|
+
((Url$) => {
|
|
36596
|
+
Url$.inboundSchema = Url$inboundSchema;
|
|
36597
|
+
Url$.outboundSchema = Url$outboundSchema;
|
|
36598
|
+
})(Url$ ||= {});
|
|
36599
|
+
DataRequestFile$inboundSchema = objectType({
|
|
36600
|
+
file_name: nullableType(stringType()).optional(),
|
|
36601
|
+
content_type: nullableType(stringType()).optional(),
|
|
36602
|
+
file_size: nullableType(numberType().int()).optional(),
|
|
36603
|
+
updated_at: nullableType(stringType()).optional(),
|
|
36604
|
+
url: nullableType(stringType()).optional()
|
|
36605
|
+
}).transform((v2) => {
|
|
36606
|
+
return remap(v2, {
|
|
36607
|
+
file_name: "fileName",
|
|
36608
|
+
content_type: "contentType",
|
|
36609
|
+
file_size: "fileSize",
|
|
36610
|
+
updated_at: "updatedAt"
|
|
36611
|
+
});
|
|
36612
|
+
});
|
|
36613
|
+
DataRequestFile$outboundSchema = objectType({
|
|
36614
|
+
fileName: nullableType(stringType()).optional(),
|
|
36615
|
+
contentType: nullableType(stringType()).optional(),
|
|
36616
|
+
fileSize: nullableType(numberType().int()).optional(),
|
|
36617
|
+
updatedAt: nullableType(stringType()).optional(),
|
|
36618
|
+
url: nullableType(stringType()).optional()
|
|
36619
|
+
}).transform((v2) => {
|
|
36620
|
+
return remap(v2, {
|
|
36621
|
+
fileName: "file_name",
|
|
36622
|
+
contentType: "content_type",
|
|
36623
|
+
fileSize: "file_size",
|
|
36624
|
+
updatedAt: "updated_at"
|
|
36625
|
+
});
|
|
36626
|
+
});
|
|
36627
|
+
((DataRequestFile$) => {
|
|
36628
|
+
DataRequestFile$.inboundSchema = DataRequestFile$inboundSchema;
|
|
36629
|
+
DataRequestFile$.outboundSchema = DataRequestFile$outboundSchema;
|
|
36630
|
+
})(DataRequestFile$ ||= {});
|
|
36631
|
+
DataRequest$inboundSchema = objectType({
|
|
36632
|
+
id: numberType().int().optional(),
|
|
36633
|
+
data_type: DataType$inboundSchema.optional(),
|
|
36634
|
+
name: nullableType(stringType()).optional(),
|
|
36635
|
+
description: nullableType(stringType()).optional(),
|
|
36636
|
+
url: nullableType(lazyType(() => Url$inboundSchema)).optional(),
|
|
36637
|
+
file: nullableType(lazyType(() => DataRequestFile$inboundSchema)).optional()
|
|
36638
|
+
}).transform((v2) => {
|
|
36639
|
+
return remap(v2, {
|
|
36640
|
+
data_type: "dataType"
|
|
36641
|
+
});
|
|
36642
|
+
});
|
|
36643
|
+
DataRequest$outboundSchema = objectType({
|
|
36644
|
+
id: numberType().int().optional(),
|
|
36645
|
+
dataType: DataType$outboundSchema.optional(),
|
|
36646
|
+
name: nullableType(stringType()).optional(),
|
|
36647
|
+
description: nullableType(stringType()).optional(),
|
|
36648
|
+
url: nullableType(lazyType(() => Url$outboundSchema)).optional(),
|
|
36649
|
+
file: nullableType(lazyType(() => DataRequestFile$outboundSchema)).optional()
|
|
36650
|
+
}).transform((v2) => {
|
|
36651
|
+
return remap(v2, {
|
|
36652
|
+
dataType: "data_type"
|
|
36653
|
+
});
|
|
36654
|
+
});
|
|
36655
|
+
((DataRequest$) => {
|
|
36656
|
+
DataRequest$.inboundSchema = DataRequest$inboundSchema;
|
|
36657
|
+
DataRequest$.outboundSchema = DataRequest$outboundSchema;
|
|
36658
|
+
})(DataRequest$ ||= {});
|
|
36659
|
+
});
|
|
36660
|
+
|
|
36126
36661
|
// src/models/components/department.ts
|
|
36127
36662
|
var Department$inboundSchema, Department$outboundSchema, Department$;
|
|
36128
36663
|
var init_department = __esm(() => {
|
|
@@ -36188,7 +36723,22 @@ var init_expand = __esm(() => {
|
|
|
36188
36723
|
SupportArticleNotes: "support_article.notes",
|
|
36189
36724
|
SupportArticleSupportCategory: "support_article.support_category",
|
|
36190
36725
|
InvoiceLineItems: "invoice.line_items",
|
|
36191
|
-
InvoiceInvoiceTransactions: "invoice.invoice_transactions"
|
|
36726
|
+
InvoiceInvoiceTransactions: "invoice.invoice_transactions",
|
|
36727
|
+
VendorCredentialCredential: "vendor_credential.credential",
|
|
36728
|
+
VendorCredentialVendor: "vendor_credential.vendor",
|
|
36729
|
+
VendorCredentialInvoice: "vendor_credential.invoice",
|
|
36730
|
+
VendorCredentialVendorCredentialFiles: "vendor_credential.vendor_credential_files",
|
|
36731
|
+
VendorCredentialLatestVendorCredentialId: "vendor_credential.latest_vendor_credential_id",
|
|
36732
|
+
VendorCredentialPreviouslyApproved: "vendor_credential.previously_approved",
|
|
36733
|
+
VendorCredentialUnsatisfiedDependencies: "vendor_credential.unsatisfied_dependencies",
|
|
36734
|
+
VendorCredentialAllowExpediting: "vendor_credential.allow_expediting",
|
|
36735
|
+
VendorCredentialUnpaidExpeditedInvoiceId: "vendor_credential.unpaid_expedited_invoice_id",
|
|
36736
|
+
VendorCredentialExpeditedOffers: "vendor_credential.expedited_offers",
|
|
36737
|
+
VendorCredentialBackgroundCheckResults: "vendor_credential.background_check_results",
|
|
36738
|
+
VendorCredentialVendorCredentialDefaultStatus: "vendor_credential.vendor_credential_default_status",
|
|
36739
|
+
VendorCredentialVendorCredentialDataRequests: "vendor_credential.vendor_credential_data_requests",
|
|
36740
|
+
VendorCredentialCredentialVariants: "vendor_credential.credential_variants",
|
|
36741
|
+
VendorCredentialTargetsChop: "vendor_credential.targets_chop"
|
|
36192
36742
|
};
|
|
36193
36743
|
Expand$inboundSchema = nativeEnumType(Expand);
|
|
36194
36744
|
Expand$outboundSchema = Expand$inboundSchema;
|
|
@@ -36342,11 +36892,11 @@ var init_facility = __esm(() => {
|
|
|
36342
36892
|
AppointmentPolicy$.outboundSchema = AppointmentPolicy$outboundSchema;
|
|
36343
36893
|
})(AppointmentPolicy$ ||= {});
|
|
36344
36894
|
Contacts$inboundSchema = objectType({
|
|
36345
|
-
contact: Contact$inboundSchema.optional(),
|
|
36346
|
-
admin_contact: Contact$inboundSchema.optional(),
|
|
36347
|
-
tech_contact: Contact$inboundSchema.optional(),
|
|
36348
|
-
green_security_csm: Contact$inboundSchema.optional(),
|
|
36349
|
-
account_manager: Contact$inboundSchema.optional()
|
|
36895
|
+
contact: nullableType(Contact$inboundSchema).optional(),
|
|
36896
|
+
admin_contact: nullableType(Contact$inboundSchema).optional(),
|
|
36897
|
+
tech_contact: nullableType(Contact$inboundSchema).optional(),
|
|
36898
|
+
green_security_csm: nullableType(Contact$inboundSchema).optional(),
|
|
36899
|
+
account_manager: nullableType(Contact$inboundSchema).optional()
|
|
36350
36900
|
}).transform((v2) => {
|
|
36351
36901
|
return remap(v2, {
|
|
36352
36902
|
admin_contact: "adminContact",
|
|
@@ -36356,11 +36906,11 @@ var init_facility = __esm(() => {
|
|
|
36356
36906
|
});
|
|
36357
36907
|
});
|
|
36358
36908
|
Contacts$outboundSchema = objectType({
|
|
36359
|
-
contact: Contact$outboundSchema.optional(),
|
|
36360
|
-
adminContact: Contact$outboundSchema.optional(),
|
|
36361
|
-
techContact: Contact$outboundSchema.optional(),
|
|
36362
|
-
greenSecurityCsm: Contact$outboundSchema.optional(),
|
|
36363
|
-
accountManager: Contact$outboundSchema.optional()
|
|
36909
|
+
contact: nullableType(Contact$outboundSchema).optional(),
|
|
36910
|
+
adminContact: nullableType(Contact$outboundSchema).optional(),
|
|
36911
|
+
techContact: nullableType(Contact$outboundSchema).optional(),
|
|
36912
|
+
greenSecurityCsm: nullableType(Contact$outboundSchema).optional(),
|
|
36913
|
+
accountManager: nullableType(Contact$outboundSchema).optional()
|
|
36364
36914
|
}).transform((v2) => {
|
|
36365
36915
|
return remap(v2, {
|
|
36366
36916
|
adminContact: "admin_contact",
|
|
@@ -37335,244 +37885,89 @@ var init_zone = __esm(() => {
|
|
|
37335
37885
|
visitor_checkin_policy: "visitorCheckinPolicy",
|
|
37336
37886
|
visit_request_policy: "visitRequestPolicy",
|
|
37337
37887
|
printer_config: "printerConfig",
|
|
37338
|
-
gps_checkin_policy: "gpsCheckinPolicy"
|
|
37339
|
-
});
|
|
37340
|
-
});
|
|
37341
|
-
Zone$outboundSchema = objectType({
|
|
37342
|
-
id: numberType().int().optional(),
|
|
37343
|
-
facility: nullableType(unionType([lazyType(() => Two$outboundSchema), Facility$outboundSchema])).optional(),
|
|
37344
|
-
department: nullableType(unionType([Department$outboundSchema, numberType().int()])).optional(),
|
|
37345
|
-
name: nullableType(stringType()).optional(),
|
|
37346
|
-
shortName: nullableType(stringType()).optional(),
|
|
37347
|
-
description: nullableType(stringType()).optional(),
|
|
37348
|
-
status: nullableType(stringType()).optional(),
|
|
37349
|
-
notes: nullableType(stringType()).optional(),
|
|
37350
|
-
rules: nullableType(arrayType(nullableType(ZoneConfig$outboundSchema))).optional(),
|
|
37351
|
-
location: lazyType(() => ZoneLocation$outboundSchema).optional(),
|
|
37352
|
-
kioskOfflineNotification: lazyType(() => KioskOfflineNotification$outboundSchema).optional(),
|
|
37353
|
-
vendorPolicy: lazyType(() => ZoneVendorPolicy$outboundSchema).optional(),
|
|
37354
|
-
visitorCheckinPolicy: lazyType(() => ZoneVisitorCheckinPolicy$outboundSchema).optional(),
|
|
37355
|
-
visitRequestPolicy: lazyType(() => ZoneVisitRequestPolicy$outboundSchema).optional(),
|
|
37356
|
-
printerConfig: lazyType(() => PrinterConfig$outboundSchema).optional(),
|
|
37357
|
-
gpsCheckinPolicy: lazyType(() => GpsCheckinPolicy$outboundSchema).optional()
|
|
37358
|
-
}).transform((v2) => {
|
|
37359
|
-
return remap(v2, {
|
|
37360
|
-
shortName: "short_name",
|
|
37361
|
-
kioskOfflineNotification: "kiosk_offline_notification",
|
|
37362
|
-
vendorPolicy: "vendor_policy",
|
|
37363
|
-
visitorCheckinPolicy: "visitor_checkin_policy",
|
|
37364
|
-
visitRequestPolicy: "visit_request_policy",
|
|
37365
|
-
printerConfig: "printer_config",
|
|
37366
|
-
gpsCheckinPolicy: "gps_checkin_policy"
|
|
37367
|
-
});
|
|
37368
|
-
});
|
|
37369
|
-
((Zone$) => {
|
|
37370
|
-
Zone$.inboundSchema = Zone$inboundSchema;
|
|
37371
|
-
Zone$.outboundSchema = Zone$outboundSchema;
|
|
37372
|
-
})(Zone$ ||= {});
|
|
37373
|
-
});
|
|
37374
|
-
|
|
37375
|
-
// src/models/components/handoff.ts
|
|
37376
|
-
var Handoff$inboundSchema, Handoff$outboundSchema, Handoff$;
|
|
37377
|
-
var init_handoff = __esm(() => {
|
|
37378
|
-
init_lib();
|
|
37379
|
-
init_primitives();
|
|
37380
|
-
init_zone();
|
|
37381
|
-
Handoff$inboundSchema = objectType({
|
|
37382
|
-
id: numberType().int().optional(),
|
|
37383
|
-
zone: Zone$inboundSchema.optional(),
|
|
37384
|
-
qr_code: nullableType(stringType()).optional(),
|
|
37385
|
-
date_created: nullableType(stringType()).optional(),
|
|
37386
|
-
date_received: nullableType(stringType()).optional(),
|
|
37387
|
-
date_completed: nullableType(stringType()).optional(),
|
|
37388
|
-
status: nullableType(stringType()).optional(),
|
|
37389
|
-
gps_checkin: booleanType().optional()
|
|
37390
|
-
}).transform((v2) => {
|
|
37391
|
-
return remap(v2, {
|
|
37392
|
-
qr_code: "qrCode",
|
|
37393
|
-
date_created: "dateCreated",
|
|
37394
|
-
date_received: "dateReceived",
|
|
37395
|
-
date_completed: "dateCompleted",
|
|
37396
|
-
gps_checkin: "gpsCheckin"
|
|
37397
|
-
});
|
|
37398
|
-
});
|
|
37399
|
-
Handoff$outboundSchema = objectType({
|
|
37400
|
-
id: numberType().int().optional(),
|
|
37401
|
-
zone: Zone$outboundSchema.optional(),
|
|
37402
|
-
qrCode: nullableType(stringType()).optional(),
|
|
37403
|
-
dateCreated: nullableType(stringType()).optional(),
|
|
37404
|
-
dateReceived: nullableType(stringType()).optional(),
|
|
37405
|
-
dateCompleted: nullableType(stringType()).optional(),
|
|
37406
|
-
status: nullableType(stringType()).optional(),
|
|
37407
|
-
gpsCheckin: booleanType().optional()
|
|
37408
|
-
}).transform((v2) => {
|
|
37409
|
-
return remap(v2, {
|
|
37410
|
-
qrCode: "qr_code",
|
|
37411
|
-
dateCreated: "date_created",
|
|
37412
|
-
dateReceived: "date_received",
|
|
37413
|
-
dateCompleted: "date_completed",
|
|
37414
|
-
gpsCheckin: "gps_checkin"
|
|
37415
|
-
});
|
|
37416
|
-
});
|
|
37417
|
-
((Handoff$) => {
|
|
37418
|
-
Handoff$.inboundSchema = Handoff$inboundSchema;
|
|
37419
|
-
Handoff$.outboundSchema = Handoff$outboundSchema;
|
|
37420
|
-
})(Handoff$ ||= {});
|
|
37421
|
-
});
|
|
37422
|
-
|
|
37423
|
-
// src/models/components/invoiceitem.ts
|
|
37424
|
-
var InvoiceItem$inboundSchema, InvoiceItem$outboundSchema, InvoiceItem$;
|
|
37425
|
-
var init_invoiceitem = __esm(() => {
|
|
37426
|
-
init_lib();
|
|
37427
|
-
init_primitives();
|
|
37428
|
-
InvoiceItem$inboundSchema = objectType({
|
|
37429
|
-
item_id: numberType().int().optional(),
|
|
37430
|
-
date_starts: nullableType(stringType()).optional(),
|
|
37431
|
-
date_ends: nullableType(stringType()).optional(),
|
|
37432
|
-
is_subscription: nullableType(booleanType()).optional(),
|
|
37433
|
-
product_title: nullableType(stringType()).optional(),
|
|
37434
|
-
item_title: nullableType(stringType()).optional(),
|
|
37435
|
-
quantity: nullableType(numberType()).optional(),
|
|
37436
|
-
unit_price: nullableType(numberType().int()).optional(),
|
|
37437
|
-
subtotal: nullableType(numberType().int()).optional()
|
|
37438
|
-
}).transform((v2) => {
|
|
37439
|
-
return remap(v2, {
|
|
37440
|
-
item_id: "itemId",
|
|
37441
|
-
date_starts: "dateStarts",
|
|
37442
|
-
date_ends: "dateEnds",
|
|
37443
|
-
is_subscription: "isSubscription",
|
|
37444
|
-
product_title: "productTitle",
|
|
37445
|
-
item_title: "itemTitle",
|
|
37446
|
-
unit_price: "unitPrice"
|
|
37447
|
-
});
|
|
37448
|
-
});
|
|
37449
|
-
InvoiceItem$outboundSchema = objectType({
|
|
37450
|
-
itemId: numberType().int().optional(),
|
|
37451
|
-
dateStarts: nullableType(stringType()).optional(),
|
|
37452
|
-
dateEnds: nullableType(stringType()).optional(),
|
|
37453
|
-
isSubscription: nullableType(booleanType()).optional(),
|
|
37454
|
-
productTitle: nullableType(stringType()).optional(),
|
|
37455
|
-
itemTitle: nullableType(stringType()).optional(),
|
|
37456
|
-
quantity: nullableType(numberType()).optional(),
|
|
37457
|
-
unitPrice: nullableType(numberType().int()).optional(),
|
|
37458
|
-
subtotal: nullableType(numberType().int()).optional()
|
|
37459
|
-
}).transform((v2) => {
|
|
37460
|
-
return remap(v2, {
|
|
37461
|
-
itemId: "item_id",
|
|
37462
|
-
dateStarts: "date_starts",
|
|
37463
|
-
dateEnds: "date_ends",
|
|
37464
|
-
isSubscription: "is_subscription",
|
|
37465
|
-
productTitle: "product_title",
|
|
37466
|
-
itemTitle: "item_title",
|
|
37467
|
-
unitPrice: "unit_price"
|
|
37468
|
-
});
|
|
37469
|
-
});
|
|
37470
|
-
((InvoiceItem$) => {
|
|
37471
|
-
InvoiceItem$.inboundSchema = InvoiceItem$inboundSchema;
|
|
37472
|
-
InvoiceItem$.outboundSchema = InvoiceItem$outboundSchema;
|
|
37473
|
-
})(InvoiceItem$ ||= {});
|
|
37474
|
-
});
|
|
37475
|
-
|
|
37476
|
-
// src/models/components/invoicetransaction.ts
|
|
37477
|
-
var InvoiceTransaction$inboundSchema, InvoiceTransaction$outboundSchema, InvoiceTransaction$;
|
|
37478
|
-
var init_invoicetransaction = __esm(() => {
|
|
37479
|
-
init_lib();
|
|
37480
|
-
init_primitives();
|
|
37481
|
-
InvoiceTransaction$inboundSchema = objectType({
|
|
37482
|
-
date_processed: nullableType(stringType()).optional(),
|
|
37483
|
-
payee: nullableType(stringType()).optional(),
|
|
37484
|
-
amount: nullableType(numberType().int()).optional(),
|
|
37485
|
-
credit_id: nullableType(numberType().int()).optional(),
|
|
37486
|
-
transaction_id: nullableType(stringType()).optional(),
|
|
37487
|
-
success: nullableType(booleanType()).optional(),
|
|
37488
|
-
card_last4: nullableType(stringType()).optional()
|
|
37489
|
-
}).transform((v2) => {
|
|
37490
|
-
return remap(v2, {
|
|
37491
|
-
date_processed: "dateProcessed",
|
|
37492
|
-
credit_id: "creditId",
|
|
37493
|
-
transaction_id: "transactionId",
|
|
37494
|
-
card_last4: "cardLast4"
|
|
37888
|
+
gps_checkin_policy: "gpsCheckinPolicy"
|
|
37495
37889
|
});
|
|
37496
37890
|
});
|
|
37497
|
-
|
|
37498
|
-
|
|
37499
|
-
|
|
37500
|
-
|
|
37501
|
-
|
|
37502
|
-
|
|
37503
|
-
|
|
37504
|
-
|
|
37891
|
+
Zone$outboundSchema = objectType({
|
|
37892
|
+
id: numberType().int().optional(),
|
|
37893
|
+
facility: nullableType(unionType([lazyType(() => Two$outboundSchema), Facility$outboundSchema])).optional(),
|
|
37894
|
+
department: nullableType(unionType([Department$outboundSchema, numberType().int()])).optional(),
|
|
37895
|
+
name: nullableType(stringType()).optional(),
|
|
37896
|
+
shortName: nullableType(stringType()).optional(),
|
|
37897
|
+
description: nullableType(stringType()).optional(),
|
|
37898
|
+
status: nullableType(stringType()).optional(),
|
|
37899
|
+
notes: nullableType(stringType()).optional(),
|
|
37900
|
+
rules: nullableType(arrayType(nullableType(ZoneConfig$outboundSchema))).optional(),
|
|
37901
|
+
location: lazyType(() => ZoneLocation$outboundSchema).optional(),
|
|
37902
|
+
kioskOfflineNotification: lazyType(() => KioskOfflineNotification$outboundSchema).optional(),
|
|
37903
|
+
vendorPolicy: lazyType(() => ZoneVendorPolicy$outboundSchema).optional(),
|
|
37904
|
+
visitorCheckinPolicy: lazyType(() => ZoneVisitorCheckinPolicy$outboundSchema).optional(),
|
|
37905
|
+
visitRequestPolicy: lazyType(() => ZoneVisitRequestPolicy$outboundSchema).optional(),
|
|
37906
|
+
printerConfig: lazyType(() => PrinterConfig$outboundSchema).optional(),
|
|
37907
|
+
gpsCheckinPolicy: lazyType(() => GpsCheckinPolicy$outboundSchema).optional()
|
|
37505
37908
|
}).transform((v2) => {
|
|
37506
37909
|
return remap(v2, {
|
|
37507
|
-
|
|
37508
|
-
|
|
37509
|
-
|
|
37510
|
-
|
|
37910
|
+
shortName: "short_name",
|
|
37911
|
+
kioskOfflineNotification: "kiosk_offline_notification",
|
|
37912
|
+
vendorPolicy: "vendor_policy",
|
|
37913
|
+
visitorCheckinPolicy: "visitor_checkin_policy",
|
|
37914
|
+
visitRequestPolicy: "visit_request_policy",
|
|
37915
|
+
printerConfig: "printer_config",
|
|
37916
|
+
gpsCheckinPolicy: "gps_checkin_policy"
|
|
37511
37917
|
});
|
|
37512
37918
|
});
|
|
37513
|
-
((
|
|
37514
|
-
|
|
37515
|
-
|
|
37516
|
-
})(
|
|
37919
|
+
((Zone$) => {
|
|
37920
|
+
Zone$.inboundSchema = Zone$inboundSchema;
|
|
37921
|
+
Zone$.outboundSchema = Zone$outboundSchema;
|
|
37922
|
+
})(Zone$ ||= {});
|
|
37517
37923
|
});
|
|
37518
37924
|
|
|
37519
|
-
// src/models/components/
|
|
37520
|
-
var
|
|
37521
|
-
var
|
|
37925
|
+
// src/models/components/handoff.ts
|
|
37926
|
+
var Handoff$inboundSchema, Handoff$outboundSchema, Handoff$;
|
|
37927
|
+
var init_handoff = __esm(() => {
|
|
37522
37928
|
init_lib();
|
|
37523
37929
|
init_primitives();
|
|
37524
|
-
|
|
37525
|
-
|
|
37526
|
-
|
|
37527
|
-
|
|
37528
|
-
|
|
37529
|
-
|
|
37530
|
-
|
|
37930
|
+
init_zone();
|
|
37931
|
+
Handoff$inboundSchema = objectType({
|
|
37932
|
+
id: numberType().int().optional(),
|
|
37933
|
+
zone: Zone$inboundSchema.optional(),
|
|
37934
|
+
qr_code: nullableType(stringType()).optional(),
|
|
37935
|
+
date_created: nullableType(stringType()).optional(),
|
|
37936
|
+
date_received: nullableType(stringType()).optional(),
|
|
37937
|
+
date_completed: nullableType(stringType()).optional(),
|
|
37531
37938
|
status: nullableType(stringType()).optional(),
|
|
37532
|
-
|
|
37533
|
-
amount_not_paid: nullableType(numberType().int()).optional(),
|
|
37534
|
-
tax: nullableType(numberType().int()).optional(),
|
|
37535
|
-
convenience_fee: nullableType(numberType()).optional(),
|
|
37536
|
-
shipping: nullableType(numberType().int()).optional(),
|
|
37537
|
-
discount: numberType().int().optional(),
|
|
37538
|
-
items: nullableType(arrayType(InvoiceItem$inboundSchema)).optional(),
|
|
37539
|
-
transactions: nullableType(arrayType(InvoiceTransaction$inboundSchema)).optional()
|
|
37939
|
+
gps_checkin: booleanType().optional()
|
|
37540
37940
|
}).transform((v2) => {
|
|
37541
37941
|
return remap(v2, {
|
|
37542
|
-
|
|
37543
|
-
|
|
37544
|
-
|
|
37545
|
-
|
|
37546
|
-
|
|
37942
|
+
qr_code: "qrCode",
|
|
37943
|
+
date_created: "dateCreated",
|
|
37944
|
+
date_received: "dateReceived",
|
|
37945
|
+
date_completed: "dateCompleted",
|
|
37946
|
+
gps_checkin: "gpsCheckin"
|
|
37547
37947
|
});
|
|
37548
37948
|
});
|
|
37549
|
-
|
|
37550
|
-
id: numberType().int(),
|
|
37551
|
-
|
|
37552
|
-
|
|
37553
|
-
|
|
37949
|
+
Handoff$outboundSchema = objectType({
|
|
37950
|
+
id: numberType().int().optional(),
|
|
37951
|
+
zone: Zone$outboundSchema.optional(),
|
|
37952
|
+
qrCode: nullableType(stringType()).optional(),
|
|
37953
|
+
dateCreated: nullableType(stringType()).optional(),
|
|
37954
|
+
dateReceived: nullableType(stringType()).optional(),
|
|
37955
|
+
dateCompleted: nullableType(stringType()).optional(),
|
|
37554
37956
|
status: nullableType(stringType()).optional(),
|
|
37555
|
-
|
|
37556
|
-
amountNotPaid: nullableType(numberType().int()).optional(),
|
|
37557
|
-
tax: nullableType(numberType().int()).optional(),
|
|
37558
|
-
convenienceFee: nullableType(numberType()).optional(),
|
|
37559
|
-
shipping: nullableType(numberType().int()).optional(),
|
|
37560
|
-
discount: numberType().int().optional(),
|
|
37561
|
-
items: nullableType(arrayType(InvoiceItem$outboundSchema)).optional(),
|
|
37562
|
-
transactions: nullableType(arrayType(InvoiceTransaction$outboundSchema)).optional()
|
|
37957
|
+
gpsCheckin: booleanType().optional()
|
|
37563
37958
|
}).transform((v2) => {
|
|
37564
37959
|
return remap(v2, {
|
|
37565
|
-
|
|
37566
|
-
|
|
37567
|
-
|
|
37568
|
-
|
|
37569
|
-
|
|
37960
|
+
qrCode: "qr_code",
|
|
37961
|
+
dateCreated: "date_created",
|
|
37962
|
+
dateReceived: "date_received",
|
|
37963
|
+
dateCompleted: "date_completed",
|
|
37964
|
+
gpsCheckin: "gps_checkin"
|
|
37570
37965
|
});
|
|
37571
37966
|
});
|
|
37572
|
-
((
|
|
37573
|
-
|
|
37574
|
-
|
|
37575
|
-
})(
|
|
37967
|
+
((Handoff$) => {
|
|
37968
|
+
Handoff$.inboundSchema = Handoff$inboundSchema;
|
|
37969
|
+
Handoff$.outboundSchema = Handoff$outboundSchema;
|
|
37970
|
+
})(Handoff$ ||= {});
|
|
37576
37971
|
});
|
|
37577
37972
|
|
|
37578
37973
|
// src/models/components/loginemailandpassword.ts
|
|
@@ -37838,6 +38233,69 @@ var init_scantype = __esm(() => {
|
|
|
37838
38233
|
})(ScanType$ ||= {});
|
|
37839
38234
|
});
|
|
37840
38235
|
|
|
38236
|
+
// src/models/components/screeningresponse.ts
|
|
38237
|
+
var ScreeningResponse$inboundSchema, ScreeningResponse$outboundSchema, ScreeningResponse$;
|
|
38238
|
+
var init_screeningresponse = __esm(() => {
|
|
38239
|
+
init_lib();
|
|
38240
|
+
init_primitives();
|
|
38241
|
+
ScreeningResponse$inboundSchema = objectType({
|
|
38242
|
+
id: numberType().int().optional(),
|
|
38243
|
+
vendor_id: nullableType(numberType().int()).optional(),
|
|
38244
|
+
vendor_scan_id: nullableType(numberType().int()).optional(),
|
|
38245
|
+
screening_question_id: nullableType(numberType().int()).optional(),
|
|
38246
|
+
screening_answer_id: nullableType(numberType().int()).optional(),
|
|
38247
|
+
date_answered: nullableType(stringType()).optional(),
|
|
38248
|
+
custom_answer: nullableType(stringType()).optional(),
|
|
38249
|
+
multiple_vendor_answer_ids: nullableType(stringType()).optional(),
|
|
38250
|
+
visitor_checkin_id: nullableType(numberType().int()).optional(),
|
|
38251
|
+
contact_id: nullableType(numberType().int()).optional(),
|
|
38252
|
+
visit_request_id: nullableType(numberType().int()).optional()
|
|
38253
|
+
}).transform((v2) => {
|
|
38254
|
+
return remap(v2, {
|
|
38255
|
+
vendor_id: "vendorId",
|
|
38256
|
+
vendor_scan_id: "vendorScanId",
|
|
38257
|
+
screening_question_id: "screeningQuestionId",
|
|
38258
|
+
screening_answer_id: "screeningAnswerId",
|
|
38259
|
+
date_answered: "dateAnswered",
|
|
38260
|
+
custom_answer: "customAnswer",
|
|
38261
|
+
multiple_vendor_answer_ids: "multipleVendorAnswerIds",
|
|
38262
|
+
visitor_checkin_id: "visitorCheckinId",
|
|
38263
|
+
contact_id: "contactId",
|
|
38264
|
+
visit_request_id: "visitRequestId"
|
|
38265
|
+
});
|
|
38266
|
+
});
|
|
38267
|
+
ScreeningResponse$outboundSchema = objectType({
|
|
38268
|
+
id: numberType().int().optional(),
|
|
38269
|
+
vendorId: nullableType(numberType().int()).optional(),
|
|
38270
|
+
vendorScanId: nullableType(numberType().int()).optional(),
|
|
38271
|
+
screeningQuestionId: nullableType(numberType().int()).optional(),
|
|
38272
|
+
screeningAnswerId: nullableType(numberType().int()).optional(),
|
|
38273
|
+
dateAnswered: nullableType(stringType()).optional(),
|
|
38274
|
+
customAnswer: nullableType(stringType()).optional(),
|
|
38275
|
+
multipleVendorAnswerIds: nullableType(stringType()).optional(),
|
|
38276
|
+
visitorCheckinId: nullableType(numberType().int()).optional(),
|
|
38277
|
+
contactId: nullableType(numberType().int()).optional(),
|
|
38278
|
+
visitRequestId: nullableType(numberType().int()).optional()
|
|
38279
|
+
}).transform((v2) => {
|
|
38280
|
+
return remap(v2, {
|
|
38281
|
+
vendorId: "vendor_id",
|
|
38282
|
+
vendorScanId: "vendor_scan_id",
|
|
38283
|
+
screeningQuestionId: "screening_question_id",
|
|
38284
|
+
screeningAnswerId: "screening_answer_id",
|
|
38285
|
+
dateAnswered: "date_answered",
|
|
38286
|
+
customAnswer: "custom_answer",
|
|
38287
|
+
multipleVendorAnswerIds: "multiple_vendor_answer_ids",
|
|
38288
|
+
visitorCheckinId: "visitor_checkin_id",
|
|
38289
|
+
contactId: "contact_id",
|
|
38290
|
+
visitRequestId: "visit_request_id"
|
|
38291
|
+
});
|
|
38292
|
+
});
|
|
38293
|
+
((ScreeningResponse$) => {
|
|
38294
|
+
ScreeningResponse$.inboundSchema = ScreeningResponse$inboundSchema;
|
|
38295
|
+
ScreeningResponse$.outboundSchema = ScreeningResponse$outboundSchema;
|
|
38296
|
+
})(ScreeningResponse$ ||= {});
|
|
38297
|
+
});
|
|
38298
|
+
|
|
37841
38299
|
// src/models/components/security.ts
|
|
37842
38300
|
var Security$inboundSchema, Security$outboundSchema, Security$;
|
|
37843
38301
|
var init_security2 = __esm(() => {
|
|
@@ -38234,7 +38692,7 @@ var init_userlocation = __esm(() => {
|
|
|
38234
38692
|
});
|
|
38235
38693
|
|
|
38236
38694
|
// src/models/components/vendor.ts
|
|
38237
|
-
var One$inboundSchema, One$outboundSchema, One$, VendorUser$inboundSchema, VendorUser$outboundSchema, VendorUser$, VendorType1$inboundSchema, VendorType1$outboundSchema, VendorType1$, VendorVendorType$inboundSchema, VendorVendorType$outboundSchema, VendorVendorType$, PaymentProfile1$inboundSchema, PaymentProfile1$outboundSchema, PaymentProfile1$, PaymentProfilePaymentProfile$inboundSchema, PaymentProfilePaymentProfile$outboundSchema, PaymentProfilePaymentProfile$, PaymentProfile$inboundSchema, PaymentProfile$outboundSchema, PaymentProfile$, PaymentResponsibility$inboundSchema, PaymentResponsibility$outboundSchema, PaymentResponsibility$, Vendor$inboundSchema, Vendor$outboundSchema, Vendor$;
|
|
38695
|
+
var One$inboundSchema, One$outboundSchema, One$, VendorUser$inboundSchema, VendorUser$outboundSchema, VendorUser$, VendorType1$inboundSchema, VendorType1$outboundSchema, VendorType1$, VendorVendorType$inboundSchema, VendorVendorType$outboundSchema, VendorVendorType$, Two2$inboundSchema, Two2$outboundSchema, Two2$, PaymentProfile2$inboundSchema, PaymentProfile2$outboundSchema, PaymentProfile2$, PaymentProfile1$inboundSchema, PaymentProfile1$outboundSchema, PaymentProfile1$, PaymentProfilePaymentProfile$inboundSchema, PaymentProfilePaymentProfile$outboundSchema, PaymentProfilePaymentProfile$, PaymentProfile$inboundSchema, PaymentProfile$outboundSchema, PaymentProfile$, PaymentResponsibility$inboundSchema, PaymentResponsibility$outboundSchema, PaymentResponsibility$, Vendor$inboundSchema, Vendor$outboundSchema, Vendor$;
|
|
38238
38696
|
var init_vendor = __esm(() => {
|
|
38239
38697
|
init_lib();
|
|
38240
38698
|
init_primitives();
|
|
@@ -38319,6 +38777,18 @@ var init_vendor = __esm(() => {
|
|
|
38319
38777
|
VendorVendorType$.inboundSchema = VendorVendorType$inboundSchema;
|
|
38320
38778
|
VendorVendorType$.outboundSchema = VendorVendorType$outboundSchema;
|
|
38321
38779
|
})(VendorVendorType$ ||= {});
|
|
38780
|
+
Two2$inboundSchema = objectType({});
|
|
38781
|
+
Two2$outboundSchema = objectType({});
|
|
38782
|
+
((Two2$) => {
|
|
38783
|
+
Two2$.inboundSchema = Two2$inboundSchema;
|
|
38784
|
+
Two2$.outboundSchema = Two2$outboundSchema;
|
|
38785
|
+
})(Two2$ ||= {});
|
|
38786
|
+
PaymentProfile2$inboundSchema = unionType([lazyType(() => Two2$inboundSchema), numberType().int()]);
|
|
38787
|
+
PaymentProfile2$outboundSchema = unionType([lazyType(() => Two2$outboundSchema), numberType().int()]);
|
|
38788
|
+
((PaymentProfile2$) => {
|
|
38789
|
+
PaymentProfile2$.inboundSchema = PaymentProfile2$inboundSchema;
|
|
38790
|
+
PaymentProfile2$.outboundSchema = PaymentProfile2$outboundSchema;
|
|
38791
|
+
})(PaymentProfile2$ ||= {});
|
|
38322
38792
|
PaymentProfile1$inboundSchema = objectType({
|
|
38323
38793
|
id: numberType().int().optional(),
|
|
38324
38794
|
is_valid: nullableType(booleanType()).optional(),
|
|
@@ -38355,18 +38825,30 @@ var init_vendor = __esm(() => {
|
|
|
38355
38825
|
PaymentProfile1$.inboundSchema = PaymentProfile1$inboundSchema;
|
|
38356
38826
|
PaymentProfile1$.outboundSchema = PaymentProfile1$outboundSchema;
|
|
38357
38827
|
})(PaymentProfile1$ ||= {});
|
|
38358
|
-
PaymentProfilePaymentProfile$inboundSchema = unionType([
|
|
38359
|
-
|
|
38828
|
+
PaymentProfilePaymentProfile$inboundSchema = unionType([
|
|
38829
|
+
lazyType(() => PaymentProfile1$inboundSchema),
|
|
38830
|
+
unionType([lazyType(() => Two2$inboundSchema), numberType().int()])
|
|
38831
|
+
]);
|
|
38832
|
+
PaymentProfilePaymentProfile$outboundSchema = unionType([
|
|
38833
|
+
lazyType(() => PaymentProfile1$outboundSchema),
|
|
38834
|
+
unionType([lazyType(() => Two2$outboundSchema), numberType().int()])
|
|
38835
|
+
]);
|
|
38360
38836
|
((PaymentProfilePaymentProfile$) => {
|
|
38361
38837
|
PaymentProfilePaymentProfile$.inboundSchema = PaymentProfilePaymentProfile$inboundSchema;
|
|
38362
38838
|
PaymentProfilePaymentProfile$.outboundSchema = PaymentProfilePaymentProfile$outboundSchema;
|
|
38363
38839
|
})(PaymentProfilePaymentProfile$ ||= {});
|
|
38364
38840
|
PaymentProfile$inboundSchema = unionType([
|
|
38365
|
-
unionType([
|
|
38841
|
+
unionType([
|
|
38842
|
+
lazyType(() => PaymentProfile1$inboundSchema),
|
|
38843
|
+
unionType([lazyType(() => Two2$inboundSchema), numberType().int()])
|
|
38844
|
+
]),
|
|
38366
38845
|
numberType().int()
|
|
38367
38846
|
]);
|
|
38368
38847
|
PaymentProfile$outboundSchema = unionType([
|
|
38369
|
-
unionType([
|
|
38848
|
+
unionType([
|
|
38849
|
+
lazyType(() => PaymentProfile1$outboundSchema),
|
|
38850
|
+
unionType([lazyType(() => Two2$outboundSchema), numberType().int()])
|
|
38851
|
+
]),
|
|
38370
38852
|
numberType().int()
|
|
38371
38853
|
]);
|
|
38372
38854
|
((PaymentProfile$) => {
|
|
@@ -38464,7 +38946,7 @@ var init_vendor = __esm(() => {
|
|
|
38464
38946
|
payment_profile: nullableType(unionType([
|
|
38465
38947
|
unionType([
|
|
38466
38948
|
lazyType(() => PaymentProfile1$inboundSchema),
|
|
38467
|
-
numberType().int()
|
|
38949
|
+
unionType([lazyType(() => Two2$inboundSchema), numberType().int()])
|
|
38468
38950
|
]),
|
|
38469
38951
|
numberType().int()
|
|
38470
38952
|
])).optional(),
|
|
@@ -38506,7 +38988,10 @@ var init_vendor = __esm(() => {
|
|
|
38506
38988
|
driversLicense: nullableType(ImageSet$outboundSchema).optional(),
|
|
38507
38989
|
imageUrls: nullableType(ImageSet$outboundSchema).optional(),
|
|
38508
38990
|
paymentProfile: nullableType(unionType([
|
|
38509
|
-
unionType([
|
|
38991
|
+
unionType([
|
|
38992
|
+
lazyType(() => PaymentProfile1$outboundSchema),
|
|
38993
|
+
unionType([lazyType(() => Two2$outboundSchema), numberType().int()])
|
|
38994
|
+
]),
|
|
38510
38995
|
numberType().int()
|
|
38511
38996
|
])).optional(),
|
|
38512
38997
|
primaryFacility: nullableType(Facility$outboundSchema).optional(),
|
|
@@ -38656,7 +39141,7 @@ var init_user = __esm(() => {
|
|
|
38656
39141
|
user_token: lazyType(() => UserToken$inboundSchema),
|
|
38657
39142
|
vendor: Vendor$inboundSchema.optional(),
|
|
38658
39143
|
inventory_manager: lazyType(() => InventoryManager$inboundSchema).optional(),
|
|
38659
|
-
contact: Contact$inboundSchema.optional(),
|
|
39144
|
+
contact: nullableType(Contact$inboundSchema).optional(),
|
|
38660
39145
|
company: nullableType(Company$inboundSchema).optional()
|
|
38661
39146
|
}).transform((v2) => {
|
|
38662
39147
|
return remap(v2, {
|
|
@@ -38672,7 +39157,7 @@ var init_user = __esm(() => {
|
|
|
38672
39157
|
userToken: lazyType(() => UserToken$outboundSchema),
|
|
38673
39158
|
vendor: Vendor$outboundSchema.optional(),
|
|
38674
39159
|
inventoryManager: lazyType(() => InventoryManager$outboundSchema).optional(),
|
|
38675
|
-
contact: Contact$outboundSchema.optional(),
|
|
39160
|
+
contact: nullableType(Contact$outboundSchema).optional(),
|
|
38676
39161
|
company: nullableType(Company$outboundSchema).optional()
|
|
38677
39162
|
}).transform((v2) => {
|
|
38678
39163
|
return remap(v2, {
|
|
@@ -38711,12 +39196,205 @@ var init_vendoradditionalfacilityfields = __esm(() => {
|
|
|
38711
39196
|
})(VendorAdditionalFacilityFields$ ||= {});
|
|
38712
39197
|
});
|
|
38713
39198
|
|
|
39199
|
+
// src/models/components/vendorcredentialfile.ts
|
|
39200
|
+
var VendorCredential$inboundSchema, VendorCredential$outboundSchema, VendorCredential$, VendorCredentialFileFile$inboundSchema, VendorCredentialFileFile$outboundSchema, VendorCredentialFileFile$, VendorCredentialFileCredentialDocument$inboundSchema, VendorCredentialFileCredentialDocument$outboundSchema, VendorCredentialFileCredentialDocument$, VendorCredentialFile$inboundSchema, VendorCredentialFile$outboundSchema, VendorCredentialFile$;
|
|
39201
|
+
var init_vendorcredentialfile = __esm(() => {
|
|
39202
|
+
init_lib();
|
|
39203
|
+
init_primitives();
|
|
39204
|
+
init_credentialdocument();
|
|
39205
|
+
init_vendorcredentialsummary();
|
|
39206
|
+
VendorCredential$inboundSchema = unionType([
|
|
39207
|
+
lazyType(() => VendorCredentialSummary$inboundSchema),
|
|
39208
|
+
numberType().int()
|
|
39209
|
+
]);
|
|
39210
|
+
VendorCredential$outboundSchema = unionType([
|
|
39211
|
+
lazyType(() => VendorCredentialSummary$outboundSchema),
|
|
39212
|
+
numberType().int()
|
|
39213
|
+
]);
|
|
39214
|
+
((VendorCredential$) => {
|
|
39215
|
+
VendorCredential$.inboundSchema = VendorCredential$inboundSchema;
|
|
39216
|
+
VendorCredential$.outboundSchema = VendorCredential$outboundSchema;
|
|
39217
|
+
})(VendorCredential$ ||= {});
|
|
39218
|
+
VendorCredentialFileFile$inboundSchema = objectType({
|
|
39219
|
+
file_name: nullableType(stringType()).optional(),
|
|
39220
|
+
content_type: nullableType(stringType()).optional(),
|
|
39221
|
+
file_size: nullableType(numberType().int()).optional(),
|
|
39222
|
+
updated_at: nullableType(stringType()).optional(),
|
|
39223
|
+
url: nullableType(stringType()).optional()
|
|
39224
|
+
}).transform((v2) => {
|
|
39225
|
+
return remap(v2, {
|
|
39226
|
+
file_name: "fileName",
|
|
39227
|
+
content_type: "contentType",
|
|
39228
|
+
file_size: "fileSize",
|
|
39229
|
+
updated_at: "updatedAt"
|
|
39230
|
+
});
|
|
39231
|
+
});
|
|
39232
|
+
VendorCredentialFileFile$outboundSchema = objectType({
|
|
39233
|
+
fileName: nullableType(stringType()).optional(),
|
|
39234
|
+
contentType: nullableType(stringType()).optional(),
|
|
39235
|
+
fileSize: nullableType(numberType().int()).optional(),
|
|
39236
|
+
updatedAt: nullableType(stringType()).optional(),
|
|
39237
|
+
url: nullableType(stringType()).optional()
|
|
39238
|
+
}).transform((v2) => {
|
|
39239
|
+
return remap(v2, {
|
|
39240
|
+
fileName: "file_name",
|
|
39241
|
+
contentType: "content_type",
|
|
39242
|
+
fileSize: "file_size",
|
|
39243
|
+
updatedAt: "updated_at"
|
|
39244
|
+
});
|
|
39245
|
+
});
|
|
39246
|
+
((VendorCredentialFileFile$) => {
|
|
39247
|
+
VendorCredentialFileFile$.inboundSchema = VendorCredentialFileFile$inboundSchema;
|
|
39248
|
+
VendorCredentialFileFile$.outboundSchema = VendorCredentialFileFile$outboundSchema;
|
|
39249
|
+
})(VendorCredentialFileFile$ ||= {});
|
|
39250
|
+
VendorCredentialFileCredentialDocument$inboundSchema = unionType([CredentialDocument$inboundSchema, numberType().int()]);
|
|
39251
|
+
VendorCredentialFileCredentialDocument$outboundSchema = unionType([CredentialDocument$outboundSchema, numberType().int()]);
|
|
39252
|
+
((VendorCredentialFileCredentialDocument$) => {
|
|
39253
|
+
VendorCredentialFileCredentialDocument$.inboundSchema = VendorCredentialFileCredentialDocument$inboundSchema;
|
|
39254
|
+
VendorCredentialFileCredentialDocument$.outboundSchema = VendorCredentialFileCredentialDocument$outboundSchema;
|
|
39255
|
+
})(VendorCredentialFileCredentialDocument$ ||= {});
|
|
39256
|
+
VendorCredentialFile$inboundSchema = objectType({
|
|
39257
|
+
id: numberType().int().optional(),
|
|
39258
|
+
vendor_credential: nullableType(unionType([
|
|
39259
|
+
lazyType(() => VendorCredentialSummary$inboundSchema),
|
|
39260
|
+
numberType().int()
|
|
39261
|
+
])).optional(),
|
|
39262
|
+
date_uploaded: nullableType(stringType()).optional(),
|
|
39263
|
+
uploaded_by_id: nullableType(numberType().int()).optional(),
|
|
39264
|
+
is_decline: nullableType(booleanType()).optional(),
|
|
39265
|
+
file: lazyType(() => VendorCredentialFileFile$inboundSchema).optional(),
|
|
39266
|
+
processed: booleanType().optional(),
|
|
39267
|
+
name: nullableType(stringType()).optional(),
|
|
39268
|
+
credential_document: nullableType(unionType([CredentialDocument$inboundSchema, numberType().int()])).optional()
|
|
39269
|
+
}).transform((v2) => {
|
|
39270
|
+
return remap(v2, {
|
|
39271
|
+
vendor_credential: "vendorCredential",
|
|
39272
|
+
date_uploaded: "dateUploaded",
|
|
39273
|
+
uploaded_by_id: "uploadedById",
|
|
39274
|
+
is_decline: "isDecline",
|
|
39275
|
+
credential_document: "credentialDocument"
|
|
39276
|
+
});
|
|
39277
|
+
});
|
|
39278
|
+
VendorCredentialFile$outboundSchema = objectType({
|
|
39279
|
+
id: numberType().int().optional(),
|
|
39280
|
+
vendorCredential: nullableType(unionType([
|
|
39281
|
+
lazyType(() => VendorCredentialSummary$outboundSchema),
|
|
39282
|
+
numberType().int()
|
|
39283
|
+
])).optional(),
|
|
39284
|
+
dateUploaded: nullableType(stringType()).optional(),
|
|
39285
|
+
uploadedById: nullableType(numberType().int()).optional(),
|
|
39286
|
+
isDecline: nullableType(booleanType()).optional(),
|
|
39287
|
+
file: lazyType(() => VendorCredentialFileFile$outboundSchema).optional(),
|
|
39288
|
+
processed: booleanType().optional(),
|
|
39289
|
+
name: nullableType(stringType()).optional(),
|
|
39290
|
+
credentialDocument: nullableType(unionType([CredentialDocument$outboundSchema, numberType().int()])).optional()
|
|
39291
|
+
}).transform((v2) => {
|
|
39292
|
+
return remap(v2, {
|
|
39293
|
+
vendorCredential: "vendor_credential",
|
|
39294
|
+
dateUploaded: "date_uploaded",
|
|
39295
|
+
uploadedById: "uploaded_by_id",
|
|
39296
|
+
isDecline: "is_decline",
|
|
39297
|
+
credentialDocument: "credential_document"
|
|
39298
|
+
});
|
|
39299
|
+
});
|
|
39300
|
+
((VendorCredentialFile$) => {
|
|
39301
|
+
VendorCredentialFile$.inboundSchema = VendorCredentialFile$inboundSchema;
|
|
39302
|
+
VendorCredentialFile$.outboundSchema = VendorCredentialFile$outboundSchema;
|
|
39303
|
+
})(VendorCredentialFile$ ||= {});
|
|
39304
|
+
});
|
|
39305
|
+
|
|
38714
39306
|
// src/models/components/vendorcredentialsummary.ts
|
|
38715
|
-
var VendorCredentialSummary$inboundSchema, VendorCredentialSummary$outboundSchema, VendorCredentialSummary$;
|
|
39307
|
+
var VendorCredentialSummaryCredential$inboundSchema, VendorCredentialSummaryCredential$outboundSchema, VendorCredentialSummaryCredential$, VendorCredentialSummaryVendor$inboundSchema, VendorCredentialSummaryVendor$outboundSchema, VendorCredentialSummaryVendor$, VendorCredentialSummaryInvoice$inboundSchema, VendorCredentialSummaryInvoice$outboundSchema, VendorCredentialSummaryInvoice$, UnsatisfiedDependencies$inboundSchema, UnsatisfiedDependencies$outboundSchema, UnsatisfiedDependencies$, ExpeditedOffers$inboundSchema, ExpeditedOffers$outboundSchema, ExpeditedOffers$, VendorCredentialSummary$inboundSchema, VendorCredentialSummary$outboundSchema, VendorCredentialSummary$;
|
|
38716
39308
|
var init_vendorcredentialsummary = __esm(() => {
|
|
38717
39309
|
init_lib();
|
|
38718
39310
|
init_primitives();
|
|
39311
|
+
init_backgroundcheckresult();
|
|
38719
39312
|
init_company();
|
|
39313
|
+
init_credential();
|
|
39314
|
+
init_invoice();
|
|
39315
|
+
init_vendor();
|
|
39316
|
+
init_vendorcredentialdatarequest();
|
|
39317
|
+
init_vendorcredentialfile();
|
|
39318
|
+
VendorCredentialSummaryCredential$inboundSchema = unionType([Credential$inboundSchema, numberType().int()]);
|
|
39319
|
+
VendorCredentialSummaryCredential$outboundSchema = unionType([Credential$outboundSchema, numberType().int()]);
|
|
39320
|
+
((VendorCredentialSummaryCredential$) => {
|
|
39321
|
+
VendorCredentialSummaryCredential$.inboundSchema = VendorCredentialSummaryCredential$inboundSchema;
|
|
39322
|
+
VendorCredentialSummaryCredential$.outboundSchema = VendorCredentialSummaryCredential$outboundSchema;
|
|
39323
|
+
})(VendorCredentialSummaryCredential$ ||= {});
|
|
39324
|
+
VendorCredentialSummaryVendor$inboundSchema = unionType([Vendor$inboundSchema, numberType().int()]);
|
|
39325
|
+
VendorCredentialSummaryVendor$outboundSchema = unionType([Vendor$outboundSchema, numberType().int()]);
|
|
39326
|
+
((VendorCredentialSummaryVendor$) => {
|
|
39327
|
+
VendorCredentialSummaryVendor$.inboundSchema = VendorCredentialSummaryVendor$inboundSchema;
|
|
39328
|
+
VendorCredentialSummaryVendor$.outboundSchema = VendorCredentialSummaryVendor$outboundSchema;
|
|
39329
|
+
})(VendorCredentialSummaryVendor$ ||= {});
|
|
39330
|
+
VendorCredentialSummaryInvoice$inboundSchema = unionType([Invoice$inboundSchema, numberType().int()]);
|
|
39331
|
+
VendorCredentialSummaryInvoice$outboundSchema = unionType([Invoice$outboundSchema, numberType().int()]);
|
|
39332
|
+
((VendorCredentialSummaryInvoice$) => {
|
|
39333
|
+
VendorCredentialSummaryInvoice$.inboundSchema = VendorCredentialSummaryInvoice$inboundSchema;
|
|
39334
|
+
VendorCredentialSummaryInvoice$.outboundSchema = VendorCredentialSummaryInvoice$outboundSchema;
|
|
39335
|
+
})(VendorCredentialSummaryInvoice$ ||= {});
|
|
39336
|
+
UnsatisfiedDependencies$inboundSchema = objectType({
|
|
39337
|
+
credential_id: nullableType(numberType().int()).optional(),
|
|
39338
|
+
depends_on_id: nullableType(numberType().int()).optional(),
|
|
39339
|
+
depends_on_name: nullableType(stringType()).optional(),
|
|
39340
|
+
require_approved: booleanType().optional(),
|
|
39341
|
+
vendor_credential_id: nullableType(numberType().int()).optional()
|
|
39342
|
+
}).transform((v2) => {
|
|
39343
|
+
return remap(v2, {
|
|
39344
|
+
credential_id: "credentialId",
|
|
39345
|
+
depends_on_id: "dependsOnId",
|
|
39346
|
+
depends_on_name: "dependsOnName",
|
|
39347
|
+
require_approved: "requireApproved",
|
|
39348
|
+
vendor_credential_id: "vendorCredentialId"
|
|
39349
|
+
});
|
|
39350
|
+
});
|
|
39351
|
+
UnsatisfiedDependencies$outboundSchema = objectType({
|
|
39352
|
+
credentialId: nullableType(numberType().int()).optional(),
|
|
39353
|
+
dependsOnId: nullableType(numberType().int()).optional(),
|
|
39354
|
+
dependsOnName: nullableType(stringType()).optional(),
|
|
39355
|
+
requireApproved: booleanType().optional(),
|
|
39356
|
+
vendorCredentialId: nullableType(numberType().int()).optional()
|
|
39357
|
+
}).transform((v2) => {
|
|
39358
|
+
return remap(v2, {
|
|
39359
|
+
credentialId: "credential_id",
|
|
39360
|
+
dependsOnId: "depends_on_id",
|
|
39361
|
+
dependsOnName: "depends_on_name",
|
|
39362
|
+
requireApproved: "require_approved",
|
|
39363
|
+
vendorCredentialId: "vendor_credential_id"
|
|
39364
|
+
});
|
|
39365
|
+
});
|
|
39366
|
+
((UnsatisfiedDependencies$) => {
|
|
39367
|
+
UnsatisfiedDependencies$.inboundSchema = UnsatisfiedDependencies$inboundSchema;
|
|
39368
|
+
UnsatisfiedDependencies$.outboundSchema = UnsatisfiedDependencies$outboundSchema;
|
|
39369
|
+
})(UnsatisfiedDependencies$ ||= {});
|
|
39370
|
+
ExpeditedOffers$inboundSchema = objectType({
|
|
39371
|
+
id: numberType().int().optional(),
|
|
39372
|
+
product_id: nullableType(numberType().int()).optional(),
|
|
39373
|
+
price: nullableType(numberType()).optional(),
|
|
39374
|
+
option1: nullableType(stringType()).optional(),
|
|
39375
|
+
option2: nullableType(stringType()).optional(),
|
|
39376
|
+
option3: nullableType(stringType()).optional()
|
|
39377
|
+
}).transform((v2) => {
|
|
39378
|
+
return remap(v2, {
|
|
39379
|
+
product_id: "productId"
|
|
39380
|
+
});
|
|
39381
|
+
});
|
|
39382
|
+
ExpeditedOffers$outboundSchema = objectType({
|
|
39383
|
+
id: numberType().int().optional(),
|
|
39384
|
+
productId: nullableType(numberType().int()).optional(),
|
|
39385
|
+
price: nullableType(numberType()).optional(),
|
|
39386
|
+
option1: nullableType(stringType()).optional(),
|
|
39387
|
+
option2: nullableType(stringType()).optional(),
|
|
39388
|
+
option3: nullableType(stringType()).optional()
|
|
39389
|
+
}).transform((v2) => {
|
|
39390
|
+
return remap(v2, {
|
|
39391
|
+
productId: "product_id"
|
|
39392
|
+
});
|
|
39393
|
+
});
|
|
39394
|
+
((ExpeditedOffers$) => {
|
|
39395
|
+
ExpeditedOffers$.inboundSchema = ExpeditedOffers$inboundSchema;
|
|
39396
|
+
ExpeditedOffers$.outboundSchema = ExpeditedOffers$outboundSchema;
|
|
39397
|
+
})(ExpeditedOffers$ ||= {});
|
|
38720
39398
|
VendorCredentialSummary$inboundSchema = objectType({
|
|
38721
39399
|
id: numberType().int(),
|
|
38722
39400
|
status: nullableType(stringType()).optional(),
|
|
@@ -38724,11 +39402,38 @@ var init_vendorcredentialsummary = __esm(() => {
|
|
|
38724
39402
|
date_due: nullableType(stringType()).optional(),
|
|
38725
39403
|
date_expires: nullableType(stringType()).optional(),
|
|
38726
39404
|
notes: nullableType(stringType()).optional(),
|
|
38727
|
-
expedited: booleanType().optional()
|
|
39405
|
+
expedited: booleanType().optional(),
|
|
39406
|
+
credential: nullableType(unionType([Credential$inboundSchema, numberType().int()])).optional(),
|
|
39407
|
+
vendor: nullableType(unionType([Vendor$inboundSchema, numberType().int()])).optional(),
|
|
39408
|
+
invoice: nullableType(unionType([Invoice$inboundSchema, numberType().int()])).optional(),
|
|
39409
|
+
vendor_credential_files: arrayType(nullableType(lazyType(() => VendorCredentialFile$inboundSchema))).optional(),
|
|
39410
|
+
latest_vendor_credential_id: nullableType(numberType().int()).optional(),
|
|
39411
|
+
previously_approved: nullableType(booleanType()).optional(),
|
|
39412
|
+
unsatisfied_dependencies: nullableType(arrayType(lazyType(() => UnsatisfiedDependencies$inboundSchema))).optional(),
|
|
39413
|
+
allow_expediting: nullableType(booleanType()).optional(),
|
|
39414
|
+
unpaid_expedited_invoice_id: nullableType(numberType().int()).optional(),
|
|
39415
|
+
expedited_offers: nullableType(arrayType(lazyType(() => ExpeditedOffers$inboundSchema))).optional(),
|
|
39416
|
+
background_check_results: nullableType(BackgroundCheckResult$inboundSchema).optional(),
|
|
39417
|
+
vendor_credential_default_status: nullableType(stringType()).optional(),
|
|
39418
|
+
vendor_credential_data_requests: nullableType(arrayType(nullableType(lazyType(() => VendorCredentialDataRequest$inboundSchema)))).optional(),
|
|
39419
|
+
credential_variants: nullableType(arrayType(anyType())).optional(),
|
|
39420
|
+
targets_chop: nullableType(booleanType()).optional()
|
|
38728
39421
|
}).transform((v2) => {
|
|
38729
39422
|
return remap(v2, {
|
|
38730
39423
|
date_due: "dateDue",
|
|
38731
|
-
date_expires: "dateExpires"
|
|
39424
|
+
date_expires: "dateExpires",
|
|
39425
|
+
vendor_credential_files: "vendorCredentialFiles",
|
|
39426
|
+
latest_vendor_credential_id: "latestVendorCredentialId",
|
|
39427
|
+
previously_approved: "previouslyApproved",
|
|
39428
|
+
unsatisfied_dependencies: "unsatisfiedDependencies",
|
|
39429
|
+
allow_expediting: "allowExpediting",
|
|
39430
|
+
unpaid_expedited_invoice_id: "unpaidExpeditedInvoiceId",
|
|
39431
|
+
expedited_offers: "expeditedOffers",
|
|
39432
|
+
background_check_results: "backgroundCheckResults",
|
|
39433
|
+
vendor_credential_default_status: "vendorCredentialDefaultStatus",
|
|
39434
|
+
vendor_credential_data_requests: "vendorCredentialDataRequests",
|
|
39435
|
+
credential_variants: "credentialVariants",
|
|
39436
|
+
targets_chop: "targetsChop"
|
|
38732
39437
|
});
|
|
38733
39438
|
});
|
|
38734
39439
|
VendorCredentialSummary$outboundSchema = objectType({
|
|
@@ -38738,11 +39443,38 @@ var init_vendorcredentialsummary = __esm(() => {
|
|
|
38738
39443
|
dateDue: nullableType(stringType()).optional(),
|
|
38739
39444
|
dateExpires: nullableType(stringType()).optional(),
|
|
38740
39445
|
notes: nullableType(stringType()).optional(),
|
|
38741
|
-
expedited: booleanType().optional()
|
|
39446
|
+
expedited: booleanType().optional(),
|
|
39447
|
+
credential: nullableType(unionType([Credential$outboundSchema, numberType().int()])).optional(),
|
|
39448
|
+
vendor: nullableType(unionType([Vendor$outboundSchema, numberType().int()])).optional(),
|
|
39449
|
+
invoice: nullableType(unionType([Invoice$outboundSchema, numberType().int()])).optional(),
|
|
39450
|
+
vendorCredentialFiles: arrayType(nullableType(lazyType(() => VendorCredentialFile$outboundSchema))).optional(),
|
|
39451
|
+
latestVendorCredentialId: nullableType(numberType().int()).optional(),
|
|
39452
|
+
previouslyApproved: nullableType(booleanType()).optional(),
|
|
39453
|
+
unsatisfiedDependencies: nullableType(arrayType(lazyType(() => UnsatisfiedDependencies$outboundSchema))).optional(),
|
|
39454
|
+
allowExpediting: nullableType(booleanType()).optional(),
|
|
39455
|
+
unpaidExpeditedInvoiceId: nullableType(numberType().int()).optional(),
|
|
39456
|
+
expeditedOffers: nullableType(arrayType(lazyType(() => ExpeditedOffers$outboundSchema))).optional(),
|
|
39457
|
+
backgroundCheckResults: nullableType(BackgroundCheckResult$outboundSchema).optional(),
|
|
39458
|
+
vendorCredentialDefaultStatus: nullableType(stringType()).optional(),
|
|
39459
|
+
vendorCredentialDataRequests: nullableType(arrayType(nullableType(lazyType(() => VendorCredentialDataRequest$outboundSchema)))).optional(),
|
|
39460
|
+
credentialVariants: nullableType(arrayType(anyType())).optional(),
|
|
39461
|
+
targetsChop: nullableType(booleanType()).optional()
|
|
38742
39462
|
}).transform((v2) => {
|
|
38743
39463
|
return remap(v2, {
|
|
38744
39464
|
dateDue: "date_due",
|
|
38745
|
-
dateExpires: "date_expires"
|
|
39465
|
+
dateExpires: "date_expires",
|
|
39466
|
+
vendorCredentialFiles: "vendor_credential_files",
|
|
39467
|
+
latestVendorCredentialId: "latest_vendor_credential_id",
|
|
39468
|
+
previouslyApproved: "previously_approved",
|
|
39469
|
+
unsatisfiedDependencies: "unsatisfied_dependencies",
|
|
39470
|
+
allowExpediting: "allow_expediting",
|
|
39471
|
+
unpaidExpeditedInvoiceId: "unpaid_expedited_invoice_id",
|
|
39472
|
+
expeditedOffers: "expedited_offers",
|
|
39473
|
+
backgroundCheckResults: "background_check_results",
|
|
39474
|
+
vendorCredentialDefaultStatus: "vendor_credential_default_status",
|
|
39475
|
+
vendorCredentialDataRequests: "vendor_credential_data_requests",
|
|
39476
|
+
credentialVariants: "credential_variants",
|
|
39477
|
+
targetsChop: "targets_chop"
|
|
38746
39478
|
});
|
|
38747
39479
|
});
|
|
38748
39480
|
((VendorCredentialSummary$) => {
|
|
@@ -38751,6 +39483,121 @@ var init_vendorcredentialsummary = __esm(() => {
|
|
|
38751
39483
|
})(VendorCredentialSummary$ ||= {});
|
|
38752
39484
|
});
|
|
38753
39485
|
|
|
39486
|
+
// src/models/components/vendorcredentialdatarequest.ts
|
|
39487
|
+
var VendorCredentialDataRequestStatus, VendorCredentialDataRequestVendorCredential$inboundSchema, VendorCredentialDataRequestVendorCredential$outboundSchema, VendorCredentialDataRequestVendorCredential$, VendorCredentialDataRequestDataRequest$inboundSchema, VendorCredentialDataRequestDataRequest$outboundSchema, VendorCredentialDataRequestDataRequest$, VendorCredentialDataRequestStatus$inboundSchema, VendorCredentialDataRequestStatus$outboundSchema, VendorCredentialDataRequestStatus$, VendorCredentialDataRequestFile$inboundSchema, VendorCredentialDataRequestFile$outboundSchema, VendorCredentialDataRequestFile$, VendorCredentialDataRequest$inboundSchema, VendorCredentialDataRequest$outboundSchema, VendorCredentialDataRequest$;
|
|
39488
|
+
var init_vendorcredentialdatarequest = __esm(() => {
|
|
39489
|
+
init_lib();
|
|
39490
|
+
init_primitives();
|
|
39491
|
+
init_datarequest();
|
|
39492
|
+
init_vendorcredentialsummary();
|
|
39493
|
+
VendorCredentialDataRequestStatus = {
|
|
39494
|
+
Requested: "Requested",
|
|
39495
|
+
Submitted: "Submitted"
|
|
39496
|
+
};
|
|
39497
|
+
VendorCredentialDataRequestVendorCredential$inboundSchema = unionType([
|
|
39498
|
+
lazyType(() => VendorCredentialSummary$inboundSchema),
|
|
39499
|
+
numberType().int()
|
|
39500
|
+
]);
|
|
39501
|
+
VendorCredentialDataRequestVendorCredential$outboundSchema = unionType([
|
|
39502
|
+
lazyType(() => VendorCredentialSummary$outboundSchema),
|
|
39503
|
+
numberType().int()
|
|
39504
|
+
]);
|
|
39505
|
+
((VendorCredentialDataRequestVendorCredential$) => {
|
|
39506
|
+
VendorCredentialDataRequestVendorCredential$.inboundSchema = VendorCredentialDataRequestVendorCredential$inboundSchema;
|
|
39507
|
+
VendorCredentialDataRequestVendorCredential$.outboundSchema = VendorCredentialDataRequestVendorCredential$outboundSchema;
|
|
39508
|
+
})(VendorCredentialDataRequestVendorCredential$ ||= {});
|
|
39509
|
+
VendorCredentialDataRequestDataRequest$inboundSchema = unionType([DataRequest$inboundSchema, numberType().int()]);
|
|
39510
|
+
VendorCredentialDataRequestDataRequest$outboundSchema = unionType([DataRequest$outboundSchema, numberType().int()]);
|
|
39511
|
+
((VendorCredentialDataRequestDataRequest$) => {
|
|
39512
|
+
VendorCredentialDataRequestDataRequest$.inboundSchema = VendorCredentialDataRequestDataRequest$inboundSchema;
|
|
39513
|
+
VendorCredentialDataRequestDataRequest$.outboundSchema = VendorCredentialDataRequestDataRequest$outboundSchema;
|
|
39514
|
+
})(VendorCredentialDataRequestDataRequest$ ||= {});
|
|
39515
|
+
VendorCredentialDataRequestStatus$inboundSchema = nativeEnumType(VendorCredentialDataRequestStatus);
|
|
39516
|
+
VendorCredentialDataRequestStatus$outboundSchema = VendorCredentialDataRequestStatus$inboundSchema;
|
|
39517
|
+
((VendorCredentialDataRequestStatus$) => {
|
|
39518
|
+
VendorCredentialDataRequestStatus$.inboundSchema = VendorCredentialDataRequestStatus$inboundSchema;
|
|
39519
|
+
VendorCredentialDataRequestStatus$.outboundSchema = VendorCredentialDataRequestStatus$outboundSchema;
|
|
39520
|
+
})(VendorCredentialDataRequestStatus$ ||= {});
|
|
39521
|
+
VendorCredentialDataRequestFile$inboundSchema = objectType({
|
|
39522
|
+
file_name: nullableType(stringType()).optional(),
|
|
39523
|
+
content_type: nullableType(stringType()).optional(),
|
|
39524
|
+
file_size: nullableType(numberType().int()).optional(),
|
|
39525
|
+
updated_at: nullableType(stringType()).optional(),
|
|
39526
|
+
url: nullableType(stringType()).optional(),
|
|
39527
|
+
url_expires: nullableType(stringType()).optional()
|
|
39528
|
+
}).transform((v2) => {
|
|
39529
|
+
return remap(v2, {
|
|
39530
|
+
file_name: "fileName",
|
|
39531
|
+
content_type: "contentType",
|
|
39532
|
+
file_size: "fileSize",
|
|
39533
|
+
updated_at: "updatedAt",
|
|
39534
|
+
url_expires: "urlExpires"
|
|
39535
|
+
});
|
|
39536
|
+
});
|
|
39537
|
+
VendorCredentialDataRequestFile$outboundSchema = objectType({
|
|
39538
|
+
fileName: nullableType(stringType()).optional(),
|
|
39539
|
+
contentType: nullableType(stringType()).optional(),
|
|
39540
|
+
fileSize: nullableType(numberType().int()).optional(),
|
|
39541
|
+
updatedAt: nullableType(stringType()).optional(),
|
|
39542
|
+
url: nullableType(stringType()).optional(),
|
|
39543
|
+
urlExpires: nullableType(stringType()).optional()
|
|
39544
|
+
}).transform((v2) => {
|
|
39545
|
+
return remap(v2, {
|
|
39546
|
+
fileName: "file_name",
|
|
39547
|
+
contentType: "content_type",
|
|
39548
|
+
fileSize: "file_size",
|
|
39549
|
+
updatedAt: "updated_at",
|
|
39550
|
+
urlExpires: "url_expires"
|
|
39551
|
+
});
|
|
39552
|
+
});
|
|
39553
|
+
((VendorCredentialDataRequestFile$) => {
|
|
39554
|
+
VendorCredentialDataRequestFile$.inboundSchema = VendorCredentialDataRequestFile$inboundSchema;
|
|
39555
|
+
VendorCredentialDataRequestFile$.outboundSchema = VendorCredentialDataRequestFile$outboundSchema;
|
|
39556
|
+
})(VendorCredentialDataRequestFile$ ||= {});
|
|
39557
|
+
VendorCredentialDataRequest$inboundSchema = objectType({
|
|
39558
|
+
id: numberType().int().optional(),
|
|
39559
|
+
vendor_credential: nullableType(unionType([
|
|
39560
|
+
lazyType(() => VendorCredentialSummary$inboundSchema),
|
|
39561
|
+
numberType().int()
|
|
39562
|
+
])).optional(),
|
|
39563
|
+
data_request: nullableType(unionType([DataRequest$inboundSchema, numberType().int()])).optional(),
|
|
39564
|
+
date_requested: nullableType(stringType()).optional(),
|
|
39565
|
+
value: nullableType(stringType()).optional(),
|
|
39566
|
+
status: VendorCredentialDataRequestStatus$inboundSchema.optional(),
|
|
39567
|
+
processed: booleanType().optional(),
|
|
39568
|
+
file: lazyType(() => VendorCredentialDataRequestFile$inboundSchema).optional()
|
|
39569
|
+
}).transform((v2) => {
|
|
39570
|
+
return remap(v2, {
|
|
39571
|
+
vendor_credential: "vendorCredential",
|
|
39572
|
+
data_request: "dataRequest",
|
|
39573
|
+
date_requested: "dateRequested"
|
|
39574
|
+
});
|
|
39575
|
+
});
|
|
39576
|
+
VendorCredentialDataRequest$outboundSchema = objectType({
|
|
39577
|
+
id: numberType().int().optional(),
|
|
39578
|
+
vendorCredential: nullableType(unionType([
|
|
39579
|
+
lazyType(() => VendorCredentialSummary$outboundSchema),
|
|
39580
|
+
numberType().int()
|
|
39581
|
+
])).optional(),
|
|
39582
|
+
dataRequest: nullableType(unionType([DataRequest$outboundSchema, numberType().int()])).optional(),
|
|
39583
|
+
dateRequested: nullableType(stringType()).optional(),
|
|
39584
|
+
value: nullableType(stringType()).optional(),
|
|
39585
|
+
status: VendorCredentialDataRequestStatus$outboundSchema.optional(),
|
|
39586
|
+
processed: booleanType().optional(),
|
|
39587
|
+
file: lazyType(() => VendorCredentialDataRequestFile$outboundSchema).optional()
|
|
39588
|
+
}).transform((v2) => {
|
|
39589
|
+
return remap(v2, {
|
|
39590
|
+
vendorCredential: "vendor_credential",
|
|
39591
|
+
dataRequest: "data_request",
|
|
39592
|
+
dateRequested: "date_requested"
|
|
39593
|
+
});
|
|
39594
|
+
});
|
|
39595
|
+
((VendorCredentialDataRequest$) => {
|
|
39596
|
+
VendorCredentialDataRequest$.inboundSchema = VendorCredentialDataRequest$inboundSchema;
|
|
39597
|
+
VendorCredentialDataRequest$.outboundSchema = VendorCredentialDataRequest$outboundSchema;
|
|
39598
|
+
})(VendorCredentialDataRequest$ ||= {});
|
|
39599
|
+
});
|
|
39600
|
+
|
|
38754
39601
|
// src/models/components/vendorcredentialscontainer.ts
|
|
38755
39602
|
var VendorCredentialsContainer$inboundSchema, VendorCredentialsContainer$outboundSchema, VendorCredentialsContainer$;
|
|
38756
39603
|
var init_vendorcredentialscontainer = __esm(() => {
|
|
@@ -38937,17 +39784,89 @@ var init_vendorrequiredcredential = __esm(() => {
|
|
|
38937
39784
|
companyCredentialIds: nullableType(stringType()).optional()
|
|
38938
39785
|
}).transform((v2) => {
|
|
38939
39786
|
return remap(v2, {
|
|
38940
|
-
vendorId: "vendor_id",
|
|
38941
|
-
facilityId: "facility_id",
|
|
38942
|
-
credentialIds: "credential_ids",
|
|
38943
|
-
dateCalculated: "date_calculated",
|
|
38944
|
-
companyCredentialIds: "company_credential_ids"
|
|
39787
|
+
vendorId: "vendor_id",
|
|
39788
|
+
facilityId: "facility_id",
|
|
39789
|
+
credentialIds: "credential_ids",
|
|
39790
|
+
dateCalculated: "date_calculated",
|
|
39791
|
+
companyCredentialIds: "company_credential_ids"
|
|
39792
|
+
});
|
|
39793
|
+
});
|
|
39794
|
+
((VendorRequiredCredential$) => {
|
|
39795
|
+
VendorRequiredCredential$.inboundSchema = VendorRequiredCredential$inboundSchema;
|
|
39796
|
+
VendorRequiredCredential$.outboundSchema = VendorRequiredCredential$outboundSchema;
|
|
39797
|
+
})(VendorRequiredCredential$ ||= {});
|
|
39798
|
+
});
|
|
39799
|
+
|
|
39800
|
+
// src/models/components/vendorscan.ts
|
|
39801
|
+
var VendorScanDepartment$inboundSchema, VendorScanDepartment$outboundSchema, VendorScanDepartment$, VendorScan$inboundSchema, VendorScan$outboundSchema, VendorScan$;
|
|
39802
|
+
var init_vendorscan = __esm(() => {
|
|
39803
|
+
init_lib();
|
|
39804
|
+
init_primitives();
|
|
39805
|
+
init_department();
|
|
39806
|
+
VendorScanDepartment$inboundSchema = unionType([Department$inboundSchema, numberType().int()]);
|
|
39807
|
+
VendorScanDepartment$outboundSchema = unionType([Department$outboundSchema, numberType().int()]);
|
|
39808
|
+
((VendorScanDepartment$) => {
|
|
39809
|
+
VendorScanDepartment$.inboundSchema = VendorScanDepartment$inboundSchema;
|
|
39810
|
+
VendorScanDepartment$.outboundSchema = VendorScanDepartment$outboundSchema;
|
|
39811
|
+
})(VendorScanDepartment$ ||= {});
|
|
39812
|
+
VendorScan$inboundSchema = objectType({
|
|
39813
|
+
id: nullableType(numberType().int()).optional(),
|
|
39814
|
+
qr_code: nullableType(stringType()).optional(),
|
|
39815
|
+
date_scanned: nullableType(stringType()).optional(),
|
|
39816
|
+
scan_error: nullableType(stringType()).optional(),
|
|
39817
|
+
reason: nullableType(stringType()).optional(),
|
|
39818
|
+
scan_success: booleanType().optional(),
|
|
39819
|
+
scan_type: nullableType(numberType().int()).optional(),
|
|
39820
|
+
notes: nullableType(stringType()).optional(),
|
|
39821
|
+
vendor: anyType().optional(),
|
|
39822
|
+
zone: anyType().optional(),
|
|
39823
|
+
department: nullableType(unionType([Department$inboundSchema, numberType().int()])).optional(),
|
|
39824
|
+
scan_in_vendor_scan_id: nullableType(numberType().int()).optional(),
|
|
39825
|
+
scan_out_vendor_scan_id: nullableType(numberType().int()).optional(),
|
|
39826
|
+
auto_scan_out: booleanType().optional()
|
|
39827
|
+
}).transform((v2) => {
|
|
39828
|
+
return remap(v2, {
|
|
39829
|
+
qr_code: "qrCode",
|
|
39830
|
+
date_scanned: "dateScanned",
|
|
39831
|
+
scan_error: "scanError",
|
|
39832
|
+
scan_success: "scanSuccess",
|
|
39833
|
+
scan_type: "scanType",
|
|
39834
|
+
scan_in_vendor_scan_id: "scanInVendorScanId",
|
|
39835
|
+
scan_out_vendor_scan_id: "scanOutVendorScanId",
|
|
39836
|
+
auto_scan_out: "autoScanOut"
|
|
39837
|
+
});
|
|
39838
|
+
});
|
|
39839
|
+
VendorScan$outboundSchema = objectType({
|
|
39840
|
+
id: nullableType(numberType().int()).optional(),
|
|
39841
|
+
qrCode: nullableType(stringType()).optional(),
|
|
39842
|
+
dateScanned: nullableType(stringType()).optional(),
|
|
39843
|
+
scanError: nullableType(stringType()).optional(),
|
|
39844
|
+
reason: nullableType(stringType()).optional(),
|
|
39845
|
+
scanSuccess: booleanType().optional(),
|
|
39846
|
+
scanType: nullableType(numberType().int()).optional(),
|
|
39847
|
+
notes: nullableType(stringType()).optional(),
|
|
39848
|
+
vendor: anyType().optional(),
|
|
39849
|
+
zone: anyType().optional(),
|
|
39850
|
+
department: nullableType(unionType([Department$outboundSchema, numberType().int()])).optional(),
|
|
39851
|
+
scanInVendorScanId: nullableType(numberType().int()).optional(),
|
|
39852
|
+
scanOutVendorScanId: nullableType(numberType().int()).optional(),
|
|
39853
|
+
autoScanOut: booleanType().optional()
|
|
39854
|
+
}).transform((v2) => {
|
|
39855
|
+
return remap(v2, {
|
|
39856
|
+
qrCode: "qr_code",
|
|
39857
|
+
dateScanned: "date_scanned",
|
|
39858
|
+
scanError: "scan_error",
|
|
39859
|
+
scanSuccess: "scan_success",
|
|
39860
|
+
scanType: "scan_type",
|
|
39861
|
+
scanInVendorScanId: "scan_in_vendor_scan_id",
|
|
39862
|
+
scanOutVendorScanId: "scan_out_vendor_scan_id",
|
|
39863
|
+
autoScanOut: "auto_scan_out"
|
|
38945
39864
|
});
|
|
38946
39865
|
});
|
|
38947
|
-
((
|
|
38948
|
-
|
|
38949
|
-
|
|
38950
|
-
})(
|
|
39866
|
+
((VendorScan$) => {
|
|
39867
|
+
VendorScan$.inboundSchema = VendorScan$inboundSchema;
|
|
39868
|
+
VendorScan$.outboundSchema = VendorScan$outboundSchema;
|
|
39869
|
+
})(VendorScan$ ||= {});
|
|
38951
39870
|
});
|
|
38952
39871
|
|
|
38953
39872
|
// src/models/components/vendorscrubdetails.ts
|
|
@@ -39105,10 +40024,14 @@ var init_webhookendpoint = __esm(() => {
|
|
|
39105
40024
|
// src/models/components/index.ts
|
|
39106
40025
|
var init_components = __esm(() => {
|
|
39107
40026
|
init_activestatus();
|
|
40027
|
+
init_backgroundcheckresult();
|
|
39108
40028
|
init_company();
|
|
39109
40029
|
init_contact();
|
|
40030
|
+
init_credential();
|
|
40031
|
+
init_credentialdocument();
|
|
39110
40032
|
init_credentialstatus();
|
|
39111
40033
|
init_credit();
|
|
40034
|
+
init_datarequest();
|
|
39112
40035
|
init_department();
|
|
39113
40036
|
init_departmentsummary();
|
|
39114
40037
|
init_desc();
|
|
@@ -39128,6 +40051,7 @@ var init_components = __esm(() => {
|
|
|
39128
40051
|
init_productvariant();
|
|
39129
40052
|
init_samlloginrequiredresponse();
|
|
39130
40053
|
init_scantype();
|
|
40054
|
+
init_screeningresponse();
|
|
39131
40055
|
init_security2();
|
|
39132
40056
|
init_state();
|
|
39133
40057
|
init_subscription();
|
|
@@ -39138,12 +40062,15 @@ var init_components = __esm(() => {
|
|
|
39138
40062
|
init_userlocation();
|
|
39139
40063
|
init_vendor();
|
|
39140
40064
|
init_vendoradditionalfacilityfields();
|
|
40065
|
+
init_vendorcredentialdatarequest();
|
|
40066
|
+
init_vendorcredentialfile();
|
|
39141
40067
|
init_vendorcredentialscontainer();
|
|
39142
40068
|
init_vendorcredentialsummary();
|
|
39143
40069
|
init_vendorfacilitystatusview();
|
|
39144
40070
|
init_vendorjobtitle();
|
|
39145
40071
|
init_vendormanagedbycompany();
|
|
39146
40072
|
init_vendorrequiredcredential();
|
|
40073
|
+
init_vendorscan();
|
|
39147
40074
|
init_vendorscrubdetails();
|
|
39148
40075
|
init_vendorscrubpurchase();
|
|
39149
40076
|
init_vendortype();
|
|
@@ -39268,7 +40195,7 @@ var init_createvendorregistration = __esm(() => {
|
|
|
39268
40195
|
});
|
|
39269
40196
|
|
|
39270
40197
|
// src/models/operations/deletevendormanagedbycompany.ts
|
|
39271
|
-
var DeleteVendorManagedByCompanyRequestBody$inboundSchema, DeleteVendorManagedByCompanyRequestBody$outboundSchema, DeleteVendorManagedByCompanyRequestBody$, DeleteVendorManagedByCompanyRequest$inboundSchema, DeleteVendorManagedByCompanyRequest$outboundSchema, DeleteVendorManagedByCompanyRequest$,
|
|
40198
|
+
var DeleteVendorManagedByCompanyRequestBody$inboundSchema, DeleteVendorManagedByCompanyRequestBody$outboundSchema, DeleteVendorManagedByCompanyRequestBody$, DeleteVendorManagedByCompanyRequest$inboundSchema, DeleteVendorManagedByCompanyRequest$outboundSchema, DeleteVendorManagedByCompanyRequest$, DeleteVendorManagedByCompanyDeleteVendorManagedByCompanyOk$inboundSchema, DeleteVendorManagedByCompanyDeleteVendorManagedByCompanyOk$outboundSchema, DeleteVendorManagedByCompanyDeleteVendorManagedByCompanyOk$;
|
|
39272
40199
|
var init_deletevendormanagedbycompany = __esm(() => {
|
|
39273
40200
|
init_lib();
|
|
39274
40201
|
init_primitives();
|
|
@@ -39312,20 +40239,20 @@ var init_deletevendormanagedbycompany = __esm(() => {
|
|
|
39312
40239
|
DeleteVendorManagedByCompanyRequest$.inboundSchema = DeleteVendorManagedByCompanyRequest$inboundSchema;
|
|
39313
40240
|
DeleteVendorManagedByCompanyRequest$.outboundSchema = DeleteVendorManagedByCompanyRequest$outboundSchema;
|
|
39314
40241
|
})(DeleteVendorManagedByCompanyRequest$ ||= {});
|
|
39315
|
-
|
|
40242
|
+
DeleteVendorManagedByCompanyDeleteVendorManagedByCompanyOk$inboundSchema = objectType({
|
|
39316
40243
|
success: booleanType()
|
|
39317
40244
|
});
|
|
39318
|
-
|
|
40245
|
+
DeleteVendorManagedByCompanyDeleteVendorManagedByCompanyOk$outboundSchema = objectType({
|
|
39319
40246
|
success: booleanType()
|
|
39320
40247
|
});
|
|
39321
|
-
((
|
|
39322
|
-
|
|
39323
|
-
|
|
39324
|
-
})(
|
|
40248
|
+
((DeleteVendorManagedByCompanyDeleteVendorManagedByCompanyOk$) => {
|
|
40249
|
+
DeleteVendorManagedByCompanyDeleteVendorManagedByCompanyOk$.inboundSchema = DeleteVendorManagedByCompanyDeleteVendorManagedByCompanyOk$inboundSchema;
|
|
40250
|
+
DeleteVendorManagedByCompanyDeleteVendorManagedByCompanyOk$.outboundSchema = DeleteVendorManagedByCompanyDeleteVendorManagedByCompanyOk$outboundSchema;
|
|
40251
|
+
})(DeleteVendorManagedByCompanyDeleteVendorManagedByCompanyOk$ ||= {});
|
|
39325
40252
|
});
|
|
39326
40253
|
|
|
39327
40254
|
// src/models/operations/expeditetimeremaining.ts
|
|
39328
|
-
var ExpediteTimeRemainingRequest$inboundSchema, ExpediteTimeRemainingRequest$outboundSchema, ExpediteTimeRemainingRequest$,
|
|
40255
|
+
var ExpediteTimeRemainingRequest$inboundSchema, ExpediteTimeRemainingRequest$outboundSchema, ExpediteTimeRemainingRequest$, ExpediteTimeRemainingGetExpediteTimeRemainingOk$inboundSchema, ExpediteTimeRemainingGetExpediteTimeRemainingOk$outboundSchema, ExpediteTimeRemainingGetExpediteTimeRemainingOk$;
|
|
39329
40256
|
var init_expeditetimeremaining = __esm(() => {
|
|
39330
40257
|
init_lib();
|
|
39331
40258
|
init_primitives();
|
|
@@ -39347,24 +40274,24 @@ var init_expeditetimeremaining = __esm(() => {
|
|
|
39347
40274
|
ExpediteTimeRemainingRequest$.inboundSchema = ExpediteTimeRemainingRequest$inboundSchema;
|
|
39348
40275
|
ExpediteTimeRemainingRequest$.outboundSchema = ExpediteTimeRemainingRequest$outboundSchema;
|
|
39349
40276
|
})(ExpediteTimeRemainingRequest$ ||= {});
|
|
39350
|
-
|
|
40277
|
+
ExpediteTimeRemainingGetExpediteTimeRemainingOk$inboundSchema = objectType({
|
|
39351
40278
|
seconds_remaining: numberType().int()
|
|
39352
40279
|
}).transform((v2) => {
|
|
39353
40280
|
return remap(v2, {
|
|
39354
40281
|
seconds_remaining: "secondsRemaining"
|
|
39355
40282
|
});
|
|
39356
40283
|
});
|
|
39357
|
-
|
|
40284
|
+
ExpediteTimeRemainingGetExpediteTimeRemainingOk$outboundSchema = objectType({
|
|
39358
40285
|
secondsRemaining: numberType().int()
|
|
39359
40286
|
}).transform((v2) => {
|
|
39360
40287
|
return remap(v2, {
|
|
39361
40288
|
secondsRemaining: "seconds_remaining"
|
|
39362
40289
|
});
|
|
39363
40290
|
});
|
|
39364
|
-
((
|
|
39365
|
-
|
|
39366
|
-
|
|
39367
|
-
})(
|
|
40291
|
+
((ExpediteTimeRemainingGetExpediteTimeRemainingOk$) => {
|
|
40292
|
+
ExpediteTimeRemainingGetExpediteTimeRemainingOk$.inboundSchema = ExpediteTimeRemainingGetExpediteTimeRemainingOk$inboundSchema;
|
|
40293
|
+
ExpediteTimeRemainingGetExpediteTimeRemainingOk$.outboundSchema = ExpediteTimeRemainingGetExpediteTimeRemainingOk$outboundSchema;
|
|
40294
|
+
})(ExpediteTimeRemainingGetExpediteTimeRemainingOk$ ||= {});
|
|
39368
40295
|
});
|
|
39369
40296
|
|
|
39370
40297
|
// src/models/operations/getfacility.ts
|
|
@@ -39418,6 +40345,54 @@ var init_getuserbyid = __esm(() => {
|
|
|
39418
40345
|
})(GetUserByIdRequest$ ||= {});
|
|
39419
40346
|
});
|
|
39420
40347
|
|
|
40348
|
+
// src/models/operations/getvendorcredentialdetails.ts
|
|
40349
|
+
var GetVendorCredentialDetailsRequest$inboundSchema, GetVendorCredentialDetailsRequest$outboundSchema, GetVendorCredentialDetailsRequest$, GetVendorCredentialDetailsResponseBody$inboundSchema, GetVendorCredentialDetailsResponseBody$outboundSchema, GetVendorCredentialDetailsResponseBody$;
|
|
40350
|
+
var init_getvendorcredentialdetails = __esm(() => {
|
|
40351
|
+
init_lib();
|
|
40352
|
+
init_primitives();
|
|
40353
|
+
init_components();
|
|
40354
|
+
GetVendorCredentialDetailsRequest$inboundSchema = objectType({
|
|
40355
|
+
vendor_id_or_me: stringType(),
|
|
40356
|
+
id: numberType().int(),
|
|
40357
|
+
expand: arrayType(Expand$inboundSchema).optional()
|
|
40358
|
+
}).transform((v2) => {
|
|
40359
|
+
return remap(v2, {
|
|
40360
|
+
vendor_id_or_me: "vendorIdOrMe"
|
|
40361
|
+
});
|
|
40362
|
+
});
|
|
40363
|
+
GetVendorCredentialDetailsRequest$outboundSchema = objectType({
|
|
40364
|
+
vendorIdOrMe: stringType(),
|
|
40365
|
+
id: numberType().int(),
|
|
40366
|
+
expand: arrayType(Expand$outboundSchema).optional()
|
|
40367
|
+
}).transform((v2) => {
|
|
40368
|
+
return remap(v2, {
|
|
40369
|
+
vendorIdOrMe: "vendor_id_or_me"
|
|
40370
|
+
});
|
|
40371
|
+
});
|
|
40372
|
+
((GetVendorCredentialDetailsRequest$) => {
|
|
40373
|
+
GetVendorCredentialDetailsRequest$.inboundSchema = GetVendorCredentialDetailsRequest$inboundSchema;
|
|
40374
|
+
GetVendorCredentialDetailsRequest$.outboundSchema = GetVendorCredentialDetailsRequest$outboundSchema;
|
|
40375
|
+
})(GetVendorCredentialDetailsRequest$ ||= {});
|
|
40376
|
+
GetVendorCredentialDetailsResponseBody$inboundSchema = objectType({
|
|
40377
|
+
vendor_credential: nullableType(VendorCredentialSummary$inboundSchema).optional()
|
|
40378
|
+
}).transform((v2) => {
|
|
40379
|
+
return remap(v2, {
|
|
40380
|
+
vendor_credential: "vendorCredential"
|
|
40381
|
+
});
|
|
40382
|
+
});
|
|
40383
|
+
GetVendorCredentialDetailsResponseBody$outboundSchema = objectType({
|
|
40384
|
+
vendorCredential: nullableType(VendorCredentialSummary$outboundSchema).optional()
|
|
40385
|
+
}).transform((v2) => {
|
|
40386
|
+
return remap(v2, {
|
|
40387
|
+
vendorCredential: "vendor_credential"
|
|
40388
|
+
});
|
|
40389
|
+
});
|
|
40390
|
+
((GetVendorCredentialDetailsResponseBody$) => {
|
|
40391
|
+
GetVendorCredentialDetailsResponseBody$.inboundSchema = GetVendorCredentialDetailsResponseBody$inboundSchema;
|
|
40392
|
+
GetVendorCredentialDetailsResponseBody$.outboundSchema = GetVendorCredentialDetailsResponseBody$outboundSchema;
|
|
40393
|
+
})(GetVendorCredentialDetailsResponseBody$ ||= {});
|
|
40394
|
+
});
|
|
40395
|
+
|
|
39421
40396
|
// src/models/operations/getvendorinvoicedetails.ts
|
|
39422
40397
|
var GetVendorInvoiceDetailsRequest$inboundSchema, GetVendorInvoiceDetailsRequest$outboundSchema, GetVendorInvoiceDetailsRequest$;
|
|
39423
40398
|
var init_getvendorinvoicedetails = __esm(() => {
|
|
@@ -39482,7 +40457,7 @@ var init_getwebhookendpoint = __esm(() => {
|
|
|
39482
40457
|
});
|
|
39483
40458
|
|
|
39484
40459
|
// src/models/operations/listallwebhookendpoints.ts
|
|
39485
|
-
var ListAllWebhookEndpointsRequest$inboundSchema, ListAllWebhookEndpointsRequest$outboundSchema, ListAllWebhookEndpointsRequest$,
|
|
40460
|
+
var ListAllWebhookEndpointsRequest$inboundSchema, ListAllWebhookEndpointsRequest$outboundSchema, ListAllWebhookEndpointsRequest$, ListAllWebhookEndpointsListAllWebhookEndpointsOk$inboundSchema, ListAllWebhookEndpointsListAllWebhookEndpointsOk$outboundSchema, ListAllWebhookEndpointsListAllWebhookEndpointsOk$;
|
|
39486
40461
|
var init_listallwebhookendpoints = __esm(() => {
|
|
39487
40462
|
init_lib();
|
|
39488
40463
|
init_primitives();
|
|
@@ -39511,18 +40486,18 @@ var init_listallwebhookendpoints = __esm(() => {
|
|
|
39511
40486
|
ListAllWebhookEndpointsRequest$.inboundSchema = ListAllWebhookEndpointsRequest$inboundSchema;
|
|
39512
40487
|
ListAllWebhookEndpointsRequest$.outboundSchema = ListAllWebhookEndpointsRequest$outboundSchema;
|
|
39513
40488
|
})(ListAllWebhookEndpointsRequest$ ||= {});
|
|
39514
|
-
|
|
40489
|
+
ListAllWebhookEndpointsListAllWebhookEndpointsOk$inboundSchema = objectType({
|
|
39515
40490
|
pager: Pager$inboundSchema,
|
|
39516
40491
|
items: arrayType(WebhookEndpoint$inboundSchema)
|
|
39517
40492
|
});
|
|
39518
|
-
|
|
40493
|
+
ListAllWebhookEndpointsListAllWebhookEndpointsOk$outboundSchema = objectType({
|
|
39519
40494
|
pager: Pager$outboundSchema,
|
|
39520
40495
|
items: arrayType(WebhookEndpoint$outboundSchema)
|
|
39521
40496
|
});
|
|
39522
|
-
((
|
|
39523
|
-
|
|
39524
|
-
|
|
39525
|
-
})(
|
|
40497
|
+
((ListAllWebhookEndpointsListAllWebhookEndpointsOk$) => {
|
|
40498
|
+
ListAllWebhookEndpointsListAllWebhookEndpointsOk$.inboundSchema = ListAllWebhookEndpointsListAllWebhookEndpointsOk$inboundSchema;
|
|
40499
|
+
ListAllWebhookEndpointsListAllWebhookEndpointsOk$.outboundSchema = ListAllWebhookEndpointsListAllWebhookEndpointsOk$outboundSchema;
|
|
40500
|
+
})(ListAllWebhookEndpointsListAllWebhookEndpointsOk$ ||= {});
|
|
39526
40501
|
});
|
|
39527
40502
|
|
|
39528
40503
|
// src/models/operations/listorsearchcompanies.ts
|
|
@@ -39824,7 +40799,7 @@ var init_listorsearchsupportarticles = __esm(() => {
|
|
|
39824
40799
|
});
|
|
39825
40800
|
|
|
39826
40801
|
// src/models/operations/listvendoradditionalfacilityfields.ts
|
|
39827
|
-
var ListVendorAdditionalFacilityFieldsRequest$inboundSchema, ListVendorAdditionalFacilityFieldsRequest$outboundSchema, ListVendorAdditionalFacilityFieldsRequest$,
|
|
40802
|
+
var ListVendorAdditionalFacilityFieldsRequest$inboundSchema, ListVendorAdditionalFacilityFieldsRequest$outboundSchema, ListVendorAdditionalFacilityFieldsRequest$, ListVendorAdditionalFacilityFieldsListVendorAdditionalFacilityFieldsOk$inboundSchema, ListVendorAdditionalFacilityFieldsListVendorAdditionalFacilityFieldsOk$outboundSchema, ListVendorAdditionalFacilityFieldsListVendorAdditionalFacilityFieldsOk$, ListVendorAdditionalFacilityFieldsResponse$inboundSchema, ListVendorAdditionalFacilityFieldsResponse$outboundSchema, ListVendorAdditionalFacilityFieldsResponse$;
|
|
39828
40803
|
var init_listvendoradditionalfacilityfields = __esm(() => {
|
|
39829
40804
|
init_lib();
|
|
39830
40805
|
init_primitives();
|
|
@@ -39857,27 +40832,27 @@ var init_listvendoradditionalfacilityfields = __esm(() => {
|
|
|
39857
40832
|
ListVendorAdditionalFacilityFieldsRequest$.inboundSchema = ListVendorAdditionalFacilityFieldsRequest$inboundSchema;
|
|
39858
40833
|
ListVendorAdditionalFacilityFieldsRequest$.outboundSchema = ListVendorAdditionalFacilityFieldsRequest$outboundSchema;
|
|
39859
40834
|
})(ListVendorAdditionalFacilityFieldsRequest$ ||= {});
|
|
39860
|
-
|
|
40835
|
+
ListVendorAdditionalFacilityFieldsListVendorAdditionalFacilityFieldsOk$inboundSchema = objectType({
|
|
39861
40836
|
items: arrayType(VendorAdditionalFacilityFields$inboundSchema),
|
|
39862
40837
|
pager: Pager$inboundSchema
|
|
39863
40838
|
});
|
|
39864
|
-
|
|
40839
|
+
ListVendorAdditionalFacilityFieldsListVendorAdditionalFacilityFieldsOk$outboundSchema = objectType({
|
|
39865
40840
|
items: arrayType(VendorAdditionalFacilityFields$outboundSchema),
|
|
39866
40841
|
pager: Pager$outboundSchema
|
|
39867
40842
|
});
|
|
39868
|
-
((
|
|
39869
|
-
|
|
39870
|
-
|
|
39871
|
-
})(
|
|
40843
|
+
((ListVendorAdditionalFacilityFieldsListVendorAdditionalFacilityFieldsOk$) => {
|
|
40844
|
+
ListVendorAdditionalFacilityFieldsListVendorAdditionalFacilityFieldsOk$.inboundSchema = ListVendorAdditionalFacilityFieldsListVendorAdditionalFacilityFieldsOk$inboundSchema;
|
|
40845
|
+
ListVendorAdditionalFacilityFieldsListVendorAdditionalFacilityFieldsOk$.outboundSchema = ListVendorAdditionalFacilityFieldsListVendorAdditionalFacilityFieldsOk$outboundSchema;
|
|
40846
|
+
})(ListVendorAdditionalFacilityFieldsListVendorAdditionalFacilityFieldsOk$ ||= {});
|
|
39872
40847
|
ListVendorAdditionalFacilityFieldsResponse$inboundSchema = objectType({
|
|
39873
|
-
Result: lazyType(() =>
|
|
40848
|
+
Result: lazyType(() => ListVendorAdditionalFacilityFieldsListVendorAdditionalFacilityFieldsOk$inboundSchema)
|
|
39874
40849
|
}).transform((v2) => {
|
|
39875
40850
|
return remap(v2, {
|
|
39876
40851
|
Result: "result"
|
|
39877
40852
|
});
|
|
39878
40853
|
});
|
|
39879
40854
|
ListVendorAdditionalFacilityFieldsResponse$outboundSchema = objectType({
|
|
39880
|
-
result: lazyType(() =>
|
|
40855
|
+
result: lazyType(() => ListVendorAdditionalFacilityFieldsListVendorAdditionalFacilityFieldsOk$outboundSchema)
|
|
39881
40856
|
}).transform((v2) => {
|
|
39882
40857
|
return remap(v2, {
|
|
39883
40858
|
result: "Result"
|
|
@@ -39890,7 +40865,7 @@ var init_listvendoradditionalfacilityfields = __esm(() => {
|
|
|
39890
40865
|
});
|
|
39891
40866
|
|
|
39892
40867
|
// src/models/operations/listvendorcredentials.ts
|
|
39893
|
-
var ListVendorCredentialsRequest$inboundSchema, ListVendorCredentialsRequest$outboundSchema, ListVendorCredentialsRequest$, Credentials$inboundSchema, Credentials$outboundSchema, Credentials$, Pager$inboundSchema2, Pager$outboundSchema2, Pager$2,
|
|
40868
|
+
var ListVendorCredentialsRequest$inboundSchema, ListVendorCredentialsRequest$outboundSchema, ListVendorCredentialsRequest$, Credentials$inboundSchema, Credentials$outboundSchema, Credentials$, Pager$inboundSchema2, Pager$outboundSchema2, Pager$2, ListVendorCredentialsGetCredentialsOk$inboundSchema, ListVendorCredentialsGetCredentialsOk$outboundSchema, ListVendorCredentialsGetCredentialsOk$, ListVendorCredentialsResponse$inboundSchema, ListVendorCredentialsResponse$outboundSchema, ListVendorCredentialsResponse$;
|
|
39894
40869
|
var init_listvendorcredentials = __esm(() => {
|
|
39895
40870
|
init_lib();
|
|
39896
40871
|
init_primitives();
|
|
@@ -39967,41 +40942,41 @@ var init_listvendorcredentials = __esm(() => {
|
|
|
39967
40942
|
Pager$.inboundSchema = Pager$inboundSchema2;
|
|
39968
40943
|
Pager$.outboundSchema = Pager$outboundSchema2;
|
|
39969
40944
|
})(Pager$2 ||= {});
|
|
39970
|
-
|
|
39971
|
-
vendor_required_credentials: nullableType(VendorRequiredCredential$inboundSchema)
|
|
39972
|
-
credentials: arrayType(lazyType(() => Credentials$inboundSchema))
|
|
39973
|
-
vendor_credentials: recordType(VendorCredentialsContainer$inboundSchema)
|
|
39974
|
-
pager: nullableType(lazyType(() => Pager$inboundSchema2))
|
|
40945
|
+
ListVendorCredentialsGetCredentialsOk$inboundSchema = objectType({
|
|
40946
|
+
vendor_required_credentials: nullableType(VendorRequiredCredential$inboundSchema),
|
|
40947
|
+
credentials: arrayType(lazyType(() => Credentials$inboundSchema)),
|
|
40948
|
+
vendor_credentials: recordType(VendorCredentialsContainer$inboundSchema),
|
|
40949
|
+
pager: nullableType(lazyType(() => Pager$inboundSchema2))
|
|
39975
40950
|
}).transform((v2) => {
|
|
39976
40951
|
return remap(v2, {
|
|
39977
40952
|
vendor_required_credentials: "vendorRequiredCredentials",
|
|
39978
40953
|
vendor_credentials: "vendorCredentials"
|
|
39979
40954
|
});
|
|
39980
40955
|
});
|
|
39981
|
-
|
|
39982
|
-
vendorRequiredCredentials: nullableType(VendorRequiredCredential$outboundSchema)
|
|
39983
|
-
credentials: arrayType(lazyType(() => Credentials$outboundSchema))
|
|
39984
|
-
vendorCredentials: recordType(VendorCredentialsContainer$outboundSchema)
|
|
39985
|
-
pager: nullableType(lazyType(() => Pager$outboundSchema2))
|
|
40956
|
+
ListVendorCredentialsGetCredentialsOk$outboundSchema = objectType({
|
|
40957
|
+
vendorRequiredCredentials: nullableType(VendorRequiredCredential$outboundSchema),
|
|
40958
|
+
credentials: arrayType(lazyType(() => Credentials$outboundSchema)),
|
|
40959
|
+
vendorCredentials: recordType(VendorCredentialsContainer$outboundSchema),
|
|
40960
|
+
pager: nullableType(lazyType(() => Pager$outboundSchema2))
|
|
39986
40961
|
}).transform((v2) => {
|
|
39987
40962
|
return remap(v2, {
|
|
39988
40963
|
vendorRequiredCredentials: "vendor_required_credentials",
|
|
39989
40964
|
vendorCredentials: "vendor_credentials"
|
|
39990
40965
|
});
|
|
39991
40966
|
});
|
|
39992
|
-
((
|
|
39993
|
-
|
|
39994
|
-
|
|
39995
|
-
})(
|
|
40967
|
+
((ListVendorCredentialsGetCredentialsOk$) => {
|
|
40968
|
+
ListVendorCredentialsGetCredentialsOk$.inboundSchema = ListVendorCredentialsGetCredentialsOk$inboundSchema;
|
|
40969
|
+
ListVendorCredentialsGetCredentialsOk$.outboundSchema = ListVendorCredentialsGetCredentialsOk$outboundSchema;
|
|
40970
|
+
})(ListVendorCredentialsGetCredentialsOk$ ||= {});
|
|
39996
40971
|
ListVendorCredentialsResponse$inboundSchema = objectType({
|
|
39997
|
-
Result: lazyType(() =>
|
|
40972
|
+
Result: lazyType(() => ListVendorCredentialsGetCredentialsOk$inboundSchema)
|
|
39998
40973
|
}).transform((v2) => {
|
|
39999
40974
|
return remap(v2, {
|
|
40000
40975
|
Result: "result"
|
|
40001
40976
|
});
|
|
40002
40977
|
});
|
|
40003
40978
|
ListVendorCredentialsResponse$outboundSchema = objectType({
|
|
40004
|
-
result: lazyType(() =>
|
|
40979
|
+
result: lazyType(() => ListVendorCredentialsGetCredentialsOk$outboundSchema)
|
|
40005
40980
|
}).transform((v2) => {
|
|
40006
40981
|
return remap(v2, {
|
|
40007
40982
|
result: "Result"
|
|
@@ -40014,7 +40989,7 @@ var init_listvendorcredentials = __esm(() => {
|
|
|
40014
40989
|
});
|
|
40015
40990
|
|
|
40016
40991
|
// src/models/operations/listvendorcredits.ts
|
|
40017
|
-
var ListVendorCreditsRequest$inboundSchema, ListVendorCreditsRequest$outboundSchema, ListVendorCreditsRequest$,
|
|
40992
|
+
var ListVendorCreditsRequest$inboundSchema, ListVendorCreditsRequest$outboundSchema, ListVendorCreditsRequest$, ListVendorCreditsListVendorCreditsOk$inboundSchema, ListVendorCreditsListVendorCreditsOk$outboundSchema, ListVendorCreditsListVendorCreditsOk$, ListVendorCreditsResponse$inboundSchema, ListVendorCreditsResponse$outboundSchema, ListVendorCreditsResponse$;
|
|
40018
40993
|
var init_listvendorcredits = __esm(() => {
|
|
40019
40994
|
init_lib();
|
|
40020
40995
|
init_primitives();
|
|
@@ -40047,27 +41022,27 @@ var init_listvendorcredits = __esm(() => {
|
|
|
40047
41022
|
ListVendorCreditsRequest$.inboundSchema = ListVendorCreditsRequest$inboundSchema;
|
|
40048
41023
|
ListVendorCreditsRequest$.outboundSchema = ListVendorCreditsRequest$outboundSchema;
|
|
40049
41024
|
})(ListVendorCreditsRequest$ ||= {});
|
|
40050
|
-
|
|
41025
|
+
ListVendorCreditsListVendorCreditsOk$inboundSchema = objectType({
|
|
40051
41026
|
items: arrayType(Credit$inboundSchema),
|
|
40052
41027
|
pager: Pager$inboundSchema
|
|
40053
41028
|
});
|
|
40054
|
-
|
|
41029
|
+
ListVendorCreditsListVendorCreditsOk$outboundSchema = objectType({
|
|
40055
41030
|
items: arrayType(Credit$outboundSchema),
|
|
40056
41031
|
pager: Pager$outboundSchema
|
|
40057
41032
|
});
|
|
40058
|
-
((
|
|
40059
|
-
|
|
40060
|
-
|
|
40061
|
-
})(
|
|
41033
|
+
((ListVendorCreditsListVendorCreditsOk$) => {
|
|
41034
|
+
ListVendorCreditsListVendorCreditsOk$.inboundSchema = ListVendorCreditsListVendorCreditsOk$inboundSchema;
|
|
41035
|
+
ListVendorCreditsListVendorCreditsOk$.outboundSchema = ListVendorCreditsListVendorCreditsOk$outboundSchema;
|
|
41036
|
+
})(ListVendorCreditsListVendorCreditsOk$ ||= {});
|
|
40062
41037
|
ListVendorCreditsResponse$inboundSchema = objectType({
|
|
40063
|
-
Result: lazyType(() =>
|
|
41038
|
+
Result: lazyType(() => ListVendorCreditsListVendorCreditsOk$inboundSchema)
|
|
40064
41039
|
}).transform((v2) => {
|
|
40065
41040
|
return remap(v2, {
|
|
40066
41041
|
Result: "result"
|
|
40067
41042
|
});
|
|
40068
41043
|
});
|
|
40069
41044
|
ListVendorCreditsResponse$outboundSchema = objectType({
|
|
40070
|
-
result: lazyType(() =>
|
|
41045
|
+
result: lazyType(() => ListVendorCreditsListVendorCreditsOk$outboundSchema)
|
|
40071
41046
|
}).transform((v2) => {
|
|
40072
41047
|
return remap(v2, {
|
|
40073
41048
|
result: "Result"
|
|
@@ -40080,7 +41055,7 @@ var init_listvendorcredits = __esm(() => {
|
|
|
40080
41055
|
});
|
|
40081
41056
|
|
|
40082
41057
|
// src/models/operations/listvendorfacilitystatuses.ts
|
|
40083
|
-
var ListVendorFacilityStatusesRequest$inboundSchema, ListVendorFacilityStatusesRequest$outboundSchema, ListVendorFacilityStatusesRequest$,
|
|
41058
|
+
var ListVendorFacilityStatusesRequest$inboundSchema, ListVendorFacilityStatusesRequest$outboundSchema, ListVendorFacilityStatusesRequest$, ListVendorFacilityStatusesListVendorFacilityStatusesOk$inboundSchema, ListVendorFacilityStatusesListVendorFacilityStatusesOk$outboundSchema, ListVendorFacilityStatusesListVendorFacilityStatusesOk$, ListVendorFacilityStatusesResponse$inboundSchema, ListVendorFacilityStatusesResponse$outboundSchema, ListVendorFacilityStatusesResponse$;
|
|
40084
41059
|
var init_listvendorfacilitystatuses = __esm(() => {
|
|
40085
41060
|
init_lib();
|
|
40086
41061
|
init_primitives();
|
|
@@ -40117,27 +41092,27 @@ var init_listvendorfacilitystatuses = __esm(() => {
|
|
|
40117
41092
|
ListVendorFacilityStatusesRequest$.inboundSchema = ListVendorFacilityStatusesRequest$inboundSchema;
|
|
40118
41093
|
ListVendorFacilityStatusesRequest$.outboundSchema = ListVendorFacilityStatusesRequest$outboundSchema;
|
|
40119
41094
|
})(ListVendorFacilityStatusesRequest$ ||= {});
|
|
40120
|
-
|
|
41095
|
+
ListVendorFacilityStatusesListVendorFacilityStatusesOk$inboundSchema = objectType({
|
|
40121
41096
|
items: arrayType(VendorFacilityStatusView$inboundSchema),
|
|
40122
41097
|
pager: Pager$inboundSchema
|
|
40123
41098
|
});
|
|
40124
|
-
|
|
41099
|
+
ListVendorFacilityStatusesListVendorFacilityStatusesOk$outboundSchema = objectType({
|
|
40125
41100
|
items: arrayType(VendorFacilityStatusView$outboundSchema),
|
|
40126
41101
|
pager: Pager$outboundSchema
|
|
40127
41102
|
});
|
|
40128
|
-
((
|
|
40129
|
-
|
|
40130
|
-
|
|
40131
|
-
})(
|
|
41103
|
+
((ListVendorFacilityStatusesListVendorFacilityStatusesOk$) => {
|
|
41104
|
+
ListVendorFacilityStatusesListVendorFacilityStatusesOk$.inboundSchema = ListVendorFacilityStatusesListVendorFacilityStatusesOk$inboundSchema;
|
|
41105
|
+
ListVendorFacilityStatusesListVendorFacilityStatusesOk$.outboundSchema = ListVendorFacilityStatusesListVendorFacilityStatusesOk$outboundSchema;
|
|
41106
|
+
})(ListVendorFacilityStatusesListVendorFacilityStatusesOk$ ||= {});
|
|
40132
41107
|
ListVendorFacilityStatusesResponse$inboundSchema = objectType({
|
|
40133
|
-
Result: lazyType(() =>
|
|
41108
|
+
Result: lazyType(() => ListVendorFacilityStatusesListVendorFacilityStatusesOk$inboundSchema)
|
|
40134
41109
|
}).transform((v2) => {
|
|
40135
41110
|
return remap(v2, {
|
|
40136
41111
|
Result: "result"
|
|
40137
41112
|
});
|
|
40138
41113
|
});
|
|
40139
41114
|
ListVendorFacilityStatusesResponse$outboundSchema = objectType({
|
|
40140
|
-
result: lazyType(() =>
|
|
41115
|
+
result: lazyType(() => ListVendorFacilityStatusesListVendorFacilityStatusesOk$outboundSchema)
|
|
40141
41116
|
}).transform((v2) => {
|
|
40142
41117
|
return remap(v2, {
|
|
40143
41118
|
result: "Result"
|
|
@@ -40150,7 +41125,7 @@ var init_listvendorfacilitystatuses = __esm(() => {
|
|
|
40150
41125
|
});
|
|
40151
41126
|
|
|
40152
41127
|
// src/models/operations/listvendorinvoices.ts
|
|
40153
|
-
var InvoiceFinancialStatus, InvoiceFinancialStatus$inboundSchema, InvoiceFinancialStatus$outboundSchema, InvoiceFinancialStatus$, ListVendorInvoicesRequest$inboundSchema, ListVendorInvoicesRequest$outboundSchema, ListVendorInvoicesRequest$,
|
|
41128
|
+
var InvoiceFinancialStatus, InvoiceFinancialStatus$inboundSchema, InvoiceFinancialStatus$outboundSchema, InvoiceFinancialStatus$, ListVendorInvoicesRequest$inboundSchema, ListVendorInvoicesRequest$outboundSchema, ListVendorInvoicesRequest$, ListVendorInvoicesListVendorInvoicesOk$inboundSchema, ListVendorInvoicesListVendorInvoicesOk$outboundSchema, ListVendorInvoicesListVendorInvoicesOk$, ListVendorInvoicesResponse$inboundSchema, ListVendorInvoicesResponse$outboundSchema, ListVendorInvoicesResponse$;
|
|
40154
41129
|
var init_listvendorinvoices = __esm(() => {
|
|
40155
41130
|
init_lib();
|
|
40156
41131
|
init_primitives();
|
|
@@ -40203,27 +41178,27 @@ var init_listvendorinvoices = __esm(() => {
|
|
|
40203
41178
|
ListVendorInvoicesRequest$.inboundSchema = ListVendorInvoicesRequest$inboundSchema;
|
|
40204
41179
|
ListVendorInvoicesRequest$.outboundSchema = ListVendorInvoicesRequest$outboundSchema;
|
|
40205
41180
|
})(ListVendorInvoicesRequest$ ||= {});
|
|
40206
|
-
|
|
40207
|
-
items: arrayType(Invoice$inboundSchema),
|
|
41181
|
+
ListVendorInvoicesListVendorInvoicesOk$inboundSchema = objectType({
|
|
41182
|
+
items: arrayType(nullableType(Invoice$inboundSchema)),
|
|
40208
41183
|
pager: Pager$inboundSchema
|
|
40209
41184
|
});
|
|
40210
|
-
|
|
40211
|
-
items: arrayType(Invoice$outboundSchema),
|
|
41185
|
+
ListVendorInvoicesListVendorInvoicesOk$outboundSchema = objectType({
|
|
41186
|
+
items: arrayType(nullableType(Invoice$outboundSchema)),
|
|
40212
41187
|
pager: Pager$outboundSchema
|
|
40213
41188
|
});
|
|
40214
|
-
((
|
|
40215
|
-
|
|
40216
|
-
|
|
40217
|
-
})(
|
|
41189
|
+
((ListVendorInvoicesListVendorInvoicesOk$) => {
|
|
41190
|
+
ListVendorInvoicesListVendorInvoicesOk$.inboundSchema = ListVendorInvoicesListVendorInvoicesOk$inboundSchema;
|
|
41191
|
+
ListVendorInvoicesListVendorInvoicesOk$.outboundSchema = ListVendorInvoicesListVendorInvoicesOk$outboundSchema;
|
|
41192
|
+
})(ListVendorInvoicesListVendorInvoicesOk$ ||= {});
|
|
40218
41193
|
ListVendorInvoicesResponse$inboundSchema = objectType({
|
|
40219
|
-
Result: lazyType(() =>
|
|
41194
|
+
Result: lazyType(() => ListVendorInvoicesListVendorInvoicesOk$inboundSchema)
|
|
40220
41195
|
}).transform((v2) => {
|
|
40221
41196
|
return remap(v2, {
|
|
40222
41197
|
Result: "result"
|
|
40223
41198
|
});
|
|
40224
41199
|
});
|
|
40225
41200
|
ListVendorInvoicesResponse$outboundSchema = objectType({
|
|
40226
|
-
result: lazyType(() =>
|
|
41201
|
+
result: lazyType(() => ListVendorInvoicesListVendorInvoicesOk$outboundSchema)
|
|
40227
41202
|
}).transform((v2) => {
|
|
40228
41203
|
return remap(v2, {
|
|
40229
41204
|
result: "Result"
|
|
@@ -40322,7 +41297,7 @@ var init_listvendorjobtitles = __esm(() => {
|
|
|
40322
41297
|
});
|
|
40323
41298
|
|
|
40324
41299
|
// src/models/operations/listvendormanagedbycompanies.ts
|
|
40325
|
-
var ListVendorManagedByCompaniesRequest$inboundSchema, ListVendorManagedByCompaniesRequest$outboundSchema, ListVendorManagedByCompaniesRequest$,
|
|
41300
|
+
var ListVendorManagedByCompaniesRequest$inboundSchema, ListVendorManagedByCompaniesRequest$outboundSchema, ListVendorManagedByCompaniesRequest$, ListVendorManagedByCompaniesListVendorManagedByCompaniesOk$inboundSchema, ListVendorManagedByCompaniesListVendorManagedByCompaniesOk$outboundSchema, ListVendorManagedByCompaniesListVendorManagedByCompaniesOk$, ListVendorManagedByCompaniesResponse$inboundSchema, ListVendorManagedByCompaniesResponse$outboundSchema, ListVendorManagedByCompaniesResponse$;
|
|
40326
41301
|
var init_listvendormanagedbycompanies = __esm(() => {
|
|
40327
41302
|
init_lib();
|
|
40328
41303
|
init_primitives();
|
|
@@ -40355,27 +41330,27 @@ var init_listvendormanagedbycompanies = __esm(() => {
|
|
|
40355
41330
|
ListVendorManagedByCompaniesRequest$.inboundSchema = ListVendorManagedByCompaniesRequest$inboundSchema;
|
|
40356
41331
|
ListVendorManagedByCompaniesRequest$.outboundSchema = ListVendorManagedByCompaniesRequest$outboundSchema;
|
|
40357
41332
|
})(ListVendorManagedByCompaniesRequest$ ||= {});
|
|
40358
|
-
|
|
41333
|
+
ListVendorManagedByCompaniesListVendorManagedByCompaniesOk$inboundSchema = objectType({
|
|
40359
41334
|
items: arrayType(nullableType(VendorManagedByCompany$inboundSchema)),
|
|
40360
41335
|
pager: Pager$inboundSchema
|
|
40361
41336
|
});
|
|
40362
|
-
|
|
41337
|
+
ListVendorManagedByCompaniesListVendorManagedByCompaniesOk$outboundSchema = objectType({
|
|
40363
41338
|
items: arrayType(nullableType(VendorManagedByCompany$outboundSchema)),
|
|
40364
41339
|
pager: Pager$outboundSchema
|
|
40365
41340
|
});
|
|
40366
|
-
((
|
|
40367
|
-
|
|
40368
|
-
|
|
40369
|
-
})(
|
|
41341
|
+
((ListVendorManagedByCompaniesListVendorManagedByCompaniesOk$) => {
|
|
41342
|
+
ListVendorManagedByCompaniesListVendorManagedByCompaniesOk$.inboundSchema = ListVendorManagedByCompaniesListVendorManagedByCompaniesOk$inboundSchema;
|
|
41343
|
+
ListVendorManagedByCompaniesListVendorManagedByCompaniesOk$.outboundSchema = ListVendorManagedByCompaniesListVendorManagedByCompaniesOk$outboundSchema;
|
|
41344
|
+
})(ListVendorManagedByCompaniesListVendorManagedByCompaniesOk$ ||= {});
|
|
40370
41345
|
ListVendorManagedByCompaniesResponse$inboundSchema = objectType({
|
|
40371
|
-
Result: lazyType(() =>
|
|
41346
|
+
Result: lazyType(() => ListVendorManagedByCompaniesListVendorManagedByCompaniesOk$inboundSchema)
|
|
40372
41347
|
}).transform((v2) => {
|
|
40373
41348
|
return remap(v2, {
|
|
40374
41349
|
Result: "result"
|
|
40375
41350
|
});
|
|
40376
41351
|
});
|
|
40377
41352
|
ListVendorManagedByCompaniesResponse$outboundSchema = objectType({
|
|
40378
|
-
result: lazyType(() =>
|
|
41353
|
+
result: lazyType(() => ListVendorManagedByCompaniesListVendorManagedByCompaniesOk$outboundSchema)
|
|
40379
41354
|
}).transform((v2) => {
|
|
40380
41355
|
return remap(v2, {
|
|
40381
41356
|
result: "Result"
|
|
@@ -40448,11 +41423,11 @@ var init_listvendorscrubpackages = __esm(() => {
|
|
|
40448
41423
|
})(ListVendorScrubPackagesRequest$ ||= {});
|
|
40449
41424
|
ListVendorScrubPackagesResponseBody$inboundSchema = objectType({
|
|
40450
41425
|
pager: Pager$inboundSchema,
|
|
40451
|
-
items: arrayType(ProductVariant$inboundSchema)
|
|
41426
|
+
items: arrayType(nullableType(ProductVariant$inboundSchema))
|
|
40452
41427
|
});
|
|
40453
41428
|
ListVendorScrubPackagesResponseBody$outboundSchema = objectType({
|
|
40454
41429
|
pager: Pager$outboundSchema,
|
|
40455
|
-
items: arrayType(ProductVariant$outboundSchema)
|
|
41430
|
+
items: arrayType(nullableType(ProductVariant$outboundSchema))
|
|
40456
41431
|
});
|
|
40457
41432
|
((ListVendorScrubPackagesResponseBody$) => {
|
|
40458
41433
|
ListVendorScrubPackagesResponseBody$.inboundSchema = ListVendorScrubPackagesResponseBody$inboundSchema;
|
|
@@ -40479,7 +41454,7 @@ var init_listvendorscrubpackages = __esm(() => {
|
|
|
40479
41454
|
});
|
|
40480
41455
|
|
|
40481
41456
|
// src/models/operations/listvendorscrubpurchases.ts
|
|
40482
|
-
var ListVendorScrubPurchasesRequest$inboundSchema, ListVendorScrubPurchasesRequest$outboundSchema, ListVendorScrubPurchasesRequest$,
|
|
41457
|
+
var ListVendorScrubPurchasesRequest$inboundSchema, ListVendorScrubPurchasesRequest$outboundSchema, ListVendorScrubPurchasesRequest$, ListVendorScrubPurchasesListVendorScrubPurchasesOk$inboundSchema, ListVendorScrubPurchasesListVendorScrubPurchasesOk$outboundSchema, ListVendorScrubPurchasesListVendorScrubPurchasesOk$, ListVendorScrubPurchasesResponse$inboundSchema, ListVendorScrubPurchasesResponse$outboundSchema, ListVendorScrubPurchasesResponse$;
|
|
40483
41458
|
var init_listvendorscrubpurchases = __esm(() => {
|
|
40484
41459
|
init_lib();
|
|
40485
41460
|
init_primitives();
|
|
@@ -40512,27 +41487,27 @@ var init_listvendorscrubpurchases = __esm(() => {
|
|
|
40512
41487
|
ListVendorScrubPurchasesRequest$.inboundSchema = ListVendorScrubPurchasesRequest$inboundSchema;
|
|
40513
41488
|
ListVendorScrubPurchasesRequest$.outboundSchema = ListVendorScrubPurchasesRequest$outboundSchema;
|
|
40514
41489
|
})(ListVendorScrubPurchasesRequest$ ||= {});
|
|
40515
|
-
|
|
41490
|
+
ListVendorScrubPurchasesListVendorScrubPurchasesOk$inboundSchema = objectType({
|
|
40516
41491
|
pager: Pager$inboundSchema,
|
|
40517
41492
|
items: arrayType(VendorScrubPurchase$inboundSchema)
|
|
40518
41493
|
});
|
|
40519
|
-
|
|
41494
|
+
ListVendorScrubPurchasesListVendorScrubPurchasesOk$outboundSchema = objectType({
|
|
40520
41495
|
pager: Pager$outboundSchema,
|
|
40521
41496
|
items: arrayType(VendorScrubPurchase$outboundSchema)
|
|
40522
41497
|
});
|
|
40523
|
-
((
|
|
40524
|
-
|
|
40525
|
-
|
|
40526
|
-
})(
|
|
41498
|
+
((ListVendorScrubPurchasesListVendorScrubPurchasesOk$) => {
|
|
41499
|
+
ListVendorScrubPurchasesListVendorScrubPurchasesOk$.inboundSchema = ListVendorScrubPurchasesListVendorScrubPurchasesOk$inboundSchema;
|
|
41500
|
+
ListVendorScrubPurchasesListVendorScrubPurchasesOk$.outboundSchema = ListVendorScrubPurchasesListVendorScrubPurchasesOk$outboundSchema;
|
|
41501
|
+
})(ListVendorScrubPurchasesListVendorScrubPurchasesOk$ ||= {});
|
|
40527
41502
|
ListVendorScrubPurchasesResponse$inboundSchema = objectType({
|
|
40528
|
-
Result: lazyType(() =>
|
|
41503
|
+
Result: lazyType(() => ListVendorScrubPurchasesListVendorScrubPurchasesOk$inboundSchema)
|
|
40529
41504
|
}).transform((v2) => {
|
|
40530
41505
|
return remap(v2, {
|
|
40531
41506
|
Result: "result"
|
|
40532
41507
|
});
|
|
40533
41508
|
});
|
|
40534
41509
|
ListVendorScrubPurchasesResponse$outboundSchema = objectType({
|
|
40535
|
-
result: lazyType(() =>
|
|
41510
|
+
result: lazyType(() => ListVendorScrubPurchasesListVendorScrubPurchasesOk$outboundSchema)
|
|
40536
41511
|
}).transform((v2) => {
|
|
40537
41512
|
return remap(v2, {
|
|
40538
41513
|
result: "Result"
|
|
@@ -40544,83 +41519,6 @@ var init_listvendorscrubpurchases = __esm(() => {
|
|
|
40544
41519
|
})(ListVendorScrubPurchasesResponse$ ||= {});
|
|
40545
41520
|
});
|
|
40546
41521
|
|
|
40547
|
-
// src/models/operations/logsuserintothesystem.ts
|
|
40548
|
-
var LogsUserIntoTheSystemRequestBody$inboundSchema, LogsUserIntoTheSystemRequestBody$outboundSchema, LogsUserIntoTheSystemRequestBody$, LogsUserIntoTheSystemResponseBody$inboundSchema, LogsUserIntoTheSystemResponseBody$outboundSchema, LogsUserIntoTheSystemResponseBody$, LogsUserIntoTheSystemResponse$inboundSchema, LogsUserIntoTheSystemResponse$outboundSchema, LogsUserIntoTheSystemResponse$;
|
|
40549
|
-
var init_logsuserintothesystem = __esm(() => {
|
|
40550
|
-
init_lib();
|
|
40551
|
-
init_components();
|
|
40552
|
-
LogsUserIntoTheSystemRequestBody$inboundSchema = unionType([
|
|
40553
|
-
LoginRequirementsFromEmail$inboundSchema,
|
|
40554
|
-
LoginEmailAndPassword$inboundSchema
|
|
40555
|
-
]);
|
|
40556
|
-
LogsUserIntoTheSystemRequestBody$outboundSchema = unionType([
|
|
40557
|
-
LoginRequirementsFromEmail$outboundSchema,
|
|
40558
|
-
LoginEmailAndPassword$outboundSchema
|
|
40559
|
-
]);
|
|
40560
|
-
((LogsUserIntoTheSystemRequestBody$) => {
|
|
40561
|
-
LogsUserIntoTheSystemRequestBody$.inboundSchema = LogsUserIntoTheSystemRequestBody$inboundSchema;
|
|
40562
|
-
LogsUserIntoTheSystemRequestBody$.outboundSchema = LogsUserIntoTheSystemRequestBody$outboundSchema;
|
|
40563
|
-
})(LogsUserIntoTheSystemRequestBody$ ||= {});
|
|
40564
|
-
LogsUserIntoTheSystemResponseBody$inboundSchema = unionType([
|
|
40565
|
-
PasswordRequiredResponse$inboundSchema.and(objectType({ requires: literalType("password") }).transform((v2) => ({
|
|
40566
|
-
requires: v2.requires
|
|
40567
|
-
}))),
|
|
40568
|
-
MfaRequiredResponse$inboundSchema.and(objectType({ requires: literalType("mfa_code") }).transform((v2) => ({
|
|
40569
|
-
requires: v2.requires
|
|
40570
|
-
}))),
|
|
40571
|
-
SamlLoginRequiredResponse$inboundSchema.and(objectType({ requires: literalType("saml_login") }).transform((v2) => ({
|
|
40572
|
-
requires: v2.requires
|
|
40573
|
-
})))
|
|
40574
|
-
]);
|
|
40575
|
-
LogsUserIntoTheSystemResponseBody$outboundSchema = unionType([
|
|
40576
|
-
PasswordRequiredResponse$outboundSchema.and(objectType({ requires: literalType("password") }).transform((v2) => ({
|
|
40577
|
-
requires: v2.requires
|
|
40578
|
-
}))),
|
|
40579
|
-
MfaRequiredResponse$outboundSchema.and(objectType({ requires: literalType("mfa_code") }).transform((v2) => ({
|
|
40580
|
-
requires: v2.requires
|
|
40581
|
-
}))),
|
|
40582
|
-
SamlLoginRequiredResponse$outboundSchema.and(objectType({ requires: literalType("saml_login") }).transform((v2) => ({
|
|
40583
|
-
requires: v2.requires
|
|
40584
|
-
})))
|
|
40585
|
-
]);
|
|
40586
|
-
((LogsUserIntoTheSystemResponseBody$) => {
|
|
40587
|
-
LogsUserIntoTheSystemResponseBody$.inboundSchema = LogsUserIntoTheSystemResponseBody$inboundSchema;
|
|
40588
|
-
LogsUserIntoTheSystemResponseBody$.outboundSchema = LogsUserIntoTheSystemResponseBody$outboundSchema;
|
|
40589
|
-
})(LogsUserIntoTheSystemResponseBody$ ||= {});
|
|
40590
|
-
LogsUserIntoTheSystemResponse$inboundSchema = unionType([
|
|
40591
|
-
User$inboundSchema,
|
|
40592
|
-
unionType([
|
|
40593
|
-
PasswordRequiredResponse$inboundSchema.and(objectType({ requires: literalType("password") }).transform((v2) => ({
|
|
40594
|
-
requires: v2.requires
|
|
40595
|
-
}))),
|
|
40596
|
-
MfaRequiredResponse$inboundSchema.and(objectType({ requires: literalType("mfa_code") }).transform((v2) => ({
|
|
40597
|
-
requires: v2.requires
|
|
40598
|
-
}))),
|
|
40599
|
-
SamlLoginRequiredResponse$inboundSchema.and(objectType({ requires: literalType("saml_login") }).transform((v2) => ({
|
|
40600
|
-
requires: v2.requires
|
|
40601
|
-
})))
|
|
40602
|
-
])
|
|
40603
|
-
]);
|
|
40604
|
-
LogsUserIntoTheSystemResponse$outboundSchema = unionType([
|
|
40605
|
-
User$outboundSchema,
|
|
40606
|
-
unionType([
|
|
40607
|
-
PasswordRequiredResponse$outboundSchema.and(objectType({ requires: literalType("password") }).transform((v2) => ({
|
|
40608
|
-
requires: v2.requires
|
|
40609
|
-
}))),
|
|
40610
|
-
MfaRequiredResponse$outboundSchema.and(objectType({ requires: literalType("mfa_code") }).transform((v2) => ({
|
|
40611
|
-
requires: v2.requires
|
|
40612
|
-
}))),
|
|
40613
|
-
SamlLoginRequiredResponse$outboundSchema.and(objectType({ requires: literalType("saml_login") }).transform((v2) => ({
|
|
40614
|
-
requires: v2.requires
|
|
40615
|
-
})))
|
|
40616
|
-
])
|
|
40617
|
-
]);
|
|
40618
|
-
((LogsUserIntoTheSystemResponse$) => {
|
|
40619
|
-
LogsUserIntoTheSystemResponse$.inboundSchema = LogsUserIntoTheSystemResponse$inboundSchema;
|
|
40620
|
-
LogsUserIntoTheSystemResponse$.outboundSchema = LogsUserIntoTheSystemResponse$outboundSchema;
|
|
40621
|
-
})(LogsUserIntoTheSystemResponse$ ||= {});
|
|
40622
|
-
});
|
|
40623
|
-
|
|
40624
41522
|
// src/models/operations/magiclink.ts
|
|
40625
41523
|
var MagiclinkRequestBody$inboundSchema, MagiclinkRequestBody$outboundSchema, MagiclinkRequestBody$, MagiclinkMagiclinkOk$inboundSchema, MagiclinkMagiclinkOk$outboundSchema, MagiclinkMagiclinkOk$;
|
|
40626
41524
|
var init_magiclink = __esm(() => {
|
|
@@ -40710,6 +41608,83 @@ var init_passwordresetrequest = __esm(() => {
|
|
|
40710
41608
|
})(PasswordResetRequestPasswordResetRequestOk$ ||= {});
|
|
40711
41609
|
});
|
|
40712
41610
|
|
|
41611
|
+
// src/models/operations/postauthenticate.ts
|
|
41612
|
+
var PostAuthenticateRequestBody$inboundSchema, PostAuthenticateRequestBody$outboundSchema, PostAuthenticateRequestBody$, PostAuthenticateResponseBody$inboundSchema, PostAuthenticateResponseBody$outboundSchema, PostAuthenticateResponseBody$, PostAuthenticateResponse$inboundSchema, PostAuthenticateResponse$outboundSchema, PostAuthenticateResponse$;
|
|
41613
|
+
var init_postauthenticate = __esm(() => {
|
|
41614
|
+
init_lib();
|
|
41615
|
+
init_components();
|
|
41616
|
+
PostAuthenticateRequestBody$inboundSchema = unionType([
|
|
41617
|
+
LoginRequirementsFromEmail$inboundSchema,
|
|
41618
|
+
LoginEmailAndPassword$inboundSchema
|
|
41619
|
+
]);
|
|
41620
|
+
PostAuthenticateRequestBody$outboundSchema = unionType([
|
|
41621
|
+
LoginRequirementsFromEmail$outboundSchema,
|
|
41622
|
+
LoginEmailAndPassword$outboundSchema
|
|
41623
|
+
]);
|
|
41624
|
+
((PostAuthenticateRequestBody$) => {
|
|
41625
|
+
PostAuthenticateRequestBody$.inboundSchema = PostAuthenticateRequestBody$inboundSchema;
|
|
41626
|
+
PostAuthenticateRequestBody$.outboundSchema = PostAuthenticateRequestBody$outboundSchema;
|
|
41627
|
+
})(PostAuthenticateRequestBody$ ||= {});
|
|
41628
|
+
PostAuthenticateResponseBody$inboundSchema = unionType([
|
|
41629
|
+
PasswordRequiredResponse$inboundSchema.and(objectType({ requires: literalType("password") }).transform((v2) => ({
|
|
41630
|
+
requires: v2.requires
|
|
41631
|
+
}))),
|
|
41632
|
+
MfaRequiredResponse$inboundSchema.and(objectType({ requires: literalType("mfa_code") }).transform((v2) => ({
|
|
41633
|
+
requires: v2.requires
|
|
41634
|
+
}))),
|
|
41635
|
+
SamlLoginRequiredResponse$inboundSchema.and(objectType({ requires: literalType("saml_login") }).transform((v2) => ({
|
|
41636
|
+
requires: v2.requires
|
|
41637
|
+
})))
|
|
41638
|
+
]);
|
|
41639
|
+
PostAuthenticateResponseBody$outboundSchema = unionType([
|
|
41640
|
+
PasswordRequiredResponse$outboundSchema.and(objectType({ requires: literalType("password") }).transform((v2) => ({
|
|
41641
|
+
requires: v2.requires
|
|
41642
|
+
}))),
|
|
41643
|
+
MfaRequiredResponse$outboundSchema.and(objectType({ requires: literalType("mfa_code") }).transform((v2) => ({
|
|
41644
|
+
requires: v2.requires
|
|
41645
|
+
}))),
|
|
41646
|
+
SamlLoginRequiredResponse$outboundSchema.and(objectType({ requires: literalType("saml_login") }).transform((v2) => ({
|
|
41647
|
+
requires: v2.requires
|
|
41648
|
+
})))
|
|
41649
|
+
]);
|
|
41650
|
+
((PostAuthenticateResponseBody$) => {
|
|
41651
|
+
PostAuthenticateResponseBody$.inboundSchema = PostAuthenticateResponseBody$inboundSchema;
|
|
41652
|
+
PostAuthenticateResponseBody$.outboundSchema = PostAuthenticateResponseBody$outboundSchema;
|
|
41653
|
+
})(PostAuthenticateResponseBody$ ||= {});
|
|
41654
|
+
PostAuthenticateResponse$inboundSchema = unionType([
|
|
41655
|
+
User$inboundSchema,
|
|
41656
|
+
unionType([
|
|
41657
|
+
PasswordRequiredResponse$inboundSchema.and(objectType({ requires: literalType("password") }).transform((v2) => ({
|
|
41658
|
+
requires: v2.requires
|
|
41659
|
+
}))),
|
|
41660
|
+
MfaRequiredResponse$inboundSchema.and(objectType({ requires: literalType("mfa_code") }).transform((v2) => ({
|
|
41661
|
+
requires: v2.requires
|
|
41662
|
+
}))),
|
|
41663
|
+
SamlLoginRequiredResponse$inboundSchema.and(objectType({ requires: literalType("saml_login") }).transform((v2) => ({
|
|
41664
|
+
requires: v2.requires
|
|
41665
|
+
})))
|
|
41666
|
+
])
|
|
41667
|
+
]);
|
|
41668
|
+
PostAuthenticateResponse$outboundSchema = unionType([
|
|
41669
|
+
User$outboundSchema,
|
|
41670
|
+
unionType([
|
|
41671
|
+
PasswordRequiredResponse$outboundSchema.and(objectType({ requires: literalType("password") }).transform((v2) => ({
|
|
41672
|
+
requires: v2.requires
|
|
41673
|
+
}))),
|
|
41674
|
+
MfaRequiredResponse$outboundSchema.and(objectType({ requires: literalType("mfa_code") }).transform((v2) => ({
|
|
41675
|
+
requires: v2.requires
|
|
41676
|
+
}))),
|
|
41677
|
+
SamlLoginRequiredResponse$outboundSchema.and(objectType({ requires: literalType("saml_login") }).transform((v2) => ({
|
|
41678
|
+
requires: v2.requires
|
|
41679
|
+
})))
|
|
41680
|
+
])
|
|
41681
|
+
]);
|
|
41682
|
+
((PostAuthenticateResponse$) => {
|
|
41683
|
+
PostAuthenticateResponse$.inboundSchema = PostAuthenticateResponse$inboundSchema;
|
|
41684
|
+
PostAuthenticateResponse$.outboundSchema = PostAuthenticateResponse$outboundSchema;
|
|
41685
|
+
})(PostAuthenticateResponse$ ||= {});
|
|
41686
|
+
});
|
|
41687
|
+
|
|
40713
41688
|
// src/models/operations/purchasescrubcredits.ts
|
|
40714
41689
|
var PurchaseScrubCreditsRequestBody$inboundSchema, PurchaseScrubCreditsRequestBody$outboundSchema, PurchaseScrubCreditsRequestBody$, PurchaseScrubCreditsRequest$inboundSchema, PurchaseScrubCreditsRequest$outboundSchema, PurchaseScrubCreditsRequest$, PurchaseScrubCreditsResponseBody$inboundSchema, PurchaseScrubCreditsResponseBody$outboundSchema, PurchaseScrubCreditsResponseBody$;
|
|
40715
41690
|
var init_purchasescrubcredits = __esm(() => {
|
|
@@ -40784,22 +41759,80 @@ var init_purchasescrubcredits = __esm(() => {
|
|
|
40784
41759
|
});
|
|
40785
41760
|
|
|
40786
41761
|
// src/models/operations/securityzonecheckin.ts
|
|
40787
|
-
var Two$inboundSchema2, Two$outboundSchema2, Two$2, One$inboundSchema2, One$outboundSchema2, One$2, SecurityZoneCheckinRequestBody$inboundSchema, SecurityZoneCheckinRequestBody$outboundSchema, SecurityZoneCheckinRequestBody$;
|
|
41762
|
+
var Requires2, Two$inboundSchema2, Two$outboundSchema2, Two$2, One$inboundSchema2, One$outboundSchema2, One$2, SecurityZoneCheckinRequestBody$inboundSchema, SecurityZoneCheckinRequestBody$outboundSchema, SecurityZoneCheckinRequestBody$, Requires$inboundSchema2, Requires$outboundSchema2, Requires$2, Results$inboundSchema, Results$outboundSchema, Results$, SecurityZoneCheckinResponseBody$inboundSchema, SecurityZoneCheckinResponseBody$outboundSchema, SecurityZoneCheckinResponseBody$;
|
|
40788
41763
|
var init_securityzonecheckin = __esm(() => {
|
|
40789
41764
|
init_lib();
|
|
40790
41765
|
init_primitives();
|
|
41766
|
+
init_components();
|
|
41767
|
+
Requires2 = {
|
|
41768
|
+
CompleteCheckin: "complete_checkin"
|
|
41769
|
+
};
|
|
40791
41770
|
Two$inboundSchema2 = objectType({
|
|
40792
|
-
qr_code: stringType()
|
|
41771
|
+
qr_code: stringType(),
|
|
41772
|
+
zone_id: numberType().int(),
|
|
41773
|
+
handoff_id: numberType().int().optional(),
|
|
41774
|
+
vendor_id: numberType().int().optional(),
|
|
41775
|
+
pin: stringType().optional(),
|
|
41776
|
+
email: stringType().optional(),
|
|
41777
|
+
password: stringType().optional(),
|
|
41778
|
+
device_id: numberType().int().optional(),
|
|
41779
|
+
department_id: numberType().int().optional(),
|
|
41780
|
+
department_other: stringType().optional(),
|
|
41781
|
+
checkout_time: stringType().optional(),
|
|
41782
|
+
visit_purpose: stringType().optional(),
|
|
41783
|
+
visit_contact: stringType().optional(),
|
|
41784
|
+
token: stringType().optional(),
|
|
41785
|
+
scan_type: anyType().optional(),
|
|
41786
|
+
recheck_vendor_scan_id: numberType().int().optional(),
|
|
41787
|
+
temperature: numberType().optional()
|
|
40793
41788
|
}).transform((v2) => {
|
|
40794
41789
|
return remap(v2, {
|
|
40795
|
-
qr_code: "qrCode"
|
|
41790
|
+
qr_code: "qrCode",
|
|
41791
|
+
zone_id: "zoneId",
|
|
41792
|
+
handoff_id: "handoffId",
|
|
41793
|
+
vendor_id: "vendorId",
|
|
41794
|
+
device_id: "deviceId",
|
|
41795
|
+
department_id: "departmentId",
|
|
41796
|
+
department_other: "departmentOther",
|
|
41797
|
+
checkout_time: "checkoutTime",
|
|
41798
|
+
visit_purpose: "visitPurpose",
|
|
41799
|
+
visit_contact: "visitContact",
|
|
41800
|
+
scan_type: "scanType",
|
|
41801
|
+
recheck_vendor_scan_id: "recheckVendorScanId"
|
|
40796
41802
|
});
|
|
40797
41803
|
});
|
|
40798
41804
|
Two$outboundSchema2 = objectType({
|
|
40799
|
-
qrCode: stringType()
|
|
41805
|
+
qrCode: stringType(),
|
|
41806
|
+
zoneId: numberType().int(),
|
|
41807
|
+
handoffId: numberType().int().optional(),
|
|
41808
|
+
vendorId: numberType().int().optional(),
|
|
41809
|
+
pin: stringType().optional(),
|
|
41810
|
+
email: stringType().optional(),
|
|
41811
|
+
password: stringType().optional(),
|
|
41812
|
+
deviceId: numberType().int().optional(),
|
|
41813
|
+
departmentId: numberType().int().optional(),
|
|
41814
|
+
departmentOther: stringType().optional(),
|
|
41815
|
+
checkoutTime: stringType().optional(),
|
|
41816
|
+
visitPurpose: stringType().optional(),
|
|
41817
|
+
visitContact: stringType().optional(),
|
|
41818
|
+
token: stringType().optional(),
|
|
41819
|
+
scanType: anyType().optional(),
|
|
41820
|
+
recheckVendorScanId: numberType().int().optional(),
|
|
41821
|
+
temperature: numberType().optional()
|
|
40800
41822
|
}).transform((v2) => {
|
|
40801
41823
|
return remap(v2, {
|
|
40802
|
-
qrCode: "qr_code"
|
|
41824
|
+
qrCode: "qr_code",
|
|
41825
|
+
zoneId: "zone_id",
|
|
41826
|
+
handoffId: "handoff_id",
|
|
41827
|
+
vendorId: "vendor_id",
|
|
41828
|
+
deviceId: "device_id",
|
|
41829
|
+
departmentId: "department_id",
|
|
41830
|
+
departmentOther: "department_other",
|
|
41831
|
+
checkoutTime: "checkout_time",
|
|
41832
|
+
visitPurpose: "visit_purpose",
|
|
41833
|
+
visitContact: "visit_contact",
|
|
41834
|
+
scanType: "scan_type",
|
|
41835
|
+
recheckVendorScanId: "recheck_vendor_scan_id"
|
|
40803
41836
|
});
|
|
40804
41837
|
});
|
|
40805
41838
|
((Two$) => {
|
|
@@ -40809,19 +41842,69 @@ var init_securityzonecheckin = __esm(() => {
|
|
|
40809
41842
|
One$inboundSchema2 = objectType({
|
|
40810
41843
|
zone_id: numberType().int(),
|
|
40811
41844
|
longitude: anyType().optional(),
|
|
40812
|
-
latitude: anyType().optional()
|
|
41845
|
+
latitude: anyType().optional(),
|
|
41846
|
+
handoff_id: numberType().int().optional(),
|
|
41847
|
+
vendor_id: numberType().int().optional(),
|
|
41848
|
+
pin: stringType().optional(),
|
|
41849
|
+
email: stringType().optional(),
|
|
41850
|
+
password: stringType().optional(),
|
|
41851
|
+
device_id: numberType().int().optional(),
|
|
41852
|
+
department_id: numberType().int().optional(),
|
|
41853
|
+
department_other: stringType().optional(),
|
|
41854
|
+
checkout_time: stringType().optional(),
|
|
41855
|
+
visit_purpose: stringType().optional(),
|
|
41856
|
+
visit_contact: stringType().optional(),
|
|
41857
|
+
token: stringType().optional(),
|
|
41858
|
+
scan_type: anyType().optional(),
|
|
41859
|
+
recheck_vendor_scan_id: numberType().int().optional(),
|
|
41860
|
+
temperature: numberType().optional()
|
|
40813
41861
|
}).transform((v2) => {
|
|
40814
41862
|
return remap(v2, {
|
|
40815
|
-
zone_id: "zoneId"
|
|
41863
|
+
zone_id: "zoneId",
|
|
41864
|
+
handoff_id: "handoffId",
|
|
41865
|
+
vendor_id: "vendorId",
|
|
41866
|
+
device_id: "deviceId",
|
|
41867
|
+
department_id: "departmentId",
|
|
41868
|
+
department_other: "departmentOther",
|
|
41869
|
+
checkout_time: "checkoutTime",
|
|
41870
|
+
visit_purpose: "visitPurpose",
|
|
41871
|
+
visit_contact: "visitContact",
|
|
41872
|
+
scan_type: "scanType",
|
|
41873
|
+
recheck_vendor_scan_id: "recheckVendorScanId"
|
|
40816
41874
|
});
|
|
40817
41875
|
});
|
|
40818
41876
|
One$outboundSchema2 = objectType({
|
|
40819
41877
|
zoneId: numberType().int(),
|
|
40820
41878
|
longitude: anyType().optional(),
|
|
40821
|
-
latitude: anyType().optional()
|
|
41879
|
+
latitude: anyType().optional(),
|
|
41880
|
+
handoffId: numberType().int().optional(),
|
|
41881
|
+
vendorId: numberType().int().optional(),
|
|
41882
|
+
pin: stringType().optional(),
|
|
41883
|
+
email: stringType().optional(),
|
|
41884
|
+
password: stringType().optional(),
|
|
41885
|
+
deviceId: numberType().int().optional(),
|
|
41886
|
+
departmentId: numberType().int().optional(),
|
|
41887
|
+
departmentOther: stringType().optional(),
|
|
41888
|
+
checkoutTime: stringType().optional(),
|
|
41889
|
+
visitPurpose: stringType().optional(),
|
|
41890
|
+
visitContact: stringType().optional(),
|
|
41891
|
+
token: stringType().optional(),
|
|
41892
|
+
scanType: anyType().optional(),
|
|
41893
|
+
recheckVendorScanId: numberType().int().optional(),
|
|
41894
|
+
temperature: numberType().optional()
|
|
40822
41895
|
}).transform((v2) => {
|
|
40823
41896
|
return remap(v2, {
|
|
40824
|
-
zoneId: "zone_id"
|
|
41897
|
+
zoneId: "zone_id",
|
|
41898
|
+
handoffId: "handoff_id",
|
|
41899
|
+
vendorId: "vendor_id",
|
|
41900
|
+
deviceId: "device_id",
|
|
41901
|
+
departmentId: "department_id",
|
|
41902
|
+
departmentOther: "department_other",
|
|
41903
|
+
checkoutTime: "checkout_time",
|
|
41904
|
+
visitPurpose: "visit_purpose",
|
|
41905
|
+
visitContact: "visit_contact",
|
|
41906
|
+
scanType: "scan_type",
|
|
41907
|
+
recheckVendorScanId: "recheck_vendor_scan_id"
|
|
40825
41908
|
});
|
|
40826
41909
|
});
|
|
40827
41910
|
((One$) => {
|
|
@@ -40837,6 +41920,124 @@ var init_securityzonecheckin = __esm(() => {
|
|
|
40837
41920
|
SecurityZoneCheckinRequestBody$.inboundSchema = SecurityZoneCheckinRequestBody$inboundSchema;
|
|
40838
41921
|
SecurityZoneCheckinRequestBody$.outboundSchema = SecurityZoneCheckinRequestBody$outboundSchema;
|
|
40839
41922
|
})(SecurityZoneCheckinRequestBody$ ||= {});
|
|
41923
|
+
Requires$inboundSchema2 = nativeEnumType(Requires2);
|
|
41924
|
+
Requires$outboundSchema2 = Requires$inboundSchema2;
|
|
41925
|
+
((Requires$) => {
|
|
41926
|
+
Requires$.inboundSchema = Requires$inboundSchema2;
|
|
41927
|
+
Requires$.outboundSchema = Requires$outboundSchema2;
|
|
41928
|
+
})(Requires$2 ||= {});
|
|
41929
|
+
Results$inboundSchema = objectType({
|
|
41930
|
+
has_valid_payment_profile: booleanType().optional(),
|
|
41931
|
+
subscription_expires: nullableType(stringType()).optional(),
|
|
41932
|
+
subscription_expires_within_30_days: booleanType().optional(),
|
|
41933
|
+
qr_to_credentials: booleanType().optional(),
|
|
41934
|
+
date_expires: nullableType(stringType()).optional(),
|
|
41935
|
+
date_last_scanned: nullableType(stringType()).optional(),
|
|
41936
|
+
date_last_in: nullableType(stringType()).optional(),
|
|
41937
|
+
date_last_out: nullableType(stringType()).optional(),
|
|
41938
|
+
height: nullableType(stringType()).optional(),
|
|
41939
|
+
eye_color: nullableType(stringType()).optional(),
|
|
41940
|
+
is_scanned_in: booleanType().optional(),
|
|
41941
|
+
scan_in_vendor_scan: nullableType(VendorScan$inboundSchema).optional(),
|
|
41942
|
+
screening_responses: arrayType(nullableType(ScreeningResponse$inboundSchema)).optional(),
|
|
41943
|
+
vendor_scan: nullableType(VendorScan$inboundSchema).optional()
|
|
41944
|
+
}).transform((v2) => {
|
|
41945
|
+
return remap(v2, {
|
|
41946
|
+
has_valid_payment_profile: "hasValidPaymentProfile",
|
|
41947
|
+
subscription_expires: "subscriptionExpires",
|
|
41948
|
+
subscription_expires_within_30_days: "subscriptionExpiresWithin30Days",
|
|
41949
|
+
qr_to_credentials: "qrToCredentials",
|
|
41950
|
+
date_expires: "dateExpires",
|
|
41951
|
+
date_last_scanned: "dateLastScanned",
|
|
41952
|
+
date_last_in: "dateLastIn",
|
|
41953
|
+
date_last_out: "dateLastOut",
|
|
41954
|
+
eye_color: "eyeColor",
|
|
41955
|
+
is_scanned_in: "isScannedIn",
|
|
41956
|
+
scan_in_vendor_scan: "scanInVendorScan",
|
|
41957
|
+
screening_responses: "screeningResponses",
|
|
41958
|
+
vendor_scan: "vendorScan"
|
|
41959
|
+
});
|
|
41960
|
+
});
|
|
41961
|
+
Results$outboundSchema = objectType({
|
|
41962
|
+
hasValidPaymentProfile: booleanType().optional(),
|
|
41963
|
+
subscriptionExpires: nullableType(stringType()).optional(),
|
|
41964
|
+
subscriptionExpiresWithin30Days: booleanType().optional(),
|
|
41965
|
+
qrToCredentials: booleanType().optional(),
|
|
41966
|
+
dateExpires: nullableType(stringType()).optional(),
|
|
41967
|
+
dateLastScanned: nullableType(stringType()).optional(),
|
|
41968
|
+
dateLastIn: nullableType(stringType()).optional(),
|
|
41969
|
+
dateLastOut: nullableType(stringType()).optional(),
|
|
41970
|
+
height: nullableType(stringType()).optional(),
|
|
41971
|
+
eyeColor: nullableType(stringType()).optional(),
|
|
41972
|
+
isScannedIn: booleanType().optional(),
|
|
41973
|
+
scanInVendorScan: nullableType(VendorScan$outboundSchema).optional(),
|
|
41974
|
+
screeningResponses: arrayType(nullableType(ScreeningResponse$outboundSchema)).optional(),
|
|
41975
|
+
vendorScan: nullableType(VendorScan$outboundSchema).optional()
|
|
41976
|
+
}).transform((v2) => {
|
|
41977
|
+
return remap(v2, {
|
|
41978
|
+
hasValidPaymentProfile: "has_valid_payment_profile",
|
|
41979
|
+
subscriptionExpires: "subscription_expires",
|
|
41980
|
+
subscriptionExpiresWithin30Days: "subscription_expires_within_30_days",
|
|
41981
|
+
qrToCredentials: "qr_to_credentials",
|
|
41982
|
+
dateExpires: "date_expires",
|
|
41983
|
+
dateLastScanned: "date_last_scanned",
|
|
41984
|
+
dateLastIn: "date_last_in",
|
|
41985
|
+
dateLastOut: "date_last_out",
|
|
41986
|
+
eyeColor: "eye_color",
|
|
41987
|
+
isScannedIn: "is_scanned_in",
|
|
41988
|
+
scanInVendorScan: "scan_in_vendor_scan",
|
|
41989
|
+
screeningResponses: "screening_responses",
|
|
41990
|
+
vendorScan: "vendor_scan"
|
|
41991
|
+
});
|
|
41992
|
+
});
|
|
41993
|
+
((Results$) => {
|
|
41994
|
+
Results$.inboundSchema = Results$inboundSchema;
|
|
41995
|
+
Results$.outboundSchema = Results$outboundSchema;
|
|
41996
|
+
})(Results$ ||= {});
|
|
41997
|
+
SecurityZoneCheckinResponseBody$inboundSchema = objectType({
|
|
41998
|
+
success: booleanType().optional(),
|
|
41999
|
+
requires: Requires$inboundSchema2.optional(),
|
|
42000
|
+
handoff: nullableType(Handoff$inboundSchema).optional(),
|
|
42001
|
+
results: lazyType(() => Results$inboundSchema).optional()
|
|
42002
|
+
});
|
|
42003
|
+
SecurityZoneCheckinResponseBody$outboundSchema = objectType({
|
|
42004
|
+
success: booleanType().optional(),
|
|
42005
|
+
requires: Requires$outboundSchema2.optional(),
|
|
42006
|
+
handoff: nullableType(Handoff$outboundSchema).optional(),
|
|
42007
|
+
results: lazyType(() => Results$outboundSchema).optional()
|
|
42008
|
+
});
|
|
42009
|
+
((SecurityZoneCheckinResponseBody$) => {
|
|
42010
|
+
SecurityZoneCheckinResponseBody$.inboundSchema = SecurityZoneCheckinResponseBody$inboundSchema;
|
|
42011
|
+
SecurityZoneCheckinResponseBody$.outboundSchema = SecurityZoneCheckinResponseBody$outboundSchema;
|
|
42012
|
+
})(SecurityZoneCheckinResponseBody$ ||= {});
|
|
42013
|
+
});
|
|
42014
|
+
|
|
42015
|
+
// src/models/operations/updatesthewebhookendpointwiththegivenid.ts
|
|
42016
|
+
var UpdatesTheWebhookEndpointWithTheGivenIdRequest$inboundSchema, UpdatesTheWebhookEndpointWithTheGivenIdRequest$outboundSchema, UpdatesTheWebhookEndpointWithTheGivenIdRequest$;
|
|
42017
|
+
var init_updatesthewebhookendpointwiththegivenid = __esm(() => {
|
|
42018
|
+
init_lib();
|
|
42019
|
+
init_primitives();
|
|
42020
|
+
init_components();
|
|
42021
|
+
UpdatesTheWebhookEndpointWithTheGivenIdRequest$inboundSchema = objectType({
|
|
42022
|
+
id: numberType().int(),
|
|
42023
|
+
WebhookEndpoint: WebhookEndpoint$inboundSchema
|
|
42024
|
+
}).transform((v2) => {
|
|
42025
|
+
return remap(v2, {
|
|
42026
|
+
WebhookEndpoint: "webhookEndpoint"
|
|
42027
|
+
});
|
|
42028
|
+
});
|
|
42029
|
+
UpdatesTheWebhookEndpointWithTheGivenIdRequest$outboundSchema = objectType({
|
|
42030
|
+
id: numberType().int(),
|
|
42031
|
+
webhookEndpoint: WebhookEndpoint$outboundSchema
|
|
42032
|
+
}).transform((v2) => {
|
|
42033
|
+
return remap(v2, {
|
|
42034
|
+
webhookEndpoint: "WebhookEndpoint"
|
|
42035
|
+
});
|
|
42036
|
+
});
|
|
42037
|
+
((UpdatesTheWebhookEndpointWithTheGivenIdRequest$) => {
|
|
42038
|
+
UpdatesTheWebhookEndpointWithTheGivenIdRequest$.inboundSchema = UpdatesTheWebhookEndpointWithTheGivenIdRequest$inboundSchema;
|
|
42039
|
+
UpdatesTheWebhookEndpointWithTheGivenIdRequest$.outboundSchema = UpdatesTheWebhookEndpointWithTheGivenIdRequest$outboundSchema;
|
|
42040
|
+
})(UpdatesTheWebhookEndpointWithTheGivenIdRequest$ ||= {});
|
|
40840
42041
|
});
|
|
40841
42042
|
|
|
40842
42043
|
// src/models/operations/updatevendordetails.ts
|
|
@@ -40914,7 +42115,7 @@ var init_updatevendordetails = __esm(() => {
|
|
|
40914
42115
|
});
|
|
40915
42116
|
|
|
40916
42117
|
// src/models/operations/updatevendormanagedbycompany.ts
|
|
40917
|
-
var UpdateVendorManagedByCompanyRequestBody$inboundSchema, UpdateVendorManagedByCompanyRequestBody$outboundSchema, UpdateVendorManagedByCompanyRequestBody$, UpdateVendorManagedByCompanyRequest$inboundSchema, UpdateVendorManagedByCompanyRequest$outboundSchema, UpdateVendorManagedByCompanyRequest$,
|
|
42118
|
+
var UpdateVendorManagedByCompanyRequestBody$inboundSchema, UpdateVendorManagedByCompanyRequestBody$outboundSchema, UpdateVendorManagedByCompanyRequestBody$, UpdateVendorManagedByCompanyRequest$inboundSchema, UpdateVendorManagedByCompanyRequest$outboundSchema, UpdateVendorManagedByCompanyRequest$, UpdateVendorManagedByCompanyUpdateVendorManagedByCompanyOk$inboundSchema, UpdateVendorManagedByCompanyUpdateVendorManagedByCompanyOk$outboundSchema, UpdateVendorManagedByCompanyUpdateVendorManagedByCompanyOk$;
|
|
40918
42119
|
var init_updatevendormanagedbycompany = __esm(() => {
|
|
40919
42120
|
init_lib();
|
|
40920
42121
|
init_primitives();
|
|
@@ -40986,16 +42187,16 @@ var init_updatevendormanagedbycompany = __esm(() => {
|
|
|
40986
42187
|
UpdateVendorManagedByCompanyRequest$.inboundSchema = UpdateVendorManagedByCompanyRequest$inboundSchema;
|
|
40987
42188
|
UpdateVendorManagedByCompanyRequest$.outboundSchema = UpdateVendorManagedByCompanyRequest$outboundSchema;
|
|
40988
42189
|
})(UpdateVendorManagedByCompanyRequest$ ||= {});
|
|
40989
|
-
|
|
42190
|
+
UpdateVendorManagedByCompanyUpdateVendorManagedByCompanyOk$inboundSchema = objectType({
|
|
40990
42191
|
success: booleanType()
|
|
40991
42192
|
});
|
|
40992
|
-
|
|
42193
|
+
UpdateVendorManagedByCompanyUpdateVendorManagedByCompanyOk$outboundSchema = objectType({
|
|
40993
42194
|
success: booleanType()
|
|
40994
42195
|
});
|
|
40995
|
-
((
|
|
40996
|
-
|
|
40997
|
-
|
|
40998
|
-
})(
|
|
42196
|
+
((UpdateVendorManagedByCompanyUpdateVendorManagedByCompanyOk$) => {
|
|
42197
|
+
UpdateVendorManagedByCompanyUpdateVendorManagedByCompanyOk$.inboundSchema = UpdateVendorManagedByCompanyUpdateVendorManagedByCompanyOk$inboundSchema;
|
|
42198
|
+
UpdateVendorManagedByCompanyUpdateVendorManagedByCompanyOk$.outboundSchema = UpdateVendorManagedByCompanyUpdateVendorManagedByCompanyOk$outboundSchema;
|
|
42199
|
+
})(UpdateVendorManagedByCompanyUpdateVendorManagedByCompanyOk$ ||= {});
|
|
40999
42200
|
});
|
|
41000
42201
|
|
|
41001
42202
|
// src/models/operations/updatevendorscrubdetails.ts
|
|
@@ -41089,7 +42290,7 @@ var init_updatevendorscrubdetails = __esm(() => {
|
|
|
41089
42290
|
});
|
|
41090
42291
|
|
|
41091
42292
|
// src/models/operations/vendorscanout.ts
|
|
41092
|
-
var VendorScanOutRequest$inboundSchema, VendorScanOutRequest$outboundSchema, VendorScanOutRequest$,
|
|
42293
|
+
var VendorScanOutRequest$inboundSchema, VendorScanOutRequest$outboundSchema, VendorScanOutRequest$, VendorScanOutVendorScanOutOk$inboundSchema, VendorScanOutVendorScanOutOk$outboundSchema, VendorScanOutVendorScanOutOk$;
|
|
41093
42294
|
var init_vendorscanout = __esm(() => {
|
|
41094
42295
|
init_lib();
|
|
41095
42296
|
VendorScanOutRequest$inboundSchema = objectType({
|
|
@@ -41102,20 +42303,20 @@ var init_vendorscanout = __esm(() => {
|
|
|
41102
42303
|
VendorScanOutRequest$.inboundSchema = VendorScanOutRequest$inboundSchema;
|
|
41103
42304
|
VendorScanOutRequest$.outboundSchema = VendorScanOutRequest$outboundSchema;
|
|
41104
42305
|
})(VendorScanOutRequest$ ||= {});
|
|
41105
|
-
|
|
42306
|
+
VendorScanOutVendorScanOutOk$inboundSchema = objectType({
|
|
41106
42307
|
error: nullableType(stringType()).optional(),
|
|
41107
42308
|
reason: nullableType(stringType()).optional(),
|
|
41108
42309
|
success: booleanType()
|
|
41109
42310
|
});
|
|
41110
|
-
|
|
42311
|
+
VendorScanOutVendorScanOutOk$outboundSchema = objectType({
|
|
41111
42312
|
error: nullableType(stringType()).optional(),
|
|
41112
42313
|
reason: nullableType(stringType()).optional(),
|
|
41113
42314
|
success: booleanType()
|
|
41114
42315
|
});
|
|
41115
|
-
((
|
|
41116
|
-
|
|
41117
|
-
|
|
41118
|
-
})(
|
|
42316
|
+
((VendorScanOutVendorScanOutOk$) => {
|
|
42317
|
+
VendorScanOutVendorScanOutOk$.inboundSchema = VendorScanOutVendorScanOutOk$inboundSchema;
|
|
42318
|
+
VendorScanOutVendorScanOutOk$.outboundSchema = VendorScanOutVendorScanOutOk$outboundSchema;
|
|
42319
|
+
})(VendorScanOutVendorScanOutOk$ ||= {});
|
|
41119
42320
|
});
|
|
41120
42321
|
|
|
41121
42322
|
// src/models/operations/index.ts
|
|
@@ -41129,6 +42330,7 @@ var init_operations = __esm(() => {
|
|
|
41129
42330
|
init_getfacility();
|
|
41130
42331
|
init_getsupportarticle();
|
|
41131
42332
|
init_getuserbyid();
|
|
42333
|
+
init_getvendorcredentialdetails();
|
|
41132
42334
|
init_getvendorinvoicedetails();
|
|
41133
42335
|
init_getvendorsdetails();
|
|
41134
42336
|
init_getwebhookendpoint();
|
|
@@ -41147,12 +42349,13 @@ var init_operations = __esm(() => {
|
|
|
41147
42349
|
init_listvendorscrubdetails();
|
|
41148
42350
|
init_listvendorscrubpackages();
|
|
41149
42351
|
init_listvendorscrubpurchases();
|
|
41150
|
-
init_logsuserintothesystem();
|
|
41151
42352
|
init_magiclink();
|
|
41152
42353
|
init_password();
|
|
41153
42354
|
init_passwordresetrequest();
|
|
42355
|
+
init_postauthenticate();
|
|
41154
42356
|
init_purchasescrubcredits();
|
|
41155
42357
|
init_securityzonecheckin();
|
|
42358
|
+
init_updatesthewebhookendpointwiththegivenid();
|
|
41156
42359
|
init_updatevendordetails();
|
|
41157
42360
|
init_updatevendormanagedbycompany();
|
|
41158
42361
|
init_updatevendorscrubdetails();
|
|
@@ -41403,7 +42606,7 @@ async function $do2(client, request, options) {
|
|
|
41403
42606
|
const req = requestRes.value;
|
|
41404
42607
|
const doResult = await client._do(req, {
|
|
41405
42608
|
context,
|
|
41406
|
-
errorCodes: ["401", "403", "404", "4XX", "500", "5XX"],
|
|
42609
|
+
errorCodes: ["400", "401", "403", "404", "4XX", "500", "5XX"],
|
|
41407
42610
|
retryConfig: context.retryConfig,
|
|
41408
42611
|
retryCodes: context.retryCodes
|
|
41409
42612
|
});
|
|
@@ -41414,7 +42617,7 @@ async function $do2(client, request, options) {
|
|
|
41414
42617
|
const responseFields = {
|
|
41415
42618
|
HttpMeta: { Response: response, Request: req }
|
|
41416
42619
|
};
|
|
41417
|
-
const [result] = await match(json(200, Facility$inboundSchema), jsonErr([401, 403, 404], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
|
|
42620
|
+
const [result] = await match(json(200, Facility$inboundSchema), jsonErr([400, 401, 403, 404], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
|
|
41418
42621
|
if (!result.ok) {
|
|
41419
42622
|
return [result, { status: "complete", request: req, response }];
|
|
41420
42623
|
}
|
|
@@ -41518,7 +42721,7 @@ async function $do3(client, request, options) {
|
|
|
41518
42721
|
const req = requestRes.value;
|
|
41519
42722
|
const doResult = await client._do(req, {
|
|
41520
42723
|
context,
|
|
41521
|
-
errorCodes: ["
|
|
42724
|
+
errorCodes: ["400", "401", "403", "4XX", "500", "5XX"],
|
|
41522
42725
|
retryConfig: context.retryConfig,
|
|
41523
42726
|
retryCodes: context.retryCodes
|
|
41524
42727
|
});
|
|
@@ -41531,7 +42734,7 @@ async function $do3(client, request, options) {
|
|
|
41531
42734
|
};
|
|
41532
42735
|
const [result, raw] = await match(json(200, ListOrSearchFacilitiesResponse$inboundSchema, {
|
|
41533
42736
|
key: "Result"
|
|
41534
|
-
}), jsonErr([401, 403
|
|
42737
|
+
}), jsonErr([400, 401, 403], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
|
|
41535
42738
|
if (!result.ok) {
|
|
41536
42739
|
return [haltIterator(result), {
|
|
41537
42740
|
status: "complete",
|
|
@@ -41672,7 +42875,7 @@ async function $do4(client, request, options) {
|
|
|
41672
42875
|
const req = requestRes.value;
|
|
41673
42876
|
const doResult = await client._do(req, {
|
|
41674
42877
|
context,
|
|
41675
|
-
errorCodes: ["404", "4XX", "5XX"],
|
|
42878
|
+
errorCodes: ["400", "401", "403", "404", "4XX", "500", "5XX"],
|
|
41676
42879
|
retryConfig: context.retryConfig,
|
|
41677
42880
|
retryCodes: context.retryCodes
|
|
41678
42881
|
});
|
|
@@ -41683,7 +42886,7 @@ async function $do4(client, request, options) {
|
|
|
41683
42886
|
const responseFields = {
|
|
41684
42887
|
HttpMeta: { Response: response, Request: req }
|
|
41685
42888
|
};
|
|
41686
|
-
const [result] = await match(json(200, SupportArticle$inboundSchema), jsonErr(404, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
|
|
42889
|
+
const [result] = await match(json(200, SupportArticle$inboundSchema), jsonErr([400, 401, 403, 404], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
|
|
41687
42890
|
if (!result.ok) {
|
|
41688
42891
|
return [result, { status: "complete", request: req, response }];
|
|
41689
42892
|
}
|
|
@@ -41788,7 +42991,7 @@ async function $do5(client, request, options) {
|
|
|
41788
42991
|
const req = requestRes.value;
|
|
41789
42992
|
const doResult = await client._do(req, {
|
|
41790
42993
|
context,
|
|
41791
|
-
errorCodes: ["4XX", "5XX"],
|
|
42994
|
+
errorCodes: ["400", "401", "403", "4XX", "500", "5XX"],
|
|
41792
42995
|
retryConfig: context.retryConfig,
|
|
41793
42996
|
retryCodes: context.retryCodes
|
|
41794
42997
|
});
|
|
@@ -41801,7 +43004,7 @@ async function $do5(client, request, options) {
|
|
|
41801
43004
|
};
|
|
41802
43005
|
const [result, raw] = await match(json(200, ListOrSearchSupportArticlesResponse$inboundSchema, {
|
|
41803
43006
|
key: "Result"
|
|
41804
|
-
}), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
|
|
43007
|
+
}), jsonErr([400, 401, 403], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
|
|
41805
43008
|
if (!result.ok) {
|
|
41806
43009
|
return [haltIterator(result), {
|
|
41807
43010
|
status: "complete",
|
|
@@ -41843,6 +43046,7 @@ var init_supportArticlesListOrSearchSupportArticles = __esm(() => {
|
|
|
41843
43046
|
init_schemas();
|
|
41844
43047
|
init_security();
|
|
41845
43048
|
init_url();
|
|
43049
|
+
init_errors();
|
|
41846
43050
|
init_operations();
|
|
41847
43051
|
init_async();
|
|
41848
43052
|
init_operations2();
|
|
@@ -41936,7 +43140,7 @@ async function $do6(client, request, options) {
|
|
|
41936
43140
|
const responseFields = {
|
|
41937
43141
|
HttpMeta: { Response: response, Request: req }
|
|
41938
43142
|
};
|
|
41939
|
-
const [result] = await match(json(200,
|
|
43143
|
+
const [result] = await match(json(200, ChangePasswordChangePasswordOk$inboundSchema), jsonErr([400, 401, 403], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
|
|
41940
43144
|
if (!result.ok) {
|
|
41941
43145
|
return [result, { status: "complete", request: req, response }];
|
|
41942
43146
|
}
|
|
@@ -42017,7 +43221,7 @@ async function $do7(client, options) {
|
|
|
42017
43221
|
const req = requestRes.value;
|
|
42018
43222
|
const doResult = await client._do(req, {
|
|
42019
43223
|
context,
|
|
42020
|
-
errorCodes: ["400", "401", "403", "404", "4XX", "5XX"],
|
|
43224
|
+
errorCodes: ["400", "401", "403", "404", "4XX", "500", "5XX"],
|
|
42021
43225
|
retryConfig: context.retryConfig,
|
|
42022
43226
|
retryCodes: context.retryCodes
|
|
42023
43227
|
});
|
|
@@ -42028,7 +43232,7 @@ async function $do7(client, options) {
|
|
|
42028
43232
|
const responseFields = {
|
|
42029
43233
|
HttpMeta: { Response: response, Request: req }
|
|
42030
43234
|
};
|
|
42031
|
-
const [result] = await match(json(200, User$inboundSchema), jsonErr([400, 401, 403, 404], ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
|
|
43235
|
+
const [result] = await match(json(200, User$inboundSchema), jsonErr([400, 401, 403, 404], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
|
|
42032
43236
|
if (!result.ok) {
|
|
42033
43237
|
return [result, { status: "complete", request: req, response }];
|
|
42034
43238
|
}
|
|
@@ -42115,7 +43319,7 @@ async function $do8(client, request, options) {
|
|
|
42115
43319
|
const req = requestRes.value;
|
|
42116
43320
|
const doResult = await client._do(req, {
|
|
42117
43321
|
context,
|
|
42118
|
-
errorCodes: ["400", "401", "403", "404", "4XX", "5XX"],
|
|
43322
|
+
errorCodes: ["400", "401", "403", "404", "4XX", "500", "5XX"],
|
|
42119
43323
|
retryConfig: context.retryConfig,
|
|
42120
43324
|
retryCodes: context.retryCodes
|
|
42121
43325
|
});
|
|
@@ -42126,7 +43330,7 @@ async function $do8(client, request, options) {
|
|
|
42126
43330
|
const responseFields = {
|
|
42127
43331
|
HttpMeta: { Response: response, Request: req }
|
|
42128
43332
|
};
|
|
42129
|
-
const [result] = await match(json(200, User$inboundSchema), jsonErr([400, 401, 403, 404], ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
|
|
43333
|
+
const [result] = await match(json(200, User$inboundSchema), jsonErr([400, 401, 403, 404], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
|
|
42130
43334
|
if (!result.ok) {
|
|
42131
43335
|
return [result, { status: "complete", request: req, response }];
|
|
42132
43336
|
}
|
|
@@ -42174,32 +43378,35 @@ Returns a user object for the user represented by the identifier in the path.`,
|
|
|
42174
43378
|
};
|
|
42175
43379
|
});
|
|
42176
43380
|
|
|
42177
|
-
// src/funcs/
|
|
42178
|
-
function
|
|
43381
|
+
// src/funcs/usersMagiclink.ts
|
|
43382
|
+
function usersMagiclink(client, request, options) {
|
|
42179
43383
|
return new APIPromise($do9(client, request, options));
|
|
42180
43384
|
}
|
|
42181
43385
|
async function $do9(client, request, options) {
|
|
42182
|
-
const parsed = safeParse(request, (value) =>
|
|
43386
|
+
const parsed = safeParse(request, (value) => MagiclinkRequestBody$outboundSchema.parse(value), "Input validation failed");
|
|
42183
43387
|
if (!parsed.ok) {
|
|
42184
43388
|
return [parsed, { status: "invalid" }];
|
|
42185
43389
|
}
|
|
42186
43390
|
const payload = parsed.value;
|
|
42187
43391
|
const body = encodeJSON("body", payload, { explode: true });
|
|
42188
|
-
const path = pathToFunc("/users/
|
|
43392
|
+
const path = pathToFunc("/users/magiclink")();
|
|
42189
43393
|
const headers = new Headers(compactMap({
|
|
42190
43394
|
"Content-Type": "application/json",
|
|
42191
43395
|
Accept: "application/json"
|
|
42192
43396
|
}));
|
|
43397
|
+
const securityInput = await extractSecurity(client._options.security);
|
|
43398
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
42193
43399
|
const context = {
|
|
42194
43400
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
42195
|
-
operationID: "
|
|
43401
|
+
operationID: "magiclink",
|
|
42196
43402
|
oAuth2Scopes: [],
|
|
42197
|
-
resolvedSecurity:
|
|
42198
|
-
securitySource:
|
|
43403
|
+
resolvedSecurity: requestSecurity,
|
|
43404
|
+
securitySource: client._options.security,
|
|
42199
43405
|
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
42200
43406
|
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
42201
43407
|
};
|
|
42202
43408
|
const requestRes = client._createRequest(context, {
|
|
43409
|
+
security: requestSecurity,
|
|
42203
43410
|
method: "POST",
|
|
42204
43411
|
baseURL: options?.serverURL,
|
|
42205
43412
|
path,
|
|
@@ -42213,7 +43420,7 @@ async function $do9(client, request, options) {
|
|
|
42213
43420
|
const req = requestRes.value;
|
|
42214
43421
|
const doResult = await client._do(req, {
|
|
42215
43422
|
context,
|
|
42216
|
-
errorCodes: ["
|
|
43423
|
+
errorCodes: ["404", "4XX", "500", "5XX"],
|
|
42217
43424
|
retryConfig: context.retryConfig,
|
|
42218
43425
|
retryCodes: context.retryCodes
|
|
42219
43426
|
});
|
|
@@ -42224,70 +43431,41 @@ async function $do9(client, request, options) {
|
|
|
42224
43431
|
const responseFields = {
|
|
42225
43432
|
HttpMeta: { Response: response, Request: req }
|
|
42226
43433
|
};
|
|
42227
|
-
const [result] = await match(json(200,
|
|
43434
|
+
const [result] = await match(json(200, MagiclinkMagiclinkOk$inboundSchema), jsonErr(404, ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
|
|
42228
43435
|
if (!result.ok) {
|
|
42229
43436
|
return [result, { status: "complete", request: req, response }];
|
|
42230
43437
|
}
|
|
42231
43438
|
return [result, { status: "complete", request: req, response }];
|
|
42232
43439
|
}
|
|
42233
|
-
var
|
|
43440
|
+
var init_usersMagiclink = __esm(() => {
|
|
42234
43441
|
init_encodings();
|
|
42235
43442
|
init_matchers();
|
|
42236
43443
|
init_primitives();
|
|
42237
43444
|
init_schemas();
|
|
43445
|
+
init_security();
|
|
42238
43446
|
init_url();
|
|
42239
43447
|
init_errors();
|
|
42240
43448
|
init_operations();
|
|
42241
43449
|
init_async();
|
|
42242
43450
|
});
|
|
42243
43451
|
|
|
42244
|
-
// src/mcp-server/tools/
|
|
42245
|
-
var args8, tool$
|
|
42246
|
-
var
|
|
42247
|
-
|
|
43452
|
+
// src/mcp-server/tools/usersMagiclink.ts
|
|
43453
|
+
var args8, tool$usersMagiclink;
|
|
43454
|
+
var init_usersMagiclink2 = __esm(() => {
|
|
43455
|
+
init_usersMagiclink();
|
|
42248
43456
|
init_operations();
|
|
42249
43457
|
init_tools();
|
|
42250
43458
|
args8 = {
|
|
42251
|
-
request:
|
|
43459
|
+
request: MagiclinkRequestBody$inboundSchema
|
|
42252
43460
|
};
|
|
42253
|
-
tool$
|
|
42254
|
-
name: "users-
|
|
42255
|
-
description: `
|
|
42256
|
-
|
|
42257
|
-
This endpoint allows a user to authenticate themselves and retrieve a permanent token for access.
|
|
42258
|
-
|
|
42259
|
-
Permanent tokens should only ever be stored in an encrypted storage because they represent a fully logged in user.
|
|
42260
|
-
|
|
42261
|
-
Users may log in with \`email/password\`, \`SAML\`, \`magic link\` or \`mfa\`. The application should handle all of the above as equally valid login methods.
|
|
42262
|
-
|
|
42263
|
-
The most common way to authenticate a user is to log in with an email and password. If the user provides valid credentials, the server will either respond with a full user object including the token.
|
|
42264
|
-
|
|
42265
|
-
When the user's account is protected via MFA, the server will send a 6 digit code to the user via their default MFA provider. You should collect that code and resend the email, password and mfa_code together to get a successful authentication.
|
|
42266
|
-
|
|
42267
|
-
The ideal flow for a login sequence is the following:
|
|
42268
|
-
|
|
42269
|
-
1. Present an email address field only and allow the user to submit
|
|
42270
|
-
2. Send \`email\` and \`return_url\` payload to this endpoint
|
|
42271
|
-
3. Follow the flow based on the response \`requires\` field
|
|
42272
|
-
|
|
42273
|
-
Requires: \`password\`
|
|
42274
|
-
|
|
42275
|
-
1. Show a password field for the user to fill out
|
|
42276
|
-
2. Submit the \`email\` and \`password\` to this endpoint
|
|
42277
|
-
3. If the response is \`200\`, the login is done. If the response is \`201\`, then check if \`requires: mfa_code\` is returned and show MFA flow
|
|
42278
|
-
4. Submit \`email\`, \`password\`, \`mfa_code\` to this endpoint
|
|
42279
|
-
5. If the response is \`200\`, the login is done. Otherwise, show the appropriate error to the user and go back to step 1 or 3 depending on the error.
|
|
42280
|
-
|
|
42281
|
-
Requires: \`saml_login\`
|
|
43461
|
+
tool$usersMagiclink = {
|
|
43462
|
+
name: "users-magiclink",
|
|
43463
|
+
description: `Magic link
|
|
42282
43464
|
|
|
42283
|
-
|
|
42284
|
-
2. User completes sign-in using their configured SAML IdP
|
|
42285
|
-
3. Site redirects to your selected \`return_url\`
|
|
42286
|
-
4. The \`user_token\` will be appended as a query string parameter to your \`return_url\` - you must parse this token and store it
|
|
42287
|
-
5. Fetch the user object from \`/users/me\` using the token`,
|
|
43465
|
+
It sends an email with a magic link to allow the user to log in.`,
|
|
42288
43466
|
args: args8,
|
|
42289
43467
|
tool: async (client, args9, ctx) => {
|
|
42290
|
-
const [result, apiCall] = await
|
|
43468
|
+
const [result, apiCall] = await usersMagiclink(client, args9.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
42291
43469
|
if (!result.ok) {
|
|
42292
43470
|
return {
|
|
42293
43471
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -42300,18 +43478,18 @@ Requires: \`saml_login\`
|
|
|
42300
43478
|
};
|
|
42301
43479
|
});
|
|
42302
43480
|
|
|
42303
|
-
// src/funcs/
|
|
42304
|
-
function
|
|
43481
|
+
// src/funcs/usersPassword.ts
|
|
43482
|
+
function usersPassword(client, request, options) {
|
|
42305
43483
|
return new APIPromise($do10(client, request, options));
|
|
42306
43484
|
}
|
|
42307
43485
|
async function $do10(client, request, options) {
|
|
42308
|
-
const parsed = safeParse(request, (value) =>
|
|
43486
|
+
const parsed = safeParse(request, (value) => PasswordRequestBody$outboundSchema.parse(value), "Input validation failed");
|
|
42309
43487
|
if (!parsed.ok) {
|
|
42310
43488
|
return [parsed, { status: "invalid" }];
|
|
42311
43489
|
}
|
|
42312
43490
|
const payload = parsed.value;
|
|
42313
43491
|
const body = encodeJSON("body", payload, { explode: true });
|
|
42314
|
-
const path = pathToFunc("/users/
|
|
43492
|
+
const path = pathToFunc("/users/password")();
|
|
42315
43493
|
const headers = new Headers(compactMap({
|
|
42316
43494
|
"Content-Type": "application/json",
|
|
42317
43495
|
Accept: "application/json"
|
|
@@ -42320,7 +43498,7 @@ async function $do10(client, request, options) {
|
|
|
42320
43498
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
42321
43499
|
const context = {
|
|
42322
43500
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
42323
|
-
operationID: "
|
|
43501
|
+
operationID: "password",
|
|
42324
43502
|
oAuth2Scopes: [],
|
|
42325
43503
|
resolvedSecurity: requestSecurity,
|
|
42326
43504
|
securitySource: client._options.security,
|
|
@@ -42342,7 +43520,7 @@ async function $do10(client, request, options) {
|
|
|
42342
43520
|
const req = requestRes.value;
|
|
42343
43521
|
const doResult = await client._do(req, {
|
|
42344
43522
|
context,
|
|
42345
|
-
errorCodes: ["
|
|
43523
|
+
errorCodes: ["400", "401", "403", "4XX", "500", "5XX"],
|
|
42346
43524
|
retryConfig: context.retryConfig,
|
|
42347
43525
|
retryCodes: context.retryCodes
|
|
42348
43526
|
});
|
|
@@ -42353,13 +43531,13 @@ async function $do10(client, request, options) {
|
|
|
42353
43531
|
const responseFields = {
|
|
42354
43532
|
HttpMeta: { Response: response, Request: req }
|
|
42355
43533
|
};
|
|
42356
|
-
const [result] = await match(json(200,
|
|
43534
|
+
const [result] = await match(json(200, PasswordPasswordOk$inboundSchema), jsonErr([400, 401, 403], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
|
|
42357
43535
|
if (!result.ok) {
|
|
42358
43536
|
return [result, { status: "complete", request: req, response }];
|
|
42359
43537
|
}
|
|
42360
43538
|
return [result, { status: "complete", request: req, response }];
|
|
42361
43539
|
}
|
|
42362
|
-
var
|
|
43540
|
+
var init_usersPassword = __esm(() => {
|
|
42363
43541
|
init_encodings();
|
|
42364
43542
|
init_matchers();
|
|
42365
43543
|
init_primitives();
|
|
@@ -42371,23 +43549,24 @@ var init_usersMagiclink = __esm(() => {
|
|
|
42371
43549
|
init_async();
|
|
42372
43550
|
});
|
|
42373
43551
|
|
|
42374
|
-
// src/mcp-server/tools/
|
|
42375
|
-
var args9, tool$
|
|
42376
|
-
var
|
|
42377
|
-
|
|
43552
|
+
// src/mcp-server/tools/usersPassword.ts
|
|
43553
|
+
var args9, tool$usersPassword;
|
|
43554
|
+
var init_usersPassword2 = __esm(() => {
|
|
43555
|
+
init_usersPassword();
|
|
42378
43556
|
init_operations();
|
|
42379
43557
|
init_tools();
|
|
42380
43558
|
args9 = {
|
|
42381
|
-
request:
|
|
43559
|
+
request: PasswordRequestBody$inboundSchema
|
|
42382
43560
|
};
|
|
42383
|
-
tool$
|
|
42384
|
-
name: "users-
|
|
42385
|
-
description: `
|
|
43561
|
+
tool$usersPassword = {
|
|
43562
|
+
name: "users-password",
|
|
43563
|
+
description: `Password reset
|
|
42386
43564
|
|
|
42387
|
-
|
|
43565
|
+
Resets the a user's password using a password_reset_id that was sent to them via email.
|
|
43566
|
+
See /users/passwordresetrequest to initiate a password reset flow.`,
|
|
42388
43567
|
args: args9,
|
|
42389
43568
|
tool: async (client, args10, ctx) => {
|
|
42390
|
-
const [result, apiCall] = await
|
|
43569
|
+
const [result, apiCall] = await usersPassword(client, args10.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
42391
43570
|
if (!result.ok) {
|
|
42392
43571
|
return {
|
|
42393
43572
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -42400,18 +43579,18 @@ It sends an email with a magic link to allow the user to log in.`,
|
|
|
42400
43579
|
};
|
|
42401
43580
|
});
|
|
42402
43581
|
|
|
42403
|
-
// src/funcs/
|
|
42404
|
-
function
|
|
43582
|
+
// src/funcs/usersPasswordResetRequest.ts
|
|
43583
|
+
function usersPasswordResetRequest(client, request, options) {
|
|
42405
43584
|
return new APIPromise($do11(client, request, options));
|
|
42406
43585
|
}
|
|
42407
43586
|
async function $do11(client, request, options) {
|
|
42408
|
-
const parsed = safeParse(request, (value) =>
|
|
43587
|
+
const parsed = safeParse(request, (value) => PasswordResetRequestRequestBody$outboundSchema.parse(value), "Input validation failed");
|
|
42409
43588
|
if (!parsed.ok) {
|
|
42410
43589
|
return [parsed, { status: "invalid" }];
|
|
42411
43590
|
}
|
|
42412
43591
|
const payload = parsed.value;
|
|
42413
43592
|
const body = encodeJSON("body", payload, { explode: true });
|
|
42414
|
-
const path = pathToFunc("/users/
|
|
43593
|
+
const path = pathToFunc("/users/passwordresetrequest")();
|
|
42415
43594
|
const headers = new Headers(compactMap({
|
|
42416
43595
|
"Content-Type": "application/json",
|
|
42417
43596
|
Accept: "application/json"
|
|
@@ -42420,7 +43599,7 @@ async function $do11(client, request, options) {
|
|
|
42420
43599
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
42421
43600
|
const context = {
|
|
42422
43601
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
42423
|
-
operationID: "
|
|
43602
|
+
operationID: "passwordResetRequest",
|
|
42424
43603
|
oAuth2Scopes: [],
|
|
42425
43604
|
resolvedSecurity: requestSecurity,
|
|
42426
43605
|
securitySource: client._options.security,
|
|
@@ -42442,7 +43621,7 @@ async function $do11(client, request, options) {
|
|
|
42442
43621
|
const req = requestRes.value;
|
|
42443
43622
|
const doResult = await client._do(req, {
|
|
42444
43623
|
context,
|
|
42445
|
-
errorCodes: ["404", "4XX", "5XX"],
|
|
43624
|
+
errorCodes: ["400", "404", "4XX", "500", "5XX"],
|
|
42446
43625
|
retryConfig: context.retryConfig,
|
|
42447
43626
|
retryCodes: context.retryCodes
|
|
42448
43627
|
});
|
|
@@ -42453,13 +43632,13 @@ async function $do11(client, request, options) {
|
|
|
42453
43632
|
const responseFields = {
|
|
42454
43633
|
HttpMeta: { Response: response, Request: req }
|
|
42455
43634
|
};
|
|
42456
|
-
const [result] = await match(json(200,
|
|
43635
|
+
const [result] = await match(json(200, PasswordResetRequestPasswordResetRequestOk$inboundSchema), jsonErr([400, 404], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
|
|
42457
43636
|
if (!result.ok) {
|
|
42458
43637
|
return [result, { status: "complete", request: req, response }];
|
|
42459
43638
|
}
|
|
42460
43639
|
return [result, { status: "complete", request: req, response }];
|
|
42461
43640
|
}
|
|
42462
|
-
var
|
|
43641
|
+
var init_usersPasswordResetRequest = __esm(() => {
|
|
42463
43642
|
init_encodings();
|
|
42464
43643
|
init_matchers();
|
|
42465
43644
|
init_primitives();
|
|
@@ -42471,24 +43650,23 @@ var init_usersPassword = __esm(() => {
|
|
|
42471
43650
|
init_async();
|
|
42472
43651
|
});
|
|
42473
43652
|
|
|
42474
|
-
// src/mcp-server/tools/
|
|
42475
|
-
var args10, tool$
|
|
42476
|
-
var
|
|
42477
|
-
|
|
43653
|
+
// src/mcp-server/tools/usersPasswordResetRequest.ts
|
|
43654
|
+
var args10, tool$usersPasswordResetRequest;
|
|
43655
|
+
var init_usersPasswordResetRequest2 = __esm(() => {
|
|
43656
|
+
init_usersPasswordResetRequest();
|
|
42478
43657
|
init_operations();
|
|
42479
43658
|
init_tools();
|
|
42480
43659
|
args10 = {
|
|
42481
|
-
request:
|
|
43660
|
+
request: PasswordResetRequestRequestBody$inboundSchema
|
|
42482
43661
|
};
|
|
42483
|
-
tool$
|
|
42484
|
-
name: "users-password",
|
|
42485
|
-
description: `Password reset
|
|
43662
|
+
tool$usersPasswordResetRequest = {
|
|
43663
|
+
name: "users-password-reset-request",
|
|
43664
|
+
description: `Password reset request
|
|
42486
43665
|
|
|
42487
|
-
|
|
42488
|
-
See /users/passwordresetrequest to initiate a password reset flow.`,
|
|
43666
|
+
It sends an email with a link for resetting a user's password.`,
|
|
42489
43667
|
args: args10,
|
|
42490
43668
|
tool: async (client, args11, ctx) => {
|
|
42491
|
-
const [result, apiCall] = await
|
|
43669
|
+
const [result, apiCall] = await usersPasswordResetRequest(client, args11.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
42492
43670
|
if (!result.ok) {
|
|
42493
43671
|
return {
|
|
42494
43672
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -42501,35 +43679,32 @@ See /users/passwordresetrequest to initiate a password reset flow.`,
|
|
|
42501
43679
|
};
|
|
42502
43680
|
});
|
|
42503
43681
|
|
|
42504
|
-
// src/funcs/
|
|
42505
|
-
function
|
|
43682
|
+
// src/funcs/usersPostAuthenticate.ts
|
|
43683
|
+
function usersPostAuthenticate(client, request, options) {
|
|
42506
43684
|
return new APIPromise($do12(client, request, options));
|
|
42507
43685
|
}
|
|
42508
43686
|
async function $do12(client, request, options) {
|
|
42509
|
-
const parsed = safeParse(request, (value) =>
|
|
43687
|
+
const parsed = safeParse(request, (value) => PostAuthenticateRequestBody$outboundSchema.parse(value), "Input validation failed");
|
|
42510
43688
|
if (!parsed.ok) {
|
|
42511
43689
|
return [parsed, { status: "invalid" }];
|
|
42512
43690
|
}
|
|
42513
43691
|
const payload = parsed.value;
|
|
42514
43692
|
const body = encodeJSON("body", payload, { explode: true });
|
|
42515
|
-
const path = pathToFunc("/users/
|
|
43693
|
+
const path = pathToFunc("/users/authenticate")();
|
|
42516
43694
|
const headers = new Headers(compactMap({
|
|
42517
43695
|
"Content-Type": "application/json",
|
|
42518
43696
|
Accept: "application/json"
|
|
42519
43697
|
}));
|
|
42520
|
-
const securityInput = await extractSecurity(client._options.security);
|
|
42521
|
-
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
42522
43698
|
const context = {
|
|
42523
43699
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
42524
|
-
operationID: "
|
|
43700
|
+
operationID: "postAuthenticate",
|
|
42525
43701
|
oAuth2Scopes: [],
|
|
42526
|
-
resolvedSecurity:
|
|
42527
|
-
securitySource:
|
|
43702
|
+
resolvedSecurity: null,
|
|
43703
|
+
securitySource: null,
|
|
42528
43704
|
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
42529
43705
|
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
42530
43706
|
};
|
|
42531
43707
|
const requestRes = client._createRequest(context, {
|
|
42532
|
-
security: requestSecurity,
|
|
42533
43708
|
method: "POST",
|
|
42534
43709
|
baseURL: options?.serverURL,
|
|
42535
43710
|
path,
|
|
@@ -42543,7 +43718,7 @@ async function $do12(client, request, options) {
|
|
|
42543
43718
|
const req = requestRes.value;
|
|
42544
43719
|
const doResult = await client._do(req, {
|
|
42545
43720
|
context,
|
|
42546
|
-
errorCodes: ["404", "4XX", "5XX"],
|
|
43721
|
+
errorCodes: ["400", "401", "403", "404", "4XX", "500", "5XX"],
|
|
42547
43722
|
retryConfig: context.retryConfig,
|
|
42548
43723
|
retryCodes: context.retryCodes
|
|
42549
43724
|
});
|
|
@@ -42554,41 +43729,70 @@ async function $do12(client, request, options) {
|
|
|
42554
43729
|
const responseFields = {
|
|
42555
43730
|
HttpMeta: { Response: response, Request: req }
|
|
42556
43731
|
};
|
|
42557
|
-
const [result] = await match(json(200,
|
|
43732
|
+
const [result] = await match(json(200, PostAuthenticateResponse$inboundSchema), json(202, PostAuthenticateResponse$inboundSchema), jsonErr([400, 401, 403, 404], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
|
|
42558
43733
|
if (!result.ok) {
|
|
42559
43734
|
return [result, { status: "complete", request: req, response }];
|
|
42560
43735
|
}
|
|
42561
43736
|
return [result, { status: "complete", request: req, response }];
|
|
42562
43737
|
}
|
|
42563
|
-
var
|
|
43738
|
+
var init_usersPostAuthenticate = __esm(() => {
|
|
42564
43739
|
init_encodings();
|
|
42565
43740
|
init_matchers();
|
|
42566
43741
|
init_primitives();
|
|
42567
43742
|
init_schemas();
|
|
42568
|
-
init_security();
|
|
42569
43743
|
init_url();
|
|
42570
43744
|
init_errors();
|
|
42571
43745
|
init_operations();
|
|
42572
43746
|
init_async();
|
|
42573
43747
|
});
|
|
42574
43748
|
|
|
42575
|
-
// src/mcp-server/tools/
|
|
42576
|
-
var args11, tool$
|
|
42577
|
-
var
|
|
42578
|
-
|
|
43749
|
+
// src/mcp-server/tools/usersPostAuthenticate.ts
|
|
43750
|
+
var args11, tool$usersPostAuthenticate;
|
|
43751
|
+
var init_usersPostAuthenticate2 = __esm(() => {
|
|
43752
|
+
init_usersPostAuthenticate();
|
|
42579
43753
|
init_operations();
|
|
42580
43754
|
init_tools();
|
|
42581
43755
|
args11 = {
|
|
42582
|
-
request:
|
|
43756
|
+
request: PostAuthenticateRequestBody$inboundSchema
|
|
42583
43757
|
};
|
|
42584
|
-
tool$
|
|
42585
|
-
name: "users-
|
|
42586
|
-
description: `
|
|
43758
|
+
tool$usersPostAuthenticate = {
|
|
43759
|
+
name: "users-post-authenticate",
|
|
43760
|
+
description: `Logs user into the system
|
|
42587
43761
|
|
|
42588
|
-
|
|
43762
|
+
This endpoint allows a user to authenticate themselves and retrieve a permanent token for access.
|
|
43763
|
+
|
|
43764
|
+
Permanent tokens should only ever be stored in an encrypted storage because they represent a fully logged in user.
|
|
43765
|
+
|
|
43766
|
+
Users may log in with \`email/password\`, \`SAML\`, \`magic link\` or \`mfa\`. The application should handle all of the above as equally valid login methods.
|
|
43767
|
+
|
|
43768
|
+
The most common way to authenticate a user is to log in with an email and password. If the user provides valid credentials, the server will either respond with a full user object including the token.
|
|
43769
|
+
|
|
43770
|
+
When the user's account is protected via MFA, the server will send a 6 digit code to the user via their default MFA provider. You should collect that code and resend the email, password and mfa_code together to get a successful authentication.
|
|
43771
|
+
|
|
43772
|
+
The ideal flow for a login sequence is the following:
|
|
43773
|
+
|
|
43774
|
+
1. Present an email address field only and allow the user to submit
|
|
43775
|
+
2. Send \`email\` and \`return_url\` payload to this endpoint
|
|
43776
|
+
3. Follow the flow based on the response \`requires\` field
|
|
43777
|
+
|
|
43778
|
+
Requires: \`password\`
|
|
43779
|
+
|
|
43780
|
+
1. Show a password field for the user to fill out
|
|
43781
|
+
2. Submit the \`email\` and \`password\` to this endpoint
|
|
43782
|
+
3. If the response is \`200\`, the login is done. If the response is \`201\`, then check if \`requires: mfa_code\` is returned and show MFA flow
|
|
43783
|
+
4. Submit \`email\`, \`password\`, \`mfa_code\` to this endpoint
|
|
43784
|
+
5. If the response is \`200\`, the login is done. Otherwise, show the appropriate error to the user and go back to step 1 or 3 depending on the error.
|
|
43785
|
+
|
|
43786
|
+
Requires: \`saml_login\`
|
|
43787
|
+
|
|
43788
|
+
1. [Open a browser](https://docs.expo.dev/versions/latest/sdk/webbrowser/#webbrowseropenauthsessionasyncurl-redirecturl-options) to the url returned in \`sso_url\`
|
|
43789
|
+
2. User completes sign-in using their configured SAML IdP
|
|
43790
|
+
3. Site redirects to your selected \`return_url\`
|
|
43791
|
+
4. The \`user_token\` will be appended as a query string parameter to your \`return_url\` - you must parse this token and store it
|
|
43792
|
+
5. Fetch the user object from \`/users/me\` using the token`,
|
|
42589
43793
|
args: args11,
|
|
42590
43794
|
tool: async (client, args12, ctx) => {
|
|
42591
|
-
const [result, apiCall] = await
|
|
43795
|
+
const [result, apiCall] = await usersPostAuthenticate(client, args12.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
42592
43796
|
if (!result.ok) {
|
|
42593
43797
|
return {
|
|
42594
43798
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -42660,7 +43864,7 @@ async function $do13(client, request, options) {
|
|
|
42660
43864
|
const responseFields = {
|
|
42661
43865
|
HttpMeta: { Response: response, Request: req }
|
|
42662
43866
|
};
|
|
42663
|
-
const [result] = await match(json(200,
|
|
43867
|
+
const [result] = await match(json(200, AddVendorManagedByCompanyAddVendorManagedByCompanyOk$inboundSchema), jsonErr([400, 401, 403, 404], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
|
|
42664
43868
|
if (!result.ok) {
|
|
42665
43869
|
return [result, { status: "complete", request: req, response }];
|
|
42666
43870
|
}
|
|
@@ -42765,7 +43969,7 @@ async function $do14(client, request, options) {
|
|
|
42765
43969
|
const responseFields = {
|
|
42766
43970
|
HttpMeta: { Response: response, Request: req }
|
|
42767
43971
|
};
|
|
42768
|
-
const [result] = await match(json(200,
|
|
43972
|
+
const [result] = await match(json(200, VendorScanOutVendorScanOutOk$inboundSchema), jsonErr([400, 401, 403, 404], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
|
|
42769
43973
|
if (!result.ok) {
|
|
42770
43974
|
return [result, { status: "complete", request: req, response }];
|
|
42771
43975
|
}
|
|
@@ -43074,7 +44278,7 @@ async function $do17(client, request, options) {
|
|
|
43074
44278
|
const responseFields = {
|
|
43075
44279
|
HttpMeta: { Response: response, Request: req }
|
|
43076
44280
|
};
|
|
43077
|
-
const [result] = await match(json(200,
|
|
44281
|
+
const [result] = await match(json(200, DeleteVendorManagedByCompanyDeleteVendorManagedByCompanyOk$inboundSchema), jsonErr([400, 401, 403, 404], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
|
|
43078
44282
|
if (!result.ok) {
|
|
43079
44283
|
return [result, { status: "complete", request: req, response }];
|
|
43080
44284
|
}
|
|
@@ -43168,7 +44372,7 @@ async function $do18(client, request, options) {
|
|
|
43168
44372
|
const req = requestRes.value;
|
|
43169
44373
|
const doResult = await client._do(req, {
|
|
43170
44374
|
context,
|
|
43171
|
-
errorCodes: ["400", "401", "4XX", "5XX"],
|
|
44375
|
+
errorCodes: ["400", "401", "403", "404", "4XX", "500", "5XX"],
|
|
43172
44376
|
retryConfig: context.retryConfig,
|
|
43173
44377
|
retryCodes: context.retryCodes
|
|
43174
44378
|
});
|
|
@@ -43179,7 +44383,7 @@ async function $do18(client, request, options) {
|
|
|
43179
44383
|
const responseFields = {
|
|
43180
44384
|
HttpMeta: { Response: response, Request: req }
|
|
43181
44385
|
};
|
|
43182
|
-
const [result] = await match(json(200,
|
|
44386
|
+
const [result] = await match(json(200, ExpediteTimeRemainingGetExpediteTimeRemainingOk$inboundSchema), jsonErr([400, 401, 403, 404], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
|
|
43183
44387
|
if (!result.ok) {
|
|
43184
44388
|
return [result, { status: "complete", request: req, response }];
|
|
43185
44389
|
}
|
|
@@ -43226,11 +44430,141 @@ For vendors who have a paid 24-hour expedite credentials invoice, get the remain
|
|
|
43226
44430
|
};
|
|
43227
44431
|
});
|
|
43228
44432
|
|
|
43229
|
-
// src/funcs/
|
|
43230
|
-
function
|
|
44433
|
+
// src/funcs/vendorsGetVendorCredentialDetails.ts
|
|
44434
|
+
function vendorsGetVendorCredentialDetails(client, request, options) {
|
|
43231
44435
|
return new APIPromise($do19(client, request, options));
|
|
43232
44436
|
}
|
|
43233
44437
|
async function $do19(client, request, options) {
|
|
44438
|
+
const parsed = safeParse(request, (value) => GetVendorCredentialDetailsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
44439
|
+
if (!parsed.ok) {
|
|
44440
|
+
return [parsed, { status: "invalid" }];
|
|
44441
|
+
}
|
|
44442
|
+
const payload = parsed.value;
|
|
44443
|
+
const body = null;
|
|
44444
|
+
const pathParams = {
|
|
44445
|
+
id: encodeSimple("id", payload.id, {
|
|
44446
|
+
explode: false,
|
|
44447
|
+
charEncoding: "percent"
|
|
44448
|
+
}),
|
|
44449
|
+
vendor_id_or_me: encodeSimple("vendor_id_or_me", payload.vendor_id_or_me, {
|
|
44450
|
+
explode: false,
|
|
44451
|
+
charEncoding: "percent"
|
|
44452
|
+
})
|
|
44453
|
+
};
|
|
44454
|
+
const path = pathToFunc("/vendors/{vendor_id_or_me}/credentials/{id}")(pathParams);
|
|
44455
|
+
const query = encodeFormQuery({
|
|
44456
|
+
expand: payload.expand
|
|
44457
|
+
}, { explode: false });
|
|
44458
|
+
const headers = new Headers(compactMap({
|
|
44459
|
+
Accept: "application/json"
|
|
44460
|
+
}));
|
|
44461
|
+
const securityInput = await extractSecurity(client._options.security);
|
|
44462
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
44463
|
+
const context = {
|
|
44464
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
44465
|
+
operationID: "getVendorCredentialDetails",
|
|
44466
|
+
oAuth2Scopes: [],
|
|
44467
|
+
resolvedSecurity: requestSecurity,
|
|
44468
|
+
securitySource: client._options.security,
|
|
44469
|
+
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
44470
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
44471
|
+
};
|
|
44472
|
+
const requestRes = client._createRequest(context, {
|
|
44473
|
+
security: requestSecurity,
|
|
44474
|
+
method: "GET",
|
|
44475
|
+
baseURL: options?.serverURL,
|
|
44476
|
+
path,
|
|
44477
|
+
headers,
|
|
44478
|
+
query,
|
|
44479
|
+
body,
|
|
44480
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
44481
|
+
}, options);
|
|
44482
|
+
if (!requestRes.ok) {
|
|
44483
|
+
return [requestRes, { status: "invalid" }];
|
|
44484
|
+
}
|
|
44485
|
+
const req = requestRes.value;
|
|
44486
|
+
const doResult = await client._do(req, {
|
|
44487
|
+
context,
|
|
44488
|
+
errorCodes: ["400", "401", "403", "4XX", "500", "5XX"],
|
|
44489
|
+
retryConfig: context.retryConfig,
|
|
44490
|
+
retryCodes: context.retryCodes
|
|
44491
|
+
});
|
|
44492
|
+
if (!doResult.ok) {
|
|
44493
|
+
return [doResult, { status: "request-error", request: req }];
|
|
44494
|
+
}
|
|
44495
|
+
const response = doResult.value;
|
|
44496
|
+
const responseFields = {
|
|
44497
|
+
HttpMeta: { Response: response, Request: req }
|
|
44498
|
+
};
|
|
44499
|
+
const [result] = await match(json(200, GetVendorCredentialDetailsResponseBody$inboundSchema), jsonErr([400, 401, 403], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
|
|
44500
|
+
if (!result.ok) {
|
|
44501
|
+
return [result, { status: "complete", request: req, response }];
|
|
44502
|
+
}
|
|
44503
|
+
return [result, { status: "complete", request: req, response }];
|
|
44504
|
+
}
|
|
44505
|
+
var init_vendorsGetVendorCredentialDetails = __esm(() => {
|
|
44506
|
+
init_encodings();
|
|
44507
|
+
init_matchers();
|
|
44508
|
+
init_primitives();
|
|
44509
|
+
init_schemas();
|
|
44510
|
+
init_security();
|
|
44511
|
+
init_url();
|
|
44512
|
+
init_errors();
|
|
44513
|
+
init_operations();
|
|
44514
|
+
init_async();
|
|
44515
|
+
});
|
|
44516
|
+
|
|
44517
|
+
// src/mcp-server/tools/vendorsGetVendorCredentialDetails.ts
|
|
44518
|
+
var args18, tool$vendorsGetVendorCredentialDetails;
|
|
44519
|
+
var init_vendorsGetVendorCredentialDetails2 = __esm(() => {
|
|
44520
|
+
init_vendorsGetVendorCredentialDetails();
|
|
44521
|
+
init_operations();
|
|
44522
|
+
init_tools();
|
|
44523
|
+
args18 = {
|
|
44524
|
+
request: GetVendorCredentialDetailsRequest$inboundSchema
|
|
44525
|
+
};
|
|
44526
|
+
tool$vendorsGetVendorCredentialDetails = {
|
|
44527
|
+
name: "vendors-get-vendor-credential-details",
|
|
44528
|
+
description: `Get Vendor Credential details
|
|
44529
|
+
|
|
44530
|
+
Get Vendor Credential details
|
|
44531
|
+
|
|
44532
|
+
Available \`expand\` scopes are:
|
|
44533
|
+
- vendor_credential.credential
|
|
44534
|
+
- vendor_credential.vendor
|
|
44535
|
+
- vendor_credential.invoice
|
|
44536
|
+
- vendor_credential.vendor_credential_files
|
|
44537
|
+
- vendor_credential.latest_vendor_credential_id
|
|
44538
|
+
- vendor_credential.previously_approved
|
|
44539
|
+
- vendor_credential.unsatisfied_dependencies
|
|
44540
|
+
- vendor_credential.allow_expediting
|
|
44541
|
+
- vendor_credential.unpaid_expedited_invoice_id
|
|
44542
|
+
- vendor_credential.expedited_offers
|
|
44543
|
+
- vendor_credential.background_check_results
|
|
44544
|
+
- vendor_credential.vendor_credential_default_status
|
|
44545
|
+
- vendor_credential.vendor_credential_data_requests
|
|
44546
|
+
- vendor_credential.credential_variants
|
|
44547
|
+
- vendor_credential.targets_chop`,
|
|
44548
|
+
args: args18,
|
|
44549
|
+
tool: async (client, args19, ctx) => {
|
|
44550
|
+
const [result, apiCall] = await vendorsGetVendorCredentialDetails(client, args19.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
44551
|
+
if (!result.ok) {
|
|
44552
|
+
return {
|
|
44553
|
+
content: [{ type: "text", text: result.error.message }],
|
|
44554
|
+
isError: true
|
|
44555
|
+
};
|
|
44556
|
+
}
|
|
44557
|
+
const value = result.value;
|
|
44558
|
+
return formatResult(value, apiCall);
|
|
44559
|
+
}
|
|
44560
|
+
};
|
|
44561
|
+
});
|
|
44562
|
+
|
|
44563
|
+
// src/funcs/vendorsGetVendorInvoiceDetails.ts
|
|
44564
|
+
function vendorsGetVendorInvoiceDetails(client, request, options) {
|
|
44565
|
+
return new APIPromise($do20(client, request, options));
|
|
44566
|
+
}
|
|
44567
|
+
async function $do20(client, request, options) {
|
|
43234
44568
|
const parsed = safeParse(request, (value) => GetVendorInvoiceDetailsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
43235
44569
|
if (!parsed.ok) {
|
|
43236
44570
|
return [parsed, { status: "invalid" }];
|
|
@@ -43277,7 +44611,7 @@ async function $do19(client, request, options) {
|
|
|
43277
44611
|
const req = requestRes.value;
|
|
43278
44612
|
const doResult = await client._do(req, {
|
|
43279
44613
|
context,
|
|
43280
|
-
errorCodes: ["401", "404", "4XX", "5XX"],
|
|
44614
|
+
errorCodes: ["400", "401", "403", "404", "4XX", "500", "5XX"],
|
|
43281
44615
|
retryConfig: context.retryConfig,
|
|
43282
44616
|
retryCodes: context.retryCodes
|
|
43283
44617
|
});
|
|
@@ -43288,7 +44622,7 @@ async function $do19(client, request, options) {
|
|
|
43288
44622
|
const responseFields = {
|
|
43289
44623
|
HttpMeta: { Response: response, Request: req }
|
|
43290
44624
|
};
|
|
43291
|
-
const [result] = await match(json(200, Invoice$inboundSchema), jsonErr([401, 404], ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
|
|
44625
|
+
const [result] = await match(json(200, Invoice$inboundSchema), jsonErr([400, 401, 403, 404], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
|
|
43292
44626
|
if (!result.ok) {
|
|
43293
44627
|
return [result, { status: "complete", request: req, response }];
|
|
43294
44628
|
}
|
|
@@ -43308,12 +44642,12 @@ var init_vendorsGetVendorInvoiceDetails = __esm(() => {
|
|
|
43308
44642
|
});
|
|
43309
44643
|
|
|
43310
44644
|
// src/mcp-server/tools/vendorsGetVendorInvoiceDetails.ts
|
|
43311
|
-
var
|
|
44645
|
+
var args19, tool$vendorsGetVendorInvoiceDetails;
|
|
43312
44646
|
var init_vendorsGetVendorInvoiceDetails2 = __esm(() => {
|
|
43313
44647
|
init_vendorsGetVendorInvoiceDetails();
|
|
43314
44648
|
init_operations();
|
|
43315
44649
|
init_tools();
|
|
43316
|
-
|
|
44650
|
+
args19 = {
|
|
43317
44651
|
request: GetVendorInvoiceDetailsRequest$inboundSchema
|
|
43318
44652
|
};
|
|
43319
44653
|
tool$vendorsGetVendorInvoiceDetails = {
|
|
@@ -43326,9 +44660,9 @@ Available \`expand\` scopes are:
|
|
|
43326
44660
|
|
|
43327
44661
|
invoice.line_items
|
|
43328
44662
|
invoice.invoice_transactions`,
|
|
43329
|
-
args:
|
|
43330
|
-
tool: async (client,
|
|
43331
|
-
const [result, apiCall] = await vendorsGetVendorInvoiceDetails(client,
|
|
44663
|
+
args: args19,
|
|
44664
|
+
tool: async (client, args20, ctx) => {
|
|
44665
|
+
const [result, apiCall] = await vendorsGetVendorInvoiceDetails(client, args20.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
43332
44666
|
if (!result.ok) {
|
|
43333
44667
|
return {
|
|
43334
44668
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -43343,9 +44677,9 @@ invoice.invoice_transactions`,
|
|
|
43343
44677
|
|
|
43344
44678
|
// src/funcs/vendorsGetVendorsDetails.ts
|
|
43345
44679
|
function vendorsGetVendorsDetails(client, request, options) {
|
|
43346
|
-
return new APIPromise($
|
|
44680
|
+
return new APIPromise($do21(client, request, options));
|
|
43347
44681
|
}
|
|
43348
|
-
async function $
|
|
44682
|
+
async function $do21(client, request, options) {
|
|
43349
44683
|
const parsed = safeParse(request, (value) => GetVendorsDetailsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
43350
44684
|
if (!parsed.ok) {
|
|
43351
44685
|
return [parsed, { status: "invalid" }];
|
|
@@ -43392,7 +44726,7 @@ async function $do20(client, request, options) {
|
|
|
43392
44726
|
const req = requestRes.value;
|
|
43393
44727
|
const doResult = await client._do(req, {
|
|
43394
44728
|
context,
|
|
43395
|
-
errorCodes: ["400", "401", "403", "4XX", "500", "5XX"],
|
|
44729
|
+
errorCodes: ["400", "401", "403", "404", "4XX", "500", "5XX"],
|
|
43396
44730
|
retryConfig: context.retryConfig,
|
|
43397
44731
|
retryCodes: context.retryCodes
|
|
43398
44732
|
});
|
|
@@ -43403,7 +44737,7 @@ async function $do20(client, request, options) {
|
|
|
43403
44737
|
const responseFields = {
|
|
43404
44738
|
HttpMeta: { Response: response, Request: req }
|
|
43405
44739
|
};
|
|
43406
|
-
const [result] = await match(json(200, Vendor$inboundSchema), jsonErr([400, 401, 403], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
|
|
44740
|
+
const [result] = await match(json(200, Vendor$inboundSchema), jsonErr([400, 401, 403, 404], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
|
|
43407
44741
|
if (!result.ok) {
|
|
43408
44742
|
return [result, { status: "complete", request: req, response }];
|
|
43409
44743
|
}
|
|
@@ -43423,12 +44757,12 @@ var init_vendorsGetVendorsDetails = __esm(() => {
|
|
|
43423
44757
|
});
|
|
43424
44758
|
|
|
43425
44759
|
// src/mcp-server/tools/vendorsGetVendorsDetails.ts
|
|
43426
|
-
var
|
|
44760
|
+
var args20, tool$vendorsGetVendorsDetails;
|
|
43427
44761
|
var init_vendorsGetVendorsDetails2 = __esm(() => {
|
|
43428
44762
|
init_vendorsGetVendorsDetails();
|
|
43429
44763
|
init_operations();
|
|
43430
44764
|
init_tools();
|
|
43431
|
-
|
|
44765
|
+
args20 = {
|
|
43432
44766
|
request: GetVendorsDetailsRequest$inboundSchema
|
|
43433
44767
|
};
|
|
43434
44768
|
tool$vendorsGetVendorsDetails = {
|
|
@@ -43450,9 +44784,9 @@ vendor.credentialing_subscription
|
|
|
43450
44784
|
vendor.scrubs_subscription
|
|
43451
44785
|
vendor.payment_responsibility
|
|
43452
44786
|
vendor.background_check_date_expires`,
|
|
43453
|
-
args:
|
|
43454
|
-
tool: async (client,
|
|
43455
|
-
const [result, apiCall] = await vendorsGetVendorsDetails(client,
|
|
44787
|
+
args: args20,
|
|
44788
|
+
tool: async (client, args21, ctx) => {
|
|
44789
|
+
const [result, apiCall] = await vendorsGetVendorsDetails(client, args21.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
43456
44790
|
if (!result.ok) {
|
|
43457
44791
|
return {
|
|
43458
44792
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -43467,9 +44801,9 @@ vendor.background_check_date_expires`,
|
|
|
43467
44801
|
|
|
43468
44802
|
// src/funcs/vendorsListVendorAdditionalFacilityFields.ts
|
|
43469
44803
|
function vendorsListVendorAdditionalFacilityFields(client, request, options) {
|
|
43470
|
-
return new APIPromise($
|
|
44804
|
+
return new APIPromise($do22(client, request, options));
|
|
43471
44805
|
}
|
|
43472
|
-
async function $
|
|
44806
|
+
async function $do22(client, request, options) {
|
|
43473
44807
|
const parsed = safeParse(request, (value) => ListVendorAdditionalFacilityFieldsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
43474
44808
|
if (!parsed.ok) {
|
|
43475
44809
|
return [haltIterator(parsed), { status: "invalid" }];
|
|
@@ -43519,7 +44853,7 @@ async function $do21(client, request, options) {
|
|
|
43519
44853
|
const req = requestRes.value;
|
|
43520
44854
|
const doResult = await client._do(req, {
|
|
43521
44855
|
context,
|
|
43522
|
-
errorCodes: ["400", "401", "4XX", "500", "5XX"],
|
|
44856
|
+
errorCodes: ["400", "401", "403", "404", "4XX", "500", "5XX"],
|
|
43523
44857
|
retryConfig: context.retryConfig,
|
|
43524
44858
|
retryCodes: context.retryCodes
|
|
43525
44859
|
});
|
|
@@ -43530,7 +44864,7 @@ async function $do21(client, request, options) {
|
|
|
43530
44864
|
const responseFields = {
|
|
43531
44865
|
HttpMeta: { Response: response, Request: req }
|
|
43532
44866
|
};
|
|
43533
|
-
const [result, raw] = await match(json(200, ListVendorAdditionalFacilityFieldsResponse$inboundSchema, { key: "Result" }), jsonErr([400, 401], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
|
|
44867
|
+
const [result, raw] = await match(json(200, ListVendorAdditionalFacilityFieldsResponse$inboundSchema, { key: "Result" }), jsonErr([400, 401, 403, 404], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
|
|
43534
44868
|
if (!result.ok) {
|
|
43535
44869
|
return [haltIterator(result), {
|
|
43536
44870
|
status: "complete",
|
|
@@ -43579,12 +44913,12 @@ var init_vendorsListVendorAdditionalFacilityFields = __esm(() => {
|
|
|
43579
44913
|
});
|
|
43580
44914
|
|
|
43581
44915
|
// src/mcp-server/tools/vendorsListVendorAdditionalFacilityFields.ts
|
|
43582
|
-
var
|
|
44916
|
+
var args21, tool$vendorsListVendorAdditionalFacilityFields;
|
|
43583
44917
|
var init_vendorsListVendorAdditionalFacilityFields2 = __esm(() => {
|
|
43584
44918
|
init_vendorsListVendorAdditionalFacilityFields();
|
|
43585
44919
|
init_operations();
|
|
43586
44920
|
init_tools();
|
|
43587
|
-
|
|
44921
|
+
args21 = {
|
|
43588
44922
|
request: ListVendorAdditionalFacilityFieldsRequest$inboundSchema
|
|
43589
44923
|
};
|
|
43590
44924
|
tool$vendorsListVendorAdditionalFacilityFields = {
|
|
@@ -43592,9 +44926,9 @@ var init_vendorsListVendorAdditionalFacilityFields2 = __esm(() => {
|
|
|
43592
44926
|
description: `List of vendor's additional facility fields
|
|
43593
44927
|
|
|
43594
44928
|
List of vendor's additional facility fields`,
|
|
43595
|
-
args:
|
|
43596
|
-
tool: async (client,
|
|
43597
|
-
const [result, apiCall] = await vendorsListVendorAdditionalFacilityFields(client,
|
|
44929
|
+
args: args21,
|
|
44930
|
+
tool: async (client, args22, ctx) => {
|
|
44931
|
+
const [result, apiCall] = await vendorsListVendorAdditionalFacilityFields(client, args22.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
43598
44932
|
if (!result.ok) {
|
|
43599
44933
|
return {
|
|
43600
44934
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -43609,9 +44943,9 @@ List of vendor's additional facility fields`,
|
|
|
43609
44943
|
|
|
43610
44944
|
// src/funcs/vendorsListVendorCredentials.ts
|
|
43611
44945
|
function vendorsListVendorCredentials(client, request, options) {
|
|
43612
|
-
return new APIPromise($
|
|
44946
|
+
return new APIPromise($do23(client, request, options));
|
|
43613
44947
|
}
|
|
43614
|
-
async function $
|
|
44948
|
+
async function $do23(client, request, options) {
|
|
43615
44949
|
const parsed = safeParse(request, (value) => ListVendorCredentialsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
43616
44950
|
if (!parsed.ok) {
|
|
43617
44951
|
return [haltIterator(parsed), { status: "invalid" }];
|
|
@@ -43667,7 +45001,7 @@ async function $do22(client, request, options) {
|
|
|
43667
45001
|
const req = requestRes.value;
|
|
43668
45002
|
const doResult = await client._do(req, {
|
|
43669
45003
|
context,
|
|
43670
|
-
errorCodes: ["4XX", "5XX"],
|
|
45004
|
+
errorCodes: ["400", "401", "403", "404", "4XX", "500", "5XX"],
|
|
43671
45005
|
retryConfig: context.retryConfig,
|
|
43672
45006
|
retryCodes: context.retryCodes
|
|
43673
45007
|
});
|
|
@@ -43680,7 +45014,7 @@ async function $do22(client, request, options) {
|
|
|
43680
45014
|
};
|
|
43681
45015
|
const [result, raw] = await match(json(200, ListVendorCredentialsResponse$inboundSchema, {
|
|
43682
45016
|
key: "Result"
|
|
43683
|
-
}), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
|
|
45017
|
+
}), jsonErr([400, 401, 403, 404], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
|
|
43684
45018
|
if (!result.ok) {
|
|
43685
45019
|
return [haltIterator(result), {
|
|
43686
45020
|
status: "complete",
|
|
@@ -43722,18 +45056,19 @@ var init_vendorsListVendorCredentials = __esm(() => {
|
|
|
43722
45056
|
init_schemas();
|
|
43723
45057
|
init_security();
|
|
43724
45058
|
init_url();
|
|
45059
|
+
init_errors();
|
|
43725
45060
|
init_operations();
|
|
43726
45061
|
init_async();
|
|
43727
45062
|
init_operations2();
|
|
43728
45063
|
});
|
|
43729
45064
|
|
|
43730
45065
|
// src/mcp-server/tools/vendorsListVendorCredentials.ts
|
|
43731
|
-
var
|
|
45066
|
+
var args22, tool$vendorsListVendorCredentials;
|
|
43732
45067
|
var init_vendorsListVendorCredentials2 = __esm(() => {
|
|
43733
45068
|
init_vendorsListVendorCredentials();
|
|
43734
45069
|
init_operations();
|
|
43735
45070
|
init_tools();
|
|
43736
|
-
|
|
45071
|
+
args22 = {
|
|
43737
45072
|
request: ListVendorCredentialsRequest$inboundSchema
|
|
43738
45073
|
};
|
|
43739
45074
|
tool$vendorsListVendorCredentials = {
|
|
@@ -43741,9 +45076,9 @@ var init_vendorsListVendorCredentials2 = __esm(() => {
|
|
|
43741
45076
|
description: `List Vendor Credentials
|
|
43742
45077
|
|
|
43743
45078
|
Lists vendor credentials, required credentials, and company credentials. Utilized in Vendor Dashboard.`,
|
|
43744
|
-
args:
|
|
43745
|
-
tool: async (client,
|
|
43746
|
-
const [result, apiCall] = await vendorsListVendorCredentials(client,
|
|
45079
|
+
args: args22,
|
|
45080
|
+
tool: async (client, args23, ctx) => {
|
|
45081
|
+
const [result, apiCall] = await vendorsListVendorCredentials(client, args23.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
43747
45082
|
if (!result.ok) {
|
|
43748
45083
|
return {
|
|
43749
45084
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -43758,9 +45093,9 @@ Lists vendor credentials, required credentials, and company credentials. Utilize
|
|
|
43758
45093
|
|
|
43759
45094
|
// src/funcs/vendorsListVendorCredits.ts
|
|
43760
45095
|
function vendorsListVendorCredits(client, request, options) {
|
|
43761
|
-
return new APIPromise($
|
|
45096
|
+
return new APIPromise($do24(client, request, options));
|
|
43762
45097
|
}
|
|
43763
|
-
async function $
|
|
45098
|
+
async function $do24(client, request, options) {
|
|
43764
45099
|
const parsed = safeParse(request, (value) => ListVendorCreditsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
43765
45100
|
if (!parsed.ok) {
|
|
43766
45101
|
return [haltIterator(parsed), { status: "invalid" }];
|
|
@@ -43810,7 +45145,7 @@ async function $do23(client, request, options) {
|
|
|
43810
45145
|
const req = requestRes.value;
|
|
43811
45146
|
const doResult = await client._do(req, {
|
|
43812
45147
|
context,
|
|
43813
|
-
errorCodes: ["400", "401", "4XX", "500", "5XX"],
|
|
45148
|
+
errorCodes: ["400", "401", "403", "404", "4XX", "500", "5XX"],
|
|
43814
45149
|
retryConfig: context.retryConfig,
|
|
43815
45150
|
retryCodes: context.retryCodes
|
|
43816
45151
|
});
|
|
@@ -43823,7 +45158,7 @@ async function $do23(client, request, options) {
|
|
|
43823
45158
|
};
|
|
43824
45159
|
const [result, raw] = await match(json(200, ListVendorCreditsResponse$inboundSchema, {
|
|
43825
45160
|
key: "Result"
|
|
43826
|
-
}), jsonErr([400, 401], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
|
|
45161
|
+
}), jsonErr([400, 401, 403, 404], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
|
|
43827
45162
|
if (!result.ok) {
|
|
43828
45163
|
return [haltIterator(result), {
|
|
43829
45164
|
status: "complete",
|
|
@@ -43872,12 +45207,12 @@ var init_vendorsListVendorCredits = __esm(() => {
|
|
|
43872
45207
|
});
|
|
43873
45208
|
|
|
43874
45209
|
// src/mcp-server/tools/vendorsListVendorCredits.ts
|
|
43875
|
-
var
|
|
45210
|
+
var args23, tool$vendorsListVendorCredits;
|
|
43876
45211
|
var init_vendorsListVendorCredits2 = __esm(() => {
|
|
43877
45212
|
init_vendorsListVendorCredits();
|
|
43878
45213
|
init_operations();
|
|
43879
45214
|
init_tools();
|
|
43880
|
-
|
|
45215
|
+
args23 = {
|
|
43881
45216
|
request: ListVendorCreditsRequest$inboundSchema
|
|
43882
45217
|
};
|
|
43883
45218
|
tool$vendorsListVendorCredits = {
|
|
@@ -43885,9 +45220,9 @@ var init_vendorsListVendorCredits2 = __esm(() => {
|
|
|
43885
45220
|
description: `List vendor credits
|
|
43886
45221
|
|
|
43887
45222
|
List the credits for the vendor`,
|
|
43888
|
-
args:
|
|
43889
|
-
tool: async (client,
|
|
43890
|
-
const [result, apiCall] = await vendorsListVendorCredits(client,
|
|
45223
|
+
args: args23,
|
|
45224
|
+
tool: async (client, args24, ctx) => {
|
|
45225
|
+
const [result, apiCall] = await vendorsListVendorCredits(client, args24.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
43891
45226
|
if (!result.ok) {
|
|
43892
45227
|
return {
|
|
43893
45228
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -43902,9 +45237,9 @@ List the credits for the vendor`,
|
|
|
43902
45237
|
|
|
43903
45238
|
// src/funcs/vendorsListVendorFacilityStatuses.ts
|
|
43904
45239
|
function vendorsListVendorFacilityStatuses(client, request, options) {
|
|
43905
|
-
return new APIPromise($
|
|
45240
|
+
return new APIPromise($do25(client, request, options));
|
|
43906
45241
|
}
|
|
43907
|
-
async function $
|
|
45242
|
+
async function $do25(client, request, options) {
|
|
43908
45243
|
const parsed = safeParse(request, (value) => ListVendorFacilityStatusesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
43909
45244
|
if (!parsed.ok) {
|
|
43910
45245
|
return [haltIterator(parsed), { status: "invalid" }];
|
|
@@ -43950,7 +45285,7 @@ async function $do24(client, request, options) {
|
|
|
43950
45285
|
const req = requestRes.value;
|
|
43951
45286
|
const doResult = await client._do(req, {
|
|
43952
45287
|
context,
|
|
43953
|
-
errorCodes: ["401", "4XX", "500", "5XX"],
|
|
45288
|
+
errorCodes: ["400", "401", "403", "4XX", "500", "5XX"],
|
|
43954
45289
|
retryConfig: context.retryConfig,
|
|
43955
45290
|
retryCodes: context.retryCodes
|
|
43956
45291
|
});
|
|
@@ -43963,7 +45298,7 @@ async function $do24(client, request, options) {
|
|
|
43963
45298
|
};
|
|
43964
45299
|
const [result, raw] = await match(json(200, ListVendorFacilityStatusesResponse$inboundSchema, {
|
|
43965
45300
|
key: "Result"
|
|
43966
|
-
}), jsonErr(401, ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
|
|
45301
|
+
}), jsonErr([400, 401, 403], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
|
|
43967
45302
|
if (!result.ok) {
|
|
43968
45303
|
return [haltIterator(result), {
|
|
43969
45304
|
status: "complete",
|
|
@@ -44012,12 +45347,12 @@ var init_vendorsListVendorFacilityStatuses = __esm(() => {
|
|
|
44012
45347
|
});
|
|
44013
45348
|
|
|
44014
45349
|
// src/mcp-server/tools/vendorsListVendorFacilityStatuses.ts
|
|
44015
|
-
var
|
|
45350
|
+
var args24, tool$vendorsListVendorFacilityStatuses;
|
|
44016
45351
|
var init_vendorsListVendorFacilityStatuses2 = __esm(() => {
|
|
44017
45352
|
init_vendorsListVendorFacilityStatuses();
|
|
44018
45353
|
init_operations();
|
|
44019
45354
|
init_tools();
|
|
44020
|
-
|
|
45355
|
+
args24 = {
|
|
44021
45356
|
request: ListVendorFacilityStatusesRequest$inboundSchema
|
|
44022
45357
|
};
|
|
44023
45358
|
tool$vendorsListVendorFacilityStatuses = {
|
|
@@ -44025,9 +45360,9 @@ var init_vendorsListVendorFacilityStatuses2 = __esm(() => {
|
|
|
44025
45360
|
description: `List vendor facility statuses
|
|
44026
45361
|
|
|
44027
45362
|
List the facilities for the vendor`,
|
|
44028
|
-
args:
|
|
44029
|
-
tool: async (client,
|
|
44030
|
-
const [result, apiCall] = await vendorsListVendorFacilityStatuses(client,
|
|
45363
|
+
args: args24,
|
|
45364
|
+
tool: async (client, args25, ctx) => {
|
|
45365
|
+
const [result, apiCall] = await vendorsListVendorFacilityStatuses(client, args25.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
44031
45366
|
if (!result.ok) {
|
|
44032
45367
|
return {
|
|
44033
45368
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -44042,9 +45377,9 @@ List the facilities for the vendor`,
|
|
|
44042
45377
|
|
|
44043
45378
|
// src/funcs/vendorsListVendorInvoices.ts
|
|
44044
45379
|
function vendorsListVendorInvoices(client, request, options) {
|
|
44045
|
-
return new APIPromise($
|
|
45380
|
+
return new APIPromise($do26(client, request, options));
|
|
44046
45381
|
}
|
|
44047
|
-
async function $
|
|
45382
|
+
async function $do26(client, request, options) {
|
|
44048
45383
|
const parsed = safeParse(request, (value) => ListVendorInvoicesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
44049
45384
|
if (!parsed.ok) {
|
|
44050
45385
|
return [haltIterator(parsed), { status: "invalid" }];
|
|
@@ -44098,7 +45433,7 @@ async function $do25(client, request, options) {
|
|
|
44098
45433
|
const req = requestRes.value;
|
|
44099
45434
|
const doResult = await client._do(req, {
|
|
44100
45435
|
context,
|
|
44101
|
-
errorCodes: ["400", "401", "403", "4XX", "5XX"],
|
|
45436
|
+
errorCodes: ["400", "401", "403", "404", "4XX", "500", "5XX"],
|
|
44102
45437
|
retryConfig: context.retryConfig,
|
|
44103
45438
|
retryCodes: context.retryCodes
|
|
44104
45439
|
});
|
|
@@ -44111,7 +45446,7 @@ async function $do25(client, request, options) {
|
|
|
44111
45446
|
};
|
|
44112
45447
|
const [result, raw] = await match(json(200, ListVendorInvoicesResponse$inboundSchema, {
|
|
44113
45448
|
key: "Result"
|
|
44114
|
-
}), jsonErr([400, 401, 403], ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
|
|
45449
|
+
}), jsonErr([400, 401, 403, 404], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
|
|
44115
45450
|
if (!result.ok) {
|
|
44116
45451
|
return [haltIterator(result), {
|
|
44117
45452
|
status: "complete",
|
|
@@ -44160,12 +45495,12 @@ var init_vendorsListVendorInvoices = __esm(() => {
|
|
|
44160
45495
|
});
|
|
44161
45496
|
|
|
44162
45497
|
// src/mcp-server/tools/vendorsListVendorInvoices.ts
|
|
44163
|
-
var
|
|
45498
|
+
var args25, tool$vendorsListVendorInvoices;
|
|
44164
45499
|
var init_vendorsListVendorInvoices2 = __esm(() => {
|
|
44165
45500
|
init_vendorsListVendorInvoices();
|
|
44166
45501
|
init_operations();
|
|
44167
45502
|
init_tools();
|
|
44168
|
-
|
|
45503
|
+
args25 = {
|
|
44169
45504
|
request: ListVendorInvoicesRequest$inboundSchema
|
|
44170
45505
|
};
|
|
44171
45506
|
tool$vendorsListVendorInvoices = {
|
|
@@ -44177,9 +45512,9 @@ List invoices for Vendors
|
|
|
44177
45512
|
Available \`expand\` scopes are:
|
|
44178
45513
|
|
|
44179
45514
|
invoice.line_items`,
|
|
44180
|
-
args:
|
|
44181
|
-
tool: async (client,
|
|
44182
|
-
const [result, apiCall] = await vendorsListVendorInvoices(client,
|
|
45515
|
+
args: args25,
|
|
45516
|
+
tool: async (client, args26, ctx) => {
|
|
45517
|
+
const [result, apiCall] = await vendorsListVendorInvoices(client, args26.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
44183
45518
|
if (!result.ok) {
|
|
44184
45519
|
return {
|
|
44185
45520
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -44194,9 +45529,9 @@ invoice.line_items`,
|
|
|
44194
45529
|
|
|
44195
45530
|
// src/funcs/vendorsListVendorManagedByCompanies.ts
|
|
44196
45531
|
function vendorsListVendorManagedByCompanies(client, request, options) {
|
|
44197
|
-
return new APIPromise($
|
|
45532
|
+
return new APIPromise($do27(client, request, options));
|
|
44198
45533
|
}
|
|
44199
|
-
async function $
|
|
45534
|
+
async function $do27(client, request, options) {
|
|
44200
45535
|
const parsed = safeParse(request, (value) => ListVendorManagedByCompaniesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
44201
45536
|
if (!parsed.ok) {
|
|
44202
45537
|
return [haltIterator(parsed), { status: "invalid" }];
|
|
@@ -44246,7 +45581,7 @@ async function $do26(client, request, options) {
|
|
|
44246
45581
|
const req = requestRes.value;
|
|
44247
45582
|
const doResult = await client._do(req, {
|
|
44248
45583
|
context,
|
|
44249
|
-
errorCodes: ["400", "401", "4XX", "500", "5XX"],
|
|
45584
|
+
errorCodes: ["400", "401", "403", "404", "4XX", "500", "5XX"],
|
|
44250
45585
|
retryConfig: context.retryConfig,
|
|
44251
45586
|
retryCodes: context.retryCodes
|
|
44252
45587
|
});
|
|
@@ -44259,7 +45594,7 @@ async function $do26(client, request, options) {
|
|
|
44259
45594
|
};
|
|
44260
45595
|
const [result, raw] = await match(json(200, ListVendorManagedByCompaniesResponse$inboundSchema, {
|
|
44261
45596
|
key: "Result"
|
|
44262
|
-
}), jsonErr([400, 401], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
|
|
45597
|
+
}), jsonErr([400, 401, 403, 404], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
|
|
44263
45598
|
if (!result.ok) {
|
|
44264
45599
|
return [haltIterator(result), {
|
|
44265
45600
|
status: "complete",
|
|
@@ -44308,12 +45643,12 @@ var init_vendorsListVendorManagedByCompanies = __esm(() => {
|
|
|
44308
45643
|
});
|
|
44309
45644
|
|
|
44310
45645
|
// src/mcp-server/tools/vendorsListVendorManagedByCompanies.ts
|
|
44311
|
-
var
|
|
45646
|
+
var args26, tool$vendorsListVendorManagedByCompanies;
|
|
44312
45647
|
var init_vendorsListVendorManagedByCompanies2 = __esm(() => {
|
|
44313
45648
|
init_vendorsListVendorManagedByCompanies();
|
|
44314
45649
|
init_operations();
|
|
44315
45650
|
init_tools();
|
|
44316
|
-
|
|
45651
|
+
args26 = {
|
|
44317
45652
|
request: ListVendorManagedByCompaniesRequest$inboundSchema
|
|
44318
45653
|
};
|
|
44319
45654
|
tool$vendorsListVendorManagedByCompanies = {
|
|
@@ -44321,9 +45656,9 @@ var init_vendorsListVendorManagedByCompanies2 = __esm(() => {
|
|
|
44321
45656
|
description: `List of companies managing the vendor
|
|
44322
45657
|
|
|
44323
45658
|
List of companies managing the vendor`,
|
|
44324
|
-
args:
|
|
44325
|
-
tool: async (client,
|
|
44326
|
-
const [result, apiCall] = await vendorsListVendorManagedByCompanies(client,
|
|
45659
|
+
args: args26,
|
|
45660
|
+
tool: async (client, args27, ctx) => {
|
|
45661
|
+
const [result, apiCall] = await vendorsListVendorManagedByCompanies(client, args27.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
44327
45662
|
if (!result.ok) {
|
|
44328
45663
|
return {
|
|
44329
45664
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -44338,9 +45673,9 @@ List of companies managing the vendor`,
|
|
|
44338
45673
|
|
|
44339
45674
|
// src/funcs/vendorsListVendorScrubDetails.ts
|
|
44340
45675
|
function vendorsListVendorScrubDetails(client, request, options) {
|
|
44341
|
-
return new APIPromise($
|
|
45676
|
+
return new APIPromise($do28(client, request, options));
|
|
44342
45677
|
}
|
|
44343
|
-
async function $
|
|
45678
|
+
async function $do28(client, request, options) {
|
|
44344
45679
|
const parsed = safeParse(request, (value) => ListVendorScrubDetailsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
44345
45680
|
if (!parsed.ok) {
|
|
44346
45681
|
return [parsed, { status: "invalid" }];
|
|
@@ -44383,7 +45718,7 @@ async function $do27(client, request, options) {
|
|
|
44383
45718
|
const req = requestRes.value;
|
|
44384
45719
|
const doResult = await client._do(req, {
|
|
44385
45720
|
context,
|
|
44386
|
-
errorCodes: ["400", "401", "4XX", "5XX"],
|
|
45721
|
+
errorCodes: ["400", "401", "403", "404", "4XX", "500", "5XX"],
|
|
44387
45722
|
retryConfig: context.retryConfig,
|
|
44388
45723
|
retryCodes: context.retryCodes
|
|
44389
45724
|
});
|
|
@@ -44394,7 +45729,7 @@ async function $do27(client, request, options) {
|
|
|
44394
45729
|
const responseFields = {
|
|
44395
45730
|
HttpMeta: { Response: response, Request: req }
|
|
44396
45731
|
};
|
|
44397
|
-
const [result] = await match(json(200, VendorScrubDetails$inboundSchema), jsonErr([400, 401], ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
|
|
45732
|
+
const [result] = await match(json(200, VendorScrubDetails$inboundSchema), jsonErr([400, 401, 403, 404], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
|
|
44398
45733
|
if (!result.ok) {
|
|
44399
45734
|
return [result, { status: "complete", request: req, response }];
|
|
44400
45735
|
}
|
|
@@ -44414,12 +45749,12 @@ var init_vendorsListVendorScrubDetails = __esm(() => {
|
|
|
44414
45749
|
});
|
|
44415
45750
|
|
|
44416
45751
|
// src/mcp-server/tools/vendorsListVendorScrubDetails.ts
|
|
44417
|
-
var
|
|
45752
|
+
var args27, tool$vendorsListVendorScrubDetails;
|
|
44418
45753
|
var init_vendorsListVendorScrubDetails2 = __esm(() => {
|
|
44419
45754
|
init_vendorsListVendorScrubDetails();
|
|
44420
45755
|
init_operations();
|
|
44421
45756
|
init_tools();
|
|
44422
|
-
|
|
45757
|
+
args27 = {
|
|
44423
45758
|
request: ListVendorScrubDetailsRequest$inboundSchema
|
|
44424
45759
|
};
|
|
44425
45760
|
tool$vendorsListVendorScrubDetails = {
|
|
@@ -44427,9 +45762,9 @@ var init_vendorsListVendorScrubDetails2 = __esm(() => {
|
|
|
44427
45762
|
description: `List vendor scrub details
|
|
44428
45763
|
|
|
44429
45764
|
List vendor scrub details`,
|
|
44430
|
-
args:
|
|
44431
|
-
tool: async (client,
|
|
44432
|
-
const [result, apiCall] = await vendorsListVendorScrubDetails(client,
|
|
45765
|
+
args: args27,
|
|
45766
|
+
tool: async (client, args28, ctx) => {
|
|
45767
|
+
const [result, apiCall] = await vendorsListVendorScrubDetails(client, args28.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
44433
45768
|
if (!result.ok) {
|
|
44434
45769
|
return {
|
|
44435
45770
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -44444,9 +45779,9 @@ List vendor scrub details`,
|
|
|
44444
45779
|
|
|
44445
45780
|
// src/funcs/vendorsListVendorScrubPackages.ts
|
|
44446
45781
|
function vendorsListVendorScrubPackages(client, request, options) {
|
|
44447
|
-
return new APIPromise($
|
|
45782
|
+
return new APIPromise($do29(client, request, options));
|
|
44448
45783
|
}
|
|
44449
|
-
async function $
|
|
45784
|
+
async function $do29(client, request, options) {
|
|
44450
45785
|
const parsed = safeParse(request, (value) => ListVendorScrubPackagesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
44451
45786
|
if (!parsed.ok) {
|
|
44452
45787
|
return [haltIterator(parsed), { status: "invalid" }];
|
|
@@ -44558,12 +45893,12 @@ var init_vendorsListVendorScrubPackages = __esm(() => {
|
|
|
44558
45893
|
});
|
|
44559
45894
|
|
|
44560
45895
|
// src/mcp-server/tools/vendorsListVendorScrubPackages.ts
|
|
44561
|
-
var
|
|
45896
|
+
var args28, tool$vendorsListVendorScrubPackages;
|
|
44562
45897
|
var init_vendorsListVendorScrubPackages2 = __esm(() => {
|
|
44563
45898
|
init_vendorsListVendorScrubPackages();
|
|
44564
45899
|
init_operations();
|
|
44565
45900
|
init_tools();
|
|
44566
|
-
|
|
45901
|
+
args28 = {
|
|
44567
45902
|
request: ListVendorScrubPackagesRequest$inboundSchema
|
|
44568
45903
|
};
|
|
44569
45904
|
tool$vendorsListVendorScrubPackages = {
|
|
@@ -44571,9 +45906,9 @@ var init_vendorsListVendorScrubPackages2 = __esm(() => {
|
|
|
44571
45906
|
description: `List vendor scrub packages
|
|
44572
45907
|
|
|
44573
45908
|
List vendor scrub packages`,
|
|
44574
|
-
args:
|
|
44575
|
-
tool: async (client,
|
|
44576
|
-
const [result, apiCall] = await vendorsListVendorScrubPackages(client,
|
|
45909
|
+
args: args28,
|
|
45910
|
+
tool: async (client, args29, ctx) => {
|
|
45911
|
+
const [result, apiCall] = await vendorsListVendorScrubPackages(client, args29.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
44577
45912
|
if (!result.ok) {
|
|
44578
45913
|
return {
|
|
44579
45914
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -44588,9 +45923,9 @@ List vendor scrub packages`,
|
|
|
44588
45923
|
|
|
44589
45924
|
// src/funcs/vendorsListVendorScrubPurchases.ts
|
|
44590
45925
|
function vendorsListVendorScrubPurchases(client, request, options) {
|
|
44591
|
-
return new APIPromise($
|
|
45926
|
+
return new APIPromise($do30(client, request, options));
|
|
44592
45927
|
}
|
|
44593
|
-
async function $
|
|
45928
|
+
async function $do30(client, request, options) {
|
|
44594
45929
|
const parsed = safeParse(request, (value) => ListVendorScrubPurchasesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
44595
45930
|
if (!parsed.ok) {
|
|
44596
45931
|
return [haltIterator(parsed), { status: "invalid" }];
|
|
@@ -44640,7 +45975,7 @@ async function $do29(client, request, options) {
|
|
|
44640
45975
|
const req = requestRes.value;
|
|
44641
45976
|
const doResult = await client._do(req, {
|
|
44642
45977
|
context,
|
|
44643
|
-
errorCodes: ["400", "401", "4XX", "5XX"],
|
|
45978
|
+
errorCodes: ["400", "401", "403", "4XX", "500", "5XX"],
|
|
44644
45979
|
retryConfig: context.retryConfig,
|
|
44645
45980
|
retryCodes: context.retryCodes
|
|
44646
45981
|
});
|
|
@@ -44653,7 +45988,7 @@ async function $do29(client, request, options) {
|
|
|
44653
45988
|
};
|
|
44654
45989
|
const [result, raw] = await match(json(200, ListVendorScrubPurchasesResponse$inboundSchema, {
|
|
44655
45990
|
key: "Result"
|
|
44656
|
-
}), jsonErr([400, 401], ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
|
|
45991
|
+
}), jsonErr([400, 401, 403], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
|
|
44657
45992
|
if (!result.ok) {
|
|
44658
45993
|
return [haltIterator(result), {
|
|
44659
45994
|
status: "complete",
|
|
@@ -44702,12 +46037,12 @@ var init_vendorsListVendorScrubPurchases = __esm(() => {
|
|
|
44702
46037
|
});
|
|
44703
46038
|
|
|
44704
46039
|
// src/mcp-server/tools/vendorsListVendorScrubPurchases.ts
|
|
44705
|
-
var
|
|
46040
|
+
var args29, tool$vendorsListVendorScrubPurchases;
|
|
44706
46041
|
var init_vendorsListVendorScrubPurchases2 = __esm(() => {
|
|
44707
46042
|
init_vendorsListVendorScrubPurchases();
|
|
44708
46043
|
init_operations();
|
|
44709
46044
|
init_tools();
|
|
44710
|
-
|
|
46045
|
+
args29 = {
|
|
44711
46046
|
request: ListVendorScrubPurchasesRequest$inboundSchema
|
|
44712
46047
|
};
|
|
44713
46048
|
tool$vendorsListVendorScrubPurchases = {
|
|
@@ -44715,9 +46050,9 @@ var init_vendorsListVendorScrubPurchases2 = __esm(() => {
|
|
|
44715
46050
|
description: `List vendor scrub purchases
|
|
44716
46051
|
|
|
44717
46052
|
List vendor scrub purchases`,
|
|
44718
|
-
args:
|
|
44719
|
-
tool: async (client,
|
|
44720
|
-
const [result, apiCall] = await vendorsListVendorScrubPurchases(client,
|
|
46053
|
+
args: args29,
|
|
46054
|
+
tool: async (client, args30, ctx) => {
|
|
46055
|
+
const [result, apiCall] = await vendorsListVendorScrubPurchases(client, args30.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
44721
46056
|
if (!result.ok) {
|
|
44722
46057
|
return {
|
|
44723
46058
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -44732,9 +46067,9 @@ List vendor scrub purchases`,
|
|
|
44732
46067
|
|
|
44733
46068
|
// src/funcs/vendorsPurchaseScrubCredits.ts
|
|
44734
46069
|
function vendorsPurchaseScrubCredits(client, request, options) {
|
|
44735
|
-
return new APIPromise($
|
|
46070
|
+
return new APIPromise($do31(client, request, options));
|
|
44736
46071
|
}
|
|
44737
|
-
async function $
|
|
46072
|
+
async function $do31(client, request, options) {
|
|
44738
46073
|
const parsed = safeParse(request, (value) => PurchaseScrubCreditsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
44739
46074
|
if (!parsed.ok) {
|
|
44740
46075
|
return [parsed, { status: "invalid" }];
|
|
@@ -44808,12 +46143,12 @@ var init_vendorsPurchaseScrubCredits = __esm(() => {
|
|
|
44808
46143
|
});
|
|
44809
46144
|
|
|
44810
46145
|
// src/mcp-server/tools/vendorsPurchaseScrubCredits.ts
|
|
44811
|
-
var
|
|
46146
|
+
var args30, tool$vendorsPurchaseScrubCredits;
|
|
44812
46147
|
var init_vendorsPurchaseScrubCredits2 = __esm(() => {
|
|
44813
46148
|
init_vendorsPurchaseScrubCredits();
|
|
44814
46149
|
init_operations();
|
|
44815
46150
|
init_tools();
|
|
44816
|
-
|
|
46151
|
+
args30 = {
|
|
44817
46152
|
request: PurchaseScrubCreditsRequest$inboundSchema
|
|
44818
46153
|
};
|
|
44819
46154
|
tool$vendorsPurchaseScrubCredits = {
|
|
@@ -44821,9 +46156,9 @@ var init_vendorsPurchaseScrubCredits2 = __esm(() => {
|
|
|
44821
46156
|
description: `Purchase scrub credits
|
|
44822
46157
|
|
|
44823
46158
|
Purchase scrub credits`,
|
|
44824
|
-
args:
|
|
44825
|
-
tool: async (client,
|
|
44826
|
-
const [result, apiCall] = await vendorsPurchaseScrubCredits(client,
|
|
46159
|
+
args: args30,
|
|
46160
|
+
tool: async (client, args31, ctx) => {
|
|
46161
|
+
const [result, apiCall] = await vendorsPurchaseScrubCredits(client, args31.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
44827
46162
|
if (!result.ok) {
|
|
44828
46163
|
return {
|
|
44829
46164
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -44838,9 +46173,9 @@ Purchase scrub credits`,
|
|
|
44838
46173
|
|
|
44839
46174
|
// src/funcs/vendorsUpdateVendorDetails.ts
|
|
44840
46175
|
function vendorsUpdateVendorDetails(client, request, options) {
|
|
44841
|
-
return new APIPromise($
|
|
46176
|
+
return new APIPromise($do32(client, request, options));
|
|
44842
46177
|
}
|
|
44843
|
-
async function $
|
|
46178
|
+
async function $do32(client, request, options) {
|
|
44844
46179
|
const parsed = safeParse(request, (value) => UpdateVendorDetailsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
44845
46180
|
if (!parsed.ok) {
|
|
44846
46181
|
return [parsed, { status: "invalid" }];
|
|
@@ -44915,12 +46250,12 @@ var init_vendorsUpdateVendorDetails = __esm(() => {
|
|
|
44915
46250
|
});
|
|
44916
46251
|
|
|
44917
46252
|
// src/mcp-server/tools/vendorsUpdateVendorDetails.ts
|
|
44918
|
-
var
|
|
46253
|
+
var args31, tool$vendorsUpdateVendorDetails;
|
|
44919
46254
|
var init_vendorsUpdateVendorDetails2 = __esm(() => {
|
|
44920
46255
|
init_vendorsUpdateVendorDetails();
|
|
44921
46256
|
init_operations();
|
|
44922
46257
|
init_tools();
|
|
44923
|
-
|
|
46258
|
+
args31 = {
|
|
44924
46259
|
request: UpdateVendorDetailsRequest$inboundSchema
|
|
44925
46260
|
};
|
|
44926
46261
|
tool$vendorsUpdateVendorDetails = {
|
|
@@ -44928,9 +46263,9 @@ var init_vendorsUpdateVendorDetails2 = __esm(() => {
|
|
|
44928
46263
|
description: `Update vendor details
|
|
44929
46264
|
|
|
44930
46265
|
It will update the vendor details`,
|
|
44931
|
-
args:
|
|
44932
|
-
tool: async (client,
|
|
44933
|
-
const [result, apiCall] = await vendorsUpdateVendorDetails(client,
|
|
46266
|
+
args: args31,
|
|
46267
|
+
tool: async (client, args32, ctx) => {
|
|
46268
|
+
const [result, apiCall] = await vendorsUpdateVendorDetails(client, args32.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
44934
46269
|
if (!result.ok) {
|
|
44935
46270
|
return {
|
|
44936
46271
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -44945,9 +46280,9 @@ It will update the vendor details`,
|
|
|
44945
46280
|
|
|
44946
46281
|
// src/funcs/vendorsUpdateVendorManagedByCompany.ts
|
|
44947
46282
|
function vendorsUpdateVendorManagedByCompany(client, request, options) {
|
|
44948
|
-
return new APIPromise($
|
|
46283
|
+
return new APIPromise($do33(client, request, options));
|
|
44949
46284
|
}
|
|
44950
|
-
async function $
|
|
46285
|
+
async function $do33(client, request, options) {
|
|
44951
46286
|
const parsed = safeParse(request, (value) => UpdateVendorManagedByCompanyRequest$outboundSchema.parse(value), "Input validation failed");
|
|
44952
46287
|
if (!parsed.ok) {
|
|
44953
46288
|
return [parsed, { status: "invalid" }];
|
|
@@ -45002,7 +46337,7 @@ async function $do32(client, request, options) {
|
|
|
45002
46337
|
const responseFields = {
|
|
45003
46338
|
HttpMeta: { Response: response, Request: req }
|
|
45004
46339
|
};
|
|
45005
|
-
const [result] = await match(json(200,
|
|
46340
|
+
const [result] = await match(json(200, UpdateVendorManagedByCompanyUpdateVendorManagedByCompanyOk$inboundSchema), jsonErr([400, 401, 403, 404], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
|
|
45006
46341
|
if (!result.ok) {
|
|
45007
46342
|
return [result, { status: "complete", request: req, response }];
|
|
45008
46343
|
}
|
|
@@ -45021,12 +46356,12 @@ var init_vendorsUpdateVendorManagedByCompany = __esm(() => {
|
|
|
45021
46356
|
});
|
|
45022
46357
|
|
|
45023
46358
|
// src/mcp-server/tools/vendorsUpdateVendorManagedByCompany.ts
|
|
45024
|
-
var
|
|
46359
|
+
var args32, tool$vendorsUpdateVendorManagedByCompany;
|
|
45025
46360
|
var init_vendorsUpdateVendorManagedByCompany2 = __esm(() => {
|
|
45026
46361
|
init_vendorsUpdateVendorManagedByCompany();
|
|
45027
46362
|
init_operations();
|
|
45028
46363
|
init_tools();
|
|
45029
|
-
|
|
46364
|
+
args32 = {
|
|
45030
46365
|
request: UpdateVendorManagedByCompanyRequest$inboundSchema
|
|
45031
46366
|
};
|
|
45032
46367
|
tool$vendorsUpdateVendorManagedByCompany = {
|
|
@@ -45034,9 +46369,9 @@ var init_vendorsUpdateVendorManagedByCompany2 = __esm(() => {
|
|
|
45034
46369
|
description: `Update vendor managed by company access rights
|
|
45035
46370
|
|
|
45036
46371
|
It will update the vendor managed by company access rights`,
|
|
45037
|
-
args:
|
|
45038
|
-
tool: async (client,
|
|
45039
|
-
const [result, apiCall] = await vendorsUpdateVendorManagedByCompany(client,
|
|
46372
|
+
args: args32,
|
|
46373
|
+
tool: async (client, args33, ctx) => {
|
|
46374
|
+
const [result, apiCall] = await vendorsUpdateVendorManagedByCompany(client, args33.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
45040
46375
|
if (!result.ok) {
|
|
45041
46376
|
return {
|
|
45042
46377
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -45051,9 +46386,9 @@ It will update the vendor managed by company access rights`,
|
|
|
45051
46386
|
|
|
45052
46387
|
// src/funcs/vendorsUpdateVendorScrubDetails.ts
|
|
45053
46388
|
function vendorsUpdateVendorScrubDetails(client, request, options) {
|
|
45054
|
-
return new APIPromise($
|
|
46389
|
+
return new APIPromise($do34(client, request, options));
|
|
45055
46390
|
}
|
|
45056
|
-
async function $
|
|
46391
|
+
async function $do34(client, request, options) {
|
|
45057
46392
|
const parsed = safeParse(request, (value) => UpdateVendorScrubDetailsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
45058
46393
|
if (!parsed.ok) {
|
|
45059
46394
|
return [parsed, { status: "invalid" }];
|
|
@@ -45128,12 +46463,12 @@ var init_vendorsUpdateVendorScrubDetails = __esm(() => {
|
|
|
45128
46463
|
});
|
|
45129
46464
|
|
|
45130
46465
|
// src/mcp-server/tools/vendorsUpdateVendorScrubDetails.ts
|
|
45131
|
-
var
|
|
46466
|
+
var args33, tool$vendorsUpdateVendorScrubDetails;
|
|
45132
46467
|
var init_vendorsUpdateVendorScrubDetails2 = __esm(() => {
|
|
45133
46468
|
init_vendorsUpdateVendorScrubDetails();
|
|
45134
46469
|
init_operations();
|
|
45135
46470
|
init_tools();
|
|
45136
|
-
|
|
46471
|
+
args33 = {
|
|
45137
46472
|
request: UpdateVendorScrubDetailsRequest$inboundSchema
|
|
45138
46473
|
};
|
|
45139
46474
|
tool$vendorsUpdateVendorScrubDetails = {
|
|
@@ -45141,9 +46476,9 @@ var init_vendorsUpdateVendorScrubDetails2 = __esm(() => {
|
|
|
45141
46476
|
description: `Update vendor scrub details
|
|
45142
46477
|
|
|
45143
46478
|
Update vendor scrub details`,
|
|
45144
|
-
args:
|
|
45145
|
-
tool: async (client,
|
|
45146
|
-
const [result, apiCall] = await vendorsUpdateVendorScrubDetails(client,
|
|
46479
|
+
args: args33,
|
|
46480
|
+
tool: async (client, args34, ctx) => {
|
|
46481
|
+
const [result, apiCall] = await vendorsUpdateVendorScrubDetails(client, args34.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
45147
46482
|
if (!result.ok) {
|
|
45148
46483
|
return {
|
|
45149
46484
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -45158,9 +46493,9 @@ Update vendor scrub details`,
|
|
|
45158
46493
|
|
|
45159
46494
|
// src/funcs/webhooksGetWebhookEndpoint.ts
|
|
45160
46495
|
function webhooksGetWebhookEndpoint(client, request, options) {
|
|
45161
|
-
return new APIPromise($
|
|
46496
|
+
return new APIPromise($do35(client, request, options));
|
|
45162
46497
|
}
|
|
45163
|
-
async function $
|
|
46498
|
+
async function $do35(client, request, options) {
|
|
45164
46499
|
const parsed = safeParse(request, (value) => GetWebhookEndpointRequest$outboundSchema.parse(value), "Input validation failed");
|
|
45165
46500
|
if (!parsed.ok) {
|
|
45166
46501
|
return [parsed, { status: "invalid" }];
|
|
@@ -45203,7 +46538,7 @@ async function $do34(client, request, options) {
|
|
|
45203
46538
|
const req = requestRes.value;
|
|
45204
46539
|
const doResult = await client._do(req, {
|
|
45205
46540
|
context,
|
|
45206
|
-
errorCodes: ["400", "401", "403", "4XX", "500", "5XX"],
|
|
46541
|
+
errorCodes: ["400", "401", "403", "404", "4XX", "500", "5XX"],
|
|
45207
46542
|
retryConfig: context.retryConfig,
|
|
45208
46543
|
retryCodes: context.retryCodes
|
|
45209
46544
|
});
|
|
@@ -45214,7 +46549,7 @@ async function $do34(client, request, options) {
|
|
|
45214
46549
|
const responseFields = {
|
|
45215
46550
|
HttpMeta: { Response: response, Request: req }
|
|
45216
46551
|
};
|
|
45217
|
-
const [result] = await match(json(200, WebhookEndpoint$inboundSchema), jsonErr([400, 401, 403], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
|
|
46552
|
+
const [result] = await match(json(200, WebhookEndpoint$inboundSchema), jsonErr([400, 401, 403, 404], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
|
|
45218
46553
|
if (!result.ok) {
|
|
45219
46554
|
return [result, { status: "complete", request: req, response }];
|
|
45220
46555
|
}
|
|
@@ -45234,12 +46569,12 @@ var init_webhooksGetWebhookEndpoint = __esm(() => {
|
|
|
45234
46569
|
});
|
|
45235
46570
|
|
|
45236
46571
|
// src/mcp-server/tools/webhooksGetWebhookEndpoint.ts
|
|
45237
|
-
var
|
|
46572
|
+
var args34, tool$webhooksGetWebhookEndpoint;
|
|
45238
46573
|
var init_webhooksGetWebhookEndpoint2 = __esm(() => {
|
|
45239
46574
|
init_webhooksGetWebhookEndpoint();
|
|
45240
46575
|
init_operations();
|
|
45241
46576
|
init_tools();
|
|
45242
|
-
|
|
46577
|
+
args34 = {
|
|
45243
46578
|
request: GetWebhookEndpointRequest$inboundSchema
|
|
45244
46579
|
};
|
|
45245
46580
|
tool$webhooksGetWebhookEndpoint = {
|
|
@@ -45247,9 +46582,9 @@ var init_webhooksGetWebhookEndpoint2 = __esm(() => {
|
|
|
45247
46582
|
description: `Retrieves the webhook endpoint with the given ID.
|
|
45248
46583
|
|
|
45249
46584
|
Returns the definition of a webhook endpoint by ID.`,
|
|
45250
|
-
args:
|
|
45251
|
-
tool: async (client,
|
|
45252
|
-
const [result, apiCall] = await webhooksGetWebhookEndpoint(client,
|
|
46585
|
+
args: args34,
|
|
46586
|
+
tool: async (client, args35, ctx) => {
|
|
46587
|
+
const [result, apiCall] = await webhooksGetWebhookEndpoint(client, args35.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
45253
46588
|
if (!result.ok) {
|
|
45254
46589
|
return {
|
|
45255
46590
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -45264,9 +46599,9 @@ Returns the definition of a webhook endpoint by ID.`,
|
|
|
45264
46599
|
|
|
45265
46600
|
// src/funcs/webhooksListAllWebhookEndpoints.ts
|
|
45266
46601
|
function webhooksListAllWebhookEndpoints(client, request, options) {
|
|
45267
|
-
return new APIPromise($
|
|
46602
|
+
return new APIPromise($do36(client, request, options));
|
|
45268
46603
|
}
|
|
45269
|
-
async function $
|
|
46604
|
+
async function $do36(client, request, options) {
|
|
45270
46605
|
const parsed = safeParse(request, (value) => ListAllWebhookEndpointsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
45271
46606
|
if (!parsed.ok) {
|
|
45272
46607
|
return [parsed, { status: "invalid" }];
|
|
@@ -45321,7 +46656,7 @@ async function $do35(client, request, options) {
|
|
|
45321
46656
|
const responseFields = {
|
|
45322
46657
|
HttpMeta: { Response: response, Request: req }
|
|
45323
46658
|
};
|
|
45324
|
-
const [result] = await match(json(200,
|
|
46659
|
+
const [result] = await match(json(200, ListAllWebhookEndpointsListAllWebhookEndpointsOk$inboundSchema), jsonErr([400, 401, 403], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
|
|
45325
46660
|
if (!result.ok) {
|
|
45326
46661
|
return [result, { status: "complete", request: req, response }];
|
|
45327
46662
|
}
|
|
@@ -45340,12 +46675,12 @@ var init_webhooksListAllWebhookEndpoints = __esm(() => {
|
|
|
45340
46675
|
});
|
|
45341
46676
|
|
|
45342
46677
|
// src/mcp-server/tools/webhooksListAllWebhookEndpoints.ts
|
|
45343
|
-
var
|
|
46678
|
+
var args35, tool$webhooksListAllWebhookEndpoints;
|
|
45344
46679
|
var init_webhooksListAllWebhookEndpoints2 = __esm(() => {
|
|
45345
46680
|
init_webhooksListAllWebhookEndpoints();
|
|
45346
46681
|
init_operations();
|
|
45347
46682
|
init_tools();
|
|
45348
|
-
|
|
46683
|
+
args35 = {
|
|
45349
46684
|
request: ListAllWebhookEndpointsRequest$inboundSchema
|
|
45350
46685
|
};
|
|
45351
46686
|
tool$webhooksListAllWebhookEndpoints = {
|
|
@@ -45353,9 +46688,116 @@ var init_webhooksListAllWebhookEndpoints2 = __esm(() => {
|
|
|
45353
46688
|
description: `List all webhook endpoints
|
|
45354
46689
|
|
|
45355
46690
|
Returns a list of your webhook endpoints.`,
|
|
45356
|
-
args:
|
|
45357
|
-
tool: async (client,
|
|
45358
|
-
const [result, apiCall] = await webhooksListAllWebhookEndpoints(client,
|
|
46691
|
+
args: args35,
|
|
46692
|
+
tool: async (client, args36, ctx) => {
|
|
46693
|
+
const [result, apiCall] = await webhooksListAllWebhookEndpoints(client, args36.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
46694
|
+
if (!result.ok) {
|
|
46695
|
+
return {
|
|
46696
|
+
content: [{ type: "text", text: result.error.message }],
|
|
46697
|
+
isError: true
|
|
46698
|
+
};
|
|
46699
|
+
}
|
|
46700
|
+
const value = result.value;
|
|
46701
|
+
return formatResult(value, apiCall);
|
|
46702
|
+
}
|
|
46703
|
+
};
|
|
46704
|
+
});
|
|
46705
|
+
|
|
46706
|
+
// src/funcs/webhooksUpdatesTheWebhookEndpointWithTheGivenId.ts
|
|
46707
|
+
function webhooksUpdatesTheWebhookEndpointWithTheGivenId(client, request, options) {
|
|
46708
|
+
return new APIPromise($do37(client, request, options));
|
|
46709
|
+
}
|
|
46710
|
+
async function $do37(client, request, options) {
|
|
46711
|
+
const parsed = safeParse(request, (value) => UpdatesTheWebhookEndpointWithTheGivenIdRequest$outboundSchema.parse(value), "Input validation failed");
|
|
46712
|
+
if (!parsed.ok) {
|
|
46713
|
+
return [parsed, { status: "invalid" }];
|
|
46714
|
+
}
|
|
46715
|
+
const payload = parsed.value;
|
|
46716
|
+
const body = encodeJSON("body", payload.WebhookEndpoint, { explode: true });
|
|
46717
|
+
const pathParams = {
|
|
46718
|
+
id: encodeSimple("id", payload.id, {
|
|
46719
|
+
explode: false,
|
|
46720
|
+
charEncoding: "percent"
|
|
46721
|
+
})
|
|
46722
|
+
};
|
|
46723
|
+
const path = pathToFunc("/webhooks/{id}")(pathParams);
|
|
46724
|
+
const headers = new Headers(compactMap({
|
|
46725
|
+
"Content-Type": "application/json",
|
|
46726
|
+
Accept: "application/json"
|
|
46727
|
+
}));
|
|
46728
|
+
const securityInput = await extractSecurity(client._options.security);
|
|
46729
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
46730
|
+
const context = {
|
|
46731
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
46732
|
+
operationID: "updatesTheWebhookEndpointWithTheGivenId",
|
|
46733
|
+
oAuth2Scopes: [],
|
|
46734
|
+
resolvedSecurity: requestSecurity,
|
|
46735
|
+
securitySource: client._options.security,
|
|
46736
|
+
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
46737
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
46738
|
+
};
|
|
46739
|
+
const requestRes = client._createRequest(context, {
|
|
46740
|
+
security: requestSecurity,
|
|
46741
|
+
method: "PUT",
|
|
46742
|
+
baseURL: options?.serverURL,
|
|
46743
|
+
path,
|
|
46744
|
+
headers,
|
|
46745
|
+
body,
|
|
46746
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
46747
|
+
}, options);
|
|
46748
|
+
if (!requestRes.ok) {
|
|
46749
|
+
return [requestRes, { status: "invalid" }];
|
|
46750
|
+
}
|
|
46751
|
+
const req = requestRes.value;
|
|
46752
|
+
const doResult = await client._do(req, {
|
|
46753
|
+
context,
|
|
46754
|
+
errorCodes: ["400", "401", "403", "404", "4XX", "500", "5XX"],
|
|
46755
|
+
retryConfig: context.retryConfig,
|
|
46756
|
+
retryCodes: context.retryCodes
|
|
46757
|
+
});
|
|
46758
|
+
if (!doResult.ok) {
|
|
46759
|
+
return [doResult, { status: "request-error", request: req }];
|
|
46760
|
+
}
|
|
46761
|
+
const response = doResult.value;
|
|
46762
|
+
const responseFields = {
|
|
46763
|
+
HttpMeta: { Response: response, Request: req }
|
|
46764
|
+
};
|
|
46765
|
+
const [result] = await match(json(200, WebhookEndpoint$inboundSchema), jsonErr([400, 401, 403, 404], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
|
|
46766
|
+
if (!result.ok) {
|
|
46767
|
+
return [result, { status: "complete", request: req, response }];
|
|
46768
|
+
}
|
|
46769
|
+
return [result, { status: "complete", request: req, response }];
|
|
46770
|
+
}
|
|
46771
|
+
var init_webhooksUpdatesTheWebhookEndpointWithTheGivenId = __esm(() => {
|
|
46772
|
+
init_encodings();
|
|
46773
|
+
init_matchers();
|
|
46774
|
+
init_primitives();
|
|
46775
|
+
init_schemas();
|
|
46776
|
+
init_security();
|
|
46777
|
+
init_url();
|
|
46778
|
+
init_components();
|
|
46779
|
+
init_errors();
|
|
46780
|
+
init_operations();
|
|
46781
|
+
init_async();
|
|
46782
|
+
});
|
|
46783
|
+
|
|
46784
|
+
// src/mcp-server/tools/webhooksUpdatesTheWebhookEndpointWithTheGivenId.ts
|
|
46785
|
+
var args36, tool$webhooksUpdatesTheWebhookEndpointWithTheGivenId;
|
|
46786
|
+
var init_webhooksUpdatesTheWebhookEndpointWithTheGivenId2 = __esm(() => {
|
|
46787
|
+
init_webhooksUpdatesTheWebhookEndpointWithTheGivenId();
|
|
46788
|
+
init_operations();
|
|
46789
|
+
init_tools();
|
|
46790
|
+
args36 = {
|
|
46791
|
+
request: UpdatesTheWebhookEndpointWithTheGivenIdRequest$inboundSchema
|
|
46792
|
+
};
|
|
46793
|
+
tool$webhooksUpdatesTheWebhookEndpointWithTheGivenId = {
|
|
46794
|
+
name: "webhooks-updates-the-webhook-endpoint-with-the-given-id",
|
|
46795
|
+
description: `Updates the webhook endpoint with the given ID.
|
|
46796
|
+
|
|
46797
|
+
Updates the webhook endpoint with the given ID.`,
|
|
46798
|
+
args: args36,
|
|
46799
|
+
tool: async (client, args37, ctx) => {
|
|
46800
|
+
const [result, apiCall] = await webhooksUpdatesTheWebhookEndpointWithTheGivenId(client, args37.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
45359
46801
|
if (!result.ok) {
|
|
45360
46802
|
return {
|
|
45361
46803
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -45370,9 +46812,9 @@ Returns a list of your webhook endpoints.`,
|
|
|
45370
46812
|
|
|
45371
46813
|
// src/funcs/zonesListOrSearchSecurityZones.ts
|
|
45372
46814
|
function zonesListOrSearchSecurityZones(client, request, options) {
|
|
45373
|
-
return new APIPromise($
|
|
46815
|
+
return new APIPromise($do38(client, request, options));
|
|
45374
46816
|
}
|
|
45375
|
-
async function $
|
|
46817
|
+
async function $do38(client, request, options) {
|
|
45376
46818
|
const parsed = safeParse(request, (value) => ListOrSearchSecurityZonesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
45377
46819
|
if (!parsed.ok) {
|
|
45378
46820
|
return [haltIterator(parsed), { status: "invalid" }];
|
|
@@ -45484,12 +46926,12 @@ var init_zonesListOrSearchSecurityZones = __esm(() => {
|
|
|
45484
46926
|
});
|
|
45485
46927
|
|
|
45486
46928
|
// src/mcp-server/tools/zonesListOrSearchSecurityZones.ts
|
|
45487
|
-
var
|
|
46929
|
+
var args37, tool$zonesListOrSearchSecurityZones;
|
|
45488
46930
|
var init_zonesListOrSearchSecurityZones2 = __esm(() => {
|
|
45489
46931
|
init_zonesListOrSearchSecurityZones();
|
|
45490
46932
|
init_operations();
|
|
45491
46933
|
init_tools();
|
|
45492
|
-
|
|
46934
|
+
args37 = {
|
|
45493
46935
|
request: ListOrSearchSecurityZonesRequest$inboundSchema
|
|
45494
46936
|
};
|
|
45495
46937
|
tool$zonesListOrSearchSecurityZones = {
|
|
@@ -45497,9 +46939,9 @@ var init_zonesListOrSearchSecurityZones2 = __esm(() => {
|
|
|
45497
46939
|
description: `List or search security zones
|
|
45498
46940
|
|
|
45499
46941
|
List or search security zones`,
|
|
45500
|
-
args:
|
|
45501
|
-
tool: async (client,
|
|
45502
|
-
const [result, apiCall] = await zonesListOrSearchSecurityZones(client,
|
|
46942
|
+
args: args37,
|
|
46943
|
+
tool: async (client, args38, ctx) => {
|
|
46944
|
+
const [result, apiCall] = await zonesListOrSearchSecurityZones(client, args38.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
45503
46945
|
if (!result.ok) {
|
|
45504
46946
|
return {
|
|
45505
46947
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -45514,9 +46956,9 @@ List or search security zones`,
|
|
|
45514
46956
|
|
|
45515
46957
|
// src/funcs/zonesSecurityZoneCheckin.ts
|
|
45516
46958
|
function zonesSecurityZoneCheckin(client, request, options) {
|
|
45517
|
-
return new APIPromise($
|
|
46959
|
+
return new APIPromise($do39(client, request, options));
|
|
45518
46960
|
}
|
|
45519
|
-
async function $
|
|
46961
|
+
async function $do39(client, request, options) {
|
|
45520
46962
|
const parsed = safeParse(request, (value) => SecurityZoneCheckinRequestBody$outboundSchema.parse(value), "Input validation failed");
|
|
45521
46963
|
if (!parsed.ok) {
|
|
45522
46964
|
return [parsed, { status: "invalid" }];
|
|
@@ -45565,7 +47007,7 @@ async function $do37(client, request, options) {
|
|
|
45565
47007
|
const responseFields = {
|
|
45566
47008
|
HttpMeta: { Response: response, Request: req }
|
|
45567
47009
|
};
|
|
45568
|
-
const [result] = await match(json(200,
|
|
47010
|
+
const [result] = await match(json(200, SecurityZoneCheckinResponseBody$inboundSchema), jsonErr([400, 401, 403, 404], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
|
|
45569
47011
|
if (!result.ok) {
|
|
45570
47012
|
return [result, { status: "complete", request: req, response }];
|
|
45571
47013
|
}
|
|
@@ -45578,29 +47020,28 @@ var init_zonesSecurityZoneCheckin = __esm(() => {
|
|
|
45578
47020
|
init_schemas();
|
|
45579
47021
|
init_security();
|
|
45580
47022
|
init_url();
|
|
45581
|
-
init_components();
|
|
45582
47023
|
init_errors();
|
|
45583
47024
|
init_operations();
|
|
45584
47025
|
init_async();
|
|
45585
47026
|
});
|
|
45586
47027
|
|
|
45587
47028
|
// src/mcp-server/tools/zonesSecurityZoneCheckin.ts
|
|
45588
|
-
var
|
|
47029
|
+
var args38, tool$zonesSecurityZoneCheckin;
|
|
45589
47030
|
var init_zonesSecurityZoneCheckin2 = __esm(() => {
|
|
45590
47031
|
init_zonesSecurityZoneCheckin();
|
|
45591
47032
|
init_operations();
|
|
45592
47033
|
init_tools();
|
|
45593
|
-
|
|
47034
|
+
args38 = {
|
|
45594
47035
|
request: SecurityZoneCheckinRequestBody$inboundSchema
|
|
45595
47036
|
};
|
|
45596
47037
|
tool$zonesSecurityZoneCheckin = {
|
|
45597
47038
|
name: "zones-security-zone-checkin",
|
|
45598
47039
|
description: `Security zone checkin request
|
|
45599
47040
|
|
|
45600
|
-
|
|
45601
|
-
args:
|
|
45602
|
-
tool: async (client,
|
|
45603
|
-
const [result, apiCall] = await zonesSecurityZoneCheckin(client,
|
|
47041
|
+
Security zone checkin request`,
|
|
47042
|
+
args: args38,
|
|
47043
|
+
tool: async (client, args39, ctx) => {
|
|
47044
|
+
const [result, apiCall] = await zonesSecurityZoneCheckin(client, args39.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
45604
47045
|
if (!result.ok) {
|
|
45605
47046
|
return {
|
|
45606
47047
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -45617,7 +47058,7 @@ It will create a handoff record in the db for security zone check in request`,
|
|
|
45617
47058
|
function createMCPServer(deps) {
|
|
45618
47059
|
const server = new McpServer({
|
|
45619
47060
|
name: "GreenSecurity",
|
|
45620
|
-
version: "0.30.
|
|
47061
|
+
version: "0.30.46"
|
|
45621
47062
|
});
|
|
45622
47063
|
const client = new GreenSecurityCore({
|
|
45623
47064
|
security: deps.security,
|
|
@@ -45633,6 +47074,7 @@ function createMCPServer(deps) {
|
|
|
45633
47074
|
const register = { tool, resource, resourceTemplate, prompt };
|
|
45634
47075
|
tool(tool$vendorsCreateVendorRegistration);
|
|
45635
47076
|
tool(tool$vendorsListVendorCredentials);
|
|
47077
|
+
tool(tool$vendorsGetVendorCredentialDetails);
|
|
45636
47078
|
tool(tool$vendorsExpediteTimeRemaining);
|
|
45637
47079
|
tool(tool$vendorsListVendorInvoices);
|
|
45638
47080
|
tool(tool$vendorsGetVendorInvoiceDetails);
|
|
@@ -45653,7 +47095,7 @@ function createMCPServer(deps) {
|
|
|
45653
47095
|
tool(tool$vendorsCreateVendorCompany);
|
|
45654
47096
|
tool(tool$usersGetCurrentUser);
|
|
45655
47097
|
tool(tool$usersGetUserById);
|
|
45656
|
-
tool(tool$
|
|
47098
|
+
tool(tool$usersPostAuthenticate);
|
|
45657
47099
|
tool(tool$usersMagiclink);
|
|
45658
47100
|
tool(tool$usersPasswordResetRequest);
|
|
45659
47101
|
tool(tool$usersPassword);
|
|
@@ -45664,6 +47106,7 @@ function createMCPServer(deps) {
|
|
|
45664
47106
|
tool(tool$supportArticlesGetSupportArticle);
|
|
45665
47107
|
tool(tool$webhooksListAllWebhookEndpoints);
|
|
45666
47108
|
tool(tool$webhooksGetWebhookEndpoint);
|
|
47109
|
+
tool(tool$webhooksUpdatesTheWebhookEndpointWithTheGivenId);
|
|
45667
47110
|
tool(tool$vendorScansVendorScanOut);
|
|
45668
47111
|
tool(tool$companiesListOrSearchCompanies);
|
|
45669
47112
|
tool(tool$zonesListOrSearchSecurityZones);
|
|
@@ -45683,16 +47126,17 @@ var init_server2 = __esm(() => {
|
|
|
45683
47126
|
init_usersChangePassword2();
|
|
45684
47127
|
init_usersGetCurrentUser2();
|
|
45685
47128
|
init_usersGetUserById2();
|
|
45686
|
-
init_usersLogsUserIntoTheSystem2();
|
|
45687
47129
|
init_usersMagiclink2();
|
|
45688
47130
|
init_usersPassword2();
|
|
45689
47131
|
init_usersPasswordResetRequest2();
|
|
47132
|
+
init_usersPostAuthenticate2();
|
|
45690
47133
|
init_vendorsAddVendorManagedByCompany2();
|
|
45691
47134
|
init_vendorScansVendorScanOut2();
|
|
45692
47135
|
init_vendorsCreateVendorCompany2();
|
|
45693
47136
|
init_vendorsCreateVendorRegistration2();
|
|
45694
47137
|
init_vendorsDeleteVendorManagedByCompany2();
|
|
45695
47138
|
init_vendorsExpediteTimeRemaining2();
|
|
47139
|
+
init_vendorsGetVendorCredentialDetails2();
|
|
45696
47140
|
init_vendorsGetVendorInvoiceDetails2();
|
|
45697
47141
|
init_vendorsGetVendorsDetails2();
|
|
45698
47142
|
init_vendorsListVendorAdditionalFacilityFields2();
|
|
@@ -45710,6 +47154,7 @@ var init_server2 = __esm(() => {
|
|
|
45710
47154
|
init_vendorsUpdateVendorScrubDetails2();
|
|
45711
47155
|
init_webhooksGetWebhookEndpoint2();
|
|
45712
47156
|
init_webhooksListAllWebhookEndpoints2();
|
|
47157
|
+
init_webhooksUpdatesTheWebhookEndpointWithTheGivenId2();
|
|
45713
47158
|
init_zonesListOrSearchSecurityZones2();
|
|
45714
47159
|
init_zonesSecurityZoneCheckin2();
|
|
45715
47160
|
});
|
|
@@ -46910,7 +48355,7 @@ var routes = an({
|
|
|
46910
48355
|
var app = He(routes, {
|
|
46911
48356
|
name: "mcp",
|
|
46912
48357
|
versionInfo: {
|
|
46913
|
-
currentVersion: "0.30.
|
|
48358
|
+
currentVersion: "0.30.46"
|
|
46914
48359
|
}
|
|
46915
48360
|
});
|
|
46916
48361
|
zt(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -46918,5 +48363,5 @@ export {
|
|
|
46918
48363
|
app
|
|
46919
48364
|
};
|
|
46920
48365
|
|
|
46921
|
-
//# debugId=
|
|
48366
|
+
//# debugId=E7D4ABF4BB6A017164756E2164756E21
|
|
46922
48367
|
//# sourceMappingURL=mcp-server.js.map
|