/** * Tapfiliate Node - Version 1 * Discriminator: resource=affiliate, operation=create */ interface Credentials { tapfiliateApi: CredentialReference; } /** Create an affiliate */ export type TapfiliateV1AffiliateCreateParams = { resource: 'affiliate'; operation: 'create'; /** * The affiliate’s email */ email?: string | Expression | PlaceholderValue; /** * The affiliate’s firstname */ firstname?: string | Expression | PlaceholderValue; /** * The affiliate’s lastname */ lastname?: string | Expression | PlaceholderValue; /** * Additional Fields * @default {} */ additionalFields?: { /** Address * @default {} */ addressUi?: { /** Address */ addressValues?: { /** Line 1 */ address?: string | Expression | PlaceholderValue; /** Line 2 */ address_two?: string | Expression | PlaceholderValue; /** Postal Code */ postal_code?: string | Expression | PlaceholderValue; /** City */ city?: string | Expression | PlaceholderValue; /** State */ state?: string | Expression | PlaceholderValue; /** The country’s ISO_3166-1 code. <a href="https://en.wikipedia.org/wiki/ISO_3166-1">Codes</a>. */ country?: string | Expression | PlaceholderValue; }; }; /** The affiliate’s company data */ companyName?: string | Expression | PlaceholderValue; }; }; export type TapfiliateV1AffiliateCreateNode = { type: 'n8n-nodes-base.tapfiliate'; version: 1; credentials?: Credentials; config: NodeConfig; };