n8n-nodes-base
Version:
Base nodes of n8n
32 lines (28 loc) • 867 B
text/typescript
/**
* Mautic Node - Version 1
* Discriminator: resource=contactSegment, operation=remove
*/
interface Credentials {
mauticApi: CredentialReference;
mauticOAuth2Api: CredentialReference;
}
/** Add/remove contacts to/from a segment */
export type MauticV1ContactSegmentRemoveParams = {
resource: 'contactSegment';
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>
*/
segmentId?: string | Expression<string>;
};
export type MauticV1ContactSegmentRemoveNode = {
type: 'n8n-nodes-base.mautic';
version: 1;
credentials?: Credentials;
config: NodeConfig<MauticV1ContactSegmentRemoveParams>;
};