2023-01-27 03:22:44 -08:00
|
|
|
import type { ICredentialType, INodeProperties } from 'n8n-workflow';
|
2020-04-05 18:06:23 -07:00
|
|
|
|
|
|
|
export class PagerDutyApi implements ICredentialType {
|
|
|
|
name = 'pagerDutyApi';
|
2022-12-02 12:54:28 -08:00
|
|
|
|
2020-04-05 18:06:23 -07:00
|
|
|
displayName = 'PagerDuty API';
|
2022-12-02 12:54:28 -08:00
|
|
|
|
2020-08-17 05:42:09 -07:00
|
|
|
documentationUrl = 'pagerDuty';
|
2022-12-02 12:54:28 -08:00
|
|
|
|
2021-06-12 09:39:55 -07:00
|
|
|
properties: INodeProperties[] = [
|
2020-04-05 18:06:23 -07:00
|
|
|
{
|
|
|
|
displayName: 'API Token',
|
|
|
|
name: 'apiToken',
|
2021-06-12 09:39:55 -07:00
|
|
|
type: 'string',
|
2023-08-01 04:08:25 -07:00
|
|
|
typeOptions: { password: true },
|
2020-04-05 18:06:23 -07:00
|
|
|
default: '',
|
|
|
|
},
|
|
|
|
];
|
|
|
|
}
|