n8n-nodes-base
Version:
Base nodes of n8n
26 lines (22 loc) • 509 B
text/typescript
/**
* Paddle Node - Version 1
* Discriminator: resource=plan, operation=get
*/
interface Credentials {
paddleApi: CredentialReference;
}
/** Get a plan */
export type PaddleV1PlanGetParams = {
resource: 'plan';
operation: 'get';
/**
* Filter: The subscription plan ID
*/
planId?: string | Expression<string> | PlaceholderValue;
};
export type PaddleV1PlanGetNode = {
type: 'n8n-nodes-base.paddle';
version: 1;
credentials?: Credentials;
config: NodeConfig<PaddleV1PlanGetParams>;
};