UNPKG

n8n-nodes-base

Version:

Base nodes of n8n

37 lines (33 loc) 828 B
/** * Paddle Node - Version 1 * Discriminator: resource=coupon, operation=getAll */ interface Credentials { paddleApi: CredentialReference; } /** Get many coupons */ export type PaddleV1CouponGetAllParams = { resource: 'coupon'; operation: 'getAll'; /** * The specific product/subscription ID */ productId?: string | Expression<string> | PlaceholderValue; /** * Whether to return all results or only up to a given limit * @default false */ returnAll?: boolean | Expression<boolean>; /** * Max number of results to return * @displayOptions.show { returnAll: [false] } * @default 100 */ limit?: number | Expression<number>; }; export type PaddleV1CouponGetAllNode = { type: 'n8n-nodes-base.paddle'; version: 1; credentials?: Credentials; config: NodeConfig<PaddleV1CouponGetAllParams>; };