n8n-nodes-base
Version:
Base nodes of n8n
33 lines (29 loc) • 814 B
text/typescript
/**
* Mautic Node - Version 1
* Discriminator: resource=company, operation=delete
*/
interface Credentials {
mauticApi: CredentialReference;
mauticOAuth2Api: CredentialReference;
}
/** Create or modify a company */
export type MauticV1CompanyDeleteParams = {
resource: 'company';
operation: 'delete';
authentication?: 'credentials' | 'oAuth2' | Expression<string>;
/**
* The ID of the company to delete
*/
companyId?: string | Expression<string> | PlaceholderValue;
/**
* Whether to return a simplified version of the response instead of the raw data
* @default true
*/
simple?: boolean | Expression<boolean>;
};
export type MauticV1CompanyDeleteNode = {
type: 'n8n-nodes-base.mautic';
version: 1;
credentials?: Credentials;
config: NodeConfig<MauticV1CompanyDeleteParams>;
};