/** * Paddle Node - Version 1 * Discriminator: resource=payment, operation=getAll */ interface Credentials { paddleApi: CredentialReference; } /** Get many coupons */ export type PaddleV1PaymentGetAllParams = { resource: 'payment'; operation: 'getAll'; /** * Whether to return all results or only up to a given limit * @default false */ returnAll?: boolean | Expression; /** * Max number of results to return * @displayOptions.show { returnAll: [false] } * @default 100 */ limit?: number | Expression; /** * JSON Parameters * @default false */ jsonParameters?: boolean | Expression; /** * Attributes in JSON form * @displayOptions.show { jsonParameters: [true] } */ additionalFieldsJson?: IDataObject | string | Expression; /** * Additional Fields * @displayOptions.show { jsonParameters: [false] } * @default {} */ additionalFields?: { /** Payment starting from date */ from?: string | Expression; /** Payment up until date */ to?: string | Expression; /** Whether payment is paid * @default false */ isPaid?: boolean | Expression; /** Filter: The product/plan ID (single or comma-separated values) */ plan?: string | Expression | PlaceholderValue; /** A specific user subscription ID */ subscriptionId?: number | Expression; /** Filter: The user subscription status. Returns all active, past_due, trialing and paused subscription plans if not specified. * @default active */ state?: 'active' | 'past_due' | 'paused' | 'trialing' | Expression; /** One Off Charge * @default false */ isOneOffCharge?: boolean | Expression; }; }; export type PaddleV1PaymentGetAllNode = { type: 'n8n-nodes-base.paddle'; version: 1; credentials?: Credentials; config: NodeConfig; };