mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-16 01:24:05 -08:00
31 lines
558 B
TypeScript
31 lines
558 B
TypeScript
import {
|
|
ICredentialType,
|
|
INodeProperties,
|
|
} from 'n8n-workflow';
|
|
|
|
export class PaddleApi implements ICredentialType {
|
|
name = 'paddleApi';
|
|
displayName = 'Paddle API';
|
|
documentationUrl = 'paddle';
|
|
properties: INodeProperties[] = [
|
|
{
|
|
displayName: 'Vendor Auth Code',
|
|
name: 'vendorAuthCode',
|
|
type: 'string',
|
|
default: '',
|
|
},
|
|
{
|
|
displayName: 'Vendor ID',
|
|
name: 'vendorId',
|
|
type: 'string',
|
|
default: '',
|
|
},
|
|
{
|
|
displayName: 'Use Sandbox environment API',
|
|
name: 'sandbox',
|
|
type: 'boolean',
|
|
default: false,
|
|
},
|
|
];
|
|
}
|