Type Alias AdminFederation

AdminFederation: {
    createAdminFederationExportTemplate(): AdminFederationExportInterface;
    createAdminFederationProvider(
        providerType: string,
        providerData: SocialIdpSkeleton,
        providerId?: string,
    ): Promise<SocialIdpSkeleton>;
    deleteAdminFederationProvider(
        providerId: string,
    ): Promise<SocialIdpSkeleton>;
    exportAdminFederationProvider(
        providerId: string,
    ): Promise<AdminFederationExportInterface>;
    exportAdminFederationProviders(): Promise<AdminFederationExportInterface>;
    getAdminFederationProvider(providerId: string): Promise<SocialIdpSkeleton>;
    getAdminFederationProviders(): Promise<SocialIdpSkeleton[]>;
    importAdminFederationProvider(
        providerId: string,
        importData: AdminFederationExportInterface,
    ): Promise<SocialIdpSkeleton>;
    importAdminFederationProviders(
        importData: AdminFederationExportInterface,
    ): Promise<SocialIdpSkeleton[]>;
    importFirstAdminFederationProvider(
        importData: AdminFederationExportInterface,
    ): Promise<SocialIdpSkeleton>;
    putProviderByTypeAndId(
        providerType: string,
        providerId: string,
        providerData: SocialIdpSkeleton,
    ): Promise<SocialIdpSkeleton>;
    readAdminFederationProvider(providerId: string): Promise<SocialIdpSkeleton>;
    readAdminFederationProviders(): Promise<SocialIdpSkeleton[]>;
    updateAdminFederationProvider(
        providerType: string,
        providerId: string,
        providerData: SocialIdpSkeleton,
    ): Promise<SocialIdpSkeleton>;
}

Type declaration