2023-01-27 03:22:44 -08:00
|
|
|
import type { ICredentialType, INodeProperties } from 'n8n-workflow';
|
2020-09-17 14:06:58 -07:00
|
|
|
|
|
|
|
export class SentryIoServerApi implements ICredentialType {
|
|
|
|
name = 'sentryIoServerApi';
|
2022-12-02 12:54:28 -08:00
|
|
|
|
2021-04-23 15:37:37 -07:00
|
|
|
displayName = 'Sentry.io Server API';
|
2022-12-02 12:54:28 -08:00
|
|
|
|
2020-09-21 02:11:02 -07:00
|
|
|
documentationUrl = 'sentryIo';
|
2022-12-02 12:54:28 -08:00
|
|
|
|
2021-06-12 09:39:55 -07:00
|
|
|
properties: INodeProperties[] = [
|
2020-09-17 14:06:58 -07:00
|
|
|
{
|
|
|
|
displayName: 'Token',
|
|
|
|
name: 'token',
|
2021-06-12 09:39:55 -07:00
|
|
|
type: 'string',
|
2023-08-01 04:08:25 -07:00
|
|
|
typeOptions: { password: true },
|
2020-09-17 14:06:58 -07:00
|
|
|
default: '',
|
2022-07-24 08:36:17 -07:00
|
|
|
},
|
|
|
|
{
|
2020-09-17 14:06:58 -07:00
|
|
|
displayName: 'URL',
|
|
|
|
name: 'url',
|
2021-06-12 09:39:55 -07:00
|
|
|
type: 'string',
|
2020-09-17 14:06:58 -07:00
|
|
|
default: '',
|
|
|
|
placeholder: 'https://example.com',
|
|
|
|
},
|
|
|
|
];
|
|
|
|
}
|