@greensecurity/javascript-sdk 0.15.1 → 0.17.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/REACT_QUERY.md +68 -30
- package/README.md +74 -19
- package/bin/mcp-server.js +1494 -215
- package/bin/mcp-server.js.map +56 -34
- package/funcs/organizationsListOrSearchFacilities.d.ts +4 -1
- package/funcs/organizationsListOrSearchFacilities.d.ts.map +1 -1
- package/funcs/organizationsListOrSearchFacilities.js +47 -10
- package/funcs/organizationsListOrSearchFacilities.js.map +1 -1
- package/funcs/supportArticlesGetSupportArticle.d.ts +25 -0
- package/funcs/supportArticlesGetSupportArticle.d.ts.map +1 -0
- package/funcs/supportArticlesGetSupportArticle.js +132 -0
- package/funcs/supportArticlesGetSupportArticle.js.map +1 -0
- package/funcs/supportArticlesListOrSearchSupportArticles.d.ts +19 -0
- package/funcs/supportArticlesListOrSearchSupportArticles.d.ts.map +1 -0
- package/funcs/supportArticlesListOrSearchSupportArticles.js +153 -0
- package/funcs/supportArticlesListOrSearchSupportArticles.js.map +1 -0
- package/funcs/{userGetCurrentUser.d.ts → usersGetCurrentUser.d.ts} +2 -2
- package/funcs/usersGetCurrentUser.d.ts.map +1 -0
- package/funcs/{userGetCurrentUser.js → usersGetCurrentUser.js} +3 -3
- package/funcs/usersGetCurrentUser.js.map +1 -0
- package/funcs/{userGetUserById.d.ts → usersGetUserById.d.ts} +2 -2
- package/funcs/usersGetUserById.d.ts.map +1 -0
- package/funcs/{userGetUserById.js → usersGetUserById.js} +3 -3
- package/funcs/usersGetUserById.js.map +1 -0
- package/funcs/{userLogsUserIntoTheSystem.d.ts → usersLogsUserIntoTheSystem.d.ts} +2 -2
- package/funcs/usersLogsUserIntoTheSystem.d.ts.map +1 -0
- package/funcs/{userLogsUserIntoTheSystem.js → usersLogsUserIntoTheSystem.js} +3 -3
- package/funcs/usersLogsUserIntoTheSystem.js.map +1 -0
- package/funcs/{userMagiclink.d.ts → usersMagiclink.d.ts} +2 -2
- package/funcs/usersMagiclink.d.ts.map +1 -0
- package/funcs/{userMagiclink.js → usersMagiclink.js} +4 -4
- package/funcs/usersMagiclink.js.map +1 -0
- package/funcs/{userPassword.d.ts → usersPassword.d.ts} +2 -2
- package/funcs/usersPassword.d.ts.map +1 -0
- package/funcs/{userPassword.js → usersPassword.js} +4 -4
- package/funcs/usersPassword.js.map +1 -0
- package/funcs/{userPasswordResetRequest.d.ts → usersPasswordResetRequest.d.ts} +2 -2
- package/funcs/usersPasswordResetRequest.d.ts.map +1 -0
- package/funcs/{userPasswordResetRequest.js → usersPasswordResetRequest.js} +4 -4
- package/funcs/usersPasswordResetRequest.js.map +1 -0
- package/funcs/vendorsCreateVendorRegistration.d.ts +1 -1
- package/funcs/vendorsCreateVendorRegistration.d.ts.map +1 -1
- package/funcs/vendorsCreateVendorRegistration.js +2 -1
- package/funcs/vendorsCreateVendorRegistration.js.map +1 -1
- package/funcs/vendorsExpediteTimeRemaining.d.ts +17 -0
- package/funcs/vendorsExpediteTimeRemaining.d.ts.map +1 -0
- package/funcs/vendorsExpediteTimeRemaining.js +120 -0
- package/funcs/vendorsExpediteTimeRemaining.js.map +1 -0
- package/funcs/vendorsListVendorCredentials.d.ts +16 -0
- package/funcs/vendorsListVendorCredentials.d.ts.map +1 -0
- package/funcs/vendorsListVendorCredentials.js +124 -0
- package/funcs/vendorsListVendorCredentials.js.map +1 -0
- package/funcs/vendorsListVendorInvoices.d.ts +24 -0
- package/funcs/vendorsListVendorInvoices.d.ts.map +1 -0
- package/funcs/vendorsListVendorInvoices.js +166 -0
- package/funcs/vendorsListVendorInvoices.js.map +1 -0
- package/funcs/vendorsListVendorJobTitles.d.ts +4 -1
- package/funcs/vendorsListVendorJobTitles.d.ts.map +1 -1
- package/funcs/vendorsListVendorJobTitles.js +39 -6
- package/funcs/vendorsListVendorJobTitles.js.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.d.ts.map +1 -1
- package/mcp-server/server.js +23 -13
- package/mcp-server/server.js.map +1 -1
- package/mcp-server/tools/organizationsListOrSearchFacilities.js +1 -1
- package/mcp-server/tools/organizationsListOrSearchFacilities.js.map +1 -1
- package/mcp-server/tools/supportArticlesGetSupportArticle.d.ts +8 -0
- package/mcp-server/tools/supportArticlesGetSupportArticle.d.ts.map +1 -0
- package/mcp-server/tools/supportArticlesGetSupportArticle.js +71 -0
- package/mcp-server/tools/supportArticlesGetSupportArticle.js.map +1 -0
- package/mcp-server/tools/supportArticlesListOrSearchSupportArticles.d.ts +8 -0
- package/mcp-server/tools/supportArticlesListOrSearchSupportArticles.d.ts.map +1 -0
- package/mcp-server/tools/supportArticlesListOrSearchSupportArticles.js +64 -0
- package/mcp-server/tools/supportArticlesListOrSearchSupportArticles.js.map +1 -0
- package/mcp-server/tools/usersGetCurrentUser.d.ts +3 -0
- package/mcp-server/tools/usersGetCurrentUser.d.ts.map +1 -0
- package/mcp-server/tools/usersGetCurrentUser.js +26 -0
- package/mcp-server/tools/usersGetCurrentUser.js.map +1 -0
- package/mcp-server/tools/usersGetUserById.d.ts +8 -0
- package/mcp-server/tools/usersGetUserById.d.ts.map +1 -0
- package/mcp-server/tools/usersGetUserById.js +64 -0
- package/mcp-server/tools/usersGetUserById.js.map +1 -0
- package/mcp-server/tools/usersLogsUserIntoTheSystem.d.ts +8 -0
- package/mcp-server/tools/usersLogsUserIntoTheSystem.d.ts.map +1 -0
- package/mcp-server/tools/usersLogsUserIntoTheSystem.js +94 -0
- package/mcp-server/tools/usersLogsUserIntoTheSystem.js.map +1 -0
- package/mcp-server/tools/usersMagiclink.d.ts +8 -0
- package/mcp-server/tools/usersMagiclink.d.ts.map +1 -0
- package/mcp-server/tools/usersMagiclink.js +64 -0
- package/mcp-server/tools/usersMagiclink.js.map +1 -0
- package/mcp-server/tools/usersPassword.d.ts +8 -0
- package/mcp-server/tools/usersPassword.d.ts.map +1 -0
- package/mcp-server/tools/usersPassword.js +65 -0
- package/mcp-server/tools/usersPassword.js.map +1 -0
- package/mcp-server/tools/usersPasswordResetRequest.d.ts +8 -0
- package/mcp-server/tools/usersPasswordResetRequest.d.ts.map +1 -0
- package/mcp-server/tools/usersPasswordResetRequest.js +64 -0
- package/mcp-server/tools/usersPasswordResetRequest.js.map +1 -0
- package/mcp-server/tools/vendorsExpediteTimeRemaining.d.ts +8 -0
- package/mcp-server/tools/vendorsExpediteTimeRemaining.d.ts.map +1 -0
- package/mcp-server/tools/vendorsExpediteTimeRemaining.js +64 -0
- package/mcp-server/tools/vendorsExpediteTimeRemaining.js.map +1 -0
- package/mcp-server/tools/vendorsListVendorCredentials.d.ts +8 -0
- package/mcp-server/tools/vendorsListVendorCredentials.d.ts.map +1 -0
- package/mcp-server/tools/vendorsListVendorCredentials.js +64 -0
- package/mcp-server/tools/vendorsListVendorCredentials.js.map +1 -0
- package/mcp-server/tools/vendorsListVendorInvoices.d.ts +8 -0
- package/mcp-server/tools/vendorsListVendorInvoices.d.ts.map +1 -0
- package/mcp-server/tools/vendorsListVendorInvoices.js +68 -0
- package/mcp-server/tools/vendorsListVendorInvoices.js.map +1 -0
- package/mcp-server/tools/vendorsListVendorJobTitles.js +1 -1
- package/mcp-server/tools/vendorsListVendorJobTitles.js.map +1 -1
- package/models/components/{status.d.ts → activestatus.d.ts} +8 -8
- package/models/components/activestatus.d.ts.map +1 -0
- package/models/components/{status.js → activestatus.js} +12 -13
- package/models/components/activestatus.js.map +1 -0
- package/models/components/contact.d.ts +8 -8
- package/models/components/contact.d.ts.map +1 -1
- package/models/components/contact.js +14 -13
- package/models/components/contact.js.map +1 -1
- package/models/components/credentialstatus.d.ts +49 -0
- package/models/components/credentialstatus.d.ts.map +1 -0
- package/models/components/credentialstatus.js +68 -0
- package/models/components/credentialstatus.js.map +1 -0
- package/models/components/expand.d.ts +15 -0
- package/models/components/expand.d.ts.map +1 -1
- package/models/components/expand.js +5 -0
- package/models/components/expand.js.map +1 -1
- package/models/components/index.d.ts +7 -1
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +7 -1
- package/models/components/index.js.map +1 -1
- package/models/components/invoice.d.ts +43 -0
- package/models/components/invoice.d.ts.map +1 -0
- package/models/components/invoice.js +91 -0
- package/models/components/invoice.js.map +1 -0
- package/models/components/invoiceitem.d.ts +40 -0
- package/models/components/invoiceitem.d.ts.map +1 -0
- package/models/components/invoiceitem.js +94 -0
- package/models/components/invoiceitem.js.map +1 -0
- package/models/components/supportarticle.d.ts +43 -0
- package/models/components/supportarticle.d.ts.map +1 -0
- package/models/components/supportarticle.js +92 -0
- package/models/components/supportarticle.js.map +1 -0
- package/models/components/vendorcredentialslim.d.ts +44 -0
- package/models/components/vendorcredentialslim.d.ts.map +1 -0
- package/models/components/vendorcredentialslim.js +94 -0
- package/models/components/vendorcredentialslim.js.map +1 -0
- package/models/components/vendorrequiredcredential.d.ts +42 -0
- package/models/components/vendorrequiredcredential.d.ts.map +1 -0
- package/models/components/vendorrequiredcredential.js +96 -0
- package/models/components/vendorrequiredcredential.js.map +1 -0
- package/models/operations/createvendorregistration.d.ts +13 -13
- package/models/operations/createvendorregistration.d.ts.map +1 -1
- package/models/operations/createvendorregistration.js +18 -16
- package/models/operations/createvendorregistration.js.map +1 -1
- package/models/operations/expeditetimeremaining.d.ts +60 -0
- package/models/operations/expeditetimeremaining.d.ts.map +1 -0
- package/models/operations/expeditetimeremaining.js +113 -0
- package/models/operations/expeditetimeremaining.js.map +1 -0
- package/models/operations/getsupportarticle.d.ts +38 -0
- package/models/operations/getsupportarticle.d.ts.map +1 -0
- package/models/operations/getsupportarticle.js +72 -0
- package/models/operations/getsupportarticle.js.map +1 -0
- package/models/operations/index.d.ts +5 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +5 -0
- package/models/operations/index.js.map +1 -1
- package/models/operations/listorsearchfacilities.d.ts +40 -15
- package/models/operations/listorsearchfacilities.d.ts.map +1 -1
- package/models/operations/listorsearchfacilities.js +55 -18
- package/models/operations/listorsearchfacilities.js.map +1 -1
- package/models/operations/listorsearchsupportarticles.d.ts +106 -0
- package/models/operations/listorsearchsupportarticles.d.ts.map +1 -0
- package/models/operations/listorsearchsupportarticles.js +149 -0
- package/models/operations/listorsearchsupportarticles.js.map +1 -0
- package/models/operations/listvendorcredentials.d.ts +122 -0
- package/models/operations/listvendorcredentials.d.ts.map +1 -0
- package/models/operations/listvendorcredentials.js +169 -0
- package/models/operations/listvendorcredentials.js.map +1 -0
- package/models/operations/listvendorinvoices.d.ts +116 -0
- package/models/operations/listvendorinvoices.d.ts.map +1 -0
- package/models/operations/listvendorinvoices.js +155 -0
- package/models/operations/listvendorinvoices.js.map +1 -0
- package/models/operations/listvendorjobtitles.d.ts +38 -13
- package/models/operations/listvendorjobtitles.d.ts.map +1 -1
- package/models/operations/listvendorjobtitles.js +51 -16
- package/models/operations/listvendorjobtitles.js.map +1 -1
- package/models/operations/magiclink.d.ts +13 -13
- package/models/operations/magiclink.d.ts.map +1 -1
- package/models/operations/magiclink.js +16 -16
- package/models/operations/magiclink.js.map +1 -1
- package/models/operations/password.d.ts +13 -13
- package/models/operations/password.d.ts.map +1 -1
- package/models/operations/password.js +16 -16
- package/models/operations/password.js.map +1 -1
- package/models/operations/passwordresetrequest.d.ts +13 -13
- package/models/operations/passwordresetrequest.d.ts.map +1 -1
- package/models/operations/passwordresetrequest.js +16 -16
- package/models/operations/passwordresetrequest.js.map +1 -1
- package/package.json +1 -1
- package/react-query/index.d.ts +11 -6
- package/react-query/index.d.ts.map +1 -1
- package/react-query/index.js +11 -6
- package/react-query/index.js.map +1 -1
- package/react-query/organizationsListOrSearchFacilities.d.ts +57 -6
- package/react-query/organizationsListOrSearchFacilities.d.ts.map +1 -1
- package/react-query/organizationsListOrSearchFacilities.js +90 -1
- package/react-query/organizationsListOrSearchFacilities.js.map +1 -1
- package/react-query/supportArticlesGetSupportArticle.d.ts +57 -0
- package/react-query/supportArticlesGetSupportArticle.d.ts.map +1 -0
- package/react-query/supportArticlesGetSupportArticle.js +113 -0
- package/react-query/supportArticlesGetSupportArticle.js.map +1 -0
- package/react-query/supportArticlesListOrSearchSupportArticles.d.ts +75 -0
- package/react-query/supportArticlesListOrSearchSupportArticles.d.ts.map +1 -0
- package/react-query/supportArticlesListOrSearchSupportArticles.js +159 -0
- package/react-query/supportArticlesListOrSearchSupportArticles.js.map +1 -0
- package/react-query/usersGetCurrentUser.d.ts +29 -0
- package/react-query/usersGetCurrentUser.d.ts.map +1 -0
- package/react-query/usersGetCurrentUser.js +75 -0
- package/react-query/usersGetCurrentUser.js.map +1 -0
- package/react-query/usersGetUserById.d.ts +31 -0
- package/react-query/usersGetUserById.d.ts.map +1 -0
- package/react-query/usersGetUserById.js +87 -0
- package/react-query/usersGetUserById.js.map +1 -0
- package/react-query/{userLogsUserIntoTheSystem.d.ts → usersLogsUserIntoTheSystem.d.ts} +7 -7
- package/react-query/usersLogsUserIntoTheSystem.d.ts.map +1 -0
- package/react-query/{userLogsUserIntoTheSystem.js → usersLogsUserIntoTheSystem.js} +13 -13
- package/react-query/usersLogsUserIntoTheSystem.js.map +1 -0
- package/react-query/usersMagiclink.d.ts +23 -0
- package/react-query/usersMagiclink.d.ts.map +1 -0
- package/react-query/{userMagiclink.js → usersMagiclink.js} +13 -13
- package/react-query/usersMagiclink.js.map +1 -0
- package/react-query/usersPassword.d.ts +24 -0
- package/react-query/usersPassword.d.ts.map +1 -0
- package/react-query/{userPassword.js → usersPassword.js} +13 -13
- package/react-query/usersPassword.js.map +1 -0
- package/react-query/usersPasswordResetRequest.d.ts +23 -0
- package/react-query/usersPasswordResetRequest.d.ts.map +1 -0
- package/react-query/{userPasswordResetRequest.js → usersPasswordResetRequest.js} +13 -13
- package/react-query/usersPasswordResetRequest.js.map +1 -0
- package/react-query/vendorsCreateVendorRegistration.d.ts +1 -1
- package/react-query/vendorsCreateVendorRegistration.d.ts.map +1 -1
- package/react-query/vendorsExpediteTimeRemaining.d.ts +30 -0
- package/react-query/vendorsExpediteTimeRemaining.d.ts.map +1 -0
- package/react-query/vendorsExpediteTimeRemaining.js +96 -0
- package/react-query/vendorsExpediteTimeRemaining.js.map +1 -0
- package/react-query/vendorsListVendorCredentials.d.ts +55 -0
- package/react-query/vendorsListVendorCredentials.d.ts.map +1 -0
- package/react-query/vendorsListVendorCredentials.js +103 -0
- package/react-query/vendorsListVendorCredentials.js.map +1 -0
- package/react-query/vendorsListVendorInvoices.d.ts +96 -0
- package/react-query/vendorsListVendorInvoices.d.ts.map +1 -0
- package/react-query/vendorsListVendorInvoices.js +178 -0
- package/react-query/vendorsListVendorInvoices.js.map +1 -0
- package/react-query/vendorsListVendorJobTitles.d.ts +28 -3
- package/react-query/vendorsListVendorJobTitles.d.ts.map +1 -1
- package/react-query/vendorsListVendorJobTitles.js +59 -0
- package/react-query/vendorsListVendorJobTitles.js.map +1 -1
- package/sdk/organizations.d.ts +4 -1
- package/sdk/organizations.d.ts.map +1 -1
- package/sdk/organizations.js +2 -1
- package/sdk/organizations.js.map +1 -1
- package/sdk/sdk.d.ts +6 -3
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +7 -3
- package/sdk/sdk.js.map +1 -1
- package/sdk/supportarticles.d.ts +30 -0
- package/sdk/supportarticles.d.ts.map +1 -0
- package/sdk/supportarticles.js +40 -0
- package/sdk/supportarticles.js.map +1 -0
- package/sdk/{user.d.ts → users.d.ts} +5 -5
- package/sdk/users.d.ts.map +1 -0
- package/sdk/{user.js → users.js} +16 -16
- package/sdk/users.js.map +1 -0
- package/sdk/vendors.d.ts +32 -2
- package/sdk/vendors.d.ts.map +1 -1
- package/sdk/vendors.js +36 -1
- package/sdk/vendors.js.map +1 -1
- package/src/__tests__/organizations.test.ts +5 -175
- package/src/__tests__/supportarticles.test.ts +64 -0
- package/src/__tests__/user.test.ts +13 -7
- package/src/__tests__/vendors.test.ts +65 -2
- package/src/funcs/organizationsListOrSearchFacilities.ts +116 -39
- package/src/funcs/supportArticlesGetSupportArticle.ts +181 -0
- package/src/funcs/supportArticlesListOrSearchSupportArticles.ts +234 -0
- package/src/funcs/{userGetCurrentUser.ts → usersGetCurrentUser.ts} +1 -1
- package/src/funcs/{userGetUserById.ts → usersGetUserById.ts} +1 -1
- package/src/funcs/{userLogsUserIntoTheSystem.ts → usersLogsUserIntoTheSystem.ts} +1 -1
- package/src/funcs/{userMagiclink.ts → usersMagiclink.ts} +5 -5
- package/src/funcs/{userPassword.ts → usersPassword.ts} +5 -5
- package/src/funcs/{userPasswordResetRequest.ts → usersPasswordResetRequest.ts} +8 -5
- package/src/funcs/vendorsCreateVendorRegistration.ts +8 -4
- package/src/funcs/vendorsExpediteTimeRemaining.ts +171 -0
- package/src/funcs/vendorsListVendorCredentials.ts +169 -0
- package/src/funcs/vendorsListVendorInvoices.ts +255 -0
- package/src/funcs/vendorsListVendorJobTitles.ts +101 -30
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +23 -13
- package/src/mcp-server/tools/organizationsListOrSearchFacilities.ts +1 -1
- package/src/mcp-server/tools/supportArticlesGetSupportArticle.ts +46 -0
- package/src/mcp-server/tools/supportArticlesListOrSearchSupportArticles.ts +39 -0
- package/src/mcp-server/tools/{userGetCurrentUser.ts → usersGetCurrentUser.ts} +4 -4
- package/src/mcp-server/tools/{userGetUserById.ts → usersGetUserById.ts} +4 -4
- package/src/mcp-server/tools/{userLogsUserIntoTheSystem.ts → usersLogsUserIntoTheSystem.ts} +4 -4
- package/src/mcp-server/tools/{userMagiclink.ts → usersMagiclink.ts} +4 -4
- package/src/mcp-server/tools/{userPassword.ts → usersPassword.ts} +4 -4
- package/src/mcp-server/tools/{userPasswordResetRequest.ts → usersPasswordResetRequest.ts} +4 -4
- package/src/mcp-server/tools/vendorsExpediteTimeRemaining.ts +37 -0
- package/src/mcp-server/tools/vendorsListVendorCredentials.ts +37 -0
- package/src/mcp-server/tools/vendorsListVendorInvoices.ts +41 -0
- package/src/mcp-server/tools/vendorsListVendorJobTitles.ts +1 -1
- package/src/models/components/activestatus.ts +38 -0
- package/src/models/components/contact.ts +14 -16
- package/src/models/components/credentialstatus.ts +44 -0
- package/src/models/components/expand.ts +5 -0
- package/src/models/components/index.ts +7 -1
- package/src/models/components/invoice.ts +99 -0
- package/src/models/components/invoiceitem.ts +98 -0
- package/src/models/components/supportarticle.ts +99 -0
- package/src/models/components/vendorcredentialslim.ts +106 -0
- package/src/models/components/vendorrequiredcredential.ts +106 -0
- package/src/models/operations/createvendorregistration.ts +39 -32
- package/src/models/operations/expeditetimeremaining.ts +152 -0
- package/src/models/operations/getsupportarticle.ts +77 -0
- package/src/models/operations/index.ts +5 -0
- package/src/models/operations/listorsearchfacilities.ts +118 -34
- package/src/models/operations/listorsearchsupportarticles.ts +261 -0
- package/src/models/operations/listvendorcredentials.ts +281 -0
- package/src/models/operations/listvendorinvoices.ts +252 -0
- package/src/models/operations/listvendorjobtitles.ts +99 -22
- package/src/models/operations/magiclink.ts +21 -21
- package/src/models/operations/password.ts +21 -21
- package/src/models/operations/passwordresetrequest.ts +39 -31
- package/src/react-query/index.ts +11 -6
- package/src/react-query/organizationsListOrSearchFacilities.ts +183 -5
- package/src/react-query/supportArticlesGetSupportArticle.ts +192 -0
- package/src/react-query/supportArticlesListOrSearchSupportArticles.ts +349 -0
- package/src/react-query/{userGetCurrentUser.ts → usersGetCurrentUser.ts} +27 -27
- package/src/react-query/{userGetUserById.ts → usersGetUserById.ts} +31 -29
- package/src/react-query/{userLogsUserIntoTheSystem.ts → usersLogsUserIntoTheSystem.ts} +18 -18
- package/src/react-query/{userMagiclink.ts → usersMagiclink.ts} +18 -18
- package/src/react-query/{userPassword.ts → usersPassword.ts} +18 -18
- package/src/react-query/{userPasswordResetRequest.ts → usersPasswordResetRequest.ts} +19 -19
- package/src/react-query/vendorsCreateVendorRegistration.ts +1 -1
- package/src/react-query/vendorsExpediteTimeRemaining.ts +165 -0
- package/src/react-query/vendorsListVendorCredentials.ts +200 -0
- package/src/react-query/vendorsListVendorInvoices.ts +364 -0
- package/src/react-query/vendorsListVendorJobTitles.ts +149 -1
- package/src/sdk/organizations.ts +5 -2
- package/src/sdk/sdk.ts +10 -4
- package/src/sdk/supportarticles.ts +59 -0
- package/src/sdk/{user.ts → users.ts} +16 -16
- package/src/sdk/vendors.ts +68 -3
- package/funcs/userGetCurrentUser.d.ts.map +0 -1
- package/funcs/userGetCurrentUser.js.map +0 -1
- package/funcs/userGetUserById.d.ts.map +0 -1
- package/funcs/userGetUserById.js.map +0 -1
- package/funcs/userLogsUserIntoTheSystem.d.ts.map +0 -1
- package/funcs/userLogsUserIntoTheSystem.js.map +0 -1
- package/funcs/userMagiclink.d.ts.map +0 -1
- package/funcs/userMagiclink.js.map +0 -1
- package/funcs/userPassword.d.ts.map +0 -1
- package/funcs/userPassword.js.map +0 -1
- package/funcs/userPasswordResetRequest.d.ts.map +0 -1
- package/funcs/userPasswordResetRequest.js.map +0 -1
- package/models/components/status.d.ts.map +0 -1
- package/models/components/status.js.map +0 -1
- package/react-query/userGetCurrentUser.d.ts +0 -29
- package/react-query/userGetCurrentUser.d.ts.map +0 -1
- package/react-query/userGetCurrentUser.js +0 -75
- package/react-query/userGetCurrentUser.js.map +0 -1
- package/react-query/userGetUserById.d.ts +0 -31
- package/react-query/userGetUserById.d.ts.map +0 -1
- package/react-query/userGetUserById.js +0 -87
- package/react-query/userGetUserById.js.map +0 -1
- package/react-query/userLogsUserIntoTheSystem.d.ts.map +0 -1
- package/react-query/userLogsUserIntoTheSystem.js.map +0 -1
- package/react-query/userMagiclink.d.ts +0 -23
- package/react-query/userMagiclink.d.ts.map +0 -1
- package/react-query/userMagiclink.js.map +0 -1
- package/react-query/userPassword.d.ts +0 -24
- package/react-query/userPassword.d.ts.map +0 -1
- package/react-query/userPassword.js.map +0 -1
- package/react-query/userPasswordResetRequest.d.ts +0 -23
- package/react-query/userPasswordResetRequest.d.ts.map +0 -1
- package/react-query/userPasswordResetRequest.js.map +0 -1
- package/sdk/user.d.ts.map +0 -1
- package/sdk/user.js.map +0 -1
- package/src/models/components/status.ts +0 -38
package/bin/mcp-server.js
CHANGED
|
@@ -34172,9 +34172,9 @@ var init_config = __esm(() => {
|
|
|
34172
34172
|
SDK_METADATA = {
|
|
34173
34173
|
language: "typescript",
|
|
34174
34174
|
openapiDocVersion: "0.0.3",
|
|
34175
|
-
sdkVersion: "0.
|
|
34176
|
-
genVersion: "2.
|
|
34177
|
-
userAgent: "speakeasy-sdk/typescript 0.
|
|
34175
|
+
sdkVersion: "0.17.0",
|
|
34176
|
+
genVersion: "2.541.0",
|
|
34177
|
+
userAgent: "speakeasy-sdk/typescript 0.17.0 2.541.0 0.0.3 @greensecurity/javascript-sdk"
|
|
34178
34178
|
};
|
|
34179
34179
|
});
|
|
34180
34180
|
|
|
@@ -35493,6 +35493,23 @@ var init_security = __esm(() => {
|
|
|
35493
35493
|
};
|
|
35494
35494
|
});
|
|
35495
35495
|
|
|
35496
|
+
// src/models/components/activestatus.ts
|
|
35497
|
+
var ActiveStatus, ActiveStatus$inboundSchema, ActiveStatus$outboundSchema, ActiveStatus$;
|
|
35498
|
+
var init_activestatus = __esm(() => {
|
|
35499
|
+
init_lib();
|
|
35500
|
+
ActiveStatus = {
|
|
35501
|
+
Active: "Active",
|
|
35502
|
+
Inactive: "Inactive",
|
|
35503
|
+
Deleted: "Deleted"
|
|
35504
|
+
};
|
|
35505
|
+
ActiveStatus$inboundSchema = nativeEnumType(ActiveStatus);
|
|
35506
|
+
ActiveStatus$outboundSchema = ActiveStatus$inboundSchema;
|
|
35507
|
+
((ActiveStatus$) => {
|
|
35508
|
+
ActiveStatus$.inboundSchema = ActiveStatus$inboundSchema;
|
|
35509
|
+
ActiveStatus$.outboundSchema = ActiveStatus$outboundSchema;
|
|
35510
|
+
})(ActiveStatus$ ||= {});
|
|
35511
|
+
});
|
|
35512
|
+
|
|
35496
35513
|
// src/types/rfcdate.ts
|
|
35497
35514
|
class RFCDate {
|
|
35498
35515
|
serialized;
|
|
@@ -35723,13 +35740,13 @@ var init_systemsummary = __esm(() => {
|
|
|
35723
35740
|
});
|
|
35724
35741
|
|
|
35725
35742
|
// src/models/components/contact.ts
|
|
35726
|
-
var
|
|
35743
|
+
var Status, ContactFacility$inboundSchema, ContactFacility$outboundSchema, ContactFacility$, System$inboundSchema, System$outboundSchema, System$, Status$inboundSchema, Status$outboundSchema, Status$, Department$inboundSchema, Department$outboundSchema, Department$, Contact$inboundSchema, Contact$outboundSchema, Contact$;
|
|
35727
35744
|
var init_contact = __esm(() => {
|
|
35728
35745
|
init_lib();
|
|
35729
35746
|
init_departmentsummary();
|
|
35730
35747
|
init_facilitysummary();
|
|
35731
35748
|
init_systemsummary();
|
|
35732
|
-
|
|
35749
|
+
Status = {
|
|
35733
35750
|
Active: "Active",
|
|
35734
35751
|
Inactive: "Inactive",
|
|
35735
35752
|
Deleted: "Deleted"
|
|
@@ -35746,12 +35763,12 @@ var init_contact = __esm(() => {
|
|
|
35746
35763
|
System$.inboundSchema = System$inboundSchema;
|
|
35747
35764
|
System$.outboundSchema = System$outboundSchema;
|
|
35748
35765
|
})(System$ ||= {});
|
|
35749
|
-
|
|
35750
|
-
|
|
35751
|
-
((
|
|
35752
|
-
|
|
35753
|
-
|
|
35754
|
-
})(
|
|
35766
|
+
Status$inboundSchema = nativeEnumType(Status);
|
|
35767
|
+
Status$outboundSchema = Status$inboundSchema;
|
|
35768
|
+
((Status$) => {
|
|
35769
|
+
Status$.inboundSchema = Status$inboundSchema;
|
|
35770
|
+
Status$.outboundSchema = Status$outboundSchema;
|
|
35771
|
+
})(Status$ ||= {});
|
|
35755
35772
|
Department$inboundSchema = unionType([DepartmentSummary$inboundSchema, numberType().int()]);
|
|
35756
35773
|
Department$outboundSchema = unionType([DepartmentSummary$outboundSchema, numberType().int()]);
|
|
35757
35774
|
((Department$) => {
|
|
@@ -35761,14 +35778,14 @@ var init_contact = __esm(() => {
|
|
|
35761
35778
|
Contact$inboundSchema = objectType({
|
|
35762
35779
|
facility: unionType([FacilitySummary$inboundSchema, numberType().int()]).optional(),
|
|
35763
35780
|
system: unionType([SystemSummary$inboundSchema, numberType().int()]).optional(),
|
|
35764
|
-
status:
|
|
35781
|
+
status: Status$inboundSchema,
|
|
35765
35782
|
position: nullableType(stringType()).optional(),
|
|
35766
35783
|
department: nullableType(unionType([DepartmentSummary$inboundSchema, numberType().int()])).optional()
|
|
35767
35784
|
});
|
|
35768
35785
|
Contact$outboundSchema = objectType({
|
|
35769
35786
|
facility: unionType([FacilitySummary$outboundSchema, numberType().int()]).optional(),
|
|
35770
35787
|
system: unionType([SystemSummary$outboundSchema, numberType().int()]).optional(),
|
|
35771
|
-
status:
|
|
35788
|
+
status: Status$outboundSchema,
|
|
35772
35789
|
position: nullableType(stringType()).optional(),
|
|
35773
35790
|
department: nullableType(unionType([DepartmentSummary$outboundSchema, numberType().int()])).optional()
|
|
35774
35791
|
});
|
|
@@ -35778,6 +35795,27 @@ var init_contact = __esm(() => {
|
|
|
35778
35795
|
})(Contact$ ||= {});
|
|
35779
35796
|
});
|
|
35780
35797
|
|
|
35798
|
+
// src/models/components/credentialstatus.ts
|
|
35799
|
+
var CredentialStatus, CredentialStatus$inboundSchema, CredentialStatus$outboundSchema, CredentialStatus$;
|
|
35800
|
+
var init_credentialstatus = __esm(() => {
|
|
35801
|
+
init_lib();
|
|
35802
|
+
CredentialStatus = {
|
|
35803
|
+
PendingApproval: "Pending Approval",
|
|
35804
|
+
PendingVendor: "Pending Vendor",
|
|
35805
|
+
Declined: "Declined",
|
|
35806
|
+
Expired: "Expired",
|
|
35807
|
+
Suspended: "Suspended",
|
|
35808
|
+
Denied: "Denied",
|
|
35809
|
+
Approved: "Approved"
|
|
35810
|
+
};
|
|
35811
|
+
CredentialStatus$inboundSchema = nativeEnumType(CredentialStatus);
|
|
35812
|
+
CredentialStatus$outboundSchema = CredentialStatus$inboundSchema;
|
|
35813
|
+
((CredentialStatus$) => {
|
|
35814
|
+
CredentialStatus$.inboundSchema = CredentialStatus$inboundSchema;
|
|
35815
|
+
CredentialStatus$.outboundSchema = CredentialStatus$outboundSchema;
|
|
35816
|
+
})(CredentialStatus$ ||= {});
|
|
35817
|
+
});
|
|
35818
|
+
|
|
35781
35819
|
// src/models/components/desc.ts
|
|
35782
35820
|
var Desc$inboundSchema, Desc$outboundSchema, Desc$;
|
|
35783
35821
|
var init_desc = __esm(() => {
|
|
@@ -35811,7 +35849,12 @@ var init_expand = __esm(() => {
|
|
|
35811
35849
|
FacilityWorkflow: "facility.workflow",
|
|
35812
35850
|
VendorUser: "vendor.user",
|
|
35813
35851
|
VendorVendorType: "vendor.vendor_type",
|
|
35814
|
-
VendorPaymentProfile: "vendor.payment_profile"
|
|
35852
|
+
VendorPaymentProfile: "vendor.payment_profile",
|
|
35853
|
+
SupportArticleDescription: "support_article.description",
|
|
35854
|
+
SupportArticlePublished: "support_article.published",
|
|
35855
|
+
SupportArticleNotes: "support_article.notes",
|
|
35856
|
+
SupportArticleSupportCategory: "support_article.support_category",
|
|
35857
|
+
InvoiceLineItems: "invoice.line_items"
|
|
35815
35858
|
};
|
|
35816
35859
|
Expand$inboundSchema = nativeEnumType(Expand);
|
|
35817
35860
|
Expand$outboundSchema = Expand$inboundSchema;
|
|
@@ -36398,6 +36441,85 @@ var init_facility = __esm(() => {
|
|
|
36398
36441
|
})(Facility$ ||= {});
|
|
36399
36442
|
});
|
|
36400
36443
|
|
|
36444
|
+
// src/models/components/invoiceitem.ts
|
|
36445
|
+
var InvoiceItem$inboundSchema, InvoiceItem$outboundSchema, InvoiceItem$;
|
|
36446
|
+
var init_invoiceitem = __esm(() => {
|
|
36447
|
+
init_lib();
|
|
36448
|
+
init_primitives();
|
|
36449
|
+
InvoiceItem$inboundSchema = objectType({
|
|
36450
|
+
item_id: numberType().int().optional(),
|
|
36451
|
+
date_starts: nullableType(stringType()).optional(),
|
|
36452
|
+
date_ends: nullableType(stringType()).optional(),
|
|
36453
|
+
is_subscription: nullableType(booleanType()).optional(),
|
|
36454
|
+
product_title: nullableType(stringType()).optional()
|
|
36455
|
+
}).transform((v2) => {
|
|
36456
|
+
return remap(v2, {
|
|
36457
|
+
item_id: "itemId",
|
|
36458
|
+
date_starts: "dateStarts",
|
|
36459
|
+
date_ends: "dateEnds",
|
|
36460
|
+
is_subscription: "isSubscription",
|
|
36461
|
+
product_title: "productTitle"
|
|
36462
|
+
});
|
|
36463
|
+
});
|
|
36464
|
+
InvoiceItem$outboundSchema = objectType({
|
|
36465
|
+
itemId: numberType().int().optional(),
|
|
36466
|
+
dateStarts: nullableType(stringType()).optional(),
|
|
36467
|
+
dateEnds: nullableType(stringType()).optional(),
|
|
36468
|
+
isSubscription: nullableType(booleanType()).optional(),
|
|
36469
|
+
productTitle: nullableType(stringType()).optional()
|
|
36470
|
+
}).transform((v2) => {
|
|
36471
|
+
return remap(v2, {
|
|
36472
|
+
itemId: "item_id",
|
|
36473
|
+
dateStarts: "date_starts",
|
|
36474
|
+
dateEnds: "date_ends",
|
|
36475
|
+
isSubscription: "is_subscription",
|
|
36476
|
+
productTitle: "product_title"
|
|
36477
|
+
});
|
|
36478
|
+
});
|
|
36479
|
+
((InvoiceItem$) => {
|
|
36480
|
+
InvoiceItem$.inboundSchema = InvoiceItem$inboundSchema;
|
|
36481
|
+
InvoiceItem$.outboundSchema = InvoiceItem$outboundSchema;
|
|
36482
|
+
})(InvoiceItem$ ||= {});
|
|
36483
|
+
});
|
|
36484
|
+
|
|
36485
|
+
// src/models/components/invoice.ts
|
|
36486
|
+
var Invoice$inboundSchema, Invoice$outboundSchema, Invoice$;
|
|
36487
|
+
var init_invoice = __esm(() => {
|
|
36488
|
+
init_lib();
|
|
36489
|
+
init_primitives();
|
|
36490
|
+
init_invoiceitem();
|
|
36491
|
+
Invoice$inboundSchema = objectType({
|
|
36492
|
+
id: numberType().int(),
|
|
36493
|
+
invoice_number: nullableType(stringType()).optional(),
|
|
36494
|
+
amount: nullableType(numberType().int()).optional(),
|
|
36495
|
+
status: nullableType(stringType()).optional(),
|
|
36496
|
+
financial_status: nullableType(stringType()).optional(),
|
|
36497
|
+
items: arrayType(InvoiceItem$inboundSchema).optional()
|
|
36498
|
+
}).transform((v2) => {
|
|
36499
|
+
return remap(v2, {
|
|
36500
|
+
invoice_number: "invoiceNumber",
|
|
36501
|
+
financial_status: "financialStatus"
|
|
36502
|
+
});
|
|
36503
|
+
});
|
|
36504
|
+
Invoice$outboundSchema = objectType({
|
|
36505
|
+
id: numberType().int(),
|
|
36506
|
+
invoiceNumber: nullableType(stringType()).optional(),
|
|
36507
|
+
amount: nullableType(numberType().int()).optional(),
|
|
36508
|
+
status: nullableType(stringType()).optional(),
|
|
36509
|
+
financialStatus: nullableType(stringType()).optional(),
|
|
36510
|
+
items: arrayType(InvoiceItem$outboundSchema).optional()
|
|
36511
|
+
}).transform((v2) => {
|
|
36512
|
+
return remap(v2, {
|
|
36513
|
+
invoiceNumber: "invoice_number",
|
|
36514
|
+
financialStatus: "financial_status"
|
|
36515
|
+
});
|
|
36516
|
+
});
|
|
36517
|
+
((Invoice$) => {
|
|
36518
|
+
Invoice$.inboundSchema = Invoice$inboundSchema;
|
|
36519
|
+
Invoice$.outboundSchema = Invoice$outboundSchema;
|
|
36520
|
+
})(Invoice$ ||= {});
|
|
36521
|
+
});
|
|
36522
|
+
|
|
36401
36523
|
// src/models/components/loginemailandpassword.ts
|
|
36402
36524
|
var LoginEmailAndPassword$inboundSchema, LoginEmailAndPassword$outboundSchema, LoginEmailAndPassword$;
|
|
36403
36525
|
var init_loginemailandpassword = __esm(() => {
|
|
@@ -36651,21 +36773,43 @@ var init_security2 = __esm(() => {
|
|
|
36651
36773
|
})(Security$ ||= {});
|
|
36652
36774
|
});
|
|
36653
36775
|
|
|
36654
|
-
// src/models/components/
|
|
36655
|
-
var
|
|
36656
|
-
var
|
|
36776
|
+
// src/models/components/supportarticle.ts
|
|
36777
|
+
var SupportArticle$inboundSchema, SupportArticle$outboundSchema, SupportArticle$;
|
|
36778
|
+
var init_supportarticle = __esm(() => {
|
|
36657
36779
|
init_lib();
|
|
36658
|
-
|
|
36659
|
-
|
|
36660
|
-
|
|
36661
|
-
|
|
36662
|
-
|
|
36663
|
-
|
|
36664
|
-
|
|
36665
|
-
|
|
36666
|
-
|
|
36667
|
-
|
|
36668
|
-
})(
|
|
36780
|
+
init_primitives();
|
|
36781
|
+
SupportArticle$inboundSchema = objectType({
|
|
36782
|
+
id: numberType().int(),
|
|
36783
|
+
title: nullableType(stringType()),
|
|
36784
|
+
description: nullableType(stringType()).optional(),
|
|
36785
|
+
content: nullableType(stringType()).optional(),
|
|
36786
|
+
published: nullableType(booleanType()).optional(),
|
|
36787
|
+
notes: nullableType(stringType()).optional(),
|
|
36788
|
+
video_url: nullableType(stringType()).optional(),
|
|
36789
|
+
category: nullableType(stringType()).optional()
|
|
36790
|
+
}).transform((v2) => {
|
|
36791
|
+
return remap(v2, {
|
|
36792
|
+
video_url: "videoUrl"
|
|
36793
|
+
});
|
|
36794
|
+
});
|
|
36795
|
+
SupportArticle$outboundSchema = objectType({
|
|
36796
|
+
id: numberType().int(),
|
|
36797
|
+
title: nullableType(stringType()),
|
|
36798
|
+
description: nullableType(stringType()).optional(),
|
|
36799
|
+
content: nullableType(stringType()).optional(),
|
|
36800
|
+
published: nullableType(booleanType()).optional(),
|
|
36801
|
+
notes: nullableType(stringType()).optional(),
|
|
36802
|
+
videoUrl: nullableType(stringType()).optional(),
|
|
36803
|
+
category: nullableType(stringType()).optional()
|
|
36804
|
+
}).transform((v2) => {
|
|
36805
|
+
return remap(v2, {
|
|
36806
|
+
videoUrl: "video_url"
|
|
36807
|
+
});
|
|
36808
|
+
});
|
|
36809
|
+
((SupportArticle$) => {
|
|
36810
|
+
SupportArticle$.inboundSchema = SupportArticle$inboundSchema;
|
|
36811
|
+
SupportArticle$.outboundSchema = SupportArticle$outboundSchema;
|
|
36812
|
+
})(SupportArticle$ ||= {});
|
|
36669
36813
|
});
|
|
36670
36814
|
|
|
36671
36815
|
// src/models/components/user.ts
|
|
@@ -36811,6 +36955,47 @@ var init_user = __esm(() => {
|
|
|
36811
36955
|
})(User$ ||= {});
|
|
36812
36956
|
});
|
|
36813
36957
|
|
|
36958
|
+
// src/models/components/vendorcredentialslim.ts
|
|
36959
|
+
var VendorCredentialSlim$inboundSchema, VendorCredentialSlim$outboundSchema, VendorCredentialSlim$;
|
|
36960
|
+
var init_vendorcredentialslim = __esm(() => {
|
|
36961
|
+
init_lib();
|
|
36962
|
+
init_primitives();
|
|
36963
|
+
VendorCredentialSlim$inboundSchema = objectType({
|
|
36964
|
+
id: numberType().int(),
|
|
36965
|
+
status: stringType(),
|
|
36966
|
+
company_id: numberType().int(),
|
|
36967
|
+
date_due: stringType(),
|
|
36968
|
+
date_expires: stringType(),
|
|
36969
|
+
notes: stringType(),
|
|
36970
|
+
expedited: booleanType()
|
|
36971
|
+
}).transform((v2) => {
|
|
36972
|
+
return remap(v2, {
|
|
36973
|
+
company_id: "companyId",
|
|
36974
|
+
date_due: "dateDue",
|
|
36975
|
+
date_expires: "dateExpires"
|
|
36976
|
+
});
|
|
36977
|
+
});
|
|
36978
|
+
VendorCredentialSlim$outboundSchema = objectType({
|
|
36979
|
+
id: numberType().int(),
|
|
36980
|
+
status: stringType(),
|
|
36981
|
+
companyId: numberType().int(),
|
|
36982
|
+
dateDue: stringType(),
|
|
36983
|
+
dateExpires: stringType(),
|
|
36984
|
+
notes: stringType(),
|
|
36985
|
+
expedited: booleanType()
|
|
36986
|
+
}).transform((v2) => {
|
|
36987
|
+
return remap(v2, {
|
|
36988
|
+
companyId: "company_id",
|
|
36989
|
+
dateDue: "date_due",
|
|
36990
|
+
dateExpires: "date_expires"
|
|
36991
|
+
});
|
|
36992
|
+
});
|
|
36993
|
+
((VendorCredentialSlim$) => {
|
|
36994
|
+
VendorCredentialSlim$.inboundSchema = VendorCredentialSlim$inboundSchema;
|
|
36995
|
+
VendorCredentialSlim$.outboundSchema = VendorCredentialSlim$outboundSchema;
|
|
36996
|
+
})(VendorCredentialSlim$ ||= {});
|
|
36997
|
+
});
|
|
36998
|
+
|
|
36814
36999
|
// src/models/components/vendorjobtitle.ts
|
|
36815
37000
|
var VendorJobTitle$inboundSchema, VendorJobTitle$outboundSchema, VendorJobTitle$;
|
|
36816
37001
|
var init_vendorjobtitle = __esm(() => {
|
|
@@ -36829,16 +37014,63 @@ var init_vendorjobtitle = __esm(() => {
|
|
|
36829
37014
|
})(VendorJobTitle$ ||= {});
|
|
36830
37015
|
});
|
|
36831
37016
|
|
|
37017
|
+
// src/models/components/vendorrequiredcredential.ts
|
|
37018
|
+
var VendorRequiredCredential$inboundSchema, VendorRequiredCredential$outboundSchema, VendorRequiredCredential$;
|
|
37019
|
+
var init_vendorrequiredcredential = __esm(() => {
|
|
37020
|
+
init_lib();
|
|
37021
|
+
init_primitives();
|
|
37022
|
+
VendorRequiredCredential$inboundSchema = objectType({
|
|
37023
|
+
id: numberType().int(),
|
|
37024
|
+
vendor_id: numberType().int(),
|
|
37025
|
+
facility_id: nullableType(numberType().int()).optional(),
|
|
37026
|
+
credential_ids: nullableType(stringType()),
|
|
37027
|
+
date_calculated: stringType(),
|
|
37028
|
+
company_credential_ids: nullableType(stringType())
|
|
37029
|
+
}).transform((v2) => {
|
|
37030
|
+
return remap(v2, {
|
|
37031
|
+
vendor_id: "vendorId",
|
|
37032
|
+
facility_id: "facilityId",
|
|
37033
|
+
credential_ids: "credentialIds",
|
|
37034
|
+
date_calculated: "dateCalculated",
|
|
37035
|
+
company_credential_ids: "companyCredentialIds"
|
|
37036
|
+
});
|
|
37037
|
+
});
|
|
37038
|
+
VendorRequiredCredential$outboundSchema = objectType({
|
|
37039
|
+
id: numberType().int(),
|
|
37040
|
+
vendorId: numberType().int(),
|
|
37041
|
+
facilityId: nullableType(numberType().int()).optional(),
|
|
37042
|
+
credentialIds: nullableType(stringType()),
|
|
37043
|
+
dateCalculated: stringType(),
|
|
37044
|
+
companyCredentialIds: nullableType(stringType())
|
|
37045
|
+
}).transform((v2) => {
|
|
37046
|
+
return remap(v2, {
|
|
37047
|
+
vendorId: "vendor_id",
|
|
37048
|
+
facilityId: "facility_id",
|
|
37049
|
+
credentialIds: "credential_ids",
|
|
37050
|
+
dateCalculated: "date_calculated",
|
|
37051
|
+
companyCredentialIds: "company_credential_ids"
|
|
37052
|
+
});
|
|
37053
|
+
});
|
|
37054
|
+
((VendorRequiredCredential$) => {
|
|
37055
|
+
VendorRequiredCredential$.inboundSchema = VendorRequiredCredential$inboundSchema;
|
|
37056
|
+
VendorRequiredCredential$.outboundSchema = VendorRequiredCredential$outboundSchema;
|
|
37057
|
+
})(VendorRequiredCredential$ ||= {});
|
|
37058
|
+
});
|
|
37059
|
+
|
|
36832
37060
|
// src/models/components/index.ts
|
|
36833
37061
|
var init_components = __esm(() => {
|
|
37062
|
+
init_activestatus();
|
|
36834
37063
|
init_company();
|
|
36835
37064
|
init_contact();
|
|
37065
|
+
init_credentialstatus();
|
|
36836
37066
|
init_departmentsummary();
|
|
36837
37067
|
init_desc();
|
|
36838
37068
|
init_expand();
|
|
36839
37069
|
init_facility();
|
|
36840
37070
|
init_facilitysummary();
|
|
36841
37071
|
init_imageset();
|
|
37072
|
+
init_invoice();
|
|
37073
|
+
init_invoiceitem();
|
|
36842
37074
|
init_loginemailandpassword();
|
|
36843
37075
|
init_loginrequirementsfromemail();
|
|
36844
37076
|
init_mfarequiredresponse();
|
|
@@ -36846,10 +37078,12 @@ var init_components = __esm(() => {
|
|
|
36846
37078
|
init_passwordrequiredresponse();
|
|
36847
37079
|
init_samlloginrequiredresponse();
|
|
36848
37080
|
init_security2();
|
|
36849
|
-
|
|
37081
|
+
init_supportarticle();
|
|
36850
37082
|
init_systemsummary();
|
|
36851
37083
|
init_user();
|
|
37084
|
+
init_vendorcredentialslim();
|
|
36852
37085
|
init_vendorjobtitle();
|
|
37086
|
+
init_vendorrequiredcredential();
|
|
36853
37087
|
init_vendortype();
|
|
36854
37088
|
});
|
|
36855
37089
|
|
|
@@ -36900,7 +37134,7 @@ var init_errors = __esm(() => {
|
|
|
36900
37134
|
});
|
|
36901
37135
|
|
|
36902
37136
|
// src/models/operations/createvendorregistration.ts
|
|
36903
|
-
var CreateVendorRegistrationRequestBody$inboundSchema, CreateVendorRegistrationRequestBody$outboundSchema, CreateVendorRegistrationRequestBody$, Data$inboundSchema, Data$outboundSchema, Data$,
|
|
37137
|
+
var CreateVendorRegistrationRequestBody$inboundSchema, CreateVendorRegistrationRequestBody$outboundSchema, CreateVendorRegistrationRequestBody$, Data$inboundSchema, Data$outboundSchema, Data$, CreateVendorRegistrationCreateVendorRegistrationCreated$inboundSchema, CreateVendorRegistrationCreateVendorRegistrationCreated$outboundSchema, CreateVendorRegistrationCreateVendorRegistrationCreated$;
|
|
36904
37138
|
var init_createvendorregistration = __esm(() => {
|
|
36905
37139
|
init_lib();
|
|
36906
37140
|
init_primitives();
|
|
@@ -36942,16 +37176,59 @@ var init_createvendorregistration = __esm(() => {
|
|
|
36942
37176
|
Data$.inboundSchema = Data$inboundSchema;
|
|
36943
37177
|
Data$.outboundSchema = Data$outboundSchema;
|
|
36944
37178
|
})(Data$ ||= {});
|
|
36945
|
-
|
|
37179
|
+
CreateVendorRegistrationCreateVendorRegistrationCreated$inboundSchema = objectType({
|
|
36946
37180
|
data: lazyType(() => Data$inboundSchema)
|
|
36947
37181
|
});
|
|
36948
|
-
|
|
37182
|
+
CreateVendorRegistrationCreateVendorRegistrationCreated$outboundSchema = objectType({
|
|
36949
37183
|
data: lazyType(() => Data$outboundSchema)
|
|
36950
37184
|
});
|
|
36951
|
-
((
|
|
36952
|
-
|
|
36953
|
-
|
|
36954
|
-
})(
|
|
37185
|
+
((CreateVendorRegistrationCreateVendorRegistrationCreated$) => {
|
|
37186
|
+
CreateVendorRegistrationCreateVendorRegistrationCreated$.inboundSchema = CreateVendorRegistrationCreateVendorRegistrationCreated$inboundSchema;
|
|
37187
|
+
CreateVendorRegistrationCreateVendorRegistrationCreated$.outboundSchema = CreateVendorRegistrationCreateVendorRegistrationCreated$outboundSchema;
|
|
37188
|
+
})(CreateVendorRegistrationCreateVendorRegistrationCreated$ ||= {});
|
|
37189
|
+
});
|
|
37190
|
+
|
|
37191
|
+
// src/models/operations/expeditetimeremaining.ts
|
|
37192
|
+
var ExpediteTimeRemainingRequest$inboundSchema, ExpediteTimeRemainingRequest$outboundSchema, ExpediteTimeRemainingRequest$, ExpediteTimeRemainingResponseBody$inboundSchema, ExpediteTimeRemainingResponseBody$outboundSchema, ExpediteTimeRemainingResponseBody$;
|
|
37193
|
+
var init_expeditetimeremaining = __esm(() => {
|
|
37194
|
+
init_lib();
|
|
37195
|
+
init_primitives();
|
|
37196
|
+
ExpediteTimeRemainingRequest$inboundSchema = objectType({
|
|
37197
|
+
vendor_id_or_me: stringType()
|
|
37198
|
+
}).transform((v2) => {
|
|
37199
|
+
return remap(v2, {
|
|
37200
|
+
vendor_id_or_me: "vendorIdOrMe"
|
|
37201
|
+
});
|
|
37202
|
+
});
|
|
37203
|
+
ExpediteTimeRemainingRequest$outboundSchema = objectType({
|
|
37204
|
+
vendorIdOrMe: stringType()
|
|
37205
|
+
}).transform((v2) => {
|
|
37206
|
+
return remap(v2, {
|
|
37207
|
+
vendorIdOrMe: "vendor_id_or_me"
|
|
37208
|
+
});
|
|
37209
|
+
});
|
|
37210
|
+
((ExpediteTimeRemainingRequest$) => {
|
|
37211
|
+
ExpediteTimeRemainingRequest$.inboundSchema = ExpediteTimeRemainingRequest$inboundSchema;
|
|
37212
|
+
ExpediteTimeRemainingRequest$.outboundSchema = ExpediteTimeRemainingRequest$outboundSchema;
|
|
37213
|
+
})(ExpediteTimeRemainingRequest$ ||= {});
|
|
37214
|
+
ExpediteTimeRemainingResponseBody$inboundSchema = objectType({
|
|
37215
|
+
seconds_remaining: numberType().int()
|
|
37216
|
+
}).transform((v2) => {
|
|
37217
|
+
return remap(v2, {
|
|
37218
|
+
seconds_remaining: "secondsRemaining"
|
|
37219
|
+
});
|
|
37220
|
+
});
|
|
37221
|
+
ExpediteTimeRemainingResponseBody$outboundSchema = objectType({
|
|
37222
|
+
secondsRemaining: numberType().int()
|
|
37223
|
+
}).transform((v2) => {
|
|
37224
|
+
return remap(v2, {
|
|
37225
|
+
secondsRemaining: "seconds_remaining"
|
|
37226
|
+
});
|
|
37227
|
+
});
|
|
37228
|
+
((ExpediteTimeRemainingResponseBody$) => {
|
|
37229
|
+
ExpediteTimeRemainingResponseBody$.inboundSchema = ExpediteTimeRemainingResponseBody$inboundSchema;
|
|
37230
|
+
ExpediteTimeRemainingResponseBody$.outboundSchema = ExpediteTimeRemainingResponseBody$outboundSchema;
|
|
37231
|
+
})(ExpediteTimeRemainingResponseBody$ ||= {});
|
|
36955
37232
|
});
|
|
36956
37233
|
|
|
36957
37234
|
// src/models/operations/getfacility.ts
|
|
@@ -36970,6 +37247,25 @@ var init_getfacility = __esm(() => {
|
|
|
36970
37247
|
})(GetFacilityRequest$ ||= {});
|
|
36971
37248
|
});
|
|
36972
37249
|
|
|
37250
|
+
// src/models/operations/getsupportarticle.ts
|
|
37251
|
+
var GetSupportArticleRequest$inboundSchema, GetSupportArticleRequest$outboundSchema, GetSupportArticleRequest$;
|
|
37252
|
+
var init_getsupportarticle = __esm(() => {
|
|
37253
|
+
init_lib();
|
|
37254
|
+
init_components();
|
|
37255
|
+
GetSupportArticleRequest$inboundSchema = objectType({
|
|
37256
|
+
id: numberType().int(),
|
|
37257
|
+
expand: arrayType(Expand$inboundSchema).optional()
|
|
37258
|
+
});
|
|
37259
|
+
GetSupportArticleRequest$outboundSchema = objectType({
|
|
37260
|
+
id: numberType().int(),
|
|
37261
|
+
expand: arrayType(Expand$outboundSchema).optional()
|
|
37262
|
+
});
|
|
37263
|
+
((GetSupportArticleRequest$) => {
|
|
37264
|
+
GetSupportArticleRequest$.inboundSchema = GetSupportArticleRequest$inboundSchema;
|
|
37265
|
+
GetSupportArticleRequest$.outboundSchema = GetSupportArticleRequest$outboundSchema;
|
|
37266
|
+
})(GetSupportArticleRequest$ ||= {});
|
|
37267
|
+
});
|
|
37268
|
+
|
|
36973
37269
|
// src/models/operations/getuserbyid.ts
|
|
36974
37270
|
var GetUserByIdRequest$inboundSchema, GetUserByIdRequest$outboundSchema, GetUserByIdRequest$;
|
|
36975
37271
|
var init_getuserbyid = __esm(() => {
|
|
@@ -36987,7 +37283,7 @@ var init_getuserbyid = __esm(() => {
|
|
|
36987
37283
|
});
|
|
36988
37284
|
|
|
36989
37285
|
// src/models/operations/listorsearchfacilities.ts
|
|
36990
|
-
var ListOrSearchFacilitiesRequest$inboundSchema, ListOrSearchFacilitiesRequest$outboundSchema, ListOrSearchFacilitiesRequest$,
|
|
37286
|
+
var ListOrSearchFacilitiesRequest$inboundSchema, ListOrSearchFacilitiesRequest$outboundSchema, ListOrSearchFacilitiesRequest$, ListOrSearchFacilitiesListOrSearchFacilitiesOk$inboundSchema, ListOrSearchFacilitiesListOrSearchFacilitiesOk$outboundSchema, ListOrSearchFacilitiesListOrSearchFacilitiesOk$, ListOrSearchFacilitiesResponse$inboundSchema, ListOrSearchFacilitiesResponse$outboundSchema, ListOrSearchFacilitiesResponse$;
|
|
36991
37287
|
var init_listorsearchfacilities = __esm(() => {
|
|
36992
37288
|
init_lib();
|
|
36993
37289
|
init_primitives();
|
|
@@ -37001,13 +37297,14 @@ var init_listorsearchfacilities = __esm(() => {
|
|
|
37001
37297
|
system_id: numberType().int().optional(),
|
|
37002
37298
|
name_like: stringType().optional(),
|
|
37003
37299
|
state_like: stringType().optional(),
|
|
37004
|
-
|
|
37300
|
+
active_status: ActiveStatus$inboundSchema.default("Active")
|
|
37005
37301
|
}).transform((v2) => {
|
|
37006
37302
|
return remap(v2, {
|
|
37007
37303
|
items_per_page: "itemsPerPage",
|
|
37008
37304
|
system_id: "systemId",
|
|
37009
37305
|
name_like: "nameLike",
|
|
37010
|
-
state_like: "stateLike"
|
|
37306
|
+
state_like: "stateLike",
|
|
37307
|
+
active_status: "activeStatus"
|
|
37011
37308
|
});
|
|
37012
37309
|
});
|
|
37013
37310
|
ListOrSearchFacilitiesRequest$outboundSchema = objectType({
|
|
@@ -37019,35 +37316,266 @@ var init_listorsearchfacilities = __esm(() => {
|
|
|
37019
37316
|
systemId: numberType().int().optional(),
|
|
37020
37317
|
nameLike: stringType().optional(),
|
|
37021
37318
|
stateLike: stringType().optional(),
|
|
37022
|
-
|
|
37319
|
+
activeStatus: ActiveStatus$outboundSchema.default("Active")
|
|
37023
37320
|
}).transform((v2) => {
|
|
37024
37321
|
return remap(v2, {
|
|
37025
37322
|
itemsPerPage: "items_per_page",
|
|
37026
37323
|
systemId: "system_id",
|
|
37027
37324
|
nameLike: "name_like",
|
|
37028
|
-
stateLike: "state_like"
|
|
37325
|
+
stateLike: "state_like",
|
|
37326
|
+
activeStatus: "active_status"
|
|
37029
37327
|
});
|
|
37030
37328
|
});
|
|
37031
37329
|
((ListOrSearchFacilitiesRequest$) => {
|
|
37032
37330
|
ListOrSearchFacilitiesRequest$.inboundSchema = ListOrSearchFacilitiesRequest$inboundSchema;
|
|
37033
37331
|
ListOrSearchFacilitiesRequest$.outboundSchema = ListOrSearchFacilitiesRequest$outboundSchema;
|
|
37034
37332
|
})(ListOrSearchFacilitiesRequest$ ||= {});
|
|
37035
|
-
|
|
37333
|
+
ListOrSearchFacilitiesListOrSearchFacilitiesOk$inboundSchema = objectType({
|
|
37036
37334
|
pager: Pager$inboundSchema,
|
|
37037
37335
|
items: arrayType(Facility$inboundSchema)
|
|
37038
37336
|
});
|
|
37039
|
-
|
|
37337
|
+
ListOrSearchFacilitiesListOrSearchFacilitiesOk$outboundSchema = objectType({
|
|
37040
37338
|
pager: Pager$outboundSchema,
|
|
37041
37339
|
items: arrayType(Facility$outboundSchema)
|
|
37042
37340
|
});
|
|
37043
|
-
((
|
|
37044
|
-
|
|
37045
|
-
|
|
37046
|
-
})(
|
|
37341
|
+
((ListOrSearchFacilitiesListOrSearchFacilitiesOk$) => {
|
|
37342
|
+
ListOrSearchFacilitiesListOrSearchFacilitiesOk$.inboundSchema = ListOrSearchFacilitiesListOrSearchFacilitiesOk$inboundSchema;
|
|
37343
|
+
ListOrSearchFacilitiesListOrSearchFacilitiesOk$.outboundSchema = ListOrSearchFacilitiesListOrSearchFacilitiesOk$outboundSchema;
|
|
37344
|
+
})(ListOrSearchFacilitiesListOrSearchFacilitiesOk$ ||= {});
|
|
37345
|
+
ListOrSearchFacilitiesResponse$inboundSchema = objectType({
|
|
37346
|
+
Result: lazyType(() => ListOrSearchFacilitiesListOrSearchFacilitiesOk$inboundSchema)
|
|
37347
|
+
}).transform((v2) => {
|
|
37348
|
+
return remap(v2, {
|
|
37349
|
+
Result: "result"
|
|
37350
|
+
});
|
|
37351
|
+
});
|
|
37352
|
+
ListOrSearchFacilitiesResponse$outboundSchema = objectType({
|
|
37353
|
+
result: lazyType(() => ListOrSearchFacilitiesListOrSearchFacilitiesOk$outboundSchema)
|
|
37354
|
+
}).transform((v2) => {
|
|
37355
|
+
return remap(v2, {
|
|
37356
|
+
result: "Result"
|
|
37357
|
+
});
|
|
37358
|
+
});
|
|
37359
|
+
((ListOrSearchFacilitiesResponse$) => {
|
|
37360
|
+
ListOrSearchFacilitiesResponse$.inboundSchema = ListOrSearchFacilitiesResponse$inboundSchema;
|
|
37361
|
+
ListOrSearchFacilitiesResponse$.outboundSchema = ListOrSearchFacilitiesResponse$outboundSchema;
|
|
37362
|
+
})(ListOrSearchFacilitiesResponse$ ||= {});
|
|
37363
|
+
});
|
|
37364
|
+
|
|
37365
|
+
// src/models/operations/listorsearchsupportarticles.ts
|
|
37366
|
+
var ListOrSearchSupportArticlesRequest$inboundSchema, ListOrSearchSupportArticlesRequest$outboundSchema, ListOrSearchSupportArticlesRequest$, ListOrSearchSupportArticlesListOrSearchArticlesOk$inboundSchema, ListOrSearchSupportArticlesListOrSearchArticlesOk$outboundSchema, ListOrSearchSupportArticlesListOrSearchArticlesOk$, ListOrSearchSupportArticlesResponse$inboundSchema, ListOrSearchSupportArticlesResponse$outboundSchema, ListOrSearchSupportArticlesResponse$;
|
|
37367
|
+
var init_listorsearchsupportarticles = __esm(() => {
|
|
37368
|
+
init_lib();
|
|
37369
|
+
init_primitives();
|
|
37370
|
+
init_components();
|
|
37371
|
+
ListOrSearchSupportArticlesRequest$inboundSchema = objectType({
|
|
37372
|
+
sort: nullableType(stringType()).optional(),
|
|
37373
|
+
desc: Desc$inboundSchema.optional(),
|
|
37374
|
+
page: numberType().int().optional(),
|
|
37375
|
+
items_per_page: numberType().int().optional()
|
|
37376
|
+
}).transform((v2) => {
|
|
37377
|
+
return remap(v2, {
|
|
37378
|
+
items_per_page: "itemsPerPage"
|
|
37379
|
+
});
|
|
37380
|
+
});
|
|
37381
|
+
ListOrSearchSupportArticlesRequest$outboundSchema = objectType({
|
|
37382
|
+
sort: nullableType(stringType()).optional(),
|
|
37383
|
+
desc: Desc$outboundSchema.optional(),
|
|
37384
|
+
page: numberType().int().optional(),
|
|
37385
|
+
itemsPerPage: numberType().int().optional()
|
|
37386
|
+
}).transform((v2) => {
|
|
37387
|
+
return remap(v2, {
|
|
37388
|
+
itemsPerPage: "items_per_page"
|
|
37389
|
+
});
|
|
37390
|
+
});
|
|
37391
|
+
((ListOrSearchSupportArticlesRequest$) => {
|
|
37392
|
+
ListOrSearchSupportArticlesRequest$.inboundSchema = ListOrSearchSupportArticlesRequest$inboundSchema;
|
|
37393
|
+
ListOrSearchSupportArticlesRequest$.outboundSchema = ListOrSearchSupportArticlesRequest$outboundSchema;
|
|
37394
|
+
})(ListOrSearchSupportArticlesRequest$ ||= {});
|
|
37395
|
+
ListOrSearchSupportArticlesListOrSearchArticlesOk$inboundSchema = objectType({
|
|
37396
|
+
pager: Pager$inboundSchema,
|
|
37397
|
+
items: arrayType(SupportArticle$inboundSchema)
|
|
37398
|
+
});
|
|
37399
|
+
ListOrSearchSupportArticlesListOrSearchArticlesOk$outboundSchema = objectType({
|
|
37400
|
+
pager: Pager$outboundSchema,
|
|
37401
|
+
items: arrayType(SupportArticle$outboundSchema)
|
|
37402
|
+
});
|
|
37403
|
+
((ListOrSearchSupportArticlesListOrSearchArticlesOk$) => {
|
|
37404
|
+
ListOrSearchSupportArticlesListOrSearchArticlesOk$.inboundSchema = ListOrSearchSupportArticlesListOrSearchArticlesOk$inboundSchema;
|
|
37405
|
+
ListOrSearchSupportArticlesListOrSearchArticlesOk$.outboundSchema = ListOrSearchSupportArticlesListOrSearchArticlesOk$outboundSchema;
|
|
37406
|
+
})(ListOrSearchSupportArticlesListOrSearchArticlesOk$ ||= {});
|
|
37407
|
+
ListOrSearchSupportArticlesResponse$inboundSchema = objectType({
|
|
37408
|
+
Result: lazyType(() => ListOrSearchSupportArticlesListOrSearchArticlesOk$inboundSchema)
|
|
37409
|
+
}).transform((v2) => {
|
|
37410
|
+
return remap(v2, {
|
|
37411
|
+
Result: "result"
|
|
37412
|
+
});
|
|
37413
|
+
});
|
|
37414
|
+
ListOrSearchSupportArticlesResponse$outboundSchema = objectType({
|
|
37415
|
+
result: lazyType(() => ListOrSearchSupportArticlesListOrSearchArticlesOk$outboundSchema)
|
|
37416
|
+
}).transform((v2) => {
|
|
37417
|
+
return remap(v2, {
|
|
37418
|
+
result: "Result"
|
|
37419
|
+
});
|
|
37420
|
+
});
|
|
37421
|
+
((ListOrSearchSupportArticlesResponse$) => {
|
|
37422
|
+
ListOrSearchSupportArticlesResponse$.inboundSchema = ListOrSearchSupportArticlesResponse$inboundSchema;
|
|
37423
|
+
ListOrSearchSupportArticlesResponse$.outboundSchema = ListOrSearchSupportArticlesResponse$outboundSchema;
|
|
37424
|
+
})(ListOrSearchSupportArticlesResponse$ ||= {});
|
|
37425
|
+
});
|
|
37426
|
+
|
|
37427
|
+
// src/models/operations/listvendorcredentials.ts
|
|
37428
|
+
var ListVendorCredentialsRequest$inboundSchema, ListVendorCredentialsRequest$outboundSchema, ListVendorCredentialsRequest$, Credentials$inboundSchema, Credentials$outboundSchema, Credentials$, ListVendorCredentialsResponseBody$inboundSchema, ListVendorCredentialsResponseBody$outboundSchema, ListVendorCredentialsResponseBody$;
|
|
37429
|
+
var init_listvendorcredentials = __esm(() => {
|
|
37430
|
+
init_lib();
|
|
37431
|
+
init_primitives();
|
|
37432
|
+
init_components();
|
|
37433
|
+
ListVendorCredentialsRequest$inboundSchema = objectType({
|
|
37434
|
+
credential_status: CredentialStatus$inboundSchema.default("Pending Vendor"),
|
|
37435
|
+
facility_id: numberType().optional(),
|
|
37436
|
+
include_vc: numberType().optional(),
|
|
37437
|
+
include_cc: numberType().optional(),
|
|
37438
|
+
urgent: numberType().optional(),
|
|
37439
|
+
vendor_id: numberType().int()
|
|
37440
|
+
}).transform((v2) => {
|
|
37441
|
+
return remap(v2, {
|
|
37442
|
+
credential_status: "credentialStatus",
|
|
37443
|
+
facility_id: "facilityId",
|
|
37444
|
+
include_vc: "includeVc",
|
|
37445
|
+
include_cc: "includeCc",
|
|
37446
|
+
vendor_id: "vendorId"
|
|
37447
|
+
});
|
|
37448
|
+
});
|
|
37449
|
+
ListVendorCredentialsRequest$outboundSchema = objectType({
|
|
37450
|
+
credentialStatus: CredentialStatus$outboundSchema.default("Pending Vendor"),
|
|
37451
|
+
facilityId: numberType().optional(),
|
|
37452
|
+
includeVc: numberType().optional(),
|
|
37453
|
+
includeCc: numberType().optional(),
|
|
37454
|
+
urgent: numberType().optional(),
|
|
37455
|
+
vendorId: numberType().int()
|
|
37456
|
+
}).transform((v2) => {
|
|
37457
|
+
return remap(v2, {
|
|
37458
|
+
credentialStatus: "credential_status",
|
|
37459
|
+
facilityId: "facility_id",
|
|
37460
|
+
includeVc: "include_vc",
|
|
37461
|
+
includeCc: "include_cc",
|
|
37462
|
+
vendorId: "vendor_id"
|
|
37463
|
+
});
|
|
37464
|
+
});
|
|
37465
|
+
((ListVendorCredentialsRequest$) => {
|
|
37466
|
+
ListVendorCredentialsRequest$.inboundSchema = ListVendorCredentialsRequest$inboundSchema;
|
|
37467
|
+
ListVendorCredentialsRequest$.outboundSchema = ListVendorCredentialsRequest$outboundSchema;
|
|
37468
|
+
})(ListVendorCredentialsRequest$ ||= {});
|
|
37469
|
+
Credentials$inboundSchema = objectType({
|
|
37470
|
+
id: numberType().int(),
|
|
37471
|
+
name: stringType()
|
|
37472
|
+
});
|
|
37473
|
+
Credentials$outboundSchema = objectType({
|
|
37474
|
+
id: numberType().int(),
|
|
37475
|
+
name: stringType()
|
|
37476
|
+
});
|
|
37477
|
+
((Credentials$) => {
|
|
37478
|
+
Credentials$.inboundSchema = Credentials$inboundSchema;
|
|
37479
|
+
Credentials$.outboundSchema = Credentials$outboundSchema;
|
|
37480
|
+
})(Credentials$ ||= {});
|
|
37481
|
+
ListVendorCredentialsResponseBody$inboundSchema = objectType({
|
|
37482
|
+
vendor_required_credentials: arrayType(VendorRequiredCredential$inboundSchema),
|
|
37483
|
+
credentials: arrayType(lazyType(() => Credentials$inboundSchema)),
|
|
37484
|
+
vendor_credentials: arrayType(VendorCredentialSlim$inboundSchema),
|
|
37485
|
+
pager: Pager$inboundSchema
|
|
37486
|
+
}).transform((v2) => {
|
|
37487
|
+
return remap(v2, {
|
|
37488
|
+
vendor_required_credentials: "vendorRequiredCredentials",
|
|
37489
|
+
vendor_credentials: "vendorCredentials"
|
|
37490
|
+
});
|
|
37491
|
+
});
|
|
37492
|
+
ListVendorCredentialsResponseBody$outboundSchema = objectType({
|
|
37493
|
+
vendorRequiredCredentials: arrayType(VendorRequiredCredential$outboundSchema),
|
|
37494
|
+
credentials: arrayType(lazyType(() => Credentials$outboundSchema)),
|
|
37495
|
+
vendorCredentials: arrayType(VendorCredentialSlim$outboundSchema),
|
|
37496
|
+
pager: Pager$outboundSchema
|
|
37497
|
+
}).transform((v2) => {
|
|
37498
|
+
return remap(v2, {
|
|
37499
|
+
vendorRequiredCredentials: "vendor_required_credentials",
|
|
37500
|
+
vendorCredentials: "vendor_credentials"
|
|
37501
|
+
});
|
|
37502
|
+
});
|
|
37503
|
+
((ListVendorCredentialsResponseBody$) => {
|
|
37504
|
+
ListVendorCredentialsResponseBody$.inboundSchema = ListVendorCredentialsResponseBody$inboundSchema;
|
|
37505
|
+
ListVendorCredentialsResponseBody$.outboundSchema = ListVendorCredentialsResponseBody$outboundSchema;
|
|
37506
|
+
})(ListVendorCredentialsResponseBody$ ||= {});
|
|
37507
|
+
});
|
|
37508
|
+
|
|
37509
|
+
// src/models/operations/listvendorinvoices.ts
|
|
37510
|
+
var ListVendorInvoicesRequest$inboundSchema, ListVendorInvoicesRequest$outboundSchema, ListVendorInvoicesRequest$, ListVendorInvoicesResponseBody$inboundSchema, ListVendorInvoicesResponseBody$outboundSchema, ListVendorInvoicesResponseBody$, ListVendorInvoicesResponse$inboundSchema, ListVendorInvoicesResponse$outboundSchema, ListVendorInvoicesResponse$;
|
|
37511
|
+
var init_listvendorinvoices = __esm(() => {
|
|
37512
|
+
init_lib();
|
|
37513
|
+
init_primitives();
|
|
37514
|
+
init_components();
|
|
37515
|
+
ListVendorInvoicesRequest$inboundSchema = objectType({
|
|
37516
|
+
sort: nullableType(stringType()).optional(),
|
|
37517
|
+
desc: Desc$inboundSchema.optional(),
|
|
37518
|
+
page: numberType().int().optional(),
|
|
37519
|
+
items_per_page: numberType().int().optional(),
|
|
37520
|
+
expand: arrayType(Expand$inboundSchema).optional(),
|
|
37521
|
+
vendor_id_or_me: stringType()
|
|
37522
|
+
}).transform((v2) => {
|
|
37523
|
+
return remap(v2, {
|
|
37524
|
+
items_per_page: "itemsPerPage",
|
|
37525
|
+
vendor_id_or_me: "vendorIdOrMe"
|
|
37526
|
+
});
|
|
37527
|
+
});
|
|
37528
|
+
ListVendorInvoicesRequest$outboundSchema = objectType({
|
|
37529
|
+
sort: nullableType(stringType()).optional(),
|
|
37530
|
+
desc: Desc$outboundSchema.optional(),
|
|
37531
|
+
page: numberType().int().optional(),
|
|
37532
|
+
itemsPerPage: numberType().int().optional(),
|
|
37533
|
+
expand: arrayType(Expand$outboundSchema).optional(),
|
|
37534
|
+
vendorIdOrMe: stringType()
|
|
37535
|
+
}).transform((v2) => {
|
|
37536
|
+
return remap(v2, {
|
|
37537
|
+
itemsPerPage: "items_per_page",
|
|
37538
|
+
vendorIdOrMe: "vendor_id_or_me"
|
|
37539
|
+
});
|
|
37540
|
+
});
|
|
37541
|
+
((ListVendorInvoicesRequest$) => {
|
|
37542
|
+
ListVendorInvoicesRequest$.inboundSchema = ListVendorInvoicesRequest$inboundSchema;
|
|
37543
|
+
ListVendorInvoicesRequest$.outboundSchema = ListVendorInvoicesRequest$outboundSchema;
|
|
37544
|
+
})(ListVendorInvoicesRequest$ ||= {});
|
|
37545
|
+
ListVendorInvoicesResponseBody$inboundSchema = objectType({
|
|
37546
|
+
items: arrayType(Invoice$inboundSchema),
|
|
37547
|
+
pager: Pager$inboundSchema
|
|
37548
|
+
});
|
|
37549
|
+
ListVendorInvoicesResponseBody$outboundSchema = objectType({
|
|
37550
|
+
items: arrayType(Invoice$outboundSchema),
|
|
37551
|
+
pager: Pager$outboundSchema
|
|
37552
|
+
});
|
|
37553
|
+
((ListVendorInvoicesResponseBody$) => {
|
|
37554
|
+
ListVendorInvoicesResponseBody$.inboundSchema = ListVendorInvoicesResponseBody$inboundSchema;
|
|
37555
|
+
ListVendorInvoicesResponseBody$.outboundSchema = ListVendorInvoicesResponseBody$outboundSchema;
|
|
37556
|
+
})(ListVendorInvoicesResponseBody$ ||= {});
|
|
37557
|
+
ListVendorInvoicesResponse$inboundSchema = objectType({
|
|
37558
|
+
Result: lazyType(() => ListVendorInvoicesResponseBody$inboundSchema)
|
|
37559
|
+
}).transform((v2) => {
|
|
37560
|
+
return remap(v2, {
|
|
37561
|
+
Result: "result"
|
|
37562
|
+
});
|
|
37563
|
+
});
|
|
37564
|
+
ListVendorInvoicesResponse$outboundSchema = objectType({
|
|
37565
|
+
result: lazyType(() => ListVendorInvoicesResponseBody$outboundSchema)
|
|
37566
|
+
}).transform((v2) => {
|
|
37567
|
+
return remap(v2, {
|
|
37568
|
+
result: "Result"
|
|
37569
|
+
});
|
|
37570
|
+
});
|
|
37571
|
+
((ListVendorInvoicesResponse$) => {
|
|
37572
|
+
ListVendorInvoicesResponse$.inboundSchema = ListVendorInvoicesResponse$inboundSchema;
|
|
37573
|
+
ListVendorInvoicesResponse$.outboundSchema = ListVendorInvoicesResponse$outboundSchema;
|
|
37574
|
+
})(ListVendorInvoicesResponse$ ||= {});
|
|
37047
37575
|
});
|
|
37048
37576
|
|
|
37049
37577
|
// src/models/operations/listvendorjobtitles.ts
|
|
37050
|
-
var ListVendorJobTitlesRequest$inboundSchema, ListVendorJobTitlesRequest$outboundSchema, ListVendorJobTitlesRequest$,
|
|
37578
|
+
var ListVendorJobTitlesRequest$inboundSchema, ListVendorJobTitlesRequest$outboundSchema, ListVendorJobTitlesRequest$, ListVendorJobTitlesListVendorJobTitlesOk$inboundSchema, ListVendorJobTitlesListVendorJobTitlesOk$outboundSchema, ListVendorJobTitlesListVendorJobTitlesOk$, ListVendorJobTitlesResponse$inboundSchema, ListVendorJobTitlesResponse$outboundSchema, ListVendorJobTitlesResponse$;
|
|
37051
37579
|
var init_listvendorjobtitles = __esm(() => {
|
|
37052
37580
|
init_lib();
|
|
37053
37581
|
init_primitives();
|
|
@@ -37080,18 +37608,36 @@ var init_listvendorjobtitles = __esm(() => {
|
|
|
37080
37608
|
ListVendorJobTitlesRequest$.inboundSchema = ListVendorJobTitlesRequest$inboundSchema;
|
|
37081
37609
|
ListVendorJobTitlesRequest$.outboundSchema = ListVendorJobTitlesRequest$outboundSchema;
|
|
37082
37610
|
})(ListVendorJobTitlesRequest$ ||= {});
|
|
37083
|
-
|
|
37611
|
+
ListVendorJobTitlesListVendorJobTitlesOk$inboundSchema = objectType({
|
|
37084
37612
|
pager: Pager$inboundSchema,
|
|
37085
37613
|
items: arrayType(VendorJobTitle$inboundSchema)
|
|
37086
37614
|
});
|
|
37087
|
-
|
|
37615
|
+
ListVendorJobTitlesListVendorJobTitlesOk$outboundSchema = objectType({
|
|
37088
37616
|
pager: Pager$outboundSchema,
|
|
37089
37617
|
items: arrayType(VendorJobTitle$outboundSchema)
|
|
37090
37618
|
});
|
|
37091
|
-
((
|
|
37092
|
-
|
|
37093
|
-
|
|
37094
|
-
})(
|
|
37619
|
+
((ListVendorJobTitlesListVendorJobTitlesOk$) => {
|
|
37620
|
+
ListVendorJobTitlesListVendorJobTitlesOk$.inboundSchema = ListVendorJobTitlesListVendorJobTitlesOk$inboundSchema;
|
|
37621
|
+
ListVendorJobTitlesListVendorJobTitlesOk$.outboundSchema = ListVendorJobTitlesListVendorJobTitlesOk$outboundSchema;
|
|
37622
|
+
})(ListVendorJobTitlesListVendorJobTitlesOk$ ||= {});
|
|
37623
|
+
ListVendorJobTitlesResponse$inboundSchema = objectType({
|
|
37624
|
+
Result: lazyType(() => ListVendorJobTitlesListVendorJobTitlesOk$inboundSchema)
|
|
37625
|
+
}).transform((v2) => {
|
|
37626
|
+
return remap(v2, {
|
|
37627
|
+
Result: "result"
|
|
37628
|
+
});
|
|
37629
|
+
});
|
|
37630
|
+
ListVendorJobTitlesResponse$outboundSchema = objectType({
|
|
37631
|
+
result: lazyType(() => ListVendorJobTitlesListVendorJobTitlesOk$outboundSchema)
|
|
37632
|
+
}).transform((v2) => {
|
|
37633
|
+
return remap(v2, {
|
|
37634
|
+
result: "Result"
|
|
37635
|
+
});
|
|
37636
|
+
});
|
|
37637
|
+
((ListVendorJobTitlesResponse$) => {
|
|
37638
|
+
ListVendorJobTitlesResponse$.inboundSchema = ListVendorJobTitlesResponse$inboundSchema;
|
|
37639
|
+
ListVendorJobTitlesResponse$.outboundSchema = ListVendorJobTitlesResponse$outboundSchema;
|
|
37640
|
+
})(ListVendorJobTitlesResponse$ ||= {});
|
|
37095
37641
|
});
|
|
37096
37642
|
|
|
37097
37643
|
// src/models/operations/logsuserintothesystem.ts
|
|
@@ -37172,7 +37718,7 @@ var init_logsuserintothesystem = __esm(() => {
|
|
|
37172
37718
|
});
|
|
37173
37719
|
|
|
37174
37720
|
// src/models/operations/magiclink.ts
|
|
37175
|
-
var MagiclinkRequestBody$inboundSchema, MagiclinkRequestBody$outboundSchema, MagiclinkRequestBody$,
|
|
37721
|
+
var MagiclinkRequestBody$inboundSchema, MagiclinkRequestBody$outboundSchema, MagiclinkRequestBody$, MagiclinkMagiclinkOk$inboundSchema, MagiclinkMagiclinkOk$outboundSchema, MagiclinkMagiclinkOk$;
|
|
37176
37722
|
var init_magiclink = __esm(() => {
|
|
37177
37723
|
init_lib();
|
|
37178
37724
|
MagiclinkRequestBody$inboundSchema = objectType({
|
|
@@ -37185,20 +37731,20 @@ var init_magiclink = __esm(() => {
|
|
|
37185
37731
|
MagiclinkRequestBody$.inboundSchema = MagiclinkRequestBody$inboundSchema;
|
|
37186
37732
|
MagiclinkRequestBody$.outboundSchema = MagiclinkRequestBody$outboundSchema;
|
|
37187
37733
|
})(MagiclinkRequestBody$ ||= {});
|
|
37188
|
-
|
|
37734
|
+
MagiclinkMagiclinkOk$inboundSchema = objectType({
|
|
37189
37735
|
success: booleanType()
|
|
37190
37736
|
});
|
|
37191
|
-
|
|
37737
|
+
MagiclinkMagiclinkOk$outboundSchema = objectType({
|
|
37192
37738
|
success: booleanType()
|
|
37193
37739
|
});
|
|
37194
|
-
((
|
|
37195
|
-
|
|
37196
|
-
|
|
37197
|
-
})(
|
|
37740
|
+
((MagiclinkMagiclinkOk$) => {
|
|
37741
|
+
MagiclinkMagiclinkOk$.inboundSchema = MagiclinkMagiclinkOk$inboundSchema;
|
|
37742
|
+
MagiclinkMagiclinkOk$.outboundSchema = MagiclinkMagiclinkOk$outboundSchema;
|
|
37743
|
+
})(MagiclinkMagiclinkOk$ ||= {});
|
|
37198
37744
|
});
|
|
37199
37745
|
|
|
37200
37746
|
// src/models/operations/password.ts
|
|
37201
|
-
var PasswordRequestBody$inboundSchema, PasswordRequestBody$outboundSchema, PasswordRequestBody$,
|
|
37747
|
+
var PasswordRequestBody$inboundSchema, PasswordRequestBody$outboundSchema, PasswordRequestBody$, PasswordPasswordOk$inboundSchema, PasswordPasswordOk$outboundSchema, PasswordPasswordOk$;
|
|
37202
37748
|
var init_password = __esm(() => {
|
|
37203
37749
|
init_lib();
|
|
37204
37750
|
init_primitives();
|
|
@@ -37222,20 +37768,20 @@ var init_password = __esm(() => {
|
|
|
37222
37768
|
PasswordRequestBody$.inboundSchema = PasswordRequestBody$inboundSchema;
|
|
37223
37769
|
PasswordRequestBody$.outboundSchema = PasswordRequestBody$outboundSchema;
|
|
37224
37770
|
})(PasswordRequestBody$ ||= {});
|
|
37225
|
-
|
|
37771
|
+
PasswordPasswordOk$inboundSchema = objectType({
|
|
37226
37772
|
success: nullableType(booleanType()).optional()
|
|
37227
37773
|
});
|
|
37228
|
-
|
|
37774
|
+
PasswordPasswordOk$outboundSchema = objectType({
|
|
37229
37775
|
success: nullableType(booleanType()).optional()
|
|
37230
37776
|
});
|
|
37231
|
-
((
|
|
37232
|
-
|
|
37233
|
-
|
|
37234
|
-
})(
|
|
37777
|
+
((PasswordPasswordOk$) => {
|
|
37778
|
+
PasswordPasswordOk$.inboundSchema = PasswordPasswordOk$inboundSchema;
|
|
37779
|
+
PasswordPasswordOk$.outboundSchema = PasswordPasswordOk$outboundSchema;
|
|
37780
|
+
})(PasswordPasswordOk$ ||= {});
|
|
37235
37781
|
});
|
|
37236
37782
|
|
|
37237
37783
|
// src/models/operations/passwordresetrequest.ts
|
|
37238
|
-
var PasswordResetRequestRequestBody$inboundSchema, PasswordResetRequestRequestBody$outboundSchema, PasswordResetRequestRequestBody$,
|
|
37784
|
+
var PasswordResetRequestRequestBody$inboundSchema, PasswordResetRequestRequestBody$outboundSchema, PasswordResetRequestRequestBody$, PasswordResetRequestPasswordResetRequestOk$inboundSchema, PasswordResetRequestPasswordResetRequestOk$outboundSchema, PasswordResetRequestPasswordResetRequestOk$;
|
|
37239
37785
|
var init_passwordresetrequest = __esm(() => {
|
|
37240
37786
|
init_lib();
|
|
37241
37787
|
PasswordResetRequestRequestBody$inboundSchema = objectType({
|
|
@@ -37248,24 +37794,29 @@ var init_passwordresetrequest = __esm(() => {
|
|
|
37248
37794
|
PasswordResetRequestRequestBody$.inboundSchema = PasswordResetRequestRequestBody$inboundSchema;
|
|
37249
37795
|
PasswordResetRequestRequestBody$.outboundSchema = PasswordResetRequestRequestBody$outboundSchema;
|
|
37250
37796
|
})(PasswordResetRequestRequestBody$ ||= {});
|
|
37251
|
-
|
|
37797
|
+
PasswordResetRequestPasswordResetRequestOk$inboundSchema = objectType({
|
|
37252
37798
|
success: booleanType()
|
|
37253
37799
|
});
|
|
37254
|
-
|
|
37800
|
+
PasswordResetRequestPasswordResetRequestOk$outboundSchema = objectType({
|
|
37255
37801
|
success: booleanType()
|
|
37256
37802
|
});
|
|
37257
|
-
((
|
|
37258
|
-
|
|
37259
|
-
|
|
37260
|
-
})(
|
|
37803
|
+
((PasswordResetRequestPasswordResetRequestOk$) => {
|
|
37804
|
+
PasswordResetRequestPasswordResetRequestOk$.inboundSchema = PasswordResetRequestPasswordResetRequestOk$inboundSchema;
|
|
37805
|
+
PasswordResetRequestPasswordResetRequestOk$.outboundSchema = PasswordResetRequestPasswordResetRequestOk$outboundSchema;
|
|
37806
|
+
})(PasswordResetRequestPasswordResetRequestOk$ ||= {});
|
|
37261
37807
|
});
|
|
37262
37808
|
|
|
37263
37809
|
// src/models/operations/index.ts
|
|
37264
37810
|
var init_operations = __esm(() => {
|
|
37265
37811
|
init_createvendorregistration();
|
|
37812
|
+
init_expeditetimeremaining();
|
|
37266
37813
|
init_getfacility();
|
|
37814
|
+
init_getsupportarticle();
|
|
37267
37815
|
init_getuserbyid();
|
|
37268
37816
|
init_listorsearchfacilities();
|
|
37817
|
+
init_listorsearchsupportarticles();
|
|
37818
|
+
init_listvendorcredentials();
|
|
37819
|
+
init_listvendorinvoices();
|
|
37269
37820
|
init_listvendorjobtitles();
|
|
37270
37821
|
init_logsuserintothesystem();
|
|
37271
37822
|
init_magiclink();
|
|
@@ -37405,6 +37956,38 @@ Retrieve an individual facility.`,
|
|
|
37405
37956
|
};
|
|
37406
37957
|
});
|
|
37407
37958
|
|
|
37959
|
+
// src/types/operations.ts
|
|
37960
|
+
function createPageIterator(page, halt) {
|
|
37961
|
+
return {
|
|
37962
|
+
[Symbol.asyncIterator]: async function* paginator() {
|
|
37963
|
+
yield page;
|
|
37964
|
+
if (halt(page)) {
|
|
37965
|
+
return;
|
|
37966
|
+
}
|
|
37967
|
+
let p = page;
|
|
37968
|
+
for (p = await p.next();p != null; p = await p.next()) {
|
|
37969
|
+
yield p;
|
|
37970
|
+
if (halt(p)) {
|
|
37971
|
+
return;
|
|
37972
|
+
}
|
|
37973
|
+
}
|
|
37974
|
+
}
|
|
37975
|
+
};
|
|
37976
|
+
}
|
|
37977
|
+
function haltIterator(v2) {
|
|
37978
|
+
return {
|
|
37979
|
+
...v2,
|
|
37980
|
+
next: () => null,
|
|
37981
|
+
[Symbol.asyncIterator]: async function* paginator() {
|
|
37982
|
+
yield v2;
|
|
37983
|
+
}
|
|
37984
|
+
};
|
|
37985
|
+
}
|
|
37986
|
+
var URL_OVERRIDE;
|
|
37987
|
+
var init_operations2 = __esm(() => {
|
|
37988
|
+
URL_OVERRIDE = Symbol("URL_OVERRIDE");
|
|
37989
|
+
});
|
|
37990
|
+
|
|
37408
37991
|
// src/funcs/organizationsListOrSearchFacilities.ts
|
|
37409
37992
|
function organizationsListOrSearchFacilities(client, request, options) {
|
|
37410
37993
|
return new APIPromise($do2(client, request, options));
|
|
@@ -37412,22 +37995,23 @@ function organizationsListOrSearchFacilities(client, request, options) {
|
|
|
37412
37995
|
async function $do2(client, request, options) {
|
|
37413
37996
|
const parsed = safeParse(request, (value) => ListOrSearchFacilitiesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
37414
37997
|
if (!parsed.ok) {
|
|
37415
|
-
return [parsed, { status: "invalid" }];
|
|
37998
|
+
return [haltIterator(parsed), { status: "invalid" }];
|
|
37416
37999
|
}
|
|
37417
38000
|
const payload = parsed.value;
|
|
37418
38001
|
const body = null;
|
|
37419
38002
|
const path = pathToFunc("/facilities")();
|
|
37420
|
-
const query = encodeFormQuery({
|
|
38003
|
+
const query = queryJoin(encodeFormQuery({
|
|
38004
|
+
expand: payload.expand
|
|
38005
|
+
}, { explode: false }), encodeFormQuery({
|
|
38006
|
+
active_status: payload.active_status,
|
|
37421
38007
|
desc: payload.desc,
|
|
37422
|
-
expand: payload.expand,
|
|
37423
38008
|
items_per_page: payload.items_per_page,
|
|
37424
38009
|
name_like: payload.name_like,
|
|
37425
38010
|
page: payload.page,
|
|
37426
38011
|
sort: payload.sort,
|
|
37427
38012
|
state_like: payload.state_like,
|
|
37428
|
-
status: payload.status,
|
|
37429
38013
|
system_id: payload.system_id
|
|
37430
|
-
});
|
|
38014
|
+
}));
|
|
37431
38015
|
const headers = new Headers(compactMap({
|
|
37432
38016
|
Accept: "application/json"
|
|
37433
38017
|
}));
|
|
@@ -37453,7 +38037,7 @@ async function $do2(client, request, options) {
|
|
|
37453
38037
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
37454
38038
|
}, options);
|
|
37455
38039
|
if (!requestRes.ok) {
|
|
37456
|
-
return [requestRes, { status: "invalid" }];
|
|
38040
|
+
return [haltIterator(requestRes), { status: "invalid" }];
|
|
37457
38041
|
}
|
|
37458
38042
|
const req = requestRes.value;
|
|
37459
38043
|
const doResult = await client._do(req, {
|
|
@@ -37463,14 +38047,48 @@ async function $do2(client, request, options) {
|
|
|
37463
38047
|
retryCodes: context.retryCodes
|
|
37464
38048
|
});
|
|
37465
38049
|
if (!doResult.ok) {
|
|
37466
|
-
return [doResult, { status: "request-error", request: req }];
|
|
38050
|
+
return [haltIterator(doResult), { status: "request-error", request: req }];
|
|
37467
38051
|
}
|
|
37468
38052
|
const response = doResult.value;
|
|
37469
|
-
const
|
|
37470
|
-
|
|
37471
|
-
|
|
37472
|
-
|
|
37473
|
-
|
|
38053
|
+
const responseFields = {
|
|
38054
|
+
HttpMeta: { Response: response, Request: req }
|
|
38055
|
+
};
|
|
38056
|
+
const [result, raw] = await match(json(200, ListOrSearchFacilitiesResponse$inboundSchema, {
|
|
38057
|
+
key: "Result"
|
|
38058
|
+
}), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
|
|
38059
|
+
if (!result.ok) {
|
|
38060
|
+
return [haltIterator(result), {
|
|
38061
|
+
status: "complete",
|
|
38062
|
+
request: req,
|
|
38063
|
+
response
|
|
38064
|
+
}];
|
|
38065
|
+
}
|
|
38066
|
+
const nextFunc = (responseData) => {
|
|
38067
|
+
const page2 = request?.page ?? 1;
|
|
38068
|
+
const nextPage = page2 + 1;
|
|
38069
|
+
if (!responseData) {
|
|
38070
|
+
return { next: () => null };
|
|
38071
|
+
}
|
|
38072
|
+
const results = dlv(responseData, "items");
|
|
38073
|
+
if (!Array.isArray(results) || !results.length) {
|
|
38074
|
+
return { next: () => null };
|
|
38075
|
+
}
|
|
38076
|
+
const limit = request?.itemsPerPage ?? 0;
|
|
38077
|
+
if (results.length < limit) {
|
|
38078
|
+
return { next: () => null };
|
|
38079
|
+
}
|
|
38080
|
+
const nextVal = () => organizationsListOrSearchFacilities(client, {
|
|
38081
|
+
...request,
|
|
38082
|
+
page: nextPage
|
|
38083
|
+
}, options);
|
|
38084
|
+
return { next: nextVal, "~next": { page: nextPage } };
|
|
38085
|
+
};
|
|
38086
|
+
const page = { ...result, ...nextFunc(raw) };
|
|
38087
|
+
return [{ ...page, ...createPageIterator(page, (v2) => !v2.ok) }, {
|
|
38088
|
+
status: "complete",
|
|
38089
|
+
request: req,
|
|
38090
|
+
response
|
|
38091
|
+
}];
|
|
37474
38092
|
}
|
|
37475
38093
|
var init_organizationsListOrSearchFacilities = __esm(() => {
|
|
37476
38094
|
init_encodings();
|
|
@@ -37481,6 +38099,7 @@ var init_organizationsListOrSearchFacilities = __esm(() => {
|
|
|
37481
38099
|
init_url();
|
|
37482
38100
|
init_operations();
|
|
37483
38101
|
init_async();
|
|
38102
|
+
init_operations2();
|
|
37484
38103
|
});
|
|
37485
38104
|
|
|
37486
38105
|
// src/mcp-server/tools/organizationsListOrSearchFacilities.ts
|
|
@@ -37519,17 +38138,271 @@ Available \`expand\` scopes are:
|
|
|
37519
38138
|
isError: true
|
|
37520
38139
|
};
|
|
37521
38140
|
}
|
|
38141
|
+
const value = result.value.result;
|
|
38142
|
+
return formatResult(value, apiCall);
|
|
38143
|
+
}
|
|
38144
|
+
};
|
|
38145
|
+
});
|
|
38146
|
+
|
|
38147
|
+
// src/funcs/supportArticlesGetSupportArticle.ts
|
|
38148
|
+
function supportArticlesGetSupportArticle(client, request, options) {
|
|
38149
|
+
return new APIPromise($do3(client, request, options));
|
|
38150
|
+
}
|
|
38151
|
+
async function $do3(client, request, options) {
|
|
38152
|
+
const parsed = safeParse(request, (value) => GetSupportArticleRequest$outboundSchema.parse(value), "Input validation failed");
|
|
38153
|
+
if (!parsed.ok) {
|
|
38154
|
+
return [parsed, { status: "invalid" }];
|
|
38155
|
+
}
|
|
38156
|
+
const payload = parsed.value;
|
|
38157
|
+
const body = null;
|
|
38158
|
+
const pathParams = {
|
|
38159
|
+
id: encodeSimple("id", payload.id, {
|
|
38160
|
+
explode: false,
|
|
38161
|
+
charEncoding: "percent"
|
|
38162
|
+
})
|
|
38163
|
+
};
|
|
38164
|
+
const path = pathToFunc("/support_articles/{id}")(pathParams);
|
|
38165
|
+
const query = encodeFormQuery({
|
|
38166
|
+
expand: payload.expand
|
|
38167
|
+
}, { explode: false });
|
|
38168
|
+
const headers = new Headers(compactMap({
|
|
38169
|
+
Accept: "application/json"
|
|
38170
|
+
}));
|
|
38171
|
+
const securityInput = await extractSecurity(client._options.security);
|
|
38172
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
38173
|
+
const context = {
|
|
38174
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
38175
|
+
operationID: "getSupportArticle",
|
|
38176
|
+
oAuth2Scopes: [],
|
|
38177
|
+
resolvedSecurity: requestSecurity,
|
|
38178
|
+
securitySource: client._options.security,
|
|
38179
|
+
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
38180
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
38181
|
+
};
|
|
38182
|
+
const requestRes = client._createRequest(context, {
|
|
38183
|
+
security: requestSecurity,
|
|
38184
|
+
method: "GET",
|
|
38185
|
+
baseURL: options?.serverURL,
|
|
38186
|
+
path,
|
|
38187
|
+
headers,
|
|
38188
|
+
query,
|
|
38189
|
+
body,
|
|
38190
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
38191
|
+
}, options);
|
|
38192
|
+
if (!requestRes.ok) {
|
|
38193
|
+
return [requestRes, { status: "invalid" }];
|
|
38194
|
+
}
|
|
38195
|
+
const req = requestRes.value;
|
|
38196
|
+
const doResult = await client._do(req, {
|
|
38197
|
+
context,
|
|
38198
|
+
errorCodes: ["404", "4XX", "5XX"],
|
|
38199
|
+
retryConfig: context.retryConfig,
|
|
38200
|
+
retryCodes: context.retryCodes
|
|
38201
|
+
});
|
|
38202
|
+
if (!doResult.ok) {
|
|
38203
|
+
return [doResult, { status: "request-error", request: req }];
|
|
38204
|
+
}
|
|
38205
|
+
const response = doResult.value;
|
|
38206
|
+
const responseFields = {
|
|
38207
|
+
HttpMeta: { Response: response, Request: req }
|
|
38208
|
+
};
|
|
38209
|
+
const [result] = await match(json(200, SupportArticle$inboundSchema), jsonErr(404, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
|
|
38210
|
+
if (!result.ok) {
|
|
38211
|
+
return [result, { status: "complete", request: req, response }];
|
|
38212
|
+
}
|
|
38213
|
+
return [result, { status: "complete", request: req, response }];
|
|
38214
|
+
}
|
|
38215
|
+
var init_supportArticlesGetSupportArticle = __esm(() => {
|
|
38216
|
+
init_encodings();
|
|
38217
|
+
init_matchers();
|
|
38218
|
+
init_primitives();
|
|
38219
|
+
init_schemas();
|
|
38220
|
+
init_security();
|
|
38221
|
+
init_url();
|
|
38222
|
+
init_components();
|
|
38223
|
+
init_errors();
|
|
38224
|
+
init_operations();
|
|
38225
|
+
init_async();
|
|
38226
|
+
});
|
|
38227
|
+
|
|
38228
|
+
// src/mcp-server/tools/supportArticlesGetSupportArticle.ts
|
|
38229
|
+
var args3, tool$supportArticlesGetSupportArticle;
|
|
38230
|
+
var init_supportArticlesGetSupportArticle2 = __esm(() => {
|
|
38231
|
+
init_supportArticlesGetSupportArticle();
|
|
38232
|
+
init_operations();
|
|
38233
|
+
init_tools();
|
|
38234
|
+
args3 = {
|
|
38235
|
+
request: GetSupportArticleRequest$inboundSchema
|
|
38236
|
+
};
|
|
38237
|
+
tool$supportArticlesGetSupportArticle = {
|
|
38238
|
+
name: "support-articles_get-support-article",
|
|
38239
|
+
description: `Get support article
|
|
38240
|
+
|
|
38241
|
+
Retrieve an individual support article.
|
|
38242
|
+
|
|
38243
|
+
Available \`expand\` scopes are:
|
|
38244
|
+
|
|
38245
|
+
- support_article.description
|
|
38246
|
+
- support_article.published
|
|
38247
|
+
- support_article.notes
|
|
38248
|
+
- support_article.support_category`,
|
|
38249
|
+
args: args3,
|
|
38250
|
+
tool: async (client, args4, ctx) => {
|
|
38251
|
+
const [result, apiCall] = await supportArticlesGetSupportArticle(client, args4.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
38252
|
+
if (!result.ok) {
|
|
38253
|
+
return {
|
|
38254
|
+
content: [{ type: "text", text: result.error.message }],
|
|
38255
|
+
isError: true
|
|
38256
|
+
};
|
|
38257
|
+
}
|
|
37522
38258
|
const value = result.value;
|
|
37523
38259
|
return formatResult(value, apiCall);
|
|
37524
38260
|
}
|
|
37525
38261
|
};
|
|
37526
38262
|
});
|
|
37527
38263
|
|
|
37528
|
-
// src/funcs/
|
|
37529
|
-
function
|
|
37530
|
-
return new APIPromise($
|
|
38264
|
+
// src/funcs/supportArticlesListOrSearchSupportArticles.ts
|
|
38265
|
+
function supportArticlesListOrSearchSupportArticles(client, request, options) {
|
|
38266
|
+
return new APIPromise($do4(client, request, options));
|
|
37531
38267
|
}
|
|
37532
|
-
async function $
|
|
38268
|
+
async function $do4(client, request, options) {
|
|
38269
|
+
const parsed = safeParse(request, (value) => ListOrSearchSupportArticlesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
38270
|
+
if (!parsed.ok) {
|
|
38271
|
+
return [haltIterator(parsed), { status: "invalid" }];
|
|
38272
|
+
}
|
|
38273
|
+
const payload = parsed.value;
|
|
38274
|
+
const body = null;
|
|
38275
|
+
const path = pathToFunc("/support_articles")();
|
|
38276
|
+
const query = encodeFormQuery({
|
|
38277
|
+
desc: payload.desc,
|
|
38278
|
+
items_per_page: payload.items_per_page,
|
|
38279
|
+
page: payload.page,
|
|
38280
|
+
sort: payload.sort
|
|
38281
|
+
});
|
|
38282
|
+
const headers = new Headers(compactMap({
|
|
38283
|
+
Accept: "application/json"
|
|
38284
|
+
}));
|
|
38285
|
+
const securityInput = await extractSecurity(client._options.security);
|
|
38286
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
38287
|
+
const context = {
|
|
38288
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
38289
|
+
operationID: "listOrSearchSupportArticles",
|
|
38290
|
+
oAuth2Scopes: [],
|
|
38291
|
+
resolvedSecurity: requestSecurity,
|
|
38292
|
+
securitySource: client._options.security,
|
|
38293
|
+
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
38294
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
38295
|
+
};
|
|
38296
|
+
const requestRes = client._createRequest(context, {
|
|
38297
|
+
security: requestSecurity,
|
|
38298
|
+
method: "GET",
|
|
38299
|
+
baseURL: options?.serverURL,
|
|
38300
|
+
path,
|
|
38301
|
+
headers,
|
|
38302
|
+
query,
|
|
38303
|
+
body,
|
|
38304
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
38305
|
+
}, options);
|
|
38306
|
+
if (!requestRes.ok) {
|
|
38307
|
+
return [haltIterator(requestRes), { status: "invalid" }];
|
|
38308
|
+
}
|
|
38309
|
+
const req = requestRes.value;
|
|
38310
|
+
const doResult = await client._do(req, {
|
|
38311
|
+
context,
|
|
38312
|
+
errorCodes: ["4XX", "5XX"],
|
|
38313
|
+
retryConfig: context.retryConfig,
|
|
38314
|
+
retryCodes: context.retryCodes
|
|
38315
|
+
});
|
|
38316
|
+
if (!doResult.ok) {
|
|
38317
|
+
return [haltIterator(doResult), { status: "request-error", request: req }];
|
|
38318
|
+
}
|
|
38319
|
+
const response = doResult.value;
|
|
38320
|
+
const responseFields = {
|
|
38321
|
+
HttpMeta: { Response: response, Request: req }
|
|
38322
|
+
};
|
|
38323
|
+
const [result, raw] = await match(json(200, ListOrSearchSupportArticlesResponse$inboundSchema, {
|
|
38324
|
+
key: "Result"
|
|
38325
|
+
}), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
|
|
38326
|
+
if (!result.ok) {
|
|
38327
|
+
return [haltIterator(result), {
|
|
38328
|
+
status: "complete",
|
|
38329
|
+
request: req,
|
|
38330
|
+
response
|
|
38331
|
+
}];
|
|
38332
|
+
}
|
|
38333
|
+
const nextFunc = (responseData) => {
|
|
38334
|
+
const page2 = request?.page ?? 1;
|
|
38335
|
+
const nextPage = page2 + 1;
|
|
38336
|
+
if (!responseData) {
|
|
38337
|
+
return { next: () => null };
|
|
38338
|
+
}
|
|
38339
|
+
const results = dlv(responseData, "items");
|
|
38340
|
+
if (!Array.isArray(results) || !results.length) {
|
|
38341
|
+
return { next: () => null };
|
|
38342
|
+
}
|
|
38343
|
+
const limit = request?.itemsPerPage ?? 0;
|
|
38344
|
+
if (results.length < limit) {
|
|
38345
|
+
return { next: () => null };
|
|
38346
|
+
}
|
|
38347
|
+
const nextVal = () => supportArticlesListOrSearchSupportArticles(client, {
|
|
38348
|
+
...request,
|
|
38349
|
+
page: nextPage
|
|
38350
|
+
}, options);
|
|
38351
|
+
return { next: nextVal, "~next": { page: nextPage } };
|
|
38352
|
+
};
|
|
38353
|
+
const page = { ...result, ...nextFunc(raw) };
|
|
38354
|
+
return [{ ...page, ...createPageIterator(page, (v2) => !v2.ok) }, {
|
|
38355
|
+
status: "complete",
|
|
38356
|
+
request: req,
|
|
38357
|
+
response
|
|
38358
|
+
}];
|
|
38359
|
+
}
|
|
38360
|
+
var init_supportArticlesListOrSearchSupportArticles = __esm(() => {
|
|
38361
|
+
init_encodings();
|
|
38362
|
+
init_matchers();
|
|
38363
|
+
init_primitives();
|
|
38364
|
+
init_schemas();
|
|
38365
|
+
init_security();
|
|
38366
|
+
init_url();
|
|
38367
|
+
init_operations();
|
|
38368
|
+
init_async();
|
|
38369
|
+
init_operations2();
|
|
38370
|
+
});
|
|
38371
|
+
|
|
38372
|
+
// src/mcp-server/tools/supportArticlesListOrSearchSupportArticles.ts
|
|
38373
|
+
var args4, tool$supportArticlesListOrSearchSupportArticles;
|
|
38374
|
+
var init_supportArticlesListOrSearchSupportArticles2 = __esm(() => {
|
|
38375
|
+
init_supportArticlesListOrSearchSupportArticles();
|
|
38376
|
+
init_operations();
|
|
38377
|
+
init_tools();
|
|
38378
|
+
args4 = {
|
|
38379
|
+
request: ListOrSearchSupportArticlesRequest$inboundSchema
|
|
38380
|
+
};
|
|
38381
|
+
tool$supportArticlesListOrSearchSupportArticles = {
|
|
38382
|
+
name: "support-articles_list-or-search-support-articles",
|
|
38383
|
+
description: `List or search support articles
|
|
38384
|
+
|
|
38385
|
+
List or search support articles for FAQ.`,
|
|
38386
|
+
args: args4,
|
|
38387
|
+
tool: async (client, args5, ctx) => {
|
|
38388
|
+
const [result, apiCall] = await supportArticlesListOrSearchSupportArticles(client, args5.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
38389
|
+
if (!result.ok) {
|
|
38390
|
+
return {
|
|
38391
|
+
content: [{ type: "text", text: result.error.message }],
|
|
38392
|
+
isError: true
|
|
38393
|
+
};
|
|
38394
|
+
}
|
|
38395
|
+
const value = result.value.result;
|
|
38396
|
+
return formatResult(value, apiCall);
|
|
38397
|
+
}
|
|
38398
|
+
};
|
|
38399
|
+
});
|
|
38400
|
+
|
|
38401
|
+
// src/funcs/usersGetCurrentUser.ts
|
|
38402
|
+
function usersGetCurrentUser(client, options) {
|
|
38403
|
+
return new APIPromise($do5(client, options));
|
|
38404
|
+
}
|
|
38405
|
+
async function $do5(client, options) {
|
|
37533
38406
|
const path = pathToFunc("/users/me")();
|
|
37534
38407
|
const headers = new Headers(compactMap({
|
|
37535
38408
|
Accept: "application/json"
|
|
@@ -37576,7 +38449,7 @@ async function $do3(client, options) {
|
|
|
37576
38449
|
}
|
|
37577
38450
|
return [result, { status: "complete", request: req, response }];
|
|
37578
38451
|
}
|
|
37579
|
-
var
|
|
38452
|
+
var init_usersGetCurrentUser = __esm(() => {
|
|
37580
38453
|
init_matchers();
|
|
37581
38454
|
init_primitives();
|
|
37582
38455
|
init_security();
|
|
@@ -37586,18 +38459,18 @@ var init_userGetCurrentUser = __esm(() => {
|
|
|
37586
38459
|
init_async();
|
|
37587
38460
|
});
|
|
37588
38461
|
|
|
37589
|
-
// src/mcp-server/tools/
|
|
37590
|
-
var tool$
|
|
37591
|
-
var
|
|
37592
|
-
|
|
38462
|
+
// src/mcp-server/tools/usersGetCurrentUser.ts
|
|
38463
|
+
var tool$usersGetCurrentUser;
|
|
38464
|
+
var init_usersGetCurrentUser2 = __esm(() => {
|
|
38465
|
+
init_usersGetCurrentUser();
|
|
37593
38466
|
init_tools();
|
|
37594
|
-
tool$
|
|
37595
|
-
name: "
|
|
38467
|
+
tool$usersGetCurrentUser = {
|
|
38468
|
+
name: "users_get-current-user",
|
|
37596
38469
|
description: `Get current user
|
|
37597
38470
|
|
|
37598
38471
|
Returns a user object for the user represented by the authorization token`,
|
|
37599
38472
|
tool: async (client, ctx) => {
|
|
37600
|
-
const [result, apiCall] = await
|
|
38473
|
+
const [result, apiCall] = await usersGetCurrentUser(client, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
37601
38474
|
if (!result.ok) {
|
|
37602
38475
|
return {
|
|
37603
38476
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -37610,11 +38483,11 @@ Returns a user object for the user represented by the authorization token`,
|
|
|
37610
38483
|
};
|
|
37611
38484
|
});
|
|
37612
38485
|
|
|
37613
|
-
// src/funcs/
|
|
37614
|
-
function
|
|
37615
|
-
return new APIPromise($
|
|
38486
|
+
// src/funcs/usersGetUserById.ts
|
|
38487
|
+
function usersGetUserById(client, request, options) {
|
|
38488
|
+
return new APIPromise($do6(client, request, options));
|
|
37616
38489
|
}
|
|
37617
|
-
async function $
|
|
38490
|
+
async function $do6(client, request, options) {
|
|
37618
38491
|
const parsed = safeParse(request, (value) => GetUserByIdRequest$outboundSchema.parse(value), "Input validation failed");
|
|
37619
38492
|
if (!parsed.ok) {
|
|
37620
38493
|
return [parsed, { status: "invalid" }];
|
|
@@ -37674,7 +38547,7 @@ async function $do4(client, request, options) {
|
|
|
37674
38547
|
}
|
|
37675
38548
|
return [result, { status: "complete", request: req, response }];
|
|
37676
38549
|
}
|
|
37677
|
-
var
|
|
38550
|
+
var init_usersGetUserById = __esm(() => {
|
|
37678
38551
|
init_encodings();
|
|
37679
38552
|
init_matchers();
|
|
37680
38553
|
init_primitives();
|
|
@@ -37687,23 +38560,23 @@ var init_userGetUserById = __esm(() => {
|
|
|
37687
38560
|
init_async();
|
|
37688
38561
|
});
|
|
37689
38562
|
|
|
37690
|
-
// src/mcp-server/tools/
|
|
37691
|
-
var
|
|
37692
|
-
var
|
|
37693
|
-
|
|
38563
|
+
// src/mcp-server/tools/usersGetUserById.ts
|
|
38564
|
+
var args5, tool$usersGetUserById;
|
|
38565
|
+
var init_usersGetUserById2 = __esm(() => {
|
|
38566
|
+
init_usersGetUserById();
|
|
37694
38567
|
init_operations();
|
|
37695
38568
|
init_tools();
|
|
37696
|
-
|
|
38569
|
+
args5 = {
|
|
37697
38570
|
request: GetUserByIdRequest$inboundSchema
|
|
37698
38571
|
};
|
|
37699
|
-
tool$
|
|
37700
|
-
name: "
|
|
38572
|
+
tool$usersGetUserById = {
|
|
38573
|
+
name: "users_get-user-by-id",
|
|
37701
38574
|
description: `Get user by id
|
|
37702
38575
|
|
|
37703
38576
|
Returns a user object for the user represented by the identifier in the path.`,
|
|
37704
|
-
args:
|
|
37705
|
-
tool: async (client,
|
|
37706
|
-
const [result, apiCall] = await
|
|
38577
|
+
args: args5,
|
|
38578
|
+
tool: async (client, args6, ctx) => {
|
|
38579
|
+
const [result, apiCall] = await usersGetUserById(client, args6.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
37707
38580
|
if (!result.ok) {
|
|
37708
38581
|
return {
|
|
37709
38582
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -37716,11 +38589,11 @@ Returns a user object for the user represented by the identifier in the path.`,
|
|
|
37716
38589
|
};
|
|
37717
38590
|
});
|
|
37718
38591
|
|
|
37719
|
-
// src/funcs/
|
|
37720
|
-
function
|
|
37721
|
-
return new APIPromise($
|
|
38592
|
+
// src/funcs/usersLogsUserIntoTheSystem.ts
|
|
38593
|
+
function usersLogsUserIntoTheSystem(client, request, options) {
|
|
38594
|
+
return new APIPromise($do7(client, request, options));
|
|
37722
38595
|
}
|
|
37723
|
-
async function $
|
|
38596
|
+
async function $do7(client, request, options) {
|
|
37724
38597
|
const parsed = safeParse(request, (value) => LogsUserIntoTheSystemRequestBody$outboundSchema.parse(value), "Input validation failed");
|
|
37725
38598
|
if (!parsed.ok) {
|
|
37726
38599
|
return [parsed, { status: "invalid" }];
|
|
@@ -37772,7 +38645,7 @@ async function $do5(client, request, options) {
|
|
|
37772
38645
|
}
|
|
37773
38646
|
return [result, { status: "complete", request: req, response }];
|
|
37774
38647
|
}
|
|
37775
|
-
var
|
|
38648
|
+
var init_usersLogsUserIntoTheSystem = __esm(() => {
|
|
37776
38649
|
init_encodings();
|
|
37777
38650
|
init_matchers();
|
|
37778
38651
|
init_primitives();
|
|
@@ -37783,17 +38656,17 @@ var init_userLogsUserIntoTheSystem = __esm(() => {
|
|
|
37783
38656
|
init_async();
|
|
37784
38657
|
});
|
|
37785
38658
|
|
|
37786
|
-
// src/mcp-server/tools/
|
|
37787
|
-
var
|
|
37788
|
-
var
|
|
37789
|
-
|
|
38659
|
+
// src/mcp-server/tools/usersLogsUserIntoTheSystem.ts
|
|
38660
|
+
var args6, tool$usersLogsUserIntoTheSystem;
|
|
38661
|
+
var init_usersLogsUserIntoTheSystem2 = __esm(() => {
|
|
38662
|
+
init_usersLogsUserIntoTheSystem();
|
|
37790
38663
|
init_operations();
|
|
37791
38664
|
init_tools();
|
|
37792
|
-
|
|
38665
|
+
args6 = {
|
|
37793
38666
|
request: LogsUserIntoTheSystemRequestBody$inboundSchema
|
|
37794
38667
|
};
|
|
37795
|
-
tool$
|
|
37796
|
-
name: "
|
|
38668
|
+
tool$usersLogsUserIntoTheSystem = {
|
|
38669
|
+
name: "users_logs-user-into-the-system",
|
|
37797
38670
|
description: `Logs user into the system
|
|
37798
38671
|
|
|
37799
38672
|
This endpoint allows a user to authenticate themselves and retrieve a permanent token for access.
|
|
@@ -37827,9 +38700,9 @@ Requires: \`saml_login\`
|
|
|
37827
38700
|
3. Site redirects to your selected \`return_url\`
|
|
37828
38701
|
4. The \`user_token\` will be appended as a query string parameter to your \`return_url\` - you must parse this token and store it
|
|
37829
38702
|
5. Fetch the user object from \`/users/me\` using the token`,
|
|
37830
|
-
args:
|
|
37831
|
-
tool: async (client,
|
|
37832
|
-
const [result, apiCall] = await
|
|
38703
|
+
args: args6,
|
|
38704
|
+
tool: async (client, args7, ctx) => {
|
|
38705
|
+
const [result, apiCall] = await usersLogsUserIntoTheSystem(client, args7.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
37833
38706
|
if (!result.ok) {
|
|
37834
38707
|
return {
|
|
37835
38708
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -37842,11 +38715,11 @@ Requires: \`saml_login\`
|
|
|
37842
38715
|
};
|
|
37843
38716
|
});
|
|
37844
38717
|
|
|
37845
|
-
// src/funcs/
|
|
37846
|
-
function
|
|
37847
|
-
return new APIPromise($
|
|
38718
|
+
// src/funcs/usersMagiclink.ts
|
|
38719
|
+
function usersMagiclink(client, request, options) {
|
|
38720
|
+
return new APIPromise($do8(client, request, options));
|
|
37848
38721
|
}
|
|
37849
|
-
async function $
|
|
38722
|
+
async function $do8(client, request, options) {
|
|
37850
38723
|
const parsed = safeParse(request, (value) => MagiclinkRequestBody$outboundSchema.parse(value), "Input validation failed");
|
|
37851
38724
|
if (!parsed.ok) {
|
|
37852
38725
|
return [parsed, { status: "invalid" }];
|
|
@@ -37895,13 +38768,13 @@ async function $do6(client, request, options) {
|
|
|
37895
38768
|
const responseFields = {
|
|
37896
38769
|
HttpMeta: { Response: response, Request: req }
|
|
37897
38770
|
};
|
|
37898
|
-
const [result] = await match(json(200,
|
|
38771
|
+
const [result] = await match(json(200, MagiclinkMagiclinkOk$inboundSchema), jsonErr(404, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
|
|
37899
38772
|
if (!result.ok) {
|
|
37900
38773
|
return [result, { status: "complete", request: req, response }];
|
|
37901
38774
|
}
|
|
37902
38775
|
return [result, { status: "complete", request: req, response }];
|
|
37903
38776
|
}
|
|
37904
|
-
var
|
|
38777
|
+
var init_usersMagiclink = __esm(() => {
|
|
37905
38778
|
init_encodings();
|
|
37906
38779
|
init_matchers();
|
|
37907
38780
|
init_primitives();
|
|
@@ -37913,23 +38786,23 @@ var init_userMagiclink = __esm(() => {
|
|
|
37913
38786
|
init_async();
|
|
37914
38787
|
});
|
|
37915
38788
|
|
|
37916
|
-
// src/mcp-server/tools/
|
|
37917
|
-
var
|
|
37918
|
-
var
|
|
37919
|
-
|
|
38789
|
+
// src/mcp-server/tools/usersMagiclink.ts
|
|
38790
|
+
var args7, tool$usersMagiclink;
|
|
38791
|
+
var init_usersMagiclink2 = __esm(() => {
|
|
38792
|
+
init_usersMagiclink();
|
|
37920
38793
|
init_operations();
|
|
37921
38794
|
init_tools();
|
|
37922
|
-
|
|
38795
|
+
args7 = {
|
|
37923
38796
|
request: MagiclinkRequestBody$inboundSchema
|
|
37924
38797
|
};
|
|
37925
|
-
tool$
|
|
37926
|
-
name: "
|
|
38798
|
+
tool$usersMagiclink = {
|
|
38799
|
+
name: "users_magiclink",
|
|
37927
38800
|
description: `Magic link
|
|
37928
38801
|
|
|
37929
38802
|
It sends an email with a magic link to allow the user to log in.`,
|
|
37930
|
-
args:
|
|
37931
|
-
tool: async (client,
|
|
37932
|
-
const [result, apiCall] = await
|
|
38803
|
+
args: args7,
|
|
38804
|
+
tool: async (client, args8, ctx) => {
|
|
38805
|
+
const [result, apiCall] = await usersMagiclink(client, args8.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
37933
38806
|
if (!result.ok) {
|
|
37934
38807
|
return {
|
|
37935
38808
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -37942,11 +38815,11 @@ It sends an email with a magic link to allow the user to log in.`,
|
|
|
37942
38815
|
};
|
|
37943
38816
|
});
|
|
37944
38817
|
|
|
37945
|
-
// src/funcs/
|
|
37946
|
-
function
|
|
37947
|
-
return new APIPromise($
|
|
38818
|
+
// src/funcs/usersPassword.ts
|
|
38819
|
+
function usersPassword(client, request, options) {
|
|
38820
|
+
return new APIPromise($do9(client, request, options));
|
|
37948
38821
|
}
|
|
37949
|
-
async function $
|
|
38822
|
+
async function $do9(client, request, options) {
|
|
37950
38823
|
const parsed = safeParse(request, (value) => PasswordRequestBody$outboundSchema.parse(value), "Input validation failed");
|
|
37951
38824
|
if (!parsed.ok) {
|
|
37952
38825
|
return [parsed, { status: "invalid" }];
|
|
@@ -37995,13 +38868,13 @@ async function $do7(client, request, options) {
|
|
|
37995
38868
|
const responseFields = {
|
|
37996
38869
|
HttpMeta: { Response: response, Request: req }
|
|
37997
38870
|
};
|
|
37998
|
-
const [result] = await match(json(200,
|
|
38871
|
+
const [result] = await match(json(200, PasswordPasswordOk$inboundSchema), jsonErr(404, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
|
|
37999
38872
|
if (!result.ok) {
|
|
38000
38873
|
return [result, { status: "complete", request: req, response }];
|
|
38001
38874
|
}
|
|
38002
38875
|
return [result, { status: "complete", request: req, response }];
|
|
38003
38876
|
}
|
|
38004
|
-
var
|
|
38877
|
+
var init_usersPassword = __esm(() => {
|
|
38005
38878
|
init_encodings();
|
|
38006
38879
|
init_matchers();
|
|
38007
38880
|
init_primitives();
|
|
@@ -38013,24 +38886,24 @@ var init_userPassword = __esm(() => {
|
|
|
38013
38886
|
init_async();
|
|
38014
38887
|
});
|
|
38015
38888
|
|
|
38016
|
-
// src/mcp-server/tools/
|
|
38017
|
-
var
|
|
38018
|
-
var
|
|
38019
|
-
|
|
38889
|
+
// src/mcp-server/tools/usersPassword.ts
|
|
38890
|
+
var args8, tool$usersPassword;
|
|
38891
|
+
var init_usersPassword2 = __esm(() => {
|
|
38892
|
+
init_usersPassword();
|
|
38020
38893
|
init_operations();
|
|
38021
38894
|
init_tools();
|
|
38022
|
-
|
|
38895
|
+
args8 = {
|
|
38023
38896
|
request: PasswordRequestBody$inboundSchema
|
|
38024
38897
|
};
|
|
38025
|
-
tool$
|
|
38026
|
-
name: "
|
|
38898
|
+
tool$usersPassword = {
|
|
38899
|
+
name: "users_password",
|
|
38027
38900
|
description: `Password reset
|
|
38028
38901
|
|
|
38029
38902
|
Resets the a user's password using a password_reset_id that was sent to them via email.
|
|
38030
38903
|
See /users/passwordresetrequest to initiate a password reset flow.`,
|
|
38031
|
-
args:
|
|
38032
|
-
tool: async (client,
|
|
38033
|
-
const [result, apiCall] = await
|
|
38904
|
+
args: args8,
|
|
38905
|
+
tool: async (client, args9, ctx) => {
|
|
38906
|
+
const [result, apiCall] = await usersPassword(client, args9.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
38034
38907
|
if (!result.ok) {
|
|
38035
38908
|
return {
|
|
38036
38909
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -38043,11 +38916,11 @@ See /users/passwordresetrequest to initiate a password reset flow.`,
|
|
|
38043
38916
|
};
|
|
38044
38917
|
});
|
|
38045
38918
|
|
|
38046
|
-
// src/funcs/
|
|
38047
|
-
function
|
|
38048
|
-
return new APIPromise($
|
|
38919
|
+
// src/funcs/usersPasswordResetRequest.ts
|
|
38920
|
+
function usersPasswordResetRequest(client, request, options) {
|
|
38921
|
+
return new APIPromise($do10(client, request, options));
|
|
38049
38922
|
}
|
|
38050
|
-
async function $
|
|
38923
|
+
async function $do10(client, request, options) {
|
|
38051
38924
|
const parsed = safeParse(request, (value) => PasswordResetRequestRequestBody$outboundSchema.parse(value), "Input validation failed");
|
|
38052
38925
|
if (!parsed.ok) {
|
|
38053
38926
|
return [parsed, { status: "invalid" }];
|
|
@@ -38096,13 +38969,13 @@ async function $do8(client, request, options) {
|
|
|
38096
38969
|
const responseFields = {
|
|
38097
38970
|
HttpMeta: { Response: response, Request: req }
|
|
38098
38971
|
};
|
|
38099
|
-
const [result] = await match(json(200,
|
|
38972
|
+
const [result] = await match(json(200, PasswordResetRequestPasswordResetRequestOk$inboundSchema), jsonErr(404, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
|
|
38100
38973
|
if (!result.ok) {
|
|
38101
38974
|
return [result, { status: "complete", request: req, response }];
|
|
38102
38975
|
}
|
|
38103
38976
|
return [result, { status: "complete", request: req, response }];
|
|
38104
38977
|
}
|
|
38105
|
-
var
|
|
38978
|
+
var init_usersPasswordResetRequest = __esm(() => {
|
|
38106
38979
|
init_encodings();
|
|
38107
38980
|
init_matchers();
|
|
38108
38981
|
init_primitives();
|
|
@@ -38114,23 +38987,23 @@ var init_userPasswordResetRequest = __esm(() => {
|
|
|
38114
38987
|
init_async();
|
|
38115
38988
|
});
|
|
38116
38989
|
|
|
38117
|
-
// src/mcp-server/tools/
|
|
38118
|
-
var
|
|
38119
|
-
var
|
|
38120
|
-
|
|
38990
|
+
// src/mcp-server/tools/usersPasswordResetRequest.ts
|
|
38991
|
+
var args9, tool$usersPasswordResetRequest;
|
|
38992
|
+
var init_usersPasswordResetRequest2 = __esm(() => {
|
|
38993
|
+
init_usersPasswordResetRequest();
|
|
38121
38994
|
init_operations();
|
|
38122
38995
|
init_tools();
|
|
38123
|
-
|
|
38996
|
+
args9 = {
|
|
38124
38997
|
request: PasswordResetRequestRequestBody$inboundSchema
|
|
38125
38998
|
};
|
|
38126
|
-
tool$
|
|
38127
|
-
name: "
|
|
38999
|
+
tool$usersPasswordResetRequest = {
|
|
39000
|
+
name: "users_password-reset-request",
|
|
38128
39001
|
description: `Password reset request
|
|
38129
39002
|
|
|
38130
39003
|
It sends an email with a link for resetting a user's password.`,
|
|
38131
|
-
args:
|
|
38132
|
-
tool: async (client,
|
|
38133
|
-
const [result, apiCall] = await
|
|
39004
|
+
args: args9,
|
|
39005
|
+
tool: async (client, args10, ctx) => {
|
|
39006
|
+
const [result, apiCall] = await usersPasswordResetRequest(client, args10.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
38134
39007
|
if (!result.ok) {
|
|
38135
39008
|
return {
|
|
38136
39009
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -38145,9 +39018,9 @@ It sends an email with a link for resetting a user's password.`,
|
|
|
38145
39018
|
|
|
38146
39019
|
// src/funcs/vendorsCreateVendorRegistration.ts
|
|
38147
39020
|
function vendorsCreateVendorRegistration(client, request, options) {
|
|
38148
|
-
return new APIPromise($
|
|
39021
|
+
return new APIPromise($do11(client, request, options));
|
|
38149
39022
|
}
|
|
38150
|
-
async function $
|
|
39023
|
+
async function $do11(client, request, options) {
|
|
38151
39024
|
const parsed = safeParse(request, (value) => CreateVendorRegistrationRequestBody$outboundSchema.parse(value), "Input validation failed");
|
|
38152
39025
|
if (!parsed.ok) {
|
|
38153
39026
|
return [parsed, { status: "invalid" }];
|
|
@@ -38193,7 +39066,7 @@ async function $do9(client, request, options) {
|
|
|
38193
39066
|
const responseFields = {
|
|
38194
39067
|
HttpMeta: { Response: response, Request: req }
|
|
38195
39068
|
};
|
|
38196
|
-
const [result] = await match(json(201,
|
|
39069
|
+
const [result] = await match(json(201, CreateVendorRegistrationCreateVendorRegistrationCreated$inboundSchema), jsonErr([400, 401, 403, 409], ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
|
|
38197
39070
|
if (!result.ok) {
|
|
38198
39071
|
return [result, { status: "complete", request: req, response }];
|
|
38199
39072
|
}
|
|
@@ -38211,12 +39084,12 @@ var init_vendorsCreateVendorRegistration = __esm(() => {
|
|
|
38211
39084
|
});
|
|
38212
39085
|
|
|
38213
39086
|
// src/mcp-server/tools/vendorsCreateVendorRegistration.ts
|
|
38214
|
-
var
|
|
39087
|
+
var args10, tool$vendorsCreateVendorRegistration;
|
|
38215
39088
|
var init_vendorsCreateVendorRegistration2 = __esm(() => {
|
|
38216
39089
|
init_vendorsCreateVendorRegistration();
|
|
38217
39090
|
init_operations();
|
|
38218
39091
|
init_tools();
|
|
38219
|
-
|
|
39092
|
+
args10 = {
|
|
38220
39093
|
request: CreateVendorRegistrationRequestBody$inboundSchema
|
|
38221
39094
|
};
|
|
38222
39095
|
tool$vendorsCreateVendorRegistration = {
|
|
@@ -38224,9 +39097,9 @@ var init_vendorsCreateVendorRegistration2 = __esm(() => {
|
|
|
38224
39097
|
description: `Create vendor registration
|
|
38225
39098
|
|
|
38226
39099
|
Create an initial vendor registration. Once successful, the vendor will be able to continue to filling out the rest of their onboarding profile.`,
|
|
38227
|
-
args:
|
|
38228
|
-
tool: async (client,
|
|
38229
|
-
const [result, apiCall] = await vendorsCreateVendorRegistration(client,
|
|
39100
|
+
args: args10,
|
|
39101
|
+
tool: async (client, args11, ctx) => {
|
|
39102
|
+
const [result, apiCall] = await vendorsCreateVendorRegistration(client, args11.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
38230
39103
|
if (!result.ok) {
|
|
38231
39104
|
return {
|
|
38232
39105
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -38239,14 +39112,378 @@ Create an initial vendor registration. Once successful, the vendor will be able
|
|
|
38239
39112
|
};
|
|
38240
39113
|
});
|
|
38241
39114
|
|
|
39115
|
+
// src/funcs/vendorsExpediteTimeRemaining.ts
|
|
39116
|
+
function vendorsExpediteTimeRemaining(client, request, options) {
|
|
39117
|
+
return new APIPromise($do12(client, request, options));
|
|
39118
|
+
}
|
|
39119
|
+
async function $do12(client, request, options) {
|
|
39120
|
+
const parsed = safeParse(request, (value) => ExpediteTimeRemainingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
39121
|
+
if (!parsed.ok) {
|
|
39122
|
+
return [parsed, { status: "invalid" }];
|
|
39123
|
+
}
|
|
39124
|
+
const payload = parsed.value;
|
|
39125
|
+
const body = null;
|
|
39126
|
+
const pathParams = {
|
|
39127
|
+
vendor_id_or_me: encodeSimple("vendor_id_or_me", payload.vendor_id_or_me, {
|
|
39128
|
+
explode: false,
|
|
39129
|
+
charEncoding: "percent"
|
|
39130
|
+
})
|
|
39131
|
+
};
|
|
39132
|
+
const path = pathToFunc("/vendors/{vendor_id_or_me}/expedite-time-remaining")(pathParams);
|
|
39133
|
+
const headers = new Headers(compactMap({
|
|
39134
|
+
Accept: "application/json"
|
|
39135
|
+
}));
|
|
39136
|
+
const securityInput = await extractSecurity(client._options.security);
|
|
39137
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
39138
|
+
const context = {
|
|
39139
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
39140
|
+
operationID: "expediteTimeRemaining",
|
|
39141
|
+
oAuth2Scopes: [],
|
|
39142
|
+
resolvedSecurity: requestSecurity,
|
|
39143
|
+
securitySource: client._options.security,
|
|
39144
|
+
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
39145
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
39146
|
+
};
|
|
39147
|
+
const requestRes = client._createRequest(context, {
|
|
39148
|
+
security: requestSecurity,
|
|
39149
|
+
method: "GET",
|
|
39150
|
+
baseURL: options?.serverURL,
|
|
39151
|
+
path,
|
|
39152
|
+
headers,
|
|
39153
|
+
body,
|
|
39154
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
39155
|
+
}, options);
|
|
39156
|
+
if (!requestRes.ok) {
|
|
39157
|
+
return [requestRes, { status: "invalid" }];
|
|
39158
|
+
}
|
|
39159
|
+
const req = requestRes.value;
|
|
39160
|
+
const doResult = await client._do(req, {
|
|
39161
|
+
context,
|
|
39162
|
+
errorCodes: ["400", "401", "4XX", "5XX"],
|
|
39163
|
+
retryConfig: context.retryConfig,
|
|
39164
|
+
retryCodes: context.retryCodes
|
|
39165
|
+
});
|
|
39166
|
+
if (!doResult.ok) {
|
|
39167
|
+
return [doResult, { status: "request-error", request: req }];
|
|
39168
|
+
}
|
|
39169
|
+
const response = doResult.value;
|
|
39170
|
+
const responseFields = {
|
|
39171
|
+
HttpMeta: { Response: response, Request: req }
|
|
39172
|
+
};
|
|
39173
|
+
const [result] = await match(json(200, ExpediteTimeRemainingResponseBody$inboundSchema), jsonErr([400, 401], ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
|
|
39174
|
+
if (!result.ok) {
|
|
39175
|
+
return [result, { status: "complete", request: req, response }];
|
|
39176
|
+
}
|
|
39177
|
+
return [result, { status: "complete", request: req, response }];
|
|
39178
|
+
}
|
|
39179
|
+
var init_vendorsExpediteTimeRemaining = __esm(() => {
|
|
39180
|
+
init_encodings();
|
|
39181
|
+
init_matchers();
|
|
39182
|
+
init_primitives();
|
|
39183
|
+
init_schemas();
|
|
39184
|
+
init_security();
|
|
39185
|
+
init_url();
|
|
39186
|
+
init_errors();
|
|
39187
|
+
init_operations();
|
|
39188
|
+
init_async();
|
|
39189
|
+
});
|
|
39190
|
+
|
|
39191
|
+
// src/mcp-server/tools/vendorsExpediteTimeRemaining.ts
|
|
39192
|
+
var args11, tool$vendorsExpediteTimeRemaining;
|
|
39193
|
+
var init_vendorsExpediteTimeRemaining2 = __esm(() => {
|
|
39194
|
+
init_vendorsExpediteTimeRemaining();
|
|
39195
|
+
init_operations();
|
|
39196
|
+
init_tools();
|
|
39197
|
+
args11 = {
|
|
39198
|
+
request: ExpediteTimeRemainingRequest$inboundSchema
|
|
39199
|
+
};
|
|
39200
|
+
tool$vendorsExpediteTimeRemaining = {
|
|
39201
|
+
name: "vendors_expedite-time-remaining",
|
|
39202
|
+
description: `Expedite time remaining
|
|
39203
|
+
|
|
39204
|
+
For vendors who have a paid 24-hour expedite credentials invoice, get the remaining time (in seconds) for which submitted credentials will be expedited.`,
|
|
39205
|
+
args: args11,
|
|
39206
|
+
tool: async (client, args12, ctx) => {
|
|
39207
|
+
const [result, apiCall] = await vendorsExpediteTimeRemaining(client, args12.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
39208
|
+
if (!result.ok) {
|
|
39209
|
+
return {
|
|
39210
|
+
content: [{ type: "text", text: result.error.message }],
|
|
39211
|
+
isError: true
|
|
39212
|
+
};
|
|
39213
|
+
}
|
|
39214
|
+
const value = result.value;
|
|
39215
|
+
return formatResult(value, apiCall);
|
|
39216
|
+
}
|
|
39217
|
+
};
|
|
39218
|
+
});
|
|
39219
|
+
|
|
39220
|
+
// src/funcs/vendorsListVendorCredentials.ts
|
|
39221
|
+
function vendorsListVendorCredentials(client, request, options) {
|
|
39222
|
+
return new APIPromise($do13(client, request, options));
|
|
39223
|
+
}
|
|
39224
|
+
async function $do13(client, request, options) {
|
|
39225
|
+
const parsed = safeParse(request, (value) => ListVendorCredentialsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
39226
|
+
if (!parsed.ok) {
|
|
39227
|
+
return [parsed, { status: "invalid" }];
|
|
39228
|
+
}
|
|
39229
|
+
const payload = parsed.value;
|
|
39230
|
+
const body = null;
|
|
39231
|
+
const pathParams = {
|
|
39232
|
+
vendor_id: encodeSimple("vendor_id", payload.vendor_id, {
|
|
39233
|
+
explode: false,
|
|
39234
|
+
charEncoding: "percent"
|
|
39235
|
+
})
|
|
39236
|
+
};
|
|
39237
|
+
const path = pathToFunc("/vendors/{vendor_id}/credentials")(pathParams);
|
|
39238
|
+
const query = encodeFormQuery({
|
|
39239
|
+
credential_status: payload.credential_status,
|
|
39240
|
+
facility_id: payload.facility_id,
|
|
39241
|
+
include_cc: payload.include_cc,
|
|
39242
|
+
include_vc: payload.include_vc,
|
|
39243
|
+
urgent: payload.urgent
|
|
39244
|
+
});
|
|
39245
|
+
const headers = new Headers(compactMap({
|
|
39246
|
+
Accept: "application/json"
|
|
39247
|
+
}));
|
|
39248
|
+
const securityInput = await extractSecurity(client._options.security);
|
|
39249
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
39250
|
+
const context = {
|
|
39251
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
39252
|
+
operationID: "listVendorCredentials",
|
|
39253
|
+
oAuth2Scopes: [],
|
|
39254
|
+
resolvedSecurity: requestSecurity,
|
|
39255
|
+
securitySource: client._options.security,
|
|
39256
|
+
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
39257
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
39258
|
+
};
|
|
39259
|
+
const requestRes = client._createRequest(context, {
|
|
39260
|
+
security: requestSecurity,
|
|
39261
|
+
method: "GET",
|
|
39262
|
+
baseURL: options?.serverURL,
|
|
39263
|
+
path,
|
|
39264
|
+
headers,
|
|
39265
|
+
query,
|
|
39266
|
+
body,
|
|
39267
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
39268
|
+
}, options);
|
|
39269
|
+
if (!requestRes.ok) {
|
|
39270
|
+
return [requestRes, { status: "invalid" }];
|
|
39271
|
+
}
|
|
39272
|
+
const req = requestRes.value;
|
|
39273
|
+
const doResult = await client._do(req, {
|
|
39274
|
+
context,
|
|
39275
|
+
errorCodes: ["4XX", "5XX"],
|
|
39276
|
+
retryConfig: context.retryConfig,
|
|
39277
|
+
retryCodes: context.retryCodes
|
|
39278
|
+
});
|
|
39279
|
+
if (!doResult.ok) {
|
|
39280
|
+
return [doResult, { status: "request-error", request: req }];
|
|
39281
|
+
}
|
|
39282
|
+
const response = doResult.value;
|
|
39283
|
+
const [result] = await match(json(200, ListVendorCredentialsResponseBody$inboundSchema), fail("4XX"), fail("5XX"))(response);
|
|
39284
|
+
if (!result.ok) {
|
|
39285
|
+
return [result, { status: "complete", request: req, response }];
|
|
39286
|
+
}
|
|
39287
|
+
return [result, { status: "complete", request: req, response }];
|
|
39288
|
+
}
|
|
39289
|
+
var init_vendorsListVendorCredentials = __esm(() => {
|
|
39290
|
+
init_encodings();
|
|
39291
|
+
init_matchers();
|
|
39292
|
+
init_primitives();
|
|
39293
|
+
init_schemas();
|
|
39294
|
+
init_security();
|
|
39295
|
+
init_url();
|
|
39296
|
+
init_operations();
|
|
39297
|
+
init_async();
|
|
39298
|
+
});
|
|
39299
|
+
|
|
39300
|
+
// src/mcp-server/tools/vendorsListVendorCredentials.ts
|
|
39301
|
+
var args12, tool$vendorsListVendorCredentials;
|
|
39302
|
+
var init_vendorsListVendorCredentials2 = __esm(() => {
|
|
39303
|
+
init_vendorsListVendorCredentials();
|
|
39304
|
+
init_operations();
|
|
39305
|
+
init_tools();
|
|
39306
|
+
args12 = {
|
|
39307
|
+
request: ListVendorCredentialsRequest$inboundSchema
|
|
39308
|
+
};
|
|
39309
|
+
tool$vendorsListVendorCredentials = {
|
|
39310
|
+
name: "vendors_list-vendor-credentials",
|
|
39311
|
+
description: `List Vendor Credentials
|
|
39312
|
+
|
|
39313
|
+
Lists vendor credentials, required credentials, and company credentials. Utilized in Vendor Dashboard.`,
|
|
39314
|
+
args: args12,
|
|
39315
|
+
tool: async (client, args13, ctx) => {
|
|
39316
|
+
const [result, apiCall] = await vendorsListVendorCredentials(client, args13.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
39317
|
+
if (!result.ok) {
|
|
39318
|
+
return {
|
|
39319
|
+
content: [{ type: "text", text: result.error.message }],
|
|
39320
|
+
isError: true
|
|
39321
|
+
};
|
|
39322
|
+
}
|
|
39323
|
+
const value = result.value;
|
|
39324
|
+
return formatResult(value, apiCall);
|
|
39325
|
+
}
|
|
39326
|
+
};
|
|
39327
|
+
});
|
|
39328
|
+
|
|
39329
|
+
// src/funcs/vendorsListVendorInvoices.ts
|
|
39330
|
+
function vendorsListVendorInvoices(client, request, options) {
|
|
39331
|
+
return new APIPromise($do14(client, request, options));
|
|
39332
|
+
}
|
|
39333
|
+
async function $do14(client, request, options) {
|
|
39334
|
+
const parsed = safeParse(request, (value) => ListVendorInvoicesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
39335
|
+
if (!parsed.ok) {
|
|
39336
|
+
return [haltIterator(parsed), { status: "invalid" }];
|
|
39337
|
+
}
|
|
39338
|
+
const payload = parsed.value;
|
|
39339
|
+
const body = null;
|
|
39340
|
+
const pathParams = {
|
|
39341
|
+
vendor_id_or_me: encodeSimple("vendor_id_or_me", payload.vendor_id_or_me, {
|
|
39342
|
+
explode: false,
|
|
39343
|
+
charEncoding: "percent"
|
|
39344
|
+
})
|
|
39345
|
+
};
|
|
39346
|
+
const path = pathToFunc("/vendors/{vendor_id_or_me}/invoices")(pathParams);
|
|
39347
|
+
const query = queryJoin(encodeFormQuery({
|
|
39348
|
+
expand: payload.expand
|
|
39349
|
+
}, { explode: false }), encodeFormQuery({
|
|
39350
|
+
desc: payload.desc,
|
|
39351
|
+
items_per_page: payload.items_per_page,
|
|
39352
|
+
page: payload.page,
|
|
39353
|
+
sort: payload.sort
|
|
39354
|
+
}));
|
|
39355
|
+
const headers = new Headers(compactMap({
|
|
39356
|
+
Accept: "application/json"
|
|
39357
|
+
}));
|
|
39358
|
+
const securityInput = await extractSecurity(client._options.security);
|
|
39359
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
39360
|
+
const context = {
|
|
39361
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
39362
|
+
operationID: "listVendorInvoices",
|
|
39363
|
+
oAuth2Scopes: [],
|
|
39364
|
+
resolvedSecurity: requestSecurity,
|
|
39365
|
+
securitySource: client._options.security,
|
|
39366
|
+
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
39367
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
39368
|
+
};
|
|
39369
|
+
const requestRes = client._createRequest(context, {
|
|
39370
|
+
security: requestSecurity,
|
|
39371
|
+
method: "GET",
|
|
39372
|
+
baseURL: options?.serverURL,
|
|
39373
|
+
path,
|
|
39374
|
+
headers,
|
|
39375
|
+
query,
|
|
39376
|
+
body,
|
|
39377
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
39378
|
+
}, options);
|
|
39379
|
+
if (!requestRes.ok) {
|
|
39380
|
+
return [haltIterator(requestRes), { status: "invalid" }];
|
|
39381
|
+
}
|
|
39382
|
+
const req = requestRes.value;
|
|
39383
|
+
const doResult = await client._do(req, {
|
|
39384
|
+
context,
|
|
39385
|
+
errorCodes: ["400", "401", "4XX", "5XX"],
|
|
39386
|
+
retryConfig: context.retryConfig,
|
|
39387
|
+
retryCodes: context.retryCodes
|
|
39388
|
+
});
|
|
39389
|
+
if (!doResult.ok) {
|
|
39390
|
+
return [haltIterator(doResult), { status: "request-error", request: req }];
|
|
39391
|
+
}
|
|
39392
|
+
const response = doResult.value;
|
|
39393
|
+
const responseFields = {
|
|
39394
|
+
HttpMeta: { Response: response, Request: req }
|
|
39395
|
+
};
|
|
39396
|
+
const [result, raw] = await match(json(200, ListVendorInvoicesResponse$inboundSchema, {
|
|
39397
|
+
key: "Result"
|
|
39398
|
+
}), jsonErr([400, 401], ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
|
|
39399
|
+
if (!result.ok) {
|
|
39400
|
+
return [haltIterator(result), {
|
|
39401
|
+
status: "complete",
|
|
39402
|
+
request: req,
|
|
39403
|
+
response
|
|
39404
|
+
}];
|
|
39405
|
+
}
|
|
39406
|
+
const nextFunc = (responseData) => {
|
|
39407
|
+
const page2 = request?.page ?? 1;
|
|
39408
|
+
const nextPage = page2 + 1;
|
|
39409
|
+
if (!responseData) {
|
|
39410
|
+
return { next: () => null };
|
|
39411
|
+
}
|
|
39412
|
+
const results = dlv(responseData, "items");
|
|
39413
|
+
if (!Array.isArray(results) || !results.length) {
|
|
39414
|
+
return { next: () => null };
|
|
39415
|
+
}
|
|
39416
|
+
const limit = request?.itemsPerPage ?? 0;
|
|
39417
|
+
if (results.length < limit) {
|
|
39418
|
+
return { next: () => null };
|
|
39419
|
+
}
|
|
39420
|
+
const nextVal = () => vendorsListVendorInvoices(client, {
|
|
39421
|
+
...request,
|
|
39422
|
+
page: nextPage
|
|
39423
|
+
}, options);
|
|
39424
|
+
return { next: nextVal, "~next": { page: nextPage } };
|
|
39425
|
+
};
|
|
39426
|
+
const page = { ...result, ...nextFunc(raw) };
|
|
39427
|
+
return [{ ...page, ...createPageIterator(page, (v2) => !v2.ok) }, {
|
|
39428
|
+
status: "complete",
|
|
39429
|
+
request: req,
|
|
39430
|
+
response
|
|
39431
|
+
}];
|
|
39432
|
+
}
|
|
39433
|
+
var init_vendorsListVendorInvoices = __esm(() => {
|
|
39434
|
+
init_encodings();
|
|
39435
|
+
init_matchers();
|
|
39436
|
+
init_primitives();
|
|
39437
|
+
init_schemas();
|
|
39438
|
+
init_security();
|
|
39439
|
+
init_url();
|
|
39440
|
+
init_errors();
|
|
39441
|
+
init_operations();
|
|
39442
|
+
init_async();
|
|
39443
|
+
init_operations2();
|
|
39444
|
+
});
|
|
39445
|
+
|
|
39446
|
+
// src/mcp-server/tools/vendorsListVendorInvoices.ts
|
|
39447
|
+
var args13, tool$vendorsListVendorInvoices;
|
|
39448
|
+
var init_vendorsListVendorInvoices2 = __esm(() => {
|
|
39449
|
+
init_vendorsListVendorInvoices();
|
|
39450
|
+
init_operations();
|
|
39451
|
+
init_tools();
|
|
39452
|
+
args13 = {
|
|
39453
|
+
request: ListVendorInvoicesRequest$inboundSchema
|
|
39454
|
+
};
|
|
39455
|
+
tool$vendorsListVendorInvoices = {
|
|
39456
|
+
name: "vendors_list-vendor-invoices",
|
|
39457
|
+
description: `List vendor invoices
|
|
39458
|
+
|
|
39459
|
+
List invoices for Vendors
|
|
39460
|
+
|
|
39461
|
+
Available \`expand\` scopes are:
|
|
39462
|
+
|
|
39463
|
+
invoice.line_items`,
|
|
39464
|
+
args: args13,
|
|
39465
|
+
tool: async (client, args14, ctx) => {
|
|
39466
|
+
const [result, apiCall] = await vendorsListVendorInvoices(client, args14.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
39467
|
+
if (!result.ok) {
|
|
39468
|
+
return {
|
|
39469
|
+
content: [{ type: "text", text: result.error.message }],
|
|
39470
|
+
isError: true
|
|
39471
|
+
};
|
|
39472
|
+
}
|
|
39473
|
+
const value = result.value.result;
|
|
39474
|
+
return formatResult(value, apiCall);
|
|
39475
|
+
}
|
|
39476
|
+
};
|
|
39477
|
+
});
|
|
39478
|
+
|
|
38242
39479
|
// src/funcs/vendorsListVendorJobTitles.ts
|
|
38243
39480
|
function vendorsListVendorJobTitles(client, request, options) {
|
|
38244
|
-
return new APIPromise($
|
|
39481
|
+
return new APIPromise($do15(client, request, options));
|
|
38245
39482
|
}
|
|
38246
|
-
async function $
|
|
39483
|
+
async function $do15(client, request, options) {
|
|
38247
39484
|
const parsed = safeParse(request, (value) => ListVendorJobTitlesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
38248
39485
|
if (!parsed.ok) {
|
|
38249
|
-
return [parsed, { status: "invalid" }];
|
|
39486
|
+
return [haltIterator(parsed), { status: "invalid" }];
|
|
38250
39487
|
}
|
|
38251
39488
|
const payload = parsed.value;
|
|
38252
39489
|
const body = null;
|
|
@@ -38280,7 +39517,7 @@ async function $do10(client, request, options) {
|
|
|
38280
39517
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
38281
39518
|
}, options);
|
|
38282
39519
|
if (!requestRes.ok) {
|
|
38283
|
-
return [requestRes, { status: "invalid" }];
|
|
39520
|
+
return [haltIterator(requestRes), { status: "invalid" }];
|
|
38284
39521
|
}
|
|
38285
39522
|
const req = requestRes.value;
|
|
38286
39523
|
const doResult = await client._do(req, {
|
|
@@ -38290,17 +39527,48 @@ async function $do10(client, request, options) {
|
|
|
38290
39527
|
retryCodes: context.retryCodes
|
|
38291
39528
|
});
|
|
38292
39529
|
if (!doResult.ok) {
|
|
38293
|
-
return [doResult, { status: "request-error", request: req }];
|
|
39530
|
+
return [haltIterator(doResult), { status: "request-error", request: req }];
|
|
38294
39531
|
}
|
|
38295
39532
|
const response = doResult.value;
|
|
38296
39533
|
const responseFields = {
|
|
38297
39534
|
HttpMeta: { Response: response, Request: req }
|
|
38298
39535
|
};
|
|
38299
|
-
const [result] = await match(json(200,
|
|
39536
|
+
const [result, raw] = await match(json(200, ListVendorJobTitlesResponse$inboundSchema, {
|
|
39537
|
+
key: "Result"
|
|
39538
|
+
}), jsonErr(403, ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
|
|
38300
39539
|
if (!result.ok) {
|
|
38301
|
-
return [result, {
|
|
38302
|
-
|
|
38303
|
-
|
|
39540
|
+
return [haltIterator(result), {
|
|
39541
|
+
status: "complete",
|
|
39542
|
+
request: req,
|
|
39543
|
+
response
|
|
39544
|
+
}];
|
|
39545
|
+
}
|
|
39546
|
+
const nextFunc = (responseData) => {
|
|
39547
|
+
const page2 = request?.page ?? 1;
|
|
39548
|
+
const nextPage = page2 + 1;
|
|
39549
|
+
if (!responseData) {
|
|
39550
|
+
return { next: () => null };
|
|
39551
|
+
}
|
|
39552
|
+
const results = dlv(responseData, "items");
|
|
39553
|
+
if (!Array.isArray(results) || !results.length) {
|
|
39554
|
+
return { next: () => null };
|
|
39555
|
+
}
|
|
39556
|
+
const limit = request?.itemsPerPage ?? 0;
|
|
39557
|
+
if (results.length < limit) {
|
|
39558
|
+
return { next: () => null };
|
|
39559
|
+
}
|
|
39560
|
+
const nextVal = () => vendorsListVendorJobTitles(client, {
|
|
39561
|
+
...request,
|
|
39562
|
+
page: nextPage
|
|
39563
|
+
}, options);
|
|
39564
|
+
return { next: nextVal, "~next": { page: nextPage } };
|
|
39565
|
+
};
|
|
39566
|
+
const page = { ...result, ...nextFunc(raw) };
|
|
39567
|
+
return [{ ...page, ...createPageIterator(page, (v2) => !v2.ok) }, {
|
|
39568
|
+
status: "complete",
|
|
39569
|
+
request: req,
|
|
39570
|
+
response
|
|
39571
|
+
}];
|
|
38304
39572
|
}
|
|
38305
39573
|
var init_vendorsListVendorJobTitles = __esm(() => {
|
|
38306
39574
|
init_encodings();
|
|
@@ -38311,15 +39579,16 @@ var init_vendorsListVendorJobTitles = __esm(() => {
|
|
|
38311
39579
|
init_errors();
|
|
38312
39580
|
init_operations();
|
|
38313
39581
|
init_async();
|
|
39582
|
+
init_operations2();
|
|
38314
39583
|
});
|
|
38315
39584
|
|
|
38316
39585
|
// src/mcp-server/tools/vendorsListVendorJobTitles.ts
|
|
38317
|
-
var
|
|
39586
|
+
var args14, tool$vendorsListVendorJobTitles;
|
|
38318
39587
|
var init_vendorsListVendorJobTitles2 = __esm(() => {
|
|
38319
39588
|
init_vendorsListVendorJobTitles();
|
|
38320
39589
|
init_operations();
|
|
38321
39590
|
init_tools();
|
|
38322
|
-
|
|
39591
|
+
args14 = {
|
|
38323
39592
|
request: ListVendorJobTitlesRequest$inboundSchema
|
|
38324
39593
|
};
|
|
38325
39594
|
tool$vendorsListVendorJobTitles = {
|
|
@@ -38327,16 +39596,16 @@ var init_vendorsListVendorJobTitles2 = __esm(() => {
|
|
|
38327
39596
|
description: `List vendor job titles
|
|
38328
39597
|
|
|
38329
39598
|
List valid job titles for Vendors. This can be used during sign up or in a filter.`,
|
|
38330
|
-
args:
|
|
38331
|
-
tool: async (client,
|
|
38332
|
-
const [result, apiCall] = await vendorsListVendorJobTitles(client,
|
|
39599
|
+
args: args14,
|
|
39600
|
+
tool: async (client, args15, ctx) => {
|
|
39601
|
+
const [result, apiCall] = await vendorsListVendorJobTitles(client, args15.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
38333
39602
|
if (!result.ok) {
|
|
38334
39603
|
return {
|
|
38335
39604
|
content: [{ type: "text", text: result.error.message }],
|
|
38336
39605
|
isError: true
|
|
38337
39606
|
};
|
|
38338
39607
|
}
|
|
38339
|
-
const value = result.value;
|
|
39608
|
+
const value = result.value.result;
|
|
38340
39609
|
return formatResult(value, apiCall);
|
|
38341
39610
|
}
|
|
38342
39611
|
};
|
|
@@ -38346,7 +39615,7 @@ List valid job titles for Vendors. This can be used during sign up or in a filte
|
|
|
38346
39615
|
function createMCPServer(deps) {
|
|
38347
39616
|
const server = new McpServer({
|
|
38348
39617
|
name: "GreenSecurity",
|
|
38349
|
-
version: "0.
|
|
39618
|
+
version: "0.17.0"
|
|
38350
39619
|
});
|
|
38351
39620
|
const client = new GreenSecurityCore({
|
|
38352
39621
|
security: deps.security,
|
|
@@ -38358,14 +39627,19 @@ function createMCPServer(deps) {
|
|
|
38358
39627
|
const tool = createRegisterTool(deps.logger, server, client, scopes, allowedTools);
|
|
38359
39628
|
tool(tool$vendorsCreateVendorRegistration);
|
|
38360
39629
|
tool(tool$vendorsListVendorJobTitles);
|
|
38361
|
-
tool(tool$
|
|
38362
|
-
tool(tool$
|
|
38363
|
-
tool(tool$
|
|
38364
|
-
tool(tool$
|
|
38365
|
-
tool(tool$
|
|
38366
|
-
tool(tool$
|
|
39630
|
+
tool(tool$vendorsListVendorCredentials);
|
|
39631
|
+
tool(tool$vendorsExpediteTimeRemaining);
|
|
39632
|
+
tool(tool$vendorsListVendorInvoices);
|
|
39633
|
+
tool(tool$usersGetCurrentUser);
|
|
39634
|
+
tool(tool$usersGetUserById);
|
|
39635
|
+
tool(tool$usersLogsUserIntoTheSystem);
|
|
39636
|
+
tool(tool$usersMagiclink);
|
|
39637
|
+
tool(tool$usersPasswordResetRequest);
|
|
39638
|
+
tool(tool$usersPassword);
|
|
38367
39639
|
tool(tool$organizationsListOrSearchFacilities);
|
|
38368
39640
|
tool(tool$organizationsGetFacility);
|
|
39641
|
+
tool(tool$supportArticlesListOrSearchSupportArticles);
|
|
39642
|
+
tool(tool$supportArticlesGetSupportArticle);
|
|
38369
39643
|
return server;
|
|
38370
39644
|
}
|
|
38371
39645
|
var init_server2 = __esm(() => {
|
|
@@ -38375,13 +39649,18 @@ var init_server2 = __esm(() => {
|
|
|
38375
39649
|
init_tools();
|
|
38376
39650
|
init_organizationsGetFacility2();
|
|
38377
39651
|
init_organizationsListOrSearchFacilities2();
|
|
38378
|
-
|
|
38379
|
-
|
|
38380
|
-
|
|
38381
|
-
|
|
38382
|
-
|
|
38383
|
-
|
|
39652
|
+
init_supportArticlesGetSupportArticle2();
|
|
39653
|
+
init_supportArticlesListOrSearchSupportArticles2();
|
|
39654
|
+
init_usersGetCurrentUser2();
|
|
39655
|
+
init_usersGetUserById2();
|
|
39656
|
+
init_usersLogsUserIntoTheSystem2();
|
|
39657
|
+
init_usersMagiclink2();
|
|
39658
|
+
init_usersPassword2();
|
|
39659
|
+
init_usersPasswordResetRequest2();
|
|
38384
39660
|
init_vendorsCreateVendorRegistration2();
|
|
39661
|
+
init_vendorsExpediteTimeRemaining2();
|
|
39662
|
+
init_vendorsListVendorCredentials2();
|
|
39663
|
+
init_vendorsListVendorInvoices2();
|
|
38385
39664
|
init_vendorsListVendorJobTitles2();
|
|
38386
39665
|
});
|
|
38387
39666
|
|
|
@@ -39580,7 +40859,7 @@ var routes = rn({
|
|
|
39580
40859
|
var app = Ve(routes, {
|
|
39581
40860
|
name: "mcp",
|
|
39582
40861
|
versionInfo: {
|
|
39583
|
-
currentVersion: "0.
|
|
40862
|
+
currentVersion: "0.17.0"
|
|
39584
40863
|
}
|
|
39585
40864
|
});
|
|
39586
40865
|
_t(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -39588,5 +40867,5 @@ export {
|
|
|
39588
40867
|
app
|
|
39589
40868
|
};
|
|
39590
40869
|
|
|
39591
|
-
//# debugId=
|
|
40870
|
+
//# debugId=629EB133BA9BB64C64756E2164756E21
|
|
39592
40871
|
//# sourceMappingURL=mcp-server.js.map
|