@burdenoff/microfe-auth 2026.510.127
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 +12 -0
- package/dist/_virtual/_rolldown/runtime.js +13 -0
- package/dist/auth/AuthRoot.d.ts +30 -0
- package/dist/auth/AuthRoot.d.ts.map +1 -0
- package/dist/auth/AuthRoot.js +82 -0
- package/dist/auth/AuthRoot.js.map +1 -0
- package/dist/auth/AuthRoutes.d.ts +29 -0
- package/dist/auth/AuthRoutes.d.ts.map +1 -0
- package/dist/auth/AuthRoutes.js +271 -0
- package/dist/auth/AuthRoutes.js.map +1 -0
- package/dist/auth/components/AuthIcons.d.ts +17 -0
- package/dist/auth/components/AuthIcons.d.ts.map +1 -0
- package/dist/auth/components/AuthIcons.js +197 -0
- package/dist/auth/components/AuthIcons.js.map +1 -0
- package/dist/auth/components/AuthLayout.d.ts +17 -0
- package/dist/auth/components/AuthLayout.d.ts.map +1 -0
- package/dist/auth/components/AuthLayout.js +237 -0
- package/dist/auth/components/AuthLayout.js.map +1 -0
- package/dist/auth/components/CaptchaV2.d.ts +16 -0
- package/dist/auth/components/CaptchaV2.d.ts.map +1 -0
- package/dist/auth/components/CaptchaV2.js +47 -0
- package/dist/auth/components/CaptchaV2.js.map +1 -0
- package/dist/auth/components/ConfirmActionDialog.d.ts +16 -0
- package/dist/auth/components/ConfirmActionDialog.d.ts.map +1 -0
- package/dist/auth/components/ConfirmActionDialog.js +68 -0
- package/dist/auth/components/ConfirmActionDialog.js.map +1 -0
- package/dist/auth/components/index.d.ts +4 -0
- package/dist/auth/components/index.d.ts.map +1 -0
- package/dist/auth/components/profile/UserProfileMenu.d.ts +42 -0
- package/dist/auth/components/profile/UserProfileMenu.d.ts.map +1 -0
- package/dist/auth/components/profile/UserProfileMenu.js +91 -0
- package/dist/auth/components/profile/UserProfileMenu.js.map +1 -0
- package/dist/auth/components/workspace/WorkspaceSelector.d.ts +76 -0
- package/dist/auth/components/workspace/WorkspaceSelector.d.ts.map +1 -0
- package/dist/auth/components/workspace/WorkspaceSelector.js +240 -0
- package/dist/auth/components/workspace/WorkspaceSelector.js.map +1 -0
- package/dist/auth/constants/permissions.d.ts +30 -0
- package/dist/auth/constants/permissions.d.ts.map +1 -0
- package/dist/auth/constants/permissions.js +18 -0
- package/dist/auth/constants/permissions.js.map +1 -0
- package/dist/auth/constants/sessionKeys.d.ts +18 -0
- package/dist/auth/constants/sessionKeys.d.ts.map +1 -0
- package/dist/auth/constants/sessionKeys.js +6 -0
- package/dist/auth/constants/sessionKeys.js.map +1 -0
- package/dist/auth/hooks/index.d.ts +18 -0
- package/dist/auth/hooks/index.d.ts.map +1 -0
- package/dist/auth/hooks/index.js +16 -0
- package/dist/auth/hooks/useAccountOperations.d.ts +19 -0
- package/dist/auth/hooks/useAccountOperations.d.ts.map +1 -0
- package/dist/auth/hooks/useAccountOperations.js +52 -0
- package/dist/auth/hooks/useAccountOperations.js.map +1 -0
- package/dist/auth/hooks/useApiKeyOperations.d.ts +22 -0
- package/dist/auth/hooks/useApiKeyOperations.d.ts.map +1 -0
- package/dist/auth/hooks/useApiKeyOperations.js +4 -0
- package/dist/auth/hooks/useAppOperations.d.ts +26 -0
- package/dist/auth/hooks/useAppOperations.d.ts.map +1 -0
- package/dist/auth/hooks/useAppOperations.js +4 -0
- package/dist/auth/hooks/useAuthOperations.d.ts +57 -0
- package/dist/auth/hooks/useAuthOperations.d.ts.map +1 -0
- package/dist/auth/hooks/useAuthOperations.js +236 -0
- package/dist/auth/hooks/useAuthOperations.js.map +1 -0
- package/dist/auth/hooks/useAuthPermissions.d.ts +20 -0
- package/dist/auth/hooks/useAuthPermissions.d.ts.map +1 -0
- package/dist/auth/hooks/useAuthPermissions.js +22 -0
- package/dist/auth/hooks/useAuthPermissions.js.map +1 -0
- package/dist/auth/hooks/useCaptchaV3.d.ts +13 -0
- package/dist/auth/hooks/useCaptchaV3.d.ts.map +1 -0
- package/dist/auth/hooks/useCaptchaV3.js +19 -0
- package/dist/auth/hooks/useCaptchaV3.js.map +1 -0
- package/dist/auth/hooks/useContextSwitcherData.d.ts +106 -0
- package/dist/auth/hooks/useContextSwitcherData.d.ts.map +1 -0
- package/dist/auth/hooks/useContextSwitcherData.js +466 -0
- package/dist/auth/hooks/useContextSwitcherData.js.map +1 -0
- package/dist/auth/hooks/useDelegationOperations.d.ts +25 -0
- package/dist/auth/hooks/useDelegationOperations.d.ts.map +1 -0
- package/dist/auth/hooks/useDelegationOperations.js +4 -0
- package/dist/auth/hooks/useMfaOperations.d.ts +18 -0
- package/dist/auth/hooks/useMfaOperations.d.ts.map +1 -0
- package/dist/auth/hooks/useMfaOperations.js +103 -0
- package/dist/auth/hooks/useMfaOperations.js.map +1 -0
- package/dist/auth/hooks/useMyWorkspaces.d.ts +45 -0
- package/dist/auth/hooks/useMyWorkspaces.d.ts.map +1 -0
- package/dist/auth/hooks/useMyWorkspaces.js +140 -0
- package/dist/auth/hooks/useMyWorkspaces.js.map +1 -0
- package/dist/auth/hooks/useOAuthOperations.d.ts +19 -0
- package/dist/auth/hooks/useOAuthOperations.d.ts.map +1 -0
- package/dist/auth/hooks/useOAuthOperations.js +103 -0
- package/dist/auth/hooks/useOAuthOperations.js.map +1 -0
- package/dist/auth/hooks/usePasswordOperations.d.ts +13 -0
- package/dist/auth/hooks/usePasswordOperations.d.ts.map +1 -0
- package/dist/auth/hooks/usePasswordOperations.js +56 -0
- package/dist/auth/hooks/usePasswordOperations.js.map +1 -0
- package/dist/auth/hooks/useSessionOperations.d.ts +41 -0
- package/dist/auth/hooks/useSessionOperations.d.ts.map +1 -0
- package/dist/auth/hooks/useSessionOperations.js +59 -0
- package/dist/auth/hooks/useSessionOperations.js.map +1 -0
- package/dist/auth/hooks/useSsoOperations.d.ts +65 -0
- package/dist/auth/hooks/useSsoOperations.d.ts.map +1 -0
- package/dist/auth/hooks/useSsoOperations.js +236 -0
- package/dist/auth/hooks/useSsoOperations.js.map +1 -0
- package/dist/auth/hooks/useTokenRefresh.d.ts +56 -0
- package/dist/auth/hooks/useTokenRefresh.d.ts.map +1 -0
- package/dist/auth/hooks/useTokenRefresh.js +53 -0
- package/dist/auth/hooks/useTokenRefresh.js.map +1 -0
- package/dist/auth/hooks/useUserOperations.d.ts +32 -0
- package/dist/auth/hooks/useUserOperations.d.ts.map +1 -0
- package/dist/auth/hooks/useUserOperations.js +100 -0
- package/dist/auth/hooks/useUserOperations.js.map +1 -0
- package/dist/auth/hooks/useWorkspaceOperations.d.ts +35 -0
- package/dist/auth/hooks/useWorkspaceOperations.d.ts.map +1 -0
- package/dist/auth/hooks/useWorkspaceOperations.js +35 -0
- package/dist/auth/hooks/useWorkspaceOperations.js.map +1 -0
- package/dist/auth/hooks/useWorkspaceToken.d.ts +56 -0
- package/dist/auth/hooks/useWorkspaceToken.d.ts.map +1 -0
- package/dist/auth/hooks/useWorkspaceToken.js +94 -0
- package/dist/auth/hooks/useWorkspaceToken.js.map +1 -0
- package/dist/auth/index.d.ts +63 -0
- package/dist/auth/index.d.ts.map +1 -0
- package/dist/auth/index.js +18 -0
- package/dist/auth/pages/ApiKeysPage.d.ts +5 -0
- package/dist/auth/pages/ApiKeysPage.d.ts.map +1 -0
- package/dist/auth/pages/AppsPage.d.ts +5 -0
- package/dist/auth/pages/AppsPage.d.ts.map +1 -0
- package/dist/auth/pages/AuditLogPage.d.ts +5 -0
- package/dist/auth/pages/AuditLogPage.d.ts.map +1 -0
- package/dist/auth/pages/AuditLogPage.js +129 -0
- package/dist/auth/pages/AuditLogPage.js.map +1 -0
- package/dist/auth/pages/DelegationsPage.d.ts +5 -0
- package/dist/auth/pages/DelegationsPage.d.ts.map +1 -0
- package/dist/auth/pages/EmailVerifyPage.d.ts +5 -0
- package/dist/auth/pages/EmailVerifyPage.d.ts.map +1 -0
- package/dist/auth/pages/EmailVerifyPage.js +166 -0
- package/dist/auth/pages/EmailVerifyPage.js.map +1 -0
- package/dist/auth/pages/LoginPage.d.ts +6 -0
- package/dist/auth/pages/LoginPage.d.ts.map +1 -0
- package/dist/auth/pages/LoginPage.js +575 -0
- package/dist/auth/pages/LoginPage.js.map +1 -0
- package/dist/auth/pages/MagicLinkPage.d.ts +6 -0
- package/dist/auth/pages/MagicLinkPage.d.ts.map +1 -0
- package/dist/auth/pages/MagicLinkPage.js +219 -0
- package/dist/auth/pages/MagicLinkPage.js.map +1 -0
- package/dist/auth/pages/MfaSetupPage.d.ts +5 -0
- package/dist/auth/pages/MfaSetupPage.d.ts.map +1 -0
- package/dist/auth/pages/MfaSetupPage.js +341 -0
- package/dist/auth/pages/MfaSetupPage.js.map +1 -0
- package/dist/auth/pages/MfaVerifyPage.d.ts +7 -0
- package/dist/auth/pages/MfaVerifyPage.d.ts.map +1 -0
- package/dist/auth/pages/MfaVerifyPage.js +189 -0
- package/dist/auth/pages/MfaVerifyPage.js.map +1 -0
- package/dist/auth/pages/OAuthCallbackPage.d.ts +7 -0
- package/dist/auth/pages/OAuthCallbackPage.d.ts.map +1 -0
- package/dist/auth/pages/OAuthCallbackPage.js +100 -0
- package/dist/auth/pages/OAuthCallbackPage.js.map +1 -0
- package/dist/auth/pages/PasswordResetPage.d.ts +6 -0
- package/dist/auth/pages/PasswordResetPage.d.ts.map +1 -0
- package/dist/auth/pages/PasswordResetPage.js +352 -0
- package/dist/auth/pages/PasswordResetPage.js.map +1 -0
- package/dist/auth/pages/ReactivatePage.d.ts +6 -0
- package/dist/auth/pages/ReactivatePage.d.ts.map +1 -0
- package/dist/auth/pages/ReactivatePage.js +217 -0
- package/dist/auth/pages/ReactivatePage.js.map +1 -0
- package/dist/auth/pages/RegisterPage.d.ts +5 -0
- package/dist/auth/pages/RegisterPage.d.ts.map +1 -0
- package/dist/auth/pages/RegisterPage.js +439 -0
- package/dist/auth/pages/RegisterPage.js.map +1 -0
- package/dist/auth/pages/SSORelayCallbackPage.d.ts +8 -0
- package/dist/auth/pages/SSORelayCallbackPage.d.ts.map +1 -0
- package/dist/auth/pages/SSORelayCallbackPage.js +48 -0
- package/dist/auth/pages/SSORelayCallbackPage.js.map +1 -0
- package/dist/auth/pages/SSORelayPage.d.ts +18 -0
- package/dist/auth/pages/SSORelayPage.d.ts.map +1 -0
- package/dist/auth/pages/SSORelayPage.js +134 -0
- package/dist/auth/pages/SSORelayPage.js.map +1 -0
- package/dist/auth/pages/SecurityPage.d.ts +5 -0
- package/dist/auth/pages/SecurityPage.d.ts.map +1 -0
- package/dist/auth/pages/SecurityPage.js +587 -0
- package/dist/auth/pages/SecurityPage.js.map +1 -0
- package/dist/auth/pages/SessionBridgePage.d.ts +14 -0
- package/dist/auth/pages/SessionBridgePage.d.ts.map +1 -0
- package/dist/auth/pages/SessionBridgePage.js +231 -0
- package/dist/auth/pages/SessionBridgePage.js.map +1 -0
- package/dist/auth/pages/SessionsPage.d.ts +5 -0
- package/dist/auth/pages/SessionsPage.d.ts.map +1 -0
- package/dist/auth/pages/SessionsPage.js +258 -0
- package/dist/auth/pages/SessionsPage.js.map +1 -0
- package/dist/auth/pages/SsoCallbackPage.d.ts +8 -0
- package/dist/auth/pages/SsoCallbackPage.d.ts.map +1 -0
- package/dist/auth/pages/SsoCallbackPage.js +188 -0
- package/dist/auth/pages/SsoCallbackPage.js.map +1 -0
- package/dist/auth/pages/SsoConfigPage.d.ts +6 -0
- package/dist/auth/pages/SsoConfigPage.d.ts.map +1 -0
- package/dist/auth/pages/SsoConfigPage.js +1144 -0
- package/dist/auth/pages/SsoConfigPage.js.map +1 -0
- package/dist/auth/pages/SsoLoginPage.d.ts +7 -0
- package/dist/auth/pages/SsoLoginPage.d.ts.map +1 -0
- package/dist/auth/pages/SsoLoginPage.js +236 -0
- package/dist/auth/pages/SsoLoginPage.js.map +1 -0
- package/dist/auth/pages/UserDetailsPage.d.ts +11 -0
- package/dist/auth/pages/UserDetailsPage.d.ts.map +1 -0
- package/dist/auth/pages/UserDetailsPage.js +338 -0
- package/dist/auth/pages/UserDetailsPage.js.map +1 -0
- package/dist/auth/pages/UserProfilePage.d.ts +5 -0
- package/dist/auth/pages/UserProfilePage.d.ts.map +1 -0
- package/dist/auth/pages/UserProfilePage.js +445 -0
- package/dist/auth/pages/UserProfilePage.js.map +1 -0
- package/dist/auth/pages/UsersPage.d.ts +5 -0
- package/dist/auth/pages/UsersPage.d.ts.map +1 -0
- package/dist/auth/pages/UsersPage.js +899 -0
- package/dist/auth/pages/UsersPage.js.map +1 -0
- package/dist/auth/providers/AuthProvider.d.ts +18 -0
- package/dist/auth/providers/AuthProvider.d.ts.map +1 -0
- package/dist/auth/providers/AuthProvider.js +36 -0
- package/dist/auth/providers/AuthProvider.js.map +1 -0
- package/dist/auth/providers/CaptchaProvider.d.ts +13 -0
- package/dist/auth/providers/CaptchaProvider.d.ts.map +1 -0
- package/dist/auth/providers/CaptchaProvider.js +21 -0
- package/dist/auth/providers/CaptchaProvider.js.map +1 -0
- package/dist/auth/store/authStore.d.ts +91 -0
- package/dist/auth/store/authStore.d.ts.map +1 -0
- package/dist/auth/store/authStore.js +314 -0
- package/dist/auth/store/authStore.js.map +1 -0
- package/dist/auth/types/index.d.ts +636 -0
- package/dist/auth/types/index.d.ts.map +1 -0
- package/dist/auth/utils/captchaConfig.d.ts +4 -0
- package/dist/auth/utils/captchaConfig.d.ts.map +1 -0
- package/dist/auth/utils/captchaConfig.js +13 -0
- package/dist/auth/utils/captchaConfig.js.map +1 -0
- package/dist/auth/utils/formatters.d.ts +37 -0
- package/dist/auth/utils/formatters.d.ts.map +1 -0
- package/dist/auth/utils/formatters.js +48 -0
- package/dist/auth/utils/formatters.js.map +1 -0
- package/dist/auth/utils/gatewayBaseUrls.d.ts +6 -0
- package/dist/auth/utils/gatewayBaseUrls.d.ts.map +1 -0
- package/dist/auth/utils/gatewayBaseUrls.js +18 -0
- package/dist/auth/utils/gatewayBaseUrls.js.map +1 -0
- package/dist/auth/utils/index.d.ts +3 -0
- package/dist/auth/utils/index.d.ts.map +1 -0
- package/dist/auth/utils/validation.d.ts +30 -0
- package/dist/auth/utils/validation.d.ts.map +1 -0
- package/dist/auth/utils/validation.js +15 -0
- package/dist/auth/utils/validation.js.map +1 -0
- package/dist/dev/main.d.ts +2 -0
- package/dist/dev/main.d.ts.map +1 -0
- package/dist/generated/global-operations.d.ts +2978 -0
- package/dist/generated/global-operations.d.ts.map +1 -0
- package/dist/generated/global-operations.js +944 -0
- package/dist/generated/global-operations.js.map +1 -0
- package/dist/generated/global-types.d.ts +21253 -0
- package/dist/generated/global-types.d.ts.map +1 -0
- package/dist/generated/wspace-operations.d.ts +2 -0
- package/dist/generated/wspace-operations.d.ts.map +1 -0
- package/dist/generated/wspace-types.d.ts +55214 -0
- package/dist/generated/wspace-types.d.ts.map +1 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +20 -0
- package/dist/microfe-auth.css +3 -0
- package/dist/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js +70 -0
- package/dist/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js.map +1 -0
- package/dist/node_modules/object-assign/index.js +41 -0
- package/dist/node_modules/object-assign/index.js.map +1 -0
- package/dist/node_modules/prop-types/checkPropTypes.js +46 -0
- package/dist/node_modules/prop-types/checkPropTypes.js.map +1 -0
- package/dist/node_modules/prop-types/factoryWithThrowingShims.js +49 -0
- package/dist/node_modules/prop-types/factoryWithThrowingShims.js.map +1 -0
- package/dist/node_modules/prop-types/factoryWithTypeCheckers.js +272 -0
- package/dist/node_modules/prop-types/factoryWithTypeCheckers.js.map +1 -0
- package/dist/node_modules/prop-types/index.js +16 -0
- package/dist/node_modules/prop-types/index.js.map +1 -0
- package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js +10 -0
- package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js.map +1 -0
- package/dist/node_modules/prop-types/lib/has.js +10 -0
- package/dist/node_modules/prop-types/lib/has.js.map +1 -0
- package/dist/node_modules/qrcode.react/lib/esm/index.js +959 -0
- package/dist/node_modules/qrcode.react/lib/esm/index.js.map +1 -0
- package/dist/node_modules/react-async-script/lib/esm/async-script-loader.js +114 -0
- package/dist/node_modules/react-async-script/lib/esm/async-script-loader.js.map +1 -0
- package/dist/node_modules/react-google-recaptcha/lib/esm/index.js +8 -0
- package/dist/node_modules/react-google-recaptcha/lib/esm/index.js.map +1 -0
- package/dist/node_modules/react-google-recaptcha/lib/esm/recaptcha-wrapper.js +20 -0
- package/dist/node_modules/react-google-recaptcha/lib/esm/recaptcha-wrapper.js.map +1 -0
- package/dist/node_modules/react-google-recaptcha/lib/esm/recaptcha.js +148 -0
- package/dist/node_modules/react-google-recaptcha/lib/esm/recaptcha.js.map +1 -0
- package/dist/node_modules/react-google-recaptcha-v3/dist/react-google-recaptcha-v3.esm.js +445 -0
- package/dist/node_modules/react-google-recaptcha-v3/dist/react-google-recaptcha-v3.esm.js.map +1 -0
- package/dist/node_modules/react-is/cjs/react-is.development.js +84 -0
- package/dist/node_modules/react-is/cjs/react-is.development.js.map +1 -0
- package/dist/node_modules/react-is/cjs/react-is.production.min.js +64 -0
- package/dist/node_modules/react-is/cjs/react-is.production.min.js.map +1 -0
- package/dist/node_modules/react-is/index.js +12 -0
- package/dist/node_modules/react-is/index.js.map +1 -0
- package/dist/shared/hooks/index.d.ts +7 -0
- package/dist/shared/hooks/index.d.ts.map +1 -0
- package/dist/shared/index.d.ts +6 -0
- package/dist/shared/index.d.ts.map +1 -0
- package/dist/shared/types/index.d.ts +109 -0
- package/dist/shared/types/index.d.ts.map +1 -0
- package/dist/utils/nativeBridge.d.ts +3 -0
- package/dist/utils/nativeBridge.d.ts.map +1 -0
- package/dist/utils/nativeBridge.js +2 -0
- package/package.json +114 -0
|
@@ -0,0 +1,944 @@
|
|
|
1
|
+
import "@apollo/client/react";
|
|
2
|
+
import { gql as e } from "@apollo/client";
|
|
3
|
+
//#region src/generated/global-operations.ts
|
|
4
|
+
var t = e`
|
|
5
|
+
mutation DeactivateAccount($password: String!) {
|
|
6
|
+
deactivateAccount(password: $password) {
|
|
7
|
+
success
|
|
8
|
+
message
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
`, n = e`
|
|
12
|
+
mutation DeleteAccount($password: String!, $confirmPhrase: String!) {
|
|
13
|
+
deleteAccount(password: $password, confirmPhrase: $confirmPhrase) {
|
|
14
|
+
success
|
|
15
|
+
message
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
`, r = e`
|
|
19
|
+
mutation ReactivateAccount($email: String!, $password: String!) {
|
|
20
|
+
reactivateAccount(email: $email, password: $password) {
|
|
21
|
+
success
|
|
22
|
+
token
|
|
23
|
+
refreshToken
|
|
24
|
+
expiresIn
|
|
25
|
+
user {
|
|
26
|
+
id
|
|
27
|
+
email
|
|
28
|
+
username
|
|
29
|
+
role
|
|
30
|
+
status
|
|
31
|
+
emailVerified
|
|
32
|
+
mfaEnabled
|
|
33
|
+
firstName
|
|
34
|
+
lastName
|
|
35
|
+
name
|
|
36
|
+
defaultWorkspaceId
|
|
37
|
+
tenantId
|
|
38
|
+
createdAt
|
|
39
|
+
updatedAt
|
|
40
|
+
}
|
|
41
|
+
sessionId
|
|
42
|
+
error
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
`;
|
|
46
|
+
e`
|
|
47
|
+
mutation GenerateAPIKey($input: GenerateAPIKeyInput!) {
|
|
48
|
+
generateAPIKey(input: $input) {
|
|
49
|
+
apiKey
|
|
50
|
+
apiSecret
|
|
51
|
+
keyId
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
`, e`
|
|
55
|
+
mutation RevokeAPIKey($keyId: String!) {
|
|
56
|
+
revokeAPIKey(keyId: $keyId)
|
|
57
|
+
}
|
|
58
|
+
`, e`
|
|
59
|
+
mutation RotateAPIKey($keyId: String!) {
|
|
60
|
+
rotateAPIKey(keyId: $keyId) {
|
|
61
|
+
apiSecret
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
`, e`
|
|
65
|
+
mutation AuthenticateAPIKey($input: APIKeyInput!) {
|
|
66
|
+
authenticateAPIKey(input: $input) {
|
|
67
|
+
success
|
|
68
|
+
user {
|
|
69
|
+
id
|
|
70
|
+
email
|
|
71
|
+
username
|
|
72
|
+
role
|
|
73
|
+
}
|
|
74
|
+
token
|
|
75
|
+
refreshToken
|
|
76
|
+
expiresIn
|
|
77
|
+
error
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
`, e`
|
|
81
|
+
mutation CreateApp($input: CreateAppInput!) {
|
|
82
|
+
createApp(input: $input) {
|
|
83
|
+
app {
|
|
84
|
+
id
|
|
85
|
+
name
|
|
86
|
+
description
|
|
87
|
+
clientId
|
|
88
|
+
type
|
|
89
|
+
status
|
|
90
|
+
scopes
|
|
91
|
+
redirectUris
|
|
92
|
+
ownerUserId
|
|
93
|
+
tenantId
|
|
94
|
+
createdAt
|
|
95
|
+
}
|
|
96
|
+
clientSecret
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
`, e`
|
|
100
|
+
mutation UpdateApp($id: ID!, $input: UpdateAppInput!) {
|
|
101
|
+
updateApp(id: $id, input: $input) {
|
|
102
|
+
id
|
|
103
|
+
name
|
|
104
|
+
description
|
|
105
|
+
clientId
|
|
106
|
+
type
|
|
107
|
+
status
|
|
108
|
+
scopes
|
|
109
|
+
redirectUris
|
|
110
|
+
updatedAt
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
`, e`
|
|
114
|
+
mutation DeactivateApp($id: ID!) {
|
|
115
|
+
deactivateApp(id: $id)
|
|
116
|
+
}
|
|
117
|
+
`, e`
|
|
118
|
+
mutation RotateAppSecret($id: ID!) {
|
|
119
|
+
rotateAppSecret(id: $id) {
|
|
120
|
+
app {
|
|
121
|
+
id
|
|
122
|
+
name
|
|
123
|
+
clientId
|
|
124
|
+
}
|
|
125
|
+
clientSecret
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
`, e`
|
|
129
|
+
mutation AuthenticateApp($input: AuthenticateAppInput!) {
|
|
130
|
+
authenticateApp(input: $input) {
|
|
131
|
+
accessToken
|
|
132
|
+
tokenType
|
|
133
|
+
expiresIn
|
|
134
|
+
scopes
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
`, e`
|
|
138
|
+
mutation GenerateAppToken($input: GenerateAppTokenInput!) {
|
|
139
|
+
generateAppToken(input: $input) {
|
|
140
|
+
accessToken
|
|
141
|
+
tokenType
|
|
142
|
+
expiresIn
|
|
143
|
+
scopes
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
`, e`
|
|
147
|
+
mutation GenerateAppAsUserToken($input: GenerateAppAsUserTokenInput!) {
|
|
148
|
+
generateAppAsUserToken(input: $input) {
|
|
149
|
+
accessToken
|
|
150
|
+
tokenType
|
|
151
|
+
expiresIn
|
|
152
|
+
scopes
|
|
153
|
+
delegationId
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
`, e`
|
|
157
|
+
mutation ExchangeToken($input: ExchangeTokenInput!) {
|
|
158
|
+
exchangeToken(input: $input) {
|
|
159
|
+
accessToken
|
|
160
|
+
tokenType
|
|
161
|
+
expiresIn
|
|
162
|
+
scopes
|
|
163
|
+
delegationId
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
`, e`
|
|
167
|
+
mutation GrantDelegation($input: GrantDelegationInput!) {
|
|
168
|
+
grantDelegation(input: $input) {
|
|
169
|
+
id
|
|
170
|
+
appId
|
|
171
|
+
app {
|
|
172
|
+
id
|
|
173
|
+
name
|
|
174
|
+
description
|
|
175
|
+
type
|
|
176
|
+
status
|
|
177
|
+
}
|
|
178
|
+
userId
|
|
179
|
+
scopes
|
|
180
|
+
workspaceIds
|
|
181
|
+
status
|
|
182
|
+
grantedAt
|
|
183
|
+
grantedBy
|
|
184
|
+
expiresAt
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
`, e`
|
|
188
|
+
mutation RevokeDelegation($id: ID!, $reason: String) {
|
|
189
|
+
revokeDelegation(id: $id, reason: $reason)
|
|
190
|
+
}
|
|
191
|
+
`;
|
|
192
|
+
var i = e`
|
|
193
|
+
mutation SignIn($input: SignInInput!) {
|
|
194
|
+
signIn(input: $input) {
|
|
195
|
+
accessToken
|
|
196
|
+
refreshToken
|
|
197
|
+
user {
|
|
198
|
+
id
|
|
199
|
+
email
|
|
200
|
+
username
|
|
201
|
+
firstName
|
|
202
|
+
lastName
|
|
203
|
+
name
|
|
204
|
+
phoneNumber
|
|
205
|
+
role
|
|
206
|
+
emailVerified
|
|
207
|
+
mfaEnabled
|
|
208
|
+
createdAt
|
|
209
|
+
updatedAt
|
|
210
|
+
}
|
|
211
|
+
expiresIn
|
|
212
|
+
requiresMFA
|
|
213
|
+
mfaChallengeId
|
|
214
|
+
mfaMethod
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
`, a = e`
|
|
218
|
+
mutation SignUp($input: SignUpInput!) {
|
|
219
|
+
signUp(input: $input) {
|
|
220
|
+
accessToken
|
|
221
|
+
refreshToken
|
|
222
|
+
user {
|
|
223
|
+
id
|
|
224
|
+
email
|
|
225
|
+
username
|
|
226
|
+
firstName
|
|
227
|
+
lastName
|
|
228
|
+
name
|
|
229
|
+
phoneNumber
|
|
230
|
+
role
|
|
231
|
+
emailVerified
|
|
232
|
+
mfaEnabled
|
|
233
|
+
createdAt
|
|
234
|
+
}
|
|
235
|
+
expiresIn
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
`, o = e`
|
|
239
|
+
mutation RefreshToken($token: String!) {
|
|
240
|
+
refreshToken(token: $token) {
|
|
241
|
+
accessToken
|
|
242
|
+
refreshToken
|
|
243
|
+
user {
|
|
244
|
+
id
|
|
245
|
+
email
|
|
246
|
+
username
|
|
247
|
+
firstName
|
|
248
|
+
lastName
|
|
249
|
+
name
|
|
250
|
+
phoneNumber
|
|
251
|
+
role
|
|
252
|
+
}
|
|
253
|
+
expiresIn
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
`, s = e`
|
|
257
|
+
mutation SignOut {
|
|
258
|
+
signOut
|
|
259
|
+
}
|
|
260
|
+
`, c = e`
|
|
261
|
+
mutation ResendVerificationEmail($email: String!) {
|
|
262
|
+
resendVerificationEmail(email: $email) {
|
|
263
|
+
success
|
|
264
|
+
message
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
`, l = e`
|
|
268
|
+
mutation SendMagicLink($email: String!, $context: AuthContext) {
|
|
269
|
+
sendMagicLink(email: $email, context: $context) {
|
|
270
|
+
success
|
|
271
|
+
message
|
|
272
|
+
expiresIn
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
`, u = e`
|
|
276
|
+
mutation AuthenticateMagicLink($token: String!) {
|
|
277
|
+
authenticateMagicLink(token: $token) {
|
|
278
|
+
success
|
|
279
|
+
user {
|
|
280
|
+
id
|
|
281
|
+
email
|
|
282
|
+
username
|
|
283
|
+
firstName
|
|
284
|
+
lastName
|
|
285
|
+
name
|
|
286
|
+
phoneNumber
|
|
287
|
+
role
|
|
288
|
+
emailVerified
|
|
289
|
+
mfaEnabled
|
|
290
|
+
status
|
|
291
|
+
defaultWorkspaceId
|
|
292
|
+
tenantId
|
|
293
|
+
lastLoginAt
|
|
294
|
+
createdAt
|
|
295
|
+
updatedAt
|
|
296
|
+
}
|
|
297
|
+
token
|
|
298
|
+
refreshToken
|
|
299
|
+
expiresIn
|
|
300
|
+
requiresMFA
|
|
301
|
+
mfaChallengeId
|
|
302
|
+
sessionId
|
|
303
|
+
error
|
|
304
|
+
metadata
|
|
305
|
+
}
|
|
306
|
+
}
|
|
307
|
+
`, d = e`
|
|
308
|
+
mutation SetupMFA($method: MFAMethod!) {
|
|
309
|
+
setupMFA(method: $method) {
|
|
310
|
+
secret
|
|
311
|
+
qrCode
|
|
312
|
+
backupCodes
|
|
313
|
+
method
|
|
314
|
+
}
|
|
315
|
+
}
|
|
316
|
+
`, f = e`
|
|
317
|
+
mutation EnableMFA($code: String!) {
|
|
318
|
+
enableMFA(code: $code)
|
|
319
|
+
}
|
|
320
|
+
`, p = e`
|
|
321
|
+
mutation VerifyMFA($input: MFAVerifyInput!) {
|
|
322
|
+
verifyMFA(input: $input) {
|
|
323
|
+
success
|
|
324
|
+
user {
|
|
325
|
+
id
|
|
326
|
+
email
|
|
327
|
+
username
|
|
328
|
+
firstName
|
|
329
|
+
lastName
|
|
330
|
+
name
|
|
331
|
+
phoneNumber
|
|
332
|
+
role
|
|
333
|
+
emailVerified
|
|
334
|
+
mfaEnabled
|
|
335
|
+
status
|
|
336
|
+
defaultWorkspaceId
|
|
337
|
+
tenantId
|
|
338
|
+
lastLoginAt
|
|
339
|
+
createdAt
|
|
340
|
+
updatedAt
|
|
341
|
+
}
|
|
342
|
+
token
|
|
343
|
+
refreshToken
|
|
344
|
+
expiresIn
|
|
345
|
+
requiresMFA
|
|
346
|
+
mfaChallengeId
|
|
347
|
+
sessionId
|
|
348
|
+
error
|
|
349
|
+
metadata
|
|
350
|
+
}
|
|
351
|
+
}
|
|
352
|
+
`, m = e`
|
|
353
|
+
mutation DisableMFA {
|
|
354
|
+
disableMFA
|
|
355
|
+
}
|
|
356
|
+
`, h = e`
|
|
357
|
+
mutation AuthenticateOAuth($input: OAuthInput!) {
|
|
358
|
+
authenticateOAuth(input: $input) {
|
|
359
|
+
success
|
|
360
|
+
user {
|
|
361
|
+
id
|
|
362
|
+
email
|
|
363
|
+
username
|
|
364
|
+
firstName
|
|
365
|
+
lastName
|
|
366
|
+
name
|
|
367
|
+
phoneNumber
|
|
368
|
+
role
|
|
369
|
+
emailVerified
|
|
370
|
+
mfaEnabled
|
|
371
|
+
}
|
|
372
|
+
token
|
|
373
|
+
refreshToken
|
|
374
|
+
expiresIn
|
|
375
|
+
requiresMFA
|
|
376
|
+
mfaChallengeId
|
|
377
|
+
sessionId
|
|
378
|
+
error
|
|
379
|
+
metadata
|
|
380
|
+
}
|
|
381
|
+
}
|
|
382
|
+
`, g = e`
|
|
383
|
+
mutation ChangePassword($input: ChangePasswordInput!) {
|
|
384
|
+
changePassword(input: $input)
|
|
385
|
+
}
|
|
386
|
+
`, _ = e`
|
|
387
|
+
mutation RequestPasswordReset($email: String!, $recaptchaToken: String) {
|
|
388
|
+
requestPasswordReset(email: $email, recaptchaToken: $recaptchaToken) {
|
|
389
|
+
success
|
|
390
|
+
message
|
|
391
|
+
}
|
|
392
|
+
}
|
|
393
|
+
`, v = e`
|
|
394
|
+
mutation ResetPassword($token: String!, $newPassword: String!) {
|
|
395
|
+
resetPassword(token: $token, newPassword: $newPassword)
|
|
396
|
+
}
|
|
397
|
+
`, y = e`
|
|
398
|
+
mutation VerifyEmail($token: String!) {
|
|
399
|
+
verifyEmail(token: $token) {
|
|
400
|
+
success
|
|
401
|
+
message
|
|
402
|
+
}
|
|
403
|
+
}
|
|
404
|
+
`;
|
|
405
|
+
e`
|
|
406
|
+
mutation EnableAuthMethod($authType: AuthType!, $config: AuthMethodConfigInput) {
|
|
407
|
+
enableAuthMethod(authType: $authType, config: $config)
|
|
408
|
+
}
|
|
409
|
+
`, e`
|
|
410
|
+
mutation DisableAuthMethod($authType: AuthType!) {
|
|
411
|
+
disableAuthMethod(authType: $authType)
|
|
412
|
+
}
|
|
413
|
+
`;
|
|
414
|
+
var b = e`
|
|
415
|
+
mutation RevokeSession($sessionId: ID!) {
|
|
416
|
+
revokeSession(sessionId: $sessionId)
|
|
417
|
+
}
|
|
418
|
+
`, x = e`
|
|
419
|
+
mutation RevokeAllSessions {
|
|
420
|
+
revokeAllSessions {
|
|
421
|
+
success
|
|
422
|
+
revokedCount
|
|
423
|
+
}
|
|
424
|
+
}
|
|
425
|
+
`, S = e`
|
|
426
|
+
mutation AuthenticateSAML($input: SAMLInput!) {
|
|
427
|
+
authenticateSAML(input: $input) {
|
|
428
|
+
success
|
|
429
|
+
user {
|
|
430
|
+
id
|
|
431
|
+
email
|
|
432
|
+
username
|
|
433
|
+
firstName
|
|
434
|
+
lastName
|
|
435
|
+
name
|
|
436
|
+
phoneNumber
|
|
437
|
+
role
|
|
438
|
+
emailVerified
|
|
439
|
+
mfaEnabled
|
|
440
|
+
}
|
|
441
|
+
token
|
|
442
|
+
refreshToken
|
|
443
|
+
expiresIn
|
|
444
|
+
requiresMFA
|
|
445
|
+
mfaChallengeId
|
|
446
|
+
sessionId
|
|
447
|
+
error
|
|
448
|
+
metadata
|
|
449
|
+
}
|
|
450
|
+
}
|
|
451
|
+
`, C = e`
|
|
452
|
+
mutation GenerateSAMLRequest($tenantId: String!, $relayState: String) {
|
|
453
|
+
generateSAMLRequest(tenantId: $tenantId, relayState: $relayState) {
|
|
454
|
+
requestId
|
|
455
|
+
ssoUrl
|
|
456
|
+
samlRequest
|
|
457
|
+
}
|
|
458
|
+
}
|
|
459
|
+
`, w = e`
|
|
460
|
+
mutation SaveSSOConfig($tenantId: String!, $input: SSOConfigInput!) {
|
|
461
|
+
saveSSOConfig(tenantId: $tenantId, input: $input) {
|
|
462
|
+
id
|
|
463
|
+
tenantId
|
|
464
|
+
entityId
|
|
465
|
+
ssoUrl
|
|
466
|
+
sloUrl
|
|
467
|
+
certificate
|
|
468
|
+
enabled
|
|
469
|
+
createdAt
|
|
470
|
+
updatedAt
|
|
471
|
+
}
|
|
472
|
+
}
|
|
473
|
+
`, T = e`
|
|
474
|
+
mutation DeleteSSOConfig($tenantId: String!) {
|
|
475
|
+
deleteSSOConfig(tenantId: $tenantId)
|
|
476
|
+
}
|
|
477
|
+
`, E = e`
|
|
478
|
+
mutation GenerateOIDCAuthUrl($tenantId: String!, $state: String) {
|
|
479
|
+
generateOIDCAuthUrl(tenantId: $tenantId, state: $state) {
|
|
480
|
+
authUrl
|
|
481
|
+
state
|
|
482
|
+
nonce
|
|
483
|
+
codeVerifier
|
|
484
|
+
relayState
|
|
485
|
+
}
|
|
486
|
+
}
|
|
487
|
+
`, D = e`
|
|
488
|
+
mutation AuthenticateOIDC($input: OIDCCallbackInput!) {
|
|
489
|
+
authenticateOIDC(input: $input) {
|
|
490
|
+
accessToken
|
|
491
|
+
refreshToken
|
|
492
|
+
expiresIn
|
|
493
|
+
user {
|
|
494
|
+
id
|
|
495
|
+
email
|
|
496
|
+
username
|
|
497
|
+
firstName
|
|
498
|
+
lastName
|
|
499
|
+
name
|
|
500
|
+
phoneNumber
|
|
501
|
+
role
|
|
502
|
+
emailVerified
|
|
503
|
+
mfaEnabled
|
|
504
|
+
}
|
|
505
|
+
}
|
|
506
|
+
}
|
|
507
|
+
`, O = e`
|
|
508
|
+
mutation ValidateTokens($input: ValidateTokensInput!) {
|
|
509
|
+
validateTokens(input: $input) {
|
|
510
|
+
valid
|
|
511
|
+
userId
|
|
512
|
+
email
|
|
513
|
+
role
|
|
514
|
+
appId
|
|
515
|
+
delegationId
|
|
516
|
+
scopes
|
|
517
|
+
tokenType
|
|
518
|
+
expiresAt
|
|
519
|
+
error {
|
|
520
|
+
code
|
|
521
|
+
message
|
|
522
|
+
}
|
|
523
|
+
}
|
|
524
|
+
}
|
|
525
|
+
`, k = e`
|
|
526
|
+
mutation UpdateCurrentUserProfile($input: UpdateUserInput!) {
|
|
527
|
+
updateCurrentUserProfile(input: $input) {
|
|
528
|
+
id
|
|
529
|
+
email
|
|
530
|
+
username
|
|
531
|
+
firstName
|
|
532
|
+
lastName
|
|
533
|
+
name
|
|
534
|
+
phoneNumber
|
|
535
|
+
updatedAt
|
|
536
|
+
}
|
|
537
|
+
}
|
|
538
|
+
`, A = e`
|
|
539
|
+
mutation UpdateUser($id: ID!, $input: AdminUpdateUserInput!) {
|
|
540
|
+
updateUser(id: $id, input: $input) {
|
|
541
|
+
id
|
|
542
|
+
email
|
|
543
|
+
username
|
|
544
|
+
firstName
|
|
545
|
+
lastName
|
|
546
|
+
name
|
|
547
|
+
phoneNumber
|
|
548
|
+
role
|
|
549
|
+
status
|
|
550
|
+
emailVerified
|
|
551
|
+
updatedAt
|
|
552
|
+
}
|
|
553
|
+
}
|
|
554
|
+
`, j = e`
|
|
555
|
+
mutation DeleteUser($id: ID!) {
|
|
556
|
+
deleteUser(id: $id) {
|
|
557
|
+
success
|
|
558
|
+
message
|
|
559
|
+
}
|
|
560
|
+
}
|
|
561
|
+
`, M = e`
|
|
562
|
+
mutation HardDeleteUser($id: ID!) {
|
|
563
|
+
hardDeleteUser(id: $id) {
|
|
564
|
+
success
|
|
565
|
+
message
|
|
566
|
+
}
|
|
567
|
+
}
|
|
568
|
+
`, N = e`
|
|
569
|
+
mutation CreateWorkspace($input: CreateWorkspaceInput!) {
|
|
570
|
+
createWorkspace(input: $input) {
|
|
571
|
+
id
|
|
572
|
+
name
|
|
573
|
+
slug
|
|
574
|
+
tenantId
|
|
575
|
+
organizationId
|
|
576
|
+
createdAt
|
|
577
|
+
updatedAt
|
|
578
|
+
}
|
|
579
|
+
}
|
|
580
|
+
`, P = e`
|
|
581
|
+
mutation UpdateWorkspace($id: ID!, $input: UpdateWorkspaceInput!) {
|
|
582
|
+
updateWorkspace(id: $id, input: $input) {
|
|
583
|
+
id
|
|
584
|
+
name
|
|
585
|
+
slug
|
|
586
|
+
tenantId
|
|
587
|
+
organizationId
|
|
588
|
+
createdAt
|
|
589
|
+
updatedAt
|
|
590
|
+
}
|
|
591
|
+
}
|
|
592
|
+
`, F = e`
|
|
593
|
+
mutation AddWorkspaceMember($input: AddWorkspaceMemberInput!) {
|
|
594
|
+
addWorkspaceMember(input: $input) {
|
|
595
|
+
id
|
|
596
|
+
workspaceId
|
|
597
|
+
userId
|
|
598
|
+
role
|
|
599
|
+
joinedAt
|
|
600
|
+
invitedBy
|
|
601
|
+
}
|
|
602
|
+
}
|
|
603
|
+
`, I = e`
|
|
604
|
+
mutation UpdateWorkspaceMember($workspaceId: String!, $userId: String!, $input: UpdateWorkspaceMemberInput!) {
|
|
605
|
+
updateWorkspaceMember(workspaceId: $workspaceId, userId: $userId, input: $input) {
|
|
606
|
+
id
|
|
607
|
+
workspaceId
|
|
608
|
+
userId
|
|
609
|
+
role
|
|
610
|
+
joinedAt
|
|
611
|
+
invitedBy
|
|
612
|
+
}
|
|
613
|
+
}
|
|
614
|
+
`, L = e`
|
|
615
|
+
mutation RemoveWorkspaceMember($workspaceId: String!, $userId: String!) {
|
|
616
|
+
removeWorkspaceMember(workspaceId: $workspaceId, userId: $userId)
|
|
617
|
+
}
|
|
618
|
+
`;
|
|
619
|
+
e`
|
|
620
|
+
query MyApiKeys {
|
|
621
|
+
myApiKeys {
|
|
622
|
+
id
|
|
623
|
+
name
|
|
624
|
+
prefix
|
|
625
|
+
scopes
|
|
626
|
+
appId
|
|
627
|
+
appName
|
|
628
|
+
createdAt
|
|
629
|
+
expiresAt
|
|
630
|
+
lastUsedAt
|
|
631
|
+
}
|
|
632
|
+
}
|
|
633
|
+
`, e`
|
|
634
|
+
query CurrentUserApps {
|
|
635
|
+
currentUserApps {
|
|
636
|
+
id
|
|
637
|
+
name
|
|
638
|
+
description
|
|
639
|
+
clientId
|
|
640
|
+
type
|
|
641
|
+
status
|
|
642
|
+
scopes
|
|
643
|
+
redirectUris
|
|
644
|
+
ownerUserId
|
|
645
|
+
tenantId
|
|
646
|
+
delegations {
|
|
647
|
+
id
|
|
648
|
+
userId
|
|
649
|
+
scopes
|
|
650
|
+
workspaceIds
|
|
651
|
+
status
|
|
652
|
+
grantedAt
|
|
653
|
+
expiresAt
|
|
654
|
+
}
|
|
655
|
+
createdAt
|
|
656
|
+
updatedAt
|
|
657
|
+
}
|
|
658
|
+
}
|
|
659
|
+
`, e`
|
|
660
|
+
query GetApp($id: ID!) {
|
|
661
|
+
app(id: $id) {
|
|
662
|
+
id
|
|
663
|
+
name
|
|
664
|
+
description
|
|
665
|
+
clientId
|
|
666
|
+
type
|
|
667
|
+
status
|
|
668
|
+
scopes
|
|
669
|
+
redirectUris
|
|
670
|
+
ownerUserId
|
|
671
|
+
tenantId
|
|
672
|
+
delegations {
|
|
673
|
+
id
|
|
674
|
+
userId
|
|
675
|
+
scopes
|
|
676
|
+
workspaceIds
|
|
677
|
+
status
|
|
678
|
+
grantedAt
|
|
679
|
+
expiresAt
|
|
680
|
+
}
|
|
681
|
+
createdAt
|
|
682
|
+
updatedAt
|
|
683
|
+
}
|
|
684
|
+
}
|
|
685
|
+
`, e`
|
|
686
|
+
query AppsActingAsCurrentUser {
|
|
687
|
+
appsActingAsCurrentUser {
|
|
688
|
+
id
|
|
689
|
+
name
|
|
690
|
+
description
|
|
691
|
+
clientId
|
|
692
|
+
type
|
|
693
|
+
status
|
|
694
|
+
scopes
|
|
695
|
+
redirectUris
|
|
696
|
+
ownerUserId
|
|
697
|
+
tenantId
|
|
698
|
+
createdAt
|
|
699
|
+
updatedAt
|
|
700
|
+
}
|
|
701
|
+
}
|
|
702
|
+
`;
|
|
703
|
+
var R = e`
|
|
704
|
+
query CurrentUser {
|
|
705
|
+
currentUser {
|
|
706
|
+
id
|
|
707
|
+
email
|
|
708
|
+
username
|
|
709
|
+
firstName
|
|
710
|
+
lastName
|
|
711
|
+
name
|
|
712
|
+
phoneNumber
|
|
713
|
+
role
|
|
714
|
+
status
|
|
715
|
+
emailVerified
|
|
716
|
+
mfaEnabled
|
|
717
|
+
lastLoginAt
|
|
718
|
+
createdAt
|
|
719
|
+
updatedAt
|
|
720
|
+
}
|
|
721
|
+
}
|
|
722
|
+
`;
|
|
723
|
+
e`
|
|
724
|
+
query CurrentUserDelegations {
|
|
725
|
+
currentUserDelegations {
|
|
726
|
+
id
|
|
727
|
+
appId
|
|
728
|
+
app {
|
|
729
|
+
id
|
|
730
|
+
name
|
|
731
|
+
description
|
|
732
|
+
type
|
|
733
|
+
status
|
|
734
|
+
}
|
|
735
|
+
userId
|
|
736
|
+
scopes
|
|
737
|
+
workspaceIds
|
|
738
|
+
status
|
|
739
|
+
grantedAt
|
|
740
|
+
grantedBy
|
|
741
|
+
expiresAt
|
|
742
|
+
revokedAt
|
|
743
|
+
revokedBy
|
|
744
|
+
}
|
|
745
|
+
}
|
|
746
|
+
`, e`
|
|
747
|
+
query CurrentUserGrantedDelegations {
|
|
748
|
+
currentUserGrantedDelegations {
|
|
749
|
+
id
|
|
750
|
+
appId
|
|
751
|
+
app {
|
|
752
|
+
id
|
|
753
|
+
name
|
|
754
|
+
description
|
|
755
|
+
type
|
|
756
|
+
status
|
|
757
|
+
}
|
|
758
|
+
userId
|
|
759
|
+
scopes
|
|
760
|
+
workspaceIds
|
|
761
|
+
status
|
|
762
|
+
grantedAt
|
|
763
|
+
grantedBy
|
|
764
|
+
expiresAt
|
|
765
|
+
revokedAt
|
|
766
|
+
revokedBy
|
|
767
|
+
}
|
|
768
|
+
}
|
|
769
|
+
`, e`
|
|
770
|
+
query AvailableAuthMethods($tenantId: String) {
|
|
771
|
+
availableAuthMethods(tenantId: $tenantId) {
|
|
772
|
+
type
|
|
773
|
+
name
|
|
774
|
+
enabled
|
|
775
|
+
requiresMFA
|
|
776
|
+
}
|
|
777
|
+
}
|
|
778
|
+
`, e`
|
|
779
|
+
query AuthMethodConfig($tenantId: String!, $authType: AuthType!) {
|
|
780
|
+
authMethodConfig(tenantId: $tenantId, authType: $authType) {
|
|
781
|
+
type
|
|
782
|
+
enabled
|
|
783
|
+
config
|
|
784
|
+
}
|
|
785
|
+
}
|
|
786
|
+
`, e`
|
|
787
|
+
query AuthStrategiesHealth {
|
|
788
|
+
authStrategiesHealth {
|
|
789
|
+
name
|
|
790
|
+
type
|
|
791
|
+
healthy
|
|
792
|
+
}
|
|
793
|
+
}
|
|
794
|
+
`;
|
|
795
|
+
var z = e`
|
|
796
|
+
query ActiveSessions {
|
|
797
|
+
activeSessions {
|
|
798
|
+
id
|
|
799
|
+
status
|
|
800
|
+
ipAddress
|
|
801
|
+
userAgent
|
|
802
|
+
location
|
|
803
|
+
lastActivityAt
|
|
804
|
+
expiresAt
|
|
805
|
+
createdAt
|
|
806
|
+
isCurrent
|
|
807
|
+
}
|
|
808
|
+
}
|
|
809
|
+
`, B = e`
|
|
810
|
+
query GetSSOConfig($tenantId: String!) {
|
|
811
|
+
getSSOConfig(tenantId: $tenantId) {
|
|
812
|
+
id
|
|
813
|
+
tenantId
|
|
814
|
+
entityId
|
|
815
|
+
ssoUrl
|
|
816
|
+
sloUrl
|
|
817
|
+
certificate
|
|
818
|
+
enabled
|
|
819
|
+
createdAt
|
|
820
|
+
updatedAt
|
|
821
|
+
}
|
|
822
|
+
}
|
|
823
|
+
`, V = e`
|
|
824
|
+
query GetOIDCConfig {
|
|
825
|
+
getOIDCConfig {
|
|
826
|
+
issuer
|
|
827
|
+
authorizationEndpoint
|
|
828
|
+
tokenEndpoint
|
|
829
|
+
userinfoEndpoint
|
|
830
|
+
jwksUri
|
|
831
|
+
registrationEndpoint
|
|
832
|
+
scopesSupported
|
|
833
|
+
responseTypesSupported
|
|
834
|
+
grantTypesSupported
|
|
835
|
+
}
|
|
836
|
+
}
|
|
837
|
+
`, H = e`
|
|
838
|
+
query TokenInfo {
|
|
839
|
+
tokenInfo {
|
|
840
|
+
valid
|
|
841
|
+
userId
|
|
842
|
+
email
|
|
843
|
+
role
|
|
844
|
+
appId
|
|
845
|
+
delegationId
|
|
846
|
+
scopes
|
|
847
|
+
tokenType
|
|
848
|
+
expiresAt
|
|
849
|
+
error {
|
|
850
|
+
code
|
|
851
|
+
message
|
|
852
|
+
}
|
|
853
|
+
}
|
|
854
|
+
}
|
|
855
|
+
`, U = e`
|
|
856
|
+
query GetUser($id: ID!) {
|
|
857
|
+
user(id: $id) {
|
|
858
|
+
id
|
|
859
|
+
email
|
|
860
|
+
username
|
|
861
|
+
firstName
|
|
862
|
+
lastName
|
|
863
|
+
name
|
|
864
|
+
phoneNumber
|
|
865
|
+
role
|
|
866
|
+
status
|
|
867
|
+
emailVerified
|
|
868
|
+
mfaEnabled
|
|
869
|
+
lastLoginAt
|
|
870
|
+
createdAt
|
|
871
|
+
updatedAt
|
|
872
|
+
}
|
|
873
|
+
}
|
|
874
|
+
`, W = e`
|
|
875
|
+
query ListUsers($filter: UserFilterInput, $pagination: PaginationInput) {
|
|
876
|
+
users(filter: $filter, pagination: $pagination) {
|
|
877
|
+
users {
|
|
878
|
+
id
|
|
879
|
+
email
|
|
880
|
+
username
|
|
881
|
+
firstName
|
|
882
|
+
lastName
|
|
883
|
+
name
|
|
884
|
+
phoneNumber
|
|
885
|
+
role
|
|
886
|
+
status
|
|
887
|
+
emailVerified
|
|
888
|
+
mfaEnabled
|
|
889
|
+
lastLoginAt
|
|
890
|
+
createdAt
|
|
891
|
+
updatedAt
|
|
892
|
+
}
|
|
893
|
+
totalCount
|
|
894
|
+
hasMore
|
|
895
|
+
}
|
|
896
|
+
}
|
|
897
|
+
`, G = e`
|
|
898
|
+
query MyWorkspaces {
|
|
899
|
+
myWorkspaces {
|
|
900
|
+
total
|
|
901
|
+
items {
|
|
902
|
+
id
|
|
903
|
+
name
|
|
904
|
+
slug
|
|
905
|
+
tenantId
|
|
906
|
+
organizationId
|
|
907
|
+
}
|
|
908
|
+
}
|
|
909
|
+
}
|
|
910
|
+
`;
|
|
911
|
+
e`
|
|
912
|
+
query Workspace($id: ID!) {
|
|
913
|
+
workspace(id: $id) {
|
|
914
|
+
id
|
|
915
|
+
name
|
|
916
|
+
slug
|
|
917
|
+
tenantId
|
|
918
|
+
organizationId
|
|
919
|
+
createdAt
|
|
920
|
+
updatedAt
|
|
921
|
+
}
|
|
922
|
+
}
|
|
923
|
+
`, e`
|
|
924
|
+
query WorkspaceMembers($workspaceId: String!, $limit: Int = 10, $offset: Int = 0) {
|
|
925
|
+
workspaceMembers(workspaceId: $workspaceId, limit: $limit, offset: $offset) {
|
|
926
|
+
total
|
|
927
|
+
items {
|
|
928
|
+
id
|
|
929
|
+
workspaceId
|
|
930
|
+
userId
|
|
931
|
+
role
|
|
932
|
+
joinedAt
|
|
933
|
+
invitedBy
|
|
934
|
+
}
|
|
935
|
+
hasMore
|
|
936
|
+
limit
|
|
937
|
+
offset
|
|
938
|
+
}
|
|
939
|
+
}
|
|
940
|
+
`;
|
|
941
|
+
//#endregion
|
|
942
|
+
export { z as ActiveSessionsDocument, F as AddWorkspaceMemberDocument, u as AuthenticateMagicLinkDocument, h as AuthenticateOAuthDocument, D as AuthenticateOidcDocument, S as AuthenticateSamlDocument, g as ChangePasswordDocument, N as CreateWorkspaceDocument, R as CurrentUserDocument, t as DeactivateAccountDocument, n as DeleteAccountDocument, T as DeleteSsoConfigDocument, j as DeleteUserDocument, m as DisableMfaDocument, f as EnableMfaDocument, E as GenerateOidcAuthUrlDocument, C as GenerateSamlRequestDocument, V as GetOidcConfigDocument, B as GetSsoConfigDocument, U as GetUserDocument, M as HardDeleteUserDocument, W as ListUsersDocument, G as MyWorkspacesDocument, r as ReactivateAccountDocument, o as RefreshTokenDocument, L as RemoveWorkspaceMemberDocument, _ as RequestPasswordResetDocument, c as ResendVerificationEmailDocument, v as ResetPasswordDocument, x as RevokeAllSessionsDocument, b as RevokeSessionDocument, w as SaveSsoConfigDocument, l as SendMagicLinkDocument, d as SetupMfaDocument, i as SignInDocument, s as SignOutDocument, a as SignUpDocument, H as TokenInfoDocument, k as UpdateCurrentUserProfileDocument, A as UpdateUserDocument, P as UpdateWorkspaceDocument, I as UpdateWorkspaceMemberDocument, O as ValidateTokensDocument, y as VerifyEmailDocument, p as VerifyMfaDocument };
|
|
943
|
+
|
|
944
|
+
//# sourceMappingURL=global-operations.js.map
|