n8n-nodes-base
Version:
Base nodes of n8n
32 lines (28 loc) • 874 B
text/typescript
/**
* Mautic Node - Version 1
* Discriminator: resource=campaignContact, operation=remove
*/
interface Credentials {
mauticApi: CredentialReference;
mauticOAuth2Api: CredentialReference;
}
/** Add/remove contacts to/from a campaign */
export type MauticV1CampaignContactRemoveParams = {
resource: 'campaignContact';
operation: 'remove';
authentication?: 'credentials' | 'oAuth2' | Expression<string>;
/**
* Contact ID
*/
contactId?: string | Expression<string> | PlaceholderValue;
/**
* Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>
*/
campaignId?: string | Expression<string>;
};
export type MauticV1CampaignContactRemoveNode = {
type: 'n8n-nodes-base.mautic';
version: 1;
credentials?: Credentials;
config: NodeConfig<MauticV1CampaignContactRemoveParams>;
};