mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-09-07 01:09:54 +08:00
fix(admin): show user disabled status in admin panel search results (#11146)
close AF-2365
This commit is contained in:
+1
-9
@@ -7,14 +7,6 @@ query getUserByEmail($email: String!) {
|
|||||||
hasPassword
|
hasPassword
|
||||||
emailVerified
|
emailVerified
|
||||||
avatarUrl
|
avatarUrl
|
||||||
quota {
|
disabled
|
||||||
humanReadable {
|
|
||||||
blobLimit
|
|
||||||
historyPeriod
|
|
||||||
memberLimit
|
|
||||||
name
|
|
||||||
storageQuota
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -48,9 +48,224 @@ export const adminServerConfigQuery = {
|
|||||||
}
|
}
|
||||||
availableUserFeatures
|
availableUserFeatures
|
||||||
}
|
}
|
||||||
}
|
}`,
|
||||||
${passwordLimitsFragment}
|
};
|
||||||
${credentialsRequirementsFragment}`,
|
|
||||||
|
export const createChangePasswordUrlMutation = {
|
||||||
|
id: 'createChangePasswordUrlMutation' as const,
|
||||||
|
op: 'createChangePasswordUrl',
|
||||||
|
query: `mutation createChangePasswordUrl($callbackUrl: String!, $userId: String!) {
|
||||||
|
createChangePasswordUrl(callbackUrl: $callbackUrl, userId: $userId)
|
||||||
|
}`,
|
||||||
|
};
|
||||||
|
|
||||||
|
export const getPromptsQuery = {
|
||||||
|
id: 'getPromptsQuery' as const,
|
||||||
|
op: 'getPrompts',
|
||||||
|
query: `query getPrompts {
|
||||||
|
listCopilotPrompts {
|
||||||
|
name
|
||||||
|
model
|
||||||
|
action
|
||||||
|
config {
|
||||||
|
jsonMode
|
||||||
|
frequencyPenalty
|
||||||
|
presencePenalty
|
||||||
|
temperature
|
||||||
|
topP
|
||||||
|
}
|
||||||
|
messages {
|
||||||
|
role
|
||||||
|
content
|
||||||
|
params
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}`,
|
||||||
|
};
|
||||||
|
|
||||||
|
export const updatePromptMutation = {
|
||||||
|
id: 'updatePromptMutation' as const,
|
||||||
|
op: 'updatePrompt',
|
||||||
|
query: `mutation updatePrompt($name: String!, $messages: [CopilotPromptMessageInput!]!) {
|
||||||
|
updateCopilotPrompt(name: $name, messages: $messages) {
|
||||||
|
name
|
||||||
|
model
|
||||||
|
action
|
||||||
|
config {
|
||||||
|
jsonMode
|
||||||
|
frequencyPenalty
|
||||||
|
presencePenalty
|
||||||
|
temperature
|
||||||
|
topP
|
||||||
|
}
|
||||||
|
messages {
|
||||||
|
role
|
||||||
|
content
|
||||||
|
params
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}`,
|
||||||
|
};
|
||||||
|
|
||||||
|
export const createUserMutation = {
|
||||||
|
id: 'createUserMutation' as const,
|
||||||
|
op: 'createUser',
|
||||||
|
query: `mutation createUser($input: CreateUserInput!) {
|
||||||
|
createUser(input: $input) {
|
||||||
|
id
|
||||||
|
}
|
||||||
|
}`,
|
||||||
|
};
|
||||||
|
|
||||||
|
export const deleteUserMutation = {
|
||||||
|
id: 'deleteUserMutation' as const,
|
||||||
|
op: 'deleteUser',
|
||||||
|
query: `mutation deleteUser($id: String!) {
|
||||||
|
deleteUser(id: $id) {
|
||||||
|
success
|
||||||
|
}
|
||||||
|
}`,
|
||||||
|
};
|
||||||
|
|
||||||
|
export const disableUserMutation = {
|
||||||
|
id: 'disableUserMutation' as const,
|
||||||
|
op: 'disableUser',
|
||||||
|
query: `mutation disableUser($id: String!) {
|
||||||
|
banUser(id: $id) {
|
||||||
|
email
|
||||||
|
disabled
|
||||||
|
}
|
||||||
|
}`,
|
||||||
|
};
|
||||||
|
|
||||||
|
export const enableUserMutation = {
|
||||||
|
id: 'enableUserMutation' as const,
|
||||||
|
op: 'enableUser',
|
||||||
|
query: `mutation enableUser($id: String!) {
|
||||||
|
enableUser(id: $id) {
|
||||||
|
email
|
||||||
|
disabled
|
||||||
|
}
|
||||||
|
}`,
|
||||||
|
};
|
||||||
|
|
||||||
|
export const getServerRuntimeConfigQuery = {
|
||||||
|
id: 'getServerRuntimeConfigQuery' as const,
|
||||||
|
op: 'getServerRuntimeConfig',
|
||||||
|
query: `query getServerRuntimeConfig {
|
||||||
|
serverRuntimeConfig {
|
||||||
|
id
|
||||||
|
module
|
||||||
|
key
|
||||||
|
description
|
||||||
|
value
|
||||||
|
type
|
||||||
|
updatedAt
|
||||||
|
}
|
||||||
|
}`,
|
||||||
|
};
|
||||||
|
|
||||||
|
export const getServerServiceConfigsQuery = {
|
||||||
|
id: 'getServerServiceConfigsQuery' as const,
|
||||||
|
op: 'getServerServiceConfigs',
|
||||||
|
query: `query getServerServiceConfigs {
|
||||||
|
serverServiceConfigs {
|
||||||
|
name
|
||||||
|
config
|
||||||
|
}
|
||||||
|
}`,
|
||||||
|
};
|
||||||
|
|
||||||
|
export const getUserByEmailQuery = {
|
||||||
|
id: 'getUserByEmailQuery' as const,
|
||||||
|
op: 'getUserByEmail',
|
||||||
|
query: `query getUserByEmail($email: String!) {
|
||||||
|
userByEmail(email: $email) {
|
||||||
|
id
|
||||||
|
name
|
||||||
|
email
|
||||||
|
features
|
||||||
|
hasPassword
|
||||||
|
emailVerified
|
||||||
|
avatarUrl
|
||||||
|
disabled
|
||||||
|
}
|
||||||
|
}`,
|
||||||
|
};
|
||||||
|
|
||||||
|
export const getUsersCountQuery = {
|
||||||
|
id: 'getUsersCountQuery' as const,
|
||||||
|
op: 'getUsersCount',
|
||||||
|
query: `query getUsersCount {
|
||||||
|
usersCount
|
||||||
|
}`,
|
||||||
|
};
|
||||||
|
|
||||||
|
export const importUsersMutation = {
|
||||||
|
id: 'importUsersMutation' as const,
|
||||||
|
op: 'ImportUsers',
|
||||||
|
query: `mutation ImportUsers($input: ImportUsersInput!) {
|
||||||
|
importUsers(input: $input) {
|
||||||
|
__typename
|
||||||
|
... on UserType {
|
||||||
|
id
|
||||||
|
name
|
||||||
|
email
|
||||||
|
}
|
||||||
|
... on UserImportFailedType {
|
||||||
|
email
|
||||||
|
error
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}`,
|
||||||
|
};
|
||||||
|
|
||||||
|
export const listUsersQuery = {
|
||||||
|
id: 'listUsersQuery' as const,
|
||||||
|
op: 'listUsers',
|
||||||
|
query: `query listUsers($filter: ListUserInput!) {
|
||||||
|
users(filter: $filter) {
|
||||||
|
id
|
||||||
|
name
|
||||||
|
email
|
||||||
|
disabled
|
||||||
|
features
|
||||||
|
hasPassword
|
||||||
|
emailVerified
|
||||||
|
avatarUrl
|
||||||
|
}
|
||||||
|
}`,
|
||||||
|
};
|
||||||
|
|
||||||
|
export const updateAccountFeaturesMutation = {
|
||||||
|
id: 'updateAccountFeaturesMutation' as const,
|
||||||
|
op: 'updateAccountFeatures',
|
||||||
|
query: `mutation updateAccountFeatures($userId: String!, $features: [FeatureType!]!) {
|
||||||
|
updateUserFeatures(id: $userId, features: $features)
|
||||||
|
}`,
|
||||||
|
};
|
||||||
|
|
||||||
|
export const updateAccountMutation = {
|
||||||
|
id: 'updateAccountMutation' as const,
|
||||||
|
op: 'updateAccount',
|
||||||
|
query: `mutation updateAccount($id: String!, $input: ManageUserInput!) {
|
||||||
|
updateUser(id: $id, input: $input) {
|
||||||
|
id
|
||||||
|
name
|
||||||
|
email
|
||||||
|
}
|
||||||
|
}`,
|
||||||
|
};
|
||||||
|
|
||||||
|
export const updateServerRuntimeConfigsMutation = {
|
||||||
|
id: 'updateServerRuntimeConfigsMutation' as const,
|
||||||
|
op: 'updateServerRuntimeConfigs',
|
||||||
|
query: `mutation updateServerRuntimeConfigs($updates: JSONObject!) {
|
||||||
|
updateRuntimeConfigs(updates: $updates) {
|
||||||
|
key
|
||||||
|
value
|
||||||
|
}
|
||||||
|
}`,
|
||||||
};
|
};
|
||||||
|
|
||||||
export const deleteBlobMutation = {
|
export const deleteBlobMutation = {
|
||||||
@@ -118,14 +333,6 @@ export const changeEmailMutation = {
|
|||||||
}`,
|
}`,
|
||||||
};
|
};
|
||||||
|
|
||||||
export const createChangePasswordUrlMutation = {
|
|
||||||
id: 'createChangePasswordUrlMutation' as const,
|
|
||||||
op: 'createChangePasswordUrl',
|
|
||||||
query: `mutation createChangePasswordUrl($callbackUrl: String!, $userId: String!) {
|
|
||||||
createChangePasswordUrl(callbackUrl: $callbackUrl, userId: $userId)
|
|
||||||
}`,
|
|
||||||
};
|
|
||||||
|
|
||||||
export const changePasswordMutation = {
|
export const changePasswordMutation = {
|
||||||
id: 'changePasswordMutation' as const,
|
id: 'changePasswordMutation' as const,
|
||||||
op: 'changePassword',
|
op: 'changePassword',
|
||||||
@@ -466,54 +673,6 @@ export const createCopilotMessageMutation = {
|
|||||||
file: true,
|
file: true,
|
||||||
};
|
};
|
||||||
|
|
||||||
export const getPromptsQuery = {
|
|
||||||
id: 'getPromptsQuery' as const,
|
|
||||||
op: 'getPrompts',
|
|
||||||
query: `query getPrompts {
|
|
||||||
listCopilotPrompts {
|
|
||||||
name
|
|
||||||
model
|
|
||||||
action
|
|
||||||
config {
|
|
||||||
jsonMode
|
|
||||||
frequencyPenalty
|
|
||||||
presencePenalty
|
|
||||||
temperature
|
|
||||||
topP
|
|
||||||
}
|
|
||||||
messages {
|
|
||||||
role
|
|
||||||
content
|
|
||||||
params
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}`,
|
|
||||||
};
|
|
||||||
|
|
||||||
export const updatePromptMutation = {
|
|
||||||
id: 'updatePromptMutation' as const,
|
|
||||||
op: 'updatePrompt',
|
|
||||||
query: `mutation updatePrompt($name: String!, $messages: [CopilotPromptMessageInput!]!) {
|
|
||||||
updateCopilotPrompt(name: $name, messages: $messages) {
|
|
||||||
name
|
|
||||||
model
|
|
||||||
action
|
|
||||||
config {
|
|
||||||
jsonMode
|
|
||||||
frequencyPenalty
|
|
||||||
presencePenalty
|
|
||||||
temperature
|
|
||||||
topP
|
|
||||||
}
|
|
||||||
messages {
|
|
||||||
role
|
|
||||||
content
|
|
||||||
params
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}`,
|
|
||||||
};
|
|
||||||
|
|
||||||
export const copilotQuotaQuery = {
|
export const copilotQuotaQuery = {
|
||||||
id: 'copilotQuotaQuery' as const,
|
id: 'copilotQuotaQuery' as const,
|
||||||
op: 'copilotQuota',
|
op: 'copilotQuota',
|
||||||
@@ -601,16 +760,6 @@ export const createSelfhostCustomerPortalMutation = {
|
|||||||
}`,
|
}`,
|
||||||
};
|
};
|
||||||
|
|
||||||
export const createUserMutation = {
|
|
||||||
id: 'createUserMutation' as const,
|
|
||||||
op: 'createUser',
|
|
||||||
query: `mutation createUser($input: CreateUserInput!) {
|
|
||||||
createUser(input: $input) {
|
|
||||||
id
|
|
||||||
}
|
|
||||||
}`,
|
|
||||||
};
|
|
||||||
|
|
||||||
export const createWorkspaceMutation = {
|
export const createWorkspaceMutation = {
|
||||||
id: 'createWorkspaceMutation' as const,
|
id: 'createWorkspaceMutation' as const,
|
||||||
op: 'createWorkspace',
|
op: 'createWorkspace',
|
||||||
@@ -641,16 +790,6 @@ export const deleteAccountMutation = {
|
|||||||
}`,
|
}`,
|
||||||
};
|
};
|
||||||
|
|
||||||
export const deleteUserMutation = {
|
|
||||||
id: 'deleteUserMutation' as const,
|
|
||||||
op: 'deleteUser',
|
|
||||||
query: `mutation deleteUser($id: String!) {
|
|
||||||
deleteUser(id: $id) {
|
|
||||||
success
|
|
||||||
}
|
|
||||||
}`,
|
|
||||||
};
|
|
||||||
|
|
||||||
export const deleteWorkspaceMutation = {
|
export const deleteWorkspaceMutation = {
|
||||||
id: 'deleteWorkspaceMutation' as const,
|
id: 'deleteWorkspaceMutation' as const,
|
||||||
op: 'deleteWorkspace',
|
op: 'deleteWorkspace',
|
||||||
@@ -659,17 +798,6 @@ export const deleteWorkspaceMutation = {
|
|||||||
}`,
|
}`,
|
||||||
};
|
};
|
||||||
|
|
||||||
export const disableUserMutation = {
|
|
||||||
id: 'disableUserMutation' as const,
|
|
||||||
op: 'disableUser',
|
|
||||||
query: `mutation disableUser($id: String!) {
|
|
||||||
banUser(id: $id) {
|
|
||||||
email
|
|
||||||
disabled
|
|
||||||
}
|
|
||||||
}`,
|
|
||||||
};
|
|
||||||
|
|
||||||
export const getDocRolePermissionsQuery = {
|
export const getDocRolePermissionsQuery = {
|
||||||
id: 'getDocRolePermissionsQuery' as const,
|
id: 'getDocRolePermissionsQuery' as const,
|
||||||
op: 'getDocRolePermissions',
|
op: 'getDocRolePermissions',
|
||||||
@@ -696,17 +824,6 @@ export const getDocRolePermissionsQuery = {
|
|||||||
}`,
|
}`,
|
||||||
};
|
};
|
||||||
|
|
||||||
export const enableUserMutation = {
|
|
||||||
id: 'enableUserMutation' as const,
|
|
||||||
op: 'enableUser',
|
|
||||||
query: `mutation enableUser($id: String!) {
|
|
||||||
enableUser(id: $id) {
|
|
||||||
email
|
|
||||||
disabled
|
|
||||||
}
|
|
||||||
}`,
|
|
||||||
};
|
|
||||||
|
|
||||||
export const generateLicenseKeyMutation = {
|
export const generateLicenseKeyMutation = {
|
||||||
id: 'generateLicenseKeyMutation' as const,
|
id: 'generateLicenseKeyMutation' as const,
|
||||||
op: 'generateLicenseKey',
|
op: 'generateLicenseKey',
|
||||||
@@ -902,58 +1019,6 @@ export const getPublicUserByIdQuery = {
|
|||||||
}`,
|
}`,
|
||||||
};
|
};
|
||||||
|
|
||||||
export const getServerRuntimeConfigQuery = {
|
|
||||||
id: 'getServerRuntimeConfigQuery' as const,
|
|
||||||
op: 'getServerRuntimeConfig',
|
|
||||||
query: `query getServerRuntimeConfig {
|
|
||||||
serverRuntimeConfig {
|
|
||||||
id
|
|
||||||
module
|
|
||||||
key
|
|
||||||
description
|
|
||||||
value
|
|
||||||
type
|
|
||||||
updatedAt
|
|
||||||
}
|
|
||||||
}`,
|
|
||||||
};
|
|
||||||
|
|
||||||
export const getServerServiceConfigsQuery = {
|
|
||||||
id: 'getServerServiceConfigsQuery' as const,
|
|
||||||
op: 'getServerServiceConfigs',
|
|
||||||
query: `query getServerServiceConfigs {
|
|
||||||
serverServiceConfigs {
|
|
||||||
name
|
|
||||||
config
|
|
||||||
}
|
|
||||||
}`,
|
|
||||||
};
|
|
||||||
|
|
||||||
export const getUserByEmailQuery = {
|
|
||||||
id: 'getUserByEmailQuery' as const,
|
|
||||||
op: 'getUserByEmail',
|
|
||||||
query: `query getUserByEmail($email: String!) {
|
|
||||||
userByEmail(email: $email) {
|
|
||||||
id
|
|
||||||
name
|
|
||||||
email
|
|
||||||
features
|
|
||||||
hasPassword
|
|
||||||
emailVerified
|
|
||||||
avatarUrl
|
|
||||||
quota {
|
|
||||||
humanReadable {
|
|
||||||
blobLimit
|
|
||||||
historyPeriod
|
|
||||||
memberLimit
|
|
||||||
name
|
|
||||||
storageQuota
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}`,
|
|
||||||
};
|
|
||||||
|
|
||||||
export const getUserFeaturesQuery = {
|
export const getUserFeaturesQuery = {
|
||||||
id: 'getUserFeaturesQuery' as const,
|
id: 'getUserFeaturesQuery' as const,
|
||||||
op: 'getUserFeatures',
|
op: 'getUserFeatures',
|
||||||
@@ -999,14 +1064,6 @@ export const getUserQuery = {
|
|||||||
}`,
|
}`,
|
||||||
};
|
};
|
||||||
|
|
||||||
export const getUsersCountQuery = {
|
|
||||||
id: 'getUsersCountQuery' as const,
|
|
||||||
op: 'getUsersCount',
|
|
||||||
query: `query getUsersCount {
|
|
||||||
usersCount
|
|
||||||
}`,
|
|
||||||
};
|
|
||||||
|
|
||||||
export const getWorkspaceInfoQuery = {
|
export const getWorkspaceInfoQuery = {
|
||||||
id: 'getWorkspaceInfoQuery' as const,
|
id: 'getWorkspaceInfoQuery' as const,
|
||||||
op: 'getWorkspaceInfo',
|
op: 'getWorkspaceInfo',
|
||||||
@@ -1150,25 +1207,6 @@ export const listHistoryQuery = {
|
|||||||
}`,
|
}`,
|
||||||
};
|
};
|
||||||
|
|
||||||
export const importUsersMutation = {
|
|
||||||
id: 'importUsersMutation' as const,
|
|
||||||
op: 'ImportUsers',
|
|
||||||
query: `mutation ImportUsers($input: ImportUsersInput!) {
|
|
||||||
importUsers(input: $input) {
|
|
||||||
__typename
|
|
||||||
... on UserType {
|
|
||||||
id
|
|
||||||
name
|
|
||||||
email
|
|
||||||
}
|
|
||||||
... on UserImportFailedType {
|
|
||||||
email
|
|
||||||
error
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}`,
|
|
||||||
};
|
|
||||||
|
|
||||||
export const getInvoicesCountQuery = {
|
export const getInvoicesCountQuery = {
|
||||||
id: 'getInvoicesCountQuery' as const,
|
id: 'getInvoicesCountQuery' as const,
|
||||||
op: 'getInvoicesCount',
|
op: 'getInvoicesCount',
|
||||||
@@ -1238,23 +1276,6 @@ export const listNotificationsQuery = {
|
|||||||
}`,
|
}`,
|
||||||
};
|
};
|
||||||
|
|
||||||
export const listUsersQuery = {
|
|
||||||
id: 'listUsersQuery' as const,
|
|
||||||
op: 'listUsers',
|
|
||||||
query: `query listUsers($filter: ListUserInput!) {
|
|
||||||
users(filter: $filter) {
|
|
||||||
id
|
|
||||||
name
|
|
||||||
email
|
|
||||||
disabled
|
|
||||||
features
|
|
||||||
hasPassword
|
|
||||||
emailVerified
|
|
||||||
avatarUrl
|
|
||||||
}
|
|
||||||
}`,
|
|
||||||
};
|
|
||||||
|
|
||||||
export const mentionUserMutation = {
|
export const mentionUserMutation = {
|
||||||
id: 'mentionUserMutation' as const,
|
id: 'mentionUserMutation' as const,
|
||||||
op: 'mentionUser',
|
op: 'mentionUser',
|
||||||
@@ -1488,26 +1509,6 @@ export const subscriptionQuery = {
|
|||||||
deprecations: ["'id' is deprecated: removed"],
|
deprecations: ["'id' is deprecated: removed"],
|
||||||
};
|
};
|
||||||
|
|
||||||
export const updateAccountFeaturesMutation = {
|
|
||||||
id: 'updateAccountFeaturesMutation' as const,
|
|
||||||
op: 'updateAccountFeatures',
|
|
||||||
query: `mutation updateAccountFeatures($userId: String!, $features: [FeatureType!]!) {
|
|
||||||
updateUserFeatures(id: $userId, features: $features)
|
|
||||||
}`,
|
|
||||||
};
|
|
||||||
|
|
||||||
export const updateAccountMutation = {
|
|
||||||
id: 'updateAccountMutation' as const,
|
|
||||||
op: 'updateAccount',
|
|
||||||
query: `mutation updateAccount($id: String!, $input: ManageUserInput!) {
|
|
||||||
updateUser(id: $id, input: $input) {
|
|
||||||
id
|
|
||||||
name
|
|
||||||
email
|
|
||||||
}
|
|
||||||
}`,
|
|
||||||
};
|
|
||||||
|
|
||||||
export const updateDocDefaultRoleMutation = {
|
export const updateDocDefaultRoleMutation = {
|
||||||
id: 'updateDocDefaultRoleMutation' as const,
|
id: 'updateDocDefaultRoleMutation' as const,
|
||||||
op: 'updateDocDefaultRole',
|
op: 'updateDocDefaultRole',
|
||||||
@@ -1524,17 +1525,6 @@ export const updateDocUserRoleMutation = {
|
|||||||
}`,
|
}`,
|
||||||
};
|
};
|
||||||
|
|
||||||
export const updateServerRuntimeConfigsMutation = {
|
|
||||||
id: 'updateServerRuntimeConfigsMutation' as const,
|
|
||||||
op: 'updateServerRuntimeConfigs',
|
|
||||||
query: `mutation updateServerRuntimeConfigs($updates: JSONObject!) {
|
|
||||||
updateRuntimeConfigs(updates: $updates) {
|
|
||||||
key
|
|
||||||
value
|
|
||||||
}
|
|
||||||
}`,
|
|
||||||
};
|
|
||||||
|
|
||||||
export const updateSubscriptionMutation = {
|
export const updateSubscriptionMutation = {
|
||||||
id: 'updateSubscriptionMutation' as const,
|
id: 'updateSubscriptionMutation' as const,
|
||||||
op: 'updateSubscription',
|
op: 'updateSubscription',
|
||||||
|
|||||||
@@ -2389,6 +2389,230 @@ export type AdminServerConfigQuery = {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export type CreateChangePasswordUrlMutationVariables = Exact<{
|
||||||
|
callbackUrl: Scalars['String']['input'];
|
||||||
|
userId: Scalars['String']['input'];
|
||||||
|
}>;
|
||||||
|
|
||||||
|
export type CreateChangePasswordUrlMutation = {
|
||||||
|
__typename?: 'Mutation';
|
||||||
|
createChangePasswordUrl: string;
|
||||||
|
};
|
||||||
|
|
||||||
|
export type GetPromptsQueryVariables = Exact<{ [key: string]: never }>;
|
||||||
|
|
||||||
|
export type GetPromptsQuery = {
|
||||||
|
__typename?: 'Query';
|
||||||
|
listCopilotPrompts: Array<{
|
||||||
|
__typename?: 'CopilotPromptType';
|
||||||
|
name: string;
|
||||||
|
model: string;
|
||||||
|
action: string | null;
|
||||||
|
config: {
|
||||||
|
__typename?: 'CopilotPromptConfigType';
|
||||||
|
jsonMode: boolean | null;
|
||||||
|
frequencyPenalty: number | null;
|
||||||
|
presencePenalty: number | null;
|
||||||
|
temperature: number | null;
|
||||||
|
topP: number | null;
|
||||||
|
} | null;
|
||||||
|
messages: Array<{
|
||||||
|
__typename?: 'CopilotPromptMessageType';
|
||||||
|
role: CopilotPromptMessageRole;
|
||||||
|
content: string;
|
||||||
|
params: Record<string, string> | null;
|
||||||
|
}>;
|
||||||
|
}>;
|
||||||
|
};
|
||||||
|
|
||||||
|
export type UpdatePromptMutationVariables = Exact<{
|
||||||
|
name: Scalars['String']['input'];
|
||||||
|
messages: Array<CopilotPromptMessageInput> | CopilotPromptMessageInput;
|
||||||
|
}>;
|
||||||
|
|
||||||
|
export type UpdatePromptMutation = {
|
||||||
|
__typename?: 'Mutation';
|
||||||
|
updateCopilotPrompt: {
|
||||||
|
__typename?: 'CopilotPromptType';
|
||||||
|
name: string;
|
||||||
|
model: string;
|
||||||
|
action: string | null;
|
||||||
|
config: {
|
||||||
|
__typename?: 'CopilotPromptConfigType';
|
||||||
|
jsonMode: boolean | null;
|
||||||
|
frequencyPenalty: number | null;
|
||||||
|
presencePenalty: number | null;
|
||||||
|
temperature: number | null;
|
||||||
|
topP: number | null;
|
||||||
|
} | null;
|
||||||
|
messages: Array<{
|
||||||
|
__typename?: 'CopilotPromptMessageType';
|
||||||
|
role: CopilotPromptMessageRole;
|
||||||
|
content: string;
|
||||||
|
params: Record<string, string> | null;
|
||||||
|
}>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
export type CreateUserMutationVariables = Exact<{
|
||||||
|
input: CreateUserInput;
|
||||||
|
}>;
|
||||||
|
|
||||||
|
export type CreateUserMutation = {
|
||||||
|
__typename?: 'Mutation';
|
||||||
|
createUser: { __typename?: 'UserType'; id: string };
|
||||||
|
};
|
||||||
|
|
||||||
|
export type DeleteUserMutationVariables = Exact<{
|
||||||
|
id: Scalars['String']['input'];
|
||||||
|
}>;
|
||||||
|
|
||||||
|
export type DeleteUserMutation = {
|
||||||
|
__typename?: 'Mutation';
|
||||||
|
deleteUser: { __typename?: 'DeleteAccount'; success: boolean };
|
||||||
|
};
|
||||||
|
|
||||||
|
export type DisableUserMutationVariables = Exact<{
|
||||||
|
id: Scalars['String']['input'];
|
||||||
|
}>;
|
||||||
|
|
||||||
|
export type DisableUserMutation = {
|
||||||
|
__typename?: 'Mutation';
|
||||||
|
banUser: { __typename?: 'UserType'; email: string; disabled: boolean };
|
||||||
|
};
|
||||||
|
|
||||||
|
export type EnableUserMutationVariables = Exact<{
|
||||||
|
id: Scalars['String']['input'];
|
||||||
|
}>;
|
||||||
|
|
||||||
|
export type EnableUserMutation = {
|
||||||
|
__typename?: 'Mutation';
|
||||||
|
enableUser: { __typename?: 'UserType'; email: string; disabled: boolean };
|
||||||
|
};
|
||||||
|
|
||||||
|
export type GetServerRuntimeConfigQueryVariables = Exact<{
|
||||||
|
[key: string]: never;
|
||||||
|
}>;
|
||||||
|
|
||||||
|
export type GetServerRuntimeConfigQuery = {
|
||||||
|
__typename?: 'Query';
|
||||||
|
serverRuntimeConfig: Array<{
|
||||||
|
__typename?: 'ServerRuntimeConfigType';
|
||||||
|
id: string;
|
||||||
|
module: string;
|
||||||
|
key: string;
|
||||||
|
description: string;
|
||||||
|
value: Record<string, string>;
|
||||||
|
type: RuntimeConfigType;
|
||||||
|
updatedAt: string;
|
||||||
|
}>;
|
||||||
|
};
|
||||||
|
|
||||||
|
export type GetServerServiceConfigsQueryVariables = Exact<{
|
||||||
|
[key: string]: never;
|
||||||
|
}>;
|
||||||
|
|
||||||
|
export type GetServerServiceConfigsQuery = {
|
||||||
|
__typename?: 'Query';
|
||||||
|
serverServiceConfigs: Array<{
|
||||||
|
__typename?: 'ServerServiceConfig';
|
||||||
|
name: string;
|
||||||
|
config: any;
|
||||||
|
}>;
|
||||||
|
};
|
||||||
|
|
||||||
|
export type GetUserByEmailQueryVariables = Exact<{
|
||||||
|
email: Scalars['String']['input'];
|
||||||
|
}>;
|
||||||
|
|
||||||
|
export type GetUserByEmailQuery = {
|
||||||
|
__typename?: 'Query';
|
||||||
|
userByEmail: {
|
||||||
|
__typename?: 'UserType';
|
||||||
|
id: string;
|
||||||
|
name: string;
|
||||||
|
email: string;
|
||||||
|
features: Array<FeatureType>;
|
||||||
|
hasPassword: boolean | null;
|
||||||
|
emailVerified: boolean;
|
||||||
|
avatarUrl: string | null;
|
||||||
|
disabled: boolean;
|
||||||
|
} | null;
|
||||||
|
};
|
||||||
|
|
||||||
|
export type GetUsersCountQueryVariables = Exact<{ [key: string]: never }>;
|
||||||
|
|
||||||
|
export type GetUsersCountQuery = { __typename?: 'Query'; usersCount: number };
|
||||||
|
|
||||||
|
export type ImportUsersMutationVariables = Exact<{
|
||||||
|
input: ImportUsersInput;
|
||||||
|
}>;
|
||||||
|
|
||||||
|
export type ImportUsersMutation = {
|
||||||
|
__typename?: 'Mutation';
|
||||||
|
importUsers: Array<
|
||||||
|
| { __typename: 'UserImportFailedType'; email: string; error: string }
|
||||||
|
| { __typename: 'UserType'; id: string; name: string; email: string }
|
||||||
|
>;
|
||||||
|
};
|
||||||
|
|
||||||
|
export type ListUsersQueryVariables = Exact<{
|
||||||
|
filter: ListUserInput;
|
||||||
|
}>;
|
||||||
|
|
||||||
|
export type ListUsersQuery = {
|
||||||
|
__typename?: 'Query';
|
||||||
|
users: Array<{
|
||||||
|
__typename?: 'UserType';
|
||||||
|
id: string;
|
||||||
|
name: string;
|
||||||
|
email: string;
|
||||||
|
disabled: boolean;
|
||||||
|
features: Array<FeatureType>;
|
||||||
|
hasPassword: boolean | null;
|
||||||
|
emailVerified: boolean;
|
||||||
|
avatarUrl: string | null;
|
||||||
|
}>;
|
||||||
|
};
|
||||||
|
|
||||||
|
export type UpdateAccountFeaturesMutationVariables = Exact<{
|
||||||
|
userId: Scalars['String']['input'];
|
||||||
|
features: Array<FeatureType> | FeatureType;
|
||||||
|
}>;
|
||||||
|
|
||||||
|
export type UpdateAccountFeaturesMutation = {
|
||||||
|
__typename?: 'Mutation';
|
||||||
|
updateUserFeatures: Array<FeatureType>;
|
||||||
|
};
|
||||||
|
|
||||||
|
export type UpdateAccountMutationVariables = Exact<{
|
||||||
|
id: Scalars['String']['input'];
|
||||||
|
input: ManageUserInput;
|
||||||
|
}>;
|
||||||
|
|
||||||
|
export type UpdateAccountMutation = {
|
||||||
|
__typename?: 'Mutation';
|
||||||
|
updateUser: {
|
||||||
|
__typename?: 'UserType';
|
||||||
|
id: string;
|
||||||
|
name: string;
|
||||||
|
email: string;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
export type UpdateServerRuntimeConfigsMutationVariables = Exact<{
|
||||||
|
updates: Scalars['JSONObject']['input'];
|
||||||
|
}>;
|
||||||
|
|
||||||
|
export type UpdateServerRuntimeConfigsMutation = {
|
||||||
|
__typename?: 'Mutation';
|
||||||
|
updateRuntimeConfigs: Array<{
|
||||||
|
__typename?: 'ServerRuntimeConfigType';
|
||||||
|
key: string;
|
||||||
|
value: Record<string, string>;
|
||||||
|
}>;
|
||||||
|
};
|
||||||
|
|
||||||
export type DeleteBlobMutationVariables = Exact<{
|
export type DeleteBlobMutationVariables = Exact<{
|
||||||
workspaceId: Scalars['String']['input'];
|
workspaceId: Scalars['String']['input'];
|
||||||
key: Scalars['String']['input'];
|
key: Scalars['String']['input'];
|
||||||
@@ -2460,16 +2684,6 @@ export type ChangeEmailMutation = {
|
|||||||
changeEmail: { __typename?: 'UserType'; id: string; email: string };
|
changeEmail: { __typename?: 'UserType'; id: string; email: string };
|
||||||
};
|
};
|
||||||
|
|
||||||
export type CreateChangePasswordUrlMutationVariables = Exact<{
|
|
||||||
callbackUrl: Scalars['String']['input'];
|
|
||||||
userId: Scalars['String']['input'];
|
|
||||||
}>;
|
|
||||||
|
|
||||||
export type CreateChangePasswordUrlMutation = {
|
|
||||||
__typename?: 'Mutation';
|
|
||||||
createChangePasswordUrl: string;
|
|
||||||
};
|
|
||||||
|
|
||||||
export type ChangePasswordMutationVariables = Exact<{
|
export type ChangePasswordMutationVariables = Exact<{
|
||||||
token: Scalars['String']['input'];
|
token: Scalars['String']['input'];
|
||||||
userId: Scalars['String']['input'];
|
userId: Scalars['String']['input'];
|
||||||
@@ -2891,61 +3105,6 @@ export type CreateCopilotMessageMutation = {
|
|||||||
createCopilotMessage: string;
|
createCopilotMessage: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
export type GetPromptsQueryVariables = Exact<{ [key: string]: never }>;
|
|
||||||
|
|
||||||
export type GetPromptsQuery = {
|
|
||||||
__typename?: 'Query';
|
|
||||||
listCopilotPrompts: Array<{
|
|
||||||
__typename?: 'CopilotPromptType';
|
|
||||||
name: string;
|
|
||||||
model: string;
|
|
||||||
action: string | null;
|
|
||||||
config: {
|
|
||||||
__typename?: 'CopilotPromptConfigType';
|
|
||||||
jsonMode: boolean | null;
|
|
||||||
frequencyPenalty: number | null;
|
|
||||||
presencePenalty: number | null;
|
|
||||||
temperature: number | null;
|
|
||||||
topP: number | null;
|
|
||||||
} | null;
|
|
||||||
messages: Array<{
|
|
||||||
__typename?: 'CopilotPromptMessageType';
|
|
||||||
role: CopilotPromptMessageRole;
|
|
||||||
content: string;
|
|
||||||
params: Record<string, string> | null;
|
|
||||||
}>;
|
|
||||||
}>;
|
|
||||||
};
|
|
||||||
|
|
||||||
export type UpdatePromptMutationVariables = Exact<{
|
|
||||||
name: Scalars['String']['input'];
|
|
||||||
messages: Array<CopilotPromptMessageInput> | CopilotPromptMessageInput;
|
|
||||||
}>;
|
|
||||||
|
|
||||||
export type UpdatePromptMutation = {
|
|
||||||
__typename?: 'Mutation';
|
|
||||||
updateCopilotPrompt: {
|
|
||||||
__typename?: 'CopilotPromptType';
|
|
||||||
name: string;
|
|
||||||
model: string;
|
|
||||||
action: string | null;
|
|
||||||
config: {
|
|
||||||
__typename?: 'CopilotPromptConfigType';
|
|
||||||
jsonMode: boolean | null;
|
|
||||||
frequencyPenalty: number | null;
|
|
||||||
presencePenalty: number | null;
|
|
||||||
temperature: number | null;
|
|
||||||
topP: number | null;
|
|
||||||
} | null;
|
|
||||||
messages: Array<{
|
|
||||||
__typename?: 'CopilotPromptMessageType';
|
|
||||||
role: CopilotPromptMessageRole;
|
|
||||||
content: string;
|
|
||||||
params: Record<string, string> | null;
|
|
||||||
}>;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
export type CopilotQuotaQueryVariables = Exact<{ [key: string]: never }>;
|
export type CopilotQuotaQueryVariables = Exact<{ [key: string]: never }>;
|
||||||
|
|
||||||
export type CopilotQuotaQuery = {
|
export type CopilotQuotaQuery = {
|
||||||
@@ -3048,15 +3207,6 @@ export type CreateSelfhostCustomerPortalMutation = {
|
|||||||
createSelfhostWorkspaceCustomerPortal: string;
|
createSelfhostWorkspaceCustomerPortal: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
export type CreateUserMutationVariables = Exact<{
|
|
||||||
input: CreateUserInput;
|
|
||||||
}>;
|
|
||||||
|
|
||||||
export type CreateUserMutation = {
|
|
||||||
__typename?: 'Mutation';
|
|
||||||
createUser: { __typename?: 'UserType'; id: string };
|
|
||||||
};
|
|
||||||
|
|
||||||
export type CreateWorkspaceMutationVariables = Exact<{ [key: string]: never }>;
|
export type CreateWorkspaceMutationVariables = Exact<{ [key: string]: never }>;
|
||||||
|
|
||||||
export type CreateWorkspaceMutation = {
|
export type CreateWorkspaceMutation = {
|
||||||
@@ -3085,15 +3235,6 @@ export type DeleteAccountMutation = {
|
|||||||
deleteAccount: { __typename?: 'DeleteAccount'; success: boolean };
|
deleteAccount: { __typename?: 'DeleteAccount'; success: boolean };
|
||||||
};
|
};
|
||||||
|
|
||||||
export type DeleteUserMutationVariables = Exact<{
|
|
||||||
id: Scalars['String']['input'];
|
|
||||||
}>;
|
|
||||||
|
|
||||||
export type DeleteUserMutation = {
|
|
||||||
__typename?: 'Mutation';
|
|
||||||
deleteUser: { __typename?: 'DeleteAccount'; success: boolean };
|
|
||||||
};
|
|
||||||
|
|
||||||
export type DeleteWorkspaceMutationVariables = Exact<{
|
export type DeleteWorkspaceMutationVariables = Exact<{
|
||||||
id: Scalars['String']['input'];
|
id: Scalars['String']['input'];
|
||||||
}>;
|
}>;
|
||||||
@@ -3103,15 +3244,6 @@ export type DeleteWorkspaceMutation = {
|
|||||||
deleteWorkspace: boolean;
|
deleteWorkspace: boolean;
|
||||||
};
|
};
|
||||||
|
|
||||||
export type DisableUserMutationVariables = Exact<{
|
|
||||||
id: Scalars['String']['input'];
|
|
||||||
}>;
|
|
||||||
|
|
||||||
export type DisableUserMutation = {
|
|
||||||
__typename?: 'Mutation';
|
|
||||||
banUser: { __typename?: 'UserType'; email: string; disabled: boolean };
|
|
||||||
};
|
|
||||||
|
|
||||||
export type GetDocRolePermissionsQueryVariables = Exact<{
|
export type GetDocRolePermissionsQueryVariables = Exact<{
|
||||||
workspaceId: Scalars['String']['input'];
|
workspaceId: Scalars['String']['input'];
|
||||||
docId: Scalars['String']['input'];
|
docId: Scalars['String']['input'];
|
||||||
@@ -3143,15 +3275,6 @@ export type GetDocRolePermissionsQuery = {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
export type EnableUserMutationVariables = Exact<{
|
|
||||||
id: Scalars['String']['input'];
|
|
||||||
}>;
|
|
||||||
|
|
||||||
export type EnableUserMutation = {
|
|
||||||
__typename?: 'Mutation';
|
|
||||||
enableUser: { __typename?: 'UserType'; email: string; disabled: boolean };
|
|
||||||
};
|
|
||||||
|
|
||||||
export type CredentialsRequirementsFragment = {
|
export type CredentialsRequirementsFragment = {
|
||||||
__typename?: 'CredentialsRequirementType';
|
__typename?: 'CredentialsRequirementType';
|
||||||
password: {
|
password: {
|
||||||
@@ -3381,66 +3504,6 @@ export type GetPublicUserByIdQuery = {
|
|||||||
} | null;
|
} | null;
|
||||||
};
|
};
|
||||||
|
|
||||||
export type GetServerRuntimeConfigQueryVariables = Exact<{
|
|
||||||
[key: string]: never;
|
|
||||||
}>;
|
|
||||||
|
|
||||||
export type GetServerRuntimeConfigQuery = {
|
|
||||||
__typename?: 'Query';
|
|
||||||
serverRuntimeConfig: Array<{
|
|
||||||
__typename?: 'ServerRuntimeConfigType';
|
|
||||||
id: string;
|
|
||||||
module: string;
|
|
||||||
key: string;
|
|
||||||
description: string;
|
|
||||||
value: Record<string, string>;
|
|
||||||
type: RuntimeConfigType;
|
|
||||||
updatedAt: string;
|
|
||||||
}>;
|
|
||||||
};
|
|
||||||
|
|
||||||
export type GetServerServiceConfigsQueryVariables = Exact<{
|
|
||||||
[key: string]: never;
|
|
||||||
}>;
|
|
||||||
|
|
||||||
export type GetServerServiceConfigsQuery = {
|
|
||||||
__typename?: 'Query';
|
|
||||||
serverServiceConfigs: Array<{
|
|
||||||
__typename?: 'ServerServiceConfig';
|
|
||||||
name: string;
|
|
||||||
config: any;
|
|
||||||
}>;
|
|
||||||
};
|
|
||||||
|
|
||||||
export type GetUserByEmailQueryVariables = Exact<{
|
|
||||||
email: Scalars['String']['input'];
|
|
||||||
}>;
|
|
||||||
|
|
||||||
export type GetUserByEmailQuery = {
|
|
||||||
__typename?: 'Query';
|
|
||||||
userByEmail: {
|
|
||||||
__typename?: 'UserType';
|
|
||||||
id: string;
|
|
||||||
name: string;
|
|
||||||
email: string;
|
|
||||||
features: Array<FeatureType>;
|
|
||||||
hasPassword: boolean | null;
|
|
||||||
emailVerified: boolean;
|
|
||||||
avatarUrl: string | null;
|
|
||||||
quota: {
|
|
||||||
__typename?: 'UserQuotaType';
|
|
||||||
humanReadable: {
|
|
||||||
__typename?: 'UserQuotaHumanReadableType';
|
|
||||||
blobLimit: string;
|
|
||||||
historyPeriod: string;
|
|
||||||
memberLimit: string;
|
|
||||||
name: string;
|
|
||||||
storageQuota: string;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
} | null;
|
|
||||||
};
|
|
||||||
|
|
||||||
export type GetUserFeaturesQueryVariables = Exact<{ [key: string]: never }>;
|
export type GetUserFeaturesQueryVariables = Exact<{ [key: string]: never }>;
|
||||||
|
|
||||||
export type GetUserFeaturesQuery = {
|
export type GetUserFeaturesQuery = {
|
||||||
@@ -3489,10 +3552,6 @@ export type GetUserQuery = {
|
|||||||
| null;
|
| null;
|
||||||
};
|
};
|
||||||
|
|
||||||
export type GetUsersCountQueryVariables = Exact<{ [key: string]: never }>;
|
|
||||||
|
|
||||||
export type GetUsersCountQuery = { __typename?: 'Query'; usersCount: number };
|
|
||||||
|
|
||||||
export type GetWorkspaceInfoQueryVariables = Exact<{
|
export type GetWorkspaceInfoQueryVariables = Exact<{
|
||||||
workspaceId: Scalars['String']['input'];
|
workspaceId: Scalars['String']['input'];
|
||||||
}>;
|
}>;
|
||||||
@@ -3653,18 +3712,6 @@ export type ListHistoryQuery = {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
export type ImportUsersMutationVariables = Exact<{
|
|
||||||
input: ImportUsersInput;
|
|
||||||
}>;
|
|
||||||
|
|
||||||
export type ImportUsersMutation = {
|
|
||||||
__typename?: 'Mutation';
|
|
||||||
importUsers: Array<
|
|
||||||
| { __typename: 'UserImportFailedType'; email: string; error: string }
|
|
||||||
| { __typename: 'UserType'; id: string; name: string; email: string }
|
|
||||||
>;
|
|
||||||
};
|
|
||||||
|
|
||||||
export type GetInvoicesCountQueryVariables = Exact<{ [key: string]: never }>;
|
export type GetInvoicesCountQueryVariables = Exact<{ [key: string]: never }>;
|
||||||
|
|
||||||
export type GetInvoicesCountQuery = {
|
export type GetInvoicesCountQuery = {
|
||||||
@@ -3742,25 +3789,6 @@ export type ListNotificationsQuery = {
|
|||||||
} | null;
|
} | null;
|
||||||
};
|
};
|
||||||
|
|
||||||
export type ListUsersQueryVariables = Exact<{
|
|
||||||
filter: ListUserInput;
|
|
||||||
}>;
|
|
||||||
|
|
||||||
export type ListUsersQuery = {
|
|
||||||
__typename?: 'Query';
|
|
||||||
users: Array<{
|
|
||||||
__typename?: 'UserType';
|
|
||||||
id: string;
|
|
||||||
name: string;
|
|
||||||
email: string;
|
|
||||||
disabled: boolean;
|
|
||||||
features: Array<FeatureType>;
|
|
||||||
hasPassword: boolean | null;
|
|
||||||
emailVerified: boolean;
|
|
||||||
avatarUrl: string | null;
|
|
||||||
}>;
|
|
||||||
};
|
|
||||||
|
|
||||||
export type MentionUserMutationVariables = Exact<{
|
export type MentionUserMutationVariables = Exact<{
|
||||||
input: MentionInput;
|
input: MentionInput;
|
||||||
}>;
|
}>;
|
||||||
@@ -4010,31 +4038,6 @@ export type SubscriptionQuery = {
|
|||||||
} | null;
|
} | null;
|
||||||
};
|
};
|
||||||
|
|
||||||
export type UpdateAccountFeaturesMutationVariables = Exact<{
|
|
||||||
userId: Scalars['String']['input'];
|
|
||||||
features: Array<FeatureType> | FeatureType;
|
|
||||||
}>;
|
|
||||||
|
|
||||||
export type UpdateAccountFeaturesMutation = {
|
|
||||||
__typename?: 'Mutation';
|
|
||||||
updateUserFeatures: Array<FeatureType>;
|
|
||||||
};
|
|
||||||
|
|
||||||
export type UpdateAccountMutationVariables = Exact<{
|
|
||||||
id: Scalars['String']['input'];
|
|
||||||
input: ManageUserInput;
|
|
||||||
}>;
|
|
||||||
|
|
||||||
export type UpdateAccountMutation = {
|
|
||||||
__typename?: 'Mutation';
|
|
||||||
updateUser: {
|
|
||||||
__typename?: 'UserType';
|
|
||||||
id: string;
|
|
||||||
name: string;
|
|
||||||
email: string;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
export type UpdateDocDefaultRoleMutationVariables = Exact<{
|
export type UpdateDocDefaultRoleMutationVariables = Exact<{
|
||||||
input: UpdateDocDefaultRoleInput;
|
input: UpdateDocDefaultRoleInput;
|
||||||
}>;
|
}>;
|
||||||
@@ -4053,19 +4056,6 @@ export type UpdateDocUserRoleMutation = {
|
|||||||
updateDocUserRole: boolean;
|
updateDocUserRole: boolean;
|
||||||
};
|
};
|
||||||
|
|
||||||
export type UpdateServerRuntimeConfigsMutationVariables = Exact<{
|
|
||||||
updates: Scalars['JSONObject']['input'];
|
|
||||||
}>;
|
|
||||||
|
|
||||||
export type UpdateServerRuntimeConfigsMutation = {
|
|
||||||
__typename?: 'Mutation';
|
|
||||||
updateRuntimeConfigs: Array<{
|
|
||||||
__typename?: 'ServerRuntimeConfigType';
|
|
||||||
key: string;
|
|
||||||
value: Record<string, string>;
|
|
||||||
}>;
|
|
||||||
};
|
|
||||||
|
|
||||||
export type UpdateSubscriptionMutationVariables = Exact<{
|
export type UpdateSubscriptionMutationVariables = Exact<{
|
||||||
plan?: InputMaybe<SubscriptionPlan>;
|
plan?: InputMaybe<SubscriptionPlan>;
|
||||||
recurring: SubscriptionRecurring;
|
recurring: SubscriptionRecurring;
|
||||||
@@ -4352,6 +4342,36 @@ export type Queries =
|
|||||||
variables: AdminServerConfigQueryVariables;
|
variables: AdminServerConfigQueryVariables;
|
||||||
response: AdminServerConfigQuery;
|
response: AdminServerConfigQuery;
|
||||||
}
|
}
|
||||||
|
| {
|
||||||
|
name: 'getPromptsQuery';
|
||||||
|
variables: GetPromptsQueryVariables;
|
||||||
|
response: GetPromptsQuery;
|
||||||
|
}
|
||||||
|
| {
|
||||||
|
name: 'getServerRuntimeConfigQuery';
|
||||||
|
variables: GetServerRuntimeConfigQueryVariables;
|
||||||
|
response: GetServerRuntimeConfigQuery;
|
||||||
|
}
|
||||||
|
| {
|
||||||
|
name: 'getServerServiceConfigsQuery';
|
||||||
|
variables: GetServerServiceConfigsQueryVariables;
|
||||||
|
response: GetServerServiceConfigsQuery;
|
||||||
|
}
|
||||||
|
| {
|
||||||
|
name: 'getUserByEmailQuery';
|
||||||
|
variables: GetUserByEmailQueryVariables;
|
||||||
|
response: GetUserByEmailQuery;
|
||||||
|
}
|
||||||
|
| {
|
||||||
|
name: 'getUsersCountQuery';
|
||||||
|
variables: GetUsersCountQueryVariables;
|
||||||
|
response: GetUsersCountQuery;
|
||||||
|
}
|
||||||
|
| {
|
||||||
|
name: 'listUsersQuery';
|
||||||
|
variables: ListUsersQueryVariables;
|
||||||
|
response: ListUsersQuery;
|
||||||
|
}
|
||||||
| {
|
| {
|
||||||
name: 'listBlobsQuery';
|
name: 'listBlobsQuery';
|
||||||
variables: ListBlobsQueryVariables;
|
variables: ListBlobsQueryVariables;
|
||||||
@@ -4402,11 +4422,6 @@ export type Queries =
|
|||||||
variables: GetAudioTranscriptionQueryVariables;
|
variables: GetAudioTranscriptionQueryVariables;
|
||||||
response: GetAudioTranscriptionQuery;
|
response: GetAudioTranscriptionQuery;
|
||||||
}
|
}
|
||||||
| {
|
|
||||||
name: 'getPromptsQuery';
|
|
||||||
variables: GetPromptsQueryVariables;
|
|
||||||
response: GetPromptsQuery;
|
|
||||||
}
|
|
||||||
| {
|
| {
|
||||||
name: 'copilotQuotaQuery';
|
name: 'copilotQuotaQuery';
|
||||||
variables: CopilotQuotaQueryVariables;
|
variables: CopilotQuotaQueryVariables;
|
||||||
@@ -4482,21 +4497,6 @@ export type Queries =
|
|||||||
variables: GetPublicUserByIdQueryVariables;
|
variables: GetPublicUserByIdQueryVariables;
|
||||||
response: GetPublicUserByIdQuery;
|
response: GetPublicUserByIdQuery;
|
||||||
}
|
}
|
||||||
| {
|
|
||||||
name: 'getServerRuntimeConfigQuery';
|
|
||||||
variables: GetServerRuntimeConfigQueryVariables;
|
|
||||||
response: GetServerRuntimeConfigQuery;
|
|
||||||
}
|
|
||||||
| {
|
|
||||||
name: 'getServerServiceConfigsQuery';
|
|
||||||
variables: GetServerServiceConfigsQueryVariables;
|
|
||||||
response: GetServerServiceConfigsQuery;
|
|
||||||
}
|
|
||||||
| {
|
|
||||||
name: 'getUserByEmailQuery';
|
|
||||||
variables: GetUserByEmailQueryVariables;
|
|
||||||
response: GetUserByEmailQuery;
|
|
||||||
}
|
|
||||||
| {
|
| {
|
||||||
name: 'getUserFeaturesQuery';
|
name: 'getUserFeaturesQuery';
|
||||||
variables: GetUserFeaturesQueryVariables;
|
variables: GetUserFeaturesQueryVariables;
|
||||||
@@ -4512,11 +4512,6 @@ export type Queries =
|
|||||||
variables: GetUserQueryVariables;
|
variables: GetUserQueryVariables;
|
||||||
response: GetUserQuery;
|
response: GetUserQuery;
|
||||||
}
|
}
|
||||||
| {
|
|
||||||
name: 'getUsersCountQuery';
|
|
||||||
variables: GetUsersCountQueryVariables;
|
|
||||||
response: GetUsersCountQuery;
|
|
||||||
}
|
|
||||||
| {
|
| {
|
||||||
name: 'getWorkspaceInfoQuery';
|
name: 'getWorkspaceInfoQuery';
|
||||||
variables: GetWorkspaceInfoQueryVariables;
|
variables: GetWorkspaceInfoQueryVariables;
|
||||||
@@ -4577,11 +4572,6 @@ export type Queries =
|
|||||||
variables: ListNotificationsQueryVariables;
|
variables: ListNotificationsQueryVariables;
|
||||||
response: ListNotificationsQuery;
|
response: ListNotificationsQuery;
|
||||||
}
|
}
|
||||||
| {
|
|
||||||
name: 'listUsersQuery';
|
|
||||||
variables: ListUsersQueryVariables;
|
|
||||||
response: ListUsersQuery;
|
|
||||||
}
|
|
||||||
| {
|
| {
|
||||||
name: 'notificationCountQuery';
|
name: 'notificationCountQuery';
|
||||||
variables: NotificationCountQueryVariables;
|
variables: NotificationCountQueryVariables;
|
||||||
@@ -4634,6 +4624,56 @@ export type Mutations =
|
|||||||
variables: ActivateLicenseMutationVariables;
|
variables: ActivateLicenseMutationVariables;
|
||||||
response: ActivateLicenseMutation;
|
response: ActivateLicenseMutation;
|
||||||
}
|
}
|
||||||
|
| {
|
||||||
|
name: 'createChangePasswordUrlMutation';
|
||||||
|
variables: CreateChangePasswordUrlMutationVariables;
|
||||||
|
response: CreateChangePasswordUrlMutation;
|
||||||
|
}
|
||||||
|
| {
|
||||||
|
name: 'updatePromptMutation';
|
||||||
|
variables: UpdatePromptMutationVariables;
|
||||||
|
response: UpdatePromptMutation;
|
||||||
|
}
|
||||||
|
| {
|
||||||
|
name: 'createUserMutation';
|
||||||
|
variables: CreateUserMutationVariables;
|
||||||
|
response: CreateUserMutation;
|
||||||
|
}
|
||||||
|
| {
|
||||||
|
name: 'deleteUserMutation';
|
||||||
|
variables: DeleteUserMutationVariables;
|
||||||
|
response: DeleteUserMutation;
|
||||||
|
}
|
||||||
|
| {
|
||||||
|
name: 'disableUserMutation';
|
||||||
|
variables: DisableUserMutationVariables;
|
||||||
|
response: DisableUserMutation;
|
||||||
|
}
|
||||||
|
| {
|
||||||
|
name: 'enableUserMutation';
|
||||||
|
variables: EnableUserMutationVariables;
|
||||||
|
response: EnableUserMutation;
|
||||||
|
}
|
||||||
|
| {
|
||||||
|
name: 'importUsersMutation';
|
||||||
|
variables: ImportUsersMutationVariables;
|
||||||
|
response: ImportUsersMutation;
|
||||||
|
}
|
||||||
|
| {
|
||||||
|
name: 'updateAccountFeaturesMutation';
|
||||||
|
variables: UpdateAccountFeaturesMutationVariables;
|
||||||
|
response: UpdateAccountFeaturesMutation;
|
||||||
|
}
|
||||||
|
| {
|
||||||
|
name: 'updateAccountMutation';
|
||||||
|
variables: UpdateAccountMutationVariables;
|
||||||
|
response: UpdateAccountMutation;
|
||||||
|
}
|
||||||
|
| {
|
||||||
|
name: 'updateServerRuntimeConfigsMutation';
|
||||||
|
variables: UpdateServerRuntimeConfigsMutationVariables;
|
||||||
|
response: UpdateServerRuntimeConfigsMutation;
|
||||||
|
}
|
||||||
| {
|
| {
|
||||||
name: 'deleteBlobMutation';
|
name: 'deleteBlobMutation';
|
||||||
variables: DeleteBlobMutationVariables;
|
variables: DeleteBlobMutationVariables;
|
||||||
@@ -4659,11 +4699,6 @@ export type Mutations =
|
|||||||
variables: ChangeEmailMutationVariables;
|
variables: ChangeEmailMutationVariables;
|
||||||
response: ChangeEmailMutation;
|
response: ChangeEmailMutation;
|
||||||
}
|
}
|
||||||
| {
|
|
||||||
name: 'createChangePasswordUrlMutation';
|
|
||||||
variables: CreateChangePasswordUrlMutationVariables;
|
|
||||||
response: CreateChangePasswordUrlMutation;
|
|
||||||
}
|
|
||||||
| {
|
| {
|
||||||
name: 'changePasswordMutation';
|
name: 'changePasswordMutation';
|
||||||
variables: ChangePasswordMutationVariables;
|
variables: ChangePasswordMutationVariables;
|
||||||
@@ -4724,11 +4759,6 @@ export type Mutations =
|
|||||||
variables: CreateCopilotMessageMutationVariables;
|
variables: CreateCopilotMessageMutationVariables;
|
||||||
response: CreateCopilotMessageMutation;
|
response: CreateCopilotMessageMutation;
|
||||||
}
|
}
|
||||||
| {
|
|
||||||
name: 'updatePromptMutation';
|
|
||||||
variables: UpdatePromptMutationVariables;
|
|
||||||
response: UpdatePromptMutation;
|
|
||||||
}
|
|
||||||
| {
|
| {
|
||||||
name: 'cleanupCopilotSessionMutation';
|
name: 'cleanupCopilotSessionMutation';
|
||||||
variables: CleanupCopilotSessionMutationVariables;
|
variables: CleanupCopilotSessionMutationVariables;
|
||||||
@@ -4764,11 +4794,6 @@ export type Mutations =
|
|||||||
variables: CreateSelfhostCustomerPortalMutationVariables;
|
variables: CreateSelfhostCustomerPortalMutationVariables;
|
||||||
response: CreateSelfhostCustomerPortalMutation;
|
response: CreateSelfhostCustomerPortalMutation;
|
||||||
}
|
}
|
||||||
| {
|
|
||||||
name: 'createUserMutation';
|
|
||||||
variables: CreateUserMutationVariables;
|
|
||||||
response: CreateUserMutation;
|
|
||||||
}
|
|
||||||
| {
|
| {
|
||||||
name: 'createWorkspaceMutation';
|
name: 'createWorkspaceMutation';
|
||||||
variables: CreateWorkspaceMutationVariables;
|
variables: CreateWorkspaceMutationVariables;
|
||||||
@@ -4784,26 +4809,11 @@ export type Mutations =
|
|||||||
variables: DeleteAccountMutationVariables;
|
variables: DeleteAccountMutationVariables;
|
||||||
response: DeleteAccountMutation;
|
response: DeleteAccountMutation;
|
||||||
}
|
}
|
||||||
| {
|
|
||||||
name: 'deleteUserMutation';
|
|
||||||
variables: DeleteUserMutationVariables;
|
|
||||||
response: DeleteUserMutation;
|
|
||||||
}
|
|
||||||
| {
|
| {
|
||||||
name: 'deleteWorkspaceMutation';
|
name: 'deleteWorkspaceMutation';
|
||||||
variables: DeleteWorkspaceMutationVariables;
|
variables: DeleteWorkspaceMutationVariables;
|
||||||
response: DeleteWorkspaceMutation;
|
response: DeleteWorkspaceMutation;
|
||||||
}
|
}
|
||||||
| {
|
|
||||||
name: 'disableUserMutation';
|
|
||||||
variables: DisableUserMutationVariables;
|
|
||||||
response: DisableUserMutation;
|
|
||||||
}
|
|
||||||
| {
|
|
||||||
name: 'enableUserMutation';
|
|
||||||
variables: EnableUserMutationVariables;
|
|
||||||
response: EnableUserMutation;
|
|
||||||
}
|
|
||||||
| {
|
| {
|
||||||
name: 'generateLicenseKeyMutation';
|
name: 'generateLicenseKeyMutation';
|
||||||
variables: GenerateLicenseKeyMutationVariables;
|
variables: GenerateLicenseKeyMutationVariables;
|
||||||
@@ -4814,11 +4824,6 @@ export type Mutations =
|
|||||||
variables: GrantDocUserRolesMutationVariables;
|
variables: GrantDocUserRolesMutationVariables;
|
||||||
response: GrantDocUserRolesMutation;
|
response: GrantDocUserRolesMutation;
|
||||||
}
|
}
|
||||||
| {
|
|
||||||
name: 'importUsersMutation';
|
|
||||||
variables: ImportUsersMutationVariables;
|
|
||||||
response: ImportUsersMutation;
|
|
||||||
}
|
|
||||||
| {
|
| {
|
||||||
name: 'leaveWorkspaceMutation';
|
name: 'leaveWorkspaceMutation';
|
||||||
variables: LeaveWorkspaceMutationVariables;
|
variables: LeaveWorkspaceMutationVariables;
|
||||||
@@ -4899,16 +4904,6 @@ export type Mutations =
|
|||||||
variables: SetWorkspacePublicByIdMutationVariables;
|
variables: SetWorkspacePublicByIdMutationVariables;
|
||||||
response: SetWorkspacePublicByIdMutation;
|
response: SetWorkspacePublicByIdMutation;
|
||||||
}
|
}
|
||||||
| {
|
|
||||||
name: 'updateAccountFeaturesMutation';
|
|
||||||
variables: UpdateAccountFeaturesMutationVariables;
|
|
||||||
response: UpdateAccountFeaturesMutation;
|
|
||||||
}
|
|
||||||
| {
|
|
||||||
name: 'updateAccountMutation';
|
|
||||||
variables: UpdateAccountMutationVariables;
|
|
||||||
response: UpdateAccountMutation;
|
|
||||||
}
|
|
||||||
| {
|
| {
|
||||||
name: 'updateDocDefaultRoleMutation';
|
name: 'updateDocDefaultRoleMutation';
|
||||||
variables: UpdateDocDefaultRoleMutationVariables;
|
variables: UpdateDocDefaultRoleMutationVariables;
|
||||||
@@ -4919,11 +4914,6 @@ export type Mutations =
|
|||||||
variables: UpdateDocUserRoleMutationVariables;
|
variables: UpdateDocUserRoleMutationVariables;
|
||||||
response: UpdateDocUserRoleMutation;
|
response: UpdateDocUserRoleMutation;
|
||||||
}
|
}
|
||||||
| {
|
|
||||||
name: 'updateServerRuntimeConfigsMutation';
|
|
||||||
variables: UpdateServerRuntimeConfigsMutationVariables;
|
|
||||||
response: UpdateServerRuntimeConfigsMutation;
|
|
||||||
}
|
|
||||||
| {
|
| {
|
||||||
name: 'updateSubscriptionMutation';
|
name: 'updateSubscriptionMutation';
|
||||||
variables: UpdateSubscriptionMutationVariables;
|
variables: UpdateSubscriptionMutationVariables;
|
||||||
|
|||||||
Reference in New Issue
Block a user