n8n
Version:
n8n Workflow Automation Tool
42 lines (41 loc) • 1.36 kB
TypeScript
import { z } from 'zod';
import { BaseCommand } from '../base-command';
declare const flagsSchema: z.ZodObject<{
input: z.ZodOptional<z.ZodString>;
separate: z.ZodDefault<z.ZodBoolean>;
include: z.ZodOptional<z.ZodString>;
exclude: z.ZodOptional<z.ZodString>;
userId: z.ZodOptional<z.ZodString>;
projectId: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
separate: boolean;
projectId?: string | undefined;
input?: string | undefined;
userId?: string | undefined;
exclude?: string | undefined;
include?: string | undefined;
}, {
projectId?: string | undefined;
input?: string | undefined;
userId?: string | undefined;
separate?: boolean | undefined;
exclude?: string | undefined;
include?: string | undefined;
}>;
export declare class ImportCredentialsCommand extends BaseCommand<z.infer<typeof flagsSchema>> {
private transactionManager;
run(): Promise<void>;
catch(error: Error): Promise<void>;
private reportSuccess;
private storeCredential;
private checkRelations;
private readCredentials;
private parseCredentialProperties;
private warnOnUnknownProperties;
private filterCredentialProperties;
private isCredentialPropertyImportable;
private getCredentialOwner;
private credentialExists;
private getProject;
}
export {};