2022-07-24 08:36:17 -07:00
|
|
|
import { ICredentialType, INodeProperties } from 'n8n-workflow';
|
2020-01-05 15:47:55 -08:00
|
|
|
|
|
|
|
export class BitbucketApi implements ICredentialType {
|
|
|
|
name = 'bitbucketApi';
|
|
|
|
displayName = 'Bitbucket API';
|
2020-08-17 05:42:09 -07:00
|
|
|
documentationUrl = 'bitbucket';
|
2021-06-12 09:39:55 -07:00
|
|
|
properties: INodeProperties[] = [
|
2020-01-05 15:47:55 -08:00
|
|
|
{
|
|
|
|
displayName: 'Username',
|
|
|
|
name: 'username',
|
2021-06-12 09:39:55 -07:00
|
|
|
type: 'string',
|
2020-01-05 15:47:55 -08:00
|
|
|
default: '',
|
|
|
|
},
|
|
|
|
{
|
2020-01-06 10:33:22 -08:00
|
|
|
displayName: 'App Password',
|
2020-01-05 15:47:55 -08:00
|
|
|
name: 'appPassword',
|
2021-06-12 09:39:55 -07:00
|
|
|
type: 'string',
|
2020-01-05 15:47:55 -08:00
|
|
|
default: '',
|
|
|
|
},
|
|
|
|
];
|
|
|
|
}
|