/** * Tapfiliate Node - Version 1 * Discriminator: resource=programAffiliate, operation=approve */ interface Credentials { tapfiliateApi: CredentialReference; } /** Approve an affiliate for a program */ export type TapfiliateV1ProgramAffiliateApproveParams = { resource: 'programAffiliate'; operation: 'approve'; /** * The ID of the Program to add the affiliate to. This ID can be found as part of the URL when viewing the program on the platform. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. */ programId?: string | Expression; /** * The ID of the affiliate */ affiliateId?: string | Expression | PlaceholderValue; }; export type TapfiliateV1ProgramAffiliateApproveNode = { type: 'n8n-nodes-base.tapfiliate'; version: 1; credentials?: Credentials; config: NodeConfig; };