2023-10-30 12:17:27 +00:00
|
|
|
import { errors } from '@strapi/utils';
|
|
|
|
|
|
|
|
/**
|
|
|
|
* /providers/isSSOLocked
|
|
|
|
*/
|
|
|
|
export declare namespace IsSSOLocked {
|
|
|
|
export interface Request {
|
|
|
|
body: {};
|
|
|
|
query: {};
|
|
|
|
}
|
|
|
|
export interface Response {
|
|
|
|
data: {
|
|
|
|
isSSOLocked: boolean;
|
|
|
|
};
|
|
|
|
error?: errors.ApplicationError;
|
|
|
|
}
|
|
|
|
}
|
2023-11-02 14:31:43 +00:00
|
|
|
|
|
|
|
export interface Provider {
|
|
|
|
displayName: string;
|
|
|
|
icon?: string | null;
|
|
|
|
uid: string;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* /providers
|
|
|
|
*/
|
|
|
|
export declare namespace GetProviders {
|
|
|
|
export interface Request {
|
|
|
|
body: {};
|
|
|
|
query: {};
|
|
|
|
}
|
|
|
|
/**
|
|
|
|
* TODO: this should follow the expected pattern of returning `data` as an object.
|
|
|
|
*/
|
|
|
|
export type Response = Provider[];
|
|
|
|
}
|