n8n/packages/nodes-base/credentials/PaddleApi.credentials.ts
MedAliMarz 779da62845
Enable sandbox env in Paddle (#1777)
* Enable sandbox env in Paddle

* Change sandbox option displayName
2021-05-12 13:50:53 -05:00

31 lines
604 B
TypeScript

import {
ICredentialType,
NodePropertyTypes,
} from 'n8n-workflow';
export class PaddleApi implements ICredentialType {
name = 'paddleApi';
displayName = 'Paddle API';
documentationUrl = 'paddle';
properties = [
{
displayName: 'Vendor Auth Code',
name: 'vendorAuthCode',
type: 'string' as NodePropertyTypes,
default: '',
},
{
displayName: 'Vendor ID',
name: 'vendorId',
type: 'string' as NodePropertyTypes,
default: '',
},
{
displayName: 'Use Sandbox environment API',
name: 'sandbox',
type: 'boolean' as NodePropertyTypes,
default: false,
},
];
}