{"openapi":"3.1.0","info":{"title":"KAI Auth API","version":"1.0.0","description":"Effect HttpApi contract for authentication, organizations, projects and OIDC applications."},"paths":{"/api/platform/analytics/overview":{"get":{"tags":["analytics"],"operationId":"analytics.platformOverview","parameters":[{"name":"period","in":"query","schema":{"$ref":"#/components/schemas/AnalyticsPeriod"},"required":true}],"security":[],"responses":{"200":{"description":"PlatformAnalyticsOverview","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlatformAnalyticsOverview"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"500":{"description":"InternalServerError"}}}},"/api/organizations/{organizationId}/analytics/overview":{"get":{"tags":["analytics"],"operationId":"analytics.organizationOverview","parameters":[{"name":"organizationId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true},{"name":"period","in":"query","schema":{"$ref":"#/components/schemas/AnalyticsPeriod"},"required":true}],"security":[],"responses":{"200":{"description":"OrganizationAnalyticsOverview","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationAnalyticsOverview"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_2"}}}},"500":{"description":"InternalServerError"}}}},"/health/live":{"get":{"tags":["health"],"operationId":"live","parameters":[],"security":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string","enum":["ok"]}},"required":["status"],"additionalProperties":false}}}}}}},"/health/ready":{"get":{"tags":["health"],"operationId":"ready","parameters":[],"security":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string","enum":["ready"]}},"required":["status"],"additionalProperties":false}}}},"500":{"description":"InternalServerError"}}}},"/api/me":{"get":{"tags":["account"],"operationId":"account.me","parameters":[],"security":[],"responses":{"200":{"description":"Me","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Me"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"InternalServerError"}}}},"/api/account/organizations/{organizationId}/leave":{"post":{"tags":["account"],"operationId":"account.leaveOrganization","parameters":[{"name":"organizationId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true}],"security":[],"responses":{"204":{"description":"<No Content>"},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_2"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_3"}}}},"500":{"description":"InternalServerError"}}}},"/api/account/activity":{"get":{"tags":["account"],"operationId":"account.activity","parameters":[{"name":"cursor","in":"query","schema":{"anyOf":[{"$ref":"#/components/schemas/SecurityActivityCursor"},{"type":"null"}]},"required":false},{"name":"limit","in":"query","schema":{"anyOf":[{"$ref":"#/components/schemas/SecurityActivityLimitEncoded"},{"type":"null"}]},"required":false}],"security":[],"responses":{"200":{"description":"SecurityActivityPage","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SecurityActivityPage"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"InternalServerError"}}}},"/api/account/authorizations":{"get":{"tags":["account"],"operationId":"account.authorizations","parameters":[],"security":[],"responses":{"200":{"description":"CurrentAuthorizationList","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CurrentAuthorizationList"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"InternalServerError"}}}},"/api/account/authorizations/{consentId}":{"delete":{"tags":["account"],"operationId":"account.revokeAuthorization","parameters":[{"name":"consentId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true}],"security":[],"responses":{"204":{"description":"<No Content>"},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_2"}}}},"500":{"description":"InternalServerError"}}}},"/api/account/authorizations/{consentId}/auto-login/disable":{"post":{"tags":["account"],"operationId":"account.disableAuthorizationAutoLogin","parameters":[{"name":"consentId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true}],"security":[],"responses":{"200":{"description":"AuthorizationAutoLoginDisabled","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthorizationAutoLoginDisabled"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_2"}}}},"500":{"description":"InternalServerError"}}}},"/api/account/two-step":{"get":{"tags":["account"],"operationId":"account.twoStepStatus","parameters":[],"security":[],"responses":{"200":{"description":"TwoStepStatus","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TwoStepStatus"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"InternalServerError"}}}},"/api/account/two-step/policy":{"put":{"tags":["account"],"operationId":"account.setTwoStepPolicy","parameters":[],"security":[],"responses":{"200":{"description":"FactorMutationResult","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FactorMutationResult"}}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_4"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_2"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_3"}}}},"500":{"description":"InternalServerError"}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TwoStepPolicyInput"}}},"required":true}}},"/api/account/two-step/totp":{"post":{"tags":["account"],"operationId":"account.startTotpEnrollment","parameters":[],"security":[],"responses":{"200":{"description":"TotpEnrollment","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TotpEnrollment"}}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_4"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_2"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_3"}}}},"500":{"description":"InternalServerError"}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FactorEnrollmentInput"}}},"required":true}},"delete":{"tags":["account"],"operationId":"account.deleteTotp","parameters":[],"security":[],"responses":{"200":{"description":"FactorMutationResult","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FactorMutationResult"}}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_4"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_2"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_3"}}}},"500":{"description":"InternalServerError"}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FactorMutationInput"}}},"required":true}}},"/api/account/two-step/totp/confirmation":{"post":{"tags":["account"],"operationId":"account.confirmTotpEnrollment","parameters":[],"security":[],"responses":{"200":{"description":"TotpConfirmation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TotpConfirmation"}}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_4"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_2"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_3"}}}},"500":{"description":"InternalServerError"}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TotpConfirmationInput"}}},"required":true}}},"/api/account/two-step/recovery-codes":{"post":{"tags":["account"],"operationId":"account.regenerateRecoveryCodes","parameters":[],"security":[],"responses":{"200":{"description":"RecoveryCodeRegeneration","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecoveryCodeRegeneration"}}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_4"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_2"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_3"}}}},"500":{"description":"InternalServerError"}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FactorMutationInput"}}},"required":true}}},"/api/account/two-step/password":{"post":{"tags":["account"],"operationId":"account.setInitialPassword","parameters":[],"security":[],"responses":{"200":{"description":"FactorMutationResult","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FactorMutationResult"}}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_4"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_2"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_3"}}}},"500":{"description":"InternalServerError"}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InitialPasswordInput"}}},"required":true}}},"/api/account/two-step/passkeys/options":{"post":{"tags":["account"],"operationId":"account.passkeyEnrollmentOptions","parameters":[],"security":[],"responses":{"200":{"description":"PasskeyRegistrationOptions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PasskeyRegistrationOptions"}}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_4"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_2"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_3"}}}},"500":{"description":"InternalServerError"}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FactorEnrollmentInput"}}},"required":true}}},"/api/account/two-step/passkeys":{"post":{"tags":["account"],"operationId":"account.registerPasskey","parameters":[],"security":[],"responses":{"200":{"description":"FactorMutationResult","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FactorMutationResult"}}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_4"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_2"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_3"}}}},"500":{"description":"InternalServerError"}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PasskeyRegistrationInput"}}},"required":true}}},"/api/account/two-step/passkeys/{passkeyId}":{"delete":{"tags":["account"],"operationId":"account.deleteTwoStepPasskey","parameters":[{"name":"passkeyId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true}],"security":[],"responses":{"200":{"description":"FactorMutationResult","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FactorMutationResult"}}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_4"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_2"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_3"}}}},"500":{"description":"InternalServerError"}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FactorMutationInput"}}},"required":true}}},"/api/authenticator/v1/me":{"get":{"tags":["authenticator"],"operationId":"authenticator.me","parameters":[],"security":[],"responses":{"200":{"description":"AuthenticatorMe","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthenticatorMe"}}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_4"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_2"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_3"}}}},"500":{"description":"InternalServerError"}}}},"/api/authenticator/v1/enrollments":{"post":{"tags":["authenticator"],"operationId":"authenticator.beginEnrollment","parameters":[],"security":[],"responses":{"200":{"description":"AuthenticatorEnrollment","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthenticatorEnrollment"}}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_4"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_2"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_3"}}}},"500":{"description":"InternalServerError"}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BeginAuthenticatorEnrollment"}}},"required":true}}},"/api/authenticator/v1/enrollments/{id}/complete":{"post":{"tags":["authenticator"],"operationId":"authenticator.completeEnrollment","parameters":[{"name":"id","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true}],"security":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"device":{"$ref":"#/components/schemas/AuthenticatorDevice"},"reauthenticationRequired":{"type":"boolean","enum":[true]}},"required":["device","reauthenticationRequired"],"additionalProperties":false}}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_4"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_2"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_3"}}}},"500":{"description":"InternalServerError"}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthenticatorSignature"}}},"required":true}}},"/api/authenticator/v1/devices/{deviceId}/requests":{"get":{"tags":["authenticator"],"operationId":"authenticator.requests","parameters":[{"name":"deviceId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true}],"security":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"requests":{"type":"array","items":{"$ref":"#/components/schemas/AuthenticatorRequest"}}},"required":["requests"],"additionalProperties":false}}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_4"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_2"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_3"}}}},"500":{"description":"InternalServerError"}}}},"/api/authenticator/v1/devices/{deviceId}/scan/start":{"post":{"tags":["authenticator"],"operationId":"authenticator.beginScan","parameters":[{"name":"deviceId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true}],"security":[],"responses":{"200":{"description":"AuthenticatorScanSession","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthenticatorScanSession"}}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_4"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_2"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_3"}}}},"500":{"description":"InternalServerError"}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BeginAuthenticatorScan"}}},"required":true}}},"/api/authenticator/v1/devices/{deviceId}/scan":{"post":{"tags":["authenticator"],"operationId":"authenticator.scan","parameters":[{"name":"deviceId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true}],"security":[],"responses":{"200":{"description":"AuthenticatorRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthenticatorRequest"}}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_4"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_2"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_3"}}}},"500":{"description":"InternalServerError"}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthenticatorScan"}}},"required":true}}},"/api/authenticator/v1/devices/{deviceId}/requests/{requestId}/decision":{"post":{"tags":["authenticator"],"operationId":"authenticator.decide","parameters":[{"name":"deviceId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true},{"name":"requestId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true}],"security":[],"responses":{"200":{"description":"AuthenticatorDecisionResult","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthenticatorDecisionResult"}}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_4"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_2"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_3"}}}},"500":{"description":"InternalServerError"}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthenticatorDecision"}}},"required":true}}},"/api/account/authenticator/devices":{"get":{"tags":["authenticatorEnrollment"],"operationId":"authenticatorEnrollment.listDevices","parameters":[],"security":[],"responses":{"200":{"description":"AuthenticatorDeviceList","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthenticatorDeviceList"}}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_4"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_2"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_3"}}}},"500":{"description":"InternalServerError"}}}},"/api/account/authenticator/devices/{id}/revoke":{"post":{"tags":["authenticatorEnrollment"],"operationId":"authenticatorEnrollment.revokeDevice","parameters":[{"name":"id","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true}],"security":[],"responses":{"200":{"description":"RevokeAuthenticatorDeviceResult","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RevokeAuthenticatorDeviceResult"}}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_4"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_2"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_3"}}}},"500":{"description":"InternalServerError"}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RevokeAuthenticatorDevice"}}},"required":true}}},"/api/account/authenticator/enrollments/{id}":{"get":{"tags":["authenticatorEnrollment"],"operationId":"authenticatorEnrollment.review","parameters":[{"name":"id","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true}],"security":[],"responses":{"200":{"description":"AuthenticatorEnrollmentReview","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthenticatorEnrollmentReview"}}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_4"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_2"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_3"}}}},"500":{"description":"InternalServerError"}}}},"/api/account/authenticator/enrollments/{id}/authorize":{"post":{"tags":["authenticatorEnrollment"],"operationId":"authenticatorEnrollment.authorize","parameters":[{"name":"id","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true}],"security":[],"responses":{"200":{"description":"AuthenticatorEnrollmentReview","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthenticatorEnrollmentReview"}}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_4"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_2"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_3"}}}},"500":{"description":"InternalServerError"}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthorizeAuthenticatorEnrollment"}}},"required":true}}},"/api/account/personal/profile":{"get":{"tags":["personalAccount"],"operationId":"personalAccount.getPersonalProfile","parameters":[],"security":[],"responses":{"200":{"description":"PersonalAccountProfile","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PersonalAccountProfile"}}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_4"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_2"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_3"}}}},"500":{"description":"InternalServerError"}}}},"/api/account/personal":{"get":{"tags":["personalAccount"],"operationId":"personalAccount.overview","parameters":[],"security":[],"responses":{"200":{"description":"PersonalAccountOverview","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PersonalAccountOverview"}}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_4"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_2"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_3"}}}},"500":{"description":"InternalServerError"}}}},"/api/account/sessions":{"get":{"tags":["personalAccount"],"operationId":"personalAccount.sessions","parameters":[],"security":[],"responses":{"200":{"description":"AccountSessionList","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountSessionList"}}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_4"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_2"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_3"}}}},"500":{"description":"InternalServerError"}}}},"/api/account/sessions/{sessionId}/revoke":{"post":{"tags":["personalAccount"],"operationId":"personalAccount.revokeSession","parameters":[{"name":"sessionId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true}],"security":[],"responses":{"200":{"description":"SessionRevocation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionRevocation"}}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_4"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_2"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_3"}}}},"500":{"description":"InternalServerError"}}}},"/api/account/sessions/revoke-others":{"post":{"tags":["personalAccount"],"operationId":"personalAccount.revokeOtherSessions","parameters":[],"security":[],"responses":{"200":{"description":"SessionRevocation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionRevocation"}}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_4"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_2"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_3"}}}},"500":{"description":"InternalServerError"}}}},"/api/account/session-verification/complete":{"post":{"tags":["personalAccount"],"operationId":"personalAccount.completeSessionVerification","parameters":[],"security":[],"responses":{"200":{"description":"SessionVerificationComplete","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionVerificationComplete"}}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_4"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_2"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_3"}}}},"500":{"description":"InternalServerError"}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompleteSessionVerification"}}},"required":true}}},"/api/account/step-up":{"post":{"tags":["personalAccount"],"operationId":"personalAccount.startStepUp","parameters":[],"security":[],"responses":{"200":{"description":"PersonalStepUpTransaction","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PersonalStepUpTransaction"}}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_4"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_2"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_3"}}}},"500":{"description":"InternalServerError"}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StartPersonalStepUp"}}},"required":true}}},"/api/account/step-up/{transactionId}/verify":{"post":{"tags":["personalAccount"],"operationId":"personalAccount.submitStepUp","parameters":[{"name":"transactionId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true}],"security":[],"responses":{"200":{"description":"PersonalStepUpTransaction","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PersonalStepUpTransaction"}}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_4"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_2"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_3"}}}},"500":{"description":"InternalServerError"}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubmitPersonalStepUp"}}},"required":true}}},"/api/account/step-up/{transactionId}/otp":{"post":{"tags":["personalAccount"],"operationId":"personalAccount.requestStepUpOtp","parameters":[{"name":"transactionId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true}],"security":[],"responses":{"200":{"description":"PersonalStepUpTransaction","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PersonalStepUpTransaction"}}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_4"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_2"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_3"}}}},"500":{"description":"InternalServerError"}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RequestPersonalStepUpOtp"}}},"required":true}}},"/api/account/step-up/{transactionId}/otp/verify":{"post":{"tags":["personalAccount"],"operationId":"personalAccount.verifyStepUpOtp","parameters":[{"name":"transactionId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true}],"security":[],"responses":{"200":{"description":"PersonalStepUpTransaction","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PersonalStepUpTransaction"}}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_4"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_2"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_3"}}}},"500":{"description":"InternalServerError"}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VerifyPersonalStepUpOtp"}}},"required":true}}},"/api/account/step-up/{transactionId}/passkey/options":{"post":{"tags":["personalAccount"],"operationId":"personalAccount.stepUpPasskeyOptions","parameters":[{"name":"transactionId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true}],"security":[],"responses":{"200":{"description":"PersonalPasskeyOptions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PersonalPasskeyOptions"}}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_4"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_2"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_3"}}}},"500":{"description":"InternalServerError"}}}},"/api/account/step-up/{transactionId}/passkey/verify":{"post":{"tags":["personalAccount"],"operationId":"personalAccount.submitStepUpPasskey","parameters":[{"name":"transactionId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true}],"security":[],"responses":{"200":{"description":"PersonalStepUpTransaction","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PersonalStepUpTransaction"}}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_4"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_2"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_3"}}}},"500":{"description":"InternalServerError"}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubmitPersonalStepUpPasskey"}}},"required":true}}},"/api/account/step-up/{transactionId}/cancel":{"post":{"tags":["personalAccount"],"operationId":"personalAccount.cancelStepUp","parameters":[{"name":"transactionId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true}],"security":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Objects_2"}}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_4"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_2"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_3"}}}},"500":{"description":"InternalServerError"}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CancelPersonalStepUp"}}},"required":true}}},"/api/account/password":{"post":{"tags":["personalAccount"],"operationId":"personalAccount.changePassword","parameters":[],"security":[],"responses":{"200":{"description":"PersonalAccountOverview","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PersonalAccountOverview"}}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_4"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_2"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_3"}}}},"500":{"description":"InternalServerError"}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChangePersonalPassword"}}},"required":true}}},"/api/account/email-change/otp":{"post":{"tags":["personalAccount"],"operationId":"personalAccount.requestEmailChange","parameters":[],"security":[],"responses":{"200":{"description":"EmailChangeChallenge","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmailChangeChallenge"}}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_4"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_2"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_3"}}}},"500":{"description":"InternalServerError"}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RequestEmailChange"}}},"required":true}}},"/api/account/email-change/{changeId}/resend":{"post":{"tags":["personalAccount"],"operationId":"personalAccount.resendEmailChange","parameters":[{"name":"changeId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true}],"security":[],"responses":{"200":{"description":"EmailChangeChallenge","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmailChangeChallenge"}}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_4"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_2"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_3"}}}},"500":{"description":"InternalServerError"}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResendEmailChange"}}},"required":true}}},"/api/account/email-change/{changeId}/confirm":{"post":{"tags":["personalAccount"],"operationId":"personalAccount.confirmEmailChange","parameters":[{"name":"changeId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true}],"security":[],"responses":{"200":{"description":"EmailChangeResult","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmailChangeResult"}}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_4"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_2"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_3"}}}},"500":{"description":"InternalServerError"}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfirmEmailChange"}}},"required":true}}},"/api/account/email-change/{changeId}/cancel":{"post":{"tags":["personalAccount"],"operationId":"personalAccount.cancelEmailChange","parameters":[{"name":"changeId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true}],"security":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Objects_2"}}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_4"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_2"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_3"}}}},"500":{"description":"InternalServerError"}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CancelEmailChange"}}},"required":true}}},"/api/account/phone-change/otp":{"post":{"tags":["personalAccount"],"operationId":"personalAccount.requestPhoneChange","parameters":[],"security":[],"responses":{"200":{"description":"PhoneChangeChallenge","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PhoneChangeChallenge"}}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_4"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_2"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_3"}}}},"500":{"description":"InternalServerError"}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RequestPhoneChange"}}},"required":true}}},"/api/account/phone-change/{changeId}/resend":{"post":{"tags":["personalAccount"],"operationId":"personalAccount.resendPhoneChange","parameters":[{"name":"changeId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true}],"security":[],"responses":{"200":{"description":"PhoneChangeChallenge","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PhoneChangeChallenge"}}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_4"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_2"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_3"}}}},"500":{"description":"InternalServerError"}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResendPhoneChange"}}},"required":true}}},"/api/account/phone-change/{changeId}/confirm":{"post":{"tags":["personalAccount"],"operationId":"personalAccount.confirmPhoneChange","parameters":[{"name":"changeId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true}],"security":[],"responses":{"200":{"description":"PhoneChangeResult","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PhoneChangeResult"}}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_4"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_2"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_3"}}}},"500":{"description":"InternalServerError"}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfirmPhoneChange"}}},"required":true}}},"/api/account/phone-change/{changeId}/cancel":{"post":{"tags":["personalAccount"],"operationId":"personalAccount.cancelPhoneChange","parameters":[{"name":"changeId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true}],"security":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Objects_2"}}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_4"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_2"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_3"}}}},"500":{"description":"InternalServerError"}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CancelPhoneChange"}}},"required":true}}},"/api/organizations":{"post":{"tags":["organizations"],"operationId":"organizations.create","parameters":[],"security":[],"responses":{"201":{"description":"OrganizationView","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationView"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"500":{"description":"InternalServerError"}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateOrganization"}}},"required":true}}},"/api/organizations/{organizationId}":{"get":{"tags":["organizations"],"operationId":"organizations.get","parameters":[{"name":"organizationId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true}],"security":[],"responses":{"200":{"description":"OrganizationView","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationView_1"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_2"}}}},"500":{"description":"InternalServerError"}}},"patch":{"tags":["organizations"],"operationId":"organizations.update","parameters":[{"name":"organizationId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true}],"security":[],"responses":{"200":{"description":"OrganizationView","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationView_1"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_2"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_3"}}}},"500":{"description":"InternalServerError"}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateOrganization"}}},"required":true}},"delete":{"tags":["organizations"],"operationId":"organizations.remove","parameters":[{"name":"organizationId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true}],"security":[],"responses":{"204":{"description":"<No Content>"},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_2"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_3"}}}},"500":{"description":"InternalServerError"}}}},"/api/organizations/{organizationId}/security-policy":{"get":{"tags":["organizationSecurity"],"operationId":"organizationSecurity.getPolicy","parameters":[{"name":"organizationId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true}],"security":[],"responses":{"200":{"description":"OrganizationSecurityPolicyView","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationSecurityPolicyView"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_2"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_3"}}}},"500":{"description":"InternalServerError"}}},"patch":{"tags":["organizationSecurity"],"operationId":"organizationSecurity.updatePolicy","parameters":[{"name":"organizationId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true}],"security":[],"responses":{"200":{"description":"OrganizationSecurityPolicyView","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationSecurityPolicyView"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_2"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_3"}}}},"500":{"description":"InternalServerError"}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateOrganizationSecurityPolicy"}}},"required":true}}},"/api/organizations/{organizationId}/members":{"get":{"tags":["members"],"operationId":"members.list","parameters":[{"name":"organizationId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true}],"security":[],"responses":{"200":{"description":"MemberViewList","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MemberViewList"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_2"}}}},"500":{"description":"InternalServerError"}}}},"/api/organizations/{organizationId}/members/{memberId}":{"patch":{"tags":["members"],"operationId":"members.changeRole","parameters":[{"name":"organizationId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true},{"name":"memberId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true}],"security":[],"responses":{"200":{"description":"Membership","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Membership"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_2"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_3"}}}},"500":{"description":"InternalServerError"}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChangeMemberRole"}}},"required":true}},"delete":{"tags":["members"],"operationId":"members.remove","parameters":[{"name":"organizationId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true},{"name":"memberId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true}],"security":[],"responses":{"204":{"description":"<No Content>"},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_2"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_3"}}}},"500":{"description":"InternalServerError"}}}},"/api/organizations/{organizationId}/members/{memberId}/analytics-access":{"patch":{"tags":["members"],"operationId":"members.updateAnalyticsAccess","parameters":[{"name":"organizationId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true},{"name":"memberId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true}],"security":[],"responses":{"200":{"description":"Membership","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Membership"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_2"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_3"}}}},"500":{"description":"InternalServerError"}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateMemberAnalyticsAccess"}}},"required":true}}},"/api/me/invitations":{"get":{"tags":["invitations"],"operationId":"invitations.received","parameters":[],"security":[],"responses":{"200":{"description":"ReceivedInvitationList","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReceivedInvitationList"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"InternalServerError"}}}},"/api/organizations/{organizationId}/invitations":{"get":{"tags":["invitations"],"operationId":"invitations.list","parameters":[{"name":"organizationId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true}],"security":[],"responses":{"200":{"description":"InvitationViewList","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvitationViewList"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_2"}}}},"500":{"description":"InternalServerError"}}},"post":{"tags":["invitations"],"operationId":"invitations.create","parameters":[{"name":"organizationId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true}],"security":[],"responses":{"201":{"description":"InvitationView","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvitationView_1"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_2"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_3"}}}},"500":{"description":"InternalServerError"}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateInvitation"}}},"required":true}}},"/api/organizations/{organizationId}/invitations/{invitationId}/revoke":{"post":{"tags":["invitations"],"operationId":"invitations.revoke","parameters":[{"name":"organizationId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true},{"name":"invitationId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true}],"security":[],"responses":{"200":{"description":"InvitationView","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvitationView"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_2"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_3"}}}},"500":{"description":"InternalServerError"}}}},"/api/organizations/{organizationId}/invitations/resolve":{"post":{"tags":["invitations"],"operationId":"invitations.resolve","parameters":[{"name":"organizationId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true}],"security":[],"responses":{"200":{"description":"InvitationCodeRecipient","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvitationCodeRecipient"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_2"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_3"}}}},"500":{"description":"InternalServerError"}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResolveInvitationCode"}}},"required":true}}},"/api/invitations/{code}":{"get":{"tags":["invitations"],"operationId":"invitations.preview","parameters":[{"name":"code","in":"path","schema":{"type":"string"},"required":true}],"security":[],"responses":{"200":{"description":"InvitationPreview","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvitationPreview"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_2"}}}},"500":{"description":"InternalServerError"}}}},"/api/invitations/{code}/accept":{"post":{"tags":["invitations"],"operationId":"invitations.accept","parameters":[{"name":"code","in":"path","schema":{"type":"string"},"required":true}],"security":[],"responses":{"200":{"description":"Membership","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Membership"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_2"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_3"}}}},"500":{"description":"InternalServerError"}}}},"/api/me/invitation-code":{"get":{"tags":["personalInvitationCodes"],"operationId":"personalInvitationCodes.status","parameters":[],"security":[],"responses":{"200":{"description":"PersonalInvitationCodeStatus","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PersonalInvitationCodeStatus"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_3"}}}},"500":{"description":"InternalServerError"}}},"post":{"tags":["personalInvitationCodes"],"operationId":"personalInvitationCodes.generate","parameters":[],"security":[],"responses":{"201":{"description":"CreatePersonalInvitationCodeResult","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreatePersonalInvitationCodeResult"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_3"}}}},"500":{"description":"InternalServerError"}}},"delete":{"tags":["personalInvitationCodes"],"operationId":"personalInvitationCodes.revoke","parameters":[],"security":[],"responses":{"204":{"description":"<No Content>"},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_3"}}}},"500":{"description":"InternalServerError"}}}},"/api/platform/audit":{"get":{"tags":["managementAudit"],"operationId":"managementAudit.searchPlatformAudit","parameters":[{"name":"action","in":"query","schema":{"$ref":"#/components/schemas/OptionalManagementAuditAction"},"required":false},{"name":"outcome","in":"query","schema":{"$ref":"#/components/schemas/OptionalManagementAuditOutcome"},"required":false},{"name":"actorUserId","in":"query","schema":{"$ref":"#/components/schemas/OptionalUuid"},"required":false},{"name":"targetId","in":"query","schema":{"$ref":"#/components/schemas/OptionalUuid"},"required":false},{"name":"projectId","in":"query","schema":{"$ref":"#/components/schemas/OptionalUuid"},"required":false},{"name":"occurredFrom","in":"query","schema":{"$ref":"#/components/schemas/Union_"},"required":false},{"name":"occurredTo","in":"query","schema":{"$ref":"#/components/schemas/Union_"},"required":false},{"name":"scopeType","in":"query","schema":{"anyOf":[{"$ref":"#/components/schemas/ManagementAuditScopeType"},{"type":"null"}]},"required":false},{"name":"scopeId","in":"query","schema":{"$ref":"#/components/schemas/OptionalUuid"},"required":false},{"name":"organizationId","in":"query","schema":{"$ref":"#/components/schemas/OptionalUuid"},"required":false},{"name":"cursor","in":"query","schema":{"anyOf":[{"$ref":"#/components/schemas/ManagementAuditCursor"},{"type":"null"}]},"required":false},{"name":"limit","in":"query","schema":{"anyOf":[{"$ref":"#/components/schemas/ManagementAuditLimitEncoded"},{"type":"null"}]},"required":false}],"security":[],"responses":{"200":{"description":"ManagementAuditPage","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ManagementAuditPageEncoded"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"500":{"description":"InternalServerError"}}}},"/api/platform/audit/export":{"get":{"tags":["managementAudit"],"operationId":"managementAudit.exportPlatformAudit","parameters":[{"name":"action","in":"query","schema":{"$ref":"#/components/schemas/OptionalManagementAuditAction"},"required":false},{"name":"outcome","in":"query","schema":{"$ref":"#/components/schemas/OptionalManagementAuditOutcome"},"required":false},{"name":"actorUserId","in":"query","schema":{"$ref":"#/components/schemas/OptionalUuid"},"required":false},{"name":"targetId","in":"query","schema":{"$ref":"#/components/schemas/OptionalUuid"},"required":false},{"name":"projectId","in":"query","schema":{"$ref":"#/components/schemas/OptionalUuid"},"required":false},{"name":"occurredFrom","in":"query","schema":{"$ref":"#/components/schemas/Union_"},"required":false},{"name":"occurredTo","in":"query","schema":{"$ref":"#/components/schemas/Union_"},"required":false},{"name":"scopeType","in":"query","schema":{"anyOf":[{"$ref":"#/components/schemas/ManagementAuditScopeType"},{"type":"null"}]},"required":false},{"name":"scopeId","in":"query","schema":{"$ref":"#/components/schemas/OptionalUuid"},"required":false},{"name":"organizationId","in":"query","schema":{"$ref":"#/components/schemas/OptionalUuid"},"required":false},{"name":"format","in":"query","schema":{"$ref":"#/components/schemas/ManagementAuditExportFormat"},"required":true}],"security":[],"responses":{"200":{"description":"Success","content":{"application/x-ndjson":{"schema":{"type":"string"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"500":{"description":"InternalServerError"}}}},"/api/organizations/{organizationId}/audit":{"get":{"tags":["managementAudit"],"operationId":"managementAudit.searchOrganizationAudit","parameters":[{"name":"organizationId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true},{"name":"action","in":"query","schema":{"$ref":"#/components/schemas/OptionalManagementAuditAction"},"required":false},{"name":"outcome","in":"query","schema":{"$ref":"#/components/schemas/OptionalManagementAuditOutcome"},"required":false},{"name":"actorUserId","in":"query","schema":{"$ref":"#/components/schemas/OptionalUuid"},"required":false},{"name":"targetId","in":"query","schema":{"$ref":"#/components/schemas/OptionalUuid"},"required":false},{"name":"projectId","in":"query","schema":{"$ref":"#/components/schemas/OptionalUuid"},"required":false},{"name":"occurredFrom","in":"query","schema":{"$ref":"#/components/schemas/Union_"},"required":false},{"name":"occurredTo","in":"query","schema":{"$ref":"#/components/schemas/Union_"},"required":false},{"name":"cursor","in":"query","schema":{"anyOf":[{"$ref":"#/components/schemas/ManagementAuditCursor"},{"type":"null"}]},"required":false},{"name":"limit","in":"query","schema":{"anyOf":[{"$ref":"#/components/schemas/ManagementAuditLimitEncoded"},{"type":"null"}]},"required":false}],"security":[],"responses":{"200":{"description":"ManagementAuditPage","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ManagementAuditPageEncoded"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_2"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_3"}}}},"500":{"description":"InternalServerError"}}}},"/api/organizations/{organizationId}/audit/export":{"get":{"tags":["managementAudit"],"operationId":"managementAudit.exportOrganizationAudit","parameters":[{"name":"organizationId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true},{"name":"action","in":"query","schema":{"$ref":"#/components/schemas/OptionalManagementAuditAction"},"required":false},{"name":"outcome","in":"query","schema":{"$ref":"#/components/schemas/OptionalManagementAuditOutcome"},"required":false},{"name":"actorUserId","in":"query","schema":{"$ref":"#/components/schemas/OptionalUuid"},"required":false},{"name":"targetId","in":"query","schema":{"$ref":"#/components/schemas/OptionalUuid"},"required":false},{"name":"projectId","in":"query","schema":{"$ref":"#/components/schemas/OptionalUuid"},"required":false},{"name":"occurredFrom","in":"query","schema":{"$ref":"#/components/schemas/Union_"},"required":false},{"name":"occurredTo","in":"query","schema":{"$ref":"#/components/schemas/Union_"},"required":false},{"name":"format","in":"query","schema":{"$ref":"#/components/schemas/ManagementAuditExportFormat"},"required":true}],"security":[],"responses":{"200":{"description":"Success","content":{"application/x-ndjson":{"schema":{"type":"string"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_2"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_3"}}}},"500":{"description":"InternalServerError"}}}},"/api/management/step-up":{"post":{"tags":["managementStepUp"],"operationId":"managementStepUp.start","parameters":[],"security":[],"responses":{"200":{"description":"ManagementStepUpTransaction","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ManagementStepUpTransaction"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_3"}}}},"500":{"description":"InternalServerError"}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StartManagementStepUp"}}},"required":true}}},"/api/management/step-up/{transactionId}/verify":{"post":{"tags":["managementStepUp"],"operationId":"managementStepUp.submit","parameters":[{"name":"transactionId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true}],"security":[],"responses":{"200":{"description":"ManagementStepUpTransaction","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ManagementStepUpTransaction"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_3"}}}},"500":{"description":"InternalServerError"}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubmitManagementStepUp"}}},"required":true}}},"/api/management/step-up/{transactionId}/otp":{"post":{"tags":["managementStepUp"],"operationId":"managementStepUp.requestOtp","parameters":[{"name":"transactionId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true}],"security":[],"responses":{"200":{"description":"ManagementStepUpOtpRequested","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ManagementStepUpOtpRequested"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_3"}}}},"500":{"description":"InternalServerError"}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RequestManagementStepUpOtp"}}},"required":true}}},"/api/management/step-up/{transactionId}/otp/verify":{"post":{"tags":["managementStepUp"],"operationId":"managementStepUp.verifyOtp","parameters":[{"name":"transactionId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true}],"security":[],"responses":{"200":{"description":"ManagementStepUpTransaction","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ManagementStepUpTransaction"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_3"}}}},"500":{"description":"InternalServerError"}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VerifyManagementStepUpOtp"}}},"required":true}}},"/api/management/step-up/{transactionId}/passkey/options":{"post":{"tags":["managementStepUp"],"operationId":"managementStepUp.passkeyOptions","parameters":[{"name":"transactionId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true}],"security":[],"responses":{"200":{"description":"ManagementStepUpPasskeyOptions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ManagementStepUpPasskeyOptions"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_3"}}}},"500":{"description":"InternalServerError"}}}},"/api/management/step-up/{transactionId}/passkey/verify":{"post":{"tags":["managementStepUp"],"operationId":"managementStepUp.submitPasskey","parameters":[{"name":"transactionId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true}],"security":[],"responses":{"200":{"description":"ManagementStepUpTransaction","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ManagementStepUpTransaction"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_3"}}}},"500":{"description":"InternalServerError"}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubmitManagementStepUpPasskey"}}},"required":true}}},"/api/management/step-up/{transactionId}/cancel":{"post":{"tags":["managementStepUp"],"operationId":"managementStepUp.cancel","parameters":[{"name":"transactionId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true}],"security":[],"responses":{"200":{"description":"ManagementStepUpCancelled","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ManagementStepUpCancelled"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_3"}}}},"500":{"description":"InternalServerError"}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CancelManagementStepUp"}}},"required":true}}},"/api/oauth/step-up/{interactionId}":{"get":{"tags":["oauthStepUp"],"operationId":"oauthStepUp.read","parameters":[{"name":"interactionId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true}],"security":[],"responses":{"200":{"description":"OAuthStepUpView","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthStepUpView"}}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_4"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_3"}}}},"500":{"description":"InternalServerError"}}}},"/api/oauth/step-up/{interactionId}/verify":{"post":{"tags":["oauthStepUp"],"operationId":"oauthStepUp.submit","parameters":[{"name":"interactionId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true}],"security":[],"responses":{"200":{"description":"OAuthStepUpView","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthStepUpView"}}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_4"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_3"}}}},"500":{"description":"InternalServerError"}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"expectedTransactionRevision":{"type":"integer","allOf":[{"minimum":0}]},"method":{"type":"string","enum":["password","totp"]},"proof":{"type":"string","allOf":[{"minLength":1},{"maxLength":128}]}},"required":["expectedTransactionRevision","method","proof"],"additionalProperties":false}}},"required":true}}},"/api/oauth/step-up/{interactionId}/passkey/options":{"post":{"tags":["oauthStepUp"],"operationId":"oauthStepUp.passkeyOptions","parameters":[{"name":"interactionId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true}],"security":[],"responses":{"200":{"description":"ManagementStepUpPasskeyOptions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ManagementStepUpPasskeyOptions"}}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_4"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_3"}}}},"500":{"description":"InternalServerError"}}}},"/api/oauth/step-up/{interactionId}/passkey/verify":{"post":{"tags":["oauthStepUp"],"operationId":"oauthStepUp.submitPasskey","parameters":[{"name":"interactionId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true}],"security":[],"responses":{"200":{"description":"OAuthStepUpView","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthStepUpView"}}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_4"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_3"}}}},"500":{"description":"InternalServerError"}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"expectedTransactionRevision":{"type":"integer","allOf":[{"minimum":0}]},"challengeId":{"$ref":"#/components/schemas/Uuid"},"passkeyResponse":{}},"required":["expectedTransactionRevision","challengeId","passkeyResponse"],"additionalProperties":false}}},"required":true}}},"/api/oauth/step-up/{interactionId}/complete":{"post":{"tags":["oauthStepUp"],"operationId":"oauthStepUp.complete","parameters":[{"name":"interactionId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true}],"security":[],"responses":{"200":{"description":"OAuthStepUpComplete","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthStepUpComplete"}}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_4"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_3"}}}},"500":{"description":"InternalServerError"}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"expectedTransactionRevision":{"type":"integer","allOf":[{"minimum":0}]}},"required":["expectedTransactionRevision"],"additionalProperties":false}}},"required":true}}},"/api/oauth/step-up/{interactionId}/cancel":{"post":{"tags":["oauthStepUp"],"operationId":"oauthStepUp.cancel","parameters":[{"name":"interactionId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true}],"security":[],"responses":{"200":{"description":"OAuthStepUpCancelled","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthStepUpCancelled"}}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_4"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_3"}}}},"500":{"description":"InternalServerError"}}}},"/api/organizations/{organizationId}/projects":{"get":{"tags":["projects"],"operationId":"projects.list","parameters":[{"name":"organizationId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true}],"security":[],"responses":{"200":{"description":"ProjectViewList","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectViewList"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_2"}}}},"500":{"description":"InternalServerError"}}},"post":{"tags":["projects"],"operationId":"projects.create","parameters":[{"name":"organizationId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true}],"security":[],"responses":{"201":{"description":"ProjectView","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectView_1"}}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_4"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_2"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_3"}}}},"500":{"description":"InternalServerError"}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateProject"}}},"required":true}}},"/api/organizations/{organizationId}/projects/{projectId}":{"get":{"tags":["projects"],"operationId":"projects.get","parameters":[{"name":"organizationId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true},{"name":"projectId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true}],"security":[],"responses":{"200":{"description":"ProjectView","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectView"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_2"}}}},"500":{"description":"InternalServerError"}}},"patch":{"tags":["projects"],"operationId":"projects.update","parameters":[{"name":"organizationId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true},{"name":"projectId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true}],"security":[],"responses":{"200":{"description":"ProjectView","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectView"}}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_4"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_2"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_3"}}}},"500":{"description":"InternalServerError"}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateProject"}}},"required":true}},"delete":{"tags":["projects"],"operationId":"projects.remove","parameters":[{"name":"organizationId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true},{"name":"projectId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true}],"security":[],"responses":{"204":{"description":"<No Content>"},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_4"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_2"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_3"}}}},"500":{"description":"InternalServerError"}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnterpriseManagementStepUp"}}},"required":true}}},"/api/organizations/{organizationId}/projects/{projectId}/member-candidates":{"get":{"tags":["projectMembers"],"operationId":"projectMembers.candidates","parameters":[{"name":"organizationId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true},{"name":"projectId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true}],"security":[],"responses":{"200":{"description":"ProjectMemberCandidateList","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectMemberCandidateList"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_2"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_3"}}}},"500":{"description":"InternalServerError"}}}},"/api/organizations/{organizationId}/projects/{projectId}/members":{"get":{"tags":["projectMembers"],"operationId":"projectMembers.list","parameters":[{"name":"organizationId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true},{"name":"projectId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true}],"security":[],"responses":{"200":{"description":"ProjectMemberViewList","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectMemberViewList"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_2"}}}},"500":{"description":"InternalServerError"}}},"post":{"tags":["projectMembers"],"operationId":"projectMembers.create","parameters":[{"name":"organizationId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true},{"name":"projectId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true}],"security":[],"responses":{"201":{"description":"CreatedProjectMember","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreatedProjectMember"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_2"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_3"}}}},"500":{"description":"InternalServerError"}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateProjectMember"}}},"required":true}}},"/api/organizations/{organizationId}/projects/{projectId}/members/{projectMemberId}":{"patch":{"tags":["projectMembers"],"operationId":"projectMembers.changeRole","parameters":[{"name":"organizationId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true},{"name":"projectId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true},{"name":"projectMemberId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true}],"security":[],"responses":{"200":{"description":"ProjectMemberView","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectMemberView"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_2"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_3"}}}},"500":{"description":"InternalServerError"}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChangeProjectMemberRole"}}},"required":true}},"delete":{"tags":["projectMembers"],"operationId":"projectMembers.remove","parameters":[{"name":"organizationId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true},{"name":"projectId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true},{"name":"projectMemberId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true}],"security":[],"responses":{"204":{"description":"<No Content>"},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_2"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_3"}}}},"500":{"description":"InternalServerError"}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnterpriseManagementStepUp"}}},"required":true}}},"/api/organizations/{organizationId}/projects/{projectId}/resources":{"get":{"tags":["projectResources"],"operationId":"projectResources.list","parameters":[{"name":"organizationId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true},{"name":"projectId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true}],"security":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ProjectResourceView"}}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_2"}}}},"500":{"description":"InternalServerError"}}},"post":{"tags":["projectResources"],"operationId":"projectResources.create","parameters":[{"name":"organizationId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true},{"name":"projectId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true}],"security":[],"responses":{"201":{"description":"ProjectResourceView","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectResourceView_1"}}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_4"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_2"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_3"}}}},"500":{"description":"InternalServerError"}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateProjectResource"}}},"required":true}}},"/api/organizations/{organizationId}/projects/{projectId}/resources/{resourceId}":{"patch":{"tags":["projectResources"],"operationId":"projectResources.update","parameters":[{"name":"organizationId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true},{"name":"projectId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true},{"name":"resourceId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true}],"security":[],"responses":{"200":{"description":"ProjectResourceView","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectResourceView"}}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_4"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_2"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_3"}}}},"500":{"description":"InternalServerError"}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateProjectResource"}}},"required":true}},"delete":{"tags":["projectResources"],"operationId":"projectResources.remove","parameters":[{"name":"organizationId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true},{"name":"projectId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true},{"name":"resourceId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true}],"security":[],"responses":{"204":{"description":"<No Content>"},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_4"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_2"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_3"}}}},"500":{"description":"InternalServerError"}}}},"/api/organizations/{organizationId}/projects/{projectId}/applications":{"get":{"tags":["applications"],"operationId":"applications.list","parameters":[{"name":"organizationId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true},{"name":"projectId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true}],"security":[],"responses":{"200":{"description":"ApplicationViewList","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationViewList"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_2"}}}},"500":{"description":"InternalServerError"}}},"post":{"tags":["applications"],"operationId":"applications.create","parameters":[{"name":"organizationId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true},{"name":"projectId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true}],"security":[],"responses":{"201":{"description":"CreateApplicationResult","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateApplicationResult"}}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_4"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_2"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_3"}}}},"500":{"description":"InternalServerError"}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateApplication"}}},"required":true}}},"/api/organizations/{organizationId}/projects/{projectId}/applications/{applicationId}":{"get":{"tags":["applications"],"operationId":"applications.get","parameters":[{"name":"organizationId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true},{"name":"projectId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true},{"name":"applicationId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true}],"security":[],"responses":{"200":{"description":"ApplicationView","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationView"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_2"}}}},"500":{"description":"InternalServerError"}}},"patch":{"tags":["applications"],"operationId":"applications.update","parameters":[{"name":"organizationId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true},{"name":"projectId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true},{"name":"applicationId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true}],"security":[],"responses":{"200":{"description":"ApplicationView","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationView"}}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_4"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_2"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_3"}}}},"500":{"description":"InternalServerError"}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateApplication"}}},"required":true}},"delete":{"tags":["applications"],"operationId":"applications.remove","parameters":[{"name":"organizationId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true},{"name":"projectId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true},{"name":"applicationId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true}],"security":[],"responses":{"204":{"description":"<No Content>"},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_2"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_3"}}}},"500":{"description":"InternalServerError"}}}},"/api/organizations/{organizationId}/projects/{projectId}/applications/{applicationId}/rotate-secret":{"post":{"tags":["applications"],"operationId":"applications.rotateSecret","parameters":[{"name":"organizationId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true},{"name":"projectId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true},{"name":"applicationId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true}],"security":[],"responses":{"200":{"description":"ApplicationCredential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationCredential"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_2"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_3"}}}},"500":{"description":"InternalServerError"}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnterpriseManagementStepUp"}}},"required":true}}},"/api/organizations/{organizationId}/projects/{projectId}/applications/{applicationId}/secrets":{"get":{"tags":["applications"],"operationId":"applications.listSecrets","parameters":[{"name":"organizationId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true},{"name":"projectId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true},{"name":"applicationId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true}],"security":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ApplicationClientSecret"}}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_2"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_3"}}}},"500":{"description":"InternalServerError"}}}},"/api/organizations/{organizationId}/projects/{projectId}/applications/{applicationId}/secret-policy":{"get":{"tags":["applications"],"operationId":"applications.getSecretPolicy","parameters":[{"name":"organizationId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true},{"name":"projectId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true},{"name":"applicationId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true}],"security":[],"responses":{"200":{"description":"ApplicationSecretPolicy","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationSecretPolicy"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_2"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_3"}}}},"500":{"description":"InternalServerError"}}},"patch":{"tags":["applications"],"operationId":"applications.updateSecretPolicy","parameters":[{"name":"organizationId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true},{"name":"projectId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true},{"name":"applicationId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true}],"security":[],"responses":{"200":{"description":"ApplicationSecretPolicy","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationSecretPolicy"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_2"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_3"}}}},"500":{"description":"InternalServerError"}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateApplicationSecretPolicy"}}},"required":true}}},"/api/organizations/{organizationId}/projects/{projectId}/applications/{applicationId}/secrets/{secretId}/revoke":{"post":{"tags":["applications"],"operationId":"applications.revokeSecret","parameters":[{"name":"organizationId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true},{"name":"projectId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true},{"name":"applicationId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true},{"name":"secretId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true}],"security":[],"responses":{"200":{"description":"ApplicationClientSecret","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationClientSecret"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_2"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_3"}}}},"500":{"description":"InternalServerError"}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnterpriseManagementStepUp"}}},"required":true}}},"/api/organizations/{organizationId}/projects/{projectId}/applications/{applicationId}/move":{"post":{"tags":["applications"],"operationId":"applications.move","parameters":[{"name":"organizationId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true},{"name":"projectId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true},{"name":"applicationId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true}],"security":[],"responses":{"200":{"description":"ApplicationView","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationView"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_2"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_3"}}}},"500":{"description":"InternalServerError"}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MoveApplication"}}},"required":true}}},"/api/device-authorizations/{userCode}":{"get":{"tags":["deviceAuthorizations"],"operationId":"deviceAuthorizations.review","parameters":[{"name":"userCode","in":"path","schema":{"$ref":"#/components/schemas/DeviceUserCode"},"required":true}],"security":[],"responses":{"200":{"description":"DeviceAuthorizationReview","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeviceAuthorizationReview"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_2"}}}},"500":{"description":"InternalServerError"}}}},"/api/device-authorizations/{userCode}/approve":{"post":{"tags":["deviceAuthorizations"],"operationId":"deviceAuthorizations.approve","parameters":[{"name":"userCode","in":"path","schema":{"$ref":"#/components/schemas/DeviceUserCode"},"required":true}],"security":[],"responses":{"204":{"description":"<No Content>"},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_4"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_2"}}}},"500":{"description":"InternalServerError"}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeviceAuthorizationApproval"}}},"required":true}}},"/api/platform/settings":{"get":{"tags":["platform"],"operationId":"platform.getSettings","parameters":[],"security":[],"responses":{"200":{"description":"PlatformSettingsView","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlatformSettingsView"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"500":{"description":"InternalServerError"}}},"patch":{"tags":["platform"],"operationId":"platform.updateSettings","parameters":[],"security":[],"responses":{"200":{"description":"PlatformSettingsView","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlatformSettingsView"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_3"}}}},"500":{"description":"InternalServerError"}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdatePlatformSettings"}}},"required":true}}},"/api/platform/administrators":{"get":{"tags":["platform"],"operationId":"platform.listAdministrators","parameters":[],"security":[],"responses":{"200":{"description":"PlatformAdministratorList","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlatformAdministratorList"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"500":{"description":"InternalServerError"}}},"post":{"tags":["platform"],"operationId":"platform.grantAdministrator","parameters":[],"security":[],"responses":{"201":{"description":"GrantedPlatformAdministrator","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GrantedPlatformAdministrator"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_2"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_3"}}}},"500":{"description":"InternalServerError"}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GrantPlatformAdministrator"}}},"required":true}}},"/api/platform/administrators/lookup":{"post":{"tags":["platform"],"operationId":"platform.lookupAdministrator","parameters":[],"security":[],"responses":{"200":{"description":"PlatformAdministratorCandidate","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlatformAdministratorCandidate"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_2"}}}},"500":{"description":"InternalServerError"}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LookupPlatformAdministrator"}}},"required":true}}},"/api/platform/administrators/{userId}":{"delete":{"tags":["platform"],"operationId":"platform.removeAdministrator","parameters":[{"name":"userId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true}],"security":[],"responses":{"204":{"description":"<No Content>"},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_2"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_3"}}}},"500":{"description":"InternalServerError"}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnterpriseManagementStepUp"}}},"required":true}}},"/api/platform/organizations":{"get":{"tags":["platform"],"operationId":"platform.listOrganizations","parameters":[],"security":[],"responses":{"200":{"description":"PlatformOrganizationList","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlatformOrganizationList"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"500":{"description":"InternalServerError"}}}},"/api/platform/organizations/{organizationId}/kyb-review":{"post":{"tags":["platform"],"operationId":"platform.reviewOrganizationKyb","parameters":[{"name":"organizationId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true}],"security":[],"responses":{"200":{"description":"OrganizationKybResult","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationKybResult"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_2"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_3"}}}},"500":{"description":"InternalServerError"}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReviewOrganizationKyb"}}},"required":true}}},"/api/platform/organizations/{organizationId}/suspend":{"post":{"tags":["platform"],"operationId":"platform.suspendOrganization","parameters":[{"name":"organizationId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true}],"security":[],"responses":{"200":{"description":"OrganizationStatusResult","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationStatusResult"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_2"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_3"}}}},"500":{"description":"InternalServerError"}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnterpriseManagementStepUp"}}},"required":true}}},"/api/platform/organizations/{organizationId}/restore":{"post":{"tags":["platform"],"operationId":"platform.restoreOrganization","parameters":[{"name":"organizationId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true}],"security":[],"responses":{"200":{"description":"OrganizationStatusResult","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationStatusResult"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_3"}}}},"500":{"description":"InternalServerError"}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnterpriseManagementStepUp"}}},"required":true}}},"/api/platform/audit-events/export":{"get":{"tags":["platformAudit"],"operationId":"platformAudit.exportEvents","parameters":[{"name":"category","in":"query","schema":{"anyOf":[{"$ref":"#/components/schemas/AuditCategory"},{"type":"null"}]},"required":false},{"name":"severity","in":"query","schema":{"anyOf":[{"$ref":"#/components/schemas/AuditSeverity"},{"type":"null"}]},"required":false},{"name":"outcome","in":"query","schema":{"anyOf":[{"$ref":"#/components/schemas/AuditOutcome"},{"type":"null"}]},"required":false},{"name":"source","in":"query","schema":{"anyOf":[{"$ref":"#/components/schemas/AuditSource"},{"type":"null"}]},"required":false},{"name":"q","in":"query","schema":{"anyOf":[{"type":"string","allOf":[{"pattern":"^\\S[\\s\\S]*\\S$|^\\S$|^$"},{"maxLength":120}]},{"type":"null"}]},"required":false},{"name":"from","in":"query","schema":{"$ref":"#/components/schemas/Union_11"},"required":false},{"name":"to","in":"query","schema":{"$ref":"#/components/schemas/Union_11"},"required":false}],"security":[],"responses":{"200":{"description":"Success","content":{"application/x-ndjson":{"schema":{"type":"string"}}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_4"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"500":{"description":"InternalServerError"}}}},"/api/platform/audit-events":{"get":{"tags":["platformAudit"],"operationId":"platformAudit.listEvents","parameters":[{"name":"category","in":"query","schema":{"anyOf":[{"$ref":"#/components/schemas/AuditCategory"},{"type":"null"}]},"required":false},{"name":"severity","in":"query","schema":{"anyOf":[{"$ref":"#/components/schemas/AuditSeverity"},{"type":"null"}]},"required":false},{"name":"outcome","in":"query","schema":{"anyOf":[{"$ref":"#/components/schemas/AuditOutcome"},{"type":"null"}]},"required":false},{"name":"source","in":"query","schema":{"anyOf":[{"$ref":"#/components/schemas/AuditSource"},{"type":"null"}]},"required":false},{"name":"q","in":"query","schema":{"anyOf":[{"type":"string","allOf":[{"pattern":"^\\S[\\s\\S]*\\S$|^\\S$|^$"},{"maxLength":120}]},{"type":"null"}]},"required":false},{"name":"from","in":"query","schema":{"$ref":"#/components/schemas/Union_11"},"required":false},{"name":"to","in":"query","schema":{"$ref":"#/components/schemas/Union_11"},"required":false},{"name":"cursor","in":"query","schema":{"anyOf":[{"$ref":"#/components/schemas/AuditCursor"},{"type":"null"}]},"required":false},{"name":"limit","in":"query","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false}],"security":[],"responses":{"200":{"description":"PlatformAuditPage","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlatformAuditPage"}}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_4"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"500":{"description":"InternalServerError"}}}},"/api/platform/users":{"get":{"tags":["userDirectory"],"operationId":"userDirectory.searchPlatformUsers","parameters":[{"name":"search","in":"query","schema":{"anyOf":[{"$ref":"#/components/schemas/ManagedUserSearch"},{"type":"null"}]},"required":false},{"name":"status","in":"query","schema":{"anyOf":[{"$ref":"#/components/schemas/ManagedUserStatus"},{"type":"null"}]},"required":false},{"name":"cursor","in":"query","schema":{"anyOf":[{"$ref":"#/components/schemas/ManagedUserCursor"},{"type":"null"}]},"required":false},{"name":"limit","in":"query","schema":{"anyOf":[{"$ref":"#/components/schemas/ManagedUserLimitEncoded"},{"type":"null"}]},"required":false}],"security":[],"responses":{"200":{"description":"ManagedUserPage","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ManagedUserPageEncoded"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"500":{"description":"InternalServerError"}}}},"/api/platform/users/{userId}":{"get":{"tags":["userDirectory"],"operationId":"userDirectory.getPlatformUser","parameters":[{"name":"userId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true}],"security":[],"responses":{"200":{"description":"ManagedUserDetail","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ManagedUserDetailEncoded"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_2"}}}},"500":{"description":"InternalServerError"}}}},"/api/platform/users/{userId}/freeze":{"post":{"tags":["userDirectory"],"operationId":"userDirectory.freezePlatformUser","parameters":[{"name":"userId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true}],"security":[],"responses":{"200":{"description":"ManagedUserStatusResult","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ManagedUserStatusResultEncoded"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_2"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_3"}}}},"500":{"description":"InternalServerError"}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ManagedUserStatusMutation"}}},"required":true}}},"/api/platform/users/{userId}/unfreeze":{"post":{"tags":["userDirectory"],"operationId":"userDirectory.unfreezePlatformUser","parameters":[{"name":"userId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true}],"security":[],"responses":{"200":{"description":"ManagedUserStatusResult","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ManagedUserStatusResultEncoded"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_2"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_3"}}}},"500":{"description":"InternalServerError"}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ManagedUserStatusMutation"}}},"required":true}}},"/api/platform/users/{userId}/sessions/revoke":{"post":{"tags":["userDirectory"],"operationId":"userDirectory.revokePlatformUserSessions","parameters":[{"name":"userId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true}],"security":[],"responses":{"200":{"description":"SessionsRevokedResult","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionsRevokedResultEncoded"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_2"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_3"}}}},"500":{"description":"InternalServerError"}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnterpriseManagementStepUp"}}},"required":true}}},"/api/organizations/{organizationId}/users":{"get":{"tags":["userDirectory"],"operationId":"userDirectory.searchOrganizationUsers","parameters":[{"name":"organizationId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true},{"name":"search","in":"query","schema":{"anyOf":[{"$ref":"#/components/schemas/ManagedUserSearch"},{"type":"null"}]},"required":false},{"name":"status","in":"query","schema":{"anyOf":[{"$ref":"#/components/schemas/ManagedUserStatus"},{"type":"null"}]},"required":false},{"name":"cursor","in":"query","schema":{"anyOf":[{"$ref":"#/components/schemas/ManagedUserCursor"},{"type":"null"}]},"required":false},{"name":"limit","in":"query","schema":{"anyOf":[{"$ref":"#/components/schemas/ManagedUserLimitEncoded"},{"type":"null"}]},"required":false}],"security":[],"responses":{"200":{"description":"ManagedUserPage","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ManagedUserPageEncoded"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_2"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_3"}}}},"500":{"description":"InternalServerError"}}}},"/api/organizations/{organizationId}/users/{userId}":{"get":{"tags":["userDirectory"],"operationId":"userDirectory.getOrganizationUser","parameters":[{"name":"organizationId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true},{"name":"userId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true}],"security":[],"responses":{"200":{"description":"ManagedUserDetail","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ManagedUserDetailEncoded"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_2"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_3"}}}},"500":{"description":"InternalServerError"}}}},"/api/organizations/{organizationId}/users/{userId}/freeze":{"post":{"tags":["userDirectory"],"operationId":"userDirectory.freezeOrganizationUser","parameters":[{"name":"organizationId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true},{"name":"userId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true}],"security":[],"responses":{"200":{"description":"ManagedUserStatusResult","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ManagedUserStatusResultEncoded"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_2"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_3"}}}},"500":{"description":"InternalServerError"}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationManagedUserStatusMutation"}}},"required":true}}},"/api/organizations/{organizationId}/users/{userId}/unfreeze":{"post":{"tags":["userDirectory"],"operationId":"userDirectory.unfreezeOrganizationUser","parameters":[{"name":"organizationId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true},{"name":"userId","in":"path","schema":{"$ref":"#/components/schemas/Uuid"},"required":true}],"security":[],"responses":{"200":{"description":"ManagedUserStatusResult","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ManagedUserStatusResultEncoded"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_2"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_3"}}}},"500":{"description":"InternalServerError"}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationManagedUserStatusMutation"}}},"required":true}}},"/api/platform/delivery-settings":{"get":{"tags":["platformDelivery"],"operationId":"platformDelivery.getDeliverySettings","parameters":[],"security":[],"responses":{"200":{"description":"PlatformDeliverySettingsView","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlatformDeliverySettingsView"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"500":{"description":"InternalServerError"}}}},"/api/platform/delivery-settings/email":{"patch":{"tags":["platformDelivery"],"operationId":"platformDelivery.updateEmailDeliverySettings","parameters":[],"security":[],"responses":{"200":{"description":"PlatformDeliverySettingsView","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlatformDeliverySettingsView"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_3"}}}},"500":{"description":"InternalServerError"}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateEmailDeliverySettings"}}},"required":true}}},"/api/platform/delivery-settings/sms":{"patch":{"tags":["platformDelivery"],"operationId":"platformDelivery.updateSmsDeliverySettings","parameters":[],"security":[],"responses":{"200":{"description":"PlatformDeliverySettingsView","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlatformDeliverySettingsView"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_3"}}}},"500":{"description":"InternalServerError"}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateSmsDeliverySettings"}}},"required":true}}},"/api/platform/delivery-settings/email/test":{"post":{"tags":["platformDelivery"],"operationId":"platformDelivery.testEmailDelivery","parameters":[],"security":[],"responses":{"200":{"description":"DeliveryTestView","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeliveryTestView"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_3"}}}},"500":{"description":"InternalServerError"}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestEmailDelivery"}}},"required":true}}},"/api/platform/delivery-settings/sms/test":{"post":{"tags":["platformDelivery"],"operationId":"platformDelivery.testSmsDelivery","parameters":[],"security":[],"responses":{"200":{"description":"DeliveryTestView","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeliveryTestView"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_1"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError_3"}}}},"500":{"description":"InternalServerError"}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestSmsDelivery"}}},"required":true}}},"/api/auth/sign-in/start":{"post":{"tags":["signInFlow"],"operationId":"signInFlow.start","parameters":[{"name":"x-captcha-response","in":"header","schema":{"type":"string"},"required":true}],"security":[],"responses":{"200":{"description":"SignInFlowStarted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SignInFlowStarted"}}}},"400":{"description":"SignInFlowError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SignInFlowError"}}}},"401":{"description":"SignInFlowError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SignInFlowError_1"}}}},"403":{"description":"SignInFlowError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SignInFlowError_2"}}}},"429":{"description":"SignInFlowError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SignInFlowError_3"}}}},"500":{"description":"SignInFlowError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SignInFlowError_4"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SignInFlowStart"}}},"required":true}}},"/api/auth/sign-in/cancel":{"post":{"tags":["signInFlow"],"operationId":"signInFlow.cancel","parameters":[{"name":"x-sign-in-flow","in":"header","schema":{"$ref":"#/components/schemas/SignInFlowId"},"required":true}],"security":[],"responses":{"200":{"description":"SignInFlowCancelled","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SignInFlowCancelled"}}}},"400":{"description":"SignInFlowError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SignInFlowError"}}}},"401":{"description":"SignInFlowError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SignInFlowError_1"}}}},"403":{"description":"SignInFlowError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SignInFlowError_2"}}}},"429":{"description":"SignInFlowError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SignInFlowError_3"}}}},"500":{"description":"SignInFlowError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SignInFlowError_4"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SignInFlowCancel"}}},"required":true}}},"/api/auth/otp/switch-method":{"post":{"tags":["signInFlow"],"operationId":"signInFlow.switchMethod","parameters":[{"name":"x-sign-in-flow","in":"header","schema":{"$ref":"#/components/schemas/SignInFlowId"},"required":true}],"security":[],"responses":{"200":{"description":"SignInFlowCancelled","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SignInFlowCancelled"}}}},"400":{"description":"SignInFlowError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SignInFlowError"}}}},"401":{"description":"SignInFlowError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SignInFlowError_1"}}}},"403":{"description":"SignInFlowError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SignInFlowError_2"}}}},"429":{"description":"SignInFlowError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SignInFlowError_3"}}}},"500":{"description":"SignInFlowError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SignInFlowError_4"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SignInFlowCancel"}}},"required":true}}}},"components":{"schemas":{"AnalyticsPeriod":{"type":"string","enum":["today","last7Days","last30Days"]},"AnalyticsGranularity":{"type":"string","enum":["hour","day"]},"AnalyticsMetric":{"type":"object","properties":{"count":{"anyOf":[{"type":"integer"},{"type":"null"}]},"uniqueUsers":{"anyOf":[{"type":"integer"},{"type":"null"}]}},"required":["count","uniqueUsers"],"additionalProperties":false},"AnalyticsTrendPoint":{"type":"object","properties":{"from":{"type":"string","format":"date-time"},"to":{"type":"string","format":"date-time"},"successfulLogins":{"anyOf":[{"type":"integer"},{"type":"null"}]},"uniqueUsers":{"anyOf":[{"type":"integer"},{"type":"null"}]},"passkeyLogins":{"anyOf":[{"type":"integer"},{"type":"null"}]},"passwordResetSuccesses":{"anyOf":[{"type":"integer"},{"type":"null"}]}},"required":["from","to","successfulLogins","uniqueUsers","passkeyLogins","passwordResetSuccesses"],"additionalProperties":false},"AnalyticsMethodMetric":{"type":"object","properties":{"method":{"type":"string","enum":["password","passkey","authenticator"]},"count":{"anyOf":[{"type":"integer"},{"type":"null"}]},"uniqueUsers":{"anyOf":[{"type":"integer"},{"type":"null"}]}},"required":["method","count","uniqueUsers"],"additionalProperties":false},"AnalyticsGeoMetric":{"type":"object","properties":{"countryCode":{"type":"string","allOf":[{"pattern":"^[A-Z]{2}$"}]},"regionCode":{"type":"string","allOf":[{"pattern":"^[A-Z0-9-]{1,6}$"}]},"count":{"type":"integer"},"uniqueUsers":{"type":"integer"}},"required":["countryCode","regionCode","count","uniqueUsers"],"additionalProperties":false},"PlatformAnalyticsOverview":{"type":"object","properties":{"period":{"$ref":"#/components/schemas/AnalyticsPeriod"},"timezone":{"type":"string","enum":["UTC"]},"from":{"type":"string","format":"date-time"},"to":{"type":"string","format":"date-time"},"granularity":{"$ref":"#/components/schemas/AnalyticsGranularity"},"dataSince":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"geoConfigured":{"type":"boolean"},"successfulLogins":{"$ref":"#/components/schemas/AnalyticsMetric"},"passkeyLogins":{"$ref":"#/components/schemas/AnalyticsMetric"},"passwordResetSuccesses":{"$ref":"#/components/schemas/AnalyticsMetric"},"trend":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/AnalyticsTrendPoint"}},{"type":"null"}]},"methods":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/AnalyticsMethodMetric"}},{"type":"null"}]},"geo":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/AnalyticsGeoMetric"}},{"type":"null"}]}},"required":["period","timezone","from","to","granularity","dataSince","updatedAt","geoConfigured","successfulLogins","passkeyLogins","passwordResetSuccesses","trend","methods","geo"],"additionalProperties":false},"Objects_":{"type":"object","properties":{"code":{"type":"string","allOf":[{"minLength":1}]},"message":{"type":"string","allOf":[{"minLength":1}]},"fields":{"anyOf":[{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}},{"type":"null"}]},"requestId":{"type":"string","allOf":[{"minLength":1}]}},"required":["code","message","requestId"],"additionalProperties":false},"ApiError":{"type":"object","properties":{"error":{"$ref":"#/components/schemas/Objects_"}},"required":["error"],"additionalProperties":false},"ApiError_1":{"type":"object","properties":{"error":{"$ref":"#/components/schemas/Objects_"}},"required":["error"],"additionalProperties":false},"Uuid":{"type":"string","allOf":[{"pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$","format":"uuid"}]},"OrganizationAnalyticsTrendPoint":{"type":"object","properties":{"from":{"type":"string","format":"date-time"},"to":{"type":"string","format":"date-time"},"applicationAuthentications":{"anyOf":[{"type":"integer"},{"type":"null"}]},"uniqueUsers":{"anyOf":[{"type":"integer"},{"type":"null"}]},"measurablePasskeyAuthentications":{"anyOf":[{"type":"integer"},{"type":"null"}]}},"required":["from","to","applicationAuthentications","uniqueUsers","measurablePasskeyAuthentications"],"additionalProperties":false},"OrganizationAnalyticsOverview":{"type":"object","properties":{"period":{"$ref":"#/components/schemas/AnalyticsPeriod"},"timezone":{"type":"string","enum":["UTC"]},"from":{"type":"string","format":"date-time"},"to":{"type":"string","format":"date-time"},"granularity":{"$ref":"#/components/schemas/AnalyticsGranularity"},"dataSince":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"geoConfigured":{"type":"boolean"},"organizationId":{"$ref":"#/components/schemas/Uuid"},"applicationAuthentications":{"$ref":"#/components/schemas/AnalyticsMetric"},"measurablePasskeyAuthentications":{"$ref":"#/components/schemas/AnalyticsMetric"},"trend":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/OrganizationAnalyticsTrendPoint"}},{"type":"null"}]},"methods":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/AnalyticsMethodMetric"}},{"type":"null"}]},"geo":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/AnalyticsGeoMetric"}},{"type":"null"}]}},"required":["period","timezone","from","to","granularity","dataSince","updatedAt","geoConfigured","organizationId","applicationAuthentications","measurablePasskeyAuthentications","trend","methods","geo"],"additionalProperties":false},"ApiError_2":{"type":"object","properties":{"error":{"$ref":"#/components/schemas/Objects_"}},"required":["error"],"additionalProperties":false},"Union_":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"UserView":{"type":"object","properties":{"id":{"type":"string","allOf":[{"minLength":1}]},"name":{"type":"string","allOf":[{"pattern":"^\\S[\\s\\S]*\\S$|^\\S$|^$"},{"minLength":1},{"maxLength":120}]},"email":{"anyOf":[{"type":"string","allOf":[{"pattern":"^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$","format":"email"}]},{"type":"null"}]},"emailVerified":{"type":"boolean"},"image":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}]},{"type":"null"}]},"createdAt":{"$ref":"#/components/schemas/Union_"},"updatedAt":{"$ref":"#/components/schemas/Union_"}},"required":["id","name","email","emailVerified"],"additionalProperties":false},"OrganizationStatus":{"type":"string","enum":["active","suspended","deleted"]},"OrganizationRole":{"type":"string","enum":["owner","admin","developer","member"]},"OrganizationSummary":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Uuid"},"name":{"type":"string","allOf":[{"pattern":"^\\S[\\s\\S]*\\S$|^\\S$|^$"},{"minLength":1},{"maxLength":120}]},"slug":{"type":"string","allOf":[{"pattern":"^\\S[\\s\\S]*\\S$|^\\S$|^$"},{"minLength":2},{"maxLength":80},{"pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$"}]},"status":{"$ref":"#/components/schemas/OrganizationStatus"},"role":{"$ref":"#/components/schemas/OrganizationRole"},"createdAt":{"type":"string","format":"date-time"}},"required":["id","name","slug","status","role","createdAt"],"additionalProperties":false},"Me":{"type":"object","properties":{"user":{"$ref":"#/components/schemas/UserView"},"platformAdmin":{"type":"boolean"},"organizations":{"type":"array","items":{"$ref":"#/components/schemas/OrganizationSummary"}}},"required":["user","platformAdmin","organizations"],"additionalProperties":false},"ApiError_3":{"type":"object","properties":{"error":{"$ref":"#/components/schemas/Objects_"}},"required":["error"],"additionalProperties":false},"SecurityActivityCursor":{"type":"string","allOf":[{"pattern":"^v1\\.([1-9][0-9]{12})\\.([0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12})$"}]},"SecurityActivityLimitEncoded":{"type":"string"},"SecurityActivity":{"anyOf":[{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Uuid"},"occurredAt":{"type":"string","format":"date-time"},"type":{"type":"string","enum":["login"]},"sessionId":{"anyOf":[{"type":"string"},{"type":"null"}]},"ipAddress":{"anyOf":[{"type":"string"},{"type":"null"}]},"countryCode":{"anyOf":[{"type":"string","allOf":[{"pattern":"^[A-Z]{2}$"}]},{"type":"null"}]},"userAgent":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["id","occurredAt","type","sessionId","ipAddress","countryCode","userAgent"],"additionalProperties":false},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Uuid"},"occurredAt":{"type":"string","format":"date-time"},"type":{"type":"string","enum":["password_changed"]}},"required":["id","occurredAt","type"],"additionalProperties":false},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Uuid"},"occurredAt":{"type":"string","format":"date-time"},"type":{"type":"string","enum":["email_changed"]}},"required":["id","occurredAt","type"],"additionalProperties":false},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Uuid"},"occurredAt":{"type":"string","format":"date-time"},"type":{"type":"string","enum":["phone_changed"]}},"required":["id","occurredAt","type"],"additionalProperties":false},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Uuid"},"occurredAt":{"type":"string","format":"date-time"},"type":{"type":"string","enum":["oauth_authorized"]},"clientId":{"anyOf":[{"type":"string"},{"type":"null"}]},"applicationId":{"anyOf":[{"$ref":"#/components/schemas/Uuid"},{"type":"null"}]},"applicationName":{"anyOf":[{"type":"string"},{"type":"null"}]},"organizationId":{"anyOf":[{"$ref":"#/components/schemas/Uuid"},{"type":"null"}]},"organizationName":{"anyOf":[{"type":"string"},{"type":"null"}]},"projectId":{"anyOf":[{"$ref":"#/components/schemas/Uuid"},{"type":"null"}]},"projectName":{"anyOf":[{"type":"string"},{"type":"null"}]},"scopes":{"type":"array","items":{"type":"string","allOf":[{"minLength":1}]}}},"required":["id","occurredAt","type","clientId","applicationId","applicationName","organizationId","organizationName","projectId","projectName","scopes"],"additionalProperties":false},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Uuid"},"occurredAt":{"type":"string","format":"date-time"},"type":{"type":"string","enum":["two_factor_enabled"]}},"required":["id","occurredAt","type"],"additionalProperties":false},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Uuid"},"occurredAt":{"type":"string","format":"date-time"},"type":{"type":"string","enum":["two_factor_disabled"]}},"required":["id","occurredAt","type"],"additionalProperties":false}]},"SecurityActivityPage":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/SecurityActivity"}},"nextCursor":{"anyOf":[{"$ref":"#/components/schemas/SecurityActivityCursor"},{"type":"null"}]},"windowDays":{"type":"number","enum":[90]}},"required":["items","nextCursor","windowDays"],"additionalProperties":false},"CurrentAuthorization":{"type":"object","properties":{"consentId":{"$ref":"#/components/schemas/Uuid"},"clientId":{"type":"string","allOf":[{"minLength":1}]},"applicationId":{"anyOf":[{"$ref":"#/components/schemas/Uuid"},{"type":"null"}]},"applicationName":{"type":"string","allOf":[{"minLength":1}]},"organizationId":{"anyOf":[{"$ref":"#/components/schemas/Uuid"},{"type":"null"}]},"organizationName":{"anyOf":[{"type":"string","allOf":[{"minLength":1}]},{"type":"null"}]},"projectId":{"anyOf":[{"$ref":"#/components/schemas/Uuid"},{"type":"null"}]},"projectName":{"anyOf":[{"type":"string","allOf":[{"minLength":1}]},{"type":"null"}]},"scopes":{"type":"array","items":{"type":"string","allOf":[{"minLength":1}]}},"autoLoginEnabled":{"type":"boolean"},"authorizedAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]}},"required":["consentId","clientId","applicationId","applicationName","organizationId","organizationName","projectId","projectName","scopes","autoLoginEnabled","authorizedAt"],"additionalProperties":false},"CurrentAuthorizationList":{"type":"array","items":{"$ref":"#/components/schemas/CurrentAuthorization"}},"AuthorizationAutoLoginDisabled":{"type":"object","properties":{"consentId":{"$ref":"#/components/schemas/Uuid"},"autoLoginEnabled":{"type":"boolean","enum":[false]}},"required":["consentId","autoLoginEnabled"],"additionalProperties":false},"TwoStepTotpState":{"type":"string","enum":["none","pending","verified"]},"TwoStepPasskey":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Uuid"},"name":{"anyOf":[{"type":"string"},{"type":"null"}]},"createdAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"mfaEligible":{"type":"boolean"}},"required":["id","name","createdAt","mfaEligible"],"additionalProperties":false},"TwoStepMethods":{"type":"object","properties":{"totp":{"type":"boolean"},"passkey":{"type":"boolean"},"recoveryCode":{"type":"boolean"}},"required":["totp","passkey","recoveryCode"],"additionalProperties":false},"TwoStepStatus":{"type":"object","properties":{"enabled":{"type":"boolean"},"revision":{"type":"integer","allOf":[{"minimum":0}]},"totp":{"type":"object","properties":{"id":{"anyOf":[{"$ref":"#/components/schemas/Uuid"},{"type":"null"}]},"state":{"$ref":"#/components/schemas/TwoStepTotpState"}},"required":["id","state"],"additionalProperties":false},"passkeys":{"type":"array","items":{"$ref":"#/components/schemas/TwoStepPasskey"}},"canEnable":{"type":"boolean"},"hasPassword":{"type":"boolean"},"hasVerifiedLoginContact":{"type":"boolean"},"passwordAvailable":{"type":"boolean"},"recoveryCodesRemaining":{"type":"integer","allOf":[{"minimum":0}]},"methods":{"$ref":"#/components/schemas/TwoStepMethods"}},"required":["enabled","revision","totp","passkeys","canEnable","hasPassword","hasVerifiedLoginContact","passwordAvailable","recoveryCodesRemaining","methods"],"additionalProperties":false},"Objects_1":{"type":"object","properties":{"expectedRevision":{"type":"integer","allOf":[{"minimum":0}]},"expectedFactorRevision":{"type":"integer","allOf":[{"minimum":0}]},"expectedPolicyRevision":{"type":"integer","allOf":[{"minimum":0}]},"expectedTransactionRevision":{"type":"integer","allOf":[{"minimum":0}]},"transactionId":{"$ref":"#/components/schemas/Uuid"}},"required":["expectedRevision","expectedFactorRevision","expectedPolicyRevision","expectedTransactionRevision","transactionId"],"additionalProperties":false},"TwoStepPolicyInput":{"type":"object","properties":{"enabled":{"type":"boolean"},"stepUp":{"$ref":"#/components/schemas/Objects_1"}},"required":["enabled","stepUp"],"additionalProperties":false},"FactorMutationResult":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/TwoStepStatus"},"reauthenticationRequired":{"type":"boolean"}},"required":["status","reauthenticationRequired"],"additionalProperties":false},"ApiError_4":{"type":"object","properties":{"error":{"$ref":"#/components/schemas/Objects_"}},"required":["error"],"additionalProperties":false},"FactorEnrollmentInput":{"type":"object","properties":{"stepUp":{"$ref":"#/components/schemas/Objects_1"},"enablePolicy":{"type":"boolean"}},"required":["stepUp","enablePolicy"],"additionalProperties":false},"TotpEnrollment":{"type":"object","properties":{"revision":{"type":"integer","allOf":[{"minimum":0}]},"totpURI":{"type":"string","allOf":[{"minLength":1}]},"authorizationIdentifier":{"type":"string","allOf":[{"pattern":"^kai-factor-enrollment-[A-Za-z0-9_-]{32}$"}]}},"required":["revision","totpURI","authorizationIdentifier"],"additionalProperties":false},"TotpConfirmationInput":{"type":"object","properties":{"expectedRevision":{"type":"integer","allOf":[{"minimum":0}]},"authorizationIdentifier":{"type":"string","allOf":[{"pattern":"^kai-factor-enrollment-[A-Za-z0-9_-]{32}$"}]},"code":{"type":"string","allOf":[{"pattern":"^[0-9]{6}$"}]}},"required":["expectedRevision","authorizationIdentifier","code"],"additionalProperties":false},"RecoveryCodes":{"type":"array","items":{"type":"string","allOf":[{"minLength":1}]},"allOf":[{"minItems":10},{"maxItems":10}]},"TotpConfirmation":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/TwoStepStatus"},"backupCodes":{"$ref":"#/components/schemas/RecoveryCodes"},"reauthenticationRequired":{"type":"boolean"}},"required":["status","backupCodes","reauthenticationRequired"],"additionalProperties":false},"FactorMutationInput":{"type":"object","properties":{"stepUp":{"$ref":"#/components/schemas/Objects_1"},"factorId":{"$ref":"#/components/schemas/Uuid"}},"required":["stepUp","factorId"],"additionalProperties":false},"RecoveryCodeRegeneration":{"type":"object","properties":{"revision":{"type":"integer","allOf":[{"minimum":0}]},"backupCodes":{"$ref":"#/components/schemas/RecoveryCodes"}},"required":["revision","backupCodes"],"additionalProperties":false},"InitialPasswordInput":{"type":"object","properties":{"stepUp":{"$ref":"#/components/schemas/Objects_1"},"enablePolicy":{"type":"boolean"},"newPassword":{"type":"string","allOf":[{"minLength":12},{"maxLength":128}]}},"required":["stepUp","enablePolicy","newPassword"],"additionalProperties":false},"PasskeyRegistrationOptions":{"type":"object","properties":{"revision":{"type":"integer","allOf":[{"minimum":0}]},"authorizationIdentifier":{"type":"string","allOf":[{"pattern":"^kai-factor-enrollment-[A-Za-z0-9_-]{32}$"}]},"publicKey":{"type":"object","properties":{"challenge":{"type":"string","allOf":[{"minLength":1}]},"rp":{"type":"object","properties":{"name":{"type":"string","allOf":[{"minLength":1}]},"id":{"type":"string","allOf":[{"minLength":1}]}},"required":["name","id"],"additionalProperties":false},"user":{"type":"object","properties":{"id":{"type":"string","allOf":[{"minLength":1}]},"name":{"type":"string","allOf":[{"minLength":1}]},"displayName":{"type":"string","allOf":[{"minLength":1}]}},"required":["id","name","displayName"],"additionalProperties":false},"pubKeyCredParams":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["public-key"]},"alg":{"type":"integer"}},"required":["type","alg"],"additionalProperties":false}},"timeout":{"type":"number"},"attestation":{"type":"string","enum":["none"]},"excludeCredentials":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","allOf":[{"minLength":1}]},"type":{"type":"string","enum":["public-key"]}},"required":["id","type"],"additionalProperties":false}},"authenticatorSelection":{"type":"object","properties":{"residentKey":{"type":"string","enum":["preferred"]},"userVerification":{"type":"string","enum":["required"]}},"required":["residentKey","userVerification"],"additionalProperties":false}},"required":["challenge","rp","user","pubKeyCredParams","timeout","attestation","excludeCredentials","authenticatorSelection"],"additionalProperties":false}},"required":["revision","authorizationIdentifier","publicKey"],"additionalProperties":false},"Union_1":{"anyOf":[{"type":"string","allOf":[{"minLength":1}]},{"type":"null"}]},"PasskeyRegistrationInput":{"type":"object","properties":{"expectedRevision":{"type":"integer","allOf":[{"minimum":0}]},"authorizationIdentifier":{"type":"string","allOf":[{"pattern":"^kai-factor-enrollment-[A-Za-z0-9_-]{32}$"}]},"name":{"type":"string","allOf":[{"minLength":1},{"maxLength":100}]},"response":{"type":"object","properties":{"id":{"type":"string","allOf":[{"minLength":1}]},"rawId":{"type":"string","allOf":[{"minLength":1}]},"type":{"type":"string","enum":["public-key"]},"authenticatorAttachment":{"anyOf":[{"type":"string","enum":["cross-platform","platform"]},{"type":"null"}]},"clientExtensionResults":{"type":"object"},"response":{"type":"object","properties":{"clientDataJSON":{"type":"string","allOf":[{"minLength":1}]},"attestationObject":{"type":"string","allOf":[{"minLength":1}]},"transports":{"anyOf":[{"type":"array","items":{"type":"string","enum":["ble","cable","hybrid","internal","nfc","smart-card","usb"]}},{"type":"null"}]},"publicKeyAlgorithm":{"anyOf":[{"type":"integer"},{"type":"null"}]},"publicKey":{"$ref":"#/components/schemas/Union_1"},"authenticatorData":{"$ref":"#/components/schemas/Union_1"}},"required":["clientDataJSON","attestationObject"],"additionalProperties":false}},"required":["id","rawId","type","clientExtensionResults","response"],"additionalProperties":false}},"required":["expectedRevision","authorizationIdentifier","name","response"],"additionalProperties":false},"AuthenticatorDevice":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Uuid"},"name":{"type":"string"},"status":{"type":"string","enum":["active","revoked"]},"createdAt":{"type":"string","allOf":[{"pattern":"^\\d{4}-\\d{2}-\\d{2}T"}]},"lastUsedAt":{"anyOf":[{"type":"string","allOf":[{"pattern":"^\\d{4}-\\d{2}-\\d{2}T"}]},{"type":"null"}]}},"required":["id","name","status","createdAt","lastUsedAt"],"additionalProperties":false},"AuthenticatorMe":{"type":"object","properties":{"user":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Uuid"},"name":{"anyOf":[{"type":"string"},{"type":"null"}]},"email":{"anyOf":[{"type":"string"},{"type":"null"}]},"image":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["id","name","email","image"],"additionalProperties":false},"devices":{"type":"array","items":{"$ref":"#/components/schemas/AuthenticatorDevice"}},"capabilities":{"type":"object","properties":{"phoneApproval":{"type":"boolean"},"qrLogin":{"type":"boolean"},"totpEnrollment":{"type":"boolean"},"pushDelivery":{"type":"string","enum":["polling"]}},"required":["phoneApproval","qrLogin","totpEnrollment","pushDelivery"],"additionalProperties":false}},"required":["user","devices","capabilities"],"additionalProperties":false},"BeginAuthenticatorEnrollment":{"type":"object","properties":{"name":{"type":"string","allOf":[{"minLength":1},{"maxLength":80}]},"publicKeySpkiDERBase64":{"type":"string","allOf":[{"minLength":4},{"maxLength":8192},{"pattern":"^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$"}]},"callbackURI":{"type":"string","allOf":[{"maxLength":2048}]}},"required":["name","publicKeySpkiDERBase64","callbackURI"],"additionalProperties":false},"AuthenticatorEnrollment":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Uuid"},"deviceId":{"$ref":"#/components/schemas/Uuid"},"expiresAt":{"type":"string","allOf":[{"pattern":"^\\d{4}-\\d{2}-\\d{2}T"}]},"payloadBase64":{"type":"string","allOf":[{"minLength":4},{"maxLength":8192},{"pattern":"^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$"}]},"verificationURI":{"type":"string"},"status":{"type":"string","enum":["pending","authorized","consumed"]}},"required":["id","deviceId","expiresAt","payloadBase64","verificationURI","status"],"additionalProperties":false},"AuthenticatorSignature":{"type":"object","properties":{"signatureDERBase64":{"type":"string","allOf":[{"minLength":4},{"maxLength":8192},{"pattern":"^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$"}]}},"required":["signatureDERBase64"],"additionalProperties":false},"AuthenticatorRequest":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Uuid"},"referenceID":{"type":"string","allOf":[{"pattern":"^[a-z0-9]{6}$"}]},"kind":{"type":"string","enum":["phone","qr"]},"issuedAt":{"type":"string","allOf":[{"pattern":"^\\d{4}-\\d{2}-\\d{2}T"}]},"expiresAt":{"type":"string","allOf":[{"pattern":"^\\d{4}-\\d{2}-\\d{2}T"}]},"origin":{"type":"string"},"application":{"type":"string"},"deviceName":{"type":"string"},"browser":{"anyOf":[{"type":"string"},{"type":"null"}]},"approvePayloadBase64":{"type":"string","allOf":[{"minLength":4},{"maxLength":8192},{"pattern":"^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$"}]},"denyPayloadBase64":{"type":"string","allOf":[{"minLength":4},{"maxLength":8192},{"pattern":"^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$"}]}},"required":["id","referenceID","kind","issuedAt","expiresAt","origin","application","deviceName","browser","approvePayloadBase64","denyPayloadBase64"],"additionalProperties":false},"BeginAuthenticatorScan":{"type":"object","properties":{"code":{"type":"string","allOf":[{"minLength":10},{"maxLength":2048}]}},"required":["code"],"additionalProperties":false},"AuthenticatorScanSession":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Uuid"},"requestId":{"$ref":"#/components/schemas/Uuid"},"expiresAt":{"type":"string","allOf":[{"pattern":"^\\d{4}-\\d{2}-\\d{2}T"}]},"requiredFrames":{"type":"number","enum":[5]},"framePoolSize":{"type":"number","enum":[10]},"frameIntervalMs":{"type":"number","enum":[33]},"frameTokenHashes":{"type":"array","items":{"type":"string","allOf":[{"pattern":"^[A-Za-z0-9_-]{43}$"}]},"allOf":[{"minItems":10},{"maxItems":10}]}},"required":["id","requestId","expiresAt","requiredFrames","framePoolSize","frameIntervalMs","frameTokenHashes"],"additionalProperties":false},"AuthenticatorScan":{"type":"object","properties":{"code":{"type":"string","allOf":[{"minLength":10},{"maxLength":2048}]},"scanId":{"$ref":"#/components/schemas/Uuid"},"frames":{"type":"array","items":{"type":"string","allOf":[{"pattern":"^[A-Za-z0-9_-]{22}$"}]},"allOf":[{"minItems":5},{"maxItems":5}]}},"required":["code","scanId","frames"],"additionalProperties":false},"AuthenticatorDecision":{"type":"object","properties":{"decision":{"type":"string","enum":["approve","deny"]},"signatureDERBase64":{"type":"string","allOf":[{"minLength":4},{"maxLength":8192},{"pattern":"^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$"}]}},"required":["decision","signatureDERBase64"],"additionalProperties":false},"AuthenticatorDecisionResult":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Uuid"},"status":{"type":"string","enum":["approved","denied"]}},"required":["id","status"],"additionalProperties":false},"AuthenticatorDeviceList":{"type":"object","properties":{"devices":{"type":"array","items":{"$ref":"#/components/schemas/AuthenticatorDevice"}}},"required":["devices"],"additionalProperties":false},"RevokeAuthenticatorDevice":{"type":"object","properties":{"stepUp":{"type":"object","properties":{"transactionId":{"$ref":"#/components/schemas/Uuid"},"expectedRevision":{"type":"integer","allOf":[{"minimum":0}]},"expectedFactorRevision":{"type":"integer","allOf":[{"minimum":0}]},"expectedPolicyRevision":{"type":"integer","allOf":[{"minimum":0}]},"expectedTransactionRevision":{"type":"integer","allOf":[{"minimum":0}]}},"required":["transactionId","expectedRevision","expectedFactorRevision","expectedPolicyRevision","expectedTransactionRevision"],"additionalProperties":false}},"required":["stepUp"],"additionalProperties":false},"RevokeAuthenticatorDeviceResult":{"type":"object","properties":{"revoked":{"type":"boolean","enum":[true]},"reauthenticationRequired":{"type":"boolean","enum":[true]}},"required":["revoked","reauthenticationRequired"],"additionalProperties":false},"AuthenticatorEnrollmentReview":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Uuid"},"name":{"type":"string"},"publicKeyFingerprint":{"type":"string"},"expiresAt":{"type":"string","allOf":[{"pattern":"^\\d{4}-\\d{2}-\\d{2}T"}]},"status":{"type":"string","enum":["pending","authorized","consumed"]},"completionURI":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["id","name","publicKeyFingerprint","expiresAt","status","completionURI"],"additionalProperties":false},"AuthorizeAuthenticatorEnrollment":{"type":"object","properties":{"stepUp":{"type":"object","properties":{"transactionId":{"$ref":"#/components/schemas/Uuid"},"expectedRevision":{"type":"integer","allOf":[{"minimum":0}]},"expectedFactorRevision":{"type":"integer","allOf":[{"minimum":0}]},"expectedPolicyRevision":{"type":"integer","allOf":[{"minimum":0}]},"expectedTransactionRevision":{"type":"integer","allOf":[{"minimum":0}]}},"required":["transactionId","expectedRevision","expectedFactorRevision","expectedPolicyRevision","expectedTransactionRevision"],"additionalProperties":false}},"required":["stepUp"],"additionalProperties":false},"PersonalAccountProfile":{"type":"object","properties":{"email":{"anyOf":[{"type":"string","allOf":[{"pattern":"^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$","format":"email"}]},{"type":"null"}]},"emailVerified":{"type":"boolean"},"phoneNumber":{"anyOf":[{"type":"string","allOf":[{"pattern":"^\\+[1-9][0-9]{7,14}$"}]},{"type":"null"}]},"phoneNumberVerified":{"type":"boolean"},"createdAt":{"type":"string","allOf":[{"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$","format":"date-time"}]},"linkedProviders":{"type":"array","items":{"type":"string","allOf":[{"minLength":1}]}}},"required":["email","emailVerified","phoneNumber","phoneNumberVerified","createdAt","linkedProviders"],"additionalProperties":false},"PersonalAccountOverview":{"type":"object","properties":{"revision":{"type":"integer","allOf":[{"minimum":0}]},"factorRevision":{"type":"integer","allOf":[{"minimum":0}]},"policyRevision":{"type":"integer","allOf":[{"minimum":0}]},"hasPassword":{"type":"boolean"},"channels":{"type":"array","items":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Uuid"},"kind":{"type":"string","enum":["email","phone"]},"maskedDestination":{"type":"string","allOf":[{"minLength":1}]},"verified":{"type":"boolean"},"loginEnabled":{"type":"boolean"}},"required":["id","kind","maskedDestination","verified","loginEnabled"],"additionalProperties":false}}},"required":["revision","factorRevision","policyRevision","hasPassword","channels"],"additionalProperties":false},"AccountSession":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Uuid"},"current":{"type":"boolean"},"createdAt":{"type":"string","allOf":[{"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$","format":"date-time"}]},"expiresAt":{"type":"string","allOf":[{"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$","format":"date-time"}]},"ipAddress":{"anyOf":[{"type":"string"},{"type":"null"}]},"userAgent":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["id","current","createdAt","expiresAt","ipAddress","userAgent"],"additionalProperties":false},"AccountSessionList":{"type":"array","items":{"$ref":"#/components/schemas/AccountSession"}},"SessionRevocation":{"type":"object","properties":{"revoked":{"type":"integer","allOf":[{"minimum":0}]}},"required":["revoked"],"additionalProperties":false},"CompleteSessionVerification":{"type":"object","properties":{"expectedRevision":{"type":"integer","allOf":[{"minimum":0}]},"expectedFactorRevision":{"type":"integer","allOf":[{"minimum":0}]},"expectedPolicyRevision":{"type":"integer","allOf":[{"minimum":0}]},"expectedTransactionRevision":{"type":"integer","allOf":[{"minimum":0}]},"transactionId":{"$ref":"#/components/schemas/Uuid"}},"required":["expectedRevision","expectedFactorRevision","expectedPolicyRevision","expectedTransactionRevision","transactionId"],"additionalProperties":false},"SessionVerificationComplete":{"type":"object","properties":{"verified":{"type":"boolean","enum":[true]},"expiresAt":{"type":"string","allOf":[{"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$","format":"date-time"}]}},"required":["verified","expiresAt"],"additionalProperties":false},"StartPersonalStepUp":{"anyOf":[{"type":"object","properties":{"expectedRevision":{"type":"integer","allOf":[{"minimum":0}]},"expectedFactorRevision":{"type":"integer","allOf":[{"minimum":0}]},"expectedPolicyRevision":{"type":"integer","allOf":[{"minimum":0}]},"action":{"type":"string","enum":["session_management"]}},"required":["expectedRevision","expectedFactorRevision","expectedPolicyRevision","action"],"additionalProperties":false},{"type":"object","properties":{"expectedRevision":{"type":"integer","allOf":[{"minimum":0}]},"expectedFactorRevision":{"type":"integer","allOf":[{"minimum":0}]},"expectedPolicyRevision":{"type":"integer","allOf":[{"minimum":0}]},"action":{"type":"string","enum":["email_change"]},"newEmail":{"type":"string","allOf":[{"pattern":"^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$","format":"email"}]}},"required":["expectedRevision","expectedFactorRevision","expectedPolicyRevision","action","newEmail"],"additionalProperties":false},{"type":"object","properties":{"expectedRevision":{"type":"integer","allOf":[{"minimum":0}]},"expectedFactorRevision":{"type":"integer","allOf":[{"minimum":0}]},"expectedPolicyRevision":{"type":"integer","allOf":[{"minimum":0}]},"action":{"type":"string","enum":["phone_change"]},"newPhone":{"type":"string","allOf":[{"pattern":"^\\+[1-9][0-9]{7,14}$"}]}},"required":["expectedRevision","expectedFactorRevision","expectedPolicyRevision","action","newPhone"],"additionalProperties":false},{"type":"object","properties":{"expectedRevision":{"type":"integer","allOf":[{"minimum":0}]},"expectedFactorRevision":{"type":"integer","allOf":[{"minimum":0}]},"expectedPolicyRevision":{"type":"integer","allOf":[{"minimum":0}]},"action":{"type":"string","enum":["password_change"]},"enablePolicy":{"type":"boolean"}},"required":["expectedRevision","expectedFactorRevision","expectedPolicyRevision","action","enablePolicy"],"additionalProperties":false},{"type":"object","properties":{"expectedRevision":{"type":"integer","allOf":[{"minimum":0}]},"expectedFactorRevision":{"type":"integer","allOf":[{"minimum":0}]},"expectedPolicyRevision":{"type":"integer","allOf":[{"minimum":0}]},"action":{"type":"string","enum":["factor_enrollment"]},"enrollmentPurpose":{"type":"string","enum":["totp","passkey"]},"enablePolicy":{"type":"boolean"}},"required":["expectedRevision","expectedFactorRevision","expectedPolicyRevision","action","enrollmentPurpose","enablePolicy"],"additionalProperties":false},{"type":"object","properties":{"expectedRevision":{"type":"integer","allOf":[{"minimum":0}]},"expectedFactorRevision":{"type":"integer","allOf":[{"minimum":0}]},"expectedPolicyRevision":{"type":"integer","allOf":[{"minimum":0}]},"action":{"type":"string","enum":["factor_enrollment"]},"enrollmentPurpose":{"type":"string","enum":["authenticator"]},"enablePolicy":{"type":"boolean","enum":[false]},"resourceId":{"$ref":"#/components/schemas/Uuid"}},"required":["expectedRevision","expectedFactorRevision","expectedPolicyRevision","action","enrollmentPurpose","enablePolicy","resourceId"],"additionalProperties":false},{"type":"object","properties":{"expectedRevision":{"type":"integer","allOf":[{"minimum":0}]},"expectedFactorRevision":{"type":"integer","allOf":[{"minimum":0}]},"expectedPolicyRevision":{"type":"integer","allOf":[{"minimum":0}]},"action":{"type":"string","enum":["factor_management"]},"factorManagementPurpose":{"type":"string","enum":["two_step_policy"]},"enablePolicy":{"type":"boolean"}},"required":["expectedRevision","expectedFactorRevision","expectedPolicyRevision","action","factorManagementPurpose","enablePolicy"],"additionalProperties":false},{"type":"object","properties":{"expectedRevision":{"type":"integer","allOf":[{"minimum":0}]},"expectedFactorRevision":{"type":"integer","allOf":[{"minimum":0}]},"expectedPolicyRevision":{"type":"integer","allOf":[{"minimum":0}]},"action":{"type":"string","enum":["factor_management"]},"factorManagementPurpose":{"type":"string","enum":["totp_remove","passkey_remove","authenticator_remove","recovery_codes_rotate"]},"resourceId":{"$ref":"#/components/schemas/Uuid"}},"required":["expectedRevision","expectedFactorRevision","expectedPolicyRevision","action","factorManagementPurpose","resourceId"],"additionalProperties":false}]},"PersonalStepUpTransaction":{"type":"object","properties":{"transactionId":{"$ref":"#/components/schemas/Uuid"},"transactionRevision":{"type":"integer","allOf":[{"minimum":0}]},"revision":{"type":"integer","allOf":[{"minimum":0}]},"factorRevision":{"type":"integer","allOf":[{"minimum":0}]},"policyRevision":{"type":"integer","allOf":[{"minimum":0}]},"expiresAt":{"type":"string"},"state":{"type":"string","enum":["proof_required","ready"]},"allowedMethods":{"type":"array","items":{"type":"string","enum":["password","totp","email_otp","sms_otp","passkey"]}}},"required":["transactionId","transactionRevision","revision","factorRevision","policyRevision","expiresAt","state","allowedMethods"],"additionalProperties":false},"SubmitPersonalStepUp":{"anyOf":[{"type":"object","properties":{"expectedRevision":{"type":"integer","allOf":[{"minimum":0}]},"expectedFactorRevision":{"type":"integer","allOf":[{"minimum":0}]},"expectedPolicyRevision":{"type":"integer","allOf":[{"minimum":0}]},"expectedTransactionRevision":{"type":"integer","allOf":[{"minimum":0}]},"method":{"type":"string","enum":["password"]},"proof":{"type":"string","allOf":[{"minLength":1},{"maxLength":128}]}},"required":["expectedRevision","expectedFactorRevision","expectedPolicyRevision","expectedTransactionRevision","method","proof"],"additionalProperties":false},{"type":"object","properties":{"expectedRevision":{"type":"integer","allOf":[{"minimum":0}]},"expectedFactorRevision":{"type":"integer","allOf":[{"minimum":0}]},"expectedPolicyRevision":{"type":"integer","allOf":[{"minimum":0}]},"expectedTransactionRevision":{"type":"integer","allOf":[{"minimum":0}]},"method":{"type":"string","enum":["totp"]},"proof":{"type":"string","allOf":[{"pattern":"^[0-9]{6}$"}]}},"required":["expectedRevision","expectedFactorRevision","expectedPolicyRevision","expectedTransactionRevision","method","proof"],"additionalProperties":false}]},"RequestPersonalStepUpOtp":{"type":"object","properties":{"expectedRevision":{"type":"integer","allOf":[{"minimum":0}]},"expectedFactorRevision":{"type":"integer","allOf":[{"minimum":0}]},"expectedPolicyRevision":{"type":"integer","allOf":[{"minimum":0}]},"expectedTransactionRevision":{"type":"integer","allOf":[{"minimum":0}]},"method":{"type":"string","enum":["email_otp","sms_otp"]},"contactId":{"$ref":"#/components/schemas/Uuid"}},"required":["expectedRevision","expectedFactorRevision","expectedPolicyRevision","expectedTransactionRevision","method","contactId"],"additionalProperties":false},"VerifyPersonalStepUpOtp":{"type":"object","properties":{"expectedRevision":{"type":"integer","allOf":[{"minimum":0}]},"expectedFactorRevision":{"type":"integer","allOf":[{"minimum":0}]},"expectedPolicyRevision":{"type":"integer","allOf":[{"minimum":0}]},"expectedTransactionRevision":{"type":"integer","allOf":[{"minimum":0}]},"code":{"type":"string","allOf":[{"pattern":"^[0-9]{6}$"}]}},"required":["expectedRevision","expectedFactorRevision","expectedPolicyRevision","expectedTransactionRevision","code"],"additionalProperties":false},"WebAuthnAuthenticationOptions":{"type":"object","properties":{"challenge":{"type":"string","allOf":[{"pattern":"^[A-Za-z0-9_-]+$"}]},"timeout":{"anyOf":[{"type":"integer","allOf":[{"minimum":0}]},{"type":"null"}]},"rpId":{"$ref":"#/components/schemas/Union_1"},"allowCredentials":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","allOf":[{"pattern":"^[A-Za-z0-9_-]+$"}]},"type":{"type":"string","enum":["public-key"]},"transports":{"anyOf":[{"type":"array","items":{"type":"string","enum":["ble","cable","hybrid","internal","nfc","smart-card","usb"]}},{"type":"null"}]}},"required":["id","type"],"additionalProperties":false}},"userVerification":{"type":"string","enum":["required"]},"extensions":{"anyOf":[{"type":"object"},{"type":"null"}]}},"required":["challenge","allowCredentials","userVerification"],"additionalProperties":false},"PersonalPasskeyOptions":{"type":"object","properties":{"transactionRevision":{"type":"integer","allOf":[{"minimum":0}]},"publicKey":{"$ref":"#/components/schemas/WebAuthnAuthenticationOptions"}},"required":["transactionRevision","publicKey"],"additionalProperties":false},"WebAuthnAuthenticationResponse":{"type":"object","properties":{"id":{"type":"string","allOf":[{"pattern":"^[A-Za-z0-9_-]+$"}]},"rawId":{"type":"string","allOf":[{"pattern":"^[A-Za-z0-9_-]+$"}]},"type":{"type":"string","enum":["public-key"]},"authenticatorAttachment":{"anyOf":[{"type":"string","enum":["cross-platform","platform"]},{"type":"null"}]},"clientExtensionResults":{"type":"object"},"response":{"type":"object","properties":{"clientDataJSON":{"type":"string","allOf":[{"pattern":"^[A-Za-z0-9_-]+$"}]},"authenticatorData":{"type":"string","allOf":[{"pattern":"^[A-Za-z0-9_-]+$"}]},"signature":{"type":"string","allOf":[{"pattern":"^[A-Za-z0-9_-]+$"}]},"userHandle":{"anyOf":[{"type":"string","allOf":[{"pattern":"^[A-Za-z0-9_-]+$"}]},{"type":"null"}]}},"required":["clientDataJSON","authenticatorData","signature"],"additionalProperties":false}},"required":["id","rawId","type","clientExtensionResults","response"],"additionalProperties":false},"SubmitPersonalStepUpPasskey":{"type":"object","properties":{"expectedRevision":{"type":"integer","allOf":[{"minimum":0}]},"expectedFactorRevision":{"type":"integer","allOf":[{"minimum":0}]},"expectedPolicyRevision":{"type":"integer","allOf":[{"minimum":0}]},"expectedTransactionRevision":{"type":"integer","allOf":[{"minimum":0}]},"passkeyResponse":{"$ref":"#/components/schemas/WebAuthnAuthenticationResponse"}},"required":["expectedRevision","expectedFactorRevision","expectedPolicyRevision","expectedTransactionRevision","passkeyResponse"],"additionalProperties":false},"CancelPersonalStepUp":{"type":"object","properties":{"expectedRevision":{"type":"integer","allOf":[{"minimum":0}]},"expectedFactorRevision":{"type":"integer","allOf":[{"minimum":0}]},"expectedPolicyRevision":{"type":"integer","allOf":[{"minimum":0}]},"expectedTransactionRevision":{"type":"integer","allOf":[{"minimum":0}]}},"required":["expectedRevision","expectedFactorRevision","expectedPolicyRevision","expectedTransactionRevision"],"additionalProperties":false},"Objects_2":{"type":"object","properties":{"cancelled":{"type":"boolean","enum":[true]}},"required":["cancelled"],"additionalProperties":false},"ChangePersonalPassword":{"type":"object","properties":{"expectedRevision":{"type":"integer","allOf":[{"minimum":0}]},"expectedFactorRevision":{"type":"integer","allOf":[{"minimum":0}]},"expectedPolicyRevision":{"type":"integer","allOf":[{"minimum":0}]},"expectedTransactionRevision":{"type":"integer","allOf":[{"minimum":0}]},"transactionId":{"$ref":"#/components/schemas/Uuid"},"newPassword":{"type":"string","allOf":[{"minLength":12},{"maxLength":128}]}},"required":["expectedRevision","expectedFactorRevision","expectedPolicyRevision","expectedTransactionRevision","transactionId","newPassword"],"additionalProperties":false},"RequestEmailChange":{"type":"object","properties":{"stepUp":{"type":"object","properties":{"expectedRevision":{"type":"integer","allOf":[{"minimum":0}]},"expectedFactorRevision":{"type":"integer","allOf":[{"minimum":0}]},"expectedPolicyRevision":{"type":"integer","allOf":[{"minimum":0}]},"expectedTransactionRevision":{"type":"integer","allOf":[{"minimum":0}]},"transactionId":{"$ref":"#/components/schemas/Uuid"}},"required":["expectedRevision","expectedFactorRevision","expectedPolicyRevision","expectedTransactionRevision","transactionId"],"additionalProperties":false}},"required":["stepUp"],"additionalProperties":false},"EmailChangeChallenge":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Uuid"},"revision":{"type":"integer","allOf":[{"minimum":0}]},"newEmail":{"type":"string","allOf":[{"pattern":"^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$","format":"email"}]},"expiresAt":{"type":"string","allOf":[{"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$","format":"date-time"}]},"resendAfter":{"type":"string","allOf":[{"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$","format":"date-time"}]}},"required":["id","revision","newEmail","expiresAt","resendAfter"],"additionalProperties":false},"ResendEmailChange":{"type":"object","properties":{"expectedRevision":{"type":"integer","allOf":[{"minimum":0}]}},"required":["expectedRevision"],"additionalProperties":false},"ConfirmEmailChange":{"type":"object","properties":{"expectedRevision":{"type":"integer","allOf":[{"minimum":0}]},"code":{"type":"string","allOf":[{"pattern":"^[0-9]{6}$"}]}},"required":["expectedRevision","code"],"additionalProperties":false},"EmailChangeResult":{"type":"object","properties":{"email":{"type":"string","allOf":[{"pattern":"^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$","format":"email"}]},"reauthenticationRequired":{"type":"boolean","enum":[true]}},"required":["email","reauthenticationRequired"],"additionalProperties":false},"CancelEmailChange":{"type":"object","properties":{"expectedRevision":{"type":"integer","allOf":[{"minimum":0}]}},"required":["expectedRevision"],"additionalProperties":false},"RequestPhoneChange":{"type":"object","properties":{"stepUp":{"type":"object","properties":{"expectedRevision":{"type":"integer","allOf":[{"minimum":0}]},"expectedFactorRevision":{"type":"integer","allOf":[{"minimum":0}]},"expectedPolicyRevision":{"type":"integer","allOf":[{"minimum":0}]},"expectedTransactionRevision":{"type":"integer","allOf":[{"minimum":0}]},"transactionId":{"$ref":"#/components/schemas/Uuid"}},"required":["expectedRevision","expectedFactorRevision","expectedPolicyRevision","expectedTransactionRevision","transactionId"],"additionalProperties":false}},"required":["stepUp"],"additionalProperties":false},"PhoneChangeChallenge":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Uuid"},"revision":{"type":"integer","allOf":[{"minimum":0}]},"newPhone":{"type":"string","allOf":[{"pattern":"^\\+[1-9][0-9]{7,14}$"}]},"expiresAt":{"type":"string","allOf":[{"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$","format":"date-time"}]},"resendAfter":{"type":"string","allOf":[{"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$","format":"date-time"}]}},"required":["id","revision","newPhone","expiresAt","resendAfter"],"additionalProperties":false},"ResendPhoneChange":{"type":"object","properties":{"expectedRevision":{"type":"integer","allOf":[{"minimum":0}]}},"required":["expectedRevision"],"additionalProperties":false},"ConfirmPhoneChange":{"type":"object","properties":{"expectedRevision":{"type":"integer","allOf":[{"minimum":0}]},"code":{"type":"string","allOf":[{"pattern":"^[0-9]{6}$"}]}},"required":["expectedRevision","code"],"additionalProperties":false},"PhoneChangeResult":{"type":"object","properties":{"phoneNumber":{"type":"string","allOf":[{"pattern":"^\\+[1-9][0-9]{7,14}$"}]},"reauthenticationRequired":{"type":"boolean","enum":[true]}},"required":["phoneNumber","reauthenticationRequired"],"additionalProperties":false},"CancelPhoneChange":{"type":"object","properties":{"expectedRevision":{"type":"integer","allOf":[{"minimum":0}]}},"required":["expectedRevision"],"additionalProperties":false},"CreateOrganization":{"type":"object","properties":{"name":{"type":"string","allOf":[{"pattern":"^\\S[\\s\\S]*\\S$|^\\S$|^$"},{"minLength":1},{"maxLength":120}]},"slug":{"type":"string","allOf":[{"pattern":"^\\S[\\s\\S]*\\S$|^\\S$|^$"},{"minLength":2},{"maxLength":80},{"pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$"}]}},"required":["name","slug"],"additionalProperties":false},"OrganizationKybStatus":{"type":"string","enum":["verified","unverified"]},"OrganizationView":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Uuid"},"name":{"type":"string","allOf":[{"pattern":"^\\S[\\s\\S]*\\S$|^\\S$|^$"},{"minLength":1},{"maxLength":120}]},"slug":{"type":"string","allOf":[{"pattern":"^\\S[\\s\\S]*\\S$|^\\S$|^$"},{"minLength":2},{"maxLength":80},{"pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$"}]},"status":{"$ref":"#/components/schemas/OrganizationStatus"},"role":{"$ref":"#/components/schemas/OrganizationRole"},"createdAt":{"type":"string","format":"date-time"},"kybStatus":{"$ref":"#/components/schemas/OrganizationKybStatus"},"kybVerifiedName":{"anyOf":[{"type":"string","allOf":[{"pattern":"^\\S[\\s\\S]*\\S$|^\\S$|^$"},{"minLength":1},{"maxLength":120}]},{"type":"null"}]},"kybRevision":{"type":"integer","allOf":[{"exclusiveMinimum":0}]},"canViewAnalytics":{"type":"boolean"},"accessVersion":{"type":"integer","allOf":[{"exclusiveMinimum":0}]},"suspendedAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"deletedAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"updatedAt":{"type":"string","format":"date-time"}},"required":["id","name","slug","status","role","createdAt","kybStatus","kybVerifiedName","kybRevision","canViewAnalytics","accessVersion","suspendedAt","deletedAt","updatedAt"],"additionalProperties":false},"OrganizationView_1":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Uuid"},"name":{"type":"string","allOf":[{"pattern":"^\\S[\\s\\S]*\\S$|^\\S$|^$"},{"minLength":1},{"maxLength":120}]},"slug":{"type":"string","allOf":[{"pattern":"^\\S[\\s\\S]*\\S$|^\\S$|^$"},{"minLength":2},{"maxLength":80},{"pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$"}]},"status":{"$ref":"#/components/schemas/OrganizationStatus"},"role":{"$ref":"#/components/schemas/OrganizationRole"},"createdAt":{"type":"string","format":"date-time"},"kybStatus":{"$ref":"#/components/schemas/OrganizationKybStatus"},"kybVerifiedName":{"anyOf":[{"type":"string","allOf":[{"pattern":"^\\S[\\s\\S]*\\S$|^\\S$|^$"},{"minLength":1},{"maxLength":120}]},{"type":"null"}]},"kybRevision":{"type":"integer","allOf":[{"exclusiveMinimum":0}]},"canViewAnalytics":{"type":"boolean"},"accessVersion":{"type":"integer","allOf":[{"exclusiveMinimum":0}]},"suspendedAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"deletedAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"updatedAt":{"type":"string","format":"date-time"}},"required":["id","name","slug","status","role","createdAt","kybStatus","kybVerifiedName","kybRevision","canViewAnalytics","accessVersion","suspendedAt","deletedAt","updatedAt"],"additionalProperties":false},"Union_2":{"anyOf":[{"type":"string","allOf":[{"pattern":"^\\S[\\s\\S]*\\S$|^\\S$|^$"},{"minLength":1},{"maxLength":120}]},{"type":"null"}]},"UpdateOrganization":{"type":"object","properties":{"name":{"$ref":"#/components/schemas/Union_2"},"slug":{"anyOf":[{"type":"string","allOf":[{"pattern":"^\\S[\\s\\S]*\\S$|^\\S$|^$"},{"minLength":2},{"maxLength":80},{"pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$"}]},{"type":"null"}]}},"additionalProperties":false},"AuthenticationFactorId":{"type":"string","enum":["password","email_otp","sms_otp","totp","passkey","authenticator"]},"AllowedAuthenticationFactorList":{"type":"array","items":{"$ref":"#/components/schemas/AuthenticationFactorId"}},"SessionAbsoluteMinutes":{"type":"integer"},"SessionIdleMinutes":{"type":"integer"},"GracePeriodHours":{"type":"integer"},"OrganizationRecoveryMode":{"type":"string","enum":["self_service","admin_assisted"]},"OrganizationSecurityPolicyView":{"type":"object","properties":{"organizationId":{"$ref":"#/components/schemas/Uuid"},"requireTwoStepForAdmins":{"type":"boolean"},"requireTwoStepForAll":{"type":"boolean"},"allowedFactors":{"$ref":"#/components/schemas/AllowedAuthenticationFactorList"},"sessionAbsoluteMinutes":{"$ref":"#/components/schemas/SessionAbsoluteMinutes"},"sessionIdleMinutes":{"$ref":"#/components/schemas/SessionIdleMinutes"},"gracePeriodHours":{"$ref":"#/components/schemas/GracePeriodHours"},"recoveryMode":{"$ref":"#/components/schemas/OrganizationRecoveryMode"},"organizationPolicyRevision":{"type":"integer","allOf":[{"exclusiveMinimum":0}]},"enforcementStartsAt":{"type":"string","format":"date-time"},"updatedByUserId":{"anyOf":[{"$ref":"#/components/schemas/Uuid"},{"type":"null"}]},"updatedAt":{"type":"string","format":"date-time"}},"required":["organizationId","requireTwoStepForAdmins","requireTwoStepForAll","allowedFactors","sessionAbsoluteMinutes","sessionIdleMinutes","gracePeriodHours","recoveryMode","organizationPolicyRevision","enforcementStartsAt","updatedByUserId","updatedAt"],"additionalProperties":false},"ManagementRevision":{"type":"integer","allOf":[{"minimum":0}]},"EnterpriseManagementStepUpProof":{"type":"object","properties":{"transactionId":{"$ref":"#/components/schemas/Uuid"},"expectedTransactionRevision":{"$ref":"#/components/schemas/ManagementRevision"},"expectedRevision":{"$ref":"#/components/schemas/ManagementRevision"},"expectedFactorRevision":{"$ref":"#/components/schemas/ManagementRevision"},"expectedPolicyRevision":{"$ref":"#/components/schemas/ManagementRevision"}},"required":["transactionId","expectedTransactionRevision","expectedRevision","expectedFactorRevision","expectedPolicyRevision"],"additionalProperties":false},"OptionalBoolean":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"UpdateOrganizationSecurityPolicy":{"type":"object","properties":{"stepUp":{"$ref":"#/components/schemas/EnterpriseManagementStepUpProof"},"expectedRevision":{"type":"integer","allOf":[{"exclusiveMinimum":0}]},"requireTwoStepForAdmins":{"$ref":"#/components/schemas/OptionalBoolean"},"requireTwoStepForAll":{"$ref":"#/components/schemas/OptionalBoolean"},"allowedFactors":{"anyOf":[{"$ref":"#/components/schemas/AllowedAuthenticationFactorList"},{"type":"null"}]},"sessionAbsoluteMinutes":{"anyOf":[{"$ref":"#/components/schemas/SessionAbsoluteMinutes"},{"type":"null"}]},"sessionIdleMinutes":{"anyOf":[{"$ref":"#/components/schemas/SessionIdleMinutes"},{"type":"null"}]},"gracePeriodHours":{"anyOf":[{"$ref":"#/components/schemas/GracePeriodHours"},{"type":"null"}]},"recoveryMode":{"anyOf":[{"$ref":"#/components/schemas/OrganizationRecoveryMode"},{"type":"null"}]}},"required":["stepUp","expectedRevision"],"additionalProperties":false},"MemberView":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Uuid"},"userId":{"type":"string","allOf":[{"minLength":1}]},"name":{"type":"string","allOf":[{"pattern":"^\\S[\\s\\S]*\\S$|^\\S$|^$"},{"minLength":1},{"maxLength":120}]},"email":{"type":"string","allOf":[{"pattern":"^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$","format":"email"}]},"role":{"$ref":"#/components/schemas/OrganizationRole"},"canViewAnalytics":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"}},"required":["id","userId","name","email","role","canViewAnalytics","createdAt"],"additionalProperties":false},"MemberViewList":{"type":"array","items":{"$ref":"#/components/schemas/MemberView"}},"ChangeMemberRole":{"type":"object","properties":{"role":{"$ref":"#/components/schemas/OrganizationRole"}},"required":["role"],"additionalProperties":false},"Membership":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Uuid"},"organizationId":{"$ref":"#/components/schemas/Uuid"},"userId":{"type":"string","allOf":[{"minLength":1}]},"role":{"$ref":"#/components/schemas/OrganizationRole"},"canViewAnalytics":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["id","organizationId","userId","role","canViewAnalytics","createdAt","updatedAt"],"additionalProperties":false},"UpdateMemberAnalyticsAccess":{"type":"object","properties":{"stepUp":{"$ref":"#/components/schemas/EnterpriseManagementStepUpProof"},"canViewAnalytics":{"type":"boolean"}},"required":["stepUp","canViewAnalytics"],"additionalProperties":false},"Union_3":{"anyOf":[{"type":"string","allOf":[{"pattern":"^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$","format":"email"}]},{"type":"null"}]},"Union_4":{"anyOf":[{"$ref":"#/components/schemas/Uuid"},{"type":"null"}]},"Union_5":{"anyOf":[{"type":"string","allOf":[{"pattern":"^\\S[\\s\\S]*\\S$|^\\S$|^$"},{"minLength":1},{"maxLength":120}]},{"type":"null"}]},"Union_6":{"anyOf":[{"type":"string"},{"type":"null"}]},"InvitationStatus":{"type":"string","enum":["pending","accepted","revoked","expired"]},"Union_7":{"anyOf":[{"type":"string","allOf":[{"minLength":1}]},{"type":"null"}]},"Union_8":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"InvitationPreview":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Uuid"},"organizationId":{"$ref":"#/components/schemas/Uuid"},"invitedByUserId":{"type":"string","allOf":[{"minLength":1}]},"email":{"$ref":"#/components/schemas/Union_3"},"targetUserId":{"$ref":"#/components/schemas/Union_4"},"targetName":{"$ref":"#/components/schemas/Union_5"},"targetImage":{"$ref":"#/components/schemas/Union_6"},"role":{"$ref":"#/components/schemas/OrganizationRole"},"code":{"type":"string","allOf":[{"minLength":1}]},"status":{"$ref":"#/components/schemas/InvitationStatus"},"expiresAt":{"type":"string","format":"date-time"},"acceptedByUserId":{"$ref":"#/components/schemas/Union_7"},"acceptedAt":{"$ref":"#/components/schemas/Union_8"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"inviteUrl":{"type":"string","format":"uri"},"organization":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Uuid"},"name":{"type":"string","allOf":[{"pattern":"^\\S[\\s\\S]*\\S$|^\\S$|^$"},{"minLength":1},{"maxLength":120}]},"status":{"$ref":"#/components/schemas/OrganizationStatus"}},"required":["id","name","status"],"additionalProperties":false}},"required":["id","organizationId","invitedByUserId","email","targetUserId","targetName","targetImage","role","code","status","expiresAt","acceptedByUserId","acceptedAt","createdAt","updatedAt","inviteUrl","organization"],"additionalProperties":false},"ReceivedInvitationList":{"type":"array","items":{"$ref":"#/components/schemas/InvitationPreview"}},"InvitationView":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Uuid"},"organizationId":{"$ref":"#/components/schemas/Uuid"},"invitedByUserId":{"type":"string","allOf":[{"minLength":1}]},"email":{"$ref":"#/components/schemas/Union_3"},"targetUserId":{"$ref":"#/components/schemas/Union_4"},"targetName":{"$ref":"#/components/schemas/Union_5"},"targetImage":{"$ref":"#/components/schemas/Union_6"},"role":{"$ref":"#/components/schemas/OrganizationRole"},"code":{"type":"string","allOf":[{"minLength":1}]},"status":{"$ref":"#/components/schemas/InvitationStatus"},"expiresAt":{"type":"string","format":"date-time"},"acceptedByUserId":{"$ref":"#/components/schemas/Union_7"},"acceptedAt":{"$ref":"#/components/schemas/Union_8"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"inviteUrl":{"type":"string","format":"uri"}},"required":["id","organizationId","invitedByUserId","email","targetUserId","targetName","targetImage","role","code","status","expiresAt","acceptedByUserId","acceptedAt","createdAt","updatedAt","inviteUrl"],"additionalProperties":false},"InvitationViewList":{"type":"array","items":{"$ref":"#/components/schemas/InvitationView"}},"PersonalInvitationCode":{"type":"string","allOf":[{"pattern":"^[A-Za-z0-9_-]{22}$"}]},"CreateInvitation":{"type":"object","properties":{"code":{"$ref":"#/components/schemas/PersonalInvitationCode"},"role":{"$ref":"#/components/schemas/OrganizationRole"}},"required":["code","role"],"additionalProperties":false},"InvitationView_1":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Uuid"},"organizationId":{"$ref":"#/components/schemas/Uuid"},"invitedByUserId":{"type":"string","allOf":[{"minLength":1}]},"email":{"$ref":"#/components/schemas/Union_3"},"targetUserId":{"$ref":"#/components/schemas/Union_4"},"targetName":{"$ref":"#/components/schemas/Union_5"},"targetImage":{"$ref":"#/components/schemas/Union_6"},"role":{"$ref":"#/components/schemas/OrganizationRole"},"code":{"type":"string","allOf":[{"minLength":1}]},"status":{"$ref":"#/components/schemas/InvitationStatus"},"expiresAt":{"type":"string","format":"date-time"},"acceptedByUserId":{"$ref":"#/components/schemas/Union_7"},"acceptedAt":{"$ref":"#/components/schemas/Union_8"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"inviteUrl":{"type":"string","format":"uri"}},"required":["id","organizationId","invitedByUserId","email","targetUserId","targetName","targetImage","role","code","status","expiresAt","acceptedByUserId","acceptedAt","createdAt","updatedAt","inviteUrl"],"additionalProperties":false},"ResolveInvitationCode":{"type":"object","properties":{"code":{"$ref":"#/components/schemas/PersonalInvitationCode"}},"required":["code"],"additionalProperties":false},"InvitationCodeRecipient":{"type":"object","properties":{"userId":{"$ref":"#/components/schemas/Uuid"},"name":{"type":"string","allOf":[{"pattern":"^\\S[\\s\\S]*\\S$|^\\S$|^$"},{"minLength":1},{"maxLength":120}]},"image":{"anyOf":[{"type":"string"},{"type":"null"}]},"expiresAt":{"type":"string","format":"date-time"}},"required":["userId","name","image","expiresAt"],"additionalProperties":false},"PersonalInvitationCodeStatus":{"type":"object","properties":{"active":{"type":"boolean"},"expiresAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]}},"required":["active","expiresAt"],"additionalProperties":false},"CreatePersonalInvitationCodeResult":{"type":"object","properties":{"code":{"$ref":"#/components/schemas/PersonalInvitationCode"},"expiresAt":{"type":"string","format":"date-time"}},"required":["code","expiresAt"],"additionalProperties":false},"ManagementAuditAction":{"type":"string","allOf":[{"minLength":3},{"maxLength":96},{"pattern":"^[a-z][a-z0-9]*(?:[._-][a-z0-9]+)+$"}]},"OptionalManagementAuditAction":{"anyOf":[{"$ref":"#/components/schemas/ManagementAuditAction"},{"type":"null"}]},"ManagementAuditOutcome":{"type":"string","enum":["succeeded","denied","failed"]},"OptionalManagementAuditOutcome":{"anyOf":[{"$ref":"#/components/schemas/ManagementAuditOutcome"},{"type":"null"}]},"OptionalUuid":{"anyOf":[{"$ref":"#/components/schemas/Uuid"},{"type":"null"}]},"ManagementAuditScopeType":{"type":"string","enum":["platform","organization","project","application","user"]},"ManagementAuditCursor":{"type":"string","allOf":[{"pattern":"^v1\\.([1-9][0-9]{12})\\.([0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12})$"}]},"ManagementAuditLimitEncoded":{"type":"string"},"ManagementAuditAuthority":{"type":"string","enum":["authenticated_user","platform_administrator","organization_owner","organization_administrator","organization_developer","organization_member","project_administrator","project_member","system"]},"ManagementAuditTargetType":{"type":"string","enum":["organization","member","project","application","scope","secret","platform_admin","platform_settings","user","user_disposition","organization_security_policy","invitation","resource","grant","role","environment_config","delivery_settings","recovery_request"]},"ManagementAuditChangedField":{"type":"string","enum":["status","role","scope","policy","grant","environment_config","redirect_uris","secret","client_secret","password","token","cookie","otp","recovery_codes","oauth_query","private_key","signing_key","factor_material","organization_security_policy","session_policy","allowed_factors","resource_configuration","application_configuration"]},"ManagementAuditSnapshotEncoded":{"type":"object","properties":{"attributes":{"type":"object","additionalProperties":{"anyOf":[{"type":"null"},{"type":"boolean"},{"type":"integer"},{"type":"string","allOf":[{"minLength":0},{"maxLength":2048}]},{"type":"array","items":{"type":"string","allOf":[{"minLength":0},{"maxLength":2048}]},"allOf":[{"maxItems":100}]}]}},"changedFields":{"type":"array","items":{"$ref":"#/components/schemas/ManagementAuditChangedField"}}},"required":["attributes","changedFields"],"additionalProperties":false},"AuditIdentifier":{"type":"string","allOf":[{"minLength":1},{"maxLength":128},{"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$"}]},"ManagementAuditEventEncoded":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Uuid"},"actorUserId":{"$ref":"#/components/schemas/Uuid"},"actorAuthority":{"$ref":"#/components/schemas/ManagementAuditAuthority"},"organizationId":{"anyOf":[{"$ref":"#/components/schemas/Uuid"},{"type":"null"}]},"scopeType":{"$ref":"#/components/schemas/ManagementAuditScopeType"},"scopeId":{"anyOf":[{"$ref":"#/components/schemas/Uuid"},{"type":"null"}]},"action":{"$ref":"#/components/schemas/ManagementAuditAction"},"targetType":{"$ref":"#/components/schemas/ManagementAuditTargetType"},"targetId":{"$ref":"#/components/schemas/Uuid"},"before":{"anyOf":[{"$ref":"#/components/schemas/ManagementAuditSnapshotEncoded"},{"type":"null"}]},"after":{"anyOf":[{"$ref":"#/components/schemas/ManagementAuditSnapshotEncoded"},{"type":"null"}]},"outcome":{"$ref":"#/components/schemas/ManagementAuditOutcome"},"requestId":{"$ref":"#/components/schemas/AuditIdentifier"},"correlationId":{"anyOf":[{"$ref":"#/components/schemas/AuditIdentifier"},{"type":"null"}]},"occurredAt":{"type":"string","format":"date-time"}},"required":["id","actorUserId","actorAuthority","organizationId","scopeType","scopeId","action","targetType","targetId","before","after","outcome","requestId","correlationId","occurredAt"],"additionalProperties":false},"ManagementAuditPageEncoded":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/ManagementAuditEventEncoded"}},"nextCursor":{"anyOf":[{"$ref":"#/components/schemas/ManagementAuditCursor"},{"type":"null"}]}},"required":["items","nextCursor"],"additionalProperties":false},"ManagementAuditExportFormat":{"type":"string","enum":["csv","jsonl"]},"StartManagementStepUp":{"type":"object","properties":{"action":{"type":"string","enum":["platform_administrator_grant","platform_administrator_revoke","platform_user_freeze","platform_user_unfreeze","platform_user_retention_hold_place","platform_user_retention_hold_release","organization_user_freeze","organization_user_unfreeze","managed_user_revoke_sessions","organization_security_policy_update","organization_recovery_approve","organization_recovery_deny","organization_member_change_role","organization_member_analytics_update","organization_member_remove","project_member_create","project_member_change_role","project_member_remove","organization_invitation_create","organization_invitation_regenerate","organization_invitation_revoke","application_create","application_configuration_update","application_move","application_remove","application_secret_rotate","application_secret_revoke","resource_server_create","resource_server_update","resource_permission_create","resource_scope_create","resource_role_create","machine_client_create","machine_client_update","machine_client_secret_rotate","machine_client_grant_update","platform_settings_update","delivery_email_settings_update","delivery_email_test","delivery_sms_settings_update","delivery_sms_test","organization_suspend","organization_restore","organization_kyb_review","organization_remove","project_remove"]},"resourceId":{"$ref":"#/components/schemas/Uuid"}},"required":["action","resourceId"],"additionalProperties":false},"ManagementStepUpMethod":{"type":"string","enum":["password","email_otp","sms_otp","totp","passkey"]},"Arrays_":{"type":"array","items":{"$ref":"#/components/schemas/ManagementStepUpMethod"}},"ManagementStepUpOtpTarget":{"type":"object","properties":{"contactId":{"$ref":"#/components/schemas/Uuid"},"method":{"type":"string","enum":["email_otp","sms_otp"]},"maskedDestination":{"type":"string","allOf":[{"minLength":1}]}},"required":["contactId","method","maskedDestination"],"additionalProperties":false},"Arrays_1":{"type":"array","items":{"$ref":"#/components/schemas/ManagementStepUpOtpTarget"}},"ManagementStepUpTransaction":{"anyOf":[{"type":"object","properties":{"transactionId":{"$ref":"#/components/schemas/Uuid"},"transactionRevision":{"$ref":"#/components/schemas/ManagementRevision"},"revision":{"$ref":"#/components/schemas/ManagementRevision"},"factorRevision":{"$ref":"#/components/schemas/ManagementRevision"},"policyRevision":{"$ref":"#/components/schemas/ManagementRevision"},"expiresAt":{"type":"string","format":"date-time"},"allowedMethods":{"$ref":"#/components/schemas/Arrays_"},"otpTargets":{"$ref":"#/components/schemas/Arrays_1"},"state":{"type":"string","enum":["proof_required"]}},"required":["transactionId","transactionRevision","revision","factorRevision","policyRevision","expiresAt","allowedMethods","otpTargets","state"],"additionalProperties":false},{"type":"object","properties":{"transactionId":{"$ref":"#/components/schemas/Uuid"},"transactionRevision":{"$ref":"#/components/schemas/ManagementRevision"},"revision":{"$ref":"#/components/schemas/ManagementRevision"},"factorRevision":{"$ref":"#/components/schemas/ManagementRevision"},"policyRevision":{"$ref":"#/components/schemas/ManagementRevision"},"expiresAt":{"type":"string","format":"date-time"},"allowedMethods":{"$ref":"#/components/schemas/Arrays_"},"otpTargets":{"$ref":"#/components/schemas/Arrays_1"},"state":{"type":"string","enum":["ready"]}},"required":["transactionId","transactionRevision","revision","factorRevision","policyRevision","expiresAt","allowedMethods","otpTargets","state"],"additionalProperties":false}]},"SubmitManagementStepUp":{"anyOf":[{"type":"object","properties":{"expectedTransactionRevision":{"$ref":"#/components/schemas/ManagementRevision"},"method":{"type":"string","enum":["password"]},"proof":{"type":"string","allOf":[{"minLength":1}]}},"required":["expectedTransactionRevision","method","proof"],"additionalProperties":false},{"type":"object","properties":{"expectedTransactionRevision":{"$ref":"#/components/schemas/ManagementRevision"},"method":{"type":"string","enum":["totp"]},"proof":{"type":"string","allOf":[{"pattern":"^[0-9]{6}$"}]}},"required":["expectedTransactionRevision","method","proof"],"additionalProperties":false}]},"RequestManagementStepUpOtp":{"type":"object","properties":{"expectedTransactionRevision":{"$ref":"#/components/schemas/ManagementRevision"},"method":{"type":"string","enum":["email_otp","sms_otp"]},"contactId":{"$ref":"#/components/schemas/Uuid"}},"required":["expectedTransactionRevision","method","contactId"],"additionalProperties":false},"ManagementStepUpOtpRequested":{"type":"object","properties":{"transaction":{"$ref":"#/components/schemas/ManagementStepUpTransaction"},"challengeId":{"$ref":"#/components/schemas/Uuid"},"resendAvailableAt":{"type":"string","format":"date-time"}},"required":["transaction","challengeId","resendAvailableAt"],"additionalProperties":false},"VerifyManagementStepUpOtp":{"type":"object","properties":{"expectedTransactionRevision":{"$ref":"#/components/schemas/ManagementRevision"},"challengeId":{"$ref":"#/components/schemas/Uuid"},"code":{"type":"string","allOf":[{"pattern":"^[0-9]{6}$"}]}},"required":["expectedTransactionRevision","challengeId","code"],"additionalProperties":false},"ManagementStepUpPasskeyOptions":{"type":"object","properties":{"transactionRevision":{"$ref":"#/components/schemas/ManagementRevision"},"challengeId":{"$ref":"#/components/schemas/Uuid"},"publicKey":{"type":"object","properties":{"challenge":{"type":"string","allOf":[{"minLength":1}]},"rpId":{"type":"string","allOf":[{"minLength":1}]},"allowCredentials":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","allOf":[{"minLength":1}]},"type":{"type":"string","enum":["public-key"]}},"required":["id","type"],"additionalProperties":false}},"userVerification":{"type":"string","enum":["required"]},"timeout":{"type":"integer"}},"required":["challenge","rpId","allowCredentials","userVerification","timeout"],"additionalProperties":false}},"required":["transactionRevision","challengeId","publicKey"],"additionalProperties":false},"SubmitManagementStepUpPasskey":{"type":"object","properties":{"expectedTransactionRevision":{"$ref":"#/components/schemas/ManagementRevision"},"challengeId":{"$ref":"#/components/schemas/Uuid"},"passkeyResponse":{}},"required":["expectedTransactionRevision","challengeId","passkeyResponse"],"additionalProperties":false},"CancelManagementStepUp":{"type":"object","properties":{"expectedTransactionRevision":{"$ref":"#/components/schemas/ManagementRevision"}},"required":["expectedTransactionRevision"],"additionalProperties":false},"ManagementStepUpCancelled":{"type":"object","properties":{"cancelled":{"type":"boolean","enum":[true]}},"required":["cancelled"],"additionalProperties":false},"OAuthStepUpView":{"type":"object","properties":{"interactionId":{"$ref":"#/components/schemas/Uuid"},"transactionId":{"$ref":"#/components/schemas/Uuid"},"transactionRevision":{"type":"integer"},"expiresAt":{"type":"string"},"applicationName":{"type":"string"},"state":{"type":"string","enum":["proof_required","ready","unavailable","cancelled"]},"allowedMethods":{"type":"array","items":{"type":"string","enum":["password","totp","passkey"]}}},"required":["interactionId","transactionId","transactionRevision","expiresAt","applicationName","state","allowedMethods"],"additionalProperties":false},"OAuthStepUpComplete":{"type":"object","properties":{"oauthQuery":{"type":"string"}},"required":["oauthQuery"],"additionalProperties":false},"OAuthStepUpCancelled":{"type":"object","properties":{"redirectTo":{"type":"string"}},"required":["redirectTo"],"additionalProperties":false},"PublicHttpsUrl":{"type":"string","allOf":[{"minLength":1},{"maxLength":2048}]},"PublicLogoUrl":{"anyOf":[{"$ref":"#/components/schemas/PublicHttpsUrl"},{"type":"string","allOf":[{"minLength":1},{"maxLength":131095},{"pattern":"^data:image\\/jpeg;base64,[A-Za-z0-9+/]+={0,2}$"}]}]},"ProjectSlug":{"anyOf":[{"type":"string","enum":[""]},{"type":"string","allOf":[{"pattern":"^\\S[\\s\\S]*\\S$|^\\S$|^$"},{"minLength":2},{"maxLength":80},{"pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$"}]}]},"ProjectRole":{"type":"string","enum":["admin","member"]},"ProjectAccessSource":{"type":"string","enum":["organization","project"]},"ProjectView":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Uuid"},"organizationId":{"$ref":"#/components/schemas/Uuid"},"organizationName":{"type":"string","allOf":[{"pattern":"^\\S[\\s\\S]*\\S$|^\\S$|^$"},{"minLength":1},{"maxLength":120}]},"organizationStatus":{"$ref":"#/components/schemas/OrganizationStatus"},"name":{"type":"string","allOf":[{"pattern":"^\\S[\\s\\S]*\\S$|^\\S$|^$"},{"minLength":1},{"maxLength":120}]},"logoUrl":{"anyOf":[{"$ref":"#/components/schemas/PublicLogoUrl"},{"type":"null"}]},"slug":{"$ref":"#/components/schemas/ProjectSlug"},"termsUrl":{"anyOf":[{"$ref":"#/components/schemas/PublicHttpsUrl"},{"type":"null"}]},"privacyUrl":{"anyOf":[{"$ref":"#/components/schemas/PublicHttpsUrl"},{"type":"null"}]},"policyRevision":{"type":"integer","allOf":[{"exclusiveMinimum":0}]},"isDefault":{"type":"boolean"},"accessVersion":{"type":"integer","allOf":[{"exclusiveMinimum":0}]},"projectRole":{"anyOf":[{"$ref":"#/components/schemas/ProjectRole"},{"type":"null"}]},"effectiveRole":{"$ref":"#/components/schemas/ProjectRole"},"accessSource":{"$ref":"#/components/schemas/ProjectAccessSource"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["id","organizationId","organizationName","organizationStatus","name","logoUrl","slug","termsUrl","privacyUrl","policyRevision","isDefault","accessVersion","projectRole","effectiveRole","accessSource","createdAt","updatedAt"],"additionalProperties":false},"ProjectViewList":{"type":"array","items":{"$ref":"#/components/schemas/ProjectView"}},"CreateProject":{"type":"object","properties":{"name":{"type":"string","allOf":[{"pattern":"^\\S[\\s\\S]*\\S$|^\\S$|^$"},{"minLength":1},{"maxLength":120}]},"logoUrl":{"anyOf":[{"anyOf":[{"$ref":"#/components/schemas/PublicLogoUrl"},{"type":"null"}]},{"type":"null"}]},"slug":{"$ref":"#/components/schemas/ProjectSlug"},"termsUrl":{"anyOf":[{"anyOf":[{"$ref":"#/components/schemas/PublicHttpsUrl"},{"type":"null"}]},{"type":"null"}]},"privacyUrl":{"anyOf":[{"anyOf":[{"$ref":"#/components/schemas/PublicHttpsUrl"},{"type":"null"}]},{"type":"null"}]}},"required":["name","slug"],"additionalProperties":false},"ProjectView_1":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Uuid"},"organizationId":{"$ref":"#/components/schemas/Uuid"},"organizationName":{"type":"string","allOf":[{"pattern":"^\\S[\\s\\S]*\\S$|^\\S$|^$"},{"minLength":1},{"maxLength":120}]},"organizationStatus":{"$ref":"#/components/schemas/OrganizationStatus"},"name":{"type":"string","allOf":[{"pattern":"^\\S[\\s\\S]*\\S$|^\\S$|^$"},{"minLength":1},{"maxLength":120}]},"logoUrl":{"anyOf":[{"$ref":"#/components/schemas/PublicLogoUrl"},{"type":"null"}]},"slug":{"$ref":"#/components/schemas/ProjectSlug"},"termsUrl":{"anyOf":[{"$ref":"#/components/schemas/PublicHttpsUrl"},{"type":"null"}]},"privacyUrl":{"anyOf":[{"$ref":"#/components/schemas/PublicHttpsUrl"},{"type":"null"}]},"policyRevision":{"type":"integer","allOf":[{"exclusiveMinimum":0}]},"isDefault":{"type":"boolean"},"accessVersion":{"type":"integer","allOf":[{"exclusiveMinimum":0}]},"projectRole":{"anyOf":[{"$ref":"#/components/schemas/ProjectRole"},{"type":"null"}]},"effectiveRole":{"$ref":"#/components/schemas/ProjectRole"},"accessSource":{"$ref":"#/components/schemas/ProjectAccessSource"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["id","organizationId","organizationName","organizationStatus","name","logoUrl","slug","termsUrl","privacyUrl","policyRevision","isDefault","accessVersion","projectRole","effectiveRole","accessSource","createdAt","updatedAt"],"additionalProperties":false},"UpdateProject":{"type":"object","properties":{"name":{"$ref":"#/components/schemas/Union_2"},"logoUrl":{"anyOf":[{"anyOf":[{"$ref":"#/components/schemas/PublicLogoUrl"},{"type":"null"}]},{"type":"null"}]},"slug":{"anyOf":[{"$ref":"#/components/schemas/ProjectSlug"},{"type":"null"}]},"termsUrl":{"anyOf":[{"anyOf":[{"$ref":"#/components/schemas/PublicHttpsUrl"},{"type":"null"}]},{"type":"null"}]},"privacyUrl":{"anyOf":[{"anyOf":[{"$ref":"#/components/schemas/PublicHttpsUrl"},{"type":"null"}]},{"type":"null"}]},"policyContentUpdated":{"anyOf":[{"type":"boolean","enum":[true]},{"type":"null"}]},"expectedPolicyRevision":{"anyOf":[{"type":"integer","allOf":[{"exclusiveMinimum":0}]},{"type":"null"}]}},"additionalProperties":false},"EnterpriseManagementStepUp":{"type":"object","properties":{"stepUp":{"$ref":"#/components/schemas/EnterpriseManagementStepUpProof"}},"required":["stepUp"],"additionalProperties":false},"ProjectMemberCandidateView":{"type":"object","properties":{"organizationMemberId":{"$ref":"#/components/schemas/Uuid"},"userId":{"$ref":"#/components/schemas/Uuid"},"name":{"type":"string","allOf":[{"pattern":"^\\S[\\s\\S]*\\S$|^\\S$|^$"},{"minLength":1},{"maxLength":120}]},"email":{"anyOf":[{"type":"string","allOf":[{"pattern":"^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$","format":"email"}]},{"type":"null"}]},"organizationRole":{"$ref":"#/components/schemas/OrganizationRole"},"createdAt":{"type":"string","format":"date-time"}},"required":["organizationMemberId","userId","name","email","organizationRole","createdAt"],"additionalProperties":false},"ProjectMemberCandidateList":{"type":"array","items":{"$ref":"#/components/schemas/ProjectMemberCandidateView"}},"ProjectMemberView":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Uuid"},"projectId":{"$ref":"#/components/schemas/Uuid"},"organizationId":{"$ref":"#/components/schemas/Uuid"},"userId":{"$ref":"#/components/schemas/Uuid"},"name":{"type":"string","allOf":[{"pattern":"^\\S[\\s\\S]*\\S$|^\\S$|^$"},{"minLength":1},{"maxLength":120}]},"email":{"anyOf":[{"type":"string","allOf":[{"pattern":"^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$","format":"email"}]},{"type":"null"}]},"role":{"$ref":"#/components/schemas/ProjectRole"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["id","projectId","organizationId","userId","name","email","role","createdAt","updatedAt"],"additionalProperties":false},"ProjectMemberViewList":{"type":"array","items":{"$ref":"#/components/schemas/ProjectMemberView"}},"CreateProjectMember":{"type":"object","properties":{"stepUp":{"$ref":"#/components/schemas/EnterpriseManagementStepUpProof"},"organizationMemberId":{"$ref":"#/components/schemas/Uuid"},"role":{"$ref":"#/components/schemas/ProjectRole"}},"required":["stepUp","organizationMemberId","role"],"additionalProperties":false},"CreatedProjectMember":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Uuid"},"projectId":{"$ref":"#/components/schemas/Uuid"},"organizationId":{"$ref":"#/components/schemas/Uuid"},"userId":{"$ref":"#/components/schemas/Uuid"},"name":{"type":"string","allOf":[{"pattern":"^\\S[\\s\\S]*\\S$|^\\S$|^$"},{"minLength":1},{"maxLength":120}]},"email":{"anyOf":[{"type":"string","allOf":[{"pattern":"^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$","format":"email"}]},{"type":"null"}]},"role":{"$ref":"#/components/schemas/ProjectRole"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["id","projectId","organizationId","userId","name","email","role","createdAt","updatedAt"],"additionalProperties":false},"ChangeProjectMemberRole":{"type":"object","properties":{"stepUp":{"$ref":"#/components/schemas/EnterpriseManagementStepUpProof"},"role":{"$ref":"#/components/schemas/ProjectRole"}},"required":["stepUp","role"],"additionalProperties":false},"ResourceIdentifier":{"type":"string","allOf":[{"minLength":1},{"maxLength":2048}]},"ApplicationScope":{"type":"string","enum":["openid","profile","email","offline_access"]},"ResourceScopeList":{"type":"array","items":{"$ref":"#/components/schemas/ApplicationScope"},"allOf":[{"minItems":1},{"maxItems":4}]},"Arrays_2":{"type":"array","items":{"$ref":"#/components/schemas/Uuid"},"allOf":[{"maxItems":100}]},"ProjectResourceView":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Uuid"},"organizationId":{"$ref":"#/components/schemas/Uuid"},"projectId":{"$ref":"#/components/schemas/Uuid"},"identifier":{"$ref":"#/components/schemas/ResourceIdentifier"},"name":{"type":"string","allOf":[{"pattern":"^\\S[\\s\\S]*\\S$|^\\S$|^$"},{"minLength":1},{"maxLength":120}]},"allowedScopes":{"$ref":"#/components/schemas/ResourceScopeList"},"accessTokenTtl":{"type":"integer","allOf":[{"minimum":30,"maximum":300}]},"disabled":{"type":"boolean"},"applicationIds":{"$ref":"#/components/schemas/Arrays_2"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["id","organizationId","projectId","identifier","name","allowedScopes","accessTokenTtl","disabled","applicationIds","createdAt","updatedAt"],"additionalProperties":false},"CreateProjectResource":{"type":"object","properties":{"identifier":{"$ref":"#/components/schemas/ResourceIdentifier"},"name":{"type":"string","allOf":[{"pattern":"^\\S[\\s\\S]*\\S$|^\\S$|^$"},{"minLength":1},{"maxLength":120}]},"allowedScopes":{"$ref":"#/components/schemas/ResourceScopeList"},"accessTokenTtl":{"type":"integer","allOf":[{"minimum":30,"maximum":300}]},"disabled":{"type":"boolean"},"applicationIds":{"$ref":"#/components/schemas/Arrays_2"}},"required":["identifier","name","allowedScopes","accessTokenTtl","disabled","applicationIds"],"additionalProperties":false},"ProjectResourceView_1":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Uuid"},"organizationId":{"$ref":"#/components/schemas/Uuid"},"projectId":{"$ref":"#/components/schemas/Uuid"},"identifier":{"$ref":"#/components/schemas/ResourceIdentifier"},"name":{"type":"string","allOf":[{"pattern":"^\\S[\\s\\S]*\\S$|^\\S$|^$"},{"minLength":1},{"maxLength":120}]},"allowedScopes":{"$ref":"#/components/schemas/ResourceScopeList"},"accessTokenTtl":{"type":"integer","allOf":[{"minimum":30,"maximum":300}]},"disabled":{"type":"boolean"},"applicationIds":{"$ref":"#/components/schemas/Arrays_2"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["id","organizationId","projectId","identifier","name","allowedScopes","accessTokenTtl","disabled","applicationIds","createdAt","updatedAt"],"additionalProperties":false},"UpdateProjectResource":{"type":"object","properties":{"name":{"type":"string","allOf":[{"pattern":"^\\S[\\s\\S]*\\S$|^\\S$|^$"},{"minLength":1},{"maxLength":120}]},"allowedScopes":{"$ref":"#/components/schemas/ResourceScopeList"},"accessTokenTtl":{"type":"integer","allOf":[{"minimum":30,"maximum":300}]},"disabled":{"type":"boolean"},"applicationIds":{"$ref":"#/components/schemas/Arrays_2"}},"required":["name","allowedScopes","accessTokenTtl","disabled","applicationIds"],"additionalProperties":false},"OAuthScopePurposes":{"type":"object","additionalProperties":{"type":"string","allOf":[{"pattern":"^\\S[\\s\\S]*\\S$|^\\S$|^$"},{"minLength":1},{"maxLength":500}]}},"ApplicationAccessMode":{"type":"string","enum":["members_only","authenticated_users"]},"OAuthClientType":{"type":"string","enum":["confidential","public"]},"ApplicationKind":{"type":"string","enum":["web","native"]},"ApplicationScopes":{"type":"array","items":{"$ref":"#/components/schemas/ApplicationScope"},"allOf":[{"minItems":1},{"maxItems":4}]},"OAuthScopeList":{"type":"array","items":{"$ref":"#/components/schemas/ApplicationScope"},"allOf":[{"maxItems":4}]},"ApplicationSignInMethod":{"type":"string","enum":["authorization_code","device_code"]},"ApplicationSignInMethods":{"type":"array","items":{"$ref":"#/components/schemas/ApplicationSignInMethod"},"allOf":[{"minItems":1},{"maxItems":2}]},"ApplicationView":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Uuid"},"organizationId":{"$ref":"#/components/schemas/Uuid"},"projectId":{"$ref":"#/components/schemas/Uuid"},"name":{"type":"string","allOf":[{"pattern":"^\\S[\\s\\S]*\\S$|^\\S$|^$"},{"minLength":1},{"maxLength":120}]},"websiteUrl":{"anyOf":[{"anyOf":[{"$ref":"#/components/schemas/PublicHttpsUrl"},{"type":"null"}]},{"type":"null"}]},"logoUrl":{"anyOf":[{"$ref":"#/components/schemas/PublicLogoUrl"},{"type":"null"}]},"scopePurposes":{"$ref":"#/components/schemas/OAuthScopePurposes"},"accessMode":{"$ref":"#/components/schemas/ApplicationAccessMode"},"clientType":{"$ref":"#/components/schemas/OAuthClientType"},"applicationKind":{"$ref":"#/components/schemas/ApplicationKind"},"clientId":{"type":"string","allOf":[{"minLength":1}]},"scopes":{"$ref":"#/components/schemas/ApplicationScopes"},"requiredScopes":{"$ref":"#/components/schemas/OAuthScopeList"},"optionalScopes":{"$ref":"#/components/schemas/OAuthScopeList"},"signInMethods":{"$ref":"#/components/schemas/ApplicationSignInMethods"},"redirectUris":{"type":"array","items":{"type":"string"},"allOf":[{"maxItems":10}]},"postLogoutRedirectUris":{"anyOf":[{"type":"array","items":{"type":"string"},"allOf":[{"maxItems":10}]},{"type":"null"}]},"backchannelLogoutUri":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"disabled":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["id","organizationId","projectId","name","logoUrl","scopePurposes","accessMode","clientType","applicationKind","clientId","scopes","requiredScopes","optionalScopes","signInMethods","redirectUris","postLogoutRedirectUris","backchannelLogoutUri","disabled","createdAt","updatedAt"],"additionalProperties":false},"ApplicationViewList":{"type":"array","items":{"$ref":"#/components/schemas/ApplicationView"}},"Union_9":{"anyOf":[{"$ref":"#/components/schemas/OAuthScopePurposes"},{"type":"null"}]},"Union_10":{"anyOf":[{"$ref":"#/components/schemas/OAuthScopeList"},{"type":"null"}]},"CreateApplication":{"type":"object","properties":{"name":{"type":"string","allOf":[{"pattern":"^\\S[\\s\\S]*\\S$|^\\S$|^$"},{"minLength":1},{"maxLength":120}]},"websiteUrl":{"anyOf":[{"anyOf":[{"$ref":"#/components/schemas/PublicHttpsUrl"},{"type":"null"}]},{"type":"null"}]},"logoUrl":{"anyOf":[{"anyOf":[{"$ref":"#/components/schemas/PublicLogoUrl"},{"type":"null"}]},{"type":"null"}]},"scopePurposes":{"$ref":"#/components/schemas/Union_9"},"clientType":{"$ref":"#/components/schemas/OAuthClientType"},"applicationKind":{"$ref":"#/components/schemas/ApplicationKind"},"accessMode":{"$ref":"#/components/schemas/ApplicationAccessMode"},"scopes":{"$ref":"#/components/schemas/ApplicationScopes"},"requiredScopes":{"$ref":"#/components/schemas/Union_10"},"optionalScopes":{"$ref":"#/components/schemas/Union_10"},"signInMethods":{"$ref":"#/components/schemas/ApplicationSignInMethods"},"redirectUris":{"type":"array","items":{"type":"string"},"allOf":[{"maxItems":10}]},"postLogoutRedirectUris":{"type":"array","items":{"type":"string"},"allOf":[{"maxItems":10}]},"backchannelLogoutUri":{"anyOf":[{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},{"type":"null"}]}},"required":["name","clientType","applicationKind","accessMode","scopes","signInMethods","redirectUris","postLogoutRedirectUris"],"additionalProperties":false},"ApplicationClientSecret":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Uuid"},"prefix":{"type":"string","allOf":[{"minLength":1}]},"last4":{"type":"string","allOf":[{"minLength":4},{"maxLength":4}]},"createdAt":{"type":"string","format":"date-time"},"expiresAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"lastUsedAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"revokedAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]}},"required":["id","prefix","last4","createdAt","expiresAt","lastUsedAt","revokedAt"],"additionalProperties":false},"ApplicationCredential":{"type":"object","properties":{"clientId":{"type":"string","allOf":[{"minLength":1}]},"clientSecret":{"anyOf":[{"type":"string","allOf":[{"minLength":1}]},{"type":"null"}]},"secret":{"anyOf":[{"$ref":"#/components/schemas/ApplicationClientSecret"},{"type":"null"}]}},"required":["clientId","clientSecret","secret"],"additionalProperties":false},"CreateApplicationResult":{"type":"object","properties":{"application":{"$ref":"#/components/schemas/ApplicationView"},"credential":{"$ref":"#/components/schemas/ApplicationCredential"}},"required":["application","credential"],"additionalProperties":false},"UpdateApplication":{"type":"object","properties":{"name":{"$ref":"#/components/schemas/Union_2"},"websiteUrl":{"anyOf":[{"anyOf":[{"$ref":"#/components/schemas/PublicHttpsUrl"},{"type":"null"}]},{"type":"null"}]},"disabled":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"logoUrl":{"anyOf":[{"anyOf":[{"$ref":"#/components/schemas/PublicLogoUrl"},{"type":"null"}]},{"type":"null"}]},"scopePurposes":{"$ref":"#/components/schemas/Union_9"},"accessMode":{"anyOf":[{"$ref":"#/components/schemas/ApplicationAccessMode"},{"type":"null"}]},"scopes":{"anyOf":[{"$ref":"#/components/schemas/ApplicationScopes"},{"type":"null"}]},"requiredScopes":{"$ref":"#/components/schemas/Union_10"},"optionalScopes":{"$ref":"#/components/schemas/Union_10"},"signInMethods":{"anyOf":[{"$ref":"#/components/schemas/ApplicationSignInMethods"},{"type":"null"}]},"redirectUris":{"anyOf":[{"type":"array","items":{"type":"string"},"allOf":[{"maxItems":10}]},{"type":"null"}]},"postLogoutRedirectUris":{"anyOf":[{"type":"array","items":{"type":"string"},"allOf":[{"maxItems":10}]},{"type":"null"}]},"backchannelLogoutUri":{"anyOf":[{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},{"type":"null"}]}},"additionalProperties":false},"ApplicationSecretOverlapSeconds":{"type":"integer"},"ApplicationSecretPolicy":{"type":"object","properties":{"secretOverlapSeconds":{"$ref":"#/components/schemas/ApplicationSecretOverlapSeconds"}},"required":["secretOverlapSeconds"],"additionalProperties":false},"UpdateApplicationSecretPolicy":{"type":"object","properties":{"stepUp":{"$ref":"#/components/schemas/EnterpriseManagementStepUpProof"},"secretOverlapSeconds":{"$ref":"#/components/schemas/ApplicationSecretOverlapSeconds"}},"required":["stepUp","secretOverlapSeconds"],"additionalProperties":false},"MoveApplication":{"type":"object","properties":{"targetProjectId":{"$ref":"#/components/schemas/Uuid"}},"required":["targetProjectId"],"additionalProperties":false},"DeviceUserCode":{"type":"string","allOf":[{"pattern":"^\\S[\\s\\S]*\\S$|^\\S$|^$"},{"pattern":"^[A-Za-z0-9 -]{8,16}$"}]},"DeviceAuthorizationReview":{"type":"object","properties":{"reviewId":{"$ref":"#/components/schemas/Uuid"},"userCode":{"type":"string","allOf":[{"minLength":1}]},"expiresAt":{"type":"string","format":"date-time"},"application":{"type":"object","properties":{"name":{"type":"string","allOf":[{"pattern":"^\\S[\\s\\S]*\\S$|^\\S$|^$"},{"minLength":1},{"maxLength":120}]},"organizationName":{"type":"string","allOf":[{"pattern":"^\\S[\\s\\S]*\\S$|^\\S$|^$"},{"minLength":1},{"maxLength":120}]},"projectName":{"type":"string","allOf":[{"pattern":"^\\S[\\s\\S]*\\S$|^\\S$|^$"},{"minLength":1},{"maxLength":120}]},"accessMode":{"$ref":"#/components/schemas/ApplicationAccessMode"}},"required":["name","organizationName","projectName","accessMode"],"additionalProperties":false},"requestedScopes":{"$ref":"#/components/schemas/OAuthScopeList"},"requiredScopes":{"$ref":"#/components/schemas/OAuthScopeList"},"optionalScopes":{"$ref":"#/components/schemas/OAuthScopeList"},"resources":{"type":"array","items":{"type":"object","properties":{"identifier":{"type":"string","allOf":[{"minLength":1}]},"name":{"type":"string","allOf":[{"pattern":"^\\S[\\s\\S]*\\S$|^\\S$|^$"},{"minLength":1},{"maxLength":120}]}},"required":["identifier","name"],"additionalProperties":false}}},"required":["reviewId","userCode","expiresAt","application","requestedScopes","requiredScopes","optionalScopes","resources"],"additionalProperties":false},"DeviceAuthorizationApproval":{"type":"object","properties":{"reviewId":{"$ref":"#/components/schemas/Uuid"},"requiredScopes":{"$ref":"#/components/schemas/OAuthScopeList"},"optionalScopes":{"$ref":"#/components/schemas/OAuthScopeList"}},"required":["reviewId","requiredScopes","optionalScopes"],"additionalProperties":false},"PlatformSettingsView":{"type":"object","properties":{"allowOrganizationCreation":{"type":"boolean"},"revision":{"type":"integer","allOf":[{"exclusiveMinimum":0}]},"updatedAt":{"type":"string","format":"date-time"},"updatedByUserId":{"anyOf":[{"$ref":"#/components/schemas/Uuid"},{"type":"null"}]}},"required":["allowOrganizationCreation","revision","updatedAt","updatedByUserId"],"additionalProperties":false},"UpdatePlatformSettings":{"type":"object","properties":{"stepUp":{"$ref":"#/components/schemas/EnterpriseManagementStepUpProof"},"expectedRevision":{"type":"integer","allOf":[{"exclusiveMinimum":0}]},"allowOrganizationCreation":{"type":"boolean"}},"required":["stepUp","expectedRevision","allowOrganizationCreation"],"additionalProperties":false},"PlatformAdministrator":{"type":"object","properties":{"userId":{"$ref":"#/components/schemas/Uuid"},"name":{"type":"string","allOf":[{"pattern":"^\\S[\\s\\S]*\\S$|^\\S$|^$"},{"minLength":1},{"maxLength":120}]},"email":{"anyOf":[{"type":"string","allOf":[{"pattern":"^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$","format":"email"}]},{"type":"null"}]},"createdAt":{"type":"string","format":"date-time"}},"required":["userId","name","email","createdAt"],"additionalProperties":false},"PlatformAdministratorList":{"type":"array","items":{"$ref":"#/components/schemas/PlatformAdministrator"}},"GrantPlatformAdministrator":{"type":"object","properties":{"stepUp":{"$ref":"#/components/schemas/EnterpriseManagementStepUpProof"},"userId":{"$ref":"#/components/schemas/Uuid"},"email":{"type":"string","allOf":[{"pattern":"^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$","format":"email"}]}},"required":["stepUp","userId","email"],"additionalProperties":false},"GrantedPlatformAdministrator":{"type":"object","properties":{"userId":{"$ref":"#/components/schemas/Uuid"},"name":{"type":"string","allOf":[{"pattern":"^\\S[\\s\\S]*\\S$|^\\S$|^$"},{"minLength":1},{"maxLength":120}]},"email":{"anyOf":[{"type":"string","allOf":[{"pattern":"^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$","format":"email"}]},{"type":"null"}]},"createdAt":{"type":"string","format":"date-time"}},"required":["userId","name","email","createdAt"],"additionalProperties":false},"LookupPlatformAdministrator":{"type":"object","properties":{"email":{"type":"string","allOf":[{"pattern":"^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$","format":"email"}]}},"required":["email"],"additionalProperties":false},"PlatformAdministratorCandidate":{"type":"object","properties":{"userId":{"$ref":"#/components/schemas/Uuid"},"name":{"type":"string","allOf":[{"pattern":"^\\S[\\s\\S]*\\S$|^\\S$|^$"},{"minLength":1},{"maxLength":120}]},"email":{"type":"string","allOf":[{"pattern":"^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$","format":"email"}]},"image":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["userId","name","email","image"],"additionalProperties":false},"PlatformOrganization":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Uuid"},"name":{"type":"string","allOf":[{"pattern":"^\\S[\\s\\S]*\\S$|^\\S$|^$"},{"minLength":1},{"maxLength":120}]},"slug":{"type":"string","allOf":[{"pattern":"^\\S[\\s\\S]*\\S$|^\\S$|^$"},{"minLength":2},{"maxLength":80},{"pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$"}]},"status":{"$ref":"#/components/schemas/OrganizationStatus"},"kybStatus":{"$ref":"#/components/schemas/OrganizationKybStatus"},"kybVerifiedName":{"anyOf":[{"type":"string","allOf":[{"pattern":"^\\S[\\s\\S]*\\S$|^\\S$|^$"},{"minLength":1},{"maxLength":120}]},{"type":"null"}]},"kybRevision":{"type":"integer","allOf":[{"exclusiveMinimum":0}]},"kybReviewedByUserId":{"anyOf":[{"$ref":"#/components/schemas/Uuid"},{"type":"null"}]},"kybReviewedAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"kybReviewReason":{"anyOf":[{"type":"string"},{"type":"null"}]},"accessVersion":{"type":"integer","allOf":[{"exclusiveMinimum":0}]},"suspendedAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"deletedAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["id","name","slug","status","kybStatus","kybVerifiedName","kybRevision","kybReviewedByUserId","kybReviewedAt","kybReviewReason","accessVersion","suspendedAt","deletedAt","createdAt","updatedAt"],"additionalProperties":false},"PlatformOrganizationList":{"type":"array","items":{"$ref":"#/components/schemas/PlatformOrganization"}},"ReviewOrganizationKyb":{"type":"object","properties":{"stepUp":{"$ref":"#/components/schemas/EnterpriseManagementStepUpProof"},"status":{"$ref":"#/components/schemas/OrganizationKybStatus"},"reviewedName":{"type":"string","allOf":[{"pattern":"^\\S[\\s\\S]*\\S$|^\\S$|^$"},{"minLength":1},{"maxLength":120}]},"reason":{"type":"string","allOf":[{"pattern":"^\\S[\\s\\S]*\\S$|^\\S$|^$"},{"minLength":1},{"maxLength":240}]},"expectedKybRevision":{"type":"integer","allOf":[{"exclusiveMinimum":0}]}},"required":["stepUp","status","reviewedName","reason","expectedKybRevision"],"additionalProperties":false},"OrganizationKybResult":{"type":"object","properties":{"kybStatus":{"$ref":"#/components/schemas/OrganizationKybStatus"},"kybVerifiedName":{"anyOf":[{"type":"string","allOf":[{"pattern":"^\\S[\\s\\S]*\\S$|^\\S$|^$"},{"minLength":1},{"maxLength":120}]},{"type":"null"}]},"kybRevision":{"type":"integer","allOf":[{"exclusiveMinimum":0}]},"kybReviewedByUserId":{"$ref":"#/components/schemas/Uuid"},"kybReviewedAt":{"type":"string","format":"date-time"},"kybReviewReason":{"type":"string"}},"required":["kybStatus","kybVerifiedName","kybRevision","kybReviewedByUserId","kybReviewedAt","kybReviewReason"],"additionalProperties":false},"OrganizationStatusResult":{"type":"object","properties":{"status":{"type":"string","enum":["active","suspended"]}},"required":["status"],"additionalProperties":false},"AuditCategory":{"type":"string","enum":["authentication","security","oauth","management","delivery","system","http"]},"AuditSeverity":{"type":"string","enum":["info","warning","error"]},"AuditOutcome":{"type":"string","enum":["success","failure","unknown"]},"AuditSource":{"type":"string","enum":["security","platform","management"]},"AuditTimestampEncoded":{"type":"string","format":"date-time"},"Union_11":{"anyOf":[{"$ref":"#/components/schemas/AuditTimestampEncoded"},{"type":"null"}]},"AuditCursor":{"type":"string","allOf":[{"pattern":"^v1\\.([1-9][0-9]{15})\\.(security|platform|management)\\.([0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})$"}]},"AuditMetadata":{"type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"},{"type":"array","items":{"type":"string"}}]}},"PlatformAuditManagementChange":{"type":"object","properties":{"before":{"anyOf":[{"$ref":"#/components/schemas/ManagementAuditSnapshotEncoded"},{"type":"null"}]},"after":{"anyOf":[{"$ref":"#/components/schemas/ManagementAuditSnapshotEncoded"},{"type":"null"}]}},"required":["before","after"],"additionalProperties":false},"PlatformAuditEvent":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Uuid"},"source":{"$ref":"#/components/schemas/AuditSource"},"category":{"$ref":"#/components/schemas/AuditCategory"},"action":{"type":"string"},"severity":{"$ref":"#/components/schemas/AuditSeverity"},"outcome":{"$ref":"#/components/schemas/AuditOutcome"},"occurredAt":{"type":"string","format":"date-time"},"actorId":{"anyOf":[{"type":"string"},{"type":"null"}]},"targetId":{"anyOf":[{"type":"string"},{"type":"null"}]},"metadata":{"$ref":"#/components/schemas/AuditMetadata"},"management":{"anyOf":[{"$ref":"#/components/schemas/PlatformAuditManagementChange"},{"type":"null"}]}},"required":["id","source","category","action","severity","outcome","occurredAt","actorId","targetId","metadata"],"additionalProperties":false},"PlatformAuditPage":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/PlatformAuditEvent"}},"nextCursor":{"anyOf":[{"$ref":"#/components/schemas/AuditCursor"},{"type":"null"}]},"windowDays":{"type":"number","enum":[90]},"counts":{"type":"object","properties":{"total":{"type":"integer"},"failures":{"type":"integer"},"categories":{"type":"array","items":{"type":"object","properties":{"category":{"$ref":"#/components/schemas/AuditCategory"},"count":{"type":"integer"}},"required":["category","count"],"additionalProperties":false}}},"required":["total","failures","categories"],"additionalProperties":false}},"required":["items","nextCursor","windowDays","counts"],"additionalProperties":false},"ManagedUserSearch":{"type":"string","allOf":[{"pattern":"^\\S[\\s\\S]*\\S$|^\\S$|^$"},{"minLength":1},{"maxLength":120}]},"ManagedUserStatus":{"type":"string","enum":["active","frozen"]},"ManagedUserCursor":{"type":"string","allOf":[{"pattern":"^v1\\.([1-9][0-9]{12})\\.([0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12})$"}]},"ManagedUserLimitEncoded":{"type":"string"},"ManagedUserStatusSource":{"anyOf":[{"type":"string","enum":["platform","organization"]},{"type":"null"}]},"ManagedUserSummaryEncoded":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Uuid"},"name":{"type":"string","allOf":[{"pattern":"^\\S[\\s\\S]*\\S$|^\\S$|^$"},{"minLength":1},{"maxLength":120}]},"email":{"anyOf":[{"type":"string","allOf":[{"pattern":"^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$","format":"email"}]},{"type":"null"}]},"emailVerified":{"type":"boolean"},"status":{"$ref":"#/components/schemas/ManagedUserStatus"},"statusSource":{"$ref":"#/components/schemas/ManagedUserStatusSource"},"statusRevision":{"type":"integer","allOf":[{"minimum":0}]},"organizationMembershipId":{"anyOf":[{"$ref":"#/components/schemas/Uuid"},{"type":"null"}]},"organizationRole":{"anyOf":[{"$ref":"#/components/schemas/OrganizationRole"},{"type":"null"}]},"createdAt":{"type":"string","format":"date-time"}},"required":["id","name","email","emailVerified","status","statusSource","statusRevision","organizationMembershipId","organizationRole","createdAt"],"additionalProperties":false},"ManagedUserPageEncoded":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/ManagedUserSummaryEncoded"}},"nextCursor":{"anyOf":[{"$ref":"#/components/schemas/ManagedUserCursor"},{"type":"null"}]}},"required":["items","nextCursor"],"additionalProperties":false},"ManagedFactorPostureEncoded":{"type":"object","properties":{"twoStepEnabled":{"type":"boolean"},"totpConfigured":{"type":"boolean"},"passkeyCount":{"type":"integer","allOf":[{"minimum":0}]},"mfaEligiblePasskeyCount":{"type":"integer","allOf":[{"minimum":0}]}},"required":["twoStepEnabled","totpConfigured","passkeyCount","mfaEligiblePasskeyCount"],"additionalProperties":false},"ManagedUserCapabilitiesEncoded":{"type":"object","properties":{"freeze":{"type":"boolean"},"unfreeze":{"type":"boolean"},"revokeSessions":{"type":"boolean"},"requestPasswordReset":{"type":"boolean"},"resetMfa":{"type":"boolean"}},"required":["freeze","unfreeze","revokeSessions","requestPasswordReset","resetMfa"],"additionalProperties":false},"ManagedUserDetailEncoded":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Uuid"},"name":{"type":"string","allOf":[{"pattern":"^\\S[\\s\\S]*\\S$|^\\S$|^$"},{"minLength":1},{"maxLength":120}]},"email":{"anyOf":[{"type":"string","allOf":[{"pattern":"^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$","format":"email"}]},{"type":"null"}]},"emailVerified":{"type":"boolean"},"status":{"$ref":"#/components/schemas/ManagedUserStatus"},"statusSource":{"$ref":"#/components/schemas/ManagedUserStatusSource"},"statusRevision":{"type":"integer","allOf":[{"minimum":0}]},"organizationMembershipId":{"anyOf":[{"$ref":"#/components/schemas/Uuid"},{"type":"null"}]},"organizationRole":{"anyOf":[{"$ref":"#/components/schemas/OrganizationRole"},{"type":"null"}]},"sessionCount":{"type":"integer","allOf":[{"minimum":0}]},"factorPosture":{"$ref":"#/components/schemas/ManagedFactorPostureEncoded"},"capabilities":{"$ref":"#/components/schemas/ManagedUserCapabilitiesEncoded"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["id","name","email","emailVerified","status","statusSource","statusRevision","organizationMembershipId","organizationRole","sessionCount","factorPosture","capabilities","createdAt","updatedAt"],"additionalProperties":false},"ManagedUserStatusMutation":{"type":"object","properties":{"stepUp":{"$ref":"#/components/schemas/EnterpriseManagementStepUpProof"},"expectedRevision":{"type":"integer","allOf":[{"minimum":0}]}},"required":["stepUp","expectedRevision"],"additionalProperties":false},"ManagedUserStatusResultEncoded":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/ManagedUserStatus"},"statusRevision":{"type":"integer","allOf":[{"minimum":0}]}},"required":["status","statusRevision"],"additionalProperties":false},"SessionsRevokedResultEncoded":{"type":"object","properties":{"revokedSessionCount":{"type":"integer","allOf":[{"minimum":0}]}},"required":["revokedSessionCount"],"additionalProperties":false},"OrganizationManagedUserStatusMutation":{"type":"object","properties":{"stepUp":{"$ref":"#/components/schemas/EnterpriseManagementStepUpProof"},"membershipId":{"$ref":"#/components/schemas/Uuid"},"expectedRevision":{"type":"integer","allOf":[{"minimum":0}]}},"required":["stepUp","membershipId","expectedRevision"],"additionalProperties":false},"DeliveryEmailMode":{"type":"string","enum":["mailpit","starttls","implicit_tls"]},"DeliveryHost":{"type":"string","allOf":[{"pattern":"^\\S[\\s\\S]*\\S$|^\\S$|^$"},{"minLength":1},{"maxLength":253},{"pattern":"^(?:[A-Za-z0-9](?:[A-Za-z0-9-]{0,61}[A-Za-z0-9])?)(?:\\.(?:[A-Za-z0-9](?:[A-Za-z0-9-]{0,61}[A-Za-z0-9])?))*$"}]},"DeliveryPort":{"type":"integer","allOf":[{"minimum":1,"maximum":65535}]},"DeliveryMailboxView":{"type":"string","allOf":[{"minLength":1}]},"DeliveryTestStatus":{"type":"string","enum":["accepted","delivered","failed"]},"DeliveryTestCategory":{"type":"string","enum":["accepted","delivered","configuration","authentication","quota","permission","content","http-client","invalid-destination","unsupported-destination","network","timeout","server","malformed-response","response-too-large","redirect","provider-unknown","smtp-rejected","smtp-unavailable"]},"DeliveryTestView":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/DeliveryTestStatus"},"testedAt":{"type":"string","format":"date-time"},"category":{"$ref":"#/components/schemas/DeliveryTestCategory"}},"required":["status","testedAt","category"],"additionalProperties":false,"readOnly":true},"NullableDeliveryTestView":{"anyOf":[{"$ref":"#/components/schemas/DeliveryTestView"},{"type":"null"}]},"DeliveryEmailSettingsView":{"type":"object","properties":{"enabled":{"type":"boolean"},"operational":{"type":"boolean"},"mode":{"$ref":"#/components/schemas/DeliveryEmailMode"},"host":{"$ref":"#/components/schemas/DeliveryHost"},"port":{"$ref":"#/components/schemas/DeliveryPort"},"from":{"$ref":"#/components/schemas/DeliveryMailboxView"},"credentialsConfigured":{"type":"boolean"},"lastTest":{"$ref":"#/components/schemas/NullableDeliveryTestView"}},"required":["enabled","operational","mode","host","port","from","credentialsConfigured","lastTest"],"additionalProperties":false,"readOnly":true},"DeliveryReadiness":{"type":"object","properties":{"tls":{"type":"boolean"},"timestamp":{"type":"boolean"},"egress":{"type":"boolean"},"callback":{"type":"boolean"}},"required":["tls","timestamp","egress","callback"],"additionalProperties":false,"readOnly":true},"DeliverySmsSettingsView":{"type":"object","properties":{"enabled":{"type":"boolean"},"deploymentEnabled":{"type":"boolean"},"operational":{"type":"boolean"},"endpointFixed":{"type":"boolean","enum":[true]},"credentialsConfigured":{"type":"boolean"},"readiness":{"$ref":"#/components/schemas/DeliveryReadiness"},"lastTest":{"$ref":"#/components/schemas/NullableDeliveryTestView"}},"required":["enabled","deploymentEnabled","operational","endpointFixed","credentialsConfigured","readiness","lastTest"],"additionalProperties":false,"readOnly":true},"PlatformDeliverySettingsView":{"type":"object","properties":{"revision":{"type":"integer","allOf":[{"exclusiveMinimum":0}]},"updatedAt":{"type":"string","format":"date-time"},"email":{"$ref":"#/components/schemas/DeliveryEmailSettingsView"},"sms":{"$ref":"#/components/schemas/DeliverySmsSettingsView"}},"required":["revision","updatedAt","email","sms"],"additionalProperties":false,"readOnly":true},"DeliveryMailboxInput":{"type":"string","allOf":[{"minLength":3},{"maxLength":320}]},"DeliveryCredential":{"type":"string","allOf":[{"minLength":1},{"maxLength":256}]},"EmailDeliveryCredentials":{"type":"object","properties":{"username":{"$ref":"#/components/schemas/DeliveryCredential"},"password":{"$ref":"#/components/schemas/DeliveryCredential"}},"required":["username","password"],"additionalProperties":false,"writeOnly":true},"UpdateEmailDeliverySettings":{"type":"object","properties":{"expectedRevision":{"type":"integer","allOf":[{"exclusiveMinimum":0}]},"stepUp":{"$ref":"#/components/schemas/EnterpriseManagementStepUpProof"},"enabled":{"type":"boolean"},"mode":{"$ref":"#/components/schemas/DeliveryEmailMode"},"host":{"$ref":"#/components/schemas/DeliveryHost"},"port":{"$ref":"#/components/schemas/DeliveryPort"},"from":{"$ref":"#/components/schemas/DeliveryMailboxInput"},"credentials":{"$ref":"#/components/schemas/EmailDeliveryCredentials"}},"required":["expectedRevision","stepUp","enabled","mode","host","port","from"],"additionalProperties":false},"SmsProviderAccount":{"type":"string","allOf":[{"minLength":1},{"maxLength":256}]},"SmsDeliveryCredentials":{"type":"object","properties":{"account":{"$ref":"#/components/schemas/SmsProviderAccount"},"password":{"$ref":"#/components/schemas/DeliveryCredential"}},"required":["account","password"],"additionalProperties":false,"writeOnly":true},"UpdateSmsDeliverySettings":{"type":"object","properties":{"expectedRevision":{"type":"integer","allOf":[{"exclusiveMinimum":0}]},"stepUp":{"$ref":"#/components/schemas/EnterpriseManagementStepUpProof"},"enabled":{"type":"boolean"},"credentials":{"$ref":"#/components/schemas/SmsDeliveryCredentials"}},"required":["expectedRevision","stepUp","enabled"],"additionalProperties":false},"DeliveryEmailTestDestination":{"type":"string","allOf":[{"pattern":"^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$","writeOnly":true,"format":"email"}]},"TestEmailDelivery":{"type":"object","properties":{"expectedRevision":{"type":"integer","allOf":[{"exclusiveMinimum":0}]},"stepUp":{"$ref":"#/components/schemas/EnterpriseManagementStepUpProof"},"destination":{"$ref":"#/components/schemas/DeliveryEmailTestDestination"}},"required":["expectedRevision","stepUp","destination"],"additionalProperties":false},"DeliverySmsTestDestination":{"type":"string","allOf":[{"pattern":"^\\+[1-9][0-9]{7,14}$","writeOnly":true}]},"TestSmsDelivery":{"type":"object","properties":{"expectedRevision":{"type":"integer","allOf":[{"exclusiveMinimum":0}]},"stepUp":{"$ref":"#/components/schemas/EnterpriseManagementStepUpProof"},"destination":{"$ref":"#/components/schemas/DeliverySmsTestDestination"}},"required":["expectedRevision","stepUp","destination"],"additionalProperties":false},"SignInFlowStart":{"type":"object","properties":{"channel":{"type":"string","enum":["email","sms"]},"identifier":{"type":"string","allOf":[{"minLength":1},{"maxLength":254}]}},"required":["channel","identifier"],"additionalProperties":false},"SignInFlowId":{"type":"string","allOf":[{"pattern":"^[A-Za-z0-9_-]{43}$"}]},"SignInFlowMethod":{"type":"string","enum":["mobile_approval","password","passkey","email_otp","sms_otp"]},"SignInFlowStarted":{"type":"object","properties":{"flowId":{"$ref":"#/components/schemas/SignInFlowId"},"expiresInSeconds":{"type":"integer","allOf":[{"exclusiveMinimum":0}]},"methods":{"type":"array","items":{"$ref":"#/components/schemas/SignInFlowMethod"},"allOf":[{"minItems":1}]},"preferredMethod":{"$ref":"#/components/schemas/SignInFlowMethod"}},"required":["flowId","expiresInSeconds","methods","preferredMethod"],"additionalProperties":false},"Union_12":{"anyOf":[{"type":"string"},{"type":"null"}]},"SignInFlowError":{"type":"object","properties":{"code":{"$ref":"#/components/schemas/Union_12"},"message":{"type":"string"}},"required":["message"],"additionalProperties":false},"SignInFlowError_1":{"type":"object","properties":{"code":{"$ref":"#/components/schemas/Union_12"},"message":{"type":"string"}},"required":["message"],"additionalProperties":false},"SignInFlowError_2":{"type":"object","properties":{"code":{"$ref":"#/components/schemas/Union_12"},"message":{"type":"string"}},"required":["message"],"additionalProperties":false},"SignInFlowError_3":{"type":"object","properties":{"code":{"$ref":"#/components/schemas/Union_12"},"message":{"type":"string"}},"required":["message"],"additionalProperties":false},"SignInFlowError_4":{"type":"object","properties":{"code":{"$ref":"#/components/schemas/Union_12"},"message":{"type":"string"}},"required":["message"],"additionalProperties":false},"SignInFlowCancel":{"anyOf":[{"type":"object"},{"type":"array"}]},"SignInFlowCancelled":{"type":"object","properties":{"cancelled":{"type":"boolean","enum":[true]}},"required":["cancelled"],"additionalProperties":false}},"securitySchemes":{}},"security":[],"tags":[{"name":"analytics"},{"name":"health"},{"name":"account"},{"name":"authenticator"},{"name":"authenticatorEnrollment"},{"name":"personalAccount"},{"name":"organizations"},{"name":"organizationSecurity"},{"name":"members"},{"name":"invitations"},{"name":"personalInvitationCodes"},{"name":"managementAudit"},{"name":"managementStepUp"},{"name":"oauthStepUp"},{"name":"projects"},{"name":"projectMembers"},{"name":"projectResources"},{"name":"applications"},{"name":"deviceAuthorizations"},{"name":"platform"},{"name":"platformAudit"},{"name":"userDirectory"},{"name":"platformDelivery"},{"name":"signInFlow"}]}