UNPKG

n8n-nodes-base

Version:

Base nodes of n8n

30 lines (26 loc) 942 B
/** * 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 &lt;a href="https://docs.n8n.io/code/expressions/"&gt;expression&lt;/a&gt;. */ programId?: string | Expression<string>; /** * The ID of the affiliate */ affiliateId?: string | Expression<string> | PlaceholderValue; }; export type TapfiliateV1ProgramAffiliateApproveNode = { type: 'n8n-nodes-base.tapfiliate'; version: 1; credentials?: Credentials; config: NodeConfig<TapfiliateV1ProgramAffiliateApproveParams>; };