/** * Synapse REST API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: v1 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * JSON schema for an error * @export * @interface ErrorResponse */ export interface ErrorResponse { /** * Indicates which implementation of BaseError this object represents. The value is the fully qualified class name, e.g. org.sagebionetworks.repo.model.ErrorResponse. * @type {string} * @memberof ErrorResponse */ concreteType: ErrorResponseConcreteTypeEnum; /** * The reason for the error * @type {string} * @memberof ErrorResponse */ reason?: string; /** * A code to be used by clients to handle the error. * @type {string} * @memberof ErrorResponse */ errorCode?: ErrorResponseErrorCodeEnum; } /** * @export */ export declare const ErrorResponseConcreteTypeEnum: { readonly org_sagebionetworks_repo_model_ErrorResponse: "org.sagebionetworks.repo.model.ErrorResponse"; }; export type ErrorResponseConcreteTypeEnum = typeof ErrorResponseConcreteTypeEnum[keyof typeof ErrorResponseConcreteTypeEnum]; /** * @export */ export declare const ErrorResponseErrorCodeEnum: { readonly PASSWORD_RESET_VIA_EMAIL_REQUIRED: "PASSWORD_RESET_VIA_EMAIL_REQUIRED"; readonly USER_CERTIFICATION_REQUIRED: "USER_CERTIFICATION_REQUIRED"; readonly INVALID_TABLE_QUERY_FACET_COLUMN_REQUEST: "INVALID_TABLE_QUERY_FACET_COLUMN_REQUEST"; readonly OAUTH_CLIENT_NOT_VERIFIED: "OAUTH_CLIENT_NOT_VERIFIED"; readonly TWO_FA_REQUIRED: "TWO_FA_REQUIRED"; readonly UNSUPPORTED_WEBHOOK_DOMAIN: "UNSUPPORTED_WEBHOOK_DOMAIN"; readonly PROJECT_STORAGE_LIMIT_EXCEEDED: "PROJECT_STORAGE_LIMIT_EXCEEDED"; readonly TWO_FA_ENABLED_REQUIRED: "TWO_FA_ENABLED_REQUIRED"; }; export type ErrorResponseErrorCodeEnum = typeof ErrorResponseErrorCodeEnum[keyof typeof ErrorResponseErrorCodeEnum]; /** * Check if a given object implements the ErrorResponse interface. */ export declare function instanceOfErrorResponse(value: object): value is ErrorResponse; export declare function ErrorResponseFromJSON(json: any): ErrorResponse; export declare function ErrorResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ErrorResponse; export declare function ErrorResponseToJSON(json: any): ErrorResponse; export declare function ErrorResponseToJSONTyped(value?: ErrorResponse | null, ignoreDiscriminator?: boolean): any;