Files
Agent-n8n/n8n-n8n-1.109.2/packages/nodes-base/nodes/Paddle/OrderDescription.ts
2025-09-08 04:48:28 +08:00

45 lines
969 B
TypeScript
Executable File
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import type { INodeProperties } from 'n8n-workflow';
export const orderOperations: INodeProperties[] = [
{
displayName: 'Operation',
name: 'operation',
type: 'options',
noDataExpression: true,
displayOptions: {
show: {
resource: ['order'],
},
},
options: [
{
name: 'Get',
value: 'get',
description: 'Get an order',
action: 'Get an order',
},
],
default: 'get',
},
];
export const orderFields: INodeProperties[] = [
/* -------------------------------------------------------------------------- */
/* order:get */
/* -------------------------------------------------------------------------- */
{
displayName: 'Checkout ID',
name: 'checkoutId',
type: 'string',
default: '',
required: true,
displayOptions: {
show: {
resource: ['order'],
operation: ['get'],
},
},
description: 'The identifier of the buyers checkout',
},
];