diff --git a/server/src/__tests__/contracts/fixtures/effect-v1-openapi.json b/server/src/__tests__/contracts/fixtures/effect-v1-openapi.json index a9f11ad6d..840bb2c24 100644 --- a/server/src/__tests__/contracts/fixtures/effect-v1-openapi.json +++ b/server/src/__tests__/contracts/fixtures/effect-v1-openapi.json @@ -1 +1 @@ -{"components":{"schemas":{"AddMemberInput":{"additionalProperties":false,"properties":{"spaceId":{"$ref":"#/components/schemas/V1InputId1"},"userId":{"$ref":"#/components/schemas/V1InputId1"}},"required":["spaceId","userId"],"type":"object"},"AddMemberInput1":{"additionalProperties":false,"properties":{"spaceId":{"$ref":"#/components/schemas/V1InputId"},"userId":{"$ref":"#/components/schemas/V1InputId"}},"required":["spaceId","userId"],"type":"object"},"AddMemberInput2":{"additionalProperties":false,"properties":{"spaceId":{"$ref":"#/components/schemas/V1InputId1"},"userId":{"$ref":"#/components/schemas/V1InputId1"}},"required":["spaceId","userId"],"type":"object"},"AddMemberResult":{"additionalProperties":false,"properties":{"member":{"$ref":"#/components/schemas/MemberInfo"}},"required":["member"],"type":"object"},"AddMemberSuccess":{"additionalProperties":false,"properties":{"ok":{"enum":[true],"type":"boolean"},"result":{"$ref":"#/components/schemas/AddMemberResult"}},"required":["ok","result"],"type":"object"},"AddReactionInput":{"additionalProperties":false,"properties":{"chatId":{"$ref":"#/components/schemas/V1InputId1"},"emoji":{"type":"string"},"messageId":{"$ref":"#/components/schemas/V1InputId1"}},"required":["messageId","chatId","emoji"],"type":"object"},"AddReactionInput1":{"additionalProperties":false,"properties":{"chatId":{"$ref":"#/components/schemas/V1InputId"},"emoji":{"type":"string"},"messageId":{"$ref":"#/components/schemas/V1InputId"}},"required":["messageId","chatId","emoji"],"type":"object"},"AddReactionInput2":{"additionalProperties":false,"properties":{"chatId":{"$ref":"#/components/schemas/V1InputId1"},"emoji":{"type":"string"},"messageId":{"$ref":"#/components/schemas/V1InputId1"}},"required":["messageId","chatId","emoji"],"type":"object"},"AddReactionResult":{"additionalProperties":false,"properties":{"reaction":{"$ref":"#/components/schemas/ReactionInfo"}},"required":["reaction"],"type":"object"},"AddReactionSuccess":{"additionalProperties":false,"properties":{"ok":{"enum":[true],"type":"boolean"},"result":{"$ref":"#/components/schemas/AddReactionResult"}},"required":["ok","result"],"type":"object"},"AdminActiveUsersResult":{"additionalProperties":false,"properties":{"limit":{"$ref":"#/components/schemas/WirePositiveInteger"},"ok":{"enum":[true],"type":"boolean"},"period":{"enum":["today","week"],"type":"string"},"users":{"items":{"additionalProperties":false,"properties":{"activeDays":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"email":{"anyOf":[{"type":"string"},{"type":"null"}]},"firstName":{"anyOf":[{"type":"string"},{"type":"null"}]},"id":{"$ref":"#/components/schemas/UserId"},"lastActive":{"type":"string"},"lastName":{"anyOf":[{"type":"string"},{"type":"null"}]},"messageCount":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"username":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["id","email","firstName","lastName","username","activeDays","messageCount","lastActive"],"type":"object"},"type":"array"}},"required":["ok","period","limit","users"],"type":"object"},"AdminAppMetrics":{"additionalProperties":false,"properties":{"activeUsersLast7d":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"activeUsersToday":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"asOf":{"type":"string"},"dailyActivity":{"items":{"additionalProperties":false,"properties":{"activeUsers":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"date":{"type":"string"},"messages":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"newUsers":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"threads":{"$ref":"#/components/schemas/WireNonNegativeInteger"}},"required":["date","activeUsers","newUsers","messages","threads"],"type":"object"},"type":"array"},"dau":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"messagesToday":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"reportingTimeZone":{"enum":["UTC"],"type":"string"},"threadsCreatedToday":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"totals":{"additionalProperties":false,"properties":{"onlineUsers":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"totalUsers":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"verifiedUsers":{"$ref":"#/components/schemas/WireNonNegativeInteger"}},"required":["totalUsers","verifiedUsers","onlineUsers"],"type":"object"},"wau":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"weeklyActivity":{"items":{"$ref":"#/components/schemas/AdminWeeklyActivity"},"type":"array"}},"required":["asOf","reportingTimeZone","dailyActivity","dau","wau","messagesToday","activeUsersToday","activeUsersLast7d","threadsCreatedToday","totals","weeklyActivity"],"type":"object"},"AdminAppMetricsResult":{"additionalProperties":false,"properties":{"metrics":{"$ref":"#/components/schemas/AdminAppMetrics"},"ok":{"enum":[true],"type":"boolean"}},"required":["ok","metrics"],"type":"object"},"AdminCreateEmailCampaignInput":{"additionalProperties":false,"properties":{"audience":{"$ref":"#/components/schemas/AdminEmailCampaignAudience"},"bodyText":{"type":"string"},"confirmation":{"type":"string"},"fromAddress":{"enum":["team@inline.chat","founders@inline.chat","mo@inline.chat"],"type":"string"},"name":{"type":"string"},"previewText":{"type":"string"},"provider":{"enum":["resend","ses"],"type":"string"},"seriesKey":{"type":"string"},"subject":{"type":"string"},"unsubscribeOverrideReason":{"type":"string"},"visibleUnsubscribe":{"type":"boolean"}},"required":["name","provider","fromAddress","subject","bodyText","visibleUnsubscribe","audience","confirmation"],"type":"object"},"AdminEmailCampaignAudience":{"additionalProperties":false,"properties":{"activeWithinDays":{"anyOf":[{"anyOf":[{"type":"number"},{"enum":["NaN"],"type":"string"},{"enum":["Infinity"],"type":"string"},{"enum":["-Infinity"],"type":"string"}]},{"enum":["Infinity","-Infinity","NaN"],"type":"string"}]},"excludeCampaignIds":{"items":{"anyOf":[{"anyOf":[{"type":"number"},{"enum":["NaN"],"type":"string"},{"enum":["Infinity"],"type":"string"},{"enum":["-Infinity"],"type":"string"}]},{"enum":["Infinity","-Infinity","NaN"],"type":"string"}]},"type":"array"},"excludeInlineUsers":{"type":"boolean"},"joinedAfter":{"type":"string"},"joinedBefore":{"type":"string"},"limit":{"anyOf":[{"anyOf":[{"type":"number"},{"enum":["NaN"],"type":"string"},{"enum":["Infinity"],"type":"string"},{"enum":["-Infinity"],"type":"string"}]},{"enum":["Infinity","-Infinity","NaN"],"type":"string"}]},"manualEmails":{"items":{"type":"string"},"type":"array"},"platforms":{"items":{"enum":["ios","macos","web","api","android","windows","linux","cli"],"type":"string"},"type":"array"},"sampleSeed":{"type":"string"},"selectionOrder":{"enum":["newest","oldest","random"],"type":"string"},"sources":{"items":{"enum":["inline","waitlist"],"type":"string"},"type":"array"},"timeZoneGroup":{"enum":["all","americas","europe_africa","asia_oceania"],"type":"string"},"verifiedOnly":{"type":"boolean"}},"required":["sources","verifiedOnly","platforms","manualEmails","excludeCampaignIds","sampleSeed"],"type":"object"},"AdminEmailCampaignPreviewInput":{"additionalProperties":false,"properties":{"audience":{"$ref":"#/components/schemas/AdminEmailCampaignAudience"},"bodyText":{"type":"string"},"previewName":{"type":"string"},"previewText":{"type":"string"},"provider":{"enum":["resend","ses"],"type":"string"},"subject":{"type":"string"},"visibleUnsubscribe":{"type":"boolean"}},"required":["provider","subject","bodyText","visibleUnsubscribe","audience"],"type":"object"},"AdminEmailCampaignPreviewResult":{"additionalProperties":false,"properties":{"count":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"excluded":{"additionalProperties":false,"properties":{"converted":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"duplicate":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"inactive":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"invalid":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"limited":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"platform":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"priorCampaign":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"suppressed":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"timeZone":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"typo":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"unverified":{"$ref":"#/components/schemas/WireNonNegativeInteger"}},"required":["invalid","typo","unverified","inactive","platform","suppressed","priorCampaign","converted","duplicate","timeZone","limited"],"type":"object"},"ok":{"enum":[true],"type":"boolean"},"rendered":{"additionalProperties":false,"properties":{"html":{"type":"string"},"subject":{"type":"string"},"text":{"type":"string"},"variables":{"additionalProperties":false,"properties":{"email":{"type":"string"},"name":{"type":"string"}},"required":["name","email"],"type":"object"}},"required":["subject","html","text","variables"],"type":"object"},"sample":{"items":{"additionalProperties":false,"properties":{"email":{"type":"string"},"joinedAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"name":{"anyOf":[{"type":"string"},{"type":"null"}]},"sources":{"items":{"type":"string"},"type":"array"}},"required":["email","name","sources","joinedAt"],"type":"object"},"type":"array"},"timeZones":{"additionalProperties":false,"properties":{"averageUtcOffsetMinutes":{"anyOf":[{"$ref":"#/components/schemas/WireSafeInteger"},{"type":"null"}]},"groups":{"additionalProperties":false,"properties":{"americas":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"asiaOceania":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"europeAfrica":{"$ref":"#/components/schemas/WireNonNegativeInteger"}},"required":["americas","europeAfrica","asiaOceania"],"type":"object"},"known":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"unknown":{"$ref":"#/components/schemas/WireNonNegativeInteger"}},"required":["known","unknown","averageUtcOffsetMinutes","groups"],"type":"object"}},"required":["ok","count","sample","excluded","timeZones","rendered"],"type":"object"},"AdminEmailCampaignResult":{"additionalProperties":false,"properties":{"campaign":{"additionalProperties":false,"properties":{"completedAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"contactedCount":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"createdAt":{"type":"string"},"fromAddress":{"enum":["team@inline.chat","founders@inline.chat","mo@inline.chat"],"type":"string"},"id":{"$ref":"#/components/schemas/InlineId"},"name":{"type":"string"},"pendingCount":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"preparedCount":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"provider":{"enum":["resend","ses"],"type":"string"},"recipientCount":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"seriesKey":{"anyOf":[{"type":"string"},{"type":"null"}]},"status":{"type":"string"},"subject":{"type":"string"},"suppressedCount":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"testSentAt":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["id","name","seriesKey","subject","provider","fromAddress","status","recipientCount","pendingCount","preparedCount","contactedCount","suppressedCount","testSentAt","createdAt","completedAt"],"type":"object"},"ok":{"enum":[true],"type":"boolean"}},"required":["ok","campaign"],"type":"object"},"AdminEmailCampaignSendInput":{"additionalProperties":false,"properties":{"batchSize":{"anyOf":[{"anyOf":[{"type":"number"},{"enum":["NaN"],"type":"string"},{"enum":["Infinity"],"type":"string"},{"enum":["-Infinity"],"type":"string"}]},{"enum":["Infinity","-Infinity","NaN"],"type":"string"}]},"confirmation":{"type":"string"}},"required":["confirmation","batchSize"],"type":"object"},"AdminEmailCampaignSendResult":{"additionalProperties":false,"properties":{"accepted":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"attempted":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"ok":{"enum":[true],"type":"boolean"},"pending":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"phase":{"type":"string"},"status":{"type":"string"},"unknown":{"$ref":"#/components/schemas/WireNonNegativeInteger"}},"required":["ok","attempted","accepted","unknown","pending","status","phase"],"type":"object"},"AdminEmailCampaignTestInput":{"additionalProperties":false,"properties":{"email":{"type":"string"},"name":{"type":"string"}},"required":["email"],"type":"object"},"AdminEmailCampaignsResult":{"additionalProperties":false,"properties":{"campaigns":{"items":{"additionalProperties":false,"properties":{"completedAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"contactedCount":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"createdAt":{"type":"string"},"fromAddress":{"enum":["team@inline.chat","founders@inline.chat","mo@inline.chat"],"type":"string"},"id":{"$ref":"#/components/schemas/InlineId"},"name":{"type":"string"},"pendingCount":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"preparedCount":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"provider":{"enum":["resend","ses"],"type":"string"},"recipientCount":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"seriesKey":{"anyOf":[{"type":"string"},{"type":"null"}]},"status":{"type":"string"},"subject":{"type":"string"},"suppressedCount":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"testSentAt":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["id","name","seriesKey","subject","provider","fromAddress","status","recipientCount","pendingCount","preparedCount","contactedCount","suppressedCount","testSentAt","createdAt","completedAt"],"type":"object"},"type":"array"},"ok":{"enum":[true],"type":"boolean"}},"required":["ok","campaigns"],"type":"object"},"AdminEmailProviderStatusResult":{"additionalProperties":false,"properties":{"ok":{"enum":[true],"type":"boolean"},"providerStatus":{"additionalProperties":false,"properties":{"available":{"type":"boolean"},"dailyQuota":{"anyOf":[{"type":"string"},{"type":"null"}]},"fromAddress":{"type":"string"},"max24HourSend":{"anyOf":[{"anyOf":[{"anyOf":[{"type":"number"},{"enum":["NaN"],"type":"string"},{"enum":["Infinity"],"type":"string"},{"enum":["-Infinity"],"type":"string"}]},{"enum":["Infinity","-Infinity","NaN"],"type":"string"}]},{"type":"null"}]},"maxSendRate":{"anyOf":[{"anyOf":[{"anyOf":[{"type":"number"},{"enum":["NaN"],"type":"string"},{"enum":["Infinity"],"type":"string"},{"enum":["-Infinity"],"type":"string"}]},{"enum":["Infinity","-Infinity","NaN"],"type":"string"}]},{"type":"null"}]},"monthlyQuota":{"anyOf":[{"type":"string"},{"type":"null"}]},"productionAccess":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"provider":{"enum":["resend","ses"],"type":"string"},"quotaWindow":{"anyOf":[{"enum":["fixed","rolling_24_hours"],"type":"string"},{"type":"null"}]},"refreshedAt":{"type":"string"},"region":{"anyOf":[{"type":"string"},{"type":"null"}]},"remaining24Hours":{"anyOf":[{"anyOf":[{"anyOf":[{"type":"number"},{"enum":["NaN"],"type":"string"},{"enum":["Infinity"],"type":"string"},{"enum":["-Infinity"],"type":"string"}]},{"enum":["Infinity","-Infinity","NaN"],"type":"string"}]},{"type":"null"}]},"replyToAddress":{"type":"string"},"requestLimit":{"anyOf":[{"$ref":"#/components/schemas/WireSafeInteger"},{"type":"null"}]},"requestRemaining":{"anyOf":[{"$ref":"#/components/schemas/WireSafeInteger"},{"type":"null"}]},"requestResetAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"retryAfterSeconds":{"anyOf":[{"$ref":"#/components/schemas/WireSafeInteger"},{"type":"null"}]},"senderIdentityVerified":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"sendingEnabled":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"sentLast24Hours":{"anyOf":[{"anyOf":[{"anyOf":[{"type":"number"},{"enum":["NaN"],"type":"string"},{"enum":["Infinity"],"type":"string"},{"enum":["-Infinity"],"type":"string"}]},{"enum":["Infinity","-Infinity","NaN"],"type":"string"}]},{"type":"null"}]},"statusCode":{"anyOf":[{"$ref":"#/components/schemas/WireSafeInteger"},{"type":"null"}]}},"required":["provider","fromAddress","replyToAddress","region","refreshedAt","available","statusCode","sendingEnabled","productionAccess","requestLimit","requestRemaining","requestResetAt","retryAfterSeconds","dailyQuota","monthlyQuota","max24HourSend","sentLast24Hours","remaining24Hours","maxSendRate","quotaWindow","senderIdentityVerified"],"type":"object"}},"required":["ok","providerStatus"],"type":"object"},"AdminEmailProviderTestInput":{"additionalProperties":false,"properties":{"provider":{"enum":["resend","ses"],"type":"string"}},"required":["provider"],"type":"object"},"AdminEmailProviderTestResult":{"additionalProperties":false,"properties":{"fromAddress":{"type":"string"},"messageId":{"anyOf":[{"type":"string"},{"type":"null"}]},"ok":{"enum":[true],"type":"boolean"},"provider":{"enum":["resend","ses"],"type":"string"},"recipient":{"type":"string"},"replyToAddress":{"type":"string"},"sentAt":{"type":"string"}},"required":["ok","provider","recipient","fromAddress","replyToAddress","messageId","sentAt"],"type":"object"},"AdminGrantInvitesBadRequest":{"additionalProperties":false,"properties":{"error":{"enum":["invalid_user","invalid_count"],"type":"string"},"ok":{"enum":[false],"type":"boolean"}},"required":["ok","error"],"type":"object"},"AdminInvalidCountBadRequest":{"additionalProperties":false,"properties":{"error":{"anyOf":[{"enum":["invalid_count"],"type":"string"}]},"ok":{"enum":[false],"type":"boolean"}},"required":["ok","error"],"type":"object"},"AdminInvalidSessionBadRequest":{"additionalProperties":false,"properties":{"error":{"anyOf":[{"enum":["invalid_session"],"type":"string"}]},"ok":{"enum":[false],"type":"boolean"}},"required":["ok","error"],"type":"object"},"AdminInvalidUserBadRequest":{"additionalProperties":false,"properties":{"error":{"anyOf":[{"enum":["invalid_user"],"type":"string"}]},"ok":{"enum":[false],"type":"boolean"}},"required":["ok","error"],"type":"object"},"AdminInviteCodesResult":{"additionalProperties":false,"properties":{"codes":{"items":{"type":"string"},"type":"array"},"ok":{"enum":[true],"type":"boolean"}},"required":["ok","codes"],"type":"object"},"AdminInviteCountInput":{"additionalProperties":false,"properties":{"count":{"anyOf":[{"anyOf":[{"type":"number"},{"enum":["NaN"],"type":"string"},{"enum":["Infinity"],"type":"string"},{"enum":["-Infinity"],"type":"string"}]},{"enum":["Infinity","-Infinity","NaN"],"type":"string"}]},"note":{"type":"string"}},"required":["count"],"type":"object"},"AdminInvitesResult":{"additionalProperties":false,"properties":{"invites":{"items":{"additionalProperties":false,"properties":{"code":{"type":"string"},"createdAt":{"type":"string"},"createdByUserId":{"anyOf":[{"$ref":"#/components/schemas/UserId"},{"type":"null"}]},"id":{"$ref":"#/components/schemas/InlineId"},"note":{"anyOf":[{"type":"string"},{"type":"null"}]},"ownerUserId":{"anyOf":[{"$ref":"#/components/schemas/UserId"},{"type":"null"}]},"redeemed":{"type":"boolean"},"redeemedAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"redeemedByUserId":{"anyOf":[{"$ref":"#/components/schemas/UserId"},{"type":"null"}]}},"required":["id","code","ownerUserId","redeemedByUserId","createdByUserId","note","createdAt","redeemedAt","redeemed"],"type":"object"},"type":"array"},"ok":{"enum":[true],"type":"boolean"}},"required":["ok","invites"],"type":"object"},"AdminLoginBadRequest":{"additionalProperties":false,"properties":{"error":{"anyOf":[{"enum":["invalid_email"],"type":"string"}]},"ok":{"enum":[false],"type":"boolean"}},"required":["ok","error"],"type":"object"},"AdminLoginForbidden":{"additionalProperties":false,"properties":{"error":{"enum":["not_allowed","password_not_set"],"type":"string"},"ok":{"enum":[false],"type":"boolean"}},"required":["ok","error"],"type":"object"},"AdminLoginInput":{"additionalProperties":false,"properties":{"email":{"type":"string"},"password":{"type":"string"},"totpCode":{"type":"string"}},"required":["email","password"],"type":"object"},"AdminLoginTooManyRequests":{"additionalProperties":false,"properties":{"error":{"anyOf":[{"enum":["login_locked"],"type":"string"}]},"ok":{"enum":[false],"type":"boolean"}},"required":["ok","error"],"type":"object"},"AdminLoginUnauthorized":{"additionalProperties":false,"properties":{"error":{"enum":["invalid_credentials","invalid_totp"],"type":"string"},"ok":{"enum":[false],"type":"boolean"}},"required":["ok","error"],"type":"object"},"AdminMeResult":{"additionalProperties":false,"properties":{"ok":{"enum":[true],"type":"boolean"},"session":{"additionalProperties":false,"properties":{"stepUpAt":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["stepUpAt"],"type":"object"},"setup":{"additionalProperties":false,"properties":{"passwordSet":{"type":"boolean"},"totpEnabled":{"type":"boolean"}},"required":["passwordSet","totpEnabled"],"type":"object"},"user":{"additionalProperties":false,"properties":{"email":{"type":"string"},"firstName":{"anyOf":[{"type":"string"},{"type":"null"}]},"id":{"$ref":"#/components/schemas/UserId"},"lastName":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["id","email","firstName","lastName"],"type":"object"}},"required":["ok","user","setup","session"],"type":"object"},"AdminNotFound":{"additionalProperties":false,"properties":{"error":{"anyOf":[{"enum":["not_found"],"type":"string"}]},"ok":{"enum":[false],"type":"boolean"}},"required":["ok","error"],"type":"object"},"AdminOverviewMetricsResult":{"additionalProperties":false,"properties":{"metrics":{"additionalProperties":false,"properties":{"asOf":{"type":"string"},"connections":{"additionalProperties":false,"properties":{"authenticated":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"total":{"$ref":"#/components/schemas/WireNonNegativeInteger"}},"required":["total","authenticated"],"type":"object"},"dailyActivity":{"items":{"additionalProperties":false,"properties":{"activeUsers":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"date":{"type":"string"},"messages":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"newUsers":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"threads":{"$ref":"#/components/schemas/WireNonNegativeInteger"}},"required":["date","activeUsers","newUsers","messages","threads"],"type":"object"},"type":"array"},"dau":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"errors":{"additionalProperties":false,"properties":{"last5m":{"$ref":"#/components/schemas/WireNonNegativeInteger"}},"required":["last5m"],"type":"object"},"messagesToday":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"mrr":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"newUsersLastDay":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"newWaitlistLastDay":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"recentUsersLastDay":{"items":{"additionalProperties":false,"properties":{"avatarUrl":{"anyOf":[{"type":"string"},{"type":"null"}]},"createdAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"email":{"anyOf":[{"type":"string"},{"type":"null"}]},"firstName":{"anyOf":[{"type":"string"},{"type":"null"}]},"id":{"$ref":"#/components/schemas/UserId"},"lastName":{"anyOf":[{"type":"string"},{"type":"null"}]},"oauthConnections":{"items":{"enum":["chatgpt","mcp"],"type":"string"},"type":"array"},"pendingSetup":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"username":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["id","email","firstName","lastName","username","createdAt","pendingSetup","avatarUrl"],"type":"object"},"type":"array"},"recentWaitlistLastDay":{"items":{"additionalProperties":false,"properties":{"date":{"anyOf":[{"type":"string"},{"type":"null"}]},"email":{"type":"string"},"id":{"$ref":"#/components/schemas/InlineId"},"name":{"anyOf":[{"type":"string"},{"type":"null"}]},"verified":{"type":"boolean"}},"required":["id","email","name","verified","date"],"type":"object"},"type":"array"},"reportingTimeZone":{"enum":["UTC"],"type":"string"},"waitlistCount":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"wau":{"$ref":"#/components/schemas/WireNonNegativeInteger"}},"required":["dau","wau","messagesToday","mrr","connections","errors","waitlistCount","newUsersLastDay","newWaitlistLastDay","recentUsersLastDay","recentWaitlistLastDay","dailyActivity","asOf","reportingTimeZone"],"type":"object"},"ok":{"enum":[true],"type":"boolean"}},"required":["ok","metrics"],"type":"object"},"AdminReservedUsernameBadRequest":{"additionalProperties":false,"properties":{"error":{"enum":["invalid_username","built_in_reservation"],"type":"string"},"ok":{"enum":[false],"type":"boolean"}},"required":["ok","error"],"type":"object"},"AdminReservedUsernameInput":{"additionalProperties":false,"properties":{"username":{"type":"string"}},"required":["username"],"type":"object"},"AdminReservedUsernamesResult":{"additionalProperties":false,"properties":{"ok":{"enum":[true],"type":"boolean"},"usernames":{"items":{"additionalProperties":false,"properties":{"createdAt":{"type":"string"},"username":{"type":"string"}},"required":["username","createdAt"],"type":"object"},"type":"array"}},"required":["ok","usernames"],"type":"object"},"AdminRevokeSessionResult":{"additionalProperties":false,"properties":{"alreadyRevoked":{"type":"boolean"},"ok":{"enum":[true],"type":"boolean"},"revoked":{"type":"boolean"}},"required":["ok","revoked","alreadyRevoked"],"type":"object"},"AdminSendEmailCodeBadRequest":{"additionalProperties":false,"properties":{"error":{"anyOf":[{"enum":["invalid_email"],"type":"string"}]},"ok":{"enum":[false],"type":"boolean"}},"required":["ok","error"],"type":"object"},"AdminSendEmailCodeForbidden":{"additionalProperties":false,"properties":{"error":{"anyOf":[{"enum":["already_signed_in"],"type":"string"}]},"ok":{"enum":[false],"type":"boolean"}},"required":["ok","error"],"type":"object"},"AdminSendEmailCodeInput":{"additionalProperties":false,"properties":{"email":{"type":"string"}},"required":["email"],"type":"object"},"AdminSendEmailCodeInternal":{"additionalProperties":false,"properties":{"error":{"enum":["send_failed","server_error"],"type":"string"},"ok":{"enum":[false],"type":"boolean"}},"required":["ok","error"],"type":"object"},"AdminSendEmailCodeResult":{"additionalProperties":false,"properties":{"challengeToken":{"type":"string"},"ok":{"enum":[true],"type":"boolean"}},"required":["ok"],"type":"object"},"AdminServerConfigBadRequest":{"additionalProperties":false,"properties":{"error":{"enum":["invalid_config_key","invalid_config_value","invalid_config_version"],"type":"string"},"ok":{"enum":[false],"type":"boolean"}},"required":["ok","error"],"type":"object"},"AdminServerConfigConflict":{"additionalProperties":false,"properties":{"error":{"anyOf":[{"enum":["config_conflict"],"type":"string"}]},"ok":{"enum":[false],"type":"boolean"}},"required":["ok","error"],"type":"object"},"AdminServerConfigResult":{"additionalProperties":false,"properties":{"ok":{"enum":[true],"type":"boolean"},"settings":{"items":{"additionalProperties":false,"properties":{"allowedValues":{"items":{"type":"string"},"type":"array"},"databaseUpdatedAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"databaseUpdatedByUserId":{"anyOf":[{"$ref":"#/components/schemas/WireSafeInteger"},{"type":"null"}]},"databaseValue":{"anyOf":[{"enum":["open","invite_only","disabled","prelude","custom","ses","resend"],"type":"string"},{"type":"null"}]},"databaseVersion":{"anyOf":[{"$ref":"#/components/schemas/WireSafeInteger"},{"type":"null"}]},"description":{"type":"string"},"environmentName":{"type":"string"},"key":{"enum":["auth.signup_mode","auth.phone_code_mode","email.default_provider"],"type":"string"},"label":{"type":"string"},"source":{"enum":["server_override","environment","database","legacy_environment","default"],"type":"string"},"value":{"enum":["open","invite_only","disabled","prelude","custom","ses","resend"],"type":"string"}},"required":["key","label","description","environmentName","allowedValues","value","source","databaseValue","databaseVersion","databaseUpdatedAt","databaseUpdatedByUserId"],"type":"object"},"type":"array"}},"required":["ok","settings"],"type":"object"},"AdminServerConfigSettingResult":{"additionalProperties":false,"properties":{"ok":{"enum":[true],"type":"boolean"},"setting":{"additionalProperties":false,"properties":{"allowedValues":{"items":{"type":"string"},"type":"array"},"databaseUpdatedAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"databaseUpdatedByUserId":{"anyOf":[{"$ref":"#/components/schemas/WireSafeInteger"},{"type":"null"}]},"databaseValue":{"anyOf":[{"enum":["open","invite_only","disabled","prelude","custom","ses","resend"],"type":"string"},{"type":"null"}]},"databaseVersion":{"anyOf":[{"$ref":"#/components/schemas/WireSafeInteger"},{"type":"null"}]},"description":{"type":"string"},"environmentName":{"type":"string"},"key":{"enum":["auth.signup_mode","auth.phone_code_mode","email.default_provider"],"type":"string"},"label":{"type":"string"},"source":{"enum":["server_override","environment","database","legacy_environment","default"],"type":"string"},"value":{"enum":["open","invite_only","disabled","prelude","custom","ses","resend"],"type":"string"}},"required":["key","label","description","environmentName","allowedValues","value","source","databaseValue","databaseVersion","databaseUpdatedAt","databaseUpdatedByUserId"],"type":"object"}},"required":["ok","setting"],"type":"object"},"AdminSessionPersonalData":{"additionalProperties":false,"properties":{"city":{"type":"string"},"country":{"type":"string"},"deviceName":{"type":"string"},"ip":{"type":"string"},"region":{"type":"string"},"timezone":{"type":"string"}},"type":"object"},"AdminSetPasswordBadRequest":{"additionalProperties":false,"properties":{"error":{"enum":["password_already_set","password_too_short"],"type":"string"},"ok":{"enum":[false],"type":"boolean"}},"required":["ok","error"],"type":"object"},"AdminSetPasswordForbidden":{"additionalProperties":false,"properties":{"error":{"anyOf":[{"enum":["not_allowed"],"type":"string"}]},"ok":{"enum":[false],"type":"boolean"}},"required":["ok","error"],"type":"object"},"AdminSetPasswordInput":{"additionalProperties":false,"properties":{"password":{"type":"string"}},"required":["password"],"type":"object"},"AdminSpacesResult":{"additionalProperties":false,"properties":{"ok":{"enum":[true],"type":"boolean"},"spaces":{"items":{"additionalProperties":false,"properties":{"createdAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"handle":{"anyOf":[{"type":"string"},{"type":"null"}]},"id":{"$ref":"#/components/schemas/InlineId"},"lastUpdateDate":{"anyOf":[{"type":"string"},{"type":"null"}]},"memberCount":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"name":{"type":"string"}},"required":["id","name","handle","createdAt","lastUpdateDate","memberCount"],"type":"object"},"type":"array"}},"required":["ok","spaces"],"type":"object"},"AdminStepUpBadRequest":{"additionalProperties":false,"properties":{"error":{"anyOf":[{"enum":["totp_required"],"type":"string"}]},"ok":{"enum":[false],"type":"boolean"}},"required":["ok","error"],"type":"object"},"AdminStepUpForbidden":{"additionalProperties":false,"properties":{"error":{"anyOf":[{"enum":["not_allowed"],"type":"string"}]},"ok":{"enum":[false],"type":"boolean"}},"required":["ok","error"],"type":"object"},"AdminStepUpInput":{"additionalProperties":false,"properties":{"password":{"type":"string"},"totpCode":{"type":"string"}},"required":["password","totpCode"],"type":"object"},"AdminStepUpResult":{"additionalProperties":false,"properties":{"ok":{"enum":[true],"type":"boolean"},"stepUpAt":{"type":"string"}},"required":["ok","stepUpAt"],"type":"object"},"AdminStepUpUnauthorized":{"additionalProperties":false,"properties":{"error":{"anyOf":[{"enum":["invalid_credentials"],"type":"string"}]},"ok":{"enum":[false],"type":"boolean"}},"required":["ok","error"],"type":"object"},"AdminSuccess":{"additionalProperties":false,"properties":{"ok":{"enum":[true],"type":"boolean"}},"required":["ok"],"type":"object"},"AdminTechnicalMetricsResult":{"additionalProperties":false,"properties":{"metrics":{"additionalProperties":false,"properties":{"connections":{"additionalProperties":false,"properties":{"authenticated":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"authenticatedUsers":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"connectedToday":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"total":{"$ref":"#/components/schemas/WireNonNegativeInteger"}},"required":["total","authenticated","authenticatedUsers","connectedToday"],"type":"object"},"errors":{"additionalProperties":false,"properties":{"last15m":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"last5m":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"total":{"$ref":"#/components/schemas/WireNonNegativeInteger"}},"required":["last5m","last15m","total"],"type":"object"},"memory":{"additionalProperties":false,"properties":{"heapTotal":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"heapUsed":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"rss":{"$ref":"#/components/schemas/WireNonNegativeInteger"}},"required":["rss","heapUsed","heapTotal"],"type":"object"},"notifications":{"additionalProperties":false,"properties":{"desktopPushSuppression":{"additionalProperties":false,"properties":{"activityIgnoredNonDesktopTotal":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"activityIgnoredUnknownSessionTypeTotal":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"activityRecordedTotal":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"allowedNoRecentDesktopActivityTotal":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"allowedTotal":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"allowedUrgentNudgeTotal":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"checksTotal":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"errorsTotal":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"lastSuppressedAt":{"anyOf":[{"$ref":"#/components/schemas/WireSafeInteger"},{"type":"null"}]},"suppressedTotal":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"trackedDesktopChatActivities":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"trackedDesktopSessions":{"$ref":"#/components/schemas/WireNonNegativeInteger"}},"required":["checksTotal","suppressedTotal","allowedTotal","allowedUrgentNudgeTotal","allowedNoRecentDesktopActivityTotal","activityRecordedTotal","activityIgnoredNonDesktopTotal","activityIgnoredUnknownSessionTypeTotal","errorsTotal","trackedDesktopSessions","trackedDesktopChatActivities","lastSuppressedAt"],"type":"object"}},"required":["desktopPushSuppression"],"type":"object"},"server":{"additionalProperties":false,"properties":{"gitCommit":{"type":"string"},"loadAverage":{"items":{"anyOf":[{"anyOf":[{"type":"number"},{"enum":["NaN"],"type":"string"},{"enum":["Infinity"],"type":"string"},{"enum":["-Infinity"],"type":"string"}]},{"enum":["Infinity","-Infinity","NaN"],"type":"string"}]},"type":"array"},"startedAt":{"type":"string"},"uptimeSeconds":{"anyOf":[{"anyOf":[{"type":"number"},{"enum":["NaN"],"type":"string"},{"enum":["Infinity"],"type":"string"},{"enum":["-Infinity"],"type":"string"}]},{"enum":["Infinity","-Infinity","NaN"],"type":"string"}]},"version":{"type":"string"}},"required":["version","gitCommit","startedAt","uptimeSeconds","loadAverage"],"type":"object"}},"required":["server","memory","connections","errors","notifications"],"type":"object"},"ok":{"enum":[true],"type":"boolean"}},"required":["ok","metrics"],"type":"object"},"AdminTotpCodeInput":{"additionalProperties":false,"properties":{"code":{"type":"string"}},"required":["code"],"type":"object"},"AdminTotpSetupBadRequest":{"additionalProperties":false,"properties":{"error":{"enum":["password_required","totp_already_enabled"],"type":"string"},"ok":{"enum":[false],"type":"boolean"}},"required":["ok","error"],"type":"object"},"AdminTotpSetupForbidden":{"additionalProperties":false,"properties":{"error":{"anyOf":[{"enum":["not_allowed"],"type":"string"}]},"ok":{"enum":[false],"type":"boolean"}},"required":["ok","error"],"type":"object"},"AdminTotpSetupResult":{"additionalProperties":false,"properties":{"ok":{"enum":[true],"type":"boolean"},"otpauthUrl":{"type":"string"},"secret":{"type":"string"}},"required":["ok","secret","otpauthUrl"],"type":"object"},"AdminTotpVerifyBadRequest":{"additionalProperties":false,"properties":{"error":{"enum":["totp_already_enabled","invalid_totp"],"type":"string"},"ok":{"enum":[false],"type":"boolean"}},"required":["ok","error"],"type":"object"},"AdminTotpVerifyForbidden":{"additionalProperties":false,"properties":{"error":{"anyOf":[{"enum":["not_allowed"],"type":"string"}]},"ok":{"enum":[false],"type":"boolean"}},"required":["ok","error"],"type":"object"},"AdminUpdateServerConfigInput":{"additionalProperties":false,"properties":{"expectedVersion":{"anyOf":[{"anyOf":[{"anyOf":[{"type":"number"},{"enum":["NaN"],"type":"string"},{"enum":["Infinity"],"type":"string"},{"enum":["-Infinity"],"type":"string"}]},{"enum":["Infinity","-Infinity","NaN"],"type":"string"}]},{"type":"null"}]},"key":{"enum":["auth.signup_mode","auth.phone_code_mode","email.default_provider"],"type":"string"},"value":{"enum":["open","invite_only","disabled","prelude","custom","ses","resend"],"type":"string"}},"required":["key","value","expectedVersion"],"type":"object"},"AdminUpdateUserBadRequest":{"additionalProperties":false,"properties":{"error":{"enum":["invalid_user","invalid_email","no_updates"],"type":"string"},"ok":{"enum":[false],"type":"boolean"}},"required":["ok","error"],"type":"object"},"AdminUpdateUserInput":{"additionalProperties":false,"properties":{"email":{"type":"string"},"emailVerified":{"type":"boolean"},"firstName":{"type":"string"},"lastName":{"type":"string"}},"type":"object"},"AdminUserDetailResult":{"additionalProperties":false,"properties":{"connections":{"additionalProperties":false,"properties":{"complete":{"type":"boolean"},"sessions":{"items":{"additionalProperties":false,"properties":{"count":{"$ref":"#/components/schemas/WirePositiveInteger"},"sessionId":{"$ref":"#/components/schemas/SessionId"}},"required":["sessionId","count"],"type":"object"},"type":"array"},"totalConnections":{"$ref":"#/components/schemas/WireNonNegativeInteger"}},"required":["totalConnections","sessions"],"type":"object"},"memberships":{"items":{"$ref":"#/components/schemas/AdminUserMembership"},"type":"array"},"ok":{"enum":[true],"type":"boolean"},"sessions":{"items":{"$ref":"#/components/schemas/AdminUserSession"},"type":"array"},"stats":{"additionalProperties":false,"properties":{"activeSessions":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"memberships":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"messages":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"messagesLast7d":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"presenceComplete":{"type":"boolean"},"sessions":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"threadsCreated":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"threadsCreatedLast7d":{"$ref":"#/components/schemas/WireNonNegativeInteger"}},"required":["messages","messagesLast7d","threadsCreated","threadsCreatedLast7d","memberships","sessions","activeSessions"],"type":"object"},"user":{"additionalProperties":false,"properties":{"avatarUrl":{"anyOf":[{"type":"string"},{"type":"null"}]},"bot":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"botCreatorId":{"anyOf":[{"$ref":"#/components/schemas/UserId"},{"type":"null"}]},"createdAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"deleted":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"email":{"anyOf":[{"type":"string"},{"type":"null"}]},"emailVerified":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"firstName":{"anyOf":[{"type":"string"},{"type":"null"}]},"id":{"$ref":"#/components/schemas/UserId"},"lastName":{"anyOf":[{"type":"string"},{"type":"null"}]},"lastOnline":{"anyOf":[{"type":"string"},{"type":"null"}]},"lastUpdateDate":{"anyOf":[{"type":"string"},{"type":"null"}]},"oauthConnections":{"items":{"enum":["chatgpt","mcp"],"type":"string"},"type":"array"},"online":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"pendingSetup":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"phoneNumber":{"anyOf":[{"type":"string"},{"type":"null"}]},"phoneVerified":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"timeZone":{"anyOf":[{"type":"string"},{"type":"null"}]},"updateSeq":{"anyOf":[{"$ref":"#/components/schemas/WireSafeInteger"},{"type":"null"}]},"username":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["id","email","firstName","lastName","emailVerified","phoneNumber","phoneVerified","username","online","lastOnline","createdAt","deleted","bot","botCreatorId","pendingSetup","timeZone","lastUpdateDate","updateSeq","avatarUrl"],"type":"object"}},"required":["ok","user","stats","memberships","sessions","connections"],"type":"object"},"AdminUserMembership":{"additionalProperties":false,"properties":{"canAccessPublicChats":{"type":"boolean"},"id":{"$ref":"#/components/schemas/InlineId"},"invitedBy":{"anyOf":[{"$ref":"#/components/schemas/UserId"},{"type":"null"}]},"joinedAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"role":{"anyOf":[{"type":"string"},{"type":"null"}]},"space":{"additionalProperties":false,"properties":{"createdAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"deletedAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"handle":{"anyOf":[{"type":"string"},{"type":"null"}]},"id":{"$ref":"#/components/schemas/InlineId"},"isPublic":{"type":"boolean"},"name":{"type":"string"}},"required":["id","name","handle","isPublic","createdAt","deletedAt"],"type":"object"}},"required":["id","role","canAccessPublicChats","invitedBy","joinedAt","space"],"type":"object"},"AdminUserSession":{"additionalProperties":false,"properties":{"active":{"type":"boolean"},"clientType":{"anyOf":[{"type":"string"},{"type":"null"}]},"clientVersion":{"anyOf":[{"type":"string"},{"type":"null"}]},"date":{"anyOf":[{"type":"string"},{"type":"null"}]},"deviceId":{"anyOf":[{"type":"string"},{"type":"null"}]},"id":{"$ref":"#/components/schemas/SessionId"},"lastActive":{"anyOf":[{"type":"string"},{"type":"null"}]},"osVersion":{"anyOf":[{"type":"string"},{"type":"null"}]},"personalData":{"$ref":"#/components/schemas/AdminSessionPersonalData"},"revoked":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["id","clientType","clientVersion","osVersion","lastActive","active","deviceId","date","revoked","personalData"],"type":"object"},"AdminUsersResult":{"additionalProperties":false,"properties":{"ok":{"enum":[true],"type":"boolean"},"users":{"items":{"additionalProperties":false,"properties":{"avatarUrl":{"anyOf":[{"type":"string"},{"type":"null"}]},"bot":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"createdAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"deleted":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"email":{"anyOf":[{"type":"string"},{"type":"null"}]},"emailVerified":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"firstName":{"anyOf":[{"type":"string"},{"type":"null"}]},"id":{"$ref":"#/components/schemas/UserId"},"lastName":{"anyOf":[{"type":"string"},{"type":"null"}]},"lastOnline":{"anyOf":[{"type":"string"},{"type":"null"}]},"oauthConnections":{"items":{"enum":["chatgpt","mcp"],"type":"string"},"type":"array"},"online":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"pendingSetup":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"phoneNumber":{"anyOf":[{"type":"string"},{"type":"null"}]},"phoneVerified":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"photoFileId":{"anyOf":[{"$ref":"#/components/schemas/InlineId"},{"type":"null"}]},"timeZone":{"anyOf":[{"type":"string"},{"type":"null"}]},"username":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["id","email","firstName","lastName","emailVerified","username","phoneNumber","phoneVerified","online","lastOnline","createdAt","deleted","bot","pendingSetup","timeZone","photoFileId","avatarUrl"],"type":"object"},"type":"array"}},"required":["ok","users"],"type":"object"},"AdminValidationError":{"additionalProperties":false,"properties":{"errors":{"type":"array"},"expected":{"type":"object"},"found":{},"message":{"type":"string"},"on":{"enum":["body","query","params"],"type":"string"},"property":{"type":"string"},"summary":{"type":"string"},"type":{"enum":["validation"],"type":"string"}},"required":["type","on","property","message","summary","expected","errors"],"type":"object"},"AdminVerifyEmailCodeBadRequest":{"additionalProperties":false,"properties":{"error":{"enum":["invalid_email","invalid_code"],"type":"string"},"ok":{"enum":[false],"type":"boolean"}},"required":["ok","error"],"type":"object"},"AdminVerifyEmailCodeForbidden":{"additionalProperties":false,"properties":{"error":{"enum":["already_signed_in","not_allowed","password_required"],"type":"string"},"ok":{"enum":[false],"type":"boolean"}},"required":["ok","error"],"type":"object"},"AdminVerifyEmailCodeInput":{"additionalProperties":false,"properties":{"challengeToken":{"type":"string"},"code":{"type":"string"},"email":{"type":"string"}},"required":["email","code"],"type":"object"},"AdminVerifyEmailCodeInternal":{"additionalProperties":false,"properties":{"error":{"enum":["user_missing","server_error"],"type":"string"},"ok":{"enum":[false],"type":"boolean"}},"required":["ok","error"],"type":"object"},"AdminVerifyEmailCodeResult":{"additionalProperties":false,"properties":{"ok":{"enum":[true],"type":"boolean"},"user":{"additionalProperties":false,"properties":{"email":{"type":"string"},"id":{"$ref":"#/components/schemas/UserId"}},"required":["id","email"],"type":"object"}},"required":["ok","user"],"type":"object"},"AdminVerifyEmailCodeUnauthorized":{"additionalProperties":false,"properties":{"error":{"anyOf":[{"enum":["invalid_code"],"type":"string"}]},"ok":{"enum":[false],"type":"boolean"}},"required":["ok","error"],"type":"object"},"AdminWaitlistResult":{"additionalProperties":false,"properties":{"count":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"entries":{"items":{"additionalProperties":false,"properties":{"date":{"anyOf":[{"type":"string"},{"type":"null"}]},"email":{"type":"string"},"id":{"$ref":"#/components/schemas/InlineId"},"name":{"anyOf":[{"type":"string"},{"type":"null"}]},"verified":{"type":"boolean"}},"required":["id","email","name","verified","date"],"type":"object"},"type":"array"},"ok":{"enum":[true],"type":"boolean"}},"required":["ok","count","entries"],"type":"object"},"AdminWeeklyActivity":{"additionalProperties":false,"properties":{"activeUsers":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"messages":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"newUsers":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"threads":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"weekEnd":{"type":"string"},"weekStart":{"type":"string"}},"required":["weekStart","weekEnd","activeUsers","newUsers","messages","threads"],"type":"object"},"AuxiliaryBrokerHealth":{"additionalProperties":false,"properties":{"error":{"enum":["broker_unavailable"],"type":"string"},"ok":{"type":"boolean"}},"required":["ok"],"type":"object"},"AuxiliaryClockHealth":{"additionalProperties":false,"properties":{"error":{"enum":["clock_offset_exceeded","clock_step_detected"],"type":"string"},"offsetMillis":{"$ref":"#/components/schemas/WireSafeInteger"},"ok":{"type":"boolean"},"status":{"enum":["ok","warning","degraded"],"type":"string"},"stepMillis":{"$ref":"#/components/schemas/WireSafeInteger"},"warning":{"enum":["clock_offset_warning","clock_step_warning"],"type":"string"}},"required":["ok","status","offsetMillis","stepMillis"],"type":"object"},"AuxiliaryDatabaseHealth":{"additionalProperties":false,"properties":{"error":{"enum":["database_unavailable"],"type":"string"},"latencyMs":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"ok":{"type":"boolean"}},"required":["ok","latencyMs"],"type":"object"},"AuxiliaryDegradedHealthResponse":{"additionalProperties":false,"properties":{"checks":{"additionalProperties":false,"properties":{"broker":{"$ref":"#/components/schemas/AuxiliaryBrokerHealth"},"clock":{"$ref":"#/components/schemas/AuxiliaryClockHealth"},"database":{"$ref":"#/components/schemas/AuxiliaryDatabaseHealth"},"lifecycle":{"$ref":"#/components/schemas/AuxiliaryLifecycleHealth"}},"required":["database","clock","lifecycle"],"type":"object"},"draining":{"type":"boolean"},"ok":{"type":"boolean"},"status":{"enum":["ok","degraded"],"type":"string"},"timestamp":{"$ref":"#/components/schemas/UnixSeconds"}},"required":["ok","status","timestamp","draining","checks"],"type":"object"},"AuxiliaryDegradedLivenessResponse":{"additionalProperties":false,"properties":{"checks":{"additionalProperties":false,"properties":{"lifecycle":{"$ref":"#/components/schemas/AuxiliaryLifecycleHealth"}},"required":["lifecycle"],"type":"object"},"draining":{"type":"boolean"},"ok":{"type":"boolean"},"status":{"enum":["ok","degraded"],"type":"string"},"timestamp":{"$ref":"#/components/schemas/UnixSeconds"}},"required":["ok","status","timestamp","draining","checks"],"type":"object"},"AuxiliaryHealthResponse":{"additionalProperties":false,"properties":{"checks":{"additionalProperties":false,"properties":{"broker":{"$ref":"#/components/schemas/AuxiliaryBrokerHealth"},"clock":{"$ref":"#/components/schemas/AuxiliaryClockHealth"},"database":{"$ref":"#/components/schemas/AuxiliaryDatabaseHealth"},"lifecycle":{"$ref":"#/components/schemas/AuxiliaryLifecycleHealth"}},"required":["database","clock","lifecycle"],"type":"object"},"draining":{"type":"boolean"},"ok":{"type":"boolean"},"status":{"enum":["ok","degraded"],"type":"string"},"timestamp":{"$ref":"#/components/schemas/UnixSeconds"}},"required":["ok","status","timestamp","draining","checks"],"type":"object"},"AuxiliaryLegacyValidationError":{"additionalProperties":false,"properties":{"errors":{"items":{"$ref":"#/components/schemas/AuxiliaryLegacyValidationIssue"},"type":"array"},"expected":{"type":"object"},"found":{},"message":{"type":"string"},"on":{"enum":["body","query"],"type":"string"},"property":{"type":"string"},"summary":{"type":"string"},"type":{"enum":["validation"],"type":"string"}},"required":["type","on","property","message","summary","expected","errors"],"type":"object"},"AuxiliaryLegacyValidationIssue":{"additionalProperties":false,"properties":{"errors":{"type":"array"},"message":{"type":"string"},"path":{"type":"string"},"schema":{"type":"object"},"summary":{"type":"string"},"type":{"anyOf":[{"anyOf":[{"type":"number"},{"enum":["NaN"],"type":"string"},{"enum":["Infinity"],"type":"string"},{"enum":["-Infinity"],"type":"string"}]},{"enum":["Infinity","-Infinity","NaN"],"type":"string"}]},"value":{}},"required":["type","schema","path","message","errors","summary"],"type":"object"},"AuxiliaryLifecycleHealth":{"additionalProperties":false,"properties":{"error":{"enum":["shutting_down"],"type":"string"},"ok":{"type":"boolean"},"signal":{"enum":["manual","timeout","error","SIGINT","SIGTERM"],"type":"string"}},"required":["ok"],"type":"object"},"AuxiliaryLivenessResponse":{"additionalProperties":false,"properties":{"checks":{"additionalProperties":false,"properties":{"lifecycle":{"$ref":"#/components/schemas/AuxiliaryLifecycleHealth"}},"required":["lifecycle"],"type":"object"},"draining":{"type":"boolean"},"ok":{"type":"boolean"},"status":{"enum":["ok","degraded"],"type":"string"},"timestamp":{"$ref":"#/components/schemas/UnixSeconds"}},"required":["ok","status","timestamp","draining","checks"],"type":"object"},"ChatId":{"allOf":[{"description":"A positive Inline chat identifier","maximum":9007199254740991,"minimum":1}],"type":"integer"},"ChatInfo":{"additionalProperties":false,"properties":{"date":{"$ref":"#/components/schemas/UnixSeconds"},"emoji":{"anyOf":[{"type":"string"},{"type":"null"}]},"id":{"$ref":"#/components/schemas/WirePositiveInteger"},"lastMsgId":{"anyOf":[{"$ref":"#/components/schemas/WireSafeInteger"},{"type":"null"}]},"number":{"anyOf":[{"$ref":"#/components/schemas/WireSafeInteger"},{"type":"null"}]},"peer":{"$ref":"#/components/schemas/PeerInfo"},"publicThread":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"spaceId":{"anyOf":[{"$ref":"#/components/schemas/WireSafeInteger"},{"type":"null"}]},"threadNumber":{"anyOf":[{"$ref":"#/components/schemas/WireSafeInteger"},{"type":"null"}]},"title":{"anyOf":[{"type":"string"},{"type":"null"}]},"type":{"enum":["private","thread"],"type":"string"}},"required":["id","type","peer","date"],"type":"object"},"CheckInviteCodeInput":{"additionalProperties":false,"properties":{"inviteCode":{"allOf":[{"maxLength":64}],"type":"string"}},"required":["inviteCode"],"type":"object"},"CheckInviteCodeInput1":{"additionalProperties":false,"properties":{"inviteCode":{"allOf":[{"maxLength":64}],"type":"string"}},"required":["inviteCode"],"type":"object"},"CheckInviteCodeInput2":{"additionalProperties":false,"properties":{"inviteCode":{"allOf":[{"maxLength":64}],"type":"string"}},"required":["inviteCode"],"type":"object"},"CheckInviteCodeResult":{"additionalProperties":false,"properties":{"valid":{"type":"boolean"}},"required":["valid"],"type":"object"},"CheckInviteCodeSuccess":{"additionalProperties":false,"properties":{"ok":{"enum":[true],"type":"boolean"},"result":{"$ref":"#/components/schemas/CheckInviteCodeResult"}},"required":["ok","result"],"type":"object"},"CheckUsernameInput":{"additionalProperties":false,"properties":{"username":{"type":"string"}},"required":["username"],"type":"object"},"CheckUsernameInput1":{"additionalProperties":false,"properties":{"username":{"type":"string"}},"required":["username"],"type":"object"},"CheckUsernameInput2":{"additionalProperties":false,"properties":{"username":{"type":"string"}},"required":["username"],"type":"object"},"CheckUsernameResult":{"additionalProperties":false,"properties":{"available":{"type":"boolean"}},"required":["available"],"type":"object"},"CheckUsernameSuccess":{"additionalProperties":false,"properties":{"ok":{"enum":[true],"type":"boolean"},"result":{"$ref":"#/components/schemas/CheckUsernameResult"}},"required":["ok","result"],"type":"object"},"CreateLinearIssueInput":{"additionalProperties":false,"properties":{"chatId":{"$ref":"#/components/schemas/ChatId"},"fromId":{"$ref":"#/components/schemas/UserId"},"messageId":{"$ref":"#/components/schemas/MessageId"},"peerId":{"$ref":"#/components/schemas/V1InputPeerInfo1"},"spaceId":{"$ref":"#/components/schemas/SpaceId1"},"text":{"type":"string"}},"required":["text","messageId","chatId","peerId","fromId"],"type":"object"},"CreateLinearIssueInput1":{"additionalProperties":false,"properties":{"chatId":{"$ref":"#/components/schemas/WireSafeInteger1"},"fromId":{"$ref":"#/components/schemas/WireSafeInteger1"},"messageId":{"$ref":"#/components/schemas/WireSafeInteger1"},"peerId":{"$ref":"#/components/schemas/V1InputPeerInfo"},"spaceId":{"$ref":"#/components/schemas/SpaceId"},"text":{"type":"string"}},"required":["text","messageId","chatId","peerId","fromId"],"type":"object"},"CreateLinearIssueInput2":{"additionalProperties":false,"properties":{"chatId":{"$ref":"#/components/schemas/ChatId"},"fromId":{"$ref":"#/components/schemas/UserId"},"messageId":{"$ref":"#/components/schemas/MessageId"},"peerId":{"$ref":"#/components/schemas/V1InputPeerInfo1"},"spaceId":{"$ref":"#/components/schemas/SpaceId1"},"text":{"type":"string"}},"required":["text","messageId","chatId","peerId","fromId"],"type":"object"},"CreateLinearIssueResult":{"additionalProperties":false,"properties":{"link":{"anyOf":[{"type":"string"},{"type":"null"}]}},"type":"object"},"CreateLinearIssueSuccess":{"additionalProperties":false,"properties":{"ok":{"enum":[true],"type":"boolean"},"result":{"$ref":"#/components/schemas/CreateLinearIssueResult"}},"required":["ok","result"],"type":"object"},"CreateNotionTaskInput":{"additionalProperties":false,"properties":{"chatId":{"$ref":"#/components/schemas/ChatId"},"messageId":{"$ref":"#/components/schemas/MessageId"},"peerId":{"$ref":"#/components/schemas/V1InputPeerInfo1"},"spaceId":{"$ref":"#/components/schemas/SpaceId2"}},"required":["spaceId","messageId","chatId","peerId"],"type":"object"},"CreateNotionTaskInput1":{"additionalProperties":false,"properties":{"chatId":{"$ref":"#/components/schemas/WireSafeInteger1"},"messageId":{"$ref":"#/components/schemas/WireSafeInteger1"},"peerId":{"$ref":"#/components/schemas/V1InputPeerInfo"},"spaceId":{"$ref":"#/components/schemas/WireSafeInteger1"}},"required":["spaceId","messageId","chatId","peerId"],"type":"object"},"CreateNotionTaskInput2":{"additionalProperties":false,"properties":{"chatId":{"$ref":"#/components/schemas/ChatId"},"messageId":{"$ref":"#/components/schemas/MessageId"},"peerId":{"$ref":"#/components/schemas/V1InputPeerInfo1"},"spaceId":{"$ref":"#/components/schemas/SpaceId2"}},"required":["spaceId","messageId","chatId","peerId"],"type":"object"},"CreateNotionTaskResult":{"additionalProperties":false,"properties":{"taskTitle":{"anyOf":[{"type":"string"},{"type":"null"}]},"url":{"type":"string"}},"required":["url","taskTitle"],"type":"object"},"CreateNotionTaskSuccess":{"additionalProperties":false,"properties":{"ok":{"enum":[true],"type":"boolean"},"result":{"$ref":"#/components/schemas/CreateNotionTaskResult"}},"required":["ok","result"],"type":"object"},"CreatePrivateChatInput":{"additionalProperties":false,"properties":{"userId":{"type":"string"}},"required":["userId"],"type":"object"},"CreatePrivateChatInput1":{"additionalProperties":false,"properties":{"userId":{"type":"string"}},"required":["userId"],"type":"object"},"CreatePrivateChatInput2":{"additionalProperties":false,"properties":{"userId":{"type":"string"}},"required":["userId"],"type":"object"},"CreatePrivateChatResult":{"additionalProperties":false,"properties":{"chat":{"$ref":"#/components/schemas/ChatInfo"},"dialog":{"$ref":"#/components/schemas/DialogInfo"},"user":{"$ref":"#/components/schemas/MinUserInfo"}},"required":["chat","dialog","user"],"type":"object"},"CreatePrivateChatSuccess":{"additionalProperties":false,"properties":{"ok":{"enum":[true],"type":"boolean"},"result":{"$ref":"#/components/schemas/CreatePrivateChatResult"}},"required":["ok","result"],"type":"object"},"CreateSpaceInput":{"additionalProperties":false,"properties":{"handle":{"type":"string"},"name":{"type":"string"}},"required":["name"],"type":"object"},"CreateSpaceInput1":{"additionalProperties":false,"properties":{"handle":{"type":"string"},"name":{"type":"string"}},"required":["name"],"type":"object"},"CreateSpaceInput2":{"additionalProperties":false,"properties":{"handle":{"type":"string"},"name":{"type":"string"}},"required":["name"],"type":"object"},"CreateSpaceResult":{"additionalProperties":false,"properties":{"chats":{"items":{"$ref":"#/components/schemas/ChatInfo"},"type":"array"},"dialogs":{"items":{"$ref":"#/components/schemas/DialogInfo"},"type":"array"},"member":{"$ref":"#/components/schemas/MemberInfo"},"space":{"$ref":"#/components/schemas/SpaceInfo"}},"required":["space","member","chats","dialogs"],"type":"object"},"CreateSpaceSuccess":{"additionalProperties":false,"properties":{"ok":{"enum":[true],"type":"boolean"},"result":{"$ref":"#/components/schemas/CreateSpaceResult"}},"required":["ok","result"],"type":"object"},"CreateThreadInput":{"additionalProperties":false,"properties":{"emoji":{"type":"string"},"spaceId":{"$ref":"#/components/schemas/V1InputId1"},"title":{"type":"string"}},"required":["title","spaceId"],"type":"object"},"CreateThreadInput1":{"additionalProperties":false,"properties":{"emoji":{"type":"string"},"spaceId":{"$ref":"#/components/schemas/V1InputId"},"title":{"type":"string"}},"required":["title","spaceId"],"type":"object"},"CreateThreadInput2":{"additionalProperties":false,"properties":{"emoji":{"type":"string"},"spaceId":{"$ref":"#/components/schemas/V1InputId1"},"title":{"type":"string"}},"required":["title","spaceId"],"type":"object"},"CreateThreadResult":{"additionalProperties":false,"properties":{"chat":{"$ref":"#/components/schemas/ChatInfo"}},"required":["chat"],"type":"object"},"CreateThreadSuccess":{"additionalProperties":false,"properties":{"ok":{"enum":[true],"type":"boolean"},"result":{"$ref":"#/components/schemas/CreateThreadResult"}},"required":["ok","result"],"type":"object"},"DeleteAttachmentInput":{"additionalProperties":false,"properties":{"chatId":{"$ref":"#/components/schemas/ChatId"},"externalTaskId":{"$ref":"#/components/schemas/WirePositiveInteger"},"messageId":{"$ref":"#/components/schemas/MessageId"},"pageId":{"type":"string"}},"required":["externalTaskId","pageId","messageId","chatId"],"type":"object"},"DeleteAttachmentInput1":{"additionalProperties":false,"properties":{"chatId":{"$ref":"#/components/schemas/WireSafeInteger1"},"externalTaskId":{"$ref":"#/components/schemas/WireSafeInteger1"},"messageId":{"$ref":"#/components/schemas/WireSafeInteger1"},"pageId":{"type":"string"}},"required":["externalTaskId","pageId","messageId","chatId"],"type":"object"},"DeleteAttachmentInput2":{"additionalProperties":false,"properties":{"chatId":{"$ref":"#/components/schemas/ChatId"},"externalTaskId":{"$ref":"#/components/schemas/WirePositiveInteger"},"messageId":{"$ref":"#/components/schemas/MessageId"},"pageId":{"type":"string"}},"required":["externalTaskId","pageId","messageId","chatId"],"type":"object"},"DeleteAttachmentResult":{"additionalProperties":false,"properties":{"success":{"type":"boolean"}},"required":["success"],"type":"object"},"DeleteAttachmentSuccess":{"additionalProperties":false,"properties":{"ok":{"enum":[true],"type":"boolean"},"result":{"$ref":"#/components/schemas/DeleteAttachmentResult"}},"required":["ok","result"],"type":"object"},"DeleteMessageInput":{"additionalProperties":false,"properties":{"chatId":{"$ref":"#/components/schemas/V1InputId1"},"messageId":{"$ref":"#/components/schemas/V1InputId1"},"peerThreadId":{"$ref":"#/components/schemas/V1InputId5"},"peerUserId":{"$ref":"#/components/schemas/V1InputId4"}},"required":["messageId","chatId"],"type":"object"},"DeleteMessageInput1":{"additionalProperties":false,"properties":{"chatId":{"$ref":"#/components/schemas/V1InputId"},"messageId":{"$ref":"#/components/schemas/V1InputId"},"peerThreadId":{"$ref":"#/components/schemas/V1InputId"},"peerUserId":{"$ref":"#/components/schemas/V1InputId"}},"required":["messageId","chatId"],"type":"object"},"DeleteMessageInput2":{"additionalProperties":false,"properties":{"chatId":{"$ref":"#/components/schemas/V1InputId1"},"messageId":{"$ref":"#/components/schemas/V1InputId1"},"peerThreadId":{"$ref":"#/components/schemas/V1InputId5"},"peerUserId":{"$ref":"#/components/schemas/V1InputId4"}},"required":["messageId","chatId"],"type":"object"},"DeleteMessageSuccess":{"additionalProperties":false,"properties":{"ok":{"enum":[true],"type":"boolean"}},"required":["ok"],"type":"object"},"DeleteSpaceInput":{"additionalProperties":false,"properties":{"spaceId":{"$ref":"#/components/schemas/V1InputId1"}},"required":["spaceId"],"type":"object"},"DeleteSpaceInput1":{"additionalProperties":false,"properties":{"spaceId":{"$ref":"#/components/schemas/V1InputId"}},"required":["spaceId"],"type":"object"},"DeleteSpaceInput2":{"additionalProperties":false,"properties":{"spaceId":{"$ref":"#/components/schemas/V1InputId1"}},"required":["spaceId"],"type":"object"},"DialogInfo":{"additionalProperties":false,"properties":{"archived":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"chatId":{"anyOf":[{"$ref":"#/components/schemas/WireSafeInteger"},{"type":"null"}]},"chatListHidden":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"draft":{"anyOf":[{"type":"string"},{"type":"null"}]},"open":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"openedDate":{"anyOf":[{"$ref":"#/components/schemas/WireSafeInteger"},{"type":"null"}]},"order":{"anyOf":[{"type":"string"},{"type":"null"}]},"peerId":{"$ref":"#/components/schemas/PeerInfo"},"pinned":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"pinnedOrder":{"anyOf":[{"type":"string"},{"type":"null"}]},"readInboxMaxId":{"anyOf":[{"$ref":"#/components/schemas/WireSafeInteger"},{"type":"null"}]},"sidebarVisible":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"spaceId":{"anyOf":[{"$ref":"#/components/schemas/WireSafeInteger"},{"type":"null"}]},"unreadCount":{"anyOf":[{"$ref":"#/components/schemas/WireSafeInteger"},{"type":"null"}]}},"required":["peerId"],"type":"object"},"DisconnectIntegrationInput":{"additionalProperties":false,"properties":{"provider":{"enum":["notion","linear"],"type":"string"},"spaceId":{"$ref":"#/components/schemas/SpaceId2"}},"required":["spaceId","provider"],"type":"object"},"DisconnectIntegrationInput1":{"additionalProperties":false,"properties":{"provider":{"enum":["notion","linear"],"type":"string"},"spaceId":{"$ref":"#/components/schemas/WireSafeInteger1"}},"required":["spaceId","provider"],"type":"object"},"DisconnectIntegrationInput2":{"additionalProperties":false,"properties":{"provider":{"enum":["notion","linear"],"type":"string"},"spaceId":{"$ref":"#/components/schemas/SpaceId2"}},"required":["spaceId","provider"],"type":"object"},"DisconnectIntegrationResult":{"additionalProperties":false,"properties":{"ok":{"type":"boolean"}},"required":["ok"],"type":"object"},"DisconnectIntegrationSuccess":{"additionalProperties":false,"properties":{"ok":{"enum":[true],"type":"boolean"},"result":{"$ref":"#/components/schemas/DisconnectIntegrationResult"}},"required":["ok","result"],"type":"object"},"GetAlphaTextInput":{"anyOf":[{"type":"object"},{"type":"array"}]},"GetAlphaTextInput1":{"anyOf":[{"type":"object"},{"type":"array"}]},"GetAlphaTextInput2":{"anyOf":[{"type":"object"},{"type":"array"}]},"GetAlphaTextResult":{"type":"string"},"GetAlphaTextSuccess":{"additionalProperties":false,"properties":{"ok":{"enum":[true],"type":"boolean"},"result":{"$ref":"#/components/schemas/GetAlphaTextResult"}},"required":["ok","result"],"type":"object"},"GetChatHistoryInput":{"additionalProperties":false,"properties":{"limit":{"$ref":"#/components/schemas/WireSafeInteger"},"peerId":{"$ref":"#/components/schemas/V1InputPeerInfo3"},"peerThreadId":{"$ref":"#/components/schemas/V1InputId9"},"peerUserId":{"$ref":"#/components/schemas/V1InputId8"}},"type":"object"},"GetChatHistoryInput1":{"additionalProperties":false,"properties":{"limit":{"$ref":"#/components/schemas/WireSafeInteger4"},"peerId":{"$ref":"#/components/schemas/V1InputPeerInfo"},"peerThreadId":{"$ref":"#/components/schemas/V1InputId"},"peerUserId":{"$ref":"#/components/schemas/V1InputId"}},"type":"object"},"GetChatHistoryInput2":{"additionalProperties":false,"properties":{"limit":{"$ref":"#/components/schemas/WireSafeInteger"},"peerId":{"$ref":"#/components/schemas/V1InputPeerInfo3"},"peerThreadId":{"$ref":"#/components/schemas/V1InputId9"},"peerUserId":{"$ref":"#/components/schemas/V1InputId8"}},"type":"object"},"GetChatHistoryResult":{"additionalProperties":false,"properties":{"messages":{"items":{"$ref":"#/components/schemas/MessageInfo"},"type":"array"}},"required":["messages"],"type":"object"},"GetChatHistorySuccess":{"additionalProperties":false,"properties":{"ok":{"enum":[true],"type":"boolean"},"result":{"$ref":"#/components/schemas/GetChatHistoryResult"}},"required":["ok","result"],"type":"object"},"GetDialogsInput":{"additionalProperties":false,"properties":{"spaceId":{"$ref":"#/components/schemas/V1InputId1"}},"required":["spaceId"],"type":"object"},"GetDialogsInput1":{"additionalProperties":false,"properties":{"spaceId":{"$ref":"#/components/schemas/V1InputId"}},"required":["spaceId"],"type":"object"},"GetDialogsInput2":{"additionalProperties":false,"properties":{"spaceId":{"$ref":"#/components/schemas/V1InputId1"}},"required":["spaceId"],"type":"object"},"GetDialogsResult":{"additionalProperties":false,"properties":{"chats":{"items":{"$ref":"#/components/schemas/ChatInfo"},"type":"array"},"dialogs":{"items":{"$ref":"#/components/schemas/DialogInfo"},"type":"array"},"messages":{"items":{"$ref":"#/components/schemas/MessageInfo"},"type":"array"},"users":{"items":{"$ref":"#/components/schemas/UserInfo"},"type":"array"}},"required":["dialogs","chats","messages","users"],"type":"object"},"GetDialogsSuccess":{"additionalProperties":false,"properties":{"ok":{"enum":[true],"type":"boolean"},"result":{"$ref":"#/components/schemas/GetDialogsResult"}},"required":["ok","result"],"type":"object"},"GetDraftInput":{"additionalProperties":false,"properties":{"peerUserId":{"$ref":"#/components/schemas/V1InputId11"}},"type":"object"},"GetDraftInput1":{"additionalProperties":false,"properties":{"peerUserId":{"$ref":"#/components/schemas/V1InputId"}},"type":"object"},"GetDraftInput2":{"additionalProperties":false,"properties":{"peerUserId":{"$ref":"#/components/schemas/V1InputId11"}},"type":"object"},"GetDraftResult":{"additionalProperties":false,"properties":{"draft":{"type":"string"}},"required":["draft"],"type":"object"},"GetDraftSuccess":{"additionalProperties":false,"properties":{"ok":{"enum":[true],"type":"boolean"},"result":{"$ref":"#/components/schemas/GetDraftResult"}},"required":["ok","result"],"type":"object"},"GetIntegrationsInput":{"additionalProperties":false,"properties":{"spaceId":{"$ref":"#/components/schemas/V1InputId13"},"userId":{"$ref":"#/components/schemas/V1InputId1"}},"required":["userId"],"type":"object"},"GetIntegrationsInput1":{"additionalProperties":false,"properties":{"spaceId":{"$ref":"#/components/schemas/V1InputId"},"userId":{"$ref":"#/components/schemas/V1InputId"}},"required":["userId"],"type":"object"},"GetIntegrationsInput2":{"additionalProperties":false,"properties":{"spaceId":{"$ref":"#/components/schemas/V1InputId13"},"userId":{"$ref":"#/components/schemas/V1InputId1"}},"required":["userId"],"type":"object"},"GetIntegrationsResult":{"additionalProperties":false,"properties":{"hasIntegrationAccess":{"type":"boolean"},"hasLinearConnected":{"type":"boolean"},"hasNotionConnected":{"type":"boolean"},"linearSpaces":{"items":{"additionalProperties":false,"properties":{"spaceId":{"$ref":"#/components/schemas/SpaceId2"},"spaceName":{"type":"string"}},"required":["spaceId","spaceName"],"type":"object"},"type":"array"},"linearTeamId":{"$ref":"#/components/schemas/LinearTeamId"},"notionDatabaseId":{"$ref":"#/components/schemas/NotionDatabaseId"},"notionSpaces":{"items":{"additionalProperties":false,"properties":{"spaceId":{"$ref":"#/components/schemas/SpaceId2"},"spaceName":{"type":"string"}},"required":["spaceId","spaceName"],"type":"object"},"type":"array"}},"required":["hasLinearConnected","hasNotionConnected","hasIntegrationAccess"],"type":"object"},"GetIntegrationsSuccess":{"additionalProperties":false,"properties":{"ok":{"enum":[true],"type":"boolean"},"result":{"$ref":"#/components/schemas/GetIntegrationsResult"}},"required":["ok","result"],"type":"object"},"GetInviteCodesInput":{"anyOf":[{"type":"object"},{"type":"array"}]},"GetInviteCodesInput1":{"anyOf":[{"type":"object"},{"type":"array"}]},"GetInviteCodesInput2":{"anyOf":[{"type":"object"},{"type":"array"}]},"GetInviteCodesResult":{"additionalProperties":false,"properties":{"codes":{"items":{"$ref":"#/components/schemas/InviteCodeInfo"},"type":"array"}},"required":["codes"],"type":"object"},"GetInviteCodesSuccess":{"additionalProperties":false,"properties":{"ok":{"enum":[true],"type":"boolean"},"result":{"$ref":"#/components/schemas/GetInviteCodesResult"}},"required":["ok","result"],"type":"object"},"GetLinearTeamsInput":{"additionalProperties":false,"properties":{"spaceId":{"$ref":"#/components/schemas/SpaceId2"}},"required":["spaceId"],"type":"object"},"GetLinearTeamsInput1":{"additionalProperties":false,"properties":{"spaceId":{"$ref":"#/components/schemas/WireSafeInteger1"}},"required":["spaceId"],"type":"object"},"GetLinearTeamsInput2":{"additionalProperties":false,"properties":{"spaceId":{"$ref":"#/components/schemas/SpaceId2"}},"required":["spaceId"],"type":"object"},"GetLinearTeamsResult":{"items":{"additionalProperties":false,"properties":{"id":{"$ref":"#/components/schemas/LinearTeamId"},"key":{"type":"string"},"name":{"type":"string"}},"required":["id","name","key"],"type":"object"},"type":"array"},"GetLinearTeamsSuccess":{"additionalProperties":false,"properties":{"ok":{"enum":[true],"type":"boolean"},"result":{"$ref":"#/components/schemas/GetLinearTeamsResult"}},"required":["ok","result"],"type":"object"},"GetMeInput":{"anyOf":[{"type":"object"},{"type":"array"}]},"GetMeInput1":{"anyOf":[{"type":"object"},{"type":"array"}]},"GetMeInput2":{"anyOf":[{"type":"object"},{"type":"array"}]},"GetMeResult":{"additionalProperties":false,"properties":{"user":{"$ref":"#/components/schemas/UserInfo"}},"required":["user"],"type":"object"},"GetMeSuccess":{"additionalProperties":false,"properties":{"ok":{"enum":[true],"type":"boolean"},"result":{"$ref":"#/components/schemas/GetMeResult"}},"required":["ok","result"],"type":"object"},"GetNotionDatabasesInput":{"additionalProperties":false,"properties":{"spaceId":{"$ref":"#/components/schemas/SpaceId2"}},"required":["spaceId"],"type":"object"},"GetNotionDatabasesInput1":{"additionalProperties":false,"properties":{"spaceId":{"$ref":"#/components/schemas/WireSafeInteger1"}},"required":["spaceId"],"type":"object"},"GetNotionDatabasesInput2":{"additionalProperties":false,"properties":{"spaceId":{"$ref":"#/components/schemas/SpaceId2"}},"required":["spaceId"],"type":"object"},"GetNotionDatabasesResult":{"items":{"additionalProperties":false,"properties":{"icon":{"type":"string"},"id":{"$ref":"#/components/schemas/NotionDatabaseId"},"title":{"type":"string"}},"required":["id","title"],"type":"object"},"type":"array"},"GetNotionDatabasesSuccess":{"additionalProperties":false,"properties":{"ok":{"enum":[true],"type":"boolean"},"result":{"$ref":"#/components/schemas/GetNotionDatabasesResult"}},"required":["ok","result"],"type":"object"},"GetPrivateChatsInput":{"anyOf":[{"type":"object"},{"type":"array"}]},"GetPrivateChatsInput1":{"anyOf":[{"type":"object"},{"type":"array"}]},"GetPrivateChatsInput2":{"anyOf":[{"type":"object"},{"type":"array"}]},"GetPrivateChatsResult":{"additionalProperties":false,"properties":{"chats":{"items":{"$ref":"#/components/schemas/ChatInfo"},"type":"array"},"dialogs":{"items":{"$ref":"#/components/schemas/DialogInfo"},"type":"array"},"messages":{"items":{"$ref":"#/components/schemas/MessageInfo"},"type":"array"},"peerUsers":{"items":{"$ref":"#/components/schemas/UserInfo"},"type":"array"}},"required":["messages","chats","dialogs","peerUsers"],"type":"object"},"GetPrivateChatsSuccess":{"additionalProperties":false,"properties":{"ok":{"enum":[true],"type":"boolean"},"result":{"$ref":"#/components/schemas/GetPrivateChatsResult"}},"required":["ok","result"],"type":"object"},"GetSpaceInput":{"additionalProperties":false,"properties":{"id":{"$ref":"#/components/schemas/V1InputId1"}},"required":["id"],"type":"object"},"GetSpaceInput1":{"additionalProperties":false,"properties":{"id":{"$ref":"#/components/schemas/V1InputId"}},"required":["id"],"type":"object"},"GetSpaceInput2":{"additionalProperties":false,"properties":{"id":{"$ref":"#/components/schemas/V1InputId1"}},"required":["id"],"type":"object"},"GetSpaceMembersInput":{"additionalProperties":false,"properties":{"spaceId":{"$ref":"#/components/schemas/V1InputId1"}},"required":["spaceId"],"type":"object"},"GetSpaceMembersInput1":{"additionalProperties":false,"properties":{"spaceId":{"$ref":"#/components/schemas/V1InputId"}},"required":["spaceId"],"type":"object"},"GetSpaceMembersInput2":{"additionalProperties":false,"properties":{"spaceId":{"$ref":"#/components/schemas/V1InputId1"}},"required":["spaceId"],"type":"object"},"GetSpaceMembersResult":{"additionalProperties":false,"properties":{"members":{"items":{"$ref":"#/components/schemas/MemberInfo"},"type":"array"},"users":{"items":{"$ref":"#/components/schemas/MinUserInfo"},"type":"array"}},"required":["members","users"],"type":"object"},"GetSpaceMembersSuccess":{"additionalProperties":false,"properties":{"ok":{"enum":[true],"type":"boolean"},"result":{"$ref":"#/components/schemas/GetSpaceMembersResult"}},"required":["ok","result"],"type":"object"},"GetSpaceResult":{"additionalProperties":false,"properties":{"members":{"items":{"$ref":"#/components/schemas/MemberInfo"},"type":"array"},"space":{"$ref":"#/components/schemas/SpaceInfo"}},"required":["space","members"],"type":"object"},"GetSpaceSuccess":{"additionalProperties":false,"properties":{"ok":{"enum":[true],"type":"boolean"},"result":{"$ref":"#/components/schemas/GetSpaceResult"}},"required":["ok","result"],"type":"object"},"GetSpacesInput":{"anyOf":[{"type":"object"},{"type":"array"}]},"GetSpacesInput1":{"anyOf":[{"type":"object"},{"type":"array"}]},"GetSpacesInput2":{"anyOf":[{"type":"object"},{"type":"array"}]},"GetSpacesResult":{"additionalProperties":false,"properties":{"members":{"items":{"$ref":"#/components/schemas/MemberInfo"},"type":"array"},"spaces":{"items":{"$ref":"#/components/schemas/SpaceInfo"},"type":"array"}},"required":["spaces","members"],"type":"object"},"GetSpacesSuccess":{"additionalProperties":false,"properties":{"ok":{"enum":[true],"type":"boolean"},"result":{"$ref":"#/components/schemas/GetSpacesResult"}},"required":["ok","result"],"type":"object"},"GetUserInput":{"additionalProperties":false,"properties":{"id":{"$ref":"#/components/schemas/V1InputId1"}},"required":["id"],"type":"object"},"GetUserInput1":{"additionalProperties":false,"properties":{"id":{"$ref":"#/components/schemas/V1InputId"}},"required":["id"],"type":"object"},"GetUserInput2":{"additionalProperties":false,"properties":{"id":{"$ref":"#/components/schemas/V1InputId1"}},"required":["id"],"type":"object"},"GetUserResult":{"additionalProperties":false,"properties":{"user":{"$ref":"#/components/schemas/MinUserInfo"}},"required":["user"],"type":"object"},"GetUserSuccess":{"additionalProperties":false,"properties":{"ok":{"enum":[true],"type":"boolean"},"result":{"$ref":"#/components/schemas/GetUserResult"}},"required":["ok","result"],"type":"object"},"HttpStatusCode":{"allOf":[{"description":"A standard HTTP response status code from 100 through 599","maximum":599,"minimum":100}],"type":"integer"},"IdentityApiError":{"additionalProperties":false,"properties":{"description":{"type":"string"},"error":{"type":"string"},"errorCode":{"$ref":"#/components/schemas/HttpStatusCode"},"ok":{"enum":[false],"type":"boolean"}},"required":["ok","error"],"type":"object"},"IdentityApiError1":{"additionalProperties":false,"properties":{"description":{"type":"string"},"error":{"type":"string"},"errorCode":{"$ref":"#/components/schemas/HttpStatusCode"},"ok":{"enum":[false],"type":"boolean"}},"required":["ok","error"],"type":"object"},"IdentityApiError2":{"additionalProperties":false,"properties":{"description":{"type":"string"},"error":{"type":"string"},"errorCode":{"$ref":"#/components/schemas/HttpStatusCode"},"ok":{"enum":[false],"type":"boolean"}},"required":["ok","error"],"type":"object"},"IdentityApiError3":{"additionalProperties":false,"properties":{"description":{"type":"string"},"error":{"type":"string"},"errorCode":{"$ref":"#/components/schemas/HttpStatusCode"},"ok":{"enum":[false],"type":"boolean"}},"required":["ok","error"],"type":"object"},"IdentityApiError5":{"additionalProperties":false,"properties":{"description":{"type":"string"},"error":{"type":"string"},"errorCode":{"$ref":"#/components/schemas/HttpStatusCode"},"ok":{"enum":[false],"type":"boolean"}},"required":["ok","error"],"type":"object"},"IdentityApiError6":{"additionalProperties":false,"properties":{"description":{"type":"string"},"error":{"type":"string"},"errorCode":{"$ref":"#/components/schemas/HttpStatusCode"},"ok":{"enum":[false],"type":"boolean"}},"required":["ok","error"],"type":"object"},"IdentityApiError7":{"additionalProperties":false,"properties":{"description":{"type":"string"},"error":{"type":"string"},"errorCode":{"$ref":"#/components/schemas/HttpStatusCode"},"ok":{"enum":[false],"type":"boolean"}},"required":["ok","error"],"type":"object"},"IdentityLogoutSuccess":{"additionalProperties":false,"properties":{"ok":{"enum":[true],"type":"boolean"}},"required":["ok"],"type":"object"},"InlineId":{"allOf":[{"description":"A positive Inline entity identifier","maximum":9007199254740991,"minimum":1}],"type":"integer"},"IntegrationErrorResponse":{"additionalProperties":false,"properties":{"error":{"type":"string"}},"required":["error"],"type":"object"},"IntegrationErrorResponse1":{"additionalProperties":false,"properties":{"error":{"type":"string"}},"required":["error"],"type":"object"},"IntegrationErrorResponse2":{"additionalProperties":false,"properties":{"error":{"type":"string"}},"required":["error"],"type":"object"},"IntegrationStartInternalError":{"anyOf":[{"$ref":"#/components/schemas/IntegrationErrorResponse2"},{"enum":["Internal Server Error"],"type":"string"}]},"InviteCodeInfo":{"additionalProperties":false,"properties":{"code":{"type":"string"},"redeemed":{"type":"boolean"},"redeemedAt":{"type":"string"}},"required":["code","redeemed"],"type":"object"},"LeaveSpaceInput":{"additionalProperties":false,"properties":{"spaceId":{"$ref":"#/components/schemas/V1InputId1"}},"required":["spaceId"],"type":"object"},"LeaveSpaceInput1":{"additionalProperties":false,"properties":{"spaceId":{"$ref":"#/components/schemas/V1InputId"}},"required":["spaceId"],"type":"object"},"LeaveSpaceInput2":{"additionalProperties":false,"properties":{"spaceId":{"$ref":"#/components/schemas/V1InputId1"}},"required":["spaceId"],"type":"object"},"LeaveSpaceResult":{"additionalProperties":false,"properties":{"memberId":{"$ref":"#/components/schemas/WirePositiveInteger"},"userId":{"$ref":"#/components/schemas/WirePositiveInteger"}},"required":["memberId","userId"],"type":"object"},"LeaveSpaceSuccess":{"additionalProperties":false,"properties":{"ok":{"enum":[true],"type":"boolean"},"result":{"$ref":"#/components/schemas/LeaveSpaceResult"}},"required":["ok","result"],"type":"object"},"LinearTeamId":{"description":"A Linear workspace team identifier","type":"string"},"LoginSessionResult":{"additionalProperties":false,"properties":{"token":{"type":"string"},"user":{"$ref":"#/components/schemas/UserInfo"},"userId":{"$ref":"#/components/schemas/WirePositiveInteger"}},"required":["userId","token","user"],"type":"object"},"LogoutInput":{"anyOf":[{"type":"object"},{"type":"array"}]},"LogoutInput1":{"anyOf":[{"type":"object"},{"type":"array"}]},"LogoutInput2":{"anyOf":[{"type":"object"},{"type":"array"}]},"MemberInfo":{"additionalProperties":false,"properties":{"date":{"$ref":"#/components/schemas/UnixSeconds"},"id":{"$ref":"#/components/schemas/WirePositiveInteger"},"role":{"enum":["owner","admin","member"],"type":"string"},"spaceId":{"$ref":"#/components/schemas/WirePositiveInteger"},"userId":{"$ref":"#/components/schemas/WirePositiveInteger"}},"required":["id","userId","spaceId","role","date"],"type":"object"},"MessageId":{"allOf":[{"description":"A positive Inline message identifier","maximum":9007199254740991,"minimum":1}],"type":"integer"},"MessageInfo":{"additionalProperties":false,"properties":{"chatId":{"$ref":"#/components/schemas/WirePositiveInteger"},"date":{"$ref":"#/components/schemas/UnixSeconds"},"editDate":{"anyOf":[{"$ref":"#/components/schemas/WireSafeInteger"},{"type":"null"}]},"fromId":{"$ref":"#/components/schemas/WirePositiveInteger"},"id":{"$ref":"#/components/schemas/WirePositiveInteger"},"isSticker":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"mentioned":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"out":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"peerId":{"$ref":"#/components/schemas/PeerInfo"},"photo":{"anyOf":[{"items":{"$ref":"#/components/schemas/UserPhoto"},"type":"array"},{"type":"null"}]},"pinned":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"randomId":{"anyOf":[{"type":"string"},{"type":"null"}]},"replyToMsgId":{"anyOf":[{"$ref":"#/components/schemas/WireSafeInteger"},{"type":"null"}]},"text":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["id","peerId","chatId","fromId","date"],"type":"object"},"MinUserInfo":{"additionalProperties":false,"properties":{"date":{"$ref":"#/components/schemas/UnixSeconds"},"firstName":{"anyOf":[{"type":"string"},{"type":"null"}]},"id":{"$ref":"#/components/schemas/WirePositiveInteger"},"lastName":{"anyOf":[{"type":"string"},{"type":"null"}]},"lastOnline":{"anyOf":[{"$ref":"#/components/schemas/WireSafeInteger"},{"type":"null"}]},"online":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"pendingSetup":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"photo":{"anyOf":[{"items":{"$ref":"#/components/schemas/UserPhoto"},"type":"array"},{"type":"null"}]},"username":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["id","date"],"type":"object"},"NativeAppleAuthCompleteInput":{"additionalProperties":false,"properties":{"authorizationCode":{"type":"string"},"firstName":{"type":"string"},"identityToken":{"type":"string"},"lastName":{"type":"string"},"state":{"type":"string"}},"required":["state","authorizationCode","identityToken"],"type":"object"},"NativeAppleAuthCompleteSuccess":{"additionalProperties":false,"properties":{"ok":{"enum":[true],"type":"boolean"},"result":{"anyOf":[{"additionalProperties":false,"properties":{"kind":{"enum":["complete"],"type":"string"},"ticket":{"type":"string"}},"required":["kind","ticket"],"type":"object"},{"additionalProperties":false,"properties":{"attemptId":{"type":"string"},"continuation":{"type":"string"},"kind":{"enum":["inviteRequired"],"type":"string"}},"required":["kind","attemptId","continuation"],"type":"object"}]}},"required":["ok","result"],"type":"object"},"NativeAppleAuthInviteInput":{"additionalProperties":false,"properties":{"attemptId":{"type":"string"},"continuation":{"type":"string"},"inviteCode":{"type":"string"}},"required":["attemptId","continuation","inviteCode"],"type":"object"},"NativeAppleAuthInviteSuccess":{"additionalProperties":false,"properties":{"ok":{"enum":[true],"type":"boolean"},"result":{"additionalProperties":false,"properties":{"ticket":{"type":"string"}},"required":["ticket"],"type":"object"}},"required":["ok","result"],"type":"object"},"NativeAppleAuthStartInput":{"additionalProperties":false,"properties":{"callbackScheme":{"type":"string"},"clientType":{"type":"string"},"clientVersion":{"type":"string"},"codeChallenge":{"type":"string"},"deviceId":{"type":"string"},"deviceName":{"type":"string"},"osVersion":{"type":"string"},"timezone":{"type":"string"}},"required":["callbackScheme","codeChallenge","clientType"],"type":"object"},"NativeAppleAuthStartSuccess":{"additionalProperties":false,"properties":{"ok":{"enum":[true],"type":"boolean"},"result":{"additionalProperties":false,"properties":{"nonce":{"type":"string"},"state":{"type":"string"}},"required":["state","nonce"],"type":"object"}},"required":["ok","result"],"type":"object"},"NotionDatabaseId":{"description":"A Notion database or data-source identifier","type":"string"},"OAuthAuthorizationServerMetadata":{"additionalProperties":false,"properties":{"authorization_endpoint":{"type":"string"},"code_challenge_methods_supported":{"items":{"type":"string"},"type":"array"},"grant_types_supported":{"items":{"type":"string"},"type":"array"},"issuer":{"type":"string"},"registration_endpoint":{"type":"string"},"response_types_supported":{"items":{"type":"string"},"type":"array"},"revocation_endpoint":{"type":"string"},"scopes_supported":{"items":{"type":"string"},"type":"array"},"token_endpoint":{"type":"string"},"token_endpoint_auth_methods_supported":{"items":{"type":"string"},"type":"array"}},"required":["issuer","authorization_endpoint","token_endpoint","registration_endpoint","revocation_endpoint","scopes_supported","response_types_supported","grant_types_supported","token_endpoint_auth_methods_supported","code_challenge_methods_supported"],"type":"object"},"OAuthConsentForm":{"additionalProperties":false,"properties":{"allow_dms":{"type":"string"},"allow_home_threads":{"type":"string"},"csrf":{"type":"string"},"name":{"type":"string"},"space_id":{"anyOf":[{"type":"string"},{"items":{"type":"string"},"type":"array"}]},"step":{"type":"string"},"username":{"type":"string"}},"type":"object"},"OAuthConsentForm1":{"additionalProperties":false,"properties":{"allow_dms":{"type":"string"},"allow_home_threads":{"type":"string"},"csrf":{"type":"string"},"name":{"type":"string"},"space_id":{"anyOf":[{"type":"string"},{"items":{"type":"string"},"type":"array"}]},"step":{"type":"string"},"username":{"type":"string"}},"type":"object"},"OAuthConsentForm2":{"additionalProperties":false,"properties":{"allow_dms":{"type":"string"},"allow_home_threads":{"type":"string"},"csrf":{"type":"string"},"name":{"type":"string"},"space_id":{"anyOf":[{"type":"string"},{"items":{"type":"string"},"type":"array"}]},"step":{"type":"string"},"username":{"type":"string"}},"type":"object"},"OAuthEmailCodeForm":{"additionalProperties":false,"properties":{"csrf":{"type":"string"},"email":{"type":"string"}},"type":"object"},"OAuthEmailCodeForm1":{"additionalProperties":false,"properties":{"csrf":{"type":"string"},"email":{"type":"string"}},"type":"object"},"OAuthEmailCodeForm2":{"additionalProperties":false,"properties":{"csrf":{"type":"string"},"email":{"type":"string"}},"type":"object"},"OAuthEmailCodeForm3":{"additionalProperties":false,"properties":{"csrf":{"type":"string"},"email":{"type":"string"}},"type":"object"},"OAuthEmailCodeForm4":{"additionalProperties":false,"properties":{"csrf":{"type":"string"},"email":{"type":"string"}},"type":"object"},"OAuthEmailVerificationForm":{"additionalProperties":false,"properties":{"code":{"type":"string"},"csrf":{"type":"string"},"invite_code":{"type":"string"}},"type":"object"},"OAuthEmailVerificationForm1":{"additionalProperties":false,"properties":{"code":{"type":"string"},"csrf":{"type":"string"},"invite_code":{"type":"string"}},"type":"object"},"OAuthEmailVerificationForm2":{"additionalProperties":false,"properties":{"code":{"type":"string"},"csrf":{"type":"string"},"invite_code":{"type":"string"}},"type":"object"},"OAuthEmailVerificationForm3":{"additionalProperties":false,"properties":{"code":{"type":"string"},"csrf":{"type":"string"},"invite_code":{"type":"string"}},"type":"object"},"OAuthEmailVerificationForm4":{"additionalProperties":false,"properties":{"code":{"type":"string"},"csrf":{"type":"string"},"invite_code":{"type":"string"}},"type":"object"},"OAuthEmailVerificationForm5":{"additionalProperties":false,"properties":{"code":{"type":"string"},"csrf":{"type":"string"},"invite_code":{"type":"string"}},"type":"object"},"OAuthEmailVerificationForm6":{"additionalProperties":false,"properties":{"code":{"type":"string"},"csrf":{"type":"string"},"invite_code":{"type":"string"}},"type":"object"},"OAuthEmailVerificationForm7":{"additionalProperties":false,"properties":{"code":{"type":"string"},"csrf":{"type":"string"},"invite_code":{"type":"string"}},"type":"object"},"OAuthEmailVerificationForm8":{"additionalProperties":false,"properties":{"code":{"type":"string"},"csrf":{"type":"string"},"invite_code":{"type":"string"}},"type":"object"},"OAuthEmptyObject":{"anyOf":[{"type":"object"},{"type":"array"}]},"OAuthError":{"additionalProperties":false,"properties":{"error":{"type":"string"},"error_description":{"type":"string"}},"required":["error"],"type":"object"},"OAuthError1":{"additionalProperties":false,"properties":{"error":{"type":"string"},"error_description":{"type":"string"}},"required":["error"],"type":"object"},"OAuthError2":{"additionalProperties":false,"properties":{"error":{"type":"string"},"error_description":{"type":"string"}},"required":["error"],"type":"object"},"OAuthError3":{"additionalProperties":false,"properties":{"error":{"type":"string"},"error_description":{"type":"string"}},"required":["error"],"type":"object"},"OAuthError4":{"additionalProperties":false,"properties":{"error":{"type":"string"},"error_description":{"type":"string"}},"required":["error"],"type":"object"},"OAuthError6":{"additionalProperties":false,"properties":{"error":{"type":"string"},"error_description":{"type":"string"}},"required":["error"],"type":"object"},"OAuthError7":{"additionalProperties":false,"properties":{"error":{"type":"string"},"error_description":{"type":"string"}},"required":["error"],"type":"object"},"OAuthError8":{"additionalProperties":false,"properties":{"error":{"type":"string"},"error_description":{"type":"string"}},"required":["error"],"type":"object"},"OAuthError9":{"additionalProperties":false,"properties":{"error":{"type":"string"},"error_description":{"type":"string"}},"required":["error"],"type":"object"},"OAuthInactiveToken":{"additionalProperties":false,"properties":{"active":{"enum":[false],"type":"boolean"}},"required":["active"],"type":"object"},"OAuthIntrospectForm":{"additionalProperties":false,"properties":{"token":{"type":"string"}},"type":"object"},"OAuthIntrospectForm1":{"additionalProperties":false,"properties":{"token":{"type":"string"}},"type":"object"},"OAuthIntrospectForm2":{"additionalProperties":false,"properties":{"token":{"type":"string"}},"type":"object"},"OAuthIntrospectionResult":{"additionalProperties":false,"properties":{"active":{"enum":[true],"type":"boolean"},"allow_dms":{"type":"boolean"},"allow_home_threads":{"type":"boolean"},"aud":{"type":"string"},"client_id":{"type":"string"},"exp":{"$ref":"#/components/schemas/UnixSeconds"},"grant_id":{"type":"string"},"inline_token":{"type":"string"},"inline_user_id":{"type":"string"},"scope":{"type":"string"},"space_ids":{"items":{"type":"string"},"type":"array"}},"required":["active","grant_id","client_id","scope","aud","exp","inline_user_id","space_ids","allow_dms","allow_home_threads","inline_token"],"type":"object"},"OAuthPhoneCodeForm":{"additionalProperties":false,"properties":{"csrf":{"type":"string"},"phone_number":{"type":"string"}},"type":"object"},"OAuthPhoneCodeForm1":{"additionalProperties":false,"properties":{"csrf":{"type":"string"},"phone_number":{"type":"string"}},"type":"object"},"OAuthPhoneCodeForm2":{"additionalProperties":false,"properties":{"csrf":{"type":"string"},"phone_number":{"type":"string"}},"type":"object"},"OAuthPhoneCodeForm3":{"additionalProperties":false,"properties":{"csrf":{"type":"string"},"phone_number":{"type":"string"}},"type":"object"},"OAuthPhoneCodeForm4":{"additionalProperties":false,"properties":{"csrf":{"type":"string"},"phone_number":{"type":"string"}},"type":"object"},"OAuthRegisterInput":{"additionalProperties":false,"properties":{"client_name":{"type":"string"},"redirect_uris":{"items":{"type":"string"},"type":"array"}},"required":["redirect_uris"],"type":"object"},"OAuthRegisterInput1":{"additionalProperties":false,"properties":{"client_name":{"type":"string"},"redirect_uris":{"items":{"type":"string"},"type":"array"}},"required":["redirect_uris"],"type":"object"},"OAuthRegisterInput2":{"additionalProperties":false,"properties":{"client_name":{"type":"string"},"redirect_uris":{"items":{"type":"string"},"type":"array"}},"required":["redirect_uris"],"type":"object"},"OAuthRegisterInput3":{"additionalProperties":false,"properties":{"client_name":{"type":"string"},"redirect_uris":{"items":{"type":"string"},"type":"array"}},"required":["redirect_uris"],"type":"object"},"OAuthRegisterInput4":{"additionalProperties":false,"properties":{"client_name":{"type":"string"},"redirect_uris":{"items":{"type":"string"},"type":"array"}},"required":["redirect_uris"],"type":"object"},"OAuthRegisterResult":{"additionalProperties":false,"properties":{"client_id":{"type":"string"},"client_id_issued_at":{"$ref":"#/components/schemas/UnixSeconds"},"client_name":{"type":"string"},"grant_types":{"items":{"type":"string"},"type":"array"},"redirect_uris":{"items":{"type":"string"},"type":"array"},"response_types":{"items":{"type":"string"},"type":"array"},"token_endpoint_auth_method":{"type":"string"}},"required":["client_id","client_id_issued_at","redirect_uris","token_endpoint_auth_method","grant_types","response_types"],"type":"object"},"OAuthRevokeForm":{"additionalProperties":false,"properties":{"token":{"type":"string"}},"type":"object"},"OAuthRevokeForm1":{"additionalProperties":false,"properties":{"token":{"type":"string"}},"type":"object"},"OAuthRevokeForm2":{"additionalProperties":false,"properties":{"token":{"type":"string"}},"type":"object"},"OAuthRevokeForm3":{"additionalProperties":false,"properties":{"token":{"type":"string"}},"type":"object"},"OAuthRevokeForm4":{"additionalProperties":false,"properties":{"token":{"type":"string"}},"type":"object"},"OAuthTokenForm":{"additionalProperties":false,"properties":{"client_id":{"type":"string"},"code":{"type":"string"},"code_verifier":{"type":"string"},"grant_type":{"type":"string"},"redirect_uri":{"type":"string"},"refresh_token":{"type":"string"},"resource":{"type":"string"}},"type":"object"},"OAuthTokenForm1":{"additionalProperties":false,"properties":{"client_id":{"type":"string"},"code":{"type":"string"},"code_verifier":{"type":"string"},"grant_type":{"type":"string"},"redirect_uri":{"type":"string"},"refresh_token":{"type":"string"},"resource":{"type":"string"}},"type":"object"},"OAuthTokenForm2":{"additionalProperties":false,"properties":{"client_id":{"type":"string"},"code":{"type":"string"},"code_verifier":{"type":"string"},"grant_type":{"type":"string"},"redirect_uri":{"type":"string"},"refresh_token":{"type":"string"},"resource":{"type":"string"}},"type":"object"},"OAuthTokenForm3":{"additionalProperties":false,"properties":{"client_id":{"type":"string"},"code":{"type":"string"},"code_verifier":{"type":"string"},"grant_type":{"type":"string"},"redirect_uri":{"type":"string"},"refresh_token":{"type":"string"},"resource":{"type":"string"}},"type":"object"},"OAuthTokenForm4":{"additionalProperties":false,"properties":{"client_id":{"type":"string"},"code":{"type":"string"},"code_verifier":{"type":"string"},"grant_type":{"type":"string"},"redirect_uri":{"type":"string"},"refresh_token":{"type":"string"},"resource":{"type":"string"}},"type":"object"},"OAuthTokenResult":{"additionalProperties":false,"properties":{"access_token":{"type":"string"},"expires_in":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"refresh_token":{"type":"string"},"scope":{"type":"string"},"token_type":{"type":"string"}},"required":["access_token","token_type","expires_in","scope"],"type":"object"},"PeerInfo":{"anyOf":[{"additionalProperties":false,"properties":{"userId":{"$ref":"#/components/schemas/WirePositiveInteger"}},"required":["userId"],"type":"object"},{"additionalProperties":false,"properties":{"threadId":{"$ref":"#/components/schemas/WirePositiveInteger"}},"required":["threadId"],"type":"object"}]},"ProviderAppleCallbackForm":{"additionalProperties":false,"properties":{"code":{"type":"string"},"error":{"type":"string"},"id_token":{"type":"string"},"state":{"type":"string"},"user":{"type":"string"}},"type":"object"},"ProviderAppleCallbackForm1":{"additionalProperties":false,"properties":{"code":{"type":"string"},"error":{"type":"string"},"id_token":{"type":"string"},"state":{"type":"string"},"user":{"type":"string"}},"type":"object"},"ProviderAppleCallbackForm2":{"additionalProperties":false,"properties":{"code":{"type":"string"},"error":{"type":"string"},"id_token":{"type":"string"},"state":{"type":"string"},"user":{"type":"string"}},"type":"object"},"ProviderAuthContinuationForm":{"additionalProperties":false,"properties":{"attempt_id":{"type":"string"},"code":{"type":"string"},"continuation":{"type":"string"},"email":{"type":"string"},"invite_code":{"type":"string"}},"type":"object"},"ProviderAuthContinuationForm1":{"additionalProperties":false,"properties":{"attempt_id":{"type":"string"},"code":{"type":"string"},"continuation":{"type":"string"},"email":{"type":"string"},"invite_code":{"type":"string"}},"type":"object"},"ProviderAuthContinuationForm2":{"additionalProperties":false,"properties":{"attempt_id":{"type":"string"},"code":{"type":"string"},"continuation":{"type":"string"},"email":{"type":"string"},"invite_code":{"type":"string"}},"type":"object"},"ProviderAuthContinuationForm3":{"additionalProperties":false,"properties":{"attempt_id":{"type":"string"},"code":{"type":"string"},"continuation":{"type":"string"},"email":{"type":"string"},"invite_code":{"type":"string"}},"type":"object"},"ProviderAuthContinuationForm4":{"additionalProperties":false,"properties":{"attempt_id":{"type":"string"},"code":{"type":"string"},"continuation":{"type":"string"},"email":{"type":"string"},"invite_code":{"type":"string"}},"type":"object"},"ProviderAuthContinuationForm5":{"additionalProperties":false,"properties":{"attempt_id":{"type":"string"},"code":{"type":"string"},"continuation":{"type":"string"},"email":{"type":"string"},"invite_code":{"type":"string"}},"type":"object"},"ProviderAuthContinuationForm6":{"additionalProperties":false,"properties":{"attempt_id":{"type":"string"},"code":{"type":"string"},"continuation":{"type":"string"},"email":{"type":"string"},"invite_code":{"type":"string"}},"type":"object"},"ProviderAuthRedeemInput":{"additionalProperties":false,"properties":{"code_verifier":{"type":"string"},"ticket":{"type":"string"}},"type":"object"},"ProviderAuthRedeemInput1":{"additionalProperties":false,"properties":{"code_verifier":{"type":"string"},"ticket":{"type":"string"}},"type":"object"},"ProviderAuthRedeemInput2":{"additionalProperties":false,"properties":{"code_verifier":{"type":"string"},"ticket":{"type":"string"}},"type":"object"},"ProviderAuthRedeemSuccess":{"additionalProperties":false,"properties":{"ok":{"enum":[true],"type":"boolean"},"result":{"$ref":"#/components/schemas/LoginSessionResult"}},"required":["ok","result"],"type":"object"},"ReactionInfo":{"additionalProperties":false,"properties":{"chatId":{"$ref":"#/components/schemas/WirePositiveInteger"},"date":{"$ref":"#/components/schemas/UnixSeconds"},"emoji":{"type":"string"},"id":{"$ref":"#/components/schemas/WirePositiveInteger"},"messageId":{"$ref":"#/components/schemas/WirePositiveInteger"},"userId":{"$ref":"#/components/schemas/WirePositiveInteger"}},"required":["id","messageId","chatId","userId","emoji","date"],"type":"object"},"ReadMessagesInput":{"additionalProperties":false,"properties":{"maxId":{"$ref":"#/components/schemas/WireSafeInteger"},"peerThreadId":{"$ref":"#/components/schemas/V1InputId17"},"peerUserId":{"$ref":"#/components/schemas/V1InputId16"}},"type":"object"},"ReadMessagesInput1":{"additionalProperties":false,"properties":{"maxId":{"$ref":"#/components/schemas/WireSafeInteger6"},"peerThreadId":{"$ref":"#/components/schemas/V1InputId"},"peerUserId":{"$ref":"#/components/schemas/V1InputId"}},"type":"object"},"ReadMessagesInput2":{"additionalProperties":false,"properties":{"maxId":{"$ref":"#/components/schemas/WireSafeInteger"},"peerThreadId":{"$ref":"#/components/schemas/V1InputId17"},"peerUserId":{"$ref":"#/components/schemas/V1InputId16"}},"type":"object"},"ReadMessagesResult":{"anyOf":[{"type":"object"},{"type":"array"}]},"ReadMessagesSuccess":{"additionalProperties":false,"properties":{"ok":{"enum":[true],"type":"boolean"},"result":{"$ref":"#/components/schemas/ReadMessagesResult"}},"required":["ok","result"],"type":"object"},"SaveLinearTeamIdInput":{"additionalProperties":false,"properties":{"spaceId":{"type":"string"},"teamId":{"$ref":"#/components/schemas/LinearTeamId"}},"required":["spaceId","teamId"],"type":"object"},"SaveLinearTeamIdInput1":{"additionalProperties":false,"properties":{"spaceId":{"type":"string"},"teamId":{"$ref":"#/components/schemas/LinearTeamId"}},"required":["spaceId","teamId"],"type":"object"},"SaveLinearTeamIdInput2":{"additionalProperties":false,"properties":{"spaceId":{"type":"string"},"teamId":{"$ref":"#/components/schemas/LinearTeamId"}},"required":["spaceId","teamId"],"type":"object"},"SaveLinearTeamIdSuccess":{"additionalProperties":false,"properties":{"ok":{"enum":[true],"type":"boolean"}},"required":["ok"],"type":"object"},"SaveNotionDatabaseIdInput":{"additionalProperties":false,"properties":{"databaseId":{"$ref":"#/components/schemas/NotionDatabaseId"},"spaceId":{"type":"string"}},"required":["spaceId","databaseId"],"type":"object"},"SaveNotionDatabaseIdInput1":{"additionalProperties":false,"properties":{"databaseId":{"$ref":"#/components/schemas/NotionDatabaseId"},"spaceId":{"type":"string"}},"required":["spaceId","databaseId"],"type":"object"},"SaveNotionDatabaseIdInput2":{"additionalProperties":false,"properties":{"databaseId":{"$ref":"#/components/schemas/NotionDatabaseId"},"spaceId":{"type":"string"}},"required":["spaceId","databaseId"],"type":"object"},"SaveNotionDatabaseIdSuccess":{"additionalProperties":false,"properties":{"ok":{"enum":[true],"type":"boolean"}},"required":["ok"],"type":"object"},"SavePushNotificationInput":{"additionalProperties":false,"properties":{"applePushToken":{"type":"string"}},"required":["applePushToken"],"type":"object"},"SavePushNotificationInput1":{"additionalProperties":false,"properties":{"applePushToken":{"type":"string"}},"required":["applePushToken"],"type":"object"},"SavePushNotificationInput2":{"additionalProperties":false,"properties":{"applePushToken":{"type":"string"}},"required":["applePushToken"],"type":"object"},"SearchContactsInput":{"additionalProperties":false,"properties":{"limit":{"$ref":"#/components/schemas/WireSafeInteger"},"q":{"type":"string"}},"required":["q"],"type":"object"},"SearchContactsInput1":{"additionalProperties":false,"properties":{"limit":{"$ref":"#/components/schemas/WireSafeInteger2"},"q":{"type":"string"}},"required":["q"],"type":"object"},"SearchContactsInput2":{"additionalProperties":false,"properties":{"limit":{"$ref":"#/components/schemas/WireSafeInteger"},"q":{"type":"string"}},"required":["q"],"type":"object"},"SearchContactsResult":{"additionalProperties":false,"properties":{"users":{"items":{"$ref":"#/components/schemas/MinUserInfo"},"type":"array"}},"required":["users"],"type":"object"},"SearchContactsSuccess":{"additionalProperties":false,"properties":{"ok":{"enum":[true],"type":"boolean"},"result":{"$ref":"#/components/schemas/SearchContactsResult"}},"required":["ok","result"],"type":"object"},"SendComposeActionInput":{"additionalProperties":false,"properties":{"action":{"anyOf":[{"enum":["typing","uploadingDocument","uploadingPhoto","uploadingVideo","recordingVoice","working"],"type":"string"},{"type":"null"}]},"peerId":{"anyOf":[{"$ref":"#/components/schemas/V1InputPeerInfo1"},{"type":"null"}]},"peerThreadId":{"anyOf":[{"$ref":"#/components/schemas/V1InputId1"},{"type":"null"}]},"peerUserId":{"anyOf":[{"$ref":"#/components/schemas/V1InputId1"},{"type":"null"}]}},"type":"object"},"SendComposeActionInput1":{"additionalProperties":false,"properties":{"action":{"enum":["null","typing","uploadingDocument","uploadingPhoto","uploadingVideo","recordingVoice","working"],"type":"string"},"peerId":{"anyOf":[{"enum":["null"],"type":"string"},{"$ref":"#/components/schemas/V1InputPeerInfo"}]},"peerThreadId":{"anyOf":[{"enum":["null"],"type":"string"},{"$ref":"#/components/schemas/V1InputId"}]},"peerUserId":{"anyOf":[{"enum":["null"],"type":"string"},{"$ref":"#/components/schemas/V1InputId"}]}},"type":"object"},"SendComposeActionInput2":{"additionalProperties":false,"properties":{"action":{"anyOf":[{"enum":["typing","uploadingDocument","uploadingPhoto","uploadingVideo","recordingVoice","working"],"type":"string"},{"type":"null"}]},"peerId":{"anyOf":[{"$ref":"#/components/schemas/V1InputPeerInfo1"},{"type":"null"}]},"peerThreadId":{"anyOf":[{"$ref":"#/components/schemas/V1InputId1"},{"type":"null"}]},"peerUserId":{"anyOf":[{"$ref":"#/components/schemas/V1InputId1"},{"type":"null"}]}},"type":"object"},"SendComposeActionSuccess":{"additionalProperties":false,"properties":{"ok":{"enum":[true],"type":"boolean"}},"required":["ok"],"type":"object"},"SendEmailCodeInput":{"additionalProperties":false,"properties":{"clientType":{"type":"string"},"clientVersion":{"type":"string"},"deviceId":{"type":"string"},"deviceName":{"type":"string"},"email":{"type":"string"},"osVersion":{"type":"string"}},"required":["email"],"type":"object"},"SendEmailCodeInput1":{"additionalProperties":false,"properties":{"clientType":{"type":"string"},"clientVersion":{"type":"string"},"deviceId":{"type":"string"},"deviceName":{"type":"string"},"email":{"type":"string"},"osVersion":{"type":"string"}},"required":["email"],"type":"object"},"SendEmailCodeInput2":{"additionalProperties":false,"properties":{"clientType":{"type":"string"},"clientVersion":{"type":"string"},"deviceId":{"type":"string"},"deviceName":{"type":"string"},"email":{"type":"string"},"osVersion":{"type":"string"}},"required":["email"],"type":"object"},"SendEmailCodeResult":{"additionalProperties":false,"properties":{"challengeToken":{"type":"string"},"existingUser":{"type":"boolean"},"needsInviteCode":{"type":"boolean"}},"required":["existingUser","needsInviteCode"],"type":"object"},"SendEmailCodeSuccess":{"additionalProperties":false,"properties":{"ok":{"enum":[true],"type":"boolean"},"result":{"$ref":"#/components/schemas/SendEmailCodeResult"}},"required":["ok","result"],"type":"object"},"SendMessage20250509Input":{"additionalProperties":false,"properties":{"peerId":{"anyOf":[{"$ref":"#/components/schemas/V1InputPeerInfo1"},{"type":"null"}]},"peerThreadId":{"anyOf":[{"$ref":"#/components/schemas/V1InputId1"},{"type":"null"}]},"peerUserId":{"anyOf":[{"$ref":"#/components/schemas/V1InputId1"},{"type":"null"}]},"photoId":{"anyOf":[{"$ref":"#/components/schemas/V1InputId1"},{"type":"null"}]},"text":{"anyOf":[{"type":"string"},{"type":"null"}]}},"type":"object"},"SendMessage20250509Input1":{"additionalProperties":false,"properties":{"peerId":{"anyOf":[{"enum":["null"],"type":"string"},{"$ref":"#/components/schemas/V1InputPeerInfo"}]},"peerThreadId":{"anyOf":[{"enum":["null"],"type":"string"},{"$ref":"#/components/schemas/V1InputId"}]},"peerUserId":{"anyOf":[{"enum":["null"],"type":"string"},{"$ref":"#/components/schemas/V1InputId"}]},"photoId":{"anyOf":[{"enum":["null"],"type":"string"},{"$ref":"#/components/schemas/V1InputId"}]},"text":{"anyOf":[{"enum":["null"],"type":"string"},{"type":"string"}]}},"type":"object"},"SendMessage20250509Input2":{"additionalProperties":false,"properties":{"peerId":{"anyOf":[{"$ref":"#/components/schemas/V1InputPeerInfo1"},{"type":"null"}]},"peerThreadId":{"anyOf":[{"$ref":"#/components/schemas/V1InputId1"},{"type":"null"}]},"peerUserId":{"anyOf":[{"$ref":"#/components/schemas/V1InputId1"},{"type":"null"}]},"photoId":{"anyOf":[{"$ref":"#/components/schemas/V1InputId1"},{"type":"null"}]},"text":{"anyOf":[{"type":"string"},{"type":"null"}]}},"type":"object"},"SendMessage20250509Result":{"anyOf":[{"type":"object"},{"type":"array"}]},"SendMessage20250509Success":{"additionalProperties":false,"properties":{"ok":{"enum":[true],"type":"boolean"},"result":{"$ref":"#/components/schemas/SendMessage20250509Result"}},"required":["ok","result"],"type":"object"},"SendMessageInput":{"additionalProperties":false,"properties":{"fileUniqueId":{"anyOf":[{"type":"string"},{"type":"null"}]},"isSticker":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"parseMarkdown":{"allOf":[{"description":"Parse Inline's supported Markdown surface. Defaults to true; false preserves the supplied syntax literally."}],"anyOf":[{"type":"boolean"},{"type":"null"}]},"peerId":{"anyOf":[{"$ref":"#/components/schemas/V1InputPeerInfo1"},{"type":"null"}]},"peerThreadId":{"anyOf":[{"$ref":"#/components/schemas/V1InputId1"},{"type":"null"}]},"peerUserId":{"anyOf":[{"$ref":"#/components/schemas/V1InputId1"},{"type":"null"}]},"randomId":{"anyOf":[{"type":"string"},{"type":"null"}]},"replyToMessageId":{"anyOf":[{"$ref":"#/components/schemas/V1InputId1"},{"type":"null"}]},"text":{"anyOf":[{"type":"string"},{"type":"null"}]}},"type":"object"},"SendMessageInput1":{"additionalProperties":false,"properties":{"fileUniqueId":{"anyOf":[{"enum":["null"],"type":"string"},{"type":"string"}]},"isSticker":{"enum":["true","false","null"],"type":"string"},"parseMarkdown":{"allOf":[{"description":"Parse Inline's supported Markdown surface. Defaults to true; false preserves the supplied syntax literally."}],"enum":["true","false","null"],"type":"string"},"peerId":{"anyOf":[{"enum":["null"],"type":"string"},{"$ref":"#/components/schemas/V1InputPeerInfo"}]},"peerThreadId":{"anyOf":[{"enum":["null"],"type":"string"},{"$ref":"#/components/schemas/V1InputId"}]},"peerUserId":{"anyOf":[{"enum":["null"],"type":"string"},{"$ref":"#/components/schemas/V1InputId"}]},"randomId":{"anyOf":[{"enum":["null"],"type":"string"},{"type":"string"}]},"replyToMessageId":{"anyOf":[{"enum":["null"],"type":"string"},{"$ref":"#/components/schemas/V1InputId"}]},"text":{"anyOf":[{"enum":["null"],"type":"string"},{"type":"string"}]}},"type":"object"},"SendMessageInput2":{"additionalProperties":false,"properties":{"fileUniqueId":{"anyOf":[{"type":"string"},{"type":"null"}]},"isSticker":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"parseMarkdown":{"allOf":[{"description":"Parse Inline's supported Markdown surface. Defaults to true; false preserves the supplied syntax literally."}],"anyOf":[{"type":"boolean"},{"type":"null"}]},"peerId":{"anyOf":[{"$ref":"#/components/schemas/V1InputPeerInfo1"},{"type":"null"}]},"peerThreadId":{"anyOf":[{"$ref":"#/components/schemas/V1InputId1"},{"type":"null"}]},"peerUserId":{"anyOf":[{"$ref":"#/components/schemas/V1InputId1"},{"type":"null"}]},"randomId":{"anyOf":[{"type":"string"},{"type":"null"}]},"replyToMessageId":{"anyOf":[{"$ref":"#/components/schemas/V1InputId1"},{"type":"null"}]},"text":{"anyOf":[{"type":"string"},{"type":"null"}]}},"type":"object"},"SendMessageResult":{"additionalProperties":false,"properties":{"message":{"$ref":"#/components/schemas/MessageInfo"},"updates":{"items":{"$ref":"#/components/schemas/V1Update"},"type":"array"}},"required":["message","updates"],"type":"object"},"SendMessageSuccess":{"additionalProperties":false,"properties":{"ok":{"enum":[true],"type":"boolean"},"result":{"$ref":"#/components/schemas/SendMessageResult"}},"required":["ok","result"],"type":"object"},"SendSmsCodeInput":{"additionalProperties":false,"properties":{"clientType":{"type":"string"},"clientVersion":{"type":"string"},"deviceId":{"type":"string"},"deviceName":{"type":"string"},"osVersion":{"type":"string"},"phoneNumber":{"type":"string"}},"required":["phoneNumber"],"type":"object"},"SendSmsCodeInput1":{"additionalProperties":false,"properties":{"clientType":{"type":"string"},"clientVersion":{"type":"string"},"deviceId":{"type":"string"},"deviceName":{"type":"string"},"osVersion":{"type":"string"},"phoneNumber":{"type":"string"}},"required":["phoneNumber"],"type":"object"},"SendSmsCodeInput2":{"additionalProperties":false,"properties":{"clientType":{"type":"string"},"clientVersion":{"type":"string"},"deviceId":{"type":"string"},"deviceName":{"type":"string"},"osVersion":{"type":"string"},"phoneNumber":{"type":"string"}},"required":["phoneNumber"],"type":"object"},"SendSmsCodeResult":{"additionalProperties":false,"properties":{"existingUser":{"type":"boolean"},"formattedPhoneNumber":{"type":"string"},"needsInviteCode":{"type":"boolean"},"phoneNumber":{"type":"string"}},"required":["existingUser","needsInviteCode","phoneNumber","formattedPhoneNumber"],"type":"object"},"SendSmsCodeSuccess":{"additionalProperties":false,"properties":{"ok":{"enum":[true],"type":"boolean"},"result":{"$ref":"#/components/schemas/SendSmsCodeResult"}},"required":["ok","result"],"type":"object"},"SessionId":{"allOf":[{"description":"A positive Inline session identifier","maximum":9007199254740991,"minimum":1}],"type":"integer"},"SpaceId":{"allOf":[{"pattern":"^[+-]?\\d*\\.?\\d+(?:[Ee][+-]?\\d+)?$"}],"type":"string"},"SpaceId1":{"allOf":[{"description":"A positive Inline space identifier","maximum":9007199254740991,"minimum":1}],"type":"integer"},"SpaceId2":{"allOf":[{"description":"A positive Inline space identifier","maximum":9007199254740991,"minimum":1}],"type":"integer"},"SpaceInfo":{"additionalProperties":false,"properties":{"creator":{"type":"boolean"},"date":{"$ref":"#/components/schemas/UnixSeconds"},"handle":{"anyOf":[{"type":"string"},{"type":"null"}]},"id":{"$ref":"#/components/schemas/WirePositiveInteger"},"isPublic":{"type":"boolean"},"name":{"type":"string"}},"required":["id","name","date","creator","isPublic"],"type":"object"},"SpaceJoinResolveInput":{"anyOf":[{"additionalProperties":false,"properties":{"kind":{"enum":["public_handle"],"type":"string"},"value":{"type":"string"}},"required":["kind","value"],"type":"object"},{"additionalProperties":false,"properties":{"kind":{"enum":["invite_token"],"type":"string"},"value":{"type":"string"}},"required":["kind","value"],"type":"object"}]},"SpaceJoinResolveRateLimited":{"additionalProperties":false,"properties":{"error":{"enum":["rate_limited"],"type":"string"}},"required":["error"],"type":"object"},"SpaceJoinResolveSuccess":{"additionalProperties":false,"properties":{"name":{"type":"string"}},"required":["name"],"type":"object"},"ThereSignup":{"additionalProperties":false,"properties":{"email":{"type":"string"},"name":{"type":"string"},"timeZone":{"type":"string"}},"required":["email"],"type":"object"},"ThereSignupSuccess":{"additionalProperties":false,"properties":{"ok":{"enum":[true],"type":"boolean"}},"required":["ok"],"type":"object"},"UnixSeconds":{"allOf":[{"description":"A Unix timestamp measured in whole seconds","maximum":9007199254740991,"minimum":0}],"type":"integer"},"UpdateDialogInput":{"additionalProperties":false,"properties":{"archived":{"type":"boolean"},"draft":{"type":"string"},"order":{"allOf":[{"minLength":1},{"maxLength":128},{"pattern":"^[0-9A-Za-z]+$"}],"type":"string"},"peerId":{"$ref":"#/components/schemas/V1InputId21"},"peerThreadId":{"$ref":"#/components/schemas/V1InputId23"},"peerUserId":{"$ref":"#/components/schemas/V1InputId22"},"pinned":{"type":"boolean"},"pinnedOrder":{"allOf":[{"minLength":1},{"maxLength":128},{"pattern":"^[0-9A-Za-z]+$"}],"type":"string"}},"type":"object"},"UpdateDialogInput1":{"additionalProperties":false,"properties":{"archived":{"enum":["true","false"],"type":"string"},"draft":{"type":"string"},"order":{"allOf":[{"minLength":1},{"maxLength":128},{"pattern":"^[0-9A-Za-z]+$"}],"type":"string"},"peerId":{"$ref":"#/components/schemas/V1InputId"},"peerThreadId":{"$ref":"#/components/schemas/V1InputId"},"peerUserId":{"$ref":"#/components/schemas/V1InputId"},"pinned":{"enum":["true","false"],"type":"string"},"pinnedOrder":{"allOf":[{"minLength":1},{"maxLength":128},{"pattern":"^[0-9A-Za-z]+$"}],"type":"string"}},"type":"object"},"UpdateDialogInput2":{"additionalProperties":false,"properties":{"archived":{"type":"boolean"},"draft":{"type":"string"},"order":{"allOf":[{"minLength":1},{"maxLength":128},{"pattern":"^[0-9A-Za-z]+$"}],"type":"string"},"peerId":{"$ref":"#/components/schemas/V1InputId21"},"peerThreadId":{"$ref":"#/components/schemas/V1InputId23"},"peerUserId":{"$ref":"#/components/schemas/V1InputId22"},"pinned":{"type":"boolean"},"pinnedOrder":{"allOf":[{"minLength":1},{"maxLength":128},{"pattern":"^[0-9A-Za-z]+$"}],"type":"string"}},"type":"object"},"UpdateDialogResult":{"additionalProperties":false,"properties":{"dialog":{"$ref":"#/components/schemas/DialogInfo"}},"required":["dialog"],"type":"object"},"UpdateDialogSuccess":{"additionalProperties":false,"properties":{"ok":{"enum":[true],"type":"boolean"},"result":{"$ref":"#/components/schemas/UpdateDialogResult"}},"required":["ok","result"],"type":"object"},"UpdateProfileInput":{"additionalProperties":false,"properties":{"bio":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"timeZone":{"type":"string"},"username":{"type":"string"}},"type":"object"},"UpdateProfileInput1":{"additionalProperties":false,"properties":{"bio":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"timeZone":{"type":"string"},"username":{"type":"string"}},"type":"object"},"UpdateProfileInput2":{"additionalProperties":false,"properties":{"bio":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"timeZone":{"type":"string"},"username":{"type":"string"}},"type":"object"},"UpdateProfilePhotoInput":{"additionalProperties":false,"properties":{"fileUniqueId":{"type":"string"}},"required":["fileUniqueId"],"type":"object"},"UpdateProfilePhotoInput1":{"additionalProperties":false,"properties":{"fileUniqueId":{"type":"string"}},"required":["fileUniqueId"],"type":"object"},"UpdateProfilePhotoInput2":{"additionalProperties":false,"properties":{"fileUniqueId":{"type":"string"}},"required":["fileUniqueId"],"type":"object"},"UpdateProfilePhotoResult":{"additionalProperties":false,"properties":{"user":{"$ref":"#/components/schemas/UserInfo"}},"required":["user"],"type":"object"},"UpdateProfilePhotoSuccess":{"additionalProperties":false,"properties":{"ok":{"enum":[true],"type":"boolean"},"result":{"$ref":"#/components/schemas/UpdateProfilePhotoResult"}},"required":["ok","result"],"type":"object"},"UpdateProfileResult":{"additionalProperties":false,"properties":{"user":{"$ref":"#/components/schemas/UserInfo"}},"required":["user"],"type":"object"},"UpdateProfileSuccess":{"additionalProperties":false,"properties":{"ok":{"enum":[true],"type":"boolean"},"result":{"$ref":"#/components/schemas/UpdateProfileResult"}},"required":["ok","result"],"type":"object"},"UpdateStatusInput":{"additionalProperties":false,"properties":{"online":{"type":"boolean"}},"required":["online"],"type":"object"},"UpdateStatusInput1":{"additionalProperties":false,"properties":{"online":{"enum":["true","false"],"type":"string"}},"required":["online"],"type":"object"},"UpdateStatusInput2":{"additionalProperties":false,"properties":{"online":{"type":"boolean"}},"required":["online"],"type":"object"},"UpdateStatusResult":{"additionalProperties":false,"properties":{"lastOnline":{"anyOf":[{"$ref":"#/components/schemas/WireNonNegativeInteger"},{"type":"null"}]},"online":{"type":"boolean"}},"required":["online"],"type":"object"},"UpdateStatusSuccess":{"additionalProperties":false,"properties":{"ok":{"enum":[true],"type":"boolean"},"result":{"$ref":"#/components/schemas/UpdateStatusResult"}},"required":["ok","result"],"type":"object"},"UploadFilePayload":{"additionalProperties":false,"properties":{"duration":{"type":"string"},"file":{"format":"binary","type":"string"},"hasAudio":{"type":"string"},"height":{"type":"string"},"isAnimated":{"type":"string"},"thumbnail":{"anyOf":[{"format":"binary","type":"string"},{"type":"null"}]},"type":{"$ref":"#/components/schemas/UploadFileType"},"waveform":{"type":"string"},"width":{"type":"string"}},"required":["type","file"],"type":"object"},"UploadFileResult":{"additionalProperties":false,"properties":{"documentId":{"$ref":"#/components/schemas/WirePositiveInteger"},"fileUniqueId":{"type":"string"},"photoId":{"$ref":"#/components/schemas/WirePositiveInteger"},"videoId":{"$ref":"#/components/schemas/WirePositiveInteger"},"voiceId":{"$ref":"#/components/schemas/WirePositiveInteger"}},"required":["fileUniqueId"],"type":"object"},"UploadFileSuccess":{"additionalProperties":false,"properties":{"ok":{"enum":[true],"type":"boolean"},"result":{"$ref":"#/components/schemas/UploadFileResult"}},"required":["ok","result"],"type":"object"},"UploadFileType":{"enum":["photo","video","document","voice"],"type":"string"},"UserId":{"allOf":[{"description":"A positive Inline user identifier","maximum":9007199254740991,"minimum":1}],"type":"integer"},"UserInfo":{"additionalProperties":false,"properties":{"bio":{"anyOf":[{"type":"string"},{"type":"null"}]},"date":{"$ref":"#/components/schemas/UnixSeconds"},"email":{"anyOf":[{"type":"string"},{"type":"null"}]},"firstName":{"anyOf":[{"type":"string"},{"type":"null"}]},"id":{"$ref":"#/components/schemas/WirePositiveInteger"},"lastName":{"anyOf":[{"type":"string"},{"type":"null"}]},"lastOnline":{"anyOf":[{"$ref":"#/components/schemas/WireSafeInteger"},{"type":"null"}]},"online":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"pendingSetup":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"phoneNumber":{"anyOf":[{"type":"string"},{"type":"null"}]},"photo":{"anyOf":[{"items":{"$ref":"#/components/schemas/UserPhoto"},"type":"array"},{"type":"null"}]},"timeZone":{"anyOf":[{"type":"string"},{"type":"null"}]},"username":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["id","date"],"type":"object"},"UserPhoto":{"additionalProperties":false,"properties":{"bytes":{"anyOf":[{"type":"string"},{"type":"null"}]},"fileSize":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"fileUniqueId":{"type":"string"},"height":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"mimeType":{"type":"string"},"temporaryUrl":{"anyOf":[{"type":"string"},{"type":"null"}]},"thumbSize":{"anyOf":[{"enum":["i","s","m","h"],"type":"string"},{"type":"null"}]},"width":{"$ref":"#/components/schemas/WireNonNegativeInteger"}},"required":["fileUniqueId","width","height","fileSize","mimeType"],"type":"object"},"V1BotCompatApiError":{"additionalProperties":false,"properties":{"description":{"type":"string"},"error":{"type":"string"},"error_code":{"$ref":"#/components/schemas/HttpStatusCode"},"ok":{"enum":[false],"type":"boolean"}},"required":["ok","error_code","description"],"type":"object"},"V1IdentitySpacesApiError":{"additionalProperties":false,"properties":{"description":{"type":"string"},"error":{"type":"string"},"errorCode":{"$ref":"#/components/schemas/HttpStatusCode"},"ok":{"enum":[false],"type":"boolean"}},"required":["ok","error"],"type":"object"},"V1IdentitySpacesApiError1":{"additionalProperties":false,"properties":{"description":{"type":"string"},"error":{"type":"string"},"errorCode":{"$ref":"#/components/schemas/HttpStatusCode"},"ok":{"enum":[false],"type":"boolean"}},"required":["ok","error"],"type":"object"},"V1IdentitySpacesApiError2":{"additionalProperties":false,"properties":{"description":{"type":"string"},"error":{"type":"string"},"errorCode":{"$ref":"#/components/schemas/HttpStatusCode"},"ok":{"enum":[false],"type":"boolean"}},"required":["ok","error"],"type":"object"},"V1IdentitySpacesApiError3":{"additionalProperties":false,"properties":{"description":{"type":"string"},"error":{"type":"string"},"errorCode":{"$ref":"#/components/schemas/HttpStatusCode"},"ok":{"enum":[false],"type":"boolean"}},"required":["ok","error"],"type":"object"},"V1IdentitySpacesApiError4":{"additionalProperties":false,"properties":{"description":{"type":"string"},"error":{"type":"string"},"errorCode":{"$ref":"#/components/schemas/HttpStatusCode"},"ok":{"enum":[false],"type":"boolean"}},"required":["ok","error"],"type":"object"},"V1IdentitySpacesEmptySuccess":{"additionalProperties":false,"properties":{"ok":{"enum":[true],"type":"boolean"}},"required":["ok"],"type":"object"},"V1InputId":{"anyOf":[{"$ref":"#/components/schemas/WireSafeInteger1"},{"type":"string"}],"description":"An Inline entity identifier supplied as an integer or string"},"V1InputId1":{"anyOf":[{"type":"string"},{"$ref":"#/components/schemas/WireSafeInteger"}],"description":"An Inline entity identifier supplied as an integer or string"},"V1InputId11":{"anyOf":[{"type":"string"},{"$ref":"#/components/schemas/WireSafeInteger"}],"description":"An Inline entity identifier supplied as an integer or string"},"V1InputId13":{"anyOf":[{"type":"string"},{"$ref":"#/components/schemas/WireSafeInteger"}],"description":"An Inline entity identifier supplied as an integer or string"},"V1InputId16":{"anyOf":[{"type":"string"},{"$ref":"#/components/schemas/WireSafeInteger"}],"description":"An Inline entity identifier supplied as an integer or string"},"V1InputId17":{"anyOf":[{"type":"string"},{"$ref":"#/components/schemas/WireSafeInteger"}],"description":"An Inline entity identifier supplied as an integer or string"},"V1InputId21":{"anyOf":[{"type":"string"},{"$ref":"#/components/schemas/WireSafeInteger"}],"description":"An Inline entity identifier supplied as an integer or string"},"V1InputId22":{"anyOf":[{"type":"string"},{"$ref":"#/components/schemas/WireSafeInteger"}],"description":"An Inline entity identifier supplied as an integer or string"},"V1InputId23":{"anyOf":[{"type":"string"},{"$ref":"#/components/schemas/WireSafeInteger"}],"description":"An Inline entity identifier supplied as an integer or string"},"V1InputId4":{"anyOf":[{"type":"string"},{"$ref":"#/components/schemas/WireSafeInteger"}],"description":"An Inline entity identifier supplied as an integer or string"},"V1InputId5":{"anyOf":[{"type":"string"},{"$ref":"#/components/schemas/WireSafeInteger"}],"description":"An Inline entity identifier supplied as an integer or string"},"V1InputId8":{"anyOf":[{"type":"string"},{"$ref":"#/components/schemas/WireSafeInteger"}],"description":"An Inline entity identifier supplied as an integer or string"},"V1InputId9":{"anyOf":[{"type":"string"},{"$ref":"#/components/schemas/WireSafeInteger"}],"description":"An Inline entity identifier supplied as an integer or string"},"V1InputPeerInfo":{"anyOf":[{"additionalProperties":false,"properties":{"userId":{"$ref":"#/components/schemas/WireSafeInteger1"}},"required":["userId"],"type":"object"},{"additionalProperties":false,"properties":{"threadId":{"$ref":"#/components/schemas/WireSafeInteger1"}},"required":["threadId"],"type":"object"}]},"V1InputPeerInfo1":{"anyOf":[{"additionalProperties":false,"properties":{"userId":{"$ref":"#/components/schemas/WireSafeInteger"}},"required":["userId"],"type":"object"},{"additionalProperties":false,"properties":{"threadId":{"$ref":"#/components/schemas/WireSafeInteger"}},"required":["threadId"],"type":"object"}]},"V1InputPeerInfo3":{"anyOf":[{"additionalProperties":false,"properties":{"userId":{"$ref":"#/components/schemas/WireSafeInteger"}},"required":["userId"],"type":"object"},{"additionalProperties":false,"properties":{"threadId":{"$ref":"#/components/schemas/WireSafeInteger"}},"required":["threadId"],"type":"object"}]},"V1MessagingProvidersApiError":{"additionalProperties":false,"properties":{"description":{"type":"string"},"error":{"type":"string"},"errorCode":{"$ref":"#/components/schemas/HttpStatusCode"},"ok":{"enum":[false],"type":"boolean"}},"required":["ok","error"],"type":"object"},"V1MessagingProvidersApiError1":{"additionalProperties":false,"properties":{"description":{"type":"string"},"error":{"type":"string"},"errorCode":{"$ref":"#/components/schemas/HttpStatusCode"},"ok":{"enum":[false],"type":"boolean"}},"required":["ok","error"],"type":"object"},"V1MessagingProvidersApiError2":{"additionalProperties":false,"properties":{"description":{"type":"string"},"error":{"type":"string"},"errorCode":{"$ref":"#/components/schemas/HttpStatusCode"},"ok":{"enum":[false],"type":"boolean"}},"required":["ok","error"],"type":"object"},"V1MessagingProvidersApiError3":{"additionalProperties":false,"properties":{"description":{"type":"string"},"error":{"type":"string"},"errorCode":{"$ref":"#/components/schemas/HttpStatusCode"},"ok":{"enum":[false],"type":"boolean"}},"required":["ok","error"],"type":"object"},"V1MessagingProvidersApiError4":{"additionalProperties":false,"properties":{"description":{"type":"string"},"error":{"type":"string"},"errorCode":{"$ref":"#/components/schemas/HttpStatusCode"},"ok":{"enum":[false],"type":"boolean"}},"required":["ok","error"],"type":"object"},"V1MessagingProvidersApiError5":{"additionalProperties":false,"properties":{"description":{"type":"string"},"error":{"type":"string"},"errorCode":{"$ref":"#/components/schemas/HttpStatusCode"},"ok":{"enum":[false],"type":"boolean"}},"required":["ok","error"],"type":"object"},"V1MessagingProvidersApiError6":{"additionalProperties":false,"properties":{"description":{"type":"string"},"error":{"type":"string"},"errorCode":{"$ref":"#/components/schemas/HttpStatusCode"},"ok":{"enum":[false],"type":"boolean"}},"required":["ok","error"],"type":"object"},"V1Update":{"anyOf":[{"additionalProperties":false,"properties":{"newMessage":{"additionalProperties":false,"properties":{"message":{"$ref":"#/components/schemas/MessageInfo"}},"required":["message"],"type":"object"}},"required":["newMessage"],"type":"object"},{"additionalProperties":false,"properties":{"editMessage":{"additionalProperties":false,"properties":{"message":{"$ref":"#/components/schemas/MessageInfo"}},"required":["message"],"type":"object"}},"required":["editMessage"],"type":"object"},{"additionalProperties":false,"properties":{"updateMessageId":{"additionalProperties":false,"properties":{"messageId":{"$ref":"#/components/schemas/WirePositiveInteger"},"randomId":{"type":"string"}},"required":["messageId","randomId"],"type":"object"}},"required":["updateMessageId"],"type":"object"},{"additionalProperties":false,"properties":{"updateUserStatus":{"additionalProperties":false,"properties":{"lastOnline":{"$ref":"#/components/schemas/UnixSeconds"},"online":{"type":"boolean"},"userId":{"$ref":"#/components/schemas/WirePositiveInteger"}},"required":["userId","online","lastOnline"],"type":"object"}},"required":["updateUserStatus"],"type":"object"},{"additionalProperties":false,"properties":{"updateComposeAction":{"additionalProperties":false,"properties":{"action":{"anyOf":[{"enum":["typing","uploadingDocument","uploadingPhoto","uploadingVideo","recordingVoice","working"],"type":"string"},{"type":"null"}]},"peerId":{"$ref":"#/components/schemas/PeerInfo"},"userId":{"$ref":"#/components/schemas/WirePositiveInteger"}},"required":["userId","peerId"],"type":"object"}},"required":["updateComposeAction"],"type":"object"},{"additionalProperties":false,"properties":{"deleteMessage":{"additionalProperties":false,"properties":{"messageId":{"$ref":"#/components/schemas/WirePositiveInteger"},"peerId":{"$ref":"#/components/schemas/PeerInfo"}},"required":["messageId","peerId"],"type":"object"}},"required":["deleteMessage"],"type":"object"}]},"VerifyEmailCodeInput":{"additionalProperties":false,"properties":{"challengeToken":{"type":"string"},"clientType":{"type":"string"},"clientVersion":{"type":"string"},"code":{"type":"string"},"deviceId":{"type":"string"},"deviceName":{"type":"string"},"email":{"type":"string"},"inviteCode":{"type":"string"},"osVersion":{"type":"string"},"timezone":{"type":"string"}},"required":["email","code"],"type":"object"},"VerifyEmailCodeInput1":{"additionalProperties":false,"properties":{"challengeToken":{"type":"string"},"clientType":{"type":"string"},"clientVersion":{"type":"string"},"code":{"type":"string"},"deviceId":{"type":"string"},"deviceName":{"type":"string"},"email":{"type":"string"},"inviteCode":{"type":"string"},"osVersion":{"type":"string"},"timezone":{"type":"string"}},"required":["email","code"],"type":"object"},"VerifyEmailCodeInput2":{"additionalProperties":false,"properties":{"challengeToken":{"type":"string"},"clientType":{"type":"string"},"clientVersion":{"type":"string"},"code":{"type":"string"},"deviceId":{"type":"string"},"deviceName":{"type":"string"},"email":{"type":"string"},"inviteCode":{"type":"string"},"osVersion":{"type":"string"},"timezone":{"type":"string"}},"required":["email","code"],"type":"object"},"VerifyEmailCodeSuccess":{"additionalProperties":false,"properties":{"ok":{"enum":[true],"type":"boolean"},"result":{"$ref":"#/components/schemas/LoginSessionResult"}},"required":["ok","result"],"type":"object"},"VerifySmsCodeInput":{"additionalProperties":false,"properties":{"clientType":{"type":"string"},"clientVersion":{"type":"string"},"code":{"type":"string"},"deviceId":{"type":"string"},"deviceName":{"type":"string"},"inviteCode":{"type":"string"},"osVersion":{"type":"string"},"phoneNumber":{"type":"string"},"timezone":{"type":"string"}},"required":["phoneNumber","code"],"type":"object"},"VerifySmsCodeInput1":{"additionalProperties":false,"properties":{"clientType":{"type":"string"},"clientVersion":{"type":"string"},"code":{"type":"string"},"deviceId":{"type":"string"},"deviceName":{"type":"string"},"inviteCode":{"type":"string"},"osVersion":{"type":"string"},"phoneNumber":{"type":"string"},"timezone":{"type":"string"}},"required":["phoneNumber","code"],"type":"object"},"VerifySmsCodeInput2":{"additionalProperties":false,"properties":{"clientType":{"type":"string"},"clientVersion":{"type":"string"},"code":{"type":"string"},"deviceId":{"type":"string"},"deviceName":{"type":"string"},"inviteCode":{"type":"string"},"osVersion":{"type":"string"},"phoneNumber":{"type":"string"},"timezone":{"type":"string"}},"required":["phoneNumber","code"],"type":"object"},"VerifySmsCodeSuccess":{"additionalProperties":false,"properties":{"ok":{"enum":[true],"type":"boolean"},"result":{"$ref":"#/components/schemas/LoginSessionResult"}},"required":["ok","result"],"type":"object"},"WaitlistSubscription":{"additionalProperties":false,"properties":{"email":{"type":"string"},"name":{"type":"string"},"timeZone":{"type":"string"},"userAgent":{"type":"string"}},"required":["email"],"type":"object"},"WaitlistSubscriptionSuccess":{"additionalProperties":false,"properties":{"ok":{"enum":[true],"type":"boolean"}},"required":["ok"],"type":"object"},"WireNonNegativeInteger":{"allOf":[{"description":"A non-negative integer that can be represented exactly by a JavaScript number","maximum":9007199254740991,"minimum":0}],"type":"integer"},"WirePositiveInteger":{"allOf":[{"description":"A positive integer that can be represented exactly by a JavaScript number","maximum":9007199254740991,"minimum":1}],"type":"integer"},"WireSafeInteger":{"allOf":[{"description":"An integer that can be represented exactly by a JavaScript number","maximum":9007199254740991,"minimum":-9007199254740991}],"type":"integer"},"WireSafeInteger1":{"allOf":[{"pattern":"^[+-]?\\d*\\.?\\d+(?:[Ee][+-]?\\d+)?$"}],"type":"string"},"WireSafeInteger2":{"allOf":[{"pattern":"^[+-]?\\d*\\.?\\d+(?:[Ee][+-]?\\d+)?$"}],"type":"string"},"WireSafeInteger4":{"allOf":[{"pattern":"^[+-]?\\d*\\.?\\d+(?:[Ee][+-]?\\d+)?$"}],"type":"string"},"WireSafeInteger6":{"allOf":[{"pattern":"^[+-]?\\d*\\.?\\d+(?:[Ee][+-]?\\d+)?$"}],"type":"string"},"_inline_server_admin_AdminInternalServerError":{"additionalProperties":false,"properties":{"error":{"enum":["server_error"],"type":"string"},"ok":{"enum":[false],"type":"boolean"}},"required":["ok","error"],"type":"object"},"_inline_server_admin_AdminOriginNotAllowedError":{"additionalProperties":false,"properties":{"error":{"enum":["origin_not_allowed"],"type":"string"},"ok":{"enum":[false],"type":"boolean"}},"required":["ok","error"],"type":"object"},"_inline_server_admin_AdminSetupRequiredError":{"additionalProperties":false,"properties":{"error":{"enum":["setup_required"],"type":"string"},"ok":{"enum":[false],"type":"boolean"}},"required":["ok","error"],"type":"object"},"_inline_server_admin_AdminStepUpRequiredError":{"additionalProperties":false,"properties":{"error":{"enum":["step_up_required"],"type":"string"},"ok":{"enum":[false],"type":"boolean"}},"required":["ok","error"],"type":"object"},"_inline_server_admin_AdminUnauthorizedError":{"additionalProperties":false,"properties":{"error":{"enum":["unauthorized"],"type":"string"},"ok":{"enum":[false],"type":"boolean"}},"required":["ok","error"],"type":"object"}},"securitySchemes":{"adminSession":{"in":"cookie","name":"inline_admin_session","type":"apiKey"}}},"info":{"contact":{"email":"hi@inline.chat","name":"Inline Team","url":"https://inline.chat"},"termsOfService":"https://inline.chat/terms","title":"Inline HTTP API Docs","version":"0.0.1"},"openapi":"3.1.0","paths":{"/":{"get":{"operationId":"auxiliary.auxiliaryRoot","parameters":[],"responses":{"200":{"content":{"text/html; charset=utf8":{"schema":{"type":"string"}}},"description":"AuxiliaryRootHtml"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}}},"security":[],"tags":["auxiliary"]}},"/.well-known/oauth-authorization-server":{"get":{"operationId":"auth.oauthMetadata","parameters":[],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthAuthorizationServerMetadata"}}},"description":"OAuthAuthorizationServerMetadata"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthError4"}}},"description":"OAuthError"}},"security":[],"tags":["auth"]}},"/admin/auth/dev-login":{"post":{"operationId":"admin.adminDevLogin","parameters":[],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminSuccess"}}},"description":"AdminSuccess","headers":{"Set-Cookie":{"description":"Creates a local development-only admin session cookie.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/AdminLoginForbidden"},{"$ref":"#/components/schemas/_inline_server_admin_AdminOriginNotAllowedError"}]}}},"description":"AdminLoginForbidden | @inline/server/admin/AdminOriginNotAllowedError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}}},"security":[],"tags":["admin"]}},"/admin/auth/login":{"post":{"operationId":"admin.adminLogin","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminLoginInput"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminSuccess"}}},"description":"AdminSuccess","headers":{"Set-Cookie":{"description":"Creates the HttpOnly, SameSite=Strict admin session cookie.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminLoginBadRequest"}},"text/plain":{"schema":{"type":"string"}}},"description":"AdminTransportBadRequest | AdminLoginBadRequest"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminLoginUnauthorized"}}},"description":"AdminLoginUnauthorized"},"403":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/AdminLoginForbidden"},{"$ref":"#/components/schemas/_inline_server_admin_AdminOriginNotAllowedError"}]}}},"description":"AdminLoginForbidden | @inline/server/admin/AdminOriginNotAllowedError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminValidationError"}}},"description":"AdminValidationError"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminLoginTooManyRequests"}}},"description":"AdminLoginTooManyRequests"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminInternalServerError"}}},"description":"@inline/server/admin/AdminInternalServerError"}},"security":[],"tags":["admin"]}},"/admin/auth/logout":{"post":{"operationId":"admin.adminLogout","parameters":[],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminSuccess"}}},"description":"AdminSuccess","headers":{"Set-Cookie":{"description":"Clears the admin session cookie with Max-Age=0.","schema":{"type":"string"}}}},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminUnauthorizedError"}}},"description":"@inline/server/admin/AdminUnauthorizedError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminOriginNotAllowedError"}}},"description":"@inline/server/admin/AdminOriginNotAllowedError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminInternalServerError"}}},"description":"@inline/server/admin/AdminInternalServerError"}},"security":[{"adminSession":[]}],"tags":["admin"]}},"/admin/auth/send-email-code":{"post":{"operationId":"admin.adminSendEmailCode","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminSendEmailCodeInput"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminSendEmailCodeResult"}}},"description":"AdminSendEmailCodeResult"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminSendEmailCodeBadRequest"}},"text/plain":{"schema":{"type":"string"}}},"description":"AdminTransportBadRequest | AdminSendEmailCodeBadRequest"},"403":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/AdminSendEmailCodeForbidden"},{"$ref":"#/components/schemas/_inline_server_admin_AdminOriginNotAllowedError"}]}}},"description":"AdminSendEmailCodeForbidden | @inline/server/admin/AdminOriginNotAllowedError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminValidationError"}}},"description":"AdminValidationError"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminSendEmailCodeInternal"}}},"description":"AdminSendEmailCodeInternal"}},"security":[],"tags":["admin"]}},"/admin/auth/set-password":{"post":{"operationId":"admin.adminSetPassword","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminSetPasswordInput"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminSuccess"}}},"description":"AdminSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminSetPasswordBadRequest"}},"text/plain":{"schema":{"type":"string"}}},"description":"AdminTransportBadRequest | AdminSetPasswordBadRequest"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminUnauthorizedError"}}},"description":"@inline/server/admin/AdminUnauthorizedError"},"403":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/AdminSetPasswordForbidden"},{"$ref":"#/components/schemas/_inline_server_admin_AdminOriginNotAllowedError"}]}}},"description":"AdminSetPasswordForbidden | @inline/server/admin/AdminOriginNotAllowedError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminValidationError"}}},"description":"AdminValidationError"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminInternalServerError"}}},"description":"@inline/server/admin/AdminInternalServerError"}},"security":[{"adminSession":[]}],"tags":["admin"]}},"/admin/auth/step-up":{"post":{"operationId":"admin.adminStepUp","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminStepUpInput"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminStepUpResult"}}},"description":"AdminStepUpResult"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminStepUpBadRequest"}},"text/plain":{"schema":{"type":"string"}}},"description":"AdminTransportBadRequest | AdminStepUpBadRequest"},"401":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/AdminStepUpUnauthorized"},{"$ref":"#/components/schemas/_inline_server_admin_AdminUnauthorizedError"}]}}},"description":"AdminStepUpUnauthorized | @inline/server/admin/AdminUnauthorizedError"},"403":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/AdminStepUpForbidden"},{"$ref":"#/components/schemas/_inline_server_admin_AdminOriginNotAllowedError"}]}}},"description":"AdminStepUpForbidden | @inline/server/admin/AdminOriginNotAllowedError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminValidationError"}}},"description":"AdminValidationError"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminInternalServerError"}}},"description":"@inline/server/admin/AdminInternalServerError"}},"security":[{"adminSession":[]}],"tags":["admin"]}},"/admin/auth/totp/setup":{"get":{"operationId":"admin.adminSetupTotp","parameters":[],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminTotpSetupResult"}}},"description":"AdminTotpSetupResult"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminTotpSetupBadRequest"}}},"description":"AdminTotpSetupBadRequest"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminUnauthorizedError"}}},"description":"@inline/server/admin/AdminUnauthorizedError"},"403":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/AdminTotpSetupForbidden"},{"$ref":"#/components/schemas/_inline_server_admin_AdminOriginNotAllowedError"}]}}},"description":"AdminTotpSetupForbidden | @inline/server/admin/AdminOriginNotAllowedError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminInternalServerError"}}},"description":"@inline/server/admin/AdminInternalServerError"}},"security":[{"adminSession":[]}],"tags":["admin"]}},"/admin/auth/totp/verify":{"post":{"operationId":"admin.adminVerifyTotp","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminTotpCodeInput"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminSuccess"}}},"description":"AdminSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminTotpVerifyBadRequest"}},"text/plain":{"schema":{"type":"string"}}},"description":"AdminTransportBadRequest | AdminTotpVerifyBadRequest"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminUnauthorizedError"}}},"description":"@inline/server/admin/AdminUnauthorizedError"},"403":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/AdminTotpVerifyForbidden"},{"$ref":"#/components/schemas/_inline_server_admin_AdminOriginNotAllowedError"}]}}},"description":"AdminTotpVerifyForbidden | @inline/server/admin/AdminOriginNotAllowedError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminValidationError"}}},"description":"AdminValidationError"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminInternalServerError"}}},"description":"@inline/server/admin/AdminInternalServerError"}},"security":[{"adminSession":[]}],"tags":["admin"]}},"/admin/auth/verify-email-code":{"post":{"operationId":"admin.adminVerifyEmailCode","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminVerifyEmailCodeInput"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminVerifyEmailCodeResult"}}},"description":"AdminVerifyEmailCodeResult","headers":{"Set-Cookie":{"description":"Creates the HttpOnly, SameSite=Strict admin session cookie.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminVerifyEmailCodeBadRequest"}},"text/plain":{"schema":{"type":"string"}}},"description":"AdminTransportBadRequest | AdminVerifyEmailCodeBadRequest"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminVerifyEmailCodeUnauthorized"}}},"description":"AdminVerifyEmailCodeUnauthorized"},"403":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/AdminVerifyEmailCodeForbidden"},{"$ref":"#/components/schemas/_inline_server_admin_AdminOriginNotAllowedError"}]}}},"description":"AdminVerifyEmailCodeForbidden | @inline/server/admin/AdminOriginNotAllowedError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminValidationError"}}},"description":"AdminValidationError"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminVerifyEmailCodeInternal"}}},"description":"AdminVerifyEmailCodeInternal"}},"security":[],"tags":["admin"]}},"/admin/email-campaigns":{"get":{"operationId":"admin.adminEmailCampaigns","parameters":[],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminEmailCampaignsResult"}}},"description":"AdminEmailCampaignsResult"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminUnauthorizedError"}}},"description":"@inline/server/admin/AdminUnauthorizedError"},"403":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/_inline_server_admin_AdminSetupRequiredError"},{"$ref":"#/components/schemas/_inline_server_admin_AdminOriginNotAllowedError"}]}}},"description":"@inline/server/admin/AdminSetupRequiredError | @inline/server/admin/AdminOriginNotAllowedError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminInternalServerError"}}},"description":"@inline/server/admin/AdminInternalServerError"}},"security":[{"adminSession":[]}],"tags":["admin"]},"post":{"operationId":"admin.adminCreateEmailCampaign","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminCreateEmailCampaignInput"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminEmailCampaignResult"}}},"description":"AdminEmailCampaignResult"},"400":{"content":{"text/plain":{"schema":{"type":"string"}}},"description":"AdminTransportBadRequest"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminUnauthorizedError"}}},"description":"@inline/server/admin/AdminUnauthorizedError"},"403":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/_inline_server_admin_AdminStepUpRequiredError"},{"$ref":"#/components/schemas/_inline_server_admin_AdminSetupRequiredError"},{"$ref":"#/components/schemas/_inline_server_admin_AdminOriginNotAllowedError"}]}}},"description":"@inline/server/admin/AdminStepUpRequiredError | @inline/server/admin/AdminSetupRequiredError | @inline/server/admin/AdminOriginNotAllowedError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminValidationError"}}},"description":"AdminValidationError"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminInternalServerError"}}},"description":"@inline/server/admin/AdminInternalServerError"}},"security":[{"adminSession":[]}],"tags":["admin"]}},"/admin/email-campaigns/preview":{"post":{"operationId":"admin.adminPreviewEmailCampaign","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminEmailCampaignPreviewInput"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminEmailCampaignPreviewResult"}}},"description":"AdminEmailCampaignPreviewResult"},"400":{"content":{"text/plain":{"schema":{"type":"string"}}},"description":"AdminTransportBadRequest"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminUnauthorizedError"}}},"description":"@inline/server/admin/AdminUnauthorizedError"},"403":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/_inline_server_admin_AdminSetupRequiredError"},{"$ref":"#/components/schemas/_inline_server_admin_AdminOriginNotAllowedError"}]}}},"description":"@inline/server/admin/AdminSetupRequiredError | @inline/server/admin/AdminOriginNotAllowedError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminValidationError"}}},"description":"AdminValidationError"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminInternalServerError"}}},"description":"@inline/server/admin/AdminInternalServerError"}},"security":[{"adminSession":[]}],"tags":["admin"]}},"/admin/email-campaigns/{id}/pause":{"post":{"operationId":"admin.adminPauseEmailCampaign","parameters":[],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminSuccess"}}},"description":"AdminSuccess"},"400":{"content":{"text/plain":{"schema":{"type":"string"}}},"description":"AdminTransportBadRequest"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminUnauthorizedError"}}},"description":"@inline/server/admin/AdminUnauthorizedError"},"403":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/_inline_server_admin_AdminStepUpRequiredError"},{"$ref":"#/components/schemas/_inline_server_admin_AdminSetupRequiredError"},{"$ref":"#/components/schemas/_inline_server_admin_AdminOriginNotAllowedError"}]}}},"description":"@inline/server/admin/AdminStepUpRequiredError | @inline/server/admin/AdminSetupRequiredError | @inline/server/admin/AdminOriginNotAllowedError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminNotFound"}}},"description":"AdminNotFound"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminInternalServerError"}}},"description":"@inline/server/admin/AdminInternalServerError"}},"security":[{"adminSession":[]}],"tags":["admin"]}},"/admin/email-campaigns/{id}/send":{"post":{"operationId":"admin.adminSendEmailCampaign","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminEmailCampaignSendInput"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminEmailCampaignSendResult"}}},"description":"AdminEmailCampaignSendResult"},"400":{"content":{"text/plain":{"schema":{"type":"string"}}},"description":"AdminTransportBadRequest"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminUnauthorizedError"}}},"description":"@inline/server/admin/AdminUnauthorizedError"},"403":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/_inline_server_admin_AdminStepUpRequiredError"},{"$ref":"#/components/schemas/_inline_server_admin_AdminSetupRequiredError"},{"$ref":"#/components/schemas/_inline_server_admin_AdminOriginNotAllowedError"}]}}},"description":"@inline/server/admin/AdminStepUpRequiredError | @inline/server/admin/AdminSetupRequiredError | @inline/server/admin/AdminOriginNotAllowedError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminNotFound"}}},"description":"AdminNotFound"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminValidationError"}}},"description":"AdminValidationError"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminInternalServerError"}}},"description":"@inline/server/admin/AdminInternalServerError"}},"security":[{"adminSession":[]}],"tags":["admin"]}},"/admin/email-campaigns/{id}/test":{"post":{"operationId":"admin.adminTestEmailCampaign","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminEmailCampaignTestInput"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminSuccess"}}},"description":"AdminSuccess"},"400":{"content":{"text/plain":{"schema":{"type":"string"}}},"description":"AdminTransportBadRequest"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminUnauthorizedError"}}},"description":"@inline/server/admin/AdminUnauthorizedError"},"403":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/_inline_server_admin_AdminStepUpRequiredError"},{"$ref":"#/components/schemas/_inline_server_admin_AdminSetupRequiredError"},{"$ref":"#/components/schemas/_inline_server_admin_AdminOriginNotAllowedError"}]}}},"description":"@inline/server/admin/AdminStepUpRequiredError | @inline/server/admin/AdminSetupRequiredError | @inline/server/admin/AdminOriginNotAllowedError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminNotFound"}}},"description":"AdminNotFound"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminValidationError"}}},"description":"AdminValidationError"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminInternalServerError"}}},"description":"@inline/server/admin/AdminInternalServerError"}},"security":[{"adminSession":[]}],"tags":["admin"]}},"/admin/email-provider-status":{"get":{"operationId":"admin.adminEmailProviderStatus","parameters":[{"in":"query","name":"provider","required":true,"schema":{"enum":["resend","ses"],"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminEmailProviderStatusResult"}}},"description":"AdminEmailProviderStatusResult"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminUnauthorizedError"}}},"description":"@inline/server/admin/AdminUnauthorizedError"},"403":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/_inline_server_admin_AdminSetupRequiredError"},{"$ref":"#/components/schemas/_inline_server_admin_AdminOriginNotAllowedError"}]}}},"description":"@inline/server/admin/AdminSetupRequiredError | @inline/server/admin/AdminOriginNotAllowedError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminValidationError"}}},"description":"AdminValidationError"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminInternalServerError"}}},"description":"@inline/server/admin/AdminInternalServerError"}},"security":[{"adminSession":[]}],"tags":["admin"]}},"/admin/email-provider-test":{"post":{"operationId":"admin.adminTestEmailProvider","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminEmailProviderTestInput"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminEmailProviderTestResult"}}},"description":"AdminEmailProviderTestResult"},"400":{"content":{"text/plain":{"schema":{"type":"string"}}},"description":"AdminTransportBadRequest"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminUnauthorizedError"}}},"description":"@inline/server/admin/AdminUnauthorizedError"},"403":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/_inline_server_admin_AdminStepUpRequiredError"},{"$ref":"#/components/schemas/_inline_server_admin_AdminSetupRequiredError"},{"$ref":"#/components/schemas/_inline_server_admin_AdminOriginNotAllowedError"}]}}},"description":"@inline/server/admin/AdminStepUpRequiredError | @inline/server/admin/AdminSetupRequiredError | @inline/server/admin/AdminOriginNotAllowedError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminValidationError"}}},"description":"AdminValidationError"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminInternalServerError"}}},"description":"@inline/server/admin/AdminInternalServerError"}},"security":[{"adminSession":[]}],"tags":["admin"]}},"/admin/invites":{"get":{"operationId":"admin.adminInvites","parameters":[{"in":"query","name":"query","required":false,"schema":{"type":"string"}},{"in":"query","name":"status","required":false,"schema":{"enum":["redeemed","unredeemed"],"type":"string"}},{"in":"query","name":"ownerUserId","required":false,"schema":{"type":"string"}},{"in":"query","name":"redeemedByUserId","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminInvitesResult"}}},"description":"AdminInvitesResult"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminUnauthorizedError"}}},"description":"@inline/server/admin/AdminUnauthorizedError"},"403":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/_inline_server_admin_AdminSetupRequiredError"},{"$ref":"#/components/schemas/_inline_server_admin_AdminOriginNotAllowedError"}]}}},"description":"@inline/server/admin/AdminSetupRequiredError | @inline/server/admin/AdminOriginNotAllowedError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminValidationError"}}},"description":"AdminValidationError"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminInternalServerError"}}},"description":"@inline/server/admin/AdminInternalServerError"}},"security":[{"adminSession":[]}],"tags":["admin"]}},"/admin/invites/generate":{"post":{"operationId":"admin.adminGenerateInvites","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminInviteCountInput"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminInviteCodesResult"}}},"description":"AdminInviteCodesResult"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminInvalidCountBadRequest"}},"text/plain":{"schema":{"type":"string"}}},"description":"AdminTransportBadRequest | AdminInvalidCountBadRequest"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminUnauthorizedError"}}},"description":"@inline/server/admin/AdminUnauthorizedError"},"403":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/_inline_server_admin_AdminStepUpRequiredError"},{"$ref":"#/components/schemas/_inline_server_admin_AdminSetupRequiredError"},{"$ref":"#/components/schemas/_inline_server_admin_AdminOriginNotAllowedError"}]}}},"description":"@inline/server/admin/AdminStepUpRequiredError | @inline/server/admin/AdminSetupRequiredError | @inline/server/admin/AdminOriginNotAllowedError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminValidationError"}}},"description":"AdminValidationError"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminInternalServerError"}}},"description":"@inline/server/admin/AdminInternalServerError"}},"security":[{"adminSession":[]}],"tags":["admin"]}},"/admin/me":{"get":{"operationId":"admin.adminMe","parameters":[],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminMeResult"}}},"description":"AdminMeResult"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminUnauthorizedError"}}},"description":"@inline/server/admin/AdminUnauthorizedError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminOriginNotAllowedError"}}},"description":"@inline/server/admin/AdminOriginNotAllowedError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminInternalServerError"}}},"description":"@inline/server/admin/AdminInternalServerError"}},"security":[{"adminSession":[]}],"tags":["admin"]}},"/admin/metrics/active-users":{"get":{"operationId":"admin.adminActiveUsers","parameters":[{"in":"query","name":"period","required":false,"schema":{"enum":["today","week"],"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminActiveUsersResult"}}},"description":"AdminActiveUsersResult"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminUnauthorizedError"}}},"description":"@inline/server/admin/AdminUnauthorizedError"},"403":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/_inline_server_admin_AdminSetupRequiredError"},{"$ref":"#/components/schemas/_inline_server_admin_AdminOriginNotAllowedError"}]}}},"description":"@inline/server/admin/AdminSetupRequiredError | @inline/server/admin/AdminOriginNotAllowedError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminValidationError"}}},"description":"AdminValidationError"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminInternalServerError"}}},"description":"@inline/server/admin/AdminInternalServerError"}},"security":[{"adminSession":[]}],"tags":["admin"]}},"/admin/metrics/app":{"get":{"operationId":"admin.adminAppMetrics","parameters":[],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminAppMetricsResult"}}},"description":"AdminAppMetricsResult"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminUnauthorizedError"}}},"description":"@inline/server/admin/AdminUnauthorizedError"},"403":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/_inline_server_admin_AdminSetupRequiredError"},{"$ref":"#/components/schemas/_inline_server_admin_AdminOriginNotAllowedError"}]}}},"description":"@inline/server/admin/AdminSetupRequiredError | @inline/server/admin/AdminOriginNotAllowedError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminInternalServerError"}}},"description":"@inline/server/admin/AdminInternalServerError"}},"security":[{"adminSession":[]}],"tags":["admin"]}},"/admin/metrics/overview":{"get":{"operationId":"admin.adminOverviewMetrics","parameters":[],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminOverviewMetricsResult"}}},"description":"AdminOverviewMetricsResult"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminUnauthorizedError"}}},"description":"@inline/server/admin/AdminUnauthorizedError"},"403":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/_inline_server_admin_AdminSetupRequiredError"},{"$ref":"#/components/schemas/_inline_server_admin_AdminOriginNotAllowedError"}]}}},"description":"@inline/server/admin/AdminSetupRequiredError | @inline/server/admin/AdminOriginNotAllowedError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminInternalServerError"}}},"description":"@inline/server/admin/AdminInternalServerError"}},"security":[{"adminSession":[]}],"tags":["admin"]}},"/admin/metrics/technical":{"get":{"operationId":"admin.adminTechnicalMetrics","parameters":[],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminTechnicalMetricsResult"}}},"description":"AdminTechnicalMetricsResult"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminUnauthorizedError"}}},"description":"@inline/server/admin/AdminUnauthorizedError"},"403":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/_inline_server_admin_AdminSetupRequiredError"},{"$ref":"#/components/schemas/_inline_server_admin_AdminOriginNotAllowedError"}]}}},"description":"@inline/server/admin/AdminSetupRequiredError | @inline/server/admin/AdminOriginNotAllowedError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminInternalServerError"}}},"description":"@inline/server/admin/AdminInternalServerError"}},"security":[{"adminSession":[]}],"tags":["admin"]}},"/admin/reserved-usernames":{"delete":{"operationId":"admin.adminUnreserveUsername","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminReservedUsernameInput"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminReservedUsernamesResult"}}},"description":"AdminReservedUsernamesResult"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminReservedUsernameBadRequest"}},"text/plain":{"schema":{"type":"string"}}},"description":"AdminTransportBadRequest | AdminReservedUsernameBadRequest"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminUnauthorizedError"}}},"description":"@inline/server/admin/AdminUnauthorizedError"},"403":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/_inline_server_admin_AdminStepUpRequiredError"},{"$ref":"#/components/schemas/_inline_server_admin_AdminSetupRequiredError"},{"$ref":"#/components/schemas/_inline_server_admin_AdminOriginNotAllowedError"}]}}},"description":"@inline/server/admin/AdminStepUpRequiredError | @inline/server/admin/AdminSetupRequiredError | @inline/server/admin/AdminOriginNotAllowedError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminValidationError"}}},"description":"AdminValidationError"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminInternalServerError"}}},"description":"@inline/server/admin/AdminInternalServerError"}},"security":[{"adminSession":[]}],"tags":["admin"]},"get":{"operationId":"admin.adminReservedUsernames","parameters":[],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminReservedUsernamesResult"}}},"description":"AdminReservedUsernamesResult"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminUnauthorizedError"}}},"description":"@inline/server/admin/AdminUnauthorizedError"},"403":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/_inline_server_admin_AdminSetupRequiredError"},{"$ref":"#/components/schemas/_inline_server_admin_AdminOriginNotAllowedError"}]}}},"description":"@inline/server/admin/AdminSetupRequiredError | @inline/server/admin/AdminOriginNotAllowedError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminInternalServerError"}}},"description":"@inline/server/admin/AdminInternalServerError"}},"security":[{"adminSession":[]}],"tags":["admin"]},"post":{"operationId":"admin.adminReserveUsername","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminReservedUsernameInput"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminReservedUsernamesResult"}}},"description":"AdminReservedUsernamesResult"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminReservedUsernameBadRequest"}},"text/plain":{"schema":{"type":"string"}}},"description":"AdminTransportBadRequest | AdminReservedUsernameBadRequest"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminUnauthorizedError"}}},"description":"@inline/server/admin/AdminUnauthorizedError"},"403":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/_inline_server_admin_AdminStepUpRequiredError"},{"$ref":"#/components/schemas/_inline_server_admin_AdminSetupRequiredError"},{"$ref":"#/components/schemas/_inline_server_admin_AdminOriginNotAllowedError"}]}}},"description":"@inline/server/admin/AdminStepUpRequiredError | @inline/server/admin/AdminSetupRequiredError | @inline/server/admin/AdminOriginNotAllowedError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminValidationError"}}},"description":"AdminValidationError"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminInternalServerError"}}},"description":"@inline/server/admin/AdminInternalServerError"}},"security":[{"adminSession":[]}],"tags":["admin"]}},"/admin/server-config":{"get":{"operationId":"admin.adminServerConfig","parameters":[],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminServerConfigResult"}}},"description":"AdminServerConfigResult"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminUnauthorizedError"}}},"description":"@inline/server/admin/AdminUnauthorizedError"},"403":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/_inline_server_admin_AdminSetupRequiredError"},{"$ref":"#/components/schemas/_inline_server_admin_AdminOriginNotAllowedError"}]}}},"description":"@inline/server/admin/AdminSetupRequiredError | @inline/server/admin/AdminOriginNotAllowedError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminInternalServerError"}}},"description":"@inline/server/admin/AdminInternalServerError"}},"security":[{"adminSession":[]}],"tags":["admin"]},"put":{"operationId":"admin.adminUpdateServerConfig","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminUpdateServerConfigInput"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminServerConfigSettingResult"}}},"description":"AdminServerConfigSettingResult"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminServerConfigBadRequest"}},"text/plain":{"schema":{"type":"string"}}},"description":"AdminTransportBadRequest | AdminServerConfigBadRequest"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminUnauthorizedError"}}},"description":"@inline/server/admin/AdminUnauthorizedError"},"403":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/_inline_server_admin_AdminStepUpRequiredError"},{"$ref":"#/components/schemas/_inline_server_admin_AdminSetupRequiredError"},{"$ref":"#/components/schemas/_inline_server_admin_AdminOriginNotAllowedError"}]}}},"description":"@inline/server/admin/AdminStepUpRequiredError | @inline/server/admin/AdminSetupRequiredError | @inline/server/admin/AdminOriginNotAllowedError"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminServerConfigConflict"}}},"description":"AdminServerConfigConflict"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminValidationError"}}},"description":"AdminValidationError"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminInternalServerError"}}},"description":"@inline/server/admin/AdminInternalServerError"}},"security":[{"adminSession":[]}],"tags":["admin"]}},"/admin/spaces":{"get":{"operationId":"admin.adminSpaces","parameters":[{"in":"query","name":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminSpacesResult"}}},"description":"AdminSpacesResult"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminUnauthorizedError"}}},"description":"@inline/server/admin/AdminUnauthorizedError"},"403":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/_inline_server_admin_AdminSetupRequiredError"},{"$ref":"#/components/schemas/_inline_server_admin_AdminOriginNotAllowedError"}]}}},"description":"@inline/server/admin/AdminSetupRequiredError | @inline/server/admin/AdminOriginNotAllowedError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminValidationError"}}},"description":"AdminValidationError"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminInternalServerError"}}},"description":"@inline/server/admin/AdminInternalServerError"}},"security":[{"adminSession":[]}],"tags":["admin"]}},"/admin/users":{"get":{"operationId":"admin.adminUsers","parameters":[{"in":"query","name":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminUsersResult"}}},"description":"AdminUsersResult"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminUnauthorizedError"}}},"description":"@inline/server/admin/AdminUnauthorizedError"},"403":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/_inline_server_admin_AdminSetupRequiredError"},{"$ref":"#/components/schemas/_inline_server_admin_AdminOriginNotAllowedError"}]}}},"description":"@inline/server/admin/AdminSetupRequiredError | @inline/server/admin/AdminOriginNotAllowedError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminValidationError"}}},"description":"AdminValidationError"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminInternalServerError"}}},"description":"@inline/server/admin/AdminInternalServerError"}},"security":[{"adminSession":[]}],"tags":["admin"]}},"/admin/users/{id}":{"get":{"operationId":"admin.adminUserDetail","parameters":[{"in":"path","name":"id","required":true,"schema":{"description":"A positive safe-integer user identifier.","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminUserDetailResult"}}},"description":"AdminUserDetailResult"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminInvalidUserBadRequest"}}},"description":"AdminInvalidUserBadRequest"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminUnauthorizedError"}}},"description":"@inline/server/admin/AdminUnauthorizedError"},"403":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/_inline_server_admin_AdminSetupRequiredError"},{"$ref":"#/components/schemas/_inline_server_admin_AdminOriginNotAllowedError"}]}}},"description":"@inline/server/admin/AdminSetupRequiredError | @inline/server/admin/AdminOriginNotAllowedError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminNotFound"}}},"description":"AdminNotFound"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminInternalServerError"}}},"description":"@inline/server/admin/AdminInternalServerError"}},"security":[{"adminSession":[]}],"tags":["admin"]}},"/admin/users/{id}/avatar":{"get":{"operationId":"admin.adminUserAvatar","parameters":[{"in":"path","name":"id","required":true,"schema":{"description":"A positive safe-integer user identifier.","type":"string"}}],"responses":{"200":{"content":{"image/*":{"schema":{"format":"binary","type":"string"}}},"description":"Avatar image bytes. The concrete image media type is returned in Content-Type."},"400":{"description":"Empty response for an invalid user identifier."},"401":{"description":"Empty response when no valid admin session exists."},"403":{"description":"Empty response when an admin policy rejects the request."},"404":{"description":"Empty response when the avatar is unavailable."},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminInternalServerError"}}},"description":"@inline/server/admin/AdminInternalServerError"},"503":{"description":"Empty response when avatar storage is unavailable."}},"security":[{"adminSession":[]}],"tags":["admin"]}},"/admin/users/{id}/invites":{"post":{"operationId":"admin.adminGrantInvites","parameters":[{"in":"path","name":"id","required":true,"schema":{"description":"A positive safe-integer user identifier.","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminInviteCountInput"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminInviteCodesResult"}}},"description":"AdminInviteCodesResult"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminGrantInvitesBadRequest"}},"text/plain":{"schema":{"type":"string"}}},"description":"AdminTransportBadRequest | AdminGrantInvitesBadRequest"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminUnauthorizedError"}}},"description":"@inline/server/admin/AdminUnauthorizedError"},"403":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/_inline_server_admin_AdminStepUpRequiredError"},{"$ref":"#/components/schemas/_inline_server_admin_AdminSetupRequiredError"},{"$ref":"#/components/schemas/_inline_server_admin_AdminOriginNotAllowedError"}]}}},"description":"@inline/server/admin/AdminStepUpRequiredError | @inline/server/admin/AdminSetupRequiredError | @inline/server/admin/AdminOriginNotAllowedError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminNotFound"}}},"description":"AdminNotFound"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminValidationError"}}},"description":"AdminValidationError"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminInternalServerError"}}},"description":"@inline/server/admin/AdminInternalServerError"}},"security":[{"adminSession":[]}],"tags":["admin"]}},"/admin/users/{id}/sessions/{sessionId}/revoke":{"post":{"operationId":"admin.adminRevokeSession","parameters":[{"in":"path","name":"id","required":true,"schema":{"description":"A positive safe-integer user identifier.","type":"string"}},{"in":"path","name":"sessionId","required":true,"schema":{"description":"A positive safe-integer session identifier.","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminRevokeSessionResult"}}},"description":"AdminRevokeSessionResult"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminInvalidSessionBadRequest"}}},"description":"AdminInvalidSessionBadRequest"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminUnauthorizedError"}}},"description":"@inline/server/admin/AdminUnauthorizedError"},"403":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/_inline_server_admin_AdminStepUpRequiredError"},{"$ref":"#/components/schemas/_inline_server_admin_AdminSetupRequiredError"},{"$ref":"#/components/schemas/_inline_server_admin_AdminOriginNotAllowedError"}]}}},"description":"@inline/server/admin/AdminStepUpRequiredError | @inline/server/admin/AdminSetupRequiredError | @inline/server/admin/AdminOriginNotAllowedError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminNotFound"}}},"description":"AdminNotFound"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminInternalServerError"}}},"description":"@inline/server/admin/AdminInternalServerError"}},"security":[{"adminSession":[]}],"tags":["admin"]}},"/admin/users/{id}/update":{"post":{"operationId":"admin.adminUpdateUser","parameters":[{"in":"path","name":"id","required":true,"schema":{"description":"A positive safe-integer user identifier.","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminUpdateUserInput"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminSuccess"}}},"description":"AdminSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminUpdateUserBadRequest"}},"text/plain":{"schema":{"type":"string"}}},"description":"AdminTransportBadRequest | AdminUpdateUserBadRequest"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminUnauthorizedError"}}},"description":"@inline/server/admin/AdminUnauthorizedError"},"403":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/_inline_server_admin_AdminStepUpRequiredError"},{"$ref":"#/components/schemas/_inline_server_admin_AdminSetupRequiredError"},{"$ref":"#/components/schemas/_inline_server_admin_AdminOriginNotAllowedError"}]}}},"description":"@inline/server/admin/AdminStepUpRequiredError | @inline/server/admin/AdminSetupRequiredError | @inline/server/admin/AdminOriginNotAllowedError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminNotFound"}}},"description":"AdminNotFound"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminValidationError"}}},"description":"AdminValidationError"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminInternalServerError"}}},"description":"@inline/server/admin/AdminInternalServerError"}},"security":[{"adminSession":[]}],"tags":["admin"]}},"/admin/waitlist":{"get":{"operationId":"admin.adminWaitlist","parameters":[{"in":"query","name":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminWaitlistResult"}}},"description":"AdminWaitlistResult"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminUnauthorizedError"}}},"description":"@inline/server/admin/AdminUnauthorizedError"},"403":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/_inline_server_admin_AdminSetupRequiredError"},{"$ref":"#/components/schemas/_inline_server_admin_AdminOriginNotAllowedError"}]}}},"description":"@inline/server/admin/AdminSetupRequiredError | @inline/server/admin/AdminOriginNotAllowedError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminValidationError"}}},"description":"AdminValidationError"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminInternalServerError"}}},"description":"@inline/server/admin/AdminInternalServerError"}},"security":[{"adminSession":[]}],"tags":["admin"]}},"/api/there/signup":{"post":{"operationId":"auxiliary.thereSignup","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThereSignup"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThereSignupSuccess"}}},"description":"ThereSignupSuccess"},"400":{"content":{"text/plain":{"schema":{"type":"string"}}},"description":"AuxiliaryLegacyBadRequest"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuxiliaryLegacyValidationError"}}},"description":"AuxiliaryLegacyValidationError"},"500":{"content":{"text/plain":{"schema":{"type":"string"}}},"description":"AuxiliaryInternalServerError"}},"security":[],"tags":["auxiliary"]}},"/authorize":{"get":{"operationId":"auth.oauthAuthorizeAlias","parameters":[{"in":"query","name":"response_type","required":false,"schema":{"type":"string"}},{"in":"query","name":"client_id","required":false,"schema":{"type":"string"}},{"in":"query","name":"redirect_uri","required":false,"schema":{"type":"string"}},{"in":"query","name":"state","required":false,"schema":{"type":"string"}},{"in":"query","name":"scope","required":false,"schema":{"type":"string"}},{"in":"query","name":"code_challenge","required":false,"schema":{"type":"string"}},{"in":"query","name":"code_challenge_method","required":false,"schema":{"type":"string"}},{"in":"query","name":"resource","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml","headers":{"Cache-Control":{"description":"Response caching policy.","schema":{"type":"string"}},"Set-Cookie":{"description":"OAuth authorization-request cookie.","required":true,"schema":{"type":"string"}}}},"303":{"description":""},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthError"}}},"description":"OAuthError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthError1"}}},"description":"OAuthError"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthError2"}}},"description":"OAuthError"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthError3"}}},"description":"OAuthError"}},"security":[],"tags":["auth"]}},"/email/unsubscribe/{token}":{"get":{"operationId":"auxiliary.emailUnsubscribeConfirm","parameters":[{"in":"path","name":"token","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"EmailUnsubscribeHtml"}},"security":[],"tags":["auxiliary"]},"post":{"operationId":"auxiliary.emailUnsubscribeSubmit","parameters":[{"in":"path","name":"token","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"EmailUnsubscribeHtml"}},"security":[],"tags":["auxiliary"]}},"/file":{"get":{"operationId":"auxiliary.mediaPhoto","parameters":[{"in":"query","name":"id","required":true,"schema":{"type":"string"}},{"in":"query","name":"exp","required":true,"schema":{"type":"string"}},{"in":"query","name":"sig","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"image/*":{"schema":{"format":"binary","type":"string"},"x-effect-stream":{"encoding":"uint8array"}}},"description":"Success"},"206":{"content":{"application/octet-stream":{"schema":{"format":"binary","type":"string"},"x-effect-stream":{"encoding":"uint8array"}}},"description":"Success"},"304":{"description":""},"403":{"content":{"text/plain":{"schema":{"type":"string"}}},"description":"MediaForbidden"},"404":{"content":{"text/plain":{"schema":{"type":"string"}}},"description":"MediaNotFound"},"416":{"content":{"text/plain":{"schema":{"type":"string"}}},"description":"MediaRangeNotSatisfiable"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuxiliaryLegacyValidationError"}}},"description":"AuxiliaryLegacyValidationError"},"500":{"content":{"text/plain":{"schema":{"type":"string"}}},"description":"AuxiliaryInternalServerError"},"503":{"content":{"text/plain":{"schema":{"type":"string"}}},"description":"MediaStorageUnavailable"}},"security":[],"tags":["auxiliary"]}},"/health":{"get":{"operationId":"auxiliary.auxiliaryHealth","parameters":[],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuxiliaryLivenessResponse"}}},"description":"AuxiliaryLivenessResponse"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuxiliaryDegradedLivenessResponse"}}},"description":"AuxiliaryDegradedLivenessResponse"}},"security":[],"tags":["auxiliary"]}},"/healthz":{"get":{"operationId":"auxiliary.auxiliaryHealthz","parameters":[],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuxiliaryLivenessResponse"}}},"description":"AuxiliaryLivenessResponse"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuxiliaryDegradedLivenessResponse"}}},"description":"AuxiliaryDegradedLivenessResponse"}},"security":[],"tags":["auxiliary"]}},"/integrations/linear/callback":{"get":{"operationId":"auxiliary.linearCallback","parameters":[{"in":"query","name":"code","required":false,"schema":{"type":"string"}},{"in":"query","name":"state","required":true,"schema":{"type":"string"}},{"in":"query","name":"error","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"IntegrationCallbackHtml"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IntegrationErrorResponse"}}},"description":"IntegrationErrorResponse"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuxiliaryLegacyValidationError"}}},"description":"AuxiliaryLegacyValidationError"},"500":{"content":{"text/plain":{"schema":{"type":"string"}}},"description":"AuxiliaryInternalServerError"}},"security":[],"tags":["auxiliary"]}},"/integrations/linear/integrate":{"get":{"operationId":"auxiliary.linearIntegrate","parameters":[{"in":"query","name":"token","required":true,"schema":{"type":"string"}},{"in":"query","name":"spaceId","required":true,"schema":{"type":"string"}}],"responses":{"302":{"description":"","headers":{"Location":{"description":"Redirect destination.","required":true,"schema":{"format":"uri","type":"string"}},"Set-Cookie":{"description":"Short-lived integration authorization state.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IntegrationErrorResponse"}}},"description":"IntegrationErrorResponse"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IntegrationErrorResponse1"}}},"description":"IntegrationErrorResponse"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuxiliaryLegacyValidationError"}}},"description":"AuxiliaryLegacyValidationError"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IntegrationStartInternalError"}}},"description":"IntegrationStartInternalError"}},"security":[],"tags":["auxiliary"]}},"/integrations/notion/callback":{"get":{"operationId":"auxiliary.notionCallback","parameters":[{"in":"query","name":"code","required":false,"schema":{"type":"string"}},{"in":"query","name":"state","required":true,"schema":{"type":"string"}},{"in":"query","name":"error","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"IntegrationCallbackHtml"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IntegrationErrorResponse"}}},"description":"IntegrationErrorResponse"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuxiliaryLegacyValidationError"}}},"description":"AuxiliaryLegacyValidationError"},"500":{"content":{"text/plain":{"schema":{"type":"string"}}},"description":"AuxiliaryInternalServerError"}},"security":[],"tags":["auxiliary"]}},"/integrations/notion/integrate":{"get":{"operationId":"auxiliary.notionIntegrate","parameters":[{"in":"query","name":"token","required":true,"schema":{"type":"string"}},{"in":"query","name":"spaceId","required":true,"schema":{"type":"string"}}],"responses":{"302":{"description":"","headers":{"Location":{"description":"Redirect destination.","required":true,"schema":{"format":"uri","type":"string"}},"Set-Cookie":{"description":"Short-lived integration authorization state.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IntegrationErrorResponse"}}},"description":"IntegrationErrorResponse"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IntegrationErrorResponse1"}}},"description":"IntegrationErrorResponse"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuxiliaryLegacyValidationError"}}},"description":"AuxiliaryLegacyValidationError"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IntegrationStartInternalError"}}},"description":"IntegrationStartInternalError"}},"security":[],"tags":["auxiliary"]}},"/livez":{"get":{"operationId":"auxiliary.auxiliaryLivez","parameters":[],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuxiliaryLivenessResponse"}}},"description":"AuxiliaryLivenessResponse"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuxiliaryDegradedLivenessResponse"}}},"description":"AuxiliaryDegradedLivenessResponse"}},"security":[],"tags":["auxiliary"]}},"/oauth/authorize":{"get":{"operationId":"auth.oauthAuthorize","parameters":[{"in":"query","name":"response_type","required":false,"schema":{"type":"string"}},{"in":"query","name":"client_id","required":false,"schema":{"type":"string"}},{"in":"query","name":"redirect_uri","required":false,"schema":{"type":"string"}},{"in":"query","name":"state","required":false,"schema":{"type":"string"}},{"in":"query","name":"scope","required":false,"schema":{"type":"string"}},{"in":"query","name":"code_challenge","required":false,"schema":{"type":"string"}},{"in":"query","name":"code_challenge_method","required":false,"schema":{"type":"string"}},{"in":"query","name":"resource","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml","headers":{"Cache-Control":{"description":"Response caching policy.","schema":{"type":"string"}},"Set-Cookie":{"description":"OAuth authorization-request cookie.","required":true,"schema":{"type":"string"}}}},"303":{"description":""},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthError"}}},"description":"OAuthError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthError1"}}},"description":"OAuthError"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthError2"}}},"description":"OAuthError"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthError3"}}},"description":"OAuthError"}},"security":[],"tags":["auth"]}},"/oauth/authorize/consent":{"post":{"operationId":"auth.oauthConsent","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthConsentForm"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/OAuthConsentForm1"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/OAuthConsentForm2"}}},"required":true},"responses":{"200":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"302":{"description":"","headers":{"Location":{"description":"OAuth client redirect target.","required":true,"schema":{"format":"uri","type":"string"}},"Set-Cookie":{"description":"OAuth authorization-request cookie.","required":true,"schema":{"type":"string"}}}},"400":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}},"text/plain":{"schema":{"type":"string"}}},"description":"OAuthTransportBadRequest | OAuthHtml"},"401":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"429":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"500":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"502":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"503":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"}},"security":[],"tags":["auth"]}},"/oauth/authorize/continue":{"get":{"operationId":"auth.oauthAuthorizeContinue","parameters":[],"responses":{"200":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"400":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}},"text/plain":{"schema":{"type":"string"}}},"description":"OAuthTransportBadRequest | OAuthHtml"},"401":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"429":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"500":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"502":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"503":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"}},"security":[],"tags":["auth"]}},"/oauth/authorize/send-email-code":{"post":{"operationId":"auth.oauthSendEmailCode","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthEmailCodeForm"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/OAuthEmailCodeForm3"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/OAuthEmailCodeForm4"}}},"required":true},"responses":{"200":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml","headers":{"Cache-Control":{"description":"Response caching policy.","schema":{"type":"string"}}}},"400":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}},"text/plain":{"schema":{"type":"string"}}},"description":"OAuthTransportBadRequest | OAuthHtml"},"401":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"429":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml","headers":{"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":1,"type":"integer"}}}},"500":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"502":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"503":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"}},"security":[],"tags":["auth"]}},"/oauth/authorize/send-sms-code":{"post":{"operationId":"auth.oauthSendSmsCode","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthPhoneCodeForm"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/OAuthPhoneCodeForm3"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/OAuthPhoneCodeForm4"}}},"required":true},"responses":{"200":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml","headers":{"Cache-Control":{"description":"Response caching policy.","schema":{"type":"string"}}}},"400":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}},"text/plain":{"schema":{"type":"string"}}},"description":"OAuthTransportBadRequest | OAuthHtml"},"401":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"429":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml","headers":{"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":1,"type":"integer"}}}},"500":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"502":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"503":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"}},"security":[],"tags":["auth"]}},"/oauth/authorize/verify-email-code":{"post":{"operationId":"auth.oauthVerifyEmailCode","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthEmailVerificationForm"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/OAuthEmailVerificationForm5"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/OAuthEmailVerificationForm6"}}},"required":true},"responses":{"200":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml","headers":{"Cache-Control":{"description":"Response caching policy.","schema":{"type":"string"}}}},"400":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}},"text/plain":{"schema":{"type":"string"}}},"description":"OAuthTransportBadRequest | OAuthHtml"},"401":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"429":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml","headers":{"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":1,"type":"integer"}}}},"500":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"502":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"503":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"}},"security":[],"tags":["auth"]}},"/oauth/authorize/verify-sms-code":{"post":{"operationId":"auth.oauthVerifySmsCode","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthEmailVerificationForm"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/OAuthEmailVerificationForm7"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/OAuthEmailVerificationForm8"}}},"required":true},"responses":{"200":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml","headers":{"Cache-Control":{"description":"Response caching policy.","schema":{"type":"string"}}}},"400":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}},"text/plain":{"schema":{"type":"string"}}},"description":"OAuthTransportBadRequest | OAuthHtml"},"401":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"429":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml","headers":{"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":1,"type":"integer"}}}},"500":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"502":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"503":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"}},"security":[],"tags":["auth"]}},"/oauth/introspect":{"post":{"operationId":"auth.oauthIntrospect","parameters":[{"description":"Required shared secret for the internal MCP boundary.","in":"header","name":"x-inline-mcp-secret","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthIntrospectForm"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/OAuthIntrospectForm1"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/OAuthIntrospectForm2"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthIntrospectionResult"}}},"description":"OAuthIntrospectionResult"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthError"}},"text/plain":{"schema":{"type":"string"}}},"description":"OAuthTransportBadRequest | OAuthError"},"401":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/OAuthError6"},{"$ref":"#/components/schemas/OAuthInactiveToken"}]}}},"description":"OAuthError | OAuthInactiveToken"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthError7"}}},"description":"OAuthError"}},"security":[],"tags":["auth"]}},"/oauth/mcp-events":{"post":{"operationId":"auth.oauthMcpEvents","parameters":[{"description":"Required shared secret for the internal MCP events boundary.","in":"header","name":"x-inline-mcp-secret","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"method":{"type":"string"},"params":{},"token":{"type":"string"}},"required":["method","token"],"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{}}},"description":"Success"},"400":{"content":{"text/plain":{"schema":{"type":"string"}}},"description":"OAuthTransportBadRequest"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthError8"}}},"description":"OAuthError"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthError9"}}},"description":"OAuthError"}},"security":[],"tags":["auth"]}},"/oauth/register":{"post":{"operationId":"auth.oauthRegister","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthRegisterInput"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/OAuthRegisterInput1"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/OAuthRegisterInput2"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthRegisterResult"}}},"description":"OAuthRegisterResult","headers":{"Cache-Control":{"description":"Response caching policy.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthError"}},"text/plain":{"schema":{"type":"string"}}},"description":"OAuthTransportBadRequest | OAuthError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthError1"}}},"description":"OAuthError"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthError2"}}},"description":"OAuthError","headers":{"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":1,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthError3"}}},"description":"OAuthError"}},"security":[],"tags":["auth"]}},"/oauth/revoke":{"post":{"operationId":"auth.oauthRevoke","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthRevokeForm"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/OAuthRevokeForm1"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/OAuthRevokeForm2"}}},"required":false},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthEmptyObject"}}},"description":"OAuthEmptyObject","headers":{"Cache-Control":{"description":"Response caching policy.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthError"}},"text/plain":{"schema":{"type":"string"}}},"description":"OAuthTransportBadRequest | OAuthError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthError1"}}},"description":"OAuthError"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthError2"}}},"description":"OAuthError"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthError3"}}},"description":"OAuthError"}},"security":[],"tags":["auth"]}},"/oauth/token":{"post":{"operationId":"auth.oauthToken","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthTokenForm"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/OAuthTokenForm1"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/OAuthTokenForm2"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthTokenResult"}}},"description":"OAuthTokenResult","headers":{"Cache-Control":{"description":"Response caching policy.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthError"}},"text/plain":{"schema":{"type":"string"}}},"description":"OAuthTransportBadRequest | OAuthError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthError1"}}},"description":"OAuthError"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthError2"}}},"description":"OAuthError","headers":{"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":1,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthError3"}}},"description":"OAuthError"}},"security":[],"tags":["auth"]}},"/readyz":{"get":{"operationId":"auxiliary.auxiliaryReadyz","parameters":[],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuxiliaryHealthResponse"}}},"description":"AuxiliaryHealthResponse"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuxiliaryDegradedHealthResponse"}}},"description":"AuxiliaryDegradedHealthResponse"}},"security":[],"tags":["auxiliary"]}},"/register":{"post":{"operationId":"auth.oauthRegisterAlias","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthRegisterInput"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/OAuthRegisterInput3"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/OAuthRegisterInput4"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthRegisterResult"}}},"description":"OAuthRegisterResult","headers":{"Cache-Control":{"description":"Response caching policy.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthError"}},"text/plain":{"schema":{"type":"string"}}},"description":"OAuthTransportBadRequest | OAuthError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthError1"}}},"description":"OAuthError"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthError2"}}},"description":"OAuthError","headers":{"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":1,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthError3"}}},"description":"OAuthError"}},"security":[],"tags":["auth"]}},"/revoke":{"post":{"operationId":"auth.oauthRevokeAlias","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthRevokeForm"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/OAuthRevokeForm3"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/OAuthRevokeForm4"}}},"required":false},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthEmptyObject"}}},"description":"OAuthEmptyObject","headers":{"Cache-Control":{"description":"Response caching policy.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthError"}},"text/plain":{"schema":{"type":"string"}}},"description":"OAuthTransportBadRequest | OAuthError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthError1"}}},"description":"OAuthError"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthError2"}}},"description":"OAuthError"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthError3"}}},"description":"OAuthError"}},"security":[],"tags":["auth"]}},"/token":{"post":{"operationId":"auth.oauthTokenAlias","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthTokenForm"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/OAuthTokenForm3"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/OAuthTokenForm4"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthTokenResult"}}},"description":"OAuthTokenResult","headers":{"Cache-Control":{"description":"Response caching policy.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthError"}},"text/plain":{"schema":{"type":"string"}}},"description":"OAuthTransportBadRequest | OAuthError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthError1"}}},"description":"OAuthError"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthError2"}}},"description":"OAuthError","headers":{"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":1,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthError3"}}},"description":"OAuthError"}},"security":[],"tags":["auth"]}},"/v1/addMember":{"get":{"operationId":"v1IdentitySpaces.getAddMember","parameters":[{"in":"query","name":"spaceId","required":true,"schema":{"$ref":"#/components/schemas/V1InputId"}},{"in":"query","name":"userId","required":true,"schema":{"$ref":"#/components/schemas/V1InputId"}},{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddMemberSuccess"}}},"description":"AddMemberSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError"}}},"description":"V1IdentitySpacesApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError1"}}},"description":"V1IdentitySpacesApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError2"}}},"description":"V1IdentitySpacesApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError4"}}},"description":"V1IdentitySpacesApiError"}},"security":[],"tags":["v1IdentitySpaces"]},"post":{"operationId":"v1IdentitySpaces.postAddMember","parameters":[{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddMemberInput"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/AddMemberInput1"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/AddMemberInput2"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddMemberSuccess"}}},"description":"AddMemberSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError"}}},"description":"V1IdentitySpacesApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError1"}}},"description":"V1IdentitySpacesApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError2"}}},"description":"V1IdentitySpacesApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError4"}}},"description":"V1IdentitySpacesApiError"}},"security":[],"tags":["v1IdentitySpaces"]}},"/v1/addReaction":{"get":{"operationId":"v1MessagingProviders.getAddReaction","parameters":[{"in":"query","name":"messageId","required":true,"schema":{"$ref":"#/components/schemas/V1InputId"}},{"in":"query","name":"chatId","required":true,"schema":{"$ref":"#/components/schemas/V1InputId"}},{"in":"query","name":"emoji","required":true,"schema":{"type":"string"}},{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddReactionSuccess"}}},"description":"AddReactionSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]},"post":{"operationId":"v1MessagingProviders.postAddReaction","parameters":[{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddReactionInput"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/AddReactionInput1"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/AddReactionInput2"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddReactionSuccess"}}},"description":"AddReactionSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]}},"/v1/auth/login":{"get":{"operationId":"auth.hostedLoginGet","parameters":[{"in":"query","name":"capability","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"303":{"description":""},"400":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}},"text/plain":{"schema":{"type":"string"}}},"description":"OAuthTransportBadRequest | OAuthHtml"},"401":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"429":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"500":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"502":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"503":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"}},"security":[],"tags":["auth"]}},"/v1/auth/login/send-email-code":{"post":{"operationId":"auth.hostedLoginSendEmail","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthEmailCodeForm"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/OAuthEmailCodeForm1"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/OAuthEmailCodeForm2"}}},"required":true},"responses":{"200":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"400":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}},"text/plain":{"schema":{"type":"string"}}},"description":"OAuthTransportBadRequest | OAuthHtml"},"401":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"429":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"500":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"502":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"503":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"}},"security":[],"tags":["auth"]}},"/v1/auth/login/send-sms-code":{"post":{"operationId":"auth.hostedLoginSendSms","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthPhoneCodeForm"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/OAuthPhoneCodeForm1"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/OAuthPhoneCodeForm2"}}},"required":true},"responses":{"200":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"400":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}},"text/plain":{"schema":{"type":"string"}}},"description":"OAuthTransportBadRequest | OAuthHtml"},"401":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"429":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"500":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"502":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"503":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"}},"security":[],"tags":["auth"]}},"/v1/auth/login/verify-email-code":{"post":{"operationId":"auth.hostedLoginVerifyEmail","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthEmailVerificationForm"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/OAuthEmailVerificationForm1"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/OAuthEmailVerificationForm2"}}},"required":true},"responses":{"200":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"303":{"description":""},"400":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}},"text/plain":{"schema":{"type":"string"}}},"description":"OAuthTransportBadRequest | OAuthHtml"},"401":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"429":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"500":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"502":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"503":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"}},"security":[],"tags":["auth"]}},"/v1/auth/login/verify-phone-code":{"post":{"operationId":"auth.hostedLoginVerifySms","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthEmailVerificationForm"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/OAuthEmailVerificationForm3"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/OAuthEmailVerificationForm4"}}},"required":true},"responses":{"200":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"303":{"description":""},"400":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}},"text/plain":{"schema":{"type":"string"}}},"description":"OAuthTransportBadRequest | OAuthHtml"},"401":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"429":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"500":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"502":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"503":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"}},"security":[],"tags":["auth"]}},"/v1/auth/provider/callback/apple":{"post":{"operationId":"auth.providerCallbackApple","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProviderAppleCallbackForm"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/ProviderAppleCallbackForm1"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/ProviderAppleCallbackForm2"}}},"required":true},"responses":{"200":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"302":{"description":""},"303":{"description":""},"400":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}},"text/plain":{"schema":{"type":"string"}}},"description":"OAuthTransportBadRequest | OAuthHtml"},"401":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"429":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"500":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"502":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"503":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"}},"security":[],"tags":["auth"]}},"/v1/auth/provider/callback/google":{"get":{"operationId":"auth.providerCallbackGoogle","parameters":[{"in":"query","name":"state","required":false,"schema":{"type":"string"}},{"in":"query","name":"code","required":false,"schema":{"type":"string"}},{"in":"query","name":"error","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"302":{"description":""},"303":{"description":""},"400":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}},"text/plain":{"schema":{"type":"string"}}},"description":"OAuthTransportBadRequest | OAuthHtml"},"401":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"429":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"500":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"502":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"503":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"}},"security":[],"tags":["auth"]}},"/v1/auth/provider/continue-invite":{"post":{"operationId":"auth.providerContinueInvite","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProviderAuthContinuationForm"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/ProviderAuthContinuationForm1"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/ProviderAuthContinuationForm2"}}},"required":true},"responses":{"200":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"302":{"description":""},"303":{"description":""},"400":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}},"text/plain":{"schema":{"type":"string"}}},"description":"OAuthTransportBadRequest | OAuthHtml"},"401":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"429":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"500":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"502":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"503":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"}},"security":[],"tags":["auth"]}},"/v1/auth/provider/native/apple/complete":{"post":{"operationId":"auth.providerNativeAppleComplete","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NativeAppleAuthCompleteInput"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NativeAppleAuthCompleteSuccess"}}},"description":"NativeAppleAuthCompleteSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityApiError"}}},"description":"IdentityApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityApiError5"}}},"description":"IdentityApiError"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityApiError6"}}},"description":"IdentityApiError"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityApiError7"}}},"description":"IdentityApiError"}},"security":[],"tags":["auth"]}},"/v1/auth/provider/native/apple/continue-invite":{"post":{"operationId":"auth.providerNativeAppleContinueInvite","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NativeAppleAuthInviteInput"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NativeAppleAuthInviteSuccess"}}},"description":"NativeAppleAuthInviteSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityApiError"}}},"description":"IdentityApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityApiError5"}}},"description":"IdentityApiError"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityApiError6"}}},"description":"IdentityApiError"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityApiError7"}}},"description":"IdentityApiError"}},"security":[],"tags":["auth"]}},"/v1/auth/provider/native/apple/start":{"post":{"operationId":"auth.providerNativeAppleStart","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NativeAppleAuthStartInput"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NativeAppleAuthStartSuccess"}}},"description":"NativeAppleAuthStartSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityApiError"}}},"description":"IdentityApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityApiError5"}}},"description":"IdentityApiError"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityApiError6"}}},"description":"IdentityApiError"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityApiError7"}}},"description":"IdentityApiError"}},"security":[],"tags":["auth"]}},"/v1/auth/provider/redeem":{"post":{"operationId":"auth.providerRedeem","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProviderAuthRedeemInput"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/ProviderAuthRedeemInput1"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/ProviderAuthRedeemInput2"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProviderAuthRedeemSuccess"}}},"description":"ProviderAuthRedeemSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthError"}},"text/plain":{"schema":{"type":"string"}}},"description":"OAuthTransportBadRequest | OAuthError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthError1"}}},"description":"OAuthError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthError2"}}},"description":"OAuthError"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthError3"}}},"description":"OAuthError"}},"security":[],"tags":["auth"]}},"/v1/auth/provider/send-email-code":{"post":{"operationId":"auth.providerSendEmailCode","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProviderAuthContinuationForm"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/ProviderAuthContinuationForm3"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/ProviderAuthContinuationForm4"}}},"required":true},"responses":{"200":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"400":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}},"text/plain":{"schema":{"type":"string"}}},"description":"OAuthTransportBadRequest | OAuthHtml"},"401":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"429":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"500":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"502":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"503":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"}},"security":[],"tags":["auth"]}},"/v1/auth/provider/start":{"get":{"operationId":"auth.providerStart","parameters":[{"in":"query","name":"provider","required":false,"schema":{"type":"string"}},{"in":"query","name":"purpose","required":false,"schema":{"type":"string"}},{"in":"query","name":"callback_scheme","required":false,"schema":{"type":"string"}},{"in":"query","name":"code_challenge","required":false,"schema":{"type":"string"}},{"in":"query","name":"client_type","required":false,"schema":{"type":"string"}},{"in":"query","name":"device_id","required":false,"schema":{"type":"string"}},{"in":"query","name":"client_version","required":false,"schema":{"type":"string"}},{"in":"query","name":"os_version","required":false,"schema":{"type":"string"}},{"in":"query","name":"device_name","required":false,"schema":{"type":"string"}},{"in":"query","name":"timezone","required":false,"schema":{"type":"string"}}],"responses":{"302":{"description":""},"400":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}},"text/plain":{"schema":{"type":"string"}}},"description":"OAuthTransportBadRequest | OAuthHtml"},"401":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"429":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"500":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"502":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"503":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"}},"security":[],"tags":["auth"]}},"/v1/auth/provider/verify-email-code":{"post":{"operationId":"auth.providerVerifyEmailCode","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProviderAuthContinuationForm"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/ProviderAuthContinuationForm5"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/ProviderAuthContinuationForm6"}}},"required":true},"responses":{"200":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"302":{"description":""},"303":{"description":""},"400":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}},"text/plain":{"schema":{"type":"string"}}},"description":"OAuthTransportBadRequest | OAuthHtml"},"401":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"429":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"500":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"502":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"503":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"}},"security":[],"tags":["auth"]}},"/v1/checkInviteCode":{"get":{"operationId":"auth.getCheckInviteCode","parameters":[{"in":"query","name":"inviteCode","required":true,"schema":{"allOf":[{"maxLength":64}],"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckInviteCodeSuccess"}}},"description":"CheckInviteCodeSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityApiError"}}},"description":"IdentityApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityApiError1"}}},"description":"IdentityApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityApiError3"}}},"description":"IdentityApiError"}},"security":[],"tags":["auth"]},"post":{"operationId":"auth.postCheckInviteCode","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckInviteCodeInput"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/CheckInviteCodeInput1"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/CheckInviteCodeInput2"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckInviteCodeSuccess"}}},"description":"CheckInviteCodeSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityApiError"}}},"description":"IdentityApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityApiError1"}}},"description":"IdentityApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityApiError3"}}},"description":"IdentityApiError"}},"security":[],"tags":["auth"]}},"/v1/checkUsername":{"get":{"operationId":"v1IdentitySpaces.getCheckUsername","parameters":[{"in":"query","name":"username","required":true,"schema":{"type":"string"}},{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckUsernameSuccess"}}},"description":"CheckUsernameSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError"}}},"description":"V1IdentitySpacesApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError1"}}},"description":"V1IdentitySpacesApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError2"}}},"description":"V1IdentitySpacesApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError4"}}},"description":"V1IdentitySpacesApiError"}},"security":[],"tags":["v1IdentitySpaces"]},"post":{"operationId":"v1IdentitySpaces.postCheckUsername","parameters":[{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckUsernameInput"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/CheckUsernameInput1"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/CheckUsernameInput2"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckUsernameSuccess"}}},"description":"CheckUsernameSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError"}}},"description":"V1IdentitySpacesApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError1"}}},"description":"V1IdentitySpacesApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError2"}}},"description":"V1IdentitySpacesApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError4"}}},"description":"V1IdentitySpacesApiError"}},"security":[],"tags":["v1IdentitySpaces"]}},"/v1/createLinearIssue":{"get":{"operationId":"v1MessagingProviders.getCreateLinearIssue","parameters":[{"in":"query","name":"text","required":true,"schema":{"type":"string"}},{"in":"query","name":"messageId","required":true,"schema":{"$ref":"#/components/schemas/WireSafeInteger1"}},{"in":"query","name":"chatId","required":true,"schema":{"$ref":"#/components/schemas/WireSafeInteger1"}},{"in":"query","name":"peerId","required":true,"schema":{"$ref":"#/components/schemas/V1InputPeerInfo"}},{"in":"query","name":"fromId","required":true,"schema":{"$ref":"#/components/schemas/WireSafeInteger1"}},{"in":"query","name":"spaceId","required":false,"schema":{"$ref":"#/components/schemas/SpaceId"}},{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateLinearIssueSuccess"}}},"description":"CreateLinearIssueSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]},"post":{"operationId":"v1MessagingProviders.postCreateLinearIssue","parameters":[{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateLinearIssueInput"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/CreateLinearIssueInput1"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/CreateLinearIssueInput2"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateLinearIssueSuccess"}}},"description":"CreateLinearIssueSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]}},"/v1/createNotionTask":{"get":{"operationId":"v1MessagingProviders.getCreateNotionTask","parameters":[{"in":"query","name":"spaceId","required":true,"schema":{"$ref":"#/components/schemas/WireSafeInteger1"}},{"in":"query","name":"messageId","required":true,"schema":{"$ref":"#/components/schemas/WireSafeInteger1"}},{"in":"query","name":"chatId","required":true,"schema":{"$ref":"#/components/schemas/WireSafeInteger1"}},{"in":"query","name":"peerId","required":true,"schema":{"$ref":"#/components/schemas/V1InputPeerInfo"}},{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateNotionTaskSuccess"}}},"description":"CreateNotionTaskSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]},"post":{"operationId":"v1MessagingProviders.postCreateNotionTask","parameters":[{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateNotionTaskInput"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/CreateNotionTaskInput1"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/CreateNotionTaskInput2"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateNotionTaskSuccess"}}},"description":"CreateNotionTaskSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]}},"/v1/createPrivateChat":{"get":{"operationId":"v1MessagingProviders.getCreatePrivateChat","parameters":[{"in":"query","name":"userId","required":true,"schema":{"type":"string"}},{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreatePrivateChatSuccess"}}},"description":"CreatePrivateChatSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]},"post":{"operationId":"v1MessagingProviders.postCreatePrivateChat","parameters":[{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreatePrivateChatInput"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/CreatePrivateChatInput1"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/CreatePrivateChatInput2"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreatePrivateChatSuccess"}}},"description":"CreatePrivateChatSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]}},"/v1/createSpace":{"get":{"operationId":"v1IdentitySpaces.getCreateSpace","parameters":[{"in":"query","name":"name","required":true,"schema":{"type":"string"}},{"in":"query","name":"handle","required":false,"schema":{"type":"string"}},{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateSpaceSuccess"}}},"description":"CreateSpaceSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError"}}},"description":"V1IdentitySpacesApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError1"}}},"description":"V1IdentitySpacesApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError2"}}},"description":"V1IdentitySpacesApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError4"}}},"description":"V1IdentitySpacesApiError"}},"security":[],"tags":["v1IdentitySpaces"]},"post":{"operationId":"v1IdentitySpaces.postCreateSpace","parameters":[{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateSpaceInput"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/CreateSpaceInput1"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/CreateSpaceInput2"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateSpaceSuccess"}}},"description":"CreateSpaceSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError"}}},"description":"V1IdentitySpacesApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError1"}}},"description":"V1IdentitySpacesApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError2"}}},"description":"V1IdentitySpacesApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError4"}}},"description":"V1IdentitySpacesApiError"}},"security":[],"tags":["v1IdentitySpaces"]}},"/v1/createThread":{"get":{"operationId":"v1MessagingProviders.getCreateThread","parameters":[{"in":"query","name":"title","required":true,"schema":{"type":"string"}},{"in":"query","name":"spaceId","required":true,"schema":{"$ref":"#/components/schemas/V1InputId"}},{"in":"query","name":"emoji","required":false,"schema":{"type":"string"}},{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateThreadSuccess"}}},"description":"CreateThreadSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]},"post":{"operationId":"v1MessagingProviders.postCreateThread","parameters":[{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateThreadInput"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/CreateThreadInput1"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/CreateThreadInput2"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateThreadSuccess"}}},"description":"CreateThreadSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]}},"/v1/deleteAttachment":{"get":{"operationId":"v1MessagingProviders.getDeleteAttachment","parameters":[{"in":"query","name":"externalTaskId","required":true,"schema":{"$ref":"#/components/schemas/WireSafeInteger1"}},{"in":"query","name":"pageId","required":true,"schema":{"type":"string"}},{"in":"query","name":"messageId","required":true,"schema":{"$ref":"#/components/schemas/WireSafeInteger1"}},{"in":"query","name":"chatId","required":true,"schema":{"$ref":"#/components/schemas/WireSafeInteger1"}},{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteAttachmentSuccess"}}},"description":"DeleteAttachmentSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]},"post":{"operationId":"v1MessagingProviders.postDeleteAttachment","parameters":[{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteAttachmentInput"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/DeleteAttachmentInput1"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/DeleteAttachmentInput2"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteAttachmentSuccess"}}},"description":"DeleteAttachmentSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]}},"/v1/deleteMessage":{"get":{"operationId":"v1MessagingProviders.getDeleteMessage","parameters":[{"in":"query","name":"messageId","required":true,"schema":{"$ref":"#/components/schemas/V1InputId"}},{"in":"query","name":"chatId","required":true,"schema":{"$ref":"#/components/schemas/V1InputId"}},{"in":"query","name":"peerUserId","required":false,"schema":{"$ref":"#/components/schemas/V1InputId"}},{"in":"query","name":"peerThreadId","required":false,"schema":{"$ref":"#/components/schemas/V1InputId"}},{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteMessageSuccess"}}},"description":"DeleteMessageSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]},"post":{"operationId":"v1MessagingProviders.postDeleteMessage","parameters":[{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteMessageInput"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/DeleteMessageInput1"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/DeleteMessageInput2"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteMessageSuccess"}}},"description":"DeleteMessageSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]}},"/v1/deleteSpace":{"get":{"operationId":"v1IdentitySpaces.getDeleteSpace","parameters":[{"in":"query","name":"spaceId","required":true,"schema":{"$ref":"#/components/schemas/V1InputId"}},{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesEmptySuccess"}}},"description":"V1IdentitySpacesEmptySuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError"}}},"description":"V1IdentitySpacesApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError1"}}},"description":"V1IdentitySpacesApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError2"}}},"description":"V1IdentitySpacesApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError4"}}},"description":"V1IdentitySpacesApiError"}},"security":[],"tags":["v1IdentitySpaces"]},"post":{"operationId":"v1IdentitySpaces.postDeleteSpace","parameters":[{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteSpaceInput"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/DeleteSpaceInput1"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/DeleteSpaceInput2"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesEmptySuccess"}}},"description":"V1IdentitySpacesEmptySuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError"}}},"description":"V1IdentitySpacesApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError1"}}},"description":"V1IdentitySpacesApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError2"}}},"description":"V1IdentitySpacesApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError4"}}},"description":"V1IdentitySpacesApiError"}},"security":[],"tags":["v1IdentitySpaces"]}},"/v1/disconnectIntegration":{"get":{"operationId":"v1MessagingProviders.getDisconnectIntegration","parameters":[{"in":"query","name":"spaceId","required":true,"schema":{"$ref":"#/components/schemas/WireSafeInteger1"}},{"in":"query","name":"provider","required":true,"schema":{"enum":["notion","linear"],"type":"string"}},{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DisconnectIntegrationSuccess"}}},"description":"DisconnectIntegrationSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]},"post":{"operationId":"v1MessagingProviders.postDisconnectIntegration","parameters":[{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DisconnectIntegrationInput"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/DisconnectIntegrationInput1"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/DisconnectIntegrationInput2"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DisconnectIntegrationSuccess"}}},"description":"DisconnectIntegrationSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]}},"/v1/getAlphaText":{"get":{"operationId":"v1MessagingProviders.getGetAlphaText","parameters":[{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetAlphaTextSuccess"}}},"description":"GetAlphaTextSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]},"post":{"operationId":"v1MessagingProviders.postGetAlphaText","parameters":[{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetAlphaTextInput"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/GetAlphaTextInput1"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/GetAlphaTextInput2"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetAlphaTextSuccess"}}},"description":"GetAlphaTextSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]}},"/v1/getChatHistory":{"get":{"operationId":"v1MessagingProviders.getGetChatHistory","parameters":[{"in":"query","name":"peerId","required":false,"schema":{"$ref":"#/components/schemas/V1InputPeerInfo"}},{"in":"query","name":"peerUserId","required":false,"schema":{"$ref":"#/components/schemas/V1InputId"}},{"in":"query","name":"peerThreadId","required":false,"schema":{"$ref":"#/components/schemas/V1InputId"}},{"in":"query","name":"limit","required":false,"schema":{"$ref":"#/components/schemas/WireSafeInteger4"}},{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetChatHistorySuccess"}}},"description":"GetChatHistorySuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]},"post":{"operationId":"v1MessagingProviders.postGetChatHistory","parameters":[{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetChatHistoryInput"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/GetChatHistoryInput1"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/GetChatHistoryInput2"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetChatHistorySuccess"}}},"description":"GetChatHistorySuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]}},"/v1/getDialogs":{"get":{"operationId":"v1MessagingProviders.getGetDialogs","parameters":[{"in":"query","name":"spaceId","required":true,"schema":{"$ref":"#/components/schemas/V1InputId"}},{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetDialogsSuccess"}}},"description":"GetDialogsSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]},"post":{"operationId":"v1MessagingProviders.postGetDialogs","parameters":[{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetDialogsInput"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/GetDialogsInput1"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/GetDialogsInput2"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetDialogsSuccess"}}},"description":"GetDialogsSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]}},"/v1/getDraft":{"get":{"operationId":"v1MessagingProviders.getGetDraft","parameters":[{"in":"query","name":"peerUserId","required":false,"schema":{"$ref":"#/components/schemas/V1InputId"}},{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetDraftSuccess"}}},"description":"GetDraftSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]},"post":{"operationId":"v1MessagingProviders.postGetDraft","parameters":[{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetDraftInput"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/GetDraftInput1"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/GetDraftInput2"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetDraftSuccess"}}},"description":"GetDraftSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]}},"/v1/getIntegrations":{"get":{"operationId":"v1MessagingProviders.getGetIntegrations","parameters":[{"in":"query","name":"userId","required":true,"schema":{"$ref":"#/components/schemas/V1InputId"}},{"in":"query","name":"spaceId","required":false,"schema":{"$ref":"#/components/schemas/V1InputId"}},{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetIntegrationsSuccess"}}},"description":"GetIntegrationsSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]},"post":{"operationId":"v1MessagingProviders.postGetIntegrations","parameters":[{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetIntegrationsInput"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/GetIntegrationsInput1"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/GetIntegrationsInput2"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetIntegrationsSuccess"}}},"description":"GetIntegrationsSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]}},"/v1/getInviteCodes":{"get":{"operationId":"v1IdentitySpaces.getGetInviteCodes","parameters":[{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetInviteCodesSuccess"}}},"description":"GetInviteCodesSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError"}}},"description":"V1IdentitySpacesApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError1"}}},"description":"V1IdentitySpacesApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError2"}}},"description":"V1IdentitySpacesApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError4"}}},"description":"V1IdentitySpacesApiError"}},"security":[],"tags":["v1IdentitySpaces"]},"post":{"operationId":"v1IdentitySpaces.postGetInviteCodes","parameters":[{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetInviteCodesInput"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/GetInviteCodesInput1"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/GetInviteCodesInput2"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetInviteCodesSuccess"}}},"description":"GetInviteCodesSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError"}}},"description":"V1IdentitySpacesApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError1"}}},"description":"V1IdentitySpacesApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError2"}}},"description":"V1IdentitySpacesApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError4"}}},"description":"V1IdentitySpacesApiError"}},"security":[],"tags":["v1IdentitySpaces"]}},"/v1/getLinearTeams":{"get":{"operationId":"v1MessagingProviders.getGetLinearTeams","parameters":[{"in":"query","name":"spaceId","required":true,"schema":{"$ref":"#/components/schemas/WireSafeInteger1"}},{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetLinearTeamsSuccess"}}},"description":"GetLinearTeamsSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]},"post":{"operationId":"v1MessagingProviders.postGetLinearTeams","parameters":[{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetLinearTeamsInput"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/GetLinearTeamsInput1"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/GetLinearTeamsInput2"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetLinearTeamsSuccess"}}},"description":"GetLinearTeamsSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]}},"/v1/getMe":{"get":{"operationId":"v1IdentitySpaces.getGetMe","parameters":[{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetMeSuccess"}}},"description":"GetMeSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError"}}},"description":"V1IdentitySpacesApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError1"}}},"description":"V1IdentitySpacesApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError2"}}},"description":"V1IdentitySpacesApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError4"}}},"description":"V1IdentitySpacesApiError"}},"security":[],"tags":["v1IdentitySpaces"]},"post":{"operationId":"v1IdentitySpaces.postGetMe","parameters":[{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetMeInput"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/GetMeInput1"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/GetMeInput2"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetMeSuccess"}}},"description":"GetMeSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError"}}},"description":"V1IdentitySpacesApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError1"}}},"description":"V1IdentitySpacesApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError2"}}},"description":"V1IdentitySpacesApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError4"}}},"description":"V1IdentitySpacesApiError"}},"security":[],"tags":["v1IdentitySpaces"]}},"/v1/getNotionDatabases":{"get":{"operationId":"v1MessagingProviders.getGetNotionDatabases","parameters":[{"in":"query","name":"spaceId","required":true,"schema":{"$ref":"#/components/schemas/WireSafeInteger1"}},{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetNotionDatabasesSuccess"}}},"description":"GetNotionDatabasesSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]},"post":{"operationId":"v1MessagingProviders.postGetNotionDatabases","parameters":[{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetNotionDatabasesInput"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/GetNotionDatabasesInput1"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/GetNotionDatabasesInput2"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetNotionDatabasesSuccess"}}},"description":"GetNotionDatabasesSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]}},"/v1/getPrivateChats":{"get":{"operationId":"v1MessagingProviders.getGetPrivateChats","parameters":[{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetPrivateChatsSuccess"}}},"description":"GetPrivateChatsSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]},"post":{"operationId":"v1MessagingProviders.postGetPrivateChats","parameters":[{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetPrivateChatsInput"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/GetPrivateChatsInput1"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/GetPrivateChatsInput2"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetPrivateChatsSuccess"}}},"description":"GetPrivateChatsSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]}},"/v1/getSpace":{"get":{"operationId":"v1IdentitySpaces.getGetSpace","parameters":[{"in":"query","name":"id","required":true,"schema":{"$ref":"#/components/schemas/V1InputId"}},{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetSpaceSuccess"}}},"description":"GetSpaceSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError"}}},"description":"V1IdentitySpacesApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError1"}}},"description":"V1IdentitySpacesApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError2"}}},"description":"V1IdentitySpacesApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError4"}}},"description":"V1IdentitySpacesApiError"}},"security":[],"tags":["v1IdentitySpaces"]},"post":{"operationId":"v1IdentitySpaces.postGetSpace","parameters":[{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetSpaceInput"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/GetSpaceInput1"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/GetSpaceInput2"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetSpaceSuccess"}}},"description":"GetSpaceSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError"}}},"description":"V1IdentitySpacesApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError1"}}},"description":"V1IdentitySpacesApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError2"}}},"description":"V1IdentitySpacesApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError4"}}},"description":"V1IdentitySpacesApiError"}},"security":[],"tags":["v1IdentitySpaces"]}},"/v1/getSpaceMembers":{"get":{"operationId":"v1IdentitySpaces.getGetSpaceMembers","parameters":[{"in":"query","name":"spaceId","required":true,"schema":{"$ref":"#/components/schemas/V1InputId"}},{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetSpaceMembersSuccess"}}},"description":"GetSpaceMembersSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError"}}},"description":"V1IdentitySpacesApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError1"}}},"description":"V1IdentitySpacesApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError2"}}},"description":"V1IdentitySpacesApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError4"}}},"description":"V1IdentitySpacesApiError"}},"security":[],"tags":["v1IdentitySpaces"]},"post":{"operationId":"v1IdentitySpaces.postGetSpaceMembers","parameters":[{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetSpaceMembersInput"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/GetSpaceMembersInput1"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/GetSpaceMembersInput2"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetSpaceMembersSuccess"}}},"description":"GetSpaceMembersSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError"}}},"description":"V1IdentitySpacesApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError1"}}},"description":"V1IdentitySpacesApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError2"}}},"description":"V1IdentitySpacesApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError4"}}},"description":"V1IdentitySpacesApiError"}},"security":[],"tags":["v1IdentitySpaces"]}},"/v1/getSpaces":{"get":{"operationId":"v1IdentitySpaces.getGetSpaces","parameters":[{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetSpacesSuccess"}}},"description":"GetSpacesSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError"}}},"description":"V1IdentitySpacesApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError1"}}},"description":"V1IdentitySpacesApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError2"}}},"description":"V1IdentitySpacesApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError4"}}},"description":"V1IdentitySpacesApiError"}},"security":[],"tags":["v1IdentitySpaces"]},"post":{"operationId":"v1IdentitySpaces.postGetSpaces","parameters":[{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetSpacesInput"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/GetSpacesInput1"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/GetSpacesInput2"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetSpacesSuccess"}}},"description":"GetSpacesSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError"}}},"description":"V1IdentitySpacesApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError1"}}},"description":"V1IdentitySpacesApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError2"}}},"description":"V1IdentitySpacesApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError4"}}},"description":"V1IdentitySpacesApiError"}},"security":[],"tags":["v1IdentitySpaces"]}},"/v1/getUser":{"get":{"operationId":"v1IdentitySpaces.getGetUser","parameters":[{"in":"query","name":"id","required":true,"schema":{"$ref":"#/components/schemas/V1InputId"}},{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetUserSuccess"}}},"description":"GetUserSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError"}}},"description":"V1IdentitySpacesApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError1"}}},"description":"V1IdentitySpacesApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError2"}}},"description":"V1IdentitySpacesApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError4"}}},"description":"V1IdentitySpacesApiError"}},"security":[],"tags":["v1IdentitySpaces"]},"post":{"operationId":"v1IdentitySpaces.postGetUser","parameters":[{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetUserInput"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/GetUserInput1"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/GetUserInput2"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetUserSuccess"}}},"description":"GetUserSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError"}}},"description":"V1IdentitySpacesApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError1"}}},"description":"V1IdentitySpacesApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError2"}}},"description":"V1IdentitySpacesApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError4"}}},"description":"V1IdentitySpacesApiError"}},"security":[],"tags":["v1IdentitySpaces"]}},"/v1/leaveSpace":{"get":{"operationId":"v1IdentitySpaces.getLeaveSpace","parameters":[{"in":"query","name":"spaceId","required":true,"schema":{"$ref":"#/components/schemas/V1InputId"}},{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LeaveSpaceSuccess"}}},"description":"LeaveSpaceSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError"}}},"description":"V1IdentitySpacesApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError1"}}},"description":"V1IdentitySpacesApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError2"}}},"description":"V1IdentitySpacesApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError4"}}},"description":"V1IdentitySpacesApiError"}},"security":[],"tags":["v1IdentitySpaces"]},"post":{"operationId":"v1IdentitySpaces.postLeaveSpace","parameters":[{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LeaveSpaceInput"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/LeaveSpaceInput1"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/LeaveSpaceInput2"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LeaveSpaceSuccess"}}},"description":"LeaveSpaceSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError"}}},"description":"V1IdentitySpacesApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError1"}}},"description":"V1IdentitySpacesApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError2"}}},"description":"V1IdentitySpacesApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError4"}}},"description":"V1IdentitySpacesApiError"}},"security":[],"tags":["v1IdentitySpaces"]}},"/v1/logout":{"get":{"operationId":"auth.getLogout","parameters":[{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityLogoutSuccess"}}},"description":"IdentityLogoutSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityApiError"}}},"description":"IdentityApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityApiError1"}}},"description":"IdentityApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityApiError3"}}},"description":"IdentityApiError"}},"security":[],"tags":["auth"]},"post":{"operationId":"auth.postLogout","parameters":[{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LogoutInput"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/LogoutInput1"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/LogoutInput2"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityLogoutSuccess"}}},"description":"IdentityLogoutSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityApiError"}}},"description":"IdentityApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityApiError1"}}},"description":"IdentityApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityApiError3"}}},"description":"IdentityApiError"}},"security":[],"tags":["auth"]}},"/v1/readMessages":{"get":{"operationId":"v1MessagingProviders.getReadMessages","parameters":[{"in":"query","name":"peerUserId","required":false,"schema":{"$ref":"#/components/schemas/V1InputId"}},{"in":"query","name":"peerThreadId","required":false,"schema":{"$ref":"#/components/schemas/V1InputId"}},{"in":"query","name":"maxId","required":false,"schema":{"$ref":"#/components/schemas/WireSafeInteger6"}},{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReadMessagesSuccess"}}},"description":"ReadMessagesSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]},"post":{"operationId":"v1MessagingProviders.postReadMessages","parameters":[{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReadMessagesInput"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/ReadMessagesInput1"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/ReadMessagesInput2"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReadMessagesSuccess"}}},"description":"ReadMessagesSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]}},"/v1/saveLinearTeamId":{"get":{"operationId":"v1MessagingProviders.getSaveLinearTeamId","parameters":[{"in":"query","name":"spaceId","required":true,"schema":{"type":"string"}},{"in":"query","name":"teamId","required":true,"schema":{"$ref":"#/components/schemas/LinearTeamId"}},{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SaveLinearTeamIdSuccess"}}},"description":"SaveLinearTeamIdSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]},"post":{"operationId":"v1MessagingProviders.postSaveLinearTeamId","parameters":[{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SaveLinearTeamIdInput"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/SaveLinearTeamIdInput1"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/SaveLinearTeamIdInput2"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SaveLinearTeamIdSuccess"}}},"description":"SaveLinearTeamIdSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]}},"/v1/saveNotionDatabaseId":{"get":{"operationId":"v1MessagingProviders.getSaveNotionDatabaseId","parameters":[{"in":"query","name":"spaceId","required":true,"schema":{"type":"string"}},{"in":"query","name":"databaseId","required":true,"schema":{"$ref":"#/components/schemas/NotionDatabaseId"}},{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SaveNotionDatabaseIdSuccess"}}},"description":"SaveNotionDatabaseIdSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]},"post":{"operationId":"v1MessagingProviders.postSaveNotionDatabaseId","parameters":[{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SaveNotionDatabaseIdInput"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/SaveNotionDatabaseIdInput1"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/SaveNotionDatabaseIdInput2"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SaveNotionDatabaseIdSuccess"}}},"description":"SaveNotionDatabaseIdSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]}},"/v1/savePushNotification":{"get":{"operationId":"v1IdentitySpaces.getSavePushNotification","parameters":[{"in":"query","name":"applePushToken","required":true,"schema":{"type":"string"}},{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesEmptySuccess"}}},"description":"V1IdentitySpacesEmptySuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError"}}},"description":"V1IdentitySpacesApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError1"}}},"description":"V1IdentitySpacesApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError2"}}},"description":"V1IdentitySpacesApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError4"}}},"description":"V1IdentitySpacesApiError"}},"security":[],"tags":["v1IdentitySpaces"]},"post":{"operationId":"v1IdentitySpaces.postSavePushNotification","parameters":[{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SavePushNotificationInput"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/SavePushNotificationInput1"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/SavePushNotificationInput2"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesEmptySuccess"}}},"description":"V1IdentitySpacesEmptySuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError"}}},"description":"V1IdentitySpacesApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError1"}}},"description":"V1IdentitySpacesApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError2"}}},"description":"V1IdentitySpacesApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError4"}}},"description":"V1IdentitySpacesApiError"}},"security":[],"tags":["v1IdentitySpaces"]}},"/v1/searchContacts":{"get":{"operationId":"v1IdentitySpaces.getSearchContacts","parameters":[{"in":"query","name":"q","required":true,"schema":{"type":"string"}},{"in":"query","name":"limit","required":false,"schema":{"$ref":"#/components/schemas/WireSafeInteger2"}},{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchContactsSuccess"}}},"description":"SearchContactsSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError"}}},"description":"V1IdentitySpacesApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError1"}}},"description":"V1IdentitySpacesApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError2"}}},"description":"V1IdentitySpacesApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError4"}}},"description":"V1IdentitySpacesApiError"}},"security":[],"tags":["v1IdentitySpaces"]},"post":{"operationId":"v1IdentitySpaces.postSearchContacts","parameters":[{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchContactsInput"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/SearchContactsInput1"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/SearchContactsInput2"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchContactsSuccess"}}},"description":"SearchContactsSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError"}}},"description":"V1IdentitySpacesApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError1"}}},"description":"V1IdentitySpacesApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError2"}}},"description":"V1IdentitySpacesApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError4"}}},"description":"V1IdentitySpacesApiError"}},"security":[],"tags":["v1IdentitySpaces"]}},"/v1/sendComposeAction":{"get":{"operationId":"v1MessagingProviders.getSendComposeAction","parameters":[{"in":"query","name":"action","required":false,"schema":{"enum":["null","typing","uploadingDocument","uploadingPhoto","uploadingVideo","recordingVoice","working"],"type":"string"}},{"in":"query","name":"peerId","required":false,"schema":{"anyOf":[{"enum":["null"],"type":"string"},{"$ref":"#/components/schemas/V1InputPeerInfo"}]}},{"in":"query","name":"peerUserId","required":false,"schema":{"anyOf":[{"enum":["null"],"type":"string"},{"$ref":"#/components/schemas/V1InputId"}]}},{"in":"query","name":"peerThreadId","required":false,"schema":{"anyOf":[{"enum":["null"],"type":"string"},{"$ref":"#/components/schemas/V1InputId"}]}},{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SendComposeActionSuccess"}}},"description":"SendComposeActionSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]},"post":{"operationId":"v1MessagingProviders.postSendComposeAction","parameters":[{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SendComposeActionInput"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/SendComposeActionInput1"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/SendComposeActionInput2"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SendComposeActionSuccess"}}},"description":"SendComposeActionSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]}},"/v1/sendEmailCode":{"get":{"operationId":"auth.getSendEmailCode","parameters":[{"in":"query","name":"email","required":true,"schema":{"type":"string"}},{"in":"query","name":"deviceId","required":false,"schema":{"type":"string"}},{"in":"query","name":"clientType","required":false,"schema":{"type":"string"}},{"in":"query","name":"clientVersion","required":false,"schema":{"type":"string"}},{"in":"query","name":"osVersion","required":false,"schema":{"type":"string"}},{"in":"query","name":"deviceName","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SendEmailCodeSuccess"}}},"description":"SendEmailCodeSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityApiError"}}},"description":"IdentityApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityApiError1"}}},"description":"IdentityApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityApiError3"}}},"description":"IdentityApiError"}},"security":[],"tags":["auth"]},"post":{"operationId":"auth.postSendEmailCode","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SendEmailCodeInput"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/SendEmailCodeInput1"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/SendEmailCodeInput2"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SendEmailCodeSuccess"}}},"description":"SendEmailCodeSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityApiError"}}},"description":"IdentityApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityApiError1"}}},"description":"IdentityApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityApiError3"}}},"description":"IdentityApiError"}},"security":[],"tags":["auth"]}},"/v1/sendMessage":{"get":{"operationId":"v1MessagingProviders.getSendMessage","parameters":[{"in":"query","name":"peerId","required":false,"schema":{"anyOf":[{"enum":["null"],"type":"string"},{"$ref":"#/components/schemas/V1InputPeerInfo"}]}},{"in":"query","name":"peerUserId","required":false,"schema":{"anyOf":[{"enum":["null"],"type":"string"},{"$ref":"#/components/schemas/V1InputId"}]}},{"in":"query","name":"peerThreadId","required":false,"schema":{"anyOf":[{"enum":["null"],"type":"string"},{"$ref":"#/components/schemas/V1InputId"}]}},{"in":"query","name":"text","required":false,"schema":{"anyOf":[{"enum":["null"],"type":"string"},{"type":"string"}]}},{"in":"query","name":"replyToMessageId","required":false,"schema":{"anyOf":[{"enum":["null"],"type":"string"},{"$ref":"#/components/schemas/V1InputId"}]}},{"in":"query","name":"randomId","required":false,"schema":{"anyOf":[{"enum":["null"],"type":"string"},{"type":"string"}]}},{"in":"query","name":"fileUniqueId","required":false,"schema":{"anyOf":[{"enum":["null"],"type":"string"},{"type":"string"}]}},{"in":"query","name":"isSticker","required":false,"schema":{"enum":["true","false","null"],"type":"string"}},{"in":"query","name":"parseMarkdown","required":false,"schema":{"enum":["true","false","null"],"type":"string"}},{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SendMessageSuccess"}}},"description":"SendMessageSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]},"post":{"operationId":"v1MessagingProviders.postSendMessage","parameters":[{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SendMessageInput"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/SendMessageInput1"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/SendMessageInput2"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SendMessageSuccess"}}},"description":"SendMessageSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]}},"/v1/sendMessage20250509":{"get":{"operationId":"v1MessagingProviders.getSendMessage20250509","parameters":[{"in":"query","name":"peerId","required":false,"schema":{"anyOf":[{"enum":["null"],"type":"string"},{"$ref":"#/components/schemas/V1InputPeerInfo"}]}},{"in":"query","name":"peerUserId","required":false,"schema":{"anyOf":[{"enum":["null"],"type":"string"},{"$ref":"#/components/schemas/V1InputId"}]}},{"in":"query","name":"peerThreadId","required":false,"schema":{"anyOf":[{"enum":["null"],"type":"string"},{"$ref":"#/components/schemas/V1InputId"}]}},{"in":"query","name":"text","required":false,"schema":{"anyOf":[{"enum":["null"],"type":"string"},{"type":"string"}]}},{"in":"query","name":"photoId","required":false,"schema":{"anyOf":[{"enum":["null"],"type":"string"},{"$ref":"#/components/schemas/V1InputId"}]}},{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SendMessage20250509Success"}}},"description":"SendMessage20250509Success"},"400":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/V1MessagingProvidersApiError6"},{"$ref":"#/components/schemas/V1BotCompatApiError"}]}}},"description":"Error"},"401":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/V1MessagingProvidersApiError6"},{"$ref":"#/components/schemas/V1BotCompatApiError"}]}}},"description":"Error"},"403":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/V1MessagingProvidersApiError6"},{"$ref":"#/components/schemas/V1BotCompatApiError"}]}}},"description":"Error"},"404":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/V1MessagingProvidersApiError6"},{"$ref":"#/components/schemas/V1BotCompatApiError"}]}}},"description":"Error"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/V1MessagingProvidersApiError6"},{"$ref":"#/components/schemas/V1BotCompatApiError"}]}}},"description":"Error"}},"security":[],"tags":["v1MessagingProviders"]},"post":{"operationId":"v1MessagingProviders.postSendMessage20250509","parameters":[{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SendMessage20250509Input"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/SendMessage20250509Input1"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/SendMessage20250509Input2"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SendMessage20250509Success"}}},"description":"SendMessage20250509Success"},"400":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/V1MessagingProvidersApiError6"},{"$ref":"#/components/schemas/V1BotCompatApiError"}]}}},"description":"Error"},"401":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/V1MessagingProvidersApiError6"},{"$ref":"#/components/schemas/V1BotCompatApiError"}]}}},"description":"Error"},"403":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/V1MessagingProvidersApiError6"},{"$ref":"#/components/schemas/V1BotCompatApiError"}]}}},"description":"Error"},"404":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/V1MessagingProvidersApiError6"},{"$ref":"#/components/schemas/V1BotCompatApiError"}]}}},"description":"Error"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/V1MessagingProvidersApiError6"},{"$ref":"#/components/schemas/V1BotCompatApiError"}]}}},"description":"Error"}},"security":[],"tags":["v1MessagingProviders"]}},"/v1/sendSmsCode":{"get":{"operationId":"auth.getSendSmsCode","parameters":[{"in":"query","name":"phoneNumber","required":true,"schema":{"type":"string"}},{"in":"query","name":"deviceId","required":false,"schema":{"type":"string"}},{"in":"query","name":"clientType","required":false,"schema":{"type":"string"}},{"in":"query","name":"clientVersion","required":false,"schema":{"type":"string"}},{"in":"query","name":"osVersion","required":false,"schema":{"type":"string"}},{"in":"query","name":"deviceName","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SendSmsCodeSuccess"}}},"description":"SendSmsCodeSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityApiError"}}},"description":"IdentityApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityApiError1"}}},"description":"IdentityApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityApiError3"}}},"description":"IdentityApiError"}},"security":[],"tags":["auth"]},"post":{"operationId":"auth.postSendSmsCode","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SendSmsCodeInput"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/SendSmsCodeInput1"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/SendSmsCodeInput2"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SendSmsCodeSuccess"}}},"description":"SendSmsCodeSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityApiError"}}},"description":"IdentityApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityApiError1"}}},"description":"IdentityApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityApiError3"}}},"description":"IdentityApiError"}},"security":[],"tags":["auth"]}},"/v1/space-join/resolve":{"post":{"operationId":"auxiliary.spaceJoinResolve","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SpaceJoinResolveInput"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SpaceJoinResolveSuccess"}}},"description":"SpaceJoinResolveSuccess"},"404":{"description":"SpaceJoinResolveUnavailable"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SpaceJoinResolveRateLimited"}}},"description":"SpaceJoinResolveRateLimited"},"500":{"content":{"text/plain":{"schema":{"type":"string"}}},"description":"AuxiliaryInternalServerError"}},"security":[],"tags":["auxiliary"]}},"/v1/updateDialog":{"get":{"operationId":"v1MessagingProviders.getUpdateDialog","parameters":[{"in":"query","name":"pinned","required":false,"schema":{"enum":["true","false"],"type":"string"}},{"in":"query","name":"peerId","required":false,"schema":{"$ref":"#/components/schemas/V1InputId"}},{"in":"query","name":"peerUserId","required":false,"schema":{"$ref":"#/components/schemas/V1InputId"}},{"in":"query","name":"peerThreadId","required":false,"schema":{"$ref":"#/components/schemas/V1InputId"}},{"in":"query","name":"draft","required":false,"schema":{"type":"string"}},{"in":"query","name":"archived","required":false,"schema":{"enum":["true","false"],"type":"string"}},{"in":"query","name":"order","required":false,"schema":{"allOf":[{"minLength":1},{"maxLength":128},{"pattern":"^[0-9A-Za-z]+$"}],"type":"string"}},{"in":"query","name":"pinnedOrder","required":false,"schema":{"allOf":[{"minLength":1},{"maxLength":128},{"pattern":"^[0-9A-Za-z]+$"}],"type":"string"}},{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateDialogSuccess"}}},"description":"UpdateDialogSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]},"post":{"operationId":"v1MessagingProviders.postUpdateDialog","parameters":[{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateDialogInput"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/UpdateDialogInput1"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/UpdateDialogInput2"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateDialogSuccess"}}},"description":"UpdateDialogSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]}},"/v1/updateProfile":{"get":{"operationId":"v1IdentitySpaces.getUpdateProfile","parameters":[{"in":"query","name":"firstName","required":false,"schema":{"type":"string"}},{"in":"query","name":"lastName","required":false,"schema":{"type":"string"}},{"in":"query","name":"bio","required":false,"schema":{"type":"string"}},{"in":"query","name":"username","required":false,"schema":{"type":"string"}},{"in":"query","name":"timeZone","required":false,"schema":{"type":"string"}},{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateProfileSuccess"}}},"description":"UpdateProfileSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError"}}},"description":"V1IdentitySpacesApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError1"}}},"description":"V1IdentitySpacesApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError2"}}},"description":"V1IdentitySpacesApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError4"}}},"description":"V1IdentitySpacesApiError"}},"security":[],"tags":["v1IdentitySpaces"]},"post":{"operationId":"v1IdentitySpaces.postUpdateProfile","parameters":[{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateProfileInput"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/UpdateProfileInput1"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/UpdateProfileInput2"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateProfileSuccess"}}},"description":"UpdateProfileSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError"}}},"description":"V1IdentitySpacesApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError1"}}},"description":"V1IdentitySpacesApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError2"}}},"description":"V1IdentitySpacesApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError4"}}},"description":"V1IdentitySpacesApiError"}},"security":[],"tags":["v1IdentitySpaces"]}},"/v1/updateProfilePhoto":{"get":{"operationId":"v1IdentitySpaces.getUpdateProfilePhoto","parameters":[{"in":"query","name":"fileUniqueId","required":true,"schema":{"type":"string"}},{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateProfilePhotoSuccess"}}},"description":"UpdateProfilePhotoSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError"}}},"description":"V1IdentitySpacesApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError1"}}},"description":"V1IdentitySpacesApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError2"}}},"description":"V1IdentitySpacesApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError4"}}},"description":"V1IdentitySpacesApiError"}},"security":[],"tags":["v1IdentitySpaces"]},"post":{"operationId":"v1IdentitySpaces.postUpdateProfilePhoto","parameters":[{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateProfilePhotoInput"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/UpdateProfilePhotoInput1"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/UpdateProfilePhotoInput2"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateProfilePhotoSuccess"}}},"description":"UpdateProfilePhotoSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError"}}},"description":"V1IdentitySpacesApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError1"}}},"description":"V1IdentitySpacesApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError2"}}},"description":"V1IdentitySpacesApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError4"}}},"description":"V1IdentitySpacesApiError"}},"security":[],"tags":["v1IdentitySpaces"]}},"/v1/updateStatus":{"get":{"operationId":"v1IdentitySpaces.getUpdateStatus","parameters":[{"in":"query","name":"online","required":true,"schema":{"enum":["true","false"],"type":"string"}},{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateStatusSuccess"}}},"description":"UpdateStatusSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError"}}},"description":"V1IdentitySpacesApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError1"}}},"description":"V1IdentitySpacesApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError2"}}},"description":"V1IdentitySpacesApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError4"}}},"description":"V1IdentitySpacesApiError"}},"security":[],"tags":["v1IdentitySpaces"]},"post":{"operationId":"v1IdentitySpaces.postUpdateStatus","parameters":[{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateStatusInput"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/UpdateStatusInput1"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/UpdateStatusInput2"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateStatusSuccess"}}},"description":"UpdateStatusSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError"}}},"description":"V1IdentitySpacesApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError1"}}},"description":"V1IdentitySpacesApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError2"}}},"description":"V1IdentitySpacesApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError4"}}},"description":"V1IdentitySpacesApiError"}},"security":[],"tags":["v1IdentitySpaces"]}},"/v1/uploadFile":{"post":{"operationId":"v1MessagingProviders.postUploadFile","parameters":[{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/UploadFilePayload"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UploadFileSuccess"}}},"description":"UploadFileSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]}},"/v1/verifyEmailCode":{"get":{"operationId":"auth.getVerifyEmailCode","parameters":[{"in":"query","name":"email","required":true,"schema":{"type":"string"}},{"in":"query","name":"code","required":true,"schema":{"type":"string"}},{"in":"query","name":"challengeToken","required":false,"schema":{"type":"string"}},{"in":"query","name":"inviteCode","required":false,"schema":{"type":"string"}},{"in":"query","name":"deviceId","required":false,"schema":{"type":"string"}},{"in":"query","name":"clientType","required":false,"schema":{"type":"string"}},{"in":"query","name":"clientVersion","required":false,"schema":{"type":"string"}},{"in":"query","name":"osVersion","required":false,"schema":{"type":"string"}},{"in":"query","name":"deviceName","required":false,"schema":{"type":"string"}},{"in":"query","name":"timezone","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VerifyEmailCodeSuccess"}}},"description":"VerifyEmailCodeSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityApiError"}}},"description":"IdentityApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityApiError1"}}},"description":"IdentityApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityApiError3"}}},"description":"IdentityApiError"}},"security":[],"tags":["auth"]},"post":{"operationId":"auth.postVerifyEmailCode","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VerifyEmailCodeInput"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/VerifyEmailCodeInput1"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/VerifyEmailCodeInput2"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VerifyEmailCodeSuccess"}}},"description":"VerifyEmailCodeSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityApiError"}}},"description":"IdentityApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityApiError1"}}},"description":"IdentityApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityApiError3"}}},"description":"IdentityApiError"}},"security":[],"tags":["auth"]}},"/v1/verifySmsCode":{"get":{"operationId":"auth.getVerifySmsCode","parameters":[{"in":"query","name":"phoneNumber","required":true,"schema":{"type":"string"}},{"in":"query","name":"code","required":true,"schema":{"type":"string"}},{"in":"query","name":"inviteCode","required":false,"schema":{"type":"string"}},{"in":"query","name":"deviceId","required":false,"schema":{"type":"string"}},{"in":"query","name":"clientType","required":false,"schema":{"type":"string"}},{"in":"query","name":"clientVersion","required":false,"schema":{"type":"string"}},{"in":"query","name":"osVersion","required":false,"schema":{"type":"string"}},{"in":"query","name":"deviceName","required":false,"schema":{"type":"string"}},{"in":"query","name":"timezone","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VerifySmsCodeSuccess"}}},"description":"VerifySmsCodeSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityApiError"}}},"description":"IdentityApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityApiError1"}}},"description":"IdentityApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityApiError3"}}},"description":"IdentityApiError"}},"security":[],"tags":["auth"]},"post":{"operationId":"auth.postVerifySmsCode","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VerifySmsCodeInput"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/VerifySmsCodeInput1"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/VerifySmsCodeInput2"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VerifySmsCodeSuccess"}}},"description":"VerifySmsCodeSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityApiError"}}},"description":"IdentityApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityApiError1"}}},"description":"IdentityApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityApiError3"}}},"description":"IdentityApiError"}},"security":[],"tags":["auth"]}},"/v1/{token}/addMember":{"get":{"operationId":"v1IdentitySpaces.getAddMemberWithToken","parameters":[{"in":"path","name":"token","required":true,"schema":{"type":"string"}},{"in":"query","name":"spaceId","required":true,"schema":{"$ref":"#/components/schemas/V1InputId"}},{"in":"query","name":"userId","required":true,"schema":{"$ref":"#/components/schemas/V1InputId"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddMemberSuccess"}}},"description":"AddMemberSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError"}}},"description":"V1IdentitySpacesApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError1"}}},"description":"V1IdentitySpacesApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError2"}}},"description":"V1IdentitySpacesApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError4"}}},"description":"V1IdentitySpacesApiError"}},"security":[],"tags":["v1IdentitySpaces"]}},"/v1/{token}/addReaction":{"get":{"operationId":"v1MessagingProviders.getAddReactionWithToken","parameters":[{"in":"path","name":"token","required":true,"schema":{"type":"string"}},{"in":"query","name":"messageId","required":true,"schema":{"$ref":"#/components/schemas/V1InputId"}},{"in":"query","name":"chatId","required":true,"schema":{"$ref":"#/components/schemas/V1InputId"}},{"in":"query","name":"emoji","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddReactionSuccess"}}},"description":"AddReactionSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]}},"/v1/{token}/checkUsername":{"get":{"operationId":"v1IdentitySpaces.getCheckUsernameWithToken","parameters":[{"in":"path","name":"token","required":true,"schema":{"type":"string"}},{"in":"query","name":"username","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckUsernameSuccess"}}},"description":"CheckUsernameSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError"}}},"description":"V1IdentitySpacesApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError1"}}},"description":"V1IdentitySpacesApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError2"}}},"description":"V1IdentitySpacesApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError4"}}},"description":"V1IdentitySpacesApiError"}},"security":[],"tags":["v1IdentitySpaces"]}},"/v1/{token}/createLinearIssue":{"get":{"operationId":"v1MessagingProviders.getCreateLinearIssueWithToken","parameters":[{"in":"path","name":"token","required":true,"schema":{"type":"string"}},{"in":"query","name":"text","required":true,"schema":{"type":"string"}},{"in":"query","name":"messageId","required":true,"schema":{"$ref":"#/components/schemas/WireSafeInteger1"}},{"in":"query","name":"chatId","required":true,"schema":{"$ref":"#/components/schemas/WireSafeInteger1"}},{"in":"query","name":"peerId","required":true,"schema":{"$ref":"#/components/schemas/V1InputPeerInfo"}},{"in":"query","name":"fromId","required":true,"schema":{"$ref":"#/components/schemas/WireSafeInteger1"}},{"in":"query","name":"spaceId","required":false,"schema":{"$ref":"#/components/schemas/SpaceId"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateLinearIssueSuccess"}}},"description":"CreateLinearIssueSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]}},"/v1/{token}/createNotionTask":{"get":{"operationId":"v1MessagingProviders.getCreateNotionTaskWithToken","parameters":[{"in":"path","name":"token","required":true,"schema":{"type":"string"}},{"in":"query","name":"spaceId","required":true,"schema":{"$ref":"#/components/schemas/WireSafeInteger1"}},{"in":"query","name":"messageId","required":true,"schema":{"$ref":"#/components/schemas/WireSafeInteger1"}},{"in":"query","name":"chatId","required":true,"schema":{"$ref":"#/components/schemas/WireSafeInteger1"}},{"in":"query","name":"peerId","required":true,"schema":{"$ref":"#/components/schemas/V1InputPeerInfo"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateNotionTaskSuccess"}}},"description":"CreateNotionTaskSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]}},"/v1/{token}/createPrivateChat":{"get":{"operationId":"v1MessagingProviders.getCreatePrivateChatWithToken","parameters":[{"in":"path","name":"token","required":true,"schema":{"type":"string"}},{"in":"query","name":"userId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreatePrivateChatSuccess"}}},"description":"CreatePrivateChatSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]}},"/v1/{token}/createSpace":{"get":{"operationId":"v1IdentitySpaces.getCreateSpaceWithToken","parameters":[{"in":"path","name":"token","required":true,"schema":{"type":"string"}},{"in":"query","name":"name","required":true,"schema":{"type":"string"}},{"in":"query","name":"handle","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateSpaceSuccess"}}},"description":"CreateSpaceSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError"}}},"description":"V1IdentitySpacesApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError1"}}},"description":"V1IdentitySpacesApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError2"}}},"description":"V1IdentitySpacesApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError4"}}},"description":"V1IdentitySpacesApiError"}},"security":[],"tags":["v1IdentitySpaces"]}},"/v1/{token}/createThread":{"get":{"operationId":"v1MessagingProviders.getCreateThreadWithToken","parameters":[{"in":"path","name":"token","required":true,"schema":{"type":"string"}},{"in":"query","name":"title","required":true,"schema":{"type":"string"}},{"in":"query","name":"spaceId","required":true,"schema":{"$ref":"#/components/schemas/V1InputId"}},{"in":"query","name":"emoji","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateThreadSuccess"}}},"description":"CreateThreadSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]}},"/v1/{token}/deleteAttachment":{"get":{"operationId":"v1MessagingProviders.getDeleteAttachmentWithToken","parameters":[{"in":"path","name":"token","required":true,"schema":{"type":"string"}},{"in":"query","name":"externalTaskId","required":true,"schema":{"$ref":"#/components/schemas/WireSafeInteger1"}},{"in":"query","name":"pageId","required":true,"schema":{"type":"string"}},{"in":"query","name":"messageId","required":true,"schema":{"$ref":"#/components/schemas/WireSafeInteger1"}},{"in":"query","name":"chatId","required":true,"schema":{"$ref":"#/components/schemas/WireSafeInteger1"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteAttachmentSuccess"}}},"description":"DeleteAttachmentSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]}},"/v1/{token}/deleteMessage":{"get":{"operationId":"v1MessagingProviders.getDeleteMessageWithToken","parameters":[{"in":"path","name":"token","required":true,"schema":{"type":"string"}},{"in":"query","name":"messageId","required":true,"schema":{"$ref":"#/components/schemas/V1InputId"}},{"in":"query","name":"chatId","required":true,"schema":{"$ref":"#/components/schemas/V1InputId"}},{"in":"query","name":"peerUserId","required":false,"schema":{"$ref":"#/components/schemas/V1InputId"}},{"in":"query","name":"peerThreadId","required":false,"schema":{"$ref":"#/components/schemas/V1InputId"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteMessageSuccess"}}},"description":"DeleteMessageSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]}},"/v1/{token}/deleteSpace":{"get":{"operationId":"v1IdentitySpaces.getDeleteSpaceWithToken","parameters":[{"in":"path","name":"token","required":true,"schema":{"type":"string"}},{"in":"query","name":"spaceId","required":true,"schema":{"$ref":"#/components/schemas/V1InputId"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesEmptySuccess"}}},"description":"V1IdentitySpacesEmptySuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError"}}},"description":"V1IdentitySpacesApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError1"}}},"description":"V1IdentitySpacesApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError2"}}},"description":"V1IdentitySpacesApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError4"}}},"description":"V1IdentitySpacesApiError"}},"security":[],"tags":["v1IdentitySpaces"]}},"/v1/{token}/disconnectIntegration":{"get":{"operationId":"v1MessagingProviders.getDisconnectIntegrationWithToken","parameters":[{"in":"path","name":"token","required":true,"schema":{"type":"string"}},{"in":"query","name":"spaceId","required":true,"schema":{"$ref":"#/components/schemas/WireSafeInteger1"}},{"in":"query","name":"provider","required":true,"schema":{"enum":["notion","linear"],"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DisconnectIntegrationSuccess"}}},"description":"DisconnectIntegrationSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]}},"/v1/{token}/getAlphaText":{"get":{"operationId":"v1MessagingProviders.getGetAlphaTextWithToken","parameters":[{"in":"path","name":"token","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetAlphaTextSuccess"}}},"description":"GetAlphaTextSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]}},"/v1/{token}/getChatHistory":{"get":{"operationId":"v1MessagingProviders.getGetChatHistoryWithToken","parameters":[{"in":"path","name":"token","required":true,"schema":{"type":"string"}},{"in":"query","name":"peerId","required":false,"schema":{"$ref":"#/components/schemas/V1InputPeerInfo"}},{"in":"query","name":"peerUserId","required":false,"schema":{"$ref":"#/components/schemas/V1InputId"}},{"in":"query","name":"peerThreadId","required":false,"schema":{"$ref":"#/components/schemas/V1InputId"}},{"in":"query","name":"limit","required":false,"schema":{"$ref":"#/components/schemas/WireSafeInteger4"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetChatHistorySuccess"}}},"description":"GetChatHistorySuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]}},"/v1/{token}/getDialogs":{"get":{"operationId":"v1MessagingProviders.getGetDialogsWithToken","parameters":[{"in":"path","name":"token","required":true,"schema":{"type":"string"}},{"in":"query","name":"spaceId","required":true,"schema":{"$ref":"#/components/schemas/V1InputId"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetDialogsSuccess"}}},"description":"GetDialogsSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]}},"/v1/{token}/getDraft":{"get":{"operationId":"v1MessagingProviders.getGetDraftWithToken","parameters":[{"in":"path","name":"token","required":true,"schema":{"type":"string"}},{"in":"query","name":"peerUserId","required":false,"schema":{"$ref":"#/components/schemas/V1InputId"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetDraftSuccess"}}},"description":"GetDraftSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]}},"/v1/{token}/getIntegrations":{"get":{"operationId":"v1MessagingProviders.getGetIntegrationsWithToken","parameters":[{"in":"path","name":"token","required":true,"schema":{"type":"string"}},{"in":"query","name":"userId","required":true,"schema":{"$ref":"#/components/schemas/V1InputId"}},{"in":"query","name":"spaceId","required":false,"schema":{"$ref":"#/components/schemas/V1InputId"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetIntegrationsSuccess"}}},"description":"GetIntegrationsSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]}},"/v1/{token}/getInviteCodes":{"get":{"operationId":"v1IdentitySpaces.getGetInviteCodesWithToken","parameters":[{"in":"path","name":"token","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetInviteCodesSuccess"}}},"description":"GetInviteCodesSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError"}}},"description":"V1IdentitySpacesApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError1"}}},"description":"V1IdentitySpacesApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError2"}}},"description":"V1IdentitySpacesApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError4"}}},"description":"V1IdentitySpacesApiError"}},"security":[],"tags":["v1IdentitySpaces"]}},"/v1/{token}/getLinearTeams":{"get":{"operationId":"v1MessagingProviders.getGetLinearTeamsWithToken","parameters":[{"in":"path","name":"token","required":true,"schema":{"type":"string"}},{"in":"query","name":"spaceId","required":true,"schema":{"$ref":"#/components/schemas/WireSafeInteger1"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetLinearTeamsSuccess"}}},"description":"GetLinearTeamsSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]}},"/v1/{token}/getMe":{"get":{"operationId":"v1IdentitySpaces.getGetMeWithToken","parameters":[{"in":"path","name":"token","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetMeSuccess"}}},"description":"GetMeSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError"}}},"description":"V1IdentitySpacesApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError1"}}},"description":"V1IdentitySpacesApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError2"}}},"description":"V1IdentitySpacesApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError4"}}},"description":"V1IdentitySpacesApiError"}},"security":[],"tags":["v1IdentitySpaces"]}},"/v1/{token}/getNotionDatabases":{"get":{"operationId":"v1MessagingProviders.getGetNotionDatabasesWithToken","parameters":[{"in":"path","name":"token","required":true,"schema":{"type":"string"}},{"in":"query","name":"spaceId","required":true,"schema":{"$ref":"#/components/schemas/WireSafeInteger1"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetNotionDatabasesSuccess"}}},"description":"GetNotionDatabasesSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]}},"/v1/{token}/getPrivateChats":{"get":{"operationId":"v1MessagingProviders.getGetPrivateChatsWithToken","parameters":[{"in":"path","name":"token","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetPrivateChatsSuccess"}}},"description":"GetPrivateChatsSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]}},"/v1/{token}/getSpace":{"get":{"operationId":"v1IdentitySpaces.getGetSpaceWithToken","parameters":[{"in":"path","name":"token","required":true,"schema":{"type":"string"}},{"in":"query","name":"id","required":true,"schema":{"$ref":"#/components/schemas/V1InputId"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetSpaceSuccess"}}},"description":"GetSpaceSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError"}}},"description":"V1IdentitySpacesApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError1"}}},"description":"V1IdentitySpacesApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError2"}}},"description":"V1IdentitySpacesApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError4"}}},"description":"V1IdentitySpacesApiError"}},"security":[],"tags":["v1IdentitySpaces"]}},"/v1/{token}/getSpaceMembers":{"get":{"operationId":"v1IdentitySpaces.getGetSpaceMembersWithToken","parameters":[{"in":"path","name":"token","required":true,"schema":{"type":"string"}},{"in":"query","name":"spaceId","required":true,"schema":{"$ref":"#/components/schemas/V1InputId"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetSpaceMembersSuccess"}}},"description":"GetSpaceMembersSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError"}}},"description":"V1IdentitySpacesApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError1"}}},"description":"V1IdentitySpacesApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError2"}}},"description":"V1IdentitySpacesApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError4"}}},"description":"V1IdentitySpacesApiError"}},"security":[],"tags":["v1IdentitySpaces"]}},"/v1/{token}/getSpaces":{"get":{"operationId":"v1IdentitySpaces.getGetSpacesWithToken","parameters":[{"in":"path","name":"token","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetSpacesSuccess"}}},"description":"GetSpacesSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError"}}},"description":"V1IdentitySpacesApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError1"}}},"description":"V1IdentitySpacesApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError2"}}},"description":"V1IdentitySpacesApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError4"}}},"description":"V1IdentitySpacesApiError"}},"security":[],"tags":["v1IdentitySpaces"]}},"/v1/{token}/getUser":{"get":{"operationId":"v1IdentitySpaces.getGetUserWithToken","parameters":[{"in":"path","name":"token","required":true,"schema":{"type":"string"}},{"in":"query","name":"id","required":true,"schema":{"$ref":"#/components/schemas/V1InputId"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetUserSuccess"}}},"description":"GetUserSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError"}}},"description":"V1IdentitySpacesApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError1"}}},"description":"V1IdentitySpacesApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError2"}}},"description":"V1IdentitySpacesApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError4"}}},"description":"V1IdentitySpacesApiError"}},"security":[],"tags":["v1IdentitySpaces"]}},"/v1/{token}/leaveSpace":{"get":{"operationId":"v1IdentitySpaces.getLeaveSpaceWithToken","parameters":[{"in":"path","name":"token","required":true,"schema":{"type":"string"}},{"in":"query","name":"spaceId","required":true,"schema":{"$ref":"#/components/schemas/V1InputId"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LeaveSpaceSuccess"}}},"description":"LeaveSpaceSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError"}}},"description":"V1IdentitySpacesApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError1"}}},"description":"V1IdentitySpacesApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError2"}}},"description":"V1IdentitySpacesApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError4"}}},"description":"V1IdentitySpacesApiError"}},"security":[],"tags":["v1IdentitySpaces"]}},"/v1/{token}/logout":{"get":{"operationId":"auth.getLogoutWithToken","parameters":[{"in":"path","name":"token","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityLogoutSuccess"}}},"description":"IdentityLogoutSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityApiError"}}},"description":"IdentityApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityApiError1"}}},"description":"IdentityApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityApiError3"}}},"description":"IdentityApiError"}},"security":[],"tags":["auth"]}},"/v1/{token}/readMessages":{"get":{"operationId":"v1MessagingProviders.getReadMessagesWithToken","parameters":[{"in":"path","name":"token","required":true,"schema":{"type":"string"}},{"in":"query","name":"peerUserId","required":false,"schema":{"$ref":"#/components/schemas/V1InputId"}},{"in":"query","name":"peerThreadId","required":false,"schema":{"$ref":"#/components/schemas/V1InputId"}},{"in":"query","name":"maxId","required":false,"schema":{"$ref":"#/components/schemas/WireSafeInteger6"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReadMessagesSuccess"}}},"description":"ReadMessagesSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]}},"/v1/{token}/saveLinearTeamId":{"get":{"operationId":"v1MessagingProviders.getSaveLinearTeamIdWithToken","parameters":[{"in":"path","name":"token","required":true,"schema":{"type":"string"}},{"in":"query","name":"spaceId","required":true,"schema":{"type":"string"}},{"in":"query","name":"teamId","required":true,"schema":{"$ref":"#/components/schemas/LinearTeamId"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SaveLinearTeamIdSuccess"}}},"description":"SaveLinearTeamIdSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]}},"/v1/{token}/saveNotionDatabaseId":{"get":{"operationId":"v1MessagingProviders.getSaveNotionDatabaseIdWithToken","parameters":[{"in":"path","name":"token","required":true,"schema":{"type":"string"}},{"in":"query","name":"spaceId","required":true,"schema":{"type":"string"}},{"in":"query","name":"databaseId","required":true,"schema":{"$ref":"#/components/schemas/NotionDatabaseId"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SaveNotionDatabaseIdSuccess"}}},"description":"SaveNotionDatabaseIdSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]}},"/v1/{token}/savePushNotification":{"get":{"operationId":"v1IdentitySpaces.getSavePushNotificationWithToken","parameters":[{"in":"path","name":"token","required":true,"schema":{"type":"string"}},{"in":"query","name":"applePushToken","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesEmptySuccess"}}},"description":"V1IdentitySpacesEmptySuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError"}}},"description":"V1IdentitySpacesApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError1"}}},"description":"V1IdentitySpacesApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError2"}}},"description":"V1IdentitySpacesApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError4"}}},"description":"V1IdentitySpacesApiError"}},"security":[],"tags":["v1IdentitySpaces"]}},"/v1/{token}/searchContacts":{"get":{"operationId":"v1IdentitySpaces.getSearchContactsWithToken","parameters":[{"in":"path","name":"token","required":true,"schema":{"type":"string"}},{"in":"query","name":"q","required":true,"schema":{"type":"string"}},{"in":"query","name":"limit","required":false,"schema":{"$ref":"#/components/schemas/WireSafeInteger2"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchContactsSuccess"}}},"description":"SearchContactsSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError"}}},"description":"V1IdentitySpacesApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError1"}}},"description":"V1IdentitySpacesApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError2"}}},"description":"V1IdentitySpacesApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError4"}}},"description":"V1IdentitySpacesApiError"}},"security":[],"tags":["v1IdentitySpaces"]}},"/v1/{token}/sendComposeAction":{"get":{"operationId":"v1MessagingProviders.getSendComposeActionWithToken","parameters":[{"in":"path","name":"token","required":true,"schema":{"type":"string"}},{"in":"query","name":"action","required":false,"schema":{"enum":["null","typing","uploadingDocument","uploadingPhoto","uploadingVideo","recordingVoice","working"],"type":"string"}},{"in":"query","name":"peerId","required":false,"schema":{"anyOf":[{"enum":["null"],"type":"string"},{"$ref":"#/components/schemas/V1InputPeerInfo"}]}},{"in":"query","name":"peerUserId","required":false,"schema":{"anyOf":[{"enum":["null"],"type":"string"},{"$ref":"#/components/schemas/V1InputId"}]}},{"in":"query","name":"peerThreadId","required":false,"schema":{"anyOf":[{"enum":["null"],"type":"string"},{"$ref":"#/components/schemas/V1InputId"}]}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SendComposeActionSuccess"}}},"description":"SendComposeActionSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]}},"/v1/{token}/sendMessage":{"get":{"operationId":"v1MessagingProviders.getSendMessageWithToken","parameters":[{"in":"path","name":"token","required":true,"schema":{"type":"string"}},{"in":"query","name":"peerId","required":false,"schema":{"anyOf":[{"enum":["null"],"type":"string"},{"$ref":"#/components/schemas/V1InputPeerInfo"}]}},{"in":"query","name":"peerUserId","required":false,"schema":{"anyOf":[{"enum":["null"],"type":"string"},{"$ref":"#/components/schemas/V1InputId"}]}},{"in":"query","name":"peerThreadId","required":false,"schema":{"anyOf":[{"enum":["null"],"type":"string"},{"$ref":"#/components/schemas/V1InputId"}]}},{"in":"query","name":"text","required":false,"schema":{"anyOf":[{"enum":["null"],"type":"string"},{"type":"string"}]}},{"in":"query","name":"replyToMessageId","required":false,"schema":{"anyOf":[{"enum":["null"],"type":"string"},{"$ref":"#/components/schemas/V1InputId"}]}},{"in":"query","name":"randomId","required":false,"schema":{"anyOf":[{"enum":["null"],"type":"string"},{"type":"string"}]}},{"in":"query","name":"fileUniqueId","required":false,"schema":{"anyOf":[{"enum":["null"],"type":"string"},{"type":"string"}]}},{"in":"query","name":"isSticker","required":false,"schema":{"enum":["true","false","null"],"type":"string"}},{"in":"query","name":"parseMarkdown","required":false,"schema":{"enum":["true","false","null"],"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SendMessageSuccess"}}},"description":"SendMessageSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]}},"/v1/{token}/sendMessage20250509":{"get":{"operationId":"v1MessagingProviders.getSendMessage20250509WithToken","parameters":[{"in":"path","name":"token","required":true,"schema":{"type":"string"}},{"in":"query","name":"peerId","required":false,"schema":{"anyOf":[{"enum":["null"],"type":"string"},{"$ref":"#/components/schemas/V1InputPeerInfo"}]}},{"in":"query","name":"peerUserId","required":false,"schema":{"anyOf":[{"enum":["null"],"type":"string"},{"$ref":"#/components/schemas/V1InputId"}]}},{"in":"query","name":"peerThreadId","required":false,"schema":{"anyOf":[{"enum":["null"],"type":"string"},{"$ref":"#/components/schemas/V1InputId"}]}},{"in":"query","name":"text","required":false,"schema":{"anyOf":[{"enum":["null"],"type":"string"},{"type":"string"}]}},{"in":"query","name":"photoId","required":false,"schema":{"anyOf":[{"enum":["null"],"type":"string"},{"$ref":"#/components/schemas/V1InputId"}]}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SendMessage20250509Success"}}},"description":"SendMessage20250509Success"},"400":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/V1MessagingProvidersApiError6"},{"$ref":"#/components/schemas/V1BotCompatApiError"}]}}},"description":"Error"},"401":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/V1MessagingProvidersApiError6"},{"$ref":"#/components/schemas/V1BotCompatApiError"}]}}},"description":"Error"},"403":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/V1MessagingProvidersApiError6"},{"$ref":"#/components/schemas/V1BotCompatApiError"}]}}},"description":"Error"},"404":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/V1MessagingProvidersApiError6"},{"$ref":"#/components/schemas/V1BotCompatApiError"}]}}},"description":"Error"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/V1MessagingProvidersApiError6"},{"$ref":"#/components/schemas/V1BotCompatApiError"}]}}},"description":"Error"}},"security":[],"tags":["v1MessagingProviders"]}},"/v1/{token}/updateDialog":{"get":{"operationId":"v1MessagingProviders.getUpdateDialogWithToken","parameters":[{"in":"path","name":"token","required":true,"schema":{"type":"string"}},{"in":"query","name":"pinned","required":false,"schema":{"enum":["true","false"],"type":"string"}},{"in":"query","name":"peerId","required":false,"schema":{"$ref":"#/components/schemas/V1InputId"}},{"in":"query","name":"peerUserId","required":false,"schema":{"$ref":"#/components/schemas/V1InputId"}},{"in":"query","name":"peerThreadId","required":false,"schema":{"$ref":"#/components/schemas/V1InputId"}},{"in":"query","name":"draft","required":false,"schema":{"type":"string"}},{"in":"query","name":"archived","required":false,"schema":{"enum":["true","false"],"type":"string"}},{"in":"query","name":"order","required":false,"schema":{"allOf":[{"minLength":1},{"maxLength":128},{"pattern":"^[0-9A-Za-z]+$"}],"type":"string"}},{"in":"query","name":"pinnedOrder","required":false,"schema":{"allOf":[{"minLength":1},{"maxLength":128},{"pattern":"^[0-9A-Za-z]+$"}],"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateDialogSuccess"}}},"description":"UpdateDialogSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]}},"/v1/{token}/updateProfile":{"get":{"operationId":"v1IdentitySpaces.getUpdateProfileWithToken","parameters":[{"in":"path","name":"token","required":true,"schema":{"type":"string"}},{"in":"query","name":"firstName","required":false,"schema":{"type":"string"}},{"in":"query","name":"lastName","required":false,"schema":{"type":"string"}},{"in":"query","name":"bio","required":false,"schema":{"type":"string"}},{"in":"query","name":"username","required":false,"schema":{"type":"string"}},{"in":"query","name":"timeZone","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateProfileSuccess"}}},"description":"UpdateProfileSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError"}}},"description":"V1IdentitySpacesApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError1"}}},"description":"V1IdentitySpacesApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError2"}}},"description":"V1IdentitySpacesApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError4"}}},"description":"V1IdentitySpacesApiError"}},"security":[],"tags":["v1IdentitySpaces"]}},"/v1/{token}/updateProfilePhoto":{"get":{"operationId":"v1IdentitySpaces.getUpdateProfilePhotoWithToken","parameters":[{"in":"path","name":"token","required":true,"schema":{"type":"string"}},{"in":"query","name":"fileUniqueId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateProfilePhotoSuccess"}}},"description":"UpdateProfilePhotoSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError"}}},"description":"V1IdentitySpacesApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError1"}}},"description":"V1IdentitySpacesApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError2"}}},"description":"V1IdentitySpacesApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError4"}}},"description":"V1IdentitySpacesApiError"}},"security":[],"tags":["v1IdentitySpaces"]}},"/v1/{token}/updateStatus":{"get":{"operationId":"v1IdentitySpaces.getUpdateStatusWithToken","parameters":[{"in":"path","name":"token","required":true,"schema":{"type":"string"}},{"in":"query","name":"online","required":true,"schema":{"enum":["true","false"],"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateStatusSuccess"}}},"description":"UpdateStatusSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError"}}},"description":"V1IdentitySpacesApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError1"}}},"description":"V1IdentitySpacesApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError2"}}},"description":"V1IdentitySpacesApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError4"}}},"description":"V1IdentitySpacesApiError"}},"security":[],"tags":["v1IdentitySpaces"]}},"/waitlist/subscribe":{"post":{"operationId":"auxiliary.waitlistSubscribe","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WaitlistSubscription"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WaitlistSubscriptionSuccess"}}},"description":"WaitlistSubscriptionSuccess"},"400":{"content":{"text/plain":{"schema":{"type":"string"}}},"description":"AuxiliaryLegacyBadRequest"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuxiliaryLegacyValidationError"}}},"description":"AuxiliaryLegacyValidationError"},"500":{"content":{"text/plain":{"schema":{"type":"string"}}},"description":"AuxiliaryInternalServerError"}},"security":[],"tags":["auxiliary"]}},"/waitlist/super_secret_sub_count":{"get":{"operationId":"auxiliary.waitlistSubscriberCount","parameters":[],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WireNonNegativeInteger"}}},"description":"A non-negative integer that can be represented exactly by a JavaScript number"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"text/plain":{"schema":{"type":"string"}}},"description":"AuxiliaryInternalServerError"}},"security":[],"tags":["auxiliary"]}},"/waitlist/verify":{"post":{"operationId":"auxiliary.waitlistVerify","parameters":[],"responses":{"200":{"content":{"text/plain":{"schema":{"type":"string"}}},"description":"WaitlistVerification"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}}},"security":[],"tags":["auxiliary"]}}},"security":[],"servers":[{"description":"Production API server","url":"https://api.inline.chat"}],"tags":[{"name":"auth"},{"name":"v1IdentitySpaces"},{"name":"v1MessagingProviders"},{"name":"auxiliary"},{"name":"admin"}]} +{"components":{"schemas":{"AddMemberInput":{"additionalProperties":false,"properties":{"spaceId":{"$ref":"#/components/schemas/V1InputId1"},"userId":{"$ref":"#/components/schemas/V1InputId1"}},"required":["spaceId","userId"],"type":"object"},"AddMemberInput1":{"additionalProperties":false,"properties":{"spaceId":{"$ref":"#/components/schemas/V1InputId"},"userId":{"$ref":"#/components/schemas/V1InputId"}},"required":["spaceId","userId"],"type":"object"},"AddMemberInput2":{"additionalProperties":false,"properties":{"spaceId":{"$ref":"#/components/schemas/V1InputId1"},"userId":{"$ref":"#/components/schemas/V1InputId1"}},"required":["spaceId","userId"],"type":"object"},"AddMemberResult":{"additionalProperties":false,"properties":{"member":{"$ref":"#/components/schemas/MemberInfo"}},"required":["member"],"type":"object"},"AddMemberSuccess":{"additionalProperties":false,"properties":{"ok":{"enum":[true],"type":"boolean"},"result":{"$ref":"#/components/schemas/AddMemberResult"}},"required":["ok","result"],"type":"object"},"AddReactionInput":{"additionalProperties":false,"properties":{"chatId":{"$ref":"#/components/schemas/V1InputId1"},"emoji":{"type":"string"},"messageId":{"$ref":"#/components/schemas/V1InputId1"}},"required":["messageId","chatId","emoji"],"type":"object"},"AddReactionInput1":{"additionalProperties":false,"properties":{"chatId":{"$ref":"#/components/schemas/V1InputId"},"emoji":{"type":"string"},"messageId":{"$ref":"#/components/schemas/V1InputId"}},"required":["messageId","chatId","emoji"],"type":"object"},"AddReactionInput2":{"additionalProperties":false,"properties":{"chatId":{"$ref":"#/components/schemas/V1InputId1"},"emoji":{"type":"string"},"messageId":{"$ref":"#/components/schemas/V1InputId1"}},"required":["messageId","chatId","emoji"],"type":"object"},"AddReactionResult":{"additionalProperties":false,"properties":{"reaction":{"$ref":"#/components/schemas/ReactionInfo"}},"required":["reaction"],"type":"object"},"AddReactionSuccess":{"additionalProperties":false,"properties":{"ok":{"enum":[true],"type":"boolean"},"result":{"$ref":"#/components/schemas/AddReactionResult"}},"required":["ok","result"],"type":"object"},"AdminActiveUsersResult":{"additionalProperties":false,"properties":{"limit":{"$ref":"#/components/schemas/WirePositiveInteger"},"ok":{"enum":[true],"type":"boolean"},"period":{"enum":["today","week"],"type":"string"},"users":{"items":{"additionalProperties":false,"properties":{"activeDays":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"email":{"anyOf":[{"type":"string"},{"type":"null"}]},"firstName":{"anyOf":[{"type":"string"},{"type":"null"}]},"id":{"$ref":"#/components/schemas/UserId"},"lastActive":{"type":"string"},"lastName":{"anyOf":[{"type":"string"},{"type":"null"}]},"messageCount":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"username":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["id","email","firstName","lastName","username","activeDays","messageCount","lastActive"],"type":"object"},"type":"array"}},"required":["ok","period","limit","users"],"type":"object"},"AdminAppMetrics":{"additionalProperties":false,"properties":{"activeUsersLast7d":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"activeUsersToday":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"asOf":{"type":"string"},"dailyActivity":{"items":{"additionalProperties":false,"properties":{"activeUsers":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"date":{"type":"string"},"messages":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"newUsers":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"threads":{"$ref":"#/components/schemas/WireNonNegativeInteger"}},"required":["date","activeUsers","newUsers","messages","threads"],"type":"object"},"type":"array"},"dau":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"messagesToday":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"reportingTimeZone":{"enum":["UTC"],"type":"string"},"threadsCreatedToday":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"totals":{"additionalProperties":false,"properties":{"onlineUsers":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"totalUsers":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"verifiedUsers":{"$ref":"#/components/schemas/WireNonNegativeInteger"}},"required":["totalUsers","verifiedUsers","onlineUsers"],"type":"object"},"wau":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"weeklyActivity":{"items":{"$ref":"#/components/schemas/AdminWeeklyActivity"},"type":"array"}},"required":["asOf","reportingTimeZone","dailyActivity","dau","wau","messagesToday","activeUsersToday","activeUsersLast7d","threadsCreatedToday","totals","weeklyActivity"],"type":"object"},"AdminAppMetricsResult":{"additionalProperties":false,"properties":{"metrics":{"$ref":"#/components/schemas/AdminAppMetrics"},"ok":{"enum":[true],"type":"boolean"}},"required":["ok","metrics"],"type":"object"},"AdminCreateEmailCampaignInput":{"additionalProperties":false,"properties":{"audience":{"$ref":"#/components/schemas/AdminEmailCampaignAudience"},"bodyText":{"type":"string"},"confirmation":{"type":"string"},"fromAddress":{"enum":["team@inline.chat","founders@inline.chat","mo@inline.chat"],"type":"string"},"name":{"type":"string"},"previewText":{"type":"string"},"provider":{"enum":["resend","ses"],"type":"string"},"seriesKey":{"type":"string"},"subject":{"type":"string"},"unsubscribeOverrideReason":{"type":"string"},"visibleUnsubscribe":{"type":"boolean"}},"required":["name","provider","fromAddress","subject","bodyText","visibleUnsubscribe","audience","confirmation"],"type":"object"},"AdminEmailCampaignAudience":{"additionalProperties":false,"properties":{"activeWithinDays":{"anyOf":[{"anyOf":[{"type":"number"},{"enum":["NaN"],"type":"string"},{"enum":["Infinity"],"type":"string"},{"enum":["-Infinity"],"type":"string"}]},{"enum":["Infinity","-Infinity","NaN"],"type":"string"}]},"excludeCampaignIds":{"items":{"anyOf":[{"anyOf":[{"type":"number"},{"enum":["NaN"],"type":"string"},{"enum":["Infinity"],"type":"string"},{"enum":["-Infinity"],"type":"string"}]},{"enum":["Infinity","-Infinity","NaN"],"type":"string"}]},"type":"array"},"excludeInlineUsers":{"type":"boolean"},"joinedAfter":{"type":"string"},"joinedBefore":{"type":"string"},"limit":{"anyOf":[{"anyOf":[{"type":"number"},{"enum":["NaN"],"type":"string"},{"enum":["Infinity"],"type":"string"},{"enum":["-Infinity"],"type":"string"}]},{"enum":["Infinity","-Infinity","NaN"],"type":"string"}]},"manualEmails":{"items":{"type":"string"},"type":"array"},"platforms":{"items":{"enum":["ios","macos","web","api","android","windows","linux","cli"],"type":"string"},"type":"array"},"sampleSeed":{"type":"string"},"selectionOrder":{"enum":["newest","oldest","random"],"type":"string"},"sources":{"items":{"enum":["inline","waitlist"],"type":"string"},"type":"array"},"timeZoneGroup":{"enum":["all","americas","europe_africa","asia_oceania"],"type":"string"},"verifiedOnly":{"type":"boolean"}},"required":["sources","verifiedOnly","platforms","manualEmails","excludeCampaignIds","sampleSeed"],"type":"object"},"AdminEmailCampaignPreviewInput":{"additionalProperties":false,"properties":{"audience":{"$ref":"#/components/schemas/AdminEmailCampaignAudience"},"bodyText":{"type":"string"},"previewName":{"type":"string"},"previewText":{"type":"string"},"provider":{"enum":["resend","ses"],"type":"string"},"subject":{"type":"string"},"visibleUnsubscribe":{"type":"boolean"}},"required":["provider","subject","bodyText","visibleUnsubscribe","audience"],"type":"object"},"AdminEmailCampaignPreviewResult":{"additionalProperties":false,"properties":{"count":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"excluded":{"additionalProperties":false,"properties":{"converted":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"duplicate":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"inactive":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"invalid":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"limited":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"platform":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"priorCampaign":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"suppressed":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"timeZone":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"typo":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"unverified":{"$ref":"#/components/schemas/WireNonNegativeInteger"}},"required":["invalid","typo","unverified","inactive","platform","suppressed","priorCampaign","converted","duplicate","timeZone","limited"],"type":"object"},"ok":{"enum":[true],"type":"boolean"},"rendered":{"additionalProperties":false,"properties":{"html":{"type":"string"},"subject":{"type":"string"},"text":{"type":"string"},"variables":{"additionalProperties":false,"properties":{"email":{"type":"string"},"name":{"type":"string"}},"required":["name","email"],"type":"object"}},"required":["subject","html","text","variables"],"type":"object"},"sample":{"items":{"additionalProperties":false,"properties":{"email":{"type":"string"},"joinedAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"name":{"anyOf":[{"type":"string"},{"type":"null"}]},"sources":{"items":{"type":"string"},"type":"array"}},"required":["email","name","sources","joinedAt"],"type":"object"},"type":"array"},"timeZones":{"additionalProperties":false,"properties":{"averageUtcOffsetMinutes":{"anyOf":[{"$ref":"#/components/schemas/WireSafeInteger"},{"type":"null"}]},"groups":{"additionalProperties":false,"properties":{"americas":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"asiaOceania":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"europeAfrica":{"$ref":"#/components/schemas/WireNonNegativeInteger"}},"required":["americas","europeAfrica","asiaOceania"],"type":"object"},"known":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"unknown":{"$ref":"#/components/schemas/WireNonNegativeInteger"}},"required":["known","unknown","averageUtcOffsetMinutes","groups"],"type":"object"}},"required":["ok","count","sample","excluded","timeZones","rendered"],"type":"object"},"AdminEmailCampaignResult":{"additionalProperties":false,"properties":{"campaign":{"additionalProperties":false,"properties":{"completedAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"contactedCount":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"createdAt":{"type":"string"},"fromAddress":{"enum":["team@inline.chat","founders@inline.chat","mo@inline.chat"],"type":"string"},"id":{"$ref":"#/components/schemas/InlineId"},"name":{"type":"string"},"pendingCount":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"preparedCount":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"provider":{"enum":["resend","ses"],"type":"string"},"recipientCount":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"seriesKey":{"anyOf":[{"type":"string"},{"type":"null"}]},"status":{"type":"string"},"subject":{"type":"string"},"suppressedCount":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"testSentAt":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["id","name","seriesKey","subject","provider","fromAddress","status","recipientCount","pendingCount","preparedCount","contactedCount","suppressedCount","testSentAt","createdAt","completedAt"],"type":"object"},"ok":{"enum":[true],"type":"boolean"}},"required":["ok","campaign"],"type":"object"},"AdminEmailCampaignSendInput":{"additionalProperties":false,"properties":{"batchSize":{"anyOf":[{"anyOf":[{"type":"number"},{"enum":["NaN"],"type":"string"},{"enum":["Infinity"],"type":"string"},{"enum":["-Infinity"],"type":"string"}]},{"enum":["Infinity","-Infinity","NaN"],"type":"string"}]},"confirmation":{"type":"string"}},"required":["confirmation","batchSize"],"type":"object"},"AdminEmailCampaignSendResult":{"additionalProperties":false,"properties":{"accepted":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"attempted":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"ok":{"enum":[true],"type":"boolean"},"pending":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"phase":{"type":"string"},"status":{"type":"string"},"unknown":{"$ref":"#/components/schemas/WireNonNegativeInteger"}},"required":["ok","attempted","accepted","unknown","pending","status","phase"],"type":"object"},"AdminEmailCampaignTestInput":{"additionalProperties":false,"properties":{"email":{"type":"string"},"name":{"type":"string"}},"required":["email"],"type":"object"},"AdminEmailCampaignsResult":{"additionalProperties":false,"properties":{"campaigns":{"items":{"additionalProperties":false,"properties":{"completedAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"contactedCount":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"createdAt":{"type":"string"},"fromAddress":{"enum":["team@inline.chat","founders@inline.chat","mo@inline.chat"],"type":"string"},"id":{"$ref":"#/components/schemas/InlineId"},"name":{"type":"string"},"pendingCount":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"preparedCount":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"provider":{"enum":["resend","ses"],"type":"string"},"recipientCount":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"seriesKey":{"anyOf":[{"type":"string"},{"type":"null"}]},"status":{"type":"string"},"subject":{"type":"string"},"suppressedCount":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"testSentAt":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["id","name","seriesKey","subject","provider","fromAddress","status","recipientCount","pendingCount","preparedCount","contactedCount","suppressedCount","testSentAt","createdAt","completedAt"],"type":"object"},"type":"array"},"ok":{"enum":[true],"type":"boolean"}},"required":["ok","campaigns"],"type":"object"},"AdminEmailProviderStatusResult":{"additionalProperties":false,"properties":{"ok":{"enum":[true],"type":"boolean"},"providerStatus":{"additionalProperties":false,"properties":{"available":{"type":"boolean"},"dailyQuota":{"anyOf":[{"type":"string"},{"type":"null"}]},"fromAddress":{"type":"string"},"max24HourSend":{"anyOf":[{"anyOf":[{"anyOf":[{"type":"number"},{"enum":["NaN"],"type":"string"},{"enum":["Infinity"],"type":"string"},{"enum":["-Infinity"],"type":"string"}]},{"enum":["Infinity","-Infinity","NaN"],"type":"string"}]},{"type":"null"}]},"maxSendRate":{"anyOf":[{"anyOf":[{"anyOf":[{"type":"number"},{"enum":["NaN"],"type":"string"},{"enum":["Infinity"],"type":"string"},{"enum":["-Infinity"],"type":"string"}]},{"enum":["Infinity","-Infinity","NaN"],"type":"string"}]},{"type":"null"}]},"monthlyQuota":{"anyOf":[{"type":"string"},{"type":"null"}]},"productionAccess":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"provider":{"enum":["resend","ses"],"type":"string"},"quotaWindow":{"anyOf":[{"enum":["fixed","rolling_24_hours"],"type":"string"},{"type":"null"}]},"refreshedAt":{"type":"string"},"region":{"anyOf":[{"type":"string"},{"type":"null"}]},"remaining24Hours":{"anyOf":[{"anyOf":[{"anyOf":[{"type":"number"},{"enum":["NaN"],"type":"string"},{"enum":["Infinity"],"type":"string"},{"enum":["-Infinity"],"type":"string"}]},{"enum":["Infinity","-Infinity","NaN"],"type":"string"}]},{"type":"null"}]},"replyToAddress":{"type":"string"},"requestLimit":{"anyOf":[{"$ref":"#/components/schemas/WireSafeInteger"},{"type":"null"}]},"requestRemaining":{"anyOf":[{"$ref":"#/components/schemas/WireSafeInteger"},{"type":"null"}]},"requestResetAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"retryAfterSeconds":{"anyOf":[{"$ref":"#/components/schemas/WireSafeInteger"},{"type":"null"}]},"senderIdentityVerified":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"sendingEnabled":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"sentLast24Hours":{"anyOf":[{"anyOf":[{"anyOf":[{"type":"number"},{"enum":["NaN"],"type":"string"},{"enum":["Infinity"],"type":"string"},{"enum":["-Infinity"],"type":"string"}]},{"enum":["Infinity","-Infinity","NaN"],"type":"string"}]},{"type":"null"}]},"statusCode":{"anyOf":[{"$ref":"#/components/schemas/WireSafeInteger"},{"type":"null"}]}},"required":["provider","fromAddress","replyToAddress","region","refreshedAt","available","statusCode","sendingEnabled","productionAccess","requestLimit","requestRemaining","requestResetAt","retryAfterSeconds","dailyQuota","monthlyQuota","max24HourSend","sentLast24Hours","remaining24Hours","maxSendRate","quotaWindow","senderIdentityVerified"],"type":"object"}},"required":["ok","providerStatus"],"type":"object"},"AdminEmailProviderTestInput":{"additionalProperties":false,"properties":{"provider":{"enum":["resend","ses"],"type":"string"}},"required":["provider"],"type":"object"},"AdminEmailProviderTestResult":{"additionalProperties":false,"properties":{"fromAddress":{"type":"string"},"messageId":{"anyOf":[{"type":"string"},{"type":"null"}]},"ok":{"enum":[true],"type":"boolean"},"provider":{"enum":["resend","ses"],"type":"string"},"recipient":{"type":"string"},"replyToAddress":{"type":"string"},"sentAt":{"type":"string"}},"required":["ok","provider","recipient","fromAddress","replyToAddress","messageId","sentAt"],"type":"object"},"AdminGrantInvitesBadRequest":{"additionalProperties":false,"properties":{"error":{"enum":["invalid_user","invalid_count"],"type":"string"},"ok":{"enum":[false],"type":"boolean"}},"required":["ok","error"],"type":"object"},"AdminInvalidCountBadRequest":{"additionalProperties":false,"properties":{"error":{"anyOf":[{"enum":["invalid_count"],"type":"string"}]},"ok":{"enum":[false],"type":"boolean"}},"required":["ok","error"],"type":"object"},"AdminInvalidSessionBadRequest":{"additionalProperties":false,"properties":{"error":{"anyOf":[{"enum":["invalid_session"],"type":"string"}]},"ok":{"enum":[false],"type":"boolean"}},"required":["ok","error"],"type":"object"},"AdminInvalidUserBadRequest":{"additionalProperties":false,"properties":{"error":{"anyOf":[{"enum":["invalid_user"],"type":"string"}]},"ok":{"enum":[false],"type":"boolean"}},"required":["ok","error"],"type":"object"},"AdminInviteCodesResult":{"additionalProperties":false,"properties":{"codes":{"items":{"type":"string"},"type":"array"},"ok":{"enum":[true],"type":"boolean"}},"required":["ok","codes"],"type":"object"},"AdminInviteCountInput":{"additionalProperties":false,"properties":{"count":{"anyOf":[{"anyOf":[{"type":"number"},{"enum":["NaN"],"type":"string"},{"enum":["Infinity"],"type":"string"},{"enum":["-Infinity"],"type":"string"}]},{"enum":["Infinity","-Infinity","NaN"],"type":"string"}]},"note":{"type":"string"}},"required":["count"],"type":"object"},"AdminInvitesResult":{"additionalProperties":false,"properties":{"invites":{"items":{"additionalProperties":false,"properties":{"code":{"type":"string"},"createdAt":{"type":"string"},"createdByUserId":{"anyOf":[{"$ref":"#/components/schemas/UserId"},{"type":"null"}]},"id":{"$ref":"#/components/schemas/InlineId"},"note":{"anyOf":[{"type":"string"},{"type":"null"}]},"ownerUserId":{"anyOf":[{"$ref":"#/components/schemas/UserId"},{"type":"null"}]},"redeemed":{"type":"boolean"},"redeemedAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"redeemedByUserId":{"anyOf":[{"$ref":"#/components/schemas/UserId"},{"type":"null"}]}},"required":["id","code","ownerUserId","redeemedByUserId","createdByUserId","note","createdAt","redeemedAt","redeemed"],"type":"object"},"type":"array"},"ok":{"enum":[true],"type":"boolean"}},"required":["ok","invites"],"type":"object"},"AdminLoginBadRequest":{"additionalProperties":false,"properties":{"error":{"anyOf":[{"enum":["invalid_email"],"type":"string"}]},"ok":{"enum":[false],"type":"boolean"}},"required":["ok","error"],"type":"object"},"AdminLoginForbidden":{"additionalProperties":false,"properties":{"error":{"enum":["not_allowed","password_not_set"],"type":"string"},"ok":{"enum":[false],"type":"boolean"}},"required":["ok","error"],"type":"object"},"AdminLoginInput":{"additionalProperties":false,"properties":{"email":{"type":"string"},"password":{"type":"string"},"totpCode":{"type":"string"}},"required":["email","password"],"type":"object"},"AdminLoginTooManyRequests":{"additionalProperties":false,"properties":{"error":{"anyOf":[{"enum":["login_locked"],"type":"string"}]},"ok":{"enum":[false],"type":"boolean"}},"required":["ok","error"],"type":"object"},"AdminLoginUnauthorized":{"additionalProperties":false,"properties":{"error":{"enum":["invalid_credentials","invalid_totp"],"type":"string"},"ok":{"enum":[false],"type":"boolean"}},"required":["ok","error"],"type":"object"},"AdminMeResult":{"additionalProperties":false,"properties":{"ok":{"enum":[true],"type":"boolean"},"session":{"additionalProperties":false,"properties":{"stepUpAt":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["stepUpAt"],"type":"object"},"setup":{"additionalProperties":false,"properties":{"passwordSet":{"type":"boolean"},"totpEnabled":{"type":"boolean"}},"required":["passwordSet","totpEnabled"],"type":"object"},"user":{"additionalProperties":false,"properties":{"email":{"type":"string"},"firstName":{"anyOf":[{"type":"string"},{"type":"null"}]},"id":{"$ref":"#/components/schemas/UserId"},"lastName":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["id","email","firstName","lastName"],"type":"object"}},"required":["ok","user","setup","session"],"type":"object"},"AdminNotFound":{"additionalProperties":false,"properties":{"error":{"anyOf":[{"enum":["not_found"],"type":"string"}]},"ok":{"enum":[false],"type":"boolean"}},"required":["ok","error"],"type":"object"},"AdminOverviewMetricsResult":{"additionalProperties":false,"properties":{"metrics":{"additionalProperties":false,"properties":{"asOf":{"type":"string"},"connections":{"additionalProperties":false,"properties":{"authenticated":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"total":{"$ref":"#/components/schemas/WireNonNegativeInteger"}},"required":["total","authenticated"],"type":"object"},"dailyActivity":{"items":{"additionalProperties":false,"properties":{"activeUsers":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"date":{"type":"string"},"messages":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"newUsers":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"threads":{"$ref":"#/components/schemas/WireNonNegativeInteger"}},"required":["date","activeUsers","newUsers","messages","threads"],"type":"object"},"type":"array"},"dau":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"errors":{"additionalProperties":false,"properties":{"last5m":{"$ref":"#/components/schemas/WireNonNegativeInteger"}},"required":["last5m"],"type":"object"},"messagesToday":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"mrr":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"newUsersLastDay":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"newWaitlistLastDay":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"recentUsersLastDay":{"items":{"additionalProperties":false,"properties":{"avatarUrl":{"anyOf":[{"type":"string"},{"type":"null"}]},"createdAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"email":{"anyOf":[{"type":"string"},{"type":"null"}]},"firstName":{"anyOf":[{"type":"string"},{"type":"null"}]},"id":{"$ref":"#/components/schemas/UserId"},"lastName":{"anyOf":[{"type":"string"},{"type":"null"}]},"oauthConnections":{"items":{"enum":["chatgpt","mcp"],"type":"string"},"type":"array"},"pendingSetup":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"username":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["id","email","firstName","lastName","username","createdAt","pendingSetup","avatarUrl"],"type":"object"},"type":"array"},"recentWaitlistLastDay":{"items":{"additionalProperties":false,"properties":{"date":{"anyOf":[{"type":"string"},{"type":"null"}]},"email":{"type":"string"},"id":{"$ref":"#/components/schemas/InlineId"},"name":{"anyOf":[{"type":"string"},{"type":"null"}]},"verified":{"type":"boolean"}},"required":["id","email","name","verified","date"],"type":"object"},"type":"array"},"reportingTimeZone":{"enum":["UTC"],"type":"string"},"waitlistCount":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"wau":{"$ref":"#/components/schemas/WireNonNegativeInteger"}},"required":["dau","wau","messagesToday","mrr","connections","errors","waitlistCount","newUsersLastDay","newWaitlistLastDay","recentUsersLastDay","recentWaitlistLastDay","dailyActivity","asOf","reportingTimeZone"],"type":"object"},"ok":{"enum":[true],"type":"boolean"}},"required":["ok","metrics"],"type":"object"},"AdminReservedUsernameBadRequest":{"additionalProperties":false,"properties":{"error":{"enum":["invalid_username","built_in_reservation"],"type":"string"},"ok":{"enum":[false],"type":"boolean"}},"required":["ok","error"],"type":"object"},"AdminReservedUsernameInput":{"additionalProperties":false,"properties":{"username":{"type":"string"}},"required":["username"],"type":"object"},"AdminReservedUsernamesResult":{"additionalProperties":false,"properties":{"ok":{"enum":[true],"type":"boolean"},"usernames":{"items":{"additionalProperties":false,"properties":{"createdAt":{"type":"string"},"username":{"type":"string"}},"required":["username","createdAt"],"type":"object"},"type":"array"}},"required":["ok","usernames"],"type":"object"},"AdminRevokeSessionResult":{"additionalProperties":false,"properties":{"alreadyRevoked":{"type":"boolean"},"ok":{"enum":[true],"type":"boolean"},"revoked":{"type":"boolean"}},"required":["ok","revoked","alreadyRevoked"],"type":"object"},"AdminSendEmailCodeBadRequest":{"additionalProperties":false,"properties":{"error":{"anyOf":[{"enum":["invalid_email"],"type":"string"}]},"ok":{"enum":[false],"type":"boolean"}},"required":["ok","error"],"type":"object"},"AdminSendEmailCodeForbidden":{"additionalProperties":false,"properties":{"error":{"anyOf":[{"enum":["already_signed_in"],"type":"string"}]},"ok":{"enum":[false],"type":"boolean"}},"required":["ok","error"],"type":"object"},"AdminSendEmailCodeInput":{"additionalProperties":false,"properties":{"email":{"type":"string"}},"required":["email"],"type":"object"},"AdminSendEmailCodeInternal":{"additionalProperties":false,"properties":{"error":{"enum":["send_failed","server_error"],"type":"string"},"ok":{"enum":[false],"type":"boolean"}},"required":["ok","error"],"type":"object"},"AdminSendEmailCodeResult":{"additionalProperties":false,"properties":{"challengeToken":{"type":"string"},"ok":{"enum":[true],"type":"boolean"}},"required":["ok"],"type":"object"},"AdminServerConfigBadRequest":{"additionalProperties":false,"properties":{"error":{"enum":["invalid_config_key","invalid_config_value","invalid_config_version"],"type":"string"},"ok":{"enum":[false],"type":"boolean"}},"required":["ok","error"],"type":"object"},"AdminServerConfigConflict":{"additionalProperties":false,"properties":{"error":{"anyOf":[{"enum":["config_conflict"],"type":"string"}]},"ok":{"enum":[false],"type":"boolean"}},"required":["ok","error"],"type":"object"},"AdminServerConfigResult":{"additionalProperties":false,"properties":{"ok":{"enum":[true],"type":"boolean"},"settings":{"items":{"additionalProperties":false,"properties":{"allowedValues":{"items":{"type":"string"},"type":"array"},"databaseUpdatedAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"databaseUpdatedByUserId":{"anyOf":[{"$ref":"#/components/schemas/WireSafeInteger"},{"type":"null"}]},"databaseValue":{"anyOf":[{"enum":["open","invite_only","disabled","prelude","custom","ses","resend"],"type":"string"},{"type":"null"}]},"databaseVersion":{"anyOf":[{"$ref":"#/components/schemas/WireSafeInteger"},{"type":"null"}]},"description":{"type":"string"},"environmentName":{"type":"string"},"key":{"enum":["auth.signup_mode","auth.phone_code_mode","email.default_provider"],"type":"string"},"label":{"type":"string"},"source":{"enum":["server_override","environment","database","legacy_environment","default"],"type":"string"},"value":{"enum":["open","invite_only","disabled","prelude","custom","ses","resend"],"type":"string"}},"required":["key","label","description","environmentName","allowedValues","value","source","databaseValue","databaseVersion","databaseUpdatedAt","databaseUpdatedByUserId"],"type":"object"},"type":"array"}},"required":["ok","settings"],"type":"object"},"AdminServerConfigSettingResult":{"additionalProperties":false,"properties":{"ok":{"enum":[true],"type":"boolean"},"setting":{"additionalProperties":false,"properties":{"allowedValues":{"items":{"type":"string"},"type":"array"},"databaseUpdatedAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"databaseUpdatedByUserId":{"anyOf":[{"$ref":"#/components/schemas/WireSafeInteger"},{"type":"null"}]},"databaseValue":{"anyOf":[{"enum":["open","invite_only","disabled","prelude","custom","ses","resend"],"type":"string"},{"type":"null"}]},"databaseVersion":{"anyOf":[{"$ref":"#/components/schemas/WireSafeInteger"},{"type":"null"}]},"description":{"type":"string"},"environmentName":{"type":"string"},"key":{"enum":["auth.signup_mode","auth.phone_code_mode","email.default_provider"],"type":"string"},"label":{"type":"string"},"source":{"enum":["server_override","environment","database","legacy_environment","default"],"type":"string"},"value":{"enum":["open","invite_only","disabled","prelude","custom","ses","resend"],"type":"string"}},"required":["key","label","description","environmentName","allowedValues","value","source","databaseValue","databaseVersion","databaseUpdatedAt","databaseUpdatedByUserId"],"type":"object"}},"required":["ok","setting"],"type":"object"},"AdminSessionPersonalData":{"additionalProperties":false,"properties":{"city":{"type":"string"},"country":{"type":"string"},"deviceName":{"type":"string"},"ip":{"type":"string"},"region":{"type":"string"},"timezone":{"type":"string"}},"type":"object"},"AdminSetPasswordBadRequest":{"additionalProperties":false,"properties":{"error":{"enum":["password_already_set","password_too_short"],"type":"string"},"ok":{"enum":[false],"type":"boolean"}},"required":["ok","error"],"type":"object"},"AdminSetPasswordForbidden":{"additionalProperties":false,"properties":{"error":{"anyOf":[{"enum":["not_allowed"],"type":"string"}]},"ok":{"enum":[false],"type":"boolean"}},"required":["ok","error"],"type":"object"},"AdminSetPasswordInput":{"additionalProperties":false,"properties":{"password":{"type":"string"}},"required":["password"],"type":"object"},"AdminSpacesResult":{"additionalProperties":false,"properties":{"ok":{"enum":[true],"type":"boolean"},"spaces":{"items":{"additionalProperties":false,"properties":{"createdAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"handle":{"anyOf":[{"type":"string"},{"type":"null"}]},"id":{"$ref":"#/components/schemas/InlineId"},"lastUpdateDate":{"anyOf":[{"type":"string"},{"type":"null"}]},"memberCount":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"name":{"type":"string"}},"required":["id","name","handle","createdAt","lastUpdateDate","memberCount"],"type":"object"},"type":"array"}},"required":["ok","spaces"],"type":"object"},"AdminStepUpBadRequest":{"additionalProperties":false,"properties":{"error":{"anyOf":[{"enum":["totp_required"],"type":"string"}]},"ok":{"enum":[false],"type":"boolean"}},"required":["ok","error"],"type":"object"},"AdminStepUpForbidden":{"additionalProperties":false,"properties":{"error":{"anyOf":[{"enum":["not_allowed"],"type":"string"}]},"ok":{"enum":[false],"type":"boolean"}},"required":["ok","error"],"type":"object"},"AdminStepUpInput":{"additionalProperties":false,"properties":{"password":{"type":"string"},"totpCode":{"type":"string"}},"required":["password","totpCode"],"type":"object"},"AdminStepUpResult":{"additionalProperties":false,"properties":{"ok":{"enum":[true],"type":"boolean"},"stepUpAt":{"type":"string"}},"required":["ok","stepUpAt"],"type":"object"},"AdminStepUpUnauthorized":{"additionalProperties":false,"properties":{"error":{"anyOf":[{"enum":["invalid_credentials"],"type":"string"}]},"ok":{"enum":[false],"type":"boolean"}},"required":["ok","error"],"type":"object"},"AdminSuccess":{"additionalProperties":false,"properties":{"ok":{"enum":[true],"type":"boolean"}},"required":["ok"],"type":"object"},"AdminTechnicalMetricsResult":{"additionalProperties":false,"properties":{"metrics":{"additionalProperties":false,"properties":{"connections":{"additionalProperties":false,"properties":{"authenticated":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"authenticatedUsers":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"connectedToday":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"total":{"$ref":"#/components/schemas/WireNonNegativeInteger"}},"required":["total","authenticated","authenticatedUsers","connectedToday"],"type":"object"},"errors":{"additionalProperties":false,"properties":{"last15m":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"last5m":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"total":{"$ref":"#/components/schemas/WireNonNegativeInteger"}},"required":["last5m","last15m","total"],"type":"object"},"memory":{"additionalProperties":false,"properties":{"heapTotal":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"heapUsed":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"rss":{"$ref":"#/components/schemas/WireNonNegativeInteger"}},"required":["rss","heapUsed","heapTotal"],"type":"object"},"notifications":{"additionalProperties":false,"properties":{"desktopPushSuppression":{"additionalProperties":false,"properties":{"activityIgnoredNonDesktopTotal":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"activityIgnoredUnknownSessionTypeTotal":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"activityRecordedTotal":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"allowedNoRecentDesktopActivityTotal":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"allowedTotal":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"allowedUrgentNudgeTotal":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"checksTotal":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"errorsTotal":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"lastSuppressedAt":{"anyOf":[{"$ref":"#/components/schemas/WireSafeInteger"},{"type":"null"}]},"suppressedTotal":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"trackedDesktopChatActivities":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"trackedDesktopSessions":{"$ref":"#/components/schemas/WireNonNegativeInteger"}},"required":["checksTotal","suppressedTotal","allowedTotal","allowedUrgentNudgeTotal","allowedNoRecentDesktopActivityTotal","activityRecordedTotal","activityIgnoredNonDesktopTotal","activityIgnoredUnknownSessionTypeTotal","errorsTotal","trackedDesktopSessions","trackedDesktopChatActivities","lastSuppressedAt"],"type":"object"}},"required":["desktopPushSuppression"],"type":"object"},"server":{"additionalProperties":false,"properties":{"gitCommit":{"type":"string"},"loadAverage":{"items":{"anyOf":[{"anyOf":[{"type":"number"},{"enum":["NaN"],"type":"string"},{"enum":["Infinity"],"type":"string"},{"enum":["-Infinity"],"type":"string"}]},{"enum":["Infinity","-Infinity","NaN"],"type":"string"}]},"type":"array"},"startedAt":{"type":"string"},"uptimeSeconds":{"anyOf":[{"anyOf":[{"type":"number"},{"enum":["NaN"],"type":"string"},{"enum":["Infinity"],"type":"string"},{"enum":["-Infinity"],"type":"string"}]},{"enum":["Infinity","-Infinity","NaN"],"type":"string"}]},"version":{"type":"string"}},"required":["version","gitCommit","startedAt","uptimeSeconds","loadAverage"],"type":"object"}},"required":["server","memory","connections","errors","notifications"],"type":"object"},"ok":{"enum":[true],"type":"boolean"}},"required":["ok","metrics"],"type":"object"},"AdminTotpCodeInput":{"additionalProperties":false,"properties":{"code":{"type":"string"}},"required":["code"],"type":"object"},"AdminTotpSetupBadRequest":{"additionalProperties":false,"properties":{"error":{"enum":["password_required","totp_already_enabled"],"type":"string"},"ok":{"enum":[false],"type":"boolean"}},"required":["ok","error"],"type":"object"},"AdminTotpSetupForbidden":{"additionalProperties":false,"properties":{"error":{"anyOf":[{"enum":["not_allowed"],"type":"string"}]},"ok":{"enum":[false],"type":"boolean"}},"required":["ok","error"],"type":"object"},"AdminTotpSetupResult":{"additionalProperties":false,"properties":{"ok":{"enum":[true],"type":"boolean"},"otpauthUrl":{"type":"string"},"secret":{"type":"string"}},"required":["ok","secret","otpauthUrl"],"type":"object"},"AdminTotpVerifyBadRequest":{"additionalProperties":false,"properties":{"error":{"enum":["totp_already_enabled","invalid_totp"],"type":"string"},"ok":{"enum":[false],"type":"boolean"}},"required":["ok","error"],"type":"object"},"AdminTotpVerifyForbidden":{"additionalProperties":false,"properties":{"error":{"anyOf":[{"enum":["not_allowed"],"type":"string"}]},"ok":{"enum":[false],"type":"boolean"}},"required":["ok","error"],"type":"object"},"AdminUpdateServerConfigInput":{"additionalProperties":false,"properties":{"expectedVersion":{"anyOf":[{"anyOf":[{"anyOf":[{"type":"number"},{"enum":["NaN"],"type":"string"},{"enum":["Infinity"],"type":"string"},{"enum":["-Infinity"],"type":"string"}]},{"enum":["Infinity","-Infinity","NaN"],"type":"string"}]},{"type":"null"}]},"key":{"enum":["auth.signup_mode","auth.phone_code_mode","email.default_provider"],"type":"string"},"value":{"enum":["open","invite_only","disabled","prelude","custom","ses","resend"],"type":"string"}},"required":["key","value","expectedVersion"],"type":"object"},"AdminUpdateUserBadRequest":{"additionalProperties":false,"properties":{"error":{"enum":["invalid_user","invalid_email","no_updates"],"type":"string"},"ok":{"enum":[false],"type":"boolean"}},"required":["ok","error"],"type":"object"},"AdminUpdateUserInput":{"additionalProperties":false,"properties":{"email":{"type":"string"},"emailVerified":{"type":"boolean"},"firstName":{"type":"string"},"lastName":{"type":"string"}},"type":"object"},"AdminUserDetailResult":{"additionalProperties":false,"properties":{"connections":{"additionalProperties":false,"properties":{"complete":{"type":"boolean"},"sessions":{"items":{"additionalProperties":false,"properties":{"count":{"$ref":"#/components/schemas/WirePositiveInteger"},"sessionId":{"$ref":"#/components/schemas/SessionId"}},"required":["sessionId","count"],"type":"object"},"type":"array"},"totalConnections":{"$ref":"#/components/schemas/WireNonNegativeInteger"}},"required":["totalConnections","sessions"],"type":"object"},"memberships":{"items":{"$ref":"#/components/schemas/AdminUserMembership"},"type":"array"},"ok":{"enum":[true],"type":"boolean"},"sessions":{"items":{"$ref":"#/components/schemas/AdminUserSession"},"type":"array"},"stats":{"additionalProperties":false,"properties":{"activeSessions":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"memberships":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"messages":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"messagesLast7d":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"presenceComplete":{"type":"boolean"},"sessions":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"threadsCreated":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"threadsCreatedLast7d":{"$ref":"#/components/schemas/WireNonNegativeInteger"}},"required":["messages","messagesLast7d","threadsCreated","threadsCreatedLast7d","memberships","sessions","activeSessions"],"type":"object"},"user":{"additionalProperties":false,"properties":{"avatarUrl":{"anyOf":[{"type":"string"},{"type":"null"}]},"bot":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"botCreatorId":{"anyOf":[{"$ref":"#/components/schemas/UserId"},{"type":"null"}]},"createdAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"deleted":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"email":{"anyOf":[{"type":"string"},{"type":"null"}]},"emailVerified":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"firstName":{"anyOf":[{"type":"string"},{"type":"null"}]},"id":{"$ref":"#/components/schemas/UserId"},"lastName":{"anyOf":[{"type":"string"},{"type":"null"}]},"lastOnline":{"anyOf":[{"type":"string"},{"type":"null"}]},"lastUpdateDate":{"anyOf":[{"type":"string"},{"type":"null"}]},"oauthConnections":{"items":{"enum":["chatgpt","mcp"],"type":"string"},"type":"array"},"online":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"pendingSetup":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"phoneNumber":{"anyOf":[{"type":"string"},{"type":"null"}]},"phoneVerified":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"timeZone":{"anyOf":[{"type":"string"},{"type":"null"}]},"updateSeq":{"anyOf":[{"$ref":"#/components/schemas/WireSafeInteger"},{"type":"null"}]},"username":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["id","email","firstName","lastName","emailVerified","phoneNumber","phoneVerified","username","online","lastOnline","createdAt","deleted","bot","botCreatorId","pendingSetup","timeZone","lastUpdateDate","updateSeq","avatarUrl"],"type":"object"}},"required":["ok","user","stats","memberships","sessions","connections"],"type":"object"},"AdminUserMembership":{"additionalProperties":false,"properties":{"canAccessPublicChats":{"type":"boolean"},"id":{"$ref":"#/components/schemas/InlineId"},"invitedBy":{"anyOf":[{"$ref":"#/components/schemas/UserId"},{"type":"null"}]},"joinedAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"role":{"anyOf":[{"type":"string"},{"type":"null"}]},"space":{"additionalProperties":false,"properties":{"createdAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"deletedAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"handle":{"anyOf":[{"type":"string"},{"type":"null"}]},"id":{"$ref":"#/components/schemas/InlineId"},"isPublic":{"type":"boolean"},"name":{"type":"string"}},"required":["id","name","handle","isPublic","createdAt","deletedAt"],"type":"object"}},"required":["id","role","canAccessPublicChats","invitedBy","joinedAt","space"],"type":"object"},"AdminUserSession":{"additionalProperties":false,"properties":{"active":{"type":"boolean"},"clientType":{"anyOf":[{"type":"string"},{"type":"null"}]},"clientVersion":{"anyOf":[{"type":"string"},{"type":"null"}]},"date":{"anyOf":[{"type":"string"},{"type":"null"}]},"deviceId":{"anyOf":[{"type":"string"},{"type":"null"}]},"id":{"$ref":"#/components/schemas/SessionId"},"lastActive":{"anyOf":[{"type":"string"},{"type":"null"}]},"osVersion":{"anyOf":[{"type":"string"},{"type":"null"}]},"personalData":{"$ref":"#/components/schemas/AdminSessionPersonalData"},"revoked":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["id","clientType","clientVersion","osVersion","lastActive","active","deviceId","date","revoked","personalData"],"type":"object"},"AdminUsersResult":{"additionalProperties":false,"properties":{"ok":{"enum":[true],"type":"boolean"},"users":{"items":{"additionalProperties":false,"properties":{"avatarUrl":{"anyOf":[{"type":"string"},{"type":"null"}]},"bot":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"createdAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"deleted":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"email":{"anyOf":[{"type":"string"},{"type":"null"}]},"emailVerified":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"firstName":{"anyOf":[{"type":"string"},{"type":"null"}]},"id":{"$ref":"#/components/schemas/UserId"},"lastName":{"anyOf":[{"type":"string"},{"type":"null"}]},"lastOnline":{"anyOf":[{"type":"string"},{"type":"null"}]},"oauthConnections":{"items":{"enum":["chatgpt","mcp"],"type":"string"},"type":"array"},"online":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"pendingSetup":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"phoneNumber":{"anyOf":[{"type":"string"},{"type":"null"}]},"phoneVerified":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"photoFileId":{"anyOf":[{"$ref":"#/components/schemas/InlineId"},{"type":"null"}]},"timeZone":{"anyOf":[{"type":"string"},{"type":"null"}]},"username":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["id","email","firstName","lastName","emailVerified","username","phoneNumber","phoneVerified","online","lastOnline","createdAt","deleted","bot","pendingSetup","timeZone","photoFileId","avatarUrl"],"type":"object"},"type":"array"}},"required":["ok","users"],"type":"object"},"AdminValidationError":{"additionalProperties":false,"properties":{"errors":{"type":"array"},"expected":{"type":"object"},"found":{},"message":{"type":"string"},"on":{"enum":["body","query","params"],"type":"string"},"property":{"type":"string"},"summary":{"type":"string"},"type":{"enum":["validation"],"type":"string"}},"required":["type","on","property","message","summary","expected","errors"],"type":"object"},"AdminVerifyEmailCodeBadRequest":{"additionalProperties":false,"properties":{"error":{"enum":["invalid_email","invalid_code"],"type":"string"},"ok":{"enum":[false],"type":"boolean"}},"required":["ok","error"],"type":"object"},"AdminVerifyEmailCodeForbidden":{"additionalProperties":false,"properties":{"error":{"enum":["already_signed_in","not_allowed","password_required"],"type":"string"},"ok":{"enum":[false],"type":"boolean"}},"required":["ok","error"],"type":"object"},"AdminVerifyEmailCodeInput":{"additionalProperties":false,"properties":{"challengeToken":{"type":"string"},"code":{"type":"string"},"email":{"type":"string"}},"required":["email","code"],"type":"object"},"AdminVerifyEmailCodeInternal":{"additionalProperties":false,"properties":{"error":{"enum":["user_missing","server_error"],"type":"string"},"ok":{"enum":[false],"type":"boolean"}},"required":["ok","error"],"type":"object"},"AdminVerifyEmailCodeResult":{"additionalProperties":false,"properties":{"ok":{"enum":[true],"type":"boolean"},"user":{"additionalProperties":false,"properties":{"email":{"type":"string"},"id":{"$ref":"#/components/schemas/UserId"}},"required":["id","email"],"type":"object"}},"required":["ok","user"],"type":"object"},"AdminVerifyEmailCodeUnauthorized":{"additionalProperties":false,"properties":{"error":{"anyOf":[{"enum":["invalid_code"],"type":"string"}]},"ok":{"enum":[false],"type":"boolean"}},"required":["ok","error"],"type":"object"},"AdminWaitlistResult":{"additionalProperties":false,"properties":{"count":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"entries":{"items":{"additionalProperties":false,"properties":{"date":{"anyOf":[{"type":"string"},{"type":"null"}]},"email":{"type":"string"},"id":{"$ref":"#/components/schemas/InlineId"},"name":{"anyOf":[{"type":"string"},{"type":"null"}]},"verified":{"type":"boolean"}},"required":["id","email","name","verified","date"],"type":"object"},"type":"array"},"ok":{"enum":[true],"type":"boolean"}},"required":["ok","count","entries"],"type":"object"},"AdminWeeklyActivity":{"additionalProperties":false,"properties":{"activeUsers":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"messages":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"newUsers":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"threads":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"weekEnd":{"type":"string"},"weekStart":{"type":"string"}},"required":["weekStart","weekEnd","activeUsers","newUsers","messages","threads"],"type":"object"},"AuxiliaryBrokerHealth":{"additionalProperties":false,"properties":{"error":{"enum":["broker_unavailable"],"type":"string"},"ok":{"type":"boolean"}},"required":["ok"],"type":"object"},"AuxiliaryClockHealth":{"additionalProperties":false,"properties":{"error":{"enum":["clock_offset_exceeded","clock_step_detected"],"type":"string"},"offsetMillis":{"$ref":"#/components/schemas/WireSafeInteger"},"ok":{"type":"boolean"},"status":{"enum":["ok","warning","degraded"],"type":"string"},"stepMillis":{"$ref":"#/components/schemas/WireSafeInteger"},"warning":{"enum":["clock_offset_warning","clock_step_warning"],"type":"string"}},"required":["ok","status","offsetMillis","stepMillis"],"type":"object"},"AuxiliaryDatabaseHealth":{"additionalProperties":false,"properties":{"error":{"enum":["database_unavailable"],"type":"string"},"latencyMs":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"ok":{"type":"boolean"}},"required":["ok","latencyMs"],"type":"object"},"AuxiliaryDegradedHealthResponse":{"additionalProperties":false,"properties":{"checks":{"additionalProperties":false,"properties":{"broker":{"$ref":"#/components/schemas/AuxiliaryBrokerHealth"},"clock":{"$ref":"#/components/schemas/AuxiliaryClockHealth"},"database":{"$ref":"#/components/schemas/AuxiliaryDatabaseHealth"},"lifecycle":{"$ref":"#/components/schemas/AuxiliaryLifecycleHealth"}},"required":["database","clock","lifecycle"],"type":"object"},"draining":{"type":"boolean"},"ok":{"type":"boolean"},"revision":{"type":"string"},"status":{"enum":["ok","degraded"],"type":"string"},"timestamp":{"$ref":"#/components/schemas/UnixSeconds"}},"required":["ok","status","timestamp","revision","draining","checks"],"type":"object"},"AuxiliaryDegradedLivenessResponse":{"additionalProperties":false,"properties":{"checks":{"additionalProperties":false,"properties":{"lifecycle":{"$ref":"#/components/schemas/AuxiliaryLifecycleHealth"}},"required":["lifecycle"],"type":"object"},"draining":{"type":"boolean"},"ok":{"type":"boolean"},"status":{"enum":["ok","degraded"],"type":"string"},"timestamp":{"$ref":"#/components/schemas/UnixSeconds"}},"required":["ok","status","timestamp","draining","checks"],"type":"object"},"AuxiliaryHealthResponse":{"additionalProperties":false,"properties":{"checks":{"additionalProperties":false,"properties":{"broker":{"$ref":"#/components/schemas/AuxiliaryBrokerHealth"},"clock":{"$ref":"#/components/schemas/AuxiliaryClockHealth"},"database":{"$ref":"#/components/schemas/AuxiliaryDatabaseHealth"},"lifecycle":{"$ref":"#/components/schemas/AuxiliaryLifecycleHealth"}},"required":["database","clock","lifecycle"],"type":"object"},"draining":{"type":"boolean"},"ok":{"type":"boolean"},"revision":{"type":"string"},"status":{"enum":["ok","degraded"],"type":"string"},"timestamp":{"$ref":"#/components/schemas/UnixSeconds"}},"required":["ok","status","timestamp","revision","draining","checks"],"type":"object"},"AuxiliaryLegacyValidationError":{"additionalProperties":false,"properties":{"errors":{"items":{"$ref":"#/components/schemas/AuxiliaryLegacyValidationIssue"},"type":"array"},"expected":{"type":"object"},"found":{},"message":{"type":"string"},"on":{"enum":["body","query"],"type":"string"},"property":{"type":"string"},"summary":{"type":"string"},"type":{"enum":["validation"],"type":"string"}},"required":["type","on","property","message","summary","expected","errors"],"type":"object"},"AuxiliaryLegacyValidationIssue":{"additionalProperties":false,"properties":{"errors":{"type":"array"},"message":{"type":"string"},"path":{"type":"string"},"schema":{"type":"object"},"summary":{"type":"string"},"type":{"anyOf":[{"anyOf":[{"type":"number"},{"enum":["NaN"],"type":"string"},{"enum":["Infinity"],"type":"string"},{"enum":["-Infinity"],"type":"string"}]},{"enum":["Infinity","-Infinity","NaN"],"type":"string"}]},"value":{}},"required":["type","schema","path","message","errors","summary"],"type":"object"},"AuxiliaryLifecycleHealth":{"additionalProperties":false,"properties":{"error":{"enum":["shutting_down"],"type":"string"},"ok":{"type":"boolean"},"signal":{"enum":["manual","timeout","error","SIGINT","SIGTERM"],"type":"string"}},"required":["ok"],"type":"object"},"AuxiliaryLivenessResponse":{"additionalProperties":false,"properties":{"checks":{"additionalProperties":false,"properties":{"lifecycle":{"$ref":"#/components/schemas/AuxiliaryLifecycleHealth"}},"required":["lifecycle"],"type":"object"},"draining":{"type":"boolean"},"ok":{"type":"boolean"},"status":{"enum":["ok","degraded"],"type":"string"},"timestamp":{"$ref":"#/components/schemas/UnixSeconds"}},"required":["ok","status","timestamp","draining","checks"],"type":"object"},"ChatId":{"allOf":[{"description":"A positive Inline chat identifier","maximum":9007199254740991,"minimum":1}],"type":"integer"},"ChatInfo":{"additionalProperties":false,"properties":{"date":{"$ref":"#/components/schemas/UnixSeconds"},"emoji":{"anyOf":[{"type":"string"},{"type":"null"}]},"id":{"$ref":"#/components/schemas/WirePositiveInteger"},"lastMsgId":{"anyOf":[{"$ref":"#/components/schemas/WireSafeInteger"},{"type":"null"}]},"number":{"anyOf":[{"$ref":"#/components/schemas/WireSafeInteger"},{"type":"null"}]},"peer":{"$ref":"#/components/schemas/PeerInfo"},"publicThread":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"spaceId":{"anyOf":[{"$ref":"#/components/schemas/WireSafeInteger"},{"type":"null"}]},"threadNumber":{"anyOf":[{"$ref":"#/components/schemas/WireSafeInteger"},{"type":"null"}]},"title":{"anyOf":[{"type":"string"},{"type":"null"}]},"type":{"enum":["private","thread"],"type":"string"}},"required":["id","type","peer","date"],"type":"object"},"CheckInviteCodeInput":{"additionalProperties":false,"properties":{"inviteCode":{"allOf":[{"maxLength":64}],"type":"string"}},"required":["inviteCode"],"type":"object"},"CheckInviteCodeInput1":{"additionalProperties":false,"properties":{"inviteCode":{"allOf":[{"maxLength":64}],"type":"string"}},"required":["inviteCode"],"type":"object"},"CheckInviteCodeInput2":{"additionalProperties":false,"properties":{"inviteCode":{"allOf":[{"maxLength":64}],"type":"string"}},"required":["inviteCode"],"type":"object"},"CheckInviteCodeResult":{"additionalProperties":false,"properties":{"valid":{"type":"boolean"}},"required":["valid"],"type":"object"},"CheckInviteCodeSuccess":{"additionalProperties":false,"properties":{"ok":{"enum":[true],"type":"boolean"},"result":{"$ref":"#/components/schemas/CheckInviteCodeResult"}},"required":["ok","result"],"type":"object"},"CheckUsernameInput":{"additionalProperties":false,"properties":{"username":{"type":"string"}},"required":["username"],"type":"object"},"CheckUsernameInput1":{"additionalProperties":false,"properties":{"username":{"type":"string"}},"required":["username"],"type":"object"},"CheckUsernameInput2":{"additionalProperties":false,"properties":{"username":{"type":"string"}},"required":["username"],"type":"object"},"CheckUsernameResult":{"additionalProperties":false,"properties":{"available":{"type":"boolean"}},"required":["available"],"type":"object"},"CheckUsernameSuccess":{"additionalProperties":false,"properties":{"ok":{"enum":[true],"type":"boolean"},"result":{"$ref":"#/components/schemas/CheckUsernameResult"}},"required":["ok","result"],"type":"object"},"CreateLinearIssueInput":{"additionalProperties":false,"properties":{"chatId":{"$ref":"#/components/schemas/ChatId"},"fromId":{"$ref":"#/components/schemas/UserId"},"messageId":{"$ref":"#/components/schemas/MessageId"},"peerId":{"$ref":"#/components/schemas/V1InputPeerInfo1"},"spaceId":{"$ref":"#/components/schemas/SpaceId1"},"text":{"type":"string"}},"required":["text","messageId","chatId","peerId","fromId"],"type":"object"},"CreateLinearIssueInput1":{"additionalProperties":false,"properties":{"chatId":{"$ref":"#/components/schemas/WireSafeInteger1"},"fromId":{"$ref":"#/components/schemas/WireSafeInteger1"},"messageId":{"$ref":"#/components/schemas/WireSafeInteger1"},"peerId":{"$ref":"#/components/schemas/V1InputPeerInfo"},"spaceId":{"$ref":"#/components/schemas/SpaceId"},"text":{"type":"string"}},"required":["text","messageId","chatId","peerId","fromId"],"type":"object"},"CreateLinearIssueInput2":{"additionalProperties":false,"properties":{"chatId":{"$ref":"#/components/schemas/ChatId"},"fromId":{"$ref":"#/components/schemas/UserId"},"messageId":{"$ref":"#/components/schemas/MessageId"},"peerId":{"$ref":"#/components/schemas/V1InputPeerInfo1"},"spaceId":{"$ref":"#/components/schemas/SpaceId1"},"text":{"type":"string"}},"required":["text","messageId","chatId","peerId","fromId"],"type":"object"},"CreateLinearIssueResult":{"additionalProperties":false,"properties":{"link":{"anyOf":[{"type":"string"},{"type":"null"}]}},"type":"object"},"CreateLinearIssueSuccess":{"additionalProperties":false,"properties":{"ok":{"enum":[true],"type":"boolean"},"result":{"$ref":"#/components/schemas/CreateLinearIssueResult"}},"required":["ok","result"],"type":"object"},"CreateNotionTaskInput":{"additionalProperties":false,"properties":{"chatId":{"$ref":"#/components/schemas/ChatId"},"messageId":{"$ref":"#/components/schemas/MessageId"},"peerId":{"$ref":"#/components/schemas/V1InputPeerInfo1"},"spaceId":{"$ref":"#/components/schemas/SpaceId2"}},"required":["spaceId","messageId","chatId","peerId"],"type":"object"},"CreateNotionTaskInput1":{"additionalProperties":false,"properties":{"chatId":{"$ref":"#/components/schemas/WireSafeInteger1"},"messageId":{"$ref":"#/components/schemas/WireSafeInteger1"},"peerId":{"$ref":"#/components/schemas/V1InputPeerInfo"},"spaceId":{"$ref":"#/components/schemas/WireSafeInteger1"}},"required":["spaceId","messageId","chatId","peerId"],"type":"object"},"CreateNotionTaskInput2":{"additionalProperties":false,"properties":{"chatId":{"$ref":"#/components/schemas/ChatId"},"messageId":{"$ref":"#/components/schemas/MessageId"},"peerId":{"$ref":"#/components/schemas/V1InputPeerInfo1"},"spaceId":{"$ref":"#/components/schemas/SpaceId2"}},"required":["spaceId","messageId","chatId","peerId"],"type":"object"},"CreateNotionTaskResult":{"additionalProperties":false,"properties":{"taskTitle":{"anyOf":[{"type":"string"},{"type":"null"}]},"url":{"type":"string"}},"required":["url","taskTitle"],"type":"object"},"CreateNotionTaskSuccess":{"additionalProperties":false,"properties":{"ok":{"enum":[true],"type":"boolean"},"result":{"$ref":"#/components/schemas/CreateNotionTaskResult"}},"required":["ok","result"],"type":"object"},"CreatePrivateChatInput":{"additionalProperties":false,"properties":{"userId":{"type":"string"}},"required":["userId"],"type":"object"},"CreatePrivateChatInput1":{"additionalProperties":false,"properties":{"userId":{"type":"string"}},"required":["userId"],"type":"object"},"CreatePrivateChatInput2":{"additionalProperties":false,"properties":{"userId":{"type":"string"}},"required":["userId"],"type":"object"},"CreatePrivateChatResult":{"additionalProperties":false,"properties":{"chat":{"$ref":"#/components/schemas/ChatInfo"},"dialog":{"$ref":"#/components/schemas/DialogInfo"},"user":{"$ref":"#/components/schemas/MinUserInfo"}},"required":["chat","dialog","user"],"type":"object"},"CreatePrivateChatSuccess":{"additionalProperties":false,"properties":{"ok":{"enum":[true],"type":"boolean"},"result":{"$ref":"#/components/schemas/CreatePrivateChatResult"}},"required":["ok","result"],"type":"object"},"CreateSpaceInput":{"additionalProperties":false,"properties":{"handle":{"type":"string"},"name":{"type":"string"}},"required":["name"],"type":"object"},"CreateSpaceInput1":{"additionalProperties":false,"properties":{"handle":{"type":"string"},"name":{"type":"string"}},"required":["name"],"type":"object"},"CreateSpaceInput2":{"additionalProperties":false,"properties":{"handle":{"type":"string"},"name":{"type":"string"}},"required":["name"],"type":"object"},"CreateSpaceResult":{"additionalProperties":false,"properties":{"chats":{"items":{"$ref":"#/components/schemas/ChatInfo"},"type":"array"},"dialogs":{"items":{"$ref":"#/components/schemas/DialogInfo"},"type":"array"},"member":{"$ref":"#/components/schemas/MemberInfo"},"space":{"$ref":"#/components/schemas/SpaceInfo"}},"required":["space","member","chats","dialogs"],"type":"object"},"CreateSpaceSuccess":{"additionalProperties":false,"properties":{"ok":{"enum":[true],"type":"boolean"},"result":{"$ref":"#/components/schemas/CreateSpaceResult"}},"required":["ok","result"],"type":"object"},"CreateThreadInput":{"additionalProperties":false,"properties":{"emoji":{"type":"string"},"spaceId":{"$ref":"#/components/schemas/V1InputId1"},"title":{"type":"string"}},"required":["title","spaceId"],"type":"object"},"CreateThreadInput1":{"additionalProperties":false,"properties":{"emoji":{"type":"string"},"spaceId":{"$ref":"#/components/schemas/V1InputId"},"title":{"type":"string"}},"required":["title","spaceId"],"type":"object"},"CreateThreadInput2":{"additionalProperties":false,"properties":{"emoji":{"type":"string"},"spaceId":{"$ref":"#/components/schemas/V1InputId1"},"title":{"type":"string"}},"required":["title","spaceId"],"type":"object"},"CreateThreadResult":{"additionalProperties":false,"properties":{"chat":{"$ref":"#/components/schemas/ChatInfo"}},"required":["chat"],"type":"object"},"CreateThreadSuccess":{"additionalProperties":false,"properties":{"ok":{"enum":[true],"type":"boolean"},"result":{"$ref":"#/components/schemas/CreateThreadResult"}},"required":["ok","result"],"type":"object"},"DeleteAttachmentInput":{"additionalProperties":false,"properties":{"chatId":{"$ref":"#/components/schemas/ChatId"},"externalTaskId":{"$ref":"#/components/schemas/WirePositiveInteger"},"messageId":{"$ref":"#/components/schemas/MessageId"},"pageId":{"type":"string"}},"required":["externalTaskId","pageId","messageId","chatId"],"type":"object"},"DeleteAttachmentInput1":{"additionalProperties":false,"properties":{"chatId":{"$ref":"#/components/schemas/WireSafeInteger1"},"externalTaskId":{"$ref":"#/components/schemas/WireSafeInteger1"},"messageId":{"$ref":"#/components/schemas/WireSafeInteger1"},"pageId":{"type":"string"}},"required":["externalTaskId","pageId","messageId","chatId"],"type":"object"},"DeleteAttachmentInput2":{"additionalProperties":false,"properties":{"chatId":{"$ref":"#/components/schemas/ChatId"},"externalTaskId":{"$ref":"#/components/schemas/WirePositiveInteger"},"messageId":{"$ref":"#/components/schemas/MessageId"},"pageId":{"type":"string"}},"required":["externalTaskId","pageId","messageId","chatId"],"type":"object"},"DeleteAttachmentResult":{"additionalProperties":false,"properties":{"success":{"type":"boolean"}},"required":["success"],"type":"object"},"DeleteAttachmentSuccess":{"additionalProperties":false,"properties":{"ok":{"enum":[true],"type":"boolean"},"result":{"$ref":"#/components/schemas/DeleteAttachmentResult"}},"required":["ok","result"],"type":"object"},"DeleteMessageInput":{"additionalProperties":false,"properties":{"chatId":{"$ref":"#/components/schemas/V1InputId1"},"messageId":{"$ref":"#/components/schemas/V1InputId1"},"peerThreadId":{"$ref":"#/components/schemas/V1InputId5"},"peerUserId":{"$ref":"#/components/schemas/V1InputId4"}},"required":["messageId","chatId"],"type":"object"},"DeleteMessageInput1":{"additionalProperties":false,"properties":{"chatId":{"$ref":"#/components/schemas/V1InputId"},"messageId":{"$ref":"#/components/schemas/V1InputId"},"peerThreadId":{"$ref":"#/components/schemas/V1InputId"},"peerUserId":{"$ref":"#/components/schemas/V1InputId"}},"required":["messageId","chatId"],"type":"object"},"DeleteMessageInput2":{"additionalProperties":false,"properties":{"chatId":{"$ref":"#/components/schemas/V1InputId1"},"messageId":{"$ref":"#/components/schemas/V1InputId1"},"peerThreadId":{"$ref":"#/components/schemas/V1InputId5"},"peerUserId":{"$ref":"#/components/schemas/V1InputId4"}},"required":["messageId","chatId"],"type":"object"},"DeleteMessageSuccess":{"additionalProperties":false,"properties":{"ok":{"enum":[true],"type":"boolean"}},"required":["ok"],"type":"object"},"DeleteSpaceInput":{"additionalProperties":false,"properties":{"spaceId":{"$ref":"#/components/schemas/V1InputId1"}},"required":["spaceId"],"type":"object"},"DeleteSpaceInput1":{"additionalProperties":false,"properties":{"spaceId":{"$ref":"#/components/schemas/V1InputId"}},"required":["spaceId"],"type":"object"},"DeleteSpaceInput2":{"additionalProperties":false,"properties":{"spaceId":{"$ref":"#/components/schemas/V1InputId1"}},"required":["spaceId"],"type":"object"},"DialogInfo":{"additionalProperties":false,"properties":{"archived":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"chatId":{"anyOf":[{"$ref":"#/components/schemas/WireSafeInteger"},{"type":"null"}]},"chatListHidden":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"draft":{"anyOf":[{"type":"string"},{"type":"null"}]},"open":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"openedDate":{"anyOf":[{"$ref":"#/components/schemas/WireSafeInteger"},{"type":"null"}]},"order":{"anyOf":[{"type":"string"},{"type":"null"}]},"peerId":{"$ref":"#/components/schemas/PeerInfo"},"pinned":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"pinnedOrder":{"anyOf":[{"type":"string"},{"type":"null"}]},"readInboxMaxId":{"anyOf":[{"$ref":"#/components/schemas/WireSafeInteger"},{"type":"null"}]},"sidebarVisible":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"spaceId":{"anyOf":[{"$ref":"#/components/schemas/WireSafeInteger"},{"type":"null"}]},"unreadCount":{"anyOf":[{"$ref":"#/components/schemas/WireSafeInteger"},{"type":"null"}]}},"required":["peerId"],"type":"object"},"DisconnectIntegrationInput":{"additionalProperties":false,"properties":{"provider":{"enum":["notion","linear"],"type":"string"},"spaceId":{"$ref":"#/components/schemas/SpaceId2"}},"required":["spaceId","provider"],"type":"object"},"DisconnectIntegrationInput1":{"additionalProperties":false,"properties":{"provider":{"enum":["notion","linear"],"type":"string"},"spaceId":{"$ref":"#/components/schemas/WireSafeInteger1"}},"required":["spaceId","provider"],"type":"object"},"DisconnectIntegrationInput2":{"additionalProperties":false,"properties":{"provider":{"enum":["notion","linear"],"type":"string"},"spaceId":{"$ref":"#/components/schemas/SpaceId2"}},"required":["spaceId","provider"],"type":"object"},"DisconnectIntegrationResult":{"additionalProperties":false,"properties":{"ok":{"type":"boolean"}},"required":["ok"],"type":"object"},"DisconnectIntegrationSuccess":{"additionalProperties":false,"properties":{"ok":{"enum":[true],"type":"boolean"},"result":{"$ref":"#/components/schemas/DisconnectIntegrationResult"}},"required":["ok","result"],"type":"object"},"GetAlphaTextInput":{"anyOf":[{"type":"object"},{"type":"array"}]},"GetAlphaTextInput1":{"anyOf":[{"type":"object"},{"type":"array"}]},"GetAlphaTextInput2":{"anyOf":[{"type":"object"},{"type":"array"}]},"GetAlphaTextResult":{"type":"string"},"GetAlphaTextSuccess":{"additionalProperties":false,"properties":{"ok":{"enum":[true],"type":"boolean"},"result":{"$ref":"#/components/schemas/GetAlphaTextResult"}},"required":["ok","result"],"type":"object"},"GetChatHistoryInput":{"additionalProperties":false,"properties":{"limit":{"$ref":"#/components/schemas/WireSafeInteger"},"peerId":{"$ref":"#/components/schemas/V1InputPeerInfo3"},"peerThreadId":{"$ref":"#/components/schemas/V1InputId9"},"peerUserId":{"$ref":"#/components/schemas/V1InputId8"}},"type":"object"},"GetChatHistoryInput1":{"additionalProperties":false,"properties":{"limit":{"$ref":"#/components/schemas/WireSafeInteger4"},"peerId":{"$ref":"#/components/schemas/V1InputPeerInfo"},"peerThreadId":{"$ref":"#/components/schemas/V1InputId"},"peerUserId":{"$ref":"#/components/schemas/V1InputId"}},"type":"object"},"GetChatHistoryInput2":{"additionalProperties":false,"properties":{"limit":{"$ref":"#/components/schemas/WireSafeInteger"},"peerId":{"$ref":"#/components/schemas/V1InputPeerInfo3"},"peerThreadId":{"$ref":"#/components/schemas/V1InputId9"},"peerUserId":{"$ref":"#/components/schemas/V1InputId8"}},"type":"object"},"GetChatHistoryResult":{"additionalProperties":false,"properties":{"messages":{"items":{"$ref":"#/components/schemas/MessageInfo"},"type":"array"}},"required":["messages"],"type":"object"},"GetChatHistorySuccess":{"additionalProperties":false,"properties":{"ok":{"enum":[true],"type":"boolean"},"result":{"$ref":"#/components/schemas/GetChatHistoryResult"}},"required":["ok","result"],"type":"object"},"GetDialogsInput":{"additionalProperties":false,"properties":{"spaceId":{"$ref":"#/components/schemas/V1InputId1"}},"required":["spaceId"],"type":"object"},"GetDialogsInput1":{"additionalProperties":false,"properties":{"spaceId":{"$ref":"#/components/schemas/V1InputId"}},"required":["spaceId"],"type":"object"},"GetDialogsInput2":{"additionalProperties":false,"properties":{"spaceId":{"$ref":"#/components/schemas/V1InputId1"}},"required":["spaceId"],"type":"object"},"GetDialogsResult":{"additionalProperties":false,"properties":{"chats":{"items":{"$ref":"#/components/schemas/ChatInfo"},"type":"array"},"dialogs":{"items":{"$ref":"#/components/schemas/DialogInfo"},"type":"array"},"messages":{"items":{"$ref":"#/components/schemas/MessageInfo"},"type":"array"},"users":{"items":{"$ref":"#/components/schemas/UserInfo"},"type":"array"}},"required":["dialogs","chats","messages","users"],"type":"object"},"GetDialogsSuccess":{"additionalProperties":false,"properties":{"ok":{"enum":[true],"type":"boolean"},"result":{"$ref":"#/components/schemas/GetDialogsResult"}},"required":["ok","result"],"type":"object"},"GetDraftInput":{"additionalProperties":false,"properties":{"peerUserId":{"$ref":"#/components/schemas/V1InputId11"}},"type":"object"},"GetDraftInput1":{"additionalProperties":false,"properties":{"peerUserId":{"$ref":"#/components/schemas/V1InputId"}},"type":"object"},"GetDraftInput2":{"additionalProperties":false,"properties":{"peerUserId":{"$ref":"#/components/schemas/V1InputId11"}},"type":"object"},"GetDraftResult":{"additionalProperties":false,"properties":{"draft":{"type":"string"}},"required":["draft"],"type":"object"},"GetDraftSuccess":{"additionalProperties":false,"properties":{"ok":{"enum":[true],"type":"boolean"},"result":{"$ref":"#/components/schemas/GetDraftResult"}},"required":["ok","result"],"type":"object"},"GetIntegrationsInput":{"additionalProperties":false,"properties":{"spaceId":{"$ref":"#/components/schemas/V1InputId13"},"userId":{"$ref":"#/components/schemas/V1InputId1"}},"required":["userId"],"type":"object"},"GetIntegrationsInput1":{"additionalProperties":false,"properties":{"spaceId":{"$ref":"#/components/schemas/V1InputId"},"userId":{"$ref":"#/components/schemas/V1InputId"}},"required":["userId"],"type":"object"},"GetIntegrationsInput2":{"additionalProperties":false,"properties":{"spaceId":{"$ref":"#/components/schemas/V1InputId13"},"userId":{"$ref":"#/components/schemas/V1InputId1"}},"required":["userId"],"type":"object"},"GetIntegrationsResult":{"additionalProperties":false,"properties":{"hasIntegrationAccess":{"type":"boolean"},"hasLinearConnected":{"type":"boolean"},"hasNotionConnected":{"type":"boolean"},"linearSpaces":{"items":{"additionalProperties":false,"properties":{"spaceId":{"$ref":"#/components/schemas/SpaceId2"},"spaceName":{"type":"string"}},"required":["spaceId","spaceName"],"type":"object"},"type":"array"},"linearTeamId":{"$ref":"#/components/schemas/LinearTeamId"},"notionDatabaseId":{"$ref":"#/components/schemas/NotionDatabaseId"},"notionSpaces":{"items":{"additionalProperties":false,"properties":{"spaceId":{"$ref":"#/components/schemas/SpaceId2"},"spaceName":{"type":"string"}},"required":["spaceId","spaceName"],"type":"object"},"type":"array"}},"required":["hasLinearConnected","hasNotionConnected","hasIntegrationAccess"],"type":"object"},"GetIntegrationsSuccess":{"additionalProperties":false,"properties":{"ok":{"enum":[true],"type":"boolean"},"result":{"$ref":"#/components/schemas/GetIntegrationsResult"}},"required":["ok","result"],"type":"object"},"GetInviteCodesInput":{"anyOf":[{"type":"object"},{"type":"array"}]},"GetInviteCodesInput1":{"anyOf":[{"type":"object"},{"type":"array"}]},"GetInviteCodesInput2":{"anyOf":[{"type":"object"},{"type":"array"}]},"GetInviteCodesResult":{"additionalProperties":false,"properties":{"codes":{"items":{"$ref":"#/components/schemas/InviteCodeInfo"},"type":"array"}},"required":["codes"],"type":"object"},"GetInviteCodesSuccess":{"additionalProperties":false,"properties":{"ok":{"enum":[true],"type":"boolean"},"result":{"$ref":"#/components/schemas/GetInviteCodesResult"}},"required":["ok","result"],"type":"object"},"GetLinearTeamsInput":{"additionalProperties":false,"properties":{"spaceId":{"$ref":"#/components/schemas/SpaceId2"}},"required":["spaceId"],"type":"object"},"GetLinearTeamsInput1":{"additionalProperties":false,"properties":{"spaceId":{"$ref":"#/components/schemas/WireSafeInteger1"}},"required":["spaceId"],"type":"object"},"GetLinearTeamsInput2":{"additionalProperties":false,"properties":{"spaceId":{"$ref":"#/components/schemas/SpaceId2"}},"required":["spaceId"],"type":"object"},"GetLinearTeamsResult":{"items":{"additionalProperties":false,"properties":{"id":{"$ref":"#/components/schemas/LinearTeamId"},"key":{"type":"string"},"name":{"type":"string"}},"required":["id","name","key"],"type":"object"},"type":"array"},"GetLinearTeamsSuccess":{"additionalProperties":false,"properties":{"ok":{"enum":[true],"type":"boolean"},"result":{"$ref":"#/components/schemas/GetLinearTeamsResult"}},"required":["ok","result"],"type":"object"},"GetMeInput":{"anyOf":[{"type":"object"},{"type":"array"}]},"GetMeInput1":{"anyOf":[{"type":"object"},{"type":"array"}]},"GetMeInput2":{"anyOf":[{"type":"object"},{"type":"array"}]},"GetMeResult":{"additionalProperties":false,"properties":{"user":{"$ref":"#/components/schemas/UserInfo"}},"required":["user"],"type":"object"},"GetMeSuccess":{"additionalProperties":false,"properties":{"ok":{"enum":[true],"type":"boolean"},"result":{"$ref":"#/components/schemas/GetMeResult"}},"required":["ok","result"],"type":"object"},"GetNotionDatabasesInput":{"additionalProperties":false,"properties":{"spaceId":{"$ref":"#/components/schemas/SpaceId2"}},"required":["spaceId"],"type":"object"},"GetNotionDatabasesInput1":{"additionalProperties":false,"properties":{"spaceId":{"$ref":"#/components/schemas/WireSafeInteger1"}},"required":["spaceId"],"type":"object"},"GetNotionDatabasesInput2":{"additionalProperties":false,"properties":{"spaceId":{"$ref":"#/components/schemas/SpaceId2"}},"required":["spaceId"],"type":"object"},"GetNotionDatabasesResult":{"items":{"additionalProperties":false,"properties":{"icon":{"type":"string"},"id":{"$ref":"#/components/schemas/NotionDatabaseId"},"title":{"type":"string"}},"required":["id","title"],"type":"object"},"type":"array"},"GetNotionDatabasesSuccess":{"additionalProperties":false,"properties":{"ok":{"enum":[true],"type":"boolean"},"result":{"$ref":"#/components/schemas/GetNotionDatabasesResult"}},"required":["ok","result"],"type":"object"},"GetPrivateChatsInput":{"anyOf":[{"type":"object"},{"type":"array"}]},"GetPrivateChatsInput1":{"anyOf":[{"type":"object"},{"type":"array"}]},"GetPrivateChatsInput2":{"anyOf":[{"type":"object"},{"type":"array"}]},"GetPrivateChatsResult":{"additionalProperties":false,"properties":{"chats":{"items":{"$ref":"#/components/schemas/ChatInfo"},"type":"array"},"dialogs":{"items":{"$ref":"#/components/schemas/DialogInfo"},"type":"array"},"messages":{"items":{"$ref":"#/components/schemas/MessageInfo"},"type":"array"},"peerUsers":{"items":{"$ref":"#/components/schemas/UserInfo"},"type":"array"}},"required":["messages","chats","dialogs","peerUsers"],"type":"object"},"GetPrivateChatsSuccess":{"additionalProperties":false,"properties":{"ok":{"enum":[true],"type":"boolean"},"result":{"$ref":"#/components/schemas/GetPrivateChatsResult"}},"required":["ok","result"],"type":"object"},"GetSpaceInput":{"additionalProperties":false,"properties":{"id":{"$ref":"#/components/schemas/V1InputId1"}},"required":["id"],"type":"object"},"GetSpaceInput1":{"additionalProperties":false,"properties":{"id":{"$ref":"#/components/schemas/V1InputId"}},"required":["id"],"type":"object"},"GetSpaceInput2":{"additionalProperties":false,"properties":{"id":{"$ref":"#/components/schemas/V1InputId1"}},"required":["id"],"type":"object"},"GetSpaceMembersInput":{"additionalProperties":false,"properties":{"spaceId":{"$ref":"#/components/schemas/V1InputId1"}},"required":["spaceId"],"type":"object"},"GetSpaceMembersInput1":{"additionalProperties":false,"properties":{"spaceId":{"$ref":"#/components/schemas/V1InputId"}},"required":["spaceId"],"type":"object"},"GetSpaceMembersInput2":{"additionalProperties":false,"properties":{"spaceId":{"$ref":"#/components/schemas/V1InputId1"}},"required":["spaceId"],"type":"object"},"GetSpaceMembersResult":{"additionalProperties":false,"properties":{"members":{"items":{"$ref":"#/components/schemas/MemberInfo"},"type":"array"},"users":{"items":{"$ref":"#/components/schemas/MinUserInfo"},"type":"array"}},"required":["members","users"],"type":"object"},"GetSpaceMembersSuccess":{"additionalProperties":false,"properties":{"ok":{"enum":[true],"type":"boolean"},"result":{"$ref":"#/components/schemas/GetSpaceMembersResult"}},"required":["ok","result"],"type":"object"},"GetSpaceResult":{"additionalProperties":false,"properties":{"members":{"items":{"$ref":"#/components/schemas/MemberInfo"},"type":"array"},"space":{"$ref":"#/components/schemas/SpaceInfo"}},"required":["space","members"],"type":"object"},"GetSpaceSuccess":{"additionalProperties":false,"properties":{"ok":{"enum":[true],"type":"boolean"},"result":{"$ref":"#/components/schemas/GetSpaceResult"}},"required":["ok","result"],"type":"object"},"GetSpacesInput":{"anyOf":[{"type":"object"},{"type":"array"}]},"GetSpacesInput1":{"anyOf":[{"type":"object"},{"type":"array"}]},"GetSpacesInput2":{"anyOf":[{"type":"object"},{"type":"array"}]},"GetSpacesResult":{"additionalProperties":false,"properties":{"members":{"items":{"$ref":"#/components/schemas/MemberInfo"},"type":"array"},"spaces":{"items":{"$ref":"#/components/schemas/SpaceInfo"},"type":"array"}},"required":["spaces","members"],"type":"object"},"GetSpacesSuccess":{"additionalProperties":false,"properties":{"ok":{"enum":[true],"type":"boolean"},"result":{"$ref":"#/components/schemas/GetSpacesResult"}},"required":["ok","result"],"type":"object"},"GetUserInput":{"additionalProperties":false,"properties":{"id":{"$ref":"#/components/schemas/V1InputId1"}},"required":["id"],"type":"object"},"GetUserInput1":{"additionalProperties":false,"properties":{"id":{"$ref":"#/components/schemas/V1InputId"}},"required":["id"],"type":"object"},"GetUserInput2":{"additionalProperties":false,"properties":{"id":{"$ref":"#/components/schemas/V1InputId1"}},"required":["id"],"type":"object"},"GetUserResult":{"additionalProperties":false,"properties":{"user":{"$ref":"#/components/schemas/MinUserInfo"}},"required":["user"],"type":"object"},"GetUserSuccess":{"additionalProperties":false,"properties":{"ok":{"enum":[true],"type":"boolean"},"result":{"$ref":"#/components/schemas/GetUserResult"}},"required":["ok","result"],"type":"object"},"HttpStatusCode":{"allOf":[{"description":"A standard HTTP response status code from 100 through 599","maximum":599,"minimum":100}],"type":"integer"},"IdentityApiError":{"additionalProperties":false,"properties":{"description":{"type":"string"},"error":{"type":"string"},"errorCode":{"$ref":"#/components/schemas/HttpStatusCode"},"ok":{"enum":[false],"type":"boolean"}},"required":["ok","error"],"type":"object"},"IdentityApiError1":{"additionalProperties":false,"properties":{"description":{"type":"string"},"error":{"type":"string"},"errorCode":{"$ref":"#/components/schemas/HttpStatusCode"},"ok":{"enum":[false],"type":"boolean"}},"required":["ok","error"],"type":"object"},"IdentityApiError2":{"additionalProperties":false,"properties":{"description":{"type":"string"},"error":{"type":"string"},"errorCode":{"$ref":"#/components/schemas/HttpStatusCode"},"ok":{"enum":[false],"type":"boolean"}},"required":["ok","error"],"type":"object"},"IdentityApiError3":{"additionalProperties":false,"properties":{"description":{"type":"string"},"error":{"type":"string"},"errorCode":{"$ref":"#/components/schemas/HttpStatusCode"},"ok":{"enum":[false],"type":"boolean"}},"required":["ok","error"],"type":"object"},"IdentityApiError5":{"additionalProperties":false,"properties":{"description":{"type":"string"},"error":{"type":"string"},"errorCode":{"$ref":"#/components/schemas/HttpStatusCode"},"ok":{"enum":[false],"type":"boolean"}},"required":["ok","error"],"type":"object"},"IdentityApiError6":{"additionalProperties":false,"properties":{"description":{"type":"string"},"error":{"type":"string"},"errorCode":{"$ref":"#/components/schemas/HttpStatusCode"},"ok":{"enum":[false],"type":"boolean"}},"required":["ok","error"],"type":"object"},"IdentityApiError7":{"additionalProperties":false,"properties":{"description":{"type":"string"},"error":{"type":"string"},"errorCode":{"$ref":"#/components/schemas/HttpStatusCode"},"ok":{"enum":[false],"type":"boolean"}},"required":["ok","error"],"type":"object"},"IdentityLogoutSuccess":{"additionalProperties":false,"properties":{"ok":{"enum":[true],"type":"boolean"}},"required":["ok"],"type":"object"},"InlineId":{"allOf":[{"description":"A positive Inline entity identifier","maximum":9007199254740991,"minimum":1}],"type":"integer"},"IntegrationErrorResponse":{"additionalProperties":false,"properties":{"error":{"type":"string"}},"required":["error"],"type":"object"},"IntegrationErrorResponse1":{"additionalProperties":false,"properties":{"error":{"type":"string"}},"required":["error"],"type":"object"},"IntegrationErrorResponse2":{"additionalProperties":false,"properties":{"error":{"type":"string"}},"required":["error"],"type":"object"},"IntegrationStartInternalError":{"anyOf":[{"$ref":"#/components/schemas/IntegrationErrorResponse2"},{"enum":["Internal Server Error"],"type":"string"}]},"InviteCodeInfo":{"additionalProperties":false,"properties":{"code":{"type":"string"},"redeemed":{"type":"boolean"},"redeemedAt":{"type":"string"}},"required":["code","redeemed"],"type":"object"},"LeaveSpaceInput":{"additionalProperties":false,"properties":{"spaceId":{"$ref":"#/components/schemas/V1InputId1"}},"required":["spaceId"],"type":"object"},"LeaveSpaceInput1":{"additionalProperties":false,"properties":{"spaceId":{"$ref":"#/components/schemas/V1InputId"}},"required":["spaceId"],"type":"object"},"LeaveSpaceInput2":{"additionalProperties":false,"properties":{"spaceId":{"$ref":"#/components/schemas/V1InputId1"}},"required":["spaceId"],"type":"object"},"LeaveSpaceResult":{"additionalProperties":false,"properties":{"memberId":{"$ref":"#/components/schemas/WirePositiveInteger"},"userId":{"$ref":"#/components/schemas/WirePositiveInteger"}},"required":["memberId","userId"],"type":"object"},"LeaveSpaceSuccess":{"additionalProperties":false,"properties":{"ok":{"enum":[true],"type":"boolean"},"result":{"$ref":"#/components/schemas/LeaveSpaceResult"}},"required":["ok","result"],"type":"object"},"LinearTeamId":{"description":"A Linear workspace team identifier","type":"string"},"LoginSessionResult":{"additionalProperties":false,"properties":{"token":{"type":"string"},"user":{"$ref":"#/components/schemas/UserInfo"},"userId":{"$ref":"#/components/schemas/WirePositiveInteger"}},"required":["userId","token","user"],"type":"object"},"LogoutInput":{"anyOf":[{"type":"object"},{"type":"array"}]},"LogoutInput1":{"anyOf":[{"type":"object"},{"type":"array"}]},"LogoutInput2":{"anyOf":[{"type":"object"},{"type":"array"}]},"MemberInfo":{"additionalProperties":false,"properties":{"date":{"$ref":"#/components/schemas/UnixSeconds"},"id":{"$ref":"#/components/schemas/WirePositiveInteger"},"role":{"enum":["owner","admin","member"],"type":"string"},"spaceId":{"$ref":"#/components/schemas/WirePositiveInteger"},"userId":{"$ref":"#/components/schemas/WirePositiveInteger"}},"required":["id","userId","spaceId","role","date"],"type":"object"},"MessageId":{"allOf":[{"description":"A positive Inline message identifier","maximum":9007199254740991,"minimum":1}],"type":"integer"},"MessageInfo":{"additionalProperties":false,"properties":{"chatId":{"$ref":"#/components/schemas/WirePositiveInteger"},"date":{"$ref":"#/components/schemas/UnixSeconds"},"editDate":{"anyOf":[{"$ref":"#/components/schemas/WireSafeInteger"},{"type":"null"}]},"fromId":{"$ref":"#/components/schemas/WirePositiveInteger"},"id":{"$ref":"#/components/schemas/WirePositiveInteger"},"isSticker":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"mentioned":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"out":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"peerId":{"$ref":"#/components/schemas/PeerInfo"},"photo":{"anyOf":[{"items":{"$ref":"#/components/schemas/UserPhoto"},"type":"array"},{"type":"null"}]},"pinned":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"randomId":{"anyOf":[{"type":"string"},{"type":"null"}]},"replyToMsgId":{"anyOf":[{"$ref":"#/components/schemas/WireSafeInteger"},{"type":"null"}]},"text":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["id","peerId","chatId","fromId","date"],"type":"object"},"MinUserInfo":{"additionalProperties":false,"properties":{"date":{"$ref":"#/components/schemas/UnixSeconds"},"firstName":{"anyOf":[{"type":"string"},{"type":"null"}]},"id":{"$ref":"#/components/schemas/WirePositiveInteger"},"lastName":{"anyOf":[{"type":"string"},{"type":"null"}]},"lastOnline":{"anyOf":[{"$ref":"#/components/schemas/WireSafeInteger"},{"type":"null"}]},"online":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"pendingSetup":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"photo":{"anyOf":[{"items":{"$ref":"#/components/schemas/UserPhoto"},"type":"array"},{"type":"null"}]},"username":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["id","date"],"type":"object"},"NativeAppleAuthCompleteInput":{"additionalProperties":false,"properties":{"authorizationCode":{"type":"string"},"firstName":{"type":"string"},"identityToken":{"type":"string"},"lastName":{"type":"string"},"state":{"type":"string"}},"required":["state","authorizationCode","identityToken"],"type":"object"},"NativeAppleAuthCompleteSuccess":{"additionalProperties":false,"properties":{"ok":{"enum":[true],"type":"boolean"},"result":{"anyOf":[{"additionalProperties":false,"properties":{"kind":{"enum":["complete"],"type":"string"},"ticket":{"type":"string"}},"required":["kind","ticket"],"type":"object"},{"additionalProperties":false,"properties":{"attemptId":{"type":"string"},"continuation":{"type":"string"},"kind":{"enum":["inviteRequired"],"type":"string"}},"required":["kind","attemptId","continuation"],"type":"object"}]}},"required":["ok","result"],"type":"object"},"NativeAppleAuthInviteInput":{"additionalProperties":false,"properties":{"attemptId":{"type":"string"},"continuation":{"type":"string"},"inviteCode":{"type":"string"}},"required":["attemptId","continuation","inviteCode"],"type":"object"},"NativeAppleAuthInviteSuccess":{"additionalProperties":false,"properties":{"ok":{"enum":[true],"type":"boolean"},"result":{"additionalProperties":false,"properties":{"ticket":{"type":"string"}},"required":["ticket"],"type":"object"}},"required":["ok","result"],"type":"object"},"NativeAppleAuthStartInput":{"additionalProperties":false,"properties":{"callbackScheme":{"type":"string"},"clientType":{"type":"string"},"clientVersion":{"type":"string"},"codeChallenge":{"type":"string"},"deviceId":{"type":"string"},"deviceName":{"type":"string"},"osVersion":{"type":"string"},"timezone":{"type":"string"}},"required":["callbackScheme","codeChallenge","clientType"],"type":"object"},"NativeAppleAuthStartSuccess":{"additionalProperties":false,"properties":{"ok":{"enum":[true],"type":"boolean"},"result":{"additionalProperties":false,"properties":{"nonce":{"type":"string"},"state":{"type":"string"}},"required":["state","nonce"],"type":"object"}},"required":["ok","result"],"type":"object"},"NotionDatabaseId":{"description":"A Notion database or data-source identifier","type":"string"},"OAuthAuthorizationServerMetadata":{"additionalProperties":false,"properties":{"authorization_endpoint":{"type":"string"},"code_challenge_methods_supported":{"items":{"type":"string"},"type":"array"},"grant_types_supported":{"items":{"type":"string"},"type":"array"},"issuer":{"type":"string"},"registration_endpoint":{"type":"string"},"response_types_supported":{"items":{"type":"string"},"type":"array"},"revocation_endpoint":{"type":"string"},"scopes_supported":{"items":{"type":"string"},"type":"array"},"token_endpoint":{"type":"string"},"token_endpoint_auth_methods_supported":{"items":{"type":"string"},"type":"array"}},"required":["issuer","authorization_endpoint","token_endpoint","registration_endpoint","revocation_endpoint","scopes_supported","response_types_supported","grant_types_supported","token_endpoint_auth_methods_supported","code_challenge_methods_supported"],"type":"object"},"OAuthConsentForm":{"additionalProperties":false,"properties":{"allow_dms":{"type":"string"},"allow_home_threads":{"type":"string"},"csrf":{"type":"string"},"name":{"type":"string"},"space_id":{"anyOf":[{"type":"string"},{"items":{"type":"string"},"type":"array"}]},"step":{"type":"string"},"username":{"type":"string"}},"type":"object"},"OAuthConsentForm1":{"additionalProperties":false,"properties":{"allow_dms":{"type":"string"},"allow_home_threads":{"type":"string"},"csrf":{"type":"string"},"name":{"type":"string"},"space_id":{"anyOf":[{"type":"string"},{"items":{"type":"string"},"type":"array"}]},"step":{"type":"string"},"username":{"type":"string"}},"type":"object"},"OAuthConsentForm2":{"additionalProperties":false,"properties":{"allow_dms":{"type":"string"},"allow_home_threads":{"type":"string"},"csrf":{"type":"string"},"name":{"type":"string"},"space_id":{"anyOf":[{"type":"string"},{"items":{"type":"string"},"type":"array"}]},"step":{"type":"string"},"username":{"type":"string"}},"type":"object"},"OAuthEmailCodeForm":{"additionalProperties":false,"properties":{"csrf":{"type":"string"},"email":{"type":"string"}},"type":"object"},"OAuthEmailCodeForm1":{"additionalProperties":false,"properties":{"csrf":{"type":"string"},"email":{"type":"string"}},"type":"object"},"OAuthEmailCodeForm2":{"additionalProperties":false,"properties":{"csrf":{"type":"string"},"email":{"type":"string"}},"type":"object"},"OAuthEmailCodeForm3":{"additionalProperties":false,"properties":{"csrf":{"type":"string"},"email":{"type":"string"}},"type":"object"},"OAuthEmailCodeForm4":{"additionalProperties":false,"properties":{"csrf":{"type":"string"},"email":{"type":"string"}},"type":"object"},"OAuthEmailVerificationForm":{"additionalProperties":false,"properties":{"code":{"type":"string"},"csrf":{"type":"string"},"invite_code":{"type":"string"}},"type":"object"},"OAuthEmailVerificationForm1":{"additionalProperties":false,"properties":{"code":{"type":"string"},"csrf":{"type":"string"},"invite_code":{"type":"string"}},"type":"object"},"OAuthEmailVerificationForm2":{"additionalProperties":false,"properties":{"code":{"type":"string"},"csrf":{"type":"string"},"invite_code":{"type":"string"}},"type":"object"},"OAuthEmailVerificationForm3":{"additionalProperties":false,"properties":{"code":{"type":"string"},"csrf":{"type":"string"},"invite_code":{"type":"string"}},"type":"object"},"OAuthEmailVerificationForm4":{"additionalProperties":false,"properties":{"code":{"type":"string"},"csrf":{"type":"string"},"invite_code":{"type":"string"}},"type":"object"},"OAuthEmailVerificationForm5":{"additionalProperties":false,"properties":{"code":{"type":"string"},"csrf":{"type":"string"},"invite_code":{"type":"string"}},"type":"object"},"OAuthEmailVerificationForm6":{"additionalProperties":false,"properties":{"code":{"type":"string"},"csrf":{"type":"string"},"invite_code":{"type":"string"}},"type":"object"},"OAuthEmailVerificationForm7":{"additionalProperties":false,"properties":{"code":{"type":"string"},"csrf":{"type":"string"},"invite_code":{"type":"string"}},"type":"object"},"OAuthEmailVerificationForm8":{"additionalProperties":false,"properties":{"code":{"type":"string"},"csrf":{"type":"string"},"invite_code":{"type":"string"}},"type":"object"},"OAuthEmptyObject":{"anyOf":[{"type":"object"},{"type":"array"}]},"OAuthError":{"additionalProperties":false,"properties":{"error":{"type":"string"},"error_description":{"type":"string"}},"required":["error"],"type":"object"},"OAuthError1":{"additionalProperties":false,"properties":{"error":{"type":"string"},"error_description":{"type":"string"}},"required":["error"],"type":"object"},"OAuthError2":{"additionalProperties":false,"properties":{"error":{"type":"string"},"error_description":{"type":"string"}},"required":["error"],"type":"object"},"OAuthError3":{"additionalProperties":false,"properties":{"error":{"type":"string"},"error_description":{"type":"string"}},"required":["error"],"type":"object"},"OAuthError4":{"additionalProperties":false,"properties":{"error":{"type":"string"},"error_description":{"type":"string"}},"required":["error"],"type":"object"},"OAuthError6":{"additionalProperties":false,"properties":{"error":{"type":"string"},"error_description":{"type":"string"}},"required":["error"],"type":"object"},"OAuthError7":{"additionalProperties":false,"properties":{"error":{"type":"string"},"error_description":{"type":"string"}},"required":["error"],"type":"object"},"OAuthError8":{"additionalProperties":false,"properties":{"error":{"type":"string"},"error_description":{"type":"string"}},"required":["error"],"type":"object"},"OAuthError9":{"additionalProperties":false,"properties":{"error":{"type":"string"},"error_description":{"type":"string"}},"required":["error"],"type":"object"},"OAuthInactiveToken":{"additionalProperties":false,"properties":{"active":{"enum":[false],"type":"boolean"}},"required":["active"],"type":"object"},"OAuthIntrospectForm":{"additionalProperties":false,"properties":{"token":{"type":"string"}},"type":"object"},"OAuthIntrospectForm1":{"additionalProperties":false,"properties":{"token":{"type":"string"}},"type":"object"},"OAuthIntrospectForm2":{"additionalProperties":false,"properties":{"token":{"type":"string"}},"type":"object"},"OAuthIntrospectionResult":{"additionalProperties":false,"properties":{"active":{"enum":[true],"type":"boolean"},"allow_dms":{"type":"boolean"},"allow_home_threads":{"type":"boolean"},"aud":{"type":"string"},"client_id":{"type":"string"},"exp":{"$ref":"#/components/schemas/UnixSeconds"},"grant_id":{"type":"string"},"inline_token":{"type":"string"},"inline_user_id":{"type":"string"},"scope":{"type":"string"},"space_ids":{"items":{"type":"string"},"type":"array"}},"required":["active","grant_id","client_id","scope","aud","exp","inline_user_id","space_ids","allow_dms","allow_home_threads","inline_token"],"type":"object"},"OAuthPhoneCodeForm":{"additionalProperties":false,"properties":{"csrf":{"type":"string"},"phone_number":{"type":"string"}},"type":"object"},"OAuthPhoneCodeForm1":{"additionalProperties":false,"properties":{"csrf":{"type":"string"},"phone_number":{"type":"string"}},"type":"object"},"OAuthPhoneCodeForm2":{"additionalProperties":false,"properties":{"csrf":{"type":"string"},"phone_number":{"type":"string"}},"type":"object"},"OAuthPhoneCodeForm3":{"additionalProperties":false,"properties":{"csrf":{"type":"string"},"phone_number":{"type":"string"}},"type":"object"},"OAuthPhoneCodeForm4":{"additionalProperties":false,"properties":{"csrf":{"type":"string"},"phone_number":{"type":"string"}},"type":"object"},"OAuthRegisterInput":{"additionalProperties":false,"properties":{"client_name":{"type":"string"},"redirect_uris":{"items":{"type":"string"},"type":"array"}},"required":["redirect_uris"],"type":"object"},"OAuthRegisterInput1":{"additionalProperties":false,"properties":{"client_name":{"type":"string"},"redirect_uris":{"items":{"type":"string"},"type":"array"}},"required":["redirect_uris"],"type":"object"},"OAuthRegisterInput2":{"additionalProperties":false,"properties":{"client_name":{"type":"string"},"redirect_uris":{"items":{"type":"string"},"type":"array"}},"required":["redirect_uris"],"type":"object"},"OAuthRegisterInput3":{"additionalProperties":false,"properties":{"client_name":{"type":"string"},"redirect_uris":{"items":{"type":"string"},"type":"array"}},"required":["redirect_uris"],"type":"object"},"OAuthRegisterInput4":{"additionalProperties":false,"properties":{"client_name":{"type":"string"},"redirect_uris":{"items":{"type":"string"},"type":"array"}},"required":["redirect_uris"],"type":"object"},"OAuthRegisterResult":{"additionalProperties":false,"properties":{"client_id":{"type":"string"},"client_id_issued_at":{"$ref":"#/components/schemas/UnixSeconds"},"client_name":{"type":"string"},"grant_types":{"items":{"type":"string"},"type":"array"},"redirect_uris":{"items":{"type":"string"},"type":"array"},"response_types":{"items":{"type":"string"},"type":"array"},"token_endpoint_auth_method":{"type":"string"}},"required":["client_id","client_id_issued_at","redirect_uris","token_endpoint_auth_method","grant_types","response_types"],"type":"object"},"OAuthRevokeForm":{"additionalProperties":false,"properties":{"token":{"type":"string"}},"type":"object"},"OAuthRevokeForm1":{"additionalProperties":false,"properties":{"token":{"type":"string"}},"type":"object"},"OAuthRevokeForm2":{"additionalProperties":false,"properties":{"token":{"type":"string"}},"type":"object"},"OAuthRevokeForm3":{"additionalProperties":false,"properties":{"token":{"type":"string"}},"type":"object"},"OAuthRevokeForm4":{"additionalProperties":false,"properties":{"token":{"type":"string"}},"type":"object"},"OAuthTokenForm":{"additionalProperties":false,"properties":{"client_id":{"type":"string"},"code":{"type":"string"},"code_verifier":{"type":"string"},"grant_type":{"type":"string"},"redirect_uri":{"type":"string"},"refresh_token":{"type":"string"},"resource":{"type":"string"}},"type":"object"},"OAuthTokenForm1":{"additionalProperties":false,"properties":{"client_id":{"type":"string"},"code":{"type":"string"},"code_verifier":{"type":"string"},"grant_type":{"type":"string"},"redirect_uri":{"type":"string"},"refresh_token":{"type":"string"},"resource":{"type":"string"}},"type":"object"},"OAuthTokenForm2":{"additionalProperties":false,"properties":{"client_id":{"type":"string"},"code":{"type":"string"},"code_verifier":{"type":"string"},"grant_type":{"type":"string"},"redirect_uri":{"type":"string"},"refresh_token":{"type":"string"},"resource":{"type":"string"}},"type":"object"},"OAuthTokenForm3":{"additionalProperties":false,"properties":{"client_id":{"type":"string"},"code":{"type":"string"},"code_verifier":{"type":"string"},"grant_type":{"type":"string"},"redirect_uri":{"type":"string"},"refresh_token":{"type":"string"},"resource":{"type":"string"}},"type":"object"},"OAuthTokenForm4":{"additionalProperties":false,"properties":{"client_id":{"type":"string"},"code":{"type":"string"},"code_verifier":{"type":"string"},"grant_type":{"type":"string"},"redirect_uri":{"type":"string"},"refresh_token":{"type":"string"},"resource":{"type":"string"}},"type":"object"},"OAuthTokenResult":{"additionalProperties":false,"properties":{"access_token":{"type":"string"},"expires_in":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"refresh_token":{"type":"string"},"scope":{"type":"string"},"token_type":{"type":"string"}},"required":["access_token","token_type","expires_in","scope"],"type":"object"},"PeerInfo":{"anyOf":[{"additionalProperties":false,"properties":{"userId":{"$ref":"#/components/schemas/WirePositiveInteger"}},"required":["userId"],"type":"object"},{"additionalProperties":false,"properties":{"threadId":{"$ref":"#/components/schemas/WirePositiveInteger"}},"required":["threadId"],"type":"object"}]},"ProviderAppleCallbackForm":{"additionalProperties":false,"properties":{"code":{"type":"string"},"error":{"type":"string"},"id_token":{"type":"string"},"state":{"type":"string"},"user":{"type":"string"}},"type":"object"},"ProviderAppleCallbackForm1":{"additionalProperties":false,"properties":{"code":{"type":"string"},"error":{"type":"string"},"id_token":{"type":"string"},"state":{"type":"string"},"user":{"type":"string"}},"type":"object"},"ProviderAppleCallbackForm2":{"additionalProperties":false,"properties":{"code":{"type":"string"},"error":{"type":"string"},"id_token":{"type":"string"},"state":{"type":"string"},"user":{"type":"string"}},"type":"object"},"ProviderAuthContinuationForm":{"additionalProperties":false,"properties":{"attempt_id":{"type":"string"},"code":{"type":"string"},"continuation":{"type":"string"},"email":{"type":"string"},"invite_code":{"type":"string"}},"type":"object"},"ProviderAuthContinuationForm1":{"additionalProperties":false,"properties":{"attempt_id":{"type":"string"},"code":{"type":"string"},"continuation":{"type":"string"},"email":{"type":"string"},"invite_code":{"type":"string"}},"type":"object"},"ProviderAuthContinuationForm2":{"additionalProperties":false,"properties":{"attempt_id":{"type":"string"},"code":{"type":"string"},"continuation":{"type":"string"},"email":{"type":"string"},"invite_code":{"type":"string"}},"type":"object"},"ProviderAuthContinuationForm3":{"additionalProperties":false,"properties":{"attempt_id":{"type":"string"},"code":{"type":"string"},"continuation":{"type":"string"},"email":{"type":"string"},"invite_code":{"type":"string"}},"type":"object"},"ProviderAuthContinuationForm4":{"additionalProperties":false,"properties":{"attempt_id":{"type":"string"},"code":{"type":"string"},"continuation":{"type":"string"},"email":{"type":"string"},"invite_code":{"type":"string"}},"type":"object"},"ProviderAuthContinuationForm5":{"additionalProperties":false,"properties":{"attempt_id":{"type":"string"},"code":{"type":"string"},"continuation":{"type":"string"},"email":{"type":"string"},"invite_code":{"type":"string"}},"type":"object"},"ProviderAuthContinuationForm6":{"additionalProperties":false,"properties":{"attempt_id":{"type":"string"},"code":{"type":"string"},"continuation":{"type":"string"},"email":{"type":"string"},"invite_code":{"type":"string"}},"type":"object"},"ProviderAuthRedeemInput":{"additionalProperties":false,"properties":{"code_verifier":{"type":"string"},"ticket":{"type":"string"}},"type":"object"},"ProviderAuthRedeemInput1":{"additionalProperties":false,"properties":{"code_verifier":{"type":"string"},"ticket":{"type":"string"}},"type":"object"},"ProviderAuthRedeemInput2":{"additionalProperties":false,"properties":{"code_verifier":{"type":"string"},"ticket":{"type":"string"}},"type":"object"},"ProviderAuthRedeemSuccess":{"additionalProperties":false,"properties":{"ok":{"enum":[true],"type":"boolean"},"result":{"$ref":"#/components/schemas/LoginSessionResult"}},"required":["ok","result"],"type":"object"},"ReactionInfo":{"additionalProperties":false,"properties":{"chatId":{"$ref":"#/components/schemas/WirePositiveInteger"},"date":{"$ref":"#/components/schemas/UnixSeconds"},"emoji":{"type":"string"},"id":{"$ref":"#/components/schemas/WirePositiveInteger"},"messageId":{"$ref":"#/components/schemas/WirePositiveInteger"},"userId":{"$ref":"#/components/schemas/WirePositiveInteger"}},"required":["id","messageId","chatId","userId","emoji","date"],"type":"object"},"ReadMessagesInput":{"additionalProperties":false,"properties":{"maxId":{"$ref":"#/components/schemas/WireSafeInteger"},"peerThreadId":{"$ref":"#/components/schemas/V1InputId17"},"peerUserId":{"$ref":"#/components/schemas/V1InputId16"}},"type":"object"},"ReadMessagesInput1":{"additionalProperties":false,"properties":{"maxId":{"$ref":"#/components/schemas/WireSafeInteger6"},"peerThreadId":{"$ref":"#/components/schemas/V1InputId"},"peerUserId":{"$ref":"#/components/schemas/V1InputId"}},"type":"object"},"ReadMessagesInput2":{"additionalProperties":false,"properties":{"maxId":{"$ref":"#/components/schemas/WireSafeInteger"},"peerThreadId":{"$ref":"#/components/schemas/V1InputId17"},"peerUserId":{"$ref":"#/components/schemas/V1InputId16"}},"type":"object"},"ReadMessagesResult":{"anyOf":[{"type":"object"},{"type":"array"}]},"ReadMessagesSuccess":{"additionalProperties":false,"properties":{"ok":{"enum":[true],"type":"boolean"},"result":{"$ref":"#/components/schemas/ReadMessagesResult"}},"required":["ok","result"],"type":"object"},"SaveLinearTeamIdInput":{"additionalProperties":false,"properties":{"spaceId":{"type":"string"},"teamId":{"$ref":"#/components/schemas/LinearTeamId"}},"required":["spaceId","teamId"],"type":"object"},"SaveLinearTeamIdInput1":{"additionalProperties":false,"properties":{"spaceId":{"type":"string"},"teamId":{"$ref":"#/components/schemas/LinearTeamId"}},"required":["spaceId","teamId"],"type":"object"},"SaveLinearTeamIdInput2":{"additionalProperties":false,"properties":{"spaceId":{"type":"string"},"teamId":{"$ref":"#/components/schemas/LinearTeamId"}},"required":["spaceId","teamId"],"type":"object"},"SaveLinearTeamIdSuccess":{"additionalProperties":false,"properties":{"ok":{"enum":[true],"type":"boolean"}},"required":["ok"],"type":"object"},"SaveNotionDatabaseIdInput":{"additionalProperties":false,"properties":{"databaseId":{"$ref":"#/components/schemas/NotionDatabaseId"},"spaceId":{"type":"string"}},"required":["spaceId","databaseId"],"type":"object"},"SaveNotionDatabaseIdInput1":{"additionalProperties":false,"properties":{"databaseId":{"$ref":"#/components/schemas/NotionDatabaseId"},"spaceId":{"type":"string"}},"required":["spaceId","databaseId"],"type":"object"},"SaveNotionDatabaseIdInput2":{"additionalProperties":false,"properties":{"databaseId":{"$ref":"#/components/schemas/NotionDatabaseId"},"spaceId":{"type":"string"}},"required":["spaceId","databaseId"],"type":"object"},"SaveNotionDatabaseIdSuccess":{"additionalProperties":false,"properties":{"ok":{"enum":[true],"type":"boolean"}},"required":["ok"],"type":"object"},"SavePushNotificationInput":{"additionalProperties":false,"properties":{"applePushToken":{"type":"string"}},"required":["applePushToken"],"type":"object"},"SavePushNotificationInput1":{"additionalProperties":false,"properties":{"applePushToken":{"type":"string"}},"required":["applePushToken"],"type":"object"},"SavePushNotificationInput2":{"additionalProperties":false,"properties":{"applePushToken":{"type":"string"}},"required":["applePushToken"],"type":"object"},"SearchContactsInput":{"additionalProperties":false,"properties":{"limit":{"$ref":"#/components/schemas/WireSafeInteger"},"q":{"type":"string"}},"required":["q"],"type":"object"},"SearchContactsInput1":{"additionalProperties":false,"properties":{"limit":{"$ref":"#/components/schemas/WireSafeInteger2"},"q":{"type":"string"}},"required":["q"],"type":"object"},"SearchContactsInput2":{"additionalProperties":false,"properties":{"limit":{"$ref":"#/components/schemas/WireSafeInteger"},"q":{"type":"string"}},"required":["q"],"type":"object"},"SearchContactsResult":{"additionalProperties":false,"properties":{"users":{"items":{"$ref":"#/components/schemas/MinUserInfo"},"type":"array"}},"required":["users"],"type":"object"},"SearchContactsSuccess":{"additionalProperties":false,"properties":{"ok":{"enum":[true],"type":"boolean"},"result":{"$ref":"#/components/schemas/SearchContactsResult"}},"required":["ok","result"],"type":"object"},"SendComposeActionInput":{"additionalProperties":false,"properties":{"action":{"anyOf":[{"enum":["typing","uploadingDocument","uploadingPhoto","uploadingVideo","recordingVoice","working"],"type":"string"},{"type":"null"}]},"peerId":{"anyOf":[{"$ref":"#/components/schemas/V1InputPeerInfo1"},{"type":"null"}]},"peerThreadId":{"anyOf":[{"$ref":"#/components/schemas/V1InputId1"},{"type":"null"}]},"peerUserId":{"anyOf":[{"$ref":"#/components/schemas/V1InputId1"},{"type":"null"}]}},"type":"object"},"SendComposeActionInput1":{"additionalProperties":false,"properties":{"action":{"enum":["null","typing","uploadingDocument","uploadingPhoto","uploadingVideo","recordingVoice","working"],"type":"string"},"peerId":{"anyOf":[{"enum":["null"],"type":"string"},{"$ref":"#/components/schemas/V1InputPeerInfo"}]},"peerThreadId":{"anyOf":[{"enum":["null"],"type":"string"},{"$ref":"#/components/schemas/V1InputId"}]},"peerUserId":{"anyOf":[{"enum":["null"],"type":"string"},{"$ref":"#/components/schemas/V1InputId"}]}},"type":"object"},"SendComposeActionInput2":{"additionalProperties":false,"properties":{"action":{"anyOf":[{"enum":["typing","uploadingDocument","uploadingPhoto","uploadingVideo","recordingVoice","working"],"type":"string"},{"type":"null"}]},"peerId":{"anyOf":[{"$ref":"#/components/schemas/V1InputPeerInfo1"},{"type":"null"}]},"peerThreadId":{"anyOf":[{"$ref":"#/components/schemas/V1InputId1"},{"type":"null"}]},"peerUserId":{"anyOf":[{"$ref":"#/components/schemas/V1InputId1"},{"type":"null"}]}},"type":"object"},"SendComposeActionSuccess":{"additionalProperties":false,"properties":{"ok":{"enum":[true],"type":"boolean"}},"required":["ok"],"type":"object"},"SendEmailCodeInput":{"additionalProperties":false,"properties":{"clientType":{"type":"string"},"clientVersion":{"type":"string"},"deviceId":{"type":"string"},"deviceName":{"type":"string"},"email":{"type":"string"},"osVersion":{"type":"string"}},"required":["email"],"type":"object"},"SendEmailCodeInput1":{"additionalProperties":false,"properties":{"clientType":{"type":"string"},"clientVersion":{"type":"string"},"deviceId":{"type":"string"},"deviceName":{"type":"string"},"email":{"type":"string"},"osVersion":{"type":"string"}},"required":["email"],"type":"object"},"SendEmailCodeInput2":{"additionalProperties":false,"properties":{"clientType":{"type":"string"},"clientVersion":{"type":"string"},"deviceId":{"type":"string"},"deviceName":{"type":"string"},"email":{"type":"string"},"osVersion":{"type":"string"}},"required":["email"],"type":"object"},"SendEmailCodeResult":{"additionalProperties":false,"properties":{"challengeToken":{"type":"string"},"existingUser":{"type":"boolean"},"needsInviteCode":{"type":"boolean"}},"required":["existingUser","needsInviteCode"],"type":"object"},"SendEmailCodeSuccess":{"additionalProperties":false,"properties":{"ok":{"enum":[true],"type":"boolean"},"result":{"$ref":"#/components/schemas/SendEmailCodeResult"}},"required":["ok","result"],"type":"object"},"SendMessage20250509Input":{"additionalProperties":false,"properties":{"peerId":{"anyOf":[{"$ref":"#/components/schemas/V1InputPeerInfo1"},{"type":"null"}]},"peerThreadId":{"anyOf":[{"$ref":"#/components/schemas/V1InputId1"},{"type":"null"}]},"peerUserId":{"anyOf":[{"$ref":"#/components/schemas/V1InputId1"},{"type":"null"}]},"photoId":{"anyOf":[{"$ref":"#/components/schemas/V1InputId1"},{"type":"null"}]},"text":{"anyOf":[{"type":"string"},{"type":"null"}]}},"type":"object"},"SendMessage20250509Input1":{"additionalProperties":false,"properties":{"peerId":{"anyOf":[{"enum":["null"],"type":"string"},{"$ref":"#/components/schemas/V1InputPeerInfo"}]},"peerThreadId":{"anyOf":[{"enum":["null"],"type":"string"},{"$ref":"#/components/schemas/V1InputId"}]},"peerUserId":{"anyOf":[{"enum":["null"],"type":"string"},{"$ref":"#/components/schemas/V1InputId"}]},"photoId":{"anyOf":[{"enum":["null"],"type":"string"},{"$ref":"#/components/schemas/V1InputId"}]},"text":{"anyOf":[{"enum":["null"],"type":"string"},{"type":"string"}]}},"type":"object"},"SendMessage20250509Input2":{"additionalProperties":false,"properties":{"peerId":{"anyOf":[{"$ref":"#/components/schemas/V1InputPeerInfo1"},{"type":"null"}]},"peerThreadId":{"anyOf":[{"$ref":"#/components/schemas/V1InputId1"},{"type":"null"}]},"peerUserId":{"anyOf":[{"$ref":"#/components/schemas/V1InputId1"},{"type":"null"}]},"photoId":{"anyOf":[{"$ref":"#/components/schemas/V1InputId1"},{"type":"null"}]},"text":{"anyOf":[{"type":"string"},{"type":"null"}]}},"type":"object"},"SendMessage20250509Result":{"anyOf":[{"type":"object"},{"type":"array"}]},"SendMessage20250509Success":{"additionalProperties":false,"properties":{"ok":{"enum":[true],"type":"boolean"},"result":{"$ref":"#/components/schemas/SendMessage20250509Result"}},"required":["ok","result"],"type":"object"},"SendMessageInput":{"additionalProperties":false,"properties":{"fileUniqueId":{"anyOf":[{"type":"string"},{"type":"null"}]},"isSticker":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"parseMarkdown":{"allOf":[{"description":"Parse Inline's supported Markdown surface. Defaults to true; false preserves the supplied syntax literally."}],"anyOf":[{"type":"boolean"},{"type":"null"}]},"peerId":{"anyOf":[{"$ref":"#/components/schemas/V1InputPeerInfo1"},{"type":"null"}]},"peerThreadId":{"anyOf":[{"$ref":"#/components/schemas/V1InputId1"},{"type":"null"}]},"peerUserId":{"anyOf":[{"$ref":"#/components/schemas/V1InputId1"},{"type":"null"}]},"randomId":{"anyOf":[{"type":"string"},{"type":"null"}]},"replyToMessageId":{"anyOf":[{"$ref":"#/components/schemas/V1InputId1"},{"type":"null"}]},"text":{"anyOf":[{"type":"string"},{"type":"null"}]}},"type":"object"},"SendMessageInput1":{"additionalProperties":false,"properties":{"fileUniqueId":{"anyOf":[{"enum":["null"],"type":"string"},{"type":"string"}]},"isSticker":{"enum":["true","false","null"],"type":"string"},"parseMarkdown":{"allOf":[{"description":"Parse Inline's supported Markdown surface. Defaults to true; false preserves the supplied syntax literally."}],"enum":["true","false","null"],"type":"string"},"peerId":{"anyOf":[{"enum":["null"],"type":"string"},{"$ref":"#/components/schemas/V1InputPeerInfo"}]},"peerThreadId":{"anyOf":[{"enum":["null"],"type":"string"},{"$ref":"#/components/schemas/V1InputId"}]},"peerUserId":{"anyOf":[{"enum":["null"],"type":"string"},{"$ref":"#/components/schemas/V1InputId"}]},"randomId":{"anyOf":[{"enum":["null"],"type":"string"},{"type":"string"}]},"replyToMessageId":{"anyOf":[{"enum":["null"],"type":"string"},{"$ref":"#/components/schemas/V1InputId"}]},"text":{"anyOf":[{"enum":["null"],"type":"string"},{"type":"string"}]}},"type":"object"},"SendMessageInput2":{"additionalProperties":false,"properties":{"fileUniqueId":{"anyOf":[{"type":"string"},{"type":"null"}]},"isSticker":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"parseMarkdown":{"allOf":[{"description":"Parse Inline's supported Markdown surface. Defaults to true; false preserves the supplied syntax literally."}],"anyOf":[{"type":"boolean"},{"type":"null"}]},"peerId":{"anyOf":[{"$ref":"#/components/schemas/V1InputPeerInfo1"},{"type":"null"}]},"peerThreadId":{"anyOf":[{"$ref":"#/components/schemas/V1InputId1"},{"type":"null"}]},"peerUserId":{"anyOf":[{"$ref":"#/components/schemas/V1InputId1"},{"type":"null"}]},"randomId":{"anyOf":[{"type":"string"},{"type":"null"}]},"replyToMessageId":{"anyOf":[{"$ref":"#/components/schemas/V1InputId1"},{"type":"null"}]},"text":{"anyOf":[{"type":"string"},{"type":"null"}]}},"type":"object"},"SendMessageResult":{"additionalProperties":false,"properties":{"message":{"$ref":"#/components/schemas/MessageInfo"},"updates":{"items":{"$ref":"#/components/schemas/V1Update"},"type":"array"}},"required":["message","updates"],"type":"object"},"SendMessageSuccess":{"additionalProperties":false,"properties":{"ok":{"enum":[true],"type":"boolean"},"result":{"$ref":"#/components/schemas/SendMessageResult"}},"required":["ok","result"],"type":"object"},"SendSmsCodeInput":{"additionalProperties":false,"properties":{"clientType":{"type":"string"},"clientVersion":{"type":"string"},"deviceId":{"type":"string"},"deviceName":{"type":"string"},"osVersion":{"type":"string"},"phoneNumber":{"type":"string"}},"required":["phoneNumber"],"type":"object"},"SendSmsCodeInput1":{"additionalProperties":false,"properties":{"clientType":{"type":"string"},"clientVersion":{"type":"string"},"deviceId":{"type":"string"},"deviceName":{"type":"string"},"osVersion":{"type":"string"},"phoneNumber":{"type":"string"}},"required":["phoneNumber"],"type":"object"},"SendSmsCodeInput2":{"additionalProperties":false,"properties":{"clientType":{"type":"string"},"clientVersion":{"type":"string"},"deviceId":{"type":"string"},"deviceName":{"type":"string"},"osVersion":{"type":"string"},"phoneNumber":{"type":"string"}},"required":["phoneNumber"],"type":"object"},"SendSmsCodeResult":{"additionalProperties":false,"properties":{"existingUser":{"type":"boolean"},"formattedPhoneNumber":{"type":"string"},"needsInviteCode":{"type":"boolean"},"phoneNumber":{"type":"string"}},"required":["existingUser","needsInviteCode","phoneNumber","formattedPhoneNumber"],"type":"object"},"SendSmsCodeSuccess":{"additionalProperties":false,"properties":{"ok":{"enum":[true],"type":"boolean"},"result":{"$ref":"#/components/schemas/SendSmsCodeResult"}},"required":["ok","result"],"type":"object"},"SessionId":{"allOf":[{"description":"A positive Inline session identifier","maximum":9007199254740991,"minimum":1}],"type":"integer"},"SpaceId":{"allOf":[{"pattern":"^[+-]?\\d*\\.?\\d+(?:[Ee][+-]?\\d+)?$"}],"type":"string"},"SpaceId1":{"allOf":[{"description":"A positive Inline space identifier","maximum":9007199254740991,"minimum":1}],"type":"integer"},"SpaceId2":{"allOf":[{"description":"A positive Inline space identifier","maximum":9007199254740991,"minimum":1}],"type":"integer"},"SpaceInfo":{"additionalProperties":false,"properties":{"creator":{"type":"boolean"},"date":{"$ref":"#/components/schemas/UnixSeconds"},"handle":{"anyOf":[{"type":"string"},{"type":"null"}]},"id":{"$ref":"#/components/schemas/WirePositiveInteger"},"isPublic":{"type":"boolean"},"name":{"type":"string"}},"required":["id","name","date","creator","isPublic"],"type":"object"},"SpaceJoinResolveInput":{"anyOf":[{"additionalProperties":false,"properties":{"kind":{"enum":["public_handle"],"type":"string"},"value":{"type":"string"}},"required":["kind","value"],"type":"object"},{"additionalProperties":false,"properties":{"kind":{"enum":["invite_token"],"type":"string"},"value":{"type":"string"}},"required":["kind","value"],"type":"object"}]},"SpaceJoinResolveRateLimited":{"additionalProperties":false,"properties":{"error":{"enum":["rate_limited"],"type":"string"}},"required":["error"],"type":"object"},"SpaceJoinResolveSuccess":{"additionalProperties":false,"properties":{"name":{"type":"string"}},"required":["name"],"type":"object"},"ThereSignup":{"additionalProperties":false,"properties":{"email":{"type":"string"},"name":{"type":"string"},"timeZone":{"type":"string"}},"required":["email"],"type":"object"},"ThereSignupSuccess":{"additionalProperties":false,"properties":{"ok":{"enum":[true],"type":"boolean"}},"required":["ok"],"type":"object"},"UnixSeconds":{"allOf":[{"description":"A Unix timestamp measured in whole seconds","maximum":9007199254740991,"minimum":0}],"type":"integer"},"UpdateDialogInput":{"additionalProperties":false,"properties":{"archived":{"type":"boolean"},"draft":{"type":"string"},"order":{"allOf":[{"minLength":1},{"maxLength":128},{"pattern":"^[0-9A-Za-z]+$"}],"type":"string"},"peerId":{"$ref":"#/components/schemas/V1InputId21"},"peerThreadId":{"$ref":"#/components/schemas/V1InputId23"},"peerUserId":{"$ref":"#/components/schemas/V1InputId22"},"pinned":{"type":"boolean"},"pinnedOrder":{"allOf":[{"minLength":1},{"maxLength":128},{"pattern":"^[0-9A-Za-z]+$"}],"type":"string"}},"type":"object"},"UpdateDialogInput1":{"additionalProperties":false,"properties":{"archived":{"enum":["true","false"],"type":"string"},"draft":{"type":"string"},"order":{"allOf":[{"minLength":1},{"maxLength":128},{"pattern":"^[0-9A-Za-z]+$"}],"type":"string"},"peerId":{"$ref":"#/components/schemas/V1InputId"},"peerThreadId":{"$ref":"#/components/schemas/V1InputId"},"peerUserId":{"$ref":"#/components/schemas/V1InputId"},"pinned":{"enum":["true","false"],"type":"string"},"pinnedOrder":{"allOf":[{"minLength":1},{"maxLength":128},{"pattern":"^[0-9A-Za-z]+$"}],"type":"string"}},"type":"object"},"UpdateDialogInput2":{"additionalProperties":false,"properties":{"archived":{"type":"boolean"},"draft":{"type":"string"},"order":{"allOf":[{"minLength":1},{"maxLength":128},{"pattern":"^[0-9A-Za-z]+$"}],"type":"string"},"peerId":{"$ref":"#/components/schemas/V1InputId21"},"peerThreadId":{"$ref":"#/components/schemas/V1InputId23"},"peerUserId":{"$ref":"#/components/schemas/V1InputId22"},"pinned":{"type":"boolean"},"pinnedOrder":{"allOf":[{"minLength":1},{"maxLength":128},{"pattern":"^[0-9A-Za-z]+$"}],"type":"string"}},"type":"object"},"UpdateDialogResult":{"additionalProperties":false,"properties":{"dialog":{"$ref":"#/components/schemas/DialogInfo"}},"required":["dialog"],"type":"object"},"UpdateDialogSuccess":{"additionalProperties":false,"properties":{"ok":{"enum":[true],"type":"boolean"},"result":{"$ref":"#/components/schemas/UpdateDialogResult"}},"required":["ok","result"],"type":"object"},"UpdateProfileInput":{"additionalProperties":false,"properties":{"bio":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"timeZone":{"type":"string"},"username":{"type":"string"}},"type":"object"},"UpdateProfileInput1":{"additionalProperties":false,"properties":{"bio":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"timeZone":{"type":"string"},"username":{"type":"string"}},"type":"object"},"UpdateProfileInput2":{"additionalProperties":false,"properties":{"bio":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"timeZone":{"type":"string"},"username":{"type":"string"}},"type":"object"},"UpdateProfilePhotoInput":{"additionalProperties":false,"properties":{"fileUniqueId":{"type":"string"}},"required":["fileUniqueId"],"type":"object"},"UpdateProfilePhotoInput1":{"additionalProperties":false,"properties":{"fileUniqueId":{"type":"string"}},"required":["fileUniqueId"],"type":"object"},"UpdateProfilePhotoInput2":{"additionalProperties":false,"properties":{"fileUniqueId":{"type":"string"}},"required":["fileUniqueId"],"type":"object"},"UpdateProfilePhotoResult":{"additionalProperties":false,"properties":{"user":{"$ref":"#/components/schemas/UserInfo"}},"required":["user"],"type":"object"},"UpdateProfilePhotoSuccess":{"additionalProperties":false,"properties":{"ok":{"enum":[true],"type":"boolean"},"result":{"$ref":"#/components/schemas/UpdateProfilePhotoResult"}},"required":["ok","result"],"type":"object"},"UpdateProfileResult":{"additionalProperties":false,"properties":{"user":{"$ref":"#/components/schemas/UserInfo"}},"required":["user"],"type":"object"},"UpdateProfileSuccess":{"additionalProperties":false,"properties":{"ok":{"enum":[true],"type":"boolean"},"result":{"$ref":"#/components/schemas/UpdateProfileResult"}},"required":["ok","result"],"type":"object"},"UpdateStatusInput":{"additionalProperties":false,"properties":{"online":{"type":"boolean"}},"required":["online"],"type":"object"},"UpdateStatusInput1":{"additionalProperties":false,"properties":{"online":{"enum":["true","false"],"type":"string"}},"required":["online"],"type":"object"},"UpdateStatusInput2":{"additionalProperties":false,"properties":{"online":{"type":"boolean"}},"required":["online"],"type":"object"},"UpdateStatusResult":{"additionalProperties":false,"properties":{"lastOnline":{"anyOf":[{"$ref":"#/components/schemas/WireNonNegativeInteger"},{"type":"null"}]},"online":{"type":"boolean"}},"required":["online"],"type":"object"},"UpdateStatusSuccess":{"additionalProperties":false,"properties":{"ok":{"enum":[true],"type":"boolean"},"result":{"$ref":"#/components/schemas/UpdateStatusResult"}},"required":["ok","result"],"type":"object"},"UploadFilePayload":{"additionalProperties":false,"properties":{"duration":{"type":"string"},"file":{"format":"binary","type":"string"},"hasAudio":{"type":"string"},"height":{"type":"string"},"isAnimated":{"type":"string"},"thumbnail":{"anyOf":[{"format":"binary","type":"string"},{"type":"null"}]},"type":{"$ref":"#/components/schemas/UploadFileType"},"waveform":{"type":"string"},"width":{"type":"string"}},"required":["type","file"],"type":"object"},"UploadFileResult":{"additionalProperties":false,"properties":{"documentId":{"$ref":"#/components/schemas/WirePositiveInteger"},"fileUniqueId":{"type":"string"},"photoId":{"$ref":"#/components/schemas/WirePositiveInteger"},"videoId":{"$ref":"#/components/schemas/WirePositiveInteger"},"voiceId":{"$ref":"#/components/schemas/WirePositiveInteger"}},"required":["fileUniqueId"],"type":"object"},"UploadFileSuccess":{"additionalProperties":false,"properties":{"ok":{"enum":[true],"type":"boolean"},"result":{"$ref":"#/components/schemas/UploadFileResult"}},"required":["ok","result"],"type":"object"},"UploadFileType":{"enum":["photo","video","document","voice"],"type":"string"},"UserId":{"allOf":[{"description":"A positive Inline user identifier","maximum":9007199254740991,"minimum":1}],"type":"integer"},"UserInfo":{"additionalProperties":false,"properties":{"bio":{"anyOf":[{"type":"string"},{"type":"null"}]},"date":{"$ref":"#/components/schemas/UnixSeconds"},"email":{"anyOf":[{"type":"string"},{"type":"null"}]},"firstName":{"anyOf":[{"type":"string"},{"type":"null"}]},"id":{"$ref":"#/components/schemas/WirePositiveInteger"},"lastName":{"anyOf":[{"type":"string"},{"type":"null"}]},"lastOnline":{"anyOf":[{"$ref":"#/components/schemas/WireSafeInteger"},{"type":"null"}]},"online":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"pendingSetup":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"phoneNumber":{"anyOf":[{"type":"string"},{"type":"null"}]},"photo":{"anyOf":[{"items":{"$ref":"#/components/schemas/UserPhoto"},"type":"array"},{"type":"null"}]},"timeZone":{"anyOf":[{"type":"string"},{"type":"null"}]},"username":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["id","date"],"type":"object"},"UserPhoto":{"additionalProperties":false,"properties":{"bytes":{"anyOf":[{"type":"string"},{"type":"null"}]},"fileSize":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"fileUniqueId":{"type":"string"},"height":{"$ref":"#/components/schemas/WireNonNegativeInteger"},"mimeType":{"type":"string"},"temporaryUrl":{"anyOf":[{"type":"string"},{"type":"null"}]},"thumbSize":{"anyOf":[{"enum":["i","s","m","h"],"type":"string"},{"type":"null"}]},"width":{"$ref":"#/components/schemas/WireNonNegativeInteger"}},"required":["fileUniqueId","width","height","fileSize","mimeType"],"type":"object"},"V1BotCompatApiError":{"additionalProperties":false,"properties":{"description":{"type":"string"},"error":{"type":"string"},"error_code":{"$ref":"#/components/schemas/HttpStatusCode"},"ok":{"enum":[false],"type":"boolean"}},"required":["ok","error_code","description"],"type":"object"},"V1IdentitySpacesApiError":{"additionalProperties":false,"properties":{"description":{"type":"string"},"error":{"type":"string"},"errorCode":{"$ref":"#/components/schemas/HttpStatusCode"},"ok":{"enum":[false],"type":"boolean"}},"required":["ok","error"],"type":"object"},"V1IdentitySpacesApiError1":{"additionalProperties":false,"properties":{"description":{"type":"string"},"error":{"type":"string"},"errorCode":{"$ref":"#/components/schemas/HttpStatusCode"},"ok":{"enum":[false],"type":"boolean"}},"required":["ok","error"],"type":"object"},"V1IdentitySpacesApiError2":{"additionalProperties":false,"properties":{"description":{"type":"string"},"error":{"type":"string"},"errorCode":{"$ref":"#/components/schemas/HttpStatusCode"},"ok":{"enum":[false],"type":"boolean"}},"required":["ok","error"],"type":"object"},"V1IdentitySpacesApiError3":{"additionalProperties":false,"properties":{"description":{"type":"string"},"error":{"type":"string"},"errorCode":{"$ref":"#/components/schemas/HttpStatusCode"},"ok":{"enum":[false],"type":"boolean"}},"required":["ok","error"],"type":"object"},"V1IdentitySpacesApiError4":{"additionalProperties":false,"properties":{"description":{"type":"string"},"error":{"type":"string"},"errorCode":{"$ref":"#/components/schemas/HttpStatusCode"},"ok":{"enum":[false],"type":"boolean"}},"required":["ok","error"],"type":"object"},"V1IdentitySpacesEmptySuccess":{"additionalProperties":false,"properties":{"ok":{"enum":[true],"type":"boolean"}},"required":["ok"],"type":"object"},"V1InputId":{"anyOf":[{"$ref":"#/components/schemas/WireSafeInteger1"},{"type":"string"}],"description":"An Inline entity identifier supplied as an integer or string"},"V1InputId1":{"anyOf":[{"type":"string"},{"$ref":"#/components/schemas/WireSafeInteger"}],"description":"An Inline entity identifier supplied as an integer or string"},"V1InputId11":{"anyOf":[{"type":"string"},{"$ref":"#/components/schemas/WireSafeInteger"}],"description":"An Inline entity identifier supplied as an integer or string"},"V1InputId13":{"anyOf":[{"type":"string"},{"$ref":"#/components/schemas/WireSafeInteger"}],"description":"An Inline entity identifier supplied as an integer or string"},"V1InputId16":{"anyOf":[{"type":"string"},{"$ref":"#/components/schemas/WireSafeInteger"}],"description":"An Inline entity identifier supplied as an integer or string"},"V1InputId17":{"anyOf":[{"type":"string"},{"$ref":"#/components/schemas/WireSafeInteger"}],"description":"An Inline entity identifier supplied as an integer or string"},"V1InputId21":{"anyOf":[{"type":"string"},{"$ref":"#/components/schemas/WireSafeInteger"}],"description":"An Inline entity identifier supplied as an integer or string"},"V1InputId22":{"anyOf":[{"type":"string"},{"$ref":"#/components/schemas/WireSafeInteger"}],"description":"An Inline entity identifier supplied as an integer or string"},"V1InputId23":{"anyOf":[{"type":"string"},{"$ref":"#/components/schemas/WireSafeInteger"}],"description":"An Inline entity identifier supplied as an integer or string"},"V1InputId4":{"anyOf":[{"type":"string"},{"$ref":"#/components/schemas/WireSafeInteger"}],"description":"An Inline entity identifier supplied as an integer or string"},"V1InputId5":{"anyOf":[{"type":"string"},{"$ref":"#/components/schemas/WireSafeInteger"}],"description":"An Inline entity identifier supplied as an integer or string"},"V1InputId8":{"anyOf":[{"type":"string"},{"$ref":"#/components/schemas/WireSafeInteger"}],"description":"An Inline entity identifier supplied as an integer or string"},"V1InputId9":{"anyOf":[{"type":"string"},{"$ref":"#/components/schemas/WireSafeInteger"}],"description":"An Inline entity identifier supplied as an integer or string"},"V1InputPeerInfo":{"anyOf":[{"additionalProperties":false,"properties":{"userId":{"$ref":"#/components/schemas/WireSafeInteger1"}},"required":["userId"],"type":"object"},{"additionalProperties":false,"properties":{"threadId":{"$ref":"#/components/schemas/WireSafeInteger1"}},"required":["threadId"],"type":"object"}]},"V1InputPeerInfo1":{"anyOf":[{"additionalProperties":false,"properties":{"userId":{"$ref":"#/components/schemas/WireSafeInteger"}},"required":["userId"],"type":"object"},{"additionalProperties":false,"properties":{"threadId":{"$ref":"#/components/schemas/WireSafeInteger"}},"required":["threadId"],"type":"object"}]},"V1InputPeerInfo3":{"anyOf":[{"additionalProperties":false,"properties":{"userId":{"$ref":"#/components/schemas/WireSafeInteger"}},"required":["userId"],"type":"object"},{"additionalProperties":false,"properties":{"threadId":{"$ref":"#/components/schemas/WireSafeInteger"}},"required":["threadId"],"type":"object"}]},"V1MessagingProvidersApiError":{"additionalProperties":false,"properties":{"description":{"type":"string"},"error":{"type":"string"},"errorCode":{"$ref":"#/components/schemas/HttpStatusCode"},"ok":{"enum":[false],"type":"boolean"}},"required":["ok","error"],"type":"object"},"V1MessagingProvidersApiError1":{"additionalProperties":false,"properties":{"description":{"type":"string"},"error":{"type":"string"},"errorCode":{"$ref":"#/components/schemas/HttpStatusCode"},"ok":{"enum":[false],"type":"boolean"}},"required":["ok","error"],"type":"object"},"V1MessagingProvidersApiError2":{"additionalProperties":false,"properties":{"description":{"type":"string"},"error":{"type":"string"},"errorCode":{"$ref":"#/components/schemas/HttpStatusCode"},"ok":{"enum":[false],"type":"boolean"}},"required":["ok","error"],"type":"object"},"V1MessagingProvidersApiError3":{"additionalProperties":false,"properties":{"description":{"type":"string"},"error":{"type":"string"},"errorCode":{"$ref":"#/components/schemas/HttpStatusCode"},"ok":{"enum":[false],"type":"boolean"}},"required":["ok","error"],"type":"object"},"V1MessagingProvidersApiError4":{"additionalProperties":false,"properties":{"description":{"type":"string"},"error":{"type":"string"},"errorCode":{"$ref":"#/components/schemas/HttpStatusCode"},"ok":{"enum":[false],"type":"boolean"}},"required":["ok","error"],"type":"object"},"V1MessagingProvidersApiError5":{"additionalProperties":false,"properties":{"description":{"type":"string"},"error":{"type":"string"},"errorCode":{"$ref":"#/components/schemas/HttpStatusCode"},"ok":{"enum":[false],"type":"boolean"}},"required":["ok","error"],"type":"object"},"V1MessagingProvidersApiError6":{"additionalProperties":false,"properties":{"description":{"type":"string"},"error":{"type":"string"},"errorCode":{"$ref":"#/components/schemas/HttpStatusCode"},"ok":{"enum":[false],"type":"boolean"}},"required":["ok","error"],"type":"object"},"V1Update":{"anyOf":[{"additionalProperties":false,"properties":{"newMessage":{"additionalProperties":false,"properties":{"message":{"$ref":"#/components/schemas/MessageInfo"}},"required":["message"],"type":"object"}},"required":["newMessage"],"type":"object"},{"additionalProperties":false,"properties":{"editMessage":{"additionalProperties":false,"properties":{"message":{"$ref":"#/components/schemas/MessageInfo"}},"required":["message"],"type":"object"}},"required":["editMessage"],"type":"object"},{"additionalProperties":false,"properties":{"updateMessageId":{"additionalProperties":false,"properties":{"messageId":{"$ref":"#/components/schemas/WirePositiveInteger"},"randomId":{"type":"string"}},"required":["messageId","randomId"],"type":"object"}},"required":["updateMessageId"],"type":"object"},{"additionalProperties":false,"properties":{"updateUserStatus":{"additionalProperties":false,"properties":{"lastOnline":{"$ref":"#/components/schemas/UnixSeconds"},"online":{"type":"boolean"},"userId":{"$ref":"#/components/schemas/WirePositiveInteger"}},"required":["userId","online","lastOnline"],"type":"object"}},"required":["updateUserStatus"],"type":"object"},{"additionalProperties":false,"properties":{"updateComposeAction":{"additionalProperties":false,"properties":{"action":{"anyOf":[{"enum":["typing","uploadingDocument","uploadingPhoto","uploadingVideo","recordingVoice","working"],"type":"string"},{"type":"null"}]},"peerId":{"$ref":"#/components/schemas/PeerInfo"},"userId":{"$ref":"#/components/schemas/WirePositiveInteger"}},"required":["userId","peerId"],"type":"object"}},"required":["updateComposeAction"],"type":"object"},{"additionalProperties":false,"properties":{"deleteMessage":{"additionalProperties":false,"properties":{"messageId":{"$ref":"#/components/schemas/WirePositiveInteger"},"peerId":{"$ref":"#/components/schemas/PeerInfo"}},"required":["messageId","peerId"],"type":"object"}},"required":["deleteMessage"],"type":"object"}]},"VerifyEmailCodeInput":{"additionalProperties":false,"properties":{"challengeToken":{"type":"string"},"clientType":{"type":"string"},"clientVersion":{"type":"string"},"code":{"type":"string"},"deviceId":{"type":"string"},"deviceName":{"type":"string"},"email":{"type":"string"},"inviteCode":{"type":"string"},"osVersion":{"type":"string"},"timezone":{"type":"string"}},"required":["email","code"],"type":"object"},"VerifyEmailCodeInput1":{"additionalProperties":false,"properties":{"challengeToken":{"type":"string"},"clientType":{"type":"string"},"clientVersion":{"type":"string"},"code":{"type":"string"},"deviceId":{"type":"string"},"deviceName":{"type":"string"},"email":{"type":"string"},"inviteCode":{"type":"string"},"osVersion":{"type":"string"},"timezone":{"type":"string"}},"required":["email","code"],"type":"object"},"VerifyEmailCodeInput2":{"additionalProperties":false,"properties":{"challengeToken":{"type":"string"},"clientType":{"type":"string"},"clientVersion":{"type":"string"},"code":{"type":"string"},"deviceId":{"type":"string"},"deviceName":{"type":"string"},"email":{"type":"string"},"inviteCode":{"type":"string"},"osVersion":{"type":"string"},"timezone":{"type":"string"}},"required":["email","code"],"type":"object"},"VerifyEmailCodeSuccess":{"additionalProperties":false,"properties":{"ok":{"enum":[true],"type":"boolean"},"result":{"$ref":"#/components/schemas/LoginSessionResult"}},"required":["ok","result"],"type":"object"},"VerifySmsCodeInput":{"additionalProperties":false,"properties":{"clientType":{"type":"string"},"clientVersion":{"type":"string"},"code":{"type":"string"},"deviceId":{"type":"string"},"deviceName":{"type":"string"},"inviteCode":{"type":"string"},"osVersion":{"type":"string"},"phoneNumber":{"type":"string"},"timezone":{"type":"string"}},"required":["phoneNumber","code"],"type":"object"},"VerifySmsCodeInput1":{"additionalProperties":false,"properties":{"clientType":{"type":"string"},"clientVersion":{"type":"string"},"code":{"type":"string"},"deviceId":{"type":"string"},"deviceName":{"type":"string"},"inviteCode":{"type":"string"},"osVersion":{"type":"string"},"phoneNumber":{"type":"string"},"timezone":{"type":"string"}},"required":["phoneNumber","code"],"type":"object"},"VerifySmsCodeInput2":{"additionalProperties":false,"properties":{"clientType":{"type":"string"},"clientVersion":{"type":"string"},"code":{"type":"string"},"deviceId":{"type":"string"},"deviceName":{"type":"string"},"inviteCode":{"type":"string"},"osVersion":{"type":"string"},"phoneNumber":{"type":"string"},"timezone":{"type":"string"}},"required":["phoneNumber","code"],"type":"object"},"VerifySmsCodeSuccess":{"additionalProperties":false,"properties":{"ok":{"enum":[true],"type":"boolean"},"result":{"$ref":"#/components/schemas/LoginSessionResult"}},"required":["ok","result"],"type":"object"},"WaitlistSubscription":{"additionalProperties":false,"properties":{"email":{"type":"string"},"name":{"type":"string"},"timeZone":{"type":"string"},"userAgent":{"type":"string"}},"required":["email"],"type":"object"},"WaitlistSubscriptionSuccess":{"additionalProperties":false,"properties":{"ok":{"enum":[true],"type":"boolean"}},"required":["ok"],"type":"object"},"WireNonNegativeInteger":{"allOf":[{"description":"A non-negative integer that can be represented exactly by a JavaScript number","maximum":9007199254740991,"minimum":0}],"type":"integer"},"WirePositiveInteger":{"allOf":[{"description":"A positive integer that can be represented exactly by a JavaScript number","maximum":9007199254740991,"minimum":1}],"type":"integer"},"WireSafeInteger":{"allOf":[{"description":"An integer that can be represented exactly by a JavaScript number","maximum":9007199254740991,"minimum":-9007199254740991}],"type":"integer"},"WireSafeInteger1":{"allOf":[{"pattern":"^[+-]?\\d*\\.?\\d+(?:[Ee][+-]?\\d+)?$"}],"type":"string"},"WireSafeInteger2":{"allOf":[{"pattern":"^[+-]?\\d*\\.?\\d+(?:[Ee][+-]?\\d+)?$"}],"type":"string"},"WireSafeInteger4":{"allOf":[{"pattern":"^[+-]?\\d*\\.?\\d+(?:[Ee][+-]?\\d+)?$"}],"type":"string"},"WireSafeInteger6":{"allOf":[{"pattern":"^[+-]?\\d*\\.?\\d+(?:[Ee][+-]?\\d+)?$"}],"type":"string"},"_inline_server_admin_AdminInternalServerError":{"additionalProperties":false,"properties":{"error":{"enum":["server_error"],"type":"string"},"ok":{"enum":[false],"type":"boolean"}},"required":["ok","error"],"type":"object"},"_inline_server_admin_AdminOriginNotAllowedError":{"additionalProperties":false,"properties":{"error":{"enum":["origin_not_allowed"],"type":"string"},"ok":{"enum":[false],"type":"boolean"}},"required":["ok","error"],"type":"object"},"_inline_server_admin_AdminSetupRequiredError":{"additionalProperties":false,"properties":{"error":{"enum":["setup_required"],"type":"string"},"ok":{"enum":[false],"type":"boolean"}},"required":["ok","error"],"type":"object"},"_inline_server_admin_AdminStepUpRequiredError":{"additionalProperties":false,"properties":{"error":{"enum":["step_up_required"],"type":"string"},"ok":{"enum":[false],"type":"boolean"}},"required":["ok","error"],"type":"object"},"_inline_server_admin_AdminUnauthorizedError":{"additionalProperties":false,"properties":{"error":{"enum":["unauthorized"],"type":"string"},"ok":{"enum":[false],"type":"boolean"}},"required":["ok","error"],"type":"object"}},"securitySchemes":{"adminSession":{"in":"cookie","name":"inline_admin_session","type":"apiKey"}}},"info":{"contact":{"email":"hi@inline.chat","name":"Inline Team","url":"https://inline.chat"},"termsOfService":"https://inline.chat/terms","title":"Inline HTTP API Docs","version":"0.0.1"},"openapi":"3.1.0","paths":{"/":{"get":{"operationId":"auxiliary.auxiliaryRoot","parameters":[],"responses":{"200":{"content":{"text/html; charset=utf8":{"schema":{"type":"string"}}},"description":"AuxiliaryRootHtml"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}}},"security":[],"tags":["auxiliary"]}},"/.well-known/oauth-authorization-server":{"get":{"operationId":"auth.oauthMetadata","parameters":[],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthAuthorizationServerMetadata"}}},"description":"OAuthAuthorizationServerMetadata"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthError4"}}},"description":"OAuthError"}},"security":[],"tags":["auth"]}},"/admin/auth/dev-login":{"post":{"operationId":"admin.adminDevLogin","parameters":[],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminSuccess"}}},"description":"AdminSuccess","headers":{"Set-Cookie":{"description":"Creates a local development-only admin session cookie.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/AdminLoginForbidden"},{"$ref":"#/components/schemas/_inline_server_admin_AdminOriginNotAllowedError"}]}}},"description":"AdminLoginForbidden | @inline/server/admin/AdminOriginNotAllowedError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}}},"security":[],"tags":["admin"]}},"/admin/auth/login":{"post":{"operationId":"admin.adminLogin","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminLoginInput"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminSuccess"}}},"description":"AdminSuccess","headers":{"Set-Cookie":{"description":"Creates the HttpOnly, SameSite=Strict admin session cookie.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminLoginBadRequest"}},"text/plain":{"schema":{"type":"string"}}},"description":"AdminTransportBadRequest | AdminLoginBadRequest"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminLoginUnauthorized"}}},"description":"AdminLoginUnauthorized"},"403":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/AdminLoginForbidden"},{"$ref":"#/components/schemas/_inline_server_admin_AdminOriginNotAllowedError"}]}}},"description":"AdminLoginForbidden | @inline/server/admin/AdminOriginNotAllowedError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminValidationError"}}},"description":"AdminValidationError"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminLoginTooManyRequests"}}},"description":"AdminLoginTooManyRequests"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminInternalServerError"}}},"description":"@inline/server/admin/AdminInternalServerError"}},"security":[],"tags":["admin"]}},"/admin/auth/logout":{"post":{"operationId":"admin.adminLogout","parameters":[],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminSuccess"}}},"description":"AdminSuccess","headers":{"Set-Cookie":{"description":"Clears the admin session cookie with Max-Age=0.","schema":{"type":"string"}}}},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminUnauthorizedError"}}},"description":"@inline/server/admin/AdminUnauthorizedError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminOriginNotAllowedError"}}},"description":"@inline/server/admin/AdminOriginNotAllowedError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminInternalServerError"}}},"description":"@inline/server/admin/AdminInternalServerError"}},"security":[{"adminSession":[]}],"tags":["admin"]}},"/admin/auth/send-email-code":{"post":{"operationId":"admin.adminSendEmailCode","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminSendEmailCodeInput"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminSendEmailCodeResult"}}},"description":"AdminSendEmailCodeResult"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminSendEmailCodeBadRequest"}},"text/plain":{"schema":{"type":"string"}}},"description":"AdminTransportBadRequest | AdminSendEmailCodeBadRequest"},"403":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/AdminSendEmailCodeForbidden"},{"$ref":"#/components/schemas/_inline_server_admin_AdminOriginNotAllowedError"}]}}},"description":"AdminSendEmailCodeForbidden | @inline/server/admin/AdminOriginNotAllowedError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminValidationError"}}},"description":"AdminValidationError"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminSendEmailCodeInternal"}}},"description":"AdminSendEmailCodeInternal"}},"security":[],"tags":["admin"]}},"/admin/auth/set-password":{"post":{"operationId":"admin.adminSetPassword","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminSetPasswordInput"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminSuccess"}}},"description":"AdminSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminSetPasswordBadRequest"}},"text/plain":{"schema":{"type":"string"}}},"description":"AdminTransportBadRequest | AdminSetPasswordBadRequest"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminUnauthorizedError"}}},"description":"@inline/server/admin/AdminUnauthorizedError"},"403":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/AdminSetPasswordForbidden"},{"$ref":"#/components/schemas/_inline_server_admin_AdminOriginNotAllowedError"}]}}},"description":"AdminSetPasswordForbidden | @inline/server/admin/AdminOriginNotAllowedError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminValidationError"}}},"description":"AdminValidationError"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminInternalServerError"}}},"description":"@inline/server/admin/AdminInternalServerError"}},"security":[{"adminSession":[]}],"tags":["admin"]}},"/admin/auth/step-up":{"post":{"operationId":"admin.adminStepUp","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminStepUpInput"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminStepUpResult"}}},"description":"AdminStepUpResult"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminStepUpBadRequest"}},"text/plain":{"schema":{"type":"string"}}},"description":"AdminTransportBadRequest | AdminStepUpBadRequest"},"401":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/AdminStepUpUnauthorized"},{"$ref":"#/components/schemas/_inline_server_admin_AdminUnauthorizedError"}]}}},"description":"AdminStepUpUnauthorized | @inline/server/admin/AdminUnauthorizedError"},"403":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/AdminStepUpForbidden"},{"$ref":"#/components/schemas/_inline_server_admin_AdminOriginNotAllowedError"}]}}},"description":"AdminStepUpForbidden | @inline/server/admin/AdminOriginNotAllowedError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminValidationError"}}},"description":"AdminValidationError"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminInternalServerError"}}},"description":"@inline/server/admin/AdminInternalServerError"}},"security":[{"adminSession":[]}],"tags":["admin"]}},"/admin/auth/totp/setup":{"get":{"operationId":"admin.adminSetupTotp","parameters":[],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminTotpSetupResult"}}},"description":"AdminTotpSetupResult"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminTotpSetupBadRequest"}}},"description":"AdminTotpSetupBadRequest"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminUnauthorizedError"}}},"description":"@inline/server/admin/AdminUnauthorizedError"},"403":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/AdminTotpSetupForbidden"},{"$ref":"#/components/schemas/_inline_server_admin_AdminOriginNotAllowedError"}]}}},"description":"AdminTotpSetupForbidden | @inline/server/admin/AdminOriginNotAllowedError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminInternalServerError"}}},"description":"@inline/server/admin/AdminInternalServerError"}},"security":[{"adminSession":[]}],"tags":["admin"]}},"/admin/auth/totp/verify":{"post":{"operationId":"admin.adminVerifyTotp","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminTotpCodeInput"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminSuccess"}}},"description":"AdminSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminTotpVerifyBadRequest"}},"text/plain":{"schema":{"type":"string"}}},"description":"AdminTransportBadRequest | AdminTotpVerifyBadRequest"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminUnauthorizedError"}}},"description":"@inline/server/admin/AdminUnauthorizedError"},"403":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/AdminTotpVerifyForbidden"},{"$ref":"#/components/schemas/_inline_server_admin_AdminOriginNotAllowedError"}]}}},"description":"AdminTotpVerifyForbidden | @inline/server/admin/AdminOriginNotAllowedError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminValidationError"}}},"description":"AdminValidationError"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminInternalServerError"}}},"description":"@inline/server/admin/AdminInternalServerError"}},"security":[{"adminSession":[]}],"tags":["admin"]}},"/admin/auth/verify-email-code":{"post":{"operationId":"admin.adminVerifyEmailCode","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminVerifyEmailCodeInput"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminVerifyEmailCodeResult"}}},"description":"AdminVerifyEmailCodeResult","headers":{"Set-Cookie":{"description":"Creates the HttpOnly, SameSite=Strict admin session cookie.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminVerifyEmailCodeBadRequest"}},"text/plain":{"schema":{"type":"string"}}},"description":"AdminTransportBadRequest | AdminVerifyEmailCodeBadRequest"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminVerifyEmailCodeUnauthorized"}}},"description":"AdminVerifyEmailCodeUnauthorized"},"403":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/AdminVerifyEmailCodeForbidden"},{"$ref":"#/components/schemas/_inline_server_admin_AdminOriginNotAllowedError"}]}}},"description":"AdminVerifyEmailCodeForbidden | @inline/server/admin/AdminOriginNotAllowedError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminValidationError"}}},"description":"AdminValidationError"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminVerifyEmailCodeInternal"}}},"description":"AdminVerifyEmailCodeInternal"}},"security":[],"tags":["admin"]}},"/admin/email-campaigns":{"get":{"operationId":"admin.adminEmailCampaigns","parameters":[],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminEmailCampaignsResult"}}},"description":"AdminEmailCampaignsResult"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminUnauthorizedError"}}},"description":"@inline/server/admin/AdminUnauthorizedError"},"403":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/_inline_server_admin_AdminSetupRequiredError"},{"$ref":"#/components/schemas/_inline_server_admin_AdminOriginNotAllowedError"}]}}},"description":"@inline/server/admin/AdminSetupRequiredError | @inline/server/admin/AdminOriginNotAllowedError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminInternalServerError"}}},"description":"@inline/server/admin/AdminInternalServerError"}},"security":[{"adminSession":[]}],"tags":["admin"]},"post":{"operationId":"admin.adminCreateEmailCampaign","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminCreateEmailCampaignInput"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminEmailCampaignResult"}}},"description":"AdminEmailCampaignResult"},"400":{"content":{"text/plain":{"schema":{"type":"string"}}},"description":"AdminTransportBadRequest"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminUnauthorizedError"}}},"description":"@inline/server/admin/AdminUnauthorizedError"},"403":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/_inline_server_admin_AdminStepUpRequiredError"},{"$ref":"#/components/schemas/_inline_server_admin_AdminSetupRequiredError"},{"$ref":"#/components/schemas/_inline_server_admin_AdminOriginNotAllowedError"}]}}},"description":"@inline/server/admin/AdminStepUpRequiredError | @inline/server/admin/AdminSetupRequiredError | @inline/server/admin/AdminOriginNotAllowedError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminValidationError"}}},"description":"AdminValidationError"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminInternalServerError"}}},"description":"@inline/server/admin/AdminInternalServerError"}},"security":[{"adminSession":[]}],"tags":["admin"]}},"/admin/email-campaigns/preview":{"post":{"operationId":"admin.adminPreviewEmailCampaign","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminEmailCampaignPreviewInput"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminEmailCampaignPreviewResult"}}},"description":"AdminEmailCampaignPreviewResult"},"400":{"content":{"text/plain":{"schema":{"type":"string"}}},"description":"AdminTransportBadRequest"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminUnauthorizedError"}}},"description":"@inline/server/admin/AdminUnauthorizedError"},"403":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/_inline_server_admin_AdminSetupRequiredError"},{"$ref":"#/components/schemas/_inline_server_admin_AdminOriginNotAllowedError"}]}}},"description":"@inline/server/admin/AdminSetupRequiredError | @inline/server/admin/AdminOriginNotAllowedError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminValidationError"}}},"description":"AdminValidationError"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminInternalServerError"}}},"description":"@inline/server/admin/AdminInternalServerError"}},"security":[{"adminSession":[]}],"tags":["admin"]}},"/admin/email-campaigns/{id}/pause":{"post":{"operationId":"admin.adminPauseEmailCampaign","parameters":[],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminSuccess"}}},"description":"AdminSuccess"},"400":{"content":{"text/plain":{"schema":{"type":"string"}}},"description":"AdminTransportBadRequest"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminUnauthorizedError"}}},"description":"@inline/server/admin/AdminUnauthorizedError"},"403":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/_inline_server_admin_AdminStepUpRequiredError"},{"$ref":"#/components/schemas/_inline_server_admin_AdminSetupRequiredError"},{"$ref":"#/components/schemas/_inline_server_admin_AdminOriginNotAllowedError"}]}}},"description":"@inline/server/admin/AdminStepUpRequiredError | @inline/server/admin/AdminSetupRequiredError | @inline/server/admin/AdminOriginNotAllowedError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminNotFound"}}},"description":"AdminNotFound"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminInternalServerError"}}},"description":"@inline/server/admin/AdminInternalServerError"}},"security":[{"adminSession":[]}],"tags":["admin"]}},"/admin/email-campaigns/{id}/send":{"post":{"operationId":"admin.adminSendEmailCampaign","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminEmailCampaignSendInput"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminEmailCampaignSendResult"}}},"description":"AdminEmailCampaignSendResult"},"400":{"content":{"text/plain":{"schema":{"type":"string"}}},"description":"AdminTransportBadRequest"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminUnauthorizedError"}}},"description":"@inline/server/admin/AdminUnauthorizedError"},"403":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/_inline_server_admin_AdminStepUpRequiredError"},{"$ref":"#/components/schemas/_inline_server_admin_AdminSetupRequiredError"},{"$ref":"#/components/schemas/_inline_server_admin_AdminOriginNotAllowedError"}]}}},"description":"@inline/server/admin/AdminStepUpRequiredError | @inline/server/admin/AdminSetupRequiredError | @inline/server/admin/AdminOriginNotAllowedError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminNotFound"}}},"description":"AdminNotFound"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminValidationError"}}},"description":"AdminValidationError"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminInternalServerError"}}},"description":"@inline/server/admin/AdminInternalServerError"}},"security":[{"adminSession":[]}],"tags":["admin"]}},"/admin/email-campaigns/{id}/test":{"post":{"operationId":"admin.adminTestEmailCampaign","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminEmailCampaignTestInput"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminSuccess"}}},"description":"AdminSuccess"},"400":{"content":{"text/plain":{"schema":{"type":"string"}}},"description":"AdminTransportBadRequest"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminUnauthorizedError"}}},"description":"@inline/server/admin/AdminUnauthorizedError"},"403":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/_inline_server_admin_AdminStepUpRequiredError"},{"$ref":"#/components/schemas/_inline_server_admin_AdminSetupRequiredError"},{"$ref":"#/components/schemas/_inline_server_admin_AdminOriginNotAllowedError"}]}}},"description":"@inline/server/admin/AdminStepUpRequiredError | @inline/server/admin/AdminSetupRequiredError | @inline/server/admin/AdminOriginNotAllowedError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminNotFound"}}},"description":"AdminNotFound"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminValidationError"}}},"description":"AdminValidationError"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminInternalServerError"}}},"description":"@inline/server/admin/AdminInternalServerError"}},"security":[{"adminSession":[]}],"tags":["admin"]}},"/admin/email-provider-status":{"get":{"operationId":"admin.adminEmailProviderStatus","parameters":[{"in":"query","name":"provider","required":true,"schema":{"enum":["resend","ses"],"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminEmailProviderStatusResult"}}},"description":"AdminEmailProviderStatusResult"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminUnauthorizedError"}}},"description":"@inline/server/admin/AdminUnauthorizedError"},"403":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/_inline_server_admin_AdminSetupRequiredError"},{"$ref":"#/components/schemas/_inline_server_admin_AdminOriginNotAllowedError"}]}}},"description":"@inline/server/admin/AdminSetupRequiredError | @inline/server/admin/AdminOriginNotAllowedError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminValidationError"}}},"description":"AdminValidationError"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminInternalServerError"}}},"description":"@inline/server/admin/AdminInternalServerError"}},"security":[{"adminSession":[]}],"tags":["admin"]}},"/admin/email-provider-test":{"post":{"operationId":"admin.adminTestEmailProvider","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminEmailProviderTestInput"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminEmailProviderTestResult"}}},"description":"AdminEmailProviderTestResult"},"400":{"content":{"text/plain":{"schema":{"type":"string"}}},"description":"AdminTransportBadRequest"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminUnauthorizedError"}}},"description":"@inline/server/admin/AdminUnauthorizedError"},"403":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/_inline_server_admin_AdminStepUpRequiredError"},{"$ref":"#/components/schemas/_inline_server_admin_AdminSetupRequiredError"},{"$ref":"#/components/schemas/_inline_server_admin_AdminOriginNotAllowedError"}]}}},"description":"@inline/server/admin/AdminStepUpRequiredError | @inline/server/admin/AdminSetupRequiredError | @inline/server/admin/AdminOriginNotAllowedError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminValidationError"}}},"description":"AdminValidationError"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminInternalServerError"}}},"description":"@inline/server/admin/AdminInternalServerError"}},"security":[{"adminSession":[]}],"tags":["admin"]}},"/admin/invites":{"get":{"operationId":"admin.adminInvites","parameters":[{"in":"query","name":"query","required":false,"schema":{"type":"string"}},{"in":"query","name":"status","required":false,"schema":{"enum":["redeemed","unredeemed"],"type":"string"}},{"in":"query","name":"ownerUserId","required":false,"schema":{"type":"string"}},{"in":"query","name":"redeemedByUserId","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminInvitesResult"}}},"description":"AdminInvitesResult"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminUnauthorizedError"}}},"description":"@inline/server/admin/AdminUnauthorizedError"},"403":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/_inline_server_admin_AdminSetupRequiredError"},{"$ref":"#/components/schemas/_inline_server_admin_AdminOriginNotAllowedError"}]}}},"description":"@inline/server/admin/AdminSetupRequiredError | @inline/server/admin/AdminOriginNotAllowedError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminValidationError"}}},"description":"AdminValidationError"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminInternalServerError"}}},"description":"@inline/server/admin/AdminInternalServerError"}},"security":[{"adminSession":[]}],"tags":["admin"]}},"/admin/invites/generate":{"post":{"operationId":"admin.adminGenerateInvites","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminInviteCountInput"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminInviteCodesResult"}}},"description":"AdminInviteCodesResult"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminInvalidCountBadRequest"}},"text/plain":{"schema":{"type":"string"}}},"description":"AdminTransportBadRequest | AdminInvalidCountBadRequest"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminUnauthorizedError"}}},"description":"@inline/server/admin/AdminUnauthorizedError"},"403":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/_inline_server_admin_AdminStepUpRequiredError"},{"$ref":"#/components/schemas/_inline_server_admin_AdminSetupRequiredError"},{"$ref":"#/components/schemas/_inline_server_admin_AdminOriginNotAllowedError"}]}}},"description":"@inline/server/admin/AdminStepUpRequiredError | @inline/server/admin/AdminSetupRequiredError | @inline/server/admin/AdminOriginNotAllowedError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminValidationError"}}},"description":"AdminValidationError"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminInternalServerError"}}},"description":"@inline/server/admin/AdminInternalServerError"}},"security":[{"adminSession":[]}],"tags":["admin"]}},"/admin/me":{"get":{"operationId":"admin.adminMe","parameters":[],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminMeResult"}}},"description":"AdminMeResult"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminUnauthorizedError"}}},"description":"@inline/server/admin/AdminUnauthorizedError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminOriginNotAllowedError"}}},"description":"@inline/server/admin/AdminOriginNotAllowedError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminInternalServerError"}}},"description":"@inline/server/admin/AdminInternalServerError"}},"security":[{"adminSession":[]}],"tags":["admin"]}},"/admin/metrics/active-users":{"get":{"operationId":"admin.adminActiveUsers","parameters":[{"in":"query","name":"period","required":false,"schema":{"enum":["today","week"],"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminActiveUsersResult"}}},"description":"AdminActiveUsersResult"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminUnauthorizedError"}}},"description":"@inline/server/admin/AdminUnauthorizedError"},"403":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/_inline_server_admin_AdminSetupRequiredError"},{"$ref":"#/components/schemas/_inline_server_admin_AdminOriginNotAllowedError"}]}}},"description":"@inline/server/admin/AdminSetupRequiredError | @inline/server/admin/AdminOriginNotAllowedError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminValidationError"}}},"description":"AdminValidationError"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminInternalServerError"}}},"description":"@inline/server/admin/AdminInternalServerError"}},"security":[{"adminSession":[]}],"tags":["admin"]}},"/admin/metrics/app":{"get":{"operationId":"admin.adminAppMetrics","parameters":[],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminAppMetricsResult"}}},"description":"AdminAppMetricsResult"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminUnauthorizedError"}}},"description":"@inline/server/admin/AdminUnauthorizedError"},"403":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/_inline_server_admin_AdminSetupRequiredError"},{"$ref":"#/components/schemas/_inline_server_admin_AdminOriginNotAllowedError"}]}}},"description":"@inline/server/admin/AdminSetupRequiredError | @inline/server/admin/AdminOriginNotAllowedError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminInternalServerError"}}},"description":"@inline/server/admin/AdminInternalServerError"}},"security":[{"adminSession":[]}],"tags":["admin"]}},"/admin/metrics/overview":{"get":{"operationId":"admin.adminOverviewMetrics","parameters":[],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminOverviewMetricsResult"}}},"description":"AdminOverviewMetricsResult"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminUnauthorizedError"}}},"description":"@inline/server/admin/AdminUnauthorizedError"},"403":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/_inline_server_admin_AdminSetupRequiredError"},{"$ref":"#/components/schemas/_inline_server_admin_AdminOriginNotAllowedError"}]}}},"description":"@inline/server/admin/AdminSetupRequiredError | @inline/server/admin/AdminOriginNotAllowedError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminInternalServerError"}}},"description":"@inline/server/admin/AdminInternalServerError"}},"security":[{"adminSession":[]}],"tags":["admin"]}},"/admin/metrics/technical":{"get":{"operationId":"admin.adminTechnicalMetrics","parameters":[],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminTechnicalMetricsResult"}}},"description":"AdminTechnicalMetricsResult"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminUnauthorizedError"}}},"description":"@inline/server/admin/AdminUnauthorizedError"},"403":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/_inline_server_admin_AdminSetupRequiredError"},{"$ref":"#/components/schemas/_inline_server_admin_AdminOriginNotAllowedError"}]}}},"description":"@inline/server/admin/AdminSetupRequiredError | @inline/server/admin/AdminOriginNotAllowedError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminInternalServerError"}}},"description":"@inline/server/admin/AdminInternalServerError"}},"security":[{"adminSession":[]}],"tags":["admin"]}},"/admin/reserved-usernames":{"delete":{"operationId":"admin.adminUnreserveUsername","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminReservedUsernameInput"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminReservedUsernamesResult"}}},"description":"AdminReservedUsernamesResult"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminReservedUsernameBadRequest"}},"text/plain":{"schema":{"type":"string"}}},"description":"AdminTransportBadRequest | AdminReservedUsernameBadRequest"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminUnauthorizedError"}}},"description":"@inline/server/admin/AdminUnauthorizedError"},"403":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/_inline_server_admin_AdminStepUpRequiredError"},{"$ref":"#/components/schemas/_inline_server_admin_AdminSetupRequiredError"},{"$ref":"#/components/schemas/_inline_server_admin_AdminOriginNotAllowedError"}]}}},"description":"@inline/server/admin/AdminStepUpRequiredError | @inline/server/admin/AdminSetupRequiredError | @inline/server/admin/AdminOriginNotAllowedError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminValidationError"}}},"description":"AdminValidationError"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminInternalServerError"}}},"description":"@inline/server/admin/AdminInternalServerError"}},"security":[{"adminSession":[]}],"tags":["admin"]},"get":{"operationId":"admin.adminReservedUsernames","parameters":[],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminReservedUsernamesResult"}}},"description":"AdminReservedUsernamesResult"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminUnauthorizedError"}}},"description":"@inline/server/admin/AdminUnauthorizedError"},"403":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/_inline_server_admin_AdminSetupRequiredError"},{"$ref":"#/components/schemas/_inline_server_admin_AdminOriginNotAllowedError"}]}}},"description":"@inline/server/admin/AdminSetupRequiredError | @inline/server/admin/AdminOriginNotAllowedError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminInternalServerError"}}},"description":"@inline/server/admin/AdminInternalServerError"}},"security":[{"adminSession":[]}],"tags":["admin"]},"post":{"operationId":"admin.adminReserveUsername","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminReservedUsernameInput"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminReservedUsernamesResult"}}},"description":"AdminReservedUsernamesResult"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminReservedUsernameBadRequest"}},"text/plain":{"schema":{"type":"string"}}},"description":"AdminTransportBadRequest | AdminReservedUsernameBadRequest"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminUnauthorizedError"}}},"description":"@inline/server/admin/AdminUnauthorizedError"},"403":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/_inline_server_admin_AdminStepUpRequiredError"},{"$ref":"#/components/schemas/_inline_server_admin_AdminSetupRequiredError"},{"$ref":"#/components/schemas/_inline_server_admin_AdminOriginNotAllowedError"}]}}},"description":"@inline/server/admin/AdminStepUpRequiredError | @inline/server/admin/AdminSetupRequiredError | @inline/server/admin/AdminOriginNotAllowedError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminValidationError"}}},"description":"AdminValidationError"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminInternalServerError"}}},"description":"@inline/server/admin/AdminInternalServerError"}},"security":[{"adminSession":[]}],"tags":["admin"]}},"/admin/server-config":{"get":{"operationId":"admin.adminServerConfig","parameters":[],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminServerConfigResult"}}},"description":"AdminServerConfigResult"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminUnauthorizedError"}}},"description":"@inline/server/admin/AdminUnauthorizedError"},"403":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/_inline_server_admin_AdminSetupRequiredError"},{"$ref":"#/components/schemas/_inline_server_admin_AdminOriginNotAllowedError"}]}}},"description":"@inline/server/admin/AdminSetupRequiredError | @inline/server/admin/AdminOriginNotAllowedError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminInternalServerError"}}},"description":"@inline/server/admin/AdminInternalServerError"}},"security":[{"adminSession":[]}],"tags":["admin"]},"put":{"operationId":"admin.adminUpdateServerConfig","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminUpdateServerConfigInput"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminServerConfigSettingResult"}}},"description":"AdminServerConfigSettingResult"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminServerConfigBadRequest"}},"text/plain":{"schema":{"type":"string"}}},"description":"AdminTransportBadRequest | AdminServerConfigBadRequest"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminUnauthorizedError"}}},"description":"@inline/server/admin/AdminUnauthorizedError"},"403":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/_inline_server_admin_AdminStepUpRequiredError"},{"$ref":"#/components/schemas/_inline_server_admin_AdminSetupRequiredError"},{"$ref":"#/components/schemas/_inline_server_admin_AdminOriginNotAllowedError"}]}}},"description":"@inline/server/admin/AdminStepUpRequiredError | @inline/server/admin/AdminSetupRequiredError | @inline/server/admin/AdminOriginNotAllowedError"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminServerConfigConflict"}}},"description":"AdminServerConfigConflict"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminValidationError"}}},"description":"AdminValidationError"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminInternalServerError"}}},"description":"@inline/server/admin/AdminInternalServerError"}},"security":[{"adminSession":[]}],"tags":["admin"]}},"/admin/spaces":{"get":{"operationId":"admin.adminSpaces","parameters":[{"in":"query","name":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminSpacesResult"}}},"description":"AdminSpacesResult"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminUnauthorizedError"}}},"description":"@inline/server/admin/AdminUnauthorizedError"},"403":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/_inline_server_admin_AdminSetupRequiredError"},{"$ref":"#/components/schemas/_inline_server_admin_AdminOriginNotAllowedError"}]}}},"description":"@inline/server/admin/AdminSetupRequiredError | @inline/server/admin/AdminOriginNotAllowedError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminValidationError"}}},"description":"AdminValidationError"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminInternalServerError"}}},"description":"@inline/server/admin/AdminInternalServerError"}},"security":[{"adminSession":[]}],"tags":["admin"]}},"/admin/users":{"get":{"operationId":"admin.adminUsers","parameters":[{"in":"query","name":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminUsersResult"}}},"description":"AdminUsersResult"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminUnauthorizedError"}}},"description":"@inline/server/admin/AdminUnauthorizedError"},"403":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/_inline_server_admin_AdminSetupRequiredError"},{"$ref":"#/components/schemas/_inline_server_admin_AdminOriginNotAllowedError"}]}}},"description":"@inline/server/admin/AdminSetupRequiredError | @inline/server/admin/AdminOriginNotAllowedError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminValidationError"}}},"description":"AdminValidationError"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminInternalServerError"}}},"description":"@inline/server/admin/AdminInternalServerError"}},"security":[{"adminSession":[]}],"tags":["admin"]}},"/admin/users/{id}":{"get":{"operationId":"admin.adminUserDetail","parameters":[{"in":"path","name":"id","required":true,"schema":{"description":"A positive safe-integer user identifier.","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminUserDetailResult"}}},"description":"AdminUserDetailResult"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminInvalidUserBadRequest"}}},"description":"AdminInvalidUserBadRequest"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminUnauthorizedError"}}},"description":"@inline/server/admin/AdminUnauthorizedError"},"403":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/_inline_server_admin_AdminSetupRequiredError"},{"$ref":"#/components/schemas/_inline_server_admin_AdminOriginNotAllowedError"}]}}},"description":"@inline/server/admin/AdminSetupRequiredError | @inline/server/admin/AdminOriginNotAllowedError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminNotFound"}}},"description":"AdminNotFound"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminInternalServerError"}}},"description":"@inline/server/admin/AdminInternalServerError"}},"security":[{"adminSession":[]}],"tags":["admin"]}},"/admin/users/{id}/avatar":{"get":{"operationId":"admin.adminUserAvatar","parameters":[{"in":"path","name":"id","required":true,"schema":{"description":"A positive safe-integer user identifier.","type":"string"}}],"responses":{"200":{"content":{"image/*":{"schema":{"format":"binary","type":"string"}}},"description":"Avatar image bytes. The concrete image media type is returned in Content-Type."},"400":{"description":"Empty response for an invalid user identifier."},"401":{"description":"Empty response when no valid admin session exists."},"403":{"description":"Empty response when an admin policy rejects the request."},"404":{"description":"Empty response when the avatar is unavailable."},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminInternalServerError"}}},"description":"@inline/server/admin/AdminInternalServerError"},"503":{"description":"Empty response when avatar storage is unavailable."}},"security":[{"adminSession":[]}],"tags":["admin"]}},"/admin/users/{id}/invites":{"post":{"operationId":"admin.adminGrantInvites","parameters":[{"in":"path","name":"id","required":true,"schema":{"description":"A positive safe-integer user identifier.","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminInviteCountInput"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminInviteCodesResult"}}},"description":"AdminInviteCodesResult"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminGrantInvitesBadRequest"}},"text/plain":{"schema":{"type":"string"}}},"description":"AdminTransportBadRequest | AdminGrantInvitesBadRequest"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminUnauthorizedError"}}},"description":"@inline/server/admin/AdminUnauthorizedError"},"403":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/_inline_server_admin_AdminStepUpRequiredError"},{"$ref":"#/components/schemas/_inline_server_admin_AdminSetupRequiredError"},{"$ref":"#/components/schemas/_inline_server_admin_AdminOriginNotAllowedError"}]}}},"description":"@inline/server/admin/AdminStepUpRequiredError | @inline/server/admin/AdminSetupRequiredError | @inline/server/admin/AdminOriginNotAllowedError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminNotFound"}}},"description":"AdminNotFound"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminValidationError"}}},"description":"AdminValidationError"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminInternalServerError"}}},"description":"@inline/server/admin/AdminInternalServerError"}},"security":[{"adminSession":[]}],"tags":["admin"]}},"/admin/users/{id}/sessions/{sessionId}/revoke":{"post":{"operationId":"admin.adminRevokeSession","parameters":[{"in":"path","name":"id","required":true,"schema":{"description":"A positive safe-integer user identifier.","type":"string"}},{"in":"path","name":"sessionId","required":true,"schema":{"description":"A positive safe-integer session identifier.","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminRevokeSessionResult"}}},"description":"AdminRevokeSessionResult"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminInvalidSessionBadRequest"}}},"description":"AdminInvalidSessionBadRequest"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminUnauthorizedError"}}},"description":"@inline/server/admin/AdminUnauthorizedError"},"403":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/_inline_server_admin_AdminStepUpRequiredError"},{"$ref":"#/components/schemas/_inline_server_admin_AdminSetupRequiredError"},{"$ref":"#/components/schemas/_inline_server_admin_AdminOriginNotAllowedError"}]}}},"description":"@inline/server/admin/AdminStepUpRequiredError | @inline/server/admin/AdminSetupRequiredError | @inline/server/admin/AdminOriginNotAllowedError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminNotFound"}}},"description":"AdminNotFound"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminInternalServerError"}}},"description":"@inline/server/admin/AdminInternalServerError"}},"security":[{"adminSession":[]}],"tags":["admin"]}},"/admin/users/{id}/update":{"post":{"operationId":"admin.adminUpdateUser","parameters":[{"in":"path","name":"id","required":true,"schema":{"description":"A positive safe-integer user identifier.","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminUpdateUserInput"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminSuccess"}}},"description":"AdminSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminUpdateUserBadRequest"}},"text/plain":{"schema":{"type":"string"}}},"description":"AdminTransportBadRequest | AdminUpdateUserBadRequest"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminUnauthorizedError"}}},"description":"@inline/server/admin/AdminUnauthorizedError"},"403":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/_inline_server_admin_AdminStepUpRequiredError"},{"$ref":"#/components/schemas/_inline_server_admin_AdminSetupRequiredError"},{"$ref":"#/components/schemas/_inline_server_admin_AdminOriginNotAllowedError"}]}}},"description":"@inline/server/admin/AdminStepUpRequiredError | @inline/server/admin/AdminSetupRequiredError | @inline/server/admin/AdminOriginNotAllowedError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminNotFound"}}},"description":"AdminNotFound"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminValidationError"}}},"description":"AdminValidationError"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminInternalServerError"}}},"description":"@inline/server/admin/AdminInternalServerError"}},"security":[{"adminSession":[]}],"tags":["admin"]}},"/admin/waitlist":{"get":{"operationId":"admin.adminWaitlist","parameters":[{"in":"query","name":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminWaitlistResult"}}},"description":"AdminWaitlistResult"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminUnauthorizedError"}}},"description":"@inline/server/admin/AdminUnauthorizedError"},"403":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/_inline_server_admin_AdminSetupRequiredError"},{"$ref":"#/components/schemas/_inline_server_admin_AdminOriginNotAllowedError"}]}}},"description":"@inline/server/admin/AdminSetupRequiredError | @inline/server/admin/AdminOriginNotAllowedError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminValidationError"}}},"description":"AdminValidationError"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_inline_server_admin_AdminInternalServerError"}}},"description":"@inline/server/admin/AdminInternalServerError"}},"security":[{"adminSession":[]}],"tags":["admin"]}},"/api/there/signup":{"post":{"operationId":"auxiliary.thereSignup","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThereSignup"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThereSignupSuccess"}}},"description":"ThereSignupSuccess"},"400":{"content":{"text/plain":{"schema":{"type":"string"}}},"description":"AuxiliaryLegacyBadRequest"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuxiliaryLegacyValidationError"}}},"description":"AuxiliaryLegacyValidationError"},"500":{"content":{"text/plain":{"schema":{"type":"string"}}},"description":"AuxiliaryInternalServerError"}},"security":[],"tags":["auxiliary"]}},"/authorize":{"get":{"operationId":"auth.oauthAuthorizeAlias","parameters":[{"in":"query","name":"response_type","required":false,"schema":{"type":"string"}},{"in":"query","name":"client_id","required":false,"schema":{"type":"string"}},{"in":"query","name":"redirect_uri","required":false,"schema":{"type":"string"}},{"in":"query","name":"state","required":false,"schema":{"type":"string"}},{"in":"query","name":"scope","required":false,"schema":{"type":"string"}},{"in":"query","name":"code_challenge","required":false,"schema":{"type":"string"}},{"in":"query","name":"code_challenge_method","required":false,"schema":{"type":"string"}},{"in":"query","name":"resource","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml","headers":{"Cache-Control":{"description":"Response caching policy.","schema":{"type":"string"}},"Set-Cookie":{"description":"OAuth authorization-request cookie.","required":true,"schema":{"type":"string"}}}},"303":{"description":""},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthError"}}},"description":"OAuthError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthError1"}}},"description":"OAuthError"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthError2"}}},"description":"OAuthError"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthError3"}}},"description":"OAuthError"}},"security":[],"tags":["auth"]}},"/email/unsubscribe/{token}":{"get":{"operationId":"auxiliary.emailUnsubscribeConfirm","parameters":[{"in":"path","name":"token","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"EmailUnsubscribeHtml"}},"security":[],"tags":["auxiliary"]},"post":{"operationId":"auxiliary.emailUnsubscribeSubmit","parameters":[{"in":"path","name":"token","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"EmailUnsubscribeHtml"}},"security":[],"tags":["auxiliary"]}},"/file":{"get":{"operationId":"auxiliary.mediaPhoto","parameters":[{"in":"query","name":"id","required":true,"schema":{"type":"string"}},{"in":"query","name":"exp","required":true,"schema":{"type":"string"}},{"in":"query","name":"sig","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"image/*":{"schema":{"format":"binary","type":"string"},"x-effect-stream":{"encoding":"uint8array"}}},"description":"Success"},"206":{"content":{"application/octet-stream":{"schema":{"format":"binary","type":"string"},"x-effect-stream":{"encoding":"uint8array"}}},"description":"Success"},"304":{"description":""},"403":{"content":{"text/plain":{"schema":{"type":"string"}}},"description":"MediaForbidden"},"404":{"content":{"text/plain":{"schema":{"type":"string"}}},"description":"MediaNotFound"},"416":{"content":{"text/plain":{"schema":{"type":"string"}}},"description":"MediaRangeNotSatisfiable"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuxiliaryLegacyValidationError"}}},"description":"AuxiliaryLegacyValidationError"},"500":{"content":{"text/plain":{"schema":{"type":"string"}}},"description":"AuxiliaryInternalServerError"},"503":{"content":{"text/plain":{"schema":{"type":"string"}}},"description":"MediaStorageUnavailable"}},"security":[],"tags":["auxiliary"]}},"/health":{"get":{"operationId":"auxiliary.auxiliaryHealth","parameters":[],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuxiliaryLivenessResponse"}}},"description":"AuxiliaryLivenessResponse"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuxiliaryDegradedLivenessResponse"}}},"description":"AuxiliaryDegradedLivenessResponse"}},"security":[],"tags":["auxiliary"]}},"/healthz":{"get":{"operationId":"auxiliary.auxiliaryHealthz","parameters":[],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuxiliaryLivenessResponse"}}},"description":"AuxiliaryLivenessResponse"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuxiliaryDegradedLivenessResponse"}}},"description":"AuxiliaryDegradedLivenessResponse"}},"security":[],"tags":["auxiliary"]}},"/integrations/linear/callback":{"get":{"operationId":"auxiliary.linearCallback","parameters":[{"in":"query","name":"code","required":false,"schema":{"type":"string"}},{"in":"query","name":"state","required":true,"schema":{"type":"string"}},{"in":"query","name":"error","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"IntegrationCallbackHtml"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IntegrationErrorResponse"}}},"description":"IntegrationErrorResponse"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuxiliaryLegacyValidationError"}}},"description":"AuxiliaryLegacyValidationError"},"500":{"content":{"text/plain":{"schema":{"type":"string"}}},"description":"AuxiliaryInternalServerError"}},"security":[],"tags":["auxiliary"]}},"/integrations/linear/integrate":{"get":{"operationId":"auxiliary.linearIntegrate","parameters":[{"in":"query","name":"token","required":true,"schema":{"type":"string"}},{"in":"query","name":"spaceId","required":true,"schema":{"type":"string"}}],"responses":{"302":{"description":"","headers":{"Location":{"description":"Redirect destination.","required":true,"schema":{"format":"uri","type":"string"}},"Set-Cookie":{"description":"Short-lived integration authorization state.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IntegrationErrorResponse"}}},"description":"IntegrationErrorResponse"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IntegrationErrorResponse1"}}},"description":"IntegrationErrorResponse"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuxiliaryLegacyValidationError"}}},"description":"AuxiliaryLegacyValidationError"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IntegrationStartInternalError"}}},"description":"IntegrationStartInternalError"}},"security":[],"tags":["auxiliary"]}},"/integrations/notion/callback":{"get":{"operationId":"auxiliary.notionCallback","parameters":[{"in":"query","name":"code","required":false,"schema":{"type":"string"}},{"in":"query","name":"state","required":true,"schema":{"type":"string"}},{"in":"query","name":"error","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"IntegrationCallbackHtml"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IntegrationErrorResponse"}}},"description":"IntegrationErrorResponse"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuxiliaryLegacyValidationError"}}},"description":"AuxiliaryLegacyValidationError"},"500":{"content":{"text/plain":{"schema":{"type":"string"}}},"description":"AuxiliaryInternalServerError"}},"security":[],"tags":["auxiliary"]}},"/integrations/notion/integrate":{"get":{"operationId":"auxiliary.notionIntegrate","parameters":[{"in":"query","name":"token","required":true,"schema":{"type":"string"}},{"in":"query","name":"spaceId","required":true,"schema":{"type":"string"}}],"responses":{"302":{"description":"","headers":{"Location":{"description":"Redirect destination.","required":true,"schema":{"format":"uri","type":"string"}},"Set-Cookie":{"description":"Short-lived integration authorization state.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IntegrationErrorResponse"}}},"description":"IntegrationErrorResponse"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IntegrationErrorResponse1"}}},"description":"IntegrationErrorResponse"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuxiliaryLegacyValidationError"}}},"description":"AuxiliaryLegacyValidationError"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IntegrationStartInternalError"}}},"description":"IntegrationStartInternalError"}},"security":[],"tags":["auxiliary"]}},"/livez":{"get":{"operationId":"auxiliary.auxiliaryLivez","parameters":[],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuxiliaryLivenessResponse"}}},"description":"AuxiliaryLivenessResponse"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuxiliaryDegradedLivenessResponse"}}},"description":"AuxiliaryDegradedLivenessResponse"}},"security":[],"tags":["auxiliary"]}},"/oauth/authorize":{"get":{"operationId":"auth.oauthAuthorize","parameters":[{"in":"query","name":"response_type","required":false,"schema":{"type":"string"}},{"in":"query","name":"client_id","required":false,"schema":{"type":"string"}},{"in":"query","name":"redirect_uri","required":false,"schema":{"type":"string"}},{"in":"query","name":"state","required":false,"schema":{"type":"string"}},{"in":"query","name":"scope","required":false,"schema":{"type":"string"}},{"in":"query","name":"code_challenge","required":false,"schema":{"type":"string"}},{"in":"query","name":"code_challenge_method","required":false,"schema":{"type":"string"}},{"in":"query","name":"resource","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml","headers":{"Cache-Control":{"description":"Response caching policy.","schema":{"type":"string"}},"Set-Cookie":{"description":"OAuth authorization-request cookie.","required":true,"schema":{"type":"string"}}}},"303":{"description":""},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthError"}}},"description":"OAuthError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthError1"}}},"description":"OAuthError"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthError2"}}},"description":"OAuthError"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthError3"}}},"description":"OAuthError"}},"security":[],"tags":["auth"]}},"/oauth/authorize/consent":{"post":{"operationId":"auth.oauthConsent","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthConsentForm"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/OAuthConsentForm1"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/OAuthConsentForm2"}}},"required":true},"responses":{"200":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"302":{"description":"","headers":{"Location":{"description":"OAuth client redirect target.","required":true,"schema":{"format":"uri","type":"string"}},"Set-Cookie":{"description":"OAuth authorization-request cookie.","required":true,"schema":{"type":"string"}}}},"400":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}},"text/plain":{"schema":{"type":"string"}}},"description":"OAuthTransportBadRequest | OAuthHtml"},"401":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"429":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"500":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"502":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"503":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"}},"security":[],"tags":["auth"]}},"/oauth/authorize/continue":{"get":{"operationId":"auth.oauthAuthorizeContinue","parameters":[],"responses":{"200":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"400":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}},"text/plain":{"schema":{"type":"string"}}},"description":"OAuthTransportBadRequest | OAuthHtml"},"401":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"429":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"500":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"502":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"503":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"}},"security":[],"tags":["auth"]}},"/oauth/authorize/send-email-code":{"post":{"operationId":"auth.oauthSendEmailCode","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthEmailCodeForm"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/OAuthEmailCodeForm3"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/OAuthEmailCodeForm4"}}},"required":true},"responses":{"200":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml","headers":{"Cache-Control":{"description":"Response caching policy.","schema":{"type":"string"}}}},"400":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}},"text/plain":{"schema":{"type":"string"}}},"description":"OAuthTransportBadRequest | OAuthHtml"},"401":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"429":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml","headers":{"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":1,"type":"integer"}}}},"500":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"502":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"503":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"}},"security":[],"tags":["auth"]}},"/oauth/authorize/send-sms-code":{"post":{"operationId":"auth.oauthSendSmsCode","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthPhoneCodeForm"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/OAuthPhoneCodeForm3"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/OAuthPhoneCodeForm4"}}},"required":true},"responses":{"200":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml","headers":{"Cache-Control":{"description":"Response caching policy.","schema":{"type":"string"}}}},"400":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}},"text/plain":{"schema":{"type":"string"}}},"description":"OAuthTransportBadRequest | OAuthHtml"},"401":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"429":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml","headers":{"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":1,"type":"integer"}}}},"500":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"502":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"503":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"}},"security":[],"tags":["auth"]}},"/oauth/authorize/verify-email-code":{"post":{"operationId":"auth.oauthVerifyEmailCode","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthEmailVerificationForm"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/OAuthEmailVerificationForm5"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/OAuthEmailVerificationForm6"}}},"required":true},"responses":{"200":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml","headers":{"Cache-Control":{"description":"Response caching policy.","schema":{"type":"string"}}}},"400":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}},"text/plain":{"schema":{"type":"string"}}},"description":"OAuthTransportBadRequest | OAuthHtml"},"401":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"429":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml","headers":{"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":1,"type":"integer"}}}},"500":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"502":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"503":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"}},"security":[],"tags":["auth"]}},"/oauth/authorize/verify-sms-code":{"post":{"operationId":"auth.oauthVerifySmsCode","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthEmailVerificationForm"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/OAuthEmailVerificationForm7"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/OAuthEmailVerificationForm8"}}},"required":true},"responses":{"200":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml","headers":{"Cache-Control":{"description":"Response caching policy.","schema":{"type":"string"}}}},"400":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}},"text/plain":{"schema":{"type":"string"}}},"description":"OAuthTransportBadRequest | OAuthHtml"},"401":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"429":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml","headers":{"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":1,"type":"integer"}}}},"500":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"502":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"503":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"}},"security":[],"tags":["auth"]}},"/oauth/introspect":{"post":{"operationId":"auth.oauthIntrospect","parameters":[{"description":"Required shared secret for the internal MCP boundary.","in":"header","name":"x-inline-mcp-secret","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthIntrospectForm"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/OAuthIntrospectForm1"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/OAuthIntrospectForm2"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthIntrospectionResult"}}},"description":"OAuthIntrospectionResult"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthError"}},"text/plain":{"schema":{"type":"string"}}},"description":"OAuthTransportBadRequest | OAuthError"},"401":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/OAuthError6"},{"$ref":"#/components/schemas/OAuthInactiveToken"}]}}},"description":"OAuthError | OAuthInactiveToken"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthError7"}}},"description":"OAuthError"}},"security":[],"tags":["auth"]}},"/oauth/mcp-events":{"post":{"operationId":"auth.oauthMcpEvents","parameters":[{"description":"Required shared secret for the internal MCP events boundary.","in":"header","name":"x-inline-mcp-secret","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"method":{"type":"string"},"params":{},"token":{"type":"string"}},"required":["method","token"],"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{}}},"description":"Success"},"400":{"content":{"text/plain":{"schema":{"type":"string"}}},"description":"OAuthTransportBadRequest"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthError8"}}},"description":"OAuthError"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthError9"}}},"description":"OAuthError"}},"security":[],"tags":["auth"]}},"/oauth/register":{"post":{"operationId":"auth.oauthRegister","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthRegisterInput"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/OAuthRegisterInput1"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/OAuthRegisterInput2"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthRegisterResult"}}},"description":"OAuthRegisterResult","headers":{"Cache-Control":{"description":"Response caching policy.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthError"}},"text/plain":{"schema":{"type":"string"}}},"description":"OAuthTransportBadRequest | OAuthError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthError1"}}},"description":"OAuthError"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthError2"}}},"description":"OAuthError","headers":{"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":1,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthError3"}}},"description":"OAuthError"}},"security":[],"tags":["auth"]}},"/oauth/revoke":{"post":{"operationId":"auth.oauthRevoke","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthRevokeForm"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/OAuthRevokeForm1"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/OAuthRevokeForm2"}}},"required":false},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthEmptyObject"}}},"description":"OAuthEmptyObject","headers":{"Cache-Control":{"description":"Response caching policy.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthError"}},"text/plain":{"schema":{"type":"string"}}},"description":"OAuthTransportBadRequest | OAuthError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthError1"}}},"description":"OAuthError"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthError2"}}},"description":"OAuthError"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthError3"}}},"description":"OAuthError"}},"security":[],"tags":["auth"]}},"/oauth/token":{"post":{"operationId":"auth.oauthToken","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthTokenForm"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/OAuthTokenForm1"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/OAuthTokenForm2"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthTokenResult"}}},"description":"OAuthTokenResult","headers":{"Cache-Control":{"description":"Response caching policy.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthError"}},"text/plain":{"schema":{"type":"string"}}},"description":"OAuthTransportBadRequest | OAuthError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthError1"}}},"description":"OAuthError"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthError2"}}},"description":"OAuthError","headers":{"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":1,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthError3"}}},"description":"OAuthError"}},"security":[],"tags":["auth"]}},"/readyz":{"get":{"operationId":"auxiliary.auxiliaryReadyz","parameters":[],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuxiliaryHealthResponse"}}},"description":"AuxiliaryHealthResponse"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuxiliaryDegradedHealthResponse"}}},"description":"AuxiliaryDegradedHealthResponse"}},"security":[],"tags":["auxiliary"]}},"/register":{"post":{"operationId":"auth.oauthRegisterAlias","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthRegisterInput"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/OAuthRegisterInput3"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/OAuthRegisterInput4"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthRegisterResult"}}},"description":"OAuthRegisterResult","headers":{"Cache-Control":{"description":"Response caching policy.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthError"}},"text/plain":{"schema":{"type":"string"}}},"description":"OAuthTransportBadRequest | OAuthError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthError1"}}},"description":"OAuthError"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthError2"}}},"description":"OAuthError","headers":{"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":1,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthError3"}}},"description":"OAuthError"}},"security":[],"tags":["auth"]}},"/revoke":{"post":{"operationId":"auth.oauthRevokeAlias","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthRevokeForm"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/OAuthRevokeForm3"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/OAuthRevokeForm4"}}},"required":false},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthEmptyObject"}}},"description":"OAuthEmptyObject","headers":{"Cache-Control":{"description":"Response caching policy.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthError"}},"text/plain":{"schema":{"type":"string"}}},"description":"OAuthTransportBadRequest | OAuthError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthError1"}}},"description":"OAuthError"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthError2"}}},"description":"OAuthError"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthError3"}}},"description":"OAuthError"}},"security":[],"tags":["auth"]}},"/token":{"post":{"operationId":"auth.oauthTokenAlias","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthTokenForm"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/OAuthTokenForm3"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/OAuthTokenForm4"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthTokenResult"}}},"description":"OAuthTokenResult","headers":{"Cache-Control":{"description":"Response caching policy.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthError"}},"text/plain":{"schema":{"type":"string"}}},"description":"OAuthTransportBadRequest | OAuthError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthError1"}}},"description":"OAuthError"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthError2"}}},"description":"OAuthError","headers":{"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":1,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthError3"}}},"description":"OAuthError"}},"security":[],"tags":["auth"]}},"/v1/addMember":{"get":{"operationId":"v1IdentitySpaces.getAddMember","parameters":[{"in":"query","name":"spaceId","required":true,"schema":{"$ref":"#/components/schemas/V1InputId"}},{"in":"query","name":"userId","required":true,"schema":{"$ref":"#/components/schemas/V1InputId"}},{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddMemberSuccess"}}},"description":"AddMemberSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError"}}},"description":"V1IdentitySpacesApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError1"}}},"description":"V1IdentitySpacesApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError2"}}},"description":"V1IdentitySpacesApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError4"}}},"description":"V1IdentitySpacesApiError"}},"security":[],"tags":["v1IdentitySpaces"]},"post":{"operationId":"v1IdentitySpaces.postAddMember","parameters":[{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddMemberInput"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/AddMemberInput1"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/AddMemberInput2"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddMemberSuccess"}}},"description":"AddMemberSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError"}}},"description":"V1IdentitySpacesApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError1"}}},"description":"V1IdentitySpacesApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError2"}}},"description":"V1IdentitySpacesApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError4"}}},"description":"V1IdentitySpacesApiError"}},"security":[],"tags":["v1IdentitySpaces"]}},"/v1/addReaction":{"get":{"operationId":"v1MessagingProviders.getAddReaction","parameters":[{"in":"query","name":"messageId","required":true,"schema":{"$ref":"#/components/schemas/V1InputId"}},{"in":"query","name":"chatId","required":true,"schema":{"$ref":"#/components/schemas/V1InputId"}},{"in":"query","name":"emoji","required":true,"schema":{"type":"string"}},{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddReactionSuccess"}}},"description":"AddReactionSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]},"post":{"operationId":"v1MessagingProviders.postAddReaction","parameters":[{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddReactionInput"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/AddReactionInput1"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/AddReactionInput2"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddReactionSuccess"}}},"description":"AddReactionSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]}},"/v1/auth/login":{"get":{"operationId":"auth.hostedLoginGet","parameters":[{"in":"query","name":"capability","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"303":{"description":""},"400":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}},"text/plain":{"schema":{"type":"string"}}},"description":"OAuthTransportBadRequest | OAuthHtml"},"401":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"429":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"500":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"502":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"503":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"}},"security":[],"tags":["auth"]}},"/v1/auth/login/send-email-code":{"post":{"operationId":"auth.hostedLoginSendEmail","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthEmailCodeForm"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/OAuthEmailCodeForm1"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/OAuthEmailCodeForm2"}}},"required":true},"responses":{"200":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"400":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}},"text/plain":{"schema":{"type":"string"}}},"description":"OAuthTransportBadRequest | OAuthHtml"},"401":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"429":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"500":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"502":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"503":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"}},"security":[],"tags":["auth"]}},"/v1/auth/login/send-sms-code":{"post":{"operationId":"auth.hostedLoginSendSms","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthPhoneCodeForm"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/OAuthPhoneCodeForm1"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/OAuthPhoneCodeForm2"}}},"required":true},"responses":{"200":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"400":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}},"text/plain":{"schema":{"type":"string"}}},"description":"OAuthTransportBadRequest | OAuthHtml"},"401":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"429":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"500":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"502":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"503":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"}},"security":[],"tags":["auth"]}},"/v1/auth/login/verify-email-code":{"post":{"operationId":"auth.hostedLoginVerifyEmail","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthEmailVerificationForm"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/OAuthEmailVerificationForm1"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/OAuthEmailVerificationForm2"}}},"required":true},"responses":{"200":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"303":{"description":""},"400":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}},"text/plain":{"schema":{"type":"string"}}},"description":"OAuthTransportBadRequest | OAuthHtml"},"401":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"429":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"500":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"502":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"503":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"}},"security":[],"tags":["auth"]}},"/v1/auth/login/verify-phone-code":{"post":{"operationId":"auth.hostedLoginVerifySms","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthEmailVerificationForm"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/OAuthEmailVerificationForm3"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/OAuthEmailVerificationForm4"}}},"required":true},"responses":{"200":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"303":{"description":""},"400":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}},"text/plain":{"schema":{"type":"string"}}},"description":"OAuthTransportBadRequest | OAuthHtml"},"401":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"429":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"500":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"502":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"503":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"}},"security":[],"tags":["auth"]}},"/v1/auth/provider/callback/apple":{"post":{"operationId":"auth.providerCallbackApple","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProviderAppleCallbackForm"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/ProviderAppleCallbackForm1"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/ProviderAppleCallbackForm2"}}},"required":true},"responses":{"200":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"302":{"description":""},"303":{"description":""},"400":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}},"text/plain":{"schema":{"type":"string"}}},"description":"OAuthTransportBadRequest | OAuthHtml"},"401":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"429":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"500":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"502":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"503":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"}},"security":[],"tags":["auth"]}},"/v1/auth/provider/callback/google":{"get":{"operationId":"auth.providerCallbackGoogle","parameters":[{"in":"query","name":"state","required":false,"schema":{"type":"string"}},{"in":"query","name":"code","required":false,"schema":{"type":"string"}},{"in":"query","name":"error","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"302":{"description":""},"303":{"description":""},"400":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}},"text/plain":{"schema":{"type":"string"}}},"description":"OAuthTransportBadRequest | OAuthHtml"},"401":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"429":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"500":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"502":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"503":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"}},"security":[],"tags":["auth"]}},"/v1/auth/provider/continue-invite":{"post":{"operationId":"auth.providerContinueInvite","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProviderAuthContinuationForm"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/ProviderAuthContinuationForm1"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/ProviderAuthContinuationForm2"}}},"required":true},"responses":{"200":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"302":{"description":""},"303":{"description":""},"400":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}},"text/plain":{"schema":{"type":"string"}}},"description":"OAuthTransportBadRequest | OAuthHtml"},"401":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"429":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"500":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"502":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"503":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"}},"security":[],"tags":["auth"]}},"/v1/auth/provider/native/apple/complete":{"post":{"operationId":"auth.providerNativeAppleComplete","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NativeAppleAuthCompleteInput"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NativeAppleAuthCompleteSuccess"}}},"description":"NativeAppleAuthCompleteSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityApiError"}}},"description":"IdentityApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityApiError5"}}},"description":"IdentityApiError"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityApiError6"}}},"description":"IdentityApiError"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityApiError7"}}},"description":"IdentityApiError"}},"security":[],"tags":["auth"]}},"/v1/auth/provider/native/apple/continue-invite":{"post":{"operationId":"auth.providerNativeAppleContinueInvite","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NativeAppleAuthInviteInput"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NativeAppleAuthInviteSuccess"}}},"description":"NativeAppleAuthInviteSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityApiError"}}},"description":"IdentityApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityApiError5"}}},"description":"IdentityApiError"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityApiError6"}}},"description":"IdentityApiError"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityApiError7"}}},"description":"IdentityApiError"}},"security":[],"tags":["auth"]}},"/v1/auth/provider/native/apple/start":{"post":{"operationId":"auth.providerNativeAppleStart","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NativeAppleAuthStartInput"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NativeAppleAuthStartSuccess"}}},"description":"NativeAppleAuthStartSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityApiError"}}},"description":"IdentityApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityApiError5"}}},"description":"IdentityApiError"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityApiError6"}}},"description":"IdentityApiError"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityApiError7"}}},"description":"IdentityApiError"}},"security":[],"tags":["auth"]}},"/v1/auth/provider/redeem":{"post":{"operationId":"auth.providerRedeem","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProviderAuthRedeemInput"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/ProviderAuthRedeemInput1"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/ProviderAuthRedeemInput2"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProviderAuthRedeemSuccess"}}},"description":"ProviderAuthRedeemSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthError"}},"text/plain":{"schema":{"type":"string"}}},"description":"OAuthTransportBadRequest | OAuthError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthError1"}}},"description":"OAuthError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthError2"}}},"description":"OAuthError"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthError3"}}},"description":"OAuthError"}},"security":[],"tags":["auth"]}},"/v1/auth/provider/send-email-code":{"post":{"operationId":"auth.providerSendEmailCode","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProviderAuthContinuationForm"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/ProviderAuthContinuationForm3"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/ProviderAuthContinuationForm4"}}},"required":true},"responses":{"200":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"400":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}},"text/plain":{"schema":{"type":"string"}}},"description":"OAuthTransportBadRequest | OAuthHtml"},"401":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"429":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"500":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"502":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"503":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"}},"security":[],"tags":["auth"]}},"/v1/auth/provider/start":{"get":{"operationId":"auth.providerStart","parameters":[{"in":"query","name":"provider","required":false,"schema":{"type":"string"}},{"in":"query","name":"purpose","required":false,"schema":{"type":"string"}},{"in":"query","name":"callback_scheme","required":false,"schema":{"type":"string"}},{"in":"query","name":"code_challenge","required":false,"schema":{"type":"string"}},{"in":"query","name":"client_type","required":false,"schema":{"type":"string"}},{"in":"query","name":"device_id","required":false,"schema":{"type":"string"}},{"in":"query","name":"client_version","required":false,"schema":{"type":"string"}},{"in":"query","name":"os_version","required":false,"schema":{"type":"string"}},{"in":"query","name":"device_name","required":false,"schema":{"type":"string"}},{"in":"query","name":"timezone","required":false,"schema":{"type":"string"}}],"responses":{"302":{"description":""},"400":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}},"text/plain":{"schema":{"type":"string"}}},"description":"OAuthTransportBadRequest | OAuthHtml"},"401":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"429":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"500":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"502":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"503":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"}},"security":[],"tags":["auth"]}},"/v1/auth/provider/verify-email-code":{"post":{"operationId":"auth.providerVerifyEmailCode","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProviderAuthContinuationForm"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/ProviderAuthContinuationForm5"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/ProviderAuthContinuationForm6"}}},"required":true},"responses":{"200":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"302":{"description":""},"303":{"description":""},"400":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}},"text/plain":{"schema":{"type":"string"}}},"description":"OAuthTransportBadRequest | OAuthHtml"},"401":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"429":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"500":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"502":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"},"503":{"content":{"text/html; charset=utf-8":{"schema":{"type":"string"}}},"description":"OAuthHtml"}},"security":[],"tags":["auth"]}},"/v1/checkInviteCode":{"get":{"operationId":"auth.getCheckInviteCode","parameters":[{"in":"query","name":"inviteCode","required":true,"schema":{"allOf":[{"maxLength":64}],"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckInviteCodeSuccess"}}},"description":"CheckInviteCodeSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityApiError"}}},"description":"IdentityApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityApiError1"}}},"description":"IdentityApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityApiError3"}}},"description":"IdentityApiError"}},"security":[],"tags":["auth"]},"post":{"operationId":"auth.postCheckInviteCode","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckInviteCodeInput"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/CheckInviteCodeInput1"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/CheckInviteCodeInput2"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckInviteCodeSuccess"}}},"description":"CheckInviteCodeSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityApiError"}}},"description":"IdentityApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityApiError1"}}},"description":"IdentityApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityApiError3"}}},"description":"IdentityApiError"}},"security":[],"tags":["auth"]}},"/v1/checkUsername":{"get":{"operationId":"v1IdentitySpaces.getCheckUsername","parameters":[{"in":"query","name":"username","required":true,"schema":{"type":"string"}},{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckUsernameSuccess"}}},"description":"CheckUsernameSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError"}}},"description":"V1IdentitySpacesApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError1"}}},"description":"V1IdentitySpacesApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError2"}}},"description":"V1IdentitySpacesApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError4"}}},"description":"V1IdentitySpacesApiError"}},"security":[],"tags":["v1IdentitySpaces"]},"post":{"operationId":"v1IdentitySpaces.postCheckUsername","parameters":[{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckUsernameInput"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/CheckUsernameInput1"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/CheckUsernameInput2"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckUsernameSuccess"}}},"description":"CheckUsernameSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError"}}},"description":"V1IdentitySpacesApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError1"}}},"description":"V1IdentitySpacesApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError2"}}},"description":"V1IdentitySpacesApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError4"}}},"description":"V1IdentitySpacesApiError"}},"security":[],"tags":["v1IdentitySpaces"]}},"/v1/createLinearIssue":{"get":{"operationId":"v1MessagingProviders.getCreateLinearIssue","parameters":[{"in":"query","name":"text","required":true,"schema":{"type":"string"}},{"in":"query","name":"messageId","required":true,"schema":{"$ref":"#/components/schemas/WireSafeInteger1"}},{"in":"query","name":"chatId","required":true,"schema":{"$ref":"#/components/schemas/WireSafeInteger1"}},{"in":"query","name":"peerId","required":true,"schema":{"$ref":"#/components/schemas/V1InputPeerInfo"}},{"in":"query","name":"fromId","required":true,"schema":{"$ref":"#/components/schemas/WireSafeInteger1"}},{"in":"query","name":"spaceId","required":false,"schema":{"$ref":"#/components/schemas/SpaceId"}},{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateLinearIssueSuccess"}}},"description":"CreateLinearIssueSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]},"post":{"operationId":"v1MessagingProviders.postCreateLinearIssue","parameters":[{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateLinearIssueInput"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/CreateLinearIssueInput1"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/CreateLinearIssueInput2"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateLinearIssueSuccess"}}},"description":"CreateLinearIssueSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]}},"/v1/createNotionTask":{"get":{"operationId":"v1MessagingProviders.getCreateNotionTask","parameters":[{"in":"query","name":"spaceId","required":true,"schema":{"$ref":"#/components/schemas/WireSafeInteger1"}},{"in":"query","name":"messageId","required":true,"schema":{"$ref":"#/components/schemas/WireSafeInteger1"}},{"in":"query","name":"chatId","required":true,"schema":{"$ref":"#/components/schemas/WireSafeInteger1"}},{"in":"query","name":"peerId","required":true,"schema":{"$ref":"#/components/schemas/V1InputPeerInfo"}},{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateNotionTaskSuccess"}}},"description":"CreateNotionTaskSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]},"post":{"operationId":"v1MessagingProviders.postCreateNotionTask","parameters":[{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateNotionTaskInput"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/CreateNotionTaskInput1"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/CreateNotionTaskInput2"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateNotionTaskSuccess"}}},"description":"CreateNotionTaskSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]}},"/v1/createPrivateChat":{"get":{"operationId":"v1MessagingProviders.getCreatePrivateChat","parameters":[{"in":"query","name":"userId","required":true,"schema":{"type":"string"}},{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreatePrivateChatSuccess"}}},"description":"CreatePrivateChatSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]},"post":{"operationId":"v1MessagingProviders.postCreatePrivateChat","parameters":[{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreatePrivateChatInput"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/CreatePrivateChatInput1"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/CreatePrivateChatInput2"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreatePrivateChatSuccess"}}},"description":"CreatePrivateChatSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]}},"/v1/createSpace":{"get":{"operationId":"v1IdentitySpaces.getCreateSpace","parameters":[{"in":"query","name":"name","required":true,"schema":{"type":"string"}},{"in":"query","name":"handle","required":false,"schema":{"type":"string"}},{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateSpaceSuccess"}}},"description":"CreateSpaceSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError"}}},"description":"V1IdentitySpacesApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError1"}}},"description":"V1IdentitySpacesApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError2"}}},"description":"V1IdentitySpacesApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError4"}}},"description":"V1IdentitySpacesApiError"}},"security":[],"tags":["v1IdentitySpaces"]},"post":{"operationId":"v1IdentitySpaces.postCreateSpace","parameters":[{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateSpaceInput"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/CreateSpaceInput1"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/CreateSpaceInput2"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateSpaceSuccess"}}},"description":"CreateSpaceSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError"}}},"description":"V1IdentitySpacesApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError1"}}},"description":"V1IdentitySpacesApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError2"}}},"description":"V1IdentitySpacesApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError4"}}},"description":"V1IdentitySpacesApiError"}},"security":[],"tags":["v1IdentitySpaces"]}},"/v1/createThread":{"get":{"operationId":"v1MessagingProviders.getCreateThread","parameters":[{"in":"query","name":"title","required":true,"schema":{"type":"string"}},{"in":"query","name":"spaceId","required":true,"schema":{"$ref":"#/components/schemas/V1InputId"}},{"in":"query","name":"emoji","required":false,"schema":{"type":"string"}},{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateThreadSuccess"}}},"description":"CreateThreadSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]},"post":{"operationId":"v1MessagingProviders.postCreateThread","parameters":[{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateThreadInput"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/CreateThreadInput1"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/CreateThreadInput2"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateThreadSuccess"}}},"description":"CreateThreadSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]}},"/v1/deleteAttachment":{"get":{"operationId":"v1MessagingProviders.getDeleteAttachment","parameters":[{"in":"query","name":"externalTaskId","required":true,"schema":{"$ref":"#/components/schemas/WireSafeInteger1"}},{"in":"query","name":"pageId","required":true,"schema":{"type":"string"}},{"in":"query","name":"messageId","required":true,"schema":{"$ref":"#/components/schemas/WireSafeInteger1"}},{"in":"query","name":"chatId","required":true,"schema":{"$ref":"#/components/schemas/WireSafeInteger1"}},{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteAttachmentSuccess"}}},"description":"DeleteAttachmentSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]},"post":{"operationId":"v1MessagingProviders.postDeleteAttachment","parameters":[{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteAttachmentInput"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/DeleteAttachmentInput1"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/DeleteAttachmentInput2"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteAttachmentSuccess"}}},"description":"DeleteAttachmentSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]}},"/v1/deleteMessage":{"get":{"operationId":"v1MessagingProviders.getDeleteMessage","parameters":[{"in":"query","name":"messageId","required":true,"schema":{"$ref":"#/components/schemas/V1InputId"}},{"in":"query","name":"chatId","required":true,"schema":{"$ref":"#/components/schemas/V1InputId"}},{"in":"query","name":"peerUserId","required":false,"schema":{"$ref":"#/components/schemas/V1InputId"}},{"in":"query","name":"peerThreadId","required":false,"schema":{"$ref":"#/components/schemas/V1InputId"}},{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteMessageSuccess"}}},"description":"DeleteMessageSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]},"post":{"operationId":"v1MessagingProviders.postDeleteMessage","parameters":[{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteMessageInput"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/DeleteMessageInput1"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/DeleteMessageInput2"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteMessageSuccess"}}},"description":"DeleteMessageSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]}},"/v1/deleteSpace":{"get":{"operationId":"v1IdentitySpaces.getDeleteSpace","parameters":[{"in":"query","name":"spaceId","required":true,"schema":{"$ref":"#/components/schemas/V1InputId"}},{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesEmptySuccess"}}},"description":"V1IdentitySpacesEmptySuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError"}}},"description":"V1IdentitySpacesApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError1"}}},"description":"V1IdentitySpacesApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError2"}}},"description":"V1IdentitySpacesApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError4"}}},"description":"V1IdentitySpacesApiError"}},"security":[],"tags":["v1IdentitySpaces"]},"post":{"operationId":"v1IdentitySpaces.postDeleteSpace","parameters":[{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteSpaceInput"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/DeleteSpaceInput1"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/DeleteSpaceInput2"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesEmptySuccess"}}},"description":"V1IdentitySpacesEmptySuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError"}}},"description":"V1IdentitySpacesApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError1"}}},"description":"V1IdentitySpacesApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError2"}}},"description":"V1IdentitySpacesApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError4"}}},"description":"V1IdentitySpacesApiError"}},"security":[],"tags":["v1IdentitySpaces"]}},"/v1/disconnectIntegration":{"get":{"operationId":"v1MessagingProviders.getDisconnectIntegration","parameters":[{"in":"query","name":"spaceId","required":true,"schema":{"$ref":"#/components/schemas/WireSafeInteger1"}},{"in":"query","name":"provider","required":true,"schema":{"enum":["notion","linear"],"type":"string"}},{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DisconnectIntegrationSuccess"}}},"description":"DisconnectIntegrationSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]},"post":{"operationId":"v1MessagingProviders.postDisconnectIntegration","parameters":[{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DisconnectIntegrationInput"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/DisconnectIntegrationInput1"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/DisconnectIntegrationInput2"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DisconnectIntegrationSuccess"}}},"description":"DisconnectIntegrationSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]}},"/v1/getAlphaText":{"get":{"operationId":"v1MessagingProviders.getGetAlphaText","parameters":[{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetAlphaTextSuccess"}}},"description":"GetAlphaTextSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]},"post":{"operationId":"v1MessagingProviders.postGetAlphaText","parameters":[{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetAlphaTextInput"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/GetAlphaTextInput1"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/GetAlphaTextInput2"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetAlphaTextSuccess"}}},"description":"GetAlphaTextSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]}},"/v1/getChatHistory":{"get":{"operationId":"v1MessagingProviders.getGetChatHistory","parameters":[{"in":"query","name":"peerId","required":false,"schema":{"$ref":"#/components/schemas/V1InputPeerInfo"}},{"in":"query","name":"peerUserId","required":false,"schema":{"$ref":"#/components/schemas/V1InputId"}},{"in":"query","name":"peerThreadId","required":false,"schema":{"$ref":"#/components/schemas/V1InputId"}},{"in":"query","name":"limit","required":false,"schema":{"$ref":"#/components/schemas/WireSafeInteger4"}},{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetChatHistorySuccess"}}},"description":"GetChatHistorySuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]},"post":{"operationId":"v1MessagingProviders.postGetChatHistory","parameters":[{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetChatHistoryInput"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/GetChatHistoryInput1"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/GetChatHistoryInput2"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetChatHistorySuccess"}}},"description":"GetChatHistorySuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]}},"/v1/getDialogs":{"get":{"operationId":"v1MessagingProviders.getGetDialogs","parameters":[{"in":"query","name":"spaceId","required":true,"schema":{"$ref":"#/components/schemas/V1InputId"}},{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetDialogsSuccess"}}},"description":"GetDialogsSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]},"post":{"operationId":"v1MessagingProviders.postGetDialogs","parameters":[{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetDialogsInput"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/GetDialogsInput1"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/GetDialogsInput2"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetDialogsSuccess"}}},"description":"GetDialogsSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]}},"/v1/getDraft":{"get":{"operationId":"v1MessagingProviders.getGetDraft","parameters":[{"in":"query","name":"peerUserId","required":false,"schema":{"$ref":"#/components/schemas/V1InputId"}},{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetDraftSuccess"}}},"description":"GetDraftSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]},"post":{"operationId":"v1MessagingProviders.postGetDraft","parameters":[{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetDraftInput"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/GetDraftInput1"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/GetDraftInput2"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetDraftSuccess"}}},"description":"GetDraftSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]}},"/v1/getIntegrations":{"get":{"operationId":"v1MessagingProviders.getGetIntegrations","parameters":[{"in":"query","name":"userId","required":true,"schema":{"$ref":"#/components/schemas/V1InputId"}},{"in":"query","name":"spaceId","required":false,"schema":{"$ref":"#/components/schemas/V1InputId"}},{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetIntegrationsSuccess"}}},"description":"GetIntegrationsSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]},"post":{"operationId":"v1MessagingProviders.postGetIntegrations","parameters":[{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetIntegrationsInput"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/GetIntegrationsInput1"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/GetIntegrationsInput2"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetIntegrationsSuccess"}}},"description":"GetIntegrationsSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]}},"/v1/getInviteCodes":{"get":{"operationId":"v1IdentitySpaces.getGetInviteCodes","parameters":[{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetInviteCodesSuccess"}}},"description":"GetInviteCodesSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError"}}},"description":"V1IdentitySpacesApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError1"}}},"description":"V1IdentitySpacesApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError2"}}},"description":"V1IdentitySpacesApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError4"}}},"description":"V1IdentitySpacesApiError"}},"security":[],"tags":["v1IdentitySpaces"]},"post":{"operationId":"v1IdentitySpaces.postGetInviteCodes","parameters":[{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetInviteCodesInput"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/GetInviteCodesInput1"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/GetInviteCodesInput2"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetInviteCodesSuccess"}}},"description":"GetInviteCodesSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError"}}},"description":"V1IdentitySpacesApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError1"}}},"description":"V1IdentitySpacesApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError2"}}},"description":"V1IdentitySpacesApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError4"}}},"description":"V1IdentitySpacesApiError"}},"security":[],"tags":["v1IdentitySpaces"]}},"/v1/getLinearTeams":{"get":{"operationId":"v1MessagingProviders.getGetLinearTeams","parameters":[{"in":"query","name":"spaceId","required":true,"schema":{"$ref":"#/components/schemas/WireSafeInteger1"}},{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetLinearTeamsSuccess"}}},"description":"GetLinearTeamsSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]},"post":{"operationId":"v1MessagingProviders.postGetLinearTeams","parameters":[{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetLinearTeamsInput"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/GetLinearTeamsInput1"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/GetLinearTeamsInput2"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetLinearTeamsSuccess"}}},"description":"GetLinearTeamsSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]}},"/v1/getMe":{"get":{"operationId":"v1IdentitySpaces.getGetMe","parameters":[{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetMeSuccess"}}},"description":"GetMeSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError"}}},"description":"V1IdentitySpacesApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError1"}}},"description":"V1IdentitySpacesApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError2"}}},"description":"V1IdentitySpacesApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError4"}}},"description":"V1IdentitySpacesApiError"}},"security":[],"tags":["v1IdentitySpaces"]},"post":{"operationId":"v1IdentitySpaces.postGetMe","parameters":[{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetMeInput"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/GetMeInput1"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/GetMeInput2"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetMeSuccess"}}},"description":"GetMeSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError"}}},"description":"V1IdentitySpacesApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError1"}}},"description":"V1IdentitySpacesApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError2"}}},"description":"V1IdentitySpacesApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError4"}}},"description":"V1IdentitySpacesApiError"}},"security":[],"tags":["v1IdentitySpaces"]}},"/v1/getNotionDatabases":{"get":{"operationId":"v1MessagingProviders.getGetNotionDatabases","parameters":[{"in":"query","name":"spaceId","required":true,"schema":{"$ref":"#/components/schemas/WireSafeInteger1"}},{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetNotionDatabasesSuccess"}}},"description":"GetNotionDatabasesSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]},"post":{"operationId":"v1MessagingProviders.postGetNotionDatabases","parameters":[{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetNotionDatabasesInput"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/GetNotionDatabasesInput1"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/GetNotionDatabasesInput2"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetNotionDatabasesSuccess"}}},"description":"GetNotionDatabasesSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]}},"/v1/getPrivateChats":{"get":{"operationId":"v1MessagingProviders.getGetPrivateChats","parameters":[{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetPrivateChatsSuccess"}}},"description":"GetPrivateChatsSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]},"post":{"operationId":"v1MessagingProviders.postGetPrivateChats","parameters":[{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetPrivateChatsInput"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/GetPrivateChatsInput1"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/GetPrivateChatsInput2"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetPrivateChatsSuccess"}}},"description":"GetPrivateChatsSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]}},"/v1/getSpace":{"get":{"operationId":"v1IdentitySpaces.getGetSpace","parameters":[{"in":"query","name":"id","required":true,"schema":{"$ref":"#/components/schemas/V1InputId"}},{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetSpaceSuccess"}}},"description":"GetSpaceSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError"}}},"description":"V1IdentitySpacesApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError1"}}},"description":"V1IdentitySpacesApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError2"}}},"description":"V1IdentitySpacesApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError4"}}},"description":"V1IdentitySpacesApiError"}},"security":[],"tags":["v1IdentitySpaces"]},"post":{"operationId":"v1IdentitySpaces.postGetSpace","parameters":[{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetSpaceInput"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/GetSpaceInput1"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/GetSpaceInput2"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetSpaceSuccess"}}},"description":"GetSpaceSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError"}}},"description":"V1IdentitySpacesApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError1"}}},"description":"V1IdentitySpacesApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError2"}}},"description":"V1IdentitySpacesApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError4"}}},"description":"V1IdentitySpacesApiError"}},"security":[],"tags":["v1IdentitySpaces"]}},"/v1/getSpaceMembers":{"get":{"operationId":"v1IdentitySpaces.getGetSpaceMembers","parameters":[{"in":"query","name":"spaceId","required":true,"schema":{"$ref":"#/components/schemas/V1InputId"}},{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetSpaceMembersSuccess"}}},"description":"GetSpaceMembersSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError"}}},"description":"V1IdentitySpacesApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError1"}}},"description":"V1IdentitySpacesApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError2"}}},"description":"V1IdentitySpacesApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError4"}}},"description":"V1IdentitySpacesApiError"}},"security":[],"tags":["v1IdentitySpaces"]},"post":{"operationId":"v1IdentitySpaces.postGetSpaceMembers","parameters":[{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetSpaceMembersInput"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/GetSpaceMembersInput1"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/GetSpaceMembersInput2"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetSpaceMembersSuccess"}}},"description":"GetSpaceMembersSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError"}}},"description":"V1IdentitySpacesApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError1"}}},"description":"V1IdentitySpacesApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError2"}}},"description":"V1IdentitySpacesApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError4"}}},"description":"V1IdentitySpacesApiError"}},"security":[],"tags":["v1IdentitySpaces"]}},"/v1/getSpaces":{"get":{"operationId":"v1IdentitySpaces.getGetSpaces","parameters":[{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetSpacesSuccess"}}},"description":"GetSpacesSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError"}}},"description":"V1IdentitySpacesApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError1"}}},"description":"V1IdentitySpacesApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError2"}}},"description":"V1IdentitySpacesApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError4"}}},"description":"V1IdentitySpacesApiError"}},"security":[],"tags":["v1IdentitySpaces"]},"post":{"operationId":"v1IdentitySpaces.postGetSpaces","parameters":[{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetSpacesInput"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/GetSpacesInput1"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/GetSpacesInput2"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetSpacesSuccess"}}},"description":"GetSpacesSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError"}}},"description":"V1IdentitySpacesApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError1"}}},"description":"V1IdentitySpacesApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError2"}}},"description":"V1IdentitySpacesApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError4"}}},"description":"V1IdentitySpacesApiError"}},"security":[],"tags":["v1IdentitySpaces"]}},"/v1/getUser":{"get":{"operationId":"v1IdentitySpaces.getGetUser","parameters":[{"in":"query","name":"id","required":true,"schema":{"$ref":"#/components/schemas/V1InputId"}},{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetUserSuccess"}}},"description":"GetUserSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError"}}},"description":"V1IdentitySpacesApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError1"}}},"description":"V1IdentitySpacesApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError2"}}},"description":"V1IdentitySpacesApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError4"}}},"description":"V1IdentitySpacesApiError"}},"security":[],"tags":["v1IdentitySpaces"]},"post":{"operationId":"v1IdentitySpaces.postGetUser","parameters":[{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetUserInput"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/GetUserInput1"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/GetUserInput2"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetUserSuccess"}}},"description":"GetUserSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError"}}},"description":"V1IdentitySpacesApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError1"}}},"description":"V1IdentitySpacesApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError2"}}},"description":"V1IdentitySpacesApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError4"}}},"description":"V1IdentitySpacesApiError"}},"security":[],"tags":["v1IdentitySpaces"]}},"/v1/leaveSpace":{"get":{"operationId":"v1IdentitySpaces.getLeaveSpace","parameters":[{"in":"query","name":"spaceId","required":true,"schema":{"$ref":"#/components/schemas/V1InputId"}},{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LeaveSpaceSuccess"}}},"description":"LeaveSpaceSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError"}}},"description":"V1IdentitySpacesApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError1"}}},"description":"V1IdentitySpacesApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError2"}}},"description":"V1IdentitySpacesApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError4"}}},"description":"V1IdentitySpacesApiError"}},"security":[],"tags":["v1IdentitySpaces"]},"post":{"operationId":"v1IdentitySpaces.postLeaveSpace","parameters":[{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LeaveSpaceInput"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/LeaveSpaceInput1"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/LeaveSpaceInput2"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LeaveSpaceSuccess"}}},"description":"LeaveSpaceSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError"}}},"description":"V1IdentitySpacesApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError1"}}},"description":"V1IdentitySpacesApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError2"}}},"description":"V1IdentitySpacesApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError4"}}},"description":"V1IdentitySpacesApiError"}},"security":[],"tags":["v1IdentitySpaces"]}},"/v1/logout":{"get":{"operationId":"auth.getLogout","parameters":[{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityLogoutSuccess"}}},"description":"IdentityLogoutSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityApiError"}}},"description":"IdentityApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityApiError1"}}},"description":"IdentityApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityApiError3"}}},"description":"IdentityApiError"}},"security":[],"tags":["auth"]},"post":{"operationId":"auth.postLogout","parameters":[{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LogoutInput"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/LogoutInput1"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/LogoutInput2"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityLogoutSuccess"}}},"description":"IdentityLogoutSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityApiError"}}},"description":"IdentityApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityApiError1"}}},"description":"IdentityApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityApiError3"}}},"description":"IdentityApiError"}},"security":[],"tags":["auth"]}},"/v1/readMessages":{"get":{"operationId":"v1MessagingProviders.getReadMessages","parameters":[{"in":"query","name":"peerUserId","required":false,"schema":{"$ref":"#/components/schemas/V1InputId"}},{"in":"query","name":"peerThreadId","required":false,"schema":{"$ref":"#/components/schemas/V1InputId"}},{"in":"query","name":"maxId","required":false,"schema":{"$ref":"#/components/schemas/WireSafeInteger6"}},{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReadMessagesSuccess"}}},"description":"ReadMessagesSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]},"post":{"operationId":"v1MessagingProviders.postReadMessages","parameters":[{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReadMessagesInput"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/ReadMessagesInput1"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/ReadMessagesInput2"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReadMessagesSuccess"}}},"description":"ReadMessagesSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]}},"/v1/saveLinearTeamId":{"get":{"operationId":"v1MessagingProviders.getSaveLinearTeamId","parameters":[{"in":"query","name":"spaceId","required":true,"schema":{"type":"string"}},{"in":"query","name":"teamId","required":true,"schema":{"$ref":"#/components/schemas/LinearTeamId"}},{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SaveLinearTeamIdSuccess"}}},"description":"SaveLinearTeamIdSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]},"post":{"operationId":"v1MessagingProviders.postSaveLinearTeamId","parameters":[{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SaveLinearTeamIdInput"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/SaveLinearTeamIdInput1"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/SaveLinearTeamIdInput2"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SaveLinearTeamIdSuccess"}}},"description":"SaveLinearTeamIdSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]}},"/v1/saveNotionDatabaseId":{"get":{"operationId":"v1MessagingProviders.getSaveNotionDatabaseId","parameters":[{"in":"query","name":"spaceId","required":true,"schema":{"type":"string"}},{"in":"query","name":"databaseId","required":true,"schema":{"$ref":"#/components/schemas/NotionDatabaseId"}},{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SaveNotionDatabaseIdSuccess"}}},"description":"SaveNotionDatabaseIdSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]},"post":{"operationId":"v1MessagingProviders.postSaveNotionDatabaseId","parameters":[{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SaveNotionDatabaseIdInput"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/SaveNotionDatabaseIdInput1"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/SaveNotionDatabaseIdInput2"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SaveNotionDatabaseIdSuccess"}}},"description":"SaveNotionDatabaseIdSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]}},"/v1/savePushNotification":{"get":{"operationId":"v1IdentitySpaces.getSavePushNotification","parameters":[{"in":"query","name":"applePushToken","required":true,"schema":{"type":"string"}},{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesEmptySuccess"}}},"description":"V1IdentitySpacesEmptySuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError"}}},"description":"V1IdentitySpacesApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError1"}}},"description":"V1IdentitySpacesApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError2"}}},"description":"V1IdentitySpacesApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError4"}}},"description":"V1IdentitySpacesApiError"}},"security":[],"tags":["v1IdentitySpaces"]},"post":{"operationId":"v1IdentitySpaces.postSavePushNotification","parameters":[{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SavePushNotificationInput"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/SavePushNotificationInput1"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/SavePushNotificationInput2"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesEmptySuccess"}}},"description":"V1IdentitySpacesEmptySuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError"}}},"description":"V1IdentitySpacesApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError1"}}},"description":"V1IdentitySpacesApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError2"}}},"description":"V1IdentitySpacesApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError4"}}},"description":"V1IdentitySpacesApiError"}},"security":[],"tags":["v1IdentitySpaces"]}},"/v1/searchContacts":{"get":{"operationId":"v1IdentitySpaces.getSearchContacts","parameters":[{"in":"query","name":"q","required":true,"schema":{"type":"string"}},{"in":"query","name":"limit","required":false,"schema":{"$ref":"#/components/schemas/WireSafeInteger2"}},{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchContactsSuccess"}}},"description":"SearchContactsSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError"}}},"description":"V1IdentitySpacesApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError1"}}},"description":"V1IdentitySpacesApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError2"}}},"description":"V1IdentitySpacesApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError4"}}},"description":"V1IdentitySpacesApiError"}},"security":[],"tags":["v1IdentitySpaces"]},"post":{"operationId":"v1IdentitySpaces.postSearchContacts","parameters":[{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchContactsInput"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/SearchContactsInput1"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/SearchContactsInput2"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchContactsSuccess"}}},"description":"SearchContactsSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError"}}},"description":"V1IdentitySpacesApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError1"}}},"description":"V1IdentitySpacesApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError2"}}},"description":"V1IdentitySpacesApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError4"}}},"description":"V1IdentitySpacesApiError"}},"security":[],"tags":["v1IdentitySpaces"]}},"/v1/sendComposeAction":{"get":{"operationId":"v1MessagingProviders.getSendComposeAction","parameters":[{"in":"query","name":"action","required":false,"schema":{"enum":["null","typing","uploadingDocument","uploadingPhoto","uploadingVideo","recordingVoice","working"],"type":"string"}},{"in":"query","name":"peerId","required":false,"schema":{"anyOf":[{"enum":["null"],"type":"string"},{"$ref":"#/components/schemas/V1InputPeerInfo"}]}},{"in":"query","name":"peerUserId","required":false,"schema":{"anyOf":[{"enum":["null"],"type":"string"},{"$ref":"#/components/schemas/V1InputId"}]}},{"in":"query","name":"peerThreadId","required":false,"schema":{"anyOf":[{"enum":["null"],"type":"string"},{"$ref":"#/components/schemas/V1InputId"}]}},{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SendComposeActionSuccess"}}},"description":"SendComposeActionSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]},"post":{"operationId":"v1MessagingProviders.postSendComposeAction","parameters":[{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SendComposeActionInput"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/SendComposeActionInput1"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/SendComposeActionInput2"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SendComposeActionSuccess"}}},"description":"SendComposeActionSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]}},"/v1/sendEmailCode":{"get":{"operationId":"auth.getSendEmailCode","parameters":[{"in":"query","name":"email","required":true,"schema":{"type":"string"}},{"in":"query","name":"deviceId","required":false,"schema":{"type":"string"}},{"in":"query","name":"clientType","required":false,"schema":{"type":"string"}},{"in":"query","name":"clientVersion","required":false,"schema":{"type":"string"}},{"in":"query","name":"osVersion","required":false,"schema":{"type":"string"}},{"in":"query","name":"deviceName","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SendEmailCodeSuccess"}}},"description":"SendEmailCodeSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityApiError"}}},"description":"IdentityApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityApiError1"}}},"description":"IdentityApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityApiError3"}}},"description":"IdentityApiError"}},"security":[],"tags":["auth"]},"post":{"operationId":"auth.postSendEmailCode","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SendEmailCodeInput"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/SendEmailCodeInput1"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/SendEmailCodeInput2"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SendEmailCodeSuccess"}}},"description":"SendEmailCodeSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityApiError"}}},"description":"IdentityApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityApiError1"}}},"description":"IdentityApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityApiError3"}}},"description":"IdentityApiError"}},"security":[],"tags":["auth"]}},"/v1/sendMessage":{"get":{"operationId":"v1MessagingProviders.getSendMessage","parameters":[{"in":"query","name":"peerId","required":false,"schema":{"anyOf":[{"enum":["null"],"type":"string"},{"$ref":"#/components/schemas/V1InputPeerInfo"}]}},{"in":"query","name":"peerUserId","required":false,"schema":{"anyOf":[{"enum":["null"],"type":"string"},{"$ref":"#/components/schemas/V1InputId"}]}},{"in":"query","name":"peerThreadId","required":false,"schema":{"anyOf":[{"enum":["null"],"type":"string"},{"$ref":"#/components/schemas/V1InputId"}]}},{"in":"query","name":"text","required":false,"schema":{"anyOf":[{"enum":["null"],"type":"string"},{"type":"string"}]}},{"in":"query","name":"replyToMessageId","required":false,"schema":{"anyOf":[{"enum":["null"],"type":"string"},{"$ref":"#/components/schemas/V1InputId"}]}},{"in":"query","name":"randomId","required":false,"schema":{"anyOf":[{"enum":["null"],"type":"string"},{"type":"string"}]}},{"in":"query","name":"fileUniqueId","required":false,"schema":{"anyOf":[{"enum":["null"],"type":"string"},{"type":"string"}]}},{"in":"query","name":"isSticker","required":false,"schema":{"enum":["true","false","null"],"type":"string"}},{"in":"query","name":"parseMarkdown","required":false,"schema":{"enum":["true","false","null"],"type":"string"}},{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SendMessageSuccess"}}},"description":"SendMessageSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]},"post":{"operationId":"v1MessagingProviders.postSendMessage","parameters":[{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SendMessageInput"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/SendMessageInput1"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/SendMessageInput2"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SendMessageSuccess"}}},"description":"SendMessageSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]}},"/v1/sendMessage20250509":{"get":{"operationId":"v1MessagingProviders.getSendMessage20250509","parameters":[{"in":"query","name":"peerId","required":false,"schema":{"anyOf":[{"enum":["null"],"type":"string"},{"$ref":"#/components/schemas/V1InputPeerInfo"}]}},{"in":"query","name":"peerUserId","required":false,"schema":{"anyOf":[{"enum":["null"],"type":"string"},{"$ref":"#/components/schemas/V1InputId"}]}},{"in":"query","name":"peerThreadId","required":false,"schema":{"anyOf":[{"enum":["null"],"type":"string"},{"$ref":"#/components/schemas/V1InputId"}]}},{"in":"query","name":"text","required":false,"schema":{"anyOf":[{"enum":["null"],"type":"string"},{"type":"string"}]}},{"in":"query","name":"photoId","required":false,"schema":{"anyOf":[{"enum":["null"],"type":"string"},{"$ref":"#/components/schemas/V1InputId"}]}},{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SendMessage20250509Success"}}},"description":"SendMessage20250509Success"},"400":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/V1MessagingProvidersApiError6"},{"$ref":"#/components/schemas/V1BotCompatApiError"}]}}},"description":"Error"},"401":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/V1MessagingProvidersApiError6"},{"$ref":"#/components/schemas/V1BotCompatApiError"}]}}},"description":"Error"},"403":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/V1MessagingProvidersApiError6"},{"$ref":"#/components/schemas/V1BotCompatApiError"}]}}},"description":"Error"},"404":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/V1MessagingProvidersApiError6"},{"$ref":"#/components/schemas/V1BotCompatApiError"}]}}},"description":"Error"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/V1MessagingProvidersApiError6"},{"$ref":"#/components/schemas/V1BotCompatApiError"}]}}},"description":"Error"}},"security":[],"tags":["v1MessagingProviders"]},"post":{"operationId":"v1MessagingProviders.postSendMessage20250509","parameters":[{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SendMessage20250509Input"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/SendMessage20250509Input1"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/SendMessage20250509Input2"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SendMessage20250509Success"}}},"description":"SendMessage20250509Success"},"400":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/V1MessagingProvidersApiError6"},{"$ref":"#/components/schemas/V1BotCompatApiError"}]}}},"description":"Error"},"401":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/V1MessagingProvidersApiError6"},{"$ref":"#/components/schemas/V1BotCompatApiError"}]}}},"description":"Error"},"403":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/V1MessagingProvidersApiError6"},{"$ref":"#/components/schemas/V1BotCompatApiError"}]}}},"description":"Error"},"404":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/V1MessagingProvidersApiError6"},{"$ref":"#/components/schemas/V1BotCompatApiError"}]}}},"description":"Error"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/V1MessagingProvidersApiError6"},{"$ref":"#/components/schemas/V1BotCompatApiError"}]}}},"description":"Error"}},"security":[],"tags":["v1MessagingProviders"]}},"/v1/sendSmsCode":{"get":{"operationId":"auth.getSendSmsCode","parameters":[{"in":"query","name":"phoneNumber","required":true,"schema":{"type":"string"}},{"in":"query","name":"deviceId","required":false,"schema":{"type":"string"}},{"in":"query","name":"clientType","required":false,"schema":{"type":"string"}},{"in":"query","name":"clientVersion","required":false,"schema":{"type":"string"}},{"in":"query","name":"osVersion","required":false,"schema":{"type":"string"}},{"in":"query","name":"deviceName","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SendSmsCodeSuccess"}}},"description":"SendSmsCodeSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityApiError"}}},"description":"IdentityApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityApiError1"}}},"description":"IdentityApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityApiError3"}}},"description":"IdentityApiError"}},"security":[],"tags":["auth"]},"post":{"operationId":"auth.postSendSmsCode","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SendSmsCodeInput"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/SendSmsCodeInput1"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/SendSmsCodeInput2"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SendSmsCodeSuccess"}}},"description":"SendSmsCodeSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityApiError"}}},"description":"IdentityApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityApiError1"}}},"description":"IdentityApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityApiError3"}}},"description":"IdentityApiError"}},"security":[],"tags":["auth"]}},"/v1/space-join/resolve":{"post":{"operationId":"auxiliary.spaceJoinResolve","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SpaceJoinResolveInput"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SpaceJoinResolveSuccess"}}},"description":"SpaceJoinResolveSuccess"},"404":{"description":"SpaceJoinResolveUnavailable"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SpaceJoinResolveRateLimited"}}},"description":"SpaceJoinResolveRateLimited"},"500":{"content":{"text/plain":{"schema":{"type":"string"}}},"description":"AuxiliaryInternalServerError"}},"security":[],"tags":["auxiliary"]}},"/v1/updateDialog":{"get":{"operationId":"v1MessagingProviders.getUpdateDialog","parameters":[{"in":"query","name":"pinned","required":false,"schema":{"enum":["true","false"],"type":"string"}},{"in":"query","name":"peerId","required":false,"schema":{"$ref":"#/components/schemas/V1InputId"}},{"in":"query","name":"peerUserId","required":false,"schema":{"$ref":"#/components/schemas/V1InputId"}},{"in":"query","name":"peerThreadId","required":false,"schema":{"$ref":"#/components/schemas/V1InputId"}},{"in":"query","name":"draft","required":false,"schema":{"type":"string"}},{"in":"query","name":"archived","required":false,"schema":{"enum":["true","false"],"type":"string"}},{"in":"query","name":"order","required":false,"schema":{"allOf":[{"minLength":1},{"maxLength":128},{"pattern":"^[0-9A-Za-z]+$"}],"type":"string"}},{"in":"query","name":"pinnedOrder","required":false,"schema":{"allOf":[{"minLength":1},{"maxLength":128},{"pattern":"^[0-9A-Za-z]+$"}],"type":"string"}},{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateDialogSuccess"}}},"description":"UpdateDialogSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]},"post":{"operationId":"v1MessagingProviders.postUpdateDialog","parameters":[{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateDialogInput"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/UpdateDialogInput1"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/UpdateDialogInput2"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateDialogSuccess"}}},"description":"UpdateDialogSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]}},"/v1/updateProfile":{"get":{"operationId":"v1IdentitySpaces.getUpdateProfile","parameters":[{"in":"query","name":"firstName","required":false,"schema":{"type":"string"}},{"in":"query","name":"lastName","required":false,"schema":{"type":"string"}},{"in":"query","name":"bio","required":false,"schema":{"type":"string"}},{"in":"query","name":"username","required":false,"schema":{"type":"string"}},{"in":"query","name":"timeZone","required":false,"schema":{"type":"string"}},{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateProfileSuccess"}}},"description":"UpdateProfileSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError"}}},"description":"V1IdentitySpacesApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError1"}}},"description":"V1IdentitySpacesApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError2"}}},"description":"V1IdentitySpacesApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError4"}}},"description":"V1IdentitySpacesApiError"}},"security":[],"tags":["v1IdentitySpaces"]},"post":{"operationId":"v1IdentitySpaces.postUpdateProfile","parameters":[{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateProfileInput"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/UpdateProfileInput1"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/UpdateProfileInput2"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateProfileSuccess"}}},"description":"UpdateProfileSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError"}}},"description":"V1IdentitySpacesApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError1"}}},"description":"V1IdentitySpacesApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError2"}}},"description":"V1IdentitySpacesApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError4"}}},"description":"V1IdentitySpacesApiError"}},"security":[],"tags":["v1IdentitySpaces"]}},"/v1/updateProfilePhoto":{"get":{"operationId":"v1IdentitySpaces.getUpdateProfilePhoto","parameters":[{"in":"query","name":"fileUniqueId","required":true,"schema":{"type":"string"}},{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateProfilePhotoSuccess"}}},"description":"UpdateProfilePhotoSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError"}}},"description":"V1IdentitySpacesApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError1"}}},"description":"V1IdentitySpacesApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError2"}}},"description":"V1IdentitySpacesApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError4"}}},"description":"V1IdentitySpacesApiError"}},"security":[],"tags":["v1IdentitySpaces"]},"post":{"operationId":"v1IdentitySpaces.postUpdateProfilePhoto","parameters":[{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateProfilePhotoInput"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/UpdateProfilePhotoInput1"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/UpdateProfilePhotoInput2"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateProfilePhotoSuccess"}}},"description":"UpdateProfilePhotoSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError"}}},"description":"V1IdentitySpacesApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError1"}}},"description":"V1IdentitySpacesApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError2"}}},"description":"V1IdentitySpacesApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError4"}}},"description":"V1IdentitySpacesApiError"}},"security":[],"tags":["v1IdentitySpaces"]}},"/v1/updateStatus":{"get":{"operationId":"v1IdentitySpaces.getUpdateStatus","parameters":[{"in":"query","name":"online","required":true,"schema":{"enum":["true","false"],"type":"string"}},{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateStatusSuccess"}}},"description":"UpdateStatusSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError"}}},"description":"V1IdentitySpacesApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError1"}}},"description":"V1IdentitySpacesApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError2"}}},"description":"V1IdentitySpacesApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError4"}}},"description":"V1IdentitySpacesApiError"}},"security":[],"tags":["v1IdentitySpaces"]},"post":{"operationId":"v1IdentitySpaces.postUpdateStatus","parameters":[{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateStatusInput"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/UpdateStatusInput1"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/UpdateStatusInput2"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateStatusSuccess"}}},"description":"UpdateStatusSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError"}}},"description":"V1IdentitySpacesApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError1"}}},"description":"V1IdentitySpacesApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError2"}}},"description":"V1IdentitySpacesApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError4"}}},"description":"V1IdentitySpacesApiError"}},"security":[],"tags":["v1IdentitySpaces"]}},"/v1/uploadFile":{"post":{"operationId":"v1MessagingProviders.postUploadFile","parameters":[{"description":"Required session token using the Bearer scheme.","in":"header","name":"authorization","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/UploadFilePayload"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UploadFileSuccess"}}},"description":"UploadFileSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]}},"/v1/verifyEmailCode":{"get":{"operationId":"auth.getVerifyEmailCode","parameters":[{"in":"query","name":"email","required":true,"schema":{"type":"string"}},{"in":"query","name":"code","required":true,"schema":{"type":"string"}},{"in":"query","name":"challengeToken","required":false,"schema":{"type":"string"}},{"in":"query","name":"inviteCode","required":false,"schema":{"type":"string"}},{"in":"query","name":"deviceId","required":false,"schema":{"type":"string"}},{"in":"query","name":"clientType","required":false,"schema":{"type":"string"}},{"in":"query","name":"clientVersion","required":false,"schema":{"type":"string"}},{"in":"query","name":"osVersion","required":false,"schema":{"type":"string"}},{"in":"query","name":"deviceName","required":false,"schema":{"type":"string"}},{"in":"query","name":"timezone","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VerifyEmailCodeSuccess"}}},"description":"VerifyEmailCodeSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityApiError"}}},"description":"IdentityApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityApiError1"}}},"description":"IdentityApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityApiError3"}}},"description":"IdentityApiError"}},"security":[],"tags":["auth"]},"post":{"operationId":"auth.postVerifyEmailCode","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VerifyEmailCodeInput"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/VerifyEmailCodeInput1"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/VerifyEmailCodeInput2"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VerifyEmailCodeSuccess"}}},"description":"VerifyEmailCodeSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityApiError"}}},"description":"IdentityApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityApiError1"}}},"description":"IdentityApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityApiError3"}}},"description":"IdentityApiError"}},"security":[],"tags":["auth"]}},"/v1/verifySmsCode":{"get":{"operationId":"auth.getVerifySmsCode","parameters":[{"in":"query","name":"phoneNumber","required":true,"schema":{"type":"string"}},{"in":"query","name":"code","required":true,"schema":{"type":"string"}},{"in":"query","name":"inviteCode","required":false,"schema":{"type":"string"}},{"in":"query","name":"deviceId","required":false,"schema":{"type":"string"}},{"in":"query","name":"clientType","required":false,"schema":{"type":"string"}},{"in":"query","name":"clientVersion","required":false,"schema":{"type":"string"}},{"in":"query","name":"osVersion","required":false,"schema":{"type":"string"}},{"in":"query","name":"deviceName","required":false,"schema":{"type":"string"}},{"in":"query","name":"timezone","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VerifySmsCodeSuccess"}}},"description":"VerifySmsCodeSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityApiError"}}},"description":"IdentityApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityApiError1"}}},"description":"IdentityApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityApiError3"}}},"description":"IdentityApiError"}},"security":[],"tags":["auth"]},"post":{"operationId":"auth.postVerifySmsCode","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VerifySmsCodeInput"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/VerifySmsCodeInput1"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/VerifySmsCodeInput2"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VerifySmsCodeSuccess"}}},"description":"VerifySmsCodeSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityApiError"}}},"description":"IdentityApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityApiError1"}}},"description":"IdentityApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityApiError3"}}},"description":"IdentityApiError"}},"security":[],"tags":["auth"]}},"/v1/{token}/addMember":{"get":{"operationId":"v1IdentitySpaces.getAddMemberWithToken","parameters":[{"in":"path","name":"token","required":true,"schema":{"type":"string"}},{"in":"query","name":"spaceId","required":true,"schema":{"$ref":"#/components/schemas/V1InputId"}},{"in":"query","name":"userId","required":true,"schema":{"$ref":"#/components/schemas/V1InputId"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddMemberSuccess"}}},"description":"AddMemberSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError"}}},"description":"V1IdentitySpacesApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError1"}}},"description":"V1IdentitySpacesApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError2"}}},"description":"V1IdentitySpacesApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError4"}}},"description":"V1IdentitySpacesApiError"}},"security":[],"tags":["v1IdentitySpaces"]}},"/v1/{token}/addReaction":{"get":{"operationId":"v1MessagingProviders.getAddReactionWithToken","parameters":[{"in":"path","name":"token","required":true,"schema":{"type":"string"}},{"in":"query","name":"messageId","required":true,"schema":{"$ref":"#/components/schemas/V1InputId"}},{"in":"query","name":"chatId","required":true,"schema":{"$ref":"#/components/schemas/V1InputId"}},{"in":"query","name":"emoji","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddReactionSuccess"}}},"description":"AddReactionSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]}},"/v1/{token}/checkUsername":{"get":{"operationId":"v1IdentitySpaces.getCheckUsernameWithToken","parameters":[{"in":"path","name":"token","required":true,"schema":{"type":"string"}},{"in":"query","name":"username","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckUsernameSuccess"}}},"description":"CheckUsernameSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError"}}},"description":"V1IdentitySpacesApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError1"}}},"description":"V1IdentitySpacesApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError2"}}},"description":"V1IdentitySpacesApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError4"}}},"description":"V1IdentitySpacesApiError"}},"security":[],"tags":["v1IdentitySpaces"]}},"/v1/{token}/createLinearIssue":{"get":{"operationId":"v1MessagingProviders.getCreateLinearIssueWithToken","parameters":[{"in":"path","name":"token","required":true,"schema":{"type":"string"}},{"in":"query","name":"text","required":true,"schema":{"type":"string"}},{"in":"query","name":"messageId","required":true,"schema":{"$ref":"#/components/schemas/WireSafeInteger1"}},{"in":"query","name":"chatId","required":true,"schema":{"$ref":"#/components/schemas/WireSafeInteger1"}},{"in":"query","name":"peerId","required":true,"schema":{"$ref":"#/components/schemas/V1InputPeerInfo"}},{"in":"query","name":"fromId","required":true,"schema":{"$ref":"#/components/schemas/WireSafeInteger1"}},{"in":"query","name":"spaceId","required":false,"schema":{"$ref":"#/components/schemas/SpaceId"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateLinearIssueSuccess"}}},"description":"CreateLinearIssueSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]}},"/v1/{token}/createNotionTask":{"get":{"operationId":"v1MessagingProviders.getCreateNotionTaskWithToken","parameters":[{"in":"path","name":"token","required":true,"schema":{"type":"string"}},{"in":"query","name":"spaceId","required":true,"schema":{"$ref":"#/components/schemas/WireSafeInteger1"}},{"in":"query","name":"messageId","required":true,"schema":{"$ref":"#/components/schemas/WireSafeInteger1"}},{"in":"query","name":"chatId","required":true,"schema":{"$ref":"#/components/schemas/WireSafeInteger1"}},{"in":"query","name":"peerId","required":true,"schema":{"$ref":"#/components/schemas/V1InputPeerInfo"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateNotionTaskSuccess"}}},"description":"CreateNotionTaskSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]}},"/v1/{token}/createPrivateChat":{"get":{"operationId":"v1MessagingProviders.getCreatePrivateChatWithToken","parameters":[{"in":"path","name":"token","required":true,"schema":{"type":"string"}},{"in":"query","name":"userId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreatePrivateChatSuccess"}}},"description":"CreatePrivateChatSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]}},"/v1/{token}/createSpace":{"get":{"operationId":"v1IdentitySpaces.getCreateSpaceWithToken","parameters":[{"in":"path","name":"token","required":true,"schema":{"type":"string"}},{"in":"query","name":"name","required":true,"schema":{"type":"string"}},{"in":"query","name":"handle","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateSpaceSuccess"}}},"description":"CreateSpaceSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError"}}},"description":"V1IdentitySpacesApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError1"}}},"description":"V1IdentitySpacesApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError2"}}},"description":"V1IdentitySpacesApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError4"}}},"description":"V1IdentitySpacesApiError"}},"security":[],"tags":["v1IdentitySpaces"]}},"/v1/{token}/createThread":{"get":{"operationId":"v1MessagingProviders.getCreateThreadWithToken","parameters":[{"in":"path","name":"token","required":true,"schema":{"type":"string"}},{"in":"query","name":"title","required":true,"schema":{"type":"string"}},{"in":"query","name":"spaceId","required":true,"schema":{"$ref":"#/components/schemas/V1InputId"}},{"in":"query","name":"emoji","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateThreadSuccess"}}},"description":"CreateThreadSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]}},"/v1/{token}/deleteAttachment":{"get":{"operationId":"v1MessagingProviders.getDeleteAttachmentWithToken","parameters":[{"in":"path","name":"token","required":true,"schema":{"type":"string"}},{"in":"query","name":"externalTaskId","required":true,"schema":{"$ref":"#/components/schemas/WireSafeInteger1"}},{"in":"query","name":"pageId","required":true,"schema":{"type":"string"}},{"in":"query","name":"messageId","required":true,"schema":{"$ref":"#/components/schemas/WireSafeInteger1"}},{"in":"query","name":"chatId","required":true,"schema":{"$ref":"#/components/schemas/WireSafeInteger1"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteAttachmentSuccess"}}},"description":"DeleteAttachmentSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]}},"/v1/{token}/deleteMessage":{"get":{"operationId":"v1MessagingProviders.getDeleteMessageWithToken","parameters":[{"in":"path","name":"token","required":true,"schema":{"type":"string"}},{"in":"query","name":"messageId","required":true,"schema":{"$ref":"#/components/schemas/V1InputId"}},{"in":"query","name":"chatId","required":true,"schema":{"$ref":"#/components/schemas/V1InputId"}},{"in":"query","name":"peerUserId","required":false,"schema":{"$ref":"#/components/schemas/V1InputId"}},{"in":"query","name":"peerThreadId","required":false,"schema":{"$ref":"#/components/schemas/V1InputId"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteMessageSuccess"}}},"description":"DeleteMessageSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]}},"/v1/{token}/deleteSpace":{"get":{"operationId":"v1IdentitySpaces.getDeleteSpaceWithToken","parameters":[{"in":"path","name":"token","required":true,"schema":{"type":"string"}},{"in":"query","name":"spaceId","required":true,"schema":{"$ref":"#/components/schemas/V1InputId"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesEmptySuccess"}}},"description":"V1IdentitySpacesEmptySuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError"}}},"description":"V1IdentitySpacesApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError1"}}},"description":"V1IdentitySpacesApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError2"}}},"description":"V1IdentitySpacesApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError4"}}},"description":"V1IdentitySpacesApiError"}},"security":[],"tags":["v1IdentitySpaces"]}},"/v1/{token}/disconnectIntegration":{"get":{"operationId":"v1MessagingProviders.getDisconnectIntegrationWithToken","parameters":[{"in":"path","name":"token","required":true,"schema":{"type":"string"}},{"in":"query","name":"spaceId","required":true,"schema":{"$ref":"#/components/schemas/WireSafeInteger1"}},{"in":"query","name":"provider","required":true,"schema":{"enum":["notion","linear"],"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DisconnectIntegrationSuccess"}}},"description":"DisconnectIntegrationSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]}},"/v1/{token}/getAlphaText":{"get":{"operationId":"v1MessagingProviders.getGetAlphaTextWithToken","parameters":[{"in":"path","name":"token","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetAlphaTextSuccess"}}},"description":"GetAlphaTextSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]}},"/v1/{token}/getChatHistory":{"get":{"operationId":"v1MessagingProviders.getGetChatHistoryWithToken","parameters":[{"in":"path","name":"token","required":true,"schema":{"type":"string"}},{"in":"query","name":"peerId","required":false,"schema":{"$ref":"#/components/schemas/V1InputPeerInfo"}},{"in":"query","name":"peerUserId","required":false,"schema":{"$ref":"#/components/schemas/V1InputId"}},{"in":"query","name":"peerThreadId","required":false,"schema":{"$ref":"#/components/schemas/V1InputId"}},{"in":"query","name":"limit","required":false,"schema":{"$ref":"#/components/schemas/WireSafeInteger4"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetChatHistorySuccess"}}},"description":"GetChatHistorySuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]}},"/v1/{token}/getDialogs":{"get":{"operationId":"v1MessagingProviders.getGetDialogsWithToken","parameters":[{"in":"path","name":"token","required":true,"schema":{"type":"string"}},{"in":"query","name":"spaceId","required":true,"schema":{"$ref":"#/components/schemas/V1InputId"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetDialogsSuccess"}}},"description":"GetDialogsSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]}},"/v1/{token}/getDraft":{"get":{"operationId":"v1MessagingProviders.getGetDraftWithToken","parameters":[{"in":"path","name":"token","required":true,"schema":{"type":"string"}},{"in":"query","name":"peerUserId","required":false,"schema":{"$ref":"#/components/schemas/V1InputId"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetDraftSuccess"}}},"description":"GetDraftSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]}},"/v1/{token}/getIntegrations":{"get":{"operationId":"v1MessagingProviders.getGetIntegrationsWithToken","parameters":[{"in":"path","name":"token","required":true,"schema":{"type":"string"}},{"in":"query","name":"userId","required":true,"schema":{"$ref":"#/components/schemas/V1InputId"}},{"in":"query","name":"spaceId","required":false,"schema":{"$ref":"#/components/schemas/V1InputId"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetIntegrationsSuccess"}}},"description":"GetIntegrationsSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]}},"/v1/{token}/getInviteCodes":{"get":{"operationId":"v1IdentitySpaces.getGetInviteCodesWithToken","parameters":[{"in":"path","name":"token","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetInviteCodesSuccess"}}},"description":"GetInviteCodesSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError"}}},"description":"V1IdentitySpacesApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError1"}}},"description":"V1IdentitySpacesApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError2"}}},"description":"V1IdentitySpacesApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError4"}}},"description":"V1IdentitySpacesApiError"}},"security":[],"tags":["v1IdentitySpaces"]}},"/v1/{token}/getLinearTeams":{"get":{"operationId":"v1MessagingProviders.getGetLinearTeamsWithToken","parameters":[{"in":"path","name":"token","required":true,"schema":{"type":"string"}},{"in":"query","name":"spaceId","required":true,"schema":{"$ref":"#/components/schemas/WireSafeInteger1"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetLinearTeamsSuccess"}}},"description":"GetLinearTeamsSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]}},"/v1/{token}/getMe":{"get":{"operationId":"v1IdentitySpaces.getGetMeWithToken","parameters":[{"in":"path","name":"token","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetMeSuccess"}}},"description":"GetMeSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError"}}},"description":"V1IdentitySpacesApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError1"}}},"description":"V1IdentitySpacesApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError2"}}},"description":"V1IdentitySpacesApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError4"}}},"description":"V1IdentitySpacesApiError"}},"security":[],"tags":["v1IdentitySpaces"]}},"/v1/{token}/getNotionDatabases":{"get":{"operationId":"v1MessagingProviders.getGetNotionDatabasesWithToken","parameters":[{"in":"path","name":"token","required":true,"schema":{"type":"string"}},{"in":"query","name":"spaceId","required":true,"schema":{"$ref":"#/components/schemas/WireSafeInteger1"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetNotionDatabasesSuccess"}}},"description":"GetNotionDatabasesSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]}},"/v1/{token}/getPrivateChats":{"get":{"operationId":"v1MessagingProviders.getGetPrivateChatsWithToken","parameters":[{"in":"path","name":"token","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetPrivateChatsSuccess"}}},"description":"GetPrivateChatsSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]}},"/v1/{token}/getSpace":{"get":{"operationId":"v1IdentitySpaces.getGetSpaceWithToken","parameters":[{"in":"path","name":"token","required":true,"schema":{"type":"string"}},{"in":"query","name":"id","required":true,"schema":{"$ref":"#/components/schemas/V1InputId"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetSpaceSuccess"}}},"description":"GetSpaceSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError"}}},"description":"V1IdentitySpacesApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError1"}}},"description":"V1IdentitySpacesApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError2"}}},"description":"V1IdentitySpacesApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError4"}}},"description":"V1IdentitySpacesApiError"}},"security":[],"tags":["v1IdentitySpaces"]}},"/v1/{token}/getSpaceMembers":{"get":{"operationId":"v1IdentitySpaces.getGetSpaceMembersWithToken","parameters":[{"in":"path","name":"token","required":true,"schema":{"type":"string"}},{"in":"query","name":"spaceId","required":true,"schema":{"$ref":"#/components/schemas/V1InputId"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetSpaceMembersSuccess"}}},"description":"GetSpaceMembersSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError"}}},"description":"V1IdentitySpacesApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError1"}}},"description":"V1IdentitySpacesApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError2"}}},"description":"V1IdentitySpacesApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError4"}}},"description":"V1IdentitySpacesApiError"}},"security":[],"tags":["v1IdentitySpaces"]}},"/v1/{token}/getSpaces":{"get":{"operationId":"v1IdentitySpaces.getGetSpacesWithToken","parameters":[{"in":"path","name":"token","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetSpacesSuccess"}}},"description":"GetSpacesSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError"}}},"description":"V1IdentitySpacesApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError1"}}},"description":"V1IdentitySpacesApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError2"}}},"description":"V1IdentitySpacesApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError4"}}},"description":"V1IdentitySpacesApiError"}},"security":[],"tags":["v1IdentitySpaces"]}},"/v1/{token}/getUser":{"get":{"operationId":"v1IdentitySpaces.getGetUserWithToken","parameters":[{"in":"path","name":"token","required":true,"schema":{"type":"string"}},{"in":"query","name":"id","required":true,"schema":{"$ref":"#/components/schemas/V1InputId"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetUserSuccess"}}},"description":"GetUserSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError"}}},"description":"V1IdentitySpacesApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError1"}}},"description":"V1IdentitySpacesApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError2"}}},"description":"V1IdentitySpacesApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError4"}}},"description":"V1IdentitySpacesApiError"}},"security":[],"tags":["v1IdentitySpaces"]}},"/v1/{token}/leaveSpace":{"get":{"operationId":"v1IdentitySpaces.getLeaveSpaceWithToken","parameters":[{"in":"path","name":"token","required":true,"schema":{"type":"string"}},{"in":"query","name":"spaceId","required":true,"schema":{"$ref":"#/components/schemas/V1InputId"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LeaveSpaceSuccess"}}},"description":"LeaveSpaceSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError"}}},"description":"V1IdentitySpacesApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError1"}}},"description":"V1IdentitySpacesApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError2"}}},"description":"V1IdentitySpacesApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError4"}}},"description":"V1IdentitySpacesApiError"}},"security":[],"tags":["v1IdentitySpaces"]}},"/v1/{token}/logout":{"get":{"operationId":"auth.getLogoutWithToken","parameters":[{"in":"path","name":"token","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityLogoutSuccess"}}},"description":"IdentityLogoutSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityApiError"}}},"description":"IdentityApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityApiError1"}}},"description":"IdentityApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityApiError3"}}},"description":"IdentityApiError"}},"security":[],"tags":["auth"]}},"/v1/{token}/readMessages":{"get":{"operationId":"v1MessagingProviders.getReadMessagesWithToken","parameters":[{"in":"path","name":"token","required":true,"schema":{"type":"string"}},{"in":"query","name":"peerUserId","required":false,"schema":{"$ref":"#/components/schemas/V1InputId"}},{"in":"query","name":"peerThreadId","required":false,"schema":{"$ref":"#/components/schemas/V1InputId"}},{"in":"query","name":"maxId","required":false,"schema":{"$ref":"#/components/schemas/WireSafeInteger6"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReadMessagesSuccess"}}},"description":"ReadMessagesSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]}},"/v1/{token}/saveLinearTeamId":{"get":{"operationId":"v1MessagingProviders.getSaveLinearTeamIdWithToken","parameters":[{"in":"path","name":"token","required":true,"schema":{"type":"string"}},{"in":"query","name":"spaceId","required":true,"schema":{"type":"string"}},{"in":"query","name":"teamId","required":true,"schema":{"$ref":"#/components/schemas/LinearTeamId"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SaveLinearTeamIdSuccess"}}},"description":"SaveLinearTeamIdSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]}},"/v1/{token}/saveNotionDatabaseId":{"get":{"operationId":"v1MessagingProviders.getSaveNotionDatabaseIdWithToken","parameters":[{"in":"path","name":"token","required":true,"schema":{"type":"string"}},{"in":"query","name":"spaceId","required":true,"schema":{"type":"string"}},{"in":"query","name":"databaseId","required":true,"schema":{"$ref":"#/components/schemas/NotionDatabaseId"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SaveNotionDatabaseIdSuccess"}}},"description":"SaveNotionDatabaseIdSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]}},"/v1/{token}/savePushNotification":{"get":{"operationId":"v1IdentitySpaces.getSavePushNotificationWithToken","parameters":[{"in":"path","name":"token","required":true,"schema":{"type":"string"}},{"in":"query","name":"applePushToken","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesEmptySuccess"}}},"description":"V1IdentitySpacesEmptySuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError"}}},"description":"V1IdentitySpacesApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError1"}}},"description":"V1IdentitySpacesApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError2"}}},"description":"V1IdentitySpacesApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError4"}}},"description":"V1IdentitySpacesApiError"}},"security":[],"tags":["v1IdentitySpaces"]}},"/v1/{token}/searchContacts":{"get":{"operationId":"v1IdentitySpaces.getSearchContactsWithToken","parameters":[{"in":"path","name":"token","required":true,"schema":{"type":"string"}},{"in":"query","name":"q","required":true,"schema":{"type":"string"}},{"in":"query","name":"limit","required":false,"schema":{"$ref":"#/components/schemas/WireSafeInteger2"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchContactsSuccess"}}},"description":"SearchContactsSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError"}}},"description":"V1IdentitySpacesApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError1"}}},"description":"V1IdentitySpacesApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError2"}}},"description":"V1IdentitySpacesApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError4"}}},"description":"V1IdentitySpacesApiError"}},"security":[],"tags":["v1IdentitySpaces"]}},"/v1/{token}/sendComposeAction":{"get":{"operationId":"v1MessagingProviders.getSendComposeActionWithToken","parameters":[{"in":"path","name":"token","required":true,"schema":{"type":"string"}},{"in":"query","name":"action","required":false,"schema":{"enum":["null","typing","uploadingDocument","uploadingPhoto","uploadingVideo","recordingVoice","working"],"type":"string"}},{"in":"query","name":"peerId","required":false,"schema":{"anyOf":[{"enum":["null"],"type":"string"},{"$ref":"#/components/schemas/V1InputPeerInfo"}]}},{"in":"query","name":"peerUserId","required":false,"schema":{"anyOf":[{"enum":["null"],"type":"string"},{"$ref":"#/components/schemas/V1InputId"}]}},{"in":"query","name":"peerThreadId","required":false,"schema":{"anyOf":[{"enum":["null"],"type":"string"},{"$ref":"#/components/schemas/V1InputId"}]}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SendComposeActionSuccess"}}},"description":"SendComposeActionSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]}},"/v1/{token}/sendMessage":{"get":{"operationId":"v1MessagingProviders.getSendMessageWithToken","parameters":[{"in":"path","name":"token","required":true,"schema":{"type":"string"}},{"in":"query","name":"peerId","required":false,"schema":{"anyOf":[{"enum":["null"],"type":"string"},{"$ref":"#/components/schemas/V1InputPeerInfo"}]}},{"in":"query","name":"peerUserId","required":false,"schema":{"anyOf":[{"enum":["null"],"type":"string"},{"$ref":"#/components/schemas/V1InputId"}]}},{"in":"query","name":"peerThreadId","required":false,"schema":{"anyOf":[{"enum":["null"],"type":"string"},{"$ref":"#/components/schemas/V1InputId"}]}},{"in":"query","name":"text","required":false,"schema":{"anyOf":[{"enum":["null"],"type":"string"},{"type":"string"}]}},{"in":"query","name":"replyToMessageId","required":false,"schema":{"anyOf":[{"enum":["null"],"type":"string"},{"$ref":"#/components/schemas/V1InputId"}]}},{"in":"query","name":"randomId","required":false,"schema":{"anyOf":[{"enum":["null"],"type":"string"},{"type":"string"}]}},{"in":"query","name":"fileUniqueId","required":false,"schema":{"anyOf":[{"enum":["null"],"type":"string"},{"type":"string"}]}},{"in":"query","name":"isSticker","required":false,"schema":{"enum":["true","false","null"],"type":"string"}},{"in":"query","name":"parseMarkdown","required":false,"schema":{"enum":["true","false","null"],"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SendMessageSuccess"}}},"description":"SendMessageSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]}},"/v1/{token}/sendMessage20250509":{"get":{"operationId":"v1MessagingProviders.getSendMessage20250509WithToken","parameters":[{"in":"path","name":"token","required":true,"schema":{"type":"string"}},{"in":"query","name":"peerId","required":false,"schema":{"anyOf":[{"enum":["null"],"type":"string"},{"$ref":"#/components/schemas/V1InputPeerInfo"}]}},{"in":"query","name":"peerUserId","required":false,"schema":{"anyOf":[{"enum":["null"],"type":"string"},{"$ref":"#/components/schemas/V1InputId"}]}},{"in":"query","name":"peerThreadId","required":false,"schema":{"anyOf":[{"enum":["null"],"type":"string"},{"$ref":"#/components/schemas/V1InputId"}]}},{"in":"query","name":"text","required":false,"schema":{"anyOf":[{"enum":["null"],"type":"string"},{"type":"string"}]}},{"in":"query","name":"photoId","required":false,"schema":{"anyOf":[{"enum":["null"],"type":"string"},{"$ref":"#/components/schemas/V1InputId"}]}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SendMessage20250509Success"}}},"description":"SendMessage20250509Success"},"400":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/V1MessagingProvidersApiError6"},{"$ref":"#/components/schemas/V1BotCompatApiError"}]}}},"description":"Error"},"401":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/V1MessagingProvidersApiError6"},{"$ref":"#/components/schemas/V1BotCompatApiError"}]}}},"description":"Error"},"403":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/V1MessagingProvidersApiError6"},{"$ref":"#/components/schemas/V1BotCompatApiError"}]}}},"description":"Error"},"404":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/V1MessagingProvidersApiError6"},{"$ref":"#/components/schemas/V1BotCompatApiError"}]}}},"description":"Error"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/V1MessagingProvidersApiError6"},{"$ref":"#/components/schemas/V1BotCompatApiError"}]}}},"description":"Error"}},"security":[],"tags":["v1MessagingProviders"]}},"/v1/{token}/updateDialog":{"get":{"operationId":"v1MessagingProviders.getUpdateDialogWithToken","parameters":[{"in":"path","name":"token","required":true,"schema":{"type":"string"}},{"in":"query","name":"pinned","required":false,"schema":{"enum":["true","false"],"type":"string"}},{"in":"query","name":"peerId","required":false,"schema":{"$ref":"#/components/schemas/V1InputId"}},{"in":"query","name":"peerUserId","required":false,"schema":{"$ref":"#/components/schemas/V1InputId"}},{"in":"query","name":"peerThreadId","required":false,"schema":{"$ref":"#/components/schemas/V1InputId"}},{"in":"query","name":"draft","required":false,"schema":{"type":"string"}},{"in":"query","name":"archived","required":false,"schema":{"enum":["true","false"],"type":"string"}},{"in":"query","name":"order","required":false,"schema":{"allOf":[{"minLength":1},{"maxLength":128},{"pattern":"^[0-9A-Za-z]+$"}],"type":"string"}},{"in":"query","name":"pinnedOrder","required":false,"schema":{"allOf":[{"minLength":1},{"maxLength":128},{"pattern":"^[0-9A-Za-z]+$"}],"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateDialogSuccess"}}},"description":"UpdateDialogSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError"}}},"description":"V1MessagingProvidersApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError1"}}},"description":"V1MessagingProvidersApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError2"}}},"description":"V1MessagingProvidersApiError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError3"}}},"description":"V1MessagingProvidersApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1MessagingProvidersApiError5"}}},"description":"V1MessagingProvidersApiError"}},"security":[],"tags":["v1MessagingProviders"]}},"/v1/{token}/updateProfile":{"get":{"operationId":"v1IdentitySpaces.getUpdateProfileWithToken","parameters":[{"in":"path","name":"token","required":true,"schema":{"type":"string"}},{"in":"query","name":"firstName","required":false,"schema":{"type":"string"}},{"in":"query","name":"lastName","required":false,"schema":{"type":"string"}},{"in":"query","name":"bio","required":false,"schema":{"type":"string"}},{"in":"query","name":"username","required":false,"schema":{"type":"string"}},{"in":"query","name":"timeZone","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateProfileSuccess"}}},"description":"UpdateProfileSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError"}}},"description":"V1IdentitySpacesApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError1"}}},"description":"V1IdentitySpacesApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError2"}}},"description":"V1IdentitySpacesApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError4"}}},"description":"V1IdentitySpacesApiError"}},"security":[],"tags":["v1IdentitySpaces"]}},"/v1/{token}/updateProfilePhoto":{"get":{"operationId":"v1IdentitySpaces.getUpdateProfilePhotoWithToken","parameters":[{"in":"path","name":"token","required":true,"schema":{"type":"string"}},{"in":"query","name":"fileUniqueId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateProfilePhotoSuccess"}}},"description":"UpdateProfilePhotoSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError"}}},"description":"V1IdentitySpacesApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError1"}}},"description":"V1IdentitySpacesApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError2"}}},"description":"V1IdentitySpacesApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError4"}}},"description":"V1IdentitySpacesApiError"}},"security":[],"tags":["v1IdentitySpaces"]}},"/v1/{token}/updateStatus":{"get":{"operationId":"v1IdentitySpaces.getUpdateStatusWithToken","parameters":[{"in":"path","name":"token","required":true,"schema":{"type":"string"}},{"in":"query","name":"online","required":true,"schema":{"enum":["true","false"],"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateStatusSuccess"}}},"description":"UpdateStatusSuccess"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError"}}},"description":"V1IdentitySpacesApiError"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError1"}}},"description":"V1IdentitySpacesApiError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError2"}}},"description":"V1IdentitySpacesApiError"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1IdentitySpacesApiError4"}}},"description":"V1IdentitySpacesApiError"}},"security":[],"tags":["v1IdentitySpaces"]}},"/waitlist/subscribe":{"post":{"operationId":"auxiliary.waitlistSubscribe","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WaitlistSubscription"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WaitlistSubscriptionSuccess"}}},"description":"WaitlistSubscriptionSuccess"},"400":{"content":{"text/plain":{"schema":{"type":"string"}}},"description":"AuxiliaryLegacyBadRequest"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuxiliaryLegacyValidationError"}}},"description":"AuxiliaryLegacyValidationError"},"500":{"content":{"text/plain":{"schema":{"type":"string"}}},"description":"AuxiliaryInternalServerError"}},"security":[],"tags":["auxiliary"]}},"/waitlist/super_secret_sub_count":{"get":{"operationId":"auxiliary.waitlistSubscriberCount","parameters":[],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WireNonNegativeInteger"}}},"description":"A non-negative integer that can be represented exactly by a JavaScript number"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}},"500":{"content":{"text/plain":{"schema":{"type":"string"}}},"description":"AuxiliaryInternalServerError"}},"security":[],"tags":["auxiliary"]}},"/waitlist/verify":{"post":{"operationId":"auxiliary.waitlistVerify","parameters":[],"responses":{"200":{"content":{"text/plain":{"schema":{"type":"string"}}},"description":"WaitlistVerification"},"420":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"description":{"const":"Too many requests. Please wait a bit before retrying."},"error":{"const":"FLOOD"},"errorCode":{"const":420},"ok":{"const":false}},"required":["ok","error","errorCode","description"],"type":"object"}}},"description":"The global request quota was exceeded.","headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window.","schema":{"minimum":1,"type":"integer"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"minimum":0,"type":"integer"}},"RateLimit-Reset":{"description":"Whole seconds until the current window resets.","schema":{"minimum":0,"type":"integer"}},"Retry-After":{"description":"Whole seconds to wait before retrying.","required":true,"schema":{"minimum":0,"type":"integer"}}}}},"security":[],"tags":["auxiliary"]}}},"security":[],"servers":[{"description":"Production API server","url":"https://api.inline.chat"}],"tags":[{"name":"auth"},{"name":"v1IdentitySpaces"},{"name":"v1MessagingProviders"},{"name":"auxiliary"},{"name":"admin"}]} diff --git a/server/src/controllers/auxiliary.effect.test.ts b/server/src/controllers/auxiliary.effect.test.ts index 95972bc93..b890a5f7e 100644 --- a/server/src/controllers/auxiliary.effect.test.ts +++ b/server/src/controllers/auxiliary.effect.test.ts @@ -121,6 +121,7 @@ const healthy = (): HealthHttpResponse => ({ ok: true, status: "ok", timestamp: 1_784_320_000, + revision: "0123456789abcdef0123456789abcdef01234567", draining: false, checks: { database: { @@ -753,6 +754,7 @@ describe("AuxiliaryRouteGroup", () => { ok: false, status: "degraded", timestamp: 1_784_320_001, + revision: "0123456789abcdef0123456789abcdef01234567", draining: true, checks: { database: { diff --git a/server/src/controllers/health.effect.ts b/server/src/controllers/health.effect.ts index 6cc9b2333..72eb54d13 100644 --- a/server/src/controllers/health.effect.ts +++ b/server/src/controllers/health.effect.ts @@ -77,6 +77,7 @@ export const HealthHttpResponseSchema = Schema.Struct({ ok: Schema.Boolean, status: Schema.Literals(["ok", "degraded"]), timestamp: UnixSeconds, + revision: Schema.String, draining: Schema.Boolean, checks: Schema.Struct({ database: DatabaseHealth, diff --git a/server/src/controllers/healthCheck.test.ts b/server/src/controllers/healthCheck.test.ts index 9e5cdf325..c522fced6 100644 --- a/server/src/controllers/healthCheck.test.ts +++ b/server/src/controllers/healthCheck.test.ts @@ -1,4 +1,5 @@ import { describe, expect, it } from "bun:test" +import { gitCommitSha } from "@in/server/buildEnv" import { InlineProtocolClock } from "@in/server/modules/inlineProtocol/clockHealth" import { combineHealthProbes } from "@in/server/db/connectionPolicy" import { makeHealthChecker, runHealthChecks, withLifecycleCheck } from "./healthCheck" @@ -238,11 +239,14 @@ describe("shared readiness database probe", () => { checkBroker: () => brokerReady, }) const lifecycle = { getShutdownState: () => ({ shuttingDown, signal: "SIGTERM" as const, startedAtMs: wall }) } - expect(withLifecycleCheck(await check(), lifecycle).ok).toBe(true) + const ready = withLifecycleCheck(await check(), lifecycle) + expect(ready.ok).toBe(true) + // Monitors compare origins by the serving build's source commit. + expect(ready.revision).toBe(gitCommitSha) brokerReady = false shuttingDown = true const draining = withLifecycleCheck(await check(), lifecycle) - expect(draining).toMatchObject({ draining: true, ok: false, checks: { database: { ok: true }, broker: { ok: false } } }) + expect(draining).toMatchObject({ draining: true, ok: false, revision: gitCommitSha, checks: { database: { ok: true }, broker: { ok: false } } }) shuttingDown = false monotonic = 500 wall += 21_000 diff --git a/server/src/controllers/healthCheck.ts b/server/src/controllers/healthCheck.ts index 541f1cfb7..54e28cd32 100644 --- a/server/src/controllers/healthCheck.ts +++ b/server/src/controllers/healthCheck.ts @@ -1,3 +1,4 @@ +import { gitCommitSha } from "@in/server/buildEnv" import { checkDatabaseHealth, } from "@in/server/db" @@ -51,6 +52,8 @@ export interface HealthResponse { } export interface HealthHttpResponse extends HealthResponse { + /** Source commit of the serving build, so monitors can detect origin version drift. */ + readonly revision: string readonly draining: boolean readonly checks: HealthResponse["checks"] & { readonly lifecycle: { @@ -299,6 +302,7 @@ export const withLifecycleCheck = ( if (liveness.ok) { return { ...result, + revision: gitCommitSha, draining: false, checks: { ...result.checks, @@ -309,6 +313,7 @@ export const withLifecycleCheck = ( return { ...result, + revision: gitCommitSha, ok: false, status: "degraded", draining: true,