/** * ActiveCampaign Node - Version 1 * Discriminator: resource=account, operation=update */ interface Credentials { activeCampaignApi: CredentialReference; } /** Update an account */ export type ActiveCampaignV1AccountUpdateParams = { resource: 'account'; operation: 'update'; /** * ID of the account to update * @default 0 */ accountId?: number | Expression; /** * The fields to update * @default {} */ updateFields?: { /** Account's name */ name?: string | Expression | PlaceholderValue; /** Account's website */ accountUrl?: string | Expression | PlaceholderValue; /** Adds a custom fields to set also values which have not been predefined * @default {} */ fields?: { /** Field */ property?: Array<{ /** ID of the field to set. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. */ customFieldId?: string | Expression; /** Value of the field to set */ fieldValue?: string | Expression | PlaceholderValue; }>; }; }; }; export type ActiveCampaignV1AccountUpdateNode = { type: 'n8n-nodes-base.activeCampaign'; version: 1; credentials?: Credentials; config: NodeConfig; };