@greensecurity/javascript-sdk 0.15.1 → 0.16.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/README.md +31 -19
- package/bin/mcp-server.js +834 -198
- package/bin/mcp-server.js.map +45 -32
- package/funcs/organizationsListOrSearchFacilities.d.ts +1 -1
- package/funcs/organizationsListOrSearchFacilities.d.ts.map +1 -1
- package/funcs/organizationsListOrSearchFacilities.js +2 -2
- 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 +16 -0
- package/funcs/supportArticlesListOrSearchSupportArticles.d.ts.map +1 -0
- package/funcs/supportArticlesListOrSearchSupportArticles.js +118 -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/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/vendorsListVendorJobTitles.d.ts +1 -1
- package/funcs/vendorsListVendorJobTitles.d.ts.map +1 -1
- package/funcs/vendorsListVendorJobTitles.js +1 -1
- 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 +19 -13
- package/mcp-server/server.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/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/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 +12 -0
- package/models/components/expand.d.ts.map +1 -1
- package/models/components/expand.js +4 -0
- package/models/components/expand.js.map +1 -1
- package/models/components/index.d.ts +5 -1
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +5 -1
- package/models/components/index.js.map +1 -1
- 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/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 +3 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +3 -0
- package/models/operations/index.js.map +1 -1
- package/models/operations/listorsearchfacilities.d.ts +15 -15
- package/models/operations/listorsearchfacilities.d.ts.map +1 -1
- package/models/operations/listorsearchfacilities.js +20 -18
- package/models/operations/listorsearchfacilities.js.map +1 -1
- package/models/operations/listorsearchsupportarticles.d.ts +81 -0
- package/models/operations/listorsearchsupportarticles.d.ts.map +1 -0
- package/models/operations/listorsearchsupportarticles.js +114 -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/listvendorjobtitles.d.ts +13 -13
- package/models/operations/listvendorjobtitles.d.ts.map +1 -1
- package/models/operations/listvendorjobtitles.js +16 -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 +9 -6
- package/react-query/index.d.ts.map +1 -1
- package/react-query/index.js +9 -6
- package/react-query/index.js.map +1 -1
- package/react-query/organizationsListOrSearchFacilities.d.ts +4 -4
- package/react-query/organizationsListOrSearchFacilities.d.ts.map +1 -1
- package/react-query/organizationsListOrSearchFacilities.js +1 -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 +50 -0
- package/react-query/supportArticlesListOrSearchSupportArticles.d.ts.map +1 -0
- package/react-query/supportArticlesListOrSearchSupportArticles.js +101 -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/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/vendorsListVendorJobTitles.d.ts +1 -1
- package/react-query/vendorsListVendorJobTitles.d.ts.map +1 -1
- package/sdk/organizations.d.ts +1 -1
- package/sdk/organizations.d.ts.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 +27 -0
- package/sdk/supportarticles.d.ts.map +1 -0
- package/sdk/supportarticles.js +39 -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 +9 -2
- package/sdk/vendors.d.ts.map +1 -1
- package/sdk/vendors.js +10 -0
- package/sdk/vendors.js.map +1 -1
- package/src/__tests__/organizations.test.ts +5 -175
- package/src/__tests__/supportarticles.test.ts +63 -0
- package/src/__tests__/user.test.ts +13 -7
- package/src/__tests__/vendors.test.ts +7 -1
- package/src/funcs/organizationsListOrSearchFacilities.ts +8 -5
- package/src/funcs/supportArticlesGetSupportArticle.ts +181 -0
- package/src/funcs/supportArticlesListOrSearchSupportArticles.ts +165 -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/vendorsListVendorCredentials.ts +169 -0
- package/src/funcs/vendorsListVendorJobTitles.ts +7 -4
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +19 -13
- 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/vendorsListVendorCredentials.ts +37 -0
- 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 +4 -0
- package/src/models/components/index.ts +5 -1
- 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/getsupportarticle.ts +77 -0
- package/src/models/operations/index.ts +3 -0
- package/src/models/operations/listorsearchfacilities.ts +49 -37
- package/src/models/operations/listorsearchsupportarticles.ts +186 -0
- package/src/models/operations/listvendorcredentials.ts +281 -0
- package/src/models/operations/listvendorjobtitles.ts +31 -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 +9 -6
- package/src/react-query/organizationsListOrSearchFacilities.ts +5 -5
- package/src/react-query/supportArticlesGetSupportArticle.ts +192 -0
- package/src/react-query/supportArticlesListOrSearchSupportArticles.ts +201 -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/vendorsListVendorCredentials.ts +200 -0
- package/src/react-query/vendorsListVendorJobTitles.ts +1 -1
- package/src/sdk/organizations.ts +1 -1
- package/src/sdk/sdk.ts +10 -4
- package/src/sdk/supportarticles.ts +53 -0
- package/src/sdk/{user.ts → users.ts} +16 -16
- package/src/sdk/vendors.ts +22 -2
- 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.16.0",
|
|
34176
|
+
genVersion: "2.541.0",
|
|
34177
|
+
userAgent: "speakeasy-sdk/typescript 0.16.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,11 @@ 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"
|
|
35815
35857
|
};
|
|
35816
35858
|
Expand$inboundSchema = nativeEnumType(Expand);
|
|
35817
35859
|
Expand$outboundSchema = Expand$inboundSchema;
|
|
@@ -36651,21 +36693,43 @@ var init_security2 = __esm(() => {
|
|
|
36651
36693
|
})(Security$ ||= {});
|
|
36652
36694
|
});
|
|
36653
36695
|
|
|
36654
|
-
// src/models/components/
|
|
36655
|
-
var
|
|
36656
|
-
var
|
|
36696
|
+
// src/models/components/supportarticle.ts
|
|
36697
|
+
var SupportArticle$inboundSchema, SupportArticle$outboundSchema, SupportArticle$;
|
|
36698
|
+
var init_supportarticle = __esm(() => {
|
|
36657
36699
|
init_lib();
|
|
36658
|
-
|
|
36659
|
-
|
|
36660
|
-
|
|
36661
|
-
|
|
36662
|
-
|
|
36663
|
-
|
|
36664
|
-
|
|
36665
|
-
|
|
36666
|
-
|
|
36667
|
-
|
|
36668
|
-
})(
|
|
36700
|
+
init_primitives();
|
|
36701
|
+
SupportArticle$inboundSchema = objectType({
|
|
36702
|
+
id: numberType().int(),
|
|
36703
|
+
title: nullableType(stringType()),
|
|
36704
|
+
description: nullableType(stringType()).optional(),
|
|
36705
|
+
content: nullableType(stringType()).optional(),
|
|
36706
|
+
published: nullableType(booleanType()).optional(),
|
|
36707
|
+
notes: nullableType(stringType()).optional(),
|
|
36708
|
+
video_url: nullableType(stringType()).optional(),
|
|
36709
|
+
category: nullableType(stringType()).optional()
|
|
36710
|
+
}).transform((v2) => {
|
|
36711
|
+
return remap(v2, {
|
|
36712
|
+
video_url: "videoUrl"
|
|
36713
|
+
});
|
|
36714
|
+
});
|
|
36715
|
+
SupportArticle$outboundSchema = objectType({
|
|
36716
|
+
id: numberType().int(),
|
|
36717
|
+
title: nullableType(stringType()),
|
|
36718
|
+
description: nullableType(stringType()).optional(),
|
|
36719
|
+
content: nullableType(stringType()).optional(),
|
|
36720
|
+
published: nullableType(booleanType()).optional(),
|
|
36721
|
+
notes: nullableType(stringType()).optional(),
|
|
36722
|
+
videoUrl: nullableType(stringType()).optional(),
|
|
36723
|
+
category: nullableType(stringType()).optional()
|
|
36724
|
+
}).transform((v2) => {
|
|
36725
|
+
return remap(v2, {
|
|
36726
|
+
videoUrl: "video_url"
|
|
36727
|
+
});
|
|
36728
|
+
});
|
|
36729
|
+
((SupportArticle$) => {
|
|
36730
|
+
SupportArticle$.inboundSchema = SupportArticle$inboundSchema;
|
|
36731
|
+
SupportArticle$.outboundSchema = SupportArticle$outboundSchema;
|
|
36732
|
+
})(SupportArticle$ ||= {});
|
|
36669
36733
|
});
|
|
36670
36734
|
|
|
36671
36735
|
// src/models/components/user.ts
|
|
@@ -36811,6 +36875,47 @@ var init_user = __esm(() => {
|
|
|
36811
36875
|
})(User$ ||= {});
|
|
36812
36876
|
});
|
|
36813
36877
|
|
|
36878
|
+
// src/models/components/vendorcredentialslim.ts
|
|
36879
|
+
var VendorCredentialSlim$inboundSchema, VendorCredentialSlim$outboundSchema, VendorCredentialSlim$;
|
|
36880
|
+
var init_vendorcredentialslim = __esm(() => {
|
|
36881
|
+
init_lib();
|
|
36882
|
+
init_primitives();
|
|
36883
|
+
VendorCredentialSlim$inboundSchema = objectType({
|
|
36884
|
+
id: numberType().int(),
|
|
36885
|
+
status: stringType(),
|
|
36886
|
+
company_id: numberType().int(),
|
|
36887
|
+
date_due: stringType(),
|
|
36888
|
+
date_expires: stringType(),
|
|
36889
|
+
notes: stringType(),
|
|
36890
|
+
expedited: booleanType()
|
|
36891
|
+
}).transform((v2) => {
|
|
36892
|
+
return remap(v2, {
|
|
36893
|
+
company_id: "companyId",
|
|
36894
|
+
date_due: "dateDue",
|
|
36895
|
+
date_expires: "dateExpires"
|
|
36896
|
+
});
|
|
36897
|
+
});
|
|
36898
|
+
VendorCredentialSlim$outboundSchema = objectType({
|
|
36899
|
+
id: numberType().int(),
|
|
36900
|
+
status: stringType(),
|
|
36901
|
+
companyId: numberType().int(),
|
|
36902
|
+
dateDue: stringType(),
|
|
36903
|
+
dateExpires: stringType(),
|
|
36904
|
+
notes: stringType(),
|
|
36905
|
+
expedited: booleanType()
|
|
36906
|
+
}).transform((v2) => {
|
|
36907
|
+
return remap(v2, {
|
|
36908
|
+
companyId: "company_id",
|
|
36909
|
+
dateDue: "date_due",
|
|
36910
|
+
dateExpires: "date_expires"
|
|
36911
|
+
});
|
|
36912
|
+
});
|
|
36913
|
+
((VendorCredentialSlim$) => {
|
|
36914
|
+
VendorCredentialSlim$.inboundSchema = VendorCredentialSlim$inboundSchema;
|
|
36915
|
+
VendorCredentialSlim$.outboundSchema = VendorCredentialSlim$outboundSchema;
|
|
36916
|
+
})(VendorCredentialSlim$ ||= {});
|
|
36917
|
+
});
|
|
36918
|
+
|
|
36814
36919
|
// src/models/components/vendorjobtitle.ts
|
|
36815
36920
|
var VendorJobTitle$inboundSchema, VendorJobTitle$outboundSchema, VendorJobTitle$;
|
|
36816
36921
|
var init_vendorjobtitle = __esm(() => {
|
|
@@ -36829,10 +36934,55 @@ var init_vendorjobtitle = __esm(() => {
|
|
|
36829
36934
|
})(VendorJobTitle$ ||= {});
|
|
36830
36935
|
});
|
|
36831
36936
|
|
|
36937
|
+
// src/models/components/vendorrequiredcredential.ts
|
|
36938
|
+
var VendorRequiredCredential$inboundSchema, VendorRequiredCredential$outboundSchema, VendorRequiredCredential$;
|
|
36939
|
+
var init_vendorrequiredcredential = __esm(() => {
|
|
36940
|
+
init_lib();
|
|
36941
|
+
init_primitives();
|
|
36942
|
+
VendorRequiredCredential$inboundSchema = objectType({
|
|
36943
|
+
id: numberType().int(),
|
|
36944
|
+
vendor_id: numberType().int(),
|
|
36945
|
+
facility_id: nullableType(numberType().int()).optional(),
|
|
36946
|
+
credential_ids: nullableType(stringType()),
|
|
36947
|
+
date_calculated: stringType(),
|
|
36948
|
+
company_credential_ids: nullableType(stringType())
|
|
36949
|
+
}).transform((v2) => {
|
|
36950
|
+
return remap(v2, {
|
|
36951
|
+
vendor_id: "vendorId",
|
|
36952
|
+
facility_id: "facilityId",
|
|
36953
|
+
credential_ids: "credentialIds",
|
|
36954
|
+
date_calculated: "dateCalculated",
|
|
36955
|
+
company_credential_ids: "companyCredentialIds"
|
|
36956
|
+
});
|
|
36957
|
+
});
|
|
36958
|
+
VendorRequiredCredential$outboundSchema = objectType({
|
|
36959
|
+
id: numberType().int(),
|
|
36960
|
+
vendorId: numberType().int(),
|
|
36961
|
+
facilityId: nullableType(numberType().int()).optional(),
|
|
36962
|
+
credentialIds: nullableType(stringType()),
|
|
36963
|
+
dateCalculated: stringType(),
|
|
36964
|
+
companyCredentialIds: nullableType(stringType())
|
|
36965
|
+
}).transform((v2) => {
|
|
36966
|
+
return remap(v2, {
|
|
36967
|
+
vendorId: "vendor_id",
|
|
36968
|
+
facilityId: "facility_id",
|
|
36969
|
+
credentialIds: "credential_ids",
|
|
36970
|
+
dateCalculated: "date_calculated",
|
|
36971
|
+
companyCredentialIds: "company_credential_ids"
|
|
36972
|
+
});
|
|
36973
|
+
});
|
|
36974
|
+
((VendorRequiredCredential$) => {
|
|
36975
|
+
VendorRequiredCredential$.inboundSchema = VendorRequiredCredential$inboundSchema;
|
|
36976
|
+
VendorRequiredCredential$.outboundSchema = VendorRequiredCredential$outboundSchema;
|
|
36977
|
+
})(VendorRequiredCredential$ ||= {});
|
|
36978
|
+
});
|
|
36979
|
+
|
|
36832
36980
|
// src/models/components/index.ts
|
|
36833
36981
|
var init_components = __esm(() => {
|
|
36982
|
+
init_activestatus();
|
|
36834
36983
|
init_company();
|
|
36835
36984
|
init_contact();
|
|
36985
|
+
init_credentialstatus();
|
|
36836
36986
|
init_departmentsummary();
|
|
36837
36987
|
init_desc();
|
|
36838
36988
|
init_expand();
|
|
@@ -36846,10 +36996,12 @@ var init_components = __esm(() => {
|
|
|
36846
36996
|
init_passwordrequiredresponse();
|
|
36847
36997
|
init_samlloginrequiredresponse();
|
|
36848
36998
|
init_security2();
|
|
36849
|
-
|
|
36999
|
+
init_supportarticle();
|
|
36850
37000
|
init_systemsummary();
|
|
36851
37001
|
init_user();
|
|
37002
|
+
init_vendorcredentialslim();
|
|
36852
37003
|
init_vendorjobtitle();
|
|
37004
|
+
init_vendorrequiredcredential();
|
|
36853
37005
|
init_vendortype();
|
|
36854
37006
|
});
|
|
36855
37007
|
|
|
@@ -36900,7 +37052,7 @@ var init_errors = __esm(() => {
|
|
|
36900
37052
|
});
|
|
36901
37053
|
|
|
36902
37054
|
// src/models/operations/createvendorregistration.ts
|
|
36903
|
-
var CreateVendorRegistrationRequestBody$inboundSchema, CreateVendorRegistrationRequestBody$outboundSchema, CreateVendorRegistrationRequestBody$, Data$inboundSchema, Data$outboundSchema, Data$,
|
|
37055
|
+
var CreateVendorRegistrationRequestBody$inboundSchema, CreateVendorRegistrationRequestBody$outboundSchema, CreateVendorRegistrationRequestBody$, Data$inboundSchema, Data$outboundSchema, Data$, CreateVendorRegistrationCreateVendorRegistrationCreated$inboundSchema, CreateVendorRegistrationCreateVendorRegistrationCreated$outboundSchema, CreateVendorRegistrationCreateVendorRegistrationCreated$;
|
|
36904
37056
|
var init_createvendorregistration = __esm(() => {
|
|
36905
37057
|
init_lib();
|
|
36906
37058
|
init_primitives();
|
|
@@ -36942,16 +37094,16 @@ var init_createvendorregistration = __esm(() => {
|
|
|
36942
37094
|
Data$.inboundSchema = Data$inboundSchema;
|
|
36943
37095
|
Data$.outboundSchema = Data$outboundSchema;
|
|
36944
37096
|
})(Data$ ||= {});
|
|
36945
|
-
|
|
37097
|
+
CreateVendorRegistrationCreateVendorRegistrationCreated$inboundSchema = objectType({
|
|
36946
37098
|
data: lazyType(() => Data$inboundSchema)
|
|
36947
37099
|
});
|
|
36948
|
-
|
|
37100
|
+
CreateVendorRegistrationCreateVendorRegistrationCreated$outboundSchema = objectType({
|
|
36949
37101
|
data: lazyType(() => Data$outboundSchema)
|
|
36950
37102
|
});
|
|
36951
|
-
((
|
|
36952
|
-
|
|
36953
|
-
|
|
36954
|
-
})(
|
|
37103
|
+
((CreateVendorRegistrationCreateVendorRegistrationCreated$) => {
|
|
37104
|
+
CreateVendorRegistrationCreateVendorRegistrationCreated$.inboundSchema = CreateVendorRegistrationCreateVendorRegistrationCreated$inboundSchema;
|
|
37105
|
+
CreateVendorRegistrationCreateVendorRegistrationCreated$.outboundSchema = CreateVendorRegistrationCreateVendorRegistrationCreated$outboundSchema;
|
|
37106
|
+
})(CreateVendorRegistrationCreateVendorRegistrationCreated$ ||= {});
|
|
36955
37107
|
});
|
|
36956
37108
|
|
|
36957
37109
|
// src/models/operations/getfacility.ts
|
|
@@ -36970,6 +37122,25 @@ var init_getfacility = __esm(() => {
|
|
|
36970
37122
|
})(GetFacilityRequest$ ||= {});
|
|
36971
37123
|
});
|
|
36972
37124
|
|
|
37125
|
+
// src/models/operations/getsupportarticle.ts
|
|
37126
|
+
var GetSupportArticleRequest$inboundSchema, GetSupportArticleRequest$outboundSchema, GetSupportArticleRequest$;
|
|
37127
|
+
var init_getsupportarticle = __esm(() => {
|
|
37128
|
+
init_lib();
|
|
37129
|
+
init_components();
|
|
37130
|
+
GetSupportArticleRequest$inboundSchema = objectType({
|
|
37131
|
+
id: numberType().int(),
|
|
37132
|
+
expand: arrayType(Expand$inboundSchema).optional()
|
|
37133
|
+
});
|
|
37134
|
+
GetSupportArticleRequest$outboundSchema = objectType({
|
|
37135
|
+
id: numberType().int(),
|
|
37136
|
+
expand: arrayType(Expand$outboundSchema).optional()
|
|
37137
|
+
});
|
|
37138
|
+
((GetSupportArticleRequest$) => {
|
|
37139
|
+
GetSupportArticleRequest$.inboundSchema = GetSupportArticleRequest$inboundSchema;
|
|
37140
|
+
GetSupportArticleRequest$.outboundSchema = GetSupportArticleRequest$outboundSchema;
|
|
37141
|
+
})(GetSupportArticleRequest$ ||= {});
|
|
37142
|
+
});
|
|
37143
|
+
|
|
36973
37144
|
// src/models/operations/getuserbyid.ts
|
|
36974
37145
|
var GetUserByIdRequest$inboundSchema, GetUserByIdRequest$outboundSchema, GetUserByIdRequest$;
|
|
36975
37146
|
var init_getuserbyid = __esm(() => {
|
|
@@ -36987,7 +37158,7 @@ var init_getuserbyid = __esm(() => {
|
|
|
36987
37158
|
});
|
|
36988
37159
|
|
|
36989
37160
|
// src/models/operations/listorsearchfacilities.ts
|
|
36990
|
-
var ListOrSearchFacilitiesRequest$inboundSchema, ListOrSearchFacilitiesRequest$outboundSchema, ListOrSearchFacilitiesRequest$,
|
|
37161
|
+
var ListOrSearchFacilitiesRequest$inboundSchema, ListOrSearchFacilitiesRequest$outboundSchema, ListOrSearchFacilitiesRequest$, ListOrSearchFacilitiesListOrSearchFacilitiesOk$inboundSchema, ListOrSearchFacilitiesListOrSearchFacilitiesOk$outboundSchema, ListOrSearchFacilitiesListOrSearchFacilitiesOk$;
|
|
36991
37162
|
var init_listorsearchfacilities = __esm(() => {
|
|
36992
37163
|
init_lib();
|
|
36993
37164
|
init_primitives();
|
|
@@ -37001,13 +37172,14 @@ var init_listorsearchfacilities = __esm(() => {
|
|
|
37001
37172
|
system_id: numberType().int().optional(),
|
|
37002
37173
|
name_like: stringType().optional(),
|
|
37003
37174
|
state_like: stringType().optional(),
|
|
37004
|
-
|
|
37175
|
+
active_status: ActiveStatus$inboundSchema.default("Active")
|
|
37005
37176
|
}).transform((v2) => {
|
|
37006
37177
|
return remap(v2, {
|
|
37007
37178
|
items_per_page: "itemsPerPage",
|
|
37008
37179
|
system_id: "systemId",
|
|
37009
37180
|
name_like: "nameLike",
|
|
37010
|
-
state_like: "stateLike"
|
|
37181
|
+
state_like: "stateLike",
|
|
37182
|
+
active_status: "activeStatus"
|
|
37011
37183
|
});
|
|
37012
37184
|
});
|
|
37013
37185
|
ListOrSearchFacilitiesRequest$outboundSchema = objectType({
|
|
@@ -37019,35 +37191,162 @@ var init_listorsearchfacilities = __esm(() => {
|
|
|
37019
37191
|
systemId: numberType().int().optional(),
|
|
37020
37192
|
nameLike: stringType().optional(),
|
|
37021
37193
|
stateLike: stringType().optional(),
|
|
37022
|
-
|
|
37194
|
+
activeStatus: ActiveStatus$outboundSchema.default("Active")
|
|
37023
37195
|
}).transform((v2) => {
|
|
37024
37196
|
return remap(v2, {
|
|
37025
37197
|
itemsPerPage: "items_per_page",
|
|
37026
37198
|
systemId: "system_id",
|
|
37027
37199
|
nameLike: "name_like",
|
|
37028
|
-
stateLike: "state_like"
|
|
37200
|
+
stateLike: "state_like",
|
|
37201
|
+
activeStatus: "active_status"
|
|
37029
37202
|
});
|
|
37030
37203
|
});
|
|
37031
37204
|
((ListOrSearchFacilitiesRequest$) => {
|
|
37032
37205
|
ListOrSearchFacilitiesRequest$.inboundSchema = ListOrSearchFacilitiesRequest$inboundSchema;
|
|
37033
37206
|
ListOrSearchFacilitiesRequest$.outboundSchema = ListOrSearchFacilitiesRequest$outboundSchema;
|
|
37034
37207
|
})(ListOrSearchFacilitiesRequest$ ||= {});
|
|
37035
|
-
|
|
37208
|
+
ListOrSearchFacilitiesListOrSearchFacilitiesOk$inboundSchema = objectType({
|
|
37036
37209
|
pager: Pager$inboundSchema,
|
|
37037
37210
|
items: arrayType(Facility$inboundSchema)
|
|
37038
37211
|
});
|
|
37039
|
-
|
|
37212
|
+
ListOrSearchFacilitiesListOrSearchFacilitiesOk$outboundSchema = objectType({
|
|
37040
37213
|
pager: Pager$outboundSchema,
|
|
37041
37214
|
items: arrayType(Facility$outboundSchema)
|
|
37042
37215
|
});
|
|
37043
|
-
((
|
|
37044
|
-
|
|
37045
|
-
|
|
37046
|
-
})(
|
|
37216
|
+
((ListOrSearchFacilitiesListOrSearchFacilitiesOk$) => {
|
|
37217
|
+
ListOrSearchFacilitiesListOrSearchFacilitiesOk$.inboundSchema = ListOrSearchFacilitiesListOrSearchFacilitiesOk$inboundSchema;
|
|
37218
|
+
ListOrSearchFacilitiesListOrSearchFacilitiesOk$.outboundSchema = ListOrSearchFacilitiesListOrSearchFacilitiesOk$outboundSchema;
|
|
37219
|
+
})(ListOrSearchFacilitiesListOrSearchFacilitiesOk$ ||= {});
|
|
37220
|
+
});
|
|
37221
|
+
|
|
37222
|
+
// src/models/operations/listorsearchsupportarticles.ts
|
|
37223
|
+
var ListOrSearchSupportArticlesRequest$inboundSchema, ListOrSearchSupportArticlesRequest$outboundSchema, ListOrSearchSupportArticlesRequest$, ListOrSearchSupportArticlesListOrSearchArticlesOk$inboundSchema, ListOrSearchSupportArticlesListOrSearchArticlesOk$outboundSchema, ListOrSearchSupportArticlesListOrSearchArticlesOk$;
|
|
37224
|
+
var init_listorsearchsupportarticles = __esm(() => {
|
|
37225
|
+
init_lib();
|
|
37226
|
+
init_primitives();
|
|
37227
|
+
init_components();
|
|
37228
|
+
ListOrSearchSupportArticlesRequest$inboundSchema = objectType({
|
|
37229
|
+
sort: nullableType(stringType()).optional(),
|
|
37230
|
+
desc: Desc$inboundSchema.optional(),
|
|
37231
|
+
page: numberType().int().optional(),
|
|
37232
|
+
items_per_page: numberType().int().optional()
|
|
37233
|
+
}).transform((v2) => {
|
|
37234
|
+
return remap(v2, {
|
|
37235
|
+
items_per_page: "itemsPerPage"
|
|
37236
|
+
});
|
|
37237
|
+
});
|
|
37238
|
+
ListOrSearchSupportArticlesRequest$outboundSchema = objectType({
|
|
37239
|
+
sort: nullableType(stringType()).optional(),
|
|
37240
|
+
desc: Desc$outboundSchema.optional(),
|
|
37241
|
+
page: numberType().int().optional(),
|
|
37242
|
+
itemsPerPage: numberType().int().optional()
|
|
37243
|
+
}).transform((v2) => {
|
|
37244
|
+
return remap(v2, {
|
|
37245
|
+
itemsPerPage: "items_per_page"
|
|
37246
|
+
});
|
|
37247
|
+
});
|
|
37248
|
+
((ListOrSearchSupportArticlesRequest$) => {
|
|
37249
|
+
ListOrSearchSupportArticlesRequest$.inboundSchema = ListOrSearchSupportArticlesRequest$inboundSchema;
|
|
37250
|
+
ListOrSearchSupportArticlesRequest$.outboundSchema = ListOrSearchSupportArticlesRequest$outboundSchema;
|
|
37251
|
+
})(ListOrSearchSupportArticlesRequest$ ||= {});
|
|
37252
|
+
ListOrSearchSupportArticlesListOrSearchArticlesOk$inboundSchema = objectType({
|
|
37253
|
+
pager: Pager$inboundSchema,
|
|
37254
|
+
items: arrayType(SupportArticle$inboundSchema)
|
|
37255
|
+
});
|
|
37256
|
+
ListOrSearchSupportArticlesListOrSearchArticlesOk$outboundSchema = objectType({
|
|
37257
|
+
pager: Pager$outboundSchema,
|
|
37258
|
+
items: arrayType(SupportArticle$outboundSchema)
|
|
37259
|
+
});
|
|
37260
|
+
((ListOrSearchSupportArticlesListOrSearchArticlesOk$) => {
|
|
37261
|
+
ListOrSearchSupportArticlesListOrSearchArticlesOk$.inboundSchema = ListOrSearchSupportArticlesListOrSearchArticlesOk$inboundSchema;
|
|
37262
|
+
ListOrSearchSupportArticlesListOrSearchArticlesOk$.outboundSchema = ListOrSearchSupportArticlesListOrSearchArticlesOk$outboundSchema;
|
|
37263
|
+
})(ListOrSearchSupportArticlesListOrSearchArticlesOk$ ||= {});
|
|
37264
|
+
});
|
|
37265
|
+
|
|
37266
|
+
// src/models/operations/listvendorcredentials.ts
|
|
37267
|
+
var ListVendorCredentialsRequest$inboundSchema, ListVendorCredentialsRequest$outboundSchema, ListVendorCredentialsRequest$, Credentials$inboundSchema, Credentials$outboundSchema, Credentials$, ListVendorCredentialsResponseBody$inboundSchema, ListVendorCredentialsResponseBody$outboundSchema, ListVendorCredentialsResponseBody$;
|
|
37268
|
+
var init_listvendorcredentials = __esm(() => {
|
|
37269
|
+
init_lib();
|
|
37270
|
+
init_primitives();
|
|
37271
|
+
init_components();
|
|
37272
|
+
ListVendorCredentialsRequest$inboundSchema = objectType({
|
|
37273
|
+
credential_status: CredentialStatus$inboundSchema.default("Pending Vendor"),
|
|
37274
|
+
facility_id: numberType().optional(),
|
|
37275
|
+
include_vc: numberType().optional(),
|
|
37276
|
+
include_cc: numberType().optional(),
|
|
37277
|
+
urgent: numberType().optional(),
|
|
37278
|
+
vendor_id: numberType().int()
|
|
37279
|
+
}).transform((v2) => {
|
|
37280
|
+
return remap(v2, {
|
|
37281
|
+
credential_status: "credentialStatus",
|
|
37282
|
+
facility_id: "facilityId",
|
|
37283
|
+
include_vc: "includeVc",
|
|
37284
|
+
include_cc: "includeCc",
|
|
37285
|
+
vendor_id: "vendorId"
|
|
37286
|
+
});
|
|
37287
|
+
});
|
|
37288
|
+
ListVendorCredentialsRequest$outboundSchema = objectType({
|
|
37289
|
+
credentialStatus: CredentialStatus$outboundSchema.default("Pending Vendor"),
|
|
37290
|
+
facilityId: numberType().optional(),
|
|
37291
|
+
includeVc: numberType().optional(),
|
|
37292
|
+
includeCc: numberType().optional(),
|
|
37293
|
+
urgent: numberType().optional(),
|
|
37294
|
+
vendorId: numberType().int()
|
|
37295
|
+
}).transform((v2) => {
|
|
37296
|
+
return remap(v2, {
|
|
37297
|
+
credentialStatus: "credential_status",
|
|
37298
|
+
facilityId: "facility_id",
|
|
37299
|
+
includeVc: "include_vc",
|
|
37300
|
+
includeCc: "include_cc",
|
|
37301
|
+
vendorId: "vendor_id"
|
|
37302
|
+
});
|
|
37303
|
+
});
|
|
37304
|
+
((ListVendorCredentialsRequest$) => {
|
|
37305
|
+
ListVendorCredentialsRequest$.inboundSchema = ListVendorCredentialsRequest$inboundSchema;
|
|
37306
|
+
ListVendorCredentialsRequest$.outboundSchema = ListVendorCredentialsRequest$outboundSchema;
|
|
37307
|
+
})(ListVendorCredentialsRequest$ ||= {});
|
|
37308
|
+
Credentials$inboundSchema = objectType({
|
|
37309
|
+
id: numberType().int(),
|
|
37310
|
+
name: stringType()
|
|
37311
|
+
});
|
|
37312
|
+
Credentials$outboundSchema = objectType({
|
|
37313
|
+
id: numberType().int(),
|
|
37314
|
+
name: stringType()
|
|
37315
|
+
});
|
|
37316
|
+
((Credentials$) => {
|
|
37317
|
+
Credentials$.inboundSchema = Credentials$inboundSchema;
|
|
37318
|
+
Credentials$.outboundSchema = Credentials$outboundSchema;
|
|
37319
|
+
})(Credentials$ ||= {});
|
|
37320
|
+
ListVendorCredentialsResponseBody$inboundSchema = objectType({
|
|
37321
|
+
vendor_required_credentials: arrayType(VendorRequiredCredential$inboundSchema),
|
|
37322
|
+
credentials: arrayType(lazyType(() => Credentials$inboundSchema)),
|
|
37323
|
+
vendor_credentials: arrayType(VendorCredentialSlim$inboundSchema),
|
|
37324
|
+
pager: Pager$inboundSchema
|
|
37325
|
+
}).transform((v2) => {
|
|
37326
|
+
return remap(v2, {
|
|
37327
|
+
vendor_required_credentials: "vendorRequiredCredentials",
|
|
37328
|
+
vendor_credentials: "vendorCredentials"
|
|
37329
|
+
});
|
|
37330
|
+
});
|
|
37331
|
+
ListVendorCredentialsResponseBody$outboundSchema = objectType({
|
|
37332
|
+
vendorRequiredCredentials: arrayType(VendorRequiredCredential$outboundSchema),
|
|
37333
|
+
credentials: arrayType(lazyType(() => Credentials$outboundSchema)),
|
|
37334
|
+
vendorCredentials: arrayType(VendorCredentialSlim$outboundSchema),
|
|
37335
|
+
pager: Pager$outboundSchema
|
|
37336
|
+
}).transform((v2) => {
|
|
37337
|
+
return remap(v2, {
|
|
37338
|
+
vendorRequiredCredentials: "vendor_required_credentials",
|
|
37339
|
+
vendorCredentials: "vendor_credentials"
|
|
37340
|
+
});
|
|
37341
|
+
});
|
|
37342
|
+
((ListVendorCredentialsResponseBody$) => {
|
|
37343
|
+
ListVendorCredentialsResponseBody$.inboundSchema = ListVendorCredentialsResponseBody$inboundSchema;
|
|
37344
|
+
ListVendorCredentialsResponseBody$.outboundSchema = ListVendorCredentialsResponseBody$outboundSchema;
|
|
37345
|
+
})(ListVendorCredentialsResponseBody$ ||= {});
|
|
37047
37346
|
});
|
|
37048
37347
|
|
|
37049
37348
|
// src/models/operations/listvendorjobtitles.ts
|
|
37050
|
-
var ListVendorJobTitlesRequest$inboundSchema, ListVendorJobTitlesRequest$outboundSchema, ListVendorJobTitlesRequest$,
|
|
37349
|
+
var ListVendorJobTitlesRequest$inboundSchema, ListVendorJobTitlesRequest$outboundSchema, ListVendorJobTitlesRequest$, ListVendorJobTitlesListVendorJobTitlesOk$inboundSchema, ListVendorJobTitlesListVendorJobTitlesOk$outboundSchema, ListVendorJobTitlesListVendorJobTitlesOk$;
|
|
37051
37350
|
var init_listvendorjobtitles = __esm(() => {
|
|
37052
37351
|
init_lib();
|
|
37053
37352
|
init_primitives();
|
|
@@ -37080,18 +37379,18 @@ var init_listvendorjobtitles = __esm(() => {
|
|
|
37080
37379
|
ListVendorJobTitlesRequest$.inboundSchema = ListVendorJobTitlesRequest$inboundSchema;
|
|
37081
37380
|
ListVendorJobTitlesRequest$.outboundSchema = ListVendorJobTitlesRequest$outboundSchema;
|
|
37082
37381
|
})(ListVendorJobTitlesRequest$ ||= {});
|
|
37083
|
-
|
|
37382
|
+
ListVendorJobTitlesListVendorJobTitlesOk$inboundSchema = objectType({
|
|
37084
37383
|
pager: Pager$inboundSchema,
|
|
37085
37384
|
items: arrayType(VendorJobTitle$inboundSchema)
|
|
37086
37385
|
});
|
|
37087
|
-
|
|
37386
|
+
ListVendorJobTitlesListVendorJobTitlesOk$outboundSchema = objectType({
|
|
37088
37387
|
pager: Pager$outboundSchema,
|
|
37089
37388
|
items: arrayType(VendorJobTitle$outboundSchema)
|
|
37090
37389
|
});
|
|
37091
|
-
((
|
|
37092
|
-
|
|
37093
|
-
|
|
37094
|
-
})(
|
|
37390
|
+
((ListVendorJobTitlesListVendorJobTitlesOk$) => {
|
|
37391
|
+
ListVendorJobTitlesListVendorJobTitlesOk$.inboundSchema = ListVendorJobTitlesListVendorJobTitlesOk$inboundSchema;
|
|
37392
|
+
ListVendorJobTitlesListVendorJobTitlesOk$.outboundSchema = ListVendorJobTitlesListVendorJobTitlesOk$outboundSchema;
|
|
37393
|
+
})(ListVendorJobTitlesListVendorJobTitlesOk$ ||= {});
|
|
37095
37394
|
});
|
|
37096
37395
|
|
|
37097
37396
|
// src/models/operations/logsuserintothesystem.ts
|
|
@@ -37172,7 +37471,7 @@ var init_logsuserintothesystem = __esm(() => {
|
|
|
37172
37471
|
});
|
|
37173
37472
|
|
|
37174
37473
|
// src/models/operations/magiclink.ts
|
|
37175
|
-
var MagiclinkRequestBody$inboundSchema, MagiclinkRequestBody$outboundSchema, MagiclinkRequestBody$,
|
|
37474
|
+
var MagiclinkRequestBody$inboundSchema, MagiclinkRequestBody$outboundSchema, MagiclinkRequestBody$, MagiclinkMagiclinkOk$inboundSchema, MagiclinkMagiclinkOk$outboundSchema, MagiclinkMagiclinkOk$;
|
|
37176
37475
|
var init_magiclink = __esm(() => {
|
|
37177
37476
|
init_lib();
|
|
37178
37477
|
MagiclinkRequestBody$inboundSchema = objectType({
|
|
@@ -37185,20 +37484,20 @@ var init_magiclink = __esm(() => {
|
|
|
37185
37484
|
MagiclinkRequestBody$.inboundSchema = MagiclinkRequestBody$inboundSchema;
|
|
37186
37485
|
MagiclinkRequestBody$.outboundSchema = MagiclinkRequestBody$outboundSchema;
|
|
37187
37486
|
})(MagiclinkRequestBody$ ||= {});
|
|
37188
|
-
|
|
37487
|
+
MagiclinkMagiclinkOk$inboundSchema = objectType({
|
|
37189
37488
|
success: booleanType()
|
|
37190
37489
|
});
|
|
37191
|
-
|
|
37490
|
+
MagiclinkMagiclinkOk$outboundSchema = objectType({
|
|
37192
37491
|
success: booleanType()
|
|
37193
37492
|
});
|
|
37194
|
-
((
|
|
37195
|
-
|
|
37196
|
-
|
|
37197
|
-
})(
|
|
37493
|
+
((MagiclinkMagiclinkOk$) => {
|
|
37494
|
+
MagiclinkMagiclinkOk$.inboundSchema = MagiclinkMagiclinkOk$inboundSchema;
|
|
37495
|
+
MagiclinkMagiclinkOk$.outboundSchema = MagiclinkMagiclinkOk$outboundSchema;
|
|
37496
|
+
})(MagiclinkMagiclinkOk$ ||= {});
|
|
37198
37497
|
});
|
|
37199
37498
|
|
|
37200
37499
|
// src/models/operations/password.ts
|
|
37201
|
-
var PasswordRequestBody$inboundSchema, PasswordRequestBody$outboundSchema, PasswordRequestBody$,
|
|
37500
|
+
var PasswordRequestBody$inboundSchema, PasswordRequestBody$outboundSchema, PasswordRequestBody$, PasswordPasswordOk$inboundSchema, PasswordPasswordOk$outboundSchema, PasswordPasswordOk$;
|
|
37202
37501
|
var init_password = __esm(() => {
|
|
37203
37502
|
init_lib();
|
|
37204
37503
|
init_primitives();
|
|
@@ -37222,20 +37521,20 @@ var init_password = __esm(() => {
|
|
|
37222
37521
|
PasswordRequestBody$.inboundSchema = PasswordRequestBody$inboundSchema;
|
|
37223
37522
|
PasswordRequestBody$.outboundSchema = PasswordRequestBody$outboundSchema;
|
|
37224
37523
|
})(PasswordRequestBody$ ||= {});
|
|
37225
|
-
|
|
37524
|
+
PasswordPasswordOk$inboundSchema = objectType({
|
|
37226
37525
|
success: nullableType(booleanType()).optional()
|
|
37227
37526
|
});
|
|
37228
|
-
|
|
37527
|
+
PasswordPasswordOk$outboundSchema = objectType({
|
|
37229
37528
|
success: nullableType(booleanType()).optional()
|
|
37230
37529
|
});
|
|
37231
|
-
((
|
|
37232
|
-
|
|
37233
|
-
|
|
37234
|
-
})(
|
|
37530
|
+
((PasswordPasswordOk$) => {
|
|
37531
|
+
PasswordPasswordOk$.inboundSchema = PasswordPasswordOk$inboundSchema;
|
|
37532
|
+
PasswordPasswordOk$.outboundSchema = PasswordPasswordOk$outboundSchema;
|
|
37533
|
+
})(PasswordPasswordOk$ ||= {});
|
|
37235
37534
|
});
|
|
37236
37535
|
|
|
37237
37536
|
// src/models/operations/passwordresetrequest.ts
|
|
37238
|
-
var PasswordResetRequestRequestBody$inboundSchema, PasswordResetRequestRequestBody$outboundSchema, PasswordResetRequestRequestBody$,
|
|
37537
|
+
var PasswordResetRequestRequestBody$inboundSchema, PasswordResetRequestRequestBody$outboundSchema, PasswordResetRequestRequestBody$, PasswordResetRequestPasswordResetRequestOk$inboundSchema, PasswordResetRequestPasswordResetRequestOk$outboundSchema, PasswordResetRequestPasswordResetRequestOk$;
|
|
37239
37538
|
var init_passwordresetrequest = __esm(() => {
|
|
37240
37539
|
init_lib();
|
|
37241
37540
|
PasswordResetRequestRequestBody$inboundSchema = objectType({
|
|
@@ -37248,24 +37547,27 @@ var init_passwordresetrequest = __esm(() => {
|
|
|
37248
37547
|
PasswordResetRequestRequestBody$.inboundSchema = PasswordResetRequestRequestBody$inboundSchema;
|
|
37249
37548
|
PasswordResetRequestRequestBody$.outboundSchema = PasswordResetRequestRequestBody$outboundSchema;
|
|
37250
37549
|
})(PasswordResetRequestRequestBody$ ||= {});
|
|
37251
|
-
|
|
37550
|
+
PasswordResetRequestPasswordResetRequestOk$inboundSchema = objectType({
|
|
37252
37551
|
success: booleanType()
|
|
37253
37552
|
});
|
|
37254
|
-
|
|
37553
|
+
PasswordResetRequestPasswordResetRequestOk$outboundSchema = objectType({
|
|
37255
37554
|
success: booleanType()
|
|
37256
37555
|
});
|
|
37257
|
-
((
|
|
37258
|
-
|
|
37259
|
-
|
|
37260
|
-
})(
|
|
37556
|
+
((PasswordResetRequestPasswordResetRequestOk$) => {
|
|
37557
|
+
PasswordResetRequestPasswordResetRequestOk$.inboundSchema = PasswordResetRequestPasswordResetRequestOk$inboundSchema;
|
|
37558
|
+
PasswordResetRequestPasswordResetRequestOk$.outboundSchema = PasswordResetRequestPasswordResetRequestOk$outboundSchema;
|
|
37559
|
+
})(PasswordResetRequestPasswordResetRequestOk$ ||= {});
|
|
37261
37560
|
});
|
|
37262
37561
|
|
|
37263
37562
|
// src/models/operations/index.ts
|
|
37264
37563
|
var init_operations = __esm(() => {
|
|
37265
37564
|
init_createvendorregistration();
|
|
37266
37565
|
init_getfacility();
|
|
37566
|
+
init_getsupportarticle();
|
|
37267
37567
|
init_getuserbyid();
|
|
37268
37568
|
init_listorsearchfacilities();
|
|
37569
|
+
init_listorsearchsupportarticles();
|
|
37570
|
+
init_listvendorcredentials();
|
|
37269
37571
|
init_listvendorjobtitles();
|
|
37270
37572
|
init_logsuserintothesystem();
|
|
37271
37573
|
init_magiclink();
|
|
@@ -37418,6 +37720,7 @@ async function $do2(client, request, options) {
|
|
|
37418
37720
|
const body = null;
|
|
37419
37721
|
const path = pathToFunc("/facilities")();
|
|
37420
37722
|
const query = encodeFormQuery({
|
|
37723
|
+
active_status: payload.active_status,
|
|
37421
37724
|
desc: payload.desc,
|
|
37422
37725
|
expand: payload.expand,
|
|
37423
37726
|
items_per_page: payload.items_per_page,
|
|
@@ -37425,7 +37728,6 @@ async function $do2(client, request, options) {
|
|
|
37425
37728
|
page: payload.page,
|
|
37426
37729
|
sort: payload.sort,
|
|
37427
37730
|
state_like: payload.state_like,
|
|
37428
|
-
status: payload.status,
|
|
37429
37731
|
system_id: payload.system_id
|
|
37430
37732
|
});
|
|
37431
37733
|
const headers = new Headers(compactMap({
|
|
@@ -37466,7 +37768,7 @@ async function $do2(client, request, options) {
|
|
|
37466
37768
|
return [doResult, { status: "request-error", request: req }];
|
|
37467
37769
|
}
|
|
37468
37770
|
const response = doResult.value;
|
|
37469
|
-
const [result] = await match(json(200,
|
|
37771
|
+
const [result] = await match(json(200, ListOrSearchFacilitiesListOrSearchFacilitiesOk$inboundSchema), fail("4XX"), fail("5XX"))(response);
|
|
37470
37772
|
if (!result.ok) {
|
|
37471
37773
|
return [result, { status: "complete", request: req, response }];
|
|
37472
37774
|
}
|
|
@@ -37525,11 +37827,230 @@ Available \`expand\` scopes are:
|
|
|
37525
37827
|
};
|
|
37526
37828
|
});
|
|
37527
37829
|
|
|
37528
|
-
// src/funcs/
|
|
37529
|
-
function
|
|
37530
|
-
return new APIPromise($do3(client, options));
|
|
37830
|
+
// src/funcs/supportArticlesGetSupportArticle.ts
|
|
37831
|
+
function supportArticlesGetSupportArticle(client, request, options) {
|
|
37832
|
+
return new APIPromise($do3(client, request, options));
|
|
37833
|
+
}
|
|
37834
|
+
async function $do3(client, request, options) {
|
|
37835
|
+
const parsed = safeParse(request, (value) => GetSupportArticleRequest$outboundSchema.parse(value), "Input validation failed");
|
|
37836
|
+
if (!parsed.ok) {
|
|
37837
|
+
return [parsed, { status: "invalid" }];
|
|
37838
|
+
}
|
|
37839
|
+
const payload = parsed.value;
|
|
37840
|
+
const body = null;
|
|
37841
|
+
const pathParams = {
|
|
37842
|
+
id: encodeSimple("id", payload.id, {
|
|
37843
|
+
explode: false,
|
|
37844
|
+
charEncoding: "percent"
|
|
37845
|
+
})
|
|
37846
|
+
};
|
|
37847
|
+
const path = pathToFunc("/support_articles/{id}")(pathParams);
|
|
37848
|
+
const query = encodeFormQuery({
|
|
37849
|
+
expand: payload.expand
|
|
37850
|
+
});
|
|
37851
|
+
const headers = new Headers(compactMap({
|
|
37852
|
+
Accept: "application/json"
|
|
37853
|
+
}));
|
|
37854
|
+
const securityInput = await extractSecurity(client._options.security);
|
|
37855
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
37856
|
+
const context = {
|
|
37857
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
37858
|
+
operationID: "getSupportArticle",
|
|
37859
|
+
oAuth2Scopes: [],
|
|
37860
|
+
resolvedSecurity: requestSecurity,
|
|
37861
|
+
securitySource: client._options.security,
|
|
37862
|
+
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
37863
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
37864
|
+
};
|
|
37865
|
+
const requestRes = client._createRequest(context, {
|
|
37866
|
+
security: requestSecurity,
|
|
37867
|
+
method: "GET",
|
|
37868
|
+
baseURL: options?.serverURL,
|
|
37869
|
+
path,
|
|
37870
|
+
headers,
|
|
37871
|
+
query,
|
|
37872
|
+
body,
|
|
37873
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
37874
|
+
}, options);
|
|
37875
|
+
if (!requestRes.ok) {
|
|
37876
|
+
return [requestRes, { status: "invalid" }];
|
|
37877
|
+
}
|
|
37878
|
+
const req = requestRes.value;
|
|
37879
|
+
const doResult = await client._do(req, {
|
|
37880
|
+
context,
|
|
37881
|
+
errorCodes: ["404", "4XX", "5XX"],
|
|
37882
|
+
retryConfig: context.retryConfig,
|
|
37883
|
+
retryCodes: context.retryCodes
|
|
37884
|
+
});
|
|
37885
|
+
if (!doResult.ok) {
|
|
37886
|
+
return [doResult, { status: "request-error", request: req }];
|
|
37887
|
+
}
|
|
37888
|
+
const response = doResult.value;
|
|
37889
|
+
const responseFields = {
|
|
37890
|
+
HttpMeta: { Response: response, Request: req }
|
|
37891
|
+
};
|
|
37892
|
+
const [result] = await match(json(200, SupportArticle$inboundSchema), jsonErr(404, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
|
|
37893
|
+
if (!result.ok) {
|
|
37894
|
+
return [result, { status: "complete", request: req, response }];
|
|
37895
|
+
}
|
|
37896
|
+
return [result, { status: "complete", request: req, response }];
|
|
37897
|
+
}
|
|
37898
|
+
var init_supportArticlesGetSupportArticle = __esm(() => {
|
|
37899
|
+
init_encodings();
|
|
37900
|
+
init_matchers();
|
|
37901
|
+
init_primitives();
|
|
37902
|
+
init_schemas();
|
|
37903
|
+
init_security();
|
|
37904
|
+
init_url();
|
|
37905
|
+
init_components();
|
|
37906
|
+
init_errors();
|
|
37907
|
+
init_operations();
|
|
37908
|
+
init_async();
|
|
37909
|
+
});
|
|
37910
|
+
|
|
37911
|
+
// src/mcp-server/tools/supportArticlesGetSupportArticle.ts
|
|
37912
|
+
var args3, tool$supportArticlesGetSupportArticle;
|
|
37913
|
+
var init_supportArticlesGetSupportArticle2 = __esm(() => {
|
|
37914
|
+
init_supportArticlesGetSupportArticle();
|
|
37915
|
+
init_operations();
|
|
37916
|
+
init_tools();
|
|
37917
|
+
args3 = {
|
|
37918
|
+
request: GetSupportArticleRequest$inboundSchema
|
|
37919
|
+
};
|
|
37920
|
+
tool$supportArticlesGetSupportArticle = {
|
|
37921
|
+
name: "support-articles_get-support-article",
|
|
37922
|
+
description: `Get support article
|
|
37923
|
+
|
|
37924
|
+
Retrieve an individual support article.
|
|
37925
|
+
|
|
37926
|
+
Available \`expand\` scopes are:
|
|
37927
|
+
|
|
37928
|
+
- support_article.description
|
|
37929
|
+
- support_article.published
|
|
37930
|
+
- support_article.notes
|
|
37931
|
+
- support_article.support_category`,
|
|
37932
|
+
args: args3,
|
|
37933
|
+
tool: async (client, args4, ctx) => {
|
|
37934
|
+
const [result, apiCall] = await supportArticlesGetSupportArticle(client, args4.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
37935
|
+
if (!result.ok) {
|
|
37936
|
+
return {
|
|
37937
|
+
content: [{ type: "text", text: result.error.message }],
|
|
37938
|
+
isError: true
|
|
37939
|
+
};
|
|
37940
|
+
}
|
|
37941
|
+
const value = result.value;
|
|
37942
|
+
return formatResult(value, apiCall);
|
|
37943
|
+
}
|
|
37944
|
+
};
|
|
37945
|
+
});
|
|
37946
|
+
|
|
37947
|
+
// src/funcs/supportArticlesListOrSearchSupportArticles.ts
|
|
37948
|
+
function supportArticlesListOrSearchSupportArticles(client, request, options) {
|
|
37949
|
+
return new APIPromise($do4(client, request, options));
|
|
37950
|
+
}
|
|
37951
|
+
async function $do4(client, request, options) {
|
|
37952
|
+
const parsed = safeParse(request, (value) => ListOrSearchSupportArticlesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
37953
|
+
if (!parsed.ok) {
|
|
37954
|
+
return [parsed, { status: "invalid" }];
|
|
37955
|
+
}
|
|
37956
|
+
const payload = parsed.value;
|
|
37957
|
+
const body = null;
|
|
37958
|
+
const path = pathToFunc("/support_articles")();
|
|
37959
|
+
const query = encodeFormQuery({
|
|
37960
|
+
desc: payload.desc,
|
|
37961
|
+
items_per_page: payload.items_per_page,
|
|
37962
|
+
page: payload.page,
|
|
37963
|
+
sort: payload.sort
|
|
37964
|
+
});
|
|
37965
|
+
const headers = new Headers(compactMap({
|
|
37966
|
+
Accept: "application/json"
|
|
37967
|
+
}));
|
|
37968
|
+
const securityInput = await extractSecurity(client._options.security);
|
|
37969
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
37970
|
+
const context = {
|
|
37971
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
37972
|
+
operationID: "listOrSearchSupportArticles",
|
|
37973
|
+
oAuth2Scopes: [],
|
|
37974
|
+
resolvedSecurity: requestSecurity,
|
|
37975
|
+
securitySource: client._options.security,
|
|
37976
|
+
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
37977
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
37978
|
+
};
|
|
37979
|
+
const requestRes = client._createRequest(context, {
|
|
37980
|
+
security: requestSecurity,
|
|
37981
|
+
method: "GET",
|
|
37982
|
+
baseURL: options?.serverURL,
|
|
37983
|
+
path,
|
|
37984
|
+
headers,
|
|
37985
|
+
query,
|
|
37986
|
+
body,
|
|
37987
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
37988
|
+
}, options);
|
|
37989
|
+
if (!requestRes.ok) {
|
|
37990
|
+
return [requestRes, { status: "invalid" }];
|
|
37991
|
+
}
|
|
37992
|
+
const req = requestRes.value;
|
|
37993
|
+
const doResult = await client._do(req, {
|
|
37994
|
+
context,
|
|
37995
|
+
errorCodes: ["4XX", "5XX"],
|
|
37996
|
+
retryConfig: context.retryConfig,
|
|
37997
|
+
retryCodes: context.retryCodes
|
|
37998
|
+
});
|
|
37999
|
+
if (!doResult.ok) {
|
|
38000
|
+
return [doResult, { status: "request-error", request: req }];
|
|
38001
|
+
}
|
|
38002
|
+
const response = doResult.value;
|
|
38003
|
+
const [result] = await match(json(200, ListOrSearchSupportArticlesListOrSearchArticlesOk$inboundSchema), fail("4XX"), fail("5XX"))(response);
|
|
38004
|
+
if (!result.ok) {
|
|
38005
|
+
return [result, { status: "complete", request: req, response }];
|
|
38006
|
+
}
|
|
38007
|
+
return [result, { status: "complete", request: req, response }];
|
|
38008
|
+
}
|
|
38009
|
+
var init_supportArticlesListOrSearchSupportArticles = __esm(() => {
|
|
38010
|
+
init_encodings();
|
|
38011
|
+
init_matchers();
|
|
38012
|
+
init_primitives();
|
|
38013
|
+
init_schemas();
|
|
38014
|
+
init_security();
|
|
38015
|
+
init_url();
|
|
38016
|
+
init_operations();
|
|
38017
|
+
init_async();
|
|
38018
|
+
});
|
|
38019
|
+
|
|
38020
|
+
// src/mcp-server/tools/supportArticlesListOrSearchSupportArticles.ts
|
|
38021
|
+
var args4, tool$supportArticlesListOrSearchSupportArticles;
|
|
38022
|
+
var init_supportArticlesListOrSearchSupportArticles2 = __esm(() => {
|
|
38023
|
+
init_supportArticlesListOrSearchSupportArticles();
|
|
38024
|
+
init_operations();
|
|
38025
|
+
init_tools();
|
|
38026
|
+
args4 = {
|
|
38027
|
+
request: ListOrSearchSupportArticlesRequest$inboundSchema
|
|
38028
|
+
};
|
|
38029
|
+
tool$supportArticlesListOrSearchSupportArticles = {
|
|
38030
|
+
name: "support-articles_list-or-search-support-articles",
|
|
38031
|
+
description: `List or search support articles
|
|
38032
|
+
|
|
38033
|
+
List or search support articles for FAQ.`,
|
|
38034
|
+
args: args4,
|
|
38035
|
+
tool: async (client, args5, ctx) => {
|
|
38036
|
+
const [result, apiCall] = await supportArticlesListOrSearchSupportArticles(client, args5.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
38037
|
+
if (!result.ok) {
|
|
38038
|
+
return {
|
|
38039
|
+
content: [{ type: "text", text: result.error.message }],
|
|
38040
|
+
isError: true
|
|
38041
|
+
};
|
|
38042
|
+
}
|
|
38043
|
+
const value = result.value;
|
|
38044
|
+
return formatResult(value, apiCall);
|
|
38045
|
+
}
|
|
38046
|
+
};
|
|
38047
|
+
});
|
|
38048
|
+
|
|
38049
|
+
// src/funcs/usersGetCurrentUser.ts
|
|
38050
|
+
function usersGetCurrentUser(client, options) {
|
|
38051
|
+
return new APIPromise($do5(client, options));
|
|
37531
38052
|
}
|
|
37532
|
-
async function $
|
|
38053
|
+
async function $do5(client, options) {
|
|
37533
38054
|
const path = pathToFunc("/users/me")();
|
|
37534
38055
|
const headers = new Headers(compactMap({
|
|
37535
38056
|
Accept: "application/json"
|
|
@@ -37576,7 +38097,7 @@ async function $do3(client, options) {
|
|
|
37576
38097
|
}
|
|
37577
38098
|
return [result, { status: "complete", request: req, response }];
|
|
37578
38099
|
}
|
|
37579
|
-
var
|
|
38100
|
+
var init_usersGetCurrentUser = __esm(() => {
|
|
37580
38101
|
init_matchers();
|
|
37581
38102
|
init_primitives();
|
|
37582
38103
|
init_security();
|
|
@@ -37586,18 +38107,18 @@ var init_userGetCurrentUser = __esm(() => {
|
|
|
37586
38107
|
init_async();
|
|
37587
38108
|
});
|
|
37588
38109
|
|
|
37589
|
-
// src/mcp-server/tools/
|
|
37590
|
-
var tool$
|
|
37591
|
-
var
|
|
37592
|
-
|
|
38110
|
+
// src/mcp-server/tools/usersGetCurrentUser.ts
|
|
38111
|
+
var tool$usersGetCurrentUser;
|
|
38112
|
+
var init_usersGetCurrentUser2 = __esm(() => {
|
|
38113
|
+
init_usersGetCurrentUser();
|
|
37593
38114
|
init_tools();
|
|
37594
|
-
tool$
|
|
37595
|
-
name: "
|
|
38115
|
+
tool$usersGetCurrentUser = {
|
|
38116
|
+
name: "users_get-current-user",
|
|
37596
38117
|
description: `Get current user
|
|
37597
38118
|
|
|
37598
38119
|
Returns a user object for the user represented by the authorization token`,
|
|
37599
38120
|
tool: async (client, ctx) => {
|
|
37600
|
-
const [result, apiCall] = await
|
|
38121
|
+
const [result, apiCall] = await usersGetCurrentUser(client, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
37601
38122
|
if (!result.ok) {
|
|
37602
38123
|
return {
|
|
37603
38124
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -37610,11 +38131,11 @@ Returns a user object for the user represented by the authorization token`,
|
|
|
37610
38131
|
};
|
|
37611
38132
|
});
|
|
37612
38133
|
|
|
37613
|
-
// src/funcs/
|
|
37614
|
-
function
|
|
37615
|
-
return new APIPromise($
|
|
38134
|
+
// src/funcs/usersGetUserById.ts
|
|
38135
|
+
function usersGetUserById(client, request, options) {
|
|
38136
|
+
return new APIPromise($do6(client, request, options));
|
|
37616
38137
|
}
|
|
37617
|
-
async function $
|
|
38138
|
+
async function $do6(client, request, options) {
|
|
37618
38139
|
const parsed = safeParse(request, (value) => GetUserByIdRequest$outboundSchema.parse(value), "Input validation failed");
|
|
37619
38140
|
if (!parsed.ok) {
|
|
37620
38141
|
return [parsed, { status: "invalid" }];
|
|
@@ -37674,7 +38195,7 @@ async function $do4(client, request, options) {
|
|
|
37674
38195
|
}
|
|
37675
38196
|
return [result, { status: "complete", request: req, response }];
|
|
37676
38197
|
}
|
|
37677
|
-
var
|
|
38198
|
+
var init_usersGetUserById = __esm(() => {
|
|
37678
38199
|
init_encodings();
|
|
37679
38200
|
init_matchers();
|
|
37680
38201
|
init_primitives();
|
|
@@ -37687,23 +38208,23 @@ var init_userGetUserById = __esm(() => {
|
|
|
37687
38208
|
init_async();
|
|
37688
38209
|
});
|
|
37689
38210
|
|
|
37690
|
-
// src/mcp-server/tools/
|
|
37691
|
-
var
|
|
37692
|
-
var
|
|
37693
|
-
|
|
38211
|
+
// src/mcp-server/tools/usersGetUserById.ts
|
|
38212
|
+
var args5, tool$usersGetUserById;
|
|
38213
|
+
var init_usersGetUserById2 = __esm(() => {
|
|
38214
|
+
init_usersGetUserById();
|
|
37694
38215
|
init_operations();
|
|
37695
38216
|
init_tools();
|
|
37696
|
-
|
|
38217
|
+
args5 = {
|
|
37697
38218
|
request: GetUserByIdRequest$inboundSchema
|
|
37698
38219
|
};
|
|
37699
|
-
tool$
|
|
37700
|
-
name: "
|
|
38220
|
+
tool$usersGetUserById = {
|
|
38221
|
+
name: "users_get-user-by-id",
|
|
37701
38222
|
description: `Get user by id
|
|
37702
38223
|
|
|
37703
38224
|
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
|
|
38225
|
+
args: args5,
|
|
38226
|
+
tool: async (client, args6, ctx) => {
|
|
38227
|
+
const [result, apiCall] = await usersGetUserById(client, args6.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
37707
38228
|
if (!result.ok) {
|
|
37708
38229
|
return {
|
|
37709
38230
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -37716,11 +38237,11 @@ Returns a user object for the user represented by the identifier in the path.`,
|
|
|
37716
38237
|
};
|
|
37717
38238
|
});
|
|
37718
38239
|
|
|
37719
|
-
// src/funcs/
|
|
37720
|
-
function
|
|
37721
|
-
return new APIPromise($
|
|
38240
|
+
// src/funcs/usersLogsUserIntoTheSystem.ts
|
|
38241
|
+
function usersLogsUserIntoTheSystem(client, request, options) {
|
|
38242
|
+
return new APIPromise($do7(client, request, options));
|
|
37722
38243
|
}
|
|
37723
|
-
async function $
|
|
38244
|
+
async function $do7(client, request, options) {
|
|
37724
38245
|
const parsed = safeParse(request, (value) => LogsUserIntoTheSystemRequestBody$outboundSchema.parse(value), "Input validation failed");
|
|
37725
38246
|
if (!parsed.ok) {
|
|
37726
38247
|
return [parsed, { status: "invalid" }];
|
|
@@ -37772,7 +38293,7 @@ async function $do5(client, request, options) {
|
|
|
37772
38293
|
}
|
|
37773
38294
|
return [result, { status: "complete", request: req, response }];
|
|
37774
38295
|
}
|
|
37775
|
-
var
|
|
38296
|
+
var init_usersLogsUserIntoTheSystem = __esm(() => {
|
|
37776
38297
|
init_encodings();
|
|
37777
38298
|
init_matchers();
|
|
37778
38299
|
init_primitives();
|
|
@@ -37783,17 +38304,17 @@ var init_userLogsUserIntoTheSystem = __esm(() => {
|
|
|
37783
38304
|
init_async();
|
|
37784
38305
|
});
|
|
37785
38306
|
|
|
37786
|
-
// src/mcp-server/tools/
|
|
37787
|
-
var
|
|
37788
|
-
var
|
|
37789
|
-
|
|
38307
|
+
// src/mcp-server/tools/usersLogsUserIntoTheSystem.ts
|
|
38308
|
+
var args6, tool$usersLogsUserIntoTheSystem;
|
|
38309
|
+
var init_usersLogsUserIntoTheSystem2 = __esm(() => {
|
|
38310
|
+
init_usersLogsUserIntoTheSystem();
|
|
37790
38311
|
init_operations();
|
|
37791
38312
|
init_tools();
|
|
37792
|
-
|
|
38313
|
+
args6 = {
|
|
37793
38314
|
request: LogsUserIntoTheSystemRequestBody$inboundSchema
|
|
37794
38315
|
};
|
|
37795
|
-
tool$
|
|
37796
|
-
name: "
|
|
38316
|
+
tool$usersLogsUserIntoTheSystem = {
|
|
38317
|
+
name: "users_logs-user-into-the-system",
|
|
37797
38318
|
description: `Logs user into the system
|
|
37798
38319
|
|
|
37799
38320
|
This endpoint allows a user to authenticate themselves and retrieve a permanent token for access.
|
|
@@ -37827,9 +38348,9 @@ Requires: \`saml_login\`
|
|
|
37827
38348
|
3. Site redirects to your selected \`return_url\`
|
|
37828
38349
|
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
38350
|
5. Fetch the user object from \`/users/me\` using the token`,
|
|
37830
|
-
args:
|
|
37831
|
-
tool: async (client,
|
|
37832
|
-
const [result, apiCall] = await
|
|
38351
|
+
args: args6,
|
|
38352
|
+
tool: async (client, args7, ctx) => {
|
|
38353
|
+
const [result, apiCall] = await usersLogsUserIntoTheSystem(client, args7.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
37833
38354
|
if (!result.ok) {
|
|
37834
38355
|
return {
|
|
37835
38356
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -37842,11 +38363,11 @@ Requires: \`saml_login\`
|
|
|
37842
38363
|
};
|
|
37843
38364
|
});
|
|
37844
38365
|
|
|
37845
|
-
// src/funcs/
|
|
37846
|
-
function
|
|
37847
|
-
return new APIPromise($
|
|
38366
|
+
// src/funcs/usersMagiclink.ts
|
|
38367
|
+
function usersMagiclink(client, request, options) {
|
|
38368
|
+
return new APIPromise($do8(client, request, options));
|
|
37848
38369
|
}
|
|
37849
|
-
async function $
|
|
38370
|
+
async function $do8(client, request, options) {
|
|
37850
38371
|
const parsed = safeParse(request, (value) => MagiclinkRequestBody$outboundSchema.parse(value), "Input validation failed");
|
|
37851
38372
|
if (!parsed.ok) {
|
|
37852
38373
|
return [parsed, { status: "invalid" }];
|
|
@@ -37895,13 +38416,13 @@ async function $do6(client, request, options) {
|
|
|
37895
38416
|
const responseFields = {
|
|
37896
38417
|
HttpMeta: { Response: response, Request: req }
|
|
37897
38418
|
};
|
|
37898
|
-
const [result] = await match(json(200,
|
|
38419
|
+
const [result] = await match(json(200, MagiclinkMagiclinkOk$inboundSchema), jsonErr(404, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
|
|
37899
38420
|
if (!result.ok) {
|
|
37900
38421
|
return [result, { status: "complete", request: req, response }];
|
|
37901
38422
|
}
|
|
37902
38423
|
return [result, { status: "complete", request: req, response }];
|
|
37903
38424
|
}
|
|
37904
|
-
var
|
|
38425
|
+
var init_usersMagiclink = __esm(() => {
|
|
37905
38426
|
init_encodings();
|
|
37906
38427
|
init_matchers();
|
|
37907
38428
|
init_primitives();
|
|
@@ -37913,23 +38434,23 @@ var init_userMagiclink = __esm(() => {
|
|
|
37913
38434
|
init_async();
|
|
37914
38435
|
});
|
|
37915
38436
|
|
|
37916
|
-
// src/mcp-server/tools/
|
|
37917
|
-
var
|
|
37918
|
-
var
|
|
37919
|
-
|
|
38437
|
+
// src/mcp-server/tools/usersMagiclink.ts
|
|
38438
|
+
var args7, tool$usersMagiclink;
|
|
38439
|
+
var init_usersMagiclink2 = __esm(() => {
|
|
38440
|
+
init_usersMagiclink();
|
|
37920
38441
|
init_operations();
|
|
37921
38442
|
init_tools();
|
|
37922
|
-
|
|
38443
|
+
args7 = {
|
|
37923
38444
|
request: MagiclinkRequestBody$inboundSchema
|
|
37924
38445
|
};
|
|
37925
|
-
tool$
|
|
37926
|
-
name: "
|
|
38446
|
+
tool$usersMagiclink = {
|
|
38447
|
+
name: "users_magiclink",
|
|
37927
38448
|
description: `Magic link
|
|
37928
38449
|
|
|
37929
38450
|
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
|
|
38451
|
+
args: args7,
|
|
38452
|
+
tool: async (client, args8, ctx) => {
|
|
38453
|
+
const [result, apiCall] = await usersMagiclink(client, args8.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
37933
38454
|
if (!result.ok) {
|
|
37934
38455
|
return {
|
|
37935
38456
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -37942,11 +38463,11 @@ It sends an email with a magic link to allow the user to log in.`,
|
|
|
37942
38463
|
};
|
|
37943
38464
|
});
|
|
37944
38465
|
|
|
37945
|
-
// src/funcs/
|
|
37946
|
-
function
|
|
37947
|
-
return new APIPromise($
|
|
38466
|
+
// src/funcs/usersPassword.ts
|
|
38467
|
+
function usersPassword(client, request, options) {
|
|
38468
|
+
return new APIPromise($do9(client, request, options));
|
|
37948
38469
|
}
|
|
37949
|
-
async function $
|
|
38470
|
+
async function $do9(client, request, options) {
|
|
37950
38471
|
const parsed = safeParse(request, (value) => PasswordRequestBody$outboundSchema.parse(value), "Input validation failed");
|
|
37951
38472
|
if (!parsed.ok) {
|
|
37952
38473
|
return [parsed, { status: "invalid" }];
|
|
@@ -37995,13 +38516,13 @@ async function $do7(client, request, options) {
|
|
|
37995
38516
|
const responseFields = {
|
|
37996
38517
|
HttpMeta: { Response: response, Request: req }
|
|
37997
38518
|
};
|
|
37998
|
-
const [result] = await match(json(200,
|
|
38519
|
+
const [result] = await match(json(200, PasswordPasswordOk$inboundSchema), jsonErr(404, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
|
|
37999
38520
|
if (!result.ok) {
|
|
38000
38521
|
return [result, { status: "complete", request: req, response }];
|
|
38001
38522
|
}
|
|
38002
38523
|
return [result, { status: "complete", request: req, response }];
|
|
38003
38524
|
}
|
|
38004
|
-
var
|
|
38525
|
+
var init_usersPassword = __esm(() => {
|
|
38005
38526
|
init_encodings();
|
|
38006
38527
|
init_matchers();
|
|
38007
38528
|
init_primitives();
|
|
@@ -38013,24 +38534,24 @@ var init_userPassword = __esm(() => {
|
|
|
38013
38534
|
init_async();
|
|
38014
38535
|
});
|
|
38015
38536
|
|
|
38016
|
-
// src/mcp-server/tools/
|
|
38017
|
-
var
|
|
38018
|
-
var
|
|
38019
|
-
|
|
38537
|
+
// src/mcp-server/tools/usersPassword.ts
|
|
38538
|
+
var args8, tool$usersPassword;
|
|
38539
|
+
var init_usersPassword2 = __esm(() => {
|
|
38540
|
+
init_usersPassword();
|
|
38020
38541
|
init_operations();
|
|
38021
38542
|
init_tools();
|
|
38022
|
-
|
|
38543
|
+
args8 = {
|
|
38023
38544
|
request: PasswordRequestBody$inboundSchema
|
|
38024
38545
|
};
|
|
38025
|
-
tool$
|
|
38026
|
-
name: "
|
|
38546
|
+
tool$usersPassword = {
|
|
38547
|
+
name: "users_password",
|
|
38027
38548
|
description: `Password reset
|
|
38028
38549
|
|
|
38029
38550
|
Resets the a user's password using a password_reset_id that was sent to them via email.
|
|
38030
38551
|
See /users/passwordresetrequest to initiate a password reset flow.`,
|
|
38031
|
-
args:
|
|
38032
|
-
tool: async (client,
|
|
38033
|
-
const [result, apiCall] = await
|
|
38552
|
+
args: args8,
|
|
38553
|
+
tool: async (client, args9, ctx) => {
|
|
38554
|
+
const [result, apiCall] = await usersPassword(client, args9.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
38034
38555
|
if (!result.ok) {
|
|
38035
38556
|
return {
|
|
38036
38557
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -38043,11 +38564,11 @@ See /users/passwordresetrequest to initiate a password reset flow.`,
|
|
|
38043
38564
|
};
|
|
38044
38565
|
});
|
|
38045
38566
|
|
|
38046
|
-
// src/funcs/
|
|
38047
|
-
function
|
|
38048
|
-
return new APIPromise($
|
|
38567
|
+
// src/funcs/usersPasswordResetRequest.ts
|
|
38568
|
+
function usersPasswordResetRequest(client, request, options) {
|
|
38569
|
+
return new APIPromise($do10(client, request, options));
|
|
38049
38570
|
}
|
|
38050
|
-
async function $
|
|
38571
|
+
async function $do10(client, request, options) {
|
|
38051
38572
|
const parsed = safeParse(request, (value) => PasswordResetRequestRequestBody$outboundSchema.parse(value), "Input validation failed");
|
|
38052
38573
|
if (!parsed.ok) {
|
|
38053
38574
|
return [parsed, { status: "invalid" }];
|
|
@@ -38096,13 +38617,13 @@ async function $do8(client, request, options) {
|
|
|
38096
38617
|
const responseFields = {
|
|
38097
38618
|
HttpMeta: { Response: response, Request: req }
|
|
38098
38619
|
};
|
|
38099
|
-
const [result] = await match(json(200,
|
|
38620
|
+
const [result] = await match(json(200, PasswordResetRequestPasswordResetRequestOk$inboundSchema), jsonErr(404, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
|
|
38100
38621
|
if (!result.ok) {
|
|
38101
38622
|
return [result, { status: "complete", request: req, response }];
|
|
38102
38623
|
}
|
|
38103
38624
|
return [result, { status: "complete", request: req, response }];
|
|
38104
38625
|
}
|
|
38105
|
-
var
|
|
38626
|
+
var init_usersPasswordResetRequest = __esm(() => {
|
|
38106
38627
|
init_encodings();
|
|
38107
38628
|
init_matchers();
|
|
38108
38629
|
init_primitives();
|
|
@@ -38114,23 +38635,23 @@ var init_userPasswordResetRequest = __esm(() => {
|
|
|
38114
38635
|
init_async();
|
|
38115
38636
|
});
|
|
38116
38637
|
|
|
38117
|
-
// src/mcp-server/tools/
|
|
38118
|
-
var
|
|
38119
|
-
var
|
|
38120
|
-
|
|
38638
|
+
// src/mcp-server/tools/usersPasswordResetRequest.ts
|
|
38639
|
+
var args9, tool$usersPasswordResetRequest;
|
|
38640
|
+
var init_usersPasswordResetRequest2 = __esm(() => {
|
|
38641
|
+
init_usersPasswordResetRequest();
|
|
38121
38642
|
init_operations();
|
|
38122
38643
|
init_tools();
|
|
38123
|
-
|
|
38644
|
+
args9 = {
|
|
38124
38645
|
request: PasswordResetRequestRequestBody$inboundSchema
|
|
38125
38646
|
};
|
|
38126
|
-
tool$
|
|
38127
|
-
name: "
|
|
38647
|
+
tool$usersPasswordResetRequest = {
|
|
38648
|
+
name: "users_password-reset-request",
|
|
38128
38649
|
description: `Password reset request
|
|
38129
38650
|
|
|
38130
38651
|
It sends an email with a link for resetting a user's password.`,
|
|
38131
|
-
args:
|
|
38132
|
-
tool: async (client,
|
|
38133
|
-
const [result, apiCall] = await
|
|
38652
|
+
args: args9,
|
|
38653
|
+
tool: async (client, args10, ctx) => {
|
|
38654
|
+
const [result, apiCall] = await usersPasswordResetRequest(client, args10.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
38134
38655
|
if (!result.ok) {
|
|
38135
38656
|
return {
|
|
38136
38657
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -38145,9 +38666,9 @@ It sends an email with a link for resetting a user's password.`,
|
|
|
38145
38666
|
|
|
38146
38667
|
// src/funcs/vendorsCreateVendorRegistration.ts
|
|
38147
38668
|
function vendorsCreateVendorRegistration(client, request, options) {
|
|
38148
|
-
return new APIPromise($
|
|
38669
|
+
return new APIPromise($do11(client, request, options));
|
|
38149
38670
|
}
|
|
38150
|
-
async function $
|
|
38671
|
+
async function $do11(client, request, options) {
|
|
38151
38672
|
const parsed = safeParse(request, (value) => CreateVendorRegistrationRequestBody$outboundSchema.parse(value), "Input validation failed");
|
|
38152
38673
|
if (!parsed.ok) {
|
|
38153
38674
|
return [parsed, { status: "invalid" }];
|
|
@@ -38193,7 +38714,7 @@ async function $do9(client, request, options) {
|
|
|
38193
38714
|
const responseFields = {
|
|
38194
38715
|
HttpMeta: { Response: response, Request: req }
|
|
38195
38716
|
};
|
|
38196
|
-
const [result] = await match(json(201,
|
|
38717
|
+
const [result] = await match(json(201, CreateVendorRegistrationCreateVendorRegistrationCreated$inboundSchema), jsonErr([400, 401, 403, 409], ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
|
|
38197
38718
|
if (!result.ok) {
|
|
38198
38719
|
return [result, { status: "complete", request: req, response }];
|
|
38199
38720
|
}
|
|
@@ -38211,12 +38732,12 @@ var init_vendorsCreateVendorRegistration = __esm(() => {
|
|
|
38211
38732
|
});
|
|
38212
38733
|
|
|
38213
38734
|
// src/mcp-server/tools/vendorsCreateVendorRegistration.ts
|
|
38214
|
-
var
|
|
38735
|
+
var args10, tool$vendorsCreateVendorRegistration;
|
|
38215
38736
|
var init_vendorsCreateVendorRegistration2 = __esm(() => {
|
|
38216
38737
|
init_vendorsCreateVendorRegistration();
|
|
38217
38738
|
init_operations();
|
|
38218
38739
|
init_tools();
|
|
38219
|
-
|
|
38740
|
+
args10 = {
|
|
38220
38741
|
request: CreateVendorRegistrationRequestBody$inboundSchema
|
|
38221
38742
|
};
|
|
38222
38743
|
tool$vendorsCreateVendorRegistration = {
|
|
@@ -38224,9 +38745,118 @@ var init_vendorsCreateVendorRegistration2 = __esm(() => {
|
|
|
38224
38745
|
description: `Create vendor registration
|
|
38225
38746
|
|
|
38226
38747
|
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,
|
|
38748
|
+
args: args10,
|
|
38749
|
+
tool: async (client, args11, ctx) => {
|
|
38750
|
+
const [result, apiCall] = await vendorsCreateVendorRegistration(client, args11.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
38751
|
+
if (!result.ok) {
|
|
38752
|
+
return {
|
|
38753
|
+
content: [{ type: "text", text: result.error.message }],
|
|
38754
|
+
isError: true
|
|
38755
|
+
};
|
|
38756
|
+
}
|
|
38757
|
+
const value = result.value;
|
|
38758
|
+
return formatResult(value, apiCall);
|
|
38759
|
+
}
|
|
38760
|
+
};
|
|
38761
|
+
});
|
|
38762
|
+
|
|
38763
|
+
// src/funcs/vendorsListVendorCredentials.ts
|
|
38764
|
+
function vendorsListVendorCredentials(client, request, options) {
|
|
38765
|
+
return new APIPromise($do12(client, request, options));
|
|
38766
|
+
}
|
|
38767
|
+
async function $do12(client, request, options) {
|
|
38768
|
+
const parsed = safeParse(request, (value) => ListVendorCredentialsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
38769
|
+
if (!parsed.ok) {
|
|
38770
|
+
return [parsed, { status: "invalid" }];
|
|
38771
|
+
}
|
|
38772
|
+
const payload = parsed.value;
|
|
38773
|
+
const body = null;
|
|
38774
|
+
const pathParams = {
|
|
38775
|
+
vendor_id: encodeSimple("vendor_id", payload.vendor_id, {
|
|
38776
|
+
explode: false,
|
|
38777
|
+
charEncoding: "percent"
|
|
38778
|
+
})
|
|
38779
|
+
};
|
|
38780
|
+
const path = pathToFunc("/vendors/{vendor_id}/credentials")(pathParams);
|
|
38781
|
+
const query = encodeFormQuery({
|
|
38782
|
+
credential_status: payload.credential_status,
|
|
38783
|
+
facility_id: payload.facility_id,
|
|
38784
|
+
include_cc: payload.include_cc,
|
|
38785
|
+
include_vc: payload.include_vc,
|
|
38786
|
+
urgent: payload.urgent
|
|
38787
|
+
});
|
|
38788
|
+
const headers = new Headers(compactMap({
|
|
38789
|
+
Accept: "application/json"
|
|
38790
|
+
}));
|
|
38791
|
+
const securityInput = await extractSecurity(client._options.security);
|
|
38792
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
38793
|
+
const context = {
|
|
38794
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
38795
|
+
operationID: "listVendorCredentials",
|
|
38796
|
+
oAuth2Scopes: [],
|
|
38797
|
+
resolvedSecurity: requestSecurity,
|
|
38798
|
+
securitySource: client._options.security,
|
|
38799
|
+
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
38800
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
38801
|
+
};
|
|
38802
|
+
const requestRes = client._createRequest(context, {
|
|
38803
|
+
security: requestSecurity,
|
|
38804
|
+
method: "GET",
|
|
38805
|
+
baseURL: options?.serverURL,
|
|
38806
|
+
path,
|
|
38807
|
+
headers,
|
|
38808
|
+
query,
|
|
38809
|
+
body,
|
|
38810
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
38811
|
+
}, options);
|
|
38812
|
+
if (!requestRes.ok) {
|
|
38813
|
+
return [requestRes, { status: "invalid" }];
|
|
38814
|
+
}
|
|
38815
|
+
const req = requestRes.value;
|
|
38816
|
+
const doResult = await client._do(req, {
|
|
38817
|
+
context,
|
|
38818
|
+
errorCodes: ["4XX", "5XX"],
|
|
38819
|
+
retryConfig: context.retryConfig,
|
|
38820
|
+
retryCodes: context.retryCodes
|
|
38821
|
+
});
|
|
38822
|
+
if (!doResult.ok) {
|
|
38823
|
+
return [doResult, { status: "request-error", request: req }];
|
|
38824
|
+
}
|
|
38825
|
+
const response = doResult.value;
|
|
38826
|
+
const [result] = await match(json(200, ListVendorCredentialsResponseBody$inboundSchema), fail("4XX"), fail("5XX"))(response);
|
|
38827
|
+
if (!result.ok) {
|
|
38828
|
+
return [result, { status: "complete", request: req, response }];
|
|
38829
|
+
}
|
|
38830
|
+
return [result, { status: "complete", request: req, response }];
|
|
38831
|
+
}
|
|
38832
|
+
var init_vendorsListVendorCredentials = __esm(() => {
|
|
38833
|
+
init_encodings();
|
|
38834
|
+
init_matchers();
|
|
38835
|
+
init_primitives();
|
|
38836
|
+
init_schemas();
|
|
38837
|
+
init_security();
|
|
38838
|
+
init_url();
|
|
38839
|
+
init_operations();
|
|
38840
|
+
init_async();
|
|
38841
|
+
});
|
|
38842
|
+
|
|
38843
|
+
// src/mcp-server/tools/vendorsListVendorCredentials.ts
|
|
38844
|
+
var args11, tool$vendorsListVendorCredentials;
|
|
38845
|
+
var init_vendorsListVendorCredentials2 = __esm(() => {
|
|
38846
|
+
init_vendorsListVendorCredentials();
|
|
38847
|
+
init_operations();
|
|
38848
|
+
init_tools();
|
|
38849
|
+
args11 = {
|
|
38850
|
+
request: ListVendorCredentialsRequest$inboundSchema
|
|
38851
|
+
};
|
|
38852
|
+
tool$vendorsListVendorCredentials = {
|
|
38853
|
+
name: "vendors_list-vendor-credentials",
|
|
38854
|
+
description: `List Vendor Credentials
|
|
38855
|
+
|
|
38856
|
+
Lists vendor credentials, required credentials, and company credentials. Utilized in Vendor Dashboard.`,
|
|
38857
|
+
args: args11,
|
|
38858
|
+
tool: async (client, args12, ctx) => {
|
|
38859
|
+
const [result, apiCall] = await vendorsListVendorCredentials(client, args12.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
38230
38860
|
if (!result.ok) {
|
|
38231
38861
|
return {
|
|
38232
38862
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -38241,9 +38871,9 @@ Create an initial vendor registration. Once successful, the vendor will be able
|
|
|
38241
38871
|
|
|
38242
38872
|
// src/funcs/vendorsListVendorJobTitles.ts
|
|
38243
38873
|
function vendorsListVendorJobTitles(client, request, options) {
|
|
38244
|
-
return new APIPromise($
|
|
38874
|
+
return new APIPromise($do13(client, request, options));
|
|
38245
38875
|
}
|
|
38246
|
-
async function $
|
|
38876
|
+
async function $do13(client, request, options) {
|
|
38247
38877
|
const parsed = safeParse(request, (value) => ListVendorJobTitlesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
38248
38878
|
if (!parsed.ok) {
|
|
38249
38879
|
return [parsed, { status: "invalid" }];
|
|
@@ -38296,7 +38926,7 @@ async function $do10(client, request, options) {
|
|
|
38296
38926
|
const responseFields = {
|
|
38297
38927
|
HttpMeta: { Response: response, Request: req }
|
|
38298
38928
|
};
|
|
38299
|
-
const [result] = await match(json(200,
|
|
38929
|
+
const [result] = await match(json(200, ListVendorJobTitlesListVendorJobTitlesOk$inboundSchema), jsonErr(403, ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
|
|
38300
38930
|
if (!result.ok) {
|
|
38301
38931
|
return [result, { status: "complete", request: req, response }];
|
|
38302
38932
|
}
|
|
@@ -38314,12 +38944,12 @@ var init_vendorsListVendorJobTitles = __esm(() => {
|
|
|
38314
38944
|
});
|
|
38315
38945
|
|
|
38316
38946
|
// src/mcp-server/tools/vendorsListVendorJobTitles.ts
|
|
38317
|
-
var
|
|
38947
|
+
var args12, tool$vendorsListVendorJobTitles;
|
|
38318
38948
|
var init_vendorsListVendorJobTitles2 = __esm(() => {
|
|
38319
38949
|
init_vendorsListVendorJobTitles();
|
|
38320
38950
|
init_operations();
|
|
38321
38951
|
init_tools();
|
|
38322
|
-
|
|
38952
|
+
args12 = {
|
|
38323
38953
|
request: ListVendorJobTitlesRequest$inboundSchema
|
|
38324
38954
|
};
|
|
38325
38955
|
tool$vendorsListVendorJobTitles = {
|
|
@@ -38327,9 +38957,9 @@ var init_vendorsListVendorJobTitles2 = __esm(() => {
|
|
|
38327
38957
|
description: `List vendor job titles
|
|
38328
38958
|
|
|
38329
38959
|
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,
|
|
38960
|
+
args: args12,
|
|
38961
|
+
tool: async (client, args13, ctx) => {
|
|
38962
|
+
const [result, apiCall] = await vendorsListVendorJobTitles(client, args13.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
38333
38963
|
if (!result.ok) {
|
|
38334
38964
|
return {
|
|
38335
38965
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -38346,7 +38976,7 @@ List valid job titles for Vendors. This can be used during sign up or in a filte
|
|
|
38346
38976
|
function createMCPServer(deps) {
|
|
38347
38977
|
const server = new McpServer({
|
|
38348
38978
|
name: "GreenSecurity",
|
|
38349
|
-
version: "0.
|
|
38979
|
+
version: "0.16.0"
|
|
38350
38980
|
});
|
|
38351
38981
|
const client = new GreenSecurityCore({
|
|
38352
38982
|
security: deps.security,
|
|
@@ -38358,14 +38988,17 @@ function createMCPServer(deps) {
|
|
|
38358
38988
|
const tool = createRegisterTool(deps.logger, server, client, scopes, allowedTools);
|
|
38359
38989
|
tool(tool$vendorsCreateVendorRegistration);
|
|
38360
38990
|
tool(tool$vendorsListVendorJobTitles);
|
|
38361
|
-
tool(tool$
|
|
38362
|
-
tool(tool$
|
|
38363
|
-
tool(tool$
|
|
38364
|
-
tool(tool$
|
|
38365
|
-
tool(tool$
|
|
38366
|
-
tool(tool$
|
|
38991
|
+
tool(tool$vendorsListVendorCredentials);
|
|
38992
|
+
tool(tool$usersGetCurrentUser);
|
|
38993
|
+
tool(tool$usersGetUserById);
|
|
38994
|
+
tool(tool$usersLogsUserIntoTheSystem);
|
|
38995
|
+
tool(tool$usersMagiclink);
|
|
38996
|
+
tool(tool$usersPasswordResetRequest);
|
|
38997
|
+
tool(tool$usersPassword);
|
|
38367
38998
|
tool(tool$organizationsListOrSearchFacilities);
|
|
38368
38999
|
tool(tool$organizationsGetFacility);
|
|
39000
|
+
tool(tool$supportArticlesListOrSearchSupportArticles);
|
|
39001
|
+
tool(tool$supportArticlesGetSupportArticle);
|
|
38369
39002
|
return server;
|
|
38370
39003
|
}
|
|
38371
39004
|
var init_server2 = __esm(() => {
|
|
@@ -38375,13 +39008,16 @@ var init_server2 = __esm(() => {
|
|
|
38375
39008
|
init_tools();
|
|
38376
39009
|
init_organizationsGetFacility2();
|
|
38377
39010
|
init_organizationsListOrSearchFacilities2();
|
|
38378
|
-
|
|
38379
|
-
|
|
38380
|
-
|
|
38381
|
-
|
|
38382
|
-
|
|
38383
|
-
|
|
39011
|
+
init_supportArticlesGetSupportArticle2();
|
|
39012
|
+
init_supportArticlesListOrSearchSupportArticles2();
|
|
39013
|
+
init_usersGetCurrentUser2();
|
|
39014
|
+
init_usersGetUserById2();
|
|
39015
|
+
init_usersLogsUserIntoTheSystem2();
|
|
39016
|
+
init_usersMagiclink2();
|
|
39017
|
+
init_usersPassword2();
|
|
39018
|
+
init_usersPasswordResetRequest2();
|
|
38384
39019
|
init_vendorsCreateVendorRegistration2();
|
|
39020
|
+
init_vendorsListVendorCredentials2();
|
|
38385
39021
|
init_vendorsListVendorJobTitles2();
|
|
38386
39022
|
});
|
|
38387
39023
|
|
|
@@ -39580,7 +40216,7 @@ var routes = rn({
|
|
|
39580
40216
|
var app = Ve(routes, {
|
|
39581
40217
|
name: "mcp",
|
|
39582
40218
|
versionInfo: {
|
|
39583
|
-
currentVersion: "0.
|
|
40219
|
+
currentVersion: "0.16.0"
|
|
39584
40220
|
}
|
|
39585
40221
|
});
|
|
39586
40222
|
_t(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -39588,5 +40224,5 @@ export {
|
|
|
39588
40224
|
app
|
|
39589
40225
|
};
|
|
39590
40226
|
|
|
39591
|
-
//# debugId=
|
|
40227
|
+
//# debugId=F2901ED8C472B56664756E2164756E21
|
|
39592
40228
|
//# sourceMappingURL=mcp-server.js.map
|