@greensecurity/javascript-sdk 0.15.0 → 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
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { InvalidateQueryFilters, QueryClient, QueryFunctionContext, QueryKey, UseQueryResult, UseSuspenseQueryResult } from "@tanstack/react-query";
|
|
2
|
+
import { GreenSecurityCore } from "../core.js";
|
|
3
|
+
import { RequestOptions } from "../lib/sdks.js";
|
|
4
|
+
import * as components from "../models/components/index.js";
|
|
5
|
+
import * as operations from "../models/operations/index.js";
|
|
6
|
+
import { QueryHookOptions, SuspenseQueryHookOptions, TupleToPrefixes } from "./_types.js";
|
|
7
|
+
export type SupportArticlesListOrSearchSupportArticlesQueryData = operations.ListOrSearchSupportArticlesListOrSearchArticlesOk;
|
|
8
|
+
/**
|
|
9
|
+
* List or search support articles
|
|
10
|
+
*
|
|
11
|
+
* @remarks
|
|
12
|
+
* List or search support articles for FAQ.
|
|
13
|
+
*/
|
|
14
|
+
export declare function useSupportArticlesListOrSearchSupportArticles(request: operations.ListOrSearchSupportArticlesRequest, options?: QueryHookOptions<SupportArticlesListOrSearchSupportArticlesQueryData>): UseQueryResult<SupportArticlesListOrSearchSupportArticlesQueryData, Error>;
|
|
15
|
+
/**
|
|
16
|
+
* List or search support articles
|
|
17
|
+
*
|
|
18
|
+
* @remarks
|
|
19
|
+
* List or search support articles for FAQ.
|
|
20
|
+
*/
|
|
21
|
+
export declare function useSupportArticlesListOrSearchSupportArticlesSuspense(request: operations.ListOrSearchSupportArticlesRequest, options?: SuspenseQueryHookOptions<SupportArticlesListOrSearchSupportArticlesQueryData>): UseSuspenseQueryResult<SupportArticlesListOrSearchSupportArticlesQueryData, Error>;
|
|
22
|
+
export declare function prefetchSupportArticlesListOrSearchSupportArticles(queryClient: QueryClient, client$: GreenSecurityCore, request: operations.ListOrSearchSupportArticlesRequest): Promise<void>;
|
|
23
|
+
export declare function setSupportArticlesListOrSearchSupportArticlesData(client: QueryClient, queryKeyBase: [
|
|
24
|
+
parameters: {
|
|
25
|
+
sort?: string | null | undefined;
|
|
26
|
+
desc?: components.Desc | undefined;
|
|
27
|
+
page?: number | undefined;
|
|
28
|
+
itemsPerPage?: number | undefined;
|
|
29
|
+
}
|
|
30
|
+
], data: SupportArticlesListOrSearchSupportArticlesQueryData): SupportArticlesListOrSearchSupportArticlesQueryData | undefined;
|
|
31
|
+
export declare function invalidateSupportArticlesListOrSearchSupportArticles(client: QueryClient, queryKeyBase: TupleToPrefixes<[
|
|
32
|
+
parameters: {
|
|
33
|
+
sort?: string | null | undefined;
|
|
34
|
+
desc?: components.Desc | undefined;
|
|
35
|
+
page?: number | undefined;
|
|
36
|
+
itemsPerPage?: number | undefined;
|
|
37
|
+
}
|
|
38
|
+
]>, filters?: Omit<InvalidateQueryFilters, "queryKey" | "predicate" | "exact">): Promise<void>;
|
|
39
|
+
export declare function invalidateAllSupportArticlesListOrSearchSupportArticles(client: QueryClient, filters?: Omit<InvalidateQueryFilters, "queryKey" | "predicate" | "exact">): Promise<void>;
|
|
40
|
+
export declare function buildSupportArticlesListOrSearchSupportArticlesQuery(client$: GreenSecurityCore, request: operations.ListOrSearchSupportArticlesRequest, options?: RequestOptions): {
|
|
41
|
+
queryKey: QueryKey;
|
|
42
|
+
queryFn: (context: QueryFunctionContext) => Promise<SupportArticlesListOrSearchSupportArticlesQueryData>;
|
|
43
|
+
};
|
|
44
|
+
export declare function queryKeySupportArticlesListOrSearchSupportArticles(parameters: {
|
|
45
|
+
sort?: string | null | undefined;
|
|
46
|
+
desc?: components.Desc | undefined;
|
|
47
|
+
page?: number | undefined;
|
|
48
|
+
itemsPerPage?: number | undefined;
|
|
49
|
+
}): QueryKey;
|
|
50
|
+
//# sourceMappingURL=supportArticlesListOrSearchSupportArticles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"supportArticlesListOrSearchSupportArticles.d.ts","sourceRoot":"","sources":["../src/react-query/supportArticlesListOrSearchSupportArticles.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.useSupportArticlesListOrSearchSupportArticles = useSupportArticlesListOrSearchSupportArticles;
|
|
7
|
+
exports.useSupportArticlesListOrSearchSupportArticlesSuspense = useSupportArticlesListOrSearchSupportArticlesSuspense;
|
|
8
|
+
exports.prefetchSupportArticlesListOrSearchSupportArticles = prefetchSupportArticlesListOrSearchSupportArticles;
|
|
9
|
+
exports.setSupportArticlesListOrSearchSupportArticlesData = setSupportArticlesListOrSearchSupportArticlesData;
|
|
10
|
+
exports.invalidateSupportArticlesListOrSearchSupportArticles = invalidateSupportArticlesListOrSearchSupportArticles;
|
|
11
|
+
exports.invalidateAllSupportArticlesListOrSearchSupportArticles = invalidateAllSupportArticlesListOrSearchSupportArticles;
|
|
12
|
+
exports.buildSupportArticlesListOrSearchSupportArticlesQuery = buildSupportArticlesListOrSearchSupportArticlesQuery;
|
|
13
|
+
exports.queryKeySupportArticlesListOrSearchSupportArticles = queryKeySupportArticlesListOrSearchSupportArticles;
|
|
14
|
+
const react_query_1 = require("@tanstack/react-query");
|
|
15
|
+
const supportArticlesListOrSearchSupportArticles_js_1 = require("../funcs/supportArticlesListOrSearchSupportArticles.js");
|
|
16
|
+
const primitives_js_1 = require("../lib/primitives.js");
|
|
17
|
+
const fp_js_1 = require("../types/fp.js");
|
|
18
|
+
const _context_js_1 = require("./_context.js");
|
|
19
|
+
/**
|
|
20
|
+
* List or search support articles
|
|
21
|
+
*
|
|
22
|
+
* @remarks
|
|
23
|
+
* List or search support articles for FAQ.
|
|
24
|
+
*/
|
|
25
|
+
function useSupportArticlesListOrSearchSupportArticles(request, options) {
|
|
26
|
+
const client = (0, _context_js_1.useGreenSecurityContext)();
|
|
27
|
+
return (0, react_query_1.useQuery)({
|
|
28
|
+
...buildSupportArticlesListOrSearchSupportArticlesQuery(client, request, options),
|
|
29
|
+
...options,
|
|
30
|
+
});
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* List or search support articles
|
|
34
|
+
*
|
|
35
|
+
* @remarks
|
|
36
|
+
* List or search support articles for FAQ.
|
|
37
|
+
*/
|
|
38
|
+
function useSupportArticlesListOrSearchSupportArticlesSuspense(request, options) {
|
|
39
|
+
const client = (0, _context_js_1.useGreenSecurityContext)();
|
|
40
|
+
return (0, react_query_1.useSuspenseQuery)({
|
|
41
|
+
...buildSupportArticlesListOrSearchSupportArticlesQuery(client, request, options),
|
|
42
|
+
...options,
|
|
43
|
+
});
|
|
44
|
+
}
|
|
45
|
+
function prefetchSupportArticlesListOrSearchSupportArticles(queryClient, client$, request) {
|
|
46
|
+
return queryClient.prefetchQuery({
|
|
47
|
+
...buildSupportArticlesListOrSearchSupportArticlesQuery(client$, request),
|
|
48
|
+
});
|
|
49
|
+
}
|
|
50
|
+
function setSupportArticlesListOrSearchSupportArticlesData(client, queryKeyBase, data) {
|
|
51
|
+
const key = queryKeySupportArticlesListOrSearchSupportArticles(...queryKeyBase);
|
|
52
|
+
return client.setQueryData(key, data);
|
|
53
|
+
}
|
|
54
|
+
function invalidateSupportArticlesListOrSearchSupportArticles(client, queryKeyBase, filters) {
|
|
55
|
+
return client.invalidateQueries({
|
|
56
|
+
...filters,
|
|
57
|
+
queryKey: [
|
|
58
|
+
"@greensecurity/javascript-sdk",
|
|
59
|
+
"support_articles",
|
|
60
|
+
"listOrSearchSupportArticles",
|
|
61
|
+
...queryKeyBase,
|
|
62
|
+
],
|
|
63
|
+
});
|
|
64
|
+
}
|
|
65
|
+
function invalidateAllSupportArticlesListOrSearchSupportArticles(client, filters) {
|
|
66
|
+
return client.invalidateQueries({
|
|
67
|
+
...filters,
|
|
68
|
+
queryKey: [
|
|
69
|
+
"@greensecurity/javascript-sdk",
|
|
70
|
+
"support_articles",
|
|
71
|
+
"listOrSearchSupportArticles",
|
|
72
|
+
],
|
|
73
|
+
});
|
|
74
|
+
}
|
|
75
|
+
function buildSupportArticlesListOrSearchSupportArticlesQuery(client$, request, options) {
|
|
76
|
+
return {
|
|
77
|
+
queryKey: queryKeySupportArticlesListOrSearchSupportArticles({
|
|
78
|
+
sort: request.sort,
|
|
79
|
+
desc: request.desc,
|
|
80
|
+
page: request.page,
|
|
81
|
+
itemsPerPage: request.itemsPerPage,
|
|
82
|
+
}),
|
|
83
|
+
queryFn: async function supportArticlesListOrSearchSupportArticlesQueryFn(ctx) {
|
|
84
|
+
const sig = (0, primitives_js_1.combineSignals)(ctx.signal, options?.fetchOptions?.signal);
|
|
85
|
+
const mergedOptions = {
|
|
86
|
+
...options,
|
|
87
|
+
fetchOptions: { ...options?.fetchOptions, signal: sig },
|
|
88
|
+
};
|
|
89
|
+
return (0, fp_js_1.unwrapAsync)((0, supportArticlesListOrSearchSupportArticles_js_1.supportArticlesListOrSearchSupportArticles)(client$, request, mergedOptions));
|
|
90
|
+
},
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
function queryKeySupportArticlesListOrSearchSupportArticles(parameters) {
|
|
94
|
+
return [
|
|
95
|
+
"@greensecurity/javascript-sdk",
|
|
96
|
+
"support_articles",
|
|
97
|
+
"listOrSearchSupportArticles",
|
|
98
|
+
parameters,
|
|
99
|
+
];
|
|
100
|
+
}
|
|
101
|
+
//# sourceMappingURL=supportArticlesListOrSearchSupportArticles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"supportArticlesListOrSearchSupportArticles.js","sourceRoot":"","sources":["../src/react-query/supportArticlesListOrSearchSupportArticles.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { InvalidateQueryFilters, QueryClient, QueryFunctionContext, QueryKey, UseQueryResult, UseSuspenseQueryResult } from "@tanstack/react-query";
|
|
2
|
+
import { GreenSecurityCore } from "../core.js";
|
|
3
|
+
import { RequestOptions } from "../lib/sdks.js";
|
|
4
|
+
import * as components from "../models/components/index.js";
|
|
5
|
+
import { QueryHookOptions, SuspenseQueryHookOptions } from "./_types.js";
|
|
6
|
+
export type UsersGetCurrentUserQueryData = components.User;
|
|
7
|
+
/**
|
|
8
|
+
* Get current user
|
|
9
|
+
*
|
|
10
|
+
* @remarks
|
|
11
|
+
* Returns a user object for the user represented by the authorization token
|
|
12
|
+
*/
|
|
13
|
+
export declare function useUsersGetCurrentUser(options?: QueryHookOptions<UsersGetCurrentUserQueryData>): UseQueryResult<UsersGetCurrentUserQueryData, Error>;
|
|
14
|
+
/**
|
|
15
|
+
* Get current user
|
|
16
|
+
*
|
|
17
|
+
* @remarks
|
|
18
|
+
* Returns a user object for the user represented by the authorization token
|
|
19
|
+
*/
|
|
20
|
+
export declare function useUsersGetCurrentUserSuspense(options?: SuspenseQueryHookOptions<UsersGetCurrentUserQueryData>): UseSuspenseQueryResult<UsersGetCurrentUserQueryData, Error>;
|
|
21
|
+
export declare function prefetchUsersGetCurrentUser(queryClient: QueryClient, client$: GreenSecurityCore): Promise<void>;
|
|
22
|
+
export declare function setUsersGetCurrentUserData(client: QueryClient, data: UsersGetCurrentUserQueryData): UsersGetCurrentUserQueryData | undefined;
|
|
23
|
+
export declare function invalidateAllUsersGetCurrentUser(client: QueryClient, filters?: Omit<InvalidateQueryFilters, "queryKey" | "predicate" | "exact">): Promise<void>;
|
|
24
|
+
export declare function buildUsersGetCurrentUserQuery(client$: GreenSecurityCore, options?: RequestOptions): {
|
|
25
|
+
queryKey: QueryKey;
|
|
26
|
+
queryFn: (context: QueryFunctionContext) => Promise<UsersGetCurrentUserQueryData>;
|
|
27
|
+
};
|
|
28
|
+
export declare function queryKeyUsersGetCurrentUser(): QueryKey;
|
|
29
|
+
//# sourceMappingURL=usersGetCurrentUser.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"usersGetCurrentUser.d.ts","sourceRoot":"","sources":["../src/react-query/usersGetCurrentUser.ts"],"names":[],"mappings":"AAIA,OAAO,EACL,sBAAsB,EACtB,WAAW,EACX,oBAAoB,EACpB,QAAQ,EAER,cAAc,EAEd,sBAAsB,EACvB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAG/C,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAG5D,OAAO,EAAE,gBAAgB,EAAE,wBAAwB,EAAE,MAAM,aAAa,CAAC;AAEzE,MAAM,MAAM,4BAA4B,GAAG,UAAU,CAAC,IAAI,CAAC;AAE3D;;;;;GAKG;AACH,wBAAgB,sBAAsB,CACpC,OAAO,CAAC,EAAE,gBAAgB,CAAC,4BAA4B,CAAC,GACvD,cAAc,CAAC,4BAA4B,EAAE,KAAK,CAAC,CASrD;AAED;;;;;GAKG;AACH,wBAAgB,8BAA8B,CAC5C,OAAO,CAAC,EAAE,wBAAwB,CAAC,4BAA4B,CAAC,GAC/D,sBAAsB,CAAC,4BAA4B,EAAE,KAAK,CAAC,CAS7D;AAED,wBAAgB,2BAA2B,CACzC,WAAW,EAAE,WAAW,EACxB,OAAO,EAAE,iBAAiB,GACzB,OAAO,CAAC,IAAI,CAAC,CAMf;AAED,wBAAgB,0BAA0B,CACxC,MAAM,EAAE,WAAW,EACnB,IAAI,EAAE,4BAA4B,GACjC,4BAA4B,GAAG,SAAS,CAI1C;AAED,wBAAgB,gCAAgC,CAC9C,MAAM,EAAE,WAAW,EACnB,OAAO,CAAC,EAAE,IAAI,CAAC,sBAAsB,EAAE,UAAU,GAAG,WAAW,GAAG,OAAO,CAAC,GACzE,OAAO,CAAC,IAAI,CAAC,CAKf;AAED,wBAAgB,6BAA6B,CAC3C,OAAO,EAAE,iBAAiB,EAC1B,OAAO,CAAC,EAAE,cAAc,GACvB;IACD,QAAQ,EAAE,QAAQ,CAAC;IACnB,OAAO,EAAE,CACP,OAAO,EAAE,oBAAoB,KAC1B,OAAO,CAAC,4BAA4B,CAAC,CAAC;CAC5C,CAkBA;AAED,wBAAgB,2BAA2B,IAAI,QAAQ,CAEtD"}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.useUsersGetCurrentUser = useUsersGetCurrentUser;
|
|
7
|
+
exports.useUsersGetCurrentUserSuspense = useUsersGetCurrentUserSuspense;
|
|
8
|
+
exports.prefetchUsersGetCurrentUser = prefetchUsersGetCurrentUser;
|
|
9
|
+
exports.setUsersGetCurrentUserData = setUsersGetCurrentUserData;
|
|
10
|
+
exports.invalidateAllUsersGetCurrentUser = invalidateAllUsersGetCurrentUser;
|
|
11
|
+
exports.buildUsersGetCurrentUserQuery = buildUsersGetCurrentUserQuery;
|
|
12
|
+
exports.queryKeyUsersGetCurrentUser = queryKeyUsersGetCurrentUser;
|
|
13
|
+
const react_query_1 = require("@tanstack/react-query");
|
|
14
|
+
const usersGetCurrentUser_js_1 = require("../funcs/usersGetCurrentUser.js");
|
|
15
|
+
const primitives_js_1 = require("../lib/primitives.js");
|
|
16
|
+
const fp_js_1 = require("../types/fp.js");
|
|
17
|
+
const _context_js_1 = require("./_context.js");
|
|
18
|
+
/**
|
|
19
|
+
* Get current user
|
|
20
|
+
*
|
|
21
|
+
* @remarks
|
|
22
|
+
* Returns a user object for the user represented by the authorization token
|
|
23
|
+
*/
|
|
24
|
+
function useUsersGetCurrentUser(options) {
|
|
25
|
+
const client = (0, _context_js_1.useGreenSecurityContext)();
|
|
26
|
+
return (0, react_query_1.useQuery)({
|
|
27
|
+
...buildUsersGetCurrentUserQuery(client, options),
|
|
28
|
+
...options,
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Get current user
|
|
33
|
+
*
|
|
34
|
+
* @remarks
|
|
35
|
+
* Returns a user object for the user represented by the authorization token
|
|
36
|
+
*/
|
|
37
|
+
function useUsersGetCurrentUserSuspense(options) {
|
|
38
|
+
const client = (0, _context_js_1.useGreenSecurityContext)();
|
|
39
|
+
return (0, react_query_1.useSuspenseQuery)({
|
|
40
|
+
...buildUsersGetCurrentUserQuery(client, options),
|
|
41
|
+
...options,
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
function prefetchUsersGetCurrentUser(queryClient, client$) {
|
|
45
|
+
return queryClient.prefetchQuery({
|
|
46
|
+
...buildUsersGetCurrentUserQuery(client$),
|
|
47
|
+
});
|
|
48
|
+
}
|
|
49
|
+
function setUsersGetCurrentUserData(client, data) {
|
|
50
|
+
const key = queryKeyUsersGetCurrentUser();
|
|
51
|
+
return client.setQueryData(key, data);
|
|
52
|
+
}
|
|
53
|
+
function invalidateAllUsersGetCurrentUser(client, filters) {
|
|
54
|
+
return client.invalidateQueries({
|
|
55
|
+
...filters,
|
|
56
|
+
queryKey: ["@greensecurity/javascript-sdk", "users", "getCurrentUser"],
|
|
57
|
+
});
|
|
58
|
+
}
|
|
59
|
+
function buildUsersGetCurrentUserQuery(client$, options) {
|
|
60
|
+
return {
|
|
61
|
+
queryKey: queryKeyUsersGetCurrentUser(),
|
|
62
|
+
queryFn: async function usersGetCurrentUserQueryFn(ctx) {
|
|
63
|
+
const sig = (0, primitives_js_1.combineSignals)(ctx.signal, options?.fetchOptions?.signal);
|
|
64
|
+
const mergedOptions = {
|
|
65
|
+
...options,
|
|
66
|
+
fetchOptions: { ...options?.fetchOptions, signal: sig },
|
|
67
|
+
};
|
|
68
|
+
return (0, fp_js_1.unwrapAsync)((0, usersGetCurrentUser_js_1.usersGetCurrentUser)(client$, mergedOptions));
|
|
69
|
+
},
|
|
70
|
+
};
|
|
71
|
+
}
|
|
72
|
+
function queryKeyUsersGetCurrentUser() {
|
|
73
|
+
return ["@greensecurity/javascript-sdk", "users", "getCurrentUser"];
|
|
74
|
+
}
|
|
75
|
+
//# sourceMappingURL=usersGetCurrentUser.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"usersGetCurrentUser.js","sourceRoot":"","sources":["../src/react-query/usersGetCurrentUser.ts"],"names":[],"mappings":";AAAA;;GAEG;;AA6BH,wDAWC;AAQD,wEAWC;AAED,kEASC;AAED,gEAOC;AAED,4EAQC;AAED,sEA0BC;AAED,kEAEC;AAvHD,uDAS+B;AAE/B,4EAAsE;AACtE,wDAAsD;AAGtD,0CAA6C;AAC7C,+CAAwD;AAKxD;;;;;GAKG;AACH,SAAgB,sBAAsB,CACpC,OAAwD;IAExD,MAAM,MAAM,GAAG,IAAA,qCAAuB,GAAE,CAAC;IACzC,OAAO,IAAA,sBAAQ,EAAC;QACd,GAAG,6BAA6B,CAC9B,MAAM,EACN,OAAO,CACR;QACD,GAAG,OAAO;KACX,CAAC,CAAC;AACL,CAAC;AAED;;;;;GAKG;AACH,SAAgB,8BAA8B,CAC5C,OAAgE;IAEhE,MAAM,MAAM,GAAG,IAAA,qCAAuB,GAAE,CAAC;IACzC,OAAO,IAAA,8BAAgB,EAAC;QACtB,GAAG,6BAA6B,CAC9B,MAAM,EACN,OAAO,CACR;QACD,GAAG,OAAO;KACX,CAAC,CAAC;AACL,CAAC;AAED,SAAgB,2BAA2B,CACzC,WAAwB,EACxB,OAA0B;IAE1B,OAAO,WAAW,CAAC,aAAa,CAAC;QAC/B,GAAG,6BAA6B,CAC9B,OAAO,CACR;KACF,CAAC,CAAC;AACL,CAAC;AAED,SAAgB,0BAA0B,CACxC,MAAmB,EACnB,IAAkC;IAElC,MAAM,GAAG,GAAG,2BAA2B,EAAE,CAAC;IAE1C,OAAO,MAAM,CAAC,YAAY,CAA+B,GAAG,EAAE,IAAI,CAAC,CAAC;AACtE,CAAC;AAED,SAAgB,gCAAgC,CAC9C,MAAmB,EACnB,OAA0E;IAE1E,OAAO,MAAM,CAAC,iBAAiB,CAAC;QAC9B,GAAG,OAAO;QACV,QAAQ,EAAE,CAAC,+BAA+B,EAAE,OAAO,EAAE,gBAAgB,CAAC;KACvE,CAAC,CAAC;AACL,CAAC;AAED,SAAgB,6BAA6B,CAC3C,OAA0B,EAC1B,OAAwB;IAOxB,OAAO;QACL,QAAQ,EAAE,2BAA2B,EAAE;QACvC,OAAO,EAAE,KAAK,UAAU,0BAA0B,CAChD,GAAG;YAEH,MAAM,GAAG,GAAG,IAAA,8BAAc,EAAC,GAAG,CAAC,MAAM,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,CAAC,CAAC;YACtE,MAAM,aAAa,GAAG;gBACpB,GAAG,OAAO;gBACV,YAAY,EAAE,EAAE,GAAG,OAAO,EAAE,YAAY,EAAE,MAAM,EAAE,GAAG,EAAE;aACxD,CAAC;YAEF,OAAO,IAAA,mBAAW,EAAC,IAAA,4CAAmB,EACpC,OAAO,EACP,aAAa,CACd,CAAC,CAAC;QACL,CAAC;KACF,CAAC;AACJ,CAAC;AAED,SAAgB,2BAA2B;IACzC,OAAO,CAAC,+BAA+B,EAAE,OAAO,EAAE,gBAAgB,CAAC,CAAC;AACtE,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { InvalidateQueryFilters, QueryClient, QueryFunctionContext, QueryKey, UseQueryResult, UseSuspenseQueryResult } from "@tanstack/react-query";
|
|
2
|
+
import { GreenSecurityCore } from "../core.js";
|
|
3
|
+
import { RequestOptions } from "../lib/sdks.js";
|
|
4
|
+
import * as components from "../models/components/index.js";
|
|
5
|
+
import * as operations from "../models/operations/index.js";
|
|
6
|
+
import { QueryHookOptions, SuspenseQueryHookOptions, TupleToPrefixes } from "./_types.js";
|
|
7
|
+
export type UsersGetUserByIdQueryData = components.User;
|
|
8
|
+
/**
|
|
9
|
+
* Get user by id
|
|
10
|
+
*
|
|
11
|
+
* @remarks
|
|
12
|
+
* Returns a user object for the user represented by the identifier in the path.
|
|
13
|
+
*/
|
|
14
|
+
export declare function useUsersGetUserById(request: operations.GetUserByIdRequest, options?: QueryHookOptions<UsersGetUserByIdQueryData>): UseQueryResult<UsersGetUserByIdQueryData, Error>;
|
|
15
|
+
/**
|
|
16
|
+
* Get user by id
|
|
17
|
+
*
|
|
18
|
+
* @remarks
|
|
19
|
+
* Returns a user object for the user represented by the identifier in the path.
|
|
20
|
+
*/
|
|
21
|
+
export declare function useUsersGetUserByIdSuspense(request: operations.GetUserByIdRequest, options?: SuspenseQueryHookOptions<UsersGetUserByIdQueryData>): UseSuspenseQueryResult<UsersGetUserByIdQueryData, Error>;
|
|
22
|
+
export declare function prefetchUsersGetUserById(queryClient: QueryClient, client$: GreenSecurityCore, request: operations.GetUserByIdRequest): Promise<void>;
|
|
23
|
+
export declare function setUsersGetUserByIdData(client: QueryClient, queryKeyBase: [id: number], data: UsersGetUserByIdQueryData): UsersGetUserByIdQueryData | undefined;
|
|
24
|
+
export declare function invalidateUsersGetUserById(client: QueryClient, queryKeyBase: TupleToPrefixes<[id: number]>, filters?: Omit<InvalidateQueryFilters, "queryKey" | "predicate" | "exact">): Promise<void>;
|
|
25
|
+
export declare function invalidateAllUsersGetUserById(client: QueryClient, filters?: Omit<InvalidateQueryFilters, "queryKey" | "predicate" | "exact">): Promise<void>;
|
|
26
|
+
export declare function buildUsersGetUserByIdQuery(client$: GreenSecurityCore, request: operations.GetUserByIdRequest, options?: RequestOptions): {
|
|
27
|
+
queryKey: QueryKey;
|
|
28
|
+
queryFn: (context: QueryFunctionContext) => Promise<UsersGetUserByIdQueryData>;
|
|
29
|
+
};
|
|
30
|
+
export declare function queryKeyUsersGetUserById(id: number): QueryKey;
|
|
31
|
+
//# sourceMappingURL=usersGetUserById.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"usersGetUserById.d.ts","sourceRoot":"","sources":["../src/react-query/usersGetUserById.ts"],"names":[],"mappings":"AAIA,OAAO,EACL,sBAAsB,EACtB,WAAW,EACX,oBAAoB,EACpB,QAAQ,EAER,cAAc,EAEd,sBAAsB,EACvB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAG/C,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAG5D,OAAO,EACL,gBAAgB,EAChB,wBAAwB,EACxB,eAAe,EAChB,MAAM,aAAa,CAAC;AAErB,MAAM,MAAM,yBAAyB,GAAG,UAAU,CAAC,IAAI,CAAC;AAExD;;;;;GAKG;AACH,wBAAgB,mBAAmB,CACjC,OAAO,EAAE,UAAU,CAAC,kBAAkB,EACtC,OAAO,CAAC,EAAE,gBAAgB,CAAC,yBAAyB,CAAC,GACpD,cAAc,CAAC,yBAAyB,EAAE,KAAK,CAAC,CAUlD;AAED;;;;;GAKG;AACH,wBAAgB,2BAA2B,CACzC,OAAO,EAAE,UAAU,CAAC,kBAAkB,EACtC,OAAO,CAAC,EAAE,wBAAwB,CAAC,yBAAyB,CAAC,GAC5D,sBAAsB,CAAC,yBAAyB,EAAE,KAAK,CAAC,CAU1D;AAED,wBAAgB,wBAAwB,CACtC,WAAW,EAAE,WAAW,EACxB,OAAO,EAAE,iBAAiB,EAC1B,OAAO,EAAE,UAAU,CAAC,kBAAkB,GACrC,OAAO,CAAC,IAAI,CAAC,CAOf;AAED,wBAAgB,uBAAuB,CACrC,MAAM,EAAE,WAAW,EACnB,YAAY,EAAE,CAAC,EAAE,EAAE,MAAM,CAAC,EAC1B,IAAI,EAAE,yBAAyB,GAC9B,yBAAyB,GAAG,SAAS,CAIvC;AAED,wBAAgB,0BAA0B,CACxC,MAAM,EAAE,WAAW,EACnB,YAAY,EAAE,eAAe,CAAC,CAAC,EAAE,EAAE,MAAM,CAAC,CAAC,EAC3C,OAAO,CAAC,EAAE,IAAI,CAAC,sBAAsB,EAAE,UAAU,GAAG,WAAW,GAAG,OAAO,CAAC,GACzE,OAAO,CAAC,IAAI,CAAC,CAUf;AAED,wBAAgB,6BAA6B,CAC3C,MAAM,EAAE,WAAW,EACnB,OAAO,CAAC,EAAE,IAAI,CAAC,sBAAsB,EAAE,UAAU,GAAG,WAAW,GAAG,OAAO,CAAC,GACzE,OAAO,CAAC,IAAI,CAAC,CAKf;AAED,wBAAgB,0BAA0B,CACxC,OAAO,EAAE,iBAAiB,EAC1B,OAAO,EAAE,UAAU,CAAC,kBAAkB,EACtC,OAAO,CAAC,EAAE,cAAc,GACvB;IACD,QAAQ,EAAE,QAAQ,CAAC;IACnB,OAAO,EAAE,CACP,OAAO,EAAE,oBAAoB,KAC1B,OAAO,CAAC,yBAAyB,CAAC,CAAC;CACzC,CAmBA;AAED,wBAAgB,wBAAwB,CAAC,EAAE,EAAE,MAAM,GAAG,QAAQ,CAE7D"}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.useUsersGetUserById = useUsersGetUserById;
|
|
7
|
+
exports.useUsersGetUserByIdSuspense = useUsersGetUserByIdSuspense;
|
|
8
|
+
exports.prefetchUsersGetUserById = prefetchUsersGetUserById;
|
|
9
|
+
exports.setUsersGetUserByIdData = setUsersGetUserByIdData;
|
|
10
|
+
exports.invalidateUsersGetUserById = invalidateUsersGetUserById;
|
|
11
|
+
exports.invalidateAllUsersGetUserById = invalidateAllUsersGetUserById;
|
|
12
|
+
exports.buildUsersGetUserByIdQuery = buildUsersGetUserByIdQuery;
|
|
13
|
+
exports.queryKeyUsersGetUserById = queryKeyUsersGetUserById;
|
|
14
|
+
const react_query_1 = require("@tanstack/react-query");
|
|
15
|
+
const usersGetUserById_js_1 = require("../funcs/usersGetUserById.js");
|
|
16
|
+
const primitives_js_1 = require("../lib/primitives.js");
|
|
17
|
+
const fp_js_1 = require("../types/fp.js");
|
|
18
|
+
const _context_js_1 = require("./_context.js");
|
|
19
|
+
/**
|
|
20
|
+
* Get user by id
|
|
21
|
+
*
|
|
22
|
+
* @remarks
|
|
23
|
+
* Returns a user object for the user represented by the identifier in the path.
|
|
24
|
+
*/
|
|
25
|
+
function useUsersGetUserById(request, options) {
|
|
26
|
+
const client = (0, _context_js_1.useGreenSecurityContext)();
|
|
27
|
+
return (0, react_query_1.useQuery)({
|
|
28
|
+
...buildUsersGetUserByIdQuery(client, request, options),
|
|
29
|
+
...options,
|
|
30
|
+
});
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Get user by id
|
|
34
|
+
*
|
|
35
|
+
* @remarks
|
|
36
|
+
* Returns a user object for the user represented by the identifier in the path.
|
|
37
|
+
*/
|
|
38
|
+
function useUsersGetUserByIdSuspense(request, options) {
|
|
39
|
+
const client = (0, _context_js_1.useGreenSecurityContext)();
|
|
40
|
+
return (0, react_query_1.useSuspenseQuery)({
|
|
41
|
+
...buildUsersGetUserByIdQuery(client, request, options),
|
|
42
|
+
...options,
|
|
43
|
+
});
|
|
44
|
+
}
|
|
45
|
+
function prefetchUsersGetUserById(queryClient, client$, request) {
|
|
46
|
+
return queryClient.prefetchQuery({
|
|
47
|
+
...buildUsersGetUserByIdQuery(client$, request),
|
|
48
|
+
});
|
|
49
|
+
}
|
|
50
|
+
function setUsersGetUserByIdData(client, queryKeyBase, data) {
|
|
51
|
+
const key = queryKeyUsersGetUserById(...queryKeyBase);
|
|
52
|
+
return client.setQueryData(key, data);
|
|
53
|
+
}
|
|
54
|
+
function invalidateUsersGetUserById(client, queryKeyBase, filters) {
|
|
55
|
+
return client.invalidateQueries({
|
|
56
|
+
...filters,
|
|
57
|
+
queryKey: [
|
|
58
|
+
"@greensecurity/javascript-sdk",
|
|
59
|
+
"users",
|
|
60
|
+
"getUserById",
|
|
61
|
+
...queryKeyBase,
|
|
62
|
+
],
|
|
63
|
+
});
|
|
64
|
+
}
|
|
65
|
+
function invalidateAllUsersGetUserById(client, filters) {
|
|
66
|
+
return client.invalidateQueries({
|
|
67
|
+
...filters,
|
|
68
|
+
queryKey: ["@greensecurity/javascript-sdk", "users", "getUserById"],
|
|
69
|
+
});
|
|
70
|
+
}
|
|
71
|
+
function buildUsersGetUserByIdQuery(client$, request, options) {
|
|
72
|
+
return {
|
|
73
|
+
queryKey: queryKeyUsersGetUserById(request.id),
|
|
74
|
+
queryFn: async function usersGetUserByIdQueryFn(ctx) {
|
|
75
|
+
const sig = (0, primitives_js_1.combineSignals)(ctx.signal, options?.fetchOptions?.signal);
|
|
76
|
+
const mergedOptions = {
|
|
77
|
+
...options,
|
|
78
|
+
fetchOptions: { ...options?.fetchOptions, signal: sig },
|
|
79
|
+
};
|
|
80
|
+
return (0, fp_js_1.unwrapAsync)((0, usersGetUserById_js_1.usersGetUserById)(client$, request, mergedOptions));
|
|
81
|
+
},
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
function queryKeyUsersGetUserById(id) {
|
|
85
|
+
return ["@greensecurity/javascript-sdk", "users", "getUserById", id];
|
|
86
|
+
}
|
|
87
|
+
//# sourceMappingURL=usersGetUserById.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"usersGetUserById.js","sourceRoot":"","sources":["../src/react-query/usersGetUserById.ts"],"names":[],"mappings":";AAAA;;GAEG;;AAkCH,kDAaC;AAQD,kEAaC;AAED,4DAWC;AAED,0DAQC;AAED,gEAcC;AAED,sEAQC;AAED,gEA4BC;AAED,4DAEC;AArJD,uDAS+B;AAE/B,sEAAgE;AAChE,wDAAsD;AAItD,0CAA6C;AAC7C,+CAAwD;AASxD;;;;;GAKG;AACH,SAAgB,mBAAmB,CACjC,OAAsC,EACtC,OAAqD;IAErD,MAAM,MAAM,GAAG,IAAA,qCAAuB,GAAE,CAAC;IACzC,OAAO,IAAA,sBAAQ,EAAC;QACd,GAAG,0BAA0B,CAC3B,MAAM,EACN,OAAO,EACP,OAAO,CACR;QACD,GAAG,OAAO;KACX,CAAC,CAAC;AACL,CAAC;AAED;;;;;GAKG;AACH,SAAgB,2BAA2B,CACzC,OAAsC,EACtC,OAA6D;IAE7D,MAAM,MAAM,GAAG,IAAA,qCAAuB,GAAE,CAAC;IACzC,OAAO,IAAA,8BAAgB,EAAC;QACtB,GAAG,0BAA0B,CAC3B,MAAM,EACN,OAAO,EACP,OAAO,CACR;QACD,GAAG,OAAO;KACX,CAAC,CAAC;AACL,CAAC;AAED,SAAgB,wBAAwB,CACtC,WAAwB,EACxB,OAA0B,EAC1B,OAAsC;IAEtC,OAAO,WAAW,CAAC,aAAa,CAAC;QAC/B,GAAG,0BAA0B,CAC3B,OAAO,EACP,OAAO,CACR;KACF,CAAC,CAAC;AACL,CAAC;AAED,SAAgB,uBAAuB,CACrC,MAAmB,EACnB,YAA0B,EAC1B,IAA+B;IAE/B,MAAM,GAAG,GAAG,wBAAwB,CAAC,GAAG,YAAY,CAAC,CAAC;IAEtD,OAAO,MAAM,CAAC,YAAY,CAA4B,GAAG,EAAE,IAAI,CAAC,CAAC;AACnE,CAAC;AAED,SAAgB,0BAA0B,CACxC,MAAmB,EACnB,YAA2C,EAC3C,OAA0E;IAE1E,OAAO,MAAM,CAAC,iBAAiB,CAAC;QAC9B,GAAG,OAAO;QACV,QAAQ,EAAE;YACR,+BAA+B;YAC/B,OAAO;YACP,aAAa;YACb,GAAG,YAAY;SAChB;KACF,CAAC,CAAC;AACL,CAAC;AAED,SAAgB,6BAA6B,CAC3C,MAAmB,EACnB,OAA0E;IAE1E,OAAO,MAAM,CAAC,iBAAiB,CAAC;QAC9B,GAAG,OAAO;QACV,QAAQ,EAAE,CAAC,+BAA+B,EAAE,OAAO,EAAE,aAAa,CAAC;KACpE,CAAC,CAAC;AACL,CAAC;AAED,SAAgB,0BAA0B,CACxC,OAA0B,EAC1B,OAAsC,EACtC,OAAwB;IAOxB,OAAO;QACL,QAAQ,EAAE,wBAAwB,CAAC,OAAO,CAAC,EAAE,CAAC;QAC9C,OAAO,EAAE,KAAK,UAAU,uBAAuB,CAC7C,GAAG;YAEH,MAAM,GAAG,GAAG,IAAA,8BAAc,EAAC,GAAG,CAAC,MAAM,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,CAAC,CAAC;YACtE,MAAM,aAAa,GAAG;gBACpB,GAAG,OAAO;gBACV,YAAY,EAAE,EAAE,GAAG,OAAO,EAAE,YAAY,EAAE,MAAM,EAAE,GAAG,EAAE;aACxD,CAAC;YAEF,OAAO,IAAA,mBAAW,EAAC,IAAA,sCAAgB,EACjC,OAAO,EACP,OAAO,EACP,aAAa,CACd,CAAC,CAAC;QACL,CAAC;KACF,CAAC;AACJ,CAAC;AAED,SAAgB,wBAAwB,CAAC,EAAU;IACjD,OAAO,CAAC,+BAA+B,EAAE,OAAO,EAAE,aAAa,EAAE,EAAE,CAAC,CAAC;AACvE,CAAC"}
|
|
@@ -3,11 +3,11 @@ import { GreenSecurityCore } from "../core.js";
|
|
|
3
3
|
import { RequestOptions } from "../lib/sdks.js";
|
|
4
4
|
import * as operations from "../models/operations/index.js";
|
|
5
5
|
import { MutationHookOptions } from "./_types.js";
|
|
6
|
-
export type
|
|
6
|
+
export type UsersLogsUserIntoTheSystemMutationVariables = {
|
|
7
7
|
request: operations.LogsUserIntoTheSystemRequestBody;
|
|
8
8
|
options?: RequestOptions;
|
|
9
9
|
};
|
|
10
|
-
export type
|
|
10
|
+
export type UsersLogsUserIntoTheSystemMutationData = operations.LogsUserIntoTheSystemResponse;
|
|
11
11
|
/**
|
|
12
12
|
* Logs user into the system
|
|
13
13
|
*
|
|
@@ -44,10 +44,10 @@ export type UserLogsUserIntoTheSystemMutationData = operations.LogsUserIntoTheSy
|
|
|
44
44
|
* 4. The `user_token` will be appended as a query string parameter to your `return_url` - you must parse this token and store it
|
|
45
45
|
* 5. Fetch the user object from `/users/me` using the token
|
|
46
46
|
*/
|
|
47
|
-
export declare function
|
|
48
|
-
export declare function
|
|
49
|
-
export declare function
|
|
47
|
+
export declare function useUsersLogsUserIntoTheSystemMutation(options?: MutationHookOptions<UsersLogsUserIntoTheSystemMutationData, Error, UsersLogsUserIntoTheSystemMutationVariables>): UseMutationResult<UsersLogsUserIntoTheSystemMutationData, Error, UsersLogsUserIntoTheSystemMutationVariables>;
|
|
48
|
+
export declare function mutationKeyUsersLogsUserIntoTheSystem(): MutationKey;
|
|
49
|
+
export declare function buildUsersLogsUserIntoTheSystemMutation(client$: GreenSecurityCore, hookOptions?: RequestOptions): {
|
|
50
50
|
mutationKey: MutationKey;
|
|
51
|
-
mutationFn: (variables:
|
|
51
|
+
mutationFn: (variables: UsersLogsUserIntoTheSystemMutationVariables) => Promise<UsersLogsUserIntoTheSystemMutationData>;
|
|
52
52
|
};
|
|
53
|
-
//# sourceMappingURL=
|
|
53
|
+
//# sourceMappingURL=usersLogsUserIntoTheSystem.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"usersLogsUserIntoTheSystem.d.ts","sourceRoot":"","sources":["../src/react-query/usersLogsUserIntoTheSystem.ts"],"names":[],"mappings":"AAIA,OAAO,EACL,WAAW,EAEX,iBAAiB,EAClB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAG/C,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAG5D,OAAO,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAElD,MAAM,MAAM,2CAA2C,GAAG;IACxD,OAAO,EAAE,UAAU,CAAC,gCAAgC,CAAC;IACrD,OAAO,CAAC,EAAE,cAAc,CAAC;CAC1B,CAAC;AAEF,MAAM,MAAM,sCAAsC,GAChD,UAAU,CAAC,6BAA6B,CAAC;AAE3C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,wBAAgB,qCAAqC,CACnD,OAAO,CAAC,EAAE,mBAAmB,CAC3B,sCAAsC,EACtC,KAAK,EACL,2CAA2C,CAC5C,GACA,iBAAiB,CAClB,sCAAsC,EACtC,KAAK,EACL,2CAA2C,CAC5C,CAMA;AAED,wBAAgB,qCAAqC,IAAI,WAAW,CAEnE;AAED,wBAAgB,uCAAuC,CACrD,OAAO,EAAE,iBAAiB,EAC1B,WAAW,CAAC,EAAE,cAAc,GAC3B;IACD,WAAW,EAAE,WAAW,CAAC;IACzB,UAAU,EAAE,CACV,SAAS,EAAE,2CAA2C,KACnD,OAAO,CAAC,sCAAsC,CAAC,CAAC;CACtD,CA0BA"}
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
4
|
*/
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.
|
|
7
|
-
exports.
|
|
8
|
-
exports.
|
|
6
|
+
exports.useUsersLogsUserIntoTheSystemMutation = useUsersLogsUserIntoTheSystemMutation;
|
|
7
|
+
exports.mutationKeyUsersLogsUserIntoTheSystem = mutationKeyUsersLogsUserIntoTheSystem;
|
|
8
|
+
exports.buildUsersLogsUserIntoTheSystemMutation = buildUsersLogsUserIntoTheSystemMutation;
|
|
9
9
|
const react_query_1 = require("@tanstack/react-query");
|
|
10
|
-
const
|
|
10
|
+
const usersLogsUserIntoTheSystem_js_1 = require("../funcs/usersLogsUserIntoTheSystem.js");
|
|
11
11
|
const primitives_js_1 = require("../lib/primitives.js");
|
|
12
12
|
const fp_js_1 = require("../types/fp.js");
|
|
13
13
|
const _context_js_1 = require("./_context.js");
|
|
@@ -47,20 +47,20 @@ const _context_js_1 = require("./_context.js");
|
|
|
47
47
|
* 4. The `user_token` will be appended as a query string parameter to your `return_url` - you must parse this token and store it
|
|
48
48
|
* 5. Fetch the user object from `/users/me` using the token
|
|
49
49
|
*/
|
|
50
|
-
function
|
|
50
|
+
function useUsersLogsUserIntoTheSystemMutation(options) {
|
|
51
51
|
const client = (0, _context_js_1.useGreenSecurityContext)();
|
|
52
52
|
return (0, react_query_1.useMutation)({
|
|
53
|
-
...
|
|
53
|
+
...buildUsersLogsUserIntoTheSystemMutation(client, options),
|
|
54
54
|
...options,
|
|
55
55
|
});
|
|
56
56
|
}
|
|
57
|
-
function
|
|
58
|
-
return ["@greensecurity/javascript-sdk", "
|
|
57
|
+
function mutationKeyUsersLogsUserIntoTheSystem() {
|
|
58
|
+
return ["@greensecurity/javascript-sdk", "users", "logsUserIntoTheSystem"];
|
|
59
59
|
}
|
|
60
|
-
function
|
|
60
|
+
function buildUsersLogsUserIntoTheSystemMutation(client$, hookOptions) {
|
|
61
61
|
return {
|
|
62
|
-
mutationKey:
|
|
63
|
-
mutationFn: function
|
|
62
|
+
mutationKey: mutationKeyUsersLogsUserIntoTheSystem(),
|
|
63
|
+
mutationFn: function usersLogsUserIntoTheSystemMutationFn({ request, options, }) {
|
|
64
64
|
const mergedOptions = {
|
|
65
65
|
...hookOptions,
|
|
66
66
|
...options,
|
|
@@ -70,8 +70,8 @@ function buildUserLogsUserIntoTheSystemMutation(client$, hookOptions) {
|
|
|
70
70
|
signal: (0, primitives_js_1.combineSignals)(hookOptions?.fetchOptions?.signal, options?.fetchOptions?.signal),
|
|
71
71
|
},
|
|
72
72
|
};
|
|
73
|
-
return (0, fp_js_1.unwrapAsync)((0,
|
|
73
|
+
return (0, fp_js_1.unwrapAsync)((0, usersLogsUserIntoTheSystem_js_1.usersLogsUserIntoTheSystem)(client$, request, mergedOptions));
|
|
74
74
|
},
|
|
75
75
|
};
|
|
76
76
|
}
|
|
77
|
-
//# sourceMappingURL=
|
|
77
|
+
//# sourceMappingURL=usersLogsUserIntoTheSystem.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"usersLogsUserIntoTheSystem.js","sourceRoot":"","sources":["../src/react-query/usersLogsUserIntoTheSystem.ts"],"names":[],"mappings":";AAAA;;GAEG;;AA4DH,sFAgBC;AAED,sFAEC;AAED,0FAkCC;AAlHD,uDAI+B;AAE/B,0FAAoF;AACpF,wDAAsD;AAGtD,0CAA6C;AAC7C,+CAAwD;AAWxD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,SAAgB,qCAAqC,CACnD,OAIC;IAMD,MAAM,MAAM,GAAG,IAAA,qCAAuB,GAAE,CAAC;IACzC,OAAO,IAAA,yBAAW,EAAC;QACjB,GAAG,uCAAuC,CAAC,MAAM,EAAE,OAAO,CAAC;QAC3D,GAAG,OAAO;KACX,CAAC,CAAC;AACL,CAAC;AAED,SAAgB,qCAAqC;IACnD,OAAO,CAAC,+BAA+B,EAAE,OAAO,EAAE,uBAAuB,CAAC,CAAC;AAC7E,CAAC;AAED,SAAgB,uCAAuC,CACrD,OAA0B,EAC1B,WAA4B;IAO5B,OAAO;QACL,WAAW,EAAE,qCAAqC,EAAE;QACpD,UAAU,EAAE,SAAS,oCAAoC,CAAC,EACxD,OAAO,EACP,OAAO,GACR;YACC,MAAM,aAAa,GAAG;gBACpB,GAAG,WAAW;gBACd,GAAG,OAAO;gBACV,YAAY,EAAE;oBACZ,GAAG,WAAW,EAAE,YAAY;oBAC5B,GAAG,OAAO,EAAE,YAAY;oBACxB,MAAM,EAAE,IAAA,8BAAc,EACpB,WAAW,EAAE,YAAY,EAAE,MAAM,EACjC,OAAO,EAAE,YAAY,EAAE,MAAM,CAC9B;iBACF;aACF,CAAC;YACF,OAAO,IAAA,mBAAW,EAAC,IAAA,0DAA0B,EAC3C,OAAO,EACP,OAAO,EACP,aAAa,CACd,CAAC,CAAC;QACL,CAAC;KACF,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { MutationKey, UseMutationResult } from "@tanstack/react-query";
|
|
2
|
+
import { GreenSecurityCore } from "../core.js";
|
|
3
|
+
import { RequestOptions } from "../lib/sdks.js";
|
|
4
|
+
import * as operations from "../models/operations/index.js";
|
|
5
|
+
import { MutationHookOptions } from "./_types.js";
|
|
6
|
+
export type UsersMagiclinkMutationVariables = {
|
|
7
|
+
request: operations.MagiclinkRequestBody;
|
|
8
|
+
options?: RequestOptions;
|
|
9
|
+
};
|
|
10
|
+
export type UsersMagiclinkMutationData = operations.MagiclinkMagiclinkOk;
|
|
11
|
+
/**
|
|
12
|
+
* Magic link
|
|
13
|
+
*
|
|
14
|
+
* @remarks
|
|
15
|
+
* It sends an email with a magic link to allow the user to log in.
|
|
16
|
+
*/
|
|
17
|
+
export declare function useUsersMagiclinkMutation(options?: MutationHookOptions<UsersMagiclinkMutationData, Error, UsersMagiclinkMutationVariables>): UseMutationResult<UsersMagiclinkMutationData, Error, UsersMagiclinkMutationVariables>;
|
|
18
|
+
export declare function mutationKeyUsersMagiclink(): MutationKey;
|
|
19
|
+
export declare function buildUsersMagiclinkMutation(client$: GreenSecurityCore, hookOptions?: RequestOptions): {
|
|
20
|
+
mutationKey: MutationKey;
|
|
21
|
+
mutationFn: (variables: UsersMagiclinkMutationVariables) => Promise<UsersMagiclinkMutationData>;
|
|
22
|
+
};
|
|
23
|
+
//# sourceMappingURL=usersMagiclink.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"usersMagiclink.d.ts","sourceRoot":"","sources":["../src/react-query/usersMagiclink.ts"],"names":[],"mappings":"AAIA,OAAO,EACL,WAAW,EAEX,iBAAiB,EAClB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAG/C,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAG5D,OAAO,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAElD,MAAM,MAAM,+BAA+B,GAAG;IAC5C,OAAO,EAAE,UAAU,CAAC,oBAAoB,CAAC;IACzC,OAAO,CAAC,EAAE,cAAc,CAAC;CAC1B,CAAC;AAEF,MAAM,MAAM,0BAA0B,GAAG,UAAU,CAAC,oBAAoB,CAAC;AAEzE;;;;;GAKG;AACH,wBAAgB,yBAAyB,CACvC,OAAO,CAAC,EAAE,mBAAmB,CAC3B,0BAA0B,EAC1B,KAAK,EACL,+BAA+B,CAChC,GACA,iBAAiB,CAClB,0BAA0B,EAC1B,KAAK,EACL,+BAA+B,CAChC,CAMA;AAED,wBAAgB,yBAAyB,IAAI,WAAW,CAEvD;AAED,wBAAgB,2BAA2B,CACzC,OAAO,EAAE,iBAAiB,EAC1B,WAAW,CAAC,EAAE,cAAc,GAC3B;IACD,WAAW,EAAE,WAAW,CAAC;IACzB,UAAU,EAAE,CACV,SAAS,EAAE,+BAA+B,KACvC,OAAO,CAAC,0BAA0B,CAAC,CAAC;CAC1C,CA0BA"}
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
4
|
*/
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.
|
|
7
|
-
exports.
|
|
8
|
-
exports.
|
|
6
|
+
exports.useUsersMagiclinkMutation = useUsersMagiclinkMutation;
|
|
7
|
+
exports.mutationKeyUsersMagiclink = mutationKeyUsersMagiclink;
|
|
8
|
+
exports.buildUsersMagiclinkMutation = buildUsersMagiclinkMutation;
|
|
9
9
|
const react_query_1 = require("@tanstack/react-query");
|
|
10
|
-
const
|
|
10
|
+
const usersMagiclink_js_1 = require("../funcs/usersMagiclink.js");
|
|
11
11
|
const primitives_js_1 = require("../lib/primitives.js");
|
|
12
12
|
const fp_js_1 = require("../types/fp.js");
|
|
13
13
|
const _context_js_1 = require("./_context.js");
|
|
@@ -17,20 +17,20 @@ const _context_js_1 = require("./_context.js");
|
|
|
17
17
|
* @remarks
|
|
18
18
|
* It sends an email with a magic link to allow the user to log in.
|
|
19
19
|
*/
|
|
20
|
-
function
|
|
20
|
+
function useUsersMagiclinkMutation(options) {
|
|
21
21
|
const client = (0, _context_js_1.useGreenSecurityContext)();
|
|
22
22
|
return (0, react_query_1.useMutation)({
|
|
23
|
-
...
|
|
23
|
+
...buildUsersMagiclinkMutation(client, options),
|
|
24
24
|
...options,
|
|
25
25
|
});
|
|
26
26
|
}
|
|
27
|
-
function
|
|
28
|
-
return ["@greensecurity/javascript-sdk", "
|
|
27
|
+
function mutationKeyUsersMagiclink() {
|
|
28
|
+
return ["@greensecurity/javascript-sdk", "users", "magiclink"];
|
|
29
29
|
}
|
|
30
|
-
function
|
|
30
|
+
function buildUsersMagiclinkMutation(client$, hookOptions) {
|
|
31
31
|
return {
|
|
32
|
-
mutationKey:
|
|
33
|
-
mutationFn: function
|
|
32
|
+
mutationKey: mutationKeyUsersMagiclink(),
|
|
33
|
+
mutationFn: function usersMagiclinkMutationFn({ request, options, }) {
|
|
34
34
|
const mergedOptions = {
|
|
35
35
|
...hookOptions,
|
|
36
36
|
...options,
|
|
@@ -40,8 +40,8 @@ function buildUserMagiclinkMutation(client$, hookOptions) {
|
|
|
40
40
|
signal: (0, primitives_js_1.combineSignals)(hookOptions?.fetchOptions?.signal, options?.fetchOptions?.signal),
|
|
41
41
|
},
|
|
42
42
|
};
|
|
43
|
-
return (0, fp_js_1.unwrapAsync)((0,
|
|
43
|
+
return (0, fp_js_1.unwrapAsync)((0, usersMagiclink_js_1.usersMagiclink)(client$, request, mergedOptions));
|
|
44
44
|
},
|
|
45
45
|
};
|
|
46
46
|
}
|
|
47
|
-
//# sourceMappingURL=
|
|
47
|
+
//# sourceMappingURL=usersMagiclink.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"usersMagiclink.js","sourceRoot":"","sources":["../src/react-query/usersMagiclink.ts"],"names":[],"mappings":";AAAA;;GAEG;;AA6BH,8DAgBC;AAED,8DAEC;AAED,kEAkCC;AAnFD,uDAI+B;AAE/B,kEAA4D;AAC5D,wDAAsD;AAGtD,0CAA6C;AAC7C,+CAAwD;AAUxD;;;;;GAKG;AACH,SAAgB,yBAAyB,CACvC,OAIC;IAMD,MAAM,MAAM,GAAG,IAAA,qCAAuB,GAAE,CAAC;IACzC,OAAO,IAAA,yBAAW,EAAC;QACjB,GAAG,2BAA2B,CAAC,MAAM,EAAE,OAAO,CAAC;QAC/C,GAAG,OAAO;KACX,CAAC,CAAC;AACL,CAAC;AAED,SAAgB,yBAAyB;IACvC,OAAO,CAAC,+BAA+B,EAAE,OAAO,EAAE,WAAW,CAAC,CAAC;AACjE,CAAC;AAED,SAAgB,2BAA2B,CACzC,OAA0B,EAC1B,WAA4B;IAO5B,OAAO;QACL,WAAW,EAAE,yBAAyB,EAAE;QACxC,UAAU,EAAE,SAAS,wBAAwB,CAAC,EAC5C,OAAO,EACP,OAAO,GACR;YACC,MAAM,aAAa,GAAG;gBACpB,GAAG,WAAW;gBACd,GAAG,OAAO;gBACV,YAAY,EAAE;oBACZ,GAAG,WAAW,EAAE,YAAY;oBAC5B,GAAG,OAAO,EAAE,YAAY;oBACxB,MAAM,EAAE,IAAA,8BAAc,EACpB,WAAW,EAAE,YAAY,EAAE,MAAM,EACjC,OAAO,EAAE,YAAY,EAAE,MAAM,CAC9B;iBACF;aACF,CAAC;YACF,OAAO,IAAA,mBAAW,EAAC,IAAA,kCAAc,EAC/B,OAAO,EACP,OAAO,EACP,aAAa,CACd,CAAC,CAAC;QACL,CAAC;KACF,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { MutationKey, UseMutationResult } from "@tanstack/react-query";
|
|
2
|
+
import { GreenSecurityCore } from "../core.js";
|
|
3
|
+
import { RequestOptions } from "../lib/sdks.js";
|
|
4
|
+
import * as operations from "../models/operations/index.js";
|
|
5
|
+
import { MutationHookOptions } from "./_types.js";
|
|
6
|
+
export type UsersPasswordMutationVariables = {
|
|
7
|
+
request: operations.PasswordRequestBody;
|
|
8
|
+
options?: RequestOptions;
|
|
9
|
+
};
|
|
10
|
+
export type UsersPasswordMutationData = operations.PasswordPasswordOk;
|
|
11
|
+
/**
|
|
12
|
+
* Password reset
|
|
13
|
+
*
|
|
14
|
+
* @remarks
|
|
15
|
+
* Resets the a user's password using a password_reset_id that was sent to them via email.
|
|
16
|
+
* See /users/passwordresetrequest to initiate a password reset flow.
|
|
17
|
+
*/
|
|
18
|
+
export declare function useUsersPasswordMutation(options?: MutationHookOptions<UsersPasswordMutationData, Error, UsersPasswordMutationVariables>): UseMutationResult<UsersPasswordMutationData, Error, UsersPasswordMutationVariables>;
|
|
19
|
+
export declare function mutationKeyUsersPassword(): MutationKey;
|
|
20
|
+
export declare function buildUsersPasswordMutation(client$: GreenSecurityCore, hookOptions?: RequestOptions): {
|
|
21
|
+
mutationKey: MutationKey;
|
|
22
|
+
mutationFn: (variables: UsersPasswordMutationVariables) => Promise<UsersPasswordMutationData>;
|
|
23
|
+
};
|
|
24
|
+
//# sourceMappingURL=usersPassword.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"usersPassword.d.ts","sourceRoot":"","sources":["../src/react-query/usersPassword.ts"],"names":[],"mappings":"AAIA,OAAO,EACL,WAAW,EAEX,iBAAiB,EAClB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAG/C,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAG5D,OAAO,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAElD,MAAM,MAAM,8BAA8B,GAAG;IAC3C,OAAO,EAAE,UAAU,CAAC,mBAAmB,CAAC;IACxC,OAAO,CAAC,EAAE,cAAc,CAAC;CAC1B,CAAC;AAEF,MAAM,MAAM,yBAAyB,GAAG,UAAU,CAAC,kBAAkB,CAAC;AAEtE;;;;;;GAMG;AACH,wBAAgB,wBAAwB,CACtC,OAAO,CAAC,EAAE,mBAAmB,CAC3B,yBAAyB,EACzB,KAAK,EACL,8BAA8B,CAC/B,GACA,iBAAiB,CAClB,yBAAyB,EACzB,KAAK,EACL,8BAA8B,CAC/B,CAMA;AAED,wBAAgB,wBAAwB,IAAI,WAAW,CAEtD;AAED,wBAAgB,0BAA0B,CACxC,OAAO,EAAE,iBAAiB,EAC1B,WAAW,CAAC,EAAE,cAAc,GAC3B;IACD,WAAW,EAAE,WAAW,CAAC;IACzB,UAAU,EAAE,CACV,SAAS,EAAE,8BAA8B,KACtC,OAAO,CAAC,yBAAyB,CAAC,CAAC;CACzC,CA0BA"}
|