n8n
Version:
n8n Workflow Automation Tool
18 lines (17 loc) • 742 B
TypeScript
import type { LdapConfigurationResponse, UpdateLdapConfigurationDto } from '@n8n/api-types';
import type { LdapConfig } from '@n8n/constants';
import type { AuthProviderSyncHistory } from '@n8n/db';
export declare function toLdapConfigurationResponse(config: LdapConfig): LdapConfigurationResponse;
export declare function toLdapConfigUpdate(data: UpdateLdapConfigurationDto, current: LdapConfig): LdapConfig;
export declare function toLdapSyncHistoryResponse(row: AuthProviderSyncHistory): {
id: number;
runMode: import("@n8n/db").RunningMode;
status: import("@n8n/db").SyncStatus;
startedAt: Date;
endedAt: Date;
scanned: number;
created: number;
updated: number;
disabled: number;
error: string;
};