{"openapi":"3.0.0","info":{"version":"1.0.0","title":"TeamPanel API","description":"Team-scoped HTTP API. Authenticate with a team API key or session token on the same routes."},"servers":[{"url":"https://api.team-panel.com","description":"Production"}],"components":{"securitySchemes":{"sessionToken":{"type":"apiKey","in":"header","name":"Authorization"},"accessToken":{"type":"apiKey","in":"header","name":"Authorization"},"authSecret":{"type":"apiKey","in":"header","name":"authSecret"},"voiceSecret":{"type":"apiKey","in":"header","name":"voiceSecret"},"discordBotSecret":{"type":"apiKey","in":"header","name":"discordBotSecret"},"backupRunnerSecret":{"type":"apiKey","in":"header","name":"backupRunnerSecret"},"apiKey":{"type":"apiKey","in":"header","name":"Authorization","description":"Game server / integration API key (GamePanel)."},"teamApiKey":{"type":"apiKey","in":"header","name":"Authorization","description":"Team API key (`Bearer TP_…`). Uses the linked team member for permissions."},"gameLinkSecret":{"type":"apiKey","in":"header","name":"Authorization"}},"schemas":{"UploadTeamFileResponse":{"type":"object","properties":{"id":{"type":"string","example":"uuid-123"},"path":{"type":"string","example":"asset/team/id/files/file.png"},"usedTeamStorage":{"type":"number","example":1024}},"required":["id","path","usedTeamStorage"]},"UploadTeamFile":{"type":"object","properties":{"file":{"type":"string","description":"The file content as base64 string","example":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mP8z8BQDwAEhQGAhKmMIQAAAABJRU5ErkJggg=="},"fileName":{"type":"string","minLength":1,"maxLength":255,"example":"my-file.png"},"targetTeamMemberId":{"type":"string","example":"uuid-member-456"}},"required":["file","fileName"]},"TeamFile":{"type":"object","properties":{"id":{"type":"string","example":"uuid-123"},"teamId":{"type":"string","example":"uuid-team-123"},"uploadTeamMemberId":{"type":"string","example":"uuid-member-123"},"targetTeamMemberId":{"type":"string","nullable":true,"example":"uuid-member-456"},"path":{"type":"string","example":"asset/team/id/files/file.png"},"size":{"type":"number","example":1024},"hash":{"type":"string","example":"md5hash"},"previewUrl":{"type":"string","nullable":true,"example":"https://cdn.example.com/image.png?token=..."},"previewUrlExpiresAt":{"anyOf":[{"type":"string"},{"type":"string","format":"date-time"},{"nullable":true}]},"createdAt":{"anyOf":[{"type":"string"},{"type":"string","format":"date-time"}]},"updatedAt":{"anyOf":[{"type":"string"},{"type":"string","format":"date-time"}]}},"required":["id","teamId","uploadTeamMemberId","targetTeamMemberId","path","size","hash","createdAt","updatedAt"]},"TeamFileList":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/TeamFile"}},"count":{"type":"integer","minimum":0},"usedTeamStorage":{"type":"number","example":1024}},"required":["data","count","usedTeamStorage"]},"UploadTodoFileResponse":{"type":"object","properties":{"id":{"type":"string","example":"uuid-123"},"path":{"type":"string","example":"asset/team/id/todo/uuid/files/file.png"},"usedTeamStorage":{"type":"number","example":1024}},"required":["id","path","usedTeamStorage"]},"UploadTodoFile":{"type":"object","properties":{"file":{"type":"string","description":"The file content as base64 string","example":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mP8z8BQDwAEhQGAhKmMIQAAAABJRU5ErkJggg=="},"fileName":{"type":"string","minLength":1,"maxLength":255,"example":"my-file.png"}},"required":["file","fileName"]},"TodoFile":{"type":"object","properties":{"id":{"type":"string","example":"uuid-123"},"teamId":{"type":"string","example":"uuid-team-123"},"uploadTeamMemberId":{"type":"string","example":"uuid-member-123"},"todoId":{"type":"string","example":"uuid-todo-123"},"path":{"type":"string","example":"asset/team/id/todo/uuid/files/file.png"},"size":{"type":"number","example":1024},"hash":{"type":"string","example":"md5hash"},"previewUrl":{"type":"string","nullable":true,"example":"https://cdn.example.com/image.png?token=..."},"previewUrlExpiresAt":{"anyOf":[{"type":"string"},{"type":"string","format":"date-time"},{"nullable":true}]},"createdAt":{"anyOf":[{"type":"string"},{"type":"string","format":"date-time"}]},"updatedAt":{"anyOf":[{"type":"string"},{"type":"string","format":"date-time"}]}},"required":["id","teamId","uploadTeamMemberId","todoId","path","size","hash","createdAt","updatedAt"]},"TodoFileList":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/TodoFile"}},"count":{"type":"integer","minimum":0},"usedTeamStorage":{"type":"number","example":1024}},"required":["data","count","usedTeamStorage"]},"TeamPanelError":{"type":"object","properties":{"name":{"type":"string","default":"TeamPanelError"},"message":{"type":"string","default":"Error message"},"status":{"type":"number","default":500},"messageKey":{"type":"string","default":"error.internalServerError"},"value":{"anyOf":[{"type":"number"},{"type":"string"}]}}},"UnauthorizedError":{"allOf":[{"$ref":"#/components/schemas/TeamPanelError"},{"type":"object","properties":{"name":{"type":"string","default":"UnauthorizedError"},"message":{"type":"string","default":"Authentication failed"},"status":{"type":"number","default":401},"messageKey":{"type":"string","default":"error.unauthorized"}}}]},"NotFoundError":{"allOf":[{"$ref":"#/components/schemas/TeamPanelError"},{"type":"object","properties":{"name":{"type":"string","default":"NotFoundError"},"message":{"type":"string","default":"Could not found..."},"status":{"type":"number","default":404},"messageKey":{"type":"string","default":"error.notFound"}}}]},"User":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"username":{"type":"string","minLength":3,"maxLength":20,"pattern":"^[a-zA-Z0-9_]+$"},"changedUsernameAt":{"type":"string","default":"1970-01-01T00:00:00.000Z"},"email":{"type":"string","format":"email"},"emailVerified":{"type":"string","nullable":true},"isEmailVerified":{"type":"boolean"},"image":{"type":"string","nullable":true},"stripeCustomerId":{"type":"string","nullable":true},"coins":{"type":"integer"},"createdAt":{"type":"string"},"updatedAt":{"type":"string"},"lastLoginAt":{"type":"string"},"disabled":{"type":"boolean"},"disabledAt":{"type":"string","nullable":true},"welcomeScreen":{"type":"boolean","default":true},"permissions":{"type":"array","items":{"type":"string"}},"migrated":{"type":"boolean"},"migratedId":{"type":"string","nullable":true}},"required":["id","username","email","isEmailVerified","coins","createdAt","updatedAt","lastLoginAt","disabled","permissions","migrated"]},"DiscordData":{"type":"object","nullable":true,"properties":{"username":{"type":"string"}},"required":["username"]},"DiscordAccount":{"type":"object","properties":{"id":{"type":"string","default":"f86474e3-d966-4d45-8108-640cbc31cc74"},"userId":{"type":"string"},"type":{"type":"string","default":"oauth"},"providerId":{"type":"string","enum":["discord"]},"accountId":{"type":"string"},"expiresAt":{"type":"string","nullable":true},"accessToken":{"type":"string","nullable":true},"refreshToken":{"type":"string","nullable":true},"accessTokenExpiresAt":{"type":"string","nullable":true},"refreshTokenExpiresAt":{"type":"string","nullable":true},"password":{"type":"string","nullable":true},"scope":{"type":"string","nullable":true},"idToken":{"type":"string","nullable":true},"data":{"$ref":"#/components/schemas/DiscordData"},"createdAt":{"type":"string"},"updatedAt":{"type":"string"}},"required":["userId","providerId","accountId","createdAt","updatedAt"]},"GoogleData":{"type":"object","nullable":true,"properties":{"email":{"type":"string"}},"required":["email"]},"GoogleAccount":{"type":"object","properties":{"id":{"type":"string","default":"e335d151-c514-4489-bdf3-1940f5236d78"},"userId":{"type":"string"},"type":{"type":"string","default":"oauth"},"providerId":{"type":"string","enum":["google"]},"accountId":{"type":"string"},"expiresAt":{"type":"string","nullable":true},"accessToken":{"type":"string","nullable":true},"refreshToken":{"type":"string","nullable":true},"accessTokenExpiresAt":{"type":"string","nullable":true},"refreshTokenExpiresAt":{"type":"string","nullable":true},"password":{"type":"string","nullable":true},"scope":{"type":"string","nullable":true},"idToken":{"type":"string","nullable":true},"data":{"$ref":"#/components/schemas/GoogleData"},"createdAt":{"type":"string"},"updatedAt":{"type":"string"}},"required":["userId","providerId","accountId","createdAt","updatedAt"]},"ManualData":{"type":"object","properties":{"username":{"type":"string"},"targetId":{"type":"string"}},"required":["username","targetId"]},"MinecraftAccount":{"type":"object","properties":{"id":{"type":"string","default":"45b7829c-5448-442a-ab03-aed532d8cd98"},"userId":{"type":"string"},"type":{"type":"string","default":"oauth"},"providerId":{"type":"string","enum":["minecraft-manual"]},"accountId":{"type":"string"},"expiresAt":{"type":"string","nullable":true},"accessToken":{"type":"string","nullable":true},"refreshToken":{"type":"string","nullable":true},"accessTokenExpiresAt":{"type":"string","nullable":true},"refreshTokenExpiresAt":{"type":"string","nullable":true},"password":{"type":"string","nullable":true},"scope":{"type":"string","nullable":true},"idToken":{"type":"string","nullable":true},"data":{"$ref":"#/components/schemas/ManualData"},"createdAt":{"type":"string"},"updatedAt":{"type":"string"}},"required":["userId","providerId","accountId","data","createdAt","updatedAt"]},"HytaleAccount":{"type":"object","properties":{"id":{"type":"string","default":"b912f5e3-82dc-428c-841e-bdc12e4460d4"},"userId":{"type":"string"},"type":{"type":"string","default":"oauth"},"providerId":{"type":"string","enum":["hytale-manual"]},"accountId":{"type":"string"},"expiresAt":{"type":"string","nullable":true},"accessToken":{"type":"string","nullable":true},"refreshToken":{"type":"string","nullable":true},"accessTokenExpiresAt":{"type":"string","nullable":true},"refreshTokenExpiresAt":{"type":"string","nullable":true},"password":{"type":"string","nullable":true},"scope":{"type":"string","nullable":true},"idToken":{"type":"string","nullable":true},"data":{"$ref":"#/components/schemas/ManualData"},"createdAt":{"type":"string"},"updatedAt":{"type":"string"}},"required":["userId","providerId","accountId","data","createdAt","updatedAt"]},"TPPublicDashAccount":{"type":"object","properties":{"id":{"type":"string","default":"ba7cdbe7-d616-425c-aee2-da3185d3b38b"},"userId":{"type":"string"},"type":{"type":"string","default":"oauth"},"providerId":{"type":"string","enum":["tp-publicdash"]},"accountId":{"type":"string"},"expiresAt":{"type":"string","nullable":true},"accessToken":{"type":"string","nullable":true},"refreshToken":{"type":"string","nullable":true},"accessTokenExpiresAt":{"type":"string","nullable":true},"refreshTokenExpiresAt":{"type":"string","nullable":true},"password":{"type":"string","nullable":true},"scope":{"type":"string","nullable":true},"idToken":{"type":"string","nullable":true},"data":{"nullable":true},"createdAt":{"type":"string"},"updatedAt":{"type":"string"}},"required":["userId","providerId","accountId","createdAt","updatedAt"]},"TeampanelAccount":{"type":"object","properties":{"id":{"type":"string","default":"5a466b1c-34bf-4458-b946-ace780e460da"},"userId":{"type":"string"},"type":{"type":"string","default":"oauth"},"providerId":{"type":"string","enum":["teampanel"]},"accountId":{"type":"string"},"expiresAt":{"type":"string","nullable":true},"accessToken":{"type":"string","nullable":true},"refreshToken":{"type":"string","nullable":true},"accessTokenExpiresAt":{"type":"string","nullable":true},"refreshTokenExpiresAt":{"type":"string","nullable":true},"password":{"type":"string","nullable":true},"scope":{"type":"string","nullable":true},"idToken":{"type":"string","nullable":true},"data":{"nullable":true},"createdAt":{"type":"string"},"updatedAt":{"type":"string"}},"required":["userId","providerId","accountId","createdAt","updatedAt"]},"Account":{"oneOf":[{"$ref":"#/components/schemas/DiscordAccount"},{"$ref":"#/components/schemas/GoogleAccount"},{"$ref":"#/components/schemas/MinecraftAccount"},{"$ref":"#/components/schemas/HytaleAccount"},{"$ref":"#/components/schemas/TPPublicDashAccount"},{"$ref":"#/components/schemas/TeampanelAccount"}],"discriminator":{"propertyName":"providerId","mapping":{"discord":"#/components/schemas/DiscordAccount","google":"#/components/schemas/GoogleAccount","minecraft-manual":"#/components/schemas/MinecraftAccount","hytale-manual":"#/components/schemas/HytaleAccount","tp-publicdash":"#/components/schemas/TPPublicDashAccount","teampanel":"#/components/schemas/TeampanelAccount"}}},"AccountProviderId":{"type":"string","enum":["discord","google","minecraft-manual","hytale-manual","tp-publicdash","teampanel"]},"BadRequestError":{"allOf":[{"$ref":"#/components/schemas/TeamPanelError"},{"type":"object","properties":{"name":{"type":"string","default":"BadRequestError"},"message":{"type":"string","default":"The request was formatted incorrectly."},"status":{"type":"number","default":400},"messageKey":{"type":"string","default":"error.badRequest"}}}]},"ForbiddenError":{"allOf":[{"$ref":"#/components/schemas/TeamPanelError"},{"type":"object","properties":{"name":{"type":"string","default":"ForbiddenError"},"message":{"type":"string","default":"User is forbidden to..."},"status":{"type":"number","default":403},"messageKey":{"type":"string","default":"error.forbidden"}}}]},"VerificationActionEmailChangeData":{"type":"object","properties":{"newEmail":{"type":"string","format":"email"},"target":{"type":"string","enum":["old","new"]}},"required":["newEmail","target"]},"VerificationActionTokenEmailChange":{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string","enum":["ACCOUNT_EMAIL_CHANGE"]},"userId":{"type":"string"},"token":{"type":"string","default":"5a2724e8-caff-463d-8b07-8c7a573dee4d"},"data":{"$ref":"#/components/schemas/VerificationActionEmailChangeData"},"createdAt":{"type":"string"},"usedAt":{"type":"string","nullable":true},"locked":{"type":"boolean"}},"required":["id","type","userId","data","createdAt","locked"]},"VerificationActionTeamOwnershipTransferData":{"type":"object","properties":{"teamId":{"type":"string"},"teamName":{"type":"string"},"currentOwnerId":{"type":"string"},"newOwnerId":{"type":"string"},"newOwnerName":{"type":"string"},"target":{"type":"string","enum":["old","new"]}},"required":["teamId","teamName","currentOwnerId","newOwnerId","newOwnerName","target"]},"VerificationActionTokenTeamOwnershipTransfer":{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string","enum":["TEAM_OWNERSHIP_TRANSFER"]},"userId":{"type":"string"},"token":{"type":"string","default":"60a1f489-03e9-49fc-9860-9275446c28e6"},"data":{"$ref":"#/components/schemas/VerificationActionTeamOwnershipTransferData"},"createdAt":{"type":"string"},"usedAt":{"type":"string","nullable":true},"locked":{"type":"boolean"}},"required":["id","type","userId","data","createdAt","locked"]},"VerificationActionGameDeleteData":{"type":"object","properties":{"gameId":{"type":"string"},"gameName":{"type":"string"},"teamId":{"type":"string"}},"required":["gameId","gameName","teamId"]},"VerificationActionTokenGameDelete":{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string","enum":["GAME_DELETE"]},"userId":{"type":"string"},"token":{"type":"string","default":"e8b21628-977f-498a-9a3c-63d9686c4d09"},"data":{"$ref":"#/components/schemas/VerificationActionGameDeleteData"},"createdAt":{"type":"string"},"usedAt":{"type":"string","nullable":true},"locked":{"type":"boolean"}},"required":["id","type","userId","data","createdAt","locked"]},"VerificationActionTeamDeleteData":{"type":"object","properties":{"teamId":{"type":"string"},"teamName":{"type":"string"}},"required":["teamId","teamName"]},"VerificationActionTokenTeamDelete":{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string","enum":["TEAM_DELETE"]},"userId":{"type":"string"},"token":{"type":"string","default":"9cc21895-57fd-4beb-a33b-ae7c40e02447"},"data":{"$ref":"#/components/schemas/VerificationActionTeamDeleteData"},"createdAt":{"type":"string"},"usedAt":{"type":"string","nullable":true},"locked":{"type":"boolean"}},"required":["id","type","userId","data","createdAt","locked"]},"VerificationActionTokenGeneric":{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string","enum":["ACCOUNT_DELETE","ACCOUNT_EXPORT"]},"userId":{"type":"string"},"token":{"type":"string","default":"3af2b6e3-b150-4911-929f-a3006cfee27f"},"data":{"nullable":true},"createdAt":{"type":"string"},"usedAt":{"type":"string","nullable":true},"locked":{"type":"boolean"}},"required":["id","type","userId","createdAt","locked"]},"VerificationActionToken":{"oneOf":[{"$ref":"#/components/schemas/VerificationActionTokenEmailChange"},{"$ref":"#/components/schemas/VerificationActionTokenTeamOwnershipTransfer"},{"$ref":"#/components/schemas/VerificationActionTokenGameDelete"},{"$ref":"#/components/schemas/VerificationActionTokenTeamDelete"},{"$ref":"#/components/schemas/VerificationActionTokenGeneric"}],"discriminator":{"propertyName":"type","mapping":{"ACCOUNT_EMAIL_CHANGE":"#/components/schemas/VerificationActionTokenEmailChange","TEAM_OWNERSHIP_TRANSFER":"#/components/schemas/VerificationActionTokenTeamOwnershipTransfer","GAME_DELETE":"#/components/schemas/VerificationActionTokenGameDelete","TEAM_DELETE":"#/components/schemas/VerificationActionTokenTeamDelete","ACCOUNT_DELETE":"#/components/schemas/VerificationActionTokenGeneric","ACCOUNT_EXPORT":"#/components/schemas/VerificationActionTokenGeneric"}}},"VerificationActionTokenProgress":{"oneOf":[{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string","enum":["ACCOUNT_EMAIL_CHANGE"]},"userId":{"type":"string"},"data":{"$ref":"#/components/schemas/VerificationActionEmailChangeData"},"createdAt":{"type":"string"},"usedAt":{"type":"string","nullable":true},"locked":{"type":"boolean"}},"required":["id","type","userId","data","createdAt","locked"]},{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string","enum":["TEAM_OWNERSHIP_TRANSFER"]},"userId":{"type":"string"},"data":{"$ref":"#/components/schemas/VerificationActionTeamOwnershipTransferData"},"createdAt":{"type":"string"},"usedAt":{"type":"string","nullable":true},"locked":{"type":"boolean"}},"required":["id","type","userId","data","createdAt","locked"]},{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string","enum":["GAME_DELETE"]},"userId":{"type":"string"},"data":{"$ref":"#/components/schemas/VerificationActionGameDeleteData"},"createdAt":{"type":"string"},"usedAt":{"type":"string","nullable":true},"locked":{"type":"boolean"}},"required":["id","type","userId","data","createdAt","locked"]},{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string","enum":["TEAM_DELETE"]},"userId":{"type":"string"},"data":{"$ref":"#/components/schemas/VerificationActionTeamDeleteData"},"createdAt":{"type":"string"},"usedAt":{"type":"string","nullable":true},"locked":{"type":"boolean"}},"required":["id","type","userId","data","createdAt","locked"]},{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string","enum":["ACCOUNT_DELETE","ACCOUNT_EXPORT"]},"userId":{"type":"string"},"data":{"nullable":true},"createdAt":{"type":"string"},"usedAt":{"type":"string","nullable":true},"locked":{"type":"boolean"}},"required":["id","type","userId","createdAt","locked"]}]},"UserVerificationProgessInfo":{"allOf":[{"$ref":"#/components/schemas/User"},{"type":"object","properties":{"verificationActionTokens":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/VerificationActionTokenProgress"}}},"required":["verificationActionTokens"]}]},"DiscordMemberInfo":{"type":"object","nullable":true,"properties":{"isMember":{"type":"boolean"},"id":{"type":"string"},"username":{"type":"string"},"globalName":{"type":"string","nullable":true},"displayName":{"type":"string"},"nick":{"type":"string","nullable":true},"joinedAt":{"type":"string","nullable":true,"format":"date-time"},"roles":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"]}}},"required":["isMember","id"]},"DiscordMemberStatus":{"type":"object","properties":{"hasDiscordConnection":{"type":"boolean"},"member":{"$ref":"#/components/schemas/DiscordMemberInfo"},"userId":{"type":"string","nullable":true,"format":"uuid"}},"required":["hasDiscordConnection","userId"]},"NotificationTopic":{"type":"string","enum":["SYSTEM","PRODUCT_UPDATES","MARKETING"],"description":"Logical topic/category of a notification. SYSTEM is operational and always enabled via EMAIL."},"NotificationChannel":{"type":"string","enum":["EMAIL","DISCORD","PUSH"],"description":"Delivery channel for notifications"},"NotificationFrequency":{"type":"string","enum":["INSTANT","DAILY","WEEKLY","MONTHLY","MUTE"],"description":"Preference for how often non-operational notifications are delivered"},"NotificationPreference":{"type":"object","properties":{"topic":{"$ref":"#/components/schemas/NotificationTopic"},"channel":{"$ref":"#/components/schemas/NotificationChannel"},"enabled":{"type":"boolean","description":"Whether the user enabled this topic on this channel (also used as consent for non-operational topics)"},"frequency":{"$ref":"#/components/schemas/NotificationFrequency"},"confirmedAt":{"type":"string","nullable":true,"format":"date-time","description":"When the user enabled/consented for this topic/channel (ISO datetime) or null"}},"required":["topic","channel","enabled","frequency","confirmedAt"],"description":"User-level preference for a specific notification topic and channel. SYSTEM over EMAIL is always enforced enabled. For non-operational topics, enabled implies consent; confirmedAt provides the audit trail."},"NotificationSettingsResponse":{"type":"object","properties":{"preferences":{"type":"array","items":{"$ref":"#/components/schemas/NotificationPreference"}}},"required":["preferences"],"description":"Aggregated notification settings view for the current user (preferences include consent audit)"},"NotificationSettingsUpdateRequest":{"type":"object","properties":{"preferences":{"type":"array","items":{"type":"object","properties":{"topic":{"$ref":"#/components/schemas/NotificationTopic"},"channel":{"$ref":"#/components/schemas/NotificationChannel"},"enabled":{"type":"boolean","description":"Whether the user enabled this topic on this channel (also used as consent for non-operational topics)"},"frequency":{"$ref":"#/components/schemas/NotificationFrequency"}},"required":["topic","channel"]}}},"required":["preferences"],"description":"Payload to update user notification preferences. Only topic/channel are required; enabled/frequency are optional; confirmedAt is server-managed."},"NotificationProvider":{"type":"string","enum":["SES","BREVO","DISCORD"]},"NotificationStatus":{"type":"string","enum":["QUEUED","SENT","DELIVERED","FAILED","SUPPRESSED"]},"NotificationDelivery":{"type":"object","properties":{"id":{"type":"string"},"userId":{"type":"string"},"topic":{"$ref":"#/components/schemas/NotificationTopic"},"channel":{"$ref":"#/components/schemas/NotificationChannel"},"provider":{"$ref":"#/components/schemas/NotificationProvider"},"providerMessageId":{"type":"string","nullable":true},"status":{"$ref":"#/components/schemas/NotificationStatus"},"errorCode":{"type":"string","nullable":true},"errorMessage":{"type":"string","nullable":true},"metadata":{"nullable":true},"destinationHash":{"type":"string","nullable":true},"retentionUntil":{"type":"string","nullable":true,"format":"date-time"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["id","userId","topic","channel","provider","status","createdAt","updatedAt"]},"ListNotificationDeliveriesResponse":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/NotificationDelivery"}},"nextCursor":{"type":"string","nullable":true}},"required":["items"]},"CreateOrUpdateAccount":{"oneOf":[{"type":"object","properties":{"accountId":{"type":"string"},"userId":{"type":"string"},"type":{"type":"string","default":"oauth"},"providerId":{"type":"string","enum":["discord"]},"data":{"$ref":"#/components/schemas/DiscordData"}},"required":["accountId","userId","providerId","data"]},{"type":"object","properties":{"accountId":{"type":"string"},"userId":{"type":"string"},"type":{"type":"string","default":"oauth"},"providerId":{"type":"string","enum":["google"]},"data":{"$ref":"#/components/schemas/GoogleData"}},"required":["accountId","userId","providerId","data"]},{"type":"object","properties":{"accountId":{"type":"string"},"userId":{"type":"string"},"type":{"type":"string","default":"oauth"},"providerId":{"type":"string","enum":["minecraft-manual"]},"data":{"$ref":"#/components/schemas/ManualData"}},"required":["accountId","userId","providerId","data"]},{"type":"object","properties":{"accountId":{"type":"string"},"userId":{"type":"string"},"type":{"type":"string","default":"oauth"},"providerId":{"type":"string","enum":["hytale-manual"]},"data":{"$ref":"#/components/schemas/ManualData"}},"required":["accountId","userId","providerId","data"]},{"type":"object","properties":{"accountId":{"type":"string"},"userId":{"type":"string"},"type":{"type":"string","default":"oauth"},"providerId":{"type":"string","enum":["tp-publicdash"]},"data":{"nullable":true}},"required":["accountId","userId","providerId"]},{"type":"object","properties":{"accountId":{"type":"string"},"userId":{"type":"string"},"type":{"type":"string","default":"oauth"},"providerId":{"type":"string","enum":["teampanel"]},"data":{"nullable":true}},"required":["accountId","userId","providerId"]}]},"AuthSessionCode":{"type":"object","properties":{"id":{"type":"string"},"identifier":{"type":"string"},"userId":{"type":"string"},"expires":{"type":"string"},"codeChallenge":{"type":"string","nullable":true},"createdAt":{"type":"string"}},"required":["id","identifier","userId","expires","createdAt"]},"AuthSessionCodeResponse":{"allOf":[{"$ref":"#/components/schemas/AuthSessionCode"},{"type":"object","properties":{"skipAuth":{"type":"boolean"}},"required":["skipAuth"]}]},"Team":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string","minLength":2,"maxLength":24},"logo":{"type":"string","nullable":true},"isActive":{"type":"boolean","default":true},"createdAt":{"type":"string"},"updatedAt":{"type":"string"},"priceId":{"type":"string","nullable":true},"planId":{"type":"string","nullable":true},"archived":{"type":"boolean"},"setup":{"type":"boolean"},"timezone":{"type":"string"},"locale":{"type":"string"}},"required":["id","name","createdAt","updatedAt","archived","setup","timezone","locale"]},"TeamLimitKey":{"type":"string","nullable":true,"enum":["maxMembers","maxGroups","maxLinks","maxMemberNotes","maxNews","teamProfileModule","maxPlannedMeetings","meetingArchive","maxDepartments","maxDepartmentManager","departmentAdditionalSettings","customPortalDomain","maxAutomations","whiteLabelWebhooks","customWebhooks","maxGames","gameTokens","multiUseInvites","maxDiscordEmbeds","maxDiscordTeamListEmbeds","maxVoiceChannels","maxVoiceUsers","maxBackupJobs","maxBackupTasks","maxDailyScheduledBackupTasks","maxTeamStorage","customerDiscordRoleId","maxSupportCategories","maxTodos","maxTodoBoards"]},"PlanLimits":{"type":"object","properties":{"maxMembers":{"type":"integer","default":25},"maxGroups":{"type":"integer","default":8},"maxLinks":{"type":"integer","default":2},"maxMemberNotes":{"type":"integer","default":3},"maxNews":{"type":"integer","default":3},"maxPlannedMeetings":{"type":"integer","default":4},"meetingArchive":{"type":"integer","default":1},"maxDepartments":{"type":"integer","default":2},"maxDepartmentManager":{"type":"integer","default":1},"maxAutomations":{"type":"integer","default":4},"maxGames":{"type":"integer","default":1},"gameTokens":{"type":"integer","default":200},"maxDiscordEmbeds":{"type":"integer","default":3},"maxDiscordTeamListEmbeds":{"type":"integer","default":1},"maxVoiceChannels":{"type":"integer","default":1},"maxVoiceUsers":{"type":"integer","default":32},"maxBackupJobs":{"type":"integer","default":1},"maxBackupTasks":{"type":"integer","default":7},"maxDailyScheduledBackupTasks":{"type":"integer","default":1},"maxTeamStorage":{"type":"integer","default":97656},"maxSupportCategories":{"type":"integer","default":3},"maxTodos":{"type":"integer","default":50},"maxTodoBoards":{"type":"integer","default":1},"teamProfileModule":{"type":"boolean","default":false},"departmentAdditionalSettings":{"type":"boolean","default":false},"customPortalDomain":{"type":"boolean","default":false},"whiteLabelWebhooks":{"type":"boolean","default":false},"customWebhooks":{"type":"boolean","default":false},"multiUseInvites":{"type":"boolean","default":false},"customerDiscordRoleId":{"type":"string","default":""},"docs":{"$ref":"#/components/schemas/TeamLimitKey"}}},"Plan":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"slug":{"type":"string"},"color":{"type":"string"},"level":{"type":"integer"},"monthlyPriceIds":{"type":"array","items":{"type":"string"}},"yearlyPriceIds":{"type":"array","items":{"type":"string"}},"monthlyPrice":{"type":"integer"},"yearlyPrice":{"type":"integer"},"isPublic":{"type":"boolean","default":true},"isDefault":{"type":"boolean"},"position":{"type":"integer"},"limits":{"$ref":"#/components/schemas/PlanLimits"},"createdAt":{"type":"string"},"updatedAt":{"type":"string"}},"required":["id","name","slug","color","level","monthlyPriceIds","yearlyPriceIds","monthlyPrice","yearlyPrice","isDefault","position","limits","createdAt","updatedAt"]},"TeamRequirementsInfo":{"type":"object","properties":{"discord":{"type":"boolean","default":false},"google":{"type":"boolean","default":false},"minecraft":{"type":"boolean","default":false},"hytale":{"type":"boolean","default":false}}},"DiscordMinimalAccountInfo":{"type":"object","properties":{"accountId":{"type":"string"},"providerId":{"type":"string","enum":["discord"]},"data":{"$ref":"#/components/schemas/DiscordData"}},"required":["accountId","providerId"]},"GoogleMinimalAccountInfo":{"type":"object","properties":{"accountId":{"type":"string"},"providerId":{"type":"string","enum":["google"]},"data":{"$ref":"#/components/schemas/GoogleData"}},"required":["accountId","providerId"]},"MinecraftMinimalAccountInfo":{"type":"object","properties":{"accountId":{"type":"string"},"providerId":{"type":"string","enum":["minecraft-manual"]},"data":{"$ref":"#/components/schemas/ManualData"}},"required":["accountId","providerId","data"]},"HytaleMinimalAccountInfo":{"type":"object","properties":{"accountId":{"type":"string"},"providerId":{"type":"string","enum":["hytale-manual"]},"data":{"$ref":"#/components/schemas/ManualData"}},"required":["accountId","providerId","data"]},"TPPublicDashMinimalAccountInfo":{"type":"object","properties":{"accountId":{"type":"string"},"providerId":{"type":"string","enum":["tp-publicdash"]},"data":{"nullable":true}},"required":["accountId","providerId"]},"TeampanelMinimalAccountInfo":{"type":"object","properties":{"accountId":{"type":"string"},"providerId":{"type":"string","enum":["teampanel"]},"data":{"nullable":true}},"required":["accountId","providerId"]},"MinimalAccountInfo":{"oneOf":[{"$ref":"#/components/schemas/DiscordMinimalAccountInfo"},{"$ref":"#/components/schemas/GoogleMinimalAccountInfo"},{"$ref":"#/components/schemas/MinecraftMinimalAccountInfo"},{"$ref":"#/components/schemas/HytaleMinimalAccountInfo"},{"$ref":"#/components/schemas/TPPublicDashMinimalAccountInfo"},{"$ref":"#/components/schemas/TeampanelMinimalAccountInfo"}],"discriminator":{"propertyName":"providerId","mapping":{"discord":"#/components/schemas/DiscordMinimalAccountInfo","google":"#/components/schemas/GoogleMinimalAccountInfo","minecraft-manual":"#/components/schemas/MinecraftMinimalAccountInfo","hytale-manual":"#/components/schemas/HytaleMinimalAccountInfo","tp-publicdash":"#/components/schemas/TPPublicDashMinimalAccountInfo","teampanel":"#/components/schemas/TeampanelMinimalAccountInfo"}}},"MinimalTeamInfo":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string","minLength":2,"maxLength":24},"logo":{"type":"string","nullable":true},"priceId":{"type":"string","nullable":true}},"required":["id","name"]},"TeamJoinInfo":{"allOf":[{"$ref":"#/components/schemas/MinimalTeamInfo"},{"type":"object","properties":{"requirements":{"$ref":"#/components/schemas/TeamRequirementsInfo"},"connections":{"type":"array","items":{"$ref":"#/components/schemas/MinimalAccountInfo"}}},"required":["requirements","connections"]}]},"TeamMember":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"teamId":{"type":"string","format":"uuid"},"userId":{"type":"string","format":"uuid"},"name":{"type":"string","minLength":3,"maxLength":20,"pattern":"^[a-zA-Z0-9_]+$"},"image":{"type":"string","nullable":true},"personalNote":{"type":"string","minLength":0},"mainGroupId":{"type":"string"},"permissions":{"type":"array","items":{"type":"string"}},"sort":{"type":"integer"},"createdAt":{"type":"string","format":"date-time"},"isTeamOwner":{"type":"boolean"},"lastSelection":{"type":"string"},"totalSelections":{"type":"integer"},"joinedTeamAt":{"type":"string","format":"date-time"},"leftTeamAt":{"type":"string","nullable":true},"archived":{"type":"boolean"},"adminExpiresAt":{"type":"string","nullable":true},"adminJoinedAt":{"type":"string","nullable":true}},"required":["id","teamId","userId","name","personalNote","mainGroupId","permissions","sort","createdAt","isTeamOwner","lastSelection","totalSelections","joinedTeamAt","archived"]},"Group":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"teamId":{"type":"string","format":"uuid"},"name":{"type":"string","minLength":2,"maxLength":24},"permissions":{"type":"array","items":{"type":"string"}},"createdAt":{"type":"string"},"updatedAt":{"type":"string"},"sort":{"type":"integer"},"color":{"type":"string","pattern":"^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$"}},"required":["id","teamId","name","permissions","createdAt","updatedAt","sort","color"]},"Invite":{"type":"object","properties":{"id":{"type":"string"},"teamId":{"type":"string"},"groupId":{"type":"string"},"isUsed":{"type":"boolean"},"isMultiUse":{"type":"boolean"},"createdAt":{"type":"string"},"expireDate":{"type":"string"}},"required":["id","teamId","groupId","isUsed","isMultiUse","createdAt","expireDate"]},"MainGroupInfo":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string","minLength":2,"maxLength":24},"color":{"type":"string","pattern":"^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$"},"sort":{"type":"integer"}},"required":["id","name","color","sort"]},"TeamMemberInfo2":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"teamId":{"type":"string","format":"uuid"},"userId":{"type":"string","format":"uuid"},"name":{"type":"string","minLength":3,"maxLength":20,"pattern":"^[a-zA-Z0-9_]+$"},"image":{"type":"string","nullable":true},"personalNote":{"type":"string","minLength":0},"mainGroupId":{"type":"string"},"permissions":{"type":"array","items":{"type":"string"}},"sort":{"type":"integer"},"createdAt":{"type":"string","format":"date-time"},"isTeamOwner":{"type":"boolean"},"lastSelection":{"type":"string"},"totalSelections":{"type":"integer"},"joinedTeamAt":{"type":"string","format":"date-time"},"leftTeamAt":{"type":"string","nullable":true},"archived":{"type":"boolean"},"adminExpiresAt":{"type":"string","nullable":true},"adminJoinedAt":{"type":"string","nullable":true},"mainGroup":{"$ref":"#/components/schemas/MainGroupInfo"},"user":{"type":"object","nullable":true,"properties":{"username":{"type":"string","minLength":3,"maxLength":20,"pattern":"^[a-zA-Z0-9_]+$"},"accounts":{"type":"array","items":{"$ref":"#/components/schemas/MinimalAccountInfo"}}},"required":["accounts"]}},"required":["id","teamId","userId","name","personalNote","mainGroupId","permissions","sort","createdAt","isTeamOwner","lastSelection","totalSelections","joinedTeamAt","archived","mainGroup"]},"TeamMemberInfo2List":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/TeamMemberInfo2"}},"count":{"type":"integer","minimum":0}},"required":["data","count"]},"TeamMemberInfo":{"allOf":[{"$ref":"#/components/schemas/TeamMember"},{"type":"object","properties":{"groups":{"type":"array","items":{"$ref":"#/components/schemas/Group"}},"mainGroup":{"$ref":"#/components/schemas/Group"},"user":{"type":"object","nullable":true,"properties":{"username":{"type":"string","minLength":3,"maxLength":20,"pattern":"^[a-zA-Z0-9_]+$"},"accounts":{"type":"array","items":{"$ref":"#/components/schemas/MinimalAccountInfo"}}},"required":["accounts"]}},"required":["groups","mainGroup"]}]},"BillingCycle":{"type":"string","enum":["MONTHLY","YEARLY"],"default":"MONTHLY"},"Subscription":{"type":"object","nullable":true,"properties":{"id":{"type":"string"},"type":{"type":"string","enum":["TEAM","VOICE"],"default":"TEAM"},"billingCycle":{"$ref":"#/components/schemas/BillingCycle"},"subscriptionId":{"type":"string"},"priceId":{"type":"string"},"userId":{"type":"string"},"nextPaymentAt":{"type":"string","nullable":true},"endsAt":{"type":"string","nullable":true},"canceledAt":{"type":"string","nullable":true},"checkedAt":{"type":"string"},"createdAt":{"type":"string"},"updatedAt":{"type":"string"},"pendingPriceId":{"type":"string","nullable":true},"pendingBillingCycle":{"allOf":[{"$ref":"#/components/schemas/BillingCycle"},{"nullable":true}]},"stripeScheduleId":{"type":"string","nullable":true},"lastPaymentFailed":{"type":"boolean"},"teamId":{"type":"string","nullable":true},"planId":{"type":"string","nullable":true},"isTrialing":{"type":"boolean","default":false},"trialEndsAt":{"type":"string","nullable":true}},"required":["id","subscriptionId","priceId","userId","checkedAt","createdAt","updatedAt","lastPaymentFailed"]},"MeTeamInfo":{"type":"object","properties":{"member":{"$ref":"#/components/schemas/TeamMember"},"team":{"allOf":[{"$ref":"#/components/schemas/Team"},{"type":"object","properties":{"plan":{"$ref":"#/components/schemas/Plan"}},"required":["plan"]}]},"subscription":{"$ref":"#/components/schemas/Subscription"},"trialEligible":{"type":"boolean"},"trialDays":{"type":"integer"}},"required":["member","team","subscription","trialEligible","trialDays"]},"TeamMemberMinimalInfo":{"allOf":[{"$ref":"#/components/schemas/TeamMember"},{"type":"object","properties":{"mainGroup":{"$ref":"#/components/schemas/Group"}},"required":["mainGroup"]}]},"TeamMemberNote":{"type":"object","properties":{"id":{"type":"string"},"teamId":{"type":"string"},"teamMemberId":{"type":"string"},"note":{"type":"string","minLength":1},"creatorTeamMemberId":{"type":"string"},"createdAt":{"type":"string"}},"required":["id","teamId","teamMemberId","note","creatorTeamMemberId","createdAt"]},"TeamMemberNoteInfo":{"allOf":[{"$ref":"#/components/schemas/TeamMemberNote"},{"type":"object","properties":{"creatorTeamMember":{"$ref":"#/components/schemas/TeamMember"}},"required":["creatorTeamMember"]}]},"TeamMemberList":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/TeamMember"}},"count":{"type":"integer","minimum":0}},"required":["data","count"]},"TeamLimitError":{"allOf":[{"$ref":"#/components/schemas/TeamPanelError"},{"type":"object","properties":{"name":{"type":"string","default":"TeamLimitError"},"message":{"type":"string","default":"Limit for 10 maxGroups reached."},"status":{"type":"number","default":402},"messageKey":{"type":"string","default":"error.teamLimits.maxGroups"}}}]},"MeetingMinimalInfo":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"title":{"type":"string","minLength":1},"dateTime":{"type":"string","format":"date-time"},"state":{"type":"string","enum":["PLANNED","RUNNING","FINISHED","LOCKED","CANCELLED"],"default":"PLANNED"}},"required":["id","title","dateTime"]},"DashboardInfo":{"type":"object","properties":{"member":{"$ref":"#/components/schemas/TeamMemberMinimalInfo"},"memberCount":{"type":"number"},"meetings":{"type":"array","items":{"$ref":"#/components/schemas/MeetingMinimalInfo"}}},"required":["member","memberCount","meetings"]},"TeamNews":{"type":"object","properties":{"title":{"type":"string"},"description":{"type":"string"},"type":{"type":"string","enum":["INFO","WARNING","ERROR"]},"messageType":{"type":"string","enum":["TEXT","KEY"]},"language":{"type":"string"},"button":{"type":"object","properties":{"text":{"type":"string"},"url":{"type":"string"}},"required":["text","url"]}},"required":["title","type","messageType"]},"TeamTag":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"teamId":{"type":"string"},"name":{"type":"string"},"slug":{"type":"string"},"color":{"type":"string","nullable":true},"icon":{"type":"string","nullable":true},"createdAt":{"type":"string"},"updatedAt":{"type":"string"}},"required":["id","teamId","name","slug","createdAt","updatedAt"]},"TeamTagList":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/TeamTag"}},"count":{"type":"integer","minimum":0}},"required":["data","count"]},"MissingArgumentError":{"allOf":[{"$ref":"#/components/schemas/TeamPanelError"},{"type":"object","properties":{"name":{"type":"string","default":"MissingArgumentError"},"message":{"type":"string","default":"Missing argument: teamId."},"status":{"type":"number","default":400},"messageKey":{"type":"string","default":"error.missingArgument.teamId"},"value":{"type":"string","default":"teamId"}}}]},"CreateTeamTag":{"type":"object","properties":{"name":{"type":"string"},"color":{"type":"string","nullable":true},"icon":{"type":"string","nullable":true},"todoId":{"type":"string","format":"uuid"},"supportIssueId":{"type":"string","format":"uuid"}},"required":["name"]},"ApiKeyTeamMemberPreview":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string"}},"required":["id","name"]},"ApiKeyInfo":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"description":{"type":"string","nullable":true},"teamId":{"type":"string","format":"uuid"},"teamMemberId":{"type":"string","nullable":true,"format":"uuid"},"createdAt":{"type":"string"},"updatedAt":{"type":"string"},"teamMember":{"$ref":"#/components/schemas/ApiKeyTeamMemberPreview"}},"required":["id","teamId","createdAt","updatedAt"]},"ApiKey":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"key":{"type":"string"},"description":{"type":"string","nullable":true},"teamId":{"type":"string","format":"uuid"},"teamMemberId":{"type":"string","nullable":true,"format":"uuid"},"createdAt":{"type":"string"},"updatedAt":{"type":"string"},"teamMember":{"$ref":"#/components/schemas/ApiKeyTeamMemberPreview"}},"required":["id","key","teamId","createdAt","updatedAt"]},"CreateApiKey":{"type":"object","properties":{"description":{"type":"string"},"teamMemberId":{"type":"string","format":"uuid"}}},"TeamMemberShortInfo":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"userId":{"type":"string","format":"uuid"},"name":{"type":"string","minLength":3,"maxLength":20,"pattern":"^[a-zA-Z0-9_]+$"},"image":{"type":"string","nullable":true},"joinedTeamAt":{"type":"string","format":"date-time"}},"required":["id","userId","name","joinedTeamAt"]},"LogAction":{"type":"string","enum":["GROUP_CREATED","GROUP_DELETED","GROUP_UPDATED","GROUPS_UPDATED","INVITE_CREATED","INVITE_DELETED","INVITES_CLEAR","MEMBER_LEFT","MEMBER_JOINED","MEMBER_KICKED","MEMBER_UPDATED","MEMBER_NOTE_CREATED","MEMBER_NOTE_DELETED","MEMBER_PERMISSIONS_UPDATED","MEMBER_GROUP_ADDED","MEMBER_GROUP_REMOVED","MEMBER_GROUPS_CHANGED","TEAM_UPDATED","TEAM_DELETED","GAMEPANEL_CREATED","GAMEPANEL_UPDATED","GAMEPANEL_DELETED","GAME_PANEL_FIVEM_ACCESS_PLAYER","GAME_PANEL_FIVEM_REVIVE_PLAYER","GAME_PANEL_FIVEM_SCREENSHOT_PLAYER","GAME_PANEL_FIVEM_CHANGE_PLAYER_INVENTORY","GAME_PANEL_FIVEM_CHANGE_PLAYER_WEAPON","GAME_PANEL_FIVEM_CHANGE_PLAYER_ACCOUNT","GAME_PANEL_FIVEM_CHANGE_PLAYER_DETAIL","GAME_PANEL_FIVEM_SEARCH","GAME_PANEL_FIVEM_NOTE_CREATED","GAME_PANEL_FIVEM_NOTE_DELETED","GAME_PANEL_FIVEM_ITEMS_CREATED","GAME_PANEL_FIVEM_ITEMS_UPDATED","GAME_PANEL_FIVEM_ITEMS_DELETED","GAME_PANEL_FIVEM_JOBS_CREATED","GAME_PANEL_FIVEM_JOBS_UPDATED","GAME_PANEL_FIVEM_JOBS_DELETED","GAME_PANEL_FIVEM_JOBS_PLAYER_ADDED","GAME_PANEL_FIVEM_JOBS_PLAYER_REMOVED","GAME_PANEL_FIVEM_PLAYER_VEHICLE_ADDED","GAME_PANEL_FIVEM_PLAYER_VEHICLE_REMOVED","GAME_PANEL_FIVEM_PLAYER_VEHICLE_PLATE_UPDATED","GAME_PANEL_FIVEM_PLAYER_EXECUTE_BUTTON","LOGOFF_CREATED","LOGOFF_DELETED","MODULE_ACTIVATED","MODULE_DEACTIVATED","DISCORD_BOT_FAILED","DISCORD_WEBHOOK_CREATED","DISCORD_SYNC_GROUP_UPDATED","DISCORD_EMBED_CREATED","DISCORD_EMBED_DELETED","BACKUP_TASK_UPDATED","SUPPORT_ISSUE_CREATED","SUPPORT_ISSUE_DELETED","SUPPORT_ISSUE_UPDATED","SUPPORT_CATEGORY_CREATED","SUPPORT_CATEGORY_DELETED","SUPPORT_CATEGORY_UPDATED","API_KEY_CREATED","API_KEY_DELETED","TEAM_FILE_UPLOADED","TEAM_FILE_DELETED","TODO_FILE_UPLOADED","TODO_FILE_DELETED","ADMIN_SELF_INVITE","ADMIN_SELF_INVITE_EXPIRED","ADMIN_TEAM_DEACTIVATED","ADMIN_TEAM_ACTIVATED","ADMIN_USER_UPDATED","DOCUMENTATION_RIGHT_CREATED","DOCUMENTATION_RIGHT_UPDATED","DOCUMENTATION_RIGHT_DELETED","DOCUMENTATION_RIGHT_ASSIGNED","DOCUMENTATION_RIGHT_UNASSIGNED","DOCUMENTATION_RIGHT_GROUP_ASSIGNED","DOCUMENTATION_RIGHT_GROUP_UNASSIGNED"]},"TeamLog":{"type":"object","properties":{"id":{"type":"string"},"system":{"type":"string","enum":["APP","GAMEPANEL"]},"teamId":{"type":"string"},"teamMemberId":{"type":"string"},"action":{"$ref":"#/components/schemas/LogAction"},"data":{"nullable":true},"targetTeamMemberId":{"type":"string","nullable":true},"targetIdentifier":{"type":"string","nullable":true},"createdAt":{"type":"string"},"teamMember":{"$ref":"#/components/schemas/TeamMemberShortInfo"},"targetTeamMember":{"allOf":[{"$ref":"#/components/schemas/TeamMemberShortInfo"},{"nullable":true}]}},"required":["id","system","teamId","teamMemberId","action","createdAt","teamMember"]},"TeamLogsInfo":{"type":"object","properties":{"data":{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/TeamLog"},{"type":"object","properties":{"action":{"type":"string"}}}]}},"count":{"type":"integer","minimum":0}},"required":["data","count"]},"News":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"teamId":{"type":"string","format":"uuid"},"creatorId":{"type":"string","format":"uuid"},"title":{"type":"string","minLength":1},"content":{"type":"string","minLength":1},"isDraft":{"type":"boolean","default":true},"isImportant":{"type":"boolean"},"showOnDashboard":{"type":"boolean"},"createdAt":{"type":"string"},"updatedAt":{"type":"string"}},"required":["id","teamId","creatorId","title","content","isImportant","showOnDashboard","createdAt","updatedAt"]},"MewsInfo":{"allOf":[{"$ref":"#/components/schemas/News"},{"type":"object","properties":{"groups":{"type":"array","items":{"$ref":"#/components/schemas/Group"}},"creator":{"$ref":"#/components/schemas/TeamMember"}},"required":["groups","creator"]}]},"NewsInfoList":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/MewsInfo"}},"count":{"type":"integer","minimum":0}},"required":["data","count"]},"Link":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"teamId":{"type":"string","format":"uuid"},"title":{"type":"string","minLength":1},"destination":{"type":"string","format":"uri"},"type":{"type":"string","enum":["FRAME","REDIRECT","REDIRECT_BLANK"],"default":"REDIRECT"},"icon":{"type":"string","nullable":true},"createdAt":{"type":"string"},"updatedAt":{"type":"string"}},"required":["id","teamId","title","destination","createdAt","updatedAt"]},"TeamAccess":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"teamId":{"type":"string","format":"uuid"},"name":{"type":"string","minLength":1},"description":{"type":"string","nullable":true,"minLength":0},"icon":{"type":"string","nullable":true,"maxLength":64},"createdAt":{"type":"string"},"updatedAt":{"type":"string"}},"required":["id","teamId","name","createdAt","updatedAt"]},"TeamAccessWithCount":{"allOf":[{"$ref":"#/components/schemas/TeamAccess"},{"type":"object","properties":{"assignmentCount":{"type":"integer","minimum":0},"groupAssignmentCount":{"type":"integer","minimum":0}},"required":["assignmentCount","groupAssignmentCount"]}]},"TeamAccessMemberSummary":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"userId":{"type":"string"},"name":{"type":"string"},"image":{"type":"string","nullable":true},"joinedTeamAt":{"type":"string","format":"date-time"}},"required":["id","name"]},"TeamAccessAssignment":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"accessId":{"type":"string","format":"uuid"},"teamMemberId":{"type":"string","format":"uuid"},"note":{"type":"string","nullable":true},"assignedAt":{"type":"string"},"expiresAt":{"type":"string","nullable":true,"format":"date-time"},"assignedById":{"type":"string","nullable":true,"format":"uuid"},"teamMember":{"$ref":"#/components/schemas/TeamAccessMemberSummary"},"assignedBy":{"allOf":[{"$ref":"#/components/schemas/TeamAccessMemberSummary"},{"nullable":true}]}},"required":["id","accessId","teamMemberId","assignedAt"]},"TeamAccessGroupSummary":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string"},"color":{"type":"string","nullable":true}},"required":["id","name"]},"TeamAccessGroupAssignment":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"accessId":{"type":"string","format":"uuid"},"groupId":{"type":"string","format":"uuid"},"note":{"type":"string","nullable":true},"assignedAt":{"type":"string"},"expiresAt":{"type":"string","nullable":true,"format":"date-time"},"assignedById":{"type":"string","nullable":true,"format":"uuid"},"group":{"$ref":"#/components/schemas/TeamAccessGroupSummary"},"assignedBy":{"allOf":[{"$ref":"#/components/schemas/TeamAccessMemberSummary"},{"nullable":true}]}},"required":["id","accessId","groupId","assignedAt"]},"TeamAccessDetail":{"allOf":[{"$ref":"#/components/schemas/TeamAccess"},{"type":"object","properties":{"assignments":{"type":"array","items":{"$ref":"#/components/schemas/TeamAccessAssignment"}},"groupAssignments":{"type":"array","items":{"$ref":"#/components/schemas/TeamAccessGroupAssignment"}}},"required":["assignments","groupAssignments"]}]},"MemberAccessAssignment":{"anyOf":[{"allOf":[{"$ref":"#/components/schemas/TeamAccessAssignment"},{"type":"object","properties":{"source":{"type":"string","enum":["direct"]},"access":{"$ref":"#/components/schemas/TeamAccess"}},"required":["source","access"]}]},{"allOf":[{"$ref":"#/components/schemas/TeamAccessGroupAssignment"},{"type":"object","properties":{"source":{"type":"string","enum":["group"]},"access":{"$ref":"#/components/schemas/TeamAccess"}},"required":["source","access"]}]}]},"Logoff":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"teamId":{"type":"string","format":"uuid"},"teamMemberId":{"type":"string","format":"uuid"},"meetingId":{"type":"string","nullable":true,"format":"uuid"},"begin":{"type":"string","nullable":true,"format":"date-time"},"end":{"type":"string","nullable":true,"format":"date-time"},"message":{"type":"string","minLength":1}},"required":["id","teamId","teamMemberId","message"]},"LogoffInfo":{"allOf":[{"$ref":"#/components/schemas/Logoff"},{"type":"object","properties":{"teamMember":{"$ref":"#/components/schemas/TeamMemberShortInfo"},"meeting":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"},"title":{"type":"string","minLength":1},"dateTime":{"type":"string","format":"date-time"},"startedAt":{"type":"string","nullable":true}},"required":["id","title","dateTime"]}},"required":["teamMember","meeting"]}]},"LogoffsInfo":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/LogoffInfo"}},"count":{"type":"integer","minimum":0}},"required":["data","count"]},"Meeting":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"teamId":{"type":"string","format":"uuid"},"title":{"type":"string","minLength":1},"dateTime":{"type":"string","format":"date-time"},"agenda":{"type":"string","nullable":true,"minLength":0},"meetingPoint":{"type":"string","nullable":true,"minLength":0},"protocol":{"type":"string","nullable":true,"minLength":0},"participants":{"type":"string","default":"{}"},"state":{"type":"string","enum":["PLANNED","RUNNING","FINISHED","LOCKED","CANCELLED"],"default":"PLANNED"},"startedAt":{"type":"string","nullable":true},"endedAt":{"type":"string","nullable":true},"createdAt":{"type":"string"}},"required":["id","teamId","title","dateTime","participants","createdAt"]},"MeetingList":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Meeting"}},"count":{"type":"integer","minimum":0}},"required":["data","count"]},"MeetingState":{"type":"string","enum":["PLANNED","RUNNING","FINISHED","LOCKED","CANCELLED"],"default":"PLANNED"},"MeetingAdditionalInfo":{"allOf":[{"$ref":"#/components/schemas/Meeting"},{"type":"object","properties":{"teamMembers":{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/TeamMember"},{"type":"object","properties":{"mainGroup":{"$ref":"#/components/schemas/MainGroupInfo"}},"required":["mainGroup"]}]}},"groups":{"type":"array","items":{"$ref":"#/components/schemas/Group"}}},"required":["teamMembers","groups"]}]},"TPModules":{"type":"string","enum":["moduleApply","moduleGamePanel","moduleVoice","moduleBackup"]},"Module":{"type":"object","properties":{"id":{"type":"string"},"teamId":{"type":"string"},"moduleId":{"$ref":"#/components/schemas/TPModules"},"active":{"type":"boolean"},"createdAt":{"type":"string"},"updatedAt":{"type":"string"},"settings":{"nullable":true}},"required":["id","teamId","moduleId","active","createdAt","updatedAt"]},"BulkModuleUpdatesBody":{"type":"object","properties":{"updates":{"type":"array","items":{"type":"object","properties":{"moduleId":{"$ref":"#/components/schemas/TPModules"},"active":{"type":"boolean"}},"required":["moduleId","active"]},"minItems":1}},"required":["updates"]},"PenaltyPoint":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"teamId":{"type":"string","format":"uuid"},"teamMemberId":{"type":"string","format":"uuid"},"points":{"type":"integer","default":1},"committerId":{"type":"string","format":"uuid"},"createdAt":{"type":"string"},"expiresAt":{"type":"string"},"message":{"type":"string","minLength":0}},"required":["id","teamId","teamMemberId","committerId","createdAt","expiresAt","message"]},"PenaltyPointInfo":{"allOf":[{"$ref":"#/components/schemas/PenaltyPoint"},{"type":"object","properties":{"teamMember":{"$ref":"#/components/schemas/TeamMemberShortInfo"},"committer":{"$ref":"#/components/schemas/TeamMemberShortInfo"}},"required":["teamMember","committer"]}]},"PenaltyPointsInfo":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/PenaltyPointInfo"}},"count":{"type":"integer","minimum":0}},"required":["data","count"]},"StripePriceInformation":{"type":"object","properties":{"price":{"type":"object","properties":{"id":{"type":"string"},"currency":{"type":"string"},"unit_amount":{"type":"number","nullable":true},"product":{"nullable":true},"recurring":{"type":"object","nullable":true,"properties":{"interval":{"type":"string"},"interval_count":{"type":"number"}},"required":["interval","interval_count"]}},"required":["id","currency","unit_amount"]},"product":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"metadata":{"type":"object","additionalProperties":{"type":"string"}}},"required":["id","name"]}},"required":["price","product"]},"PublicPlanList":{"type":"array","items":{"$ref":"#/components/schemas/Plan"}},"WorryBox":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"teamId":{"type":"string","format":"uuid"},"teamMemberId":{"type":"string","format":"uuid"},"isAnonymous":{"type":"boolean"},"message":{"type":"string","minLength":1},"createdAt":{"type":"string"},"answeredAt":{"type":"string","nullable":true},"answer":{"type":"string","nullable":true,"minLength":1},"handledByTeamMemberId":{"type":"string","nullable":true,"format":"uuid"},"forGroupId":{"type":"string"}},"required":["id","teamId","teamMemberId","isAnonymous","message","createdAt","forGroupId"]},"WorryBoxInfo":{"allOf":[{"$ref":"#/components/schemas/WorryBox"},{"type":"object","properties":{"teamMember":{"$ref":"#/components/schemas/TeamMemberShortInfo"}}}]},"WorryBoxEntries":{"type":"object","properties":{"totalEntries":{"type":"number"},"entries":{"type":"array","items":{"$ref":"#/components/schemas/WorryBoxInfo"}}},"required":["totalEntries","entries"]},"PortalEnvironment":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"teamId":{"type":"string","format":"uuid"},"subdomain":{"type":"string","minLength":3,"maxLength":32,"pattern":"^[a-z0-9]+$"},"customDomain":{"type":"string","nullable":true,"minLength":3,"maxLength":64,"pattern":"^([a-zA-Z0-9-]+\\.)+[a-zA-Z]{2,}$"},"domainChangeCount":{"type":"integer"},"lastDomainChange":{"type":"string"},"name":{"type":"string","minLength":3,"maxLength":32},"logoURL":{"type":"string","nullable":true,"format":"uri"},"faviconURL":{"type":"string","nullable":true,"format":"uri"},"language":{"type":"string","default":"en"},"showApplyPanel":{"type":"boolean","default":true},"showTeamOverview":{"type":"boolean","default":true},"skipPortalPage":{"type":"boolean","default":true},"createdAt":{"type":"string"},"updatedAt":{"type":"string"}},"required":["id","teamId","subdomain","domainChangeCount","lastDomainChange","name","createdAt","updatedAt"]},"PortalTeamOverview":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string"},"image":{"type":"string","nullable":true},"mainGroup":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string"},"color":{"type":"string","nullable":true},"sort":{"type":"number","nullable":true}},"required":["id","name"]},"sort":{"type":"number","nullable":true},"isTeamOwner":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"}},"required":["id","name","createdAt"]}},"CloudflareDomainStatus":{"type":"object","properties":{"domain":{"type":"string"},"status":{"type":"string","enum":["active","pending","active_redeploying","moved","pending_deletion","deleted","pending_blocked","pending_migration","pending_provisioned","test_pending","test_active","test_active_apex","test_blocked","test_failed","provisioned","blocked"]},"validation_records":{"type":"array","items":{"type":"object","properties":{"txt_name":{"type":"string","nullable":true,"example":"_cf-custom-hostname.app.example.com"},"txt_value":{"type":"string","nullable":true,"example":"cf-verify-abc123"}}}},"verification_errors":{"type":"array","items":{"type":"string"}}},"required":["domain","status"]},"CloudflareTXTVerification":{"type":"object","properties":{"txtName":{"type":"string","nullable":true,"example":"_cf-custom-hostname.app.example.com"},"txtValue":{"type":"string","nullable":true,"example":"cf-verify-abc123"}}},"UpdatePortalPageDomainResponse":{"type":"object","properties":{"portal":{"$ref":"#/components/schemas/PortalEnvironment"},"verification":{"$ref":"#/components/schemas/CloudflareTXTVerification"}},"required":["portal"]},"UserProfileGradientStop":{"type":"object","properties":{"color":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},"position":{"type":"number","minimum":0,"maximum":100}},"required":["color","position"]},"UserProfileGradient":{"type":"object","properties":{"type":{"type":"string","enum":["linear","radial"]},"angle":{"type":"number","minimum":0,"maximum":360,"default":180},"stops":{"type":"array","items":{"$ref":"#/components/schemas/UserProfileGradientStop"},"minItems":2,"maxItems":6}},"required":["type","stops"]},"UserProfileLinkPlatform":{"type":"string","enum":["WEBSITE","DISCORD","TWITCH","TIKTOK","YOUTUBE","X","STEAM","REDDIT","GITHUB","INSTAGRAM","SPOTIFY"]},"UserProfileSocial":{"type":"object","properties":{"platform":{"$ref":"#/components/schemas/UserProfileLinkPlatform"},"url":{"type":"string"}},"required":["platform","url"]},"UserProfileLink":{"type":"object","properties":{"id":{"type":"string"},"title":{"type":"string"},"url":{"type":"string"},"platform":{"$ref":"#/components/schemas/UserProfileLinkPlatform"},"description":{"type":"string"},"highlight":{"type":"boolean"}},"required":["id","title","url","platform","highlight"]},"UserProfileTeamMembershipStatus":{"type":"string","enum":["active","inactive"]},"UserProfileTeamMembership":{"type":"object","properties":{"teamId":{"type":"string"},"teamName":{"type":"string"},"teamLogo":{"type":"string"},"teamLogoText":{"type":"string"},"teamLogoBackground":{"type":"string"},"rank":{"type":"string"},"joinedAt":{"type":"string"},"status":{"$ref":"#/components/schemas/UserProfileTeamMembershipStatus"}},"required":["teamId","teamName","teamLogoText","teamLogoBackground","rank","joinedAt","status"]},"PublicUserProfile":{"type":"object","properties":{"username":{"type":"string"},"headline":{"type":"string"},"bio":{"type":"string"},"location":{"type":"string"},"avatar":{"type":"string"},"accentColor":{"type":"string"},"backgroundColor":{"type":"string"},"backgroundGradient":{"$ref":"#/components/schemas/UserProfileGradient"},"backgroundImage":{"type":"string"},"backgroundVideo":{"type":"string"},"customCursor":{"type":"string"},"backgroundBrightness":{"type":"string","enum":["dark","light"]},"badges":{"type":"array","items":{"type":"string"}},"socials":{"type":"array","items":{"$ref":"#/components/schemas/UserProfileSocial"}},"links":{"type":"array","items":{"$ref":"#/components/schemas/UserProfileLink"}},"teamMemberships":{"type":"array","items":{"$ref":"#/components/schemas/UserProfileTeamMembership"}},"viewCount":{"type":"integer","minimum":0}},"required":["username","headline","bio","avatar","accentColor","badges","links","teamMemberships","viewCount"]},"SuccessResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]}},"required":["success"]},"UserProfileBackgroundType":{"type":"string","enum":["NONE","COLOR","GRADIENT","IMAGE","VIDEO"]},"UserProfileBrightness":{"type":"string","enum":["DARK","LIGHT"]},"UserProfileBadge":{"type":"object","properties":{"label":{"type":"string"},"systemKey":{"type":"string"},"awardedAt":{"type":"string"}},"required":["label","systemKey","awardedAt"]},"MeUserProfile":{"type":"object","properties":{"username":{"type":"string"},"avatar":{"type":"string","nullable":true},"isPublic":{"type":"boolean"},"headline":{"type":"string"},"bio":{"type":"string"},"location":{"type":"string","nullable":true},"accentColor":{"type":"string"},"backgroundType":{"$ref":"#/components/schemas/UserProfileBackgroundType"},"backgroundColor":{"type":"string","nullable":true},"backgroundGradient":{"allOf":[{"$ref":"#/components/schemas/UserProfileGradient"},{"nullable":true}]},"backgroundImageUrl":{"type":"string","nullable":true},"backgroundVideoUrl":{"type":"string","nullable":true},"backgroundBrightness":{"$ref":"#/components/schemas/UserProfileBrightness"},"customCursor":{"type":"string"},"badges":{"type":"array","items":{"$ref":"#/components/schemas/UserProfileBadge"}},"socials":{"type":"array","items":{"$ref":"#/components/schemas/UserProfileSocial"}},"links":{"type":"array","items":{"$ref":"#/components/schemas/UserProfileLink"}},"memberships":{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/UserProfileTeamMembership"},{"type":"object","properties":{"hidden":{"type":"boolean"}},"required":["hidden"]}]}}},"required":["username","avatar","isPublic","headline","bio","location","accentColor","backgroundType","backgroundColor","backgroundGradient","backgroundImageUrl","backgroundVideoUrl","backgroundBrightness","customCursor","badges","socials","links","memberships"]},"UpdateMeUserProfile":{"type":"object","properties":{"isPublic":{"type":"boolean"},"headline":{"type":"string","maxLength":120},"bio":{"type":"string","maxLength":500},"location":{"type":"string","nullable":true,"maxLength":80},"accentColor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},"backgroundType":{"$ref":"#/components/schemas/UserProfileBackgroundType"},"backgroundColor":{"type":"string","nullable":true,"pattern":"^#[0-9a-fA-F]{6}$"},"backgroundGradient":{"allOf":[{"$ref":"#/components/schemas/UserProfileGradient"},{"nullable":true}]},"backgroundImageUrl":{"type":"string","nullable":true,"maxLength":1000,"format":"uri"},"backgroundVideoUrl":{"type":"string","nullable":true,"maxLength":1000,"format":"uri"},"backgroundBrightness":{"$ref":"#/components/schemas/UserProfileBrightness"},"customCursor":{"type":"string","enum":["default","pointer","crosshair","text","grab","help","none","zoomIn","progress","notAllowed","sword","target","lightning","rocket","magicWand","skull","heart","diamond","flag","gamepad"]}}},"ReplaceUserProfileSocials":{"type":"object","properties":{"socials":{"type":"array","items":{"type":"object","properties":{"platform":{"$ref":"#/components/schemas/UserProfileLinkPlatform"},"url":{"type":"string","maxLength":500,"format":"uri"}},"required":["platform","url"]},"maxItems":15}},"required":["socials"]},"CreateUserProfileLink":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":80},"url":{"type":"string","maxLength":500,"format":"uri"},"platform":{"$ref":"#/components/schemas/UserProfileLinkPlatform"},"description":{"type":"string","nullable":true,"maxLength":200},"highlight":{"type":"boolean"}},"required":["title","url","platform"]},"ReorderUserProfileLinks":{"type":"object","properties":{"ids":{"type":"array","items":{"type":"string","format":"uuid"},"minItems":1,"maxItems":20}},"required":["ids"]},"UpdateUserProfileLink":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":80},"url":{"type":"string","maxLength":500,"format":"uri"},"platform":{"$ref":"#/components/schemas/UserProfileLinkPlatform"},"description":{"type":"string","nullable":true,"maxLength":200},"highlight":{"type":"boolean"}}},"SetMembershipVisibility":{"type":"object","properties":{"visibility":{"type":"object","additionalProperties":{"type":"boolean"}}},"required":["visibility"]},"MinimalDepartment":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string","minLength":1},"teamId":{"type":"string","format":"uuid"},"state":{"type":"string","enum":["HIDDEN","CLOSED","WAITING","OPEN"]}},"required":["id","name","teamId","state"]},"Department":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"teamId":{"type":"string","format":"uuid"},"name":{"type":"string","minLength":1},"description":{"type":"string","minLength":1},"state":{"type":"string","enum":["HIDDEN","CLOSED","WAITING","OPEN"]},"applicationBanAcceptance":{"type":"boolean"},"applicationBanDistribution":{"type":"boolean"},"applicationBanDuration":{"type":"integer","default":30},"applicationMinimumCharacters":{"type":"integer","minimum":0,"maximum":5000},"createdAt":{"type":"string"},"updatedAt":{"type":"string"}},"required":["id","teamId","name","description","state","applicationBanAcceptance","applicationBanDistribution","applicationMinimumCharacters","createdAt","updatedAt"]},"DepartmentInfo":{"allOf":[{"$ref":"#/components/schemas/Department"},{"type":"object","properties":{"managers":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string","minLength":3,"maxLength":20,"pattern":"^[a-zA-Z0-9_]+$"},"image":{"type":"string","nullable":true}},"required":["id","name"]}}},"required":["managers"]}]},"Application":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"departmentId":{"type":"string","format":"uuid"},"userId":{"type":"string","format":"uuid"},"state":{"type":"string","enum":["OPEN","PENDING","ACCEPTED","DECLINED"],"default":"OPEN"},"archived":{"type":"boolean"},"application":{"type":"string","nullable":true,"minLength":3},"log":{"type":"string","nullable":true,"default":"[]"},"charCount":{"type":"integer"},"wasQueueActive":{"type":"boolean"},"startTime":{"type":"string"},"createdAt":{"type":"string"},"updatedAt":{"type":"string"}},"required":["id","departmentId","userId","archived","charCount","wasQueueActive","startTime","createdAt","updatedAt"]},"ApplicationDepartmentInfo":{"allOf":[{"$ref":"#/components/schemas/Application"},{"type":"object","properties":{"department":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string","minLength":1}},"required":["id","name"]}},"required":["department"]}]},"ApplicationUserInfo":{"allOf":[{"$ref":"#/components/schemas/Application"},{"type":"object","properties":{"user":{"type":"object","properties":{"username":{"type":"string","minLength":3,"maxLength":20,"pattern":"^[a-zA-Z0-9_]+$"},"image":{"type":"string","nullable":true}},"required":["username"]}},"required":["user"]}]},"ApplicationMinimalUserInfo":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"departmentId":{"type":"string","format":"uuid"},"userId":{"type":"string","format":"uuid"},"state":{"type":"string","enum":["OPEN","PENDING","ACCEPTED","DECLINED"],"default":"OPEN"},"createdAt":{"type":"string"},"updatedAt":{"type":"string"},"user":{"type":"object","properties":{"username":{"type":"string","minLength":3,"maxLength":20,"pattern":"^[a-zA-Z0-9_]+$"},"image":{"type":"string","nullable":true}},"required":["username"]}},"required":["id","departmentId","userId","createdAt","updatedAt","user"]},"ApplicationUserDepartmentInfo":{"allOf":[{"$ref":"#/components/schemas/Application"},{"type":"object","properties":{"department":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string","minLength":1}},"required":["id","name"]},"user":{"type":"object","properties":{"username":{"type":"string","minLength":3,"maxLength":20,"pattern":"^[a-zA-Z0-9_]+$"},"image":{"type":"string","nullable":true}},"required":["username"]}},"required":["department","user"]}]},"ApplicationMessage":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"applicationId":{"type":"string","format":"uuid"},"userId":{"type":"string","format":"uuid"},"message":{"type":"string","minLength":1},"type":{"type":"string","enum":["ANSWER","MESSAGE","STATE_DECLINED","STATE_ACCEPTED"],"default":"ANSWER"},"createdAt":{"type":"string"},"updatedAt":{"type":"string"}},"required":["id","applicationId","userId","message","createdAt","updatedAt"]},"ApplicationMessageUserInfo":{"allOf":[{"$ref":"#/components/schemas/ApplicationMessage"},{"type":"object","properties":{"user":{"type":"object","properties":{"username":{"type":"string","minLength":3,"maxLength":20,"pattern":"^[a-zA-Z0-9_]+$"},"image":{"type":"string","nullable":true}},"required":["username"]}},"required":["user"]}]},"ApplyDefaultMessage":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"departmentId":{"type":"string","format":"uuid"},"type":{"type":"string"},"message":{"type":"string","minLength":1},"createdAt":{"type":"string"},"updatedAt":{"type":"string"}},"required":["id","departmentId","type","message","createdAt","updatedAt"]},"AutomationConditionField":{"type":"string","enum":["teamId","teamName","teamLogo","teamMemberId","joinedTeamAt","username","discordId","discordUsername","discordTag","targetTeamMemberId","targetJoinedTeamAt","targetUsername","targetDiscordId","targetDiscordUsername","targetDiscordTag","targetNames","targetDiscordIds","targetDiscordUsernames","targetDiscordTags","groupId","groupName","groupColor","meetingId","meetingTitle","meetingStart","meetingStartDiscord","meetingAgenda","meetingPoint","meetingState","logoffBegin","logoffBeginDiscord","logoffEnd","logoffEndDiscord","logoffReason","newsId","newsTitle","newsContent","newsContentDiscord","newsCreated","newsCreatedDiscord","worryBox","worryBoxMessage","department","applicationState","applicationUser","penaltyPoints","penaltyPointMessage","penaltyPointExpiresAt","penaltyPointExpiresAtDiscord","backupId","backupJobId","backupState","backupData","backupStartedAt","backupFinishedAt","backupJobName","backupJobSize","backupJobCronSchedule","backupJobNextExecutionAt","backupJobNextExecutionAtDiscord","applicationId","applicationMessage","applicationMessageType","applicationMessageCreatedAt","applicationMessageCreatedAtDiscord","todoId","todoNumber","todoTitle","todoDescription","todoPriority","todoBoardId","todoStatusId","todoCreatedByTeamMemberId","todoStartAt","todoStartAtDiscord","todoDueAt","todoDueAtDiscord","todoFinishedAt","todoFinishedAtDiscord","todoPosition","todoArchived","todoCreatedAt","todoCreatedAtDiscord","todoUpdatedAt","todoUpdatedAtDiscord","todoStatusName","todoStatusColor","todoBoardSlug","todoBoardName","todoBoardDescription","todoBoardColor","todoBoardIcon"],"description":"The field name to check the condition against"},"AutomationLogic":{"type":"string","enum":["AND","OR"],"default":"AND"},"AutomationConditionOperator":{"type":"string","enum":["EQUALS","NOT_EQUALS","CONTAINS","NOT_CONTAINS","STARTS_WITH","ENDS_WITH","IS_EMPTY","IS_NOT_EMPTY"]},"AutomationCondition":{"type":"object","properties":{"field":{"$ref":"#/components/schemas/AutomationConditionField"},"operator":{"$ref":"#/components/schemas/AutomationConditionOperator"},"value":{"type":"string"}},"required":["field","operator"]},"AutomationConditions":{"anyOf":[{"type":"object","properties":{"logic":{"$ref":"#/components/schemas/AutomationLogic"},"conditions":{"type":"array","items":{"$ref":"#/components/schemas/AutomationCondition"}}},"required":["conditions"]},{"type":"array","items":{"$ref":"#/components/schemas/AutomationCondition"}},{"nullable":true}]},"DiscordPings":{"type":"object","properties":{"roleIds":{"type":"array","items":{"type":"string"}},"userIds":{"type":"array","items":{"type":"string"}}}},"DiscordWebhookAutomationData":{"type":"object","properties":{"webhookUrl":{"type":"string","minLength":1,"maxLength":1000},"message":{"type":"string","maxLength":1000},"messageTemplate":{"type":"string","maxLength":1000},"username":{"type":"string","maxLength":65},"avatarUrl":{"anyOf":[{"type":"string","format":"uri"},{"type":"string","enum":[""]},{"nullable":true}]},"pings":{"$ref":"#/components/schemas/DiscordPings"}},"required":["webhookUrl"]},"DiscordWebhookAutomationInfo":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"teamId":{"type":"string","format":"uuid"},"title":{"type":"string","minLength":1,"maxLength":32},"event":{"type":"string"},"conditions":{"$ref":"#/components/schemas/AutomationConditions"},"createdAt":{"type":"string"},"updatedAt":{"type":"string"},"actionType":{"type":"string","enum":["DISCORD_WEBHOOK"]},"actionData":{"$ref":"#/components/schemas/DiscordWebhookAutomationData"}},"required":["id","teamId","title","event","createdAt","updatedAt","actionType","actionData"]},"DiscordWebhookEmbedAutomationData":{"type":"object","properties":{"webhookUrl":{"type":"string","minLength":1,"maxLength":1000},"message":{"type":"string","maxLength":1000},"embedTemplate":{"type":"object","properties":{"title":{"type":"string","maxLength":1000},"description":{"type":"string","maxLength":1000},"color":{"type":"string","maxLength":500}},"required":["title","description"]},"username":{"type":"string","maxLength":65},"avatarUrl":{"anyOf":[{"type":"string","format":"uri"},{"type":"string","enum":[""]},{"nullable":true}]},"pings":{"$ref":"#/components/schemas/DiscordPings"}},"required":["webhookUrl","embedTemplate"]},"DiscordWebhookEmbedAutomationInfo":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"teamId":{"type":"string","format":"uuid"},"title":{"type":"string","minLength":1,"maxLength":32},"event":{"type":"string"},"conditions":{"$ref":"#/components/schemas/AutomationConditions"},"createdAt":{"type":"string"},"updatedAt":{"type":"string"},"actionType":{"type":"string","enum":["DISCORD_WEBHOOK_EMBED"]},"actionData":{"$ref":"#/components/schemas/DiscordWebhookEmbedAutomationData"}},"required":["id","teamId","title","event","createdAt","updatedAt","actionType","actionData"]},"CustomWebhookAutomationData":{"type":"object","properties":{"webhookUrl":{"type":"string","minLength":1,"maxLength":1000},"payloadTemplate":{"type":"string","maxLength":1000}},"required":["webhookUrl","payloadTemplate"]},"CustomWebhookAutomationInfo":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"teamId":{"type":"string","format":"uuid"},"title":{"type":"string","minLength":1,"maxLength":32},"event":{"type":"string"},"conditions":{"$ref":"#/components/schemas/AutomationConditions"},"createdAt":{"type":"string"},"updatedAt":{"type":"string"},"actionType":{"type":"string","enum":["CUSTOM_WEBHOOK"]},"actionData":{"$ref":"#/components/schemas/CustomWebhookAutomationData"}},"required":["id","teamId","title","event","createdAt","updatedAt","actionType","actionData"]},"Automation":{"oneOf":[{"$ref":"#/components/schemas/DiscordWebhookAutomationInfo"},{"$ref":"#/components/schemas/DiscordWebhookEmbedAutomationInfo"},{"$ref":"#/components/schemas/CustomWebhookAutomationInfo"}],"discriminator":{"propertyName":"actionType","mapping":{"DISCORD_WEBHOOK":"#/components/schemas/DiscordWebhookAutomationInfo","DISCORD_WEBHOOK_EMBED":"#/components/schemas/DiscordWebhookEmbedAutomationInfo","CUSTOM_WEBHOOK":"#/components/schemas/CustomWebhookAutomationInfo"}}},"AutomationList":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Automation"}},"count":{"type":"number"}},"required":["data","count"]},"CreateDiscordWebhookAutomation":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":32},"event":{"type":"string","maxLength":65},"conditions":{"$ref":"#/components/schemas/AutomationConditions"},"actionType":{"type":"string","enum":["DISCORD_WEBHOOK"]},"actionData":{"type":"object","properties":{"webhookUrl":{"type":"string","minLength":1,"maxLength":1000},"message":{"type":"string","maxLength":1000},"messageTemplate":{"type":"string","maxLength":1000},"username":{"type":"string","maxLength":65},"avatarUrl":{"anyOf":[{"type":"string","format":"uri"},{"type":"string","enum":[""]},{"nullable":true}]},"pings":{"$ref":"#/components/schemas/DiscordPings"}},"required":["webhookUrl"]}},"required":["title","event","actionType","actionData"]},"CreateDiscordWebhookEmbedAutomation":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":32},"event":{"type":"string","maxLength":65},"conditions":{"$ref":"#/components/schemas/AutomationConditions"},"actionType":{"type":"string","enum":["DISCORD_WEBHOOK_EMBED"]},"actionData":{"type":"object","properties":{"webhookUrl":{"type":"string","minLength":1,"maxLength":1000},"message":{"type":"string","maxLength":1000},"embedTemplate":{"type":"object","properties":{"title":{"type":"string","maxLength":1000},"description":{"type":"string","maxLength":1000},"color":{"type":"string","maxLength":500}},"required":["title","description"]},"username":{"type":"string","maxLength":65},"avatarUrl":{"anyOf":[{"type":"string","format":"uri"},{"type":"string","enum":[""]},{"nullable":true}]},"pings":{"$ref":"#/components/schemas/DiscordPings"}},"required":["webhookUrl","embedTemplate"]}},"required":["title","event","actionType","actionData"]},"CreateCustomWebhookAutomation":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":32},"event":{"type":"string","maxLength":65},"conditions":{"$ref":"#/components/schemas/AutomationConditions"},"actionType":{"type":"string","enum":["CUSTOM_WEBHOOK"]},"actionData":{"type":"object","properties":{"webhookUrl":{"type":"string","minLength":1,"maxLength":1000},"payloadTemplate":{"type":"string","maxLength":1000}},"required":["webhookUrl","payloadTemplate"]}},"required":["title","event","actionType","actionData"]},"CreateAutomation":{"oneOf":[{"$ref":"#/components/schemas/CreateDiscordWebhookAutomation"},{"$ref":"#/components/schemas/CreateDiscordWebhookEmbedAutomation"},{"$ref":"#/components/schemas/CreateCustomWebhookAutomation"}],"discriminator":{"propertyName":"actionType","mapping":{"DISCORD_WEBHOOK":"#/components/schemas/CreateDiscordWebhookAutomation","DISCORD_WEBHOOK_EMBED":"#/components/schemas/CreateDiscordWebhookEmbedAutomation","CUSTOM_WEBHOOK":"#/components/schemas/CreateCustomWebhookAutomation"}}},"WSCommandServerInfo":{"type":"object","properties":{"requestId":{"type":"string"},"type":{"type":"string","enum":["cmd.server.info"]},"payload":{"type":"object","properties":{"includePlayers":{"type":"boolean"},"includePerformance":{"type":"boolean"}}}},"required":["requestId","type"]},"WSCommandCustom":{"type":"object","properties":{"requestId":{"type":"string"},"type":{"type":"string","enum":["cmd.custom"]},"payload":{"type":"object","properties":{"command":{"type":"string"},"data":{"type":"object","additionalProperties":{"nullable":true}}},"required":["command"]}},"required":["requestId","type","payload"]},"WSResponseServerInfo":{"type":"object","properties":{"requestId":{"type":"string"},"type":{"type":"string","enum":["res.server.info"]},"payload":{"type":"object","properties":{"online":{"type":"boolean"},"players":{"type":"number"},"maxPlayers":{"type":"number"},"version":{"type":"string"}},"required":["online","players","maxPlayers"]}},"required":["requestId","type","payload"]},"WSResponseCustom":{"type":"object","properties":{"requestId":{"type":"string"},"type":{"type":"string","enum":["res.custom"]},"payload":{"type":"object","additionalProperties":{"nullable":true}}},"required":["requestId","type","payload"]},"WSEventPlayerCountChanged":{"type":"object","properties":{"requestId":{"type":"string"},"type":{"type":"string","enum":["event.player_count.changed"]},"payload":{"type":"object","properties":{"players":{"type":"number"}},"required":["players"]}},"required":["type","payload"]},"WSError":{"type":"object","properties":{"requestId":{"type":"string"},"type":{"type":"string","enum":["error"]},"payload":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}},"required":["type","payload"]},"WSMessage":{"oneOf":[{"$ref":"#/components/schemas/WSCommandServerInfo"},{"$ref":"#/components/schemas/WSCommandCustom"},{"$ref":"#/components/schemas/WSResponseServerInfo"},{"$ref":"#/components/schemas/WSResponseCustom"},{"$ref":"#/components/schemas/WSEventPlayerCountChanged"},{"$ref":"#/components/schemas/WSError"}],"discriminator":{"propertyName":"type","mapping":{"cmd.server.info":"#/components/schemas/WSCommandServerInfo","cmd.custom":"#/components/schemas/WSCommandCustom","res.server.info":"#/components/schemas/WSResponseServerInfo","res.custom":"#/components/schemas/WSResponseCustom","event.player_count.changed":"#/components/schemas/WSEventPlayerCountChanged","error":"#/components/schemas/WSError"}}},"GameInfo":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string","minLength":1,"maxLength":24},"gameType":{"type":"string","enum":["FIVEM","MINECRAFT","HYTALE"]},"teamId":{"type":"string","format":"uuid"},"createdAt":{"type":"string"},"tokens":{"type":"number"}},"required":["id","name","gameType","teamId","createdAt"]},"Game":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string","minLength":1,"maxLength":24},"gameType":{"type":"string","enum":["FIVEM","MINECRAFT","HYTALE"]},"teamId":{"type":"string","format":"uuid"},"url":{"type":"string","nullable":true,"format":"uri"},"settings":{"nullable":true},"secretKey":{"type":"string","format":"uuid"},"createdAt":{"type":"string"},"updatedAt":{"type":"string"}},"required":["id","name","gameType","teamId","secretKey","createdAt","updatedAt"]},"MinimalGame":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string","minLength":1,"maxLength":24},"gameType":{"type":"string","enum":["FIVEM","MINECRAFT","HYTALE"]},"teamId":{"type":"string","format":"uuid"},"url":{"type":"string","nullable":true,"format":"uri"},"settings":{"nullable":true},"createdAt":{"type":"string"},"updatedAt":{"type":"string"},"gameServer":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string"},"type":{"type":"string","enum":["MINECRAFT","HYTALE"]}},"required":["id","name","type"]}},"required":["id","name","gameType","teamId","createdAt","updatedAt","gameServer"]},"GameGroups":{"allOf":[{"$ref":"#/components/schemas/MinimalGame"},{"type":"object","properties":{"groups":{"type":"array","items":{"$ref":"#/components/schemas/MainGroupInfo"}}},"required":["groups"]}]},"GameUserProperty":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"gameUserId":{"type":"string","format":"uuid"},"key":{"type":"string"},"type":{"type":"string","enum":["STRING","NUMBER","BOOLEAN","JSON"]},"stringValue":{"type":"string","nullable":true},"numberValue":{"type":"integer","nullable":true},"booleanValue":{"type":"boolean","nullable":true},"jsonValue":{"nullable":true},"updatedAt":{"type":"string"},"createdAt":{"type":"string"}},"required":["id","gameUserId","key","type","updatedAt","createdAt"]},"GameUserNote":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"gameUserId":{"type":"string","format":"uuid"},"text":{"type":"string"},"user":{"type":"string"},"createdAt":{"type":"string"},"updatedAt":{"type":"string"}},"required":["id","gameUserId","text","user","createdAt","updatedAt"]},"GameUser":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"gameServerId":{"type":"string","format":"uuid"},"uuid":{"type":"string"},"username":{"type":"string","nullable":true},"data":{"nullable":true},"loginCount":{"type":"integer"},"playTime":{"type":"integer"},"lastLogin":{"type":"string","nullable":true},"createdAt":{"type":"string"},"updatedAt":{"type":"string"},"properties":{"type":"array","items":{"$ref":"#/components/schemas/GameUserProperty"}},"notes":{"type":"array","items":{"$ref":"#/components/schemas/GameUserNote"}}},"required":["id","gameServerId","uuid","loginCount","playTime","createdAt","updatedAt"]},"GameUserList":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/GameUser"}},"count":{"type":"number"}},"required":["items","count"]},"GameUserStats":{"type":"object","properties":{"totalUsers":{"type":"number"},"activeUsers24h":{"type":"number"},"newUsers24h":{"type":"number"}},"required":["totalUsers","activeUsers24h","newUsers24h"]},"GameServerProperty":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"gameServerId":{"type":"string","format":"uuid"},"key":{"type":"string"},"type":{"type":"string","enum":["STRING","NUMBER","BOOLEAN","JSON"]},"stringValue":{"type":"string","nullable":true},"numberValue":{"type":"integer","nullable":true},"booleanValue":{"type":"boolean","nullable":true},"jsonValue":{"nullable":true},"updatedAt":{"type":"string"},"createdAt":{"type":"string"}},"required":["id","gameServerId","key","type","updatedAt","createdAt"]},"SetGameServerProperty":{"type":"object","properties":{"key":{"type":"string"},"type":{"type":"string","enum":["STRING","NUMBER","BOOLEAN","JSON"]},"stringValue":{"type":"string","nullable":true},"numberValue":{"type":"integer","nullable":true},"booleanValue":{"type":"boolean","nullable":true},"jsonValue":{"nullable":true},"increment":{"type":"number"},"decrement":{"type":"number"}},"required":["key","type"]},"ConfigValueString":{"type":"object","properties":{"key":{"type":"string"},"label":{"type":"string"},"description":{"type":"string"},"type":{"type":"string","enum":["string"]},"value":{"type":"string"}},"required":["key","label","type"]},"ConfigValueNumber":{"type":"object","properties":{"key":{"type":"string"},"label":{"type":"string"},"description":{"type":"string"},"type":{"type":"string","enum":["number"]},"value":{"type":"number"}},"required":["key","label","type"]},"ConfigValueBoolean":{"type":"object","properties":{"key":{"type":"string"},"label":{"type":"string"},"description":{"type":"string"},"type":{"type":"string","enum":["boolean"]},"value":{"type":"boolean"}},"required":["key","label","type"]},"ConfigValueArrayString":{"type":"object","properties":{"key":{"type":"string"},"label":{"type":"string"},"description":{"type":"string"},"type":{"type":"string","enum":["arrayString"]},"value":{"type":"array","items":{"type":"string"}}},"required":["key","label","type"]},"ConfigValuePassword":{"type":"object","properties":{"key":{"type":"string"},"label":{"type":"string"},"description":{"type":"string"},"type":{"type":"string","enum":["password"]},"value":{"type":"string"}},"required":["key","label","type"]},"ConfigValueColor":{"type":"object","properties":{"key":{"type":"string"},"label":{"type":"string"},"description":{"type":"string"},"type":{"type":"string","enum":["color"]},"value":{"type":"string"}},"required":["key","label","type"]},"ConfigValueDate":{"type":"object","properties":{"key":{"type":"string"},"label":{"type":"string"},"description":{"type":"string"},"type":{"type":"string","enum":["date"]},"value":{"type":"string"}},"required":["key","label","type"]},"ConfigValueSelectOption":{"type":"object","properties":{"label":{"type":"string"},"value":{"anyOf":[{"type":"string"},{"type":"number"}]}},"required":["label","value"]},"ConfigValueSelect":{"type":"object","properties":{"key":{"type":"string"},"label":{"type":"string"},"description":{"type":"string"},"type":{"type":"string","enum":["select"]},"value":{"anyOf":[{"type":"string"},{"type":"number"}]},"options":{"type":"array","items":{"$ref":"#/components/schemas/ConfigValueSelectOption"}}},"required":["key","label","type","options"]},"SyncCommandItem":{"type":"object","properties":{"tpGroupId":{"type":"string"},"discordRoleId":{"type":"string"},"groups":{"type":"array","items":{"type":"string"}},"commands":{"type":"array","items":{"type":"string"}}}},"ConfigValueSyncCommand":{"type":"object","properties":{"key":{"type":"string"},"label":{"type":"string"},"description":{"type":"string"},"type":{"type":"string","enum":["syncCommand"]},"command":{"$ref":"#/components/schemas/SyncCommandItem"}},"required":["key","label","type","command"]},"ConfigValueSyncCommandArray":{"type":"object","properties":{"key":{"type":"string"},"label":{"type":"string"},"description":{"type":"string"},"type":{"type":"string","enum":["syncCommandArray"]},"commands":{"type":"array","items":{"$ref":"#/components/schemas/SyncCommandItem"}}},"required":["key","label","type","commands"]},"ConfigValue":{"oneOf":[{"$ref":"#/components/schemas/ConfigValueString"},{"$ref":"#/components/schemas/ConfigValueNumber"},{"$ref":"#/components/schemas/ConfigValueBoolean"},{"$ref":"#/components/schemas/ConfigValueArrayString"},{"$ref":"#/components/schemas/ConfigValuePassword"},{"$ref":"#/components/schemas/ConfigValueColor"},{"$ref":"#/components/schemas/ConfigValueDate"},{"$ref":"#/components/schemas/ConfigValueSelect"},{"$ref":"#/components/schemas/ConfigValueSyncCommand"},{"$ref":"#/components/schemas/ConfigValueSyncCommandArray"}],"discriminator":{"propertyName":"type","mapping":{"string":"#/components/schemas/ConfigValueString","number":"#/components/schemas/ConfigValueNumber","boolean":"#/components/schemas/ConfigValueBoolean","arrayString":"#/components/schemas/ConfigValueArrayString","password":"#/components/schemas/ConfigValuePassword","color":"#/components/schemas/ConfigValueColor","date":"#/components/schemas/ConfigValueDate","select":"#/components/schemas/ConfigValueSelect","syncCommand":"#/components/schemas/ConfigValueSyncCommand","syncCommandArray":"#/components/schemas/ConfigValueSyncCommandArray"}}},"GameServerConfig":{"type":"object","properties":{"key":{"type":"string"},"label":{"type":"string"},"description":{"type":"string"},"values":{"type":"array","items":{"$ref":"#/components/schemas/ConfigValue"}}},"required":["key","label","values"]},"GameServerPropertiesBatchResponse":{"type":"object","properties":{"properties":{"type":"array","items":{"$ref":"#/components/schemas/GameServerProperty"}}},"required":["properties"]},"SetGameServerPropertiesBatch":{"type":"object","properties":{"properties":{"type":"array","items":{"$ref":"#/components/schemas/SetGameServerProperty"},"minItems":1,"maxItems":100}},"required":["properties"]},"GameServer":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string"},"type":{"type":"string","enum":["MINECRAFT","HYTALE"]},"teamId":{"type":"string","format":"uuid"},"createdAt":{"type":"string"},"updatedAt":{"type":"string"},"gameId":{"type":"string","format":"uuid"}},"required":["id","name","type","teamId","createdAt","updatedAt","gameId"]},"TeamPanelConflictError":{"allOf":[{"$ref":"#/components/schemas/TeamPanelError"},{"type":"object","properties":{"name":{"type":"string","default":"TeamPanelConflictError"},"message":{"type":"string","default":"Conflict"},"status":{"type":"number","default":409},"messageKey":{"type":"string","default":"error.conflict"}}}]},"GameUserBatch":{"type":"object","properties":{"gameUser":{"$ref":"#/components/schemas/GameUser"},"created":{"type":"boolean"},"oldGameUser":{"$ref":"#/components/schemas/GameUser"}},"required":["gameUser","created"]},"CreateGameUser":{"type":"object","properties":{"uuid":{"type":"string","minLength":1},"username":{"type":"string"},"data":{"type":"object","additionalProperties":{"nullable":true},"default":{}},"updateLogin":{"type":"boolean"},"createdAt":{"type":"string"},"lastLogin":{"type":"string"},"loginCount":{"type":"integer","minimum":0},"playTime":{"type":"integer","minimum":0}},"required":["uuid"]},"GameUserBatchResponse":{"type":"object","properties":{"users":{"type":"array","items":{"$ref":"#/components/schemas/GameUserBatch"}}},"required":["users"]},"CheckGameUsersBatch":{"type":"object","properties":{"users":{"type":"array","items":{"$ref":"#/components/schemas/CreateGameUser"},"minItems":1,"maxItems":100}},"required":["users"]},"SetGameUserProperty":{"type":"object","properties":{"key":{"type":"string"},"type":{"type":"string","enum":["STRING","NUMBER","BOOLEAN","JSON"]},"stringValue":{"type":"string","nullable":true},"numberValue":{"type":"integer","nullable":true},"booleanValue":{"type":"boolean","nullable":true},"jsonValue":{"nullable":true},"increment":{"type":"number"},"decrement":{"type":"number"}},"required":["key","type"]},"GameUserPropertiesBatchResponse":{"type":"object","properties":{"properties":{"type":"array","items":{"$ref":"#/components/schemas/GameUserProperty"}}},"required":["properties"]},"SetGameUserPropertiesBatch":{"type":"object","properties":{"properties":{"type":"array","items":{"$ref":"#/components/schemas/SetGameUserProperty"},"minItems":1,"maxItems":100}},"required":["properties"]},"MinimalGroup":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string","minLength":2,"maxLength":24},"color":{"type":"string","pattern":"^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$"},"sort":{"type":"integer"}},"required":["id","name","color","sort"]},"TeamMemberInfo3":{"allOf":[{"$ref":"#/components/schemas/TeamMemberInfo"},{"type":"object","nullable":true,"properties":{"groups":{"type":"array","items":{"$ref":"#/components/schemas/MinimalGroup"}},"mainGroup":{"$ref":"#/components/schemas/MainGroupInfo"}}}]},"DiscordTeamMemberStatus":{"allOf":[{"$ref":"#/components/schemas/DiscordMemberStatus"},{"type":"object","properties":{"teamMember":{"$ref":"#/components/schemas/TeamMemberInfo3"}},"required":["teamMember"]}]},"FivemVehicle":{"type":"object","properties":{"model":{"anyOf":[{"type":"number"},{"type":"string"}]},"vehicleName":{"type":"string"},"type":{"type":"string"},"category":{"type":"number"},"categoryName":{"type":"string"},"spawnName":{"type":"string"},"nickName":{"type":"string"}},"required":["model","vehicleName","type","category"]},"FivemMinimalPlayerVehicle":{"type":"object","properties":{"plate":{"type":"string"},"owner":{"type":"string","pattern":"^(char\\d+:)?([0-9a-f]{40}|(steam|license|license1|license2|discord|fivem):[0-9a-f]+|[a-zA-Z0-9]{8})$"},"model":{"anyOf":[{"type":"number"},{"type":"string"}]}},"required":["plate","owner","model"]},"FivemPlayerVehicle":{"allOf":[{"$ref":"#/components/schemas/FivemMinimalPlayerVehicle"},{"type":"object","properties":{"ownerName":{"type":"string"},"vehicle":{"$ref":"#/components/schemas/FivemVehicle"}}}]},"FivemVehicleCategory":{"type":"object","properties":{"id":{"type":"number"},"name":{"type":"string"}},"required":["id","name"]},"FivemPlayerInfo":{"type":"object","properties":{"source":{"type":"number"},"identifier":{"type":"string","pattern":"^(char\\d+:)?([0-9a-f]{40}|(steam|license|license1|license2|discord|fivem):[0-9a-f]+|[a-zA-Z0-9]{8})$"},"firstname":{"type":"string"},"lastname":{"type":"string"},"jobname":{"type":"string"}},"required":["identifier","firstname","lastname"]},"FivemTopPlayer":{"allOf":[{"$ref":"#/components/schemas/FivemPlayerInfo"},{"type":"object","properties":{"statsMoney":{"type":"number"}},"required":["statsMoney"]}]},"FivemTopPlayers":{"type":"object","properties":{"status":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"code":{"type":"number"}},"required":["message","code"]},"data":{"type":"array","items":{"$ref":"#/components/schemas/FivemTopPlayer"}},"count":{"type":"number"}},"required":["status","data","count"]},"FivemOnlinePlayers":{"type":"object","properties":{"status":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"code":{"type":"number"}},"required":["message","code"]},"data":{"type":"array","items":{"$ref":"#/components/schemas/FivemPlayerInfo"}},"count":{"type":"number"}},"required":["status","data","count"]},"FivemPlayerAccount":{"type":"object","properties":{"name":{"type":"string"},"amount":{"type":"number"},"label":{"type":"string"}},"required":["name","amount","label"]},"FivemInventoryItem":{"type":"object","properties":{"name":{"type":"string"},"amount":{"type":"number"},"label":{"type":"string"}},"required":["name","amount","label"]},"FivemPlayerDetail":{"type":"object","properties":{"key":{"type":"string"},"name":{"type":"string"},"value":{"anyOf":[{"type":"string"},{"type":"number"}]},"type":{"type":"string","enum":["secretText","unixTime"]},"editable":{"type":"boolean"}},"required":["key","name"]},"FivemPlayerNote":{"type":"object","properties":{"id":{"type":"number"},"user":{"type":"string"},"note":{"type":"string"},"datetime":{"type":"number"}},"required":["id","user","note","datetime"]},"FivemPlayerCustomButton":{"type":"object","properties":{"key":{"type":"string"},"name":{"type":"string"},"icon":{"type":"string"},"disabled":{"type":"boolean","default":false},"requireMessage":{"type":"boolean","default":false},"messageDescription":{"type":"string"}},"required":["key","name"]},"FivemPlayerData":{"type":"object","properties":{"accounts":{"type":"array","items":{"$ref":"#/components/schemas/FivemPlayerAccount"}},"identifier":{"type":"string","pattern":"^(char\\d+:)?([0-9a-f]{40}|(steam|license|license1|license2|discord|fivem):[0-9a-f]+|[a-zA-Z0-9]{8})$"},"name":{"type":"string"},"lastname":{"type":"string"},"firstname":{"type":"string"},"isOnline":{"type":"boolean"},"isDead":{"type":"boolean"},"inventory":{"type":"array","items":{"$ref":"#/components/schemas/FivemInventoryItem"}},"weapons":{"type":"object"},"vehicles":{"type":"array","items":{"$ref":"#/components/schemas/FivemPlayerVehicle"}},"details":{"type":"array","items":{"$ref":"#/components/schemas/FivemPlayerDetail"}},"notes":{"type":"array","items":{"$ref":"#/components/schemas/FivemPlayerNote"}},"buttons":{"type":"array","items":{"$ref":"#/components/schemas/FivemPlayerCustomButton"}},"addonData":{"type":"object"}},"required":["accounts","identifier","name","lastname","firstname","isOnline","isDead","inventory","weapons","details","buttons"]},"FivemPlayer":{"type":"object","properties":{"identifier":{"type":"string","pattern":"^(char\\d+:)?([0-9a-f]{40}|(steam|license|license1|license2|discord|fivem):[0-9a-f]+|[a-zA-Z0-9]{8})$"},"playerData":{"$ref":"#/components/schemas/FivemPlayerData"},"exists":{"type":"boolean"}},"required":["playerData"]},"FivemServerPlayerResponse":{"type":"object","properties":{"playerData":{"$ref":"#/components/schemas/FivemPlayerData"},"status":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"code":{"type":"number"}},"required":["message","code"]}},"required":["playerData","status"]},"FivemPlayerScreenshotResponse":{"type":"object","properties":{"data":{"type":"string"},"status":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"code":{"type":"number"}},"required":["message","code"]},"playerData":{"$ref":"#/components/schemas/FivemPlayerData"}},"required":["data","status","playerData"]},"FivemChangeType":{"type":"string","enum":["ADD","REMOVE","SET"]},"FivemStatusInfo":{"type":"object","properties":{"serverName":{"type":"string"},"onlinePlayers":{"type":"number"},"maxPlayers":{"type":"number"},"setup":{"type":"boolean"}},"required":["serverName","onlinePlayers","maxPlayers","setup"]},"FivemItem":{"type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"FivemDashboardStats":{"type":"object","properties":{"playerCount":{"type":"number"},"onlinePlayerCount":{"type":"number"},"vehicleCount":{"type":"number"},"playerVehicleCount":{"type":"number"},"version":{"type":"object","properties":{"name":{"type":"string"},"newer_version":{"type":"object","properties":{"available":{"type":"boolean"},"version_name":{"type":"string"}},"required":["available","version_name"]}},"required":["name"]}},"required":["playerCount","onlinePlayerCount","vehicleCount","playerVehicleCount"]},"FivemPlayersDailyStat":{"type":"object","properties":{"avg_count":{"type":"string"},"date":{"type":"number"},"peak_count":{"type":"number"}},"required":["avg_count","date","peak_count"]},"FivemLogStorage":{"type":"object","properties":{"name":{"type":"string"},"database":{"type":"boolean"}},"required":["name","database"]},"FivemLogStorageList":{"type":"object","properties":{"status":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"code":{"type":"number"}},"required":["message","code"]},"data":{"type":"array","items":{"$ref":"#/components/schemas/FivemLogStorage"}},"count":{"type":"number"}},"required":["status","data","count"]},"FivemLog":{"type":"object","properties":{"id":{"type":"number"},"identifier":{"anyOf":[{"type":"string","pattern":"^(char\\d+:)?([0-9a-f]{40}|(steam|license|license1|license2|discord|fivem):[0-9a-f]+|[a-zA-Z0-9]{8})$"},{"type":"string","enum":["system"]}]},"name":{"type":"string"},"message":{"type":"string"},"datetime":{"type":"number"}},"required":["id","identifier","message","datetime"]},"FivemLogList":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/FivemLog"}},"count":{"type":"integer","minimum":0}},"required":["data","count"]},"FivemJob":{"type":"object","properties":{"name":{"type":"string","example":"police"},"label":{"type":"string","example":"Police Department"}},"required":["name","label"]},"FivemJobListItem":{"allOf":[{"$ref":"#/components/schemas/FivemJob"},{"type":"object","properties":{"memberCount":{"type":"integer","minimum":0,"example":12}},"required":["memberCount"]}]},"FivemServerJobsResponse":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/FivemJobListItem"}},"status":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"code":{"type":"number"}},"required":["message","code"]}},"required":["data","status"]},"FivemJobPlayer":{"type":"object","properties":{"name":{"type":"string","example":"John Doe"},"identifier":{"type":"string","example":"steam:1100001123456"},"firstname":{"type":"string","example":"John"},"lastname":{"type":"string","example":"Doe"},"job":{"type":"string","example":"police"},"grade":{"type":"integer","example":2}},"required":["identifier","job","grade"]},"FivemServerJobPlayersPaginatedResponse":{"type":"object","properties":{"status":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"code":{"type":"number"}},"required":["message","code"]},"data":{"type":"array","items":{"$ref":"#/components/schemas/FivemJobPlayer"}},"count":{"type":"number"}},"required":["status","data","count"]},"FivemJobDetailGrade":{"type":"object","properties":{"grade":{"type":"integer"},"name":{"type":"string"},"label":{"type":"string"}},"required":["grade","name","label"]},"FivemJobNote":{"type":"object","properties":{"id":{"type":"integer"},"user":{"type":"string"},"note":{"type":"string"},"datetime":{"type":"string"}},"required":["id","user","note","datetime"]},"FivemJobWarn":{"type":"object","properties":{"id":{"type":"integer"},"user":{"type":"string"},"reason":{"type":"string"},"datetime":{"type":"string"}},"required":["id","user","reason","datetime"]},"FivemJobDetail":{"allOf":[{"$ref":"#/components/schemas/FivemJob"},{"type":"object","properties":{"memberCount":{"type":"integer"},"gradeCount":{"type":"integer"},"grades":{"type":"array","items":{"$ref":"#/components/schemas/FivemJobDetailGrade"}},"notes":{"type":"array","items":{"$ref":"#/components/schemas/FivemJobNote"},"default":[]},"warns":{"type":"array","items":{"$ref":"#/components/schemas/FivemJobWarn"},"default":[]}},"required":["memberCount","gradeCount","grades"]}]},"FivemServerJobDetailResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/FivemJobDetail"},"status":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"code":{"type":"number"}},"required":["message","code"]}},"required":["data","status"]},"FivemJobGrade":{"type":"object","properties":{"grade":{"type":"integer"},"grade_name":{"type":"string"},"label":{"type":"string"},"salary":{"type":"integer"},"users":{"type":"integer"}},"required":["grade","grade_name","label","salary","users"]},"FivemServerJobGradesResponse":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/FivemJobGrade"}},"status":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"code":{"type":"number"}},"required":["message","code"]}},"required":["data","status"]},"FivemRemovePlayerFromJob":{"type":"object","properties":{"identifier":{"type":"string","pattern":"^(char\\d+:)?([0-9a-f]{40}|(steam|license|license1|license2|discord|fivem):[0-9a-f]+|[a-zA-Z0-9]{8})$"}},"required":["identifier"]},"FivemJobGradeData":{"type":"object","properties":{"grade":{"type":"integer"},"grade_name":{"type":"string"},"label":{"type":"string"},"salary":{"type":"integer"}},"required":["grade","grade_name","label","salary"]},"FivemUpdateJob":{"type":"object","properties":{"name":{"type":"string","example":"police"},"oldname":{"type":"string","example":"police"},"label":{"type":"string","example":"Police Department"},"grades":{"type":"array","items":{"$ref":"#/components/schemas/FivemJobGradeData"}}},"required":["name"]},"FivemAddPlayerToJob":{"type":"object","properties":{"jobName":{"type":"string"},"grade":{"type":"integer"},"identifier":{"type":"string","pattern":"^(char\\d+:)?([0-9a-f]{40}|(steam|license|license1|license2|discord|fivem):[0-9a-f]+|[a-zA-Z0-9]{8})$"}},"required":["jobName","grade","identifier"]},"FivemJobNoteResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/FivemJobNote"},"status":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"code":{"type":"number"}},"required":["message","code"]}},"required":["data","status"]},"CreateFivemJobNote":{"type":"object","properties":{"jobName":{"type":"string"},"note":{"type":"string"}},"required":["jobName","note"]},"FivemJobWarnResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/FivemJobWarn"},"status":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"code":{"type":"number"}},"required":["message","code"]}},"required":["data","status"]},"CreateFivemJobWarn":{"type":"object","properties":{"jobName":{"type":"string"},"reason":{"type":"string"}},"required":["jobName","reason"]},"VoiceSessionDescription":{"type":"object","properties":{"sdp":{"type":"string"},"type":{"type":"string"}},"required":["sdp","type"]},"VoiceSession":{"type":"object","properties":{"id":{"type":"string"},"userId":{"type":"string"},"voiceChannelId":{"type":"string"},"sessionId":{"type":"string"},"createdAt":{"type":"string"},"updatedAt":{"type":"string"},"sessionDescription":{"$ref":"#/components/schemas/VoiceSessionDescription"}},"required":["id","userId","voiceChannelId","sessionId","createdAt","updatedAt"]},"VoiceServerInfo":{"type":"object","properties":{"webSocketUrl":{"type":"string"},"voiceServerUrl":{"type":"string"}},"required":["webSocketUrl","voiceServerUrl"]},"JoinGameVoiceResponse":{"type":"object","properties":{"token":{"type":"string"},"voiceSession":{"$ref":"#/components/schemas/VoiceSession"},"voiceSessions":{"type":"array","items":{"$ref":"#/components/schemas/VoiceSession"}},"voiceServerInfo":{"$ref":"#/components/schemas/VoiceServerInfo"}},"required":["token","voiceSession","voiceSessions","voiceServerInfo"]},"VoiceChannelInfo":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string","minLength":1,"maxLength":24},"teamId":{"type":"string"}},"required":["id","name","teamId"]},"VoiceRequest":{"type":"object","properties":{"id":{"type":"string"},"voiceChannelId":{"type":"string"},"token":{"type":"string"},"identifier":{"type":"string"},"userId":{"type":"string","nullable":true},"createdAt":{"type":"string"}},"required":["id","voiceChannelId","token","identifier","createdAt"]},"VoiceRequestInfo":{"allOf":[{"$ref":"#/components/schemas/VoiceRequest"},{"type":"object","properties":{"voiceUrl":{"type":"string"}},"required":["voiceUrl"]}]},"VoiceChannel":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string","minLength":1,"maxLength":24},"teamId":{"type":"string"},"secret":{"type":"string","default":"46a2532a-3927-41b3-a40c-dd5563d83b79"},"createdAt":{"type":"string"},"updatedAt":{"type":"string"}},"required":["id","name","teamId","createdAt","updatedAt"]},"VoiceChannelList":{"type":"object","properties":{"data":{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/VoiceChannel"},{"properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string","minLength":1,"maxLength":24},"teamId":{"type":"string"},"secret":{"type":"string","default":"a80b8284-fcd7-4347-8939-79dcd3a7cb00"},"createdAt":{"type":"string"},"updatedAt":{"type":"string"}}}]}},"count":{"type":"integer","minimum":0}},"required":["data","count"]},"DiscordBot":{"type":"object","properties":{"id":{"type":"string"},"teamId":{"type":"string"},"discordGuildId":{"type":"string"},"discordName":{"type":"string"},"discordSyncRoles":{"type":"boolean"},"logChannelId":{"type":"string","nullable":true},"createdAt":{"type":"string"}},"required":["id","teamId","discordGuildId","discordName","discordSyncRoles","createdAt"]},"DiscordRole":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"]},"DiscordChannel":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"]},"DiscordBotError":{"allOf":[{"$ref":"#/components/schemas/ForbiddenError"},{"type":"object","properties":{"name":{"type":"string","default":"DiscordBotError"},"messageKey":{"type":"string","default":"error.discord.missingPermission"}}}]},"DiscordWebhook":{"type":"object","properties":{"id":{"type":"string"},"token":{"type":"string"},"url":{"type":"string"}},"required":["id","token","url"]},"CreateDiscordWebhookRequest":{"type":"object","properties":{"channelId":{"type":"string"}},"required":["channelId"]},"DiscordBotInfo":{"allOf":[{"$ref":"#/components/schemas/DiscordBot"},{"type":"object","properties":{"serverName":{"type":"string"},"serverIcon":{"type":"string","format":"uri"},"memberCount":{"type":"number"}},"required":["serverName","serverIcon","memberCount"]}]},"SyncGroupsDiscordBot":{"type":"object","properties":{"groups":{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/Group"},{"type":"object","properties":{"discordSyncs":{"type":"object","nullable":true,"properties":{"discordRoleId":{"type":"string"}},"required":["discordRoleId"]}}}]}},"discordRoles":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"]}}},"required":["groups","discordRoles"]},"DiscordSync":{"type":"object","properties":{"id":{"type":"string"},"teamId":{"type":"string"},"groupId":{"type":"string"},"discordRoleId":{"type":"string"},"createdAt":{"type":"string"}},"required":["id","teamId","groupId","discordRoleId","createdAt"]},"DiscordEmbed":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"discordBotId":{"type":"string"},"embedType":{"type":"string","enum":["team-list"]},"messageId":{"type":"string"},"channelId":{"type":"string"},"discordRolePing":{"type":"boolean"},"showUserInAllGroups":{"type":"boolean","default":true},"showEmptyGroups":{"type":"boolean","default":true},"data":{"nullable":true},"createdAt":{"type":"string"},"updatedAt":{"type":"string"}},"required":["id","discordBotId","embedType","messageId","channelId","discordRolePing","createdAt","updatedAt"]},"LogChannelResponse":{"type":"object","properties":{"logChannelId":{"type":"string","nullable":true,"description":"The Discord channel ID used as log channel"}},"required":["logChannelId"]},"LogChannelRequest":{"type":"object","properties":{"channelId":{"type":"string","nullable":true,"description":"The Discord channel ID to use as log channel. If null, removes the log channel."}}},"DiscordTeamListEmbedData":{"type":"object","properties":{"members":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string","minLength":3,"maxLength":20,"pattern":"^[a-zA-Z0-9_]+$"},"groups":{"type":"array","items":{"$ref":"#/components/schemas/MinimalGroup"}},"mainGroup":{"$ref":"#/components/schemas/MainGroupInfo"},"user":{"type":"object","nullable":true,"properties":{"username":{"type":"string","minLength":3,"maxLength":20,"pattern":"^[a-zA-Z0-9_]+$"},"accounts":{"type":"array","items":{"$ref":"#/components/schemas/MinimalAccountInfo"}}},"required":["accounts"]}},"required":["id","name","groups","mainGroup"]}},"logoffs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"teamMemberId":{"type":"string","format":"uuid"},"begin":{"type":"string","nullable":true,"format":"date-time"},"end":{"type":"string","nullable":true,"format":"date-time"}},"required":["id","teamMemberId"]}},"groups":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string","minLength":2,"maxLength":24},"discordSyncs":{"type":"object","nullable":true,"properties":{"discordRoleId":{"type":"string"}},"required":["discordRoleId"]}},"required":["id","name","discordSyncs"]}}},"required":["members","logoffs","groups"]},"BackupRetention":{"type":"object","properties":{"keepLast":{"type":"number","default":0},"keepDaily":{"type":"number","default":0},"keepWeekly":{"type":"number","default":0},"keepMonthly":{"type":"number","default":0},"keepYearly":{"type":"number","default":0}}},"PostgresBackupJob":{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string","enum":["postgres"]},"name":{"type":"string"},"data":{"type":"object","properties":{"database":{"type":"string"},"user":{"type":"string"},"password":{"type":"string"},"host":{"type":"string"},"port":{"type":"number"},"encryptKey":{"type":"string"}},"required":["database","user","password","host","port","encryptKey"]},"retention":{"$ref":"#/components/schemas/BackupRetention"},"enabled":{"type":"boolean","default":true},"cronSchedule":{"type":"string","pattern":"^([\\d*/,-]+\\s){4}[\\d*/,-]+$"},"nextExecutionAt":{"type":"string","nullable":true},"size":{"type":"integer"},"createdAt":{"type":"string"},"updatedAt":{"type":"string"},"teamId":{"type":"string"}},"required":["id","type","name","data","retention","cronSchedule","size","createdAt","updatedAt","teamId"]},"MySQLBackupJob":{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string","enum":["mysql"]},"name":{"type":"string"},"data":{"type":"object","properties":{"database":{"type":"string"},"user":{"type":"string"},"password":{"type":"string"},"host":{"type":"string"},"port":{"type":"number"},"encryptKey":{"type":"string"}},"required":["database","user","password","host","port","encryptKey"]},"retention":{"$ref":"#/components/schemas/BackupRetention"},"enabled":{"type":"boolean","default":true},"cronSchedule":{"type":"string","pattern":"^([\\d*/,-]+\\s){4}[\\d*/,-]+$"},"nextExecutionAt":{"type":"string","nullable":true},"size":{"type":"integer"},"createdAt":{"type":"string"},"updatedAt":{"type":"string"},"teamId":{"type":"string"}},"required":["id","type","name","data","retention","cronSchedule","size","createdAt","updatedAt","teamId"]},"SystemBackupJob":{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string","enum":["system"]},"name":{"type":"string"},"data":{"type":"object","properties":{"host":{"type":"string"},"port":{"type":"number"},"user":{"type":"string"},"paths":{"type":"array","items":{"type":"string","minLength":1},"maxItems":25},"excludePaths":{"type":"array","items":{"type":"string","minLength":1},"maxItems":25},"encryptKey":{"type":"string"}},"required":["host","port","user","paths","encryptKey"]},"retention":{"$ref":"#/components/schemas/BackupRetention"},"enabled":{"type":"boolean","default":true},"cronSchedule":{"type":"string","pattern":"^([\\d*/,-]+\\s){4}[\\d*/,-]+$"},"nextExecutionAt":{"type":"string","nullable":true},"size":{"type":"integer"},"createdAt":{"type":"string"},"updatedAt":{"type":"string"},"teamId":{"type":"string"}},"required":["id","type","name","data","retention","cronSchedule","size","createdAt","updatedAt","teamId"]},"BackupJob":{"oneOf":[{"$ref":"#/components/schemas/PostgresBackupJob"},{"$ref":"#/components/schemas/MySQLBackupJob"},{"$ref":"#/components/schemas/SystemBackupJob"}],"discriminator":{"propertyName":"type","mapping":{"postgres":"#/components/schemas/PostgresBackupJob","mysql":"#/components/schemas/MySQLBackupJob","system":"#/components/schemas/SystemBackupJob"}}},"BackupJobList":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/BackupJob"}},"count":{"type":"integer","minimum":0}},"required":["data","count"]},"BackupTask":{"type":"object","properties":{"id":{"type":"string"},"state":{"type":"string","enum":["SUCCESS","QUEUE","PROCESSING","ERROR"],"default":"QUEUE"},"data":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","enum":["restore"]},"restoreKey":{"type":"string"},"path":{"type":"string"},"console":{"type":"string"}},"required":["type","restoreKey"]},{"type":"object","properties":{"type":{"type":"string","enum":["backup"]},"restoreKey":{"type":"string"},"filename":{"type":"string"},"size":{"type":"number"},"console":{"type":"string"}},"required":["type"]},{"type":"object","properties":{"type":{"type":"string","enum":["delete"]},"identifier":{"type":"string"},"console":{"type":"string"}},"required":["type"]}]},"jobId":{"type":"string"},"plannedAt":{"type":"string","nullable":true},"startedAt":{"type":"string","nullable":true},"finishedAt":{"type":"string","nullable":true},"createdAt":{"type":"string"},"updatedAt":{"type":"string"}},"required":["id","data","jobId","createdAt","updatedAt"]},"BackupJobWithTasks":{"allOf":[{"$ref":"#/components/schemas/BackupJob"},{"type":"object","properties":{"tasks":{"type":"array","items":{"$ref":"#/components/schemas/BackupTask"}}},"required":["tasks"]}]},"BackupJobWithTasksList":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/BackupJobWithTasks"}},"count":{"type":"integer","minimum":0}},"required":["data","count"]},"BackupTaskList":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/BackupTask"}},"count":{"type":"integer","minimum":0}},"required":["data","count"]},"BackupTaskInfo":{"allOf":[{"$ref":"#/components/schemas/BackupTask"},{"type":"object","properties":{"job":{"$ref":"#/components/schemas/BackupJob"}},"required":["job"]}]},"SupportCategory":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"teamId":{"type":"string"},"name":{"type":"string","minLength":1},"color":{"type":"string","nullable":true},"icon":{"type":"string","nullable":true},"archived":{"type":"boolean"},"createdAt":{"type":"string"},"updatedAt":{"type":"string"}},"required":["id","teamId","name","archived","createdAt","updatedAt"]},"SupportIssue":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"title":{"type":"string","minLength":1},"description":{"type":"string","nullable":true},"target":{"type":"string","minLength":1},"status":{"type":"string","enum":["OPEN","IN_PROGRESS","WAITING","RESOLVED","CANCELED"]},"priority":{"type":"string","enum":["LOW","NORMAL","HIGH","URGENT"]},"teamId":{"type":"string","format":"uuid"},"categoryId":{"type":"string","format":"uuid"},"teamMemberId":{"type":"string","format":"uuid"},"archived":{"type":"boolean"},"createdAt":{"type":"string"},"updatedAt":{"type":"string"},"finishedAt":{"type":"string","nullable":true}},"required":["id","title","target","status","priority","teamId","categoryId","teamMemberId","archived","createdAt","updatedAt"]},"SupportIssueInfo":{"allOf":[{"$ref":"#/components/schemas/SupportIssue"},{"type":"object","properties":{"teamMember":{"$ref":"#/components/schemas/TeamMemberShortInfo"},"category":{"$ref":"#/components/schemas/SupportCategory"},"memberAssignees":{"type":"array","items":{"$ref":"#/components/schemas/TeamMemberShortInfo"}},"groupAssignees":{"type":"array","items":{"$ref":"#/components/schemas/MinimalGroup"}}},"required":["teamMember","category","memberAssignees","groupAssignees"]}]},"SupportIssueInfoList":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/SupportIssueInfo"}},"count":{"type":"integer","minimum":0}},"required":["data","count"]},"SearchSupportIssue":{"type":"object","properties":{"priority":{"type":"string","enum":["LOW","NORMAL","HIGH","URGENT"]},"status":{"type":"string","enum":["OPEN","IN_PROGRESS","WAITING","RESOLVED","CANCELED"]},"categoryId":{"type":"string","format":"uuid"},"archived":{"type":"boolean"},"teamMemberId":{"type":"string","format":"uuid"},"search":{"type":"string"},"groupId":{"type":"string","format":"uuid"}}},"SupportIssuesStatusBreakdown":{"type":"object","properties":{"total":{"type":"number"},"byStatus":{"type":"object","additionalProperties":{"type":"number"}}},"required":["total","byStatus"]},"SupportIssuesTendByStatusPoint":{"allOf":[{"$ref":"#/components/schemas/SupportIssuesStatusBreakdown"},{"type":"object","properties":{"date":{"type":"string"}},"required":["date"]}]},"SupportIssuesTrendWithStatus":{"type":"object","properties":{"overall":{"$ref":"#/components/schemas/SupportIssuesStatusBreakdown"},"daily":{"type":"array","items":{"$ref":"#/components/schemas/SupportIssuesTendByStatusPoint"}}},"required":["overall","daily"]},"SupportCategoryList":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/SupportCategory"}},"count":{"type":"integer","minimum":0}},"required":["data","count"]},"TodoBoard":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"teamId":{"type":"string"},"name":{"type":"string","minLength":1},"slug":{"type":"string","minLength":1,"maxLength":3,"pattern":"^[A-Z]{1,3}$"},"description":{"type":"string","nullable":true},"color":{"type":"string","nullable":true},"icon":{"type":"string","nullable":true},"archived":{"type":"boolean"},"createdAt":{"type":"string"},"updatedAt":{"type":"string"}},"required":["id","teamId","name","slug","archived","createdAt","updatedAt"]},"TodoBoardListItem":{"allOf":[{"$ref":"#/components/schemas/TodoBoard"},{"type":"object","properties":{"memberAssignees":{"type":"array","items":{"$ref":"#/components/schemas/TeamMemberShortInfo"}},"groupAssignees":{"type":"array","items":{"$ref":"#/components/schemas/MinimalGroup"}},"openTodos":{"type":"integer","minimum":0},"memberCount":{"type":"integer","minimum":0}},"required":["memberAssignees","groupAssignees","openTodos","memberCount"]}]},"TodoBoardWithMetaList":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/TodoBoardListItem"}},"count":{"type":"integer","minimum":0}},"required":["data","count"]},"UpdateTodoBoard":{"type":"object","properties":{"name":{"type":"string","minLength":1},"description":{"type":"string","nullable":true},"color":{"type":"string","nullable":true},"icon":{"type":"string","nullable":true},"slug":{"type":"string","minLength":1,"maxLength":3,"pattern":"^[A-Z]{1,3}$"},"memberAssigneeIds":{"type":"array","items":{"type":"string","format":"uuid"}},"groupAssigneeIds":{"type":"array","items":{"type":"string","format":"uuid"}},"memberPermissions":{"type":"array","items":{"type":"object","properties":{"teamMemberId":{"type":"string","format":"uuid"},"permission":{"type":"string","enum":["READ","WRITE","ADMIN"]}},"required":["teamMemberId","permission"]}},"groupPermissions":{"type":"array","items":{"type":"object","properties":{"groupId":{"type":"string","format":"uuid"},"permission":{"type":"string","enum":["READ","WRITE","ADMIN"]}},"required":["groupId","permission"]}}}},"TodoStatus":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"boardId":{"type":"string"},"name":{"type":"string","minLength":1},"color":{"type":"string","nullable":true},"order":{"type":"integer"},"isDefault":{"type":"boolean"},"isFinal":{"type":"boolean"},"archived":{"type":"boolean"},"createdAt":{"type":"string"},"updatedAt":{"type":"string"}},"required":["id","boardId","name","order","isDefault","isFinal","archived","createdAt","updatedAt"]},"TodoBoardInfo":{"allOf":[{"$ref":"#/components/schemas/TodoBoard"},{"type":"object","properties":{"memberAssignees":{"type":"array","items":{"$ref":"#/components/schemas/TeamMemberShortInfo"}},"groupAssignees":{"type":"array","items":{"$ref":"#/components/schemas/MinimalGroup"}},"statuses":{"type":"array","items":{"$ref":"#/components/schemas/TodoStatus"}},"memberPermissions":{"type":"array","items":{"type":"object","properties":{"teamMember":{"$ref":"#/components/schemas/TeamMemberShortInfo"},"permission":{"type":"string","enum":["WRITE","ADMIN"]}},"required":["teamMember","permission"]}},"groupPermissions":{"type":"array","items":{"type":"object","properties":{"group":{"$ref":"#/components/schemas/MinimalGroup"},"permission":{"type":"string","enum":["WRITE","ADMIN"]}},"required":["group","permission"]}},"memberCount":{"type":"integer","minimum":0}},"required":["memberAssignees","groupAssignees","statuses","memberPermissions","groupPermissions","memberCount"]}]},"TeamMemberShortInfoWithAccounts":{"allOf":[{"$ref":"#/components/schemas/TeamMemberShortInfo"},{"type":"object","properties":{"user":{"type":"object","nullable":true,"properties":{"accounts":{"type":"array","items":{"$ref":"#/components/schemas/MinimalAccountInfo"},"default":[]}}}}}]},"TeamTagMinimal":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string"},"slug":{"type":"string"},"color":{"type":"string","nullable":true},"icon":{"type":"string","nullable":true}},"required":["id","name","slug"]},"Todo":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"title":{"type":"string","minLength":1},"description":{"type":"string","nullable":true},"priority":{"type":"string","enum":["LOW","NORMAL","HIGH","URGENT"]},"boardId":{"type":"string"},"number":{"type":"integer"},"statusId":{"type":"string"},"createdByTeamMemberId":{"type":"string","nullable":true},"startAt":{"type":"string","nullable":true},"dueAt":{"type":"string","nullable":true},"finishedAt":{"type":"string","nullable":true},"position":{"type":"integer"},"archived":{"type":"boolean"},"createdAt":{"type":"string"},"updatedAt":{"type":"string"}},"required":["id","title","priority","boardId","number","statusId","position","archived","createdAt","updatedAt"]},"TodoInfo":{"allOf":[{"$ref":"#/components/schemas/Todo"},{"type":"object","properties":{"status":{"$ref":"#/components/schemas/TodoStatus"},"memberAssignees":{"type":"array","items":{"$ref":"#/components/schemas/TeamMemberShortInfoWithAccounts"}},"groupAssignees":{"type":"array","items":{"$ref":"#/components/schemas/MinimalGroup"}},"tags":{"type":"array","items":{"$ref":"#/components/schemas/TeamTagMinimal"}},"subscribers":{"type":"array","items":{"$ref":"#/components/schemas/TeamMemberShortInfo"}}},"required":["status","memberAssignees","groupAssignees","tags","subscribers"]}]},"TodoInfoList":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/TodoInfo"}},"count":{"type":"integer","minimum":0}},"required":["data","count"]},"TodoInfoListWithGlobalCount":{"allOf":[{"$ref":"#/components/schemas/TodoInfoList"},{"type":"object","properties":{"globalTodoCount":{"type":"integer","minimum":0}},"required":["globalTodoCount"]}]},"CreateTodoStatus":{"type":"object","properties":{"name":{"type":"string","minLength":1},"color":{"type":"string","nullable":true},"order":{"type":"integer"},"isDefault":{"type":"boolean"},"isFinal":{"type":"boolean"}},"required":["name"]},"UpdateTodoStatus":{"type":"object","properties":{"name":{"type":"string","minLength":1},"color":{"type":"string","nullable":true},"order":{"type":"integer"},"isDefault":{"type":"boolean"},"isFinal":{"type":"boolean"}}},"ReorderTodoStatuses":{"type":"object","properties":{"orders":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"order":{"type":"integer"}},"required":["id","order"]},"minItems":1}},"required":["orders"]},"BulkArchiveTodosResponse":{"type":"object","properties":{"count":{"type":"integer"}},"required":["count"]},"BulkArchiveTodos":{"type":"object","properties":{"statusId":{"type":"string","format":"uuid"}},"required":["statusId"]},"UpdateTodoResponse":{"type":"object","properties":{"todo":{"$ref":"#/components/schemas/TodoInfo"},"oldTodo":{"$ref":"#/components/schemas/TodoInfo"}},"required":["todo","oldTodo"]},"UpdateTodo":{"type":"object","properties":{"title":{"type":"string","minLength":1},"description":{"type":"string","nullable":true},"priority":{"type":"string","enum":["LOW","NORMAL","HIGH","URGENT"]},"statusId":{"type":"string","format":"uuid"},"memberAssigneeIds":{"type":"array","items":{"type":"string","format":"uuid"}},"groupAssigneeIds":{"type":"array","items":{"type":"string","format":"uuid"}},"tagIds":{"type":"array","items":{"type":"string","format":"uuid"}},"subscriberIds":{"type":"array","items":{"type":"string","format":"uuid"}},"subscribe":{"type":"boolean"},"startAt":{"type":"string","nullable":true,"format":"date-time"},"dueAt":{"type":"string","nullable":true,"format":"date-time"},"addSubscriberIds":{"type":"array","items":{"type":"string","format":"uuid"}},"removeSubscriberIds":{"type":"array","items":{"type":"string","format":"uuid"}}}},"ArchiveTodo":{"type":"object","properties":{"archived":{"type":"boolean","default":true}}},"TodoComment":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"todoId":{"type":"string"},"teamMemberId":{"type":"string"},"body":{"type":"string","minLength":1},"createdAt":{"type":"string"},"updatedAt":{"type":"string"}},"required":["id","todoId","teamMemberId","body","createdAt","updatedAt"]},"TodoCommentInfo":{"allOf":[{"$ref":"#/components/schemas/TodoComment"},{"type":"object","properties":{"teamMember":{"$ref":"#/components/schemas/TeamMemberShortInfo"}},"required":["teamMember"]}]},"TodoTimelineItem":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"createdAt":{"type":"string","format":"date-time"},"kind":{"type":"string","enum":["comment","activity"]},"comment":{"$ref":"#/components/schemas/TodoCommentInfo"},"activity":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"createdAt":{"type":"string"},"type":{"type":"string","enum":["STATUS_CHANGED","DUE_AT_CHANGED","START_AT_CHANGED","PRIORITY_CHANGED","TITLE_CHANGED","DESCRIPTION_CHANGED","MEMBER_ADDED","MEMBER_REMOVED","TAGS_CHANGED"]},"field":{"type":"string","nullable":true},"oldValue":{"type":"string","nullable":true},"newValue":{"type":"string","nullable":true},"teamMember":{"$ref":"#/components/schemas/TeamMemberShortInfo"}},"required":["id","createdAt","type","teamMember"]}},"required":["id","createdAt","kind"]},"TodoTimelineList":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/TodoTimelineItem"}},"count":{"type":"integer","minimum":0}},"required":["data","count"]},"MoveTodo":{"type":"object","properties":{"targetBoardId":{"type":"string","format":"uuid"},"targetStatusId":{"type":"string","format":"uuid"}},"required":["targetBoardId"]},"TodoCommentInfoList":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/TodoCommentInfo"}},"count":{"type":"integer","minimum":0}},"required":["data","count"]},"CreateTodoComment":{"type":"object","properties":{"todoId":{"type":"string","format":"uuid"},"body":{"type":"string","minLength":1},"teamMemberId":{"type":"string","format":"uuid"}},"required":["todoId","body"]},"AdminGlobalSearchResponse":{"type":"object","properties":{"users":{"type":"array","items":{"$ref":"#/components/schemas/User"}},"teams":{"type":"array","items":{"$ref":"#/components/schemas/Team"}}},"required":["users","teams"]},"AdminPaginatedSubscriptions":{"type":"object","properties":{"data":{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/Subscription"},{"type":"object","properties":{"team":{"allOf":[{"$ref":"#/components/schemas/Team"},{"nullable":true}]},"user":{"allOf":[{"$ref":"#/components/schemas/User"},{"nullable":true}]}},"required":["team","user"]}]}},"count":{"type":"integer","minimum":0}},"required":["data","count"]},"AdminPaginatedUsers":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/User"}},"count":{"type":"integer","minimum":0}},"required":["data","count"]},"AdminUserDetails":{"allOf":[{"$ref":"#/components/schemas/User"},{"type":"object","properties":{"accounts":{"type":"array","items":{"nullable":true}},"sessions":{"type":"array","items":{"nullable":true}},"teamMembers":{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/TeamMember"},{"type":"object","properties":{"team":{"$ref":"#/components/schemas/Team"}},"required":["team"]}]}}},"required":["accounts","sessions","teamMembers"]}]},"AdminUpdateUser":{"type":"object","properties":{"username":{"type":"string","minLength":3,"maxLength":20,"pattern":"^[a-zA-Z0-9_]+$"},"email":{"type":"string","format":"email"},"disabled":{"type":"boolean"},"permissions":{"type":"array","items":{"type":"string","enum":["admin.superadmin","admin.access","admin.users.view","admin.users.edit","admin.users.edit.permission","admin.teams.view","admin.teams.self-invite","admin.teams.activate","admin.subscriptions.view","admin.global.search","admin.stats.view","admin.plans.view","admin.plans.edit","admin.plans.delete","admin.maintenance.run"]}}}},"AdminPaginatedTeams":{"type":"object","properties":{"data":{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/Team"},{"type":"object","properties":{"_count":{"type":"object","properties":{"teamMembers":{"type":"number"}},"required":["teamMembers"]}},"required":["_count"]}]}},"count":{"type":"integer","minimum":0}},"required":["data","count"]},"AdminTeamModule":{"type":"object","properties":{"moduleId":{"type":"string"},"active":{"type":"boolean"}},"required":["moduleId","active"]},"AdminTeamSubscriptionInfo":{"type":"object","nullable":true,"properties":{"id":{"type":"string"},"type":{"type":"string"},"priceId":{"type":"string"},"createdAt":{"type":"string","nullable":true},"nextPaymentAt":{"type":"string","nullable":true},"endsAt":{"type":"string","nullable":true},"canceledAt":{"type":"string","nullable":true},"churnRisk":{"type":"boolean"}},"required":["id","type","priceId","createdAt","nextPaymentAt","endsAt","canceledAt","churnRisk"]},"AdminTeamOwner":{"type":"object","nullable":true,"properties":{"id":{"type":"string"},"userId":{"type":"string"},"name":{"type":"string"},"email":{"type":"string"}},"required":["id","userId","name","email"]},"AdminDailyActiveUsersEntry":{"type":"object","properties":{"date":{"type":"string"},"count":{"type":"number"}},"required":["date","count"]},"AdminTeamDetails":{"allOf":[{"$ref":"#/components/schemas/Team"},{"type":"object","properties":{"games":{"type":"array","items":{"nullable":true}},"modules":{"type":"array","items":{"$ref":"#/components/schemas/AdminTeamModule"}},"discordBotLinked":{"type":"boolean"},"subscription":{"$ref":"#/components/schemas/AdminTeamSubscriptionInfo"},"memberCount":{"type":"number"},"owner":{"$ref":"#/components/schemas/AdminTeamOwner"},"lastActivity":{"type":"string","nullable":true},"engagementScore":{"type":"number"},"churnCandidate":{"type":"boolean"},"uniqueActiveMembers30Days":{"type":"number"},"dailyActiveUsers":{"type":"array","items":{"$ref":"#/components/schemas/AdminDailyActiveUsersEntry"}},"dauTrend":{"type":"string","enum":["rising","falling","stable"]}},"required":["games","modules","discordBotLinked","subscription","memberCount","owner","lastActivity","engagementScore","churnCandidate","uniqueActiveMembers30Days","dailyActiveUsers","dauTrend"]}]},"AdminSelfInviteResponse":{"type":"object","properties":{"teamMemberId":{"type":"string"},"expiresAt":{"type":"string","format":"date-time"},"message":{"type":"string"}},"required":["teamMemberId","expiresAt","message"]},"AdminTeamMemberItem":{"allOf":[{"$ref":"#/components/schemas/TeamMember"},{"type":"object","properties":{"user":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"username":{"type":"string","minLength":3,"maxLength":20,"pattern":"^[a-zA-Z0-9_]+$"},"email":{"type":"string","format":"email"},"image":{"type":"string","nullable":true}},"required":["id","username","email"]}},"required":["user"]}]},"AdminPaginatedTeamMembers":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/AdminTeamMemberItem"}},"count":{"type":"integer","minimum":0}},"required":["data","count"]},"AdminTeamLogEntry":{"type":"object","properties":{"id":{"type":"string"},"action":{"type":"string"},"data":{"nullable":true},"createdAt":{"type":"string","nullable":true},"teamMember":{"type":"object","nullable":true,"properties":{"id":{"type":"string"},"name":{"type":"string"},"image":{"type":"string","nullable":true}},"required":["id","name","image"]},"targetTeamMember":{"type":"object","nullable":true,"properties":{"id":{"type":"string"},"name":{"type":"string"},"image":{"type":"string","nullable":true}},"required":["id","name","image"]}},"required":["id","action","createdAt","teamMember","targetTeamMember"]},"AdminPaginatedTeamLogs":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/AdminTeamLogEntry"}},"count":{"type":"integer","minimum":0}},"required":["data","count"]},"AdminSetTeamActiveResponse":{"type":"object","properties":{"id":{"type":"string"},"isActive":{"type":"boolean"}},"required":["id","isActive"]},"AdminSetTeamActive":{"type":"object","properties":{"active":{"type":"boolean"}},"required":["active"]},"AdminStatsHistory":{"type":"object","properties":{"users":{"type":"array","items":{"type":"object","properties":{"date":{"type":"string"},"count":{"type":"number"}},"required":["date","count"]}},"teams":{"type":"array","items":{"type":"object","properties":{"date":{"type":"string"},"count":{"type":"number"}},"required":["date","count"]}}},"required":["users","teams"]},"AdminPlan":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"slug":{"type":"string"},"color":{"type":"string"},"level":{"type":"integer"},"monthlyPriceIds":{"type":"array","items":{"type":"string"}},"yearlyPriceIds":{"type":"array","items":{"type":"string"}},"monthlyPrice":{"type":"integer"},"yearlyPrice":{"type":"integer"},"isPublic":{"type":"boolean","default":true},"isDefault":{"type":"boolean"},"position":{"type":"integer"},"limits":{"$ref":"#/components/schemas/PlanLimits"},"createdAt":{"type":"string"},"updatedAt":{"type":"string"}},"required":["id","name","slug","color","level","monthlyPriceIds","yearlyPriceIds","monthlyPrice","yearlyPrice","isDefault","position","limits","createdAt","updatedAt"]},"AdminPaginatedPlans":{"type":"object","properties":{"data":{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/AdminPlan"},{"type":"object","properties":{"_count":{"type":"object","properties":{"teams":{"type":"number"}},"required":["teams"]}},"required":["_count"]}]}},"count":{"type":"integer","minimum":0}},"required":["data","count"]},"AdminPlanDetails":{"allOf":[{"$ref":"#/components/schemas/AdminPlan"},{"type":"object","properties":{"_count":{"type":"object","properties":{"teams":{"type":"number"},"subscriptions":{"type":"number"}},"required":["teams","subscriptions"]}},"required":["_count"]}]},"AdminCreatePlan":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":255},"slug":{"type":"string","minLength":1,"maxLength":64,"pattern":"^[a-z0-9-]+$"},"color":{"type":"string","minLength":1,"maxLength":16},"level":{"type":"integer","default":0},"monthlyPriceIds":{"type":"array","items":{"type":"string"},"default":[]},"yearlyPriceIds":{"type":"array","items":{"type":"string"},"default":[]},"monthlyPrice":{"type":"integer","default":0},"yearlyPrice":{"type":"integer","default":0},"isPublic":{"type":"boolean","default":true},"isDefault":{"type":"boolean","default":false},"position":{"type":"integer","default":0},"limits":{"$ref":"#/components/schemas/PlanLimits"}},"required":["name","slug","color","limits"]},"AdminUpdatePlan":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":255},"slug":{"type":"string","minLength":1,"maxLength":64,"pattern":"^[a-z0-9-]+$"},"color":{"type":"string","minLength":1,"maxLength":16},"level":{"type":"integer","default":0},"monthlyPriceIds":{"type":"array","items":{"type":"string"},"default":[]},"yearlyPriceIds":{"type":"array","items":{"type":"string"},"default":[]},"monthlyPrice":{"type":"integer","default":0},"yearlyPrice":{"type":"integer","default":0},"isPublic":{"type":"boolean","default":true},"isDefault":{"type":"boolean","default":false},"position":{"type":"integer","default":0},"limits":{"$ref":"#/components/schemas/PlanLimits"}}},"AdminDeletePlanResponse":{"type":"object","properties":{"id":{"type":"string"},"deleted":{"type":"boolean"}},"required":["id","deleted"]},"AdminMaintenanceScriptItem":{"type":"object","properties":{"id":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"category":{"type":"string","enum":["data-fix","validation"]},"supportsDryRun":{"type":"boolean"},"supportsBatch":{"type":"boolean"},"defaultBatchSize":{"type":"integer","minimum":0,"exclusiveMinimum":true},"resultListKeys":{"type":"array","items":{"type":"string"}}},"required":["id","title","description","category","supportsDryRun","supportsBatch"]},"AdminMaintenanceScriptList":{"type":"object","properties":{"scripts":{"type":"array","items":{"$ref":"#/components/schemas/AdminMaintenanceScriptItem"}}},"required":["scripts"]},"TeamPanelPermsError":{"allOf":[{"$ref":"#/components/schemas/TeamPanelError"},{"type":"object","properties":{"name":{"type":"string","default":"TeamPanelPermsError"},"message":{"type":"string","default":"Missing required permission."},"status":{"type":"number","default":403},"messageKey":{"type":"string","default":"error.permission.missing"}}}]},"AdminMaintenanceBatchProgress":{"type":"object","properties":{"done":{"type":"boolean"},"nextCursor":{"type":"string","nullable":true},"batchSize":{"type":"integer"},"batchScanned":{"type":"integer"}},"required":["done","nextCursor","batchSize","batchScanned"]},"AdminMaintenanceRunResult":{"type":"object","properties":{"scriptId":{"type":"string"},"dryRun":{"type":"boolean"},"progress":{"$ref":"#/components/schemas/AdminMaintenanceBatchProgress"},"result":{"nullable":true}},"required":["scriptId","dryRun","progress"]}},"parameters":{}},"paths":{"/status":{"get":{"operationId":"getStatus","tags":["status"],"responses":{"200":{"description":"Service status, build version, and database check","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string","enum":["ok","degraded","unavailable"]},"service":{"type":"string"},"version":{"type":"object","properties":{"semver":{"type":"string"},"revision":{"type":"string"},"label":{"type":"string"}},"required":["semver","revision","label"]},"builtAt":{"type":"string"},"uptimeSeconds":{"type":"number"},"checks":{"type":"object","additionalProperties":{"type":"object","properties":{"ok":{"type":"boolean"},"message":{"type":"string"}},"required":["ok"]}},"success":{"type":"boolean"},"message":{"type":"string"}},"required":["status","service","version","builtAt","uptimeSeconds"]}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string","enum":["ok","degraded","unavailable"]},"service":{"type":"string"},"version":{"type":"object","properties":{"semver":{"type":"string"},"revision":{"type":"string"},"label":{"type":"string"}},"required":["semver","revision","label"]},"builtAt":{"type":"string"},"uptimeSeconds":{"type":"number"},"checks":{"type":"object","additionalProperties":{"type":"object","properties":{"ok":{"type":"boolean"},"message":{"type":"string"}},"required":["ok"]}},"success":{"type":"boolean"},"message":{"type":"string"}},"required":["status","service","version","builtAt","uptimeSeconds"]}}}}},"security":[{"sessionToken":[]},{"teamApiKey":[]}]}},"/v1/team/get/{teamId}":{"get":{"operationId":"getTeam","tags":["teams"],"security":[{"sessionToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"},{"schema":{"type":"boolean","nullable":true},"required":false,"name":"useCache","in":"query"}],"responses":{"200":{"description":"Team details","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Team"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}}},"/v1/team/update/{teamId}":{"patch":{"operationId":"updateTeam","tags":["teams"],"security":[{"sessionToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":2,"maxLength":24},"locale":{"type":"string"},"timezone":{"type":"string"},"setup":{"type":"boolean"}}}}}},"responses":{"200":{"description":"Team updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Team"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}}},"/v1/team/plans":{"get":{"operationId":"getPublicPlans","tags":["teams"],"responses":{"200":{"description":"List of public plans including limits","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Plan"}}}}}},"security":[{"sessionToken":[]},{"teamApiKey":[]}]}},"/v1/team/{teamId}/members/members":{"get":{"operationId":"getTeamMembers","tags":["members"],"security":[{"accessToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"},{"schema":{"type":"number","nullable":true},"required":false,"name":"pageNumber","in":"header"},{"schema":{"type":"number","nullable":true},"required":false,"name":"pageSize","in":"header"},{"schema":{"type":"boolean","nullable":true},"required":false,"name":"discordSync","in":"header"},{"schema":{"type":"boolean","nullable":true},"required":false,"name":"archived","in":"header"}],"responses":{"200":{"description":"List of team members","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamMemberInfo2List"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}}},"/v1/team/{teamId}/members/members/count":{"get":{"operationId":"getTeamMembersCount","tags":["members"],"security":[{"accessToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"}],"responses":{"200":{"description":"Count of team members","content":{"application/json":{"schema":{"type":"object","properties":{"count":{"type":"number"}},"required":["count"]}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}}},"/v1/team/{teamId}/members/member/{teamMemberId}":{"get":{"operationId":"getMember","tags":["members"],"security":[{"sessionToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"},{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamMemberId","in":"path"}],"responses":{"200":{"description":"Team member details","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamMemberInfo"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}}},"/v1/team/{teamId}/members/member/{teamMemberId}/files":{"get":{"operationId":"getMemberTeamFiles","tags":["members"],"security":[{"sessionToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"},{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamMemberId","in":"path"},{"schema":{"type":"number","nullable":true},"required":false,"name":"pageNumber","in":"header"},{"schema":{"type":"number","nullable":true},"required":false,"name":"pageSize","in":"header"}],"responses":{"200":{"description":"List of files targeted to the member","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamFileList"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}}},"/v1/team/{teamId}/members/member/{teamMemberId}/kick":{"post":{"operationId":"kickMember","tags":["members"],"security":[{"sessionToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"},{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamMemberId","in":"path"}],"responses":{"200":{"description":"Team member details","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/TeamMember"},{"type":"object","properties":{"hasAccesses":{"type":"boolean"}},"required":["hasAccesses"]}]}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}}},"/v1/team/{teamId}/members/member":{"get":{"operationId":"getMe","tags":["members"],"security":[{"accessToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"},{"schema":{"type":"boolean","nullable":true},"required":false,"name":"selected","in":"query"}],"responses":{"200":{"description":"Current team member details","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MeTeamInfo"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}},"428":{"description":"TeamPanelError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamPanelError"}}}}}}},"/v1/team/{teamId}/members/check-team":{"get":{"operationId":"checkTeamInfo","tags":["members"],"security":[{"sessionToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"}],"responses":{"200":{"description":"Current team member details","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamJoinInfo"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}},"428":{"description":"TeamPanelError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamPanelError"}}}}}}},"/v1/team/{teamId}/members/member-mini":{"get":{"operationId":"getMinimalMe","tags":["members"],"security":[{"sessionToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"}],"responses":{"200":{"description":"Current team member details","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamMemberMinimalInfo"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}}},"/v1/team/{teamId}/members/member-name":{"post":{"operationId":"updateMemberName","tags":["members"],"security":[{"sessionToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":3,"maxLength":20,"pattern":"^[a-zA-Z0-9_]+$"}},"required":["name"]}}}},"responses":{"200":{"description":"Current team member details","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamMember"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}}},"/v1/team/{teamId}/members/member/{teamMemberId}/details":{"post":{"operationId":"updateMemberDetails","tags":["members"],"security":[{"sessionToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"},{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamMemberId","in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"joinedTeamAt":{"type":"string","format":"date-time"},"name":{"type":"string","minLength":3,"maxLength":20,"pattern":"^[a-zA-Z0-9_]+$"}}}}}},"responses":{"200":{"description":"Current team member details","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamMember"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}}},"/v1/team/{teamId}/members/member/{teamMemberId}/notes":{"get":{"operationId":"getMemberNotes","tags":["members"],"security":[{"sessionToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"},{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamMemberId","in":"path"}],"responses":{"200":{"description":"Team member details","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TeamMemberNoteInfo"}}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}},"post":{"operationId":"createMemberNote","tags":["members"],"security":[{"sessionToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"},{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamMemberId","in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"note":{"type":"string","minLength":1}},"required":["note"]}}}},"responses":{"200":{"description":"Team member details","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamMemberNoteInfo"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}}},"/v1/team/{teamId}/members/member/{teamMemberId}/notes/{id}":{"delete":{"operationId":"deleteMemberNote","tags":["members"],"security":[{"sessionToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"},{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamMemberId","in":"path"},{"schema":{"type":"string","format":"uuid"},"required":true,"name":"id","in":"path"}],"responses":{"200":{"description":"Team member details","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamMemberNote"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}}},"/v1/team/{teamId}/personalnote":{"get":{"operationId":"getPersonalNote","tags":["members"],"security":[{"sessionToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"}],"responses":{"200":{"description":"Team member details","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamMember"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}},"post":{"operationId":"updatePersonalNote","tags":["members"],"security":[{"sessionToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"personalNote":{"type":"string","minLength":0}},"required":["personalNote"]}}}},"responses":{"200":{"description":"Team member details","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamMember"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}}},"/v1/team/{teamId}/groups/groups":{"get":{"operationId":"getGroups","tags":["groups"],"security":[{"accessToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"},{"schema":{"type":"boolean","nullable":true},"required":false,"name":"useCache","in":"query"},{"schema":{"type":"boolean","nullable":true},"required":false,"name":"discordSync","in":"header"}],"responses":{"200":{"description":"List of groups","content":{"application/json":{"schema":{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/Group"},{"type":"object","properties":{"discordSyncs":{"type":"object","nullable":true,"properties":{"discordRoleId":{"type":"string"}},"required":["discordRoleId"]}},"required":["discordSyncs"]}]}}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}},"put":{"operationId":"updateGroups","tags":["groups"],"security":[{"sessionToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"groups":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"sort":{"type":"number"}},"required":["id","sort"]}}},"required":["groups"]}}}},"responses":{"200":{"description":"Groups updated","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Group"}}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}}},"/v1/team/{teamId}/groups/groups/own":{"get":{"operationId":"getOwnGroups","tags":["groups"],"security":[{"sessionToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"},{"schema":{"type":"boolean","nullable":true},"required":false,"name":"useCache","in":"query"}],"responses":{"200":{"description":"List of groups","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Group"}}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}}},"/v1/team/{teamId}/groups/group/{groupId}":{"get":{"operationId":"getGroup","tags":["groups"],"security":[{"sessionToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"},{"schema":{"type":"string","format":"uuid"},"required":true,"name":"groupId","in":"path"},{"schema":{"type":"boolean","nullable":true},"required":false,"name":"useCache","in":"query"}],"responses":{"200":{"description":"Group details","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Group"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}},"patch":{"operationId":"updateGroup","tags":["groups"],"security":[{"sessionToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"},{"schema":{"type":"string","format":"uuid"},"required":true,"name":"groupId","in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":2,"maxLength":24},"color":{"type":"string","pattern":"^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$"},"permissions":{"type":"array","items":{"type":"string"}}},"required":["name","color"]}}}},"responses":{"200":{"description":"Group updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Group"}}}},"402":{"description":"TeamLimitError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamLimitError"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}},"delete":{"operationId":"deleteGroup","tags":["groups"],"security":[{"sessionToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"},{"schema":{"type":"string","format":"uuid"},"required":true,"name":"groupId","in":"path"}],"responses":{"200":{"description":"Group deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Group"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}}},"/v1/team/{teamId}/groups/group/{groupId}/member":{"get":{"operationId":"getGroupMembers","tags":["groups"],"security":[{"sessionToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"},{"schema":{"type":"string","format":"uuid"},"required":true,"name":"groupId","in":"path"},{"schema":{"type":"number","nullable":true},"required":false,"name":"pageNumber","in":"header"},{"schema":{"type":"number","nullable":true},"required":false,"name":"pageSize","in":"header"}],"responses":{"200":{"description":"Members from group","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamMemberList"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}}},"/v1/team/{teamId}/groups/group":{"post":{"operationId":"createGroup","tags":["groups"],"security":[{"sessionToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":2,"maxLength":24},"color":{"type":"string","pattern":"^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$"}},"required":["name","color"]}}}},"responses":{"201":{"description":"Group created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Group"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"402":{"description":"TeamLimitError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamLimitError"}}}}}}},"/v1/team/{teamId}/groups/group/copy":{"post":{"operationId":"copyGroup","tags":["groups"],"security":[{"sessionToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"}},"required":["id"]}}}},"responses":{"201":{"description":"Group copied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Group"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"402":{"description":"TeamLimitError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamLimitError"}}}}}}},"/v1/team/{teamId}/permissions/permission/{teamMemberId}":{"post":{"operationId":"updateUserPermissions","tags":["permissions"],"security":[{"sessionToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"},{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamMemberId","in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"permissions":{"type":"array","items":{"type":"string"}}},"required":["permissions"]}}}},"responses":{"200":{"description":"User permissions updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamMemberInfo"}}}},"401":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}}},"/v1/team/{teamId}/permissions/group/{groupId}/assign/{teamMemberId}":{"post":{"operationId":"addGroupToUser","tags":["permissions"],"security":[{"sessionToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"},{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamMemberId","in":"path"},{"schema":{"type":"string","format":"uuid"},"required":true,"name":"groupId","in":"path"}],"responses":{"200":{"description":"Group assigned to user","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamMemberInfo"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}}},"/v1/team/{teamId}/permissions/groups/assign/{teamMemberId}":{"post":{"operationId":"updateGroupsOfUser","tags":["permissions"],"security":[{"sessionToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"},{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamMemberId","in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"groupIds":{"type":"array","items":{"type":"string","format":"uuid"}}},"required":["groupIds"]}}}},"responses":{"200":{"description":"Group assigned to user","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/TeamMemberInfo"},{"type":"object","properties":{"discordRoleSyncs":{"type":"array","items":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"messageKey":{"type":"string"},"value":{"type":"string"}},"required":["success","message"]}}},"required":["discordRoleSyncs"]}]}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}}},"/v1/team/{teamId}/permissions/group/{groupId}/remove/{teamMemberId}":{"delete":{"operationId":"removeGroupFromUser","tags":["permissions"],"security":[{"sessionToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"},{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamMemberId","in":"path"},{"schema":{"type":"string","format":"uuid"},"required":true,"name":"groupId","in":"path"}],"responses":{"200":{"description":"Group removed from user","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamMemberInfo"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}}},"/v1/team/{teamId}/actions/delete":{"post":{"operationId":"deleteTeam","tags":["teams"],"security":[{"sessionToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"}],"responses":{"200":{"description":"Current team details","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Team"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}}}}},"/v1/team/{teamId}/dashboard":{"get":{"operationId":"getDashboard","tags":["teams"],"security":[{"sessionToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"}],"responses":{"200":{"description":"Dashboard details","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DashboardInfo"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}}}}},"/v1/team/{teamId}/dashboard/news":{"get":{"operationId":"getTeamNews","tags":["teams"],"security":[{"sessionToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"}],"responses":{"200":{"description":"Dashboard details","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TeamNews"}}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}}}}},"/v1/team/{teamId}/tag/list":{"get":{"operationId":"listTeamTags","tags":["team"],"security":[{"accessToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"},{"schema":{"type":"number","nullable":true},"required":false,"name":"pageNumber","in":"query"},{"schema":{"type":"number","nullable":true},"required":false,"name":"pageSize","in":"query"},{"schema":{"type":"string","minLength":1,"maxLength":100},"required":false,"name":"q","in":"query"},{"schema":{"type":"string","enum":["todo","support"]},"required":false,"name":"usedIn","in":"query"},{"schema":{"type":"string","format":"uuid"},"required":false,"name":"todoId","in":"query"},{"schema":{"type":"string","format":"uuid"},"required":false,"name":"supportIssueId","in":"query"}],"responses":{"200":{"description":"List of team tags","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamTagList"}}}},"400":{"description":"BadRequestError or MissingArgumentError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/BadRequestError"},{"$ref":"#/components/schemas/MissingArgumentError"}],"description":"400 response: BadRequestError or MissingArgumentError"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}}},"/v1/team/{teamId}/tag/create":{"post":{"operationId":"createTeamTag","tags":["team"],"security":[{"accessToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateTeamTag"}}}},"responses":{"200":{"description":"Team tag created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamTag"}}}},"400":{"description":"BadRequestError or MissingArgumentError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/BadRequestError"},{"$ref":"#/components/schemas/MissingArgumentError"}],"description":"400 response: BadRequestError or MissingArgumentError"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}}},"/v1/team/{teamId}/requirements":{"get":{"operationId":"getTeamRequirements","tags":["teams"],"security":[{"sessionToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"}],"responses":{"200":{"description":"Team requirements","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamRequirementsInfo"}}}}}},"post":{"operationId":"updateTeamRequirements","tags":["teams"],"security":[{"sessionToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamRequirementsInfo"}}}},"responses":{"200":{"description":"Team requirements updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamRequirementsInfo"}}}}}}},"/v1/news/{teamId}":{"get":{"operationId":"findAllNews","tags":["news"],"security":[{"sessionToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"},{"schema":{"type":"number","nullable":true},"required":false,"name":"pageNumber","in":"query"},{"schema":{"type":"number","nullable":true},"required":false,"name":"pageSize","in":"query"},{"schema":{"type":"boolean","nullable":true},"required":false,"name":"useCache","in":"query"},{"schema":{"type":"boolean","nullable":true},"required":false,"name":"showOnDashboard","in":"query"}],"responses":{"200":{"description":"List of news","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewsInfoList"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}},"post":{"operationId":"createNews","tags":["news"],"security":[{"sessionToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"title":{"type":"string","minLength":1},"content":{"type":"string","minLength":1},"isImportant":{"type":"boolean"},"showOnDashboard":{"type":"boolean"},"isDraft":{"type":"boolean","default":true},"groups":{"type":"array","items":{"type":"string","format":"uuid"}}},"required":["title","content","isImportant","showOnDashboard","groups"]}}}},"responses":{"201":{"description":"News created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/News"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}}}}},"/v1/news/{teamId}/{id}":{"get":{"operationId":"findNews","tags":["news"],"security":[{"sessionToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"},{"schema":{"type":"string","format":"uuid"},"required":true,"name":"id","in":"path"},{"schema":{"type":"boolean","nullable":true},"required":false,"name":"useCache","in":"query"}],"responses":{"200":{"description":"News found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MewsInfo"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}},"put":{"operationId":"updateNews","tags":["news"],"security":[{"sessionToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"},{"schema":{"type":"string","format":"uuid"},"required":true,"name":"id","in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"title":{"type":"string","minLength":1},"content":{"type":"string","minLength":1},"isImportant":{"type":"boolean"},"showOnDashboard":{"type":"boolean"},"isDraft":{"type":"boolean","default":true},"groups":{"type":"array","items":{"type":"string"}}},"required":["title","content","isImportant","showOnDashboard","groups"]}}}},"responses":{"200":{"description":"News updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/News"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}},"delete":{"operationId":"deleteNews","tags":["news"],"security":[{"sessionToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"},{"schema":{"type":"string","format":"uuid"},"required":true,"name":"id","in":"path"}],"responses":{"200":{"description":"News deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/News"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}}},"/v1/links/{teamId}":{"get":{"operationId":"findAllLinks","tags":["links"],"security":[{"sessionToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"},{"schema":{"type":"boolean","nullable":true},"required":false,"name":"useCache","in":"query"}],"responses":{"200":{"description":"List of links","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Link"}}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}},"post":{"operationId":"createLink","tags":["links"],"security":[{"sessionToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"title":{"type":"string","minLength":1},"destination":{"type":"string","format":"uri"},"type":{"type":"string","enum":["FRAME","REDIRECT","REDIRECT_BLANK"],"default":"REDIRECT"},"icon":{"type":"string","nullable":true},"groups":{"type":"array","items":{"type":"string","format":"uuid"}}},"required":["title","destination","groups"]}}}},"responses":{"201":{"description":"Link created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Link"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}}}}},"/v1/links/{teamId}/{id}":{"put":{"operationId":"updateLink","tags":["links"],"security":[{"sessionToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"},{"schema":{"type":"string","format":"uuid"},"required":true,"name":"id","in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"title":{"type":"string","minLength":1},"destination":{"type":"string","format":"uri"},"type":{"type":"string","enum":["FRAME","REDIRECT","REDIRECT_BLANK"],"default":"REDIRECT"},"icon":{"type":"string","nullable":true},"groups":{"type":"array","items":{"type":"string","format":"uuid"}}},"required":["title","destination","groups"]}}}},"responses":{"200":{"description":"Link updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Link"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"402":{"description":"TeamLimitError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamLimitError"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}},"delete":{"operationId":"deleteLink","tags":["links"],"security":[{"sessionToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"},{"schema":{"type":"string","format":"uuid"},"required":true,"name":"id","in":"path"}],"responses":{"200":{"description":"Link deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Link"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}}},"/v1/access/{teamId}":{"get":{"operationId":"findAllAccesses","tags":["access"],"security":[{"sessionToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"}],"responses":{"200":{"description":"List of accesses","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TeamAccessWithCount"}}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}}}},"post":{"operationId":"createAccess","tags":["access"],"security":[{"sessionToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1},"description":{"type":"string","nullable":true,"minLength":0},"icon":{"type":"string","nullable":true,"maxLength":64}},"required":["name"]}}}},"responses":{"201":{"description":"Access created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamAccess"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}}}}},"/v1/access/{teamId}/{id}":{"get":{"operationId":"findAccessById","tags":["access"],"security":[{"sessionToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"},{"schema":{"type":"string","format":"uuid"},"required":true,"name":"id","in":"path"}],"responses":{"200":{"description":"Access with assignments","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamAccessDetail"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}},"patch":{"operationId":"updateAccess","tags":["access"],"security":[{"sessionToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"},{"schema":{"type":"string","format":"uuid"},"required":true,"name":"id","in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1},"description":{"type":"string","nullable":true,"minLength":0},"icon":{"type":"string","nullable":true,"maxLength":64}}}}}},"responses":{"200":{"description":"Access updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamAccess"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}},"delete":{"operationId":"deleteAccess","tags":["access"],"security":[{"sessionToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"},{"schema":{"type":"string","format":"uuid"},"required":true,"name":"id","in":"path"}],"responses":{"200":{"description":"Access deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamAccess"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}}},"/v1/access/{teamId}/member/{teamMemberId}":{"get":{"operationId":"findAccessesByMember","tags":["access"],"security":[{"sessionToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"},{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamMemberId","in":"path"}],"responses":{"200":{"description":"Accesses assigned to a team member","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/MemberAccessAssignment"}}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}}},"/v1/access/{teamId}/{id}/assignments":{"post":{"operationId":"assignAccess","tags":["access"],"security":[{"sessionToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"},{"schema":{"type":"string","format":"uuid"},"required":true,"name":"id","in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"teamMemberIds":{"type":"array","items":{"type":"string","format":"uuid"},"minItems":1,"maxItems":100},"note":{"type":"string","nullable":true},"expiresAt":{"type":"string","nullable":true,"format":"date-time"}},"required":["teamMemberIds"]}}}},"responses":{"200":{"description":"Assignments created (idempotent)","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TeamAccessAssignment"}}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}}},"/v1/access/{teamId}/{id}/assignments/{teamMemberId}":{"patch":{"operationId":"updateAccessAssignment","tags":["access"],"security":[{"sessionToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"},{"schema":{"type":"string","format":"uuid"},"required":true,"name":"id","in":"path"},{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamMemberId","in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"note":{"type":"string","nullable":true},"expiresAt":{"type":"string","nullable":true,"format":"date-time"}}}}}},"responses":{"200":{"description":"Assignment updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamAccessAssignment"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}},"delete":{"operationId":"unassignAccess","tags":["access"],"security":[{"sessionToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"},{"schema":{"type":"string","format":"uuid"},"required":true,"name":"id","in":"path"},{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamMemberId","in":"path"}],"responses":{"204":{"description":"Assignment removed"},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}}},"/v1/access/{teamId}/{id}/group-assignments":{"post":{"operationId":"assignAccessToGroups","tags":["access"],"security":[{"sessionToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"},{"schema":{"type":"string","format":"uuid"},"required":true,"name":"id","in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"groupIds":{"type":"array","items":{"type":"string","format":"uuid"},"minItems":1,"maxItems":50},"note":{"type":"string","nullable":true},"expiresAt":{"type":"string","nullable":true,"format":"date-time"}},"required":["groupIds"]}}}},"responses":{"200":{"description":"Group assignments created (idempotent)","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TeamAccessGroupAssignment"}}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}}},"/v1/access/{teamId}/{id}/group-assignments/{groupId}":{"patch":{"operationId":"updateAccessGroupAssignment","tags":["access"],"security":[{"sessionToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"},{"schema":{"type":"string","format":"uuid"},"required":true,"name":"id","in":"path"},{"schema":{"type":"string","format":"uuid"},"required":true,"name":"groupId","in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"note":{"type":"string","nullable":true},"expiresAt":{"type":"string","nullable":true,"format":"date-time"}}}}}},"responses":{"200":{"description":"Group assignment updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamAccessGroupAssignment"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}},"delete":{"operationId":"unassignAccessFromGroup","tags":["access"],"security":[{"sessionToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"},{"schema":{"type":"string","format":"uuid"},"required":true,"name":"id","in":"path"},{"schema":{"type":"string","format":"uuid"},"required":true,"name":"groupId","in":"path"}],"responses":{"204":{"description":"Group assignment removed"},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}}},"/v1/logoff/{teamId}":{"get":{"operationId":"findAllLogoffs","tags":["logoff"],"security":[{"accessToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"},{"schema":{"type":"number","nullable":true},"required":false,"name":"pageNumber","in":"query"},{"schema":{"type":"number","nullable":true},"required":false,"name":"pageSize","in":"query"}],"responses":{"200":{"description":"List of logoff entries","content":{"application/json":{"schema":{"type":"object","properties":{"totalLogoffEntries":{"type":"number"},"logoffEntries":{"type":"array","items":{"$ref":"#/components/schemas/LogoffInfo"}}},"required":["totalLogoffEntries","logoffEntries"]}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}},"post":{"operationId":"createLogoff","tags":["logoff"],"security":[{"accessToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"meetingId":{"type":"string","nullable":true,"format":"uuid"},"begin":{"type":"string","nullable":true,"format":"date-time"},"end":{"type":"string","nullable":true,"format":"date-time"},"message":{"type":"string","minLength":1}},"required":["message"]}}}},"responses":{"200":{"description":"Logoff entry created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Logoff"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}}}}},"/v1/logoff/{teamId}/all/today":{"get":{"operationId":"findTodayLogoffs","tags":["logoff"],"security":[{"accessToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"},{"schema":{"type":"number","nullable":true},"required":false,"name":"pageNumber","in":"query"},{"schema":{"type":"number","nullable":true},"required":false,"name":"pageSize","in":"query"}],"responses":{"200":{"description":"List of logoff entries","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/LogoffInfo"}}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}}},"/v1/logoff/{teamId}/{teamMemberId}":{"get":{"operationId":"findLogoffsFromMember","tags":["logoff"],"security":[{"sessionToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"},{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamMemberId","in":"path"},{"schema":{"type":"number","nullable":true},"required":false,"name":"pageNumber","in":"query"},{"schema":{"type":"number","nullable":true},"required":false,"name":"pageSize","in":"query"}],"responses":{"200":{"description":"List of logoff entries from user","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LogoffsInfo"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}},"post":{"operationId":"createAdminLogoff","tags":["logoff"],"security":[{"sessionToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"},{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamMemberId","in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"meetingId":{"type":"string","nullable":true,"format":"uuid"},"begin":{"type":"string","nullable":true,"format":"date-time"},"end":{"type":"string","nullable":true,"format":"date-time"},"message":{"type":"string","minLength":1}},"required":["message"]}}}},"responses":{"200":{"description":"Logoff entry created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Logoff"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}}}}},"/v1/logoff/{teamId}/{id}":{"delete":{"operationId":"deleteLogoff","tags":["logoff"],"security":[{"sessionToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"},{"schema":{"type":"string","format":"uuid"},"required":true,"name":"id","in":"path"}],"responses":{"200":{"description":"Logoff entry deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Logoff"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}}},"/v1/meetings/{teamId}":{"get":{"operationId":"findAllMeetings","tags":["meetings"],"security":[{"accessToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"},{"schema":{"type":"number","nullable":true},"required":false,"name":"pageNumber","in":"query"},{"schema":{"type":"number","nullable":true},"required":false,"name":"pageSize","in":"query"},{"schema":{"$ref":"#/components/schemas/MeetingState"},"required":false,"name":"filterState","in":"query"},{"schema":{"$ref":"#/components/schemas/MeetingState"},"required":false,"name":"blacklistState","in":"query"}],"responses":{"200":{"description":"List of meetings","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MeetingList"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}},"post":{"operationId":"createMeeting","tags":["meetings"],"security":[{"sessionToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"title":{"type":"string","minLength":1},"agenda":{"type":"string","nullable":true,"minLength":0},"meetingPoint":{"type":"string","nullable":true,"minLength":0},"dateTime":{"type":"string","format":"date-time"},"teamMembers":{"type":"array","items":{"type":"string"}},"groups":{"type":"array","items":{"type":"string"}}},"required":["title","dateTime"]}}}},"responses":{"201":{"description":"Meeting created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Meeting"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}}}}},"/v1/meetings/{teamId}/{id}":{"get":{"operationId":"findMeeting","tags":["meetings"],"security":[{"sessionToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"},{"schema":{"type":"string","format":"uuid"},"required":true,"name":"id","in":"path"}],"responses":{"200":{"description":"Meeting found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MeetingAdditionalInfo"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}},"put":{"operationId":"updateMeeting","tags":["meetings"],"security":[{"sessionToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"},{"schema":{"type":"string","format":"uuid"},"required":true,"name":"id","in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"title":{"type":"string","minLength":1},"agenda":{"type":"string","nullable":true,"minLength":0},"meetingPoint":{"type":"string","nullable":true,"minLength":0},"protocol":{"type":"string","nullable":true,"minLength":0},"state":{"type":"string","enum":["PLANNED","RUNNING","FINISHED","LOCKED","CANCELLED"],"default":"PLANNED"},"participants":{"type":"string","default":"{}"},"dateTime":{"type":"string","format":"date-time"},"teamMembers":{"type":"array","items":{"type":"string"}},"groups":{"type":"array","items":{"type":"string"}}}}}}},"responses":{"200":{"description":"Meeting updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MeetingAdditionalInfo"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}},"delete":{"operationId":"deleteMeeting","tags":["meetings"],"security":[{"sessionToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"},{"schema":{"type":"string","format":"uuid"},"required":true,"name":"id","in":"path"}],"responses":{"200":{"description":"Meeting deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Meeting"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}}},"/v1/meetings/{teamId}/{id}/protocol":{"put":{"operationId":"updateMeetingProtocol","tags":["meetings"],"security":[{"sessionToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"},{"schema":{"type":"string","format":"uuid"},"required":true,"name":"id","in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"protocol":{"type":"string","nullable":true,"minLength":0}}}}}},"responses":{"200":{"description":"Meeting updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MeetingAdditionalInfo"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}}},"/v1/penaltypoints/{teamId}":{"get":{"operationId":"findAllPenaltyPoints","tags":["penaltypoints"],"security":[{"sessionToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"},{"schema":{"type":"number","nullable":true},"required":false,"name":"pageNumber","in":"query"},{"schema":{"type":"number","nullable":true},"required":false,"name":"pageSize","in":"query"}],"responses":{"200":{"description":"List of penalty points","content":{"application/json":{"schema":{"type":"object","properties":{"totalPenaltyPointEntries":{"type":"number"},"penaltyPointEntries":{"type":"array","items":{"$ref":"#/components/schemas/PenaltyPointInfo"}}},"required":["totalPenaltyPointEntries","penaltyPointEntries"]}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}}}},"post":{"operationId":"createPenaltyPoint","tags":["penaltypoints"],"security":[{"sessionToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"teamMemberId":{"type":"string","format":"uuid"},"points":{"type":"integer","default":1},"message":{"type":"string","minLength":0},"expiresAt":{"type":"string"}},"required":["teamMemberId","message","expiresAt"]}}}},"responses":{"201":{"description":"Penalty point created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PenaltyPoint"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}}}}},"/v1/penaltypoints/{teamId}/{teamMemberId}":{"get":{"operationId":"findPenaltyPointsFromUser","tags":["penaltypoints"],"security":[{"sessionToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"},{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamMemberId","in":"path"},{"schema":{"type":"number","nullable":true},"required":false,"name":"pageNumber","in":"query"},{"schema":{"type":"number","nullable":true},"required":false,"name":"pageSize","in":"query"}],"responses":{"200":{"description":"List of penalty points for a user","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PenaltyPointsInfo"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}}},"/v1/penaltypoints/{teamId}/{id}":{"delete":{"operationId":"deletePenaltyPoint","tags":["penaltypoints"],"security":[{"sessionToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"},{"schema":{"type":"string","format":"uuid"},"required":true,"name":"id","in":"path"}],"responses":{"200":{"description":"Penalty point deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PenaltyPoint"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}}},"/v1/worrybox/{teamId}":{"post":{"operationId":"createWorrybox","tags":["worrybox"],"security":[{"sessionToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"isAnonymous":{"type":"boolean"},"message":{"type":"string","minLength":1},"forGroupId":{"type":"string"}},"required":["isAnonymous","message","forGroupId"]}}}},"responses":{"200":{"description":"Worrybox entry created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorryBox"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}}}},"get":{"operationId":"findAllWorrybox","tags":["worrybox"],"security":[{"sessionToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"},{"schema":{"type":"number","nullable":true},"required":false,"name":"pageNumber","in":"query"},{"schema":{"type":"number","nullable":true},"required":false,"name":"pageSize","in":"query"}],"responses":{"200":{"description":"List of worryboxes","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorryBoxEntries"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}}},"/v1/worrybox/{teamId}/{teamMemberId}":{"get":{"operationId":"findWorryboxFromMember","tags":["worrybox"],"security":[{"sessionToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"},{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamMemberId","in":"path"},{"schema":{"type":"number","nullable":true},"required":false,"name":"pageNumber","in":"query"},{"schema":{"type":"number","nullable":true},"required":false,"name":"pageSize","in":"query"}],"responses":{"200":{"description":"List of worrybox entries from user","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorryBoxEntries"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}}},"/v1/worrybox/{teamId}/{id}":{"delete":{"operationId":"deleteWorrybox","tags":["worrybox"],"security":[{"sessionToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"},{"schema":{"type":"string","format":"uuid"},"required":true,"name":"id","in":"path"}],"responses":{"200":{"description":"Logoff entry deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorryBox"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}},"put":{"operationId":"updateWorrybox","tags":["worrybox"],"security":[{"sessionToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"},{"schema":{"type":"string","format":"uuid"},"required":true,"name":"id","in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"answer":{"type":"string","minLength":1}},"required":["answer"]}}}},"responses":{"200":{"description":"Updated Worrybox entry","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorryBox"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}}},"/v1/applyPanel/{teamId}/departments":{"get":{"operationId":"getDepartments","tags":["applyPanel"],"parameters":[{"schema":{"type":"string"},"required":true,"name":"teamId","in":"path"}],"responses":{"200":{"description":"Receive the created portal page","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/MinimalDepartment"}}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}},"security":[{"sessionToken":[]},{"teamApiKey":[]}]}},"/v1/applyPanel/{teamId}/department/{id}":{"get":{"operationId":"getDepartment","tags":["applyPanel"],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"},{"schema":{"type":"string","format":"uuid"},"required":true,"name":"id","in":"path"}],"responses":{"200":{"description":"Get apply deparment","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Department"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}},"security":[{"sessionToken":[]},{"teamApiKey":[]}]},"put":{"operationId":"updateDepartment","tags":["applyPanel"],"security":[{"sessionToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"},{"schema":{"type":"string","format":"uuid"},"required":true,"name":"id","in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1},"description":{"type":"string","minLength":1},"state":{"type":"string","enum":["HIDDEN","CLOSED","WAITING","OPEN"]},"applicationBanAcceptance":{"type":"boolean"},"applicationBanDistribution":{"type":"boolean"},"applicationBanDuration":{"type":"integer","default":30},"applicationMinimumCharacters":{"type":"integer","minimum":0,"maximum":5000}}}}}},"responses":{"200":{"description":"Get apply deparment","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Department"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}},"delete":{"operationId":"deleteDepartment","tags":["applyPanel"],"security":[{"sessionToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"},{"schema":{"type":"string","format":"uuid"},"required":true,"name":"id","in":"path"}],"responses":{"200":{"description":"Get apply deparment","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Department"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}}},"/v1/applyPanel/{teamId}/department/{id}/info":{"get":{"operationId":"getDepartmentInfo","tags":["applyPanel"],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"},{"schema":{"type":"string","format":"uuid"},"required":true,"name":"id","in":"path"}],"responses":{"200":{"description":"Get apply deparment info","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DepartmentInfo"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}},"security":[{"sessionToken":[]},{"teamApiKey":[]}]}},"/v1/applyPanel/{teamId}/department":{"post":{"operationId":"createDepartment","tags":["applyPanel"],"security":[{"sessionToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1}},"required":["name"]}}}},"responses":{"201":{"description":"Get apply deparment","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Department"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}}}}},"/v1/applyPanel/{teamId}/department/{id}/banned/own":{"get":{"operationId":"isOwnUserDepartmentBanned","tags":["applyPanel"],"security":[{"sessionToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"},{"schema":{"type":"string","format":"uuid"},"required":true,"name":"id","in":"path"}],"responses":{"200":{"description":"User is banned response","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"type":{"type":"string"}},"required":["message","type"]}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}}},"/v1/applyPanel/{teamId}/department/{id}/banned/{userId}":{"get":{"operationId":"isUserDepartmentBanned","tags":["applyPanel"],"security":[{"sessionToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"},{"schema":{"type":"string","format":"uuid"},"required":true,"name":"id","in":"path"},{"schema":{"type":"string","format":"uuid"},"required":true,"name":"userId","in":"path"}],"responses":{"200":{"description":"User is banned response","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"type":{"type":"string"}},"required":["message","type"]}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}}},"/v1/applyPanel/{teamId}/department/managers":{"get":{"operationId":"getManagers","tags":["applyPanel"],"security":[{"sessionToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"}],"responses":{"200":{"description":"Get apply managers","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TeamMember"}}}}}}}},"/v1/applyPanel/{teamId}/department/managers/{id}":{"get":{"operationId":"getDepartmentManagers","tags":["applyPanel"],"security":[{"sessionToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"},{"schema":{"type":"string","format":"uuid"},"required":true,"name":"id","in":"path"}],"responses":{"200":{"description":"Get apply managers","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TeamMember"}}}}}}},"post":{"operationId":"addDepartmentManager","tags":["applyPanel"],"security":[{"sessionToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"},{"schema":{"type":"string","format":"uuid"},"required":true,"name":"id","in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"teamMemberId":{"type":"string","format":"uuid"}},"required":["teamMemberId"]}}}},"responses":{"201":{"description":"Get apply deparment","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DepartmentInfo"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}},"delete":{"operationId":"removeDepartmentManager","tags":["applyPanel"],"security":[{"sessionToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"},{"schema":{"type":"string","format":"uuid"},"required":true,"name":"id","in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"teamMemberId":{"type":"string","format":"uuid"}},"required":["teamMemberId"]}}}},"responses":{"200":{"description":"Get apply deparment","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DepartmentInfo"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}}},"/v1/applyPanel/{teamId}/applications/own":{"get":{"operationId":"findOwnApplications","tags":["applyPanel"],"security":[{"sessionToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"},{"schema":{"type":"number","nullable":true},"required":false,"name":"pageNumber","in":"query"},{"schema":{"type":"number","nullable":true},"required":false,"name":"pageSize","in":"query"}],"responses":{"200":{"description":"Find own applications","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ApplicationDepartmentInfo"}}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}}},"/v1/applyPanel/{teamId}/applications/one/{id}":{"get":{"operationId":"findTeamApplication","tags":["applyPanel"],"security":[{"sessionToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"},{"schema":{"type":"string","format":"uuid"},"required":true,"name":"id","in":"path"}],"responses":{"200":{"description":"Find own applications","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationUserInfo"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}}},"/v1/applyPanel/{teamId}/applications/user/{type}/{userId}":{"get":{"operationId":"findAllApplications","tags":["applyPanel"],"security":[{"sessionToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"},{"schema":{"type":"string","enum":["team","archive"]},"required":true,"name":"type","in":"path"},{"schema":{"type":"string"},"required":true,"name":"userId","in":"path"},{"schema":{"type":"number","nullable":true},"required":false,"name":"pageNumber","in":"query"},{"schema":{"type":"number","nullable":true},"required":false,"name":"pageSize","in":"query"}],"responses":{"200":{"description":"Find all applications by type and userId","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/ApplicationMinimalUserInfo"}},"count":{"type":"number"}},"required":["data","count"]}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}}},"/v1/applyPanel/{teamId}/applications/all/{type}":{"get":{"operationId":"findAllTeamApplications","tags":["applyPanel"],"security":[{"sessionToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"},{"schema":{"type":"string"},"required":true,"name":"type","in":"path"},{"schema":{"type":"number","nullable":true},"required":false,"name":"pageNumber","in":"query"},{"schema":{"type":"number","nullable":true},"required":false,"name":"pageSize","in":"query"},{"schema":{"type":"string","format":"uuid"},"required":false,"name":"departmentId","in":"query"}],"responses":{"200":{"description":"Find all applications by type and userId","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/ApplicationMinimalUserInfo"}},"count":{"type":"number"}},"required":["data","count"]}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}}},"/v1/applyPanel/{departmentId}/application":{"post":{"operationId":"createApplication","tags":["applyPanel"],"security":[{"sessionToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"departmentId","in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"charCount":{"type":"integer"},"application":{"type":"string","nullable":true,"minLength":3},"startTime":{"type":"string"}},"required":["charCount","startTime"]}}}},"responses":{"201":{"description":"Create an application","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationUserDepartmentInfo"}}}},"400":{"description":"BadRequestError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequestError"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}}}}},"/v1/applyPanel/{departmentId}/application/own/{id}":{"get":{"operationId":"findOwnApplication","tags":["applyPanel"],"security":[{"sessionToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"departmentId","in":"path"},{"schema":{"type":"string","format":"uuid"},"required":true,"name":"id","in":"path"}],"responses":{"200":{"description":"Find own application by ID","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Application"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}}},"/v1/applyPanel/{departmentId}/application/{id}":{"get":{"operationId":"findOneApplication","tags":["applyPanel"],"security":[{"sessionToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"departmentId","in":"path"},{"schema":{"type":"string","format":"uuid"},"required":true,"name":"id","in":"path"}],"responses":{"200":{"description":"Find one application by ID","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Application"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}}},"/v1/applyPanel/{departmentId}/application/{id}/state":{"put":{"operationId":"updateApplicationState","tags":["applyPanel"],"security":[{"sessionToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"departmentId","in":"path"},{"schema":{"type":"string","format":"uuid"},"required":true,"name":"id","in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"state":{"type":"string","enum":["OPEN","PENDING","ACCEPTED","DECLINED"],"default":"OPEN"},"message":{"type":"string","minLength":1},"archived":{"type":"boolean"}},"required":["message"]}}}},"responses":{"200":{"description":"Update application state","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationUserInfo"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}}},"/v1/applyPanel/{departmentId}/application/{id}/archive":{"put":{"operationId":"archiveApplication","tags":["applyPanel"],"security":[{"sessionToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"departmentId","in":"path"},{"schema":{"type":"string","format":"uuid"},"required":true,"name":"id","in":"path"}],"responses":{"200":{"description":"Update application state","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationUserInfo"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}}},"/v1/applyPanel/{departmentId}/application/messages/{id}":{"get":{"operationId":"findAllMessages","tags":["applyPanel"],"security":[{"sessionToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"departmentId","in":"path"},{"schema":{"type":"string","format":"uuid"},"required":true,"name":"id","in":"path"}],"responses":{"200":{"description":"Find all messages by application","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ApplicationMessageUserInfo"}}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}},"post":{"operationId":"createMessage","tags":["applyPanel"],"security":[{"sessionToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"departmentId","in":"path"},{"schema":{"type":"string","format":"uuid"},"required":true,"name":"id","in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","minLength":1},"type":{"type":"string","enum":["ANSWER","MESSAGE","STATE_DECLINED","STATE_ACCEPTED"],"default":"ANSWER"}},"required":["message"]}}}},"responses":{"201":{"description":"Create a message","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationMessageUserInfo"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}}},"/v1/applyPanel/{departmentId}/application/messages/{id}/own":{"get":{"operationId":"findAllOwnMessages","tags":["applyPanel"],"security":[{"sessionToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"departmentId","in":"path"},{"schema":{"type":"string","format":"uuid"},"required":true,"name":"id","in":"path"}],"responses":{"200":{"description":"Find all own messages by application","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ApplicationMessageUserInfo"}}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}}}},"post":{"operationId":"createOwnMessage","tags":["applyPanel"],"security":[{"sessionToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"departmentId","in":"path"},{"schema":{"type":"string","format":"uuid"},"required":true,"name":"id","in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","minLength":1},"type":{"type":"string","enum":["ANSWER","MESSAGE","STATE_DECLINED","STATE_ACCEPTED"],"default":"ANSWER"}},"required":["message"]}}}},"responses":{"201":{"description":"Create a message","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationMessageUserInfo"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}}},"/v1/applyPanel/{departmentId}/department-messages":{"get":{"operationId":"findAllDefaultMessages","tags":["applyPanel"],"security":[{"sessionToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"departmentId","in":"path"}],"responses":{"200":{"description":"Find all default messages by department","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ApplyDefaultMessage"}}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}}}},"post":{"operationId":"createDefaultMessage","tags":["applyPanel"],"security":[{"sessionToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"departmentId","in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","minLength":1},"type":{"type":"string","enum":["declined","accepted_final"]}},"required":["message","type"]}}}},"responses":{"201":{"description":"Create a default message","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplyDefaultMessage"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}}}}},"/v1/applyPanel/{departmentId}/interviewQuestions":{"get":{"operationId":"findAllInterviewQuestions","tags":["applyPanel"],"security":[{"sessionToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"departmentId","in":"path"}],"responses":{"200":{"description":"Find all interview questions by department","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"departmentId":{"type":"string"},"question":{"type":"string"},"createdAt":{"type":"string"},"updatedAt":{"type":"string"}},"required":["id","departmentId","question","createdAt","updatedAt"]}}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}}},"/v1/applyPanel/{departmentId}/interviewQuestions/create":{"post":{"operationId":"createInterviewQuestion","tags":["applyPanel"],"security":[{"sessionToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"departmentId","in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"question":{"type":"string"}},"required":["question"]}}}},"responses":{"201":{"description":"Create an interview question","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"departmentId":{"type":"string"},"question":{"type":"string"},"createdAt":{"type":"string"},"updatedAt":{"type":"string"}},"required":["id","departmentId","question","createdAt","updatedAt"]}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}}},"/v1/applyPanel/{departmentId}/interviewQuestions/view/{applicationId}":{"get":{"operationId":"findApplicationInterviewQuestions","tags":["applyPanel"],"security":[{"sessionToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"departmentId","in":"path"},{"schema":{"type":"string"},"required":true,"name":"applicationId","in":"path"}],"responses":{"200":{"description":"Find interview questions for an application","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"departmentId":{"type":"string"},"applicationId":{"type":"string"},"question":{"type":"string"},"answer":{"type":"string"},"createdAt":{"type":"string"},"updatedAt":{"type":"string"}},"required":["id","departmentId","applicationId","question","answer","createdAt","updatedAt"]}}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}}},"/v1/applyPanel/{departmentId}/interviewQuestions/{id}":{"delete":{"operationId":"deleteInterviewQuestion","tags":["applyPanel"],"security":[{"sessionToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"departmentId","in":"path"},{"schema":{"type":"string","format":"uuid"},"required":true,"name":"id","in":"path"}],"responses":{"200":{"description":"Delete an interview question","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"departmentId":{"type":"string"},"question":{"type":"string"},"createdAt":{"type":"string"},"updatedAt":{"type":"string"}},"required":["id","departmentId","question","createdAt","updatedAt"]}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}}},"/v1/automation/{teamId}/replacements":{"get":{"operationId":"getAutomationReplacements","tags":["automations"],"security":[{"sessionToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"}],"responses":{"200":{"description":"List of available replacements per event","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"array","items":{"$ref":"#/components/schemas/AutomationConditionField"}}}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}}},"/v1/automation/{teamId}":{"get":{"operationId":"findAllAutomations","tags":["automations"],"security":[{"sessionToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"},{"schema":{"type":"number","nullable":true},"required":false,"name":"pageNumber","in":"query"},{"schema":{"type":"number","nullable":true},"required":false,"name":"pageSize","in":"query"},{"schema":{"type":"boolean","nullable":true},"required":false,"name":"useCache","in":"query"}],"responses":{"200":{"description":"List of automations","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AutomationList"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}},"post":{"operationId":"createAutomation","tags":["automations"],"security":[{"sessionToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateAutomation"}}}},"responses":{"201":{"description":"Automation created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Automation"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}}}}},"/v1/automation/{teamId}/{id}":{"get":{"operationId":"findOneAutomation","tags":["automations"],"security":[{"sessionToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"},{"schema":{"type":"string","format":"uuid"},"required":true,"name":"id","in":"path"}],"responses":{"200":{"description":"List of automations","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Automation"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}},"post":{"operationId":"updateAutomation","tags":["automations"],"security":[{"sessionToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"},{"schema":{"type":"string","format":"uuid"},"required":true,"name":"id","in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateAutomation"}}}},"responses":{"201":{"description":"Automation updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Automation"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}}}},"delete":{"operationId":"deleteAutomation","tags":["automations"],"security":[{"sessionToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"},{"schema":{"type":"string","format":"uuid"},"required":true,"name":"id","in":"path"}],"responses":{"200":{"description":"Automation deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Automation"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}}},"/v1/automation/{teamId}/schema/introspection":{"get":{"operationId":"getAutomationSchemaIntrospection","tags":["automations"],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"}],"responses":{"200":{"description":"Schema introspection endpoint (for OpenAPI component registration)","content":{"application/json":{"schema":{"type":"object","properties":{"conditionField":{"$ref":"#/components/schemas/AutomationConditionField"},"conditionOperator":{"$ref":"#/components/schemas/AutomationConditionOperator"},"conditionLogic":{"$ref":"#/components/schemas/AutomationLogic"}},"required":["conditionField","conditionOperator"]}}}}},"security":[{"sessionToken":[]},{"teamApiKey":[]}]}},"/v1/support/issue/{teamId}/find":{"post":{"operationId":"findSupportIssues","tags":["support"],"security":[{"accessToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"},{"schema":{"type":"number","nullable":true},"required":false,"name":"pageNumber","in":"query"},{"schema":{"type":"number","nullable":true},"required":false,"name":"pageSize","in":"query"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchSupportIssue"}}}},"responses":{"200":{"description":"List of support issues","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SupportIssueInfoList"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}}},"/v1/support/issue/{teamId}/create":{"post":{"operationId":"createSupportIssue","tags":["support"],"security":[{"accessToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"title":{"type":"string","minLength":1},"description":{"type":"string","nullable":true},"target":{"type":"string","minLength":1},"categoryId":{"type":"string","format":"uuid"},"priority":{"type":"string","enum":["LOW","NORMAL","HIGH","URGENT"]},"status":{"type":"string","enum":["OPEN","IN_PROGRESS","WAITING","RESOLVED","CANCELED"]},"memberAssigneeIds":{"type":"array","items":{"type":"string","format":"uuid"}},"groupAssigneeIds":{"type":"array","items":{"type":"string","format":"uuid"}},"tagIds":{"type":"array","items":{"type":"string","format":"uuid"}}},"required":["title","target","categoryId","priority","status"]}}}},"responses":{"200":{"description":"Logoff entry created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SupportIssueInfo"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}}}}},"/v1/support/issue/{teamId}/get/{id}":{"get":{"operationId":"findSupportIssue","tags":["support"],"security":[{"accessToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"},{"schema":{"type":"string","format":"uuid"},"required":true,"name":"id","in":"path"}],"responses":{"200":{"description":"Entry updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SupportIssue"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}}}}},"/v1/support/issue/{teamId}/update/{id}":{"put":{"operationId":"updateSupportIssue","tags":["support"],"security":[{"accessToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"},{"schema":{"type":"string","format":"uuid"},"required":true,"name":"id","in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"title":{"type":"string","minLength":1},"description":{"type":"string","nullable":true},"target":{"type":"string","minLength":1},"categoryId":{"type":"string","format":"uuid"},"priority":{"type":"string","enum":["LOW","NORMAL","HIGH","URGENT"]},"status":{"type":"string","enum":["OPEN","IN_PROGRESS","WAITING","RESOLVED","CANCELED"]},"memberAssigneeIds":{"type":"array","items":{"type":"string","format":"uuid"}},"groupAssigneeIds":{"type":"array","items":{"type":"string","format":"uuid"}},"tagIds":{"type":"array","items":{"type":"string","format":"uuid"}}},"required":["title","target","categoryId","priority","status"]}}}},"responses":{"200":{"description":"Entry updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SupportIssueInfo"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}}}}},"/v1/support/issue/{teamId}/delete/{id}":{"delete":{"operationId":"deleteSupportIssue","tags":["support"],"security":[{"sessionToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"},{"schema":{"type":"string","format":"uuid"},"required":true,"name":"id","in":"path"}],"responses":{"200":{"description":"Entry deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SupportIssue"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}}},"/v1/support/issue-stats/{teamId}/find":{"post":{"operationId":"findSupportIssuesStats","tags":["support"],"security":[{"accessToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/SearchSupportIssue"},{"type":"object","properties":{"days":{"type":"number"}}}]}}}},"responses":{"200":{"description":"Stats of support issues","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SupportIssuesTrendWithStatus"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}}},"/v1/support/category/{teamId}":{"get":{"operationId":"findSupportCategories","tags":["support"],"security":[{"accessToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"},{"schema":{"type":"number","nullable":true},"required":false,"name":"pageNumber","in":"query"},{"schema":{"type":"number","nullable":true},"required":false,"name":"pageSize","in":"query"}],"responses":{"200":{"description":"List of support categories","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SupportCategoryList"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}},"post":{"operationId":"createSupportCategory","tags":["support"],"security":[{"accessToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1},"color":{"type":"string","nullable":true},"icon":{"type":"string","nullable":true}},"required":["name"]}}}},"responses":{"200":{"description":"Entry created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SupportCategory"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"402":{"description":"TeamLimitError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamLimitError"}}}}}}},"/v1/support/category/{teamId}/{id}":{"get":{"operationId":"findSupportCategory","tags":["support"],"security":[{"accessToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"},{"schema":{"type":"string","format":"uuid"},"required":true,"name":"id","in":"path"}],"responses":{"200":{"description":"Entry updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SupportCategory"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}}}},"put":{"operationId":"updateSupportCategory","tags":["support"],"security":[{"accessToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"},{"schema":{"type":"string","format":"uuid"},"required":true,"name":"id","in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1},"color":{"type":"string","nullable":true},"icon":{"type":"string","nullable":true}},"required":["name"]}}}},"responses":{"200":{"description":"Entry updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SupportCategory"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}}}},"delete":{"operationId":"deleteSupportCategory","tags":["support"],"security":[{"sessionToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"},{"schema":{"type":"string","format":"uuid"},"required":true,"name":"id","in":"path"}],"responses":{"200":{"description":"Entry deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SupportCategory"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}}},"/v1/todo/board/{teamId}/all":{"get":{"operationId":"findTodoBoards","tags":["todo"],"security":[{"accessToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"},{"schema":{"type":"number","nullable":true},"required":false,"name":"pageNumber","in":"query"},{"schema":{"type":"number","nullable":true},"required":false,"name":"pageSize","in":"query"}],"responses":{"200":{"description":"Boards list","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TodoBoardWithMetaList"}}}},"400":{"description":"BadRequestError or MissingArgumentError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/BadRequestError"},{"$ref":"#/components/schemas/MissingArgumentError"}],"description":"400 response: BadRequestError or MissingArgumentError"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}}},"/v1/todo/board/{teamId}/create":{"post":{"operationId":"createTodoBoard","tags":["todo"],"security":[{"accessToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1},"description":{"type":"string","nullable":true},"color":{"type":"string","nullable":true},"icon":{"type":"string","nullable":true},"slug":{"type":"string","minLength":1,"maxLength":3,"pattern":"^[A-Z]{1,3}$"}},"required":["name"]}}}},"responses":{"200":{"description":"Board created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TodoBoard"}}}},"400":{"description":"BadRequestError or MissingArgumentError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/BadRequestError"},{"$ref":"#/components/schemas/MissingArgumentError"}],"description":"400 response: BadRequestError or MissingArgumentError"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}}},"/v1/todo/board/{teamId}/update/{id}":{"patch":{"operationId":"updateTodoBoard","tags":["todo"],"security":[{"accessToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"},{"schema":{"type":"string","minLength":1,"pattern":"^([0-9a-fA-F-]{36}|[a-zA-Z]{1,3})$","description":"UUID or 1-3 letter slug"},"required":true,"name":"id","in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateTodoBoard"}}}},"responses":{"200":{"description":"Board updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TodoBoard"}}}},"400":{"description":"BadRequestError or MissingArgumentError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/BadRequestError"},{"$ref":"#/components/schemas/MissingArgumentError"}],"description":"400 response: BadRequestError or MissingArgumentError"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}}},"/v1/todo/board/{teamId}/delete/{id}":{"delete":{"operationId":"deleteTodoBoard","tags":["todo"],"security":[{"accessToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"},{"schema":{"type":"string","minLength":1,"pattern":"^([0-9a-fA-F-]{36}|[a-zA-Z]{1,3})$","description":"UUID or 1-3 letter slug"},"required":true,"name":"id","in":"path"}],"responses":{"200":{"description":"Board deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TodoBoard"}}}},"400":{"description":"BadRequestError or MissingArgumentError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/BadRequestError"},{"$ref":"#/components/schemas/MissingArgumentError"}],"description":"400 response: BadRequestError or MissingArgumentError"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}}},"/v1/todo/board/{teamId}/find/{id}":{"get":{"operationId":"findOneTodoBoard","tags":["todo"],"security":[{"accessToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"},{"schema":{"type":"string","minLength":1,"pattern":"^([0-9a-fA-F-]{36}|[a-zA-Z]{1,3})$","description":"UUID or 1-3 letter slug"},"required":true,"name":"id","in":"path"}],"responses":{"200":{"description":"Board found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TodoBoard"}}}},"400":{"description":"BadRequestError or MissingArgumentError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/BadRequestError"},{"$ref":"#/components/schemas/MissingArgumentError"}],"description":"400 response: BadRequestError or MissingArgumentError"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}}},"/v1/todo/board/{teamId}/find/{id}/info":{"get":{"operationId":"findTodoBoardInfo","tags":["todo"],"security":[{"accessToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"},{"schema":{"type":"string","minLength":1,"pattern":"^([0-9a-fA-F-]{36}|[a-zA-Z]{1,3})$","description":"UUID or 1-3 letter slug"},"required":true,"name":"id","in":"path"}],"responses":{"200":{"description":"Board info including members, groups and statuses","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TodoBoardInfo"}}}},"400":{"description":"BadRequestError or MissingArgumentError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/BadRequestError"},{"$ref":"#/components/schemas/MissingArgumentError"}],"description":"400 response: BadRequestError or MissingArgumentError"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}}},"/v1/todo/board/{teamId}/search":{"get":{"operationId":"searchTodosInTeam","tags":["todo"],"security":[{"accessToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"},{"schema":{"type":"number","nullable":true},"required":false,"name":"pageNumber","in":"query"},{"schema":{"type":"number","nullable":true},"required":false,"name":"pageSize","in":"query"},{"schema":{"type":"string","minLength":1},"required":false,"name":"q","in":"query"},{"schema":{"type":"integer","nullable":true},"required":false,"name":"number","in":"query"},{"schema":{"type":"boolean","nullable":true},"required":false,"name":"archived","in":"query"}],"responses":{"200":{"description":"Search todos within a team (board-agnostic) with pagination","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TodoInfoList"}}}},"400":{"description":"BadRequestError or MissingArgumentError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/BadRequestError"},{"$ref":"#/components/schemas/MissingArgumentError"}],"description":"400 response: BadRequestError or MissingArgumentError"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}}},"/v1/todo/board/{teamId}/relevant":{"get":{"operationId":"findRelevantTodos","tags":["todo"],"security":[{"accessToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"},{"schema":{"type":"number","nullable":true},"required":false,"name":"pageNumber","in":"query"},{"schema":{"type":"number","nullable":true},"required":false,"name":"pageSize","in":"query"}],"responses":{"200":{"description":"Relevant todos list (subscribed or assigned)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TodoInfoListWithGlobalCount"}}}},"400":{"description":"BadRequestError or MissingArgumentError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/BadRequestError"},{"$ref":"#/components/schemas/MissingArgumentError"}],"description":"400 response: BadRequestError or MissingArgumentError"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}}},"/v1/todo/status/{teamId}/{boardId}/create":{"post":{"operationId":"createTodoStatus","tags":["todo"],"security":[{"accessToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"},{"schema":{"type":"string","format":"uuid"},"required":true,"name":"boardId","in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateTodoStatus"}}}},"responses":{"200":{"description":"Status created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TodoStatus"}}}},"400":{"description":"BadRequestError or MissingArgumentError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/BadRequestError"},{"$ref":"#/components/schemas/MissingArgumentError"}],"description":"400 response: BadRequestError or MissingArgumentError"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}}},"/v1/todo/status/{teamId}/{boardId}/update/{id}":{"patch":{"operationId":"updateTodoStatus","tags":["todo"],"security":[{"accessToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"},{"schema":{"type":"string","format":"uuid"},"required":true,"name":"boardId","in":"path"},{"schema":{"type":"string","format":"uuid"},"required":true,"name":"id","in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateTodoStatus"}}}},"responses":{"200":{"description":"Status updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TodoStatus"}}}},"400":{"description":"BadRequestError or MissingArgumentError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/BadRequestError"},{"$ref":"#/components/schemas/MissingArgumentError"}],"description":"400 response: BadRequestError or MissingArgumentError"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}}},"/v1/todo/status/{teamId}/{boardId}/delete/{id}":{"delete":{"operationId":"deleteTodoStatus","tags":["todo"],"security":[{"accessToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"},{"schema":{"type":"string","format":"uuid"},"required":true,"name":"boardId","in":"path"},{"schema":{"type":"string","format":"uuid"},"required":true,"name":"id","in":"path"}],"responses":{"200":{"description":"Status deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TodoStatus"}}}},"400":{"description":"BadRequestError or MissingArgumentError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/BadRequestError"},{"$ref":"#/components/schemas/MissingArgumentError"}],"description":"400 response: BadRequestError or MissingArgumentError"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}}},"/v1/todo/status/{teamId}/{boardId}/order":{"patch":{"operationId":"reorderTodoStatuses","tags":["todo"],"security":[{"accessToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"},{"schema":{"type":"string","format":"uuid"},"required":true,"name":"boardId","in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReorderTodoStatuses"}}}},"responses":{"200":{"description":"Statuses reordered","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TodoStatus"}}}}},"400":{"description":"BadRequestError or MissingArgumentError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/BadRequestError"},{"$ref":"#/components/schemas/MissingArgumentError"}],"description":"400 response: BadRequestError or MissingArgumentError"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}}},"/v1/todo/item/{teamId}/{boardId}":{"get":{"operationId":"findTodosByBoard","tags":["todo"],"security":[{"accessToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"},{"schema":{"type":"string","format":"uuid"},"required":true,"name":"boardId","in":"path"},{"schema":{"type":"number","nullable":true},"required":false,"name":"pageNumber","in":"query"},{"schema":{"type":"number","nullable":true},"required":false,"name":"pageSize","in":"query"},{"schema":{"type":"boolean","nullable":true},"required":false,"name":"archived","in":"query"}],"responses":{"200":{"description":"Todos list","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TodoInfoListWithGlobalCount"}}}},"400":{"description":"BadRequestError or MissingArgumentError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/BadRequestError"},{"$ref":"#/components/schemas/MissingArgumentError"}],"description":"400 response: BadRequestError or MissingArgumentError"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}},"post":{"operationId":"createTodo","tags":["todo"],"security":[{"accessToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"},{"schema":{"type":"string","format":"uuid"},"required":true,"name":"boardId","in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"title":{"type":"string","minLength":1},"description":{"type":"string","nullable":true},"priority":{"type":"string","enum":["LOW","NORMAL","HIGH","URGENT"]},"statusId":{"type":"string","format":"uuid"},"memberAssigneeIds":{"type":"array","items":{"type":"string","format":"uuid"}},"groupAssigneeIds":{"type":"array","items":{"type":"string","format":"uuid"}},"tagIds":{"type":"array","items":{"type":"string","format":"uuid"}},"subscriberIds":{"type":"array","items":{"type":"string","format":"uuid"}},"subscribe":{"type":"boolean"},"startAt":{"type":"string","nullable":true,"format":"date-time"},"dueAt":{"type":"string","nullable":true,"format":"date-time"}},"required":["title","priority","statusId"]}}}},"responses":{"200":{"description":"Todo created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TodoInfo"}}}},"400":{"description":"BadRequestError or MissingArgumentError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/BadRequestError"},{"$ref":"#/components/schemas/MissingArgumentError"}],"description":"400 response: BadRequestError or MissingArgumentError"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}}},"/v1/todo/item/{teamId}/{boardId}/bulk-archive":{"patch":{"operationId":"bulkArchiveTodos","tags":["todo"],"security":[{"accessToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"},{"schema":{"type":"string","format":"uuid"},"required":true,"name":"boardId","in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkArchiveTodos"}}}},"responses":{"200":{"description":"Todos bulk archived","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkArchiveTodosResponse"}}}},"400":{"description":"BadRequestError or MissingArgumentError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/BadRequestError"},{"$ref":"#/components/schemas/MissingArgumentError"}],"description":"400 response: BadRequestError or MissingArgumentError"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}}},"/v1/todo/item/{teamId}/{boardId}/{id}":{"patch":{"operationId":"updateTodo","tags":["todo"],"security":[{"accessToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"},{"schema":{"type":"string","format":"uuid"},"required":true,"name":"boardId","in":"path"},{"schema":{"type":"string","format":"uuid"},"required":true,"name":"id","in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateTodo"}}}},"responses":{"200":{"description":"Todo updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateTodoResponse"}}}},"400":{"description":"BadRequestError or MissingArgumentError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/BadRequestError"},{"$ref":"#/components/schemas/MissingArgumentError"}],"description":"400 response: BadRequestError or MissingArgumentError"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}},"delete":{"operationId":"deleteTodo","tags":["todo"],"security":[{"accessToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"},{"schema":{"type":"string","format":"uuid"},"required":true,"name":"boardId","in":"path"},{"schema":{"type":"string","format":"uuid"},"required":true,"name":"id","in":"path"}],"responses":{"200":{"description":"Todo deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TodoInfo"}}}},"400":{"description":"BadRequestError or MissingArgumentError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/BadRequestError"},{"$ref":"#/components/schemas/MissingArgumentError"}],"description":"400 response: BadRequestError or MissingArgumentError"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}}},"/v1/todo/item/{teamId}/{boardId}/{id}/archive":{"patch":{"operationId":"archiveTodo","tags":["todo"],"security":[{"accessToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"},{"schema":{"type":"string","format":"uuid"},"required":true,"name":"boardId","in":"path"},{"schema":{"type":"string","format":"uuid"},"required":true,"name":"id","in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ArchiveTodo"}}}},"responses":{"200":{"description":"Todo archived/unarchived","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TodoInfo"}}}},"400":{"description":"BadRequestError or MissingArgumentError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/BadRequestError"},{"$ref":"#/components/schemas/MissingArgumentError"}],"description":"400 response: BadRequestError or MissingArgumentError"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}}},"/v1/todo/item/{teamId}/{boardId}/{id}/timeline":{"get":{"operationId":"getTodoTimeline","tags":["todo"],"security":[{"accessToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"},{"schema":{"type":"string","format":"uuid"},"required":true,"name":"boardId","in":"path"},{"schema":{"type":"string","format":"uuid"},"required":true,"name":"id","in":"path"}],"responses":{"200":{"description":"Todo timeline","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TodoTimelineList"}}}},"400":{"description":"BadRequestError or MissingArgumentError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/BadRequestError"},{"$ref":"#/components/schemas/MissingArgumentError"}],"description":"400 response: BadRequestError or MissingArgumentError"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}}},"/v1/todo/item/{teamId}/{boardId}/{id}/move":{"post":{"operationId":"moveTodoToBoard","tags":["todo"],"security":[{"accessToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"},{"schema":{"type":"string","format":"uuid"},"required":true,"name":"boardId","in":"path"},{"schema":{"type":"string","format":"uuid"},"required":true,"name":"id","in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MoveTodo"}}}},"responses":{"200":{"description":"Todo moved to target board","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TodoInfo"}}}},"400":{"description":"BadRequestError or MissingArgumentError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/BadRequestError"},{"$ref":"#/components/schemas/MissingArgumentError"}],"description":"400 response: BadRequestError or MissingArgumentError"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}}},"/v1/todo/item/{teamId}/{boardId}/{id}/comments":{"get":{"operationId":"findTodoComments","tags":["todo"],"security":[{"accessToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"},{"schema":{"type":"string","format":"uuid"},"required":true,"name":"boardId","in":"path"},{"schema":{"type":"string","format":"uuid"},"required":true,"name":"id","in":"path"},{"schema":{"type":"number","nullable":true},"required":false,"name":"pageNumber","in":"query"},{"schema":{"type":"number","nullable":true},"required":false,"name":"pageSize","in":"query"}],"responses":{"200":{"description":"Todo comments list","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TodoCommentInfoList"}}}},"400":{"description":"BadRequestError or MissingArgumentError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/BadRequestError"},{"$ref":"#/components/schemas/MissingArgumentError"}],"description":"400 response: BadRequestError or MissingArgumentError"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}}},"/v1/todo/comment/{teamId}/{boardId}":{"post":{"operationId":"createTodoComment","tags":["todo"],"security":[{"accessToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"},{"schema":{"type":"string","format":"uuid"},"required":true,"name":"boardId","in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateTodoComment"}}}},"responses":{"200":{"description":"Comment created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TodoCommentInfo"}}}},"400":{"description":"BadRequestError or MissingArgumentError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/BadRequestError"},{"$ref":"#/components/schemas/MissingArgumentError"}],"description":"400 response: BadRequestError or MissingArgumentError"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}}},"/v1/todo/comment/{teamId}/{boardId}/{id}":{"patch":{"operationId":"updateTodoComment","tags":["todo"],"security":[{"accessToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"},{"schema":{"type":"string","format":"uuid"},"required":true,"name":"boardId","in":"path"},{"schema":{"type":"string","format":"uuid"},"required":true,"name":"id","in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"body":{"type":"string","minLength":1},"todoId":{"type":"string","format":"uuid"}},"required":["body","todoId"]}}}},"responses":{"200":{"description":"Comment updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TodoCommentInfo"}}}},"400":{"description":"BadRequestError or MissingArgumentError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/BadRequestError"},{"$ref":"#/components/schemas/MissingArgumentError"}],"description":"400 response: BadRequestError or MissingArgumentError"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}},"delete":{"operationId":"deleteTodoComment","tags":["todo"],"security":[{"accessToken":[]},{"teamApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"teamId","in":"path"},{"schema":{"type":"string","format":"uuid"},"required":true,"name":"boardId","in":"path"},{"schema":{"type":"string","format":"uuid"},"required":true,"name":"id","in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"todoId":{"type":"string","format":"uuid"}},"required":["todoId"]}}}},"responses":{"200":{"description":"Comment deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TodoComment"}}}},"400":{"description":"BadRequestError or MissingArgumentError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/BadRequestError"},{"$ref":"#/components/schemas/MissingArgumentError"}],"description":"400 response: BadRequestError or MissingArgumentError"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}}}},"tags":[]}