mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 20:38:52 +00:00
@@ -618,6 +618,9 @@ type InviteUserType {
|
||||
"""User email verified"""
|
||||
createdAt: DateTime @deprecated(reason: "useless")
|
||||
|
||||
"""User is disabled"""
|
||||
disabled: Boolean
|
||||
|
||||
"""User email"""
|
||||
email: String
|
||||
|
||||
@@ -767,6 +770,9 @@ type Mutation {
|
||||
addContextDoc(options: AddContextDocInput!): [CopilotContextListItem!]!
|
||||
addWorkspaceFeature(feature: FeatureType!, workspaceId: String!): Boolean!
|
||||
approveMember(userId: String!, workspaceId: String!): Boolean!
|
||||
|
||||
"""Ban an user"""
|
||||
banUser(id: String!): UserType!
|
||||
cancelSubscription(idempotencyKey: String @deprecated(reason: "use header `Idempotency-Key`"), plan: SubscriptionPlan = Pro, workspaceId: String): SubscriptionType!
|
||||
changeEmail(email: String!, token: String!): UserType!
|
||||
changePassword(newPassword: String!, token: String!, userId: String): Boolean!
|
||||
@@ -810,6 +816,9 @@ type Mutation {
|
||||
deleteUser(id: String!): DeleteAccount!
|
||||
deleteWorkspace(id: String!): Boolean!
|
||||
|
||||
"""Reenable an banned user"""
|
||||
enableUser(id: String!): UserType!
|
||||
|
||||
"""Create a chat session"""
|
||||
forkCopilotSession(options: ForkChatSessionInput!): String!
|
||||
generateLicenseKey(sessionId: String!): String!
|
||||
@@ -864,7 +873,7 @@ type Mutation {
|
||||
updateRuntimeConfigs(updates: JSONObject!): [ServerRuntimeConfigType!]!
|
||||
updateSubscriptionRecurring(idempotencyKey: String @deprecated(reason: "use header `Idempotency-Key`"), plan: SubscriptionPlan = Pro, recurring: SubscriptionRecurring!, workspaceId: String): SubscriptionType!
|
||||
|
||||
"""Update a user"""
|
||||
"""Update an user"""
|
||||
updateUser(id: String!, input: ManageUserInput!): UserType!
|
||||
|
||||
"""update user enabled feature"""
|
||||
@@ -1359,6 +1368,9 @@ type UserType {
|
||||
"""User email verified"""
|
||||
createdAt: DateTime @deprecated(reason: "useless")
|
||||
|
||||
"""User is disabled"""
|
||||
disabled: Boolean!
|
||||
|
||||
"""User email"""
|
||||
email: String!
|
||||
|
||||
|
||||
Reference in New Issue
Block a user