n8n/packages/nodes-base/credentials/PaddleApi.credentials.ts

31 lines
558 B
TypeScript
Raw Normal View History

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,
},
];
}