@aiteza/n8n-nodes-aiteza 1.1.0 → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { ICredentialType, INodeProperties } from 'n8n-workflow';
|
|
2
|
+
/**
|
|
3
|
+
* Shared secret used by the AITEZA Trigger node to authenticate incoming
|
|
4
|
+
* webhook requests. The caller must send this value as an
|
|
5
|
+
* "Authorization: Bearer <apiKey>" header.
|
|
6
|
+
*/
|
|
7
|
+
export declare class AitezaWebhookApi implements ICredentialType {
|
|
8
|
+
name: string;
|
|
9
|
+
displayName: string;
|
|
10
|
+
documentationUrl: string;
|
|
11
|
+
icon: {
|
|
12
|
+
readonly light: "file:aiteza.svg";
|
|
13
|
+
readonly dark: "file:aiteza.svg";
|
|
14
|
+
};
|
|
15
|
+
properties: INodeProperties[];
|
|
16
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AitezaWebhookApi = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* Shared secret used by the AITEZA Trigger node to authenticate incoming
|
|
6
|
+
* webhook requests. The caller must send this value as an
|
|
7
|
+
* "Authorization: Bearer <apiKey>" header.
|
|
8
|
+
*/
|
|
9
|
+
class AitezaWebhookApi {
|
|
10
|
+
name = 'aitezaWebhookApi';
|
|
11
|
+
displayName = 'AITEZA Webhook API Key';
|
|
12
|
+
documentationUrl = 'https://docs.aiteza.com';
|
|
13
|
+
icon = { light: 'file:aiteza.svg', dark: 'file:aiteza.svg' };
|
|
14
|
+
properties = [
|
|
15
|
+
{
|
|
16
|
+
displayName: 'API Key',
|
|
17
|
+
name: 'apiKey',
|
|
18
|
+
type: 'string',
|
|
19
|
+
typeOptions: { password: true },
|
|
20
|
+
default: '',
|
|
21
|
+
required: true,
|
|
22
|
+
description: 'The shared secret that incoming webhook requests must send as an "Authorization: Bearer <apiKey>" header.',
|
|
23
|
+
},
|
|
24
|
+
];
|
|
25
|
+
}
|
|
26
|
+
exports.AitezaWebhookApi = AitezaWebhookApi;
|