UNPKG

n8n-nodes-base

Version:

Base nodes of n8n

47 lines (42 loc) 1.04 kB
/** * ActiveCampaign Node - Version 1 * Discriminator: resource=account, operation=get */ interface Credentials { activeCampaignApi: CredentialReference; } /** Get data of an account */ export type ActiveCampaignV1AccountGetParams = { resource: 'account'; operation: 'get'; /** * ID of the account to get * @default 0 */ accountId?: number | Expression<number>; }; export type ActiveCampaignV1AccountGetOutput = { account?: { accountUrl?: string; createdTimestamp?: string; updatedTimestamp?: string; id?: string; links?: { accountContacts?: string; accountCustomFieldData?: string; contactEmails?: string; emailActivities?: string; notes?: string; owner?: string; }; name?: string; owner?: string; }; }; export type ActiveCampaignV1AccountGetNode = { type: 'n8n-nodes-base.activeCampaign'; version: 1; credentials?: Credentials; config: NodeConfig<ActiveCampaignV1AccountGetParams>; output?: Items<ActiveCampaignV1AccountGetOutput>; };